@gov-design-system-ce/components 0.0.62 → 0.0.64

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 (739) hide show
  1. package/dist/cjs/{constants-0488d137.js → constants-25f7a6be.js} +2 -2
  2. package/dist/cjs/{constants-0488d137.js.map → constants-25f7a6be.js.map} +1 -1
  3. package/dist/cjs/{constants-23b7a283.js → constants-427a2843.js} +2 -2
  4. package/dist/cjs/constants-427a2843.js.map +1 -0
  5. package/dist/cjs/{constants-ff12205f.js → constants-a31344ad.js} +1 -1
  6. package/dist/{collection/components/gov-button/default/constants.js.map → cjs/constants-a31344ad.js.map} +1 -1
  7. package/dist/cjs/core.cjs.js +25 -2
  8. package/dist/cjs/core.cjs.js.map +1 -1
  9. package/dist/cjs/{form-f68d13c6.js → form-74063d50.js} +3 -1
  10. package/dist/cjs/form-74063d50.js.map +1 -0
  11. package/dist/cjs/gov-accordion-item.cjs.entry.js +2 -2
  12. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
  13. package/dist/cjs/gov-accordion.cjs.entry.js +2 -2
  14. package/dist/cjs/gov-app.cjs.entry.js +797 -520
  15. package/dist/cjs/gov-app.cjs.entry.js.map +1 -1
  16. package/dist/cjs/gov-attachments_3.cjs.entry.js +2 -2
  17. package/dist/cjs/gov-backdrop.cjs.entry.js +2 -2
  18. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +2 -2
  19. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
  20. package/dist/cjs/gov-button.cjs.entry.js +3 -3
  21. package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
  22. package/dist/cjs/gov-card.cjs.entry.js +2 -2
  23. package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
  24. package/dist/cjs/gov-chip.cjs.entry.js +102 -0
  25. package/dist/cjs/gov-chip.cjs.entry.js.map +1 -0
  26. package/dist/cjs/gov-container.cjs.entry.js +2 -2
  27. package/dist/cjs/gov-control-group.cjs.entry.js +2 -2
  28. package/dist/cjs/gov-cookiebar.cjs.entry.js +2 -2
  29. package/dist/cjs/gov-dropdown.cjs.entry.js +3 -3
  30. package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -1
  31. package/dist/cjs/gov-empty.cjs.entry.js +2 -2
  32. package/dist/cjs/gov-error-code.cjs.entry.js +2 -2
  33. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +2 -2
  34. package/dist/cjs/gov-form-checkbox.cjs.entry.js +5 -5
  35. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
  36. package/dist/cjs/gov-form-control.cjs.entry.js +3 -3
  37. package/dist/cjs/gov-form-file.cjs.entry.js +3 -3
  38. package/dist/cjs/gov-form-group.cjs.entry.js +13 -4
  39. package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
  40. package/dist/cjs/gov-form-input.cjs.entry.js +3 -3
  41. package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
  42. package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
  43. package/dist/cjs/gov-form-multi-select.cjs.entry.js +3 -3
  44. package/dist/cjs/gov-form-password-power.cjs.entry.js +2 -2
  45. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -1
  46. package/dist/cjs/gov-form-radio.cjs.entry.js +7 -7
  47. package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
  48. package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
  49. package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
  50. package/dist/cjs/gov-form-select.cjs.entry.js +15 -4
  51. package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
  52. package/dist/cjs/gov-form-switch.cjs.entry.js +4 -4
  53. package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
  54. package/dist/cjs/gov-grid-item.cjs.entry.js +2 -2
  55. package/dist/cjs/gov-grid.cjs.entry.js +2 -2
  56. package/dist/cjs/gov-icon.cjs.entry.js +4 -4
  57. package/dist/cjs/gov-icon.cjs.entry.js.map +1 -1
  58. package/dist/cjs/gov-infobar.cjs.entry.js +6 -5
  59. package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
  60. package/dist/cjs/gov-layout-column.cjs.entry.js +2 -2
  61. package/dist/cjs/gov-layout.cjs.entry.js +2 -2
  62. package/dist/cjs/gov-loading.cjs.entry.js +2 -2
  63. package/dist/cjs/gov-message.cjs.entry.js +2 -2
  64. package/dist/cjs/gov-modal.cjs.entry.js +8 -5
  65. package/dist/cjs/gov-modal.cjs.entry.js.map +1 -1
  66. package/dist/cjs/gov-nav-item.cjs.entry.js +1 -1
  67. package/dist/cjs/gov-nav.cjs.entry.js +1 -1
  68. package/dist/cjs/gov-pagination.cjs.entry.js +2 -2
  69. package/dist/cjs/gov-prompt.cjs.entry.js +2 -2
  70. package/dist/cjs/gov-side-nav-item.cjs.entry.js +5 -5
  71. package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +1 -1
  72. package/dist/cjs/gov-side-nav.cjs.entry.js +3 -3
  73. package/dist/cjs/gov-skeleton.cjs.entry.js +2 -2
  74. package/dist/cjs/gov-spacer.cjs.entry.js +2 -2
  75. package/dist/cjs/gov-statsbar-item.cjs.entry.js +2 -2
  76. package/dist/cjs/gov-statsbar.cjs.entry.js +2 -2
  77. package/dist/cjs/gov-stepper-item.cjs.entry.js +2 -2
  78. package/dist/cjs/gov-stepper.cjs.entry.js +2 -2
  79. package/dist/cjs/gov-tabs-item.cjs.entry.js +6 -6
  80. package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -1
  81. package/dist/cjs/gov-tabs.cjs.entry.js +26 -17
  82. package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
  83. package/dist/cjs/gov-tag.cjs.entry.js +51 -0
  84. package/dist/cjs/gov-tag.cjs.entry.js.map +1 -0
  85. package/dist/cjs/gov-tile.cjs.entry.js +2 -2
  86. package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
  87. package/dist/cjs/gov-tiles.cjs.entry.js +2 -2
  88. package/dist/cjs/gov-toast.cjs.entry.js +3 -3
  89. package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
  90. package/dist/cjs/gov-tooltip-content.cjs.entry.js +3 -3
  91. package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -1
  92. package/dist/cjs/gov-tooltip.cjs.entry.js +41 -6
  93. package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
  94. package/dist/cjs/gov-wizard-item.cjs.entry.js +2 -2
  95. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
  96. package/dist/cjs/gov-wizard.cjs.entry.js +2 -2
  97. package/dist/cjs/{index-83edd4fe.js → index-7b6bba34.js} +145 -3
  98. package/dist/cjs/index-7b6bba34.js.map +1 -0
  99. package/dist/cjs/loader.cjs.js +2 -2
  100. package/dist/cjs/{template-e1c4ff78.js → template-4b951d1d.js} +8 -1
  101. package/dist/cjs/template-4b951d1d.js.map +1 -0
  102. package/dist/collection/collection-manifest.json +4 -3
  103. package/dist/collection/components/gov-accordion/gov-accordion-item.css +5 -2
  104. package/dist/collection/components/gov-accordion/gov-accordion-item.js +1 -1
  105. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
  106. package/dist/collection/components/gov-accordion/gov-accordion.css +5 -2
  107. package/dist/collection/components/gov-app/gov-app.css +5 -2
  108. package/dist/collection/components/gov-app/gov-app.js +5 -3
  109. package/dist/collection/components/gov-app/gov-app.js.map +1 -1
  110. package/dist/collection/components/gov-attachments/gov-attachments-item.css +5 -2
  111. package/dist/collection/components/gov-attachments/gov-attachments.css +5 -2
  112. package/dist/collection/components/gov-backdrop/gov-backdrop.css +5 -2
  113. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +5 -2
  114. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +1 -1
  115. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
  116. package/dist/collection/components/gov-button/button/constants.js.map +1 -0
  117. package/dist/collection/components/gov-button/{default → button}/gov-button.css +6 -3
  118. package/dist/collection/components/gov-button/{default → button}/gov-button.js +9 -9
  119. package/dist/collection/components/gov-button/button/gov-button.js.map +1 -0
  120. package/dist/collection/components/gov-button/button/gov-button.types.js.map +1 -0
  121. package/dist/collection/components/gov-button/dropdown/gov-dropdown.css +5 -2
  122. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +1 -1
  123. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -1
  124. package/dist/collection/components/gov-card/gov-card.css +5 -2
  125. package/dist/collection/components/gov-card/gov-card.js +1 -1
  126. package/dist/collection/components/gov-card/gov-card.js.map +1 -1
  127. package/dist/collection/components/{gov-badge → gov-chip}/constants.js +5 -5
  128. package/dist/collection/components/gov-chip/constants.js.map +1 -0
  129. package/dist/collection/components/gov-chip/gov-chip.css +1270 -0
  130. package/dist/collection/components/{gov-badge/gov-badge.js → gov-chip/gov-chip.js} +150 -23
  131. package/dist/collection/components/gov-chip/gov-chip.js.map +1 -0
  132. package/dist/collection/components/gov-container/gov-container.css +5 -2
  133. package/dist/collection/components/gov-control-group/gov-control-group.css +5 -2
  134. package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +5 -2
  135. package/dist/collection/components/gov-empty/gov-empty.css +5 -2
  136. package/dist/collection/components/gov-error-code/gov-error-code.css +5 -2
  137. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +5 -2
  138. package/dist/collection/components/gov-form/checkbox/constants.js +1 -0
  139. package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -1
  140. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +8 -2
  141. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +2 -2
  142. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
  143. package/dist/collection/components/gov-form/control/gov-form-control.css +5 -2
  144. package/dist/collection/components/gov-form/file/gov-form-file.css +5 -2
  145. package/dist/collection/components/gov-form/group/gov-form-group.css +5 -2
  146. package/dist/collection/components/gov-form/group/gov-form-group.js +13 -2
  147. package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -1
  148. package/dist/collection/components/gov-form/input/gov-form-input.css +5 -2
  149. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
  150. package/dist/collection/components/gov-form/label/gov-form-label.css +5 -2
  151. package/dist/collection/components/gov-form/message/gov-form-message.css +5 -2
  152. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +5 -2
  153. package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +8 -4
  154. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
  155. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -1
  156. package/dist/collection/components/gov-form/radio/constants.js +1 -0
  157. package/dist/collection/components/gov-form/radio/constants.js.map +1 -1
  158. package/dist/collection/components/gov-form/radio/gov-form-radio.css +8 -2
  159. package/dist/collection/components/gov-form/radio/gov-form-radio.js +4 -4
  160. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
  161. package/dist/collection/components/gov-form/search/gov-form-search.css +5 -2
  162. package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
  163. package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
  164. package/dist/collection/components/gov-form/select/gov-form-select.css +5 -2
  165. package/dist/collection/components/gov-form/select/gov-form-select.js +39 -2
  166. package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
  167. package/dist/collection/components/gov-form/select/gov-form-select.types.js.map +1 -1
  168. package/dist/collection/components/gov-form/switch/gov-form-switch.css +7 -2
  169. package/dist/collection/components/gov-form/switch/gov-form-switch.js +1 -1
  170. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
  171. package/dist/collection/components/gov-grid/gov-grid-item.css +5 -2
  172. package/dist/collection/components/gov-grid/gov-grid.css +5 -2
  173. package/dist/collection/components/gov-icon/gov-icon.css +8 -2
  174. package/dist/collection/components/gov-icon/gov-icon.js +4 -10
  175. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  176. package/dist/collection/components/gov-icon/list.js +17 -11
  177. package/dist/collection/components/gov-icon/list.js.map +1 -1
  178. package/dist/collection/components/gov-infobar/{default/constants.js → constants.js} +3 -2
  179. package/dist/collection/components/gov-infobar/constants.js.map +1 -0
  180. package/dist/collection/components/gov-infobar/{default/gov-infobar.css → gov-infobar.css} +9 -3
  181. package/dist/collection/components/gov-infobar/{default/gov-infobar.js → gov-infobar.js} +12 -11
  182. package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -0
  183. package/dist/collection/components/gov-infobar/gov-infobar.types.js.map +1 -0
  184. package/dist/collection/components/gov-layout/gov-layout-column.css +5 -2
  185. package/dist/collection/components/gov-layout/gov-layout.css +5 -2
  186. package/dist/collection/components/gov-loading/loading/gov-loading.css +5 -2
  187. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +5 -2
  188. package/dist/collection/components/gov-message/gov-message.css +5 -2
  189. package/dist/collection/components/gov-modal/gov-modal.css +5 -2
  190. package/dist/collection/components/gov-modal/gov-modal.js +24 -3
  191. package/dist/collection/components/gov-modal/gov-modal.js.map +1 -1
  192. package/dist/collection/components/gov-nav/gov-nav-item.css +5 -2
  193. package/dist/collection/components/gov-nav/gov-nav.css +5 -2
  194. package/dist/collection/components/gov-pagination/gov-pagination.css +5 -2
  195. package/dist/collection/components/gov-promp/gov-prompt.css +5 -2
  196. package/dist/collection/components/gov-side-nav/constants.js +1 -1
  197. package/dist/collection/components/gov-side-nav/constants.js.map +1 -1
  198. package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +6 -3
  199. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +2 -2
  200. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +1 -1
  201. package/dist/collection/components/gov-side-nav/gov-side-nav.css +5 -2
  202. package/dist/collection/components/gov-spacer/gov-spacer.css +5 -2
  203. package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +5 -2
  204. package/dist/collection/components/gov-statsbar/gov-statsbar.css +5 -2
  205. package/dist/collection/components/gov-stepper/gov-stepper-item.css +5 -2
  206. package/dist/collection/components/gov-stepper/gov-stepper.css +5 -2
  207. package/dist/collection/components/gov-tabs/constants.js +1 -1
  208. package/dist/collection/components/gov-tabs/constants.js.map +1 -1
  209. package/dist/collection/components/gov-tabs/gov-tabs-item.css +5 -2
  210. package/dist/collection/components/gov-tabs/gov-tabs-item.js +4 -4
  211. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
  212. package/dist/collection/components/gov-tabs/gov-tabs.css +16 -14
  213. package/dist/collection/components/gov-tabs/gov-tabs.js +29 -21
  214. package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
  215. package/dist/collection/components/gov-tag/constants.js +4 -0
  216. package/dist/collection/components/gov-tag/constants.js.map +1 -0
  217. package/dist/collection/components/gov-tag/gov-tag.css +1274 -0
  218. package/dist/collection/components/gov-tag/gov-tag.js +118 -0
  219. package/dist/collection/components/gov-tag/gov-tag.js.map +1 -0
  220. package/dist/collection/components/gov-tile/container/gov-tiles.css +5 -2
  221. package/dist/collection/components/gov-tile/gov-tile.css +5 -2
  222. package/dist/collection/components/gov-tile/gov-tile.js +3 -3
  223. package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
  224. package/dist/collection/components/gov-toast/gov-toast.css +6 -3
  225. package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +14 -2
  226. package/dist/collection/components/gov-tooltip/gov-tooltip.css +6 -3
  227. package/dist/collection/components/gov-tooltip/gov-tooltip.js +40 -5
  228. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
  229. package/dist/collection/components/gov-wizard/gov-wizard-item.css +5 -2
  230. package/dist/collection/components/gov-wizard/gov-wizard-item.js +1 -1
  231. package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -1
  232. package/dist/collection/components/gov-wizard/gov-wizard.css +5 -2
  233. package/dist/collection/data/font-definitions.js +6 -6
  234. package/dist/collection/helpers/Dom/template.js +7 -0
  235. package/dist/collection/helpers/Dom/template.js.map +1 -1
  236. package/dist/collection/helpers/Dom/template.types.js.map +1 -1
  237. package/dist/collection/pages/Accordion.js +15 -15
  238. package/dist/collection/pages/Accordion.js.map +1 -1
  239. package/dist/collection/pages/{Badge.js → Chip.js} +181 -181
  240. package/dist/collection/pages/Chip.js.map +1 -0
  241. package/dist/collection/pages/Forms.js +23 -0
  242. package/dist/collection/pages/Forms.js.map +1 -1
  243. package/dist/collection/pages/Infobar.js +5 -5
  244. package/dist/collection/pages/Infobar.js.map +1 -1
  245. package/dist/collection/pages/Tabs.js +7 -7
  246. package/dist/collection/pages/Tabs.js.map +1 -1
  247. package/dist/collection/pages/Tag.js +253 -0
  248. package/dist/collection/pages/Tag.js.map +1 -0
  249. package/dist/collection/pages/ToastMessageCountdown.js +5 -5
  250. package/dist/collection/pages/ToastMessageCountdown.js.map +1 -1
  251. package/dist/collection/pages/Tooltip.js +3 -3
  252. package/dist/collection/pages/Tooltip.js.map +1 -1
  253. package/dist/components/gov-accordion-item.js +1 -1
  254. package/dist/components/gov-accordion-item.js.map +1 -1
  255. package/dist/components/gov-accordion.js +1 -1
  256. package/dist/components/gov-app.js +1 -1
  257. package/dist/components/gov-app.js.map +1 -1
  258. package/dist/components/gov-attachments-item.js +1 -1
  259. package/dist/components/gov-attachments.js +1 -1
  260. package/dist/components/gov-backdrop.js +1 -1
  261. package/dist/components/gov-breadcrumbs.js +1 -1
  262. package/dist/components/gov-breadcrumbs.js.map +1 -1
  263. package/dist/components/gov-button.js +1 -1
  264. package/dist/components/gov-card.js +1 -1
  265. package/dist/components/gov-card.js.map +1 -1
  266. package/dist/components/{gov-badge.d.ts → gov-chip.d.ts} +4 -4
  267. package/dist/components/gov-chip.js +2 -0
  268. package/dist/components/gov-container.js +1 -1
  269. package/dist/components/gov-control-group.js +1 -1
  270. package/dist/components/gov-cookiebar.js +1 -1
  271. package/dist/components/gov-dropdown.js +1 -1
  272. package/dist/components/gov-dropdown.js.map +1 -1
  273. package/dist/components/gov-empty.js +1 -1
  274. package/dist/components/gov-error-code.js +1 -1
  275. package/dist/components/gov-form-autocomplete.js +1 -1
  276. package/dist/components/gov-form-checkbox.js +1 -1
  277. package/dist/components/gov-form-checkbox.js.map +1 -1
  278. package/dist/components/gov-form-control.js +1 -1
  279. package/dist/components/gov-form-file.js +1 -1
  280. package/dist/components/gov-form-group.js +1 -1
  281. package/dist/components/gov-form-group.js.map +1 -1
  282. package/dist/components/gov-form-input.js +1 -1
  283. package/dist/components/gov-form-label.js +1 -1
  284. package/dist/components/gov-form-message.js +1 -1
  285. package/dist/components/gov-form-multi-select.js +1 -1
  286. package/dist/components/gov-form-password-power.js +1 -1
  287. package/dist/components/gov-form-password-power.js.map +1 -1
  288. package/dist/components/gov-form-radio.js +1 -1
  289. package/dist/components/gov-form-radio.js.map +1 -1
  290. package/dist/components/gov-form-search.js +1 -1
  291. package/dist/components/gov-form-search.js.map +1 -1
  292. package/dist/components/gov-form-select.js +1 -1
  293. package/dist/components/gov-form-switch.js +1 -1
  294. package/dist/components/gov-form-switch.js.map +1 -1
  295. package/dist/components/gov-grid-item.js +1 -1
  296. package/dist/components/gov-grid.js +1 -1
  297. package/dist/components/gov-icon.js +1 -1
  298. package/dist/components/gov-infobar.js +1 -1
  299. package/dist/components/gov-infobar.js.map +1 -1
  300. package/dist/components/gov-layout-column.js +1 -1
  301. package/dist/components/gov-layout.js +1 -1
  302. package/dist/components/gov-loading.js +1 -1
  303. package/dist/components/gov-message.js +1 -1
  304. package/dist/components/gov-modal.js +1 -1
  305. package/dist/components/gov-modal.js.map +1 -1
  306. package/dist/components/gov-nav-item.js +1 -1
  307. package/dist/components/gov-nav.js +1 -1
  308. package/dist/components/gov-pagination.js +1 -1
  309. package/dist/components/gov-prompt.js +1 -1
  310. package/dist/components/gov-side-nav-item.js +1 -1
  311. package/dist/components/gov-side-nav-item.js.map +1 -1
  312. package/dist/components/gov-side-nav.js +1 -1
  313. package/dist/components/gov-side-nav.js.map +1 -1
  314. package/dist/components/gov-skeleton.js +1 -1
  315. package/dist/components/gov-skeleton.js.map +1 -1
  316. package/dist/components/gov-spacer.js +1 -1
  317. package/dist/components/gov-statsbar-item.js +1 -1
  318. package/dist/components/gov-statsbar.js +1 -1
  319. package/dist/components/gov-stepper-item.js +1 -1
  320. package/dist/components/gov-stepper.js +1 -1
  321. package/dist/components/gov-tabs-item.js +1 -1
  322. package/dist/components/gov-tabs-item.js.map +1 -1
  323. package/dist/components/gov-tabs.js +1 -1
  324. package/dist/components/gov-tabs.js.map +1 -1
  325. package/dist/components/gov-tag.d.ts +11 -0
  326. package/dist/components/gov-tag.js +2 -0
  327. package/dist/components/gov-tag.js.map +1 -0
  328. package/dist/components/gov-tile.js +1 -1
  329. package/dist/components/gov-tile.js.map +1 -1
  330. package/dist/components/gov-tiles.js +1 -1
  331. package/dist/components/gov-toast.js +1 -1
  332. package/dist/components/gov-toast.js.map +1 -1
  333. package/dist/components/gov-tooltip-content.js +1 -1
  334. package/dist/components/gov-tooltip-content.js.map +1 -1
  335. package/dist/components/gov-tooltip.js +1 -1
  336. package/dist/components/gov-tooltip.js.map +1 -1
  337. package/dist/components/gov-wizard-item.js +1 -1
  338. package/dist/components/gov-wizard-item.js.map +1 -1
  339. package/dist/components/gov-wizard.js +1 -1
  340. package/dist/components/index.js +1 -1
  341. package/dist/components/{p-b3cb7945.js → p-202b7b42.js} +2 -2
  342. package/dist/components/{p-1b4f2520.js → p-22cd88f7.js} +2 -2
  343. package/dist/components/p-28e59384.js +2 -0
  344. package/dist/components/p-28e59384.js.map +1 -0
  345. package/dist/components/p-2dee9951.js +2 -0
  346. package/dist/components/p-2dee9951.js.map +1 -0
  347. package/dist/components/{p-3dbf7f49.js → p-3c71d697.js} +1 -1
  348. package/dist/{cjs/constants-ff12205f.js.map → components/p-3c71d697.js.map} +1 -1
  349. package/dist/components/p-40b51fd3.js +2 -0
  350. package/dist/components/{p-522dd298.js.map → p-40b51fd3.js.map} +1 -1
  351. package/dist/components/p-53e02bee.js +2 -0
  352. package/dist/components/p-53e02bee.js.map +1 -0
  353. package/dist/components/{p-f72ecbef.js → p-71a4c88d.js} +2 -2
  354. package/dist/components/p-71a4c88d.js.map +1 -0
  355. package/dist/components/{p-bc5d5903.js → p-8b53e056.js} +2 -2
  356. package/dist/components/p-94bf1f51.js +2 -0
  357. package/dist/components/p-94bf1f51.js.map +1 -0
  358. package/dist/components/{p-8da17139.js → p-d60bcfde.js} +2 -2
  359. package/dist/components/p-db1f0452.js +2 -0
  360. package/dist/components/p-db1f0452.js.map +1 -0
  361. package/dist/components/{p-9ba6e755.js → p-ddf6db05.js} +2 -2
  362. package/dist/components/p-ddf6db05.js.map +1 -0
  363. package/dist/components/{p-94542a50.js → p-e196ff42.js} +2 -2
  364. package/dist/components/p-e196ff42.js.map +1 -0
  365. package/dist/components/{p-3e8a9e92.js → p-f2efd9b5.js} +2 -2
  366. package/dist/components/p-fa1e4aea.js +2 -0
  367. package/dist/components/p-fa1e4aea.js.map +1 -0
  368. package/dist/core/core.esm.js +1 -1
  369. package/dist/core/core.esm.js.map +1 -1
  370. package/dist/core/{p-2bb9f781.entry.js → p-01d928c5.entry.js} +2 -2
  371. package/dist/core/{p-998c3336.entry.js → p-029beaf4.entry.js} +2 -2
  372. package/dist/core/p-05e4822a.entry.js +2 -0
  373. package/dist/core/p-05e4822a.entry.js.map +1 -0
  374. package/dist/core/p-09966eaa.entry.js +2 -0
  375. package/dist/core/p-09966eaa.entry.js.map +1 -0
  376. package/dist/core/p-0e5fa8bf.js +2 -0
  377. package/dist/core/p-0e5fa8bf.js.map +1 -0
  378. package/dist/core/{p-739dd451.entry.js → p-1116fec6.entry.js} +2 -2
  379. package/dist/core/{p-041d30b1.entry.js → p-141d9af4.entry.js} +2 -2
  380. package/dist/core/{p-e1780dba.entry.js → p-1730ac7a.entry.js} +2 -2
  381. package/dist/core/p-1a04e45e.entry.js +2 -0
  382. package/dist/core/p-1a04e45e.entry.js.map +1 -0
  383. package/dist/core/{p-88a78167.entry.js → p-2016172f.entry.js} +2 -2
  384. package/dist/core/{p-1c62f175.entry.js → p-22abe742.entry.js} +2 -2
  385. package/dist/core/{p-5316e768.entry.js → p-243b1ccc.entry.js} +2 -2
  386. package/dist/core/p-28e59384.js +2 -0
  387. package/dist/core/p-28e59384.js.map +1 -0
  388. package/dist/core/{p-e2d6efaf.entry.js → p-2a95f9fb.entry.js} +2 -2
  389. package/dist/core/{p-32a4b7e3.entry.js → p-2aef69ed.entry.js} +2 -2
  390. package/dist/core/p-2aef69ed.entry.js.map +1 -0
  391. package/dist/core/p-2bcabdd5.entry.js +2 -0
  392. package/dist/core/{p-2bf0c1c5.entry.js.map → p-2bcabdd5.entry.js.map} +1 -1
  393. package/dist/core/{p-33895061.entry.js → p-2c9a4d08.entry.js} +2 -2
  394. package/dist/core/{p-74ce7780.entry.js → p-2f858bf5.entry.js} +2 -2
  395. package/dist/core/p-2f858bf5.entry.js.map +1 -0
  396. package/dist/core/{p-89921159.entry.js → p-356adceb.entry.js} +2 -2
  397. package/dist/core/p-3b45ecb0.entry.js +2 -0
  398. package/dist/core/p-3b45ecb0.entry.js.map +1 -0
  399. package/dist/core/{p-2fe9d3ea.entry.js → p-44f4daa3.entry.js} +2 -2
  400. package/dist/core/p-461d28ed.entry.js +2 -0
  401. package/dist/core/p-461d28ed.entry.js.map +1 -0
  402. package/dist/core/{p-afa12399.entry.js → p-466f885b.entry.js} +2 -2
  403. package/dist/core/p-466f885b.entry.js.map +1 -0
  404. package/dist/core/p-47d63996.entry.js +2 -0
  405. package/dist/core/p-47d63996.entry.js.map +1 -0
  406. package/dist/core/p-4accef73.entry.js +2 -0
  407. package/dist/core/{p-7e8d2066.entry.js.map → p-4accef73.entry.js.map} +1 -1
  408. package/dist/core/{p-3bacd021.js → p-4c55142b.js} +1 -1
  409. package/dist/core/p-4c55142b.js.map +1 -0
  410. package/dist/core/{p-f62efc34.entry.js → p-53549fe4.entry.js} +2 -2
  411. package/dist/core/p-5bc604a3.js +3 -0
  412. package/dist/core/p-5bc604a3.js.map +1 -0
  413. package/dist/core/{p-6f43bd00.entry.js → p-6675a0f0.entry.js} +2 -2
  414. package/dist/core/{p-0eb11cfc.entry.js → p-67138ae9.entry.js} +2 -2
  415. package/dist/core/{p-19b897c0.entry.js → p-6833aeaf.entry.js} +2 -2
  416. package/dist/core/p-705efbf1.entry.js +2 -0
  417. package/dist/core/p-705efbf1.entry.js.map +1 -0
  418. package/dist/core/{p-1da9f871.entry.js → p-7757e4a1.entry.js} +2 -2
  419. package/dist/core/{p-0c57e410.entry.js → p-7b7f8cc2.entry.js} +2 -2
  420. package/dist/core/p-7b7f8cc2.entry.js.map +1 -0
  421. package/dist/core/{p-de5c9181.entry.js → p-7d85bc32.entry.js} +2 -2
  422. package/dist/core/{p-de5c9181.entry.js.map → p-7d85bc32.entry.js.map} +1 -1
  423. package/dist/core/{p-84f6b11a.entry.js → p-81593c86.entry.js} +2 -2
  424. package/dist/core/{p-84f6b11a.entry.js.map → p-81593c86.entry.js.map} +1 -1
  425. package/dist/core/{p-88010439.entry.js → p-877121d4.entry.js} +2 -2
  426. package/dist/core/p-87b5668e.entry.js +2 -0
  427. package/dist/core/p-87b5668e.entry.js.map +1 -0
  428. package/dist/core/{p-35c1c12c.entry.js → p-965f24fb.entry.js} +2 -2
  429. package/dist/core/p-965f24fb.entry.js.map +1 -0
  430. package/dist/core/{p-acd6a9f4.entry.js → p-9af6210d.entry.js} +2 -2
  431. package/dist/core/p-9af6210d.entry.js.map +1 -0
  432. package/dist/core/{p-93897e60.entry.js → p-9d4a6e9b.entry.js} +2 -2
  433. package/dist/core/{p-b0c97376.entry.js → p-a133cdda.entry.js} +2 -2
  434. package/dist/core/{p-7702c8c2.entry.js → p-a3b6c5c7.entry.js} +2 -2
  435. package/dist/core/{p-19a54ee9.entry.js → p-a54c1e85.entry.js} +2 -2
  436. package/dist/core/p-a54c1e85.entry.js.map +1 -0
  437. package/dist/core/{p-82b4b522.entry.js → p-a9493d11.entry.js} +2 -2
  438. package/dist/core/p-ae13fbbc.entry.js +2 -0
  439. package/dist/core/p-ae13fbbc.entry.js.map +1 -0
  440. package/dist/core/{p-7372b066.entry.js → p-b3840f50.entry.js} +2 -2
  441. package/dist/core/{p-228da18e.entry.js → p-b49293dc.entry.js} +2 -2
  442. package/dist/core/p-b49ac370.entry.js +2 -0
  443. package/dist/core/{p-4452c278.entry.js.map → p-b49ac370.entry.js.map} +1 -1
  444. package/dist/core/p-b946cd3f.entry.js +2 -0
  445. package/dist/core/p-b946cd3f.entry.js.map +1 -0
  446. package/dist/core/p-bd1855f7.entry.js +2 -0
  447. package/dist/core/{p-c5d3efc2.entry.js.map → p-bd1855f7.entry.js.map} +1 -1
  448. package/dist/core/{p-7fa1290e.entry.js → p-c0be9590.entry.js} +2 -2
  449. package/dist/core/{p-28f39f69.entry.js → p-c3e4700b.entry.js} +2 -2
  450. package/dist/core/p-c574ecc8.entry.js +2 -0
  451. package/dist/core/{p-5e23a6ba.entry.js.map → p-c574ecc8.entry.js.map} +1 -1
  452. package/dist/core/p-c5e9da95.entry.js +2 -0
  453. package/dist/core/p-c5e9da95.entry.js.map +1 -0
  454. package/dist/core/{p-a7719b55.entry.js → p-ce586e19.entry.js} +2 -2
  455. package/dist/core/{p-c81d62db.entry.js → p-d4c468b9.entry.js} +2 -2
  456. package/dist/core/p-db1f0452.js +2 -0
  457. package/dist/core/p-db1f0452.js.map +1 -0
  458. package/dist/core/{p-80f5140b.entry.js → p-e4f703d3.entry.js} +2 -2
  459. package/dist/core/{p-93042b25.entry.js → p-e5c2f601.entry.js} +2 -2
  460. package/dist/core/p-e9c0fac1.entry.js +2 -0
  461. package/dist/core/p-e9c0fac1.entry.js.map +1 -0
  462. package/dist/core/{p-1c40fdd5.entry.js → p-eb0c9716.entry.js} +2 -2
  463. package/dist/core/p-eb0c9716.entry.js.map +1 -0
  464. package/dist/core/p-f9f212a6.entry.js +2 -0
  465. package/dist/core/p-f9f212a6.entry.js.map +1 -0
  466. package/dist/core/p-fa1e4aea.js +2 -0
  467. package/dist/core/p-fa1e4aea.js.map +1 -0
  468. package/dist/core/p-fc2a1e14.entry.js +2 -0
  469. package/dist/core/p-fc2a1e14.entry.js.map +1 -0
  470. package/dist/esm/{constants-ba92640d.js → constants-34a29ae2.js} +1 -1
  471. package/dist/{components/p-3dbf7f49.js.map → esm/constants-34a29ae2.js.map} +1 -1
  472. package/dist/esm/{constants-24dad929.js → constants-6df4edc4.js} +2 -2
  473. package/dist/esm/constants-6df4edc4.js.map +1 -0
  474. package/dist/esm/{constants-f5c21493.js → constants-867ac6e2.js} +2 -2
  475. package/dist/esm/{constants-f5c21493.js.map → constants-867ac6e2.js.map} +1 -1
  476. package/dist/esm/core.js +26 -3
  477. package/dist/esm/core.js.map +1 -1
  478. package/dist/esm/{form-2d9f68d9.js → form-39dc6896.js} +3 -1
  479. package/dist/esm/form-39dc6896.js.map +1 -0
  480. package/dist/esm/gov-accordion-item.entry.js +2 -2
  481. package/dist/esm/gov-accordion-item.entry.js.map +1 -1
  482. package/dist/esm/gov-accordion.entry.js +2 -2
  483. package/dist/esm/gov-app.entry.js +797 -520
  484. package/dist/esm/gov-app.entry.js.map +1 -1
  485. package/dist/esm/gov-attachments_3.entry.js +2 -2
  486. package/dist/esm/gov-backdrop.entry.js +2 -2
  487. package/dist/esm/gov-breadcrumbs.entry.js +2 -2
  488. package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
  489. package/dist/esm/gov-button.entry.js +3 -3
  490. package/dist/esm/gov-button.entry.js.map +1 -1
  491. package/dist/esm/gov-card.entry.js +2 -2
  492. package/dist/esm/gov-card.entry.js.map +1 -1
  493. package/dist/esm/gov-chip.entry.js +98 -0
  494. package/dist/esm/gov-chip.entry.js.map +1 -0
  495. package/dist/esm/gov-container.entry.js +2 -2
  496. package/dist/esm/gov-control-group.entry.js +2 -2
  497. package/dist/esm/gov-cookiebar.entry.js +2 -2
  498. package/dist/esm/gov-dropdown.entry.js +3 -3
  499. package/dist/esm/gov-dropdown.entry.js.map +1 -1
  500. package/dist/esm/gov-empty.entry.js +2 -2
  501. package/dist/esm/gov-error-code.entry.js +2 -2
  502. package/dist/esm/gov-form-autocomplete.entry.js +2 -2
  503. package/dist/esm/gov-form-checkbox.entry.js +5 -5
  504. package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
  505. package/dist/esm/gov-form-control.entry.js +3 -3
  506. package/dist/esm/gov-form-file.entry.js +3 -3
  507. package/dist/esm/gov-form-group.entry.js +13 -4
  508. package/dist/esm/gov-form-group.entry.js.map +1 -1
  509. package/dist/esm/gov-form-input.entry.js +3 -3
  510. package/dist/esm/gov-form-input.entry.js.map +1 -1
  511. package/dist/esm/gov-form-label.entry.js +1 -1
  512. package/dist/esm/gov-form-multi-select.entry.js +3 -3
  513. package/dist/esm/gov-form-password-power.entry.js +2 -2
  514. package/dist/esm/gov-form-password-power.entry.js.map +1 -1
  515. package/dist/esm/gov-form-radio.entry.js +7 -7
  516. package/dist/esm/gov-form-radio.entry.js.map +1 -1
  517. package/dist/esm/gov-form-search.entry.js +1 -1
  518. package/dist/esm/gov-form-search.entry.js.map +1 -1
  519. package/dist/esm/gov-form-select.entry.js +15 -4
  520. package/dist/esm/gov-form-select.entry.js.map +1 -1
  521. package/dist/esm/gov-form-switch.entry.js +4 -4
  522. package/dist/esm/gov-form-switch.entry.js.map +1 -1
  523. package/dist/esm/gov-grid-item.entry.js +2 -2
  524. package/dist/esm/gov-grid.entry.js +2 -2
  525. package/dist/esm/gov-icon.entry.js +4 -4
  526. package/dist/esm/gov-icon.entry.js.map +1 -1
  527. package/dist/esm/gov-infobar.entry.js +6 -5
  528. package/dist/esm/gov-infobar.entry.js.map +1 -1
  529. package/dist/esm/gov-layout-column.entry.js +2 -2
  530. package/dist/esm/gov-layout.entry.js +2 -2
  531. package/dist/esm/gov-loading.entry.js +2 -2
  532. package/dist/esm/gov-message.entry.js +2 -2
  533. package/dist/esm/gov-modal.entry.js +8 -5
  534. package/dist/esm/gov-modal.entry.js.map +1 -1
  535. package/dist/esm/gov-nav-item.entry.js +1 -1
  536. package/dist/esm/gov-nav.entry.js +1 -1
  537. package/dist/esm/gov-pagination.entry.js +2 -2
  538. package/dist/esm/gov-prompt.entry.js +2 -2
  539. package/dist/esm/gov-side-nav-item.entry.js +5 -5
  540. package/dist/esm/gov-side-nav-item.entry.js.map +1 -1
  541. package/dist/esm/gov-side-nav.entry.js +3 -3
  542. package/dist/esm/gov-skeleton.entry.js +2 -2
  543. package/dist/esm/gov-spacer.entry.js +2 -2
  544. package/dist/esm/gov-statsbar-item.entry.js +2 -2
  545. package/dist/esm/gov-statsbar.entry.js +2 -2
  546. package/dist/esm/gov-stepper-item.entry.js +2 -2
  547. package/dist/esm/gov-stepper.entry.js +2 -2
  548. package/dist/esm/gov-tabs-item.entry.js +6 -6
  549. package/dist/esm/gov-tabs-item.entry.js.map +1 -1
  550. package/dist/esm/gov-tabs.entry.js +26 -17
  551. package/dist/esm/gov-tabs.entry.js.map +1 -1
  552. package/dist/esm/gov-tag.entry.js +47 -0
  553. package/dist/esm/gov-tag.entry.js.map +1 -0
  554. package/dist/esm/gov-tile.entry.js +2 -2
  555. package/dist/esm/gov-tile.entry.js.map +1 -1
  556. package/dist/esm/gov-tiles.entry.js +2 -2
  557. package/dist/esm/gov-toast.entry.js +3 -3
  558. package/dist/esm/gov-toast.entry.js.map +1 -1
  559. package/dist/esm/gov-tooltip-content.entry.js +3 -3
  560. package/dist/esm/gov-tooltip-content.entry.js.map +1 -1
  561. package/dist/esm/gov-tooltip.entry.js +41 -6
  562. package/dist/esm/gov-tooltip.entry.js.map +1 -1
  563. package/dist/esm/gov-wizard-item.entry.js +2 -2
  564. package/dist/esm/gov-wizard-item.entry.js.map +1 -1
  565. package/dist/esm/gov-wizard.entry.js +2 -2
  566. package/dist/esm/{index-ae3c50f1.js → index-eb59f132.js} +145 -4
  567. package/dist/esm/index-eb59f132.js.map +1 -0
  568. package/dist/esm/loader.js +3 -3
  569. package/dist/esm/{template-10332292.js → template-df429738.js} +8 -1
  570. package/dist/esm/template-df429738.js.map +1 -0
  571. package/dist/hydrate/index.js +1406 -978
  572. package/dist/stencil.config.js +2 -1
  573. package/dist/stencil.config.js.map +1 -1
  574. package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +1 -1
  575. package/dist/types/components/gov-app/gov-app.d.ts +3 -2
  576. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +1 -1
  577. package/dist/types/components/gov-button/{default → button}/gov-button.d.ts +1 -1
  578. package/dist/types/components/gov-card/gov-card.d.ts +1 -1
  579. package/dist/types/components/{gov-badge → gov-chip}/constants.d.ts +1 -1
  580. package/dist/types/components/{gov-badge/gov-badge.d.ts → gov-chip/gov-chip.d.ts} +34 -7
  581. package/dist/types/components/gov-form/checkbox/constants.d.ts +1 -0
  582. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +1 -1
  583. package/dist/types/components/gov-form/group/gov-form-group.d.ts +2 -1
  584. package/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +2 -2
  585. package/dist/types/components/gov-form/radio/constants.d.ts +1 -0
  586. package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +1 -1
  587. package/dist/types/components/gov-form/select/gov-form-select.d.ts +6 -1
  588. package/dist/types/components/gov-form/select/gov-form-select.types.d.ts +5 -0
  589. package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +1 -1
  590. package/dist/types/components/gov-icon/gov-icon.d.ts +2 -3
  591. package/dist/types/components/gov-infobar/{default/constants.d.ts → constants.d.ts} +3 -2
  592. package/dist/types/components/gov-infobar/{default/gov-infobar.d.ts → gov-infobar.d.ts} +2 -2
  593. package/dist/types/components/gov-infobar/{default/gov-infobar.types.d.ts → gov-infobar.types.d.ts} +1 -1
  594. package/dist/types/components/gov-modal/gov-modal.d.ts +4 -0
  595. package/dist/types/components/gov-side-nav/constants.d.ts +1 -1
  596. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.ts +1 -1
  597. package/dist/types/components/gov-tabs/constants.d.ts +1 -1
  598. package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +1 -1
  599. package/dist/types/components/gov-tabs/gov-tabs.d.ts +5 -6
  600. package/dist/types/components/gov-tag/constants.d.ts +3 -0
  601. package/dist/types/components/gov-tag/gov-tag.d.ts +22 -0
  602. package/dist/types/components/gov-tile/gov-tile.d.ts +1 -1
  603. package/dist/types/components/gov-wizard/gov-wizard-item.d.ts +1 -1
  604. package/dist/types/components.d.ts +224 -133
  605. package/dist/types/helpers/Dom/template.types.d.ts +1 -0
  606. package/dist/types/pages/Chip.d.ts +3 -0
  607. package/dist/types/pages/Tag.d.ts +3 -0
  608. package/package.json +3 -3
  609. package/dist/cjs/constants-23b7a283.js.map +0 -1
  610. package/dist/cjs/form-f68d13c6.js.map +0 -1
  611. package/dist/cjs/gov-badge.cjs.entry.js +0 -84
  612. package/dist/cjs/gov-badge.cjs.entry.js.map +0 -1
  613. package/dist/cjs/index-83edd4fe.js.map +0 -1
  614. package/dist/cjs/template-e1c4ff78.js.map +0 -1
  615. package/dist/collection/components/gov-badge/constants.js.map +0 -1
  616. package/dist/collection/components/gov-badge/gov-badge.css +0 -1267
  617. package/dist/collection/components/gov-badge/gov-badge.js.map +0 -1
  618. package/dist/collection/components/gov-button/default/gov-button.js.map +0 -1
  619. package/dist/collection/components/gov-button/default/gov-button.types.js.map +0 -1
  620. package/dist/collection/components/gov-infobar/default/constants.js.map +0 -1
  621. package/dist/collection/components/gov-infobar/default/gov-infobar.js.map +0 -1
  622. package/dist/collection/components/gov-infobar/default/gov-infobar.types.js.map +0 -1
  623. package/dist/collection/pages/Badge.js.map +0 -1
  624. package/dist/components/gov-badge.js +0 -2
  625. package/dist/components/p-17c1ffc1.js +0 -2
  626. package/dist/components/p-17c1ffc1.js.map +0 -1
  627. package/dist/components/p-36be8f6e.js +0 -2
  628. package/dist/components/p-36be8f6e.js.map +0 -1
  629. package/dist/components/p-3f37ddb6.js +0 -2
  630. package/dist/components/p-3f37ddb6.js.map +0 -1
  631. package/dist/components/p-522dd298.js +0 -2
  632. package/dist/components/p-80c0109d.js +0 -2
  633. package/dist/components/p-80c0109d.js.map +0 -1
  634. package/dist/components/p-80e30702.js +0 -2
  635. package/dist/components/p-80e30702.js.map +0 -1
  636. package/dist/components/p-8d44ca3c.js +0 -2
  637. package/dist/components/p-8d44ca3c.js.map +0 -1
  638. package/dist/components/p-94542a50.js.map +0 -1
  639. package/dist/components/p-9ba6e755.js.map +0 -1
  640. package/dist/components/p-f72ecbef.js.map +0 -1
  641. package/dist/core/p-0553eb92.entry.js +0 -2
  642. package/dist/core/p-0553eb92.entry.js.map +0 -1
  643. package/dist/core/p-06699657.entry.js +0 -2
  644. package/dist/core/p-06699657.entry.js.map +0 -1
  645. package/dist/core/p-0c57e410.entry.js.map +0 -1
  646. package/dist/core/p-10cbc3fe.js +0 -3
  647. package/dist/core/p-10cbc3fe.js.map +0 -1
  648. package/dist/core/p-19a54ee9.entry.js.map +0 -1
  649. package/dist/core/p-1c40fdd5.entry.js.map +0 -1
  650. package/dist/core/p-2bf0c1c5.entry.js +0 -2
  651. package/dist/core/p-32a4b7e3.entry.js.map +0 -1
  652. package/dist/core/p-34ed07f6.js +0 -2
  653. package/dist/core/p-34ed07f6.js.map +0 -1
  654. package/dist/core/p-35c1c12c.entry.js.map +0 -1
  655. package/dist/core/p-36be8f6e.js +0 -2
  656. package/dist/core/p-36be8f6e.js.map +0 -1
  657. package/dist/core/p-3bacd021.js.map +0 -1
  658. package/dist/core/p-3f37ddb6.js +0 -2
  659. package/dist/core/p-3f37ddb6.js.map +0 -1
  660. package/dist/core/p-4452c278.entry.js +0 -2
  661. package/dist/core/p-49926f53.entry.js +0 -2
  662. package/dist/core/p-49926f53.entry.js.map +0 -1
  663. package/dist/core/p-5cc3e768.entry.js +0 -2
  664. package/dist/core/p-5cc3e768.entry.js.map +0 -1
  665. package/dist/core/p-5e23a6ba.entry.js +0 -2
  666. package/dist/core/p-74ce7780.entry.js.map +0 -1
  667. package/dist/core/p-7e8d2066.entry.js +0 -2
  668. package/dist/core/p-80e30702.js +0 -2
  669. package/dist/core/p-80e30702.js.map +0 -1
  670. package/dist/core/p-9633e7b5.entry.js +0 -2
  671. package/dist/core/p-9633e7b5.entry.js.map +0 -1
  672. package/dist/core/p-acd6a9f4.entry.js.map +0 -1
  673. package/dist/core/p-afa12399.entry.js.map +0 -1
  674. package/dist/core/p-bc6f1479.entry.js +0 -2
  675. package/dist/core/p-bc6f1479.entry.js.map +0 -1
  676. package/dist/core/p-bcf71ab5.entry.js +0 -2
  677. package/dist/core/p-bcf71ab5.entry.js.map +0 -1
  678. package/dist/core/p-c4c9ff83.entry.js +0 -2
  679. package/dist/core/p-c4c9ff83.entry.js.map +0 -1
  680. package/dist/core/p-c5d3efc2.entry.js +0 -2
  681. package/dist/core/p-c61444f7.entry.js +0 -2
  682. package/dist/core/p-c61444f7.entry.js.map +0 -1
  683. package/dist/core/p-d84b290e.entry.js +0 -2
  684. package/dist/core/p-d84b290e.entry.js.map +0 -1
  685. package/dist/core/p-da762184.entry.js +0 -2
  686. package/dist/core/p-da762184.entry.js.map +0 -1
  687. package/dist/core/p-e5227e40.entry.js +0 -2
  688. package/dist/core/p-e5227e40.entry.js.map +0 -1
  689. package/dist/core/p-fab698a7.entry.js +0 -2
  690. package/dist/core/p-fab698a7.entry.js.map +0 -1
  691. package/dist/esm/constants-24dad929.js.map +0 -1
  692. package/dist/esm/constants-ba92640d.js.map +0 -1
  693. package/dist/esm/form-2d9f68d9.js.map +0 -1
  694. package/dist/esm/gov-badge.entry.js +0 -80
  695. package/dist/esm/gov-badge.entry.js.map +0 -1
  696. package/dist/esm/index-ae3c50f1.js.map +0 -1
  697. package/dist/esm/template-10332292.js.map +0 -1
  698. package/dist/types/pages/Badge.d.ts +0 -3
  699. /package/dist/collection/components/gov-button/{default → button}/constants.js +0 -0
  700. /package/dist/collection/components/gov-button/{default → button}/gov-button.types.js +0 -0
  701. /package/dist/collection/components/gov-infobar/{default/gov-infobar.types.js → gov-infobar.types.js} +0 -0
  702. /package/dist/components/{gov-badge.js.map → gov-chip.js.map} +0 -0
  703. /package/dist/components/{p-b3cb7945.js.map → p-202b7b42.js.map} +0 -0
  704. /package/dist/components/{p-1b4f2520.js.map → p-22cd88f7.js.map} +0 -0
  705. /package/dist/components/{p-bc5d5903.js.map → p-8b53e056.js.map} +0 -0
  706. /package/dist/components/{p-8da17139.js.map → p-d60bcfde.js.map} +0 -0
  707. /package/dist/components/{p-3e8a9e92.js.map → p-f2efd9b5.js.map} +0 -0
  708. /package/dist/core/{p-2bb9f781.entry.js.map → p-01d928c5.entry.js.map} +0 -0
  709. /package/dist/core/{p-998c3336.entry.js.map → p-029beaf4.entry.js.map} +0 -0
  710. /package/dist/core/{p-739dd451.entry.js.map → p-1116fec6.entry.js.map} +0 -0
  711. /package/dist/core/{p-041d30b1.entry.js.map → p-141d9af4.entry.js.map} +0 -0
  712. /package/dist/core/{p-e1780dba.entry.js.map → p-1730ac7a.entry.js.map} +0 -0
  713. /package/dist/core/{p-88a78167.entry.js.map → p-2016172f.entry.js.map} +0 -0
  714. /package/dist/core/{p-1c62f175.entry.js.map → p-22abe742.entry.js.map} +0 -0
  715. /package/dist/core/{p-5316e768.entry.js.map → p-243b1ccc.entry.js.map} +0 -0
  716. /package/dist/core/{p-e2d6efaf.entry.js.map → p-2a95f9fb.entry.js.map} +0 -0
  717. /package/dist/core/{p-33895061.entry.js.map → p-2c9a4d08.entry.js.map} +0 -0
  718. /package/dist/core/{p-89921159.entry.js.map → p-356adceb.entry.js.map} +0 -0
  719. /package/dist/core/{p-2fe9d3ea.entry.js.map → p-44f4daa3.entry.js.map} +0 -0
  720. /package/dist/core/{p-f62efc34.entry.js.map → p-53549fe4.entry.js.map} +0 -0
  721. /package/dist/core/{p-6f43bd00.entry.js.map → p-6675a0f0.entry.js.map} +0 -0
  722. /package/dist/core/{p-0eb11cfc.entry.js.map → p-67138ae9.entry.js.map} +0 -0
  723. /package/dist/core/{p-19b897c0.entry.js.map → p-6833aeaf.entry.js.map} +0 -0
  724. /package/dist/core/{p-1da9f871.entry.js.map → p-7757e4a1.entry.js.map} +0 -0
  725. /package/dist/core/{p-88010439.entry.js.map → p-877121d4.entry.js.map} +0 -0
  726. /package/dist/core/{p-93897e60.entry.js.map → p-9d4a6e9b.entry.js.map} +0 -0
  727. /package/dist/core/{p-b0c97376.entry.js.map → p-a133cdda.entry.js.map} +0 -0
  728. /package/dist/core/{p-7702c8c2.entry.js.map → p-a3b6c5c7.entry.js.map} +0 -0
  729. /package/dist/core/{p-82b4b522.entry.js.map → p-a9493d11.entry.js.map} +0 -0
  730. /package/dist/core/{p-7372b066.entry.js.map → p-b3840f50.entry.js.map} +0 -0
  731. /package/dist/core/{p-228da18e.entry.js.map → p-b49293dc.entry.js.map} +0 -0
  732. /package/dist/core/{p-7fa1290e.entry.js.map → p-c0be9590.entry.js.map} +0 -0
  733. /package/dist/core/{p-28f39f69.entry.js.map → p-c3e4700b.entry.js.map} +0 -0
  734. /package/dist/core/{p-a7719b55.entry.js.map → p-ce586e19.entry.js.map} +0 -0
  735. /package/dist/core/{p-c81d62db.entry.js.map → p-d4c468b9.entry.js.map} +0 -0
  736. /package/dist/core/{p-80f5140b.entry.js.map → p-e4f703d3.entry.js.map} +0 -0
  737. /package/dist/core/{p-93042b25.entry.js.map → p-e5c2f601.entry.js.map} +0 -0
  738. /package/dist/types/components/gov-button/{default → button}/constants.d.ts +0 -0
  739. /package/dist/types/components/gov-button/{default → button}/gov-button.types.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["govTabsItemCss","GovTabsItem","constructor","hostRef","this","h","govHost","host","contentId","createID","triggerId","render","Host","class","classes","TabsItemClass","root","default","inner","role","id","identifier","hidden","isActive","triggerIdentifier","toBoolAttrIfDefined","getIdentifier","getTriggerIdentifier","setActiveStatus","status"],"sources":["../../../packages/core/src/components/gov-tabs/gov-tabs-item.scss?tag=gov-tabs-item","../../../packages/core/src/components/gov-tabs/gov-tabs-item.tsx"],"sourcesContent":["/*\n * Tabs - Item\n */\n\n$class: \".gov-tabs-item\";\n\n#{$class} {\n\tcolor: $tabs-text-color;\n\t&__inner {\n\t\t@include reset-last-margin();\n\t}\n}\n","import { Component, Element, h, Prop, Method, State, Host } from '@stencil/core'\nimport { createID } from '../../utils/string.utils'\nimport { govHost, toBoolAttrIfDefined } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { TabsItemClass } from './constants'\n\n@Component({\n\ttag: 'gov-tabs-item',\n\tstyleUrl: 'gov-tabs-item.scss',\n})\nexport class GovTabsItem {\n\tprivate h: GovHost\n\tprivate readonly contentId: string\n\tprivate readonly triggerId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.contentId = createID('GovTabContent')\n\t\tthis.triggerId = createID('GovTabTrigger')\n\t}\n\n\t@Element() host: HTMLGovTabsItemElement\n\t/**\n\t * Custom tab item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Custom tab trigger item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly triggerIdentifier: string\n\t/**\n\t * Item name of the tab\n\t */\n\t@Prop({reflect: true}) readonly label: string\n\t/**\n\t * Default selected tab\n\t */\n\t@Prop() readonly default: boolean = false\n\t@State() isActive = false\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TabsItemClass.root)} default={this.default}>\n\t\t\t\t<div\n\t\t\t\t\tclass={TabsItemClass.inner}\n\t\t\t\t\trole=\"tabpanel\"\n\t\t\t\t\tid={this.identifier || this.contentId}\n\t\t\t\t\thidden={!this.isActive}\n\t\t\t\t\taria-labelledby={this.triggerIdentifier || this.triggerId}\n\t\t\t\t\taria-hidden={toBoolAttrIfDefined(!this.isActive)}\n\t\t\t\t>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns a unique tab content identifier\n\t */\n\t@Method()\n\tasync getIdentifier(): Promise<string> {\n\t\treturn this.identifier || this.contentId\n\t}\n\n\t/**\n\t * Returns a unique tab trigger identifier\n\t */\n\t@Method()\n\tasync getTriggerIdentifier(): Promise<string> {\n\t\treturn this.triggerIdentifier || this.triggerId\n\t}\n\n\t/**\n\t * Set status of tab-item\n\t */\n\t@Method()\n\tasync setActiveStatus(status: boolean): Promise<void> {\n\t\tthis.isActive = status\n\t}\n}\n"],"mappings":"4NAAA,MAAMA,EAAiB,4d,MCUVC,EAAW,MAKvB,WAAAC,CAAAC,G,uGAsBoC,M,cAChB,MAtBnBC,KAAKC,EAAIC,EAAQF,KAAKG,MACtBH,KAAKI,UAAYC,EAAS,iBAC1BL,KAAKM,UAAYD,EAAS,gB,CAsB3B,MAAAE,GACC,OACCN,EAACO,EAAI,CAACC,MAAOT,KAAKC,EAAES,QAAQC,EAAcC,MAAOC,QAASb,KAAKa,SAC9DZ,EAAA,OACCQ,MAAOE,EAAcG,MACrBC,KAAK,WACLC,GAAIhB,KAAKiB,YAAcjB,KAAKI,UAC5Bc,QAASlB,KAAKmB,SAAQ,kBACLnB,KAAKoB,mBAAqBpB,KAAKM,UAAS,cAC5Ce,GAAqBrB,KAAKmB,WAEvClB,EAAA,c,CAUJ,mBAAMqB,GACL,OAAOtB,KAAKiB,YAAcjB,KAAKI,S,CAOhC,0BAAMmB,GACL,OAAOvB,KAAKoB,mBAAqBpB,KAAKM,S,CAOvC,qBAAMkB,CAAgBC,GACrBzB,KAAKmB,SAAWM,C"}
