@gov-design-system-ce/components 4.1.1 → 4.1.3-BETA-1

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 (471) hide show
  1. package/dist/cjs/core.cjs.js +2 -2
  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 +3 -3
  5. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
  6. package/dist/cjs/gov-backdrop.cjs.entry.js +1 -1
  7. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +1 -1
  8. package/dist/cjs/gov-button.cjs.entry.js +1 -1
  9. package/dist/cjs/gov-card.cjs.entry.js +10 -7
  10. package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
  11. package/dist/cjs/gov-chip.cjs.entry.js +3 -3
  12. package/dist/cjs/gov-container.cjs.entry.js +2 -2
  13. package/dist/cjs/gov-control-group.cjs.entry.js +2 -2
  14. package/dist/cjs/gov-cookiebar.cjs.entry.js +2 -2
  15. package/dist/cjs/gov-dialog.cjs.entry.js +2 -2
  16. package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
  17. package/dist/cjs/gov-empty.cjs.entry.js +2 -2
  18. package/dist/cjs/gov-error-code.cjs.entry.js +2 -2
  19. package/dist/cjs/{gov-flex_4.cjs.entry.js → gov-flex_3.cjs.entry.js} +24 -29
  20. package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -0
  21. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +2 -2
  22. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +3 -3
  23. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
  24. package/dist/cjs/gov-form-checkbox.cjs.entry.js +1 -1
  25. package/dist/cjs/gov-form-control.cjs.entry.js +2 -2
  26. package/dist/cjs/gov-form-file.cjs.entry.js +2 -2
  27. package/dist/cjs/gov-form-group.cjs.entry.js +2 -2
  28. package/dist/cjs/gov-form-input_2.cjs.entry.js +7 -7
  29. package/dist/cjs/gov-form-label.cjs.entry.js +27 -0
  30. package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -0
  31. package/dist/cjs/gov-form-multi-select.cjs.entry.js +3 -3
  32. package/dist/cjs/gov-form-password-power.cjs.entry.js +2 -2
  33. package/dist/cjs/gov-form-radio-group.cjs.entry.js +3 -3
  34. package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
  35. package/dist/cjs/gov-form-radio.cjs.entry.js +1 -1
  36. package/dist/cjs/gov-form-search.cjs.entry.js +2 -2
  37. package/dist/cjs/gov-form-select.cjs.entry.js +3 -3
  38. package/dist/cjs/gov-form-switch.cjs.entry.js +1 -1
  39. package/dist/cjs/gov-grid-item.cjs.entry.js +2 -2
  40. package/dist/cjs/gov-grid.cjs.entry.js +2 -2
  41. package/dist/cjs/gov-infobar.cjs.entry.js +3 -3
  42. package/dist/cjs/gov-layout-column.cjs.entry.js +2 -2
  43. package/dist/cjs/gov-layout.cjs.entry.js +2 -2
  44. package/dist/cjs/gov-lifecycle.cjs.entry.js +2 -2
  45. package/dist/cjs/gov-link.cjs.entry.js +2 -2
  46. package/dist/cjs/gov-loading.cjs.entry.js +2 -2
  47. package/dist/cjs/gov-message.cjs.entry.js +2 -2
  48. package/dist/cjs/gov-pagination.cjs.entry.js +1 -1
  49. package/dist/cjs/gov-spacer.cjs.entry.js +2 -2
  50. package/dist/cjs/gov-stepper-item.cjs.entry.js +2 -2
  51. package/dist/cjs/gov-stepper.cjs.entry.js +2 -2
  52. package/dist/cjs/gov-tabs-item.cjs.entry.js +2 -2
  53. package/dist/cjs/gov-tabs.cjs.entry.js +2 -2
  54. package/dist/cjs/gov-tag.cjs.entry.js +3 -2
  55. package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
  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 +2 -2
  59. package/dist/cjs/gov-tooltip-content.cjs.entry.js +2 -2
  60. package/dist/cjs/gov-tooltip.cjs.entry.js +3 -3
  61. package/dist/cjs/gov-wizard-item.cjs.entry.js +3 -3
  62. package/dist/cjs/gov-wizard.cjs.entry.js +2 -2
  63. package/dist/cjs/{index-7ff4447c.js → index-67e87c27.js} +14 -3
  64. package/dist/cjs/index-67e87c27.js.map +1 -0
  65. package/dist/cjs/loader.cjs.js +2 -2
  66. package/dist/collection/components/gov-attachments/gov-attachments-item.css +2 -7
  67. package/dist/collection/components/gov-card/constants.js +7 -4
  68. package/dist/collection/components/gov-card/constants.js.map +1 -1
  69. package/dist/collection/components/gov-card/gov-card.js +16 -10
  70. package/dist/collection/components/gov-card/gov-card.js.map +1 -1
  71. package/dist/collection/components/gov-chip/gov-chip.js +2 -2
  72. package/dist/collection/components/gov-container/gov-container.js +1 -1
  73. package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
  74. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
  75. package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
  76. package/dist/collection/components/gov-empty/gov-empty.js +1 -1
  77. package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
  78. package/dist/collection/components/gov-flex/constants.js +2 -0
  79. package/dist/collection/components/gov-flex/constants.js.map +1 -1
  80. package/dist/collection/components/gov-flex/gov-flex.js +33 -9
  81. package/dist/collection/components/gov-flex/gov-flex.js.map +1 -1
  82. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +1 -1
  83. package/dist/collection/components/gov-form/control/gov-form-control.js +1 -1
  84. package/dist/collection/components/gov-form/file/gov-form-file.js +1 -1
  85. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
  86. package/dist/collection/components/gov-form/group/gov-form-group.css +3 -8
  87. package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
  88. package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
  89. package/dist/collection/components/gov-form/input/gov-form-input.js +5 -5
  90. package/dist/collection/components/gov-form/label/gov-form-label.js +1 -1
  91. package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
  92. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +2 -2
  93. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
  94. package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
  95. package/dist/collection/components/gov-form/select/gov-form-select.js +2 -2
  96. package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
  97. package/dist/collection/components/gov-grid/gov-grid.js +1 -1
  98. package/dist/collection/components/gov-icon/gov-icon.js +8 -0
  99. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  100. package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
  101. package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
  102. package/dist/collection/components/gov-layout/gov-layout.js +1 -1
  103. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
  104. package/dist/collection/components/gov-link/gov-link.js +1 -1
  105. package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
  106. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
  107. package/dist/collection/components/gov-message/gov-message.js +1 -1
  108. package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
  109. package/dist/collection/components/gov-stepper/gov-stepper-item.js +1 -1
  110. package/dist/collection/components/gov-stepper/gov-stepper.js +1 -1
  111. package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
  112. package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
  113. package/dist/collection/components/gov-tag/gov-tag.js +20 -1
  114. package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
  115. package/dist/collection/components/gov-theme-switch/constants.js +0 -2
  116. package/dist/collection/components/gov-theme-switch/constants.js.map +1 -1
  117. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +32 -9
  118. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -1
  119. package/dist/collection/components/gov-tile/container/gov-tiles.js +1 -1
  120. package/dist/collection/components/gov-tile/gov-tile.js +1 -1
  121. package/dist/collection/components/gov-toast/gov-toast.js +1 -1
  122. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
  123. package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
  124. package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
  125. package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
  126. package/dist/collection/pages/Card.js +22 -37
  127. package/dist/collection/pages/Card.js.map +1 -1
  128. package/dist/collection/pages/Flex.js +62 -0
  129. package/dist/collection/pages/Flex.js.map +1 -0
  130. package/dist/collection/pages/Forms.js +5 -5
  131. package/dist/collection/pages/Forms.js.map +1 -1
  132. package/dist/collection/pages/Tag.js +30 -23
  133. package/dist/collection/pages/Tag.js.map +1 -1
  134. package/dist/collection/utils/icon.utils.js +4 -0
  135. package/dist/collection/utils/icon.utils.js.map +1 -1
  136. package/dist/components/gov-accordion-item.js +1 -1
  137. package/dist/components/gov-accordion.js +1 -1
  138. package/dist/components/gov-attachments-item.js +1 -1
  139. package/dist/components/gov-attachments.js +1 -1
  140. package/dist/components/gov-backdrop.js +1 -1
  141. package/dist/components/gov-breadcrumbs.js +1 -1
  142. package/dist/components/gov-button.js +1 -1
  143. package/dist/components/gov-card.js +1 -1
  144. package/dist/components/gov-card.js.map +1 -1
  145. package/dist/components/gov-chip.js +1 -1
  146. package/dist/components/gov-container.js +1 -1
  147. package/dist/components/gov-control-group.js +1 -1
  148. package/dist/components/gov-cookiebar.js +1 -1
  149. package/dist/components/gov-dialog.js +1 -1
  150. package/dist/components/gov-dropdown.js +1 -1
  151. package/dist/components/gov-empty.js +1 -1
  152. package/dist/components/gov-error-code.js +1 -1
  153. package/dist/components/gov-flex.js +1 -1
  154. package/dist/components/gov-flex.js.map +1 -1
  155. package/dist/components/gov-form-autocomplete.js +1 -1
  156. package/dist/components/gov-form-checkbox-group.js +1 -1
  157. package/dist/components/gov-form-checkbox-group.js.map +1 -1
  158. package/dist/components/gov-form-checkbox.js +1 -1
  159. package/dist/components/gov-form-control.js +1 -1
  160. package/dist/components/gov-form-file.js +1 -1
  161. package/dist/components/gov-form-file.js.map +1 -1
  162. package/dist/components/gov-form-group.js +1 -1
  163. package/dist/components/gov-form-input.js +1 -1
  164. package/dist/components/gov-form-label.js +1 -1
  165. package/dist/components/gov-form-label.js.map +1 -1
  166. package/dist/components/gov-form-message.js +1 -1
  167. package/dist/components/gov-form-multi-select.js +1 -1
  168. package/dist/components/gov-form-password-power.js +1 -1
  169. package/dist/components/gov-form-radio-group.js +1 -1
  170. package/dist/components/gov-form-radio-group.js.map +1 -1
  171. package/dist/components/gov-form-radio.js +1 -1
  172. package/dist/components/gov-form-search.js +1 -1
  173. package/dist/components/gov-form-select.js +1 -1
  174. package/dist/components/gov-form-switch.js +1 -1
  175. package/dist/components/gov-grid-item.js +1 -1
  176. package/dist/components/gov-grid.js +1 -1
  177. package/dist/components/gov-icon.js +1 -1
  178. package/dist/components/gov-infobar.js +1 -1
  179. package/dist/components/gov-layout-column.js +1 -1
  180. package/dist/components/gov-layout.js +1 -1
  181. package/dist/components/gov-lifecycle.js +1 -1
  182. package/dist/components/gov-link.js +1 -1
  183. package/dist/components/gov-link.js.map +1 -1
  184. package/dist/components/gov-loading.js +1 -1
  185. package/dist/components/gov-loading.js.map +1 -1
  186. package/dist/components/gov-message.js +1 -1
  187. package/dist/components/gov-pagination.js +1 -1
  188. package/dist/components/gov-skeleton.js +1 -1
  189. package/dist/components/gov-spacer.js +1 -1
  190. package/dist/components/gov-stepper-item.js +1 -1
  191. package/dist/components/gov-stepper.js +1 -1
  192. package/dist/components/gov-tabs-item.js +1 -1
  193. package/dist/components/gov-tabs.js +1 -1
  194. package/dist/components/gov-tabs.js.map +1 -1
  195. package/dist/components/gov-tag.js +1 -1
  196. package/dist/components/gov-tag.js.map +1 -1
  197. package/dist/components/gov-theme-switch.js +1 -1
  198. package/dist/components/gov-theme-switch.js.map +1 -1
  199. package/dist/components/gov-tile.js +1 -1
  200. package/dist/components/gov-tiles.js +1 -1
  201. package/dist/components/gov-toast.js +1 -1
  202. package/dist/components/gov-tooltip-content.js +1 -1
  203. package/dist/components/gov-tooltip.js +1 -1
  204. package/dist/components/gov-tooltip.js.map +1 -1
  205. package/dist/components/gov-wizard-item.js +1 -1
  206. package/dist/components/gov-wizard.js +1 -1
  207. package/dist/components/index.js +1 -1
  208. package/dist/components/{p-73938936.js → p-03ad4e0f.js} +2 -2
  209. package/dist/components/p-115b9cf3.js +3 -0
  210. package/dist/components/p-115b9cf3.js.map +1 -0
  211. package/dist/components/p-2bd9e821.js +2 -0
  212. package/dist/components/{p-1eb9c053.js.map → p-2bd9e821.js.map} +1 -1
  213. package/dist/components/p-34c6a704.js +2 -0
  214. package/dist/components/{p-b95ebe8c.js.map → p-34c6a704.js.map} +1 -1
  215. package/dist/components/{p-ac359044.js → p-350e060c.js} +2 -2
  216. package/dist/components/{p-7be2301a.js → p-384c7f2a.js} +2 -2
  217. package/dist/components/p-50964838.js +2 -0
  218. package/dist/components/p-50964838.js.map +1 -0
  219. package/dist/components/{p-318d89bd.js → p-8080982e.js} +2 -2
  220. package/dist/components/p-8ee6f2f3.js +2 -0
  221. package/dist/components/{p-a6be4769.js → p-915c4f3a.js} +2 -2
  222. package/dist/components/p-ae7a283c.js +2 -0
  223. package/dist/components/{p-283b66c3.js → p-e532e5e5.js} +2 -2
  224. package/dist/core/core.css +438 -273
  225. package/dist/core/core.esm.js +1 -1
  226. package/dist/core/core.esm.js.map +1 -1
  227. package/dist/core/p-017ff5a5.entry.js +2 -0
  228. package/dist/core/{p-2739fa61.entry.js.map → p-017ff5a5.entry.js.map} +1 -1
  229. package/dist/core/{p-c916d0d2.entry.js → p-032accfb.entry.js} +2 -2
  230. package/dist/core/p-058e6fe2.entry.js +2 -0
  231. package/dist/core/{p-3d6edb09.entry.js.map → p-058e6fe2.entry.js.map} +1 -1
  232. package/dist/core/{p-0be19b89.entry.js → p-063b70a2.entry.js} +2 -2
  233. package/dist/core/{p-dea64896.entry.js → p-0724cb6a.entry.js} +2 -2
  234. package/dist/core/p-09c9eba6.entry.js +2 -0
  235. package/dist/core/p-09ea5c11.entry.js +2 -0
  236. package/dist/core/p-09ea5c11.entry.js.map +1 -0
  237. package/dist/core/p-0c076b21.entry.js +2 -0
  238. package/dist/core/{p-97a9725d.entry.js → p-0f0f7302.entry.js} +2 -2
  239. package/dist/core/p-10f773c2.entry.js +2 -0
  240. package/dist/core/p-14d66f26.entry.js +2 -0
  241. package/dist/core/p-1aa7450e.entry.js +2 -0
  242. package/dist/core/{p-6bb37fe2.entry.js.map → p-1aa7450e.entry.js.map} +1 -1
  243. package/dist/core/p-237a5b91.entry.js +2 -0
  244. package/dist/core/{p-e61aa53b.entry.js.map → p-237a5b91.entry.js.map} +1 -1
  245. package/dist/core/p-269071f5.entry.js +2 -0
  246. package/dist/core/{p-da7f1e11.entry.js.map → p-269071f5.entry.js.map} +1 -1
  247. package/dist/core/p-2ee042d4.js +3 -0
  248. package/dist/core/p-2ee042d4.js.map +1 -0
  249. package/dist/core/{p-ed833334.entry.js → p-33310735.entry.js} +2 -2
  250. package/dist/core/p-347d15d5.entry.js +2 -0
  251. package/dist/core/{p-019e967c.entry.js.map → p-347d15d5.entry.js.map} +1 -1
  252. package/dist/core/p-37473c34.entry.js +2 -0
  253. package/dist/core/p-37473c34.entry.js.map +1 -0
  254. package/dist/core/{p-432c3875.entry.js → p-3849ca02.entry.js} +2 -2
  255. package/dist/core/p-3a7381e7.entry.js +2 -0
  256. package/dist/core/{p-bdc51179.entry.js.map → p-3a7381e7.entry.js.map} +1 -1
  257. package/dist/core/p-43d3dbc0.entry.js +2 -0
  258. package/dist/core/p-45b759f4.entry.js +2 -0
  259. package/dist/core/{p-f4dac942.entry.js.map → p-45b759f4.entry.js.map} +1 -1
  260. package/dist/core/p-4c60e125.entry.js +2 -0
  261. package/dist/core/p-4e29744a.entry.js +2 -0
  262. package/dist/core/{p-41c6b262.entry.js.map → p-4e29744a.entry.js.map} +1 -1
  263. package/dist/core/p-4fa0320d.entry.js +2 -0
  264. package/dist/core/p-50af9ae8.entry.js +2 -0
  265. package/dist/core/{p-ccec8019.entry.js → p-5c3f4cfe.entry.js} +2 -2
  266. package/dist/core/p-6b7c3a96.entry.js +2 -0
  267. package/dist/core/{p-4c5f6299.entry.js.map → p-6b7c3a96.entry.js.map} +1 -1
  268. package/dist/core/p-71f5d4ff.entry.js +2 -0
  269. package/dist/core/{p-439b66a5.entry.js.map → p-71f5d4ff.entry.js.map} +1 -1
  270. package/dist/core/{p-9fe35463.entry.js → p-77daba72.entry.js} +2 -2
  271. package/dist/core/p-7a21fb90.entry.js +2 -0
  272. package/dist/core/{p-56dc370d.entry.js.map → p-7a21fb90.entry.js.map} +1 -1
  273. package/dist/core/{p-d65cef62.entry.js → p-7baee44f.entry.js} +2 -2
  274. package/dist/core/{p-7e04730a.entry.js → p-7dfb7e36.entry.js} +2 -2
  275. package/dist/core/p-8bb6c816.entry.js +2 -0
  276. package/dist/core/{p-bc966c46.entry.js.map → p-8bb6c816.entry.js.map} +1 -1
  277. package/dist/core/p-8cc5ad01.entry.js +2 -0
  278. package/dist/core/p-8cc5ad01.entry.js.map +1 -0
  279. package/dist/core/p-906865d0.entry.js +2 -0
  280. package/dist/core/{p-c054f955.entry.js.map → p-906865d0.entry.js.map} +1 -1
  281. package/dist/core/{p-b7cfe254.entry.js → p-927c31dd.entry.js} +2 -2
  282. package/dist/core/p-967a1094.entry.js +2 -0
  283. package/dist/core/{p-04fa0ab5.entry.js.map → p-967a1094.entry.js.map} +1 -1
  284. package/dist/core/{p-3cb36bae.entry.js → p-9846fd13.entry.js} +2 -2
  285. package/dist/core/{p-1200a32d.entry.js → p-994385ca.entry.js} +2 -2
  286. package/dist/core/{p-d836fcde.entry.js → p-9f8d69a9.entry.js} +2 -2
  287. package/dist/core/{p-e834ee73.entry.js → p-a6a9de9a.entry.js} +2 -2
  288. package/dist/core/p-b62e49ee.entry.js +2 -0
  289. package/dist/core/{p-bcb45a18.entry.js → p-c0800e6d.entry.js} +2 -2
  290. package/dist/core/p-cecbe73f.entry.js +2 -0
  291. package/dist/core/{p-5c9e6275.entry.js.map → p-cecbe73f.entry.js.map} +1 -1
  292. package/dist/core/p-d795a421.entry.js +2 -0
  293. package/dist/core/{p-0fdd8929.entry.js → p-d9b42773.entry.js} +2 -2
  294. package/dist/core/{p-561718cd.entry.js → p-e0a199ff.entry.js} +2 -2
  295. package/dist/core/p-e215f3ee.entry.js +2 -0
  296. package/dist/core/p-ed02945f.entry.js +2 -0
  297. package/dist/core/p-ee55932a.entry.js +2 -0
  298. package/dist/core/{p-f7a4da9d.entry.js → p-f2bb8c29.entry.js} +2 -2
  299. package/dist/core/{p-72130a8f.entry.js → p-f54edd6c.entry.js} +2 -2
  300. package/dist/core/p-f7f60f91.entry.js +2 -0
  301. package/dist/core/{p-b923a8d9.entry.js.map → p-f7f60f91.entry.js.map} +1 -1
  302. package/dist/core/{p-ed8fc183.entry.js → p-fcac8531.entry.js} +2 -2
  303. package/dist/esm/core.js +3 -3
  304. package/dist/esm/gov-accordion-item.entry.js +1 -1
  305. package/dist/esm/gov-accordion.entry.js +1 -1
  306. package/dist/esm/gov-attachments_3.entry.js +3 -3
  307. package/dist/esm/gov-attachments_3.entry.js.map +1 -1
  308. package/dist/esm/gov-backdrop.entry.js +1 -1
  309. package/dist/esm/gov-breadcrumbs.entry.js +1 -1
  310. package/dist/esm/gov-button.entry.js +1 -1
  311. package/dist/esm/gov-card.entry.js +10 -7
  312. package/dist/esm/gov-card.entry.js.map +1 -1
  313. package/dist/esm/gov-chip.entry.js +3 -3
  314. package/dist/esm/gov-container.entry.js +2 -2
  315. package/dist/esm/gov-control-group.entry.js +2 -2
  316. package/dist/esm/gov-cookiebar.entry.js +2 -2
  317. package/dist/esm/gov-dialog.entry.js +2 -2
  318. package/dist/esm/gov-dropdown.entry.js +1 -1
  319. package/dist/esm/gov-empty.entry.js +2 -2
  320. package/dist/esm/gov-error-code.entry.js +2 -2
  321. package/dist/esm/{gov-flex_4.entry.js → gov-flex_3.entry.js} +25 -29
  322. package/dist/esm/gov-flex_3.entry.js.map +1 -0
  323. package/dist/esm/gov-form-autocomplete.entry.js +2 -2
  324. package/dist/esm/gov-form-checkbox-group.entry.js +3 -3
  325. package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
  326. package/dist/esm/gov-form-checkbox.entry.js +1 -1
  327. package/dist/esm/gov-form-control.entry.js +2 -2
  328. package/dist/esm/gov-form-file.entry.js +2 -2
  329. package/dist/esm/gov-form-group.entry.js +2 -2
  330. package/dist/esm/gov-form-input_2.entry.js +7 -7
  331. package/dist/esm/gov-form-label.entry.js +23 -0
  332. package/dist/esm/gov-form-label.entry.js.map +1 -0
  333. package/dist/esm/gov-form-multi-select.entry.js +3 -3
  334. package/dist/esm/gov-form-password-power.entry.js +2 -2
  335. package/dist/esm/gov-form-radio-group.entry.js +3 -3
  336. package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
  337. package/dist/esm/gov-form-radio.entry.js +1 -1
  338. package/dist/esm/gov-form-search.entry.js +2 -2
  339. package/dist/esm/gov-form-select.entry.js +3 -3
  340. package/dist/esm/gov-form-switch.entry.js +1 -1
  341. package/dist/esm/gov-grid-item.entry.js +2 -2
  342. package/dist/esm/gov-grid.entry.js +2 -2
  343. package/dist/esm/gov-infobar.entry.js +3 -3
  344. package/dist/esm/gov-layout-column.entry.js +2 -2
  345. package/dist/esm/gov-layout.entry.js +2 -2
  346. package/dist/esm/gov-lifecycle.entry.js +2 -2
  347. package/dist/esm/gov-link.entry.js +2 -2
  348. package/dist/esm/gov-loading.entry.js +2 -2
  349. package/dist/esm/gov-message.entry.js +2 -2
  350. package/dist/esm/gov-pagination.entry.js +1 -1
  351. package/dist/esm/gov-spacer.entry.js +2 -2
  352. package/dist/esm/gov-stepper-item.entry.js +2 -2
  353. package/dist/esm/gov-stepper.entry.js +2 -2
  354. package/dist/esm/gov-tabs-item.entry.js +2 -2
  355. package/dist/esm/gov-tabs.entry.js +2 -2
  356. package/dist/esm/gov-tag.entry.js +3 -2
  357. package/dist/esm/gov-tag.entry.js.map +1 -1
  358. package/dist/esm/gov-tile.entry.js +2 -2
  359. package/dist/esm/gov-tiles.entry.js +2 -2
  360. package/dist/esm/gov-toast.entry.js +2 -2
  361. package/dist/esm/gov-tooltip-content.entry.js +2 -2
  362. package/dist/esm/gov-tooltip.entry.js +3 -3
  363. package/dist/esm/gov-wizard-item.entry.js +3 -3
  364. package/dist/esm/gov-wizard.entry.js +2 -2
  365. package/dist/esm/{index-c263e031.js → index-087b155c.js} +14 -4
  366. package/dist/esm/index-087b155c.js.map +1 -0
  367. package/dist/esm/loader.js +3 -3
  368. package/dist/hydrate/index.js +102 -76
  369. package/dist/hydrate/index.mjs +102 -76
  370. package/dist/types/components/gov-card/constants.d.ts +8 -4
  371. package/dist/types/components/gov-card/gov-card.d.ts +3 -2
  372. package/dist/types/components/gov-flex/constants.d.ts +4 -0
  373. package/dist/types/components/gov-flex/gov-flex.d.ts +9 -7
  374. package/dist/types/components/gov-tag/gov-tag.d.ts +4 -0
  375. package/dist/types/components/gov-theme-switch/constants.d.ts +0 -2
  376. package/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +8 -4
  377. package/dist/types/components.d.ts +50 -22
  378. package/dist/types/pages/Flex.d.ts +3 -0
  379. package/package.json +1 -1
  380. package/dist/cjs/gov-flex_4.cjs.entry.js.map +0 -1
  381. package/dist/cjs/index-7ff4447c.js.map +0 -1
  382. package/dist/components/p-1eb9c053.js +0 -2
  383. package/dist/components/p-3d7a21b5.js +0 -2
  384. package/dist/components/p-42200001.js +0 -3
  385. package/dist/components/p-42200001.js.map +0 -1
  386. package/dist/components/p-46c567fd.js +0 -2
  387. package/dist/components/p-46c567fd.js.map +0 -1
  388. package/dist/components/p-68a1aaec.js +0 -2
  389. package/dist/components/p-68a1aaec.js.map +0 -1
  390. package/dist/components/p-a6b7a6c2.js +0 -2
  391. package/dist/components/p-b95ebe8c.js +0 -2
  392. package/dist/core/p-00d153bf.entry.js +0 -2
  393. package/dist/core/p-019e967c.entry.js +0 -2
  394. package/dist/core/p-04fa0ab5.entry.js +0 -2
  395. package/dist/core/p-22fa411d.entry.js +0 -2
  396. package/dist/core/p-2739fa61.entry.js +0 -2
  397. package/dist/core/p-30eaeeec.entry.js +0 -2
  398. package/dist/core/p-3d6edb09.entry.js +0 -2
  399. package/dist/core/p-3f6a2d20.entry.js +0 -2
  400. package/dist/core/p-3f6a2d20.entry.js.map +0 -1
  401. package/dist/core/p-41c6b262.entry.js +0 -2
  402. package/dist/core/p-439b66a5.entry.js +0 -2
  403. package/dist/core/p-4b90fbc4.entry.js +0 -2
  404. package/dist/core/p-4c5f6299.entry.js +0 -2
  405. package/dist/core/p-535316b4.entry.js +0 -2
  406. package/dist/core/p-5396935e.entry.js +0 -2
  407. package/dist/core/p-56dc370d.entry.js +0 -2
  408. package/dist/core/p-5b2131c1.entry.js +0 -2
  409. package/dist/core/p-5c9e6275.entry.js +0 -2
  410. package/dist/core/p-65e67731.entry.js +0 -2
  411. package/dist/core/p-6bb37fe2.entry.js +0 -2
  412. package/dist/core/p-6e457b3d.entry.js +0 -2
  413. package/dist/core/p-7b7e502b.entry.js +0 -2
  414. package/dist/core/p-8506b611.js +0 -3
  415. package/dist/core/p-8506b611.js.map +0 -1
  416. package/dist/core/p-9c2c5447.entry.js +0 -2
  417. package/dist/core/p-9c2c5447.entry.js.map +0 -1
  418. package/dist/core/p-b923a8d9.entry.js +0 -2
  419. package/dist/core/p-bc966c46.entry.js +0 -2
  420. package/dist/core/p-bdc51179.entry.js +0 -2
  421. package/dist/core/p-c054f955.entry.js +0 -2
  422. package/dist/core/p-cd2d335d.entry.js +0 -2
  423. package/dist/core/p-da7f1e11.entry.js +0 -2
  424. package/dist/core/p-e61aa53b.entry.js +0 -2
  425. package/dist/core/p-ea44d447.entry.js +0 -2
  426. package/dist/core/p-f4bcf817.entry.js +0 -2
  427. package/dist/core/p-f4dac942.entry.js +0 -2
  428. package/dist/esm/gov-flex_4.entry.js.map +0 -1
  429. package/dist/esm/index-c263e031.js.map +0 -1
  430. /package/dist/components/{p-73938936.js.map → p-03ad4e0f.js.map} +0 -0
  431. /package/dist/components/{p-ac359044.js.map → p-350e060c.js.map} +0 -0
  432. /package/dist/components/{p-7be2301a.js.map → p-384c7f2a.js.map} +0 -0
  433. /package/dist/components/{p-318d89bd.js.map → p-8080982e.js.map} +0 -0
  434. /package/dist/components/{p-a6b7a6c2.js.map → p-8ee6f2f3.js.map} +0 -0
  435. /package/dist/components/{p-a6be4769.js.map → p-915c4f3a.js.map} +0 -0
  436. /package/dist/components/{p-3d7a21b5.js.map → p-ae7a283c.js.map} +0 -0
  437. /package/dist/components/{p-283b66c3.js.map → p-e532e5e5.js.map} +0 -0
  438. /package/dist/core/{p-c916d0d2.entry.js.map → p-032accfb.entry.js.map} +0 -0
  439. /package/dist/core/{p-0be19b89.entry.js.map → p-063b70a2.entry.js.map} +0 -0
  440. /package/dist/core/{p-dea64896.entry.js.map → p-0724cb6a.entry.js.map} +0 -0
  441. /package/dist/core/{p-7b7e502b.entry.js.map → p-09c9eba6.entry.js.map} +0 -0
  442. /package/dist/core/{p-5b2131c1.entry.js.map → p-0c076b21.entry.js.map} +0 -0
  443. /package/dist/core/{p-97a9725d.entry.js.map → p-0f0f7302.entry.js.map} +0 -0
  444. /package/dist/core/{p-65e67731.entry.js.map → p-10f773c2.entry.js.map} +0 -0
  445. /package/dist/core/{p-cd2d335d.entry.js.map → p-14d66f26.entry.js.map} +0 -0
  446. /package/dist/core/{p-ed833334.entry.js.map → p-33310735.entry.js.map} +0 -0
  447. /package/dist/core/{p-432c3875.entry.js.map → p-3849ca02.entry.js.map} +0 -0
  448. /package/dist/core/{p-22fa411d.entry.js.map → p-43d3dbc0.entry.js.map} +0 -0
  449. /package/dist/core/{p-30eaeeec.entry.js.map → p-4c60e125.entry.js.map} +0 -0
  450. /package/dist/core/{p-5396935e.entry.js.map → p-4fa0320d.entry.js.map} +0 -0
  451. /package/dist/core/{p-6e457b3d.entry.js.map → p-50af9ae8.entry.js.map} +0 -0
  452. /package/dist/core/{p-ccec8019.entry.js.map → p-5c3f4cfe.entry.js.map} +0 -0
  453. /package/dist/core/{p-9fe35463.entry.js.map → p-77daba72.entry.js.map} +0 -0
  454. /package/dist/core/{p-d65cef62.entry.js.map → p-7baee44f.entry.js.map} +0 -0
  455. /package/dist/core/{p-7e04730a.entry.js.map → p-7dfb7e36.entry.js.map} +0 -0
  456. /package/dist/core/{p-b7cfe254.entry.js.map → p-927c31dd.entry.js.map} +0 -0
  457. /package/dist/core/{p-3cb36bae.entry.js.map → p-9846fd13.entry.js.map} +0 -0
  458. /package/dist/core/{p-1200a32d.entry.js.map → p-994385ca.entry.js.map} +0 -0
  459. /package/dist/core/{p-d836fcde.entry.js.map → p-9f8d69a9.entry.js.map} +0 -0
  460. /package/dist/core/{p-e834ee73.entry.js.map → p-a6a9de9a.entry.js.map} +0 -0
  461. /package/dist/core/{p-ea44d447.entry.js.map → p-b62e49ee.entry.js.map} +0 -0
  462. /package/dist/core/{p-bcb45a18.entry.js.map → p-c0800e6d.entry.js.map} +0 -0
  463. /package/dist/core/{p-00d153bf.entry.js.map → p-d795a421.entry.js.map} +0 -0
  464. /package/dist/core/{p-0fdd8929.entry.js.map → p-d9b42773.entry.js.map} +0 -0
  465. /package/dist/core/{p-561718cd.entry.js.map → p-e0a199ff.entry.js.map} +0 -0
  466. /package/dist/core/{p-535316b4.entry.js.map → p-e215f3ee.entry.js.map} +0 -0
  467. /package/dist/core/{p-4b90fbc4.entry.js.map → p-ed02945f.entry.js.map} +0 -0
  468. /package/dist/core/{p-f4bcf817.entry.js.map → p-ee55932a.entry.js.map} +0 -0
  469. /package/dist/core/{p-f7a4da9d.entry.js.map → p-f2bb8c29.entry.js.map} +0 -0
  470. /package/dist/core/{p-72130a8f.entry.js.map → p-f54edd6c.entry.js.map} +0 -0
  471. /package/dist/core/{p-ed8fc183.entry.js.map → p-fcac8531.entry.js.map} +0 -0
