@gov-design-system-ce/components 4.1.0-rc03 → 4.1.0-rc04

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 (467) hide show
  1. package/dist/cjs/core.cjs.js +2 -2
  2. package/dist/cjs/gov-accordion-item.cjs.entry.js +8 -5
  3. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
  4. package/dist/cjs/gov-accordion.cjs.entry.js +1 -1
  5. package/dist/cjs/gov-attachments_3.cjs.entry.js +4 -4
  6. package/dist/cjs/gov-backdrop.cjs.entry.js +3 -3
  7. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +3 -3
  8. package/dist/cjs/gov-button.cjs.entry.js +3 -3
  9. package/dist/cjs/gov-card.cjs.entry.js +3 -3
  10. package/dist/cjs/gov-chip.cjs.entry.js +2 -2
  11. package/dist/cjs/gov-container.cjs.entry.js +1 -1
  12. package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
  13. package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
  14. package/dist/cjs/gov-dialog.cjs.entry.js +3 -3
  15. package/dist/cjs/gov-dropdown.cjs.entry.js +2 -2
  16. package/dist/cjs/gov-empty.cjs.entry.js +1 -1
  17. package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
  18. package/dist/cjs/gov-flex.cjs.entry.js +31 -0
  19. package/dist/cjs/gov-flex.cjs.entry.js.map +1 -0
  20. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +3 -3
  21. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +2 -2
  22. package/dist/cjs/gov-form-checkbox.cjs.entry.js +2 -2
  23. package/dist/cjs/gov-form-control.cjs.entry.js +3 -3
  24. package/dist/cjs/gov-form-file.cjs.entry.js +8 -3
  25. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
  26. package/dist/cjs/gov-form-group.cjs.entry.js +2 -2
  27. package/dist/cjs/gov-form-input_2.cjs.entry.js +6 -6
  28. package/dist/cjs/gov-form-label.cjs.entry.js +2 -2
  29. package/dist/cjs/gov-form-multi-select.cjs.entry.js +6 -21
  30. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
  31. package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
  32. package/dist/cjs/gov-form-radio-group.cjs.entry.js +2 -2
  33. package/dist/cjs/gov-form-radio.cjs.entry.js +2 -2
  34. package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
  35. package/dist/cjs/gov-form-select.cjs.entry.js +2 -2
  36. package/dist/cjs/gov-form-switch.cjs.entry.js +2 -2
  37. package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
  38. package/dist/cjs/gov-grid.cjs.entry.js +1 -1
  39. package/dist/cjs/gov-icon.cjs.entry.js +2 -2
  40. package/dist/cjs/gov-infobar.cjs.entry.js +1 -1
  41. package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
  42. package/dist/cjs/gov-layout.cjs.entry.js +1 -1
  43. package/dist/cjs/gov-lifecycle.cjs.entry.js +47 -0
  44. package/dist/cjs/gov-lifecycle.cjs.entry.js.map +1 -0
  45. package/dist/cjs/gov-loading.cjs.entry.js +2 -2
  46. package/dist/cjs/gov-message.cjs.entry.js +2 -2
  47. package/dist/cjs/gov-pagination.cjs.entry.js +2 -2
  48. package/dist/cjs/gov-spacer.cjs.entry.js +2 -2
  49. package/dist/cjs/gov-stepper-item.cjs.entry.js +3 -3
  50. package/dist/cjs/gov-stepper.cjs.entry.js +2 -2
  51. package/dist/cjs/gov-tabs-item.cjs.entry.js +3 -3
  52. package/dist/cjs/gov-tabs.cjs.entry.js +2 -2
  53. package/dist/cjs/gov-tag.cjs.entry.js +2 -2
  54. package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
  55. package/dist/cjs/gov-theme-switch.cjs.entry.js +2 -2
  56. package/dist/cjs/gov-tile.cjs.entry.js +2 -2
  57. package/dist/cjs/gov-tiles.cjs.entry.js +2 -2
  58. package/dist/cjs/gov-toast.cjs.entry.js +5 -6
  59. package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
  60. package/dist/cjs/gov-tooltip-content.cjs.entry.js +2 -2
  61. package/dist/cjs/gov-tooltip.cjs.entry.js +4 -4
  62. package/dist/cjs/gov-wizard-item.cjs.entry.js +4 -4
  63. package/dist/cjs/gov-wizard.cjs.entry.js +4 -4
  64. package/dist/cjs/{index-1af4880c.js → index-7ff4447c.js} +18 -2
  65. package/dist/cjs/index-7ff4447c.js.map +1 -0
  66. package/dist/cjs/loader.cjs.js +2 -2
  67. package/dist/cjs/{string.utils-2335838f.js → string.utils-b84c81cf.js} +2 -1
  68. package/dist/cjs/string.utils-b84c81cf.js.map +1 -0
  69. package/dist/cjs/{wcag-31089f70.js → wcag-b8d80c7d.js} +2 -2
  70. package/dist/cjs/{wcag-31089f70.js.map → wcag-b8d80c7d.js.map} +1 -1
  71. package/dist/collection/collection-manifest.json +2 -0
  72. package/dist/collection/components/gov-accordion/gov-accordion-item.js +8 -5
  73. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
  74. package/dist/collection/components/gov-flex/constants.js +4 -0
  75. package/dist/collection/components/gov-flex/constants.js.map +1 -0
  76. package/dist/collection/components/gov-flex/gov-flex.js +127 -0
  77. package/dist/collection/components/gov-flex/gov-flex.js.map +1 -0
  78. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +1 -1
  79. package/dist/collection/components/gov-form/control/gov-form-control.js +1 -1
  80. package/dist/collection/components/gov-form/file/gov-form-file.js +6 -1
  81. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
  82. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
  83. package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
  84. package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
  85. package/dist/collection/components/gov-form/input/gov-form-input.js +3 -3
  86. package/dist/collection/components/gov-form/label/gov-form-label.js +1 -1
  87. package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
  88. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +3 -27
  89. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
  90. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +39 -0
  91. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js.map +1 -0
  92. package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
  93. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
  94. package/dist/collection/components/gov-message/gov-message.js +1 -1
  95. package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
  96. package/dist/collection/components/gov-stepper/gov-stepper-item.js +1 -1
  97. package/dist/collection/components/gov-stepper/gov-stepper.js +1 -1
  98. package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
  99. package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
  100. package/dist/collection/components/gov-tag/gov-tag.js +1 -1
  101. package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
  102. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +1 -1
  103. package/dist/collection/components/gov-tile/container/gov-tiles.js +1 -1
  104. package/dist/collection/components/gov-tile/gov-tile.js +1 -1
  105. package/dist/collection/components/gov-toast/gov-toast.js +3 -4
  106. package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
  107. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
  108. package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
  109. package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
  110. package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
  111. package/dist/collection/pages/Forms.js +159 -159
  112. package/dist/collection/pages/Forms.js.map +1 -1
  113. package/dist/collection/pages/Grid.js +1 -1
  114. package/dist/collection/pages/Grid.js.map +1 -1
  115. package/dist/collection/pages/Spacer.js +1 -1
  116. package/dist/collection/pages/Spacer.js.map +1 -1
  117. package/dist/collection/pages/Tag.js +135 -160
  118. package/dist/collection/pages/Tag.js.map +1 -1
  119. package/dist/collection/pages/Wizard.js +1 -1
  120. package/dist/collection/pages/Wizard.js.map +1 -1
  121. package/dist/collection/utils/string.utils.js +1 -1
  122. package/dist/collection/utils/string.utils.js.map +1 -1
  123. package/dist/components/gov-accordion-item.js +1 -1
  124. package/dist/components/gov-accordion-item.js.map +1 -1
  125. package/dist/components/gov-accordion.js +1 -1
  126. package/dist/components/gov-attachments-item.js +1 -1
  127. package/dist/components/gov-attachments.js +1 -1
  128. package/dist/components/gov-backdrop.js +1 -1
  129. package/dist/components/gov-breadcrumbs.js +1 -1
  130. package/dist/components/gov-button.js +1 -1
  131. package/dist/components/gov-card.js +1 -1
  132. package/dist/components/gov-chip.js +1 -1
  133. package/dist/components/gov-container.js +1 -1
  134. package/dist/components/gov-control-group.js +1 -1
  135. package/dist/components/gov-cookiebar.js +1 -1
  136. package/dist/components/gov-dialog.js +1 -1
  137. package/dist/components/gov-dialog.js.map +1 -1
  138. package/dist/components/gov-dropdown.js +1 -1
  139. package/dist/components/gov-empty.js +1 -1
  140. package/dist/components/gov-error-code.js +1 -1
  141. package/dist/components/gov-flex.d.ts +11 -0
  142. package/dist/components/gov-flex.js +2 -0
  143. package/dist/components/gov-flex.js.map +1 -0
  144. package/dist/components/gov-form-autocomplete.js +1 -1
  145. package/dist/components/gov-form-checkbox-group.js +1 -1
  146. package/dist/components/gov-form-checkbox.js +1 -1
  147. package/dist/components/gov-form-control.js +1 -1
  148. package/dist/components/gov-form-file.js +1 -1
  149. package/dist/components/gov-form-file.js.map +1 -1
  150. package/dist/components/gov-form-group.js +1 -1
  151. package/dist/components/gov-form-input.js +1 -1
  152. package/dist/components/gov-form-label.js +1 -1
  153. package/dist/components/gov-form-message.js +1 -1
  154. package/dist/components/gov-form-multi-select.js +1 -1
  155. package/dist/components/gov-form-multi-select.js.map +1 -1
  156. package/dist/components/gov-form-password-power.js +1 -1
  157. package/dist/components/gov-form-radio-group.js +1 -1
  158. package/dist/components/gov-form-radio.js +1 -1
  159. package/dist/components/gov-form-radio.js.map +1 -1
  160. package/dist/components/gov-form-search.js +1 -1
  161. package/dist/components/gov-form-select.js +1 -1
  162. package/dist/components/gov-form-switch.js +1 -1
  163. package/dist/components/gov-grid-item.js +1 -1
  164. package/dist/components/gov-grid.js +1 -1
  165. package/dist/components/gov-icon.js +1 -1
  166. package/dist/components/gov-infobar.js +1 -1
  167. package/dist/components/gov-layout-column.js +1 -1
  168. package/dist/components/gov-layout.js +1 -1
  169. package/dist/components/gov-lifecycle.d.ts +11 -0
  170. package/dist/components/gov-lifecycle.js +2 -0
  171. package/dist/components/gov-lifecycle.js.map +1 -0
  172. package/dist/components/gov-loading.js +1 -1
  173. package/dist/components/gov-message.js +1 -1
  174. package/dist/components/gov-pagination.js +1 -1
  175. package/dist/components/gov-pagination.js.map +1 -1
  176. package/dist/components/gov-skeleton.js +1 -1
  177. package/dist/components/gov-spacer.js +1 -1
  178. package/dist/components/gov-stepper-item.js +1 -1
  179. package/dist/components/gov-stepper.js +1 -1
  180. package/dist/components/gov-tabs-item.js +1 -1
  181. package/dist/components/gov-tabs.js +1 -1
  182. package/dist/components/gov-tabs.js.map +1 -1
  183. package/dist/components/gov-tag.js +1 -1
  184. package/dist/components/gov-tag.js.map +1 -1
  185. package/dist/components/gov-theme-switch.js +1 -1
  186. package/dist/components/gov-tile.js +1 -1
  187. package/dist/components/gov-tiles.js +1 -1
  188. package/dist/components/gov-toast.js +1 -1
  189. package/dist/components/gov-toast.js.map +1 -1
  190. package/dist/components/gov-tooltip-content.js +1 -1
  191. package/dist/components/gov-tooltip.js +1 -1
  192. package/dist/components/gov-wizard-item.js +1 -1
  193. package/dist/components/gov-wizard.js +1 -1
  194. package/dist/components/index.js +1 -1
  195. package/dist/components/{p-4a92317f.js → p-02da2aee.js} +2 -2
  196. package/dist/components/p-1d3019f3.js +2 -0
  197. package/dist/components/{p-de8656dd.js → p-1f3bb41d.js} +2 -2
  198. package/dist/components/{p-a99d125a.js → p-23b7e680.js} +2 -2
  199. package/dist/components/{p-a14f8877.js → p-387052e1.js} +2 -2
  200. package/dist/components/{p-3dece5f7.js → p-3b807239.js} +2 -2
  201. package/dist/components/{p-ae3dada7.js → p-42200001.js} +3 -3
  202. package/dist/components/p-42200001.js.map +1 -0
  203. package/dist/components/{p-4ffeb83f.js → p-5cc316bc.js} +2 -2
  204. package/dist/components/{p-dd8d3279.js → p-6ea84137.js} +2 -2
  205. package/dist/components/{p-de3103e8.js → p-820b66c0.js} +2 -2
  206. package/dist/components/p-880743a5.js.map +1 -1
  207. package/dist/components/{p-1e82b99e.js → p-bd22e21d.js} +2 -2
  208. package/dist/components/{p-c0bb26c2.js → p-c211c3e1.js} +2 -2
  209. package/dist/components/{p-95d41a3b.js → p-cd6c2938.js} +2 -2
  210. package/dist/components/p-cd6c2938.js.map +1 -0
  211. package/dist/components/{p-9a93146e.js → p-dcee21ca.js} +2 -2
  212. package/dist/core/core.css +158 -29
  213. package/dist/core/core.esm.js +1 -1
  214. package/dist/core/core.esm.js.map +1 -1
  215. package/dist/core/p-0a24806a.entry.js +2 -0
  216. package/dist/core/{p-9d0f20ec.entry.js.map → p-0a24806a.entry.js.map} +1 -1
  217. package/dist/core/p-0d2c4d31.entry.js +2 -0
  218. package/dist/core/{p-3db35bee.entry.js → p-10f9bf55.entry.js} +2 -2
  219. package/dist/core/{p-0225a96a.entry.js → p-12680890.entry.js} +2 -2
  220. package/dist/core/p-1600c1fb.entry.js +2 -0
  221. package/dist/core/p-18025823.entry.js +2 -0
  222. package/dist/core/{p-c5375a8a.entry.js.map → p-18025823.entry.js.map} +1 -1
  223. package/dist/core/p-18dbe177.entry.js +2 -0
  224. package/dist/core/p-18dbe177.entry.js.map +1 -0
  225. package/dist/core/{p-987388fd.entry.js → p-1a550eee.entry.js} +2 -2
  226. package/dist/core/{p-9b41ac88.entry.js → p-1f1895c0.entry.js} +2 -2
  227. package/dist/core/p-1fdc2457.entry.js +2 -0
  228. package/dist/core/{p-111e1a63.entry.js.map → p-1fdc2457.entry.js.map} +1 -1
  229. package/dist/core/{p-4e98412a.entry.js → p-212759be.entry.js} +2 -2
  230. package/dist/core/p-215504c1.entry.js +2 -0
  231. package/dist/core/p-2c3ddc57.entry.js +2 -0
  232. package/dist/core/p-31e7d262.entry.js +2 -0
  233. package/dist/core/p-31e7d262.entry.js.map +1 -0
  234. package/dist/core/p-32bba4e7.entry.js +2 -0
  235. package/dist/core/{p-3e8b94c2.entry.js → p-378e0723.entry.js} +2 -2
  236. package/dist/core/{p-0ebc8365.entry.js → p-3844a27d.entry.js} +2 -2
  237. package/dist/core/{p-0d7b9167.entry.js → p-4cb4de7b.entry.js} +2 -2
  238. package/dist/core/p-56f9e026.entry.js +2 -0
  239. package/dist/core/{p-acff78c5.entry.js → p-57b0e670.entry.js} +2 -2
  240. package/dist/core/p-58dc3ec3.entry.js +2 -0
  241. package/dist/core/p-58dc3ec3.entry.js.map +1 -0
  242. package/dist/core/p-5ad3097c.entry.js +2 -0
  243. package/dist/core/{p-a42514f9.entry.js.map → p-5ad3097c.entry.js.map} +1 -1
  244. package/dist/core/p-668ca722.entry.js +2 -0
  245. package/dist/core/{p-74e20474.entry.js.map → p-668ca722.entry.js.map} +1 -1
  246. package/dist/core/{p-1bbc10c9.entry.js → p-67200095.entry.js} +2 -2
  247. package/dist/core/p-731fe7d8.entry.js +2 -0
  248. package/dist/core/{p-97927e2a.entry.js.map → p-731fe7d8.entry.js.map} +1 -1
  249. package/dist/core/{p-c6431085.entry.js → p-7591976a.entry.js} +2 -2
  250. package/dist/core/p-75ea368b.entry.js +2 -0
  251. package/dist/core/{p-a4886f2d.entry.js → p-7b48b1b8.entry.js} +2 -2
  252. package/dist/core/p-7de47344.entry.js +2 -0
  253. package/dist/core/p-7de47344.entry.js.map +1 -0
  254. package/dist/core/p-83aa4327.entry.js +2 -0
  255. package/dist/core/{p-ea6cb030.entry.js.map → p-83aa4327.entry.js.map} +1 -1
  256. package/dist/core/{p-28a7d3f7.js → p-842cb87f.js} +2 -2
  257. package/dist/core/{p-a1e95a5f.js → p-8506b611.js} +3 -3
  258. package/dist/core/p-8506b611.js.map +1 -0
  259. package/dist/core/p-880743a5.js.map +1 -1
  260. package/dist/core/{p-4898c95f.entry.js → p-89b69743.entry.js} +2 -2
  261. package/dist/core/p-8a796fbe.entry.js +2 -0
  262. package/dist/core/p-8f10919c.entry.js +2 -0
  263. package/dist/core/{p-033bbbaa.entry.js.map → p-8f10919c.entry.js.map} +1 -1
  264. package/dist/core/p-8fe36a5b.entry.js +2 -0
  265. package/dist/core/{p-5f776da7.entry.js.map → p-8fe36a5b.entry.js.map} +1 -1
  266. package/dist/core/p-915e53ac.entry.js +2 -0
  267. package/dist/core/p-92e13f9d.entry.js +2 -0
  268. package/dist/core/p-a274cdaa.entry.js +2 -0
  269. package/dist/core/p-a274cdaa.entry.js.map +1 -0
  270. package/dist/core/p-a9a095c2.entry.js +2 -0
  271. package/dist/core/p-a9a095c2.entry.js.map +1 -0
  272. package/dist/core/{p-899e504a.entry.js → p-ab68c0b7.entry.js} +2 -2
  273. package/dist/core/{p-1638b12b.entry.js → p-b50ffab3.entry.js} +2 -2
  274. package/dist/core/p-b70cc248.entry.js +2 -0
  275. package/dist/core/{p-964f1729.entry.js → p-b822b9ff.entry.js} +2 -2
  276. package/dist/core/p-c0a5a3f7.entry.js +2 -0
  277. package/dist/core/p-c5b5fd69.entry.js +2 -0
  278. package/dist/core/{p-bdf1864e.entry.js.map → p-c5b5fd69.entry.js.map} +1 -1
  279. package/dist/core/{p-95d41a3b.js → p-cd6c2938.js} +2 -2
  280. package/dist/core/p-cd6c2938.js.map +1 -0
  281. package/dist/core/{p-8321da17.entry.js → p-d1c4eb91.entry.js} +2 -2
  282. package/dist/core/{p-b215f99f.entry.js → p-d3963396.entry.js} +2 -2
  283. package/dist/core/p-d4fbc249.entry.js +2 -0
  284. package/dist/core/{p-21bdd725.entry.js → p-d949aac7.entry.js} +2 -2
  285. package/dist/core/{p-2ee0d589.entry.js → p-e6af4c58.entry.js} +2 -2
  286. package/dist/core/p-ede7af0a.entry.js +2 -0
  287. package/dist/core/p-ede7af0a.entry.js.map +1 -0
  288. package/dist/core/p-eebc9e71.entry.js +2 -0
  289. package/dist/core/{p-33ecbb38.entry.js → p-eebf7ad8.entry.js} +2 -2
  290. package/dist/core/{p-378e5294.entry.js → p-f1c8a96b.entry.js} +2 -2
  291. package/dist/core/{p-35e66bef.entry.js → p-f963bb2f.entry.js} +2 -2
  292. package/dist/core/{p-393a281e.entry.js → p-fb0df3a5.entry.js} +2 -2
  293. package/dist/esm/core.js +3 -3
  294. package/dist/esm/gov-accordion-item.entry.js +8 -5
  295. package/dist/esm/gov-accordion-item.entry.js.map +1 -1
  296. package/dist/esm/gov-accordion.entry.js +1 -1
  297. package/dist/esm/gov-attachments_3.entry.js +4 -4
  298. package/dist/esm/gov-backdrop.entry.js +3 -3
  299. package/dist/esm/gov-breadcrumbs.entry.js +3 -3
  300. package/dist/esm/gov-button.entry.js +3 -3
  301. package/dist/esm/gov-card.entry.js +3 -3
  302. package/dist/esm/gov-chip.entry.js +2 -2
  303. package/dist/esm/gov-container.entry.js +1 -1
  304. package/dist/esm/gov-control-group.entry.js +1 -1
  305. package/dist/esm/gov-cookiebar.entry.js +1 -1
  306. package/dist/esm/gov-dialog.entry.js +3 -3
  307. package/dist/esm/gov-dropdown.entry.js +2 -2
  308. package/dist/esm/gov-empty.entry.js +1 -1
  309. package/dist/esm/gov-error-code.entry.js +1 -1
  310. package/dist/esm/gov-flex.entry.js +27 -0
  311. package/dist/esm/gov-flex.entry.js.map +1 -0
  312. package/dist/esm/gov-form-autocomplete.entry.js +3 -3
  313. package/dist/esm/gov-form-checkbox-group.entry.js +2 -2
  314. package/dist/esm/gov-form-checkbox.entry.js +2 -2
  315. package/dist/esm/gov-form-control.entry.js +3 -3
  316. package/dist/esm/gov-form-file.entry.js +8 -3
  317. package/dist/esm/gov-form-file.entry.js.map +1 -1
  318. package/dist/esm/gov-form-group.entry.js +2 -2
  319. package/dist/esm/gov-form-input_2.entry.js +6 -6
  320. package/dist/esm/gov-form-label.entry.js +2 -2
  321. package/dist/esm/gov-form-multi-select.entry.js +6 -21
  322. package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
  323. package/dist/esm/gov-form-password-power.entry.js +1 -1
  324. package/dist/esm/gov-form-radio-group.entry.js +2 -2
  325. package/dist/esm/gov-form-radio.entry.js +2 -2
  326. package/dist/esm/gov-form-search.entry.js +1 -1
  327. package/dist/esm/gov-form-select.entry.js +2 -2
  328. package/dist/esm/gov-form-switch.entry.js +2 -2
  329. package/dist/esm/gov-grid-item.entry.js +1 -1
  330. package/dist/esm/gov-grid.entry.js +1 -1
  331. package/dist/esm/gov-icon.entry.js +2 -2
  332. package/dist/esm/gov-infobar.entry.js +1 -1
  333. package/dist/esm/gov-layout-column.entry.js +1 -1
  334. package/dist/esm/gov-layout.entry.js +1 -1
  335. package/dist/esm/gov-lifecycle.entry.js +43 -0
  336. package/dist/esm/gov-lifecycle.entry.js.map +1 -0
  337. package/dist/esm/gov-loading.entry.js +2 -2
  338. package/dist/esm/gov-message.entry.js +2 -2
  339. package/dist/esm/gov-pagination.entry.js +2 -2
  340. package/dist/esm/gov-spacer.entry.js +2 -2
  341. package/dist/esm/gov-stepper-item.entry.js +3 -3
  342. package/dist/esm/gov-stepper.entry.js +2 -2
  343. package/dist/esm/gov-tabs-item.entry.js +3 -3
  344. package/dist/esm/gov-tabs.entry.js +2 -2
  345. package/dist/esm/gov-tag.entry.js +2 -2
  346. package/dist/esm/gov-tag.entry.js.map +1 -1
  347. package/dist/esm/gov-theme-switch.entry.js +2 -2
  348. package/dist/esm/gov-tile.entry.js +2 -2
  349. package/dist/esm/gov-tiles.entry.js +2 -2
  350. package/dist/esm/gov-toast.entry.js +5 -6
  351. package/dist/esm/gov-toast.entry.js.map +1 -1
  352. package/dist/esm/gov-tooltip-content.entry.js +2 -2
  353. package/dist/esm/gov-tooltip.entry.js +4 -4
  354. package/dist/esm/gov-wizard-item.entry.js +4 -4
  355. package/dist/esm/gov-wizard.entry.js +4 -4
  356. package/dist/esm/{index-d8b4eb6c.js → index-c263e031.js} +18 -2
  357. package/dist/esm/index-c263e031.js.map +1 -0
  358. package/dist/esm/loader.js +3 -3
  359. package/dist/esm/{string.utils-5ce3f551.js → string.utils-1da8f8fb.js} +2 -2
  360. package/dist/esm/string.utils-1da8f8fb.js.map +1 -0
  361. package/dist/esm/{wcag-fa5ce56c.js → wcag-d7c6c252.js} +2 -2
  362. package/dist/esm/{wcag-fa5ce56c.js.map → wcag-d7c6c252.js.map} +1 -1
  363. package/dist/hydrate/index.js +147 -65
  364. package/dist/hydrate/index.mjs +147 -65
  365. package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +1 -0
  366. package/dist/types/components/gov-flex/constants.d.ts +3 -0
  367. package/dist/types/components/gov-flex/gov-flex.d.ts +33 -0
  368. package/dist/types/components/gov-form/file/gov-form-file.d.ts +1 -0
  369. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +0 -2
  370. package/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +14 -0
  371. package/dist/types/components.d.ts +74 -0
  372. package/dist/types/utils/string.utils.d.ts +1 -0
  373. package/package.json +2 -2
  374. package/dist/cjs/index-1af4880c.js.map +0 -1
  375. package/dist/cjs/string.utils-2335838f.js.map +0 -1
  376. package/dist/components/p-95d41a3b.js.map +0 -1
  377. package/dist/components/p-a5975d22.js +0 -2
  378. package/dist/components/p-ae3dada7.js.map +0 -1
  379. package/dist/core/p-023787b3.entry.js +0 -2
  380. package/dist/core/p-023787b3.entry.js.map +0 -1
  381. package/dist/core/p-033bbbaa.entry.js +0 -2
  382. package/dist/core/p-111e1a63.entry.js +0 -2
  383. package/dist/core/p-235869e6.entry.js +0 -2
  384. package/dist/core/p-39d8e408.entry.js +0 -2
  385. package/dist/core/p-3a519b02.entry.js +0 -2
  386. package/dist/core/p-3a519b02.entry.js.map +0 -1
  387. package/dist/core/p-3ddfbc05.entry.js +0 -2
  388. package/dist/core/p-3f5f36e4.entry.js +0 -2
  389. package/dist/core/p-59c4574a.entry.js +0 -2
  390. package/dist/core/p-5f776da7.entry.js +0 -2
  391. package/dist/core/p-74e20474.entry.js +0 -2
  392. package/dist/core/p-7cd2c877.entry.js +0 -2
  393. package/dist/core/p-7cd2c877.entry.js.map +0 -1
  394. package/dist/core/p-9100d24f.entry.js +0 -2
  395. package/dist/core/p-95d41a3b.js.map +0 -1
  396. package/dist/core/p-97927e2a.entry.js +0 -2
  397. package/dist/core/p-98091397.entry.js +0 -2
  398. package/dist/core/p-9d0c3dee.entry.js +0 -2
  399. package/dist/core/p-9d0f20ec.entry.js +0 -2
  400. package/dist/core/p-a1e95a5f.js.map +0 -1
  401. package/dist/core/p-a42514f9.entry.js +0 -2
  402. package/dist/core/p-bdf1864e.entry.js +0 -2
  403. package/dist/core/p-c5375a8a.entry.js +0 -2
  404. package/dist/core/p-ca093025.entry.js +0 -2
  405. package/dist/core/p-d56632e1.entry.js +0 -2
  406. package/dist/core/p-e49b1737.entry.js +0 -2
  407. package/dist/core/p-e49b1737.entry.js.map +0 -1
  408. package/dist/core/p-e5b95316.entry.js +0 -2
  409. package/dist/core/p-ea6cb030.entry.js +0 -2
  410. package/dist/core/p-eb2af67a.entry.js +0 -2
  411. package/dist/core/p-eb2af67a.entry.js.map +0 -1
  412. package/dist/core/p-f0781e29.entry.js +0 -2
  413. package/dist/core/p-f4e04e98.entry.js +0 -2
  414. package/dist/core/p-fe147dbf.entry.js +0 -2
  415. package/dist/esm/index-d8b4eb6c.js.map +0 -1
  416. package/dist/esm/string.utils-5ce3f551.js.map +0 -1
  417. /package/dist/components/{p-4a92317f.js.map → p-02da2aee.js.map} +0 -0
  418. /package/dist/components/{p-a5975d22.js.map → p-1d3019f3.js.map} +0 -0
  419. /package/dist/components/{p-de8656dd.js.map → p-1f3bb41d.js.map} +0 -0
  420. /package/dist/components/{p-a99d125a.js.map → p-23b7e680.js.map} +0 -0
  421. /package/dist/components/{p-a14f8877.js.map → p-387052e1.js.map} +0 -0
  422. /package/dist/components/{p-3dece5f7.js.map → p-3b807239.js.map} +0 -0
  423. /package/dist/components/{p-4ffeb83f.js.map → p-5cc316bc.js.map} +0 -0
  424. /package/dist/components/{p-dd8d3279.js.map → p-6ea84137.js.map} +0 -0
  425. /package/dist/components/{p-de3103e8.js.map → p-820b66c0.js.map} +0 -0
  426. /package/dist/components/{p-1e82b99e.js.map → p-bd22e21d.js.map} +0 -0
  427. /package/dist/components/{p-c0bb26c2.js.map → p-c211c3e1.js.map} +0 -0
  428. /package/dist/components/{p-9a93146e.js.map → p-dcee21ca.js.map} +0 -0
  429. /package/dist/core/{p-e5b95316.entry.js.map → p-0d2c4d31.entry.js.map} +0 -0
  430. /package/dist/core/{p-3db35bee.entry.js.map → p-10f9bf55.entry.js.map} +0 -0
  431. /package/dist/core/{p-0225a96a.entry.js.map → p-12680890.entry.js.map} +0 -0
  432. /package/dist/core/{p-fe147dbf.entry.js.map → p-1600c1fb.entry.js.map} +0 -0
  433. /package/dist/core/{p-987388fd.entry.js.map → p-1a550eee.entry.js.map} +0 -0
  434. /package/dist/core/{p-9b41ac88.entry.js.map → p-1f1895c0.entry.js.map} +0 -0
  435. /package/dist/core/{p-4e98412a.entry.js.map → p-212759be.entry.js.map} +0 -0
  436. /package/dist/core/{p-39d8e408.entry.js.map → p-215504c1.entry.js.map} +0 -0
  437. /package/dist/core/{p-3f5f36e4.entry.js.map → p-2c3ddc57.entry.js.map} +0 -0
  438. /package/dist/core/{p-235869e6.entry.js.map → p-32bba4e7.entry.js.map} +0 -0
  439. /package/dist/core/{p-3e8b94c2.entry.js.map → p-378e0723.entry.js.map} +0 -0
  440. /package/dist/core/{p-0ebc8365.entry.js.map → p-3844a27d.entry.js.map} +0 -0
  441. /package/dist/core/{p-0d7b9167.entry.js.map → p-4cb4de7b.entry.js.map} +0 -0
  442. /package/dist/core/{p-f4e04e98.entry.js.map → p-56f9e026.entry.js.map} +0 -0
  443. /package/dist/core/{p-acff78c5.entry.js.map → p-57b0e670.entry.js.map} +0 -0
  444. /package/dist/core/{p-1bbc10c9.entry.js.map → p-67200095.entry.js.map} +0 -0
  445. /package/dist/core/{p-c6431085.entry.js.map → p-7591976a.entry.js.map} +0 -0
  446. /package/dist/core/{p-9d0c3dee.entry.js.map → p-75ea368b.entry.js.map} +0 -0
  447. /package/dist/core/{p-a4886f2d.entry.js.map → p-7b48b1b8.entry.js.map} +0 -0
  448. /package/dist/core/{p-28a7d3f7.js.map → p-842cb87f.js.map} +0 -0
  449. /package/dist/core/{p-4898c95f.entry.js.map → p-89b69743.entry.js.map} +0 -0
  450. /package/dist/core/{p-d56632e1.entry.js.map → p-8a796fbe.entry.js.map} +0 -0
  451. /package/dist/core/{p-f0781e29.entry.js.map → p-915e53ac.entry.js.map} +0 -0
  452. /package/dist/core/{p-98091397.entry.js.map → p-92e13f9d.entry.js.map} +0 -0
  453. /package/dist/core/{p-899e504a.entry.js.map → p-ab68c0b7.entry.js.map} +0 -0
  454. /package/dist/core/{p-1638b12b.entry.js.map → p-b50ffab3.entry.js.map} +0 -0
  455. /package/dist/core/{p-3ddfbc05.entry.js.map → p-b70cc248.entry.js.map} +0 -0
  456. /package/dist/core/{p-964f1729.entry.js.map → p-b822b9ff.entry.js.map} +0 -0
  457. /package/dist/core/{p-9100d24f.entry.js.map → p-c0a5a3f7.entry.js.map} +0 -0
  458. /package/dist/core/{p-8321da17.entry.js.map → p-d1c4eb91.entry.js.map} +0 -0
  459. /package/dist/core/{p-b215f99f.entry.js.map → p-d3963396.entry.js.map} +0 -0
  460. /package/dist/core/{p-59c4574a.entry.js.map → p-d4fbc249.entry.js.map} +0 -0
  461. /package/dist/core/{p-21bdd725.entry.js.map → p-d949aac7.entry.js.map} +0 -0
  462. /package/dist/core/{p-2ee0d589.entry.js.map → p-e6af4c58.entry.js.map} +0 -0
  463. /package/dist/core/{p-ca093025.entry.js.map → p-eebc9e71.entry.js.map} +0 -0
  464. /package/dist/core/{p-33ecbb38.entry.js.map → p-eebf7ad8.entry.js.map} +0 -0
  465. /package/dist/core/{p-378e5294.entry.js.map → p-f1c8a96b.entry.js.map} +0 -0
  466. /package/dist/core/{p-35e66bef.entry.js.map → p-f963bb2f.entry.js.map} +0 -0
  467. /package/dist/core/{p-393a281e.entry.js.map → p-fb0df3a5.entry.js.map} +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const utils = require('./utils-d263c5c6.js');