@@ -30,4 +30,4 @@ const ButtonClass = {
30
30
 
31
31
  export { ButtonClass as B, NativeType as N, Type as T, ButtonSizes as a, ButtonVariants as b };
32
32
 
33
- //# sourceMappingURL=constants-ba92640d.js.map
33
+ //# sourceMappingURL=constants-34a29ae2.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["ButtonSizes","pick","Sizes","ButtonVariants","Variants","Type","NativeType","ButtonTarget","ButtonClass","root","rootWithIcon"],"sources":["../../../packages/core/src/components/gov-button/default/constants.ts"],"sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\nimport { Variants } from '../../../core/constants/variants'\nimport { ValueOf } from '../../../types/interfaces'\nimport { pick } from '../../../utils/utils'\n\nexport const ButtonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ButtonSizesType = `${ValueOf<typeof ButtonSizes>}`\n\nexport const ButtonVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'SUCCESS', 'ERROR', 'WARNING'])\nexport type ButtonVariantType = `${ValueOf<typeof ButtonVariants>}`\n\nexport enum Type {\n\tSOLID = 'solid',\n\tOUTLINED = 'outlined',\n\tBASE = 'base',\n\tLINK = 'link',\n}\n\nexport type TypesType = `${ValueOf<typeof Type>}`\n\nexport enum NativeType {\n\tSUBMIT = 'submit',\n\tBUTTON = 'button',\n\tRESET = 'reset',\n}\n\nexport type NativeTypesType = `${ValueOf<typeof NativeType>}`\n\nexport enum ButtonTarget {\n\tBLANK = '_blank',\n\tSELF = '_self',\n\tNEW = '_new',\n}\nexport type ButtonTargetType = `${ValueOf<typeof ButtonTarget>}`\n\nexport const ButtonClass = {\n\troot: 'gov-button',\n\trootWithIcon: 'gov-button--w-icon',\n}\n"],"mappings":"kHAKaA,EAAcC,EAAKC,EAAO,CAAC,MAAO,KAAM,KAAM,KAAM,Q,MAGpDC,EAAiBF,EAAKG,EAAU,CAAC,UAAW,YAAa,UAAW,QAAS,Y,IAG9EC,GAAZ,SAAYA,GACXA,EAAA,iBACAA,EAAA,uBACAA,EAAA,eACAA,EAAA,cACA,EALD,CAAYA,MAAI,K,IASJC,GAAZ,SAAYA,GACXA,EAAA,mBACAA,EAAA,mBACAA,EAAA,gBACA,EAJD,CAAYA,MAAU,KAQtB,IAAYC,GAAZ,SAAYA,GACXA,EAAA,kBACAA,EAAA,gBACAA,EAAA,aACA,EAJD,CAAYA,MAAY,K,MAOXC,EAAc,CAC1BC,KAAM,aACNC,aAAc,6B"}
1
+ {"file":"constants-34a29ae2.js","mappings":";;;;MAKa,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,EAAC;MAG3D,cAAc,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,EAAC;IAGzF;AAAZ,WAAY,IAAI;EACf,uBAAe,CAAA;EACf,6BAAqB,CAAA;EACrB,qBAAa,CAAA;EACb,qBAAa,CAAA;AACd,CAAC,EALW,IAAI,KAAJ,IAAI,QAKf;IAIW;AAAZ,WAAY,UAAU;EACrB,+BAAiB,CAAA;EACjB,+BAAiB,CAAA;EACjB,6BAAe,CAAA;AAChB,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB;AAID,IAAY,YAIX;AAJD,WAAY,YAAY;EACvB,gCAAgB,CAAA;EAChB,8BAAc,CAAA;EACd,4BAAY,CAAA;AACb,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;MAGY,WAAW,GAAG;EAC1B,IAAI,EAAE,YAAY;EAClB,YAAY,EAAE,oBAAoB;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-button/button/constants.ts"],"sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\nimport { Variants } from '../../../core/constants/variants'\nimport { ValueOf } from '../../../types/interfaces'\nimport { pick } from '../../../utils/utils'\n\nexport const ButtonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ButtonSizesType = `${ValueOf<typeof ButtonSizes>}`\n\nexport const ButtonVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'SUCCESS', 'ERROR', 'WARNING'])\nexport type ButtonVariantType = `${ValueOf<typeof ButtonVariants>}`\n\nexport enum Type {\n\tSOLID = 'solid',\n\tOUTLINED = 'outlined',\n\tBASE = 'base',\n\tLINK = 'link',\n}\n\nexport type TypesType = `${ValueOf<typeof Type>}`\n\nexport enum NativeType {\n\tSUBMIT = 'submit',\n\tBUTTON = 'button',\n\tRESET = 'reset',\n}\n\nexport type NativeTypesType = `${ValueOf<typeof NativeType>}`\n\nexport enum ButtonTarget {\n\tBLANK = '_blank',\n\tSELF = '_self',\n\tNEW = '_new',\n}\nexport type ButtonTargetType = `${ValueOf<typeof ButtonTarget>}`\n\nexport const ButtonClass = {\n\troot: 'gov-button',\n\trootWithIcon: 'gov-button--w-icon',\n}\n"],"version":3}
@@ -5,7 +5,7 @@ const TabVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'SUCCESS', 'ERROR',
5
5
  var TabTypes;
