@gov-design-system-ce/components 0.0.24 → 0.0.25

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 (1409) hide show
  1. package/LICENSE +21 -0
  2. package/package.json +1 -1
  3. package/readme.md +86 -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-0488d137.js +0 -22
  7. package/dist/cjs/constants-0488d137.js.map +0 -1
  8. package/dist/cjs/constants-0883e74c.js +0 -30
  9. package/dist/cjs/constants-0883e74c.js.map +0 -1
  10. package/dist/cjs/constants-0c6c8e11.js +0 -30
  11. package/dist/cjs/constants-0c6c8e11.js.map +0 -1
  12. package/dist/cjs/constants-1490a5eb.js +0 -25
  13. package/dist/cjs/constants-1490a5eb.js.map +0 -1
  14. package/dist/cjs/constants-20b3f7ee.js +0 -28
  15. package/dist/cjs/constants-20b3f7ee.js.map +0 -1
  16. package/dist/cjs/constants-21559414.js +0 -29
  17. package/dist/cjs/constants-21559414.js.map +0 -1
  18. package/dist/cjs/constants-23b7a283.js +0 -33
  19. package/dist/cjs/constants-23b7a283.js.map +0 -1
  20. package/dist/cjs/constants-2b1c31b8.js +0 -15
  21. package/dist/cjs/constants-2b1c31b8.js.map +0 -1
  22. package/dist/cjs/constants-61f8be34.js +0 -26
  23. package/dist/cjs/constants-61f8be34.js.map +0 -1
  24. package/dist/cjs/constants-86fb4eb4.js +0 -19
  25. package/dist/cjs/constants-86fb4eb4.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-adc8268f.js +0 -37
  29. package/dist/cjs/constants-adc8268f.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-ded92f8a.js +0 -13
  33. package/dist/cjs/constants-ded92f8a.js.map +0 -1
  34. package/dist/cjs/constants-e47694c4.js +0 -19
  35. package/dist/cjs/constants-e47694c4.js.map +0 -1
  36. package/dist/cjs/constants-e8760a84.js +0 -20
  37. package/dist/cjs/constants-e8760a84.js.map +0 -1
  38. package/dist/cjs/core.cjs.js +0 -21
  39. package/dist/cjs/core.cjs.js.map +0 -1
  40. package/dist/cjs/form-9b8b1740.js +0 -150
  41. package/dist/cjs/form-9b8b1740.js.map +0 -1
  42. package/dist/cjs/gov-accordion-item.cjs.entry.js +0 -125
  43. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +0 -1
  44. package/dist/cjs/gov-accordion.cjs.entry.js +0 -77
  45. package/dist/cjs/gov-accordion.cjs.entry.js.map +0 -1
  46. package/dist/cjs/gov-alert.cjs.entry.js +0 -90
  47. package/dist/cjs/gov-alert.cjs.entry.js.map +0 -1
  48. package/dist/cjs/gov-app.cjs.entry.js +0 -8366
  49. package/dist/cjs/gov-app.cjs.entry.js.map +0 -1
  50. package/dist/cjs/gov-attachments_3.cjs.entry.js +0 -120
  51. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +0 -1
  52. package/dist/cjs/gov-backdrop.cjs.entry.js +0 -50
  53. package/dist/cjs/gov-backdrop.cjs.entry.js.map +0 -1
  54. package/dist/cjs/gov-badge.cjs.entry.js +0 -84
  55. package/dist/cjs/gov-badge.cjs.entry.js.map +0 -1
  56. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +0 -50
  57. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +0 -1
  58. package/dist/cjs/gov-button.cjs.entry.js +0 -169
  59. package/dist/cjs/gov-button.cjs.entry.js.map +0 -1
  60. package/dist/cjs/gov-card.cjs.entry.js +0 -112
  61. package/dist/cjs/gov-card.cjs.entry.js.map +0 -1
  62. package/dist/cjs/gov-container.cjs.entry.js +0 -36
  63. package/dist/cjs/gov-container.cjs.entry.js.map +0 -1
  64. package/dist/cjs/gov-cookiebar.cjs.entry.js +0 -33
  65. package/dist/cjs/gov-cookiebar.cjs.entry.js.map +0 -1
  66. package/dist/cjs/gov-empty.cjs.entry.js +0 -31
  67. package/dist/cjs/gov-empty.cjs.entry.js.map +0 -1
  68. package/dist/cjs/gov-error-code.cjs.entry.js +0 -31
  69. package/dist/cjs/gov-error-code.cjs.entry.js.map +0 -1
  70. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +0 -196
  71. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +0 -1
  72. package/dist/cjs/gov-form-checkbox.cjs.entry.js +0 -122
  73. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +0 -1
  74. package/dist/cjs/gov-form-control.cjs.entry.js +0 -100
  75. package/dist/cjs/gov-form-control.cjs.entry.js.map +0 -1
  76. package/dist/cjs/gov-form-file.cjs.entry.js +0 -217
  77. package/dist/cjs/gov-form-file.cjs.entry.js.map +0 -1
  78. package/dist/cjs/gov-form-group.cjs.entry.js +0 -43
  79. package/dist/cjs/gov-form-group.cjs.entry.js.map +0 -1
  80. package/dist/cjs/gov-form-input.cjs.entry.js +0 -167
  81. package/dist/cjs/gov-form-input.cjs.entry.js.map +0 -1
  82. package/dist/cjs/gov-form-label.cjs.entry.js +0 -30
  83. package/dist/cjs/gov-form-label.cjs.entry.js.map +0 -1
  84. package/dist/cjs/gov-form-multi-select.cjs.entry.js +0 -204
  85. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +0 -1
  86. package/dist/cjs/gov-form-password-power.cjs.entry.js +0 -28
  87. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +0 -1
  88. package/dist/cjs/gov-form-radio.cjs.entry.js +0 -122
  89. package/dist/cjs/gov-form-radio.cjs.entry.js.map +0 -1
  90. package/dist/cjs/gov-form-search.cjs.entry.js +0 -28
  91. package/dist/cjs/gov-form-search.cjs.entry.js.map +0 -1
  92. package/dist/cjs/gov-form-select.cjs.entry.js +0 -136
  93. package/dist/cjs/gov-form-select.cjs.entry.js.map +0 -1
  94. package/dist/cjs/gov-form-switch.cjs.entry.js +0 -122
  95. package/dist/cjs/gov-form-switch.cjs.entry.js.map +0 -1
  96. package/dist/cjs/gov-grid-item.cjs.entry.js +0 -30
  97. package/dist/cjs/gov-grid-item.cjs.entry.js.map +0 -1
  98. package/dist/cjs/gov-grid.cjs.entry.js +0 -28
  99. package/dist/cjs/gov-grid.cjs.entry.js.map +0 -1
  100. package/dist/cjs/gov-icon.cjs.entry.js +0 -126
  101. package/dist/cjs/gov-icon.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 -31
  107. package/dist/cjs/gov-loading.cjs.entry.js.map +0 -1
  108. package/dist/cjs/gov-message.cjs.entry.js +0 -43
  109. package/dist/cjs/gov-message.cjs.entry.js.map +0 -1
  110. package/dist/cjs/gov-modal.cjs.entry.js +0 -103
  111. package/dist/cjs/gov-modal.cjs.entry.js.map +0 -1
  112. package/dist/cjs/gov-nav-item.cjs.entry.js +0 -37
  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 -217
  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 -85
  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 -57
  127. package/dist/cjs/gov-spacer.cjs.entry.js.map +0 -1
  128. package/dist/cjs/gov-statsbar-item.cjs.entry.js +0 -39
  129. package/dist/cjs/gov-statsbar-item.cjs.entry.js.map +0 -1
  130. package/dist/cjs/gov-statsbar.cjs.entry.js +0 -52
  131. package/dist/cjs/gov-statsbar.cjs.entry.js.map +0 -1
  132. package/dist/cjs/gov-stepper-item.cjs.entry.js +0 -77
  133. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +0 -1
  134. package/dist/cjs/gov-stepper.cjs.entry.js +0 -50
  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 -189
  139. package/dist/cjs/gov-tabs.cjs.entry.js.map +0 -1
  140. package/dist/cjs/gov-tile.cjs.entry.js +0 -50
  141. package/dist/cjs/gov-tile.cjs.entry.js.map +0 -1
  142. package/dist/cjs/gov-tiles.cjs.entry.js +0 -33
  143. package/dist/cjs/gov-tiles.cjs.entry.js.map +0 -1
  144. package/dist/cjs/gov-toast.cjs.entry.js +0 -103
  145. package/dist/cjs/gov-toast.cjs.entry.js.map +0 -1
  146. package/dist/cjs/gov-tooltip-content.cjs.entry.js +0 -42
  147. package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +0 -1
  148. package/dist/cjs/gov-tooltip.cjs.entry.js +0 -158
  149. package/dist/cjs/gov-tooltip.cjs.entry.js.map +0 -1
  150. package/dist/cjs/gov-wizzard-item.cjs.entry.js +0 -110
  151. package/dist/cjs/gov-wizzard-item.cjs.entry.js.map +0 -1
  152. package/dist/cjs/gov-wizzard.cjs.entry.js +0 -67
  153. package/dist/cjs/gov-wizzard.cjs.entry.js.map +0 -1
  154. package/dist/cjs/gov.log-0c9dca27.js +0 -20
  155. package/dist/cjs/gov.log-0c9dca27.js.map +0 -1
  156. package/dist/cjs/index-29ac07f6.js +0 -2325
  157. package/dist/cjs/index-29ac07f6.js.map +0 -1
  158. package/dist/cjs/index.cjs.js +0 -4
  159. package/dist/cjs/index.cjs.js.map +0 -1
  160. package/dist/cjs/loader.cjs.js +0 -23
  161. package/dist/cjs/loader.cjs.js.map +0 -1
  162. package/dist/cjs/props-5f82e4c0.js +0 -16
  163. package/dist/cjs/props-5f82e4c0.js.map +0 -1
  164. package/dist/cjs/sizes-79872c2a.js +0 -18
  165. package/dist/cjs/sizes-79872c2a.js.map +0 -1
  166. package/dist/cjs/string.utils-0f08c48c.js +0 -24
  167. package/dist/cjs/string.utils-0f08c48c.js.map +0 -1
  168. package/dist/cjs/template-e1c4ff78.js +0 -121
  169. package/dist/cjs/template-e1c4ff78.js.map +0 -1
  170. package/dist/cjs/utils-c9b1bba3.js +0 -41
  171. package/dist/cjs/utils-c9b1bba3.js.map +0 -1
  172. package/dist/cjs/variants-f5ffeef3.js +0 -18
  173. package/dist/cjs/variants-f5ffeef3.js.map +0 -1
  174. package/dist/cjs/wcag-6efc0ab7.js +0 -67
  175. package/dist/cjs/wcag-6efc0ab7.js.map +0 -1
  176. package/dist/cjs/win-84bda0aa.js +0 -26
  177. package/dist/cjs/win-84bda0aa.js.map +0 -1
  178. package/dist/collection/collection-manifest.json +0 -69
  179. package/dist/collection/components/gov-accordion/constants.js +0 -21
  180. package/dist/collection/components/gov-accordion/constants.js.map +0 -1
  181. package/dist/collection/components/gov-accordion/gov-accordion-item.css +0 -484
  182. package/dist/collection/components/gov-accordion/gov-accordion-item.js +0 -398
  183. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +0 -1
  184. package/dist/collection/components/gov-accordion/gov-accordion.css +0 -231
  185. package/dist/collection/components/gov-accordion/gov-accordion.js +0 -222
  186. package/dist/collection/components/gov-accordion/gov-accordion.js.map +0 -1
  187. package/dist/collection/components/gov-accordion/gov-accordion.types.js +0 -2
  188. package/dist/collection/components/gov-accordion/gov-accordion.types.js.map +0 -1
  189. package/dist/collection/components/gov-alert/constants.js +0 -12
  190. package/dist/collection/components/gov-alert/constants.js.map +0 -1
  191. package/dist/collection/components/gov-alert/gov-alert.css +0 -392
  192. package/dist/collection/components/gov-alert/gov-alert.js +0 -241
  193. package/dist/collection/components/gov-alert/gov-alert.js.map +0 -1
  194. package/dist/collection/components/gov-alert/gov-alert.types.js +0 -2
  195. package/dist/collection/components/gov-alert/gov-alert.types.js.map +0 -1
  196. package/dist/collection/components/gov-app/gov-app.css +0 -240
  197. package/dist/collection/components/gov-app/gov-app.js +0 -95
  198. package/dist/collection/components/gov-app/gov-app.js.map +0 -1
  199. package/dist/collection/components/gov-attachments/constants.js +0 -12
  200. package/dist/collection/components/gov-attachments/constants.js.map +0 -1
  201. package/dist/collection/components/gov-attachments/gov-attachments-item.css +0 -252
  202. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js +0 -2
  203. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js.map +0 -1
  204. package/dist/collection/components/gov-attachments/gov-attachments-item.js +0 -121
  205. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +0 -1
  206. package/dist/collection/components/gov-attachments/gov-attachments.css +0 -238
  207. package/dist/collection/components/gov-attachments/gov-attachments.js +0 -99
  208. package/dist/collection/components/gov-attachments/gov-attachments.js.map +0 -1
  209. package/dist/collection/components/gov-backdrop/constants.js +0 -5
  210. package/dist/collection/components/gov-backdrop/constants.js.map +0 -1
  211. package/dist/collection/components/gov-backdrop/gov-backdrop.css +0 -237
  212. package/dist/collection/components/gov-backdrop/gov-backdrop.js +0 -140
  213. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +0 -1
  214. package/dist/collection/components/gov-badge/constants.js +0 -13
  215. package/dist/collection/components/gov-badge/constants.js.map +0 -1
  216. package/dist/collection/components/gov-badge/gov-badge.css +0 -1203
  217. package/dist/collection/components/gov-badge/gov-badge.js +0 -284
  218. package/dist/collection/components/gov-badge/gov-badge.js.map +0 -1
  219. package/dist/collection/components/gov-breadcrumbs/constants.js +0 -4
  220. package/dist/collection/components/gov-breadcrumbs/constants.js.map +0 -1
  221. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +0 -270
  222. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js +0 -2
  223. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js.map +0 -1
  224. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +0 -160
  225. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +0 -1
  226. package/dist/collection/components/gov-button/constants.js +0 -29
  227. package/dist/collection/components/gov-button/constants.js.map +0 -1
  228. package/dist/collection/components/gov-button/gov-button.css +0 -1139
  229. package/dist/collection/components/gov-button/gov-button.js +0 -811
  230. package/dist/collection/components/gov-button/gov-button.js.map +0 -1
  231. package/dist/collection/components/gov-button/gov-button.types.js +0 -2
  232. package/dist/collection/components/gov-button/gov-button.types.js.map +0 -1
  233. package/dist/collection/components/gov-card/constants.js +0 -14
  234. package/dist/collection/components/gov-card/constants.js.map +0 -1
  235. package/dist/collection/components/gov-card/gov-card.css +0 -368
  236. package/dist/collection/components/gov-card/gov-card.js +0 -307
  237. package/dist/collection/components/gov-card/gov-card.js.map +0 -1
  238. package/dist/collection/components/gov-card/interfaces.js +0 -2
  239. package/dist/collection/components/gov-card/interfaces.js.map +0 -1
  240. package/dist/collection/components/gov-container/constants.js +0 -4
  241. package/dist/collection/components/gov-container/constants.js.map +0 -1
  242. package/dist/collection/components/gov-container/gov-container.css +0 -238
  243. package/dist/collection/components/gov-container/gov-container.js +0 -58
  244. package/dist/collection/components/gov-container/gov-container.js.map +0 -1
  245. package/dist/collection/components/gov-cookiebar/constants.js +0 -9
  246. package/dist/collection/components/gov-cookiebar/constants.js.map +0 -1
  247. package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +0 -280
  248. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +0 -24
  249. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +0 -1
  250. package/dist/collection/components/gov-empty/constants.js +0 -7
  251. package/dist/collection/components/gov-empty/constants.js.map +0 -1
  252. package/dist/collection/components/gov-empty/gov-empty.css +0 -246
  253. package/dist/collection/components/gov-empty/gov-empty.js +0 -24
  254. package/dist/collection/components/gov-empty/gov-empty.js.map +0 -1
  255. package/dist/collection/components/gov-error-code/constants.js +0 -7
  256. package/dist/collection/components/gov-error-code/constants.js.map +0 -1
  257. package/dist/collection/components/gov-error-code/gov-error-code.css +0 -261
  258. package/dist/collection/components/gov-error-code/gov-error-code.js +0 -24
  259. package/dist/collection/components/gov-error-code/gov-error-code.js.map +0 -1
  260. package/dist/collection/components/gov-form/autocomplete/constants.js +0 -11
  261. package/dist/collection/components/gov-form/autocomplete/constants.js.map +0 -1
  262. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +0 -273
  263. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +0 -682
  264. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +0 -1
  265. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js +0 -2
  266. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js.map +0 -1
  267. package/dist/collection/components/gov-form/checkbox/constants.js +0 -8
  268. package/dist/collection/components/gov-form/checkbox/constants.js.map +0 -1
  269. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +0 -389
  270. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +0 -418
  271. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +0 -1
  272. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js +0 -2
  273. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js.map +0 -1
  274. package/dist/collection/components/gov-form/control/constants.js +0 -9
  275. package/dist/collection/components/gov-form/control/constants.js.map +0 -1
  276. package/dist/collection/components/gov-form/control/gov-form-control.css +0 -282
  277. package/dist/collection/components/gov-form/control/gov-form-control.js +0 -234
  278. package/dist/collection/components/gov-form/control/gov-form-control.js.map +0 -1
  279. package/dist/collection/components/gov-form/file/constants.js +0 -10
  280. package/dist/collection/components/gov-form/file/constants.js.map +0 -1
  281. package/dist/collection/components/gov-form/file/gov-form-file.css +0 -285
  282. package/dist/collection/components/gov-form/file/gov-form-file.js +0 -625
  283. package/dist/collection/components/gov-form/file/gov-form-file.js.map +0 -1
  284. package/dist/collection/components/gov-form/file/gov-form-file.types.js +0 -2
  285. package/dist/collection/components/gov-form/file/gov-form-file.types.js.map +0 -1
  286. package/dist/collection/components/gov-form/group/constants.js +0 -7
  287. package/dist/collection/components/gov-form/group/constants.js.map +0 -1
  288. package/dist/collection/components/gov-form/group/gov-form-group.css +0 -242
  289. package/dist/collection/components/gov-form/group/gov-form-group.js +0 -65
  290. package/dist/collection/components/gov-form/group/gov-form-group.js.map +0 -1
  291. package/dist/collection/components/gov-form/input/constants.js +0 -29
  292. package/dist/collection/components/gov-form/input/constants.js.map +0 -1
  293. package/dist/collection/components/gov-form/input/gov-form-input.css +0 -454
  294. package/dist/collection/components/gov-form/input/gov-form-input.js +0 -821
  295. package/dist/collection/components/gov-form/input/gov-form-input.js.map +0 -1
  296. package/dist/collection/components/gov-form/input/gov-form-input.types.js +0 -2
  297. package/dist/collection/components/gov-form/input/gov-form-input.types.js.map +0 -1
  298. package/dist/collection/components/gov-form/label/constants.js +0 -8
  299. package/dist/collection/components/gov-form/label/constants.js.map +0 -1
  300. package/dist/collection/components/gov-form/label/gov-form-label.css +0 -234
  301. package/dist/collection/components/gov-form/label/gov-form-label.js +0 -128
  302. package/dist/collection/components/gov-form/label/gov-form-label.js.map +0 -1
  303. package/dist/collection/components/gov-form/message/constants.js +0 -9
  304. package/dist/collection/components/gov-form/message/constants.js.map +0 -1
  305. package/dist/collection/components/gov-form/message/gov-form-message.css +0 -253
  306. package/dist/collection/components/gov-form/message/gov-form-message.js +0 -93
  307. package/dist/collection/components/gov-form/message/gov-form-message.js.map +0 -1
  308. package/dist/collection/components/gov-form/multiselect/constants.js +0 -12
  309. package/dist/collection/components/gov-form/multiselect/constants.js.map +0 -1
  310. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +0 -514
  311. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +0 -557
  312. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +0 -1
  313. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js +0 -2
  314. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js.map +0 -1
  315. package/dist/collection/components/gov-form/password-power/constants.js +0 -6
  316. package/dist/collection/components/gov-form/password-power/constants.js.map +0 -1
  317. package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +0 -265
  318. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +0 -43
  319. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +0 -1
  320. package/dist/collection/components/gov-form/radio/constants.js +0 -10
  321. package/dist/collection/components/gov-form/radio/constants.js.map +0 -1
  322. package/dist/collection/components/gov-form/radio/gov-form-radio.css +0 -388
  323. package/dist/collection/components/gov-form/radio/gov-form-radio.js +0 -418
  324. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +0 -1
  325. package/dist/collection/components/gov-form/radio/gov-form-radio.types.js +0 -2
  326. package/dist/collection/components/gov-form/radio/gov-form-radio.types.js.map +0 -1
  327. package/dist/collection/components/gov-form/search/constants.js +0 -6
  328. package/dist/collection/components/gov-form/search/constants.js.map +0 -1
  329. package/dist/collection/components/gov-form/search/gov-form-search.css +0 -260
  330. package/dist/collection/components/gov-form/search/gov-form-search.js +0 -20
  331. package/dist/collection/components/gov-form/search/gov-form-search.js.map +0 -1
  332. package/dist/collection/components/gov-form/select/constants.js +0 -10
  333. package/dist/collection/components/gov-form/select/constants.js.map +0 -1
  334. package/dist/collection/components/gov-form/select/gov-form-select.css +0 -473
  335. package/dist/collection/components/gov-form/select/gov-form-select.js +0 -516
  336. package/dist/collection/components/gov-form/select/gov-form-select.js.map +0 -1
  337. package/dist/collection/components/gov-form/select/gov-form-select.types.js +0 -2
  338. package/dist/collection/components/gov-form/select/gov-form-select.types.js.map +0 -1
  339. package/dist/collection/components/gov-form/switch/constants.js +0 -10
  340. package/dist/collection/components/gov-form/switch/constants.js.map +0 -1
  341. package/dist/collection/components/gov-form/switch/gov-form-switch.css +0 -403
  342. package/dist/collection/components/gov-form/switch/gov-form-switch.js +0 -418
  343. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +0 -1
  344. package/dist/collection/components/gov-form/switch/gov-form-switch.types.js +0 -2
  345. package/dist/collection/components/gov-form/switch/gov-form-switch.types.js.map +0 -1
  346. package/dist/collection/components/gov-grid/constants.js +0 -7
  347. package/dist/collection/components/gov-grid/constants.js.map +0 -1
  348. package/dist/collection/components/gov-grid/gov-grid-item.css +0 -472
  349. package/dist/collection/components/gov-grid/gov-grid-item.js +0 -119
  350. package/dist/collection/components/gov-grid/gov-grid-item.js.map +0 -1
  351. package/dist/collection/components/gov-grid/gov-grid.css +0 -247
  352. package/dist/collection/components/gov-grid/gov-grid.js +0 -65
  353. package/dist/collection/components/gov-grid/gov-grid.js.map +0 -1
  354. package/dist/collection/components/gov-icon/constants.js +0 -11
  355. package/dist/collection/components/gov-icon/constants.js.map +0 -1
  356. package/dist/collection/components/gov-icon/gov-icon.css +0 -232
  357. package/dist/collection/components/gov-icon/gov-icon.js +0 -135
  358. package/dist/collection/components/gov-icon/gov-icon.js.map +0 -1
  359. package/dist/collection/components/gov-icon/list.js +0 -241
  360. package/dist/collection/components/gov-icon/list.js.map +0 -1
  361. package/dist/collection/components/gov-layout/constants.js +0 -19
  362. package/dist/collection/components/gov-layout/constants.js.map +0 -1
  363. package/dist/collection/components/gov-layout/gov-layout-column.css +0 -228
  364. package/dist/collection/components/gov-layout/gov-layout-column.js +0 -24
  365. package/dist/collection/components/gov-layout/gov-layout-column.js.map +0 -1
  366. package/dist/collection/components/gov-layout/gov-layout.css +0 -273
  367. package/dist/collection/components/gov-layout/gov-layout.js +0 -100
  368. package/dist/collection/components/gov-layout/gov-layout.js.map +0 -1
  369. package/dist/collection/components/gov-loading/loading/constants.js +0 -6
  370. package/dist/collection/components/gov-loading/loading/constants.js.map +0 -1
  371. package/dist/collection/components/gov-loading/loading/gov-loading.css +0 -251
  372. package/dist/collection/components/gov-loading/loading/gov-loading.js +0 -47
  373. package/dist/collection/components/gov-loading/loading/gov-loading.js.map +0 -1
  374. package/dist/collection/components/gov-loading/skeleton/constants.js +0 -20
  375. package/dist/collection/components/gov-loading/skeleton/constants.js.map +0 -1
  376. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +0 -290
  377. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +0 -267
  378. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +0 -1
  379. package/dist/collection/components/gov-message/constants.js +0 -10
  380. package/dist/collection/components/gov-message/constants.js.map +0 -1
  381. package/dist/collection/components/gov-message/gov-message.css +0 -310
  382. package/dist/collection/components/gov-message/gov-message.js +0 -63
  383. package/dist/collection/components/gov-message/gov-message.js.map +0 -1
  384. package/dist/collection/components/gov-modal/constants.js +0 -14
  385. package/dist/collection/components/gov-modal/constants.js.map +0 -1
  386. package/dist/collection/components/gov-modal/gov-modal.css +0 -335
  387. package/dist/collection/components/gov-modal/gov-modal.js +0 -324
  388. package/dist/collection/components/gov-modal/gov-modal.js.map +0 -1
  389. package/dist/collection/components/gov-nav/constants.js +0 -9
  390. package/dist/collection/components/gov-nav/constants.js.map +0 -1
  391. package/dist/collection/components/gov-nav/gov-nav-item.css +0 -279
  392. package/dist/collection/components/gov-nav/gov-nav-item.js +0 -68
  393. package/dist/collection/components/gov-nav/gov-nav-item.js.map +0 -1
  394. package/dist/collection/components/gov-nav/gov-nav.css +0 -245
  395. package/dist/collection/components/gov-nav/gov-nav.js +0 -97
  396. package/dist/collection/components/gov-nav/gov-nav.js.map +0 -1
  397. package/dist/collection/components/gov-pagination/constants.js +0 -21
  398. package/dist/collection/components/gov-pagination/constants.js.map +0 -1
  399. package/dist/collection/components/gov-pagination/gov-pagination.css +0 -385
  400. package/dist/collection/components/gov-pagination/gov-pagination.js +0 -439
  401. package/dist/collection/components/gov-pagination/gov-pagination.js.map +0 -1
  402. package/dist/collection/components/gov-pagination/gov-pagination.types.js +0 -2
  403. package/dist/collection/components/gov-pagination/gov-pagination.types.js.map +0 -1
  404. package/dist/collection/components/gov-pagination/pagination.js +0 -55
  405. package/dist/collection/components/gov-pagination/pagination.js.map +0 -1
  406. package/dist/collection/components/gov-promp/constants.js +0 -13
  407. package/dist/collection/components/gov-promp/constants.js.map +0 -1
  408. package/dist/collection/components/gov-promp/gov-prompt.css +0 -338
  409. package/dist/collection/components/gov-promp/gov-prompt.js +0 -324
  410. package/dist/collection/components/gov-promp/gov-prompt.js.map +0 -1
  411. package/dist/collection/components/gov-side-nav/constants.js +0 -16
  412. package/dist/collection/components/gov-side-nav/constants.js.map +0 -1
  413. package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +0 -375
  414. package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js +0 -2
  415. package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js.map +0 -1
  416. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +0 -331
  417. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +0 -1
  418. package/dist/collection/components/gov-side-nav/gov-side-nav.css +0 -228
  419. package/dist/collection/components/gov-side-nav/gov-side-nav.js +0 -169
  420. package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +0 -1
  421. package/dist/collection/components/gov-spacer/constants.js +0 -15
  422. package/dist/collection/components/gov-spacer/constants.js.map +0 -1
  423. package/dist/collection/components/gov-spacer/gov-spacer.css +0 -293
  424. package/dist/collection/components/gov-spacer/gov-spacer.js +0 -95
  425. package/dist/collection/components/gov-spacer/gov-spacer.js.map +0 -1
  426. package/dist/collection/components/gov-statsbar/constants.js +0 -18
  427. package/dist/collection/components/gov-statsbar/constants.js.map +0 -1
  428. package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +0 -287
  429. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +0 -65
  430. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +0 -1
  431. package/dist/collection/components/gov-statsbar/gov-statsbar.css +0 -272
  432. package/dist/collection/components/gov-statsbar/gov-statsbar.js +0 -102
  433. package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +0 -1
  434. package/dist/collection/components/gov-stepper/constants.js +0 -21
  435. package/dist/collection/components/gov-stepper/constants.js.map +0 -1
  436. package/dist/collection/components/gov-stepper/gov-stepper-item.css +0 -450
  437. package/dist/collection/components/gov-stepper/gov-stepper-item.d.js +0 -2
  438. package/dist/collection/components/gov-stepper/gov-stepper-item.d.js.map +0 -1
  439. package/dist/collection/components/gov-stepper/gov-stepper-item.js +0 -246
  440. package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +0 -1
  441. package/dist/collection/components/gov-stepper/gov-stepper.css +0 -228
  442. package/dist/collection/components/gov-stepper/gov-stepper.js +0 -97
  443. package/dist/collection/components/gov-stepper/gov-stepper.js.map +0 -1
  444. package/dist/collection/components/gov-tabs/constants.js +0 -25
  445. package/dist/collection/components/gov-tabs/constants.js.map +0 -1
  446. package/dist/collection/components/gov-tabs/gov-tabs-item.css +0 -229
  447. package/dist/collection/components/gov-tabs/gov-tabs-item.js +0 -183
  448. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +0 -1
  449. package/dist/collection/components/gov-tabs/gov-tabs.css +0 -381
  450. package/dist/collection/components/gov-tabs/gov-tabs.js +0 -422
  451. package/dist/collection/components/gov-tabs/gov-tabs.js.map +0 -1
  452. package/dist/collection/components/gov-tabs/gov-tabs.types.js +0 -2
  453. package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +0 -1
  454. package/dist/collection/components/gov-tile/constants.js +0 -10
  455. package/dist/collection/components/gov-tile/constants.js.map +0 -1
  456. package/dist/collection/components/gov-tile/container/constants.js +0 -4
  457. package/dist/collection/components/gov-tile/container/constants.js.map +0 -1
  458. package/dist/collection/components/gov-tile/container/gov-tiles.css +0 -310
  459. package/dist/collection/components/gov-tile/container/gov-tiles.js +0 -70
  460. package/dist/collection/components/gov-tile/container/gov-tiles.js.map +0 -1
  461. package/dist/collection/components/gov-tile/gov-tile.css +0 -326
  462. package/dist/collection/components/gov-tile/gov-tile.js +0 -99
  463. package/dist/collection/components/gov-tile/gov-tile.js.map +0 -1
  464. package/dist/collection/components/gov-toast/constants.js +0 -13
  465. package/dist/collection/components/gov-toast/constants.js.map +0 -1
  466. package/dist/collection/components/gov-toast/gov-toast.css +0 -394
  467. package/dist/collection/components/gov-toast/gov-toast.js +0 -267
  468. package/dist/collection/components/gov-toast/gov-toast.js.map +0 -1
  469. package/dist/collection/components/gov-tooltip/constants.js +0 -19
  470. package/dist/collection/components/gov-tooltip/constants.js.map +0 -1
  471. package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +0 -324
  472. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +0 -63
  473. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +0 -1
  474. package/dist/collection/components/gov-tooltip/gov-tooltip.css +0 -253
  475. package/dist/collection/components/gov-tooltip/gov-tooltip.js +0 -322
  476. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +0 -1
  477. package/dist/collection/components/gov-wizzard/constants.js +0 -20
  478. package/dist/collection/components/gov-wizzard/constants.js.map +0 -1
  479. package/dist/collection/components/gov-wizzard/gov-wizzard-item.css +0 -441
  480. package/dist/collection/components/gov-wizzard/gov-wizzard-item.d.js +0 -2
  481. package/dist/collection/components/gov-wizzard/gov-wizzard-item.d.js.map +0 -1
  482. package/dist/collection/components/gov-wizzard/gov-wizzard-item.js +0 -381
  483. package/dist/collection/components/gov-wizzard/gov-wizzard-item.js.map +0 -1
  484. package/dist/collection/components/gov-wizzard/gov-wizzard.css +0 -231
  485. package/dist/collection/components/gov-wizzard/gov-wizzard.js +0 -168
  486. package/dist/collection/components/gov-wizzard/gov-wizzard.js.map +0 -1
  487. package/dist/collection/core/constants/sizes.js +0 -15
  488. package/dist/collection/core/constants/sizes.js.map +0 -1
  489. package/dist/collection/core/constants/tags.js +0 -14
  490. package/dist/collection/core/constants/tags.js.map +0 -1
  491. package/dist/collection/core/constants/variants.js +0 -15
  492. package/dist/collection/core/constants/variants.js.map +0 -1
  493. package/dist/collection/helpers/Dom/form.js +0 -72
  494. package/dist/collection/helpers/Dom/form.js.map +0 -1
  495. package/dist/collection/helpers/Dom/form.types.js +0 -2
  496. package/dist/collection/helpers/Dom/form.types.js.map +0 -1
  497. package/dist/collection/helpers/Dom/template.js +0 -110
  498. package/dist/collection/helpers/Dom/template.js.map +0 -1
  499. package/dist/collection/helpers/Dom/template.types.js +0 -2
  500. package/dist/collection/helpers/Dom/template.types.js.map +0 -1
  501. package/dist/collection/helpers/Dom/win.js +0 -18
  502. package/dist/collection/helpers/Dom/win.js.map +0 -1
  503. package/dist/collection/helpers/Fragment.js +0 -2
  504. package/dist/collection/helpers/Fragment.js.map +0 -1
  505. package/dist/collection/helpers/Log/gov.log.js +0 -14
  506. package/dist/collection/helpers/Log/gov.log.js.map +0 -1
  507. package/dist/collection/helpers/StorybookDocsTemplate.js +0 -9
  508. package/dist/collection/helpers/StorybookDocsTemplate.js.map +0 -1
  509. package/dist/collection/helpers/Validate/props.js +0 -10
  510. package/dist/collection/helpers/Validate/props.js.map +0 -1
  511. package/dist/collection/helpers/Validate/wcag.js +0 -58
  512. package/dist/collection/helpers/Validate/wcag.js.map +0 -1
  513. package/dist/collection/index.js +0 -2
  514. package/dist/collection/index.js.map +0 -1
  515. package/dist/collection/pages/Accordion.js +0 -349
  516. package/dist/collection/pages/Accordion.js.map +0 -1
  517. package/dist/collection/pages/Alert.js +0 -90
  518. package/dist/collection/pages/Alert.js.map +0 -1
  519. package/dist/collection/pages/Badge.js +0 -321
  520. package/dist/collection/pages/Badge.js.map +0 -1
  521. package/dist/collection/pages/Breadcrumbs.js +0 -36
  522. package/dist/collection/pages/Breadcrumbs.js.map +0 -1
  523. package/dist/collection/pages/Button.js +0 -1277
  524. package/dist/collection/pages/Button.js.map +0 -1
  525. package/dist/collection/pages/Card.js +0 -102
  526. package/dist/collection/pages/Card.js.map +0 -1
  527. package/dist/collection/pages/Container.js +0 -15
  528. package/dist/collection/pages/Container.js.map +0 -1
  529. package/dist/collection/pages/Cookiebar.js +0 -29
  530. package/dist/collection/pages/Cookiebar.js.map +0 -1
  531. package/dist/collection/pages/Empty.js +0 -43
  532. package/dist/collection/pages/Empty.js.map +0 -1
  533. package/dist/collection/pages/Error.js +0 -16
  534. package/dist/collection/pages/Error.js.map +0 -1
  535. package/dist/collection/pages/FormLabel.js +0 -13
  536. package/dist/collection/pages/FormLabel.js.map +0 -1
  537. package/dist/collection/pages/FormMessage.js +0 -82
  538. package/dist/collection/pages/FormMessage.js.map +0 -1
  539. package/dist/collection/pages/Forms.js +0 -1208
  540. package/dist/collection/pages/Forms.js.map +0 -1
  541. package/dist/collection/pages/FormsRestructure.js +0 -13
  542. package/dist/collection/pages/FormsRestructure.js.map +0 -1
  543. package/dist/collection/pages/Grid.js +0 -92
  544. package/dist/collection/pages/Grid.js.map +0 -1
  545. package/dist/collection/pages/Home.js +0 -9
  546. package/dist/collection/pages/Home.js.map +0 -1
  547. package/dist/collection/pages/Layout.js +0 -97
  548. package/dist/collection/pages/Layout.js.map +0 -1
  549. package/dist/collection/pages/Loading.js +0 -95
  550. package/dist/collection/pages/Loading.js.map +0 -1
  551. package/dist/collection/pages/Message.js +0 -94
  552. package/dist/collection/pages/Message.js.map +0 -1
  553. package/dist/collection/pages/Modal.js +0 -57
  554. package/dist/collection/pages/Modal.js.map +0 -1
  555. package/dist/collection/pages/Nav.js +0 -30
  556. package/dist/collection/pages/Nav.js.map +0 -1
  557. package/dist/collection/pages/Pagination.js +0 -38
  558. package/dist/collection/pages/Pagination.js.map +0 -1
  559. package/dist/collection/pages/Prompt.js +0 -48
  560. package/dist/collection/pages/Prompt.js.map +0 -1
  561. package/dist/collection/pages/SideNav.js +0 -117
  562. package/dist/collection/pages/SideNav.js.map +0 -1
  563. package/dist/collection/pages/Spacer.js +0 -19
  564. package/dist/collection/pages/Spacer.js.map +0 -1
  565. package/dist/collection/pages/Statsbar.js +0 -202
  566. package/dist/collection/pages/Statsbar.js.map +0 -1
  567. package/dist/collection/pages/Stepper.js +0 -85
  568. package/dist/collection/pages/Stepper.js.map +0 -1
  569. package/dist/collection/pages/Tabs.js +0 -323
  570. package/dist/collection/pages/Tabs.js.map +0 -1
  571. package/dist/collection/pages/Tiles.js +0 -119
  572. package/dist/collection/pages/Tiles.js.map +0 -1
  573. package/dist/collection/pages/ToastMessage.js +0 -47
  574. package/dist/collection/pages/ToastMessage.js.map +0 -1
  575. package/dist/collection/pages/ToastMessageCountdown.js +0 -47
  576. package/dist/collection/pages/ToastMessageCountdown.js.map +0 -1
  577. package/dist/collection/pages/Tooltip.js +0 -137
  578. package/dist/collection/pages/Tooltip.js.map +0 -1
  579. package/dist/collection/pages/Typography.js +0 -75
  580. package/dist/collection/pages/Typography.js.map +0 -1
  581. package/dist/collection/pages/Wizzard.js +0 -88
  582. package/dist/collection/pages/Wizzard.js.map +0 -1
  583. package/dist/collection/types/event.types.js +0 -2
  584. package/dist/collection/types/event.types.js.map +0 -1
  585. package/dist/collection/types/interfaces.js +0 -2
  586. package/dist/collection/types/interfaces.js.map +0 -1
  587. package/dist/collection/utils/array.utils.js +0 -7
  588. package/dist/collection/utils/array.utils.js.map +0 -1
  589. package/dist/collection/utils/bool.utils.js +0 -15
  590. package/dist/collection/utils/bool.utils.js.map +0 -1
  591. package/dist/collection/utils/ds.utils.js +0 -5
  592. package/dist/collection/utils/ds.utils.js.map +0 -1
  593. package/dist/collection/utils/file.utils.js +0 -26
  594. package/dist/collection/utils/file.utils.js.map +0 -1
  595. package/dist/collection/utils/icon.utils.js +0 -31
  596. package/dist/collection/utils/icon.utils.js.map +0 -1
  597. package/dist/collection/utils/number.utils.js +0 -4
  598. package/dist/collection/utils/number.utils.js.map +0 -1
  599. package/dist/collection/utils/string.utils.js +0 -17
  600. package/dist/collection/utils/string.utils.js.map +0 -1
  601. package/dist/collection/utils/utils.js +0 -35
  602. package/dist/collection/utils/utils.js.map +0 -1
  603. package/dist/components/Fragment.js +0 -5
  604. package/dist/components/Fragment.js.map +0 -1
  605. package/dist/components/constants.js +0 -25
  606. package/dist/components/constants.js.map +0 -1
  607. package/dist/components/constants10.js +0 -19
  608. package/dist/components/constants10.js.map +0 -1
  609. package/dist/components/constants11.js +0 -22
  610. package/dist/components/constants11.js.map +0 -1
  611. package/dist/components/constants12.js +0 -25
  612. package/dist/components/constants12.js.map +0 -1
  613. package/dist/components/constants13.js +0 -29
  614. package/dist/components/constants13.js.map +0 -1
  615. package/dist/components/constants14.js +0 -23
  616. package/dist/components/constants14.js.map +0 -1
  617. package/dist/components/constants15.js +0 -24
  618. package/dist/components/constants15.js.map +0 -1
  619. package/dist/components/constants2.js +0 -15
  620. package/dist/components/constants2.js.map +0 -1
  621. package/dist/components/constants3.js +0 -33
  622. package/dist/components/constants3.js.map +0 -1
  623. package/dist/components/constants4.js +0 -12
  624. package/dist/components/constants4.js.map +0 -1
  625. package/dist/components/constants5.js +0 -13
  626. package/dist/components/constants5.js.map +0 -1
  627. package/dist/components/constants6.js +0 -10
  628. package/dist/components/constants6.js.map +0 -1
  629. package/dist/components/constants7.js +0 -22
  630. package/dist/components/constants7.js.map +0 -1
  631. package/dist/components/constants8.js +0 -17
  632. package/dist/components/constants8.js.map +0 -1
  633. package/dist/components/constants9.js +0 -12
  634. package/dist/components/constants9.js.map +0 -1
  635. package/dist/components/form.js +0 -150
  636. package/dist/components/form.js.map +0 -1
  637. package/dist/components/gov-accordion-item.d.ts +0 -11
  638. package/dist/components/gov-accordion-item.js +0 -156
  639. package/dist/components/gov-accordion-item.js.map +0 -1
  640. package/dist/components/gov-accordion.d.ts +0 -11
  641. package/dist/components/gov-accordion.js +0 -94
  642. package/dist/components/gov-accordion.js.map +0 -1
  643. package/dist/components/gov-alert.d.ts +0 -11
  644. package/dist/components/gov-alert.js +0 -122
  645. package/dist/components/gov-alert.js.map +0 -1
  646. package/dist/components/gov-app.d.ts +0 -11
  647. package/dist/components/gov-app.js +0 -8379
  648. package/dist/components/gov-app.js.map +0 -1
  649. package/dist/components/gov-attachments-item.d.ts +0 -11
  650. package/dist/components/gov-attachments-item.js +0 -8
  651. package/dist/components/gov-attachments-item.js.map +0 -1
  652. package/dist/components/gov-attachments-item2.js +0 -69
  653. package/dist/components/gov-attachments-item2.js.map +0 -1
  654. package/dist/components/gov-attachments.d.ts +0 -11
  655. package/dist/components/gov-attachments.js +0 -8
  656. package/dist/components/gov-attachments.js.map +0 -1
  657. package/dist/components/gov-attachments2.js +0 -56
  658. package/dist/components/gov-attachments2.js.map +0 -1
  659. package/dist/components/gov-backdrop.d.ts +0 -11
  660. package/dist/components/gov-backdrop.js +0 -8
  661. package/dist/components/gov-backdrop.js.map +0 -1
  662. package/dist/components/gov-backdrop2.js +0 -63
  663. package/dist/components/gov-backdrop2.js.map +0 -1
  664. package/dist/components/gov-badge.d.ts +0 -11
  665. package/dist/components/gov-badge.js +0 -8
  666. package/dist/components/gov-badge.js.map +0 -1
  667. package/dist/components/gov-badge2.js +0 -100
  668. package/dist/components/gov-badge2.js.map +0 -1
  669. package/dist/components/gov-breadcrumbs.d.ts +0 -11
  670. package/dist/components/gov-breadcrumbs.js +0 -67
  671. package/dist/components/gov-breadcrumbs.js.map +0 -1
  672. package/dist/components/gov-button.d.ts +0 -11
  673. package/dist/components/gov-button.js +0 -8
  674. package/dist/components/gov-button.js.map +0 -1
  675. package/dist/components/gov-button2.js +0 -215
  676. package/dist/components/gov-button2.js.map +0 -1
  677. package/dist/components/gov-card.d.ts +0 -11
  678. package/dist/components/gov-card.js +0 -143
  679. package/dist/components/gov-card.js.map +0 -1
  680. package/dist/components/gov-container.d.ts +0 -11
  681. package/dist/components/gov-container.js +0 -51
  682. package/dist/components/gov-container.js.map +0 -1
  683. package/dist/components/gov-cookiebar.d.ts +0 -11
  684. package/dist/components/gov-cookiebar.js +0 -46
  685. package/dist/components/gov-cookiebar.js.map +0 -1
  686. package/dist/components/gov-empty.d.ts +0 -11
  687. package/dist/components/gov-empty.js +0 -44
  688. package/dist/components/gov-empty.js.map +0 -1
  689. package/dist/components/gov-error-code.d.ts +0 -11
  690. package/dist/components/gov-error-code.js +0 -44
  691. package/dist/components/gov-error-code.js.map +0 -1
  692. package/dist/components/gov-form-autocomplete.d.ts +0 -11
  693. package/dist/components/gov-form-autocomplete.js +0 -8
  694. package/dist/components/gov-form-autocomplete.js.map +0 -1
  695. package/dist/components/gov-form-autocomplete2.js +0 -241
  696. package/dist/components/gov-form-autocomplete2.js.map +0 -1
  697. package/dist/components/gov-form-checkbox.d.ts +0 -11
  698. package/dist/components/gov-form-checkbox.js +0 -148
  699. package/dist/components/gov-form-checkbox.js.map +0 -1
  700. package/dist/components/gov-form-control.d.ts +0 -11
  701. package/dist/components/gov-form-control.js +0 -114
  702. package/dist/components/gov-form-control.js.map +0 -1
  703. package/dist/components/gov-form-file.d.ts +0 -11
  704. package/dist/components/gov-form-file.js +0 -274
  705. package/dist/components/gov-form-file.js.map +0 -1
  706. package/dist/components/gov-form-group.d.ts +0 -11
  707. package/dist/components/gov-form-group.js +0 -57
  708. package/dist/components/gov-form-group.js.map +0 -1
  709. package/dist/components/gov-form-input.d.ts +0 -11
  710. package/dist/components/gov-form-input.js +0 -8
  711. package/dist/components/gov-form-input.js.map +0 -1
  712. package/dist/components/gov-form-input2.js +0 -209
  713. package/dist/components/gov-form-input2.js.map +0 -1
  714. package/dist/components/gov-form-label.d.ts +0 -11
  715. package/dist/components/gov-form-label.js +0 -46
  716. package/dist/components/gov-form-label.js.map +0 -1
  717. package/dist/components/gov-form-message.d.ts +0 -11
  718. package/dist/components/gov-form-message.js +0 -8
  719. package/dist/components/gov-form-message.js.map +0 -1
  720. package/dist/components/gov-form-message2.js +0 -57
  721. package/dist/components/gov-form-message2.js.map +0 -1
  722. package/dist/components/gov-form-multi-select.d.ts +0 -11
  723. package/dist/components/gov-form-multi-select.js +0 -257
  724. package/dist/components/gov-form-multi-select.js.map +0 -1
  725. package/dist/components/gov-form-password-power.d.ts +0 -11
  726. package/dist/components/gov-form-password-power.js +0 -43
  727. package/dist/components/gov-form-password-power.js.map +0 -1
  728. package/dist/components/gov-form-radio.d.ts +0 -11
  729. package/dist/components/gov-form-radio.js +0 -142
  730. package/dist/components/gov-form-radio.js.map +0 -1
  731. package/dist/components/gov-form-search.d.ts +0 -11
  732. package/dist/components/gov-form-search.js +0 -41
  733. package/dist/components/gov-form-search.js.map +0 -1
  734. package/dist/components/gov-form-select.d.ts +0 -11
  735. package/dist/components/gov-form-select.js +0 -8
  736. package/dist/components/gov-form-select.js.map +0 -1
  737. package/dist/components/gov-form-select2.js +0 -164
  738. package/dist/components/gov-form-select2.js.map +0 -1
  739. package/dist/components/gov-form-switch.d.ts +0 -11
  740. package/dist/components/gov-form-switch.js +0 -142
  741. package/dist/components/gov-form-switch.js.map +0 -1
  742. package/dist/components/gov-grid-item.d.ts +0 -11
  743. package/dist/components/gov-grid-item.js +0 -49
  744. package/dist/components/gov-grid-item.js.map +0 -1
  745. package/dist/components/gov-grid.d.ts +0 -11
  746. package/dist/components/gov-grid.js +0 -44
  747. package/dist/components/gov-grid.js.map +0 -1
  748. package/dist/components/gov-icon.d.ts +0 -11
  749. package/dist/components/gov-icon.js +0 -8
  750. package/dist/components/gov-icon.js.map +0 -1
  751. package/dist/components/gov-icon2.js +0 -141
  752. package/dist/components/gov-icon2.js.map +0 -1
  753. package/dist/components/gov-layout-column.d.ts +0 -11
  754. package/dist/components/gov-layout-column.js +0 -38
  755. package/dist/components/gov-layout-column.js.map +0 -1
  756. package/dist/components/gov-layout.d.ts +0 -11
  757. package/dist/components/gov-layout.js +0 -51
  758. package/dist/components/gov-layout.js.map +0 -1
  759. package/dist/components/gov-loading.d.ts +0 -11
  760. package/dist/components/gov-loading.js +0 -58
  761. package/dist/components/gov-loading.js.map +0 -1
  762. package/dist/components/gov-message.d.ts +0 -11
  763. package/dist/components/gov-message.js +0 -57
  764. package/dist/components/gov-message.js.map +0 -1
  765. package/dist/components/gov-modal.d.ts +0 -11
  766. package/dist/components/gov-modal.js +0 -146
  767. package/dist/components/gov-modal.js.map +0 -1
  768. package/dist/components/gov-nav-item.d.ts +0 -11
  769. package/dist/components/gov-nav-item.js +0 -53
  770. package/dist/components/gov-nav-item.js.map +0 -1
  771. package/dist/components/gov-nav.d.ts +0 -11
  772. package/dist/components/gov-nav.js +0 -57
  773. package/dist/components/gov-nav.js.map +0 -1
  774. package/dist/components/gov-pagination.d.ts +0 -11
  775. package/dist/components/gov-pagination.js +0 -263
  776. package/dist/components/gov-pagination.js.map +0 -1
  777. package/dist/components/gov-prompt.d.ts +0 -11
  778. package/dist/components/gov-prompt.js +0 -146
  779. package/dist/components/gov-prompt.js.map +0 -1
  780. package/dist/components/gov-side-nav-item.d.ts +0 -11
  781. package/dist/components/gov-side-nav-item.js +0 -124
  782. package/dist/components/gov-side-nav-item.js.map +0 -1
  783. package/dist/components/gov-side-nav.d.ts +0 -11
  784. package/dist/components/gov-side-nav.js +0 -73
  785. package/dist/components/gov-side-nav.js.map +0 -1
  786. package/dist/components/gov-skeleton.d.ts +0 -11
  787. package/dist/components/gov-skeleton.js +0 -137
  788. package/dist/components/gov-skeleton.js.map +0 -1
  789. package/dist/components/gov-spacer.d.ts +0 -11
  790. package/dist/components/gov-spacer.js +0 -72
  791. package/dist/components/gov-spacer.js.map +0 -1
  792. package/dist/components/gov-statsbar-item.d.ts +0 -11
  793. package/dist/components/gov-statsbar-item.js +0 -51
  794. package/dist/components/gov-statsbar-item.js.map +0 -1
  795. package/dist/components/gov-statsbar.d.ts +0 -11
  796. package/dist/components/gov-statsbar.js +0 -65
  797. package/dist/components/gov-statsbar.js.map +0 -1
  798. package/dist/components/gov-stepper-item.d.ts +0 -11
  799. package/dist/components/gov-stepper-item.js +0 -96
  800. package/dist/components/gov-stepper-item.js.map +0 -1
  801. package/dist/components/gov-stepper.d.ts +0 -11
  802. package/dist/components/gov-stepper.js +0 -61
  803. package/dist/components/gov-stepper.js.map +0 -1
  804. package/dist/components/gov-tabs-item.d.ts +0 -11
  805. package/dist/components/gov-tabs-item.js +0 -73
  806. package/dist/components/gov-tabs-item.js.map +0 -1
  807. package/dist/components/gov-tabs.d.ts +0 -11
  808. package/dist/components/gov-tabs.js +0 -232
  809. package/dist/components/gov-tabs.js.map +0 -1
  810. package/dist/components/gov-tile.d.ts +0 -11
  811. package/dist/components/gov-tile.js +0 -73
  812. package/dist/components/gov-tile.js.map +0 -1
  813. package/dist/components/gov-tiles.d.ts +0 -11
  814. package/dist/components/gov-tiles.js +0 -49
  815. package/dist/components/gov-tiles.js.map +0 -1
  816. package/dist/components/gov-toast.d.ts +0 -11
  817. package/dist/components/gov-toast.js +0 -136
  818. package/dist/components/gov-toast.js.map +0 -1
  819. package/dist/components/gov-tooltip-content.d.ts +0 -11
  820. package/dist/components/gov-tooltip-content.js +0 -54
  821. package/dist/components/gov-tooltip-content.js.map +0 -1
  822. package/dist/components/gov-tooltip.d.ts +0 -11
  823. package/dist/components/gov-tooltip.js +0 -176
  824. package/dist/components/gov-tooltip.js.map +0 -1
  825. package/dist/components/gov-wizzard-item.d.ts +0 -11
  826. package/dist/components/gov-wizzard-item.js +0 -141
  827. package/dist/components/gov-wizzard-item.js.map +0 -1
  828. package/dist/components/gov-wizzard.d.ts +0 -11
  829. package/dist/components/gov-wizzard.js +0 -81
  830. package/dist/components/gov-wizzard.js.map +0 -1
  831. package/dist/components/gov.log.js +0 -17
  832. package/dist/components/gov.log.js.map +0 -1
  833. package/dist/components/index.d.ts +0 -79
  834. package/dist/components/index.js +0 -61
  835. package/dist/components/index.js.map +0 -1
  836. package/dist/components/props.js +0 -14
  837. package/dist/components/props.js.map +0 -1
  838. package/dist/components/sizes.js +0 -18
  839. package/dist/components/sizes.js.map +0 -1
  840. package/dist/components/string.utils.js +0 -20
  841. package/dist/components/string.utils.js.map +0 -1
  842. package/dist/components/template.js +0 -113
  843. package/dist/components/template.js.map +0 -1
  844. package/dist/components/utils.js +0 -35
  845. package/dist/components/utils.js.map +0 -1
  846. package/dist/components/variants.js +0 -18
  847. package/dist/components/variants.js.map +0 -1
  848. package/dist/components/wcag.js +0 -62
  849. package/dist/components/wcag.js.map +0 -1
  850. package/dist/components/win.js +0 -22
  851. package/dist/components/win.js.map +0 -1
  852. package/dist/core/core.css +0 -1
  853. package/dist/core/core.esm.js +0 -2
  854. package/dist/core/core.esm.js.map +0 -1
  855. package/dist/core/critical.css +0 -293
  856. package/dist/core/index.esm.js +0 -2
  857. package/dist/core/index.esm.js.map +0 -1
  858. package/dist/core/p-034c40ab.entry.js +0 -2
  859. package/dist/core/p-034c40ab.entry.js.map +0 -1
  860. package/dist/core/p-03990da5.js +0 -2
  861. package/dist/core/p-03990da5.js.map +0 -1
  862. package/dist/core/p-042d5b20.entry.js +0 -2
  863. package/dist/core/p-042d5b20.entry.js.map +0 -1
  864. package/dist/core/p-0800095f.entry.js +0 -2
  865. package/dist/core/p-0800095f.entry.js.map +0 -1
  866. package/dist/core/p-0874a5ec.entry.js +0 -2
  867. package/dist/core/p-0874a5ec.entry.js.map +0 -1
  868. package/dist/core/p-0f0564e8.entry.js +0 -2
  869. package/dist/core/p-0f0564e8.entry.js.map +0 -1
  870. package/dist/core/p-1020a160.js +0 -2
  871. package/dist/core/p-1020a160.js.map +0 -1
  872. package/dist/core/p-1c1d0bbe.js +0 -2
  873. package/dist/core/p-1c1d0bbe.js.map +0 -1
  874. package/dist/core/p-1def0eb2.entry.js +0 -2
  875. package/dist/core/p-1def0eb2.entry.js.map +0 -1
  876. package/dist/core/p-207ba616.entry.js +0 -2
  877. package/dist/core/p-207ba616.entry.js.map +0 -1
  878. package/dist/core/p-24636c53.js +0 -2
  879. package/dist/core/p-24636c53.js.map +0 -1
  880. package/dist/core/p-26acf964.js +0 -2
  881. package/dist/core/p-26acf964.js.map +0 -1
  882. package/dist/core/p-2f88b6d9.entry.js +0 -2
  883. package/dist/core/p-2f88b6d9.entry.js.map +0 -1
  884. package/dist/core/p-3464136c.js +0 -2
  885. package/dist/core/p-3464136c.js.map +0 -1
  886. package/dist/core/p-354c6a6d.entry.js +0 -2
  887. package/dist/core/p-354c6a6d.entry.js.map +0 -1
  888. package/dist/core/p-3699c1b3.entry.js +0 -2
  889. package/dist/core/p-3699c1b3.entry.js.map +0 -1
  890. package/dist/core/p-36be8f6e.js +0 -2
  891. package/dist/core/p-36be8f6e.js.map +0 -1
  892. package/dist/core/p-3cd5b6cb.entry.js +0 -2
  893. package/dist/core/p-3cd5b6cb.entry.js.map +0 -1
  894. package/dist/core/p-3da88ddb.entry.js +0 -2
  895. package/dist/core/p-3da88ddb.entry.js.map +0 -1
  896. package/dist/core/p-3e1a1bd4.entry.js +0 -2
  897. package/dist/core/p-3e1a1bd4.entry.js.map +0 -1
  898. package/dist/core/p-3f37ddb6.js +0 -2
  899. package/dist/core/p-3f37ddb6.js.map +0 -1
  900. package/dist/core/p-404f469e.js +0 -2
  901. package/dist/core/p-404f469e.js.map +0 -1
  902. package/dist/core/p-42636ddf.entry.js +0 -2
  903. package/dist/core/p-42636ddf.entry.js.map +0 -1
  904. package/dist/core/p-42db4603.entry.js +0 -2
  905. package/dist/core/p-42db4603.entry.js.map +0 -1
  906. package/dist/core/p-45485d1c.js +0 -2
  907. package/dist/core/p-45485d1c.js.map +0 -1
  908. package/dist/core/p-4af5e4f4.js +0 -3
  909. package/dist/core/p-4af5e4f4.js.map +0 -1
  910. package/dist/core/p-4ce15026.entry.js +0 -2
  911. package/dist/core/p-4ce15026.entry.js.map +0 -1
  912. package/dist/core/p-50e94566.entry.js +0 -2
  913. package/dist/core/p-50e94566.entry.js.map +0 -1
  914. package/dist/core/p-5176fad8.entry.js +0 -2
  915. package/dist/core/p-5176fad8.entry.js.map +0 -1
  916. package/dist/core/p-52dc68aa.entry.js +0 -2
  917. package/dist/core/p-52dc68aa.entry.js.map +0 -1
  918. package/dist/core/p-54b17f4d.entry.js +0 -2
  919. package/dist/core/p-54b17f4d.entry.js.map +0 -1
  920. package/dist/core/p-55500e5a.js +0 -2
  921. package/dist/core/p-55500e5a.js.map +0 -1
  922. package/dist/core/p-561fa17b.js +0 -2
  923. package/dist/core/p-561fa17b.js.map +0 -1
  924. package/dist/core/p-5d348765.entry.js +0 -2
  925. package/dist/core/p-5d348765.entry.js.map +0 -1
  926. package/dist/core/p-5defdc5e.js +0 -2
  927. package/dist/core/p-5defdc5e.js.map +0 -1
  928. package/dist/core/p-5e4cf9a2.entry.js +0 -2
  929. package/dist/core/p-5e4cf9a2.entry.js.map +0 -1
  930. package/dist/core/p-5e865538.entry.js +0 -2
  931. package/dist/core/p-5e865538.entry.js.map +0 -1
  932. package/dist/core/p-6278531b.js +0 -2
  933. package/dist/core/p-6278531b.js.map +0 -1
  934. package/dist/core/p-64ced668.js +0 -2
  935. package/dist/core/p-64ced668.js.map +0 -1
  936. package/dist/core/p-67006730.entry.js +0 -2
  937. package/dist/core/p-67006730.entry.js.map +0 -1
  938. package/dist/core/p-670b4f93.js +0 -2
  939. package/dist/core/p-670b4f93.js.map +0 -1
  940. package/dist/core/p-6aa31f02.entry.js +0 -2
  941. package/dist/core/p-6aa31f02.entry.js.map +0 -1
  942. package/dist/core/p-732f74fe.entry.js +0 -2
  943. package/dist/core/p-732f74fe.entry.js.map +0 -1
  944. package/dist/core/p-742e37e4.entry.js +0 -2
  945. package/dist/core/p-742e37e4.entry.js.map +0 -1
  946. package/dist/core/p-75a4c838.entry.js +0 -2
  947. package/dist/core/p-75a4c838.entry.js.map +0 -1
  948. package/dist/core/p-76e2aa52.entry.js +0 -2
  949. package/dist/core/p-76e2aa52.entry.js.map +0 -1
  950. package/dist/core/p-7b890c55.entry.js +0 -2
  951. package/dist/core/p-7b890c55.entry.js.map +0 -1
  952. package/dist/core/p-7c55677b.entry.js +0 -2
  953. package/dist/core/p-7c55677b.entry.js.map +0 -1
  954. package/dist/core/p-80e30702.js +0 -2
  955. package/dist/core/p-80e30702.js.map +0 -1
  956. package/dist/core/p-8204070b.entry.js +0 -2
  957. package/dist/core/p-8204070b.entry.js.map +0 -1
  958. package/dist/core/p-8925ef42.entry.js +0 -2
  959. package/dist/core/p-8925ef42.entry.js.map +0 -1
  960. package/dist/core/p-8bebbcc7.entry.js +0 -2
  961. package/dist/core/p-8bebbcc7.entry.js.map +0 -1
  962. package/dist/core/p-9144dde1.js +0 -2
  963. package/dist/core/p-9144dde1.js.map +0 -1
  964. package/dist/core/p-96a59983.entry.js +0 -2
  965. package/dist/core/p-96a59983.entry.js.map +0 -1
  966. package/dist/core/p-99f198b9.entry.js +0 -2
  967. package/dist/core/p-99f198b9.entry.js.map +0 -1
  968. package/dist/core/p-9cd80b05.js +0 -2
  969. package/dist/core/p-9cd80b05.js.map +0 -1
  970. package/dist/core/p-a4d23e73.entry.js +0 -2
  971. package/dist/core/p-a4d23e73.entry.js.map +0 -1
  972. package/dist/core/p-a5d69694.js +0 -2
  973. package/dist/core/p-a5d69694.js.map +0 -1
  974. package/dist/core/p-a6d14a47.js +0 -2
  975. package/dist/core/p-a6d14a47.js.map +0 -1
  976. package/dist/core/p-a89c27c1.entry.js +0 -2
  977. package/dist/core/p-a89c27c1.entry.js.map +0 -1
  978. package/dist/core/p-a8b628ed.entry.js +0 -2
  979. package/dist/core/p-a8b628ed.entry.js.map +0 -1
  980. package/dist/core/p-a8ef7292.entry.js +0 -2
  981. package/dist/core/p-a8ef7292.entry.js.map +0 -1
  982. package/dist/core/p-a9c57f72.entry.js +0 -2
  983. package/dist/core/p-a9c57f72.entry.js.map +0 -1
  984. package/dist/core/p-acfd00a2.entry.js +0 -2
  985. package/dist/core/p-acfd00a2.entry.js.map +0 -1
  986. package/dist/core/p-b2275b3d.js +0 -2
  987. package/dist/core/p-b2275b3d.js.map +0 -1
  988. package/dist/core/p-bb3afae6.entry.js +0 -2
  989. package/dist/core/p-bb3afae6.entry.js.map +0 -1
  990. package/dist/core/p-c20102ff.js +0 -2
  991. package/dist/core/p-c20102ff.js.map +0 -1
  992. package/dist/core/p-ccb44728.entry.js +0 -2
  993. package/dist/core/p-ccb44728.entry.js.map +0 -1
  994. package/dist/core/p-d389c001.entry.js +0 -2
  995. package/dist/core/p-d389c001.entry.js.map +0 -1
  996. package/dist/core/p-d83b4bdc.entry.js +0 -2
  997. package/dist/core/p-d83b4bdc.entry.js.map +0 -1
  998. package/dist/core/p-d8def432.entry.js +0 -2
  999. package/dist/core/p-d8def432.entry.js.map +0 -1
  1000. package/dist/core/p-d90a2718.entry.js +0 -2
  1001. package/dist/core/p-d90a2718.entry.js.map +0 -1
  1002. package/dist/core/p-d9b4bc20.entry.js +0 -2
  1003. package/dist/core/p-d9b4bc20.entry.js.map +0 -1
  1004. package/dist/core/p-dc94a1da.entry.js +0 -2
  1005. package/dist/core/p-dc94a1da.entry.js.map +0 -1
  1006. package/dist/core/p-e1e4c8f8.entry.js +0 -2
  1007. package/dist/core/p-e1e4c8f8.entry.js.map +0 -1
  1008. package/dist/core/p-e4bb6100.entry.js +0 -2
  1009. package/dist/core/p-e4bb6100.entry.js.map +0 -1
  1010. package/dist/core/p-e4bb6114.entry.js +0 -2
  1011. package/dist/core/p-e4bb6114.entry.js.map +0 -1
  1012. package/dist/core/p-ef79904e.js +0 -2
  1013. package/dist/core/p-ef79904e.js.map +0 -1
  1014. package/dist/core/p-f555fce1.entry.js +0 -2
  1015. package/dist/core/p-f555fce1.entry.js.map +0 -1
  1016. package/dist/core/p-f644cad5.entry.js +0 -2
  1017. package/dist/core/p-f644cad5.entry.js.map +0 -1
  1018. package/dist/core/p-f687452c.js +0 -2
  1019. package/dist/core/p-f687452c.js.map +0 -1
  1020. package/dist/core/p-f7275b59.entry.js +0 -2
  1021. package/dist/core/p-f7275b59.entry.js.map +0 -1
  1022. package/dist/core/p-ff7365ae.js +0 -2
  1023. package/dist/core/p-ff7365ae.js.map +0 -1
  1024. package/dist/core/p-ffb7495c.js +0 -2
  1025. package/dist/core/p-ffb7495c.js.map +0 -1
  1026. package/dist/custom-elements/index.d.ts +0 -387
  1027. package/dist/custom-elements/index.js +0 -2
  1028. package/dist/custom-elements/index.js.map +0 -1
  1029. package/dist/esm/Fragment-8d8d54fb.js +0 -5
  1030. package/dist/esm/Fragment-8d8d54fb.js.map +0 -1
  1031. package/dist/esm/constants-037c35bc.js +0 -22
  1032. package/dist/esm/constants-037c35bc.js.map +0 -1
  1033. package/dist/esm/constants-089b3fdd.js +0 -33
  1034. package/dist/esm/constants-089b3fdd.js.map +0 -1
  1035. package/dist/esm/constants-136d4cd3.js +0 -16
  1036. package/dist/esm/constants-136d4cd3.js.map +0 -1
  1037. package/dist/esm/constants-24dad929.js +0 -29
  1038. package/dist/esm/constants-24dad929.js.map +0 -1
  1039. package/dist/esm/constants-2b14bb01.js +0 -10
  1040. package/dist/esm/constants-2b14bb01.js.map +0 -1
  1041. package/dist/esm/constants-2e8258cf.js +0 -15
  1042. package/dist/esm/constants-2e8258cf.js.map +0 -1
  1043. package/dist/esm/constants-3786b01b.js +0 -22
  1044. package/dist/esm/constants-3786b01b.js.map +0 -1
  1045. package/dist/esm/constants-3df712e2.js +0 -13
  1046. package/dist/esm/constants-3df712e2.js.map +0 -1
  1047. package/dist/esm/constants-78474786.js +0 -25
  1048. package/dist/esm/constants-78474786.js.map +0 -1
  1049. package/dist/esm/constants-ab132d9c.js +0 -25
  1050. package/dist/esm/constants-ab132d9c.js.map +0 -1
  1051. package/dist/esm/constants-ba13b28f.js +0 -17
  1052. package/dist/esm/constants-ba13b28f.js.map +0 -1
  1053. package/dist/esm/constants-bf5a583f.js +0 -24
  1054. package/dist/esm/constants-bf5a583f.js.map +0 -1
  1055. package/dist/esm/constants-d71c09e0.js +0 -12
  1056. package/dist/esm/constants-d71c09e0.js.map +0 -1
  1057. package/dist/esm/constants-ebec7de8.js +0 -12
  1058. package/dist/esm/constants-ebec7de8.js.map +0 -1
  1059. package/dist/esm/constants-f5c21493.js +0 -19
  1060. package/dist/esm/constants-f5c21493.js.map +0 -1
  1061. package/dist/esm/constants-f7b618c2.js +0 -23
  1062. package/dist/esm/constants-f7b618c2.js.map +0 -1
  1063. package/dist/esm/core.js +0 -19
  1064. package/dist/esm/core.js.map +0 -1
  1065. package/dist/esm/form-669a7180.js +0 -135
  1066. package/dist/esm/form-669a7180.js.map +0 -1
  1067. package/dist/esm/gov-accordion-item.entry.js +0 -121
  1068. package/dist/esm/gov-accordion-item.entry.js.map +0 -1
  1069. package/dist/esm/gov-accordion.entry.js +0 -73
  1070. package/dist/esm/gov-accordion.entry.js.map +0 -1
  1071. package/dist/esm/gov-alert.entry.js +0 -86
  1072. package/dist/esm/gov-alert.entry.js.map +0 -1
  1073. package/dist/esm/gov-app.entry.js +0 -8362
  1074. package/dist/esm/gov-app.entry.js.map +0 -1
  1075. package/dist/esm/gov-attachments_3.entry.js +0 -114
  1076. package/dist/esm/gov-attachments_3.entry.js.map +0 -1
  1077. package/dist/esm/gov-backdrop.entry.js +0 -46
  1078. package/dist/esm/gov-backdrop.entry.js.map +0 -1
  1079. package/dist/esm/gov-badge.entry.js +0 -80
  1080. package/dist/esm/gov-badge.entry.js.map +0 -1
  1081. package/dist/esm/gov-breadcrumbs.entry.js +0 -46
  1082. package/dist/esm/gov-breadcrumbs.entry.js.map +0 -1
  1083. package/dist/esm/gov-button.entry.js +0 -165
  1084. package/dist/esm/gov-button.entry.js.map +0 -1
  1085. package/dist/esm/gov-card.entry.js +0 -108
  1086. package/dist/esm/gov-card.entry.js.map +0 -1
  1087. package/dist/esm/gov-container.entry.js +0 -32
  1088. package/dist/esm/gov-container.entry.js.map +0 -1
  1089. package/dist/esm/gov-cookiebar.entry.js +0 -29
  1090. package/dist/esm/gov-cookiebar.entry.js.map +0 -1
  1091. package/dist/esm/gov-empty.entry.js +0 -27
  1092. package/dist/esm/gov-empty.entry.js.map +0 -1
  1093. package/dist/esm/gov-error-code.entry.js +0 -27
  1094. package/dist/esm/gov-error-code.entry.js.map +0 -1
  1095. package/dist/esm/gov-form-autocomplete.entry.js +0 -192
  1096. package/dist/esm/gov-form-autocomplete.entry.js.map +0 -1
  1097. package/dist/esm/gov-form-checkbox.entry.js +0 -118
  1098. package/dist/esm/gov-form-checkbox.entry.js.map +0 -1
  1099. package/dist/esm/gov-form-control.entry.js +0 -96
  1100. package/dist/esm/gov-form-control.entry.js.map +0 -1
  1101. package/dist/esm/gov-form-file.entry.js +0 -213
  1102. package/dist/esm/gov-form-file.entry.js.map +0 -1
  1103. package/dist/esm/gov-form-group.entry.js +0 -39
  1104. package/dist/esm/gov-form-group.entry.js.map +0 -1
  1105. package/dist/esm/gov-form-input.entry.js +0 -163
  1106. package/dist/esm/gov-form-input.entry.js.map +0 -1
  1107. package/dist/esm/gov-form-label.entry.js +0 -26
  1108. package/dist/esm/gov-form-label.entry.js.map +0 -1
  1109. package/dist/esm/gov-form-multi-select.entry.js +0 -200
  1110. package/dist/esm/gov-form-multi-select.entry.js.map +0 -1
  1111. package/dist/esm/gov-form-password-power.entry.js +0 -24
  1112. package/dist/esm/gov-form-password-power.entry.js.map +0 -1
  1113. package/dist/esm/gov-form-radio.entry.js +0 -118
  1114. package/dist/esm/gov-form-radio.entry.js.map +0 -1
  1115. package/dist/esm/gov-form-search.entry.js +0 -24
  1116. package/dist/esm/gov-form-search.entry.js.map +0 -1
  1117. package/dist/esm/gov-form-select.entry.js +0 -132
  1118. package/dist/esm/gov-form-select.entry.js.map +0 -1
  1119. package/dist/esm/gov-form-switch.entry.js +0 -118
  1120. package/dist/esm/gov-form-switch.entry.js.map +0 -1
  1121. package/dist/esm/gov-grid-item.entry.js +0 -26
  1122. package/dist/esm/gov-grid-item.entry.js.map +0 -1
  1123. package/dist/esm/gov-grid.entry.js +0 -24
  1124. package/dist/esm/gov-grid.entry.js.map +0 -1
  1125. package/dist/esm/gov-icon.entry.js +0 -122
  1126. package/dist/esm/gov-icon.entry.js.map +0 -1
  1127. package/dist/esm/gov-layout-column.entry.js +0 -21
  1128. package/dist/esm/gov-layout-column.entry.js.map +0 -1
  1129. package/dist/esm/gov-layout.entry.js +0 -30
  1130. package/dist/esm/gov-layout.entry.js.map +0 -1
  1131. package/dist/esm/gov-loading.entry.js +0 -27
  1132. package/dist/esm/gov-loading.entry.js.map +0 -1
  1133. package/dist/esm/gov-message.entry.js +0 -39
  1134. package/dist/esm/gov-message.entry.js.map +0 -1
  1135. package/dist/esm/gov-modal.entry.js +0 -99
  1136. package/dist/esm/gov-modal.entry.js.map +0 -1
  1137. package/dist/esm/gov-nav-item.entry.js +0 -33
  1138. package/dist/esm/gov-nav-item.entry.js.map +0 -1
  1139. package/dist/esm/gov-nav.entry.js +0 -38
  1140. package/dist/esm/gov-nav.entry.js.map +0 -1
  1141. package/dist/esm/gov-pagination.entry.js +0 -213
  1142. package/dist/esm/gov-pagination.entry.js.map +0 -1
  1143. package/dist/esm/gov-prompt.entry.js +0 -99
  1144. package/dist/esm/gov-prompt.entry.js.map +0 -1
  1145. package/dist/esm/gov-side-nav-item.entry.js +0 -81
  1146. package/dist/esm/gov-side-nav-item.entry.js.map +0 -1
  1147. package/dist/esm/gov-side-nav.entry.js +0 -52
  1148. package/dist/esm/gov-side-nav.entry.js.map +0 -1
  1149. package/dist/esm/gov-skeleton.entry.js +0 -113
  1150. package/dist/esm/gov-skeleton.entry.js.map +0 -1
  1151. package/dist/esm/gov-spacer.entry.js +0 -53
  1152. package/dist/esm/gov-spacer.entry.js.map +0 -1
  1153. package/dist/esm/gov-statsbar-item.entry.js +0 -35
  1154. package/dist/esm/gov-statsbar-item.entry.js.map +0 -1
  1155. package/dist/esm/gov-statsbar.entry.js +0 -48
  1156. package/dist/esm/gov-statsbar.entry.js.map +0 -1
  1157. package/dist/esm/gov-stepper-item.entry.js +0 -73
  1158. package/dist/esm/gov-stepper-item.entry.js.map +0 -1
  1159. package/dist/esm/gov-stepper.entry.js +0 -46
  1160. package/dist/esm/gov-stepper.entry.js.map +0 -1
  1161. package/dist/esm/gov-tabs-item.entry.js +0 -49
  1162. package/dist/esm/gov-tabs-item.entry.js.map +0 -1
  1163. package/dist/esm/gov-tabs.entry.js +0 -185
  1164. package/dist/esm/gov-tabs.entry.js.map +0 -1
  1165. package/dist/esm/gov-tile.entry.js +0 -46
  1166. package/dist/esm/gov-tile.entry.js.map +0 -1
  1167. package/dist/esm/gov-tiles.entry.js +0 -29
  1168. package/dist/esm/gov-tiles.entry.js.map +0 -1
  1169. package/dist/esm/gov-toast.entry.js +0 -99
  1170. package/dist/esm/gov-toast.entry.js.map +0 -1
  1171. package/dist/esm/gov-tooltip-content.entry.js +0 -38
  1172. package/dist/esm/gov-tooltip-content.entry.js.map +0 -1
  1173. package/dist/esm/gov-tooltip.entry.js +0 -154
  1174. package/dist/esm/gov-tooltip.entry.js.map +0 -1
  1175. package/dist/esm/gov-wizzard-item.entry.js +0 -106
  1176. package/dist/esm/gov-wizzard-item.entry.js.map +0 -1
  1177. package/dist/esm/gov-wizzard.entry.js +0 -63
  1178. package/dist/esm/gov-wizzard.entry.js.map +0 -1
  1179. package/dist/esm/gov.log-af905420.js +0 -17
  1180. package/dist/esm/gov.log-af905420.js.map +0 -1
  1181. package/dist/esm/index-b010bfb4.js +0 -2296
  1182. package/dist/esm/index-b010bfb4.js.map +0 -1
  1183. package/dist/esm/index.js +0 -3
  1184. package/dist/esm/index.js.map +0 -1
  1185. package/dist/esm/loader.js +0 -19
  1186. package/dist/esm/loader.js.map +0 -1
  1187. package/dist/esm/polyfills/core-js.js +0 -11
  1188. package/dist/esm/polyfills/css-shim.js +0 -1
  1189. package/dist/esm/polyfills/dom.js +0 -79
  1190. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1191. package/dist/esm/polyfills/index.js +0 -34
  1192. package/dist/esm/polyfills/system.js +0 -6
  1193. package/dist/esm/props-789f7529.js +0 -14
  1194. package/dist/esm/props-789f7529.js.map +0 -1
  1195. package/dist/esm/sizes-6c5943b4.js +0 -18
  1196. package/dist/esm/sizes-6c5943b4.js.map +0 -1
  1197. package/dist/esm/string.utils-f268fc6b.js +0 -20
  1198. package/dist/esm/string.utils-f268fc6b.js.map +0 -1
  1199. package/dist/esm/template-10332292.js +0 -113
  1200. package/dist/esm/template-10332292.js.map +0 -1
  1201. package/dist/esm/utils-c057a3fa.js +0 -35
  1202. package/dist/esm/utils-c057a3fa.js.map +0 -1
  1203. package/dist/esm/variants-2b936d58.js +0 -18
  1204. package/dist/esm/variants-2b936d58.js.map +0 -1
  1205. package/dist/esm/wcag-d588d144.js +0 -62
  1206. package/dist/esm/wcag-d588d144.js.map +0 -1
  1207. package/dist/esm/win-9c8460bb.js +0 -22
  1208. package/dist/esm/win-9c8460bb.js.map +0 -1
  1209. package/dist/globals.d.ts +0 -2
  1210. package/dist/hydrate/index.d.ts +0 -217
  1211. package/dist/hydrate/index.js +0 -20291
  1212. package/dist/hydrate/package.json +0 -6
  1213. package/dist/index.cjs.js +0 -1
  1214. package/dist/index.js +0 -1
  1215. package/dist/stencil.config.js +0 -68
  1216. package/dist/stencil.config.js.map +0 -1
  1217. package/dist/types/Users/iwory/iWork/asseco/mv/gov-design-system-ce/packages/core/.stencil/packages/core/stencil.config.d.ts +0 -2
  1218. package/dist/types/components/gov-accordion/constants.d.ts +0 -22
  1219. package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +0 -76
  1220. package/dist/types/components/gov-accordion/gov-accordion.d.ts +0 -42
  1221. package/dist/types/components/gov-accordion/gov-accordion.types.d.ts +0 -9
  1222. package/dist/types/components/gov-alert/constants.d.ts +0 -12
  1223. package/dist/types/components/gov-alert/gov-alert.d.ts +0 -47
  1224. package/dist/types/components/gov-alert/gov-alert.types.d.ts +0 -4
  1225. package/dist/types/components/gov-app/gov-app.d.ts +0 -38
  1226. package/dist/types/components/gov-attachments/constants.d.ts +0 -11
  1227. package/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +0 -4
  1228. package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +0 -24
  1229. package/dist/types/components/gov-attachments/gov-attachments.d.ts +0 -19
  1230. package/dist/types/components/gov-backdrop/constants.d.ts +0 -4
  1231. package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +0 -28
  1232. package/dist/types/components/gov-badge/constants.d.ts +0 -13
  1233. package/dist/types/components/gov-badge/gov-badge.d.ts +0 -58
  1234. package/dist/types/components/gov-breadcrumbs/constants.d.ts +0 -3
  1235. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +0 -4
  1236. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +0 -33
  1237. package/dist/types/components/gov-button/constants.d.ts +0 -30
  1238. package/dist/types/components/gov-button/gov-button.d.ts +0 -168
  1239. package/dist/types/components/gov-button/gov-button.types.d.ts +0 -4
  1240. package/dist/types/components/gov-card/constants.d.ts +0 -13
  1241. package/dist/types/components/gov-card/gov-card.d.ts +0 -60
  1242. package/dist/types/components/gov-card/interfaces.d.ts +0 -4
  1243. package/dist/types/components/gov-container/constants.d.ts +0 -3
  1244. package/dist/types/components/gov-container/gov-container.d.ts +0 -12
  1245. package/dist/types/components/gov-cookiebar/constants.d.ts +0 -8
  1246. package/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +0 -7
  1247. package/dist/types/components/gov-empty/constants.d.ts +0 -6
  1248. package/dist/types/components/gov-empty/gov-empty.d.ts +0 -6
  1249. package/dist/types/components/gov-error-code/constants.d.ts +0 -6
  1250. package/dist/types/components/gov-error-code/gov-error-code.d.ts +0 -6
  1251. package/dist/types/components/gov-form/autocomplete/constants.d.ts +0 -12
  1252. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +0 -132
  1253. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +0 -9
  1254. package/dist/types/components/gov-form/checkbox/constants.d.ts +0 -8
  1255. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +0 -85
  1256. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +0 -5
  1257. package/dist/types/components/gov-form/control/constants.d.ts +0 -9
  1258. package/dist/types/components/gov-form/control/gov-form-control.d.ts +0 -47
  1259. package/dist/types/components/gov-form/file/constants.d.ts +0 -9
  1260. package/dist/types/components/gov-form/file/gov-form-file.d.ts +0 -122
  1261. package/dist/types/components/gov-form/file/gov-form-file.types.d.ts +0 -11
  1262. package/dist/types/components/gov-form/group/constants.d.ts +0 -7
  1263. package/dist/types/components/gov-form/group/gov-form-group.d.ts +0 -13
  1264. package/dist/types/components/gov-form/input/constants.d.ts +0 -30
  1265. package/dist/types/components/gov-form/input/gov-form-input.d.ts +0 -166
  1266. package/dist/types/components/gov-form/input/gov-form-input.types.d.ts +0 -4
  1267. package/dist/types/components/gov-form/label/constants.d.ts +0 -8
  1268. package/dist/types/components/gov-form/label/gov-form-label.d.ts +0 -26
  1269. package/dist/types/components/gov-form/message/constants.d.ts +0 -9
  1270. package/dist/types/components/gov-form/message/gov-form-message.d.ts +0 -19
  1271. package/dist/types/components/gov-form/multiselect/constants.d.ts +0 -13
  1272. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +0 -105
  1273. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +0 -8
  1274. package/dist/types/components/gov-form/password-power/constants.d.ts +0 -5
  1275. package/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +0 -7
  1276. package/dist/types/components/gov-form/radio/constants.d.ts +0 -10
  1277. package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +0 -85
  1278. package/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +0 -5
  1279. package/dist/types/components/gov-form/search/constants.d.ts +0 -5
  1280. package/dist/types/components/gov-form/search/gov-form-search.d.ts +0 -4
  1281. package/dist/types/components/gov-form/select/constants.d.ts +0 -11
  1282. package/dist/types/components/gov-form/select/gov-form-select.d.ts +0 -102
  1283. package/dist/types/components/gov-form/select/gov-form-select.types.d.ts +0 -4
  1284. package/dist/types/components/gov-form/switch/constants.d.ts +0 -10
  1285. package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +0 -85
  1286. package/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +0 -5
  1287. package/dist/types/components/gov-grid/constants.d.ts +0 -6
  1288. package/dist/types/components/gov-grid/gov-grid-item.d.ts +0 -26
  1289. package/dist/types/components/gov-grid/gov-grid.d.ts +0 -14
  1290. package/dist/types/components/gov-icon/constants.d.ts +0 -12
  1291. package/dist/types/components/gov-icon/gov-icon.d.ts +0 -24
  1292. package/dist/types/components/gov-icon/list.d.ts +0 -3
  1293. package/dist/types/components/gov-layout/constants.d.ts +0 -20
  1294. package/dist/types/components/gov-layout/gov-layout-column.d.ts +0 -6
  1295. package/dist/types/components/gov-layout/gov-layout.d.ts +0 -20
  1296. package/dist/types/components/gov-loading/loading/constants.d.ts +0 -5
  1297. package/dist/types/components/gov-loading/loading/gov-loading.d.ts +0 -10
  1298. package/dist/types/components/gov-loading/skeleton/constants.d.ts +0 -20
  1299. package/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +0 -52
  1300. package/dist/types/components/gov-message/constants.d.ts +0 -10
  1301. package/dist/types/components/gov-message/gov-message.d.ts +0 -12
  1302. package/dist/types/components/gov-modal/constants.d.ts +0 -13
  1303. package/dist/types/components/gov-modal/gov-modal.d.ts +0 -64
  1304. package/dist/types/components/gov-nav/constants.d.ts +0 -8
  1305. package/dist/types/components/gov-nav/gov-nav-item.d.ts +0 -12
  1306. package/dist/types/components/gov-nav/gov-nav.d.ts +0 -17
  1307. package/dist/types/components/gov-pagination/constants.d.ts +0 -22
  1308. package/dist/types/components/gov-pagination/gov-pagination.d.ts +0 -86
  1309. package/dist/types/components/gov-pagination/gov-pagination.types.d.ts +0 -5
  1310. package/dist/types/components/gov-pagination/pagination.d.ts +0 -12
  1311. package/dist/types/components/gov-promp/constants.d.ts +0 -12
  1312. package/dist/types/components/gov-promp/gov-prompt.d.ts +0 -64
  1313. package/dist/types/components/gov-side-nav/constants.d.ts +0 -15
  1314. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.d.ts +0 -4
  1315. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.ts +0 -67
  1316. package/dist/types/components/gov-side-nav/gov-side-nav.d.ts +0 -32
  1317. package/dist/types/components/gov-spacer/constants.d.ts +0 -15
  1318. package/dist/types/components/gov-spacer/gov-spacer.d.ts +0 -18
  1319. package/dist/types/components/gov-statsbar/constants.d.ts +0 -18
  1320. package/dist/types/components/gov-statsbar/gov-statsbar-item.d.ts +0 -14
  1321. package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +0 -19
  1322. package/dist/types/components/gov-stepper/constants.d.ts +0 -22
  1323. package/dist/types/components/gov-stepper/gov-stepper-item.d.d.ts +0 -4
  1324. package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +0 -48
  1325. package/dist/types/components/gov-stepper/gov-stepper.d.ts +0 -20
  1326. package/dist/types/components/gov-tabs/constants.d.ts +0 -25
  1327. package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +0 -37
  1328. package/dist/types/components/gov-tabs/gov-tabs.d.ts +0 -73
  1329. package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +0 -8
  1330. package/dist/types/components/gov-tile/constants.d.ts +0 -9
  1331. package/dist/types/components/gov-tile/container/constants.d.ts +0 -3
  1332. package/dist/types/components/gov-tile/container/gov-tiles.d.ts +0 -15
  1333. package/dist/types/components/gov-tile/gov-tile.d.ts +0 -20
  1334. package/dist/types/components/gov-toast/constants.d.ts +0 -14
  1335. package/dist/types/components/gov-toast/gov-toast.d.ts +0 -55
  1336. package/dist/types/components/gov-tooltip/constants.d.ts +0 -20
  1337. package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +0 -10
  1338. package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +0 -50
  1339. package/dist/types/components/gov-wizzard/constants.d.ts +0 -21
  1340. package/dist/types/components/gov-wizzard/gov-wizzard-item.d.d.ts +0 -4
  1341. package/dist/types/components/gov-wizzard/gov-wizzard-item.d.ts +0 -73
  1342. package/dist/types/components/gov-wizzard/gov-wizzard.d.ts +0 -33
  1343. package/dist/types/components.d.ts +0 -4057
  1344. package/dist/types/core/constants/sizes.d.ts +0 -13
  1345. package/dist/types/core/constants/tags.d.ts +0 -12
  1346. package/dist/types/core/constants/variants.d.ts +0 -12
  1347. package/dist/types/helpers/Dom/form.d.ts +0 -3
  1348. package/dist/types/helpers/Dom/form.types.d.ts +0 -11
  1349. package/dist/types/helpers/Dom/template.d.ts +0 -10
  1350. package/dist/types/helpers/Dom/template.types.d.ts +0 -12
  1351. package/dist/types/helpers/Dom/win.d.ts +0 -9
  1352. package/dist/types/helpers/Fragment.d.ts +0 -2
  1353. package/dist/types/helpers/Log/gov.log.d.ts +0 -8
  1354. package/dist/types/helpers/StorybookDocsTemplate.d.ts +0 -3
  1355. package/dist/types/helpers/Validate/props.d.ts +0 -1
  1356. package/dist/types/helpers/Validate/wcag.d.ts +0 -4
  1357. package/dist/types/index.d.ts +0 -1
  1358. package/dist/types/pages/Accordion.d.ts +0 -3
  1359. package/dist/types/pages/Alert.d.ts +0 -3
  1360. package/dist/types/pages/Badge.d.ts +0 -3
  1361. package/dist/types/pages/Breadcrumbs.d.ts +0 -3
  1362. package/dist/types/pages/Button.d.ts +0 -3
  1363. package/dist/types/pages/Card.d.ts +0 -3
  1364. package/dist/types/pages/Container.d.ts +0 -3
  1365. package/dist/types/pages/Cookiebar.d.ts +0 -3
  1366. package/dist/types/pages/Empty.d.ts +0 -3
  1367. package/dist/types/pages/Error.d.ts +0 -3
  1368. package/dist/types/pages/FormLabel.d.ts +0 -3
  1369. package/dist/types/pages/FormMessage.d.ts +0 -3
  1370. package/dist/types/pages/Forms.d.ts +0 -8
  1371. package/dist/types/pages/FormsRestructure.d.ts +0 -3
  1372. package/dist/types/pages/Grid.d.ts +0 -3
  1373. package/dist/types/pages/Home.d.ts +0 -3
  1374. package/dist/types/pages/Layout.d.ts +0 -3
  1375. package/dist/types/pages/Loading.d.ts +0 -3
  1376. package/dist/types/pages/Message.d.ts +0 -3
  1377. package/dist/types/pages/Modal.d.ts +0 -3
  1378. package/dist/types/pages/Nav.d.ts +0 -3
  1379. package/dist/types/pages/Pagination.d.ts +0 -3
  1380. package/dist/types/pages/Prompt.d.ts +0 -3
  1381. package/dist/types/pages/SideNav.d.ts +0 -3
  1382. package/dist/types/pages/Spacer.d.ts +0 -3
  1383. package/dist/types/pages/Statsbar.d.ts +0 -3
  1384. package/dist/types/pages/Stepper.d.ts +0 -3
  1385. package/dist/types/pages/Tabs.d.ts +0 -3
  1386. package/dist/types/pages/Tiles.d.ts +0 -3
  1387. package/dist/types/pages/ToastMessage.d.ts +0 -3
  1388. package/dist/types/pages/ToastMessageCountdown.d.ts +0 -3
  1389. package/dist/types/pages/Tooltip.d.ts +0 -3
  1390. package/dist/types/pages/Typography.d.ts +0 -3
  1391. package/dist/types/pages/Wizzard.d.ts +0 -3
  1392. package/dist/types/stencil-public-runtime.d.ts +0 -1581
  1393. package/dist/types/types/event.types.d.ts +0 -4
  1394. package/dist/types/types/interfaces.d.ts +0 -2
  1395. package/dist/types/types/typings.d.ts +0 -6
  1396. package/dist/types/utils/array.utils.d.ts +0 -1
  1397. package/dist/types/utils/bool.utils.d.ts +0 -1
  1398. package/dist/types/utils/ds.utils.d.ts +0 -1
  1399. package/dist/types/utils/file.utils.d.ts +0 -3
  1400. package/dist/types/utils/icon.utils.d.ts +0 -4
  1401. package/dist/types/utils/number.utils.d.ts +0 -1
  1402. package/dist/types/utils/string.utils.d.ts +0 -3
  1403. package/dist/types/utils/utils.d.ts +0 -20
  1404. package/loader/cdn.js +0 -3
  1405. package/loader/index.cjs.js +0 -3
  1406. package/loader/index.d.ts +0 -12
  1407. package/loader/index.es2017.js +0 -3
  1408. package/loader/index.js +0 -4
  1409. package/loader/package.json +0 -11