7
7
  const sizes = require('./sizes-89f8d3b2.js');
8
8
  const template = require('./template-b070338f.js');
@@ -30,7 +30,7 @@ const GovLoading = class {
30
30
  this.validateSize(this.size);
31
31
  }
32
32
  render() {
33
- return (index.h(index.Host, { key: '05dcda2f79ed33c3546c05a75a61a0493d65ab0b', class: this.h.classes(LoadingClass.root), size: this.size }, index.h("div", { key: '33a2d2d734fa647f046f5cfc240cb10af6e18af6', class: LoadingClass.content }, index.h("gov-icon", { key: 'f26ab2bf66aeb4d5bb412cd676f75233dae2baaa', class: template.prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader" }), index.h("slot", { key: 'bcfaa3a5d1e9a77aef7492cd5b168747267b2619' })), index.h("gov-backdrop", { key: '7df1c7910cdd5ed999906497eece3a35fde4dcc8', inverse: true })));
33
+ return (index.h(index.Host, { key: '513f13c80fc2af7545772534af1cc04ded202ec3', class: this.h.classes(LoadingClass.root), size: this.size }, index.h("div", { key: 'f4c66ec827f34cd2498c69b44d8dbbfba69aa3c7', class: LoadingClass.content }, index.h("gov-icon", { key: 'fceceebd341d720f4d1d38b234ff5770110392d8', class: template.prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader" }), index.h("slot", { key: '85e34ce7d618a4b73668d80e3419a98e14ec524b' })), index.h("gov-backdrop", { key: 'a240f9f8b15dbc422adeda6674e019f6b118dc6a', inverse: true })));
34
34
  }
35
35
  get host() { return index.getElement(this); }
36
36
  static get watchers() { return {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const props = require('./props-b8a955b2.js');
7
7
  const colors = require('./colors-976f6dff.js');
8
8
  const utils = require('./utils-d263c5c6.js');
@@ -32,7 +32,7 @@ const GovMessage = class {
32
32
  props.validateProp(colors.Colors, newValue, MessageClass.root);
33
33
  }
34
34
  render() {
35
- return (index.h(index.Host, { key: '204b0b5a44ad14a1a915aca60207fb7919eb4aff', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (index.h("slot", { key: '05bc3c0b1c8d318912c4b6a2be25d6dda7dc86c2', name: "icon" })), index.h("div", { key: 'de13b2127a462eaf456aa8cafa3ae2f9f035f10c', class: MessageClass.content }, index.h("slot", { key: 'bb5a7963c3b67fe77bd0ad0f6e4b0e3c7a9c1b4c' }))));
35
+ return (index.h(index.Host, { key: '9379d874b17b448a37771cf06fde7ac8a87ea7c7', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (index.h("slot", { key: '4ff98ecd6b2b9e97d8083e9e907265e6bb265f79', name: "icon" })), index.h("div", { key: '2be09cb7021a713e90008ac8180c153361620a65', class: MessageClass.content }, index.h("slot", { key: '54f7fe2ade82698f072eae27eb58cf4ade008553' }))));
36
36
  }
37
37
  get host() { return index.getElement(this); }
38
38
  static get watchers() { return {
@@ -2,14 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const Fragment = require('./Fragment-52846f79.js');
7
7
  const props = require('./props-b8a955b2.js');
8
8
  const sizes = require('./sizes-89f8d3b2.js');
9
9
  const colors = require('./colors-976f6dff.js');
10
10
  const utils = require('./utils-d263c5c6.js');
11
11
  const template = require('./template-b070338f.js');
12
- const string_utils = require('./string.utils-2335838f.js');
12
+ const string_utils = require('./string.utils-b84c81cf.js');
13
13
  const array_utils = require('./array.utils-96eadde3.js');
14
14
  const attribute = require('./attribute-06dc5228.js');
15
15
  const accessibility = require('./accessibility-c475826b.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const props = require('./props-b8a955b2.js');
7
7
  const sizes = require('./sizes-89f8d3b2.js');
8
8
  const utils = require('./utils-d263c5c6.js');
@@ -41,7 +41,7 @@ const GovSpacer = class {
41
41
  this.validateBreakpoint(this.breakpoint);
42
42
  }
43
43
  render() {
44
- return index.h(index.Host, { key: '5c33ab63dd70ecfe5700638a36eaacfa4f69da23', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
44
+ return index.h(index.Host, { key: '392e2cf96739ff4bf0b7b9a27fb5730aa0160689', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
45
45
  }
46
46
  get host() { return index.getElement(this); }
47
47
  static get watchers() { return {
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const props = require('./props-b8a955b2.js');
7
7
  const constants = require('./constants-43c0c51b.js');
8
- const string_utils = require('./string.utils-2335838f.js');
8
+ const string_utils = require('./string.utils-b84c81cf.js');
9
9
  const template = require('./template-b070338f.js');
10
10
  require('./gov.log-1e8bab6e.js');
11
11
  require('./win-587f4614.js');
@@ -37,7 +37,7 @@ const GovStepperItem = class {
37
37
  render() {
38
38
  const triggerId = this.identifier || this.triggerId;
39
39
  const contentId = this.contentId;
40
- return (index.h(index.Host, { key: '216ff66fa6c9f0f93c28ff788cc7dee3b6e78e06', id: triggerId, class: this.h.classes(constants.StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, this.h.hasSlot('prefix') && (index.h("span", { key: 'de160e780103d36dd1de36c21cde914c4b5e4ca2', class: constants.StepperItemClass.prefix }, index.h("slot", { key: 'eb213aedab80baa3b32dda86ce891e8b63a0ea4e', name: "prefix" }))), index.h("div", { key: '3942515da8a0d60cf810d70e876aff0cf399ff85' }, index.h("span", { key: 'f3688c58fa20024189143e3794799c49e1c1949a', class: constants.StepperItemClass.headline }, index.h("slot", { key: '7e9923b83f646b7cd6122fc1c37d2e03030225fd', name: "headline" })), index.h("slot", { key: 'f392c3e0912dc58351443b7bf3afe9bfc0aeb27a', name: "annotation" }), this.h.hasSlot('content') && (index.h("div", { key: '353d996b1e925f32e0d1a9bafe9c43f41a922fb8', class: constants.StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, index.h("slot", { key: 'e68f39ab638fea9ca1d1bfa2daa7fedeb04749ce', name: "content" }))))));
40
+ return (index.h(index.Host, { key: '59f5a619a9f304b4803a337f1f4152b3e1e782f0', id: triggerId, class: this.h.classes(constants.StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, this.h.hasSlot('prefix') && (index.h("span", { key: '0a618406f8e04faaddc8b02d3b277a0e2e388847', class: constants.StepperItemClass.prefix }, index.h("slot", { key: '2371e91f2f48450117f9c2b473139330d2cceaef', name: "prefix" }))), index.h("div", { key: '0fbbc509c202a02192020dd6d6873b74c523038f' }, index.h("span", { key: '1489ceb7a1557fcdb08d95c105ee6019946fbe84', class: constants.StepperItemClass.headline }, index.h("slot", { key: '629b41afb4f3d1944e0345df1968239992e26b3a', name: "headline" })), index.h("slot", { key: '6ba1168f9080cde7d67e5a80187a44c530f53ea0', name: "annotation" }), this.h.hasSlot('content') && (index.h("div", { key: '4886f8d72a15405d70c8012947c5132a44a0b0b9', class: constants.StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, index.h("slot", { key: '20f8e29aa50aa7d2240aa27d266a8d9364c89ab2', name: "content" }))))));
41
41
  }
42
42
  get host() { return index.getElement(this); }
43
43
  static get watchers() { return {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const props = require('./props-b8a955b2.js');
7
7
  const constants = require('./constants-43c0c51b.js');
8
8
  const template = require('./template-b070338f.js');
@@ -39,7 +39,7 @@ const GovStepper = class {
39
39
  this.hydrated = true;
40
40
  }
41
41
  render() {
42
- return (index.h(index.Host, { key: 'db42f2efac9bc19ff71bfa7e473f6a030837cbbf', class: this.h.classes(constants.StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, index.h("slot", { key: '20342c294f2393b68ecf3ea0ee44e95a14397628' })));
42
+ return (index.h(index.Host, { key: '885b23b98b9b669e3cea12183ba42354c763316b', class: this.h.classes(constants.StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, index.h("slot", { key: '1f90bbd052f015f8b5ed7afeb49f8585a016f3da' })));
43
43
  }
44
44
  get host() { return index.getElement(this); }
45
45
  static get watchers() { return {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
6
- const string_utils = require('./string.utils-2335838f.js');
5
+ const index = require('./index-7ff4447c.js');
6
+ const string_utils = require('./string.utils-b84c81cf.js');
7
7
  const template = require('./template-b070338f.js');
8
8
  const constants = require('./constants-e2807da6.js');
9
9
  require('./utils-d263c5c6.js');
@@ -32,7 +32,7 @@ const GovTabsItem = class {
32
32
  }
33
33
  }
34
34
  render() {
35
- return (index.h(index.Host, { key: '344cb35a06343ed15258f5f0f499382090b80a74', class: this.h.classes(constants.TabsItemClass.root), default: this.default }, index.h("div", { key: 'e35a63aefab82f073a7fd93b5e2947d9f39c0a5b', class: constants.TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": template.toBoolAttrIfDefined(!this.isActive) }, index.h("slot", { key: 'b2e81509d48e7407add8d96c848008664dcc796f' }))));
35
+ return (index.h(index.Host, { key: 'b26a20e7a512debcb5215528f453b1dc66ffa938', class: this.h.classes(constants.TabsItemClass.root), default: this.default }, index.h("div", { key: '4b5eef881f0c9b57860f4f28aa3ea9df030d3500', class: constants.TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": template.toBoolAttrIfDefined(!this.isActive) }, index.h("slot", { key: '3bd8840a7abecb46565d7333c281a90524838db1' }))));
36
36
  }
37
37
  /**
38
38
  * Returns a unique tab content identifier
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const props = require('./props-b8a955b2.js');
7
7
  const constants = require('./constants-e2807da6.js');
8
8
  const template = require('./template-b070338f.js');
@@ -123,7 +123,7 @@ const GovTabs = class {
123
123
  });
124
124
  }
125
125
  render() {
126
- return (index.h(index.Host, { key: 'a4c4e26fd0c60aa0f6aa1371fe26593d16542710', class: this.h.classes(constants.TabsClass.root), size: this.size, color: this.color, type: this.type, direction: this.direction, onKeyDown: this.onKeydownHandler.bind(this) }, index.h("div", Object.assign({ key: '4769b453636b1e0533b55b8f167ee468f1cbde38', class: constants.TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), index.h("ul", { key: '6d895b40f2b702f7f0bdf87cbee190121ca1d247', class: constants.TabsClass.list }, this.controllers.map(control => (index.h("li", { class: constants.TabsClass.item }, this.type == "text" ? (index.h("button", { class: constants.TabsClass.btn, id: control.triggerIdentifier, role: "tab", onClick: () => this.onSelectHandler(control), disabled: control.disabled, "aria-disabled": template.toBoolAttr(control.disabled), "aria-selected": template.toBoolAttr(control.active), "aria-controls": control.contentIdentifier, tabindex: control.active && !control.disabled ? 0 : -1, ref: el => (this.triggerRefs[control.triggerIdentifier] = el) }, control.iconStart ? (index.h("gov-icon", { name: control.iconStart.name, type: control.iconStart.type })) : null, control.label, control.iconEnd ? (index.h("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type })) : null)) : (index.h("gov-chip", { role: "tab", tag: 'button', identifier: control.triggerIdentifier, "aria-selected": template.booleanString(control.active), "aria-controls": control.contentIdentifier, focusable: control.active, disabled: control.disabled, color: this.color, size: this.size === "xs" ? "xs" : (this.size === "s" ? "s" : "m"), type: control.active ? "solid" : "outlined", ref: el => (this.triggerRefs[control.triggerIdentifier] = el), "on-gov-click": () => this.onSelectHandler(control) }, control.iconStart ? (index.h("gov-icon", { name: control.iconStart.name, type: control.iconStart.type, slot: "left-icon" })) : null, control.label, control.iconEnd ? (index.h("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type, slot: "right-icon" })) : null))))))), index.h("slot", { key: 'd039c143c940ec3dc16ce7d33476f37562a35668' })));
126
+ return (index.h(index.Host, { key: '70bfa4d8f60de5da1821018592afe44611cb0195', class: this.h.classes(constants.TabsClass.root), size: this.size, color: this.color, type: this.type, direction: this.direction, onKeyDown: this.onKeydownHandler.bind(this) }, index.h("div", Object.assign({ key: 'f81df06e4fd9deb6c282b7d0036e45eaedd10e7f', class: constants.TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), index.h("ul", { key: '603f06fc099271e5133b0d803696a36576df100b', class: constants.TabsClass.list }, this.controllers.map(control => (index.h("li", { class: constants.TabsClass.item }, this.type == "text" ? (index.h("button", { class: constants.TabsClass.btn, id: control.triggerIdentifier, role: "tab", onClick: () => this.onSelectHandler(control), disabled: control.disabled, "aria-disabled": template.toBoolAttr(control.disabled), "aria-selected": template.toBoolAttr(control.active), "aria-controls": control.contentIdentifier, tabindex: control.active && !control.disabled ? 0 : -1, ref: el => (this.triggerRefs[control.triggerIdentifier] = el) }, control.iconStart ? (index.h("gov-icon", { name: control.iconStart.name, type: control.iconStart.type })) : null, control.label, control.iconEnd ? (index.h("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type })) : null)) : (index.h("gov-chip", { role: "tab", tag: 'button', identifier: control.triggerIdentifier, "aria-selected": template.booleanString(control.active), "aria-controls": control.contentIdentifier, focusable: control.active, disabled: control.disabled, color: this.color, size: this.size === "xs" ? "xs" : (this.size === "s" ? "s" : "m"), type: control.active ? "solid" : "outlined", ref: el => (this.triggerRefs[control.triggerIdentifier] = el), "on-gov-click": () => this.onSelectHandler(control) }, control.iconStart ? (index.h("gov-icon", { name: control.iconStart.name, type: control.iconStart.type, slot: "left-icon" })) : null, control.label, control.iconEnd ? (index.h("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type, slot: "right-icon" })) : null))))))), index.h("slot", { key: 'e6abc783cb893d3b630d585fc30c2b3abb340d3a' })));
127
127
  }
128
128
  getCurrentTab() {
129
129
  return this.controllers.find(control => control.active) || null;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const template = require('./template-b070338f.js');
7
7
  const props = require('./props-b8a955b2.js');
8
8
  const constants = require('./constants-861428a4.js');
@@ -46,7 +46,7 @@ const GovTag = class {
46
46
  render() {
47
47
  const iconLeft = helpers.prepareIconFormat(this.iconLeft);
48
48
  const iconRight = helpers.prepareIconFormat(this.iconRight);
49
- return (index.h(index.Host, { key: '9a2ca38a6a7e36c17de39532950d1ee0c8033c53', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, index.h("span", { key: '07a79627767e9f805ca755c157f8ba844157efe5', class: "element" }, this.h.hasSlot('left-icon') && index.h("slot", { key: '781c3f1b81ddc56173c3993d20aba35ee51fc341', name: "left-icon" }), iconLeft && index.h("gov-icon", { key: '2cd1fa5991c697ae999706ce4854354eec352af0', type: iconLeft.type, name: iconLeft.name }), index.h("slot", { key: 'bfb0f8c8825426de6b0c782ea9e141bad312ecfa' }), iconRight && index.h("gov-icon", { key: '11f0e49dd28674d708887632b06a7e2db29a3387', type: iconRight.type, name: iconRight.name }), this.h.hasSlot('right-icon') && index.h("slot", { key: '6317a5cf9a8b420000cfb043f2a7adaefec797bc', name: "right-icon" }))));
49
+ return (index.h(index.Host, { key: '9dede4ae44585315490e2ebad775381cd77a86c4', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, index.h("span", { key: '84529d30dcf3f26a59b9320234dc05d4bfb1ac8c', class: "element" }, index.h("slot", { key: '07e19e9e805572c5efa3e5138d6dc97255c58c3f', name: "left-icon" }, iconLeft && index.h("gov-icon", { key: '14aee821e6e2f75d0fe178dcc9680633ec15de57', type: iconLeft.type, name: iconLeft.name })), index.h("slot", { key: '973d6bcd03d962830b061d6b98acbc2ff8eb099b' }), index.h("slot", { key: '74def1aa50e02199d3160cbb90bd219fbf5863e6', name: "right-icon" }, iconRight && index.h("gov-icon", { key: '7a72370126731b4bb285e8d557c3fd7cd84b2499', type: iconRight.type, name: iconRight.name })))));
50
50
  }
51
51
  get host() { return index.getElement(this); }
52
52
  static get watchers() { return {
@@ -1 +1 @@
1
- {"file":"gov-tag.entry.cjs.js","mappings":";;;;;;;;;;;;;;;AAIO,MAAM,QAAQ,GAAGA,UAAI,CAACC,WAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;AAGxD,IAAY,OAGX;AAHD,WAAY,OAAO;IAClB,wBAAa,CAAA;IACb,4BAAiB,CAAA;AAClB,CAAC,EAHW,OAAO,KAAP,OAAO,QAGlB;AAGM,MAAM,QAAQ,GAAG;IACvB,IAAI,EAAE,SAAS;CACf;;MCJY,MAAM;IAGlB;;;;oBAiBqD,QAAQ,CAAC,EAAE;qBAIPC,sBAAY,CAAC,OAAO;;QApB5E,IAAI,CAAC,CAAC,GAAGC,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IA0BD,aAAa,CAAC,QAAgB;QAC7BC,kBAAY,CAACF,sBAAY,EAAE,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;KACnD;IAGD,YAAY,CAAC,QAAgB;QAC5BE,kBAAY,CAACC,qBAAW,EAAE,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;KAClD;IAED,iBAAiB;QAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAC9B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC5B;IAED,MAAM;QACL,MAAM,QAAQ,GAAGC,yBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;QACjD,MAAM,SAAS,GAAGA,yBAAiB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QACnD,QACCC,QAACC,UAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EACvC,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,CAAC,IAAI,IAEjBD,mEAAM,KAAK,EAAC,SAAS,IACnB,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,IAAIA,mEAAM,IAAI,EAAC,WAAW,GAAQ,EAC7D,QAAQ,IAAKA,uEAAU,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAa,EAC7EA,oEAAO,EACN,SAAS,IAAKA,uEAAU,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,GAAa,EAC/E,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,IAAIA,mEAAM,IAAI,EAAC,YAAY,GAAQ,CAC1D,CACD,EACP;KACD;;;;;;;;;;","names":["pick","Sizes","ButtonColors","govHost","validateProp","ButtonSizes","prepareIconFormat","h","Host"],"sources":["../../../packages/core/src/components/gov-tag/constants.ts","../../../packages/core/src/components/gov-tag/gov-tag.tsx"],"sourcesContent":["import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const TagSizes = pick(Sizes, ['_XS', '_S', '_M'])\nexport type TagSizesType = `${ValueOf<typeof TagSizes>}`\n\nexport enum TagType {\n\tBOLD = 'bold',\n\tSUBTLE = 'subtle',\n}\nexport type TagTypesType = `${ValueOf<typeof TagType>}`\n\nexport const TagClass = {\n\troot: 'gov-tag',\n}\n","import {Component, Element, h, Host, Prop, Watch} from '@stencil/core'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {validateProp} from '../../helpers/Validate/props'\nimport {ButtonSizes, ButtonColors, ButtonColorType} from '../gov-button/button/constants'\nimport {TagClass, TagSizes, TagSizesType, TagTypesType} from './constants'\nimport {prepareIconFormat} from \"../gov-icon/helpers\";\n\n@Component({\n\ttag: 'gov-tag',\n})\nexport class GovTag {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovTagElement\n\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-left\"}) readonly iconLeft?: string\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-right\"}) readonly iconRight?: string\n\t/**\n\t * Tag’s size.\n\t */\n\t@Prop({reflect: true}) readonly size: TagSizesType = TagSizes._S\n\t/**\n\t * Style variation of the tag.\n\t */\n\t@Prop({reflect: true}) readonly color: ButtonColorType = ButtonColors.PRIMARY\n\t/**\n\t * Tag’s type\n\t */\n\t@Prop({reflect: true}) readonly type: TagTypesType\n\n\t@Watch('color')\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ButtonColors, newValue, TagClass.root)\n\t}\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ButtonSizes, newValue, TagClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\tconst iconLeft = prepareIconFormat(this.iconLeft)\n\t\tconst iconRight = prepareIconFormat(this.iconRight)\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TagClass.root)}\n\t\t\t\t\t\tcolor={this.color}\n\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\ttype={this.type}\n\t\t\t\t>\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t{this.h.hasSlot('left-icon') && <slot name=\"left-icon\"></slot>}\n\t\t\t\t\t{iconLeft && \t<gov-icon type={iconLeft.type} name={iconLeft.name}></gov-icon>}\n\t\t\t\t\t<slot/>\n\t\t\t\t\t{iconRight && \t<gov-icon type={iconRight.type} name={iconRight.name}></gov-icon>}\n\t\t\t\t\t{this.h.hasSlot('right-icon') && <slot name=\"right-icon\"></slot>}\n\t\t\t\t</span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-tag.entry.cjs.js","mappings":";;;;;;;;;;;;;;;AAIO,MAAM,QAAQ,GAAGA,UAAI,CAACC,WAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;AAGxD,IAAY,OAGX;AAHD,WAAY,OAAO;IAClB,wBAAa,CAAA;IACb,4BAAiB,CAAA;AAClB,CAAC,EAHW,OAAO,KAAP,OAAO,QAGlB;AAGM,MAAM,QAAQ,GAAG;IACvB,IAAI,EAAE,SAAS;CACf;;MCJY,MAAM;IAGlB;;;;oBAiBqD,QAAQ,CAAC,EAAE;qBAIPC,sBAAY,CAAC,OAAO;;QApB5E,IAAI,CAAC,CAAC,GAAGC,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IA0BD,aAAa,CAAC,QAAgB;QAC7BC,kBAAY,CAACF,sBAAY,EAAE,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;KACnD;IAGD,YAAY,CAAC,QAAgB;QAC5BE,kBAAY,CAACC,qBAAW,EAAE,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;KAClD;IAED,iBAAiB;QAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAC9B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC5B;IAED,MAAM;QACL,MAAM,QAAQ,GAAGC,yBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;QACjD,MAAM,SAAS,GAAGA,yBAAiB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QACnD,QACCC,QAACC,UAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EACzC,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,CAAC,IAAI,IAEfD,mEAAM,KAAK,EAAC,SAAS,IACpBA,mEAAM,IAAI,EAAC,WAAW,IACpB,QAAQ,IAAIA,uEAAU,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAa,CACtE,EACPA,oEAAO,EACPA,mEAAM,IAAI,EAAC,YAAY,IACrB,SAAS,IAAIA,uEAAU,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,GAAa,CACzE,CACD,CACD,EACP;KACD;;;;;;;;;;","names":["pick","Sizes","ButtonColors","govHost","validateProp","ButtonSizes","prepareIconFormat","h","Host"],"sources":["../../../packages/core/src/components/gov-tag/constants.ts","../../../packages/core/src/components/gov-tag/gov-tag.tsx"],"sourcesContent":["import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const TagSizes = pick(Sizes, ['_XS', '_S', '_M'])\nexport type TagSizesType = `${ValueOf<typeof TagSizes>}`\n\nexport enum TagType {\n\tBOLD = 'bold',\n\tSUBTLE = 'subtle',\n}\nexport type TagTypesType = `${ValueOf<typeof TagType>}`\n\nexport const TagClass = {\n\troot: 'gov-tag',\n}\n","import {Component, Element, h, Host, Prop, Watch} from '@stencil/core'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {validateProp} from '../../helpers/Validate/props'\nimport {ButtonSizes, ButtonColors, ButtonColorType} from '../gov-button/button/constants'\nimport {TagClass, TagSizes, TagSizesType, TagTypesType} from './constants'\nimport {prepareIconFormat} from \"../gov-icon/helpers\";\n\n@Component({\n\ttag: 'gov-tag',\n})\nexport class GovTag {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovTagElement\n\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-left\"}) readonly iconLeft?: string\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-right\"}) readonly iconRight?: string\n\t/**\n\t * Tag’s size.\n\t */\n\t@Prop({reflect: true}) readonly size: TagSizesType = TagSizes._S\n\t/**\n\t * Style variation of the tag.\n\t */\n\t@Prop({reflect: true}) readonly color: ButtonColorType = ButtonColors.PRIMARY\n\t/**\n\t * Tag’s type\n\t */\n\t@Prop({reflect: true}) readonly type: TagTypesType\n\n\t@Watch('color')\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ButtonColors, newValue, TagClass.root)\n\t}\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ButtonSizes, newValue, TagClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\tconst iconLeft = prepareIconFormat(this.iconLeft)\n\t\tconst iconRight = prepareIconFormat(this.iconRight)\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TagClass.root)}\n\t\t\t\tcolor={this.color}\n\t\t\t\tsize={this.size}\n\t\t\t\ttype={this.type}\n\t\t\t>\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t<slot name=\"left-icon\">\n\t\t\t\t\t\t{iconLeft && <gov-icon type={iconLeft.type} name={iconLeft.name}></gov-icon>}\n\t\t\t\t\t</slot>\n\t\t\t\t\t<slot/>\n\t\t\t\t\t<slot name=\"right-icon\">\n\t\t\t\t\t\t{iconRight && <gov-icon type={iconRight.type} name={iconRight.name}></gov-icon>}\n\t\t\t\t\t</slot>\n\t\t\t\t</span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const template = require('./template-b070338f.js');
7
7
  const win = require('./win-587f4614.js');
8
8
  require('./utils-d263c5c6.js');
@@ -63,7 +63,7 @@ const GovThemeSwitch = class {
63
63
  }
64
64
  }
65
65
  render() {
66
- return (index.h(index.Host, { key: 'f9b28a39d5f9fd9203c259e608d8e69c41db8c19', class: this.h.classes(ThemeSwitchClass.root) }, index.h("button", { key: 'b87bf9c3ba487448670fae63a147d80da5e4569c', onClick: () => this.setThemeState(ThemeList.light) }, "light"), index.h("button", { key: '66ae97a5db832ed283e54b0bafda672105507de2', onClick: () => this.setThemeState(ThemeList.dark) }, "dark")));
66
+ return (index.h(index.Host, { key: '139c85bffa33cbcbe42cc9e62be6e31683fd107b', class: this.h.classes(ThemeSwitchClass.root) }, index.h("button", { key: '81f2ff7e246341d67d422ea39f405f1071a0b733', onClick: () => this.setThemeState(ThemeList.light) }, "light"), index.h("button", { key: '32559e57bde0843bc75512bd89398ec3e4aa5147', onClick: () => this.setThemeState(ThemeList.dark) }, "dark")));
67
67
  }
68
68
  get host() { return index.getElement(this); }
69
69
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const utils = require('./utils-d263c5c6.js');
7
7
  const sizes = require('./sizes-89f8d3b2.js');
8
8
  const template = require('./template-b070338f.js');
@@ -29,7 +29,7 @@ const GovTile = class {
29
29
  this.h = template.govHost(this.host);
30
30
  }
31
31
  render() {
32
- return (index.h(index.Host, { key: 'd973b7627ac8ac88a772f9f934e47a2c877ed0e8', class: this.h.classes(TileClass.root), size: this.size, orientation: this.orientation, clickable: this.href ? true : null }, index.h("slot", { key: 'b59cb3c851ea8d4bcf8a4e16289cc47705a3c341', name: "icon" }), index.h("div", { key: 'c73b83b66280e5b977e72713364293e033bea775', class: TileClass.content }, index.h("div", { key: '2301b8814fb4dd910414aae3860f64c1e6f67bba', class: TileClass.text }, index.h("div", { key: '2018bc4f239ca82169396312de4d927353ee4611', class: TileClass.title }, this.href ? (index.h(index.Fragment, null, index.h("a", { href: this.href, target: this.target, class: TileClass.link, ref: el => (this.triggerRef = el) }, index.h("slot", { name: "title" })), index.h("span", { class: TileClass.icon }, index.h("gov-icon", { name: "chevron-right" })))) : (index.h("slot", { name: "title" }))), index.h("div", { key: '5ed46117f4a99de506c9c26d825e11ffb28ce33a', class: `${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}` }, index.h("slot", { key: '6989e7cff2077a60f3171bb025b646e28c259609' }))), index.h("slot", { key: '876b46000cb7bd154d1b3552d13f8472f722c374', name: "button" }))));
32
+ return (index.h(index.Host, { key: '423d9bc7b52a7408c4b9513612cdbac6c5a7df9c', class: this.h.classes(TileClass.root), size: this.size, orientation: this.orientation, clickable: this.href ? true : null }, index.h("slot", { key: 'b56ff3ed2dc8fd6f4de661e7892fe1513202da5e', name: "icon" }), index.h("div", { key: 'e35827cda3520c1532de79be0a2d8fca8b952617', class: TileClass.content }, index.h("div", { key: '79c97706744f088c671b0cebf6969425226341d0', class: TileClass.text }, index.h("div", { key: 'f5799184ba8a0040a74638fa4a37759c35a4cdec', class: TileClass.title }, this.href ? (index.h(index.Fragment, null, index.h("a", { href: this.href, target: this.target, class: TileClass.link, ref: el => (this.triggerRef = el) }, index.h("slot", { name: "title" })), index.h("span", { class: TileClass.icon }, index.h("gov-icon", { name: "chevron-right" })))) : (index.h("slot", { name: "title" }))), index.h("div", { key: 'eba9d4e70c1a295834adf26577ee965db054fbb2', class: `${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}` }, index.h("slot", { key: 'ce4b626ae9551d82c3ff614f50379e6c1100dd07' }))), index.h("slot", { key: 'c5ac0203d657d60469c64ea2afc1469f08cc867f', name: "button" }))));
33
33
  }
34
34
  /**
35
35
  * Returns a clickable element instance
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const template = require('./template-b070338f.js');
7
7
 
8
8
  const TilesClass = {
@@ -16,7 +16,7 @@ const GovTiles = class {
16
16
  this.h = template.govHost(this.host);
17
17
  }
18
18
  render() {
19
- return (index.h(index.Host, { key: '399eec38039bf1adddcd9683caa695c3a26f2183', class: this.h.classes(TilesClass.root) }, index.h("slot", { key: '269633bd89e6e0534cc776c782481ebfa3e6b0d2' })));
19
+ return (index.h(index.Host, { key: '98fc98abea209d53790a2a06b1ce6e1feda7c53d', class: this.h.classes(TilesClass.root) }, index.h("slot", { key: 'e074660d6ed9b773e68ef5f0523ab7b8bd57ea9e' })));
20
20
  }
21
21
  get host() { return index.getElement(this); }
22
22
  };
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const props = require('./props-b8a955b2.js');
7
7
  const colors = require('./colors-976f6dff.js');
8
8
  const utils = require('./utils-d263c5c6.js');
9
9
  const template = require('./template-b070338f.js');
10
- const string_utils = require('./string.utils-2335838f.js');
10
+ const string_utils = require('./string.utils-b84c81cf.js');
11
11
  const attribute = require('./attribute-06dc5228.js');
12
12
  const accessibility = require('./accessibility-c475826b.js');
13
13
  require('./gov.log-1e8bab6e.js');
@@ -76,12 +76,11 @@ const GovToast = class {
76
76
  }
77
77
  }
78
78
  render() {
79
- return (index.h(index.Host, { key: 'd87a4c76a4a941e1c1bafdb5bc6cb1f820b89d4f', class: this.h.classes(ToastClass.root), "data-toast-id": this.toastId, gravity: this.gravity, position: this.position, color: this.color, type: this.type, style: { "--toast-duration": this.time + "ms" } }, this.h.hasSlot("icon") && (index.h("slot", { key: '246d9cb44a3d036f7fc7eb4a57330331fac398dd', name: "icon" })), index.h("div", Object.assign({ key: '0913d1290cb3238e976c043a776194d0e11182c7', class: ToastClass.content }, this.inheritedAttributes, { "aria-live": "polite", role: "status" }), index.h("slot", { key: 'a0cc6ae04ca14ab258552ce1c5a79835f4ffb9f1' })), index.h("gov-button", { key: '0c59c1b09ce13f98e3574fd499e88183f01b7664', size: "s", "aria-label": this.accessibleCloseLabel, color: this.isBold ? this.color : "neutral", type: "base", "on-gov-click": this.onCloseHandler.bind(this), class: ToastClass.close }, this.closeLabel ? this.closeLabel : index.h("gov-icon", { name: "x-lg" })), index.h("div", { key: '6b99258b523211dfdbf6b2e16cda957e19e8fb9d', class: ToastClass.timer })));
79
+ return (index.h(index.Host, { key: '595478e5b0bc6df5256332f59eb1fb8c5a186d47', class: this.h.classes(ToastClass.root), "data-toast-id": this.toastId, gravity: this.gravity, position: this.position, color: this.color, type: this.type, style: { "--toast-duration": this.time + "ms" } }, this.h.hasSlot("icon") && (index.h("slot", { key: 'd515d7be4fcad971f825b953a7ee6354cb7a36c8', name: "icon" })), index.h("div", Object.assign({ key: '9e9e2895921e6309de75acba2c8340a1073ae243', class: ToastClass.content }, this.inheritedAttributes, { "aria-live": "polite", role: "status" }), index.h("slot", { key: 'd373fbf45bd63a84e116614971b8d6ccacc041e5' })), index.h("gov-button", { key: '0e3cc61c61632f5e3f2a9056299e86453a4cac3f', size: "s", "aria-label": this.accessibleCloseLabel, color: this.isBold ? this.color : "neutral", type: "base", "on-gov-click": this.onCloseHandler.bind(this), class: ToastClass.close }, this.closeLabel ? this.closeLabel : index.h("gov-icon", { name: "x-lg" })), index.h("div", { key: '90ff65de7a67d968bbfb2726a5642052d7c125ce', class: ToastClass.timer })));
80
80
  }
81
81
  onCloseHandler() {
82
- this.destroy()
83
- .then(() => this.govClose.emit(this.toastId))
84
- .catch();
82
+ this.govClose.emit(this.toastId);
83
+ this.destroy().catch();
85
84
  }
86
85
  get isBold() {
87
86
  return this.type === "bold";
@@ -1 +1 @@
1
- {"file":"gov-toast.entry.cjs.js","mappings":"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","names":["pick","Colors","govHost","createID","validateProp","AttributeObserver","ariaAttributes","inheritAriaAttributes","h","Host"],"sources":["../../../packages/core/src/components/gov-toast/constants.ts","../../../packages/core/src/components/gov-toast/gov-toast.tsx"],"sourcesContent":["import { Colors } from '../../core/constants/colors'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const ToastColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'ERROR', 'SUCCESS', 'WARNING'])\nexport type ToastColorType = `${ValueOf<typeof ToastColors>}`\n\nexport enum ToastType {\n\tBOLD = 'bold',\n\tSUBTLE = 'subtle',\n}\nexport type ToastTypesType = `${ValueOf<typeof ToastType>}`\n\nexport const ToastClass = {\n\troot: 'gov-toast',\n\thidden: 'gov-toast--hidden',\n\tcontent: 'gov-toast__content',\n\tclose: 'gov-toast__close',\n\ttimer: 'gov-toast__timer',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../helpers/Validate/props\"\nimport {ToastClass, ToastColors, ToastColorType, ToastTypesType} from \"./constants\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {createID} from \"../../utils/string.utils\"\nimport {AttributeObserver, Attributes} from \"../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\n\n@Component({\n\ttag: \"gov-toast\",\n})\nexport class GovToast {\n\tprivate h: GovHost\n\tprivate timeout\n\tprivate readonly toastId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.toastId = createID(\"GovToast\")\n\t}\n\n\t@Element() host: HTMLGovToastElement\n\t/**\n\t * Style variation of the toast message.\n\t */\n\t@Prop() readonly color?: ToastColorType = \"primary\"\n\n\t/**\n\t * Toast’s gravity\n\t */\n\t@Prop() readonly gravity: \"top\" | \"bottom\" = \"top\"\n\t/**\n\t * Toast’s position\n\t */\n\t@Prop() readonly position: \"left\" | \"center\" | \"right\" = \"right\"\n\t/**\n\t * Toast type\n\t */\n\t@Prop() readonly type?: ToastTypesType = \"bold\"\n\t/**\n\t * Number of milliseconds to wait before Toast disappear\n\t */\n\t@Prop() readonly time: number = 0\n\t/**\n\t * Closing button texting instead of icons\n\t */\n\t@Prop({attribute: \"close-label\"}) readonly closeLabel: string\n\t/**\n\t * Aria label for the closing button. It is mandatory if the alert is closable\n\t */\n\t@Prop({attribute: \"accessible-close-label\"}) readonly accessibleCloseLabel: string\n\t/**\n\t * Called when the close button is clicked\n\t */\n\t@Event({eventName: \"gov-close\"}) govClose: EventEmitter<string>\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ToastColors, newValue, ToastClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.runTimer()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\n\tdisconnectedCallback() {\n\t\tclearTimeout(this.timeout)\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tprivate runTimer() {\n\t\tif (this.isTimer) {\n\t\t\tthis.timeout = setTimeout(() => {\n\t\t\t\tthis.host.classList.add(ToastClass.hidden)\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.destroy().catch()\n\t\t\t\t\tthis.govClose.emit(this.toastId)\n\t\t\t\t}, 600)\n\t\t\t}, this.time)\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes(ToastClass.root)}\n\t\t\t\tdata-toast-id={this.toastId}\n\t\t\t\tgravity={this.gravity}\n\t\t\t\tposition={this.position}\n\t\t\t\tcolor={this.color}\n\t\t\t\ttype={this.type}\n\t\t\t\tstyle={{\"--toast-duration\": this.time + \"ms\"}}\n\t\t\t>\n\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t)}\n\n\t\t\t\t<div class={ToastClass.content} {...this.inheritedAttributes} aria-live=\"polite\" role=\"status\">\n\t\t\t\t\t<slot/>\n\t\t\t\t</div>\n\n\t\t\t\t<gov-button\n\t\t\t\t\tsize=\"s\"\n\t\t\t\t\taria-label={this.accessibleCloseLabel}\n\t\t\t\t\tcolor={this.isBold ? this.color : \"neutral\"}\n\t\t\t\t\ttype=\"base\"\n\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\tclass={ToastClass.close}\n\t\t\t\t>\n\t\t\t\t\t{this.closeLabel ? this.closeLabel : <gov-icon name=\"x-lg\"></gov-icon>}\n\t\t\t\t</gov-button>\n\n\t\t\t\t<div class={ToastClass.timer}></div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(): void {\n\t\tthis.destroy()\n\t\t\t.then(() => this.govClose.emit(this.toastId))\n\t\t\t.catch()\n\t}\n\n\tget isBold(): boolean {\n\t\treturn this.type === \"bold\"\n\t}\n\n\tget isTimer(): boolean {\n\t\treturn Number.isInteger(this.time) && this.time > 0\n\t}\n\n\t/**\n\t * Remove toast from dom\n\t */\n\t@Method()\n\tasync destroy(): Promise<void> {\n\t\tclearTimeout(this.timeout)\n\t\tconst toast = document.querySelector(`[data-toast-id=\"${this.toastId}\"]`)\n\t\tif (toast) {\n\t\t\ttoast.classList.add(ToastClass.hidden)\n\t\t\tif (typeof toast.remove === \"function\") {\n\t\t\t\ttoast.remove()\n\t\t\t}\n\t\t}\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-toast.entry.cjs.js","mappings":"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","names":["pick","Colors","govHost","createID","validateProp","AttributeObserver","ariaAttributes","inheritAriaAttributes","h","Host"],"sources":["../../../packages/core/src/components/gov-toast/constants.ts","../../../packages/core/src/components/gov-toast/gov-toast.tsx"],"sourcesContent":["import { Colors } from '../../core/constants/colors'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const ToastColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'ERROR', 'SUCCESS', 'WARNING'])\nexport type ToastColorType = `${ValueOf<typeof ToastColors>}`\n\nexport enum ToastType {\n\tBOLD = 'bold',\n\tSUBTLE = 'subtle',\n}\nexport type ToastTypesType = `${ValueOf<typeof ToastType>}`\n\nexport const ToastClass = {\n\troot: 'gov-toast',\n\thidden: 'gov-toast--hidden',\n\tcontent: 'gov-toast__content',\n\tclose: 'gov-toast__close',\n\ttimer: 'gov-toast__timer',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../helpers/Validate/props\"\nimport {ToastClass, ToastColors, ToastColorType, ToastTypesType} from \"./constants\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {createID} from \"../../utils/string.utils\"\nimport {AttributeObserver, Attributes} from \"../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\n\n@Component({\n\ttag: \"gov-toast\",\n})\nexport class GovToast {\n\tprivate h: GovHost\n\tprivate timeout\n\tprivate readonly toastId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.toastId = createID(\"GovToast\")\n\t}\n\n\t@Element() host: HTMLGovToastElement\n\t/**\n\t * Style variation of the toast message.\n\t */\n\t@Prop() readonly color?: ToastColorType = \"primary\"\n\n\t/**\n\t * Toast’s gravity\n\t */\n\t@Prop() readonly gravity: \"top\" | \"bottom\" = \"top\"\n\t/**\n\t * Toast’s position\n\t */\n\t@Prop() readonly position: \"left\" | \"center\" | \"right\" = \"right\"\n\t/**\n\t * Toast type\n\t */\n\t@Prop() readonly type?: ToastTypesType = \"bold\"\n\t/**\n\t * Number of milliseconds to wait before Toast disappear\n\t */\n\t@Prop() readonly time: number = 0\n\t/**\n\t * Closing button texting instead of icons\n\t */\n\t@Prop({attribute: \"close-label\"}) readonly closeLabel: string\n\t/**\n\t * Aria label for the closing button. It is mandatory if the alert is closable\n\t */\n\t@Prop({attribute: \"accessible-close-label\"}) readonly accessibleCloseLabel: string\n\t/**\n\t * Called when the close button is clicked\n\t */\n\t@Event({eventName: \"gov-close\"}) govClose: EventEmitter<string>\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ToastColors, newValue, ToastClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.runTimer()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\n\tdisconnectedCallback() {\n\t\tclearTimeout(this.timeout)\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tprivate runTimer() {\n\t\tif (this.isTimer) {\n\t\t\tthis.timeout = setTimeout(() => {\n\t\t\t\tthis.host.classList.add(ToastClass.hidden)\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.destroy().catch()\n\t\t\t\t\tthis.govClose.emit(this.toastId)\n\t\t\t\t}, 600)\n\t\t\t}, this.time)\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes(ToastClass.root)}\n\t\t\t\tdata-toast-id={this.toastId}\n\t\t\t\tgravity={this.gravity}\n\t\t\t\tposition={this.position}\n\t\t\t\tcolor={this.color}\n\t\t\t\ttype={this.type}\n\t\t\t\tstyle={{\"--toast-duration\": this.time + \"ms\"}}\n\t\t\t>\n\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t)}\n\n\t\t\t\t<div class={ToastClass.content} {...this.inheritedAttributes} aria-live=\"polite\" role=\"status\">\n\t\t\t\t\t<slot/>\n\t\t\t\t</div>\n\n\t\t\t\t<gov-button\n\t\t\t\t\tsize=\"s\"\n\t\t\t\t\taria-label={this.accessibleCloseLabel}\n\t\t\t\t\tcolor={this.isBold ? this.color : \"neutral\"}\n\t\t\t\t\ttype=\"base\"\n\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\tclass={ToastClass.close}\n\t\t\t\t>\n\t\t\t\t\t{this.closeLabel ? this.closeLabel : <gov-icon name=\"x-lg\"></gov-icon>}\n\t\t\t\t</gov-button>\n\n\t\t\t\t<div class={ToastClass.timer}></div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(): void {\n\t\tthis.govClose.emit(this.toastId)\n\t\tthis.destroy().catch()\n\t}\n\n\tget isBold(): boolean {\n\t\treturn this.type === \"bold\"\n\t}\n\n\tget isTimer(): boolean {\n\t\treturn Number.isInteger(this.time) && this.time > 0\n\t}\n\n\t/**\n\t * Remove toast from dom\n\t */\n\t@Method()\n\tasync destroy(): Promise<void> {\n\t\tclearTimeout(this.timeout)\n\t\tconst toast = document.querySelector(`[data-toast-id=\"${this.toastId}\"]`)\n\t\tif (toast) {\n\t\t\ttoast.classList.add(ToastClass.hidden)\n\t\t\tif (typeof toast.remove === \"function\") {\n\t\t\t\ttoast.remove()\n\t\t\t}\n\t\t}\n\t}\n}\n"],"version":3}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const constants = require('./constants-5037cdc9.js');
7
7
  const template = require('./template-b070338f.js');
8
8
  require('./colors-976f6dff.js');
@@ -38,7 +38,7 @@ const GovTooltipContent = class {
38
38
  }
39
39
  }
40
40
  render() {
41
- return (index.h(index.Host, { key: 'd49864e98a9f2dedf08a16a6bb2ca9efdf197474', class: constants.TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !template.toBoolAttr(this.isVisible), "is-visible": this.isVisible }, index.h("slot", { key: '82e18c8a1a8816501ede9d1463dc494098c1a5f1' }), this.persist ? (index.h("gov-button", { "on-gov-click": this.hideContent.bind(this), color: this.color, size: this.size, type: "base" }, index.h("gov-icon", { slot: "left-icon", name: "x-lg", type: "basic" }))) : null));
41
+ return (index.h(index.Host, { key: 'f57a1f6fb8d74271b6fc993838115ab419d9b429', class: constants.TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !template.toBoolAttr(this.isVisible), "is-visible": this.isVisible }, index.h("slot", { key: '921baaaaa6286be7365cefaaaea8ecc20c16bebf' }), this.persist ? (index.h("gov-button", { "on-gov-click": this.hideContent.bind(this), color: this.color, size: this.size, type: "base" }, index.h("gov-icon", { slot: "left-icon", name: "x-lg", type: "basic" }))) : null));
42
42
  }
43
43
  get host() { return index.getElement(this); }
44
44
  static get watchers() { return {
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const props = require('./props-b8a955b2.js');
7
7
  const constants = require('./constants-5037cdc9.js');
8
- const string_utils = require('./string.utils-2335838f.js');
8
+ const string_utils = require('./string.utils-b84c81cf.js');
9
9
  const template = require('./template-b070338f.js');
10
10
  const win = require('./win-587f4614.js');
11
11
  const stencil_utils = require('./stencil.utils-182382ee.js');
@@ -206,11 +206,11 @@ const GovTooltip = class {
206
206
  }
207
207
  render() {
208
208
  var _a;
209
- return (index.h(index.Host, { key: '586688b720383614f664372d3e2ee78e7ffd1839', id: this.tooltipId, class: this.h.classes(constants.TooltipClass.root), position: this.position }, index.h("span", { key: 'f92e924b5ebac06826819ed54e6b72107b3361c6', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
209
+ return (index.h(index.Host, { key: '062963ab589de44e81d5b8c99e60e52caed85373', id: this.tooltipId, class: this.h.classes(constants.TooltipClass.root), position: this.position }, index.h("span", { key: '2e9be2bc7a907ff709b4e7468f590d44a2936352', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
210
210
  if (this.persist === false) {
211
211
  this.hideTooltip();
212
212
  }
213
- }, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, index.h("slot", { key: 'be127806aff769f381809e21142a2f7aa79ca5b1' }))));
213
+ }, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, index.h("slot", { key: 'e8c852804d1e84f31ca4bc6a8f9454c8ce98e6a6' }))));
214
214
  }
215
215
  /**
216
216
  * Showing the modal
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const props = require('./props-b8a955b2.js');
7
7
  const constants = require('./constants-441d1af4.js');
8
- const string_utils = require('./string.utils-2335838f.js');
8
+ const string_utils = require('./string.utils-b84c81cf.js');
9
9
  const template = require('./template-b070338f.js');
10
10
  require('./gov.log-1e8bab6e.js');
11
11
  require('./win-587f4614.js');
@@ -48,8 +48,8 @@ const GovWizardItem = class {
48
48
  render() {
49
49
  const triggerId = this.identifier || this.triggerId;
50
50
  const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
51
- const prefixSlot = this.h.hasSlot("prefix") && (index.h("span", { key: 'a90c41a00e83403e088c5080b690ba8a1ba8b153', class: constants.WizardItemClass.prefix }, index.h("slot", { key: 'a73bf28d1b1d70d3eb987fa158fc3f350fdc18ed', name: "prefix" })));
52
- return (index.h(index.Host, { key: '85bdb5aaf2996e25399e733123c622cb3f2aa181', class: this.h.classes(constants.WizardItemClass.root), "is-expanded": this.isExpanded, color: this.color, size: this.size, role: "listitem", collapsible: this.collapsible, hydrated: this.hydrated }, index.h("div", { key: '5e36bc2ba8a1d3ffa802b91d5c972cf64d6e92b1', class: constants.WizardItemClass.header }, prefixSlot, this.collapsible ? (index.h(Tag, { id: triggerId, class: this.h.classes(constants.WizardItemClass.label), "aria-expanded": template.booleanString(this.isExpanded), "aria-controls": this.contentId, disabled: this.disabled, "aria-disabled": template.toBoolAttrIfDefined(this.disabled), onClick: (e) => {
51
+ const prefixSlot = this.h.hasSlot("prefix") && (index.h("span", { key: '89a426f07ecb1d1b32fbdb39052a2ac7d8049c2a', class: constants.WizardItemClass.prefix }, index.h("slot", { key: '26e071baf3858a37ce9bda6cf9f09947abd21db0', name: "prefix" })));
52
+ return (index.h(index.Host, { key: 'e8e377730b03812ee75737606565ddd968e209fd', class: this.h.classes(constants.WizardItemClass.root), "is-expanded": this.isExpanded, color: this.color, size: this.size, role: "listitem", collapsible: this.collapsible, hydrated: this.hydrated }, index.h("div", { key: '4ea2d580649e6183df0aafdef2de7262bffbe7c0', class: constants.WizardItemClass.header }, prefixSlot, this.collapsible ? (index.h(Tag, { id: triggerId, class: this.h.classes(constants.WizardItemClass.label), "aria-expanded": template.booleanString(this.isExpanded), "aria-controls": this.contentId, disabled: this.disabled, "aria-disabled": template.toBoolAttrIfDefined(this.disabled), onClick: (e) => {
53
53
  e.preventDefault();
54
54
  e.stopPropagation();
55
55
  this.toggle();
@@ -2,17 +2,17 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1af4880c.js');
5
+ const index = require('./index-7ff4447c.js');
6
6
  const props = require('./props-b8a955b2.js');
7
7
  const constants = require('./constants-441d1af4.js');
8
8
  const template = require('./template-b070338f.js');
9
- const wcag = require('./wcag-31089f70.js');
9
+ const wcag = require('./wcag-b8d80c7d.js');
10
10
  const win = require('./win-587f4614.js');
11
11
  const utils = require('./utils-d263c5c6.js');
12
12
  require('./gov.log-1e8bab6e.js');
13
13
  require('./colors-976f6dff.js');
14
14
  require('./sizes-89f8d3b2.js');
15
- require('./string.utils-2335838f.js');
15
+ require('./string.utils-b84c81cf.js');
16
16
  require('./helpers.types-ff60c9bd.js');
17
17
 
18
18
  const GovWizard = class {
@@ -52,7 +52,7 @@ const GovWizard = class {
52
52
  this.hydrated = true;
53
53
  }
54
54
  render() {
55
- return (index.h(index.Host, { key: '561329ca0aab784816ee33a24f323b931b4ef730', class: this.h.classes(constants.WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, index.h("slot", { key: '362c9affa822094d8b2d56185ccfb7d63f69cb1e' })));
55
+ return (index.h(index.Host, { key: 'b31f7b2d27605da982cb379036be995ec9ef98ab', class: this.h.classes(constants.WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, index.h("slot", { key: '4ccb835a27be7fed0be15809854bf33dbc7e48a3' })));
56
56
  }
57
57
  /**
58
58
  * Validate the WCAG attributes of the component
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'core';
24
- const BUILD = /* core */ { allRenderFn: true, appendChildSlotFix: true, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: true, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: true, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: true, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: false, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: true, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: true, slotChildNodesFix: true, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
24
+ const BUILD = /* core */ { allRenderFn: true, appendChildSlotFix: true, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: true, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: true, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: true, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: false, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: true, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: true, slotChildNodesFix: true, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
25
25
 
26
26
  /*
27
27
  Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
@@ -122,6 +122,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
122
122
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
123
123
  /* webpackMode: "lazy" */
124
124
  './gov-error-code.cjs.entry.js')); }).then(processMod, consoleError);
125
+ case 'gov-flex.cjs':
126
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
127
+ /* webpackMode: "lazy" */
128
+ './gov-flex.cjs.entry.js')); }).then(processMod, consoleError);
125
129
  case 'gov-form-checkbox.cjs':
126
130
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
127
131
  /* webpackMode: "lazy" */
@@ -190,6 +194,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
190
194
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
191
195
  /* webpackMode: "lazy" */
192
196
  './gov-layout-column.cjs.entry.js')); }).then(processMod, consoleError);
197
+ case 'gov-lifecycle.cjs':
198
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
199
+ /* webpackMode: "lazy" */
200
+ './gov-lifecycle.cjs.entry.js')); }).then(processMod, consoleError);
193
201
  case 'gov-loading.cjs':
194
202
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
195
203
  /* webpackMode: "lazy" */
@@ -1510,6 +1518,9 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
1510
1518
  maybePromise = safeCall(instance, "componentWillUpdate");
1511
1519
  }
1512
1520
  }
1521
+ {
1522
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender"));
1523
+ }
1513
1524
  endSchedule();
1514
1525
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1515
1526
  };
@@ -1666,6 +1677,11 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1666
1677
  }
1667
1678
  }
1668
1679
  if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1680
+ if (instance.componentShouldUpdate) {
1681
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1682
+ return;
1683
+ }
1684
+ }
1669
1685
  scheduleUpdate(hostRef, false);
1670
1686
  }
1671
1687
  }
@@ -2026,4 +2042,4 @@ exports.promiseResolve = promiseResolve;
2026
2042
  exports.registerInstance = registerInstance;
2027
2043
  exports.setNonce = setNonce;
2028
2044
 
2029
- //# sourceMappingURL=index-1af4880c.js.map
2045
+ //# sourceMappingURL=index-7ff4447c.js.map