@@ -1,12 +1,16 @@
1
+ import { ValueOf } from "../../types/interfaces";
2
+ export declare enum CardDirection {
3
+ HORIZONTAL = "horizontal",
4
+ VERTICAL = "vertical"
5
+ }
6
+ export type CardDirectionType = `${ValueOf<typeof CardDirection>}`;
1
7
  export declare const CardClass: {
2
8
  root: string;
3
9
  header: string;
4
- title: string;
10
+ arrow: string;
5
11
  inner: string;
6
12
  img: string;
7
- main: string;
8
13
  icon: string;
9
- btns: string;
14
+ content: string;
10
15
  footer: string;
11
- arrow: string;
12
16
  };
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { CardDirectionType } from './constants';
2
3
  import { GovCardChangeEvent } from './interfaces';
3
4
  export declare class GovCard {
4
5
  private h;
@@ -8,9 +9,9 @@ export declare class GovCard {
8
9
  constructor();
9
10
  host: HTMLGovCardElement;
10
11
  /**
11
- * Style variation of the card.
12
+ * Card direction
12
13
  */
13
- readonly promotion: boolean;
14
+ readonly direction: CardDirectionType;
14
15
  /**
15
16
  * Defines weather the card can be collapsible
16
17
  */
@@ -1,3 +1,7 @@
1
+ import { Sizes } from "../../core/constants/sizes";
2
+ import { ValueOf } from "../../types/interfaces";
3
+ export declare const FlexSizes: typeof Sizes;
4
+ export type FlexSizesType = `${ValueOf<typeof FlexSizes>}`;
1
5
  export declare const FlexClass: {
2
6
  root: string;
3
7
  };
@@ -1,33 +1,35 @@
1
+ import { FlexSizesType } from './constants';
1
2
  export declare class GovFlex {
2
3
  private h;
3
4
  constructor();
4
5
  host: HTMLGovGridElement;
5
6
  /**
6
- * Controls the flex direction of the container. Can be 'row', 'row-reverse', 'column', or 'column-reverse'.
7
+ * Controls the flex direction of the container.
7
8
  */
8
9
  direction: 'row' | 'row-reverse' | 'column' | 'column-reverse';
9
10
  /**
10
11
  * Defines how the browser distributes space between and around content items along the main axis.
11
- * Allowed values: 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly'.
12
12
  */
13
13
  justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
14
14
  /**
15
- * Aligns flex items along the cross axis. Can be 'stretch', 'flex-start', 'flex-end', 'center', or 'baseline'.
15
+ * Aligns flex items along the cross axis.
16
16
  */
17
17
  alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';
18
18
  /**
19
- * Controls whether the flex container is a single-line or multi-line flex container. Can be 'nowrap', 'wrap', or 'wrap-reverse'.
19
+ * Controls whether the flex container is a single-line or multi-line flex container.
20
20
  */
21
21
  wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
22
22
  /**
23
23
  * Aligns the flex container's lines within when there is extra space in the cross-axis.
24
- * Allowed values: 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'stretch'.
25
24
  */
26
25
  alignContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';
27
26
  /**
28
27
  * 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.
29
- * Allowed values: 'auto', 'flex-start', 'flex-end', 'center', 'baseline', 'stretch'.
30
28
  */
31
- alignSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
29
+ alignSelf?: 'auto' | 'normal' | 'self-start' | 'self-end' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch' | 'anchor-center';
30
+ /**
31
+ * The gap property creates consistent spacing between flex items in the container.
32
+ */
33
+ gap?: FlexSizesType;
32
34
  render(): any;
33
35
  }
@@ -24,6 +24,10 @@ export declare class GovTag {
24
24
  * Tag’s type
25
25
  */
26
26
  readonly type: TagTypesType;
27
+ /**
28
+ * Expands the tag to fill 100% of the container width
29
+ */
30
+ readonly expanded: boolean;
27
31
  validateColor(newValue: string): void;
28
32
  validateSize(newValue: string): void;
29
33
  componentWillLoad(): void;
@@ -7,7 +7,5 @@ export declare const ThemeSwitchClass: {
7
7
  indicator: string;
8
8
  iconLight: string;
9
9
  iconDark: string;
10
- labelLight: string;
11
- labelDark: string;
12
10
  };
13
11
  export declare const ATTRIBUTE_THEME_NAME = "data-theme";
@@ -9,22 +9,26 @@ export declare class GovThemeSwitch {
9
9
  * Switch's size.
10
10
  */
11
11
  readonly size?: ThemeSwitchSizesType;
12
+ /**
13
+ * Display switch label
14
+ */
15
+ readonly displayLabel? = false;
12
16
  /**
13
17
  * Label in light mode
14
18
  */
15
- readonly ariaLabelLight?: "Přenout na tmavý mód";
19
+ readonly ariaLabelLight? = "P\u0159enout na tmav\u00FD m\u00F3d";
16
20
  /**
17
21
  * Label in dark mode
18
22
  */
19
- readonly ariaLabelDark?: "Přepnout na světlý mód";
23
+ readonly ariaLabelDark? = "P\u0159epnout na sv\u011Btl\u00FD m\u00F3d";
20
24
  /**
21
25
  * Label in light mode
22
26
  */
23
- readonly labelLight?: "Světlý mód";
27
+ readonly labelLight? = "Sv\u011Btl\u00FD m\u00F3d";
24
28
  /**
25
29
  * Label in dark mode
26
30
  */
27
- readonly labelDark?: "Tmavý mód";
31
+ readonly labelDark? = "Tmav\u00FD m\u00F3d";
28
32
  /**
29
33
  * Called when the theme is changed by the user
30
34
  */
@@ -10,6 +10,7 @@ import { AccordionEvent, AccordionItemEvent } from "./components/gov-accordion/g
10
10
  import { GovBreadcrumbsChangeEvent } from "./components/gov-breadcrumbs/gov-breadcrumbs.d";
11
11
  import { ButtonColorType, ButtonSizesType, ButtonTargetType, ButtonTypesType, NativeTypesType } from "./components/gov-button/button/constants";
12
12
  import { ButtonEvent } from "./components/gov-button/button/gov-button.types";
13
+ import { CardDirectionType } from "./components/gov-card/constants";
13
14
  import { GovCardChangeEvent } from "./components/gov-card/interfaces";
14
15
  import { ChipSizesType, ChipTypesType, NativeTypesType as NativeTypesType1 } from "./components/gov-chip/constants";
15
16
  import { ControlGroupColorType } from "./components/gov-control-group/constants";
@@ -17,6 +18,7 @@ import { Nullable } from "./types/interfaces";
17
18
  import { PositionType } from "./components/gov-button/dropdown/constants";
18
19
  import { DropdownEvent } from "./components/gov-button/dropdown/gov-dropdown.types";
19
20
  import { EmptySizesType } from "./components/gov-empty/constants";
21
+ import { FlexSizesType } from "./components/gov-flex/constants";
20
22
  import { FormAutocompleteEvent, GovFormAutocompleteItem } from "./components/gov-form/autocomplete/gov-form-autocomplete.types";
21
23
  import { SizesType } from "./components/gov-form/autocomplete/constants";
22
24
  import { FormCheckboxSizesType } from "./components/gov-form/checkbox/constants";
@@ -66,6 +68,7 @@ export { AccordionEvent, AccordionItemEvent } from "./components/gov-accordion/g
66
68
  export { GovBreadcrumbsChangeEvent } from "./components/gov-breadcrumbs/gov-breadcrumbs.d";
67
69
  export { ButtonColorType, ButtonSizesType, ButtonTargetType, ButtonTypesType, NativeTypesType } from "./components/gov-button/button/constants";
68
70
  export { ButtonEvent } from "./components/gov-button/button/gov-button.types";
71
+ export { CardDirectionType } from "./components/gov-card/constants";
69
72
  export { GovCardChangeEvent } from "./components/gov-card/interfaces";
70
73
  export { ChipSizesType, ChipTypesType, NativeTypesType as NativeTypesType1 } from "./components/gov-chip/constants";
71
74
  export { ControlGroupColorType } from "./components/gov-control-group/constants";
@@ -73,6 +76,7 @@ export { Nullable } from "./types/interfaces";
73
76
  export { PositionType } from "./components/gov-button/dropdown/constants";
74
77
  export { DropdownEvent } from "./components/gov-button/dropdown/gov-dropdown.types";
75
78
  export { EmptySizesType } from "./components/gov-empty/constants";
79
+ export { FlexSizesType } from "./components/gov-flex/constants";
76
80
  export { FormAutocompleteEvent, GovFormAutocompleteItem } from "./components/gov-form/autocomplete/gov-form-autocomplete.types";
77
81
  export { SizesType } from "./components/gov-form/autocomplete/constants";
78
82
  export { FormCheckboxSizesType } from "./components/gov-form/checkbox/constants";
@@ -329,13 +333,13 @@ export namespace Components {
329
333
  */
330
334
  "collapsible": boolean;
331
335
  /**
332
- * Defines whether the card is open or closed
336
+ * Card direction
333
337
  */
334
- "open": boolean;
338
+ "direction": CardDirectionType;
335
339
  /**
336
- * Style variation of the card.
340
+ * Defines whether the card is open or closed
337
341
  */
338
- "promotion": boolean;
342
+ "open": boolean;
339
343
  /**
340
344
  * Validate the accessible attributes of the component
341
345
  */
@@ -494,27 +498,31 @@ export namespace Components {
494
498
  }
495
499
  interface GovFlex {
496
500
  /**
497
- * Aligns the flex container's lines within when there is extra space in the cross-axis. Allowed values: 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'stretch'.
501
+ * Aligns the flex container's lines within when there is extra space in the cross-axis.
498
502
  */
499
503
  "alignContent"?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';
500
504
  /**
501
- * Aligns flex items along the cross axis. Can be 'stretch', 'flex-start', 'flex-end', 'center', or 'baseline'.
505
+ * Aligns flex items along the cross axis.
502
506
  */
503
507
  "alignItems"?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';
504
508
  /**
505
- * 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. Allowed values: 'auto', 'flex-start', 'flex-end', 'center', 'baseline', 'stretch'.
509
+ * 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.
506
510
  */
507
- "alignSelf"?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
511
+ "alignSelf"?: 'auto' | 'normal' | 'self-start' | 'self-end' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch' | 'anchor-center';
508
512
  /**
509
- * Controls the flex direction of the container. Can be 'row', 'row-reverse', 'column', or 'column-reverse'.
513
+ * Controls the flex direction of the container.
510
514
  */
511
515
  "direction": 'row' | 'row-reverse' | 'column' | 'column-reverse';
512
516
  /**
513
- * Defines how the browser distributes space between and around content items along the main axis. Allowed values: 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly'.
517
+ * The gap property creates consistent spacing between flex items in the container.
518
+ */
519
+ "gap"?: FlexSizesType;
520
+ /**
521
+ * Defines how the browser distributes space between and around content items along the main axis.
514
522
  */
515
523
  "justifyContent"?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
516
524
  /**
517
- * Controls whether the flex container is a single-line or multi-line flex container. Can be 'nowrap', 'wrap', or 'wrap-reverse'.
525
+ * Controls whether the flex container is a single-line or multi-line flex container.
518
526
  */
519
527
  "wrap"?: 'nowrap' | 'wrap' | 'wrap-reverse';
520
528
  }
@@ -1508,6 +1516,10 @@ export namespace Components {
1508
1516
  * Style variation of the tag.
1509
1517
  */
1510
1518
  "color": ButtonColorType;
1519
+ /**
1520
+ * Expands the tag to fill 100% of the container width
1521
+ */
1522
+ "expanded": boolean;
1511
1523
  /**
1512
1524
  * Definition of the button icon on the left. The icon must be defined in the form "type/name".
1513
1525
  */
@@ -1534,6 +1546,10 @@ export namespace Components {
1534
1546
  * Label in light mode
1535
1547
  */
1536
1548
  "ariaLabelLight"?: "Přenout na tmavý mód";
1549
+ /**
1550
+ * Display switch label
1551
+ */
1552
+ "displayLabel"?: false;
1537
1553
  /**
1538
1554
  * Label in dark mode
1539
1555
  */
@@ -2831,6 +2847,10 @@ declare namespace LocalJSX {
2831
2847
  * Defines weather the card can be collapsible
2832
2848
  */
2833
2849
  "collapsible"?: boolean;
2850
+ /**
2851
+ * Card direction
2852
+ */
2853
+ "direction"?: CardDirectionType;
2834
2854
  /**
2835
2855
  * Called when the card toggle state changes
2836
2856
  */
@@ -2839,10 +2859,6 @@ declare namespace LocalJSX {
2839
2859
  * Defines whether the card is open or closed
2840
2860
  */
2841
2861
  "open"?: boolean;
2842
- /**
2843
- * Style variation of the card.
2844
- */
2845
- "promotion"?: boolean;
2846
2862
  }
2847
2863
  interface GovChip {
2848
2864
  /**
@@ -2985,27 +3001,31 @@ declare namespace LocalJSX {
2985
3001
  }
2986
3002
  interface GovFlex {
2987
3003
  /**
2988
- * Aligns the flex container's lines within when there is extra space in the cross-axis. Allowed values: 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'stretch'.
3004
+ * Aligns the flex container's lines within when there is extra space in the cross-axis.
2989
3005
  */
2990
3006
  "alignContent"?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';
2991
3007
  /**
2992
- * Aligns flex items along the cross axis. Can be 'stretch', 'flex-start', 'flex-end', 'center', or 'baseline'.
3008
+ * Aligns flex items along the cross axis.
2993
3009
  */
2994
3010
  "alignItems"?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';
2995
3011
  /**
2996
- * 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. Allowed values: 'auto', 'flex-start', 'flex-end', 'center', 'baseline', 'stretch'.
3012
+ * 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.
2997
3013
  */
2998
- "alignSelf"?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
3014
+ "alignSelf"?: 'auto' | 'normal' | 'self-start' | 'self-end' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch' | 'anchor-center';
2999
3015
  /**
3000
- * Controls the flex direction of the container. Can be 'row', 'row-reverse', 'column', or 'column-reverse'.
3016
+ * Controls the flex direction of the container.
3001
3017
  */
3002
3018
  "direction"?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
3003
3019
  /**
3004
- * Defines how the browser distributes space between and around content items along the main axis. Allowed values: 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly'.
3020
+ * The gap property creates consistent spacing between flex items in the container.
3021
+ */
3022
+ "gap"?: FlexSizesType;
3023
+ /**
3024
+ * Defines how the browser distributes space between and around content items along the main axis.
3005
3025
  */
3006
3026
  "justifyContent"?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
3007
3027
  /**
3008
- * Controls whether the flex container is a single-line or multi-line flex container. Can be 'nowrap', 'wrap', or 'wrap-reverse'.
3028
+ * Controls whether the flex container is a single-line or multi-line flex container.
3009
3029
  */
3010
3030
  "wrap"?: 'nowrap' | 'wrap' | 'wrap-reverse';
3011
3031
  }
@@ -4034,6 +4054,10 @@ declare namespace LocalJSX {
4034
4054
  * Style variation of the tag.
4035
4055
  */
4036
4056
  "color"?: ButtonColorType;
4057
+ /**
4058
+ * Expands the tag to fill 100% of the container width
4059
+ */
4060
+ "expanded"?: boolean;
4037
4061
  /**
4038
4062
  * Definition of the button icon on the left. The icon must be defined in the form "type/name".
4039
4063
  */
@@ -4060,6 +4084,10 @@ declare namespace LocalJSX {
4060
4084
  * Label in light mode
4061
4085
  */
4062
4086
  "ariaLabelLight"?: "Přenout na tmavý mód";
4087
+ /**
4088
+ * Display switch label
4089
+ */
4090
+ "displayLabel"?: false;
4063
4091
  /**
4064
4092
  * Label in dark mode
4065
4093
  */
@@ -0,0 +1,3 @@
1
+ declare class FlexPage extends HTMLElement {
2
+ connectedCallback(): void;
3
+ }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@gov-design-system-ce/components",
3
3
  "description": "This package includes Gov Design System Web Components and related utilities.",
4
4
  "author": "Zdeněk Vítek",
5
- "version": "4.1.1",
5
+ "version": "4.1.3-BETA-1",
6
6
  "license": "EUPL v1.2 Licensed",
7
7
  "main": "./dist/index.cjs.js",
8
8
  "unpkg": "./dist/core/core.esm.js",
@@ -1 +0,0 @@
1
- {"file":"gov-flex.gov-form-label.gov-icon.gov-theme-switch.entry.cjs.js","mappings":";;;;;;;;;;;;;AAAO,MAAM,SAAS,GAAG;IACxB,IAAI,EAAE,UAAU;CAChB;;MCMY,OAAO;IAGnB;;yBASyE,KAAK;;;;;;QAR7E,IAAI,CAAC,CAAC,GAAGA,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAgDD,MAAM;QACL,QACCC,QAACC,UAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,C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,gBAAgB,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,IACjE,IAAI,CAAC,UAAU,CACA,EACjBA,6EAAgB,KAAK,EAAE,gBAAgB,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,IAChE,IAAI,CAAC,SAAS,CACC,CACX,CACC,CACH,EACP;KACD;;;;;;;;;;;;;","names":["govHost","h","Host","FormLabelClass","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-form/label/gov-form-label.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":["export const FlexClass = {\n\troot: 'gov-flex',\n}\n\n","import {Component, Element, h, Host, Prop} from '@stencil/core'\nimport {FlexClass} 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. Can be 'row', 'row-reverse', 'column', or 'column-reverse'.\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 * Allowed values: 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly'.\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. Can be 'stretch', 'flex-start', 'flex-end', 'center', or 'baseline'.\n\t */\n\t@Prop({\n\t\tattribute: 'align-items', reflect: 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. Can be 'nowrap', 'wrap', or 'wrap-reverse'.\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 * Allowed values: 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'stretch'.\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 * Allowed values: 'auto', 'flex-start', 'flex-end', 'center', 'baseline', 'stretch'.\n\t */\n\t@Prop({\n\t\tattribute: 'align-self',\n\t\treflect: true\n\t}) alignSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';\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 { Component, Event, EventEmitter, h, Prop, Host } from '@stencil/core'\nimport { FormLabelClass, FormLabelSizesTypes } from './constants'\n\n@Component({\n\ttag: 'gov-form-label',\n})\nexport class GovFormLabel {\n\t/**\n\t * Identifier for label.\n\t */\n\t@Prop({ attribute: 'identifier' }) readonly identifier: string\n\t/**\n\t * Label's size.\n\t */\n\t@Prop() readonly size?: FormLabelSizesTypes = 'm'\n\t/**\n\t * Set whether the input is required or not.\n\t */\n\t@Prop() readonly required: boolean = false\n\t/**\n\t * Use label as a legend for better accessibility.\n\t * Note: Don't forget to set the fieldset attribute of the gov-form-control component\n\t */\n\t@Prop() readonly legend: boolean = false\n\t/**\n\t * Emitted when the label click.\n\t */\n\t@Event({ eventName: 'gov-click' }) govClick: EventEmitter<PointerEvent>\n\n\trender() {\n\t\tconst Tag = this.legend ? 'legend' : 'label'\n\t\treturn (\n\t\t\t<Host class={FormLabelClass.root} size={this.size}>\n\t\t\t\t<Tag class={FormLabelClass.label} htmlFor={this.identifier} onClick={() => this.govClick.emit()}>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t\t{this.required ? <span class=\"gov-color--error-500\">&nbsp;*</span> : null}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n","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\tlabelLight: 'gov-theme-switch__label-light',\n\tlabelDark: 'gov-theme-switch__label-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 * 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-label={isDark ? this.ariaLabelLight : this.ariaLabelDark}>\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<gov-form-label class={ThemeSwitchClass.labelLight} size={this.size}>\n\t\t\t\t\t\t\t{this.labelLight}\n\t\t\t\t\t\t</gov-form-label>\n\t\t\t\t\t\t<gov-form-label class={ThemeSwitchClass.labelDark} size={this.size}>\n\t\t\t\t\t\t\t{this.labelDark}\n\t\t\t\t\t\t</gov-form-label>\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}