@@ -1,2 +0,0 @@
1
- import{r as o,h as r,H as a,g as s}from"./p-4af5e4f4.js";import{p as t}from"./p-03990da5.js";import{S as p}from"./p-55500e5a.js";import{g as i}from"./p-3f37ddb6.js";import{v as e}from"./p-26acf964.js";import"./p-561fa17b.js";const g=t(p,["_2XS","_XS","_S","_M","_L"]);const n={root:"gov-form-group"};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-form-group{position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}.gov-form-group[gap="2xs"]{gap:0.25rem}.gov-form-group[gap=xs]{gap:0.5rem}.gov-form-group[gap=s]{gap:0.75rem}.gov-form-group[gap=m]{gap:1rem}.gov-form-group[gap=l]{gap:1.25rem}';const f=class{constructor(r){o(this,r);this.gap=undefined;this.h=i(this.host)}validateGap(o){e(g,o,n.root)}componentWillLoad(){this.validateGap(this.gap)}render(){return r(a,{gap:this.gap,class:this.h.classes(n.root)},r("slot",null))}get host(){return s(this)}static get watchers(){return{gap:["validateGap"]}}};f.style=m;export{f as gov_form_group};
2
- //# sourceMappingURL=p-0874a5ec.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-form/group/constants.ts","../../../packages/core/src/components/gov-form/group/gov-form-group.scss?tag=gov-form-group","../../../packages/core/src/components/gov-form/group/gov-form-group.tsx"],"names":["FormGroupSizes","pick","Sizes","FormGroupClass","root","govFormGroupCss","GovFormGroup","[object Object]","hostRef","undefined","this","h","govHost","host","newValue","validateProp","validateGap","gap","Host","class","classes"],"mappings":"iOAIO,MAAMA,EAAiBC,EAAKC,EAAO,CAAC,OAAQ,MAAO,KAAM,KAAM,OAG/D,MAAMC,EAAiB,CAC7BC,KAAM,kBCRP,MAAMC,EAAkB,snBCUXC,EAAY,MAGxBC,YAAAC,sBAQ4CC,UAP3CC,KAAKC,EAAIC,EAAQF,KAAKG,MAUvBN,YAAYO,GACXC,EAAaf,EAAgBc,EAAUX,EAAeC,MAGvDG,oBACCG,KAAKM,YAAYN,KAAKO,KAGvBV,SACC,OACCI,EAACO,EAAI,CAACD,IAAKP,KAAKO,IAAKE,MAAOT,KAAKC,EAAES,QAAQjB,EAAeC,OACzDO,EAAA,OAAA","sourcesContent":["import { pick } from \"../../../utils/utils\"\nimport { Sizes } from \"../../../core/constants/sizes\"\nimport { ValueOf } from \"../../../types/interfaces\"\n\nexport const FormGroupSizes = pick(Sizes, ['_2XS', '_XS', '_S', '_M', '_L'])\nexport type FormGroupSizesType = `${ValueOf<typeof FormGroupSizes>}`\n\nexport const FormGroupClass = {\n\troot: 'gov-form-group',\n}\n","$class: \".gov-form-group\";\n\n#{$class} {\n\t@include base(flex);\n\tflex-direction: column;\n\talign-items: flex-start;\n\n\t// VARIANTS\n\t@each $gap, $definitions in $form-group-gaps {\n\t\t&[gap=\"#{$gap}\"] {\n\t\t\tgap: get($gap, $sizes);\n\t\t}\n\t}\n}\n// :host([inline]) {\n// \tdisplay: flex;\n\n// \t::slotted(gov-checkbox),\n// \t::slotted(gov-radio) {\n// \t\tdisplay: inline-flex;\n// \t\tmargin-right: rem-calc(30);\n// \t}\n// }\n","import { Component, Element, h, Host, Prop, Watch } from \"@stencil/core\"\nimport { FormGroupClass, FormGroupSizes, FormGroupSizesType } from \"./constants\"\nimport { GovHost } from \"../../../helpers/Dom/template.types\"\nimport { govHost } from \"../../../helpers/Dom/template\"\nimport { validateProp } from \"../../../helpers/Validate/props\"\n\n@Component({\n\ttag: \"gov-form-group\",\n\tstyleUrl: \"gov-form-group.scss\",\n})\nexport class GovFormGroup {\n\tprivate readonly h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovFormGroupElement\n\t/**\n\t * Gap's size.\n\t */\n\t@Prop() readonly gap?: FormGroupSizesType = undefined\n\n\t@Watch(\"gap\")\n\tvalidateGap(newValue: string): void {\n\t\tvalidateProp(FormGroupSizes, newValue, FormGroupClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateGap(this.gap)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host gap={this.gap} class={this.h.classes(FormGroupClass.root)}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{r as t,h as s,H as i,g as e}from"./p-4af5e4f4.js";import{c as a}from"./p-24636c53.js";import{g as o,t as r}from"./p-3f37ddb6.js";import{T as n}from"./p-80e30702.js";import"./p-ff7365ae.js";import"./p-03990da5.js";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-tabs-item{color:var(--gov-tabs-text-color, var(--gov-color-secondary-700))}.gov-tabs-item__inner>*:last-child{margin-bottom:0}";const p=class{constructor(s){t(this,s);this.identifier=undefined;this.triggerIdentifier=undefined;this.label=undefined;this.default=false;this.isActive=false;this.h=o(this.host);this.contentId=a("GovTabContent");this.triggeId=a("GovTabTrigger")}render(){return s(i,{class:this.h.classes(n.root),default:this.default},s("div",{class:n.inner,role:"tabpanel",id:this.identifier||this.contentId,hidden:!this.isActive,"aria-labelledby":this.triggerIdentifier||this.triggeId,"aria-hidden":r(!this.isActive)},s("slot",null)))}async getIdentifier(){return this.identifier||this.contentId}async getTriggerIdentifier(){return this.triggerIdentifier||this.triggeId}async setActiveStatus(t){this.isActive=t}get host(){return e(this)}};p.style=h;export{p as gov_tabs_item};
2
- //# sourceMappingURL=p-0f0564e8.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-tabs/gov-tabs-item.scss?tag=gov-tabs-item","../../../packages/core/src/components/gov-tabs/gov-tabs-item.tsx"],"names":["govTabsItemCss","GovTabsItem","[object Object]","hostRef","this","h","govHost","host","contentId","createID","triggeId","Host","class","classes","TabsItemClass","root","default","inner","role","id","identifier","hidden","isActive","aria-labelledby","triggerIdentifier","aria-hidden","toBoolAttrIfDefined","status"],"mappings":"4NAAA,MAAMA,EAAiB,keCUVC,EAAW,MAKvBC,YAAAC,0GAsBoC,oBAChB,MAtBnBC,KAAKC,EAAIC,EAAQF,KAAKG,MACtBH,KAAKI,UAAYC,EAAS,iBAC1BL,KAAKM,SAAWD,EAAS,iBAsB1BP,SACC,OACCG,EAACM,EAAI,CAACC,MAAOR,KAAKC,EAAEQ,QAAQC,EAAcC,MAAOC,QAASZ,KAAKY,SAC9DX,EAAA,MAAA,CACCO,MAAOE,EAAcG,MACrBC,KAAK,WACLC,GAAIf,KAAKgB,YAAchB,KAAKI,UAC5Ba,QAASjB,KAAKkB,SAAQC,kBACLnB,KAAKoB,mBAAqBpB,KAAKM,SAAQe,cAC3CC,GAAqBtB,KAAKkB,WAEvCjB,EAAA,OAAA,QAUJH,sBACC,OAAOE,KAAKgB,YAAchB,KAAKI,UAOhCN,6BACC,OAAOE,KAAKoB,mBAAqBpB,KAAKM,SAOvCR,sBAAsByB,GACrBvB,KAAKkB,SAAWK","sourcesContent":["/*\n * Tabs - Item\n */\n\n$class: \".gov-tabs-item\";\n\n#{$class} {\n\tcolor: $tabs-text-color;\n\t&__inner {\n\t\t@include reset-last-margin();\n\t}\n}\n","import { Component, Element, h, Prop, Method, State, Host } from '@stencil/core'\nimport { createID } from '../../utils/string.utils'\nimport { govHost, toBoolAttrIfDefined } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { TabsItemClass } from './constants'\n\n@Component({\n\ttag: 'gov-tabs-item',\n\tstyleUrl: 'gov-tabs-item.scss',\n})\nexport class GovTabsItem {\n\tprivate h: GovHost\n\tprivate readonly contentId: string\n\tprivate readonly triggeId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.contentId = createID('GovTabContent')\n\t\tthis.triggeId = createID('GovTabTrigger')\n\t}\n\n\t@Element() host: HTMLGovTabsItemElement\n\t/**\n\t * Custom tab item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Custom tab trigger item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly triggerIdentifier: string\n\t/**\n\t * Item name of the tab\n\t */\n\t@Prop() readonly label: string\n\t/**\n\t * Default selected tab\n\t */\n\t@Prop() readonly default: boolean = false\n\t@State() isActive = false\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TabsItemClass.root)} default={this.default}>\n\t\t\t\t<div\n\t\t\t\t\tclass={TabsItemClass.inner}\n\t\t\t\t\trole=\"tabpanel\"\n\t\t\t\t\tid={this.identifier || this.contentId}\n\t\t\t\t\thidden={!this.isActive}\n\t\t\t\t\taria-labelledby={this.triggerIdentifier || this.triggeId}\n\t\t\t\t\taria-hidden={toBoolAttrIfDefined(!this.isActive)}\n\t\t\t\t>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns a unique tab content identifier\n\t */\n\t@Method()\n\tasync getIdentifier(): Promise<string> {\n\t\treturn this.identifier || this.contentId\n\t}\n\n\t/**\n\t * Returns a unique tab trigger identifier\n\t */\n\t@Method()\n\tasync getTriggerIdentifier(): Promise<string> {\n\t\treturn this.triggerIdentifier || this.triggeId\n\t}\n\n\t/**\n\t * Set status of tab-item\n\t */\n\t@Method()\n\tasync setActiveStatus(status: boolean): Promise<void> {\n\t\tthis.isActive = status\n\t}\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{p as t}from"./p-03990da5.js";import{V as s}from"./p-ff7365ae.js";var o;(function(t){t["LEFT"]="left"})(o||(o={}));const a=t(s,["PRIMARY","SECONDARY"]);const r={root:"gov-statsbar",section:"gov-statsbar__section"};const e={root:"gov-statsbar-item",icon:"gov-statsbar-item__icon",number:"gov-statsbar-item__number",text:"gov-statsbar-item__text"};export{e as S,r as a,o as b,a as c};
2
- //# sourceMappingURL=p-1020a160.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-statsbar/constants.tsx"],"names":["StatsBarIconPosition","StatsBarVariants","pick","Variants","StatsBarClass","root","section","StatsBarItemClass","icon","number","text"],"mappings":"4EAIYA,GAAZ,SAAYA,GACXA,EAAA,QAAA,QADD,CAAYA,IAAAA,EAAoB,WAKnBC,EAAmBC,EAAKC,EAAU,CAAC,UAAW,oBAG9CC,EAAgB,CAC5BC,KAAM,eACNC,QAAS,+BAGGC,EAAoB,CAChCF,KAAM,oBACNG,KAAM,0BACNC,OAAQ,4BACRC,KAAM","sourcesContent":["import { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils'\nimport { Variants } from '../../core/constants/variants'\n\nexport enum StatsBarIconPosition {\n\tLEFT = 'left',\n}\nexport type StatsBarIconPositionType = `${ValueOf<typeof StatsBarIconPosition>}`\n\nexport const StatsBarVariants = pick(Variants, ['PRIMARY', 'SECONDARY'])\nexport type StatsBarVariantType = `${ValueOf<typeof StatsBarVariants>}`\n\nexport const StatsBarClass = {\n\troot: 'gov-statsbar',\n\tsection: 'gov-statsbar__section',\n}\n\nexport const StatsBarItemClass = {\n\troot: 'gov-statsbar-item',\n\ticon: 'gov-statsbar-item__icon',\n\tnumber: 'gov-statsbar-item__number',\n\ttext: 'gov-statsbar-item__text',\n}\n"]}
@@ -1,2 +0,0 @@
1
- const o=(o,s)=>[...s];export{o as F};
2
- //# sourceMappingURL=p-1c1d0bbe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/helpers/Fragment.tsx"],"names":["Fragment","_","children"],"mappings":"AAAA,MAAAA,EAAe,CAACC,EAAGC,IAAa,IAAIA","sourcesContent":["export default (_, children) => [...children]\n"]}
@@ -1,2 +0,0 @@
1
- import{r as o,h as r,H as e,g as i}from"./p-4af5e4f4.js";import{g as t}from"./p-3f37ddb6.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:7.125rem;height:7.125rem}@media (min-width: 48em){.gov-error-code__icon{width:12.5rem;height:12.5rem;margin:0 auto 2rem}.gov-error-code__icon>*{width:9.5rem;height:9.5rem}}";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-1def0eb2.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-error-code/constants.ts","../../../packages/core/src/components/gov-error-code/gov-error-code.scss?tag=gov-error-code","../../../packages/core/src/components/gov-error-code/gov-error-code.tsx"],"names":["ErrorCodeClass","root","icon","holder","content","govErrorCodeCss","GovErrorCode","[object Object]","hostRef","this","h","govHost","host","Host","class","classes","hasSlot","name"],"mappings":"6FAAO,MAAMA,EAAiB,CAC7BC,KAAM,iBACNC,KAAM,uBACNC,OAAQ,yBACRC,QAAS,2BCJV,MAAMC,EAAkB,siCCSXC,EAAY,MAGxBC,YAAAC,aACCC,KAAKC,EAAIC,EAAQF,KAAKG,MAKvBL,SACC,OACCG,EAACG,EAAI,CAACC,MAAOL,KAAKC,EAAEK,QAAQf,EAAeC,OAC1CS,EAAA,MAAA,CAAKI,MAAOd,EAAeG,QACzBM,KAAKC,EAAEM,QAAQ,SACfN,EAAA,MAAA,CAAKI,MAAOd,EAAeE,MAC1BQ,EAAA,OAAA,CAAMO,KAAK,UAGbP,EAAA,MAAA,CAAKI,MAAOd,EAAeI,SAC1BM,EAAA,OAAA","sourcesContent":["export const ErrorCodeClass = {\n\troot: 'gov-error-code',\n\ticon: 'gov-error-code__icon',\n\tholder: 'gov-error-code__holder',\n\tcontent: 'gov-error-code__content',\n}\n","/*\n * Alert\n */\n\n$class: \".gov-error-code\";\n\n#{$class} {\n\t@include base();\n\t&__holder {\n\t\tmargin: 0 auto;\n\t\ttext-align: center;\n\t}\n\t&__content {\n\t\t@include reset-last-margin();\n\t}\n\t&__icon {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\twidth: rem-calc(150);\n\t\theight: rem-calc(150);\n\t\tmargin: 0 auto rem-calc(24);\n\t\tborder-radius: 50%;\n\t\tbackground: $error-icon-circle-bg;\n\t\tcolor: $error-icon-color;\n\t\t& > * {\n\t\t\twidth: rem-calc(114);\n\t\t\theight: rem-calc(114);\n\t\t}\n\t}\n\n\t// MQ\n\t@include mq($from: md) {\n\t\t&__icon {\n\t\t\twidth: rem-calc(200);\n\t\t\theight: rem-calc(200);\n\t\t\tmargin: 0 auto rem-calc(32);\n\t\t\t& > * {\n\t\t\t\twidth: rem-calc(152);\n\t\t\t\theight: rem-calc(152);\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host } from '@stencil/core'\nimport { ErrorCodeClass } from './constants'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-error-code',\n\tstyleUrl: 'gov-error-code.scss',\n})\nexport class GovErrorCode {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovErrorCodeElement\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ErrorCodeClass.root)}>\n\t\t\t\t<div class={ErrorCodeClass.holder}>\n\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t<div class={ErrorCodeClass.icon}>\n\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t\t<div class={ErrorCodeClass.content}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{r as o,c as r,h as e,H as t,g as a}from"./p-4af5e4f4.js";import{v as i}from"./p-670b4f93.js";import{c as s}from"./p-c20102ff.js";import{d as n}from"./p-03990da5.js";import{g as c}from"./p-3f37ddb6.js";import"./p-561fa17b.js";import"./p-24636c53.js";const d={root:"gov-breadcrumbs"};const m=".gov-breadcrumbs ul{margin:0;padding:0}.gov-breadcrumbs li{margin:0;padding:0;background:none}.gov-breadcrumbs li::before{display:none}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-breadcrumbs ul{position:relative;display:flex;width:100%;padding-bottom:0.3125rem;overflow-x:auto}.gov-breadcrumbs li{display:flex;justify-content:flex-start;align-items:center;white-space:nowrap}.gov-breadcrumbs button{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);padding:0;border:none;background:none;color:var(--gov-breadcrumbs-link-color, var(--gov-color-primary));text-decoration:underline}.gov-breadcrumbs button:hover{text-decoration:none}.gov-breadcrumbs .gov-icon{width:0.625rem;height:0.625rem;margin:0rem 1rem;color:var(--gov-breadcrumbs-arrow-color, var(--gov-color-secondary-600))}";const g=class{constructor(e){o(this,e);this.govChange=r(this,"gov-change",7);this.collapsible=false;this.isExpanded=false;this.wcagLabel=undefined;this.wcagLabelledBy=undefined;this.h=c(this.host)}async componentDidRender(){if(s()){await n(500);await this.validateWcag()}}render(){return e(t,{class:this.h.classes(d.root)},e("nav",{"aria-label":this.wcagLabel,"aria-labelledby":this.wcagLabelledBy},e("slot",null)))}async validateWcag(){i(this.wcagLabel,this.wcagLabelledBy,d.root)}get host(){return a(this)}};g.style=m;export{g as gov_breadcrumbs};
2
- //# sourceMappingURL=p-207ba616.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-breadcrumbs/constants.ts","../../../packages/core/src/components/gov-breadcrumbs/gov-breadcrumbs.scss?tag=gov-breadcrumbs","../../../packages/core/src/components/gov-breadcrumbs/gov-breadcrumbs.tsx"],"names":["BreadcrumbsClass","root","govBreadcrumbsCss","GovBreadcrumbs","[object Object]","hostRef","this","h","govHost","host","canValidateWcagOnRender","delay","validateWcag","Host","class","classes","aria-label","wcagLabel","aria-labelledby","wcagLabelledBy","validateWcagLabel"],"mappings":"gQAAO,MAAMA,EAAmB,CAC/BC,KAAM,mBCDP,MAAMC,EAAoB,0rCCabC,EAAc,MAG1BC,YAAAC,oEAQwC,sBAI2B,6DAXlEC,KAAKC,EAAIC,EAAQF,KAAKG,MA0BvBL,2BACC,GAAIM,IAA2B,OACxBC,EAAM,WACNL,KAAKM,gBAIbR,SACC,OACCG,EAACM,EAAI,CAACC,MAAOR,KAAKC,EAAEQ,QAAQf,EAAiBC,OAC5CM,EAAA,MAAA,CAAAS,aAAiBV,KAAKW,UAASC,kBAAmBZ,KAAKa,gBACtDZ,EAAA,OAAA,QAWJH,qBACCgB,EAAkBd,KAAKW,UAAWX,KAAKa,eAAgBnB,EAAiBC","sourcesContent":["export const BreadcrumbsClass = {\n\troot: 'gov-breadcrumbs',\n}\n","/*\n * Pagination\n */\n\n$class: \".gov-breadcrumbs\";\n\n#{$class} {\n\tul {\n\t\t@extend %reset-ul;\n\t\t@include base(flex);\n\t\tpadding-bottom: rem-calc(5);\n\t\toverflow-x: auto;\n\t}\n\tli {\n\t\t@extend %reset-ul-li;\n\t\tdisplay: flex;\n\t\tjustify-content: flex-start;\n\t\talign-items: center;\n\t\twhite-space: nowrap;\n\t}\n\tbutton {\n\t\t@include typography($font-size-m);\n\t\tpadding: 0;\n\t\tborder: none;\n\t\tbackground: none;\n\t\tcolor: $breadcrumbs-link-color;\n\t\ttext-decoration: underline;\n\t\t&:hover {\n\t\t\ttext-decoration: none;\n\t\t}\n\t}\n\t& .gov-icon {\n\t\twidth: rem-calc(10);\n\t\theight: rem-calc(10);\n\t\tmargin: rem-calc(0 16px);\n\t\tcolor: $breadcrumbs-arrow-color;\n\t}\n}\n","import { Component, Element, h, Host, Method, Prop, Event, EventEmitter } from '@stencil/core'\nimport { BreadcrumbsClass } from './constants'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\nimport { GovBreadcrumbsChangeEvent } from './gov-breadcrumbs.d'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-breadcrumbs',\n\tstyleUrl: 'gov-breadcrumbs.scss',\n})\nexport class GovBreadcrumbs {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovBreadcrumbsElement\n\t/**\n\t * Defines wether the components can be collapsible when element doesn't fit in one row.\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Defines whether the breadcrumbs are open or closed by default\n\t */\n\t@Prop({ attribute: 'is-expanded' }) readonly isExpanded: boolean = false\n\t/**\n\t * Adds accessible label for the pagination that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * Indicates the id of a component that labels the pagination.\n\t */\n\t@Prop({ attribute: 'wcag-labelded-by' }) readonly wcagLabelledBy: string\n\n\t/**\n\t * Called when the Breadrumbs state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovBreadcrumbsChangeEvent>\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BreadcrumbsClass.root)}>\n\t\t\t\t<nav aria-label={this.wcagLabel} aria-labelledby={this.wcagLabelledBy}>\n\t\t\t\t\t<slot/>\n\t\t\t\t</nav>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, BreadcrumbsClass.root)\n\t}\n}\n"]}
@@ -1,2 +0,0 @@
1
- function n(){return Math.random().toString(16).slice(-4)}function r(r){return`${r}-${n()}${n()}-${n()}-${n()}-${n()}-${n()}${n()}${n()}`}function t(n){if(typeof n!=="string")return n;return n.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function u(n){if(typeof n!=="string")return n;return n.split(/(\s+)/)}export{r as c,t as r,u as s};
2
- //# sourceMappingURL=p-24636c53.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/utils/string.utils.ts"],"names":["chr4","Math","random","toString","slice","createID","prefix","removeDiacritics","string","normalize","replace","splitByWhitespace","split"],"mappings":"AAAA,SAASA,IACR,OAAOC,KAAKC,SAASC,SAAS,IAAIC,OAAO,YAG1BC,EAASC,GACxB,MAAO,GAAGA,KAAUN,MAASA,OAAUA,OAAUA,OAAUA,OAAUA,MAASA,MAASA,eAGxEO,EAAiBC,GAChC,UAAWA,IAAW,SAAU,OAAOA,EACvC,OAAOA,EAAOC,UAAU,OAAOC,QAAQ,mBAAoB,aAG5CC,EAAkBH,GACjC,UAAWA,IAAW,SAAU,OAAOA,EACvC,OAAOA,EAAOI,MAAM","sourcesContent":["function chr4(): string {\n\treturn Math.random().toString(16).slice(-4)\n}\n\nexport function createID(prefix: string): string {\n\treturn `${prefix}-${chr4()}${chr4()}-${chr4()}-${chr4()}-${chr4()}-${chr4()}${chr4()}${chr4()}`\n}\n\nexport function removeDiacritics(string: any): string | any {\n\tif (typeof string !== 'string') return string\n\treturn string.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '')\n}\n\nexport function splitByWhitespace(string: any): string | any {\n\tif (typeof string !== 'string') return string\n\treturn string.split(/(\\s+)/)\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{g as a}from"./p-561fa17b.js";const e=(e,t,r)=>{const s=Object.values(e);const o=s.indexOf(t)>-1;if(!o){a(`[${r}]: Bad parameter with value (${t}). Available parameters are (${s.join(", ")}).`)}};export{e as v};
2
- //# sourceMappingURL=p-26acf964.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/helpers/Validate/props.ts"],"names":["validateProp","valueEnum","value","component","values","Object","isValid","indexOf","govWarningLog","join"],"mappings":"0CAGaA,EAAe,CAAmCC,EAAcC,EAAeC,KAC3F,MAAMC,EAASC,OAAOD,OAAOH,GAC7B,MAAMK,EAAUF,EAAOG,QAAQL,IAAU,EACzC,IAAKI,EAAS,CACbE,EAAc,IAAIL,iCAAyCD,iCAAqCE,EAAOK,KAAK","sourcesContent":["import { govWarningLog } from '../Log/gov.log'\n\n// @TODO: deal with optional values\nexport const validateProp = <T extends Record<string, string>>(valueEnum: T, value: string, component: string): void => {\n\tconst values = Object.values(valueEnum)\n\tconst isValid = values.indexOf(value) > -1\n\tif (!isValid) {\n\t\tgovWarningLog(`[${component}]: Bad parameter with value (${value}). Available parameters are (${values.join(', ')}).`)\n\t}\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{r as a,h as i,H as n,g as o}from"./p-4af5e4f4.js";import{g as r,s as t}from"./p-3f37ddb6.js";const e={root:"gov-container"};const s=".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-container{display:block;width:100%;max-width:calc(var(--gov-container-width, 73.75rem) + 2 * var(--gov-container-padding, 2.5rem));margin-right:auto;margin-left:auto;padding-right:var(--gov-container-padding-mobile, 1.25rem);padding-left:var(--gov-container-padding-mobile, 1.25rem)}@media (min-width: 48em){.gov-container{padding-right:var(--gov-container-padding, 2.5rem);padding-left:var(--gov-container-padding, 2.5rem)}}";const d=class{constructor(i){a(this,i);this.h=r(this.host)}render(){return i(n,{class:this.h.classes(e.root)},i("slot",null))}async slottedChildren(){return Promise.resolve(t(this.host))}get host(){return o(this)}};d.style=s;export{d as gov_container};
2
- //# sourceMappingURL=p-2f88b6d9.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-container/constants.tsx","../../../packages/core/src/components/gov-container/gov-container.scss?tag=gov-container","../../../packages/core/src/components/gov-container/gov-container.tsx"],"names":["ContainerClass","root","govContainerCss","GovContainer","[object Object]","hostRef","this","h","govHost","host","Host","class","classes","Promise","resolve","slottedChildren"],"mappings":"oGAAO,MAAMA,EAAiB,CAC7BC,KAAM,iBCDP,MAAMC,EAAkB,6wBCSXC,EAAY,MAGxBC,YAAAC,aACCC,KAAKC,EAAIC,EAAQF,KAAKG,MAKvBL,SACC,OACCG,EAACG,EAAI,CAACC,MAAOL,KAAKC,EAAEK,QAAQZ,EAAeC,OAC1CM,EAAA,OAAA,OAWHH,wBACC,OAAOS,QAAQC,QAAQC,EAAgBT,KAAKG","sourcesContent":["export const ContainerClass = {\n\troot: 'gov-container',\n}\n","/*\n * Container\n */\n\n$class: \".gov-container\";\n\n#{$class} {\n\t@include container();\n}\n","import { Component, Element, h, Host, Method } from '@stencil/core'\nimport { govHost, slottedChildren } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { ContainerClass } from './constants'\n\n@Component({\n\ttag: 'gov-container',\n\tstyleUrl: 'gov-container.scss',\n})\nexport class GovContainer {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovContainerElement\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ContainerClass.root)}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns slotted children\n\t *\n\t * @return {Promise<Node[]>}\n\t */\n\t@Method()\n\tasync slottedChildren(): Promise<Node[]> {\n\t\treturn Promise.resolve(slottedChildren(this.host))\n\t}\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{p as o}from"./p-03990da5.js";import{S as a}from"./p-55500e5a.js";o(a,["_XS","_S","_M","_L","_XL"]);const l={root:"gov-form-label",label:"gov-form-label__label"};export{l as F};
2
- //# sourceMappingURL=p-3464136c.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-form/label/constants.ts"],"names":["pick","Sizes","FormLabelClass","root","label"],"mappings":"wEAI8BA,EAAKC,EAAO,CAAC,MAAO,KAAM,KAAM,KAAM,cAGvDC,EAAiB,CAC7BC,KAAM,iBACNC,MAAO","sourcesContent":["import { pick } from \"../../../utils/utils\"\nimport { Sizes } from \"../../../core/constants/sizes\"\nimport { ValueOf } from \"../../../types/interfaces\"\n\nexport const FormLabelSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormLabelSizesTypes = `${ValueOf<typeof FormLabelSizes>}`\n\nexport const FormLabelClass = {\n\troot: 'gov-form-label',\n\tlabel: 'gov-form-label__label',\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{r as o,h as i,H as n,g as a}from"./p-4af5e4f4.js";import{g as r,p as t}from"./p-3f37ddb6.js";const e={root:"gov-loading",content:"gov-loading__content",icon:"gov-loading__icon"};const s='.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-loading{display:none}.gov-loading__content{z-index:101;position:fixed;top:50%;left:50%;display:flex;gap:1rem;flex-direction:column;align-items:center;min-width:9.6875rem;padding:1.5rem;border-radius:0.5rem;background:var(--gov-loading-bg, rgba(var(--gov-color-secondary-400-rgb), 0.8));color:var(--gov-loading-color, var(--gov-color-primary));text-align:center;transform:translate(-50%, -50%)}.gov-loading__icon{width:4rem;height:4rem;line-height:1}.gov-loading[loading=""],.gov-loading[loading=true i],.gov-loading[loading="1"]{display:block}';const g=class{constructor(i){o(this,i);this.loading=false;this.h=r(this.host)}render(){return i(n,{class:this.h.classes(e.root),loading:this.loading},i("div",{class:e.content},i("gov-icon",{class:t([e.icon,"gov-spin-animation"]),name:"loader"}),i("slot",null)),this.loading?i("gov-backdrop",{inverse:true}):null)}get host(){return a(this)}};g.style=s;export{g as gov_loading};
2
- //# sourceMappingURL=p-354c6a6d.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-loading/loading/constants.ts","../../../packages/core/src/components/gov-loading/loading/gov-loading.scss?tag=gov-loading","../../../packages/core/src/components/gov-loading/loading/gov-loading.tsx"],"names":["LoadingClass","root","content","icon","govLoadingCss","GovLoading","[object Object]","hostRef","this","h","govHost","host","Host","class","classes","loading","prepareClasses","name","inverse"],"mappings":"oGAAO,MAAMA,EAAe,CAC3BC,KAAM,cACNC,QAAS,uBACTC,KAAM,qBCHP,MAAMC,EAAgB,m4BCSTC,EAAU,MAGtBC,YAAAC,0BAQkB,MAPjBC,KAAKC,EAAIC,EAAQF,KAAKG,MASvBL,SACC,OACCG,EAACG,EAAI,CAACC,MAAOL,KAAKC,EAAEK,QAAQd,EAAaC,MAAOc,QAASP,KAAKO,SAC7DN,EAAA,MAAA,CAAKI,MAAOb,EAAaE,SACxBO,EAAA,WAAA,CAAUI,MAAOG,EAAe,CAAChB,EAAaG,KAAM,uBAAwBc,KAAK,WACjFR,EAAA,OAAA,OAEAD,KAAKO,QAAWN,EAAA,eAAA,CAAcS,QAAS,OAAY","sourcesContent":["export const LoadingClass = {\n\troot: 'gov-loading',\n\tcontent: 'gov-loading__content',\n\ticon: 'gov-loading__icon',\n}\n","/*\n * Loading\n */\n\n$class: \".gov-loading\";\n\n#{$class} {\n\tdisplay: none;\n\t&__content {\n\t\t@include z-index(\"modal\", 1);\n\t\tposition: fixed;\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t\tmin-width: rem-calc(155);\n\t\tpadding: rem-calc(24);\n\t\tborder-radius: rem-calc(8);\n\t\tbackground: $loading-bg;\n\t\tcolor: $loading-color;\n\t\ttext-align: center;\n\t\ttransform: translate(-50%, -50%);\n\t}\n\t&__icon {\n\t\twidth: rem-calc(64);\n\t\theight: rem-calc(64);\n\t\tline-height: 1;\n\t}\n\n\t// STATES\n\t@include parameter(\"loading\") {\n\t\tdisplay: block;\n\t}\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core'\nimport { LoadingClass } from './constants'\nimport { govHost, prepareClasses } from '../../../helpers/Dom/template'\nimport { GovHost } from '../../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-loading',\n\tstyleUrl: 'gov-loading.scss',\n})\nexport class GovLoading {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovLoadingElement\n\t/**\n\t * Determine if loading is active\n\t */\n\t@Prop() loading = false\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(LoadingClass.root)} loading={this.loading}>\n\t\t\t\t<div class={LoadingClass.content}>\n\t\t\t\t\t<gov-icon class={prepareClasses([LoadingClass.icon, 'gov-spin-animation'])} name=\"loader\"></gov-icon>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t\t{this.loading ? (<gov-backdrop inverse={true} />) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{r as o,h as r,H as e,g as a}from"./p-4af5e4f4.js";import{p as n,d as s}from"./p-03990da5.js";import{V as t}from"./p-ff7365ae.js";import{g as i}from"./p-3f37ddb6.js";import{v as g}from"./p-26acf964.js";import{c as l}from"./p-c20102ff.js";import{v}from"./p-670b4f93.js";import"./p-561fa17b.js";import"./p-24636c53.js";const c=n(t,["PRIMARY","SECONDARY","SUCCESS","ERROR","WARNING"]);var d;(function(o){o["CIRCLE"]="circle";o["REACT"]="rect";o["TEXT"]="text"})(d||(d={}));var k;(function(o){o["PULSE"]="pulse";o["PROGRESS"]="progress";o["FALSE"]="false"})(k||(k={}));const p={root:"gov-skeleton",loader:"gov-skeleton__loader"};const u=".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-skeleton__loader{position:relative;display:inline-block;width:var(--gov-skeleton-width, 100%);height:var(--gov-skeleton-height, 20px);margin-bottom:var(--gov-skeleton-margin-bottom, 8px);border-radius:var(--gov-skeleton-border-radius, var(--gov-border-radius, 0.1875rem));outline:none;overflow:hidden;box-sizing:border-box;will-change:transform}.gov-skeleton__loader.circle{width:var(--gov-skeleton-circle-size, 60px);height:var(--gov-skeleton-circle-size, 60px);margin-bottom:var(--gov-skeleton-margin-bottom, 8px);border-radius:var(--gov-skeleton-circle-radius, 50%)}.gov-skeleton__loader.rect{border-radius:var(--gov-skeleton-rect-radius, 0)}.gov-skeleton__loader.progress{background-size:200px 100%;animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite}.gov-skeleton__loader.pulse{animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation-delay:0.5s}@media (prefers-reduced-motion: reduce){.gov-skeleton__loader.pulse,.gov-skeleton__loader.progress{background-image:none;animation:none}}.gov-skeleton[variant=warning] .gov-skeleton__loader{background-color:var(--gov-skeleton-warning-background, var(--gov-color-warning-100));background-repeat:no-repeat}.gov-skeleton[variant=warning] .gov-skeleton__loader.progress{background-image:linear-gradient(90deg, var(--gov-skeleton-warning-background, var(--gov-color-warning-100)), var(--gov-skeleton-warning-foreground, var(--gov-color-warning-200)), var(--gov-skeleton-warning-background, var(--gov-color-warning-100)))}.gov-skeleton[variant=error] .gov-skeleton__loader{background-color:var(--gov-skeleton-error-background, var(--gov-color-error-100));background-repeat:no-repeat}.gov-skeleton[variant=error] .gov-skeleton__loader.progress{background-image:linear-gradient(90deg, var(--gov-skeleton-error-background, var(--gov-color-error-100)), var(--gov-skeleton-error-foreground, var(--gov-color-error-200)), var(--gov-skeleton-error-background, var(--gov-color-error-100)))}.gov-skeleton[variant=secondary] .gov-skeleton__loader{background-color:var(--gov-skeleton-secondary-background, var(--gov-color-secondary-300));background-repeat:no-repeat}.gov-skeleton[variant=secondary] .gov-skeleton__loader.progress{background-image:linear-gradient(90deg, var(--gov-skeleton-secondary-background, var(--gov-color-secondary-300)), var(--gov-skeleton-secondary-foreground, var(--gov-color-secondary-100)), var(--gov-skeleton-secondary-background, var(--gov-color-secondary-300)))}.gov-skeleton[variant=success] .gov-skeleton__loader{background-color:var(--gov-skeleton-success-background, var(--gov-color-success-100));background-repeat:no-repeat}.gov-skeleton[variant=success] .gov-skeleton__loader.progress{background-image:linear-gradient(90deg, var(--gov-skeleton-success-background, var(--gov-color-success-100)), var(--gov-skeleton-success-foreground, var(--gov-color-success-200)), var(--gov-skeleton-success-background, var(--gov-color-success-100)))}.gov-skeleton[variant=primary] .gov-skeleton__loader{background-color:var(--gov-skeleton-primary-background, var(--gov-color-primary-100));background-repeat:no-repeat}.gov-skeleton[variant=primary] .gov-skeleton__loader.progress{background-image:linear-gradient(90deg, var(--gov-skeleton-primary-background, var(--gov-color-primary-100)), var(--gov-skeleton-primary-foreground, var(--gov-color-primary-200)), var(--gov-skeleton-primary-background, var(--gov-color-primary-100)))}";const m=class{constructor(r){o(this,r);this.items=[];this.variant="secondary";this.count=1;this.shape="text";this.width=null;this.height=null;this.animation="progress";this.wcagLabel=undefined;this.h=i(this.host)}validateVariant(o){g(c,o,p.root)}validateShape(o){g(d,o,p.root)}validateAnimation(o){g(k,o,p.root)}componentWillLoad(){this.validateVariant(this.variant);this.validateShape(this.shape);this.validateAnimation(this.animation);this.init()}componentWillUpdate(){this.init()}async componentDidRender(){if(l()){await s(500);await this.validateWcag()}}init(){this.items.length=this.count;this.items.fill(1)}get style(){const o={width:null,height:null};if(this.width){o.width=this.width}if(this.height){o.height=this.height}return Object.assign({},o)}render(){return r(e,{class:this.h.classes(p.root),variant:this.variant},this.items.map(((o,e)=>r("span",{key:e,class:{circle:this.shape==="circle",rect:this.shape==="rect",progress:this.animation==="progress",pulse:this.animation==="pulse",[p.loader]:true},"aria-busy":"true","aria-valuemin":"0","aria-valuemax":"100","aria-valuetext":this.wcagLabel,role:"progressbar",tabindex:"0",style:this.style}))))}async validateWcag(){v(this.wcagLabel,undefined,p.root)}get host(){return a(this)}static get watchers(){return{variant:["validateVariant"],shape:["validateShape"],animation:["validateAnimation"]}}};m.style=u;export{m as gov_skeleton};
2
- //# sourceMappingURL=p-3699c1b3.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-loading/skeleton/constants.ts","../../../packages/core/src/components/gov-loading/skeleton/gov-skeleton.scss?tag=gov-skeleton","../../../packages/core/src/components/gov-loading/skeleton/gov-skeleton.tsx"],"names":["SkeletonVariants","pick","Variants","SkeletonShapes","SkeletonAnimation","SkeletonClass","root","loader","govSkeletonCss","GovSkeleton","[object Object]","hostRef","this","items","h","govHost","host","newValue","validateProp","validateVariant","variant","validateShape","shape","validateAnimation","animation","init","canValidateWcagOnRender","delay","validateWcag","length","count","fill","style","dimenssionsStyles","width","height","Object","assign","Host","class","classes","map","_","index","key","circle","rect","progress","pulse","aria-busy","aria-valuemin","aria-valuemax","aria-valuetext","wcagLabel","role","tabindex","validateWcagLabel","undefined"],"mappings":"mUAIO,MAAMA,EAAmBC,EAAKC,EAAU,CAAC,UAAW,YAAa,UAAW,QAAS,YAG5F,IAAYC,GAAZ,SAAYA,GACXA,EAAA,UAAA,SACAA,EAAA,SAAA,OACAA,EAAA,QAAA,QAHD,CAAYA,IAAAA,EAAc,KAO1B,IAAYC,GAAZ,SAAYA,GACXA,EAAA,SAAA,QACAA,EAAA,YAAA,WACAA,EAAA,SAAA,SAHD,CAAYA,IAAAA,EAAiB,KAOtB,MAAMC,EAAgB,CAC5BC,KAAM,eACNC,OAAQ,wBCvBT,MAAMC,EAAiB,+qHCmBVC,EAAW,MAGvBC,YAAAC,aAkCAC,KAAAC,MAAkB,gBA1BgC,uBAIlC,aAIqB,kBAIb,iBAIC,oBAImB,oCA3B3CD,KAAKE,EAAIC,EAAQH,KAAKI,MAoCvBN,gBAAgBO,GACfC,EAAalB,EAAkBiB,EAAUZ,EAAcC,MAIxDI,cAAcO,GACbC,EAAaf,EAAgBc,EAAUZ,EAAcC,MAItDI,kBAAkBO,GACjBC,EAAad,EAAmBa,EAAUZ,EAAcC,MAGzDI,oBACCE,KAAKO,gBAAgBP,KAAKQ,SAC1BR,KAAKS,cAAcT,KAAKU,OACxBV,KAAKW,kBAAkBX,KAAKY,WAC5BZ,KAAKa,OAGNf,sBACCE,KAAKa,OAGNf,2BACC,GAAIgB,IAA2B,OACxBC,EAAM,WACNf,KAAKgB,gBAIblB,OACCE,KAAKC,MAAMgB,OAASjB,KAAKkB,MACzBlB,KAAKC,MAAMkB,KAAK,GAGjBC,YACC,MAAMC,EAGF,CACHC,MAAO,KACPC,OAAQ,MAET,GAAIvB,KAAKsB,MAAO,CACfD,EAAkBC,MAAQtB,KAAKsB,MAGhC,GAAItB,KAAKuB,OAAQ,CAChBF,EAAkBE,OAASvB,KAAKuB,OAGjC,OAAAC,OAAAC,OAAA,GAAYJ,GAGbvB,SACC,OACCI,EAACwB,EAAI,CAACC,MAAO3B,KAAKE,EAAE0B,QAAQnC,EAAcC,MAAOc,QAASR,KAAKQ,SAC7DR,KAAKC,MAAM4B,KAAI,CAACC,EAAGC,IAElB7B,EAAA,OAAA,CACC8B,IAAKD,EACLJ,MAAO,CACNM,OAAQjC,KAAKU,QAAU,SACvBwB,KAAMlC,KAAKU,QAAU,OACrByB,SAAUnC,KAAKY,YAAc,WAC7BwB,MAAOpC,KAAKY,YAAc,QAC1Bd,CAACL,EAAcE,QAAS,MACxB0C,YAES,OAAMC,gBACF,IAAGC,gBACH,MAAKC,iBACHxC,KAAKyC,UACrBC,KAAK,cACLC,SAAS,IACTvB,MAAOpB,KAAKoB,WAYlBtB,qBACC8C,EAAkB5C,KAAKyC,UAAWI,UAAWpD,EAAcC","sourcesContent":["import { pick } from \"../../../utils/utils\"\nimport { Variants } from \"../../../core/constants/variants\"\nimport { ValueOf } from \"../../../types/interfaces\"\n\nexport const SkeletonVariants = pick(Variants, [\"PRIMARY\", \"SECONDARY\", \"SUCCESS\", \"ERROR\", \"WARNING\"])\nexport type SkeletonVariantsType = `${ValueOf<typeof SkeletonVariants>}`\n\nexport enum SkeletonShapes {\n\tCIRCLE = 'circle',\n\tREACT = 'rect',\n\tTEXT = 'text'\n}\nexport type SkeletonShapesType = `${ValueOf<typeof SkeletonShapes>}`\n\nexport enum SkeletonAnimation {\n\tPULSE = 'pulse',\n\tPROGRESS = 'progress',\n\tFALSE = 'false'\n}\nexport type SkeletonAnimationType = `${ValueOf<typeof SkeletonAnimation>}`\n\nexport const SkeletonClass = {\n\troot: 'gov-skeleton',\n\tloader: 'gov-skeleton__loader',\n}\n","$class: \".gov-skeleton\";\n\n#{$class} {\n\t&__loader {\n\t\tposition: relative;\n\t\tdisplay: inline-block;\n\t\twidth: $skeleton-width;\n\t\theight: $skeleton-height;\n\t\tmargin-bottom: $skeleton-margin-bottom;\n\t\tborder-radius: $skeleton-border-radius;\n\t\toutline: none;\n\t\toverflow: hidden;\n\t\tbox-sizing: border-box;\n\t\twill-change: transform;\n\n\t\t&.circle {\n\t\t\twidth: $skeleton-circle-size;\n\t\t\theight: $skeleton-circle-size;\n\t\t\tmargin-bottom: $skeleton-margin-bottom;\n\t\t\tborder-radius: $skeleton-circle-radius;\n\t\t}\n\n\t\t&.rect {\n\t\t\tborder-radius: $skeleton-rect-radius;\n\t\t}\n\n\t\t&.progress {\n\t\t\tbackground-size: 200px 100%;\n\t\t\tanimation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\t}\n\n\t\t&.pulse {\n\t\t\tanimation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\t\tanimation-delay: 0.5s;\n\t\t}\n\n\t\t@media (prefers-reduced-motion: reduce) {\n\t\t\t&.pulse,\n\t\t\t&.progress {\n\t\t\t\tbackground-image: none;\n\t\t\t\tanimation: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t@each $variant, $definitions in $skeleton-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\t#{$class}__loader {\n\t\t\t\tbackground-color: get(\"background\", $definitions);\n\t\t\t\tbackground-repeat: no-repeat;\n\n\t\t\t\t&.progress {\n\t\t\t\t\tbackground-image: linear-gradient(90deg, get(\"background\", $definitions), get(\"foreground\", $definitions), get(\"background\", $definitions));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Method, Prop, Watch } from \"@stencil/core\"\nimport {\n\tSkeletonAnimation,\n\tSkeletonAnimationType,\n\tSkeletonClass, SkeletonShapes,\n\tSkeletonShapesType, SkeletonVariants,\n\tSkeletonVariantsType,\n} from \"./constants\"\nimport { GovHost } from \"../../../helpers/Dom/template.types\"\nimport { govHost } from \"../../../helpers/Dom/template\"\nimport { validateProp } from \"../../../helpers/Validate/props\"\nimport { canValidateWcagOnRender } from \"../../../helpers/Dom/win\"\nimport { delay } from \"../../../utils/utils\"\nimport { validateWcagLabel } from \"../../../helpers/Validate/wcag\"\n\n@Component({\n\ttag: \"gov-skeleton\",\n\tstyleUrl: \"gov-skeleton.scss\",\n})\nexport class GovSkeleton {\n\th: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovSkeletonElement\n\t/**\n\t * Style variation of the skeleton.\n\t */\n\t@Prop() readonly variant?: SkeletonVariantsType = \"secondary\"\n\t/**\n\t * Number of rows of current skeleton type\n\t */\n\t@Prop() count = 1\n\t/**\n\t * Shape of the skeleton\n\t */\n\t@Prop() shape?: SkeletonShapesType = \"text\"\n\t/**\n\t * Width of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop() width: string = null\n\t/**\n\t * Height of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop() height: string = null\n\t/**\n\t * Animation type\n\t */\n\t@Prop() animation?: SkeletonAnimationType = \"progress\"\n\t/**\n\t * Adds accessible label for the skeleton that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\n\titems: number[] = []\n\n\t@Watch('variant')\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(SkeletonVariants, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('shape')\n\tvalidateShape(newValue: string): void {\n\t\tvalidateProp(SkeletonShapes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('animation')\n\tvalidateAnimation(newValue: string): void {\n\t\tvalidateProp(SkeletonAnimation, newValue, SkeletonClass.root)\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateShape(this.shape)\n\t\tthis.validateAnimation(this.animation)\n\t\tthis.init()\n\t}\n\n\tcomponentWillUpdate() {\n\t\tthis.init()\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\tinit() {\n\t\tthis.items.length = this.count\n\t\tthis.items.fill(1)\n\t}\n\n\tget style() {\n\t\tconst dimenssionsStyles: {\n\t\t\twidth?: string,\n\t\t\theight?: string,\n\t\t} = {\n\t\t\twidth: null,\n\t\t\theight: null,\n\t\t}\n\t\tif (this.width) {\n\t\t\tdimenssionsStyles.width = this.width\n\t\t}\n\n\t\tif (this.height) {\n\t\t\tdimenssionsStyles.height = this.height\n\t\t}\n\n\t\treturn { ...dimenssionsStyles }\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(SkeletonClass.root)} variant={this.variant}>\n\t\t\t\t{this.items.map((_, index) => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\tkey={index}\n\t\t\t\t\t\t\tclass={{\n\t\t\t\t\t\t\t\tcircle: this.shape === \"circle\",\n\t\t\t\t\t\t\t\trect: this.shape === \"rect\",\n\t\t\t\t\t\t\t\tprogress: this.animation === \"progress\",\n\t\t\t\t\t\t\t\tpulse: this.animation === \"pulse\",\n\t\t\t\t\t\t\t\t[SkeletonClass.loader]: true,\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\taria-busy=\"true\"\n\t\t\t\t\t\t\taria-valuemin=\"0\"\n\t\t\t\t\t\t\taria-valuemax=\"100\"\n\t\t\t\t\t\t\taria-valuetext={this.wcagLabel}\n\t\t\t\t\t\t\trole=\"progressbar\"\n\t\t\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t\t\tstyle={this.style}\n\t\t\t\t\t\t></span>\n\t\t\t\t\t)\n\t\t\t\t})}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, undefined, SkeletonClass.root)\n\t}\n}\n"]}
@@ -1,2 +0,0 @@
1
- const e={root:"gov-side-nav",aside:"gov-side-nav__aside"};const o={root:"gov-side-nav-item",rootWithIcon:"gov-side-nav-item--w-icon",header:"gov-side-nav-item__header",icon:"gov-side-nav-item__icon",name:"gov-side-nav-item__name",label:"gov-side-nav-item__label",arrow:"gov-side-nav-item__arrow",badge:"gov-side-nav-item__badge",content:"gov-side-nav-item__content"};export{o as S,e as a};
2
- //# sourceMappingURL=p-36be8f6e.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-side-nav/constants.ts"],"names":["SideNavClass","root","aside","SideNavItemClass","rootWithIcon","header","icon","name","label","arrow","badge","content"],"mappings":"MAAaA,EAAe,CAC3BC,KAAM,eACNC,MAAO,6BAGKC,EAAmB,CAC/BF,KAAM,oBACNG,aAAc,4BACdC,OAAQ,4BACRC,KAAM,0BACNC,KAAM,0BACNC,MAAO,2BACPC,MAAO,2BACPC,MAAO,2BACPC,QAAS","sourcesContent":["export const SideNavClass = {\n\troot: 'gov-side-nav',\n\taside: 'gov-side-nav__aside',\n}\n\nexport const SideNavItemClass = {\n\troot: 'gov-side-nav-item',\n\trootWithIcon: 'gov-side-nav-item--w-icon',\n\theader: 'gov-side-nav-item__header',\n\ticon: 'gov-side-nav-item__icon',\n\tname: 'gov-side-nav-item__name',\n\tlabel: 'gov-side-nav-item__label',\n\tarrow: 'gov-side-nav-item__arrow',\n\tbadge: 'gov-side-nav-item__badge',\n\tcontent: 'gov-side-nav-item__content',\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{r as o,c as i,h as r,H as t,g as e}from"./p-4af5e4f4.js";import{c as s}from"./p-24636c53.js";import{v as a}from"./p-26acf964.js";import{g as c,e as g,f as h}from"./p-9cd80b05.js";import{g as v,t as m}from"./p-3f37ddb6.js";import{b as f,c as l}from"./p-670b4f93.js";import{c as n}from"./p-c20102ff.js";import{d}from"./p-03990da5.js";import{F as w}from"./p-1c1d0bbe.js";import"./p-561fa17b.js";import"./p-55500e5a.js";import"./p-ff7365ae.js";import"./p-ef79904e.js";import"./p-6278531b.js";import"./p-f687452c.js";import"./p-3464136c.js";const p='.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-switch{position:relative;display:flex}.gov-form-switch__holder{display:inline-flex}.gov-form-switch__input{position:absolute;top:0;left:0;z-index:1;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.gov-form-switch .gov-form-label__label{position:relative;z-index:1;margin-bottom:0;color:var(--gov-form-switch-color, var(--gov-color-secondary-800))}.gov-form-switch__indicator{position:relative;flex:0 0 auto;border:var(--gov-form-switch-indicator-border, 0.0625rem solid var(--gov-color-secondary-500));background-color:var(--gov-form-switch-indicator-bg, var(--gov-color-secondary-300));transition:150ms linear background-color}.gov-form-switch__indicator::before{content:"";position:absolute;display:block;border-radius:50%;background-color:var(--gov-form-switch-indicator-circle-bg, var(--gov-color-neutral-white));transition:150ms linear left;box-shadow:var(--gov-form-switch-indicator-circle-box-shadow, 0 0.125rem 0.25rem rgba(0, 0, 0, 0.35))}.gov-form-switch__input:focus-visible~.gov-form-switch__indicator{outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base)}.gov-form-switch__input:checked+.gov-form-switch__indicator{border-color:var(--gov-form-switch-indicator-bg-checked, var(--gov-color-primary));background-color:var(--gov-form-switch-indicator-bg-checked, var(--gov-color-primary))}.gov-form-switch[disabled=""],.gov-form-switch[disabled=true i],.gov-form-switch[disabled="1"]{pointer-events:none}.gov-form-switch[disabled=""] .gov-form-label__label,.gov-form-switch[disabled=true i] .gov-form-label__label,.gov-form-switch[disabled="1"] .gov-form-label__label{color:var(--gov-form-state-color-disabled, var(--gov-color-secondary-600))}.gov-form-switch[disabled=""] .gov-form-switch__indicator::before,.gov-form-switch[disabled=true i] .gov-form-switch__indicator::before,.gov-form-switch[disabled="1"] .gov-form-switch__indicator::before{background:var(--gov-form-input-disabled-bg, var(--gov-color-secondary-300))}.gov-form-switch[disabled=""] .gov-form-switch__input:checked+.gov-form-switch__indicator,.gov-form-switch[disabled=true i] .gov-form-switch__input:checked+.gov-form-switch__indicator,.gov-form-switch[disabled="1"] .gov-form-switch__input:checked+.gov-form-switch__indicator{border-color:var(--gov-form-input-disabled-bg, var(--gov-color-primary-400));background-color:var(--gov-form-input-disabled-bg, var(--gov-color-primary-400))}.gov-form-switch[invalid=""] .gov-form-label__label,.gov-form-switch[invalid=true i] .gov-form-label__label,.gov-form-switch[invalid="1"] .gov-form-label__label{color:var(--gov-form-state-color-error, var(--gov-color-error))}.gov-form-switch[invalid=""] .gov-form-switch__indicator,.gov-form-switch[invalid=true i] .gov-form-switch__indicator,.gov-form-switch[invalid="1"] .gov-form-switch__indicator{border-color:var(--gov-form-state-color-error, var(--gov-color-error))}.gov-form-switch[invalid=""] .gov-form-switch__input:checked+.gov-form-switch__indicator,.gov-form-switch[invalid=true i] .gov-form-switch__input:checked+.gov-form-switch__indicator,.gov-form-switch[invalid="1"] .gov-form-switch__input:checked+.gov-form-switch__indicator{background-color:var(--gov-form-state-color-error, var(--gov-color-error))}.gov-form-switch[size=xs] .gov-form-label__label{font-weight:var(--gov-text-xs-font-weight);font-size:var(--gov-text-xs-font-size);line-height:var(--gov-text-xs-line-height);letter-spacing:var(--gov-text-xs-letter-spacing);margin-bottom:0;margin-left:calc((var(--gov-form-switch-xs-indicator-height, 1.25rem) * 1.6666666667 + var(--gov-form-switch-xs-gap, 0.75rem)) * -1);padding-top:calc((var(--gov-form-switch-xs-indicator-height, 1.25rem) - var(--gov-text-xs-font-size) * 1.5) / 2);padding-left:calc(var(--gov-form-switch-xs-indicator-height, 1.25rem) * 1.6666666667 + var(--gov-form-switch-xs-gap, 0.75rem))}.gov-form-switch[size=xs] .gov-form-switch__holder{gap:var(--gov-form-switch-xs-gap, 0.75rem)}.gov-form-switch[size=xs] .gov-form-switch__indicator{display:block;width:calc(var(--gov-form-switch-xs-indicator-height, 1.25rem) * 1.6666666667);height:var(--gov-form-switch-xs-indicator-height, 1.25rem);border-radius:calc(var(--gov-form-switch-xs-indicator-height, 1.25rem) * 0.5)}.gov-form-switch[size=xs] .gov-form-switch__indicator::before{top:calc(var(--gov-form-switch-xs-toggle-offset, 0.051875rem) - 0.0625rem);left:calc(var(--gov-form-switch-xs-toggle-offset, 0.051875rem) - 0.0625rem);width:calc(var(--gov-form-switch-xs-indicator-height, 1.25rem) - 2 * var(--gov-form-switch-xs-toggle-offset, 0.051875rem));height:calc(var(--gov-form-switch-xs-indicator-height, 1.25rem) - 2 * var(--gov-form-switch-xs-toggle-offset, 0.051875rem))}.gov-form-switch[size=xs] .gov-form-switch__input[aria-checked]+.gov-form-switch__indicator::before{left:calc(var(--gov-form-switch-xs-indicator-height, 1.25rem) * 1.6666666667 - var(--gov-form-switch-xs-indicator-height, 1.25rem) + var(--gov-form-switch-xs-toggle-offset, 0.051875rem) - 0.0625rem)}.gov-form-switch[size=s] .gov-form-label__label{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);margin-bottom:0;margin-left:calc((var(--gov-form-switch-s-indicator-height, 1.375rem) * 1.6666666667 + var(--gov-form-switch-s-gap, 0.75rem)) * -1);padding-top:calc((var(--gov-form-switch-s-indicator-height, 1.375rem) - var(--gov-text-s-font-size) * 1.5) / 2);padding-left:calc(var(--gov-form-switch-s-indicator-height, 1.375rem) * 1.6666666667 + var(--gov-form-switch-s-gap, 0.75rem))}.gov-form-switch[size=s] .gov-form-switch__holder{gap:var(--gov-form-switch-s-gap, 0.75rem)}.gov-form-switch[size=s] .gov-form-switch__indicator{display:block;width:calc(var(--gov-form-switch-s-indicator-height, 1.375rem) * 1.6666666667);height:var(--gov-form-switch-s-indicator-height, 1.375rem);border-radius:calc(var(--gov-form-switch-s-indicator-height, 1.375rem) * 0.5)}.gov-form-switch[size=s] .gov-form-switch__indicator::before{top:calc(var(--gov-form-switch-s-toggle-offset, 0.0575rem) - 0.0625rem);left:calc(var(--gov-form-switch-s-toggle-offset, 0.0575rem) - 0.0625rem);width:calc(var(--gov-form-switch-s-indicator-height, 1.375rem) - 2 * var(--gov-form-switch-s-toggle-offset, 0.0575rem));height:calc(var(--gov-form-switch-s-indicator-height, 1.375rem) - 2 * var(--gov-form-switch-s-toggle-offset, 0.0575rem))}.gov-form-switch[size=s] .gov-form-switch__input[aria-checked]+.gov-form-switch__indicator::before{left:calc(var(--gov-form-switch-s-indicator-height, 1.375rem) * 1.6666666667 - var(--gov-form-switch-s-indicator-height, 1.375rem) + var(--gov-form-switch-s-toggle-offset, 0.0575rem) - 0.0625rem)}.gov-form-switch[size=m] .gov-form-label__label{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);margin-bottom:0;margin-left:calc((var(--gov-form-switch-m-indicator-height, 1.5rem) * 1.6666666667 + var(--gov-form-switch-m-gap, 1rem)) * -1);padding-top:calc((var(--gov-form-switch-m-indicator-height, 1.5rem) - var(--gov-text-m-font-size) * 1.5) / 2);padding-left:calc(var(--gov-form-switch-m-indicator-height, 1.5rem) * 1.6666666667 + var(--gov-form-switch-m-gap, 1rem))}.gov-form-switch[size=m] .gov-form-switch__holder{gap:var(--gov-form-switch-m-gap, 1rem)}.gov-form-switch[size=m] .gov-form-switch__indicator{display:block;width:calc(var(--gov-form-switch-m-indicator-height, 1.5rem) * 1.6666666667);height:var(--gov-form-switch-m-indicator-height, 1.5rem);border-radius:calc(var(--gov-form-switch-m-indicator-height, 1.5rem) * 0.5)}.gov-form-switch[size=m] .gov-form-switch__indicator::before{top:calc(var(--gov-form-switch-m-toggle-offset, 0.0625rem) - 0.0625rem);left:calc(var(--gov-form-switch-m-toggle-offset, 0.0625rem) - 0.0625rem);width:calc(var(--gov-form-switch-m-indicator-height, 1.5rem) - 2 * var(--gov-form-switch-m-toggle-offset, 0.0625rem));height:calc(var(--gov-form-switch-m-indicator-height, 1.5rem) - 2 * var(--gov-form-switch-m-toggle-offset, 0.0625rem))}.gov-form-switch[size=m] .gov-form-switch__input[aria-checked]+.gov-form-switch__indicator::before{left:calc(var(--gov-form-switch-m-indicator-height, 1.5rem) * 1.6666666667 - var(--gov-form-switch-m-indicator-height, 1.5rem) + var(--gov-form-switch-m-toggle-offset, 0.0625rem) - 0.0625rem)}.gov-form-switch[size=l] .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:0;margin-left:calc((var(--gov-form-switch-l-indicator-height, 2rem) * 1.6666666667 + var(--gov-form-switch-l-gap, 1rem)) * -1);padding-top:calc((var(--gov-form-switch-l-indicator-height, 2rem) - var(--gov-text-l-font-size) * 1.5) / 2);padding-left:calc(var(--gov-form-switch-l-indicator-height, 2rem) * 1.6666666667 + var(--gov-form-switch-l-gap, 1rem))}.gov-form-switch[size=l] .gov-form-switch__holder{gap:var(--gov-form-switch-l-gap, 1rem)}.gov-form-switch[size=l] .gov-form-switch__indicator{display:block;width:calc(var(--gov-form-switch-l-indicator-height, 2rem) * 1.6666666667);height:var(--gov-form-switch-l-indicator-height, 2rem);border-radius:calc(var(--gov-form-switch-l-indicator-height, 2rem) * 0.5)}.gov-form-switch[size=l] .gov-form-switch__indicator::before{top:calc(var(--gov-form-switch-l-toggle-offset, 0.083125rem) - 0.0625rem);left:calc(var(--gov-form-switch-l-toggle-offset, 0.083125rem) - 0.0625rem);width:calc(var(--gov-form-switch-l-indicator-height, 2rem) - 2 * var(--gov-form-switch-l-toggle-offset, 0.083125rem));height:calc(var(--gov-form-switch-l-indicator-height, 2rem) - 2 * var(--gov-form-switch-l-toggle-offset, 0.083125rem))}.gov-form-switch[size=l] .gov-form-switch__input[aria-checked]+.gov-form-switch__indicator::before{left:calc(var(--gov-form-switch-l-indicator-height, 2rem) * 1.6666666667 - var(--gov-form-switch-l-indicator-height, 2rem) + var(--gov-form-switch-l-toggle-offset, 0.083125rem) - 0.0625rem)}';const b=class{constructor(r){o(this,r);this.govFocus=i(this,"gov-focus",7);this.govBlur=i(this,"gov-blur",7);this.govChange=i(this,"gov-change",7);this.value=undefined;this.noLabel=false;this.checked=false;this.required=false;this.disabled=undefined;this.name=undefined;this.size="m";this.identifier=undefined;this.invalid=undefined;this.wcagDescribedBy=undefined;this.wcagLabelledBy=undefined;this.checkboxId=s("GovCheckbox");this.h=v(this.host);this.f=c(this.h)}validateSize(o){a(h,o,g.root)}componentWillLoad(){this.f.passAttrToControl("type","switch")}async componentDidRender(){this.f.passAttrToLabel("identifier",this.identifier||this.checkboxId);this.f.passAttrToLabel("required",String(this.required));if(n()){await d(500);await this.validateWcag()}}render(){const o=o=>{if(this.noLabel){return r("label",null,o)}return o};return r(t,{class:this.h.classes(g.root),checked:this.checked,size:this.size,invalid:m(this.invalid)},r("div",{class:g.holder},o(r(w,null,r("input",{class:g.input,id:this.identifier||this.checkboxId,type:"checkbox",value:this.value,name:this.name,checked:this.checked,onClick:this.onClickHandler.bind(this),onChange:this.onChangeHandler.bind(this),onFocus:this.onFocusHandler.bind(this),onBlur:this.onBlurHandler.bind(this),ref:o=>this.inputRef=o,required:this.required,"aria-checked":this.checked,"aria-required":m(this.required),"aria-invalid":m(this.invalid),"aria-describedby":this.wcagDescribedBy,"aria-labelledby":this.wcagLabelledBy,"aria-disabled":m(this.disabled)}),r("span",{class:g.indicator}),r("slot",{name:"label"})))))}onClickHandler(o){o.stopPropagation()}onFocusHandler(o){o.stopPropagation();this.govFocus.emit({component:g.root,checked:this.checked,value:this.value,originalEvent:o})}onBlurHandler(o){o.stopPropagation();this.govBlur.emit({component:g.root,checked:this.checked,value:this.value,originalEvent:o})}onChangeHandler(o){this.checked=o.target.checked;o.stopPropagation();this.govChange.emit({component:g.root,checked:this.checked,value:this.value,originalEvent:o})}async getRef(){return this.inputRef}async validateWcag(){f(this.wcagDescribedBy,"wcag-described-by",g.root);f(this.wcagLabelledBy,"wcag-labelled-by",g.root);l(this.identifier||this.checkboxId,this.wcagLabelledBy,g.root)}get host(){return e(this)}static get watchers(){return{size:["validateSize"]}}};b.style=p;export{b as gov_form_switch};
2
- //# sourceMappingURL=p-3cd5b6cb.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-form/switch/gov-form-switch.scss?tag=gov-form-switch","../../../packages/core/src/components/gov-form/switch/gov-form-switch.tsx"],"names":["govFormSwitchCss","GovFormSwitch","[object Object]","hostRef","this","checkboxId","createID","h","govHost","host","f","govForm","newValue","validateProp","FormSwitchSizes","FormSwitchClass","root","passAttrToControl","passAttrToLabel","identifier","String","required","canValidateWcagOnRender","delay","validateWcag","wrapCheckbox","children","noLabel","Host","class","classes","checked","size","invalid","toBoolAttrIfDefined","holder","Fragment","input","id","type","value","name","onClick","onClickHandler","bind","onChange","onChangeHandler","onFocus","onFocusHandler","onBlur","onBlurHandler","ref","el","inputRef","aria-checked","aria-required","aria-invalid","aria-describedby","wcagDescribedBy","aria-labelledby","wcagLabelledBy","aria-disabled","disabled","indicator","e","stopPropagation","govFocus","emit","component","originalEvent","govBlur","target","govChange","validateWcagRef","validateWcagLabelFor"],"mappings":"+hBAAA,MAAMA,EAAmB,ksUCmBZC,EAAa,MAOzBC,YAAAC,2JAe6D,mBAIX,oBAKb,4DAaS,kHApC7CC,KAAKC,WAAaC,EAAS,eAE3BF,KAAKG,EAAIC,EAAQJ,KAAKK,MACtBL,KAAKM,EAAIC,EAAQP,KAAKG,GAgEvBL,aAAaU,GACZC,EAAaC,EAAiBF,EAAUG,EAAgBC,MAGzDd,oBACCE,KAAKM,EAAEO,kBAAkB,OAAQ,UAGlCf,2BACCE,KAAKM,EAAEQ,gBAAgB,aAAcd,KAAKe,YAAcf,KAAKC,YAC7DD,KAAKM,EAAEQ,gBAAgB,WAAYE,OAAOhB,KAAKiB,WAC/C,GAAIC,IAA2B,OACxBC,EAAM,WACNnB,KAAKoB,gBAIbtB,SACC,MAAMuB,EAAgBC,IACrB,GAAItB,KAAKuB,QAAS,CACjB,OACCpB,EAAA,QAAA,KACEmB,GAIJ,OAAOA,GAGR,OACCnB,EAACqB,EAAI,CAACC,MAAOzB,KAAKG,EAAEuB,QAAQf,EAAgBC,MAAOe,QAAS3B,KAAK2B,QAASC,KAAM5B,KAAK4B,KAAMC,QAASC,EAAoB9B,KAAK6B,UAC5H1B,EAAA,MAAA,CAAKsB,MAAOd,EAAgBoB,QAC1BV,EACAlB,EAAC6B,EAAQ,KACR7B,EAAA,QAAA,CACCsB,MAAOd,EAAgBsB,MACvBC,GAAIlC,KAAKe,YAAcf,KAAKC,WAC5BkC,KAAK,WACLC,MAAOpC,KAAKoC,MACZC,KAAMrC,KAAKqC,KACXV,QAAS3B,KAAK2B,QACdW,QAAStC,KAAKuC,eAAeC,KAAKxC,MAClCyC,SAAUzC,KAAK0C,gBAAgBF,KAAKxC,MACpC2C,QAAS3C,KAAK4C,eAAeJ,KAAKxC,MAClC6C,OAAQ7C,KAAK8C,cAAcN,KAAKxC,MAChC+C,IAAKC,GAAOhD,KAAKiD,SAAWD,EAC5B/B,SAAUjB,KAAKiB,SAAQiC,eACTlD,KAAK2B,QAAOwB,gBACXrB,EAAoB9B,KAAKiB,UAASmC,eACnCtB,EAAoB9B,KAAK6B,SAAQwB,mBAC7BrD,KAAKsD,gBAAeC,kBACrBvD,KAAKwD,eAAcC,gBACrB3B,EAAoB9B,KAAK0D,YAEzCvD,EAAA,OAAA,CAAMsB,MAAOd,EAAgBgD,YAC7BxD,EAAA,OAAA,CAAMkC,KAAK,cAQTvC,eAAe8D,GACtBA,EAAEC,kBAGK/D,eAAe8D,GACtBA,EAAEC,kBACF7D,KAAK8D,SAASC,KAAK,CAClBC,UAAWrD,EAAgBC,KAC3Be,QAAS3B,KAAK2B,QACdS,MAAOpC,KAAKoC,MACZ6B,cAAeL,IAIT9D,cAAc8D,GACrBA,EAAEC,kBACF7D,KAAKkE,QAAQH,KAAK,CACjBC,UAAWrD,EAAgBC,KAC3Be,QAAS3B,KAAK2B,QACdS,MAAOpC,KAAKoC,MACZ6B,cAAeL,IAIT9D,gBAAgB8D,GACvB5D,KAAK2B,QAAWiC,EAAEO,OAA4BxC,QAC9CiC,EAAEC,kBACF7D,KAAKoE,UAAUL,KAAK,CACnBC,UAAWrD,EAAgBC,KAC3Be,QAAS3B,KAAK2B,QACdS,MAAOpC,KAAKoC,MACZ6B,cAAeL,IAQjB9D,eACC,OAAOE,KAAKiD,SAObnD,qBACCuE,EAAgBrE,KAAKsD,gBAAiB,oBAAqB3C,EAAgBC,MAC3EyD,EAAgBrE,KAAKwD,eAAgB,mBAAoB7C,EAAgBC,MACzE0D,EAAqBtE,KAAKe,YAAcf,KAAKC,WAAYD,KAAKwD,eAAgB7C,EAAgBC","sourcesContent":["/*\n * Switch\n */\n\n$class: \".gov-form-switch\";\n$indicator-ratio: calc(5 / 3);\n\n#{$class} {\n\tposition: relative;\n\tdisplay: flex;\n\t&__holder {\n\t\tdisplay: inline-flex;\n\t}\n\t&__input {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tz-index: 1;\n\t\tmargin: 0;\n\t\tappearance: none;\n\t}\n\t.gov-form-label__label {\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\tmargin-bottom: 0;\n\t\tcolor: $form-switch-color;\n\t}\n\t&__indicator {\n\t\tposition: relative;\n\t\tflex: 0 0 auto;\n\t\tborder: $form-switch-indicator-border;\n\t\tbackground-color: $form-switch-indicator-bg;\n\t\ttransition: $t linear background-color;\n\t\t&::before {\n\t\t\t@include pseudo();\n\t\t\tborder-radius: 50%;\n\t\t\tbackground-color: $form-switch-indicator-circle-bg;\n\t\t\ttransition: $t linear left;\n\t\t\tbox-shadow: $form-switch-indicator-circle-box-shadow;\n\t\t}\n\t}\n\n\t// STATES\n\t// focus\n\t&__input:focus-visible ~ &__indicator {\n\t\toutline: $outline;\n\t}\n\t// checked\n\t&__input:checked + &__indicator {\n\t\tborder-color: $form-switch-indicator-bg-checked;\n\t\tbackground-color: $form-switch-indicator-bg-checked;\n\t}\n\n\t// disabled\n\t@include parameter(\"disabled\") {\n\t\tpointer-events: none;\n\t\t.gov-form-label__label {\n\t\t\tcolor: $form-state-color-disabled;\n\t\t}\n\t\t#{$class} {\n\t\t\t&__indicator {\n\t\t\t\t&::before {\n\t\t\t\t\tbackground: $form-state-bg-input-disabled;\n\t\t\t\t}\n\t\t\t}\n\t\t\t&__input:checked + #{$class}__indicator {\n\t\t\t\tborder-color: $form-state-bg-disabled;\n\t\t\t\tbackground-color: $form-state-bg-disabled;\n\t\t\t}\n\t\t}\n\t}\n\n\t// invalid\n\t@include parameter(\"invalid\") {\n\t\t.gov-form-label__label {\n\t\t\tcolor: $form-state-color-error;\n\t\t}\n\t\t#{$class} {\n\t\t\t&__indicator {\n\t\t\t\tborder-color: $form-state-color-error;\n\t\t\t}\n\t\t\t&__input:checked + #{$class}__indicator {\n\t\t\t\tbackground-color: $form-state-color-error;\n\t\t\t}\n\t\t}\n\t}\n\n\t// sizes\n\t@each $size, $definitions in $form-switch-sizes {\n\t\t$indicator-width: calc(get(\"indicator-height\", $definitions) * $indicator-ratio);\n\t\t$indicator-height: get(\"indicator-height\", $definitions);\n\t\t$border-offset: calc(get(\"toggle-offset\", $definitions) - rem-calc(1));\n\n\t\t&[size=\"#{$size}\"] {\n\t\t\t.gov-form-label__label {\n\t\t\t\t@include typography($size);\n\t\t\t\tmargin-bottom: 0;\n\t\t\t\tmargin-left: calc(($indicator-width + get(\"gap\", $definitions)) * -1);\n\t\t\t\tpadding-top: calc(($indicator-height - (var(--gov-text-#{$size}-font-size) * 1.5)) / 2);\n\t\t\t\tpadding-left: calc($indicator-width + get(\"gap\", $definitions));\n\t\t\t}\n\t\t\t#{$class} {\n\t\t\t\t&__holder {\n\t\t\t\t\tgap: get(\"gap\", $definitions);\n\t\t\t\t}\n\t\t\t\t&__indicator {\n\t\t\t\t\tdisplay: block;\n\t\t\t\t\twidth: $indicator-width;\n\t\t\t\t\theight: $indicator-height;\n\t\t\t\t\tborder-radius: calc($indicator-height * 0.5);\n\t\t\t\t\t&::before {\n\t\t\t\t\t\ttop: $border-offset;\n\t\t\t\t\t\tleft: $border-offset;\n\t\t\t\t\t\twidth: calc($indicator-height - (2 * get(\"toggle-offset\", $definitions)));\n\t\t\t\t\t\theight: calc($indicator-height - (2 * get(\"toggle-offset\", $definitions)));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// STATES\n\t\t\t\t&__input[aria-checked] + #{$class}__indicator {\n\t\t\t\t\t&::before {\n\t\t\t\t\t\tleft: calc($indicator-width - $indicator-height + $border-offset);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Host, h, Prop, Event, EventEmitter, Element, Watch, Method } from \"@stencil/core\"\nimport { createID } from \"../../../utils/string.utils\"\nimport { validateProp } from \"../../../helpers/Validate/props\"\nimport { FormSwitchClass, FormSwitchSizes, FormSwitchSizesType } from \"./constants\"\nimport { toBoolAttrIfDefined } from \"../../../helpers/Dom/template\"\nimport { validateWcagLabelFor, validateWcagRef } from \"../../../helpers/Validate/wcag\"\nimport { canValidateWcagOnRender } from \"../../../helpers/Dom/win\"\nimport { delay } from \"../../../utils/utils\"\nimport { GovForm } from \"../../../helpers/Dom/form.types\"\nimport { govHost } from \"../../../helpers/Dom/template\"\nimport { GovHost } from \"../../../helpers/Dom/template.types\"\nimport { govForm } from \"../../../helpers/Dom/form\"\nimport Fragment from \"../../../helpers/Fragment\"\nimport { FormSwitchEvent } from \"./gov-form-switch.types\"\n\n@Component({\n\ttag: \"gov-form-switch\",\n\tstyleUrl: \"gov-form-switch.scss\",\n})\nexport class GovFormSwitch {\n\tprivate readonly h: GovHost\n\tprivate f: GovForm\n\tprivate inputRef?: HTMLInputElement\n\n\tprivate readonly checkboxId: string\n\n\tconstructor() {\n\t\tthis.checkboxId = createID(\"GovCheckbox\")\n\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormSwitchElement\n\t/**\n\t * Value of switch\n\t */\n\t@Prop() readonly value: string\n\t/**\n\t * When you can't use the form label.\n\t */\n\t@Prop({ attribute: \"no-label\" }) readonly noLabel: boolean = false\n\t/**\n\t * Switch default state\n\t */\n\t@Prop({ reflect: true, mutable: true }) checked = false\n\t/**\n\t * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\n\t */\n\t@Prop() readonly required: boolean = false\n\t/**\n\t * Makes the switch component disabled.\n\t * This prevents users from being able to interact with the switch, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop() readonly disabled: boolean\n\t/**\n\t * Name of the switch.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Switch's size.\n\t */\n\t@Prop() readonly size?: FormSwitchSizesType = \"m\"\n\t/**\n\t * Custom switch identifier.\n\t */\n\t@Prop({ attribute: \"identifier\" }) readonly identifier: string\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop() readonly invalid: boolean\n\t/**\n\t * Indicates the id of a component that describes the input.\n\t */\n\t@Prop({ attribute: \"wcag-described-by\" }) readonly wcagDescribedBy: string\n\t/**\n\t * Indicates the id of a component that labels the input.\n\t */\n\t@Prop({ attribute: \"wcag-labelled-by\" }) readonly wcagLabelledBy: string\n\t/**\n\t * Emitted when the switch has focus.\n\t */\n\t@Event({ eventName: \"gov-focus\" }) govFocus: EventEmitter<FormSwitchEvent>\n\t/**\n\t * Emitted when the switch loses focus.\n\t */\n\t@Event({ eventName: \"gov-blur\" }) govBlur: EventEmitter<FormSwitchEvent>\n\t/**\n\t * Emitted when the switch change value.\n\t */\n\t@Event({ eventName: \"gov-change\" }) govChange: EventEmitter<FormSwitchEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormSwitchSizes, newValue, FormSwitchClass.root)\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.f.passAttrToControl(\"type\", \"switch\")\n\t}\n\n\tasync componentDidRender() {\n\t\tthis.f.passAttrToLabel('identifier', this.identifier || this.checkboxId)\n\t\tthis.f.passAttrToLabel('required', String(this.required))\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\tconst wrapCheckbox = (children) => {\n\t\t\tif (this.noLabel) {\n\t\t\t\treturn (\n\t\t\t\t\t<label>\n\t\t\t\t\t\t{children}\n\t\t\t\t\t</label>\n\t\t\t\t)\n\t\t\t}\n\t\t\treturn children\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(FormSwitchClass.root)} checked={this.checked} size={this.size} invalid={toBoolAttrIfDefined(this.invalid)}>\n\t\t\t\t<div class={FormSwitchClass.holder}>\n\t\t\t\t\t{wrapCheckbox(\n\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tclass={FormSwitchClass.input}\n\t\t\t\t\t\t\t\tid={this.identifier || this.checkboxId}\n\t\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\t\tchecked={this.checked}\n\t\t\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\n\t\t\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\t\taria-checked={this.checked}\n\t\t\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\t\t\taria-describedby={this.wcagDescribedBy}\n\t\t\t\t\t\t\t\taria-labelledby={this.wcagLabelledBy}\n\t\t\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<span class={FormSwitchClass.indicator}></span>\n\t\t\t\t\t\t\t<slot name=\"label\"></slot>\n\t\t\t\t\t\t</Fragment>,\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: Event) {\n\t\te.stopPropagation()\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormSwitchClass.root,\n\t\t\tchecked: this.checked,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormSwitchClass.root,\n\t\t\tchecked: this.checked,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e\n\t\t})\n\t}\n\n\tprivate onChangeHandler(e: Event) {\n\t\tthis.checked = (e.target as HTMLInputElement).checked\n\t\te.stopPropagation()\n\t\tthis.govChange.emit({\n\t\t\tcomponent: FormSwitchClass.root,\n\t\t\tchecked: this.checked,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e\n\t\t})\n\t}\n\n\t/**\n\t * Returns the reference of the native element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagRef(this.wcagDescribedBy, \"wcag-described-by\", FormSwitchClass.root)\n\t\tvalidateWcagRef(this.wcagLabelledBy, \"wcag-labelled-by\", FormSwitchClass.root)\n\t\tvalidateWcagLabelFor(this.identifier || this.checkboxId, this.wcagLabelledBy, FormSwitchClass.root)\n\t}\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{r as a,c as i,h as t,H as s,g as o}from"./p-4af5e4f4.js";import{v as r}from"./p-26acf964.js";import{A as e,a as n,b as p}from"./p-a5d69694.js";import{V as c}from"./p-ff7365ae.js";import{v as d}from"./p-670b4f93.js";import{c as m}from"./p-c20102ff.js";import{d as f}from"./p-03990da5.js";import{g as h}from"./p-3f37ddb6.js";import"./p-561fa17b.js";import"./p-55500e5a.js";import"./p-24636c53.js";const l=".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-accordion{position:relative;display:block;width:100%}.gov-accordion[no-border] .gov-accordion-item__header::before{background-color:transparent !important}";const g=class{constructor(t){a(this,t);this.govChange=i(this,"gov-change",7);this.size="m";this.variant="primary";this.noBorder=false;this.wcagLabel=undefined;this.wcagLabelledBy=undefined;this.h=h(this.host)}validateSize(a){r(p,a,n.root)}validateVariant(a){r(c,a,n.root)}componentWillLoad(){this.validateSize(this.size);this.validateVariant(this.variant)}componentDidLoad(){this.host.querySelectorAll(e.root).forEach((a=>{a.addEventListener("gov-change",(a=>{a.stopPropagation();this.govChange.emit({component:n.root,open:a.detail.open,ref:a.detail.ref})}))}))}async componentDidRender(){if(m()){await f(500);await this.validateWcag()}}render(){return t(s,{class:this.h.classes(n.root),size:this.size,variant:this.variant},t("div",{role:"list","arial-label":this.wcagLabel,"arial-labelledby":this.wcagLabelledBy},t("slot",null)))}async validateWcag(){d(this.wcagLabel,this.wcagLabelledBy,n.root)}get host(){return o(this)}static get watchers(){return{size:["validateSize"],variant:["validateVariant"]}}};g.style=l;export{g as gov_accordion};
2
- //# sourceMappingURL=p-3da88ddb.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-accordion/gov-accordion.scss?tag=gov-accordion","../../../packages/core/src/components/gov-accordion/gov-accordion.tsx"],"names":["govAccordionCss","GovAccordion","[object Object]","hostRef","this","h","govHost","host","newValue","validateProp","AccordionSizes","AccordionClass","root","Variants","validateSize","size","validateVariant","variant","querySelectorAll","AccordionItemClass","forEach","child","addEventListener","e","stopPropagation","govChange","emit","component","open","detail","ref","canValidateWcagOnRender","delay","validateWcag","Host","class","classes","role","arial-label","wcagLabel","arial-labelledby","wcagLabelledBy","validateWcagLabel"],"mappings":"kZAAA,MAAMA,EAAkB,+fCeXC,EAAY,MAGxBC,YAAAC,6DAQ4C,iBAIM,wBAIa,6DAf9DC,KAAKC,EAAIC,EAAQF,KAAKG,MA8BvBL,aAAaM,GACZC,EAAaC,EAAgBF,EAAUG,EAAeC,MAIvDV,gBAAgBM,GACfC,EAAaI,EAAUL,EAAUG,EAAeC,MAGjDV,oBACCE,KAAKU,aAAaV,KAAKW,MACvBX,KAAKY,gBAAgBZ,KAAKa,SAG3Bf,mBACCE,KAAKG,KAAKW,iBAAiBC,EAAmBP,MAAMQ,SAASC,IAC5DA,EAAMC,iBAAiB,cAAeC,IACrCA,EAAEC,kBACFpB,KAAKqB,UAAUC,KAAK,CACnBC,UAAWhB,EAAeC,KAC1BgB,KAAML,EAAEM,OAAOD,KACfE,IAAKP,EAAEM,OAAOC,YAMlB5B,2BACC,GAAI6B,IAA2B,OACxBC,EAAM,WACN5B,KAAK6B,gBAIb/B,SACC,OACCG,EAAC6B,EAAI,CAACC,MAAO/B,KAAKC,EAAE+B,QAAQzB,EAAeC,MAAOG,KAAMX,KAAKW,KAAME,QAASb,KAAKa,SAChFZ,EAAA,MAAA,CAAKgC,KAAM,OAAMC,cAAelC,KAAKmC,UAASC,mBAAoBpC,KAAKqC,gBACtEpC,EAAA,OAAA,QAUJH,qBACCwC,EAAkBtC,KAAKmC,UAAWnC,KAAKqC,eAAgB9B,EAAeC","sourcesContent":["/*\n * Accordion\n */\n\n$class: \".gov-accordion\";\n\n#{$class} {\n\t@include base();\n\n\t&[no-border] {\n\t\t.gov-accordion-item__header::before {\n\t\t\tbackground-color: transparent !important;\n\t\t}\n\t}\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from '@stencil/core'\nimport { validateProp } from '../../helpers/Validate/props'\nimport { AccordionClass, AccordionSizes, AccordionSizeType, AccordionItemClass, AccordionVariantType } from './constants'\nimport { Variants } from '../../core/constants/variants'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { AccordionEvent, AccordionItemEvent } from \"./gov-accordion.types\"\n\n@Component({\n\ttag: 'gov-accordion',\n\tstyleUrl: 'gov-accordion.scss',\n})\nexport class GovAccordion {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovAccordionElement\n\t/**\n\t * Accordion’s size.\n\t */\n\t@Prop() readonly size?: AccordionSizeType = 'm'\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly variant?: AccordionVariantType = 'primary'\n\t/**\n\t * Accordion item underline\n\t */\n\t@Prop({ attribute: 'no-border' }) readonly noBorder: boolean = false\n\t/**\n\t * Adds accessible label for the accordion that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: 'wcag-labelled-by' }) readonly wcagLabelledBy: string\n\t/**\n\t * Called when the accordion state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<AccordionEvent>\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(AccordionSizes, newValue, AccordionClass.root)\n\t}\n\n\t@Watch('variant')\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(Variants, newValue, AccordionClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateVariant(this.variant)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(AccordionItemClass.root).forEach((child: HTMLGovAccordionItemElement) => {\n\t\t\tchild.addEventListener('gov-change', (e: CustomEvent<AccordionItemEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit({\n\t\t\t\t\tcomponent: AccordionClass.root,\n\t\t\t\t\topen: e.detail.open,\n\t\t\t\t\tref: e.detail.ref\n\t\t\t\t})\n\t\t\t})\n\t\t})\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(AccordionClass.root)} size={this.size} variant={this.variant}>\n\t\t\t\t<div role={'list'} arial-label={this.wcagLabel} arial-labelledby={this.wcagLabelledBy}>\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\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, AccordionClass.root)\n\t}\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{r as t,h as a,H as e,g as s}from"./p-4af5e4f4.js";import{N as i}from"./p-a6d14a47.js";import{v as o}from"./p-670b4f93.js";import{c as n}from"./p-c20102ff.js";import{d as r}from"./p-03990da5.js";import"./p-561fa17b.js";import"./p-24636c53.js";const p=".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-nav{position:relative;display:block;width:100%;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);background:var(--gov-nav-bg, var(--gov-color-primary));font-weight:bold;letter-spacing:0.0125em;text-transform:uppercase}@media (min-width: 48em){.gov-nav{text-align:center}.gov-nav__nav{display:flex;justify-content:space-between}}";const c=class{constructor(a){t(this,a);this.wcagLabel=undefined;this.wcagLabelledBy=undefined}async componentDidRender(){if(n()){await r(500);await this.validateWcag()}}render(){return a(e,{class:i.root},a("nav",{class:i.nav,role:"list","arial-label":this.wcagLabel,"arial-labelledby":this.wcagLabelledBy},a("slot",null)))}async validateWcag(){o(this.wcagLabel,this.wcagLabelledBy,i.root)}get host(){return s(this)}};c.style=p;export{c as gov_nav};
2
- //# sourceMappingURL=p-3e1a1bd4.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-nav/gov-nav.scss?tag=gov-nav","../../../packages/core/src/components/gov-nav/gov-nav.tsx"],"names":["govNavCss","GovNav","[object Object]","canValidateWcagOnRender","delay","this","validateWcag","h","Host","class","NavClass","root","nav","role","arial-label","wcagLabel","arial-labelledby","wcagLabelledBy","validateWcagLabel"],"mappings":"yPAAA,MAAMA,EAAY,oyBCULC,EAAM,sFAYlBC,2BACC,GAAIC,IAA2B,OACxBC,EAAM,WACNC,KAAKC,gBAIbJ,SACC,OACCK,EAACC,EAAI,CAACC,MAAOC,EAASC,MACrBJ,EAAA,MAAA,CAAKE,MAAOC,EAASE,IAAKC,KAAM,OAAMC,cAAeT,KAAKU,UAASC,mBAAoBX,KAAKY,gBAC3FV,EAAA,OAAA,QAUJL,qBACCgB,EAAkBb,KAAKU,UAAWV,KAAKY,eAAgBP,EAASC","sourcesContent":["/*\n * Nav\n */\n\n$class: \".gov-nav\";\n\n#{$class} {\n\t@include base();\n\t@include typography($font-size-s);\n\tbackground: $nav-bg;\n\tfont-weight: bold;\n\tletter-spacing: 0.0125em;\n\ttext-transform: uppercase;\n\n\t// MQ\n\t@include mq($from: md) {\n\t\ttext-align: center;\n\t\t&__nav {\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Method, Prop } from '@stencil/core'\nimport { NavClass } from './constants'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\n\n@Component({\n\ttag: 'gov-nav',\n\tstyleUrl: 'gov-nav.scss',\n})\nexport class GovNav {\n\t@Element() readonly host: HTMLGovNavElement\n\n\t/**\n\t * Adds accessible label for the accordion that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: 'wcag-labelled-by' }) readonly wcagLabelledBy: string\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={NavClass.root}>\n\t\t\t\t<nav class={NavClass.nav} role={'list'} arial-label={this.wcagLabel} arial-labelledby={this.wcagLabelledBy}>\n\t\t\t\t\t<slot />\n\t\t\t\t</nav>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, NavClass.root)\n\t}\n}\n"]}
@@ -1,2 +0,0 @@
1
- const e=e=>{if(Array.isArray(e)===false)return;return e.filter((e=>!!e)).join(" ").trim()};const t=e=>{const t=e.querySelector("slot");if(t){return t.assignedNodes().filter((e=>e.nodeName!=="#text"))}return[]};const r=e=>e?"true":"false";const s=e=>({get hostElement(){return e},get name(){return this.hostElement.nodeName.toLowerCase()},hasSlot(e){return!!this.getSlot(e)},getSlot(e){return this.hostElement.querySelector('[slot="'+e+'"]')},getParent(e){return this.hostElement.closest(e)},passChildAttr(e,t,r){if(Array.isArray(e)){e.forEach((e=>{this.hostElement.querySelectorAll(e).forEach((e=>e.setAttribute(t,r)))}))}else{this.hostElement.querySelectorAll(e).forEach((e=>e.setAttribute(t,r)))}},removeChildAttr(e,t){if(Array.isArray(e)){e.forEach((e=>{this.hostElement.querySelectorAll(e).forEach((e=>e.removeAttribute(t)))}))}else{this.hostElement.querySelectorAll(e).forEach((e=>e.removeAttribute(t)))}},get slottedChildren(){const e=this.hostElement.shadowRoot.querySelector("slot");if(e){return e.assignedNodes().filter((e=>e.nodeName!=="#text"))}return[]},classes(e){const t=Array.isArray(e)?e.join(" "):e;if(this.hostElement){return this.hostElement.classList.toString()+" "+t}return t}});const n=e=>{if(typeof e==="string"){return["true","True","TRUE","1"].indexOf(e)!==-1?"true":"false"}else if(typeof e==="number"){return e>0?"true":"false"}else if(typeof e==="boolean"){return e?"true":"false"}else{return e?"true":"false"}};const o=e=>{if(typeof e==="string"){return["true","True","TRUE","1","On","on","ON"].indexOf(e)!==-1?"on":"off"}else if(typeof e==="number"){return e>0?"on":"off"}else if(typeof e==="boolean"){return e?"on":"off"}else{return e?"on":"off"}};const f=e=>typeof e==="undefined"?undefined:n(e);const u=e=>typeof e==="undefined"?undefined:o(e);export{n as a,r as b,u as c,s as g,e as p,t as s,f as t};
2
- //# sourceMappingURL=p-3f37ddb6.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/helpers/Dom/template.ts"],"names":["prepareClasses","classes","Array","isArray","filter","classname","join","trim","slottedChildren","host","slotted","querySelector","assignedNodes","node","nodeName","booleanString","value","govHost","hostElement","name","this","toLowerCase","[object Object]","getSlot","element","closest","selector","forEach","querySelectorAll","child","setAttribute","removeAttribute","shadowRoot","clearClasses","classList","toString","toBoolAttr","indexOf","toOnOffAttr","toBoolAttrIfDefined","undefined","toOnOffAttrIfDefined"],"mappings":"MAIaA,EAAkBC,IAC9B,GAAIC,MAAMC,QAAQF,KAAa,MAAO,OACtC,OAAOA,EACLG,QAAOC,KAAeA,IACtBC,KAAK,KACLC,cAGUC,EAAmBC,IAC/B,MAAMC,EAAUD,EAAKE,cAAc,QACnC,GAAID,EAAS,CACZ,OAAOA,EAAQE,gBAAgBR,QAAOS,GAC9BA,EAAKC,WAAa,UAG3B,MAAO,UAGKC,EAAiBC,GACtBA,EAAQ,OAAS,cAGZC,EAAWR,IAChB,CACNS,kBACC,OAAOT,GAERU,WACC,OAAOC,KAAKF,YAAYJ,SAASO,eAElCC,QAAQH,GACP,QAASC,KAAKG,QAAQJ,IAEvBG,QAAQH,GACP,OAAOC,KAAKF,YAAYP,cAAc,UAAYQ,EAAO,OAE1DG,UAAUE,GACT,OAAOJ,KAAKF,YAAYO,QAAQD,IAEjCF,cAAcI,EAA6BP,EAAcH,GACxD,GAAId,MAAMC,QAAQuB,GAAW,CAC5BA,EAASC,SAAQD,IAChBN,KAAKF,YAAYU,iBAAiBF,GAAUC,SAAQE,GAASA,EAAMC,aAAaX,EAAMH,YAEjF,CACNI,KAAKF,YAAYU,iBAAiBF,GAAUC,SAAQE,GAASA,EAAMC,aAAaX,EAAMH,OAGxFM,gBAAgBI,EAA6BP,GAC5C,GAAIjB,MAAMC,QAAQuB,GAAW,CAC5BA,EAASC,SAAQD,IAChBN,KAAKF,YAAYU,iBAAiBF,GAAUC,SAAQE,GAASA,EAAME,gBAAgBZ,YAE9E,CACNC,KAAKF,YAAYU,iBAAiBF,GAAUC,SAAQE,GAASA,EAAME,gBAAgBZ,OAGrFX,sBACC,MAAME,EAAUU,KAAKF,YAAYc,WAAWrB,cAAc,QAC1D,GAAID,EAAS,CACZ,OAAOA,EAAQE,gBAAgBR,QAAOS,GAC9BA,EAAKC,WAAa,UAG3B,MAAO,IAERQ,QAAQrB,GACP,MAAMgC,EAAe/B,MAAMC,QAAQF,GAAWA,EAAQK,KAAK,KAAOL,EAClE,GAAImB,KAAKF,YAAa,CACrB,OAAOE,KAAKF,YAAYgB,UAAUC,WAAa,IAAMF,EAEtD,OAAOA,WAKGG,EAAcpB,IAC1B,UAAWA,IAAU,SAAU,CAC9B,MAAO,CAAC,OAAQ,OAAQ,OAAQ,KAAKqB,QAAQrB,MAAY,EAAI,OAAS,aAChE,UAAWA,IAAU,SAAU,CACrC,OAAOA,EAAQ,EAAI,OAAS,aACtB,UAAWA,IAAU,UAAW,CACtC,OAAOA,EAAQ,OAAS,YAClB,CACN,OAAOA,EAAQ,OAAS,UAInB,MAAMsB,EAAetB,IAC3B,UAAWA,IAAU,SAAU,CAC9B,MAAO,CAAC,OAAQ,OAAQ,OAAQ,IAAK,KAAM,KAAM,MAAMqB,QAAQrB,MAAY,EAAI,KAAO,WAChF,UAAWA,IAAU,SAAU,CACrC,OAAOA,EAAQ,EAAI,KAAO,WACpB,UAAWA,IAAU,UAAW,CACtC,OAAOA,EAAQ,KAAO,UAChB,CACN,OAAOA,EAAQ,KAAO,cAIXuB,EAAuBvB,UACrBA,IAAU,YAAcwB,UAAYJ,EAAWpB,SAGjDyB,EAAwBzB,UACtBA,IAAU,YAAcwB,UAAYF,EAAYtB","sourcesContent":["import { HTMLStencilElement } from '@stencil/core/internal'\nimport { GovHost } from './template.types'\nimport { Nullable } from '../../types/interfaces'\n\nexport const prepareClasses = (classes: string[]): string => {\n\tif (Array.isArray(classes) === false) return\n\treturn classes\n\t\t.filter(classname => !!classname)\n\t\t.join(' ')\n\t\t.trim()\n}\n\nexport const slottedChildren = (host: HTMLStencilElement): Node[] => {\n\tconst slotted = host.querySelector('slot') as HTMLSlotElement\n\tif (slotted) {\n\t\treturn slotted.assignedNodes().filter(node => {\n\t\t\treturn node.nodeName !== '#text'\n\t\t})\n\t}\n\treturn []\n}\n\nexport const booleanString = (value: boolean): string => {\n\treturn value ? 'true' : 'false'\n}\n\nexport const govHost = (host: HTMLStencilElement): GovHost => {\n\treturn {\n\t\tget hostElement(): HTMLStencilElement {\n\t\t\treturn host\n\t\t},\n\t\tget name(): string {\n\t\t\treturn this.hostElement.nodeName.toLowerCase()\n\t\t},\n\t\thasSlot(name: string): boolean {\n\t\t\treturn !!this.getSlot(name)\n\t\t},\n\t\tgetSlot(name: string): HTMLElement {\n\t\t\treturn this.hostElement.querySelector('[slot=\"' + name + '\"]')\n\t\t},\n\t\tgetParent(element): Nullable<HTMLElement> {\n\t\t\treturn this.hostElement.closest(element)\n\t\t},\n\t\tpassChildAttr(selector: string | string[], name: string, value: any): void {\n\t\t\tif (Array.isArray(selector)) {\n\t\t\t\tselector.forEach(selector => {\n\t\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.setAttribute(name, value))\n\t\t\t\t})\n\t\t\t} else {\n\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.setAttribute(name, value))\n\t\t\t}\n\t\t},\n\t\tremoveChildAttr(selector: string | string[], name: string): void {\n\t\t\tif (Array.isArray(selector)) {\n\t\t\t\tselector.forEach(selector => {\n\t\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.removeAttribute(name))\n\t\t\t\t})\n\t\t\t} else {\n\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.removeAttribute(name))\n\t\t\t}\n\t\t},\n\t\tget slottedChildren(): Node[] {\n\t\t\tconst slotted = this.hostElement.shadowRoot.querySelector('slot') as HTMLSlotElement\n\t\t\tif (slotted) {\n\t\t\t\treturn slotted.assignedNodes().filter(node => {\n\t\t\t\t\treturn node.nodeName !== '#text'\n\t\t\t\t})\n\t\t\t}\n\t\t\treturn []\n\t\t},\n\t\tclasses(classes: string | string[]): string {\n\t\t\tconst clearClasses = Array.isArray(classes) ? classes.join(' ') : classes\n\t\t\tif (this.hostElement) {\n\t\t\t\treturn this.hostElement.classList.toString() + ' ' + clearClasses\n\t\t\t}\n\t\t\treturn clearClasses\n\t\t},\n\t}\n}\n\nexport const toBoolAttr = (value: boolean | string | number): string => {\n\tif (typeof value === 'string') {\n\t\treturn ['true', 'True', 'TRUE', '1'].indexOf(value) !== -1 ? 'true' : 'false'\n\t} else if (typeof value === 'number') {\n\t\treturn value > 0 ? 'true' : 'false'\n\t} else if (typeof value === 'boolean') {\n\t\treturn value ? 'true' : 'false'\n\t} else {\n\t\treturn value ? 'true' : 'false'\n\t}\n}\n\nexport const toOnOffAttr = (value: boolean | string | number): string => {\n\tif (typeof value === 'string') {\n\t\treturn ['true', 'True', 'TRUE', '1', 'On', 'on', 'ON'].indexOf(value) !== -1 ? 'on' : 'off'\n\t} else if (typeof value === 'number') {\n\t\treturn value > 0 ? 'on' : 'off'\n\t} else if (typeof value === 'boolean') {\n\t\treturn value ? 'on' : 'off'\n\t} else {\n\t\treturn value ? 'on' : 'off'\n\t}\n}\n\nexport const toBoolAttrIfDefined = (value: boolean | string | number | undefined | null): undefined | string => {\n\treturn typeof value === 'undefined' ? undefined : toBoolAttr(value)\n}\n\nexport const toOnOffAttrIfDefined = (value: boolean | string | number | undefined | null): undefined | string => {\n\treturn typeof value === 'undefined' ? undefined : toOnOffAttr(value)\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{V as o}from"./p-ff7365ae.js";import{S as t}from"./p-55500e5a.js";import{p as s}from"./p-03990da5.js";const a=s(o,["PRIMARY","SECONDARY"]);const p=s(t,["_S","_M","_L"]);var r;(function(o){o["TOP"]="top";o["RIGHT"]="right";o["BOTTOM"]="bottom";o["LEFT"]="left"})(r||(r={}));const n={root:"gov-tooltip"};const c={root:"gov-tooltip-content"};export{c as T,r as a,n as b,a as c,p as d};
2
- //# sourceMappingURL=p-404f469e.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-tooltip/constants.tsx"],"names":["TooltipVariant","pick","Variants","TooltipSize","Sizes","TooltipPosition","TooltipClass","root","TooltipContentClass"],"mappings":"kHAKaA,EAAiBC,EAAKC,EAAU,CAAC,UAAW,oBAG5CC,EAAcF,EAAKG,EAAO,CAAC,KAAM,KAAM,WAGxCC,GAAZ,SAAYA,GACXA,EAAA,OAAA,MACAA,EAAA,SAAA,QACAA,EAAA,UAAA,SACAA,EAAA,QAAA,QAJD,CAAYA,IAAAA,EAAe,WAQdC,EAAe,CAC3BC,KAAM,qBAGMC,EAAsB,CAClCD,KAAM","sourcesContent":["import { Variants } from '../../core/constants/variants'\nimport { Sizes } from '../../core/constants/sizes'\nimport { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils'\n\nexport const TooltipVariant = pick(Variants, ['PRIMARY', 'SECONDARY'])\nexport type TooltipVariantType = `${ValueOf<typeof TooltipVariant>}`\n\nexport const TooltipSize = pick(Sizes, ['_S', '_M', '_L'])\nexport type TooltipSizeType = `${ValueOf<typeof TooltipSize>}`\n\nexport enum TooltipPosition {\n\tTOP = 'top',\n\tRIGHT = 'right',\n\tBOTTOM = 'bottom',\n\tLEFT = 'left',\n}\nexport type TooltipPositionType = `${ValueOf<typeof TooltipPosition>}`\n\nexport const TooltipClass = {\n\troot: 'gov-tooltip',\n}\n\nexport const TooltipContentClass = {\n\troot: 'gov-tooltip-content',\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{r as o,h as t,H as i,g as e}from"./p-4af5e4f4.js";import{T as r}from"./p-404f469e.js";import{a as n}from"./p-3f37ddb6.js";import"./p-ff7365ae.js";import"./p-55500e5a.js";import"./p-03990da5.js";const l='.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-tooltip-content{z-index:51;font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);position:absolute;display:block;width:-moz-max-content;width:max-content;max-width:var(--gov-tooltip-content-max-width, 21rem);padding:1rem;border-radius:0.1875rem;background-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300));color:var(--gov-tooltip-content-text-color, var(--gov-color-secondary));letter-spacing:0.0125rem;visibility:hidden;opacity:0;transition:opacity 0.2s ease-in}.gov-tooltip-content::before{content:"";position:absolute;display:block;width:0;height:0;border:0.625rem solid transparent}.gov-tooltip-content[is-visible=""],.gov-tooltip-content[is-visible=true i],.gov-tooltip-content[is-visible="1"]{opacity:1}.gov-tooltip[size=s] .gov-tooltip-content{--gov-tooltip-content-padding:var(--gov-tooltip-s-padding, 0.5rem);--gov-tooltip-content-arrow-size:var(--gov-tooltip-s-arrow-size, 0.4375rem);--gov-tooltip-content-letter-spacing:var(--gov-tooltip-s-letter-spacing, 0.0125rem);font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing)}.gov-tooltip[size=l] .gov-tooltip-content{--gov-tooltip-content-padding:var(--gov-tooltip-l-padding, 1rem);--gov-tooltip-content-arrow-size:var(--gov-tooltip-l-arrow-size, 0.875rem);--gov-tooltip-content-letter-spacing:var(--gov-tooltip-l-letter-spacing, 0.002rem);font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing)}.gov-tooltip[position=top] .gov-tooltip-content{bottom:100%;margin-bottom:0.625rem}.gov-tooltip[position=top] .gov-tooltip-content,.gov-tooltip[position=top] .gov-tooltip-content::before{left:50%;transform:translateX(-50%)}.gov-tooltip[position=top] .gov-tooltip-content::before{top:100%;border-bottom-width:0;border-top-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300))}.gov-tooltip[position=bottom] .gov-tooltip-content{top:100%;margin-top:0.625rem}.gov-tooltip[position=bottom] .gov-tooltip-content,.gov-tooltip[position=bottom] .gov-tooltip-content::before{left:50%;transform:translateX(-50%)}.gov-tooltip[position=bottom] .gov-tooltip-content::before{bottom:100%;border-top-width:0;border-bottom-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300))}.gov-tooltip[position=left] .gov-tooltip-content{right:100%;margin-right:0.625rem}.gov-tooltip[position=left] .gov-tooltip-content,.gov-tooltip[position=left] .gov-tooltip-content::before{top:50%;transform:translateY(-50%)}.gov-tooltip[position=left] .gov-tooltip-content::before{left:100%;border-right-width:0;border-left-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300))}.gov-tooltip[position=right] .gov-tooltip-content{left:100%;margin-left:0.625rem}.gov-tooltip[position=right] .gov-tooltip-content,.gov-tooltip[position=right] .gov-tooltip-content::before{top:50%;transform:translateY(-50%)}.gov-tooltip[position=right] .gov-tooltip-content::before{right:100%;border-left-width:0;border-right-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300))}';const p=class{constructor(t){o(this,t);this.isVisible=false}visibleContent(o){clearTimeout(this.timeout);if(o===false){this.timeout=setTimeout((()=>{this.host.style.visibility="hidden"}),250)}else{this.host.style.visibility="visible"}}render(){return t(i,{class:r.root,role:"tooltip",hidden:!this.isVisible,"aria-hidden":!n(this.isVisible),"is-visible":this.isVisible},t("slot",null))}get host(){return e(this)}static get watchers(){return{isVisible:["visibleContent"]}}};p.style=l;export{p as gov_tooltip_content};
2
- //# sourceMappingURL=p-42636ddf.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-tooltip/gov-tooltip-content.scss?tag=gov-tooltip-content","../../../packages/core/src/components/gov-tooltip/gov-tooltip-content.tsx"],"names":["govTooltipContentCss","GovTooltipContent","[object Object]","newValue","clearTimeout","this","timeout","setTimeout","host","style","visibility","h","Host","class","TooltipContentClass","root","role","hidden","isVisible","aria-hidden","toBoolAttr","is-visible"],"mappings":"yMAAA,MAAMA,EAAuB,qlHCQhBC,EAAiB,8CAOoC,MAGjEC,eAAeC,GACdC,aAAaC,KAAKC,SAClB,GAAIH,IAAa,MAAO,CACvBE,KAAKC,QAAUC,YAAW,KACzBF,KAAKG,KAAKC,MAAMC,WAAa,WAC3B,SACG,CACNL,KAAKG,KAAKC,MAAMC,WAAa,WAI/BR,SACC,OACCS,EAACC,EAAI,CAACC,MAAOC,EAAoBC,KAAMC,KAAM,UAAWC,QAASZ,KAAKa,UAASC,eAAgBC,EAAWf,KAAKa,WAAUG,aAAchB,KAAKa,WAC3IP,EAAA,OAAA","sourcesContent":["/*\n * Tooltip - Content\n */\n\n$class: \".gov-tooltip-content\";\n\n#{$class} {\n\t@include z-index(\"bar\", 1);\n\t@include typography($font-size-m);\n\tposition: absolute;\n\tdisplay: block;\n\twidth: max-content;\n\tmax-width: $tooltip-content-max-width;\n\tpadding: rem-calc(16);\n\tborder-radius: rem-calc(3);\n\tbackground-color: $tooltip-content-bg-color;\n\tcolor: $tooltip-content-text-color;\n\tletter-spacing: rem-calc(0.2);\n\tvisibility: hidden;\n\topacity: 0;\n\ttransition: opacity 0.2s ease-in;\n\t&::before {\n\t\t@include pseudo();\n\t\twidth: 0;\n\t\theight: 0;\n\t\tborder: rem-calc(10) solid transparent;\n\t}\n\n\t// STATES\n\t@include parameter(\"is-visible\") {\n\t\topacity: 1;\n\t}\n\n\t// VARIANTS\n\t@each $size, $definitions in $tooltip-content-sizes {\n\t\t.gov-tooltip[size=\"#{$size}\"] & {\n\t\t\t--#{$prefix}tooltip-content-padding: #{get(\"padding\", $definitions)};\n\t\t\t--#{$prefix}tooltip-content-arrow-size: #{get(\"arrow-size\", $definitions)};\n\t\t\t--#{$prefix}tooltip-content-letter-spacing: #{get(\"letter-spacing\", $definitions)};\n\t\t\t@include typography(get(\"typography\", $definitions));\n\t\t}\n\t}\n\t@each $position, $definitions in $tooltip-content-positions {\n\t\t$oppositeProperty: get(\"oppositeProperty\", $definitions);\n\n\t\t.gov-tooltip[position=\"#{$position}\"] & {\n\t\t\t#{$oppositeProperty}: 100%;\n\t\t\tmargin-#{$oppositeProperty}: rem-calc(10);\n\t\t\t&,\n\t\t\t&::before {\n\t\t\t\t#{get(\"directionProperty\", $definitions)}: 50%;\n\t\t\t\ttransform: #{get(\"transformFn\", $definitions) }(-50%);\n\t\t\t}\n\t\t\t&::before {\n\t\t\t\t#{$position}: 100%;\n\t\t\t\tborder-#{$oppositeProperty}-width: 0;\n\t\t\t\tborder-#{$position}-color: $tooltip-content-bg-color;\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Prop, Watch } from '@stencil/core'\nimport { TooltipContentClass } from './constants'\nimport { toBoolAttr } from '../../helpers/Dom/template'\n\n@Component({\n\ttag: 'gov-tooltip-content',\n\tstyleUrl: 'gov-tooltip-content.scss',\n})\nexport class GovTooltipContent {\n\tprivate timeout\n\n\t@Element() host: HTMLGovTooltipContentElement\n\t/**\n\t * Indicates display of tooltip content\n\t */\n\t@Prop({ attribute: 'is-visible' }) readonly isVisible: boolean = false\n\n\t@Watch('isVisible')\n\tvisibleContent(newValue: boolean): void {\n\t\tclearTimeout(this.timeout)\n\t\tif (newValue === false) {\n\t\t\tthis.timeout = setTimeout(() => {\n\t\t\t\tthis.host.style.visibility = 'hidden'\n\t\t\t}, 250)\n\t\t} else {\n\t\t\tthis.host.style.visibility = 'visible'\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={TooltipContentClass.root} role={'tooltip'} hidden={!this.isVisible} aria-hidden={!toBoolAttr(this.isVisible)} is-visible={this.isVisible}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
@@ -1,2 +0,0 @@
1
- import{r as s,c as i,h as t,H as a,g as o}from"./p-4af5e4f4.js";import{v as e}from"./p-26acf964.js";import{W as r,a as n,b as p}from"./p-64ced668.js";import{g as c}from"./p-3f37ddb6.js";import{v as m}from"./p-670b4f93.js";import{c as d}from"./p-c20102ff.js";import{d as f}from"./p-03990da5.js";import"./p-561fa17b.js";import"./p-ff7365ae.js";import"./p-55500e5a.js";import"./p-24636c53.js";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-wizzard{position:relative;display:block;width:100%}.gov-wizzard>*:last-child{margin-bottom:0}";const l=class{constructor(t){s(this,t);this.govChange=i(this,"gov-change",7);this.size="m";this.wcagLabel=undefined;this.wcagLabelledBy=undefined;this.h=c(this.host)}validateSize(s){e(p,s,n.root)}componentWillLoad(){this.validateSize(this.size)}componentDidLoad(){this.host.querySelectorAll(r.root).forEach((s=>{s.setAttribute("size",this.size);s.addEventListener("gov-change",(s=>{s.stopPropagation();this.govChange.emit(s.detail)}))}))}async componentDidRender(){if(d()){await f(500);await this.validateWcag()}}render(){return t(a,{class:this.h.classes(n.root),role:"list",size:this.size},t("slot",null))}async validateWcag(){m(this.wcagLabel,this.wcagLabelledBy,n.root)}get host(){return o(this)}static get watchers(){return{size:["validateSize"]}}};l.style=h;export{l as gov_wizzard};
2
- //# sourceMappingURL=p-42db4603.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-wizzard/gov-wizzard.scss?tag=gov-wizzard","../../../packages/core/src/components/gov-wizzard/gov-wizzard.tsx"],"names":["govWizzardCss","GovWizzard","[object Object]","hostRef","this","h","govHost","host","newValue","validateProp","WizardSizes","WizzardClass","root","validateSize","size","querySelectorAll","WizzardItemClass","forEach","child","setAttribute","addEventListener","e","stopPropagation","govChange","emit","detail","canValidateWcagOnRender","delay","validateWcag","Host","class","classes","role","validateWcagLabel","wcagLabel","wcagLabelledBy"],"mappings":"sYAAA,MAAMA,EAAgB,icCeTC,EAAU,MAItBC,YAAAC,6DAM0C,2DALzCC,KAAKC,EAAIC,EAAQF,KAAKG,MAoBfL,aAAaM,GACpBC,EAAaC,EAAaF,EAAUG,EAAaC,MAGlDV,oBACCE,KAAKS,aAAaT,KAAKU,MAGxBZ,mBACCE,KAAKG,KAAKQ,iBAAiBC,EAAiBJ,MAAMK,SAASC,IAC1DA,EAAMC,aAAa,OAAQf,KAAKU,MAChCI,EAAME,iBAAiB,cAAeC,IACrCA,EAAEC,kBACFlB,KAAKmB,UAAUC,KAAKH,EAAEI,cAKzBvB,2BACC,GAAIwB,IAA2B,OACxBC,EAAM,WACNvB,KAAKwB,gBAIb1B,SACC,OACCG,EAACwB,EAAI,CAACC,MAAO1B,KAAKC,EAAE0B,QAAQpB,EAAaC,MAAOoB,KAAK,OAAOlB,KAAMV,KAAKU,MACtET,EAAA,OAAA,OASIH,qBACN+B,EAAkB7B,KAAK8B,UAAW9B,KAAK+B,eAAgBxB,EAAaC","sourcesContent":["/*\n * Wizzard\n */\n\n$class: \".gov-wizzard\";\n\n#{$class} {\n\t@include base();\n\t@include reset-last-margin();\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from '@stencil/core'\nimport { validateProp } from '../../helpers/Validate/props'\nimport { WizzardClass, WizzardItemClass, WizardSizesType, WizardSizes } from './constants'\nimport { GovWizzardItemCustomEvent } from '../../components'\nimport { GovWizzardItemChangeEvent } from './gov-wizzard-item.d'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\n\n@Component({\n\ttag: 'gov-wizzard',\n\tstyleUrl: 'gov-wizzard.scss',\n})\nexport class GovWizzard {\n\tprivate h: GovHost\n\n\t@Element() readonly host: HTMLGovWizzardElement\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\t/**\n\t * Size of wizzard\n\t */\n\t@Prop() readonly size?: WizardSizesType = 'm'\n\t/**\n\t * Adds accessible label for the wizzard that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: 'wcag-labelled-by' }) readonly wcagLabelledBy: string\n\t/**\n\t * Called when the wizzard children state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovWizzardItemChangeEvent>\n\n\t@Watch('size')\n\tprivate validateSize(newValue: string): void {\n\t\tvalidateProp(WizardSizes, newValue, WizzardClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(WizzardItemClass.root).forEach((child: HTMLGovWizzardItemElement) => {\n\t\t\tchild.setAttribute('size', this.size)\n\t\t\tchild.addEventListener('gov-change', (e: GovWizzardItemCustomEvent<GovWizzardItemChangeEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit(e.detail)\n\t\t\t})\n\t\t})\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(WizzardClass.root)} role=\"list\" size={this.size}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tpublic async validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, WizzardClass.root)\n\t}\n}\n"]}
@@ -1,2 +0,0 @@
1
- const o={root:"gov-modal",rootPrompt:"gov-modal gov-modal--prompt",dialog:"gov-modal__dialog",inner:"gov-modal__inner",header:"gov-modal__header",icon:"gov-modal__icon",title:"gov-modal__title",content:"gov-modal__content",close:"gov-modal__close",actions:"gov-modal__actions",bodyFix:"body-fixed"};export{o as M};
2
- //# sourceMappingURL=p-45485d1c.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../packages/core/src/components/gov-modal/constants.ts"],"names":["ModalClass","root","rootPrompt","dialog","inner","header","icon","title","content","close","actions","bodyFix"],"mappings":"MAAaA,EAAa,CACzBC,KAAM,YACNC,WAAY,8BACZC,OAAQ,oBACRC,MAAO,mBACPC,OAAQ,oBACRC,KAAM,kBACNC,MAAO,mBACPC,QAAS,qBACTC,MAAO,mBACPC,QAAS,qBACTC,QAAS","sourcesContent":["export const ModalClass = {\n\troot: 'gov-modal',\n\trootPrompt: 'gov-modal gov-modal--prompt',\n\tdialog: 'gov-modal__dialog',\n\tinner: 'gov-modal__inner',\n\theader: 'gov-modal__header',\n\ticon: 'gov-modal__icon',\n\ttitle: 'gov-modal__title',\n\tcontent: 'gov-modal__content',\n\tclose: 'gov-modal__close',\n\tactions: 'gov-modal__actions',\n\tbodyFix: 'body-fixed',\n}\n"]}
@@ -1,3 +0,0 @@
1
- const t="core";let e;let n;let s=false;let l=false;let o=false;let i=false;let c=false;const f=t=>{const e=new URL(t,Wt.t);return e.origin!==Pt.location.origin?e.href:e.pathname};const r=(t,e="")=>{{return()=>{}}};const u=(t,e)=>{{return()=>{}}};const a="r";const $="o";const d="s";const h="t";const p="s-id";const y="sty-id";const m="c-id";const b="{visibility:hidden}.hydrated{visibility:inherit}";const w={};const g=t=>{t=typeof t;return t==="object"||t==="function"};const k=(t,e,...n)=>{let s=null;let l=null;let o=null;let i=false;let c=false;const f=[];const r=e=>{for(let n=0;n<e.length;n++){s=e[n];if(Array.isArray(s)){r(s)}else if(s!=null&&typeof s!=="boolean"){if(i=typeof t!=="function"&&!g(s)){s=String(s)}if(i&&c){f[f.length-1].l+=s}else{f.push(i?S(null,s):s)}c=i}}};r(n);if(e){if(e.key){l=e.key}if(e.name){o=e.name}{const t=e.className||e.class;if(t){e.class=typeof t!=="object"?t:Object.keys(t).filter((e=>t[e])).join(" ")}}}if(typeof t==="function"){return t(e===null?{}:e,f,C)}const u=S(t,null);u.o=e;if(f.length>0){u.i=f}{u.u=l}{u.$=o}return u};const S=(t,e)=>{const n={h:0,p:t,l:e,m:null,i:null};{n.o=null}{n.u=null}{n.$=null}return n};const j={};const v=t=>t&&t.p===j;const C={forEach:(t,e)=>t.map(M).forEach(e),map:(t,e)=>t.map(M).map(e).map(x)};const M=t=>({vattrs:t.o,vchildren:t.i,vkey:t.u,vname:t.$,vtag:t.p,vtext:t.l});const x=t=>{if(typeof t.vtag==="function"){const e=Object.assign({},t.vattrs);if(t.vkey){e.key=t.vkey}if(t.vname){e.name=t.vname}return k(t.vtag,e,...t.vchildren||[])}const e=S(t.vtag,t.vtext);e.o=t.vattrs;e.i=t.vchildren;e.u=t.vkey;e.$=t.vname;return e};const O=(t,e,n,s)=>{const l=r("hydrateClient",e);const o=t.shadowRoot;const i=[];const c=[];const f=null;const u=s.g=S(e,null);if(!Wt.k){U(Tt.body,Wt.k=new Map)}t[p]=n;t.removeAttribute(p);R(u,i,c,f,t,t,n);i.map((t=>{const n=t.S+"."+t.j;const s=Wt.k.get(n);const l=t.m;if(s&&Et&&s["s-en"]===""){s.parentNode.insertBefore(l,s.nextSibling)}if(!o){l["s-hn"]=e;if(s){l["s-ol"]=s;l["s-ol"]["s-nr"]=l}}Wt.k.delete(n)}));l()};const R=(t,e,n,s,l,o,i)=>{let c;let f;let r;let u;if(o.nodeType===1){c=o.getAttribute(m);if(c){f=c.split(".");if(f[0]===i||f[0]==="0"){r={h:0,S:f[0],j:f[1],v:f[2],C:f[3],p:o.tagName.toLowerCase(),m:o,o:null,i:null,u:null,$:null,l:null};e.push(r);o.removeAttribute(m);if(!t.i){t.i=[]}t.i[r.C]=r;t=r;if(s&&r.v==="0"){s[r.C]=r.m}}}for(u=o.childNodes.length-1;u>=0;u--){R(t,e,n,s,l,o.childNodes[u],i)}if(o.shadowRoot){for(u=o.shadowRoot.childNodes.length-1;u>=0;u--){R(t,e,n,s,l,o.shadowRoot.childNodes[u],i)}}}else if(o.nodeType===8){f=o.nodeValue.split(".");if(f[1]===i||f[1]==="0"){c=f[0];r={h:0,S:f[1],j:f[2],v:f[3],C:f[4],m:o,o:null,i:null,u:null,$:null,p:null,l:null};if(c===h){r.m=o.nextSibling;if(r.m&&r.m.nodeType===3){r.l=r.m.textContent;e.push(r);o.remove();if(!t.i){t.i=[]}t.i[r.C]=r;if(s&&r.v==="0"){s[r.C]=r.m}}}else if(r.S===i){if(c===d){r.p="slot";if(f[5]){o["s-sn"]=r.$=f[5]}else{o["s-sn"]=""}o["s-sr"]=true;n.push(r);if(!t.i){t.i=[]}t.i[r.C]=r}else if(c===a){{l["s-cr"]=o;o["s-cn"]=true}}}}}else if(t&&t.p==="style"){const e=S(null,o.textContent);e.m=o;e.C="0";t.i=[e]}};const U=(t,e)=>{if(t.nodeType===1){let n=0;for(;n<t.childNodes.length;n++){U(t.childNodes[n],e)}if(t.shadowRoot){for(n=0;n<t.shadowRoot.childNodes.length;n++){U(t.shadowRoot.childNodes[n],e)}}}else if(t.nodeType===8){const n=t.nodeValue.split(".");if(n[0]===$){e.set(n[1]+"."+n[2],t);t.nodeValue="";t["s-en"]=n[3]}}};const I=(t,e)=>{if(t!=null&&!g(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&2){return parseFloat(t)}if(e&1){return String(t)}return t}return t};const L=t=>Ct(t).M;const P=(t,e,n)=>{const s=L(t);return{emit:t=>T(s,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:t})}};const T=(t,e,n)=>{const s=Wt.ce(e,n);t.dispatchEvent(s);return s};const W=new WeakMap;const E=(t,e,n)=>{let s=Lt.get(t);if(At&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}Lt.set(t,s)};const N=(t,e,n,s)=>{let l=D(e);const o=Lt.get(l);t=t.nodeType===11?t:Tt;if(o){if(typeof o==="string"){t=t.head||t;let e=W.get(t);let n;if(!e){W.set(t,e=new Set)}if(!e.has(l)){if(t.host&&(n=t.querySelector(`[${y}="${l}"]`))){n.innerHTML=o}else{{n=Tt.createElement("style");n.innerHTML=o}t.insertBefore(n,t.querySelector("link"))}if(e){e.add(l)}}}else if(!t.adoptedStyleSheets.includes(o)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]}}return l};const A=t=>{const e=t.O;const n=t.M;const s=r("attachStyles",e.R);N(n.getRootNode(),e);s()};const D=(t,e)=>"sc-"+t.R;const F=(t,e,n,s,l,o)=>{if(n!==s){let i=Ot(t,e);let c=e.toLowerCase();if(e==="class"){const e=t.classList;const l=q(n);const o=q(s);e.remove(...l.filter((t=>t&&!o.includes(t))));e.add(...o.filter((t=>t&&!l.includes(t))))}else if(e==="style"){{for(const e in n){if(!s||s[e]==null){if(e.includes("-")){t.style.removeProperty(e)}else{t.style[e]=""}}}}for(const e in s){if(!n||s[e]!==n[e]){if(e.includes("-")){t.style.setProperty(e,s[e])}else{t.style[e]=s[e]}}}}else if(e==="key");else if(e==="ref"){if(s){s(t)}}else if(!i&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Ot(Pt,c)){e=c.slice(2)}else{e=c[2]+e.slice(3)}if(n){Wt.rel(t,e,n,false)}if(s){Wt.ael(t,e,s,false)}}else{const c=g(s);if((i||c&&s!==null)&&!l){try{if(!t.tagName.includes("-")){const l=s==null?"":s;if(e==="list"){i=false}else if(n==null||t[e]!=l){t[e]=l}}else{t[e]=s}}catch(t){}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){{t.removeAttribute(e)}}}else if((!i||o&4||l)&&!c){s=s===true?"":s;{t.setAttribute(e,s)}}}}};const H=/\s/;const q=t=>!t?[]:t.split(H);const V=(t,e,n,s)=>{const l=e.m.nodeType===11&&e.m.host?e.m.host:e.m;const o=t&&t.o||w;const i=e.o||w;{for(s in o){if(!(s in i)){F(l,s,o[s],undefined,n,e.h)}}}for(s in i){F(l,s,o[s],i[s],n,e.h)}};const _=(t,l,c,f)=>{const r=l.i[c];let u=0;let a;let $;let d;if(!s){o=true;if(r.p==="slot"){r.h|=r.i?2:1}}if(r.l!==null){a=r.m=Tt.createTextNode(r.l)}else if(r.h&1){a=r.m=Tt.createTextNode("")}else{a=r.m=Tt.createElement(r.h&2?"slot-fb":r.p);{V(null,r,i)}if(r.i){for(u=0;u<r.i.length;++u){$=_(t,r,u);if($){a.appendChild($)}}}}{a["s-hn"]=n;if(r.h&(2|1)){a["s-sr"]=true;a["s-cr"]=e;a["s-sn"]=r.$||"";d=t&&t.i&&t.i[c];if(d&&d.p===r.p&&t.m){z(t.m,false)}}}return a};const z=(t,e)=>{Wt.h|=1;const s=t.childNodes;for(let t=s.length-1;t>=0;t--){const l=s[t];if(l["s-hn"]!==n&&l["s-ol"]){X(l).insertBefore(l,Q(l));l["s-ol"].remove();l["s-ol"]=undefined;o=true}if(e){z(l,e)}}Wt.h&=~1};const B=(t,e,n,s,l,o)=>{let i=t["s-cr"]&&t["s-cr"].parentNode||t;let c;for(;l<=o;++l){if(s[l]){c=_(null,n,l);if(c){s[l].m=c;i.insertBefore(c,Q(e))}}}};const G=(t,e,n,s,o)=>{for(;e<=n;++e){if(s=t[e]){o=s.m;st(s);{l=true;if(o["s-ol"]){o["s-ol"].remove()}else{z(o,true)}}o.remove()}}};const J=(t,e,n,s)=>{let l=0;let o=0;let i=0;let c=0;let f=e.length-1;let r=e[0];let u=e[f];let a=s.length-1;let $=s[0];let d=s[a];let h;let p;while(l<=f&&o<=a){if(r==null){r=e[++l]}else if(u==null){u=e[--f]}else if($==null){$=s[++o]}else if(d==null){d=s[--a]}else if(K(r,$)){Y(r,$);r=e[++l];$=s[++o]}else if(K(u,d)){Y(u,d);u=e[--f];d=s[--a]}else if(K(r,d)){if(r.p==="slot"||d.p==="slot"){z(r.m.parentNode,false)}Y(r,d);t.insertBefore(r.m,u.m.nextSibling);r=e[++l];d=s[--a]}else if(K(u,$)){if(r.p==="slot"||d.p==="slot"){z(u.m.parentNode,false)}Y(u,$);t.insertBefore(u.m,r.m);u=e[--f];$=s[++o]}else{i=-1;{for(c=l;c<=f;++c){if(e[c]&&e[c].u!==null&&e[c].u===$.u){i=c;break}}}if(i>=0){p=e[i];if(p.p!==$.p){h=_(e&&e[o],n,i)}else{Y(p,$);e[i]=undefined;h=p.m}$=s[++o]}else{h=_(e&&e[o],n,o);$=s[++o]}if(h){{X(r.m).insertBefore(h,Q(r.m))}}}}if(l>f){B(t,s[a+1]==null?null:s[a+1].m,n,s,o,a)}else if(o>a){G(e,l,f)}};const K=(t,e)=>{if(t.p===e.p){if(t.p==="slot"){return t.$===e.$}{return t.u===e.u}}return false};const Q=t=>t&&t["s-ol"]||t;const X=t=>(t["s-ol"]?t["s-ol"]:t).parentNode;const Y=(t,e)=>{const n=e.m=t.m;const s=t.i;const l=e.i;const o=e.p;const c=e.l;let f;if(c===null){{if(o==="slot");else{V(t,e,i)}}if(s!==null&&l!==null){J(n,s,e,l)}else if(l!==null){if(t.l!==null){n.textContent=""}B(n,null,e,l,0,l.length-1)}else if(s!==null){G(s,0,s.length-1)}}else if(f=n["s-cr"]){f.parentNode.textContent=c}else if(t.l!==c){n.data=c}};const Z=t=>{const e=t.childNodes;let n;let s;let l;let o;let i;let c;for(s=0,l=e.length;s<l;s++){n=e[s];if(n.nodeType===1){if(n["s-sr"]){i=n["s-sn"];n.hidden=false;for(o=0;o<l;o++){c=e[o].nodeType;if(e[o]["s-hn"]!==n["s-hn"]||i!==""){if(c===1&&i===e[o].getAttribute("slot")){n.hidden=true;break}}else{if(c===1||c===3&&e[o].textContent.trim()!==""){n.hidden=true;break}}}}Z(n)}}};const tt=[];const et=t=>{let e;let n;let s;let o;let i;let c;let f=0;const r=t.childNodes;const u=r.length;for(;f<u;f++){e=r[f];if(e["s-sr"]&&(n=e["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;o=e["s-sn"];for(c=s.length-1;c>=0;c--){n=s[c];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==e["s-hn"]){if(nt(n,o)){i=tt.find((t=>t.U===n));l=true;n["s-sn"]=n["s-sn"]||o;if(i){i.I=e}else{tt.push({I:e,U:n})}if(n["s-sr"]){tt.map((t=>{if(nt(t.U,n["s-sn"])){i=tt.find((t=>t.U===n));if(i&&!t.I){t.I=i.I}}}))}}else if(!tt.some((t=>t.U===n))){tt.push({U:n})}}}}if(e.nodeType===1){et(e)}}};const nt=(t,e)=>{if(t.nodeType===1){if(t.getAttribute("slot")===null&&e===""){return true}if(t.getAttribute("slot")===e){return true}return false}if(t["s-sn"]===e){return true}return e===""};const st=t=>{{t.o&&t.o.ref&&t.o.ref(null);t.i&&t.i.map(st)}};const lt=(t,i)=>{const c=t.M;const f=t.O;const r=t.g||S(null,null);const u=v(i)?i:k(null,null,i);n=c.tagName;if(f.L){u.o=u.o||{};f.L.map((([t,e])=>u.o[e]=c[t]))}u.p=null;u.h|=4;t.g=u;u.m=r.m=c;{e=c["s-cr"];s=(f.h&1)!==0;l=false}Y(r,u);{Wt.h|=1;if(o){et(u.m);let t;let e;let n;let s;let l;let o;let i=0;for(;i<tt.length;i++){t=tt[i];e=t.U;if(!e["s-ol"]){n=Tt.createTextNode("");n["s-nr"]=e;e.parentNode.insertBefore(e["s-ol"]=n,e)}}for(i=0;i<tt.length;i++){t=tt[i];e=t.U;if(t.I){s=t.I.parentNode;l=t.I.nextSibling;n=e["s-ol"];while(n=n.previousSibling){o=n["s-nr"];if(o&&o["s-sn"]===e["s-sn"]&&s===o.parentNode){o=o.nextSibling;if(!o||!o["s-nr"]){l=o;break}}}if(!l&&s!==e.parentNode||e.nextSibling!==l){if(e!==l){if(!e["s-hn"]&&e["s-ol"]){e["s-hn"]=e["s-ol"].parentNode.nodeName}s.insertBefore(e,l)}}}else{if(e.nodeType===1){e.hidden=true}}}}if(l){Z(u.m)}Wt.h&=~1;tt.length=0}};const ot=(t,e)=>{if(e&&!t.P&&e["s-p"]){e["s-p"].push(new Promise((e=>t.P=e)))}};const it=(t,e)=>{{t.h|=16}if(t.h&4){t.h|=512;return}ot(t,t.T);const n=()=>ct(t,e);return zt(n)};const ct=(t,e)=>{const n=r("scheduleUpdate",t.O.R);const s=t.W;let l;if(e){{l=$t(s,"componentWillLoad")}}else{{l=$t(s,"componentWillUpdate")}}{l=dt(l,(()=>$t(s,"componentWillRender")))}n();return dt(l,(()=>ft(t,s,e)))};const ft=async(t,e,n)=>{const s=t.M;const l=r("update",t.O.R);const o=s["s-rc"];if(n){A(t)}const i=r("render",t.O.R);{rt(t,e)}if(o){o.map((t=>t()));s["s-rc"]=undefined}i();l();{const e=s["s-p"];const n=()=>ut(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.h|=4;e.length=0}}};const rt=(t,e,n)=>{try{e=e.render();{t.h&=~16}{t.h|=2}{{{lt(t,e)}}}}catch(e){Rt(e,t.M)}return null};const ut=t=>{const e=t.O.R;const n=t.M;const s=r("postUpdate",e);const l=t.W;const o=t.T;{$t(l,"componentDidRender")}if(!(t.h&64)){t.h|=64;{ht(n)}{$t(l,"componentDidLoad")}s();{t.N(n);if(!o){at()}}}else{s()}{t.A(n)}{if(t.P){t.P();t.P=undefined}if(t.h&512){_t((()=>it(t,false)))}t.h&=~(4|512)}};const at=e=>{{ht(Tt.documentElement)}_t((()=>T(Pt,"appload",{detail:{namespace:t}})))};const $t=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){Rt(t)}}return undefined};const dt=(t,e)=>t&&t.then?t.then(e):e();const ht=t=>t.classList.add("hydrated");const pt=(t,e)=>Ct(t).D.get(e);const yt=(t,e,n,s)=>{const l=Ct(t);const o=l.M;const i=l.D.get(e);const c=l.h;const f=l.W;n=I(n,s.F[e][0]);const r=Number.isNaN(i)&&Number.isNaN(n);const u=n!==i&&!r;if((!(c&8)||i===undefined)&&u){l.D.set(e,n);if(f){if(s.H&&c&128){const t=s.H[e];if(t){t.map((t=>{try{f[t](n,i,e)}catch(t){Rt(t,o)}}))}}if((c&(2|16))===2){it(l,false)}}}};const mt=(t,e,n)=>{if(e.F){if(t.watchers){e.H=t.watchers}const s=Object.entries(e.F);const l=t.prototype;s.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,t,{get(){return pt(this,t)},set(n){yt(this,t,n,e)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(l,t,{value(...e){const n=Ct(this);return n.q.then((()=>n.W[t](...e)))}})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(t,e,s){Wt.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e)){s=this[e];delete this[e]}else if(l.hasOwnProperty(e)&&typeof this[e]==="number"&&this[e]==s){return}this[e]=s===null&&typeof this[e]==="boolean"?false:s}))};t.observedAttributes=s.filter((([t,e])=>e[0]&15)).map((([t,s])=>{const l=s[1]||t;n.set(l,t);if(s[0]&512){e.L.push([t,l])}return l}))}}return t};const bt=async(t,e,n,s,l)=>{if((e.h&32)===0){{e.h|=32;l=It(n);if(l.then){const t=u();l=await l;t()}if(!l.isProxied){{n.H=l.watchers}mt(l,n,2);l.isProxied=true}const t=r("createInstance",n.R);{e.h|=8}try{new l(e)}catch(t){Rt(t)}{e.h&=~8}{e.h|=128}t();wt(e.W)}if(l.style){let t=l.style;const e=D(n);if(!Lt.has(e)){const s=r("registerStyles",n.R);E(e,t,!!(n.h&1));s()}}}const o=e.T;const i=()=>it(e,true);if(o&&o["s-rc"]){o["s-rc"].push(i)}else{i()}};const wt=t=>{{$t(t,"connectedCallback")}};const gt=t=>{if((Wt.h&1)===0){const e=Ct(t);const n=e.O;const s=r("connectedCallback",n.R);if(!(e.h&1)){e.h|=1;let s;{s=t.getAttribute(p);if(s){O(t,n.R,s,e)}}if(!s){if(n.h&(4|8)){kt(t)}}{let n=t;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ot(e,e.T=n);break}}}if(n.F){Object.entries(n.F).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{bt(t,e,n)}}else{wt(e.W)}s()}};const kt=t=>{const e=t["s-cr"]=Tt.createComment("");e["s-cn"]=true;t.insertBefore(e,t.firstChild)};const St=t=>{if((Wt.h&1)===0){const e=Ct(t);const n=e.W;{$t(n,"disconnectedCallback")}}};const jt=(t,e={})=>{const n=r();const s=[];const l=e.exclude||[];const o=Pt.customElements;const i=Tt.head;const c=i.querySelector("meta[charset]");const f=Tt.createElement("style");const u=[];let a;let $=true;Object.assign(Wt,e);Wt.t=new URL(e.resourcesUrl||"./",Tt.baseURI).href;{Wt.h|=2}t.map((t=>{t[1].map((e=>{const n={h:e[0],R:e[1],F:e[2],V:e[3]};{n.F=e[2]}{n.L=[]}{n.H={}}const i=n.R;const c=class extends HTMLElement{constructor(t){super(t);t=this;xt(t,n)}connectedCallback(){if(a){clearTimeout(a);a=null}if($){u.push(this)}else{Wt.jmp((()=>gt(this)))}}disconnectedCallback(){Wt.jmp((()=>St(this)))}componentOnReady(){return Ct(this)._}};n.B=t[0];if(!l.includes(i)&&!o.get(i)){s.push(i);o.define(i,mt(c,n,1))}}))}));{f.innerHTML=s+b;f.setAttribute("data-styles","");i.insertBefore(f,c?c.nextSibling:i.firstChild)}$=false;if(u.length){u.map((t=>t.connectedCallback()))}else{{Wt.jmp((()=>a=setTimeout(at,30)))}}n()};const vt=new WeakMap;const Ct=t=>vt.get(t);const Mt=(t,e)=>vt.set(e.W=t,e);const xt=(t,e)=>{const n={h:0,M:t,O:e,D:new Map};{n.q=new Promise((t=>n.A=t))}{n._=new Promise((t=>n.N=t));t["s-p"]=[];t["s-rc"]=[]}return vt.set(t,n)};const Ot=(t,e)=>e in t;const Rt=(t,e)=>(0,console.error)(t,e);const Ut=new Map;const It=(t,e,n)=>{const s=t.R.replace(/-/g,"_");const l=t.B;const o=Ut.get(l);if(o){return o[s]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((t=>{{Ut.set(l,t)}return t[s]}),Rt)};const Lt=new Map;const Pt=typeof window!=="undefined"?window:{};const Tt=Pt.document||{head:{}};const Wt={h:0,t:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)};const Et=true;const Nt=t=>Promise.resolve(t);const At=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const Dt=[];const Ft=[];const Ht=(t,e)=>n=>{t.push(n);if(!c){c=true;if(e&&Wt.h&4){_t(Vt)}else{Wt.raf(Vt)}}};const qt=t=>{for(let e=0;e<t.length;e++){try{t[e](performance.now())}catch(t){Rt(t)}}t.length=0};const Vt=()=>{qt(Dt);{qt(Ft);if(c=Dt.length>0){Wt.raf(Vt)}}};const _t=t=>Nt().then(t);const zt=Ht(Ft,true);export{j as H,f as a,jt as b,P as c,L as g,k as h,Nt as p,Mt as r};
3
- //# sourceMappingURL=p-4af5e4f4.js.map