6
6
  (function (TabTypes) {
7
7
  TabTypes["TEXT"] = "text";
8
- TabTypes["BADGE"] = "badge";
8
+ TabTypes["CHIP"] = "chip";
9
9
  })(TabTypes || (TabTypes = {}));
10
10
  var TabOrientation;
11
11
  (function (TabOrientation) {
@@ -26,4 +26,4 @@ const TabsItemClass = {
26
26
 
27
27
  export { TabsItemClass as T, TabsClass as a, TabTypes as b, TabVariants as c };
28
28
 
29
- //# sourceMappingURL=constants-24dad929.js.map
29
+ //# sourceMappingURL=constants-6df4edc4.js.map
@@ -0,0 +1 @@
1
+ {"file":"constants-6df4edc4.js","mappings":";;;MAIa,WAAW,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,EAAC;IAGtF;AAAZ,WAAY,QAAQ;EACnB,yBAAa,CAAA;EACb,yBAAa,CAAA;AACd,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB;AAID,IAAY,cAGX;AAHD,WAAY,cAAc;EACzB,2CAAyB,CAAA;EACzB,uCAAqB,CAAA;AACtB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;MAIY,SAAS,GAAG;EACxB,IAAI,EAAE,UAAU;EAChB,IAAI,EAAE,gBAAgB;EACtB,IAAI,EAAE,gBAAgB;EACtB,IAAI,EAAE,gBAAgB;EACtB,GAAG,EAAE,eAAe;EACpB;MAEY,aAAa,GAAG;EAC5B,IAAI,EAAE,eAAe;EACrB,KAAK,EAAE,sBAAsB;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-tabs/constants.ts"],"sourcesContent":["import { Variants } from '../../core/constants/variants'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const TabVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'SUCCESS', 'ERROR', 'WARNING'])\nexport type VariantType = `${ValueOf<typeof TabVariants>}`\n\nexport enum TabTypes {\n\tTEXT = 'text',\n\tCHIP = 'chip',\n}\n\nexport type TabType = `${ValueOf<typeof TabTypes>}`\n\nexport enum TabOrientation {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical',\n}\n\nexport type TabOrientationType = `${ValueOf<typeof TabOrientation>}`\n\nexport const TabsClass = {\n\troot: 'gov-tabs',\n\ttabs: 'gov-tabs__tabs',\n\tlist: 'gov-tabs__list',\n\titem: 'gov-tabs__item',\n\tbtn: 'gov-tabs__btn',\n}\n\nexport const TabsItemClass = {\n\troot: 'gov-tabs-item',\n\tinner: 'gov-tabs-item__inner',\n}\n"],"version":3}
@@ -10,10 +10,10 @@ const SideNavItemClass = {
10
10
  name: 'gov-side-nav-item__name',
11
11
  label: 'gov-side-nav-item__label',
12
12
  arrow: 'gov-side-nav-item__arrow',
13
- badge: 'gov-side-nav-item__badge',
13
+ chip: 'gov-side-nav-item__chip',
14
14
  content: 'gov-side-nav-item__content',
15
15
  };
16
16
 
17
17
  export { SideNavItemClass as S, SideNavClass as a };
18
18
 
19
- //# sourceMappingURL=constants-f5c21493.js.map
19
+ //# sourceMappingURL=constants-867ac6e2.js.map
@@ -1 +1 @@
1
- {"file":"constants-f5c21493.js","mappings":"MAAa,YAAY,GAAG;EAC3B,IAAI,EAAE,cAAc;EACpB,KAAK,EAAE,qBAAqB;EAC5B;MAEY,gBAAgB,GAAG;EAC/B,IAAI,EAAE,mBAAmB;EACzB,YAAY,EAAE,2BAA2B;EACzC,MAAM,EAAE,2BAA2B;EACnC,IAAI,EAAE,yBAAyB;EAC/B,IAAI,EAAE,yBAAyB;EAC/B,KAAK,EAAE,0BAA0B;EACjC,KAAK,EAAE,0BAA0B;EACjC,KAAK,EAAE,0BAA0B;EACjC,OAAO,EAAE,4BAA4B;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-side-nav/constants.ts"],"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"],"version":3}
1
+ {"file":"constants-867ac6e2.js","mappings":"MAAa,YAAY,GAAG;EAC3B,IAAI,EAAE,cAAc;EACpB,KAAK,EAAE,qBAAqB;EAC5B;MAEY,gBAAgB,GAAG;EAC/B,IAAI,EAAE,mBAAmB;EACzB,YAAY,EAAE,2BAA2B;EACzC,MAAM,EAAE,2BAA2B;EACnC,IAAI,EAAE,yBAAyB;EAC/B,IAAI,EAAE,yBAAyB;EAC/B,KAAK,EAAE,0BAA0B;EACjC,KAAK,EAAE,0BAA0B;EACjC,IAAI,EAAE,yBAAyB;EAC/B,OAAO,EAAE,4BAA4B;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-side-nav/constants.ts"],"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\tchip: 'gov-side-nav-item__chip',\n\tcontent: 'gov-side-nav-item__content',\n}\n"],"version":3}
package/dist/esm/core.js CHANGED
@@ -1,10 +1,14 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-ae3c50f1.js';
2
- export { s as setNonce } from './index-ae3c50f1.js';
1
+ import { p as promiseResolve, H, b as bootstrapLazy } from './index-eb59f132.js';
2
+ export { s as setNonce } from './index-eb59f132.js';
3
3
 
