@gov-design-system-ce/components 4.1.2 → 4.1.3-BETA-2

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 (339) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/gov-accordion-item.cjs.entry.js +1 -1
  3. package/dist/cjs/gov-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/gov-attachments_3.cjs.entry.js +1 -1
  5. package/dist/cjs/gov-backdrop.cjs.entry.js +1 -1
  6. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +1 -1
  7. package/dist/cjs/gov-button.cjs.entry.js +1 -1
  8. package/dist/cjs/gov-card.cjs.entry.js +1 -1
  9. package/dist/cjs/gov-chip.cjs.entry.js +1 -1
  10. package/dist/cjs/gov-container.cjs.entry.js +1 -1
  11. package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
  12. package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
  13. package/dist/cjs/gov-dialog.cjs.entry.js +1 -1
  14. package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
  15. package/dist/cjs/gov-empty.cjs.entry.js +1 -1
  16. package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
  17. package/dist/cjs/gov-flex_3.cjs.entry.js +16 -3
  18. package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -1
  19. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +1 -1
  20. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +1 -1
  21. package/dist/cjs/gov-form-checkbox.cjs.entry.js +1 -1
  22. package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
  23. package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
  24. package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
  25. package/dist/cjs/gov-form-input_2.cjs.entry.js +1 -1
  26. package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
  27. package/dist/cjs/gov-form-multi-select.cjs.entry.js +1 -1
  28. package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
  29. package/dist/cjs/gov-form-radio-group.cjs.entry.js +1 -1
  30. package/dist/cjs/gov-form-radio.cjs.entry.js +1 -1
  31. package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
  32. package/dist/cjs/gov-form-select.cjs.entry.js +1 -1
  33. package/dist/cjs/gov-form-switch.cjs.entry.js +1 -1
  34. package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
  35. package/dist/cjs/gov-grid.cjs.entry.js +1 -1
  36. package/dist/cjs/gov-infobar.cjs.entry.js +1 -1
  37. package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
  38. package/dist/cjs/gov-layout.cjs.entry.js +1 -1
  39. package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
  40. package/dist/cjs/gov-link.cjs.entry.js +1 -1
  41. package/dist/cjs/gov-loading.cjs.entry.js +1 -1
  42. package/dist/cjs/gov-message.cjs.entry.js +1 -1
  43. package/dist/cjs/gov-pagination.cjs.entry.js +1 -1
  44. package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
  45. package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
  46. package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
  47. package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
  48. package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
  49. package/dist/cjs/gov-tag.cjs.entry.js +1 -1
  50. package/dist/cjs/gov-tile.cjs.entry.js +1 -1
  51. package/dist/cjs/gov-tiles.cjs.entry.js +1 -1
  52. package/dist/cjs/gov-toast.cjs.entry.js +1 -1
  53. package/dist/cjs/gov-tooltip-content.cjs.entry.js +1 -1
  54. package/dist/cjs/gov-tooltip.cjs.entry.js +1 -1
  55. package/dist/cjs/gov-wizard-item.cjs.entry.js +1 -1
  56. package/dist/cjs/gov-wizard.cjs.entry.js +1 -1
  57. package/dist/cjs/{index-7ff4447c.js → index-67e87c27.js} +8 -1
  58. package/dist/cjs/index-67e87c27.js.map +1 -0
  59. package/dist/cjs/loader.cjs.js +1 -1
  60. package/dist/collection/components/gov-icon/gov-icon.js +10 -1
  61. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  62. package/dist/collection/utils/icon.utils.js +4 -0
  63. package/dist/collection/utils/icon.utils.js.map +1 -1
  64. package/dist/components/gov-accordion-item.js +1 -1
  65. package/dist/components/gov-accordion.js +1 -1
  66. package/dist/components/gov-attachments-item.js +1 -1
  67. package/dist/components/gov-attachments.js +1 -1
  68. package/dist/components/gov-backdrop.js +1 -1
  69. package/dist/components/gov-breadcrumbs.js +1 -1
  70. package/dist/components/gov-breadcrumbs.js.map +1 -1
  71. package/dist/components/gov-button.js +1 -1
  72. package/dist/components/gov-card.js +1 -1
  73. package/dist/components/gov-chip.js +1 -1
  74. package/dist/components/gov-container.js +1 -1
  75. package/dist/components/gov-control-group.js +1 -1
  76. package/dist/components/gov-cookiebar.js +1 -1
  77. package/dist/components/gov-dialog.js +1 -1
  78. package/dist/components/gov-dropdown.js +1 -1
  79. package/dist/components/gov-empty.js +1 -1
  80. package/dist/components/gov-error-code.js +1 -1
  81. package/dist/components/gov-flex.js +1 -1
  82. package/dist/components/gov-form-autocomplete.js +1 -1
  83. package/dist/components/gov-form-checkbox-group.js +1 -1
  84. package/dist/components/gov-form-checkbox.js +1 -1
  85. package/dist/components/gov-form-control.js +1 -1
  86. package/dist/components/gov-form-file.js +1 -1
  87. package/dist/components/gov-form-file.js.map +1 -1
  88. package/dist/components/gov-form-group.js +1 -1
  89. package/dist/components/gov-form-input.js +1 -1
  90. package/dist/components/gov-form-label.js +1 -1
  91. package/dist/components/gov-form-message.js +1 -1
  92. package/dist/components/gov-form-multi-select.js +1 -1
  93. package/dist/components/gov-form-password-power.js +1 -1
  94. package/dist/components/gov-form-radio-group.js +1 -1
  95. package/dist/components/gov-form-radio.js +1 -1
  96. package/dist/components/gov-form-search.js +1 -1
  97. package/dist/components/gov-form-select.js +1 -1
  98. package/dist/components/gov-form-switch.js +1 -1
  99. package/dist/components/gov-grid-item.js +1 -1
  100. package/dist/components/gov-grid.js +1 -1
  101. package/dist/components/gov-icon.js +1 -1
  102. package/dist/components/gov-infobar.js +1 -1
  103. package/dist/components/gov-layout-column.js +1 -1
  104. package/dist/components/gov-layout.js +1 -1
  105. package/dist/components/gov-lifecycle.js +1 -1
  106. package/dist/components/gov-link.js +1 -1
  107. package/dist/components/gov-loading.js +1 -1
  108. package/dist/components/gov-message.js +1 -1
  109. package/dist/components/gov-pagination.js +1 -1
  110. package/dist/components/gov-skeleton.js +1 -1
  111. package/dist/components/gov-spacer.js +1 -1
  112. package/dist/components/gov-stepper-item.js +1 -1
  113. package/dist/components/gov-stepper.js +1 -1
  114. package/dist/components/gov-tabs-item.js +1 -1
  115. package/dist/components/gov-tabs.js +1 -1
  116. package/dist/components/gov-tabs.js.map +1 -1
  117. package/dist/components/gov-tag.js +1 -1
  118. package/dist/components/gov-theme-switch.js +1 -1
  119. package/dist/components/gov-tile.js +1 -1
  120. package/dist/components/gov-tile.js.map +1 -1
  121. package/dist/components/gov-tiles.js +1 -1
  122. package/dist/components/gov-toast.js +1 -1
  123. package/dist/components/gov-tooltip-content.js +1 -1
  124. package/dist/components/gov-tooltip.js +1 -1
  125. package/dist/components/gov-wizard-item.js +1 -1
  126. package/dist/components/gov-wizard.js +1 -1
  127. package/dist/components/index.js +1 -1
  128. package/dist/components/{p-73938936.js → p-03ad4e0f.js} +2 -2
  129. package/dist/components/{p-40c2fb42.js → p-045fbfaf.js} +2 -2
  130. package/dist/components/{p-d962bf44.js → p-094043d1.js} +2 -2
  131. package/dist/components/p-115b9cf3.js +3 -0
  132. package/dist/components/p-115b9cf3.js.map +1 -0
  133. package/dist/components/{p-b97d8edd.js → p-350e060c.js} +2 -2
  134. package/dist/components/{p-7be2301a.js → p-384c7f2a.js} +2 -2
  135. package/dist/components/{p-48c4d5c8.js → p-41a9e287.js} +2 -2
  136. package/dist/components/{p-28776006.js → p-5b2d5fb5.js} +2 -2
  137. package/dist/components/{p-ce90ff14.js → p-89ed55fa.js} +2 -2
  138. package/dist/components/{p-c438a723.js → p-8ee6f2f3.js} +2 -2
  139. package/dist/components/{p-b25af2cf.js → p-a129712c.js} +2 -2
  140. package/dist/components/p-ed4d755e.js +2 -0
  141. package/dist/components/p-ed4d755e.js.map +1 -0
  142. package/dist/core/core.esm.js +1 -1
  143. package/dist/core/{p-ee7af1ab.entry.js → p-017ff5a5.entry.js} +2 -2
  144. package/dist/core/{p-0dac0792.entry.js → p-032accfb.entry.js} +2 -2
  145. package/dist/core/{p-b2abc2fc.entry.js → p-058e6fe2.entry.js} +2 -2
  146. package/dist/core/{p-b4cf97ab.entry.js → p-063b70a2.entry.js} +2 -2
  147. package/dist/core/{p-bf8529f8.entry.js → p-0724cb6a.entry.js} +2 -2
  148. package/dist/core/{p-4d81039c.entry.js → p-09c9eba6.entry.js} +2 -2
  149. package/dist/core/p-0c076b21.entry.js +2 -0
  150. package/dist/core/{p-97c65665.entry.js → p-0f0f7302.entry.js} +2 -2
  151. package/dist/core/{p-eaa83b2f.entry.js → p-10f773c2.entry.js} +2 -2
  152. package/dist/core/{p-520ac994.entry.js → p-14d66f26.entry.js} +2 -2
  153. package/dist/core/{p-87562d9e.entry.js → p-1aa7450e.entry.js} +2 -2
  154. package/dist/core/p-23081383.entry.js +2 -0
  155. package/dist/core/p-23081383.entry.js.map +1 -0
  156. package/dist/core/{p-2496f2a5.entry.js → p-237a5b91.entry.js} +2 -2
  157. package/dist/core/{p-979b03eb.entry.js → p-269071f5.entry.js} +2 -2
  158. package/dist/core/p-2ee042d4.js +3 -0
  159. package/dist/core/p-2ee042d4.js.map +1 -0
  160. package/dist/core/{p-2e21a994.entry.js → p-33310735.entry.js} +2 -2
  161. package/dist/core/{p-29d16111.entry.js → p-347d15d5.entry.js} +2 -2
  162. package/dist/core/p-37473c34.entry.js +2 -0
  163. package/dist/core/{p-ee0f3bd9.entry.js → p-3849ca02.entry.js} +2 -2
  164. package/dist/core/{p-2bde147f.entry.js → p-3a7381e7.entry.js} +2 -2
  165. package/dist/core/{p-182d03c1.entry.js → p-43d3dbc0.entry.js} +2 -2
  166. package/dist/core/p-45b759f4.entry.js +2 -0
  167. package/dist/core/{p-d3f7d3d5.entry.js.map → p-45b759f4.entry.js.map} +1 -1
  168. package/dist/core/p-4c60e125.entry.js +2 -0
  169. package/dist/core/{p-d2b11492.entry.js → p-4e29744a.entry.js} +2 -2
  170. package/dist/core/{p-436e7690.entry.js → p-4fa0320d.entry.js} +2 -2
  171. package/dist/core/p-50af9ae8.entry.js +2 -0
  172. package/dist/core/{p-af9fe91a.entry.js → p-5c3f4cfe.entry.js} +2 -2
  173. package/dist/core/{p-f83b9da5.entry.js → p-6b7c3a96.entry.js} +2 -2
  174. package/dist/core/{p-97e8b4b3.entry.js → p-71f5d4ff.entry.js} +2 -2
  175. package/dist/core/{p-605e72b1.entry.js → p-77daba72.entry.js} +2 -2
  176. package/dist/core/{p-b245d627.entry.js → p-7a21fb90.entry.js} +2 -2
  177. package/dist/core/{p-abefa59b.entry.js → p-7baee44f.entry.js} +2 -2
  178. package/dist/core/{p-6603e3df.entry.js → p-7dfb7e36.entry.js} +2 -2
  179. package/dist/core/{p-88b69d30.entry.js → p-8bb6c816.entry.js} +2 -2
  180. package/dist/core/{p-fb8c019a.entry.js → p-8cc5ad01.entry.js} +2 -2
  181. package/dist/core/{p-6f260a90.entry.js → p-906865d0.entry.js} +2 -2
  182. package/dist/core/{p-12d1e5bc.entry.js → p-927c31dd.entry.js} +2 -2
  183. package/dist/core/{p-ebeb1a03.entry.js → p-967a1094.entry.js} +2 -2
  184. package/dist/core/{p-64dc1cdb.entry.js → p-9846fd13.entry.js} +2 -2
  185. package/dist/core/{p-cd988543.entry.js → p-994385ca.entry.js} +2 -2
  186. package/dist/core/{p-5a92b9d9.entry.js → p-9f8d69a9.entry.js} +2 -2
  187. package/dist/core/{p-fa5b72de.entry.js → p-a6a9de9a.entry.js} +2 -2
  188. package/dist/core/{p-ebc318d7.entry.js → p-b62e49ee.entry.js} +2 -2
  189. package/dist/core/{p-71dc8171.entry.js → p-c0800e6d.entry.js} +2 -2
  190. package/dist/core/{p-53fa7648.entry.js → p-cecbe73f.entry.js} +2 -2
  191. package/dist/core/{p-d6e972c0.entry.js → p-d795a421.entry.js} +2 -2
  192. package/dist/core/{p-581c8075.entry.js → p-d9b42773.entry.js} +2 -2
  193. package/dist/core/{p-913331e8.entry.js → p-e0a199ff.entry.js} +2 -2
  194. package/dist/core/{p-fa161f10.entry.js → p-e215f3ee.entry.js} +2 -2
  195. package/dist/core/{p-d952e56f.entry.js → p-ed02945f.entry.js} +2 -2
  196. package/dist/core/{p-ff609d0e.entry.js → p-ee55932a.entry.js} +2 -2
  197. package/dist/core/{p-eeee2325.entry.js → p-f2bb8c29.entry.js} +2 -2
  198. package/dist/core/{p-aeab9c1a.entry.js → p-f54edd6c.entry.js} +2 -2
  199. package/dist/core/{p-b0d1073c.entry.js → p-f7f60f91.entry.js} +2 -2
  200. package/dist/core/{p-8ece244d.entry.js → p-fcac8531.entry.js} +2 -2
  201. package/dist/esm/core.js +2 -2
  202. package/dist/esm/gov-accordion-item.entry.js +1 -1
  203. package/dist/esm/gov-accordion.entry.js +1 -1
  204. package/dist/esm/gov-attachments_3.entry.js +1 -1
  205. package/dist/esm/gov-backdrop.entry.js +1 -1
  206. package/dist/esm/gov-breadcrumbs.entry.js +1 -1
  207. package/dist/esm/gov-button.entry.js +1 -1
  208. package/dist/esm/gov-card.entry.js +1 -1
  209. package/dist/esm/gov-chip.entry.js +1 -1
  210. package/dist/esm/gov-container.entry.js +1 -1
  211. package/dist/esm/gov-control-group.entry.js +1 -1
  212. package/dist/esm/gov-cookiebar.entry.js +1 -1
  213. package/dist/esm/gov-dialog.entry.js +1 -1
  214. package/dist/esm/gov-dropdown.entry.js +1 -1
  215. package/dist/esm/gov-empty.entry.js +1 -1
  216. package/dist/esm/gov-error-code.entry.js +1 -1
  217. package/dist/esm/gov-flex_3.entry.js +16 -3
  218. package/dist/esm/gov-flex_3.entry.js.map +1 -1
  219. package/dist/esm/gov-form-autocomplete.entry.js +1 -1
  220. package/dist/esm/gov-form-checkbox-group.entry.js +1 -1
  221. package/dist/esm/gov-form-checkbox.entry.js +1 -1
  222. package/dist/esm/gov-form-control.entry.js +1 -1
  223. package/dist/esm/gov-form-file.entry.js +1 -1
  224. package/dist/esm/gov-form-group.entry.js +1 -1
  225. package/dist/esm/gov-form-input_2.entry.js +1 -1
  226. package/dist/esm/gov-form-label.entry.js +1 -1
  227. package/dist/esm/gov-form-multi-select.entry.js +1 -1
  228. package/dist/esm/gov-form-password-power.entry.js +1 -1
  229. package/dist/esm/gov-form-radio-group.entry.js +1 -1
  230. package/dist/esm/gov-form-radio.entry.js +1 -1
  231. package/dist/esm/gov-form-search.entry.js +1 -1
  232. package/dist/esm/gov-form-select.entry.js +1 -1
  233. package/dist/esm/gov-form-switch.entry.js +1 -1
  234. package/dist/esm/gov-grid-item.entry.js +1 -1
  235. package/dist/esm/gov-grid.entry.js +1 -1
  236. package/dist/esm/gov-infobar.entry.js +1 -1
  237. package/dist/esm/gov-layout-column.entry.js +1 -1
  238. package/dist/esm/gov-layout.entry.js +1 -1
  239. package/dist/esm/gov-lifecycle.entry.js +1 -1
  240. package/dist/esm/gov-link.entry.js +1 -1
  241. package/dist/esm/gov-loading.entry.js +1 -1
  242. package/dist/esm/gov-message.entry.js +1 -1
  243. package/dist/esm/gov-pagination.entry.js +1 -1
  244. package/dist/esm/gov-spacer.entry.js +1 -1
  245. package/dist/esm/gov-stepper-item.entry.js +1 -1
  246. package/dist/esm/gov-stepper.entry.js +1 -1
  247. package/dist/esm/gov-tabs-item.entry.js +1 -1
  248. package/dist/esm/gov-tabs.entry.js +1 -1
  249. package/dist/esm/gov-tag.entry.js +1 -1
  250. package/dist/esm/gov-tile.entry.js +1 -1
  251. package/dist/esm/gov-tiles.entry.js +1 -1
  252. package/dist/esm/gov-toast.entry.js +1 -1
  253. package/dist/esm/gov-tooltip-content.entry.js +1 -1
  254. package/dist/esm/gov-tooltip.entry.js +1 -1
  255. package/dist/esm/gov-wizard-item.entry.js +1 -1
  256. package/dist/esm/gov-wizard.entry.js +1 -1
  257. package/dist/esm/{index-8dc58a1a.js → index-087b155c.js} +8 -2
  258. package/dist/esm/index-087b155c.js.map +1 -0
  259. package/dist/esm/loader.js +2 -2
  260. package/dist/hydrate/index.js +22 -2
  261. package/dist/hydrate/index.mjs +22 -2
  262. package/package.json +1 -1
  263. package/dist/cjs/index-7ff4447c.js.map +0 -1
  264. package/dist/components/p-18ab0d24.js +0 -2
  265. package/dist/components/p-18ab0d24.js.map +0 -1
  266. package/dist/components/p-42200001.js +0 -3
  267. package/dist/components/p-42200001.js.map +0 -1
  268. package/dist/core/p-2b51b8e8.entry.js +0 -2
  269. package/dist/core/p-3df6c6cd.entry.js +0 -2
  270. package/dist/core/p-467f778b.entry.js +0 -2
  271. package/dist/core/p-5fbde4f9.js +0 -3
  272. package/dist/core/p-5fbde4f9.js.map +0 -1
  273. package/dist/core/p-b766810e.entry.js +0 -2
  274. package/dist/core/p-b766810e.entry.js.map +0 -1
  275. package/dist/core/p-bc0ed2c1.entry.js +0 -2
  276. package/dist/core/p-d3f7d3d5.entry.js +0 -2
  277. package/dist/esm/index-8dc58a1a.js.map +0 -1
  278. /package/dist/components/{p-73938936.js.map → p-03ad4e0f.js.map} +0 -0
  279. /package/dist/components/{p-40c2fb42.js.map → p-045fbfaf.js.map} +0 -0
  280. /package/dist/components/{p-d962bf44.js.map → p-094043d1.js.map} +0 -0
  281. /package/dist/components/{p-b97d8edd.js.map → p-350e060c.js.map} +0 -0
  282. /package/dist/components/{p-7be2301a.js.map → p-384c7f2a.js.map} +0 -0
  283. /package/dist/components/{p-48c4d5c8.js.map → p-41a9e287.js.map} +0 -0
  284. /package/dist/components/{p-28776006.js.map → p-5b2d5fb5.js.map} +0 -0
  285. /package/dist/components/{p-ce90ff14.js.map → p-89ed55fa.js.map} +0 -0
  286. /package/dist/components/{p-c438a723.js.map → p-8ee6f2f3.js.map} +0 -0
  287. /package/dist/components/{p-b25af2cf.js.map → p-a129712c.js.map} +0 -0
  288. /package/dist/core/{p-ee7af1ab.entry.js.map → p-017ff5a5.entry.js.map} +0 -0
  289. /package/dist/core/{p-0dac0792.entry.js.map → p-032accfb.entry.js.map} +0 -0
  290. /package/dist/core/{p-b2abc2fc.entry.js.map → p-058e6fe2.entry.js.map} +0 -0
  291. /package/dist/core/{p-b4cf97ab.entry.js.map → p-063b70a2.entry.js.map} +0 -0
  292. /package/dist/core/{p-bf8529f8.entry.js.map → p-0724cb6a.entry.js.map} +0 -0
  293. /package/dist/core/{p-4d81039c.entry.js.map → p-09c9eba6.entry.js.map} +0 -0
  294. /package/dist/core/{p-bc0ed2c1.entry.js.map → p-0c076b21.entry.js.map} +0 -0
  295. /package/dist/core/{p-97c65665.entry.js.map → p-0f0f7302.entry.js.map} +0 -0
  296. /package/dist/core/{p-eaa83b2f.entry.js.map → p-10f773c2.entry.js.map} +0 -0
  297. /package/dist/core/{p-520ac994.entry.js.map → p-14d66f26.entry.js.map} +0 -0
  298. /package/dist/core/{p-87562d9e.entry.js.map → p-1aa7450e.entry.js.map} +0 -0
  299. /package/dist/core/{p-2496f2a5.entry.js.map → p-237a5b91.entry.js.map} +0 -0
  300. /package/dist/core/{p-979b03eb.entry.js.map → p-269071f5.entry.js.map} +0 -0
  301. /package/dist/core/{p-2e21a994.entry.js.map → p-33310735.entry.js.map} +0 -0
  302. /package/dist/core/{p-29d16111.entry.js.map → p-347d15d5.entry.js.map} +0 -0
  303. /package/dist/core/{p-2b51b8e8.entry.js.map → p-37473c34.entry.js.map} +0 -0
  304. /package/dist/core/{p-ee0f3bd9.entry.js.map → p-3849ca02.entry.js.map} +0 -0
  305. /package/dist/core/{p-2bde147f.entry.js.map → p-3a7381e7.entry.js.map} +0 -0
  306. /package/dist/core/{p-182d03c1.entry.js.map → p-43d3dbc0.entry.js.map} +0 -0
  307. /package/dist/core/{p-3df6c6cd.entry.js.map → p-4c60e125.entry.js.map} +0 -0
  308. /package/dist/core/{p-d2b11492.entry.js.map → p-4e29744a.entry.js.map} +0 -0
  309. /package/dist/core/{p-436e7690.entry.js.map → p-4fa0320d.entry.js.map} +0 -0
  310. /package/dist/core/{p-467f778b.entry.js.map → p-50af9ae8.entry.js.map} +0 -0
  311. /package/dist/core/{p-af9fe91a.entry.js.map → p-5c3f4cfe.entry.js.map} +0 -0
  312. /package/dist/core/{p-f83b9da5.entry.js.map → p-6b7c3a96.entry.js.map} +0 -0
  313. /package/dist/core/{p-97e8b4b3.entry.js.map → p-71f5d4ff.entry.js.map} +0 -0
  314. /package/dist/core/{p-605e72b1.entry.js.map → p-77daba72.entry.js.map} +0 -0
  315. /package/dist/core/{p-b245d627.entry.js.map → p-7a21fb90.entry.js.map} +0 -0
  316. /package/dist/core/{p-abefa59b.entry.js.map → p-7baee44f.entry.js.map} +0 -0
  317. /package/dist/core/{p-6603e3df.entry.js.map → p-7dfb7e36.entry.js.map} +0 -0
  318. /package/dist/core/{p-88b69d30.entry.js.map → p-8bb6c816.entry.js.map} +0 -0
  319. /package/dist/core/{p-fb8c019a.entry.js.map → p-8cc5ad01.entry.js.map} +0 -0
  320. /package/dist/core/{p-6f260a90.entry.js.map → p-906865d0.entry.js.map} +0 -0
  321. /package/dist/core/{p-12d1e5bc.entry.js.map → p-927c31dd.entry.js.map} +0 -0
  322. /package/dist/core/{p-ebeb1a03.entry.js.map → p-967a1094.entry.js.map} +0 -0
  323. /package/dist/core/{p-64dc1cdb.entry.js.map → p-9846fd13.entry.js.map} +0 -0
  324. /package/dist/core/{p-cd988543.entry.js.map → p-994385ca.entry.js.map} +0 -0
  325. /package/dist/core/{p-5a92b9d9.entry.js.map → p-9f8d69a9.entry.js.map} +0 -0
  326. /package/dist/core/{p-fa5b72de.entry.js.map → p-a6a9de9a.entry.js.map} +0 -0
  327. /package/dist/core/{p-ebc318d7.entry.js.map → p-b62e49ee.entry.js.map} +0 -0
  328. /package/dist/core/{p-71dc8171.entry.js.map → p-c0800e6d.entry.js.map} +0 -0
  329. /package/dist/core/{p-53fa7648.entry.js.map → p-cecbe73f.entry.js.map} +0 -0
  330. /package/dist/core/{p-d6e972c0.entry.js.map → p-d795a421.entry.js.map} +0 -0
  331. /package/dist/core/{p-581c8075.entry.js.map → p-d9b42773.entry.js.map} +0 -0
  332. /package/dist/core/{p-913331e8.entry.js.map → p-e0a199ff.entry.js.map} +0 -0
  333. /package/dist/core/{p-fa161f10.entry.js.map → p-e215f3ee.entry.js.map} +0 -0
  334. /package/dist/core/{p-d952e56f.entry.js.map → p-ed02945f.entry.js.map} +0 -0
  335. /package/dist/core/{p-ff609d0e.entry.js.map → p-ee55932a.entry.js.map} +0 -0
  336. /package/dist/core/{p-eeee2325.entry.js.map → p-f2bb8c29.entry.js.map} +0 -0
  337. /package/dist/core/{p-aeab9c1a.entry.js.map → p-f54edd6c.entry.js.map} +0 -0
  338. /package/dist/core/{p-b0d1073c.entry.js.map → p-f7f60f91.entry.js.map} +0 -0
  339. /package/dist/core/{p-8ece244d.entry.js.map → p-fcac8531.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-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const props = require('./props-d189860c.js');
7
7
  const constants = require('./constants-e1bbb053.js');
8
8
  const template = require('./template-39939fd6.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const props = require('./props-d189860c.js');
7
7
  const constants = require('./constants-e1bbb053.js');
8
8
  const template = require('./template-39939fd6.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const wcag = require('./wcag-2927ff73.js');
7
7
  const gov_log = require('./gov.log-bfea3151.js');
8
8
  const utils = require('./utils-d263c5c6.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const wcag = require('./wcag-2927ff73.js');
7
7
  const gov_log = require('./gov.log-bfea3151.js');
8
8
  const template = require('./template-39939fd6.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const wcag = require('./wcag-2927ff73.js');
7
7
  const gov_log = require('./gov.log-bfea3151.js');
8
8
  const template = require('./template-39939fd6.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const props = require('./props-d189860c.js');
7
7
  const constants = require('./constants-f464dc4c.js');
8
8
  const template = require('./template-39939fd6.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const template = require('./template-39939fd6.js');
7
7
  const string_utils = require('./string.utils-b84c81cf.js');
8
8
  const wcag = require('./wcag-2927ff73.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const props = require('./props-d189860c.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
  const utils = require('./utils-d263c5c6.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const template = require('./template-39939fd6.js');
7
7
 
8
8
  const ContainerClass = {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const colors = require('./colors-f7c8eadd.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
  const props = require('./props-d189860c.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const template = require('./template-39939fd6.js');
7
7
 
8
8
  const CookieConsentClass = {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const template = require('./template-39939fd6.js');
7
7
  const gov_log = require('./gov.log-bfea3151.js');
8
8
  const wcag = require('./wcag-2927ff73.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const template = require('./template-39939fd6.js');
7
7
  const string_utils = require('./string.utils-b84c81cf.js');
8
8
  const constants = require('./constants-f464dc4c.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const utils = require('./utils-d263c5c6.js');
7
7
  const sizes = require('./sizes-89f8d3b2.js');
8
8
  const template = require('./template-39939fd6.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const template = require('./template-39939fd6.js');
7
7
 
8
8
  const ErrorCodeClass = {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const sizes = require('./sizes-89f8d3b2.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
  const utils = require('./utils-d263c5c6.js');
@@ -56,7 +56,7 @@ const IconClass = {
56
56
  holder: 'gov-icon__holder',
57
57
  };
58
58
 
59
- const version = "4.1.2";
59
+ const version = "4.1.3-BETA-2";
60
60
 
61
61
  const dsVersion = () => {
62
62
  return version;
@@ -73,10 +73,14 @@ const iconUrl = (path, name, type) => {
73
73
  };
74
74
  async function fetchIcon({ name, type }) {
75
75
  const cacheKey = type + "-" + name;
76
+ console.log('cacheKey', cacheKey);
77
+ console.log('iconCache[cacheKey]', iconCache, iconCache[cacheKey]);
76
78
  if (iconCache[cacheKey]) {
77
79
  return iconCache[cacheKey];
78
80
  }
81
+ console.log('requestCache[cacheKey]', requestCache, requestCache[cacheKey]);
79
82
  if (!requestCache[cacheKey]) {
83
+ console.log('iconUrl(iconsPath(), name, type)', iconUrl(gov_log.iconsPath(), name, type));
80
84
  requestCache[cacheKey] = fetch(iconUrl(gov_log.iconsPath(), name, type)).then(resp => {
81
85
  if (resp.status === 200) {
82
86
  return resp.text();
@@ -136,6 +140,7 @@ const isValidSVG = (svgContent) => {
136
140
  }
137
141
  };
138
142
 
143
+ console.log('GovIcon loaded');
139
144
  const GovIcon = class {
140
145
  constructor(hostRef) {
141
146
  index.registerInstance(this, hostRef);
@@ -145,6 +150,7 @@ const GovIcon = class {
145
150
  this.type = "components";
146
151
  this.visible = false;
147
152
  this.error = false;
153
+ console.log('GovIcon constructor');
148
154
  this.h = template.govHost(this.host);
149
155
  }
150
156
  validateSize(newValue) {
@@ -155,12 +161,17 @@ const GovIcon = class {
155
161
  }
156
162
  async loadIconPathData() {
157
163
  const { name, visible } = this;
164
+ console.log('name, visible', name, visible);
165
+ console.log('Build.isBrowser', index.Build.isBrowser);
158
166
  if (!name || !visible) {
167
+ console.log('return');
159
168
  return;
160
169
  }
161
170
  await this.loadIcon();
162
171
  }
163
172
  connectedCallback() {
173
+ console.log('connectedCallback icon', this.name);
174
+ console.log('iconsLazyLoad()', gov_log.iconsLazyLoad());
164
175
  if (gov_log.iconsLazyLoad()) {
165
176
  this.visible = true;
166
177
  this.loadIconPathData().finally();
@@ -173,12 +184,14 @@ const GovIcon = class {
173
184
  }
174
185
  }
175
186
  disconnectedCallback() {
187
+ console.log('disconnectedCallback');
176
188
  if (this.intersectionObserver) {
177
189
  this.intersectionObserver.disconnect();
178
190
  this.intersectionObserver = null;
179
191
  }
180
192
  }
181
193
  async componentWillLoad() {
194
+ console.log('componentWillLoad');
182
195
  this.validateSize(this.size);
183
196
  this.validateColor(this.color);
184
197
  await this.loadIconPathData();
@@ -204,6 +217,7 @@ const GovIcon = class {
204
217
  async loadIcon() {
205
218
  try {
206
219
  const { name, type } = this;
220
+ console.log('loadIcon -> name, type', name, type);
207
221
  const data = await fetchIcon({ name, type });
208
222
  const isValid = isValidSVG(data);
209
223
  this.host.innerHTML = isValid ? data : null;
@@ -219,7 +233,6 @@ const GovIcon = class {
219
233
  }
220
234
  return (index.h(index.Host, { class: this.h.classes(IconClass.root), size: this.size, color: this.color }));
221
235
  }
222
- static get assetsDirs() { return ["assets"]; }
223
236
  get host() { return index.getElement(this); }
224
237
  static get watchers() { return {
225
238
  "size": ["validateSize"],
@@ -1 +1 @@
1
- {"file":"gov-flex.gov-icon.gov-theme-switch.entry.cjs.js","mappings":";;;;;;;;;;;;AAMO,MAAM,SAAS,GAAG;IACxB,IAAI,EAAE,UAAU;CAChB;;MCAY,OAAO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;QACL,IAAI,MAAM,GAAG,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC;QAC3C,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,EAAE;YAClC,MAAM,GAAG,IAAI,CAAC,wBAAwB,CAAC;SACvC;QACD,QACCP,QAACC,UAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAC/C,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC,IAAI,GAAG,SAAS,CAAC,KAAK,EAChD,IAAI,EAAE,IAAI,CAAC,IAAI,IACjBD,qEAAQ,OAAO,EAAE,MAAM,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,SAAS,CAAC,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,kBACpE,IAAI,CAAC,KAAK,gBACZ,MAAM,GAAG,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,cAAc,IAC9DA,qEACCA,mEAAM,KAAK,EAAE,gBAAgB,CAAC,SAAS,IACrC,SAAS,CAAC,KAAK,IAAIA,uEAAU,IAAI,EAAC,KAAK,EAAC,KAAK,EAAE,gBAAgB,CAAC,SAAS,EAAE,IAAI,EAAC,YAAY,GAAY,EACxG,SAAS,CAAC,IAAI,IAAIA,uEAAU,IAAI,EAAC,MAAM,EAAC,KAAK,EAAE,gBAAgB,CAAC,QAAQ,EAAE,IAAI,EAAC,YAAY,GAAY,CAClG,EACN,IAAI,CAAC,YAAY,KAAK,MAAM,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC,CAC3D,CACC,CACH,EACP;KACD;;;;;;;;;;;;","names":["govHost","h","Host","pick","Sizes","Colors","getAssetPath","iconsPath","isWindow","validateProp","iconsLazyLoad"],"sources":["../../../packages/core/src/components/gov-flex/constants.ts","../../../packages/core/src/components/gov-flex/gov-flex.tsx","../../../packages/core/src/components/gov-icon/constants.ts","../../../packages/core/src/utils/ds.utils.ts","../../../packages/core/src/utils/icon.utils.ts","../../../packages/core/src/helpers/Dom/document.ts","../../../packages/core/src/components/gov-icon/gov-icon.tsx","../../../packages/core/src/components/gov-theme-switch/constants.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.types.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.tsx"],"sourcesContent":["import {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const FlexSizes = Sizes\nexport type FlexSizesType = `${ValueOf<typeof FlexSizes>}`\n\nexport const FlexClass = {\n\troot: 'gov-flex',\n}\n\n","import {Component, Element, h, Host, Prop} from '@stencil/core'\nimport {FlexClass, FlexSizesType} from './constants'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-flex',\n})\nexport class GovFlex {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovGridElement\n\n\t/**\n\t * Controls the flex direction of the container.\n\t */\n\t@Prop() direction: 'row' | 'row-reverse' | 'column' | 'column-reverse' = 'row';\n\n\t/**\n\t * Defines how the browser distributes space between and around content items along the main axis.\n\t */\n\t@Prop({\n\t\tattribute: 'justify-content',\n\t\treflect: true\n\t}) justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';\n\n\t/**\n\t * Aligns flex items along the cross axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-items',\n\t\treflect: true\n\t}) alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';\n\n\t/**\n\t * Controls whether the flex container is a single-line or multi-line flex container.\n\t */\n\t@Prop({reflect: true}) wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';\n\n\t/**\n\t * Aligns the flex container's lines within when there is extra space in the cross-axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-content',\n\t\treflect: true\n\t}) alignContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';\n\n\t/**\n\t * Sets the alignment of the flex container’s children along the flex container’s cross axis, overriding the `align-items` property for individual flex items.\n\t */\n\t@Prop({\n\t\tattribute: 'align-self',\n\t\treflect: true\n\t}) alignSelf?: 'auto' | 'normal' | 'self-start' | 'self-end' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch' | 'anchor-center';\n\n\t/**\n\t * The gap property creates consistent spacing between flex items in the container.\n\t */\n\t@Prop({\n\t\tattribute: 'gap',\n\t\treflect: true\n\t}) gap?: FlexSizesType;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(FlexClass.root)}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n","import { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils';\nimport { Colors } from '../../core/constants/colors';\nimport {Sizes} from \"../../core/constants/sizes\";\n\nexport const IconSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL', '_2XL', '_3XL', '_4XL', '_5XL'])\nexport type IconSizesType = `${ValueOf<typeof IconSizes>}`\n\nexport const IconColors = pick(Colors, [\n\t'DEFAULT',\n\t'PRIMARY',\n\t'SECONDARY',\n\t'NEUTRAL',\n\t'ERROR',\n\t'SUCCESS',\n\t'WARNING',\n\t'DISABLED',\n\t'WHITE',\n\t'BLACK',\n])\nexport type IconColorType = `${ValueOf<typeof IconColors>}`\n\nenum Types {\n\tBASIC = 'basic',\n\tCOMPLEX = 'complex',\n\tCOLORED = 'colored',\n}\nexport type Type = `${ValueOf<typeof Types>}`\n\nexport const IconClass = {\n\troot: 'gov-icon',\n\tholder: 'gov-icon__holder',\n}\n","import { version } from '../../package.json'\n\nexport const dsVersion = (): string => {\n\treturn version\n}\n","import { getAssetPath } from \"@stencil/core\"\nimport { dsVersion } from \"./ds.utils\"\nimport { iconsPath } from \"../helpers/Dom/win\"\n\nconst iconCache: { [key: string]: string } = {}\nconst requestCache: { [key: string]: Promise<string> } = {}\n\nconst isExternalUrl = (path: string) => path.startsWith(\"http://\") || path.startsWith(\"https://\")\nconst iconUrl = (path: string, name: string, type: string) => {\n\tif (isExternalUrl(path)) {\n\t\treturn `${path}/${type}/${name}.svg?v=${dsVersion()}`\n\t}\n\treturn getAssetPath(`${path}/${type}/${name}.svg`) + `?v=${dsVersion()}`\n}\n\nexport async function fetchIcon({ name, type }: { name: string; type: string }): Promise<string> {\n\tconst cacheKey = type + \"-\" + name\n\tif (iconCache[cacheKey]) {\n\t\treturn iconCache[cacheKey]\n\t}\n\tif (!requestCache[cacheKey]) {\n\t\trequestCache[cacheKey] = fetch(iconUrl(iconsPath(), name, type)).then(resp => {\n\t\t\tif (resp.status === 200) {\n\t\t\t\treturn resp.text()\n\t\t\t} else {\n\t\t\t\tthrow new Error(\"Gov Icon doesn't exists\")\n\t\t\t}\n\t\t})\n\t}\n\tconst path = await requestCache[cacheKey]\n\ticonCache[cacheKey] = path\n\treturn path\n}\n","import {Nullable} from \"../../utils/helpers.types\";\nimport {isWindow} from \"./win\";\n\nexport const setCookie = (name: string, value: string, days?: number) => {\n\tif (!isWindow) {\n\t\treturn\n\t}\n\tlet expires = \"\";\n\tif (days) {\n\t\tconst date = new Date();\n\t\tdate.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n\t\texpires = \"; expires=\" + date.toUTCString();\n\t}\n\tdocument.cookie = `${name}=${encodeURIComponent(value)}${expires}; path=/`;\n}\n\nexport const getCookie = (name: string): Nullable<string> => {\n\tif (!isWindow) {\n\t\treturn null\n\t}\n\tconst nameEQ = name + \"=\";\n\tconst cookies = document.cookie.split(';');\n\tfor (let i = 0; i < cookies.length; i++) {\n\t\tlet cookie = cookies[i].trim();\n\t\tif (cookie.startsWith(nameEQ)) {\n\t\t\treturn decodeURIComponent(cookie.substring(nameEQ.length));\n\t\t}\n\t}\n\treturn null;\n}\n\nexport const isValidSVG = (svgContent: string): boolean => {\n\ttry {\n\t\tconst parser = new DOMParser();\n\t\tconst doc = parser.parseFromString(svgContent, \"image/svg+xml\");\n\t\tconst parseError = doc.querySelector(\"parsererror\");\n\t\tif (parseError) {\n\t\t\treturn false;\n\t\t}\n\t\tconst svgElement = doc.documentElement;\n\t\tif (svgElement.tagName.toLowerCase() !== \"svg\") {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t} catch (error) {\n\t\treturn false;\n\t}\n}\n","import {Build, Component, Element, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {IconClass, IconColors, type IconColorType, IconSizesType} from \"./constants\"\nimport {fetchIcon} from \"../../utils/icon.utils\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {iconsLazyLoad} from \"../../helpers/Dom/win\"\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {isValidSVG} from \"../../helpers/Dom/document\";\n\n@Component({\n\tassetsDirs: [\"assets\"],\n\ttag: \"gov-icon\",\n})\nexport class GovIcon {\n\tprivate h: GovHost\n\tprivate intersectionObserver: IntersectionObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovIconElement\n\t/**\n\t * Icon size\n\t */\n\t@Prop({reflect: true}) readonly size?: IconSizesType\n\t/**\n\t * Icon color\n\t */\n\t@Prop({reflect: true}) readonly color?: IconColorType\n\t/**\n\t * Name of icon in folder\n\t */\n\t@Prop({reflect: true}) name: string = null\n\t/**\n\t * Type (folder) of icon\n\t */\n\t@Prop({reflect: true}) type = \"components\"\n\n\t@State() private visible = false\n\t@State() private error = false\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(Sizes, newValue, IconClass.root)\n\t}\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(IconColors, newValue, IconClass.root)\n\t}\n\n\t@Watch(\"name\")\n\tprivate async loadIconPathData(): Promise<void> {\n\t\tconst {name, visible} = this\n\t\tif (!Build.isBrowser || !name || !visible) {\n\t\t\treturn\n\t\t}\n\t\tawait this.loadIcon()\n\t}\n\n\tconnectedCallback(): void {\n\t\tif (iconsLazyLoad()) {\n\t\t\tthis.visible = true\n\t\t\tthis.loadIconPathData().finally()\n\t\t} else {\n\t\t\tthis.waitUntilVisible(async () => {\n\t\t\t\tthis.visible = true\n\t\t\t\tawait this.loadIconPathData()\n\t\t\t})\n\t\t}\n\t}\n\n\tdisconnectedCallback(): void {\n\t\tif (this.intersectionObserver) {\n\t\t\tthis.intersectionObserver.disconnect()\n\t\t\tthis.intersectionObserver = null\n\t\t}\n\t}\n\n\tasync componentWillLoad(): Promise<void> {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateColor(this.color)\n\t\tawait this.loadIconPathData()\n\t}\n\n\tprivate waitUntilVisible(callback: () => void): void {\n\t\tif (!Build.isBrowser || typeof window === \"undefined\" || !(window as any).IntersectionObserver) {\n\t\t\tcallback()\n\t\t\treturn\n\t\t}\n\t\tthis.intersectionObserver = new IntersectionObserver(\n\t\t\tentries => {\n\t\t\t\tentries.forEach(entry => {\n\t\t\t\t\tif (entry.isIntersecting) {\n\t\t\t\t\t\tif (this.intersectionObserver) {\n\t\t\t\t\t\t\tthis.intersectionObserver.disconnect()\n\t\t\t\t\t\t\tthis.intersectionObserver = null\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t{rootMargin: \"50px\"},\n\t\t)\n\t\tthis.intersectionObserver.observe(this.host)\n\t}\n\n\tprivate async loadIcon() {\n\t\ttry {\n\t\t\tconst {name, type} = this\n\t\t\tconst data = await fetchIcon({name, type})\n\t\t\tconst isValid = isValidSVG(data)\n\t\t\tthis.host.innerHTML = isValid ? data : null;\n\t\t} catch (e) {\n\t\t\tthis.host.innerHTML = ''\n\t\t\tthis.error = true\n\t\t}\n\t}\n\n\trender() {\n\t\tif (this.error) {\n\t\t\treturn null\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(IconClass.root)} size={this.size} color={this.color}/>\n\t\t)\n\t}\n}\n","import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const ThemeSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ThemeSwitchSizesType = `${ValueOf<typeof ThemeSwitchSizes>}`\n\nexport const ThemeSwitchClass = {\n\troot: 'gov-theme-switch',\n\tindicator: 'gov-theme-switch__indicator',\n\ticonLight: 'gov-theme-switch__icon-light',\n\ticonDark: 'gov-theme-switch__icon-dark',\n}\n\nexport const ATTRIBUTE_THEME_NAME = 'data-theme'\n","import {GovBaseEvent} from \"../../types/event.types\";\n\nexport enum ThemeList {\n\tauto = 'auto',\n\tlight = 'light',\n\tdark = 'dark'\n}\n\nexport interface ThemeSwitchEvent extends GovBaseEvent {\n\tref: HTMLGovThemeSwitchElement;\n\tstate: ThemeList\n}\n\n","import {Component, Element, Event, EventEmitter, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {GovHost} from \"../../helpers/Dom/template.types\";\nimport {govHost} from \"../../helpers/Dom/template\";\nimport {ATTRIBUTE_THEME_NAME, ThemeSwitchClass, ThemeSwitchSizes, ThemeSwitchSizesType} from \"./constants\";\nimport {isWindow} from \"../../helpers/Dom/win\";\nimport {ThemeList, ThemeSwitchEvent} from \"./gov-theme-switch.types\";\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {getCookie, setCookie} from \"../../helpers/Dom/document\";\n\n@Component({\n\ttag: \"gov-theme-switch\",\n})\nexport class GovThemeSwitch {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovThemeSwitchElement\n\n\t/**\n\t * Switch's size.\n\t */\n\t@Prop() readonly size?: ThemeSwitchSizesType = \"m\"\n\t/**\n\t * Display switch label\n\t */\n\t@Prop({attribute: \"display-label\"}) readonly displayLabel? = false\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"aria-label-light\"}) readonly ariaLabelLight? = \"Přenout na tmavý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"aria-label-dark\"}) readonly ariaLabelDark? = \"Přepnout na světlý mód\"\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"label-light\"}) readonly labelLight? = \"Světlý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"label-dark\"}) readonly labelDark? = \"Tmavý mód\"\n\t/**\n\t * Called when the theme is changed by the user\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<ThemeSwitchEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ThemeSwitchSizes, newValue, ThemeSwitchClass.root)\n\t}\n\n\t@Watch(\"theme\")\n\twatchTheme(newValue: ThemeList): void {\n\t\tthis.htmlElement.setAttribute(ATTRIBUTE_THEME_NAME, newValue);\n\t\tthis.htmlElement.classList.remove(...Object.keys(ThemeList));\n\t\tthis.htmlElement.classList.add(newValue);\n\t\tsetCookie(ATTRIBUTE_THEME_NAME, newValue);\n\t}\n\n\t@State() theme: ThemeList = ThemeList.auto\n\n\tprivate get storageValue() {\n\t\treturn getCookie(ATTRIBUTE_THEME_NAME)\n\t}\n\n\tprivate get htmlElement(): HTMLElement {\n\t\treturn document.documentElement\n\t}\n\n\tprivate get isSystemPrefersColorDark(): boolean {\n\t\treturn isWindow && window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.initDefaultState()\n\t\tthis.validateSize(this.size)\n\t}\n\n\tprivate initDefaultState() {\n\t\tconst options = Object.keys(ThemeList);\n\t\tlet currentState = this.storageValue;\n\t\tconst htmlState = this.htmlElement.getAttribute(ATTRIBUTE_THEME_NAME)\n\n\t\tif (currentState && options.includes(currentState)) {\n\t\t\tthis.theme = currentState as ThemeList;\n\t\t} else if (htmlState && options.includes(htmlState)) {\n\t\t\tthis.theme = htmlState as ThemeList;\n\t\t} else {\n\t\t\tthis.theme = ThemeList.auto;\n\t\t}\n\t}\n\n\tprivate setThemeState = (state: ThemeList) => {\n\t\tthis.theme = state;\n\n\t\tthis.govChange.emit({\n\t\t\tcomponent: ThemeSwitchClass.root,\n\t\t\tstate: this.theme,\n\t\t\tref: this.host\n\t\t})\n\t}\n\n\trender() {\n\t\tlet isDark = this.theme === ThemeList.dark;\n\t\tif (this.theme === ThemeList.auto) {\n\t\t\tisDark = this.isSystemPrefersColorDark;\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ThemeSwitchClass.root)}\n\t\t\t\t theme={isDark ? ThemeList.dark : ThemeList.light}\n\t\t\t\t size={this.size}>\n\t\t\t\t<button onClick={() => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark)}\n\t\t\t\t\t\taria-current={this.theme}\n\t\t\t\t\t\taria-label={isDark ? this.ariaLabelDark : this.ariaLabelLight}>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<span class={ThemeSwitchClass.indicator}>\n\t\t\t\t\t\t\t{ThemeList.light && <gov-icon name=\"sun\" class={ThemeSwitchClass.iconLight} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{ThemeList.dark && <gov-icon name=\"moon\" class={ThemeSwitchClass.iconDark} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t{this.displayLabel && (isDark ? this.labelDark : this.labelLight)}\n\t\t\t\t\t</span>\n\t\t\t\t</button>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-flex.gov-icon.gov-theme-switch.entry.cjs.js","mappings":";;;;;;;;;;;;AAMO,MAAM,SAAS,GAAG;IACxB,IAAI,EAAE,UAAU;CAChB;;MCAY,OAAO;IAGnB;;yBASyE,KAAK;;;;;;;QAR7E,IAAI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/C,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC,IAAI,GAAG,SAAS,CAAC,KAAK,EAChD,IAAI,EAAE,IAAI,CAAC,IAAI,IACjBD,qEAAQ,OAAO,EAAE,MAAM,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,SAAS,CAAC,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,kBACpE,IAAI,CAAC,KAAK,gBACZ,MAAM,GAAG,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,cAAc,IAC9DA,qEACCA,mEAAM,KAAK,EAAE,gBAAgB,CAAC,SAAS,IACrC,SAAS,CAAC,KAAK,IAAIA,uEAAU,IAAI,EAAC,KAAK,EAAC,KAAK,EAAE,gBAAgB,CAAC,SAAS,EAAE,IAAI,EAAC,YAAY,GAAY,EACxG,SAAS,CAAC,IAAI,IAAIA,uEAAU,IAAI,EAAC,MAAM,EAAC,KAAK,EAAE,gBAAgB,CAAC,QAAQ,EAAE,IAAI,EAAC,YAAY,GAAY,CAClG,EACN,IAAI,CAAC,YAAY,KAAK,MAAM,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC,CAC3D,CACC,CACH,EACP;KACD;;;;;;;;;;;;","names":["govHost","h","Host","pick","Sizes","Colors","getAssetPath","iconsPath","isWindow","validateProp","Build","iconsLazyLoad"],"sources":["../../../packages/core/src/components/gov-flex/constants.ts","../../../packages/core/src/components/gov-flex/gov-flex.tsx","../../../packages/core/src/components/gov-icon/constants.ts","../../../packages/core/src/utils/ds.utils.ts","../../../packages/core/src/utils/icon.utils.ts","../../../packages/core/src/helpers/Dom/document.ts","../../../packages/core/src/components/gov-icon/gov-icon.tsx","../../../packages/core/src/components/gov-theme-switch/constants.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.types.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.tsx"],"sourcesContent":["import {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const FlexSizes = Sizes\nexport type FlexSizesType = `${ValueOf<typeof FlexSizes>}`\n\nexport const FlexClass = {\n\troot: 'gov-flex',\n}\n\n","import {Component, Element, h, Host, Prop} from '@stencil/core'\nimport {FlexClass, FlexSizesType} from './constants'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-flex',\n})\nexport class GovFlex {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovGridElement\n\n\t/**\n\t * Controls the flex direction of the container.\n\t */\n\t@Prop() direction: 'row' | 'row-reverse' | 'column' | 'column-reverse' = 'row';\n\n\t/**\n\t * Defines how the browser distributes space between and around content items along the main axis.\n\t */\n\t@Prop({\n\t\tattribute: 'justify-content',\n\t\treflect: true\n\t}) justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';\n\n\t/**\n\t * Aligns flex items along the cross axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-items',\n\t\treflect: true\n\t}) alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';\n\n\t/**\n\t * Controls whether the flex container is a single-line or multi-line flex container.\n\t */\n\t@Prop({reflect: true}) wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';\n\n\t/**\n\t * Aligns the flex container's lines within when there is extra space in the cross-axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-content',\n\t\treflect: true\n\t}) alignContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';\n\n\t/**\n\t * Sets the alignment of the flex container’s children along the flex container’s cross axis, overriding the `align-items` property for individual flex items.\n\t */\n\t@Prop({\n\t\tattribute: 'align-self',\n\t\treflect: true\n\t}) alignSelf?: 'auto' | 'normal' | 'self-start' | 'self-end' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch' | 'anchor-center';\n\n\t/**\n\t * The gap property creates consistent spacing between flex items in the container.\n\t */\n\t@Prop({\n\t\tattribute: 'gap',\n\t\treflect: true\n\t}) gap?: FlexSizesType;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(FlexClass.root)}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n","import { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils';\nimport { Colors } from '../../core/constants/colors';\nimport {Sizes} from \"../../core/constants/sizes\";\n\nexport const IconSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL', '_2XL', '_3XL', '_4XL', '_5XL'])\nexport type IconSizesType = `${ValueOf<typeof IconSizes>}`\n\nexport const IconColors = pick(Colors, [\n\t'DEFAULT',\n\t'PRIMARY',\n\t'SECONDARY',\n\t'NEUTRAL',\n\t'ERROR',\n\t'SUCCESS',\n\t'WARNING',\n\t'DISABLED',\n\t'WHITE',\n\t'BLACK',\n])\nexport type IconColorType = `${ValueOf<typeof IconColors>}`\n\nenum Types {\n\tBASIC = 'basic',\n\tCOMPLEX = 'complex',\n\tCOLORED = 'colored',\n}\nexport type Type = `${ValueOf<typeof Types>}`\n\nexport const IconClass = {\n\troot: 'gov-icon',\n\tholder: 'gov-icon__holder',\n}\n","import { version } from '../../package.json'\n\nexport const dsVersion = (): string => {\n\treturn version\n}\n","import { getAssetPath } from \"@stencil/core\"\nimport { dsVersion } from \"./ds.utils\"\nimport { iconsPath } from \"../helpers/Dom/win\"\n\nconst iconCache: { [key: string]: string } = {}\nconst requestCache: { [key: string]: Promise<string> } = {}\n\nconst isExternalUrl = (path: string) => path.startsWith(\"http://\") || path.startsWith(\"https://\")\nconst iconUrl = (path: string, name: string, type: string) => {\n\tif (isExternalUrl(path)) {\n\t\treturn `${path}/${type}/${name}.svg?v=${dsVersion()}`\n\t}\n\treturn getAssetPath(`${path}/${type}/${name}.svg`) + `?v=${dsVersion()}`\n}\n\nexport async function fetchIcon({ name, type }: { name: string; type: string }): Promise<string> {\n\tconst cacheKey = type + \"-\" + name\n\tconsole.log('cacheKey', cacheKey);\n\tconsole.log('iconCache[cacheKey]', iconCache, iconCache[cacheKey]);\n\tif (iconCache[cacheKey]) {\n\t\treturn iconCache[cacheKey]\n\t}\n\tconsole.log('requestCache[cacheKey]', requestCache, requestCache[cacheKey]);\n\t\n\tif (!requestCache[cacheKey]) {\n\t\tconsole.log('iconUrl(iconsPath(), name, type)', iconUrl(iconsPath(), name, type));\n\t\trequestCache[cacheKey] = fetch(iconUrl(iconsPath(), name, type)).then(resp => {\n\t\t\tif (resp.status === 200) {\n\t\t\t\treturn resp.text()\n\t\t\t} else {\n\t\t\t\tthrow new Error(\"Gov Icon doesn't exists\")\n\t\t\t}\n\t\t})\n\t}\n\tconst path = await requestCache[cacheKey]\n\ticonCache[cacheKey] = path\n\treturn path\n}\n","import {Nullable} from \"../../utils/helpers.types\";\nimport {isWindow} from \"./win\";\n\nexport const setCookie = (name: string, value: string, days?: number) => {\n\tif (!isWindow) {\n\t\treturn\n\t}\n\tlet expires = \"\";\n\tif (days) {\n\t\tconst date = new Date();\n\t\tdate.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n\t\texpires = \"; expires=\" + date.toUTCString();\n\t}\n\tdocument.cookie = `${name}=${encodeURIComponent(value)}${expires}; path=/`;\n}\n\nexport const getCookie = (name: string): Nullable<string> => {\n\tif (!isWindow) {\n\t\treturn null\n\t}\n\tconst nameEQ = name + \"=\";\n\tconst cookies = document.cookie.split(';');\n\tfor (let i = 0; i < cookies.length; i++) {\n\t\tlet cookie = cookies[i].trim();\n\t\tif (cookie.startsWith(nameEQ)) {\n\t\t\treturn decodeURIComponent(cookie.substring(nameEQ.length));\n\t\t}\n\t}\n\treturn null;\n}\n\nexport const isValidSVG = (svgContent: string): boolean => {\n\ttry {\n\t\tconst parser = new DOMParser();\n\t\tconst doc = parser.parseFromString(svgContent, \"image/svg+xml\");\n\t\tconst parseError = doc.querySelector(\"parsererror\");\n\t\tif (parseError) {\n\t\t\treturn false;\n\t\t}\n\t\tconst svgElement = doc.documentElement;\n\t\tif (svgElement.tagName.toLowerCase() !== \"svg\") {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t} catch (error) {\n\t\treturn false;\n\t}\n}\n","import {Build, Component, Element, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {IconClass, IconColors, type IconColorType, IconSizesType} from \"./constants\"\nimport {fetchIcon} from \"../../utils/icon.utils\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {iconsLazyLoad} from \"../../helpers/Dom/win\"\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {isValidSVG} from \"../../helpers/Dom/document\";\nconsole.log('GovIcon loaded');\n@Component({\n\ttag: \"gov-icon\",\n})\nexport class GovIcon {\n\tprivate h: GovHost\n\tprivate intersectionObserver: IntersectionObserver\n\n\tconstructor() {\n\t\tconsole.log('GovIcon constructor');\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovIconElement\n\t/**\n\t * Icon size\n\t */\n\t@Prop({reflect: true}) readonly size?: IconSizesType\n\t/**\n\t * Icon color\n\t */\n\t@Prop({reflect: true}) readonly color?: IconColorType\n\t/**\n\t * Name of icon in folder\n\t */\n\t@Prop({reflect: true}) name: string = null\n\t/**\n\t * Type (folder) of icon\n\t */\n\t@Prop({reflect: true}) type = \"components\"\n\n\t@State() private visible = false\n\t@State() private error = false\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(Sizes, newValue, IconClass.root)\n\t}\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(IconColors, newValue, IconClass.root)\n\t}\n\n\t@Watch(\"name\")\n\tprivate async loadIconPathData(): Promise<void> {\n\t\tconst {name, visible} = this\n\t\tconsole.log('name, visible', name, visible);\n\t\tconsole.log('Build.isBrowser', Build.isBrowser);\n\t\tif (!Build.isBrowser || !name || !visible) {\n\t\t\tconsole.log('return');\n\t\t\treturn\n\t\t}\n\t\tawait this.loadIcon()\n\t}\n\n\tconnectedCallback(): void {\n\t\tconsole.log('connectedCallback icon', this.name);\n\t\tconsole.log('iconsLazyLoad()', iconsLazyLoad());\n\t\tif (iconsLazyLoad()) {\n\t\t\tthis.visible = true\n\t\t\tthis.loadIconPathData().finally()\n\t\t} else {\n\t\t\tthis.waitUntilVisible(async () => {\n\t\t\t\tthis.visible = true\n\t\t\t\tawait this.loadIconPathData()\n\t\t\t})\n\t\t}\n\t}\n\n\tdisconnectedCallback(): void {\n\t\tconsole.log('disconnectedCallback');\n\t\tif (this.intersectionObserver) {\n\t\t\tthis.intersectionObserver.disconnect()\n\t\t\tthis.intersectionObserver = null\n\t\t}\n\t}\n\n\tasync componentWillLoad(): Promise<void> {\n\t\tconsole.log('componentWillLoad');\n\t\tthis.validateSize(this.size)\n\t\tthis.validateColor(this.color)\n\t\tawait this.loadIconPathData()\n\t}\n\n\tprivate waitUntilVisible(callback: () => void): void {\n\t\tif (!Build.isBrowser || typeof window === \"undefined\" || !(window as any).IntersectionObserver) {\n\t\t\tcallback()\n\t\t\treturn\n\t\t}\n\t\tthis.intersectionObserver = new IntersectionObserver(\n\t\t\tentries => {\n\t\t\t\tentries.forEach(entry => {\n\t\t\t\t\tif (entry.isIntersecting) {\n\t\t\t\t\t\tif (this.intersectionObserver) {\n\t\t\t\t\t\t\tthis.intersectionObserver.disconnect()\n\t\t\t\t\t\t\tthis.intersectionObserver = null\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t{rootMargin: \"50px\"},\n\t\t)\n\t\tthis.intersectionObserver.observe(this.host)\n\t}\n\n\tprivate async loadIcon() {\n\t\ttry {\n\t\t\tconst {name, type} = this\n\t\t\tconsole.log('loadIcon -> name, type', name, type);\n\t\t\tconst data = await fetchIcon({name, type})\n\t\t\tconst isValid = isValidSVG(data)\n\t\t\tthis.host.innerHTML = isValid ? data : null;\n\t\t} catch (e) {\n\t\t\tthis.host.innerHTML = ''\n\t\t\tthis.error = true\n\t\t}\n\t}\n\n\trender() {\n\t\tif (this.error) {\n\t\t\treturn null\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(IconClass.root)} size={this.size} color={this.color}/>\n\t\t)\n\t}\n}\n","import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const ThemeSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ThemeSwitchSizesType = `${ValueOf<typeof ThemeSwitchSizes>}`\n\nexport const ThemeSwitchClass = {\n\troot: 'gov-theme-switch',\n\tindicator: 'gov-theme-switch__indicator',\n\ticonLight: 'gov-theme-switch__icon-light',\n\ticonDark: 'gov-theme-switch__icon-dark',\n}\n\nexport const ATTRIBUTE_THEME_NAME = 'data-theme'\n","import {GovBaseEvent} from \"../../types/event.types\";\n\nexport enum ThemeList {\n\tauto = 'auto',\n\tlight = 'light',\n\tdark = 'dark'\n}\n\nexport interface ThemeSwitchEvent extends GovBaseEvent {\n\tref: HTMLGovThemeSwitchElement;\n\tstate: ThemeList\n}\n\n","import {Component, Element, Event, EventEmitter, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {GovHost} from \"../../helpers/Dom/template.types\";\nimport {govHost} from \"../../helpers/Dom/template\";\nimport {ATTRIBUTE_THEME_NAME, ThemeSwitchClass, ThemeSwitchSizes, ThemeSwitchSizesType} from \"./constants\";\nimport {isWindow} from \"../../helpers/Dom/win\";\nimport {ThemeList, ThemeSwitchEvent} from \"./gov-theme-switch.types\";\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {getCookie, setCookie} from \"../../helpers/Dom/document\";\n\n@Component({\n\ttag: \"gov-theme-switch\",\n})\nexport class GovThemeSwitch {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovThemeSwitchElement\n\n\t/**\n\t * Switch's size.\n\t */\n\t@Prop() readonly size?: ThemeSwitchSizesType = \"m\"\n\t/**\n\t * Display switch label\n\t */\n\t@Prop({attribute: \"display-label\"}) readonly displayLabel? = false\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"aria-label-light\"}) readonly ariaLabelLight? = \"Přenout na tmavý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"aria-label-dark\"}) readonly ariaLabelDark? = \"Přepnout na světlý mód\"\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"label-light\"}) readonly labelLight? = \"Světlý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"label-dark\"}) readonly labelDark? = \"Tmavý mód\"\n\t/**\n\t * Called when the theme is changed by the user\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<ThemeSwitchEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ThemeSwitchSizes, newValue, ThemeSwitchClass.root)\n\t}\n\n\t@Watch(\"theme\")\n\twatchTheme(newValue: ThemeList): void {\n\t\tthis.htmlElement.setAttribute(ATTRIBUTE_THEME_NAME, newValue);\n\t\tthis.htmlElement.classList.remove(...Object.keys(ThemeList));\n\t\tthis.htmlElement.classList.add(newValue);\n\t\tsetCookie(ATTRIBUTE_THEME_NAME, newValue);\n\t}\n\n\t@State() theme: ThemeList = ThemeList.auto\n\n\tprivate get storageValue() {\n\t\treturn getCookie(ATTRIBUTE_THEME_NAME)\n\t}\n\n\tprivate get htmlElement(): HTMLElement {\n\t\treturn document.documentElement\n\t}\n\n\tprivate get isSystemPrefersColorDark(): boolean {\n\t\treturn isWindow && window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.initDefaultState()\n\t\tthis.validateSize(this.size)\n\t}\n\n\tprivate initDefaultState() {\n\t\tconst options = Object.keys(ThemeList);\n\t\tlet currentState = this.storageValue;\n\t\tconst htmlState = this.htmlElement.getAttribute(ATTRIBUTE_THEME_NAME)\n\n\t\tif (currentState && options.includes(currentState)) {\n\t\t\tthis.theme = currentState as ThemeList;\n\t\t} else if (htmlState && options.includes(htmlState)) {\n\t\t\tthis.theme = htmlState as ThemeList;\n\t\t} else {\n\t\t\tthis.theme = ThemeList.auto;\n\t\t}\n\t}\n\n\tprivate setThemeState = (state: ThemeList) => {\n\t\tthis.theme = state;\n\n\t\tthis.govChange.emit({\n\t\t\tcomponent: ThemeSwitchClass.root,\n\t\t\tstate: this.theme,\n\t\t\tref: this.host\n\t\t})\n\t}\n\n\trender() {\n\t\tlet isDark = this.theme === ThemeList.dark;\n\t\tif (this.theme === ThemeList.auto) {\n\t\t\tisDark = this.isSystemPrefersColorDark;\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ThemeSwitchClass.root)}\n\t\t\t\t theme={isDark ? ThemeList.dark : ThemeList.light}\n\t\t\t\t size={this.size}>\n\t\t\t\t<button onClick={() => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark)}\n\t\t\t\t\t\taria-current={this.theme}\n\t\t\t\t\t\taria-label={isDark ? this.ariaLabelDark : this.ariaLabelLight}>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<span class={ThemeSwitchClass.indicator}>\n\t\t\t\t\t\t\t{ThemeList.light && <gov-icon name=\"sun\" class={ThemeSwitchClass.iconLight} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{ThemeList.dark && <gov-icon name=\"moon\" class={ThemeSwitchClass.iconDark} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t{this.displayLabel && (isDark ? this.labelDark : this.labelLight)}\n\t\t\t\t\t</span>\n\t\t\t\t</button>\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-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const template = require('./template-39939fd6.js');
7
7
  const props = require('./props-d189860c.js');
8
8
  const string_utils = require('./string.utils-b84c81cf.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const constants = require('./constants-02aec493.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
  const props = require('./props-d189860c.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const string_utils = require('./string.utils-b84c81cf.js');
7
7
  const props = require('./props-d189860c.js');
8
8
  const form = require('./form-4e66039a.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const form = require('./form-4e66039a.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
  const string_utils = require('./string.utils-b84c81cf.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const string_utils = require('./string.utils-b84c81cf.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
  const form = require('./form-4e66039a.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const constants = require('./constants-02aec493.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
  const props = require('./props-d189860c.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const form = require('./form-4e66039a.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
  const props = require('./props-d189860c.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const constants = require('./constants-87bab1ed.js');
7
7
  require('./utils-d263c5c6.js');
8
8
  require('./sizes-89f8d3b2.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const form = require('./form-4e66039a.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
  const props = require('./props-d189860c.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
 
7
7
  const FormPasswordPowerClass = {
8
8
  root: 'gov-form-password-power',
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const constants = require('./constants-02aec493.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
  const props = require('./props-d189860c.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const string_utils = require('./string.utils-b84c81cf.js');
7
7
  const props = require('./props-d189860c.js');
8
8
  const form = require('./form-4e66039a.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const colors = require('./colors-f7c8eadd.js');
7
7
  const utils = require('./utils-d263c5c6.js');
8
8
  const sizes = require('./sizes-89f8d3b2.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const form = require('./form-4e66039a.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
  const props = require('./props-d189860c.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const string_utils = require('./string.utils-b84c81cf.js');
7
7
  const props = require('./props-d189860c.js');
8
8
  const form = require('./form-4e66039a.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const constants = require('./constants-52053f2d.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const constants = require('./constants-52053f2d.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const template = require('./template-39939fd6.js');
7
7
  const Fragment = require('./Fragment-52846f79.js');
8
8
  const props = require('./props-d189860c.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const constants = require('./constants-a33f6e99.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const constants = require('./constants-a33f6e99.js');
7
7
  const template = require('./template-39939fd6.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const string_utils = require('./string.utils-b84c81cf.js');
7
7
 
8
8
  const GovLifecycle = class {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const utils = require('./utils-d263c5c6.js');
7
7
  const sizes = require('./sizes-89f8d3b2.js');
8
8
  const template = require('./template-39939fd6.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-7ff4447c.js');
5
+ const index = require('./index-67e87c27.js');
6
6
  const utils = require('./utils-d263c5c6.js');
7
7
  const sizes = require('./sizes-89f8d3b2.js');
8
8
  const template = require('./template-39939fd6.js');