4
4
  /*
5
5
  Stencil Client Patch Browser v4.2.0 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  const patchBrowser = () => {
8
+ {
9
+ // opted-in to polyfill cloneNode() for slot polyfilled components
10
+ patchCloneNodeFix(H.prototype);
11
+ }
8
12
  const importMeta = import.meta.url;
9
13
  const opts = {};
10
14
  if (importMeta !== '') {
@@ -12,9 +16,28 @@ const patchBrowser = () => {
12
16
  }
13
17
  return promiseResolve(opts);
14
18
  };
19
+ const patchCloneNodeFix = (HTMLElementPrototype) => {
20
+ const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
21
+ HTMLElementPrototype.cloneNode = function (deep) {
22
+ if (this.nodeName === 'TEMPLATE') {
23
+ return nativeCloneNodeFn.call(this, deep);
24
+ }
25
+ const clonedNode = nativeCloneNodeFn.call(this, false);
26
+ const srcChildNodes = this.childNodes;
27
+ if (deep) {
28
+ for (let i = 0; i < srcChildNodes.length; i++) {
29
+ // Node.ATTRIBUTE_NODE === 2, and checking because IE11
30
+ if (srcChildNodes[i].nodeType !== 2) {
31
+ clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
32
+ }
33
+ }
34
+ }
35
+ return clonedNode;
36
+ };
37
+ };
15
38
 
16
39
  patchBrowser().then(options => {
17
- return bootstrapLazy(JSON.parse("[[\"gov-form-file\",[[4,\"gov-form-file\",{\"expanded\":[4],\"required\":[4],\"disabled\":[4],\"displayAttachments\":[4,\"display-attachments\"],\"name\":[1],\"accept\":[1],\"multiple\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"identifier\":[1],\"invalid\":[4],\"errorSize\":[1,\"error-size\"],\"errorAccept\":[1,\"error-accept\"],\"attachmentsLabel\":[1,\"attachments-label\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagRemoveLabel\":[1,\"wcag-remove-label\"],\"wcagAttachmentsLabel\":[1,\"wcag-attachments-label\"],\"files\":[32],\"getRef\":[64],\"getAreaRef\":[64],\"reset\":[64],\"validateWcag\":[64]}]]],[\"gov-form-multi-select\",[[4,\"gov-form-multi-select\",{\"identifier\":[1],\"placeholder\":[1],\"variant\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"success\":[4],\"messageEmpty\":[1,\"message-empty\"],\"messageLoading\":[1,\"message-loading\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"value\":[32],\"selectedOptions\":[32],\"setFocus\":[64],\"setValue\":[64],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-modal\",[[4,\"gov-modal\",{\"open\":[1028],\"label\":[1],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagCloseLabelledBy\":[1,\"wcag-close-labelled-by\"],\"show\":[64],\"hide\":[64],\"validateWcag\":[64]}]]],[\"gov-pagination\",[[0,\"gov-pagination\",{\"type\":[1],\"current\":[2],\"total\":[2],\"inverse\":[4],\"size\":[1],\"variant\":[1],\"pageSize\":[2,\"page-size\"],\"maxPages\":[2,\"max-pages\"],\"link\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagSelectLabel\":[1,\"wcag-select-label\"],\"wcagPageLabel\":[1,\"wcag-page-label\"],\"pagination\":[32],\"validateWcag\":[64]}]]],[\"gov-prompt\",[[4,\"gov-prompt\",{\"open\":[1028],\"label\":[1],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagCloseLabelledBy\":[1,\"wcag-close-labelled-by\"],\"show\":[64],\"hide\":[64],\"validateWcag\":[64]}]]],[\"gov-tabs\",[[4,\"gov-tabs\",{\"type\":[1],\"variant\":[1],\"orientation\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagSelectLabel\":[1,\"wcag-select-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"controller\":[32],\"focusIndex\":[32],\"compactControls\":[32],\"refresh\":[64],\"currentTab\":[64],\"setActiveTab\":[64],\"validateWcag\":[64]}]]],[\"gov-infobar\",[[4,\"gov-infobar\",{\"headline\":[1],\"variant\":[1],\"inverse\":[4],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagToggleLabel\":[1,\"wcag-toggle-label\"],\"closable\":[4],\"toggleContent\":[32],\"validateWcag\":[64]}]]],[\"gov-loading\",[[4,\"gov-loading\"]]],[\"gov-side-nav-item\",[[4,\"gov-side-nav-item\",{\"inverse\":[4],\"compact\":[4],\"identifier\":[1],\"count\":[4],\"label\":[1],\"disabled\":[4],\"href\":[1],\"isExpanded\":[4,\"is-expanded\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-toast\",[[4,\"gov-toast\",{\"variant\":[1],\"gravity\":[1],\"position\":[1],\"type\":[1],\"time\":[2],\"closeLabel\":[1,\"close-label\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"destroy\":[64]}]]],[\"gov-tooltip-content\",[[4,\"gov-tooltip-content\",{\"variant\":[1],\"size\":[1],\"persist\":[4],\"isVisible\":[1028,\"is-visible\"],\"parentId\":[1,\"parent-id\"]}]]],[\"gov-accordion-item\",[[4,\"gov-accordion-item\",{\"variant\":[1],\"identifier\":[1],\"size\":[1],\"disabled\":[4],\"isExpanded\":[1028,\"is-expanded\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-card\",[[4,\"gov-card\",{\"promotion\":[4],\"label\":[1],\"collapsible\":[4],\"expanded\":[4],\"headlineTag\":[1,\"headline-tag\"],\"wcagTriggerLabel\":[1,\"wcag-trigger-label\"],\"wcagTriggerLabelledBy\":[1,\"wcag-trigger-labelled-by\"],\"isExpanded\":[32],\"open\":[64],\"close\":[64],\"validateWcag\":[64]}]]],[\"gov-form-checkbox\",[[4,\"gov-form-checkbox\",{\"value\":[1],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"noLabel\":[4,\"no-label\"],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-tile\",[[4,\"gov-tile\",{\"href\":[1],\"target\":[1],\"getTriggerRef\":[64]}]]],[\"gov-wizard-item\",[[4,\"gov-wizard-item\",{\"variant\":[1],\"size\":[1],\"identifier\":[1],\"collapsible\":[4],\"annotation\":[1],\"label\":[1],\"disabled\":[4],\"isExpanded\":[1028,\"is-expanded\"],\"labelTag\":[1,\"label-tag\"],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-accordion\",[[4,\"gov-accordion\",{\"size\":[1],\"variant\":[1],\"noBorder\":[4,\"no-border\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-app\",[[0,\"gov-app\"]]],[\"gov-breadcrumbs\",[[4,\"gov-breadcrumbs\",{\"collapsible\":[4],\"isExpanded\":[4,\"is-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labeled-by\"],\"validateWcag\":[64]}]]],[\"gov-container\",[[4,\"gov-container\",{\"slottedChildren\":[64]}]]],[\"gov-control-group\",[[4,\"gov-control-group\",{\"variant\":[1],\"noBorder\":[4,\"no-border\"]}]]],[\"gov-cookiebar\",[[4,\"gov-cookiebar\"]]],[\"gov-dropdown\",[[4,\"gov-dropdown\",{\"open\":[1028],\"position\":[1],\"getState\":[64],\"setOpen\":[64]}]]],[\"gov-empty\",[[4,\"gov-empty\"]]],[\"gov-error-code\",[[4,\"gov-error-code\"]]],[\"gov-form-control\",[[4,\"gov-form-control\",{\"gap\":[1],\"identifier\":[1],\"invalid\":[4],\"disabled\":[4],\"success\":[4],\"fieldset\":[4],\"size\":[1]}]]],[\"gov-form-group\",[[4,\"gov-form-group\",{\"gap\":[1],\"orientation\":[1]}]]],[\"gov-form-label\",[[4,\"gov-form-label\",{\"identifier\":[1],\"size\":[1],\"required\":[4],\"legend\":[4]}]]],[\"gov-form-password-power\",[[4,\"gov-form-password-power\",{\"power\":[2]}]]],[\"gov-form-radio\",[[4,\"gov-form-radio\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-form-search\",[[4,\"gov-form-search\",{\"variant\":[1]}]]],[\"gov-form-switch\",[[4,\"gov-form-switch\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-grid\",[[4,\"gov-grid\",{\"alignX\":[1,\"align-x\"],\"alignY\":[1,\"align-y\"]}]]],[\"gov-grid-item\",[[4,\"gov-grid-item\",{\"size\":[1],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]}]]],[\"gov-layout\",[[4,\"gov-layout\",{\"type\":[1],\"variant\":[1],\"inverse\":[4]}]]],[\"gov-layout-column\",[[4,\"gov-layout-column\"]]],[\"gov-message\",[[4,\"gov-message\",{\"variant\":[1]}]]],[\"gov-nav\",[[4,\"gov-nav\",{\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-nav-item\",[[4,\"gov-nav-item\",{\"href\":[1],\"isExpandedState\":[32]}]]],[\"gov-side-nav\",[[4,\"gov-side-nav\",{\"inverse\":[4],\"compact\":[4],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-skeleton\",[[0,\"gov-skeleton\",{\"variant\":[1],\"count\":[2],\"shape\":[1],\"width\":[1],\"height\":[1],\"animation\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"validateWcag\":[64]}]]],[\"gov-spacer\",[[0,\"gov-spacer\",{\"size\":[1],\"breakpoint\":[1]}]]],[\"gov-statsbar\",[[4,\"gov-statsbar\",{\"iconPosition\":[1,\"icon-position\"],\"variant\":[1]}]]],[\"gov-statsbar-item\",[[4,\"gov-statsbar-item\",{\"iconPosition\":[1,\"icon-position\"]}]]],[\"gov-stepper\",[[4,\"gov-stepper\",{\"size\":[1]}]]],[\"gov-stepper-item\",[[4,\"gov-stepper-item\",{\"variant\":[1],\"size\":[1],\"identifier\":[1],\"label\":[1],\"annotation\":[1],\"triggerTag\":[1,\"trigger-tag\"],\"isExpandedState\":[32],\"currentState\":[64]}]]],[\"gov-tabs-item\",[[4,\"gov-tabs-item\",{\"identifier\":[1],\"triggerIdentifier\":[1,\"trigger-identifier\"],\"label\":[1],\"default\":[4],\"isActive\":[32],\"getIdentifier\":[64],\"getTriggerIdentifier\":[64],\"setActiveStatus\":[64]}]]],[\"gov-tiles\",[[4,\"gov-tiles\",{\"columns\":[2],\"noBorder\":[4,\"no-border\"]}]]],[\"gov-tooltip\",[[4,\"gov-tooltip\",{\"variant\":[1],\"size\":[1],\"position\":[1],\"message\":[1],\"identifier\":[1],\"icon\":[4],\"persist\":[32],\"show\":[64],\"hide\":[64]}]]],[\"gov-wizard\",[[4,\"gov-wizard\",{\"size\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-icon\",[[0,\"gov-icon\",{\"name\":[1],\"type\":[1],\"iconData\":[32],\"visible\":[32],\"error\":[32]}]]],[\"gov-form-input\",[[4,\"gov-form-input\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"success\":[4],\"size\":[1],\"name\":[1],\"multiline\":[4],\"rows\":[2],\"cols\":[2],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"minlength\":[2],\"maxlength\":[2],\"min\":[8],\"max\":[8],\"autocomplete\":[4],\"autocorrect\":[4],\"type\":[1],\"inputType\":[1,\"input-type\"],\"role\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"wcagAutocomplete\":[1,\"wcag-autocomplete\"],\"wcagExpanded\":[4,\"wcag-expanded\"],\"focused\":[32],\"setFocus\":[64],\"setValue\":[64],\"clearValue\":[64],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-form-autocomplete\",[[4,\"gov-form-autocomplete\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"success\":[4],\"size\":[1],\"nameKey\":[1,\"name-key\"],\"name\":[1],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"invalid\":[4],\"minlength\":[2],\"maxlength\":[2],\"messageEmpty\":[1,\"message-empty\"],\"messageLoading\":[1,\"message-loading\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"processing\":[32],\"arrowCounter\":[32],\"list\":[32],\"setFocus\":[64],\"setOptions\":[64],\"clearValue\":[64],\"setProcessing\":[64],\"setSearchCallback\":[64],\"setTemplateResolver\":[64]}]]],[\"gov-form-select\",[[4,\"gov-form-select\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"success\":[4],\"disabled\":[4],\"invalid\":[4],\"wcagActiveDescendant\":[1,\"wcag-active-descendant\"],\"wcagControls\":[1,\"wcag-controls\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"setFocus\":[64],\"setValue\":[64],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-badge\",[[4,\"gov-badge\",{\"inverse\":[4],\"disabled\":[4],\"href\":[1],\"target\":[1],\"size\":[1],\"tag\":[1],\"variant\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"getTriggerRef\":[64]}]]],[\"gov-attachments_3\",[[4,\"gov-attachments-item\",{\"wcagRemoveLabel\":[1,\"wcag-remove-label\"],\"wcagRemoveLabelledBy\":[1,\"wcag-remove-labelled-by\"],\"validateWcag\":[64]}],[4,\"gov-attachments\",{\"label\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"validateWcag\":[64]}],[4,\"gov-form-message\",{\"variant\":[1],\"identifier\":[64]}]]],[\"gov-backdrop\",[[0,\"gov-backdrop\",{\"inverse\":[4],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-button\",[[4,\"gov-button\",{\"variant\":[513],\"size\":[513],\"type\":[513],\"expanded\":[4],\"inverse\":[4],\"name\":[1],\"disabled\":[516],\"nativeType\":[1,\"native-type\"],\"href\":[1],\"target\":[1],\"download\":[4],\"hreflang\":[1],\"referrerpolicy\":[1],\"rel\":[1],\"loading\":[1],\"focusable\":[4],\"identifier\":[1],\"wcagActiveDescendant\":[1,\"wcag-active-descendant\"],\"wcagControls\":[1,\"wcag-controls\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagDescription\":[1,\"wcag-description\"],\"wcagDetails\":[1,\"wcag-details\"],\"wcagExpanded\":[4,\"wcag-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"wcagHasPopup\":[1,\"wcag-has-popup\"],\"wcagPressed\":[1,\"wcag-pressed\"],\"wcagCurrent\":[1,\"wcag-current\"],\"isPressed\":[32],\"setFocus\":[64],\"getTriggerRef\":[64],\"validateWcag\":[64]}]]]]"), options);
40
+ return bootstrapLazy(JSON.parse("[[\"gov-form-file\",[[4,\"gov-form-file\",{\"expanded\":[4],\"required\":[4],\"disabled\":[4],\"displayAttachments\":[4,\"display-attachments\"],\"name\":[1],\"accept\":[1],\"multiple\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"identifier\":[1],\"invalid\":[4],\"errorSize\":[1,\"error-size\"],\"errorAccept\":[1,\"error-accept\"],\"attachmentsLabel\":[1,\"attachments-label\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagRemoveLabel\":[1,\"wcag-remove-label\"],\"wcagAttachmentsLabel\":[1,\"wcag-attachments-label\"],\"files\":[32],\"getRef\":[64],\"getAreaRef\":[64],\"reset\":[64],\"validateWcag\":[64]}]]],[\"gov-form-multi-select\",[[4,\"gov-form-multi-select\",{\"identifier\":[1],\"placeholder\":[1],\"variant\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"success\":[4],\"messageEmpty\":[1,\"message-empty\"],\"messageLoading\":[1,\"message-loading\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"value\":[32],\"selectedOptions\":[32],\"setFocus\":[64],\"setValue\":[64],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-modal\",[[4,\"gov-modal\",{\"open\":[1028],\"blockClose\":[4,\"block-close\"],\"label\":[1],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagCloseLabelledBy\":[1,\"wcag-close-labelled-by\"],\"show\":[64],\"hide\":[64],\"validateWcag\":[64]}]]],[\"gov-pagination\",[[0,\"gov-pagination\",{\"type\":[1],\"current\":[2],\"total\":[2],\"inverse\":[4],\"size\":[1],\"variant\":[1],\"pageSize\":[2,\"page-size\"],\"maxPages\":[2,\"max-pages\"],\"link\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagSelectLabel\":[1,\"wcag-select-label\"],\"wcagPageLabel\":[1,\"wcag-page-label\"],\"pagination\":[32],\"validateWcag\":[64]}]]],[\"gov-prompt\",[[4,\"gov-prompt\",{\"open\":[1028],\"label\":[1],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagCloseLabelledBy\":[1,\"wcag-close-labelled-by\"],\"show\":[64],\"hide\":[64],\"validateWcag\":[64]}]]],[\"gov-tabs\",[[4,\"gov-tabs\",{\"type\":[1],\"variant\":[1],\"orientation\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagSelectLabel\":[1,\"wcag-select-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"controller\":[32],\"focusIndex\":[32],\"compactControls\":[32],\"refresh\":[64],\"currentTab\":[64],\"setActiveTab\":[64],\"validateWcag\":[64]}]]],[\"gov-infobar\",[[4,\"gov-infobar\",{\"headline\":[1],\"variant\":[1],\"inverse\":[4],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagToggleLabel\":[1,\"wcag-toggle-label\"],\"closable\":[4],\"toggleContent\":[32],\"validateWcag\":[64]}]]],[\"gov-loading\",[[4,\"gov-loading\"]]],[\"gov-side-nav-item\",[[4,\"gov-side-nav-item\",{\"inverse\":[4],\"compact\":[4],\"identifier\":[1],\"count\":[4],\"label\":[1],\"disabled\":[4],\"href\":[1],\"isExpanded\":[4,\"is-expanded\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-toast\",[[4,\"gov-toast\",{\"variant\":[1],\"gravity\":[1],\"position\":[1],\"type\":[1],\"time\":[2],\"closeLabel\":[1,\"close-label\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"destroy\":[64]}]]],[\"gov-tooltip-content\",[[4,\"gov-tooltip-content\",{\"variant\":[1],\"size\":[1],\"persist\":[4],\"isVisible\":[1028,\"is-visible\"],\"parentId\":[1,\"parent-id\"]}]]],[\"gov-accordion-item\",[[4,\"gov-accordion-item\",{\"variant\":[1],\"identifier\":[1],\"size\":[1],\"disabled\":[4],\"isExpanded\":[1028,\"is-expanded\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-card\",[[4,\"gov-card\",{\"promotion\":[4],\"label\":[1],\"collapsible\":[4],\"expanded\":[4],\"headlineTag\":[1,\"headline-tag\"],\"wcagTriggerLabel\":[1,\"wcag-trigger-label\"],\"wcagTriggerLabelledBy\":[1,\"wcag-trigger-labelled-by\"],\"isExpanded\":[32],\"open\":[64],\"close\":[64],\"validateWcag\":[64]}]]],[\"gov-form-checkbox\",[[4,\"gov-form-checkbox\",{\"value\":[1],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"noLabel\":[4,\"no-label\"],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-tile\",[[4,\"gov-tile\",{\"href\":[513],\"target\":[1],\"getTriggerRef\":[64]}]]],[\"gov-wizard-item\",[[4,\"gov-wizard-item\",{\"variant\":[1],\"size\":[1],\"identifier\":[1],\"collapsible\":[4],\"annotation\":[1],\"label\":[1],\"disabled\":[4],\"isExpanded\":[1028,\"is-expanded\"],\"labelTag\":[1,\"label-tag\"],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-accordion\",[[4,\"gov-accordion\",{\"size\":[1],\"variant\":[1],\"noBorder\":[4,\"no-border\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-app\",[[0,\"gov-app\"]]],[\"gov-breadcrumbs\",[[4,\"gov-breadcrumbs\",{\"collapsible\":[4],\"isExpanded\":[4,\"is-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labeled-by\"],\"validateWcag\":[64]}]]],[\"gov-container\",[[4,\"gov-container\",{\"slottedChildren\":[64]}]]],[\"gov-control-group\",[[4,\"gov-control-group\",{\"variant\":[1],\"noBorder\":[4,\"no-border\"]}]]],[\"gov-cookiebar\",[[4,\"gov-cookiebar\"]]],[\"gov-dropdown\",[[4,\"gov-dropdown\",{\"open\":[1028],\"position\":[1],\"getState\":[64],\"setOpen\":[64]}]]],[\"gov-empty\",[[4,\"gov-empty\"]]],[\"gov-error-code\",[[4,\"gov-error-code\"]]],[\"gov-form-control\",[[4,\"gov-form-control\",{\"gap\":[1],\"identifier\":[1],\"invalid\":[4],\"disabled\":[4],\"success\":[4],\"fieldset\":[4],\"size\":[1]}]]],[\"gov-form-group\",[[4,\"gov-form-group\",{\"gap\":[1],\"orientation\":[1]}]]],[\"gov-form-label\",[[4,\"gov-form-label\",{\"identifier\":[1],\"size\":[1],\"required\":[4],\"legend\":[4]}]]],[\"gov-form-password-power\",[[4,\"gov-form-password-power\",{\"power\":[514]}]]],[\"gov-form-radio\",[[4,\"gov-form-radio\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-form-search\",[[4,\"gov-form-search\",{\"variant\":[513]}]]],[\"gov-form-switch\",[[4,\"gov-form-switch\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-grid\",[[4,\"gov-grid\",{\"alignX\":[1,\"align-x\"],\"alignY\":[1,\"align-y\"]}]]],[\"gov-grid-item\",[[4,\"gov-grid-item\",{\"size\":[1],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]}]]],[\"gov-layout\",[[4,\"gov-layout\",{\"type\":[1],\"variant\":[1],\"inverse\":[4]}]]],[\"gov-layout-column\",[[4,\"gov-layout-column\"]]],[\"gov-message\",[[4,\"gov-message\",{\"variant\":[1]}]]],[\"gov-nav\",[[4,\"gov-nav\",{\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-nav-item\",[[4,\"gov-nav-item\",{\"href\":[1],\"isExpandedState\":[32]}]]],[\"gov-side-nav\",[[4,\"gov-side-nav\",{\"inverse\":[4],\"compact\":[4],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-skeleton\",[[0,\"gov-skeleton\",{\"variant\":[1],\"count\":[2],\"shape\":[1],\"width\":[1],\"height\":[1],\"animation\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"validateWcag\":[64]}]]],[\"gov-spacer\",[[0,\"gov-spacer\",{\"size\":[1],\"breakpoint\":[1]}]]],[\"gov-statsbar\",[[4,\"gov-statsbar\",{\"iconPosition\":[1,\"icon-position\"],\"variant\":[1]}]]],[\"gov-statsbar-item\",[[4,\"gov-statsbar-item\",{\"iconPosition\":[1,\"icon-position\"]}]]],[\"gov-stepper\",[[4,\"gov-stepper\",{\"size\":[1]}]]],[\"gov-stepper-item\",[[4,\"gov-stepper-item\",{\"variant\":[1],\"size\":[1],\"identifier\":[1],\"label\":[1],\"annotation\":[1],\"triggerTag\":[1,\"trigger-tag\"],\"isExpandedState\":[32],\"currentState\":[64]}]]],[\"gov-tabs-item\",[[4,\"gov-tabs-item\",{\"identifier\":[1],\"triggerIdentifier\":[1,\"trigger-identifier\"],\"label\":[513],\"default\":[4],\"isActive\":[32],\"getIdentifier\":[64],\"getTriggerIdentifier\":[64],\"setActiveStatus\":[64]}]]],[\"gov-tag\",[[4,\"gov-tag\",{\"inverse\":[4],\"size\":[513],\"variant\":[513]}]]],[\"gov-tiles\",[[4,\"gov-tiles\",{\"columns\":[2],\"noBorder\":[4,\"no-border\"]}]]],[\"gov-tooltip\",[[4,\"gov-tooltip\",{\"variant\":[1],\"size\":[1],\"position\":[1025],\"message\":[1],\"identifier\":[1],\"icon\":[516],\"persist\":[32],\"show\":[64],\"hide\":[64]}]]],[\"gov-wizard\",[[4,\"gov-wizard\",{\"size\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-icon\",[[0,\"gov-icon\",{\"name\":[1],\"type\":[1],\"iconData\":[32],\"visible\":[32],\"error\":[32]}]]],[\"gov-form-input\",[[4,\"gov-form-input\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"success\":[4],\"size\":[1],\"name\":[1],\"multiline\":[4],\"rows\":[2],\"cols\":[2],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"minlength\":[2],\"maxlength\":[2],\"min\":[8],\"max\":[8],\"autocomplete\":[4],\"autocorrect\":[4],\"type\":[1],\"inputType\":[1,\"input-type\"],\"role\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"wcagAutocomplete\":[1,\"wcag-autocomplete\"],\"wcagExpanded\":[4,\"wcag-expanded\"],\"focused\":[32],\"setFocus\":[64],\"setValue\":[64],\"clearValue\":[64],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-form-autocomplete\",[[4,\"gov-form-autocomplete\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"success\":[4],\"size\":[1],\"nameKey\":[1,\"name-key\"],\"name\":[1],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"invalid\":[4],\"minlength\":[2],\"maxlength\":[2],\"messageEmpty\":[1,\"message-empty\"],\"messageLoading\":[1,\"message-loading\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"processing\":[32],\"arrowCounter\":[32],\"list\":[32],\"setFocus\":[64],\"setOptions\":[64],\"clearValue\":[64],\"setProcessing\":[64],\"setSearchCallback\":[64],\"setTemplateResolver\":[64]}]]],[\"gov-form-select\",[[4,\"gov-form-select\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"success\":[4],\"disabled\":[4],\"invalid\":[4],\"wcagActiveDescendant\":[1,\"wcag-active-descendant\"],\"wcagControls\":[1,\"wcag-controls\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"options\":[32],\"setFocus\":[64],\"setValue\":[64],\"getRef\":[64],\"setOptions\":[64],\"validateWcag\":[64]}]]],[\"gov-chip\",[[4,\"gov-chip\",{\"inverse\":[4],\"disabled\":[4],\"href\":[1],\"target\":[1],\"size\":[1],\"tag\":[1],\"variant\":[1],\"focusable\":[4],\"identifier\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagControls\":[1,\"wcag-controls\"],\"wcagSelected\":[4,\"wcag-selected\"],\"getTriggerRef\":[64],\"getTriggerIdentifier\":[64],\"setFocus\":[64]}]]],[\"gov-attachments_3\",[[4,\"gov-attachments-item\",{\"wcagRemoveLabel\":[1,\"wcag-remove-label\"],\"wcagRemoveLabelledBy\":[1,\"wcag-remove-labelled-by\"],\"validateWcag\":[64]}],[4,\"gov-attachments\",{\"label\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"validateWcag\":[64]}],[4,\"gov-form-message\",{\"variant\":[1],\"identifier\":[64]}]]],[\"gov-backdrop\",[[0,\"gov-backdrop\",{\"inverse\":[4],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-button\",[[4,\"gov-button\",{\"variant\":[513],\"size\":[513],\"type\":[513],\"expanded\":[4],\"inverse\":[4],\"name\":[1],\"disabled\":[516],\"nativeType\":[1,\"native-type\"],\"href\":[1],\"target\":[1],\"download\":[4],\"hreflang\":[1],\"referrerpolicy\":[1],\"rel\":[1],\"loading\":[1],\"focusable\":[4],\"identifier\":[1],\"wcagActiveDescendant\":[1,\"wcag-active-descendant\"],\"wcagControls\":[1,\"wcag-controls\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagDescription\":[1,\"wcag-description\"],\"wcagDetails\":[1,\"wcag-details\"],\"wcagExpanded\":[4,\"wcag-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"wcagHasPopup\":[1,\"wcag-has-popup\"],\"wcagPressed\":[1,\"wcag-pressed\"],\"wcagCurrent\":[1,\"wcag-current\"],\"isPressed\":[32],\"setFocus\":[64],\"getTriggerRef\":[64],\"validateWcag\":[64]}]]]]"), options);
18
41
  });
19
42
 
20
43
  //# sourceMappingURL=core.js.map
@@ -1 +1 @@
1
- {"file":"core.js","mappings":";;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAyB3B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;AChCD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["../../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.2.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
1
+ {"file":"core.js","mappings":";;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAK3B,IAA4B;AAC5B;AACA,QAAQ,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACvC,KAAK;AAiBL,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC,CAAC;AACF,MAAM,iBAAiB,GAAG,CAAC,oBAAoB,KAAK;AACpD,IAAI,MAAM,iBAAiB,GAAG,oBAAoB,CAAC,SAAS,CAAC;AAC7D,IAAI,oBAAoB,CAAC,SAAS,GAAG,UAAU,IAAI,EAAE;AACrD,QAAQ,IAAI,IAAI,CAAC,QAAQ,KAAK,UAAU,EAAE;AAC1C,YAAY,OAAO,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACtD,SAAS;AACT,QAAQ,MAAM,UAAU,GAAG,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,QAAQ,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC;AAC9C,QAAQ,IAAI,IAAI,EAAE;AAClB,YAAY,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC3D;AACA,gBAAgB,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,EAAE;AACrD,oBAAoB,UAAU,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;AAC7E,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT,QAAQ,OAAO,UAAU,CAAC;AAC1B,KAAK,CAAC;AACN,CAAC;;ACnDD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["../../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.2.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
@@ -9,6 +9,7 @@ const FormCheckboxSizes = pick(Sizes, ['_XS', '_S', '_M', '_L']);
9
9
  const FormCheckboxClass = {
10
10
  root: 'gov-form-checkbox',
11
11
  check: 'gov-form-checkbox__check',
12
+ label: 'gov-form-checkbox__label',
12
13
  };
13
14
 
14
15
  pick(Sizes, ['_M', '_L', '_XL']);
@@ -74,6 +75,7 @@ const FormRadioClass = {
74
75
  holder: 'gov-form-radio__holder',
75
76
  input: 'gov-form-radio__input',
76
77
  indicator: 'gov-form-radio__indicator',
78
+ label: 'gov-form-radio__label',
77
79
  };
78
80
 
79
81
  const govForm = (govHost) => {
@@ -140,4 +142,4 @@ const govForm = (govHost) => {
140
142
 
141
143
  export { FormCheckboxClass as F, FormCheckboxSizes as a, FormControlClass as b, FormMultiSelectClass as c, FormMultiselectVariants as d, FormMultiselectSizes as e, FormRadioClass as f, govForm as g, FormRadioSizes as h, FormSwitchClass as i, FormSwitchSizes as j, FormInputClass as k, FormInputVariants as l, FormInputSizes as m, FormSelectClass as n, FormSelectVariants as o, FormSelectSizes as p };
142
144
 
143
- //# sourceMappingURL=form-2d9f68d9.js.map
145
+ //# sourceMappingURL=form-39dc6896.js.map
@@ -0,0 +1 @@
1
+ {"file":"form-39dc6896.js","mappings":"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","names":[],"sources":["../../../packages/core/src/components/gov-form/checkbox/constants.ts","../../../packages/core/src/components/gov-form/control/constants.ts","../../../packages/core/src/components/gov-form/input/constants.ts","../../../packages/core/src/components/gov-form/select/constants.ts","../../../packages/core/src/components/gov-form/multiselect/constants.ts","../../../packages/core/src/components/gov-form/switch/constants.ts","../../../packages/core/src/components/gov-form/radio/constants.ts","../../../packages/core/src/helpers/Dom/form.ts"],"sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormCheckboxSizes = pick(Sizes, ['_XS', '_S', '_M', '_L'])\nexport type FormCheckboxSizesType = `${ValueOf<typeof FormCheckboxSizes>}`\n\nexport const FormCheckboxClass = {\n\troot: 'gov-form-checkbox',\n\tcheck: 'gov-form-checkbox__check',\n\tlabel: 'gov-form-checkbox__label',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormControlSizes = pick(Sizes, ['_M', '_L', '_XL'])\nexport type FormControlSizesType = `${ValueOf<typeof FormControlSizes>}`\n\nexport const FormControlClass = {\n\troot: 'gov-form-control',\n\tholder: 'gov-form-control__holder',\n\tbottom: 'gov-form-control__bottom',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { Variants } from '../../../core/constants/variants'\nimport { ValueOf } from '../../../types/interfaces'\nimport { pick } from '../../../utils/utils'\n\nexport const FormInputSizes = pick(Sizes, ['_S', '_M', '_L', '_XL'])\nexport type FormInputSizesType = `${ValueOf<typeof FormInputSizes>}`\n\nexport const FormInputVariants = pick(Variants, ['PRIMARY', 'SECONDARY'])\nexport type FormInputVariantType = `${ValueOf<typeof FormInputVariants>}`\n\nexport enum InputTypes {\n\tCOLOR = 'color',\n\tDATE = 'date',\n\tDATETIME_LOCAL = 'datetime-local',\n\tEMAIL = 'email',\n\tMONTH = 'month',\n\tNUMBER = 'number',\n\tPASSWORD = 'password',\n\tSEARCH = 'search',\n\tTEL = 'tel',\n\tTEXT = 'text',\n\tTIME = 'time',\n\tURL = 'url',\n\tWEEK = 'week',\n}\n\nexport type InputType = `${ValueOf<typeof InputTypes>}`\n\nexport enum Type {\n\tRESET = 'reset',\n}\n\nexport type TypesType = `${ValueOf<typeof Type>}`\n\nexport const FormInputClass = {\n\troot: 'gov-form-input',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { Variants } from '../../../core/constants/variants'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormSelectSizes = pick(Sizes, ['_M', '_L', '_XL'])\nexport type FormSelectSizesType = `${ValueOf<typeof FormSelectSizes>}`\n\nexport const FormSelectVariants = pick(Variants, ['PRIMARY', 'SECONDARY'])\nexport type FormSelectVariantType = `${ValueOf<typeof FormSelectVariants>}`\n\nexport const FormSelectClass = {\n\troot: 'gov-form-select',\n\ticon: 'gov-form-select__icon',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { Variants } from '../../../core/constants/variants'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormMultiselectSizes = pick(Sizes, ['_M', '_L', '_XL'])\nexport type FormMultiselectSizesType = `${ValueOf<typeof FormMultiselectSizes>}`\n\nexport const FormMultiselectVariants = pick(Variants, ['PRIMARY', 'SECONDARY'])\nexport type FormMultiselectVariantType = `${ValueOf<typeof FormMultiselectVariants>}`\n\nexport const FormMultiSelectClass = {\n\troot: 'gov-form-multi-select',\n\twrap: 'gov-form-multi-select__wrap',\n\tlist: 'gov-form-multi-select__list',\n\titem: 'gov-form-multi-select__item',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { ValueOf } from '../../../types/interfaces'\nimport { pick } from '../../../utils/utils'\n\nexport const FormSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L'])\nexport type FormSwitchSizesType = `${ValueOf<typeof FormSwitchSizes>}`\n\nexport const FormSwitchClass = {\n\troot: 'gov-form-switch',\n\tholder: 'gov-form-switch__holder',\n\tinput: 'gov-form-switch__input',\n\tindicator: 'gov-form-switch__indicator',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormRadioSizes = pick(Sizes, ['_XS', '_S', '_M', '_L'])\nexport type FormRadioSizesType = `${ValueOf<typeof FormRadioSizes>}`\n\nexport const FormRadioClass = {\n\troot: 'gov-form-radio',\n\tholder: 'gov-form-radio__holder',\n\tinput: 'gov-form-radio__input',\n\tindicator: 'gov-form-radio__indicator',\n\tlabel: 'gov-form-radio__label',\n}\n","import { GovHost } from './template.types'\nimport { GovForm } from './form.types'\nimport { FormControlClass } from '../../components/gov-form/control/constants'\nimport { FormInputClass } from '../../components/gov-form/input/constants'\nimport { FormSelectClass } from '../../components/gov-form/select/constants'\nimport { FormMultiSelectClass } from '../../components/gov-form/multiselect/constants'\nimport { FormSwitchClass } from '../../components/gov-form/switch/constants'\nimport { FormCheckboxClass } from '../../components/gov-form/checkbox/constants'\nimport { FormRadioClass } from '../../components/gov-form/radio/constants'\nimport { FormMessageClass } from '../../components/gov-form/message/constants'\nimport { FormAutocompleteClass } from '../../components/gov-form/autocomplete/constants'\nimport { Nullable } from '../../types/interfaces'\nimport { FormLabelClass } from \"../../components/gov-form/label/constants\"\n\nexport const govForm = (govHost: GovHost): GovForm => {\n\treturn {\n\t\tget govHost(): GovHost {\n\t\t\treturn govHost\n\t\t},\n\t\tpassAttrToControl(name: string, value: string): void {\n\t\t\tif (this.control) {\n\t\t\t\tthis.control.setAttribute(name, value)\n\t\t\t}\n\t\t},\n\t\tpassAttrToLabel(name: string, value: string): void {\n\t\t\tif (this.label) {\n\t\t\t\tthis.label.setAttribute(name, value)\n\t\t\t}\n\t\t},\n\t\tget hasGroupChildren(): boolean {\n\t\t\tif (this.control) {\n\t\t\t\treturn this.control.querySelectorAll('gov-form-group > *').length > 1\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\t\tget control(): Nullable<HTMLGovFormControlElement> {\n\t\t\tif (this.govHost.name === FormControlClass.root) {\n\t\t\t\treturn this.govHost.hostElement\n\t\t\t}\n\t\t\treturn this.govHost.getParent(FormControlClass.root)\n\t\t},\n\t\tget label(): Nullable<HTMLGovFormLabelElement> {\n\t\t\tconst innerLabel = this.govHost.hostElement.querySelector(`.${FormLabelClass.root}`)\n\t\t\tif(innerLabel) {\n\t\t\t\treturn innerLabel\n\t\t\t}\n\t\t\tif (this.control) {\n\t\t\t\treturn this.control.querySelector(`.${FormLabelClass.root}`)\n\t\t\t}\n\t\t\treturn null\n\t\t},\n\t\tget mainElementsInControl(): Element[] {\n\t\t\tconst formElements = [\n\t\t\t\tFormSelectClass.root,\n\t\t\t\tFormInputClass.root,\n\t\t\t\tFormSwitchClass.root,\n\t\t\t\tFormCheckboxClass.root,\n\t\t\t\tFormRadioClass.root,\n\t\t\t\tFormMultiSelectClass.root,\n\t\t\t\tFormAutocompleteClass.root,\n\t\t\t]\n\t\t\tif (this.control) {\n\t\t\t\tconst elements = formElements.map(el => `${el}:first-of-type`).join(', ')\n\t\t\t\treturn Array.from(this.control.querySelectorAll(elements))\n\t\t\t}\n\t\t\treturn []\n\t\t},\n\t\tget messageElements(): HTMLGovFormMessageElement[] {\n\t\t\tif (this.control) {\n\t\t\t\treturn Array.from(this.control.querySelectorAll(FormMessageClass.root))\n\t\t\t}\n\t\t\treturn []\n\t\t},\n\t}\n}\n"],"version":3}
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ae3c50f1.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-eb59f132.js';
2
2
  import { v as validateProp } from './props-789f7529.js';
3
3
  import { A as AccordionItemClass, a as AccordionClass, b as AccordionSizes, c as AccordionVariants } from './constants-09bda759.js';
4
4
  import { c as createID } from './string.utils-f268fc6b.js';
5
- import { g as govHost, b as booleanString, t as toBoolAttrIfDefined } from './template-10332292.js';
5
+ import { g as govHost, b as booleanString, t as toBoolAttrIfDefined } from './template-df429738.js';
6
6
  import './gov.log-af905420.js';
7
7
  import './sizes-6c5943b4.js';
8
8
  import './variants-2b936d58.js';
@@ -1 +1 @@
1
- {"file":"gov-accordion-item.entry.js","mappings":"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","names":[],"sources":["../../../packages/core/src/components/gov-accordion/gov-accordion-item.scss?tag=gov-accordion-item","../../../packages/core/src/components/gov-accordion/gov-accordion-item.tsx"],"sourcesContent":["/*\n * Accordion - Item\n */\n\n$class: \".gov-accordion-item\";\n\n#{$class} {\n\t@include base();\n\t&::before {\n\t\t@include pseudo();\n\t\tright: 0;\n\t\tbottom: -1px;\n\t\tleft: 0;\n\t\theight: 1px;\n\t\tbackground-color: color(\"secondary.500\");\n\t}\n\n\t&__header {\n\t\t@include button-core();\n\t\t@include focus-outline();\n\t\t@include general;\n\t\tposition: relative;\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\talign-items: flex-start;\n\t\twidth: 100%;\n\t\tborder-radius: 0;\n\t\ttext-align: left;\n\t\ttext-transform: none;\n\t\ttransition: background-color $t ease-in-out;\n\n\t\t// STATES\n\t\t&:focus-visible {\n\t\t\t&::before {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t\t@include parameter(\"aria-expanded\") {\n\t\t\t#{$class} {\n\t\t\t\t&__arrow .gov-icon:not([slot=\"toggle-icon\"]) {\n\t\t\t\t\ttransform: scale(-1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t&__icon {\n\t\tdisplay: inline-flex;\n\t\tvertical-align: middle;\n\t\tflex: 0 0 auto;\n\t}\n\t&__title {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tmargin-right: auto;\n\t}\n\t&__label * {\n\t\tmargin-bottom: 0;\n\t\tdisplay: inline-block;\n\t\ttransform: translateY(1px);\n\t}\n\t&__annotation * {\n\t\tcolor: color(\"secondary\");\n\t\tmargin-bottom: 0;\n\t}\n\t&__right {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tmargin-left: auto;\n\t}\n\t&__suffix {\n\t\tdisplay: inline-flex;\n\t\tvertical-align: middle;\n\t\tflex: 0 0 auto;\n\t\talign-self: start;\n\t\tline-height: initial;\n\t}\n\t&__arrow {\n\t\tflex: 0 0 auto;\n\t}\n\t&__content {\n\t\t@include reset-last-margin();\n\t}\n\n\t// VARIANTS\n\t@each $size, $definitions in $accordion-sizes {\n\t\t&[size=\"#{$size}\"],\n\t\t& #{$class}[size=\"#{$size}\"] {\n\t\t\t#{$class} {\n\t\t\t\t&__header {\n\t\t\t\t\tgap: get(\"headline-gap\", $definitions);\n\t\t\t\t\tmin-height: get(\"min-height\", $definitions);\n\t\t\t\t\tpadding: get(\"padding-y\", $definitions) get(\"padding-x\", $definitions);\n\t\t\t\t}\n\t\t\t\t&__icon {\n\t\t\t\t\twidth: calc(get-font-size(get(\"font\", $definitions)) * 1.2);\n\t\t\t\t\theight: calc(get-font-size(get(\"font\", $definitions)) * 1.2);\n\t\t\t\t\ttransform: translateY(get(\"icon-position\", $definitions));\n\t\t\t\t}\n\t\t\t\t&__label * {\n\t\t\t\t\t@include typography(get(\"font\", $definitions));\n\t\t\t\t}\n\t\t\t\t&__annotation {\n\t\t\t\t\t@include typography(get(\"font-annotation\", $definitions));\n\t\t\t\t}\n\t\t\t\t&__right {\n\t\t\t\t\tgap: get(\"headline-gap\", $definitions);\n\t\t\t\t\ttransform: translateY(get(\"arrow-position\", $definitions));\n\t\t\t\t\t&:has(#{$class}__suffix) {\n\t\t\t\t\t\ttransform: translateY(get(\"icon-position\", $definitions));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t&__arrow {\n\t\t\t\t\twidth: get(\"icon-size\", $definitions);\n\t\t\t\t\theight: get(\"icon-size\", $definitions);\n\t\t\t\t}\n\t\t\t\t&__content {\n\t\t\t\t\tpadding: get(\"padding-inner\", $definitions);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t@each $variant, $definitions in $accordion-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\t#{$class} {\n\t\t\t\t&::before {\n\t\t\t\t\tbackground-color: get(\"separator\", $definitions);\n\t\t\t\t}\n\t\t\t\t&__header {\n\t\t\t\t\tbackground-color: get(\"background\", $definitions);\n\t\t\t\t\tcolor: get(\"color\", $definitions);\n\t\t\t\t\t@include hover() {\n\t\t\t\t\t\tbackground-color: get(\"background-hover\", $definitions);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// STATES\n\t\t\t@include parameter(\"disabled\") {\n\t\t\t\t#{$class} {\n\t\t\t\t\t&__header {\n\t\t\t\t\t\tcolor: get(\"disabled-color\", $definitions);\n\t\t\t\t\t\t@include hover() {\n\t\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\t\tcursor: not-allowed;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// MQ\n\t@include mq($until: md) {\n\t\t&__title {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\t\t&__label {\n\t\t\tflex: 0 0 auto;\n\t\t}\n\t}\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport {\n\tAccordionClass,\n\tAccordionItemClass,\n\tAccordionSizes,\n\tAccordionSizeType,\n\tAccordionVariants,\n\tAccordionVariantType,\n} from \"./constants\"\nimport { createID } from \"../../utils/string.utils\"\nimport { booleanString, govHost, toBoolAttrIfDefined } from \"../../helpers/Dom/template\"\nimport { AccordionItemEvent } from \"./gov-accordion.types\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\n\n@Component({\n\ttag: \"gov-accordion-item\",\n\tstyleUrl: \"gov-accordion-item.scss\",\n})\nexport class GovAccordionItem {\n\tprivate readonly triggerId: string\n\tprivate readonly contentId: string\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.triggerId = createID(\"GovAccordionItem\")\n\t\tthis.contentId = createID(\"GovAccordionContent\")\n\t}\n\n\t@Element() readonly host: HTMLGovAccordionItemElement\n\t@State() isExpandedState: boolean\n\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() variant?: AccordionVariantType\n\t/**\n\t * Custom accordion item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Accordion’s size.\n\t */\n\t@Prop() size?: AccordionSizeType\n\t/**\n\t * Makes the button component disabled.\n\t * This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Defines whether the accordion is open or closed by default\n\t */\n\t@Prop({ attribute: \"is-expanded\", mutable: true }) isExpanded = false\n\t/**\n\t * Called when the accordion state changes\n\t */\n\t@Event({ eventName: \"gov-change\" }) govChange: EventEmitter<AccordionItemEvent>\n\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(AccordionSizes, newValue, AccordionItemClass.root)\n\t}\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(AccordionVariants, newValue, AccordionItemClass.root)\n\t}\n\n\tprivate emmitChange(): void {\n\t\tthis.govChange.emit({\n\t\t\topen: this.isExpanded,\n\t\t\tcomponent: AccordionItemClass.root,\n\t\t\tref: this.host,\n\t\t})\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.getPropsFromParents()\n\t\tthis.validateSize(this.size)\n\t\tthis.validateVariant(this.variant)\n\n\t}\n\n\tgetPropsFromParents() {\n\t\tconst accordion = this.h.getParent(AccordionClass.root)\n\t\tif (accordion) {\n\t\t\tthis.size = accordion.getAttribute(\"size\") as AccordionSizeType\n\t\t\tthis.variant = accordion.getAttribute(\"variant\") as AccordionVariantType\n\t\t}\n\t}\n\n\trender() {\n\t\tconst triggerId = this.identifier || this.triggerId\n\t\tconst contentId = this.contentId\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(AccordionItemClass.root)} size={this.size} variant={this.variant} role=\"listitem\">\n\t\t\t\t<button\n\t\t\t\t\tid={triggerId}\n\t\t\t\t\tclass={AccordionItemClass.header}\n\t\t\t\t\taria-expanded={booleanString(this.isExpanded)}\n\t\t\t\t\taria-controls={contentId}\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\ttype={\"button\"}\n\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\tonClick={(e: Event) => {\n\t\t\t\t\t\te.stopPropagation()\n\t\t\t\t\t\tthis.toggle().finally()\n\t\t\t\t\t}}>\n\n\t\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t\t<span class={AccordionItemClass.icon}>\n\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t</span>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<span class={AccordionItemClass.title}>\n\t\t\t\t\t\t<span class={AccordionItemClass.label}>\n\t\t\t\t\t\t\t<slot name=\"label\" />\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t{this.h.hasSlot(\"annotation\") && (\n\t\t\t\t\t\t\t<span class={AccordionItemClass.annotation}>\n\t\t\t\t\t\t\t\t<slot name=\"annotation\" />\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</span>\n\n\t\t\t\t\t<span class={AccordionItemClass.right}>\n\t\t\t\t\t\t{this.h.hasSlot(\"suffix\") && (\n\t\t\t\t\t\t\t<span class={AccordionItemClass.suffix}>\n\t\t\t\t\t\t\t\t<slot name=\"suffix\" />\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t<span class={AccordionItemClass.arrow}>\n\t\t\t\t\t\t\t{this.h.hasSlot(\"toggle-icon\") ? (\n\t\t\t\t\t\t\t\t<slot name=\"toggle-icon\" />\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<gov-icon name=\"chevron-down\"></gov-icon>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</span>\n\t\t\t\t</button>\n\t\t\t\t<div\n\t\t\t\t\tclass={AccordionItemClass.content}\n\t\t\t\t\tid={contentId}\n\t\t\t\t\taria-hidden={booleanString(!this.isExpanded)}\n\t\t\t\t\thidden={!this.isExpanded}\n\t\t\t\t\taria-labelledby={triggerId}>\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 * Opening the accordion\n\t */\n\t@Method()\n\tasync open(): Promise<void> {\n\t\tthis.isExpanded = true\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Closing the accordion\n\t */\n\t@Method()\n\tasync close(): Promise<void> {\n\t\tthis.isExpanded = false\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Accordion switch\n\t */\n\t@Method()\n\tasync toggle(): Promise<void> {\n\t\tthis.isExpanded = !this.isExpanded\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync currentState(): Promise<boolean> {\n\t\treturn this.isExpanded\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-accordion-item.entry.js","mappings":"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","names":[],"sources":["../../../packages/core/src/components/gov-accordion/gov-accordion-item.scss?tag=gov-accordion-item","../../../packages/core/src/components/gov-accordion/gov-accordion-item.tsx"],"sourcesContent":["/*\n * Accordion - Item\n */\n\n$class: \".gov-accordion-item\";\n\n#{$class} {\n\t@include base();\n\t&::before {\n\t\t@include pseudo();\n\t\tright: 0;\n\t\tbottom: -1px;\n\t\tleft: 0;\n\t\theight: 1px;\n\t\tbackground-color: color(\"secondary.500\");\n\t}\n\n\t&__header {\n\t\t@include button-core();\n\t\t@include focus-outline();\n\t\t@include general;\n\t\tposition: relative;\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\talign-items: flex-start;\n\t\twidth: 100%;\n\t\tborder-radius: 0;\n\t\ttext-align: left;\n\t\ttext-transform: none;\n\t\ttransition: background-color $t ease-in-out;\n\n\t\t// STATES\n\t\t&:focus-visible {\n\t\t\t&::before {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t\t@include parameter(\"aria-expanded\") {\n\t\t\t#{$class} {\n\t\t\t\t&__arrow .gov-icon:not([slot=\"toggle-icon\"]) {\n\t\t\t\t\ttransform: scale(-1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t&__icon {\n\t\tdisplay: inline-flex;\n\t\tvertical-align: middle;\n\t\tflex: 0 0 auto;\n\t}\n\t&__title {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tmargin-right: auto;\n\t}\n\t&__label * {\n\t\tmargin-bottom: 0;\n\t\tdisplay: inline-block;\n\t\ttransform: translateY(1px);\n\t}\n\t&__annotation * {\n\t\tcolor: color(\"secondary\");\n\t\tmargin-bottom: 0;\n\t}\n\t&__right {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tmargin-left: auto;\n\t}\n\t&__suffix {\n\t\tdisplay: inline-flex;\n\t\tvertical-align: middle;\n\t\tflex: 0 0 auto;\n\t\talign-self: start;\n\t\tline-height: initial;\n\t}\n\t&__arrow {\n\t\tflex: 0 0 auto;\n\t}\n\t&__content {\n\t\t@include reset-last-margin();\n\t}\n\n\t// VARIANTS\n\t@each $size, $definitions in $accordion-sizes {\n\t\t&[size=\"#{$size}\"],\n\t\t& #{$class}[size=\"#{$size}\"] {\n\t\t\t#{$class} {\n\t\t\t\t&__header {\n\t\t\t\t\tgap: get(\"headline-gap\", $definitions);\n\t\t\t\t\tmin-height: get(\"min-height\", $definitions);\n\t\t\t\t\tpadding: get(\"padding-y\", $definitions) get(\"padding-x\", $definitions);\n\t\t\t\t}\n\t\t\t\t&__icon {\n\t\t\t\t\twidth: calc(get-font-size(get(\"font\", $definitions)) * 1.2);\n\t\t\t\t\theight: calc(get-font-size(get(\"font\", $definitions)) * 1.2);\n\t\t\t\t\ttransform: translateY(get(\"icon-position\", $definitions));\n\t\t\t\t}\n\t\t\t\t&__label * {\n\t\t\t\t\t@include typography(get(\"font\", $definitions));\n\t\t\t\t}\n\t\t\t\t&__annotation {\n\t\t\t\t\t@include typography(get(\"font-annotation\", $definitions));\n\t\t\t\t}\n\t\t\t\t&__right {\n\t\t\t\t\tgap: get(\"headline-gap\", $definitions);\n\t\t\t\t\ttransform: translateY(get(\"arrow-position\", $definitions));\n\t\t\t\t\t&:has(#{$class}__suffix) {\n\t\t\t\t\t\ttransform: translateY(get(\"icon-position\", $definitions));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t&__arrow {\n\t\t\t\t\twidth: get(\"icon-size\", $definitions);\n\t\t\t\t\theight: get(\"icon-size\", $definitions);\n\t\t\t\t}\n\t\t\t\t&__content {\n\t\t\t\t\tpadding: get(\"padding-inner\", $definitions);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t@each $variant, $definitions in $accordion-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\t#{$class} {\n\t\t\t\t&::before {\n\t\t\t\t\tbackground-color: get(\"separator\", $definitions);\n\t\t\t\t}\n\t\t\t\t&__header {\n\t\t\t\t\tbackground-color: get(\"background\", $definitions);\n\t\t\t\t\tcolor: get(\"color\", $definitions);\n\t\t\t\t\t@include hover() {\n\t\t\t\t\t\tbackground-color: get(\"background-hover\", $definitions);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// STATES\n\t\t\t@include parameter(\"disabled\") {\n\t\t\t\t#{$class} {\n\t\t\t\t\t&__header {\n\t\t\t\t\t\tcolor: get(\"disabled-color\", $definitions);\n\t\t\t\t\t\t@include hover() {\n\t\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\t\tcursor: not-allowed;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// MQ\n\t@include mq($until: md) {\n\t\t&__title {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\t\t&__label {\n\t\t\tflex: 0 0 auto;\n\t\t}\n\t}\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport {\n\tAccordionClass,\n\tAccordionItemClass,\n\tAccordionSizes,\n\tAccordionSizeType,\n\tAccordionVariants,\n\tAccordionVariantType,\n} from \"./constants\"\nimport { createID } from \"../../utils/string.utils\"\nimport { booleanString, govHost, toBoolAttrIfDefined } from \"../../helpers/Dom/template\"\nimport { AccordionItemEvent } from \"./gov-accordion.types\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\n\n@Component({\n\ttag: \"gov-accordion-item\",\n\tstyleUrl: \"gov-accordion-item.scss\",\n})\nexport class GovAccordionItem {\n\tprivate readonly triggerId: string\n\tprivate readonly contentId: string\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.triggerId = createID(\"GovAccordionItem\")\n\t\tthis.contentId = createID(\"GovAccordionContent\")\n\t}\n\n\t@Element() readonly host: HTMLGovAccordionItemElement\n\t@State() isExpandedState: boolean\n\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() variant?: AccordionVariantType\n\t/**\n\t * Custom accordion item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Accordion’s size.\n\t */\n\t@Prop() size?: AccordionSizeType\n\t/**\n\t * Makes the button component disabled.\n\t * This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Defines whether the accordion is open or closed by button\n\t */\n\t@Prop({ attribute: \"is-expanded\", mutable: true }) isExpanded = false\n\t/**\n\t * Called when the accordion state changes\n\t */\n\t@Event({ eventName: \"gov-change\" }) govChange: EventEmitter<AccordionItemEvent>\n\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(AccordionSizes, newValue, AccordionItemClass.root)\n\t}\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(AccordionVariants, newValue, AccordionItemClass.root)\n\t}\n\n\tprivate emmitChange(): void {\n\t\tthis.govChange.emit({\n\t\t\topen: this.isExpanded,\n\t\t\tcomponent: AccordionItemClass.root,\n\t\t\tref: this.host,\n\t\t})\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.getPropsFromParents()\n\t\tthis.validateSize(this.size)\n\t\tthis.validateVariant(this.variant)\n\n\t}\n\n\tgetPropsFromParents() {\n\t\tconst accordion = this.h.getParent(AccordionClass.root)\n\t\tif (accordion) {\n\t\t\tthis.size = accordion.getAttribute(\"size\") as AccordionSizeType\n\t\t\tthis.variant = accordion.getAttribute(\"variant\") as AccordionVariantType\n\t\t}\n\t}\n\n\trender() {\n\t\tconst triggerId = this.identifier || this.triggerId\n\t\tconst contentId = this.contentId\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(AccordionItemClass.root)} size={this.size} variant={this.variant} role=\"listitem\">\n\t\t\t\t<button\n\t\t\t\t\tid={triggerId}\n\t\t\t\t\tclass={AccordionItemClass.header}\n\t\t\t\t\taria-expanded={booleanString(this.isExpanded)}\n\t\t\t\t\taria-controls={contentId}\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\ttype={\"button\"}\n\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\tonClick={(e: Event) => {\n\t\t\t\t\t\te.stopPropagation()\n\t\t\t\t\t\tthis.toggle().finally()\n\t\t\t\t\t}}>\n\n\t\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t\t<span class={AccordionItemClass.icon}>\n\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t</span>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<span class={AccordionItemClass.title}>\n\t\t\t\t\t\t<span class={AccordionItemClass.label}>\n\t\t\t\t\t\t\t<slot name=\"label\" />\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t{this.h.hasSlot(\"annotation\") && (\n\t\t\t\t\t\t\t<span class={AccordionItemClass.annotation}>\n\t\t\t\t\t\t\t\t<slot name=\"annotation\" />\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</span>\n\n\t\t\t\t\t<span class={AccordionItemClass.right}>\n\t\t\t\t\t\t{this.h.hasSlot(\"suffix\") && (\n\t\t\t\t\t\t\t<span class={AccordionItemClass.suffix}>\n\t\t\t\t\t\t\t\t<slot name=\"suffix\" />\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t<span class={AccordionItemClass.arrow}>\n\t\t\t\t\t\t\t{this.h.hasSlot(\"toggle-icon\") ? (\n\t\t\t\t\t\t\t\t<slot name=\"toggle-icon\" />\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<gov-icon name=\"chevron-down\"></gov-icon>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</span>\n\t\t\t\t</button>\n\t\t\t\t<div\n\t\t\t\t\tclass={AccordionItemClass.content}\n\t\t\t\t\tid={contentId}\n\t\t\t\t\taria-hidden={booleanString(!this.isExpanded)}\n\t\t\t\t\thidden={!this.isExpanded}\n\t\t\t\t\taria-labelledby={triggerId}>\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 * Opening the accordion\n\t */\n\t@Method()\n\tasync open(): Promise<void> {\n\t\tthis.isExpanded = true\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Closing the accordion\n\t */\n\t@Method()\n\tasync close(): Promise<void> {\n\t\tthis.isExpanded = false\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Accordion switch\n\t */\n\t@Method()\n\tasync toggle(): Promise<void> {\n\t\tthis.isExpanded = !this.isExpanded\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync currentState(): Promise<boolean> {\n\t\treturn this.isExpanded\n\t}\n}\n"],"version":3}
@@ -1,11 +1,11 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ae3c50f1.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-eb59f132.js';
2
2
  import { v as validateProp } from './props-789f7529.js';
3
3
  import { A as AccordionItemClass, a as AccordionClass, b as AccordionSizes } from './constants-09bda759.js';
4
4
  import { V as Variants } from './variants-2b936d58.js';
5
5
  import { v as validateWcagLabel } from './wcag-06bd4d01.js';
6
6
  import { c as canValidateWcagOnRender } from './win-0a50f66e.js';
7
7
  import { d as delay } from './utils-c057a3fa.js';
8
- import { g as govHost } from './template-10332292.js';
8
+ import { g as govHost } from './template-df429738.js';
9
9
  import './gov.log-af905420.js';
10
10
  import './sizes-6c5943b4.js';
11
11
  import './string.utils-f268fc6b.js';