@gov-design-system-ce/components 4.2.0 → 4.2.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 (477) hide show
  1. package/dist/cjs/{array.utils-96eadde3.js → array.utils-211fffc0.js} +2 -2
  2. package/dist/cjs/{array.utils-96eadde3.js.map → array.utils-211fffc0.js.map} +1 -1
  3. package/dist/cjs/core.cjs.js +1 -1
  4. package/dist/cjs/gov-attachments_3.cjs.entry.js +3 -3
  5. package/dist/cjs/gov-backdrop.cjs.entry.js +2 -2
  6. package/dist/cjs/gov-banner.cjs.entry.js +21 -20
  7. package/dist/cjs/gov-banner.cjs.entry.js.map +1 -1
  8. package/dist/cjs/gov-blockquote.cjs.entry.js +1 -1
  9. package/dist/cjs/gov-blockquote.cjs.entry.js.map +1 -1
  10. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +3 -3
  11. package/dist/cjs/gov-button.cjs.entry.js +5 -5
  12. package/dist/cjs/gov-card.cjs.entry.js +11 -3
  13. package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
  14. package/dist/cjs/gov-chip.cjs.entry.js +2 -2
  15. package/dist/cjs/gov-container.cjs.entry.js +1 -1
  16. package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
  17. package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
  18. package/dist/cjs/gov-dialog.cjs.entry.js +3 -3
  19. package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
  20. package/dist/cjs/gov-empty.cjs.entry.js +1 -1
  21. package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
  22. package/dist/cjs/gov-flex_3.cjs.entry.js +3 -3
  23. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +3 -3
  24. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +3 -3
  25. package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
  26. package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
  27. package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
  28. package/dist/cjs/gov-form-input_2.cjs.entry.js +6 -6
  29. package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
  30. package/dist/cjs/gov-form-multi-select.cjs.entry.js +4 -4
  31. package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
  32. package/dist/cjs/gov-form-radio-group.cjs.entry.js +1 -1
  33. package/dist/cjs/gov-form-range.cjs.entry.js +207 -0
  34. package/dist/cjs/gov-form-range.cjs.entry.js.map +1 -0
  35. package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
  36. package/dist/cjs/gov-form-select.cjs.entry.js +4 -4
  37. package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
  38. package/dist/cjs/gov-grid.cjs.entry.js +1 -1
  39. package/dist/cjs/gov-infobar.cjs.entry.js +2 -2
  40. package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
  41. package/dist/cjs/gov-layout.cjs.entry.js +1 -1
  42. package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
  43. package/dist/cjs/gov-link.cjs.entry.js +2 -1
  44. package/dist/cjs/gov-link.cjs.entry.js.map +1 -1
  45. package/dist/cjs/gov-loading.cjs.entry.js +1 -1
  46. package/dist/cjs/gov-message.cjs.entry.js +1 -1
  47. package/dist/cjs/gov-pagination.cjs.entry.js +2 -2
  48. package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
  49. package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
  50. package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
  51. package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
  52. package/dist/cjs/gov-tabs.cjs.entry.js +2 -2
  53. package/dist/cjs/gov-tag.cjs.entry.js +1 -1
  54. package/dist/cjs/gov-tile.cjs.entry.js +1 -1
  55. package/dist/cjs/gov-toast.cjs.entry.js +1 -1
  56. package/dist/cjs/gov-tooltip-content.cjs.entry.js +1 -1
  57. package/dist/cjs/gov-tooltip.cjs.entry.js +2 -2
  58. package/dist/cjs/gov-wizard-item.cjs.entry.js +2 -2
  59. package/dist/cjs/gov-wizard.cjs.entry.js +3 -3
  60. package/dist/cjs/{helpers.types-ff60c9bd.js → helpers.types-9066e4a4.js} +3 -1
  61. package/dist/cjs/helpers.types-9066e4a4.js.map +1 -0
  62. package/dist/cjs/index-0e4f24f9.js +4 -0
  63. package/dist/cjs/loader.cjs.js +1 -1
  64. package/dist/cjs/{wcag-2927ff73.js → wcag-f8da82da.js} +2 -2
  65. package/dist/cjs/{wcag-2927ff73.js.map → wcag-f8da82da.js.map} +1 -1
  66. package/dist/collection/collection-manifest.json +2 -1
  67. package/dist/collection/components/gov-banner/gov-banner.js +26 -73
  68. package/dist/collection/components/gov-banner/gov-banner.js.map +1 -1
  69. package/dist/collection/components/gov-blockquote/constants.js.map +1 -0
  70. package/dist/collection/components/{gov-blocquote → gov-blockquote}/gov-blockquote.js +2 -2
  71. package/dist/collection/components/gov-blockquote/gov-blockquote.js.map +1 -0
  72. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +1 -1
  73. package/dist/collection/components/gov-button/button/gov-button.js +3 -3
  74. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +1 -1
  75. package/dist/collection/components/gov-card/gov-card.js +52 -1
  76. package/dist/collection/components/gov-card/gov-card.js.map +1 -1
  77. package/dist/collection/components/gov-chip/gov-chip.js +2 -2
  78. package/dist/collection/components/gov-container/gov-container.js +1 -1
  79. package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
  80. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
  81. package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
  82. package/dist/collection/components/gov-empty/gov-empty.js +1 -1
  83. package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
  84. package/dist/collection/components/gov-flex/gov-flex.js +1 -1
  85. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +1 -1
  86. package/dist/collection/components/gov-form/control/gov-form-control.js +1 -1
  87. package/dist/collection/components/gov-form/file/gov-form-file.js +1 -1
  88. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
  89. package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
  90. package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
  91. package/dist/collection/components/gov-form/input/gov-form-input.js +5 -5
  92. package/dist/collection/components/gov-form/label/gov-form-label.js +1 -1
  93. package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
  94. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +2 -2
  95. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
  96. package/dist/collection/components/gov-form/range/constants.js +9 -0
  97. package/dist/collection/components/gov-form/range/constants.js.map +1 -0
  98. package/dist/collection/components/gov-form/range/gov-form-range.js +610 -0
  99. package/dist/collection/components/gov-form/range/gov-form-range.js.map +1 -0
  100. package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
  101. package/dist/collection/components/gov-form/select/gov-form-select.js +2 -2
  102. package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
  103. package/dist/collection/components/gov-grid/gov-grid.js +1 -1
  104. package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
  105. package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
  106. package/dist/collection/components/gov-layout/gov-layout.js +1 -1
  107. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
  108. package/dist/collection/components/gov-link/gov-link.js +20 -1
  109. package/dist/collection/components/gov-link/gov-link.js.map +1 -1
  110. package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
  111. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
  112. package/dist/collection/components/gov-message/gov-message.js +1 -1
  113. package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
  114. package/dist/collection/components/gov-stepper/gov-stepper-item.js +1 -1
  115. package/dist/collection/components/gov-stepper/gov-stepper.js +1 -1
  116. package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
  117. package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
  118. package/dist/collection/components/gov-tag/gov-tag.js +1 -1
  119. package/dist/collection/components/gov-theme-switch/gov-theme-switch.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/data/color-definitions.js +13 -13
  127. package/dist/collection/data/font-definitions.js +86 -48
  128. package/dist/collection/pages/Banner.js +112 -112
  129. package/dist/collection/pages/Banner.js.map +1 -1
  130. package/dist/collection/pages/Blockquote.js +3 -3
  131. package/dist/collection/pages/Blockquote.js.map +1 -1
  132. package/dist/collection/pages/Card.js +27 -17
  133. package/dist/collection/pages/Card.js.map +1 -1
  134. package/dist/collection/pages/Forms.js +209 -4
  135. package/dist/collection/pages/Forms.js.map +1 -1
  136. package/dist/collection/pages/Message.js +10 -10
  137. package/dist/collection/pages/Message.js.map +1 -1
  138. package/dist/collection/pages/Typography.js +7 -0
  139. package/dist/collection/pages/Typography.js.map +1 -1
  140. package/dist/components/gov-accordion-item.js +1 -1
  141. package/dist/components/gov-attachments-item.js +1 -1
  142. package/dist/components/gov-attachments.js +1 -1
  143. package/dist/components/gov-backdrop.js +1 -1
  144. package/dist/components/gov-banner.js +1 -1
  145. package/dist/components/gov-banner.js.map +1 -1
  146. package/dist/components/gov-blockquote.js +1 -1
  147. package/dist/components/gov-blockquote.js.map +1 -1
  148. package/dist/components/gov-breadcrumbs.js +1 -1
  149. package/dist/components/gov-breadcrumbs.js.map +1 -1
  150. package/dist/components/gov-button.js +1 -1
  151. package/dist/components/gov-card.js +1 -1
  152. package/dist/components/gov-card.js.map +1 -1
  153. package/dist/components/gov-chip.js +1 -1
  154. package/dist/components/gov-container.js +1 -1
  155. package/dist/components/gov-control-group.js +1 -1
  156. package/dist/components/gov-cookiebar.js +1 -1
  157. package/dist/components/gov-dialog.js +1 -1
  158. package/dist/components/gov-dropdown.js +1 -1
  159. package/dist/components/gov-empty.js +1 -1
  160. package/dist/components/gov-error-code.js +1 -1
  161. package/dist/components/gov-flex.js +1 -1
  162. package/dist/components/gov-form-autocomplete.js +1 -1
  163. package/dist/components/gov-form-checkbox-group.js +1 -1
  164. package/dist/components/gov-form-checkbox.js +1 -1
  165. package/dist/components/gov-form-control.js +1 -1
  166. package/dist/components/gov-form-file.js +1 -1
  167. package/dist/components/gov-form-group.js +1 -1
  168. package/dist/components/gov-form-input.js +1 -1
  169. package/dist/components/gov-form-label.js +1 -1
  170. package/dist/components/gov-form-message.js +1 -1
  171. package/dist/components/gov-form-multi-select.js +1 -1
  172. package/dist/components/gov-form-password-power.js +1 -1
  173. package/dist/components/gov-form-radio-group.js +1 -1
  174. package/dist/components/gov-form-range.d.ts +11 -0
  175. package/dist/components/gov-form-range.js +2 -0
  176. package/dist/components/gov-form-range.js.map +1 -0
  177. package/dist/components/gov-form-search.js +1 -1
  178. package/dist/components/gov-form-select.js +1 -1
  179. package/dist/components/gov-form-switch.js +1 -1
  180. package/dist/components/gov-grid-item.js +1 -1
  181. package/dist/components/gov-grid.js +1 -1
  182. package/dist/components/gov-icon.js +1 -1
  183. package/dist/components/gov-infobar.js +1 -1
  184. package/dist/components/gov-infobar.js.map +1 -1
  185. package/dist/components/gov-layout-column.js +1 -1
  186. package/dist/components/gov-layout-column.js.map +1 -1
  187. package/dist/components/gov-layout.js +1 -1
  188. package/dist/components/gov-lifecycle.js +1 -1
  189. package/dist/components/gov-link.js +1 -1
  190. package/dist/components/gov-link.js.map +1 -1
  191. package/dist/components/gov-loading.js +1 -1
  192. package/dist/components/gov-loading.js.map +1 -1
  193. package/dist/components/gov-message.js +1 -1
  194. package/dist/components/gov-pagination.js +1 -1
  195. package/dist/components/gov-skeleton.js +1 -1
  196. package/dist/components/gov-spacer.js +1 -1
  197. package/dist/components/gov-stepper-item.js +1 -1
  198. package/dist/components/gov-stepper.js +1 -1
  199. package/dist/components/gov-tabs-item.js +1 -1
  200. package/dist/components/gov-tabs.js +1 -1
  201. package/dist/components/gov-tag.js +1 -1
  202. package/dist/components/gov-theme-switch.js +1 -1
  203. package/dist/components/gov-tile.js +1 -1
  204. package/dist/components/gov-toast.js +1 -1
  205. package/dist/components/gov-tooltip-content.js +1 -1
  206. package/dist/components/gov-tooltip.js +1 -1
  207. package/dist/components/gov-tooltip.js.map +1 -1
  208. package/dist/components/gov-wizard-item.js +1 -1
  209. package/dist/components/gov-wizard.js +1 -1
  210. package/dist/components/{p-73938936.js → p-022e49cf.js} +2 -2
  211. package/dist/components/p-10cad7f1.js +2 -0
  212. package/dist/components/p-2fe7d728.js +2 -0
  213. package/dist/components/p-2fe7d728.js.map +1 -0
  214. package/dist/components/{p-b533871a.js → p-313b4611.js} +2 -2
  215. package/dist/components/{p-3fead64a.js → p-5a861cd2.js} +2 -2
  216. package/dist/components/{p-0327a469.js → p-5b0934a8.js} +2 -2
  217. package/dist/components/{p-3c90521b.js → p-5d60b866.js} +2 -2
  218. package/dist/components/{p-69a31c96.js → p-6ce6e14f.js} +2 -2
  219. package/dist/components/{p-2fc08a71.js → p-7fb16042.js} +2 -2
  220. package/dist/components/p-be086357.js +2 -0
  221. package/dist/components/{p-4fba9df0.js → p-d3435179.js} +2 -2
  222. package/dist/components/p-de989dfe.js +2 -0
  223. package/dist/components/{p-7be2301a.js → p-e0c3b1a7.js} +2 -2
  224. package/dist/components/{p-b5dc6bae.js → p-f9b1a12b.js} +2 -2
  225. package/dist/core/core.css +708 -733
  226. package/dist/core/core.esm.js +1 -1
  227. package/dist/core/core.esm.js.map +1 -1
  228. package/dist/core/p-07590d84.entry.js +2 -0
  229. package/dist/core/p-07590d84.entry.js.map +1 -0
  230. package/dist/core/p-08552a0e.entry.js +2 -0
  231. package/dist/core/{p-16f44a0b.entry.js.map → p-08552a0e.entry.js.map} +1 -1
  232. package/dist/core/p-0abc38e8.entry.js +2 -0
  233. package/dist/core/{p-28d1bc01.entry.js.map → p-0abc38e8.entry.js.map} +1 -1
  234. package/dist/core/p-0c393d2f.entry.js +2 -0
  235. package/dist/core/p-16ece889.entry.js +2 -0
  236. package/dist/core/p-171e2a2f.entry.js +2 -0
  237. package/dist/core/p-25615325.entry.js +2 -0
  238. package/dist/core/{p-132c9a87.entry.js → p-2a7bcce0.entry.js} +2 -2
  239. package/dist/core/{p-f120ba66.entry.js → p-2f966102.entry.js} +2 -2
  240. package/dist/core/p-2fe7d728.js +2 -0
  241. package/dist/core/p-2fe7d728.js.map +1 -0
  242. package/dist/core/{p-9ae280b2.entry.js → p-3583dcf7.entry.js} +2 -2
  243. package/dist/core/p-3b2267a1.entry.js +2 -0
  244. package/dist/core/p-4216d8f3.entry.js +2 -0
  245. package/dist/core/p-44c912e2.entry.js +2 -0
  246. package/dist/core/p-4d5f768f.entry.js +2 -0
  247. package/dist/core/p-52bb8e4f.entry.js +2 -0
  248. package/dist/core/{p-f7e47c0a.entry.js.map → p-52bb8e4f.entry.js.map} +1 -1
  249. package/dist/core/p-52c74fc5.entry.js +2 -0
  250. package/dist/core/p-548806cb.entry.js +2 -0
  251. package/dist/core/{p-ab868410.entry.js → p-5fa4965e.entry.js} +2 -2
  252. package/dist/core/p-6d54ce5f.js +2 -0
  253. package/dist/core/p-6f74eb08.entry.js +2 -0
  254. package/dist/core/{p-5108eb37.entry.js → p-75dae924.entry.js} +2 -2
  255. package/dist/core/p-774ea182.entry.js +2 -0
  256. package/dist/core/p-843f980a.entry.js +2 -0
  257. package/dist/core/p-8a72ebcd.entry.js +2 -0
  258. package/dist/core/{p-94119ad4.entry.js → p-8cd7a120.entry.js} +2 -2
  259. package/dist/core/{p-99f192c1.entry.js → p-8f469270.entry.js} +2 -2
  260. package/dist/core/{p-564555e6.entry.js → p-947804a8.entry.js} +2 -2
  261. package/dist/core/p-979ff58c.entry.js +2 -0
  262. package/dist/core/p-979ff58c.entry.js.map +1 -0
  263. package/dist/core/{p-5242b51b.entry.js → p-981f217e.entry.js} +2 -2
  264. package/dist/core/p-9c1f3e9e.entry.js +2 -0
  265. package/dist/core/p-9c1f3e9e.entry.js.map +1 -0
  266. package/dist/core/{p-ab11081d.entry.js → p-a1c825f3.entry.js} +2 -2
  267. package/dist/core/p-a440365f.entry.js +2 -0
  268. package/dist/core/p-a440365f.entry.js.map +1 -0
  269. package/dist/core/p-a70c7959.entry.js +2 -0
  270. package/dist/core/{p-1cf1dd10.entry.js.map → p-a70c7959.entry.js.map} +1 -1
  271. package/dist/core/{p-59fe6cbc.entry.js → p-a8a7ae96.entry.js} +2 -2
  272. package/dist/core/p-aacafa40.entry.js +2 -0
  273. package/dist/core/{p-e89471ef.entry.js.map → p-aacafa40.entry.js.map} +1 -1
  274. package/dist/core/{p-a02f2547.entry.js → p-aeaba3ef.entry.js} +2 -2
  275. package/dist/core/p-b87e5429.entry.js +2 -0
  276. package/dist/core/p-b87e5429.entry.js.map +1 -0
  277. package/dist/core/p-b9f1c2ef.entry.js +2 -0
  278. package/dist/core/{p-3d7fb8f8.entry.js.map → p-b9f1c2ef.entry.js.map} +1 -1
  279. package/dist/core/p-bca478fd.entry.js +2 -0
  280. package/dist/core/{p-f98f19f6.entry.js.map → p-bca478fd.entry.js.map} +1 -1
  281. package/dist/core/p-be086357.js +2 -0
  282. package/dist/core/p-bea685cb.entry.js +2 -0
  283. package/dist/core/{p-49cd4d0d.entry.js.map → p-bea685cb.entry.js.map} +1 -1
  284. package/dist/core/{p-c07f6bb4.entry.js → p-c1584cfe.entry.js} +2 -2
  285. package/dist/core/p-c5a49469.entry.js +2 -0
  286. package/dist/core/{p-650fe9e8.entry.js.map → p-c5a49469.entry.js.map} +1 -1
  287. package/dist/core/{p-eb8a9705.entry.js → p-c88d8659.entry.js} +2 -2
  288. package/dist/core/p-cba1ebca.entry.js +2 -0
  289. package/dist/core/{p-16d3a79a.entry.js.map → p-cba1ebca.entry.js.map} +1 -1
  290. package/dist/core/p-ccb64e4e.entry.js +2 -0
  291. package/dist/core/p-d383f977.entry.js +2 -0
  292. package/dist/core/p-d990aae8.entry.js +2 -0
  293. package/dist/core/p-ddb3772f.entry.js +2 -0
  294. package/dist/core/{p-46ecf09e.entry.js.map → p-ddb3772f.entry.js.map} +1 -1
  295. package/dist/core/{p-ae88fe6b.entry.js → p-e2655cb7.entry.js} +2 -2
  296. package/dist/core/{p-3acaa012.entry.js → p-e29c9924.entry.js} +2 -2
  297. package/dist/core/p-ead1f58d.entry.js +2 -0
  298. package/dist/core/{p-f0e001c7.entry.js.map → p-ead1f58d.entry.js.map} +1 -1
  299. package/dist/core/{p-ee950038.entry.js → p-f83b3b08.entry.js} +2 -2
  300. package/dist/esm/{array.utils-85696abd.js → array.utils-3b213795.js} +2 -2
  301. package/dist/esm/{array.utils-85696abd.js.map → array.utils-3b213795.js.map} +1 -1
  302. package/dist/esm/core.js +1 -1
  303. package/dist/esm/gov-attachments_3.entry.js +3 -3
  304. package/dist/esm/gov-backdrop.entry.js +2 -2
  305. package/dist/esm/gov-banner.entry.js +21 -20
  306. package/dist/esm/gov-banner.entry.js.map +1 -1
  307. package/dist/esm/gov-blockquote.entry.js +1 -1
  308. package/dist/esm/gov-blockquote.entry.js.map +1 -1
  309. package/dist/esm/gov-breadcrumbs.entry.js +3 -3
  310. package/dist/esm/gov-button.entry.js +5 -5
  311. package/dist/esm/gov-card.entry.js +11 -3
  312. package/dist/esm/gov-card.entry.js.map +1 -1
  313. package/dist/esm/gov-chip.entry.js +2 -2
  314. package/dist/esm/gov-container.entry.js +1 -1
  315. package/dist/esm/gov-control-group.entry.js +1 -1
  316. package/dist/esm/gov-cookiebar.entry.js +1 -1
  317. package/dist/esm/gov-dialog.entry.js +3 -3
  318. package/dist/esm/gov-dropdown.entry.js +1 -1
  319. package/dist/esm/gov-empty.entry.js +1 -1
  320. package/dist/esm/gov-error-code.entry.js +1 -1
  321. package/dist/esm/gov-flex_3.entry.js +3 -3
  322. package/dist/esm/gov-form-autocomplete.entry.js +3 -3
  323. package/dist/esm/gov-form-checkbox-group.entry.js +3 -3
  324. package/dist/esm/gov-form-control.entry.js +1 -1
  325. package/dist/esm/gov-form-file.entry.js +1 -1
  326. package/dist/esm/gov-form-group.entry.js +1 -1
  327. package/dist/esm/gov-form-input_2.entry.js +6 -6
  328. package/dist/esm/gov-form-label.entry.js +1 -1
  329. package/dist/esm/gov-form-multi-select.entry.js +4 -4
  330. package/dist/esm/gov-form-password-power.entry.js +1 -1
  331. package/dist/esm/gov-form-radio-group.entry.js +1 -1
  332. package/dist/esm/gov-form-range.entry.js +203 -0
  333. package/dist/esm/gov-form-range.entry.js.map +1 -0
  334. package/dist/esm/gov-form-search.entry.js +1 -1
  335. package/dist/esm/gov-form-select.entry.js +4 -4
  336. package/dist/esm/gov-grid-item.entry.js +1 -1
  337. package/dist/esm/gov-grid.entry.js +1 -1
  338. package/dist/esm/gov-infobar.entry.js +2 -2
  339. package/dist/esm/gov-layout-column.entry.js +1 -1
  340. package/dist/esm/gov-layout.entry.js +1 -1
  341. package/dist/esm/gov-lifecycle.entry.js +1 -1
  342. package/dist/esm/gov-link.entry.js +2 -1
  343. package/dist/esm/gov-link.entry.js.map +1 -1
  344. package/dist/esm/gov-loading.entry.js +1 -1
  345. package/dist/esm/gov-message.entry.js +1 -1
  346. package/dist/esm/gov-pagination.entry.js +2 -2
  347. package/dist/esm/gov-spacer.entry.js +1 -1
  348. package/dist/esm/gov-stepper-item.entry.js +1 -1
  349. package/dist/esm/gov-stepper.entry.js +1 -1
  350. package/dist/esm/gov-tabs-item.entry.js +1 -1
  351. package/dist/esm/gov-tabs.entry.js +2 -2
  352. package/dist/esm/gov-tag.entry.js +1 -1
  353. package/dist/esm/gov-tile.entry.js +1 -1
  354. package/dist/esm/gov-toast.entry.js +1 -1
  355. package/dist/esm/gov-tooltip-content.entry.js +1 -1
  356. package/dist/esm/gov-tooltip.entry.js +2 -2
  357. package/dist/esm/gov-wizard-item.entry.js +2 -2
  358. package/dist/esm/gov-wizard.entry.js +3 -3
  359. package/dist/esm/{helpers.types-43ddbdb8.js → helpers.types-fe2f0447.js} +3 -2
  360. package/dist/esm/helpers.types-fe2f0447.js.map +1 -0
  361. package/dist/esm/index-bf8a6f64.js +4 -0
  362. package/dist/esm/loader.js +1 -1
  363. package/dist/esm/{wcag-253a4421.js → wcag-bd11d341.js} +2 -2
  364. package/dist/esm/{wcag-253a4421.js.map → wcag-bd11d341.js.map} +1 -1
  365. package/dist/hydrate/index.js +313 -86
  366. package/dist/hydrate/index.mjs +313 -86
  367. package/dist/stencil.config.js +1 -1
  368. package/dist/stencil.config.js.map +1 -1
  369. package/dist/types/components/gov-banner/gov-banner.d.ts +4 -14
  370. package/dist/types/components/gov-card/gov-card.d.ts +10 -0
  371. package/dist/types/components/gov-form/range/constants.d.ts +9 -0
  372. package/dist/types/components/gov-form/range/gov-form-range.d.ts +116 -0
  373. package/dist/types/components/gov-link/gov-link.d.ts +4 -0
  374. package/dist/types/components.d.ts +200 -22
  375. package/package.json +1 -1
  376. package/dist/cjs/helpers.types-ff60c9bd.js.map +0 -1
  377. package/dist/collection/components/gov-blocquote/constants.js.map +0 -1
  378. package/dist/collection/components/gov-blocquote/gov-blockquote.js.map +0 -1
  379. package/dist/components/p-2aedc81e.js +0 -2
  380. package/dist/components/p-2aedc81e.js.map +0 -1
  381. package/dist/components/p-80dad64b.js +0 -2
  382. package/dist/components/p-ded281e6.js +0 -2
  383. package/dist/components/p-f9a1ff6e.js +0 -2
  384. package/dist/core/p-005214d1.entry.js +0 -2
  385. package/dist/core/p-0fc9ea97.entry.js +0 -2
  386. package/dist/core/p-16d3a79a.entry.js +0 -2
  387. package/dist/core/p-16f44a0b.entry.js +0 -2
  388. package/dist/core/p-1c7c9144.entry.js +0 -2
  389. package/dist/core/p-1cf1dd10.entry.js +0 -2
  390. package/dist/core/p-23b4dcd3.entry.js +0 -2
  391. package/dist/core/p-28d1bc01.entry.js +0 -2
  392. package/dist/core/p-29ac15d2.js +0 -2
  393. package/dist/core/p-2aedc81e.js +0 -2
  394. package/dist/core/p-2aedc81e.js.map +0 -1
  395. package/dist/core/p-3d7fb8f8.entry.js +0 -2
  396. package/dist/core/p-46ecf09e.entry.js +0 -2
  397. package/dist/core/p-49cd4d0d.entry.js +0 -2
  398. package/dist/core/p-650fe9e8.entry.js +0 -2
  399. package/dist/core/p-6e41cf69.entry.js +0 -2
  400. package/dist/core/p-7399ad59.entry.js +0 -2
  401. package/dist/core/p-79ec86da.entry.js +0 -2
  402. package/dist/core/p-80bebb7f.entry.js +0 -2
  403. package/dist/core/p-8cbe8add.entry.js +0 -2
  404. package/dist/core/p-8f73f8e0.entry.js +0 -2
  405. package/dist/core/p-952ab9e5.entry.js +0 -2
  406. package/dist/core/p-9c1601b3.entry.js +0 -2
  407. package/dist/core/p-c2abc031.entry.js +0 -2
  408. package/dist/core/p-c688349d.entry.js +0 -2
  409. package/dist/core/p-c6fdc0a9.entry.js +0 -2
  410. package/dist/core/p-c6fdc0a9.entry.js.map +0 -1
  411. package/dist/core/p-c91512dd.entry.js +0 -2
  412. package/dist/core/p-cf9d5c2f.entry.js +0 -2
  413. package/dist/core/p-cf9d5c2f.entry.js.map +0 -1
  414. package/dist/core/p-d1270d72.entry.js +0 -2
  415. package/dist/core/p-d1270d72.entry.js.map +0 -1
  416. package/dist/core/p-d141e9ca.entry.js +0 -2
  417. package/dist/core/p-d141e9ca.entry.js.map +0 -1
  418. package/dist/core/p-de852480.entry.js +0 -2
  419. package/dist/core/p-ded281e6.js +0 -2
  420. package/dist/core/p-e89471ef.entry.js +0 -2
  421. package/dist/core/p-f0e001c7.entry.js +0 -2
  422. package/dist/core/p-f333c673.entry.js +0 -2
  423. package/dist/core/p-f7e47c0a.entry.js +0 -2
  424. package/dist/core/p-f98f19f6.entry.js +0 -2
  425. package/dist/esm/helpers.types-43ddbdb8.js.map +0 -1
  426. /package/dist/collection/components/{gov-blocquote → gov-blockquote}/constants.js +0 -0
  427. /package/dist/components/{p-73938936.js.map → p-022e49cf.js.map} +0 -0
  428. /package/dist/components/{p-80dad64b.js.map → p-10cad7f1.js.map} +0 -0
  429. /package/dist/components/{p-b533871a.js.map → p-313b4611.js.map} +0 -0
  430. /package/dist/components/{p-3fead64a.js.map → p-5a861cd2.js.map} +0 -0
  431. /package/dist/components/{p-0327a469.js.map → p-5b0934a8.js.map} +0 -0
  432. /package/dist/components/{p-3c90521b.js.map → p-5d60b866.js.map} +0 -0
  433. /package/dist/components/{p-69a31c96.js.map → p-6ce6e14f.js.map} +0 -0
  434. /package/dist/components/{p-2fc08a71.js.map → p-7fb16042.js.map} +0 -0
  435. /package/dist/components/{p-ded281e6.js.map → p-be086357.js.map} +0 -0
  436. /package/dist/components/{p-4fba9df0.js.map → p-d3435179.js.map} +0 -0
  437. /package/dist/components/{p-f9a1ff6e.js.map → p-de989dfe.js.map} +0 -0
  438. /package/dist/components/{p-7be2301a.js.map → p-e0c3b1a7.js.map} +0 -0
  439. /package/dist/components/{p-b5dc6bae.js.map → p-f9b1a12b.js.map} +0 -0
  440. /package/dist/core/{p-7399ad59.entry.js.map → p-0c393d2f.entry.js.map} +0 -0
  441. /package/dist/core/{p-9c1601b3.entry.js.map → p-16ece889.entry.js.map} +0 -0
  442. /package/dist/core/{p-1c7c9144.entry.js.map → p-171e2a2f.entry.js.map} +0 -0
  443. /package/dist/core/{p-23b4dcd3.entry.js.map → p-25615325.entry.js.map} +0 -0
  444. /package/dist/core/{p-132c9a87.entry.js.map → p-2a7bcce0.entry.js.map} +0 -0
  445. /package/dist/core/{p-f120ba66.entry.js.map → p-2f966102.entry.js.map} +0 -0
  446. /package/dist/core/{p-9ae280b2.entry.js.map → p-3583dcf7.entry.js.map} +0 -0
  447. /package/dist/core/{p-8cbe8add.entry.js.map → p-3b2267a1.entry.js.map} +0 -0
  448. /package/dist/core/{p-de852480.entry.js.map → p-4216d8f3.entry.js.map} +0 -0
  449. /package/dist/core/{p-80bebb7f.entry.js.map → p-44c912e2.entry.js.map} +0 -0
  450. /package/dist/core/{p-952ab9e5.entry.js.map → p-4d5f768f.entry.js.map} +0 -0
  451. /package/dist/core/{p-f333c673.entry.js.map → p-52c74fc5.entry.js.map} +0 -0
  452. /package/dist/core/{p-0fc9ea97.entry.js.map → p-548806cb.entry.js.map} +0 -0
  453. /package/dist/core/{p-ab868410.entry.js.map → p-5fa4965e.entry.js.map} +0 -0
  454. /package/dist/core/{p-29ac15d2.js.map → p-6d54ce5f.js.map} +0 -0
  455. /package/dist/core/{p-c688349d.entry.js.map → p-6f74eb08.entry.js.map} +0 -0
  456. /package/dist/core/{p-5108eb37.entry.js.map → p-75dae924.entry.js.map} +0 -0
  457. /package/dist/core/{p-005214d1.entry.js.map → p-774ea182.entry.js.map} +0 -0
  458. /package/dist/core/{p-79ec86da.entry.js.map → p-843f980a.entry.js.map} +0 -0
  459. /package/dist/core/{p-c91512dd.entry.js.map → p-8a72ebcd.entry.js.map} +0 -0
  460. /package/dist/core/{p-94119ad4.entry.js.map → p-8cd7a120.entry.js.map} +0 -0
  461. /package/dist/core/{p-99f192c1.entry.js.map → p-8f469270.entry.js.map} +0 -0
  462. /package/dist/core/{p-564555e6.entry.js.map → p-947804a8.entry.js.map} +0 -0
  463. /package/dist/core/{p-5242b51b.entry.js.map → p-981f217e.entry.js.map} +0 -0
  464. /package/dist/core/{p-ab11081d.entry.js.map → p-a1c825f3.entry.js.map} +0 -0
  465. /package/dist/core/{p-59fe6cbc.entry.js.map → p-a8a7ae96.entry.js.map} +0 -0
  466. /package/dist/core/{p-a02f2547.entry.js.map → p-aeaba3ef.entry.js.map} +0 -0
  467. /package/dist/core/{p-ded281e6.js.map → p-be086357.js.map} +0 -0
  468. /package/dist/core/{p-c07f6bb4.entry.js.map → p-c1584cfe.entry.js.map} +0 -0
  469. /package/dist/core/{p-eb8a9705.entry.js.map → p-c88d8659.entry.js.map} +0 -0
  470. /package/dist/core/{p-6e41cf69.entry.js.map → p-ccb64e4e.entry.js.map} +0 -0
  471. /package/dist/core/{p-c2abc031.entry.js.map → p-d383f977.entry.js.map} +0 -0
  472. /package/dist/core/{p-8f73f8e0.entry.js.map → p-d990aae8.entry.js.map} +0 -0
  473. /package/dist/core/{p-ae88fe6b.entry.js.map → p-e2655cb7.entry.js.map} +0 -0
  474. /package/dist/core/{p-3acaa012.entry.js.map → p-e29c9924.entry.js.map} +0 -0
  475. /package/dist/core/{p-ee950038.entry.js.map → p-f83b3b08.entry.js.map} +0 -0
  476. /package/dist/types/components/{gov-blocquote → gov-blockquote}/constants.d.ts +0 -0
  477. /package/dist/types/components/{gov-blocquote → gov-blockquote}/gov-blockquote.d.ts +0 -0
@@ -6,35 +6,35 @@ class MessagePage extends HTMLElement {
6
6
  <gov-message color="primary" type="bold">
7
7
  <gov-icon name="lightbulb-fill" size="l" slot="icon"></gov-icon>
8
8
  <p>
9
- Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href="#">zde</a>.
9
+ Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href="#">zde</a>.
10
10
  </p>
11
11
  </gov-message>
12
12
  <br>
13
13
  <gov-message color="neutral" type="bold">
14
14
  <gov-icon name="lightbulb-fill" size="l" slot="icon"></gov-icon>
15
15
  <p>
16
- Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href="#">zde</a>.
16
+ Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href="#">zde</a>.
17
17
  </p>
18
18
  </gov-message>
19
19
  <br>
20
20
  <gov-message color="error" type="bold">
21
21
  <gov-icon name="lightbulb-fill" size="l" slot="icon"></gov-icon>
22
22
  <p>
23
- Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href="#">zde</a>.
23
+ Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href="#">zde</a>.
24
24
  </p>
25
25
  </gov-message>
26
26
  <br>
27
27
  <gov-message color="success" type="bold">
28
28
  <gov-icon name="lightbulb-fill" size="l" slot="icon"></gov-icon>
29
29
  <p>
30
- Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href="#">zde</a>.
30
+ Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href="#">zde</a>.
31
31
  </p>
32
32
  </gov-message>
33
33
  <br>
34
34
  <gov-message color="warning" type="bold">
35
35
  <gov-icon name="lightbulb-fill" size="l" slot="icon"></gov-icon>
36
36
  <p>
37
- Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href="#">zde</a>.
37
+ Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href="#">zde</a>.
38
38
  </p>
39
39
  </gov-message>
40
40
  <br><br>
@@ -42,35 +42,35 @@ class MessagePage extends HTMLElement {
42
42
  <gov-message color="primary" type="subtle">
43
43
  <gov-icon name="lightbulb-fill" size="l" slot="icon"></gov-icon>
44
44
  <p>
45
- Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href="#">zde</a>.
45
+ Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href="#">zde</a>.
46
46
  </p>
47
47
  </gov-message>
48
48
  <br>
49
49
  <gov-message color="neutral" type="subtle">
50
50
  <gov-icon name="lightbulb-fill" size="l" slot="icon"></gov-icon>
51
51
  <p>
52
- Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href="#">zde</a>.
52
+ Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href="#">zde</a>.
53
53
  </p>
54
54
  </gov-message>
55
55
  <br>
56
56
  <gov-message color="error" type="subtle">
57
57
  <gov-icon name="lightbulb-fill" size="l" slot="icon"></gov-icon>
58
58
  <p>
59
- Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href="#">zde</a>.
59
+ Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href="#">zde</a>.
60
60
  </p>
61
61
  </gov-message>
62
62
  <br>
63
63
  <gov-message color="success" type="subtle">
64
64
  <gov-icon name="lightbulb-fill" size="l" slot="icon"></gov-icon>
65
65
  <p>
66
- Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href="#">zde</a>.
66
+ Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href="#">zde</a>.
67
67
  </p>
68
68
  </gov-message>
69
69
  <br>
70
70
  <gov-message color="warning" type="subtle">
71
71
  <gov-icon name="lightbulb-fill" size="l" slot="icon"></gov-icon>
72
72
  <p>
73
- Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href="#">zde</a>.
73
+ Font awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href="#">zde</a>.
74
74
  </p>
75
75
  </gov-message>
76
76
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"Message.js","sourceRoot":"","sources":["../../../../../src/pages/Message.ts"],"names":[],"mappings":"AAAA,MAAM,WAAY,SAAQ,WAAW;IACpC,iBAAiB;QAChB,IAAI,CAAC,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyEf,CAAA;IACH,CAAC;CACD;AAED,IAAI,cAAc,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,EAAE,CAAC;IACtD,cAAc,CAAC,MAAM,CAAC,cAAc,EAAE,WAAW,CAAC,CAAA;AACnD,CAAC","sourcesContent":["class MessagePage extends HTMLElement {\n\tconnectedCallback() {\n\t\tthis.innerHTML = `\n\t\t<h2>Content Message</h2>\n\t\t<h3>Bold</h3>\n\t\t<gov-message color=\"primary\" type=\"bold\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"neutral\" type=\"bold\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"error\" type=\"bold\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"success\" type=\"bold\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"warning\" type=\"bold\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br><br>\n\t\t<h3>Subtle</h3>\n\t\t<gov-message color=\"primary\" type=\"subtle\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"neutral\" type=\"subtle\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"error\" type=\"subtle\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"success\" type=\"subtle\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"warning\" type=\"subtle\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více lightbulb-fillrmací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t\t`\n\t}\n}\n\nif (customElements.get('message-page') === undefined) {\n\tcustomElements.define('message-page', MessagePage)\n}\n"]}
1
+ {"version":3,"file":"Message.js","sourceRoot":"","sources":["../../../../../src/pages/Message.ts"],"names":[],"mappings":"AAAA,MAAM,WAAY,SAAQ,WAAW;IACpC,iBAAiB;QAChB,IAAI,CAAC,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyEf,CAAA;IACH,CAAC;CACD;AAED,IAAI,cAAc,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,EAAE,CAAC;IACtD,cAAc,CAAC,MAAM,CAAC,cAAc,EAAE,WAAW,CAAC,CAAA;AACnD,CAAC","sourcesContent":["class MessagePage extends HTMLElement {\n\tconnectedCallback() {\n\t\tthis.innerHTML = `\n\t\t<h2>Content Message</h2>\n\t\t<h3>Bold</h3>\n\t\t<gov-message color=\"primary\" type=\"bold\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"neutral\" type=\"bold\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"error\" type=\"bold\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"success\" type=\"bold\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"warning\" type=\"bold\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br><br>\n\t\t<h3>Subtle</h3>\n\t\t<gov-message color=\"primary\" type=\"subtle\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"neutral\" type=\"subtle\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"error\" type=\"subtle\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"success\" type=\"subtle\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t<br>\n\t\t<gov-message color=\"warning\" type=\"subtle\">\n\t\t\t<gov-icon name=\"lightbulb-fill\" size=\"l\" slot=\"icon\"></gov-icon>\n\t\t\t<p>\n\t\t\t\tFont awesome. Default - Od 20. 12. 2020 do 14:00 h do 20.&nbsp;12. 2020 do 15:00 h bude provedena plánovaná odstávka serverů. V&nbsp;uvedeném termínu bude nedostupné přihlášení k&nbsp;Portálu občana prostřednictvím datové schránky. Více informací <a href=\"#\">zde</a>.\n\t\t\t</p>\n\t\t</gov-message>\n\t\t\t`\n\t}\n}\n\nif (customElements.get('message-page') === undefined) {\n\tcustomElements.define('message-page', MessagePage)\n}\n"]}
@@ -49,6 +49,13 @@ class TypographyPage extends HTMLElement {
49
49
  <gov-icon slot="icon-end" name="telephone" size="m"></gov-icon>
50
50
  </gov-link><br>
51
51
  </div>
52
+ <div style="width: 300px;">
53
+ <gov-link href="#" size="m" truncate external>
54
+ <gov-icon slot="icon-start" name="caret-right-fill" size="m"></gov-icon>
55
+ Se dvěma ikonami Se dvěma ikonami Se dvěma ikonami Se dvěma ikonami
56
+ <gov-icon slot="icon-end" name="telephone" size="m"></gov-icon>
57
+ </gov-link><br>
58
+ </div>
52
59
  <gov-link href="#" target="_blank" external size="s">Externí</gov-link>
53
60
  <br>
54
61
  <gov-link href="#" size="m" external>
@@ -1 +1 @@
1
- {"version":3,"file":"Typography.js","sourceRoot":"","sources":["../../../../../src/pages/Typography.ts"],"names":[],"mappings":"AAAA,MAAM,cAAe,SAAQ,WAAW;IACvC,iBAAiB;QAChB,IAAI,CAAC,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiJhB,CAAA;IACF,CAAC;CACD;AAED,IAAI,cAAc,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,SAAS,EAAE,CAAC;IACzD,cAAc,CAAC,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAA;AACzD,CAAC","sourcesContent":["class TypographyPage extends HTMLElement {\n\tconnectedCallback() {\n\t\tthis.innerHTML = `\n\t\t\t<p class=\"gov-text--display-l\">Display L</p>\n\t\t\t<p class=\"gov-text--display-m\">Display M</p>\n\t\t\t<p class=\"gov-text--display-s\">Display S</p>\n\t\t\t<p class=\"gov-text--headline-xl\">Headline XL</p>\n\t\t\t<p class=\"gov-text--headline-l\">Headline L</p>\n\t\t\t<p class=\"gov-text--headline-m\">Headline M</p>\n\t\t\t<p class=\"gov-text--headline-s\">Headline S</p>\n\t\t\t<p class=\"gov-text--headline-xs\">Headline XS</p>\n\t\t\t<p class=\"gov-text--body-xl\">Body XL</p>\n\t\t\t<p class=\"gov-text--body-l\">Body L</p>\n\t\t\t<p class=\"gov-text--body-m\">Body M</p>\n\t\t\t<p class=\"gov-text--body-s\">Body S</p>\n\t\t\t<p class=\"gov-text--body-xs\">Body XS</p>\n\t\t\t<p class=\"gov-text--body-xl-bold\">Body XL bold</p>\n\t\t\t<p class=\"gov-text--body-l-bold\">Body L bold</p>\n\t\t\t<p class=\"gov-text--body-m-bold\">Body M bold</p>\n\t\t\t<p class=\"gov-text--body-s-bold\">Body S bold</p>\n\t\t\t<p class=\"gov-text--body-xs-bold\">Body XS bold</p>\n\t\t\t<br><br>\n\n\t\t\t<h2>Link</h2>\n\t\t\t<gov-link href=\"#\" size=\"s\">Velikost S</gov-link><br>\n\t\t\t<gov-link href=\"#\" size=\"m\">Velikost M</gov-link><br>\n\t\t\t<gov-link href=\"#\" size=\"l\">Velikost L</gov-link><br>\n\t\t\t<br>\n\t\t\t<gov-link href=\"#\" size=\"s\">\n\t\t\t\t<gov-icon slot=\"icon-start\" name=\"bookmarks\" size=\"m\"></gov-icon>\n\t\t\t\tS ikonou vlevo\n\t\t\t</gov-link><br>\n\t\t\t<gov-link href=\"#\" size=\"m\">\n\t\t\t\t<gov-icon slot=\"icon-start\" name=\"bookmarks\" size=\"m\"></gov-icon>\n\t\t\t\tS ikonou vlevo\n\t\t\t</gov-link><br>\n\t\t\t<gov-link href=\"#\" size=\"l\">\n\t\t\t\t<gov-icon slot=\"icon-start\" name=\"bookmarks\" size=\"m\"></gov-icon>\n\t\t\t\tS ikonou vlevo\n\t\t\t</gov-link><br>\n\t\t\t<gov-link href=\"#\" size=\"m\">\n\t\t\t\tS ikonou vpravo\n\t\t\t\t<gov-icon slot=\"icon-end\" name=\"geo-alt-fill\" size=\"m\"></gov-icon>\n\t\t\t</gov-link><br>\n\t\t\t<div style=\"width: 300px;\">\n\t\t\t<gov-link href=\"#\" size=\"m\" external>\n\t\t\t\t<gov-icon slot=\"icon-start\" name=\"caret-right-fill\" size=\"m\"></gov-icon>\n\t\t\t\tSe dvěma ikonami Se dvěma ikonami Se dvěma ikonami Se dvěma ikonami\n\t\t\t\t<gov-icon slot=\"icon-end\" name=\"telephone\" size=\"m\"></gov-icon>\n\t\t\t</gov-link><br>\n\t\t\t</div>\n\t\t\t<gov-link href=\"#\" target=\"_blank\" external size=\"s\">Externí</gov-link>\n\t\t\t<br>\n\t\t\t<gov-link href=\"#\" size=\"m\" external>\n\t\t\t\tExternal s ikonou vpravo\n\t\t\t\t<gov-icon slot=\"icon-end\" name=\"geo-alt-fill\" size=\"m\"></gov-icon>\n\t\t\t</gov-link>\n\t\t\t<br><br>\n\t\t\t<p>\n\t\t\t\t<a class=\"gov-text--body-xs\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-s\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-m\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-l\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-xl\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-xs-bold\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-s-bold\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-m-bold\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-l-bold\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-xl-bold\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t</p>\n\n\t\t\t<ul>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines\n\t\t\t\t\t<ul>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines\n\t\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t</ul>\n\t\t\t<br><br>\n\t\t\t<ul>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines\n\t\t\t\t<ul class=\"gov-list--inline\">\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines\n\t\t\t\t\t<ul class=\"gov-list--inline gov-list--plain\">\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t</ul>\n\t\t\t<br><br>\n\t\t\t<ol>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines\n\t\t\t\t\t<ul>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines\n\t\t\t\t\t\t\t<ol>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t</ol>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t</ol>\n\n\t\t\t<h1>Heading 1 Heading 1 Heading 1</h1>\n\t\t\t<h2>Heading 2 Heading 2 Heading 2</h2>\n\t\t\t<p>A lead <a href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a> . Body 1/400 A lead paragraph with no more than four lines. Body 1/400 A lead paragraph with no more than four lines</p>\n\t\t\t<h4 class=\"gov-text--headline-l\">Heading 2 Heading 2 Heading 2</h4>\n\t\t\t<h3>Heading 3 Heading 3 Heading 3</h3>\n\t\t\t<p>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</p>\n\t\t\t<h4>Heading 4 Heading 4 Heading 4</h4>\n\t\t\t<p>A lead paragraph with no more than four lines. Body 1/400 A lead paragraph with no more than four lines. Body 1/400 A lead paragraph with no more than four lines</p>\n\t\t\t<h5>Heading 5 Heading 5 Heading 5</h5>\n\t\t\t<p>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</p>\n\t\t\t<h6>Heading 6 Heading 6 Heading 6</h6>\n\t\t\t<p>This is for body copy in components such as accordion, structured list or tile. This is for body copy in components such as accordion, structured list or tile.</p>\n\t\t\t<p></p><small>Small<br />This is for explanatory helper text that appears below a field</small></p>\n\t\t`\n\t}\n}\n\nif (customElements.get('typography-page') === undefined) {\n\tcustomElements.define('typography-page', TypographyPage)\n}\n"]}
1
+ {"version":3,"file":"Typography.js","sourceRoot":"","sources":["../../../../../src/pages/Typography.ts"],"names":[],"mappings":"AAAA,MAAM,cAAe,SAAQ,WAAW;IACvC,iBAAiB;QAChB,IAAI,CAAC,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwJhB,CAAA;IACF,CAAC;CACD;AAED,IAAI,cAAc,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,SAAS,EAAE,CAAC;IACzD,cAAc,CAAC,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAA;AACzD,CAAC","sourcesContent":["class TypographyPage extends HTMLElement {\n\tconnectedCallback() {\n\t\tthis.innerHTML = `\n\t\t\t<p class=\"gov-text--display-l\">Display L</p>\n\t\t\t<p class=\"gov-text--display-m\">Display M</p>\n\t\t\t<p class=\"gov-text--display-s\">Display S</p>\n\t\t\t<p class=\"gov-text--headline-xl\">Headline XL</p>\n\t\t\t<p class=\"gov-text--headline-l\">Headline L</p>\n\t\t\t<p class=\"gov-text--headline-m\">Headline M</p>\n\t\t\t<p class=\"gov-text--headline-s\">Headline S</p>\n\t\t\t<p class=\"gov-text--headline-xs\">Headline XS</p>\n\t\t\t<p class=\"gov-text--body-xl\">Body XL</p>\n\t\t\t<p class=\"gov-text--body-l\">Body L</p>\n\t\t\t<p class=\"gov-text--body-m\">Body M</p>\n\t\t\t<p class=\"gov-text--body-s\">Body S</p>\n\t\t\t<p class=\"gov-text--body-xs\">Body XS</p>\n\t\t\t<p class=\"gov-text--body-xl-bold\">Body XL bold</p>\n\t\t\t<p class=\"gov-text--body-l-bold\">Body L bold</p>\n\t\t\t<p class=\"gov-text--body-m-bold\">Body M bold</p>\n\t\t\t<p class=\"gov-text--body-s-bold\">Body S bold</p>\n\t\t\t<p class=\"gov-text--body-xs-bold\">Body XS bold</p>\n\t\t\t<br><br>\n\n\t\t\t<h2>Link</h2>\n\t\t\t<gov-link href=\"#\" size=\"s\">Velikost S</gov-link><br>\n\t\t\t<gov-link href=\"#\" size=\"m\">Velikost M</gov-link><br>\n\t\t\t<gov-link href=\"#\" size=\"l\">Velikost L</gov-link><br>\n\t\t\t<br>\n\t\t\t<gov-link href=\"#\" size=\"s\">\n\t\t\t\t<gov-icon slot=\"icon-start\" name=\"bookmarks\" size=\"m\"></gov-icon>\n\t\t\t\tS ikonou vlevo\n\t\t\t</gov-link><br>\n\t\t\t<gov-link href=\"#\" size=\"m\">\n\t\t\t\t<gov-icon slot=\"icon-start\" name=\"bookmarks\" size=\"m\"></gov-icon>\n\t\t\t\tS ikonou vlevo\n\t\t\t</gov-link><br>\n\t\t\t<gov-link href=\"#\" size=\"l\">\n\t\t\t\t<gov-icon slot=\"icon-start\" name=\"bookmarks\" size=\"m\"></gov-icon>\n\t\t\t\tS ikonou vlevo\n\t\t\t</gov-link><br>\n\t\t\t<gov-link href=\"#\" size=\"m\">\n\t\t\t\tS ikonou vpravo\n\t\t\t\t<gov-icon slot=\"icon-end\" name=\"geo-alt-fill\" size=\"m\"></gov-icon>\n\t\t\t</gov-link><br>\n\t\t\t<div style=\"width: 300px;\">\n\t\t\t<gov-link href=\"#\" size=\"m\" external>\n\t\t\t\t<gov-icon slot=\"icon-start\" name=\"caret-right-fill\" size=\"m\"></gov-icon>\n\t\t\t\tSe dvěma ikonami Se dvěma ikonami Se dvěma ikonami Se dvěma ikonami\n\t\t\t\t<gov-icon slot=\"icon-end\" name=\"telephone\" size=\"m\"></gov-icon>\n\t\t\t</gov-link><br>\n\t\t\t</div>\n\t\t\t<div style=\"width: 300px;\">\n\t\t\t<gov-link href=\"#\" size=\"m\" truncate external>\n\t\t\t\t<gov-icon slot=\"icon-start\" name=\"caret-right-fill\" size=\"m\"></gov-icon>\n\t\t\t\tSe dvěma ikonami Se dvěma ikonami Se dvěma ikonami Se dvěma ikonami\n\t\t\t\t<gov-icon slot=\"icon-end\" name=\"telephone\" size=\"m\"></gov-icon>\n\t\t\t</gov-link><br>\n\t\t\t</div>\n\t\t\t<gov-link href=\"#\" target=\"_blank\" external size=\"s\">Externí</gov-link>\n\t\t\t<br>\n\t\t\t<gov-link href=\"#\" size=\"m\" external>\n\t\t\t\tExternal s ikonou vpravo\n\t\t\t\t<gov-icon slot=\"icon-end\" name=\"geo-alt-fill\" size=\"m\"></gov-icon>\n\t\t\t</gov-link>\n\t\t\t<br><br>\n\t\t\t<p>\n\t\t\t\t<a class=\"gov-text--body-xs\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-s\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-m\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-l\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-xl\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-xs-bold\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-s-bold\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-m-bold\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-l-bold\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t\t<a class=\"gov-text--body-xl-bold\" href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a><br>\n\t\t\t</p>\n\n\t\t\t<ul>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines\n\t\t\t\t\t<ul>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines\n\t\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t</ul>\n\t\t\t<br><br>\n\t\t\t<ul>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines\n\t\t\t\t<ul class=\"gov-list--inline\">\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines\n\t\t\t\t\t<ul class=\"gov-list--inline gov-list--plain\">\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t\t<li>This is commonly </li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t</ul>\n\t\t\t<br><br>\n\t\t\t<ol>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines\n\t\t\t\t\t<ul>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines\n\t\t\t\t\t\t\t<ol>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t\t\t\t</ol>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t\t<li>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</li>\n\t\t\t</ol>\n\n\t\t\t<h1>Heading 1 Heading 1 Heading 1</h1>\n\t\t\t<h2>Heading 2 Heading 2 Heading 2</h2>\n\t\t\t<p>A lead <a href=\"#copy\" target=\"_blank\">paragraph with no more than four lines</a> . Body 1/400 A lead paragraph with no more than four lines. Body 1/400 A lead paragraph with no more than four lines</p>\n\t\t\t<h4 class=\"gov-text--headline-l\">Heading 2 Heading 2 Heading 2</h4>\n\t\t\t<h3>Heading 3 Heading 3 Heading 3</h3>\n\t\t\t<p>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</p>\n\t\t\t<h4>Heading 4 Heading 4 Heading 4</h4>\n\t\t\t<p>A lead paragraph with no more than four lines. Body 1/400 A lead paragraph with no more than four lines. Body 1/400 A lead paragraph with no more than four lines</p>\n\t\t\t<h5>Heading 5 Heading 5 Heading 5</h5>\n\t\t\t<p>This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines. This is commonly used for long paragraphs with more than four lines</p>\n\t\t\t<h6>Heading 6 Heading 6 Heading 6</h6>\n\t\t\t<p>This is for body copy in components such as accordion, structured list or tile. This is for body copy in components such as accordion, structured list or tile.</p>\n\t\t\t<p></p><small>Small<br />This is for explanatory helper text that appears below a field</small></p>\n\t\t`\n\t}\n}\n\nif (customElements.get('typography-page') === undefined) {\n\tcustomElements.define('typography-page', TypographyPage)\n}\n"]}
@@ -1,2 +1,2 @@
1
- import{p as e,H as s,c as t,h as a,d as i}from"./p-42200001.js";import{v as c}from"./p-0b3574c2.js";import{A as o,b as n,a as d}from"./p-d4509899.js";import{g as f,t as b,b as r}from"./p-ea7fdd2e.js";import{i as h}from"./p-33d5d1ed.js";import{t as m}from"./p-26618322.js";import{d as l}from"./p-3c90521b.js";const p=e(class e extends s{constructor(){super();this.__registerHost();this.govChange=t(this,"gov-change",7);this.inheritedAttributes={};this.openState=undefined;this.identifier=undefined;this.size=undefined;this.disabled=false;this.open=false;this.h=f(this.host)}validateSize(e){c(d,e,n.root)}componentWillLoad(){this.validateSize(this.size);this.inheritedAttributes=h(this.host)}componentDidRender(){m((()=>this.getPropsFromParents()))}getPropsFromParents(){const e=this.h.getParent(o.root);if(e){this.size=e.getAttribute("size")}}render(){return a(i,{key:"1beb62527ea9274e6280ce0b64c9d52c12e4a993",class:this.h.classes([n.root,this.disabled&&n.disabled]),size:this.size,role:"listitem"},a("details",{key:"53ca7688e8f26e85cd76feb073a26d04c5505d2b",class:n.details,id:this.identifier,"aria-disabled":b(this.disabled),open:this.open},a("summary",Object.assign({key:"19fec49b0066b7a6162a6010e0ee20431c2a578b",onClick:e=>{e.stopPropagation();e.preventDefault();!this.disabled&&this.toggle().finally()},class:n.summary,tabIndex:this.disabled?-1:0,"aria-expanded":r(this.open)},this.inheritedAttributes),this.h.hasSlot("icon")&&a("span",{key:"19254947c22fa2b1a2fa4e26eacb22c0c89b40c9",class:n.icon},a("slot",{key:"262be1640f250fabf9918f4162c071bb68dc4fb3",name:"icon"})),a("span",{key:"ebb5ef762ef51921b68a8063fd09c979d7d0d32d",class:n.title},a("slot",{key:"75783345d2276f06e53c401761cb4e57d241e5e0",name:"label"}),a("slot",{key:"f2d9cdff693edbcae6293921fde7996d1b1251b6",name:"annotation"})),a("span",{key:"f7e28ea54455756c7d146c7b88be7001e80b07a8",class:n.right},a("slot",{key:"e76b31bf1c349a8a86d4b91ec1cfa650a75edf60",name:"suffix"}),a("span",{key:"87ea99c9862deb3ff9820fa383cec52956b4655a",class:n.arrow},a("slot",{key:"c8b64a90455a731f359e12550664ba5aa905abbc",name:"toggle-icon"},a("gov-icon",{key:"867406c5634d6446683529f5f647492b9b289a31",name:"chevron-down",type:"components"}))))),a("div",{key:"2adf7441dd470ae1b32a08fb374cd1d9e2d1f789",class:n.content},a("slot",{key:"8eb27d0b33689933b6e71850324c35c89d71c4c0"}))))}async toggle(){this.open=!this.open;this.govChange.emit({open:this.open,component:n.root,ref:this.host})}async currentState(){return this.open}get host(){return this}static get watchers(){return{size:["validateSize"]}}},[4,"gov-accordion-item",{identifier:[1],size:[1025],disabled:[4],open:[1028],openState:[32],toggle:[64],currentState:[64]},undefined,{size:["validateSize"]}]);function u(){if(typeof customElements==="undefined"){return}const e=["gov-accordion-item","gov-icon"];e.forEach((e=>{switch(e){case"gov-accordion-item":if(!customElements.get(e)){customElements.define(e,p)}break;case"gov-icon":if(!customElements.get(e)){l()}break}}))}u();const y=p;const g=u;export{y as GovAccordionItem,g as defineCustomElement};
1
+ import{p as e,H as s,c as t,h as a,d as i}from"./p-42200001.js";import{v as c}from"./p-0b3574c2.js";import{A as o,b as n,a as d}from"./p-d4509899.js";import{g as f,t as b,b as r}from"./p-ea7fdd2e.js";import{i as h}from"./p-33d5d1ed.js";import{t as m}from"./p-26618322.js";import{d as l}from"./p-5d60b866.js";const p=e(class e extends s{constructor(){super();this.__registerHost();this.govChange=t(this,"gov-change",7);this.inheritedAttributes={};this.openState=undefined;this.identifier=undefined;this.size=undefined;this.disabled=false;this.open=false;this.h=f(this.host)}validateSize(e){c(d,e,n.root)}componentWillLoad(){this.validateSize(this.size);this.inheritedAttributes=h(this.host)}componentDidRender(){m((()=>this.getPropsFromParents()))}getPropsFromParents(){const e=this.h.getParent(o.root);if(e){this.size=e.getAttribute("size")}}render(){return a(i,{key:"1beb62527ea9274e6280ce0b64c9d52c12e4a993",class:this.h.classes([n.root,this.disabled&&n.disabled]),size:this.size,role:"listitem"},a("details",{key:"53ca7688e8f26e85cd76feb073a26d04c5505d2b",class:n.details,id:this.identifier,"aria-disabled":b(this.disabled),open:this.open},a("summary",Object.assign({key:"19fec49b0066b7a6162a6010e0ee20431c2a578b",onClick:e=>{e.stopPropagation();e.preventDefault();!this.disabled&&this.toggle().finally()},class:n.summary,tabIndex:this.disabled?-1:0,"aria-expanded":r(this.open)},this.inheritedAttributes),this.h.hasSlot("icon")&&a("span",{key:"19254947c22fa2b1a2fa4e26eacb22c0c89b40c9",class:n.icon},a("slot",{key:"262be1640f250fabf9918f4162c071bb68dc4fb3",name:"icon"})),a("span",{key:"ebb5ef762ef51921b68a8063fd09c979d7d0d32d",class:n.title},a("slot",{key:"75783345d2276f06e53c401761cb4e57d241e5e0",name:"label"}),a("slot",{key:"f2d9cdff693edbcae6293921fde7996d1b1251b6",name:"annotation"})),a("span",{key:"f7e28ea54455756c7d146c7b88be7001e80b07a8",class:n.right},a("slot",{key:"e76b31bf1c349a8a86d4b91ec1cfa650a75edf60",name:"suffix"}),a("span",{key:"87ea99c9862deb3ff9820fa383cec52956b4655a",class:n.arrow},a("slot",{key:"c8b64a90455a731f359e12550664ba5aa905abbc",name:"toggle-icon"},a("gov-icon",{key:"867406c5634d6446683529f5f647492b9b289a31",name:"chevron-down",type:"components"}))))),a("div",{key:"2adf7441dd470ae1b32a08fb374cd1d9e2d1f789",class:n.content},a("slot",{key:"8eb27d0b33689933b6e71850324c35c89d71c4c0"}))))}async toggle(){this.open=!this.open;this.govChange.emit({open:this.open,component:n.root,ref:this.host})}async currentState(){return this.open}get host(){return this}static get watchers(){return{size:["validateSize"]}}},[4,"gov-accordion-item",{identifier:[1],size:[1025],disabled:[4],open:[1028],openState:[32],toggle:[64],currentState:[64]},undefined,{size:["validateSize"]}]);function u(){if(typeof customElements==="undefined"){return}const e=["gov-accordion-item","gov-icon"];e.forEach((e=>{switch(e){case"gov-accordion-item":if(!customElements.get(e)){customElements.define(e,p)}break;case"gov-icon":if(!customElements.get(e)){l()}break}}))}u();const y=p;const g=u;export{y as GovAccordionItem,g as defineCustomElement};
2
2
  //# sourceMappingURL=gov-accordion-item.js.map
@@ -1,2 +1,2 @@
1
- import{G as o,d as s}from"./p-69a31c96.js";const t=o;const a=s;export{t as GovAttachmentsItem,a as defineCustomElement};
1
+ import{G as o,d as s}from"./p-6ce6e14f.js";const t=o;const c=s;export{t as GovAttachmentsItem,c as defineCustomElement};
2
2
  //# sourceMappingURL=gov-attachments-item.js.map
@@ -1,2 +1,2 @@
1
- import{G as o,d as s}from"./p-73938936.js";const t=o;const p=s;export{t as GovAttachments,p as defineCustomElement};
1
+ import{G as o,d as s}from"./p-022e49cf.js";const t=o;const c=s;export{t as GovAttachments,c as defineCustomElement};
2
2
  //# sourceMappingURL=gov-attachments.js.map
@@ -1,2 +1,2 @@
1
- import{G as o,d as s}from"./p-7be2301a.js";const t=o;const a=s;export{t as GovBackdrop,a as defineCustomElement};
1
+ import{G as o,d as s}from"./p-e0c3b1a7.js";const t=o;const a=s;export{t as GovBackdrop,a as defineCustomElement};
2
2
  //# sourceMappingURL=gov-backdrop.js.map
@@ -1,2 +1,2 @@
1
- import{p as e,H as t,h as s,d as o}from"./p-42200001.js";import{a as i}from"./p-80dad64b.js";import{c}from"./p-e8ec030e.js";import{g as a}from"./p-ea7fdd2e.js";import{t as n}from"./p-26618322.js";import{p as d}from"./p-e0e2e9c1.js";import{S as r}from"./p-92f420cb.js";import{v as f}from"./p-0b3574c2.js";import{d as b}from"./p-4fba9df0.js";import{d as l}from"./p-3c90521b.js";const m=d(r,["_S","_M","_L","_XL"]);var p;(function(e){e["SIMPLE"]="simple";e["WAVES"]="waves";e["STRIPES"]="stripes";e["LINES"]="lines"})(p||(p={}));var h;(function(e){e["IMAGE"]="image";e["LOGO"]="logo";e["ICON"]="icon"})(h||(h={}));var u;(function(e){e["LIGHT"]="light";e["DARK"]="dark"})(u||(u={}));const v={root:"gov-banner",content:"gov-banner__content"};const g=e(class e extends t{constructor(){super();this.__registerHost();this.size=m._M;this.background=p.SIMPLE;this.foreground=h.LOGO;this.textColor=u.LIGHT;this.accessibleLabel=undefined;this.accessibleLabelledBy=undefined;this.h=a(this.host)}validateSize(e){f(m,e,v.root)}componentWillLoad(){this.validateSize(this.size)}async componentDidRender(){if(c()){n((()=>this.validateAccessibility()))}}render(){return s(o,Object.assign({key:"2e74fec76a2919885f1ffcf0d5b5b43f4da9634f",class:this.h.classes(v.root),size:this.size},this.size!=="xl"?{background:this.background,foreground:this.foreground}:{"text-color":this.textColor}),s("div",{key:"e96d0155618a4d8703869f9d41a16e6dca148d8f"},s("div",{key:"1ca80fec0a9918753727bdbbde993c650f464e44",class:v.content},s("slot",{key:"6649fb9ad5c08b9cb7fe44a633fbdf8a7c1070cf",name:"headline"}),s("slot",{key:"615031f7ca60d053f08822a497d59cb123103bae"})),this.h.hasSlot("button")&&s("gov-button",{key:"256dcef6425d21dfd6ea47b2dc9dbcfe2bbc0a19",color:"secondary",type:"solid",size:"l"},s("slot",{key:"2553414cc5541ec8f4e8d22d4cd394d9d57f40ef",name:"button"}))),s("slot",{key:"b87320fc0d4ea2415f2c2e3565942fd8944c8f7c",name:"image"}))}async validateAccessibility(){i(this.accessibleLabel,this.accessibleLabelledBy,v.root,this.host)}get host(){return this}static get watchers(){return{size:["validateSize"]}}},[4,"gov-banner",{size:[513],background:[1],foreground:[1],textColor:[1,"text-color"],accessibleLabel:[1,"accessible-label"],accessibleLabelledBy:[1,"accessible-labelledby"],validateAccessibility:[64]},undefined,{size:["validateSize"]}]);function y(){if(typeof customElements==="undefined"){return}const e=["gov-banner","gov-button","gov-icon"];e.forEach((e=>{switch(e){case"gov-banner":if(!customElements.get(e)){customElements.define(e,g)}break;case"gov-button":if(!customElements.get(e)){b()}break;case"gov-icon":if(!customElements.get(e)){l()}break}}))}y();const k=g;const j=y;export{k as GovBanner,j as defineCustomElement};
1
+ import{p as e,H as t,h as o,d as a}from"./p-42200001.js";import{g as s}from"./p-ea7fdd2e.js";import{p as i}from"./p-e0e2e9c1.js";import{S as r}from"./p-92f420cb.js";import{v as n}from"./p-0b3574c2.js";const c=i(r,["_S","_M","_L","_XL"]);var d;(function(e){e["SIMPLE"]="simple";e["WAVES"]="waves";e["STRIPES"]="stripes";e["LINES"]="lines"})(d||(d={}));var f;(function(e){e["IMAGE"]="image";e["LOGO"]="logo";e["ICON"]="icon"})(f||(f={}));var l;(function(e){e["LIGHT"]="light";e["DARK"]="dark"})(l||(l={}));const b={root:"gov-banner",content:"gov-banner__content"};const u=e(class e extends t{constructor(){super();this.__registerHost();this.size=c._M;this.background=d.SIMPLE;this.foreground=f.LOGO;this.textColor=l.LIGHT;this.h=s(this.host)}validateSize(e){n(c,e,b.root)}validateBackground(e){n(d,e,b.root)}validateForeground(e){n(f,e,b.root)}validateTextColor(e){n(l,e,b.root)}componentWillLoad(){this.validateSize(this.size);this.validateBackground(this.background);this.validateForeground(this.foreground);this.validateTextColor(this.textColor)}render(){return o(a,Object.assign({key:"67c767ffc6ac1912bb691c8bb11158dac573e70f",class:this.h.classes(b.root),role:"region",size:this.size},this.size!=="xl"?{background:this.background,foreground:this.foreground}:{"text-color":this.textColor}),o("div",{key:"624b24b1e621ef7f7ad4666b56f48ffec9881aee"},o("div",{key:"90b322dca74ca90be13489d519534ebff0656593",class:b.content},o("slot",{key:"272f89cbe0649af7edfd7230861f6232272c8da4",name:"headline"}),o("slot",{key:"1bfa7690842ba1a023af5b7da4edec5acb6c65fe"})),this.h.hasSlot("button")&&o("slot",{key:"5d9611292a76aee4654b16429a89fd46ad610884",name:"button"})),o("slot",{key:"00000b185434b0d85112beaa2374c7f7b12c19b0",name:"image"}))}get host(){return this}static get watchers(){return{size:["validateSize"],background:["validateBackground"],foreground:["validateForeground"],"text-color":["validateTextColor"]}}},[4,"gov-banner",{size:[513],background:[1],foreground:[1],textColor:[1,"text-color"]},undefined,{size:["validateSize"],background:["validateBackground"],foreground:["validateForeground"],"text-color":["validateTextColor"]}]);function h(){if(typeof customElements==="undefined"){return}const e=["gov-banner"];e.forEach((e=>{switch(e){case"gov-banner":if(!customElements.get(e)){customElements.define(e,u)}break}}))}h();const g=u;const v=h;export{g as GovBanner,v as defineCustomElement};
2
2
  //# sourceMappingURL=gov-banner.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["BannerSizes","pick","Sizes","BannerBackground","BannerForeground","BannerTextColor","BannerClass","root","content","GovBanner","proxyCustomElement","H","constructor","_M","SIMPLE","LOGO","LIGHT","this","h","govHost","host","validateSize","newValue","validateProp","componentWillLoad","size","componentDidRender","canValidateWcagOnRender","tick","validateAccessibility","render","Host","Object","assign","key","class","classes","background","foreground","textColor","name","hasSlot","color","type","validateAccessibleLabel","accessibleLabel","accessibleLabelledBy"],"sources":["../../../packages/core/src/components/gov-banner/constants.ts","../../../packages/core/src/components/gov-banner/gov-banner.tsx"],"sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\nimport {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\n\nexport const BannerSizes = pick(Sizes, ['_S', '_M', '_L', '_XL'])\nexport type BannerSizesType = `${ValueOf<typeof BannerSizes>}`\n\nexport enum BannerBackground {\n\tSIMPLE = 'simple',\n\tWAVES = 'waves',\n\tSTRIPES = 'stripes',\n\tLINES = 'lines',\n}\nexport type BannerBackgroundsType = `${ValueOf<typeof BannerBackground>}`\n\nexport enum BannerForeground {\n\tIMAGE = 'image',\n\tLOGO = 'logo',\n\tICON = 'icon',\n}\nexport type BannerForegroundsType = `${ValueOf<typeof BannerForeground>}`\n\nexport enum BannerTextColor {\n\tLIGHT = 'light',\n\tDARK = 'dark',\n}\nexport type BannerTextColorsType = `${ValueOf<typeof BannerTextColor>}`\n\nexport const BannerClass = {\n\troot: 'gov-banner',\n\tcontent: 'gov-banner__content',\n}\n","import {Component, Element, h, Host, Method, Prop, Watch} from '@stencil/core'\nimport {validateAccessibleLabel} from '../../helpers/Validate/wcag'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {tick} from \"../../utils/stencil.utils\";\nimport {\n\tBannerClass,\n\tBannerSizes,\n\tBannerSizesType,\n\tBannerBackground,\n\tBannerBackgroundsType,\n\tBannerForegroundsType, BannerForeground, BannerTextColor, BannerTextColorsType\n} from \"./constants\";\nimport {validateProp} from \"../../helpers/Validate/props\";\n\n\n@Component({\n\ttag: 'gov-banner',\n})\nexport class GovBanner {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovBannerElement\n\t/**\n\t * Banner’s size.\n\t */\n\t@Prop({reflect: true}) readonly size: BannerSizesType = BannerSizes._M\n\t/**\n\t * Banner’s background\n\t */\n\t@Prop() readonly background: BannerBackgroundsType = BannerBackground.SIMPLE\n\t/**\n\t * Banner’s foreground\n\t */\n\t@Prop() readonly foreground: BannerForegroundsType = BannerForeground.LOGO\n\t/**\n\t * XL Banner’s text color\n\t */\n\t@Prop({ attribute: 'text-color' }) readonly textColor: BannerTextColorsType = BannerTextColor.LIGHT\n\t/**\n\t * Adds accessible label for the banner that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'accessible-label'}) readonly accessibleLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({attribute: 'accessible-labelledby'}) readonly accessibleLabelledBy: string\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(BannerSizes, newValue, BannerClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\ttick(() => this.validateAccessibility())\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BannerClass.root)}\n\t\t\t\t size={this.size}\n\t\t\t\t {...(this.size !== \"xl\" ? {background: this.background, foreground: this.foreground} : {'text-color': this.textColor})}>\n\t\t\t\t<div>\n\t\t\t\t\t<div class={BannerClass.content}>\n\t\t\t\t\t\t<slot name=\"headline\"/>\n\t\t\t\t\t\t<slot/>\n\t\t\t\t\t</div>\n\t\t\t\t\t{this.h.hasSlot('button') && (\n\t\t\t\t\t\t<gov-button color=\"secondary\" type=\"solid\" size=\"l\">\n\t\t\t\t\t\t\t<slot name=\"button\"/>\n\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t\t<slot name=\"image\"/>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the accessibility attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tvalidateAccessibleLabel(this.accessibleLabel, this.accessibleLabelledBy, BannerClass.root, this.host)\n\t}\n}\n"],"mappings":"wXAIO,MAAMA,EAAcC,EAAKC,EAAO,CAAC,KAAM,KAAM,KAAM,QAG1D,IAAYC,GAAZ,SAAYA,GACXA,EAAA,mBACAA,EAAA,iBACAA,EAAA,qBACAA,EAAA,gBACA,EALD,CAAYA,MAAgB,KAQ5B,IAAYC,GAAZ,SAAYA,GACXA,EAAA,iBACAA,EAAA,eACAA,EAAA,cACA,EAJD,CAAYA,MAAgB,KAO5B,IAAYC,GAAZ,SAAYA,GACXA,EAAA,iBACAA,EAAA,cACA,EAHD,CAAYA,MAAe,KAMpB,MAAMC,EAAc,CAC1BC,KAAM,aACNC,QAAS,uB,MCVGC,EAASC,EAAA,MAAAD,UAAAE,EAGrB,WAAAC,G,wCAQwDZ,EAAYa,G,gBAIfV,EAAiBW,O,gBAIjBV,EAAiBW,K,eAIQV,EAAgBW,M,mEAnB7FC,KAAKC,EAAIC,EAAQF,KAAKG,K,CA8BvB,YAAAC,CAAaC,GACZC,EAAavB,EAAasB,EAAUhB,EAAYC,K,CAGjD,iBAAAiB,GACCP,KAAKI,aAAaJ,KAAKQ,K,CAGxB,wBAAMC,GACL,GAAIC,IAA2B,CAC9BC,GAAK,IAAMX,KAAKY,yB,EAIlB,MAAAC,GACC,OACCZ,EAACa,EAAIC,OAAAC,OAAA,CAAAC,IAAA,2CAACC,MAAOlB,KAAKC,EAAEkB,QAAQ9B,EAAYC,MACrCkB,KAAMR,KAAKQ,MACNR,KAAKQ,OAAS,KAAO,CAACY,WAAYpB,KAAKoB,WAAYC,WAAYrB,KAAKqB,YAAc,CAAC,aAAcrB,KAAKsB,YAC7GrB,EAAA,OAAAgB,IAAA,4CACChB,EAAA,OAAAgB,IAAA,2CAAKC,MAAO7B,EAAYE,SACvBU,EAAA,QAAAgB,IAAA,2CAAMM,KAAK,aACXtB,EAAA,QAAAgB,IAAA,8CAEAjB,KAAKC,EAAEuB,QAAQ,WACfvB,EAAA,cAAAgB,IAAA,2CAAYQ,MAAM,YAAYC,KAAK,QAAQlB,KAAK,KAC/CP,EAAA,QAAAgB,IAAA,2CAAMM,KAAK,aAIdtB,EAAA,QAAAgB,IAAA,2CAAMM,KAAK,U,CASd,2BAAMX,GACLe,EAAwB3B,KAAK4B,gBAAiB5B,KAAK6B,qBAAsBxC,EAAYC,KAAMU,KAAKG,K","ignoreList":[]}
1
+ {"version":3,"names":["BannerSizes","pick","Sizes","BannerBackground","BannerForeground","BannerTextColor","BannerClass","root","content","GovBanner","proxyCustomElement","H","constructor","_M","SIMPLE","LOGO","LIGHT","this","h","govHost","host","validateSize","newValue","validateProp","validateBackground","validateForeground","validateTextColor","componentWillLoad","size","background","foreground","textColor","render","Host","Object","assign","key","class","classes","role","name","hasSlot"],"sources":["../../../packages/core/src/components/gov-banner/constants.ts","../../../packages/core/src/components/gov-banner/gov-banner.tsx"],"sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\nimport {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\n\nexport const BannerSizes = pick(Sizes, ['_S', '_M', '_L', '_XL'])\nexport type BannerSizesType = `${ValueOf<typeof BannerSizes>}`\n\nexport enum BannerBackground {\n\tSIMPLE = 'simple',\n\tWAVES = 'waves',\n\tSTRIPES = 'stripes',\n\tLINES = 'lines',\n}\nexport type BannerBackgroundsType = `${ValueOf<typeof BannerBackground>}`\n\nexport enum BannerForeground {\n\tIMAGE = 'image',\n\tLOGO = 'logo',\n\tICON = 'icon',\n}\nexport type BannerForegroundsType = `${ValueOf<typeof BannerForeground>}`\n\nexport enum BannerTextColor {\n\tLIGHT = 'light',\n\tDARK = 'dark',\n}\nexport type BannerTextColorsType = `${ValueOf<typeof BannerTextColor>}`\n\nexport const BannerClass = {\n\troot: 'gov-banner',\n\tcontent: 'gov-banner__content',\n}\n","import {Component, Element, h, Host, Prop, Watch} from '@stencil/core'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {\n BannerBackground,\n BannerBackgroundsType,\n BannerClass,\n BannerForeground,\n BannerForegroundsType,\n BannerSizes,\n BannerSizesType,\n BannerTextColor,\n BannerTextColorsType\n} from \"./constants\";\nimport {validateProp} from \"../../helpers/Validate/props\";\n\n@Component({\n tag: 'gov-banner',\n})\nexport class GovBanner {\n private h: GovHost\n\n constructor() {\n this.h = govHost(this.host)\n }\n\n @Element() host: HTMLGovBannerElement\n /**\n * Banner’s size.\n */\n @Prop({reflect: true}) readonly size: BannerSizesType = BannerSizes._M\n /**\n * Banner’s background\n */\n @Prop() readonly background: BannerBackgroundsType = BannerBackground.SIMPLE\n /**\n * Banner’s foreground\n */\n @Prop() readonly foreground: BannerForegroundsType = BannerForeground.LOGO\n /**\n * XL Banner’s text color\n */\n @Prop({attribute: 'text-color'}) readonly textColor: BannerTextColorsType = BannerTextColor.LIGHT\n\n @Watch('size')\n validateSize(newValue: string): void {\n validateProp(BannerSizes, newValue, BannerClass.root)\n }\n\n @Watch('background')\n validateBackground(newValue: string): void {\n validateProp(BannerBackground, newValue, BannerClass.root)\n }\n\n @Watch('foreground')\n validateForeground(newValue: string): void {\n validateProp(BannerForeground, newValue, BannerClass.root)\n }\n\n @Watch('text-color')\n validateTextColor(newValue: string): void {\n validateProp(BannerTextColor, newValue, BannerClass.root)\n }\n\n componentWillLoad(): void {\n this.validateSize(this.size)\n this.validateBackground(this.background)\n this.validateForeground(this.foreground)\n this.validateTextColor(this.textColor)\n }\n\n render() {\n return (\n <Host class={this.h.classes(BannerClass.root)}\n role=\"region\"\n size={this.size}\n {...(this.size !== \"xl\" ? {\n background: this.background,\n foreground: this.foreground\n } : {'text-color': this.textColor})}>\n <div>\n <div class={BannerClass.content}>\n <slot name=\"headline\"/>\n <slot/>\n </div>\n {this.h.hasSlot('button') && (\n <slot name=\"button\"/>\n )}\n </div>\n <slot name=\"image\"/>\n </Host>\n )\n }\n}\n"],"mappings":"yMAIO,MAAMA,EAAcC,EAAKC,EAAO,CAAC,KAAM,KAAM,KAAM,QAG1D,IAAYC,GAAZ,SAAYA,GACXA,EAAA,mBACAA,EAAA,iBACAA,EAAA,qBACAA,EAAA,gBACA,EALD,CAAYA,MAAgB,KAQ5B,IAAYC,GAAZ,SAAYA,GACXA,EAAA,iBACAA,EAAA,eACAA,EAAA,cACA,EAJD,CAAYA,MAAgB,KAO5B,IAAYC,GAAZ,SAAYA,GACXA,EAAA,iBACAA,EAAA,cACA,EAHD,CAAYA,MAAe,KAMpB,MAAMC,EAAc,CAC1BC,KAAM,aACNC,QAAS,uB,MCXGC,EAASC,EAAA,MAAAD,UAAAE,EAGlB,WAAAC,G,wCAQwDZ,EAAYa,G,gBAIfV,EAAiBW,O,gBAIjBV,EAAiBW,K,eAIMV,EAAgBW,MAnBxFC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAsB1B,YAAAC,CAAaC,GACTC,EAAavB,EAAasB,EAAUhB,EAAYC,K,CAIpD,kBAAAiB,CAAmBF,GACfC,EAAapB,EAAkBmB,EAAUhB,EAAYC,K,CAIzD,kBAAAkB,CAAmBH,GACfC,EAAanB,EAAkBkB,EAAUhB,EAAYC,K,CAIzD,iBAAAmB,CAAkBJ,GACdC,EAAalB,EAAiBiB,EAAUhB,EAAYC,K,CAGxD,iBAAAoB,GACIV,KAAKI,aAAaJ,KAAKW,MACvBX,KAAKO,mBAAmBP,KAAKY,YAC7BZ,KAAKQ,mBAAmBR,KAAKa,YAC7Bb,KAAKS,kBAAkBT,KAAKc,U,CAGhC,MAAAC,GACI,OACId,EAACe,EAAIC,OAAAC,OAAA,CAAAC,IAAA,2CAACC,MAAOpB,KAAKC,EAAEoB,QAAQhC,EAAYC,MAClCgC,KAAK,SACLX,KAAMX,KAAKW,MACNX,KAAKW,OAAS,KAAO,CACtBC,WAAYZ,KAAKY,WACjBC,WAAYb,KAAKa,YACjB,CAAC,aAAcb,KAAKc,YAC1Bb,EAAA,OAAAkB,IAAA,4CACIlB,EAAA,OAAAkB,IAAA,2CAAKC,MAAO/B,EAAYE,SACpBU,EAAA,QAAAkB,IAAA,2CAAMI,KAAK,aACXtB,EAAA,QAAAkB,IAAA,8CAEHnB,KAAKC,EAAEuB,QAAQ,WACZvB,EAAA,QAAAkB,IAAA,2CAAMI,KAAK,YAGnBtB,EAAA,QAAAkB,IAAA,2CAAMI,KAAK,U","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{p as e,H as t,h as o,d as c}from"./p-42200001.js";import{g as s}from"./p-ea7fdd2e.js";import{d as a}from"./p-3c90521b.js";var n;(function(e){e["PRIMARY"]="primary";e["SUBTLE"]="subtle";e["NEUTRAL"]="neutral"})(n||(n={}));const f={root:"gov-blockquote"};const d=e(class e extends t{constructor(){super();this.__registerHost();this.type=n.SUBTLE;this.cite=undefined;this.h=s(this.host)}render(){return o(c,{key:"2d6d6f8731e3cf3a7697b1e5c9cb9628b120a9c0",class:this.h.classes(f.root),type:this.type},o("gov-icon",{key:"a34dc43b0a8336830f7f8bd49a04f3fd36ccac5d",type:"components",name:"quote",size:"3xl"}),o("blockquote",{key:"1f74006947ad7d8d90ea3425be7d8f66291dbfc5",cite:this.cite},o("slot",{key:"1e0413bfdcfec33d487998f88407b000d2cbd376"})),o("slot",{key:"9c61d787603bf343546af51e25ac9b6ad47191e9",name:"image"}),o("slot",{key:"7f7956a01aef3d1fe2ecc21428facc932e69ab03",name:"author"}))}get host(){return this}},[4,"gov-blockquote",{type:[513],cite:[1]}]);function i(){if(typeof customElements==="undefined"){return}const e=["gov-blockquote","gov-icon"];e.forEach((e=>{switch(e){case"gov-blockquote":if(!customElements.get(e)){customElements.define(e,d)}break;case"gov-icon":if(!customElements.get(e)){a()}break}}))}i();const r=d;const b=i;export{r as GovBlockquote,b as defineCustomElement};
1
+ import{p as e,H as t,h as o,d as s}from"./p-42200001.js";import{g as c}from"./p-ea7fdd2e.js";import{d as a}from"./p-5d60b866.js";var n;(function(e){e["PRIMARY"]="primary";e["SUBTLE"]="subtle";e["NEUTRAL"]="neutral"})(n||(n={}));const f={root:"gov-blockquote"};const i=e(class e extends t{constructor(){super();this.__registerHost();this.type=n.SUBTLE;this.cite=undefined;this.h=c(this.host)}render(){return o(s,{key:"0d4b930791ee54ea55552b1a8ab9a2f248b5109e",class:this.h.classes(f.root),type:this.type},o("gov-icon",{key:"f27a6a5059203b000bede13c47aa7e5eb150e4cd",type:"components",name:"quote",size:"3xl"}),o("blockquote",{key:"3206cd993309f5636920e5b552e3cd97be98b334",cite:this.cite},o("slot",{key:"16ac7ec3098d37e1c5b444fe18e47986a5afa915"})),o("slot",{key:"ae4f20fbf0820346cc9919014ab6a3fc9f9ef96e",name:"image"}),o("slot",{key:"f43c96fef744f2d6147f8579fad0c808c064c81a",name:"author"}))}get host(){return this}},[4,"gov-blockquote",{type:[513],cite:[1]}]);function r(){if(typeof customElements==="undefined"){return}const e=["gov-blockquote","gov-icon"];e.forEach((e=>{switch(e){case"gov-blockquote":if(!customElements.get(e)){customElements.define(e,i)}break;case"gov-icon":if(!customElements.get(e)){a()}break}}))}r();const b=i;const u=r;export{b as GovBlockquote,u as defineCustomElement};
2
2
  //# sourceMappingURL=gov-blockquote.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["BlockquoteType","BlockquoteClass","root","GovBlockquote","proxyCustomElement","H","constructor","SUBTLE","this","h","govHost","host","render","Host","key","class","classes","type","name","size","cite"],"sources":["../../../packages/core/src/components/gov-blocquote/constants.ts","../../../packages/core/src/components/gov-blocquote/gov-blockquote.tsx"],"sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\n\nexport enum BlockquoteType {\n\tPRIMARY = 'primary',\n\tSUBTLE = 'subtle',\n\tNEUTRAL = 'neutral',\n}\nexport type BlockquoteTypesType = `${ValueOf<typeof BlockquoteType>}`\n\nexport const BlockquoteClass = {\n\troot: 'gov-blockquote',\n}\n","import {Component, Element, Host, h, Prop} from '@stencil/core'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport {BlockquoteClass, BlockquoteType, BlockquoteTypesType} from \"./constants\";\n\n\n@Component({\n\ttag: 'gov-blockquote',\n})\nexport class GovBlockquote {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovBlockquoteElement\n\t/**\n\t * Blockquote’s type\n\t */\n\t@Prop({reflect: true}) readonly type: BlockquoteTypesType = BlockquoteType.SUBTLE\n\t/**\n\t * Blockquote’s cite url\n\t */\n\t@Prop({attribute: 'cite'}) readonly cite: string\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BlockquoteClass.root)} type={this.type}>\n\t\t\t\t<gov-icon type=\"components\" name=\"quote\" size=\"3xl\"></gov-icon>\n\t\t\t\t<blockquote cite={this.cite}>\n\t\t\t\t\t<slot />\n\t\t\t\t</blockquote>\n\t\t\t\t<slot name=\"image\" />\n\t\t\t\t<slot name=\"author\" />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"iIAEA,IAAYA,GAAZ,SAAYA,GACXA,EAAA,qBACAA,EAAA,mBACAA,EAAA,oBACA,EAJD,CAAYA,MAAc,KAOnB,MAAMC,EAAkB,CAC9BC,KAAM,kB,MCDMC,EAAaC,EAAA,MAAAD,UAAAE,EAGzB,WAAAC,G,wCAQ4DN,EAAeO,O,oBAP1EC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAavB,MAAAC,GACC,OACCH,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOP,KAAKC,EAAEO,QAAQf,EAAgBC,MAAOe,KAAMT,KAAKS,MAC7DR,EAAA,YAAAK,IAAA,2CAAUG,KAAK,aAAaC,KAAK,QAAQC,KAAK,QAC9CV,EAAA,cAAAK,IAAA,2CAAYM,KAAMZ,KAAKY,MACtBX,EAAA,QAAAK,IAAA,8CAEDL,EAAA,QAAAK,IAAA,2CAAMI,KAAK,UACXT,EAAA,QAAAK,IAAA,2CAAMI,KAAK,W","ignoreList":[]}
1
+ {"version":3,"names":["BlockquoteType","BlockquoteClass","root","GovBlockquote","proxyCustomElement","H","constructor","SUBTLE","this","h","govHost","host","render","Host","key","class","classes","type","name","size","cite"],"sources":["../../../packages/core/src/components/gov-blockquote/constants.ts","../../../packages/core/src/components/gov-blockquote/gov-blockquote.tsx"],"sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\n\nexport enum BlockquoteType {\n\tPRIMARY = 'primary',\n\tSUBTLE = 'subtle',\n\tNEUTRAL = 'neutral',\n}\nexport type BlockquoteTypesType = `${ValueOf<typeof BlockquoteType>}`\n\nexport const BlockquoteClass = {\n\troot: 'gov-blockquote',\n}\n","import {Component, Element, Host, h, Prop} from '@stencil/core'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport {BlockquoteClass, BlockquoteType, BlockquoteTypesType} from \"./constants\";\n\n\n@Component({\n\ttag: 'gov-blockquote',\n})\nexport class GovBlockquote {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovBlockquoteElement\n\t/**\n\t * Blockquote’s type\n\t */\n\t@Prop({reflect: true}) readonly type: BlockquoteTypesType = BlockquoteType.SUBTLE\n\t/**\n\t * Blockquote’s cite url\n\t */\n\t@Prop({attribute: 'cite'}) readonly cite: string\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BlockquoteClass.root)} type={this.type}>\n\t\t\t\t<gov-icon type=\"components\" name=\"quote\" size=\"3xl\"></gov-icon>\n\t\t\t\t<blockquote cite={this.cite}>\n\t\t\t\t\t<slot />\n\t\t\t\t</blockquote>\n\t\t\t\t<slot name=\"image\" />\n\t\t\t\t<slot name=\"author\" />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"iIAEA,IAAYA,GAAZ,SAAYA,GACXA,EAAA,qBACAA,EAAA,mBACAA,EAAA,oBACA,EAJD,CAAYA,MAAc,KAOnB,MAAMC,EAAkB,CAC9BC,KAAM,kB,MCDMC,EAAaC,EAAA,MAAAD,UAAAE,EAGzB,WAAAC,G,wCAQ4DN,EAAeO,O,oBAP1EC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAavB,MAAAC,GACC,OACCH,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOP,KAAKC,EAAEO,QAAQf,EAAgBC,MAAOe,KAAMT,KAAKS,MAC7DR,EAAA,YAAAK,IAAA,2CAAUG,KAAK,aAAaC,KAAK,QAAQC,KAAK,QAC9CV,EAAA,cAAAK,IAAA,2CAAYM,KAAMZ,KAAKY,MACtBX,EAAA,QAAAK,IAAA,8CAEDL,EAAA,QAAAK,IAAA,2CAAMI,KAAK,UACXT,EAAA,QAAAK,IAAA,2CAAMI,KAAK,W","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{p as s,H as e,c as t,h as i,d as a}from"./p-42200001.js";import{a as c}from"./p-80dad64b.js";import{c as o}from"./p-e8ec030e.js";import{g as n}from"./p-ea7fdd2e.js";import{t as l}from"./p-26618322.js";import{d as r}from"./p-4fba9df0.js";import{d as b}from"./p-3c90521b.js";const d={root:"gov-breadcrumbs"};const h=s(class s extends e{constructor(){super();this.__registerHost();this.govChange=t(this,"gov-change",7);this.inited=false;this.collapsible=false;this.isExpanded=false;this.accessibleLabel=undefined;this.accessibleLabelledBy=undefined;this.accessibleToggleLabel="Zobrazit či skrýt navigaci";this.expanded=false;this.toggleOption=false;this.h=n(this.host)}async componentDidRender(){this.scheduleContentVerification();if(o()){l((()=>this.validateAccessibility()))}}scheduleContentVerification(){if(this.inited)return;this.inited=true;l((()=>{this.calculateWidthOfItems();this.inited=false}))}calculateWidthOfItems(){const s=this.host.getBoundingClientRect().width;let e=0;this.host.querySelectorAll("li").forEach((s=>{e+=s.getBoundingClientRect().width}));this.toggleOption=e>s}render(){return i(a,{key:"9a9134423e513fc148bbb68c20fac5bb97670db8",class:this.h.classes(d.root),expanded:this.expanded},i("nav",{key:"0850db41c7ce8bbb329a9abd3a925f292ec26c66","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy},i("slot",{key:"477ce7803f02dc150c9980cbbf967b2b3d6485a0"})),this.toggleOption?i("gov-button",{size:"xs",color:"primary",type:"base","aria-label":this.accessibleToggleLabel,"aria-pressed":this.expanded,"aria-expanded":this.expanded,"on-gov-click":()=>this.expanded=!this.expanded},i("gov-icon",{name:this.expanded?"chevron-up":"chevron-down",type:"components"})):null)}async validateAccessibility(){c(this.accessibleLabel,this.accessibleLabelledBy,d.root,this.host);c(this.accessibleToggleLabel,undefined,d.root,this.host)}get host(){return this}},[4,"gov-breadcrumbs",{collapsible:[4],isExpanded:[4,"is-expanded"],accessibleLabel:[1,"accessible-label"],accessibleLabelledBy:[1,"accessible-labelledby"],accessibleToggleLabel:[1,"accessible-toggle-label"],expanded:[32],toggleOption:[32],validateAccessibility:[64]}]);function f(){if(typeof customElements==="undefined"){return}const s=["gov-breadcrumbs","gov-button","gov-icon"];s.forEach((s=>{switch(s){case"gov-breadcrumbs":if(!customElements.get(s)){customElements.define(s,h)}break;case"gov-button":if(!customElements.get(s)){r()}break;case"gov-icon":if(!customElements.get(s)){b()}break}}))}f();const m=h;const p=f;export{m as GovBreadcrumbs,p as defineCustomElement};
1
+ import{p as s,H as e,c as t,h as i,d as a}from"./p-42200001.js";import{a as c}from"./p-10cad7f1.js";import{c as o}from"./p-e8ec030e.js";import{g as n}from"./p-ea7fdd2e.js";import{t as l}from"./p-26618322.js";import{d as r}from"./p-d3435179.js";import{d}from"./p-5d60b866.js";const b={root:"gov-breadcrumbs"};const h=s(class s extends e{constructor(){super();this.__registerHost();this.govChange=t(this,"gov-change",7);this.inited=false;this.collapsible=false;this.isExpanded=false;this.accessibleLabel=undefined;this.accessibleLabelledBy=undefined;this.accessibleToggleLabel="Zobrazit či skrýt navigaci";this.expanded=false;this.toggleOption=false;this.h=n(this.host)}async componentDidRender(){this.scheduleContentVerification();if(o()){l((()=>this.validateAccessibility()))}}scheduleContentVerification(){if(this.inited)return;this.inited=true;l((()=>{this.calculateWidthOfItems();this.inited=false}))}calculateWidthOfItems(){const s=this.host.getBoundingClientRect().width;let e=0;this.host.querySelectorAll("li").forEach((s=>{e+=s.getBoundingClientRect().width}));this.toggleOption=e>s}render(){return i(a,{key:"dadd8de710050476be68e3f6fa0b317d6ccedfc1",class:this.h.classes(b.root),expanded:this.expanded},i("nav",{key:"468a3b605408c943421243024733b0381809f931","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy},i("slot",{key:"2c9f85b826c8c54340ab5abba51c1861282c9cb7"})),this.toggleOption?i("gov-button",{size:"xs",color:"primary",type:"base","aria-label":this.accessibleToggleLabel,"aria-pressed":this.expanded,"aria-expanded":this.expanded,"on-gov-click":()=>this.expanded=!this.expanded},i("gov-icon",{name:this.expanded?"chevron-up":"chevron-down",type:"components"})):null)}async validateAccessibility(){c(this.accessibleLabel,this.accessibleLabelledBy,b.root,this.host);c(this.accessibleToggleLabel,undefined,b.root,this.host)}get host(){return this}},[4,"gov-breadcrumbs",{collapsible:[4],isExpanded:[4,"is-expanded"],accessibleLabel:[1,"accessible-label"],accessibleLabelledBy:[1,"accessible-labelledby"],accessibleToggleLabel:[1,"accessible-toggle-label"],expanded:[32],toggleOption:[32],validateAccessibility:[64]}]);function f(){if(typeof customElements==="undefined"){return}const s=["gov-breadcrumbs","gov-button","gov-icon"];s.forEach((s=>{switch(s){case"gov-breadcrumbs":if(!customElements.get(s)){customElements.define(s,h)}break;case"gov-button":if(!customElements.get(s)){r()}break;case"gov-icon":if(!customElements.get(s)){d()}break}}))}f();const m=h;const p=f;export{m as GovBreadcrumbs,p as defineCustomElement};
2
2
  //# sourceMappingURL=gov-breadcrumbs.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["BreadcrumbsClass","root","GovBreadcrumbs","proxyCustomElement","H","constructor","this","inited","h","govHost","host","componentDidRender","scheduleContentVerification","canValidateWcagOnRender","tick","validateAccessibility","calculateWidthOfItems","hostWidth","getBoundingClientRect","width","sumOfWidths","querySelectorAll","forEach","li","toggleOption","render","Host","key","class","classes","expanded","accessibleLabel","accessibleLabelledBy","size","color","type","accessibleToggleLabel","name","validateAccessibleLabel","undefined"],"sources":["../../../packages/core/src/components/gov-breadcrumbs/constants.ts","../../../packages/core/src/components/gov-breadcrumbs/gov-breadcrumbs.tsx"],"sourcesContent":["export const BreadcrumbsClass = {\n\troot: 'gov-breadcrumbs',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State} from '@stencil/core'\nimport {BreadcrumbsClass} from './constants'\nimport {validateAccessibleLabel} from '../../helpers/Validate/wcag'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {GovBreadcrumbsChangeEvent} from './gov-breadcrumbs.d'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {tick} from \"../../utils/stencil.utils\";\n\n@Component({\n\ttag: 'gov-breadcrumbs',\n})\nexport class GovBreadcrumbs {\n\tprivate inited = false;\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovBreadcrumbsElement\n\t/**\n\t * Defines whether the components can be collapsible when element doesn't fit in one row.\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Defines whether the breadcrumbs are open or closed by button\n\t */\n\t@Prop({attribute: 'is-expanded'}) readonly isExpanded: boolean = false\n\t/**\n\t * Adds accessible label for the pagination that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'accessible-label'}) readonly accessibleLabel: string\n\t/**\n\t * Indicates the id of a component that labels the pagination.\n\t */\n\t@Prop({attribute: 'accessible-labelledby'}) readonly accessibleLabelledBy: string\n\t/**\n\t * Adds an accessible label to display the full breadcrumb navigation that only screen readers can see.\n\t */\n\t@Prop({attribute: 'accessible-toggle-label'}) readonly accessibleToggleLabel: string = 'Zobrazit či skrýt navigaci'\n\t/**\n\t * Called when the Breadcrumbs state changes\n\t */\n\t@Event({eventName: 'gov-change'}) govChange: EventEmitter<GovBreadcrumbsChangeEvent>\n\n\t@State() expanded = false;\n\t@State() toggleOption = false;\n\n\tasync componentDidRender() {\n\t\tthis.scheduleContentVerification()\n\t\tif (canValidateWcagOnRender()) {\n\t\t\ttick(() => this.validateAccessibility())\n\t\t}\n\t}\n\n\tprivate scheduleContentVerification() {\n\t\tif (this.inited) return;\n\t\tthis.inited = true;\n\t\ttick(() => {\n\t\t\tthis.calculateWidthOfItems();\n\t\t\tthis.inited = false;\n\t\t});\n\t}\n\n\tprivate calculateWidthOfItems() {\n\t\tconst hostWidth = this.host.getBoundingClientRect().width;\n\t\tlet sumOfWidths = 0;\n\t\tthis.host.querySelectorAll('li').forEach((li) => {\n\t\t\tsumOfWidths += li.getBoundingClientRect().width\n\t\t})\n\t\tthis.toggleOption = sumOfWidths > hostWidth;\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BreadcrumbsClass.root)} expanded={this.expanded}>\n\t\t\t\t<nav aria-label={this.accessibleLabel} aria-labelledby={this.accessibleLabelledBy}>\n\t\t\t\t\t<slot/>\n\t\t\t\t</nav>\n\t\t\t\t{this.toggleOption ? (\n\t\t\t\t\t<gov-button\n\t\t\t\t\t\tsize={'xs'}\n\t\t\t\t\t\tcolor={'primary'}\n\t\t\t\t\t\ttype={'base'}\n\t\t\t\t\t\taria-label={this.accessibleToggleLabel}\n\t\t\t\t\t\taria-pressed={this.expanded}\n\t\t\t\t\t\taria-expanded={this.expanded}\n\t\t\t\t\t\ton-gov-click={() => this.expanded = !this.expanded}\n\t\t\t\t\t>\n\t\t\t\t\t\t<gov-icon name={this.expanded ? 'chevron-up' : 'chevron-down'} type=\"components\"></gov-icon>\n\t\t\t\t\t</gov-button>\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tvalidateAccessibleLabel(this.accessibleLabel, this.accessibleLabelledBy, BreadcrumbsClass.root, this.host)\n\t\tvalidateAccessibleLabel(this.accessibleToggleLabel, undefined, BreadcrumbsClass.root, this.host)\n\t}\n}\n"],"mappings":"wRAAO,MAAMA,EAAmB,CAC/BC,KAAM,mB,MCWMC,EAAcC,EAAA,MAAAD,UAAAE,EAI1B,WAAAC,G,oEAHQC,KAAAC,OAAS,M,iBAWuB,M,gBAIyB,M,8FAYsB,6B,cAMnE,M,kBACI,MA9BvBD,KAAKE,EAAIC,EAAQH,KAAKI,K,CAgCvB,wBAAMC,GACLL,KAAKM,8BACL,GAAIC,IAA2B,CAC9BC,GAAK,IAAMR,KAAKS,yB,EAIV,2BAAAH,GACP,GAAIN,KAAKC,OAAQ,OACjBD,KAAKC,OAAS,KACdO,GAAK,KACJR,KAAKU,wBACLV,KAAKC,OAAS,KAAK,G,CAIb,qBAAAS,GACP,MAAMC,EAAYX,KAAKI,KAAKQ,wBAAwBC,MACpD,IAAIC,EAAc,EAClBd,KAAKI,KAAKW,iBAAiB,MAAMC,SAASC,IACzCH,GAAeG,EAAGL,wBAAwBC,KAAK,IAEhDb,KAAKkB,aAAeJ,EAAcH,C,CAGnC,MAAAQ,GACC,OACCjB,EAACkB,EAAI,CAAAC,IAAA,2CAACC,MAAOtB,KAAKE,EAAEqB,QAAQ7B,EAAiBC,MAAO6B,SAAUxB,KAAKwB,UAClEtB,EAAA,OAAAmB,IAAA,wDAAiBrB,KAAKyB,gBAAe,kBAAmBzB,KAAK0B,sBAC5DxB,EAAA,QAAAmB,IAAA,8CAEArB,KAAKkB,aACLhB,EAAA,cACCyB,KAAM,KACNC,MAAO,UACPC,KAAM,OAAM,aACA7B,KAAK8B,sBAAqB,eACxB9B,KAAKwB,SAAQ,gBACZxB,KAAKwB,SAAQ,eACd,IAAMxB,KAAKwB,UAAYxB,KAAKwB,UAE1CtB,EAAA,YAAU6B,KAAM/B,KAAKwB,SAAW,aAAe,eAAgBK,KAAK,gBAElE,K,CAUP,2BAAMpB,GACLuB,EAAwBhC,KAAKyB,gBAAiBzB,KAAK0B,qBAAsBhC,EAAiBC,KAAMK,KAAKI,MACrG4B,EAAwBhC,KAAK8B,sBAAuBG,UAAWvC,EAAiBC,KAAMK,KAAKI,K","ignoreList":[]}
1
+ {"version":3,"names":["BreadcrumbsClass","root","GovBreadcrumbs","proxyCustomElement","H","constructor","this","inited","h","govHost","host","componentDidRender","scheduleContentVerification","canValidateWcagOnRender","tick","validateAccessibility","calculateWidthOfItems","hostWidth","getBoundingClientRect","width","sumOfWidths","querySelectorAll","forEach","li","toggleOption","render","Host","key","class","classes","expanded","accessibleLabel","accessibleLabelledBy","size","color","type","accessibleToggleLabel","name","validateAccessibleLabel","undefined"],"sources":["../../../packages/core/src/components/gov-breadcrumbs/constants.ts","../../../packages/core/src/components/gov-breadcrumbs/gov-breadcrumbs.tsx"],"sourcesContent":["export const BreadcrumbsClass = {\n\troot: 'gov-breadcrumbs',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State} from '@stencil/core'\nimport {BreadcrumbsClass} from './constants'\nimport {validateAccessibleLabel} from '../../helpers/Validate/wcag'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {GovBreadcrumbsChangeEvent} from './gov-breadcrumbs.d'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {tick} from \"../../utils/stencil.utils\";\n\n@Component({\n\ttag: 'gov-breadcrumbs',\n})\nexport class GovBreadcrumbs {\n\tprivate inited = false;\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovBreadcrumbsElement\n\t/**\n\t * Defines whether the components can be collapsible when element doesn't fit in one row.\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Defines whether the breadcrumbs are open or closed by button\n\t */\n\t@Prop({attribute: 'is-expanded'}) readonly isExpanded: boolean = false\n\t/**\n\t * Adds accessible label for the pagination that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'accessible-label'}) readonly accessibleLabel: string\n\t/**\n\t * Indicates the id of a component that labels the pagination.\n\t */\n\t@Prop({attribute: 'accessible-labelledby'}) readonly accessibleLabelledBy: string\n\t/**\n\t * Adds an accessible label to display the full breadcrumb navigation that only screen readers can see.\n\t */\n\t@Prop({attribute: 'accessible-toggle-label'}) readonly accessibleToggleLabel: string = 'Zobrazit či skrýt navigaci'\n\t/**\n\t * Called when the Breadcrumbs state changes\n\t */\n\t@Event({eventName: 'gov-change'}) govChange: EventEmitter<GovBreadcrumbsChangeEvent>\n\n\t@State() expanded = false;\n\t@State() toggleOption = false;\n\n\tasync componentDidRender() {\n\t\tthis.scheduleContentVerification()\n\t\tif (canValidateWcagOnRender()) {\n\t\t\ttick(() => this.validateAccessibility())\n\t\t}\n\t}\n\n\tprivate scheduleContentVerification() {\n\t\tif (this.inited) return;\n\t\tthis.inited = true;\n\t\ttick(() => {\n\t\t\tthis.calculateWidthOfItems();\n\t\t\tthis.inited = false;\n\t\t});\n\t}\n\n\tprivate calculateWidthOfItems() {\n\t\tconst hostWidth = this.host.getBoundingClientRect().width;\n\t\tlet sumOfWidths = 0;\n\t\tthis.host.querySelectorAll('li').forEach((li) => {\n\t\t\tsumOfWidths += li.getBoundingClientRect().width\n\t\t})\n\t\tthis.toggleOption = sumOfWidths > hostWidth;\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BreadcrumbsClass.root)} expanded={this.expanded}>\n\t\t\t\t<nav aria-label={this.accessibleLabel} aria-labelledby={this.accessibleLabelledBy}>\n\t\t\t\t\t<slot/>\n\t\t\t\t</nav>\n\t\t\t\t{this.toggleOption ? (\n\t\t\t\t\t<gov-button\n\t\t\t\t\t\tsize={'xs'}\n\t\t\t\t\t\tcolor={'primary'}\n\t\t\t\t\t\ttype={'base'}\n\t\t\t\t\t\taria-label={this.accessibleToggleLabel}\n\t\t\t\t\t\taria-pressed={this.expanded}\n\t\t\t\t\t\taria-expanded={this.expanded}\n\t\t\t\t\t\ton-gov-click={() => this.expanded = !this.expanded}\n\t\t\t\t\t>\n\t\t\t\t\t\t<gov-icon name={this.expanded ? 'chevron-up' : 'chevron-down'} type=\"components\"></gov-icon>\n\t\t\t\t\t</gov-button>\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tvalidateAccessibleLabel(this.accessibleLabel, this.accessibleLabelledBy, BreadcrumbsClass.root, this.host)\n\t\tvalidateAccessibleLabel(this.accessibleToggleLabel, undefined, BreadcrumbsClass.root, this.host)\n\t}\n}\n"],"mappings":"mRAAO,MAAMA,EAAmB,CAC/BC,KAAM,mB,MCWMC,EAAcC,EAAA,MAAAD,UAAAE,EAI1B,WAAAC,G,oEAHQC,KAAAC,OAAS,M,iBAWuB,M,gBAIyB,M,8FAYsB,6B,cAMnE,M,kBACI,MA9BvBD,KAAKE,EAAIC,EAAQH,KAAKI,K,CAgCvB,wBAAMC,GACLL,KAAKM,8BACL,GAAIC,IAA2B,CAC9BC,GAAK,IAAMR,KAAKS,yB,EAIV,2BAAAH,GACP,GAAIN,KAAKC,OAAQ,OACjBD,KAAKC,OAAS,KACdO,GAAK,KACJR,KAAKU,wBACLV,KAAKC,OAAS,KAAK,G,CAIb,qBAAAS,GACP,MAAMC,EAAYX,KAAKI,KAAKQ,wBAAwBC,MACpD,IAAIC,EAAc,EAClBd,KAAKI,KAAKW,iBAAiB,MAAMC,SAASC,IACzCH,GAAeG,EAAGL,wBAAwBC,KAAK,IAEhDb,KAAKkB,aAAeJ,EAAcH,C,CAGnC,MAAAQ,GACC,OACCjB,EAACkB,EAAI,CAAAC,IAAA,2CAACC,MAAOtB,KAAKE,EAAEqB,QAAQ7B,EAAiBC,MAAO6B,SAAUxB,KAAKwB,UAClEtB,EAAA,OAAAmB,IAAA,wDAAiBrB,KAAKyB,gBAAe,kBAAmBzB,KAAK0B,sBAC5DxB,EAAA,QAAAmB,IAAA,8CAEArB,KAAKkB,aACLhB,EAAA,cACCyB,KAAM,KACNC,MAAO,UACPC,KAAM,OAAM,aACA7B,KAAK8B,sBAAqB,eACxB9B,KAAKwB,SAAQ,gBACZxB,KAAKwB,SAAQ,eACd,IAAMxB,KAAKwB,UAAYxB,KAAKwB,UAE1CtB,EAAA,YAAU6B,KAAM/B,KAAKwB,SAAW,aAAe,eAAgBK,KAAK,gBAElE,K,CAUP,2BAAMpB,GACLuB,EAAwBhC,KAAKyB,gBAAiBzB,KAAK0B,qBAAsBhC,EAAiBC,KAAMK,KAAKI,MACrG4B,EAAwBhC,KAAK8B,sBAAuBG,UAAWvC,EAAiBC,KAAMK,KAAKI,K","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{G as o,d as s}from"./p-4fba9df0.js";const t=o;const a=s;export{t as GovButton,a as defineCustomElement};
1
+ import{G as o,d as s}from"./p-d3435179.js";const t=o;const p=s;export{t as GovButton,p as defineCustomElement};
2
2
  //# sourceMappingURL=gov-button.js.map
@@ -1,2 +1,2 @@
1
- import{p as e,H as i,c as s,h as a,d as t}from"./p-42200001.js";import{g as c,b as d}from"./p-ea7fdd2e.js";import{c as o}from"./p-cd6c2938.js";import{a as n}from"./p-80dad64b.js";import{c as r}from"./p-e8ec030e.js";import{d as l}from"./p-e0e2e9c1.js";import{d as h}from"./p-3c90521b.js";var f;(function(e){e["HORIZONTAL"]="horizontal";e["VERTICAL"]="vertical"})(f||(f={}));const b={root:"gov-card",header:"gov-card__header",arrow:"gov-card__arrow",inner:"gov-card__inner",img:"gov-card__img",icon:"gov-card__icon",content:"gov-card__content",footer:"gov-card__footer"};const m=e(class e extends i{constructor(){super();this.__registerHost();this.govToggle=s(this,"gov-toggle",7);this.hydrated=false;this.direction="vertical";this.collapsible=false;this.open=true;this.accessibleTriggerLabel=undefined;this.accessibleTriggerLabelledBy=undefined;this.h=c(this.host);this.headlineId=o("GovCardHeadline");this.contentId=o("GovCardContent")}async componentDidRender(){if(r()){await l(500);await this.validateAccessibility()}}connectedCallback(){this.hydrated=true}render(){return a(t,{key:"734cecdc36d379c1d2d8c14ef136780eabff9d32",class:this.h.classes(b.root),open:this.open,collapsible:d(this.collapsible),direction:this.direction,hydrated:this.hydrated},this.collapsible?a("button",{id:this.headlineId,class:b.header,"aria-label":this.accessibleTriggerLabel,"aria-labelledby":this.accessibleTriggerLabelledBy,"aria-expanded":d(this.open),"aria-controls":this.contentId,onClick:this.onClickHandler.bind(this)},a("slot",{name:"headline"}),a("gov-icon",{class:b.arrow,name:"chevron-down",type:"components"})):this.h.hasSlot("headline")?a("div",{class:b.header},a("slot",{name:"headline"})):null,a("div",{key:"35fbd43458f8895ac32a49b2fb26301ef6c2f4cc",class:b.inner,id:this.contentId,"aria-hidden":this.collapsible?d(!this.open):undefined,hidden:this.collapsible?!this.open:undefined,"aria-labelledby":this.collapsible?this.headlineId:undefined},this.h.hasSlot("img")&&a("div",{key:"1d1d26a7d45bc7453cdfbb2ce2530e277ea7f1d6",class:b.img},a("slot",{key:"43d62fec8982ac856afedfe30a4062253ab072d7",name:"img"})),this.h.hasSlot("icon")&&a("div",{key:"ea26e422318e6a8753c47c5af2bcbfafe44bd053",class:b.icon},a("slot",{key:"40cad4f8356f6ff1e640436f4b548581cb4b4bcf",name:"icon"})),a("div",{key:"17d86c58f5d4d1fec9af1b111a69e73629188b4a",class:b.content},a("slot",{key:"34b718783966bda56624c883b85d965ba74041a5"})),this.h.hasSlot("footer")&&a("div",{key:"bdac20b7db8adabdba069df573e117ef1c9a79fc",class:b.footer},a("slot",{key:"e57ade83302bd2a7537236aff716d02a5a47ea0f",name:"footer"}))))}onClickHandler(e){e.stopPropagation();if(this.collapsible){this.open=!this.open;this.govToggle.emit({open:this.open,element:this.host})}}async validateAccessibility(){if(this.collapsible){n(this.accessibleTriggerLabel,this.accessibleTriggerLabelledBy,b.root,this.host)}}get host(){return this}},[4,"gov-card",{direction:[1],collapsible:[4],open:[1540],accessibleTriggerLabel:[1,"accessible-label"],accessibleTriggerLabelledBy:[1,"accessible-labelledby"],validateAccessibility:[64]}]);function v(){if(typeof customElements==="undefined"){return}const e=["gov-card","gov-icon"];e.forEach((e=>{switch(e){case"gov-card":if(!customElements.get(e)){customElements.define(e,m)}break;case"gov-icon":if(!customElements.get(e)){h()}break}}))}v();const g=m;const p=v;export{g as GovCard,p as defineCustomElement};
1
+ import{p as e,H as i,c as s,h as t,d as a}from"./p-42200001.js";import{g as c,b as d}from"./p-ea7fdd2e.js";import{c as o}from"./p-cd6c2938.js";import{a as n}from"./p-10cad7f1.js";import{c as r}from"./p-e8ec030e.js";import{d as l}from"./p-e0e2e9c1.js";import{d as h}from"./p-5d60b866.js";var f;(function(e){e["HORIZONTAL"]="horizontal";e["VERTICAL"]="vertical"})(f||(f={}));const b={root:"gov-card",header:"gov-card__header",arrow:"gov-card__arrow",inner:"gov-card__inner",img:"gov-card__img",icon:"gov-card__icon",content:"gov-card__content",footer:"gov-card__footer"};var m;(function(e){e["A"]="a";e["DIV"]="div"})(m||(m={}));const v=e(class e extends i{constructor(){super();this.__registerHost();this.govToggle=s(this,"gov-toggle",7);this.hydrated=false;this.direction="vertical";this.collapsible=false;this.open=true;this.href=undefined;this.target=undefined;this.accessibleTriggerLabel=undefined;this.accessibleTriggerLabelledBy=undefined;this.h=c(this.host);this.headlineId=o("GovCardHeadline");this.contentId=o("GovCardContent")}async componentDidRender(){if(r()){await l(500);await this.validateAccessibility()}}connectedCallback(){this.hydrated=true}render(){const e=this.href?m.A:m.DIV;return t(a,{key:"3a11dfeface1fa81d0c27f4ee3644c1c3b3a0191",class:this.h.classes(b.root),open:this.open,collapsible:d(this.collapsible),clickable:this.href?true:null,direction:this.direction,hydrated:this.hydrated},this.collapsible?t("button",{id:this.headlineId,class:b.header,"aria-label":this.accessibleTriggerLabel,"aria-labelledby":this.accessibleTriggerLabelledBy,"aria-expanded":d(this.open),"aria-controls":this.contentId,onClick:this.onClickHandler.bind(this)},t("slot",{name:"headline"}),t("gov-icon",{class:b.arrow,name:"chevron-down",type:"components"})):this.h.hasSlot("headline")?t("div",{class:b.header},t("slot",{name:"headline"})):null,t(e,{key:"bdf47c610db6c937ebe9f6fa45124b5df8e2847f",href:this.href,target:this.target,id:this.contentId,"aria-hidden":this.collapsible?d(!this.open):undefined,hidden:this.collapsible?!this.open:undefined,"aria-labelledby":this.collapsible?this.headlineId:undefined,class:b.inner},this.h.hasSlot("img")&&t("div",{key:"11ed1b55fe67d05382d538c903726ffd84fb7d48",class:b.img},t("slot",{key:"b1c362609163af2748256ecd1370bd074b8cd396",name:"img"})),this.h.hasSlot("icon")&&t("div",{key:"70b848927a86419442be3a84ee060c27a87fa12b",class:b.icon},t("slot",{key:"357b5dffa7c0970495ed167ca9a5db0b8d67c721",name:"icon"})),t("div",{key:"0bec7d7dc66dda27ba05e9041caeca8f20def8c4",class:b.content},t("slot",{key:"e3b08eb1097e0d788df4a45f78711bd0a5f02656"})),this.h.hasSlot("footer")&&t("div",{key:"0f4ef687f88e18a935d8f651bb7d2a9ea2c3df97",class:b.footer},t("slot",{key:"d645292f3ee9f007d9aeffdefcf2c26a1e5415b1",name:"footer"}))))}onClickHandler(e){e.stopPropagation();if(this.collapsible){this.open=!this.open;this.govToggle.emit({open:this.open,element:this.host})}}async validateAccessibility(){if(this.collapsible){n(this.accessibleTriggerLabel,this.accessibleTriggerLabelledBy,b.root,this.host)}}get host(){return this}},[4,"gov-card",{direction:[1],collapsible:[4],open:[1540],href:[513],target:[1],accessibleTriggerLabel:[1,"accessible-label"],accessibleTriggerLabelledBy:[1,"accessible-labelledby"],validateAccessibility:[64]}]);function g(){if(typeof customElements==="undefined"){return}const e=["gov-card","gov-icon"];e.forEach((e=>{switch(e){case"gov-card":if(!customElements.get(e)){customElements.define(e,v)}break;case"gov-icon":if(!customElements.get(e)){h()}break}}))}g();const p=v;const u=g;export{p as GovCard,u as defineCustomElement};
2
2
  //# sourceMappingURL=gov-card.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["CardDirection","CardClass","root","header","arrow","inner","img","icon","content","footer","GovCard","proxyCustomElement","H","constructor","this","hydrated","h","govHost","host","headlineId","createID","contentId","componentDidRender","canValidateWcagOnRender","delay","validateAccessibility","connectedCallback","render","Host","key","class","classes","open","collapsible","booleanString","direction","id","accessibleTriggerLabel","accessibleTriggerLabelledBy","onClick","onClickHandler","bind","name","type","hasSlot","undefined","hidden","e","stopPropagation","govToggle","emit","element","validateAccessibleLabel"],"sources":["../../../packages/core/src/components/gov-card/constants.ts","../../../packages/core/src/components/gov-card/gov-card.tsx"],"sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\n\nexport enum CardDirection {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical',\n}\nexport type CardDirectionType = `${ValueOf<typeof CardDirection>}`\n\nexport const CardClass = {\n\troot: 'gov-card',\n\theader: 'gov-card__header',\n\tarrow: 'gov-card__arrow',\n\tinner: 'gov-card__inner',\n\timg: 'gov-card__img',\n\ticon: 'gov-card__icon',\n\tcontent: 'gov-card__content',\n\tfooter: 'gov-card__footer',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop} from '@stencil/core'\nimport {CardClass, CardDirectionType} from './constants'\nimport {booleanString, govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {createID} from '../../utils/string.utils'\nimport {validateAccessibleLabel} from '../../helpers/Validate/wcag'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {delay} from '../../utils/utils'\nimport {GovCardChangeEvent} from './interfaces'\n\n@Component({\n\ttag: 'gov-card',\n})\nexport class GovCard {\n\tprivate h: GovHost\n\tprivate readonly headlineId: string\n\tprivate readonly contentId: string\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.headlineId = createID('GovCardHeadline')\n\t\tthis.contentId = createID('GovCardContent')\n\t}\n\n\t@Element() host: HTMLGovCardElement\n\n\t/**\n\t * Card direction\n\t */\n\t@Prop() readonly direction: CardDirectionType = \"vertical\"\n\t/**\n\t * Defines weather the card can be collapsible\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Defines whether the card is open or closed\n\t */\n\t@Prop({reflect: true, mutable: true}) open = true\n\t/**\n\t * Adds accessible label for the collapsible button that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'accessible-label'}) accessibleTriggerLabel: string\n\t/**\n\t * A string of identifiers that indicate alternative label elements for collapsible card\n\t */\n\t@Prop({attribute: 'accessible-labelledby'}) accessibleTriggerLabelledBy: string\n\t/**\n\t * Called when the card toggle state changes\n\t */\n\t@Event({eventName: 'gov-toggle'}) govToggle: EventEmitter<GovCardChangeEvent>\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateAccessibility()\n\t\t}\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(CardClass.root)} open={this.open}\n\t\t\t\t collapsible={booleanString(this.collapsible)} direction={this.direction} hydrated={this.hydrated}>\n\t\t\t\t{this.collapsible ? (\n\t\t\t\t\t<button\n\t\t\t\t\t\tid={this.headlineId}\n\t\t\t\t\t\tclass={CardClass.header}\n\t\t\t\t\t\taria-label={this.accessibleTriggerLabel}\n\t\t\t\t\t\taria-labelledby={this.accessibleTriggerLabelledBy}\n\t\t\t\t\t\taria-expanded={booleanString(this.open)}\n\t\t\t\t\t\taria-controls={this.contentId}\n\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot name=\"headline\"/>\n\t\t\t\t\t\t<gov-icon class={CardClass.arrow} name=\"chevron-down\" type=\"components\"></gov-icon>\n\t\t\t\t\t</button>\n\t\t\t\t) : this.h.hasSlot(\"headline\") ? (\n\t\t\t\t\t<div class={CardClass.header}>\n\t\t\t\t\t\t<slot name=\"headline\"/>\n\t\t\t\t\t</div>\n\t\t\t\t) : null}\n\n\t\t\t\t<div\n\t\t\t\t\tclass={CardClass.inner}\n\t\t\t\t\tid={this.contentId}\n\t\t\t\t\taria-hidden={this.collapsible ? booleanString(!this.open) : undefined}\n\t\t\t\t\thidden={this.collapsible ? !this.open : undefined}\n\t\t\t\t\taria-labelledby={this.collapsible ? this.headlineId : undefined}\n\t\t\t\t>\n\t\t\t\t\t{this.h.hasSlot('img') && (\n\t\t\t\t\t\t<div class={CardClass.img}>\n\t\t\t\t\t\t\t<slot name=\"img\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t<div class={CardClass.icon}>\n\t\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<div class={CardClass.content}>\n\t\t\t\t\t\t<slot/>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t{this.h.hasSlot('footer') && (\n\t\t\t\t\t\t<div class={CardClass.footer}>\n\t\t\t\t\t\t\t<slot name=\"footer\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e) {\n\t\te.stopPropagation()\n\t\tif (this.collapsible) {\n\t\t\tthis.open = !this.open\n\t\t\tthis.govToggle.emit({open: this.open, element: this.host})\n\t\t}\n\t}\n\n\t/**\n\t * Validate the accessible attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tif (this.collapsible) {\n\t\t\tvalidateAccessibleLabel(this.accessibleTriggerLabel, this.accessibleTriggerLabelledBy, CardClass.root, this.host)\n\t\t}\n\t}\n}\n"],"mappings":"+RAEA,IAAYA,GAAZ,SAAYA,GACXA,EAAA,2BACAA,EAAA,sBACA,EAHD,CAAYA,MAAa,KAMlB,MAAMC,EAAY,CACxBC,KAAM,WACNC,OAAQ,mBACRC,MAAO,kBACPC,MAAO,kBACPC,IAAK,gBACLC,KAAM,iBACNC,QAAS,oBACTC,OAAQ,oB,MCHIC,EAAOC,EAAA,MAAAD,UAAAE,EAMnB,WAAAC,G,oEAFQC,KAAAC,SAAW,M,eAa6B,W,iBAIR,M,UAIK,K,iFAlB5CD,KAAKE,EAAIC,EAAQH,KAAKI,MACtBJ,KAAKK,WAAaC,EAAS,mBAC3BN,KAAKO,UAAYD,EAAS,iB,CA8B3B,wBAAME,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNV,KAAKW,uB,EAIb,iBAAAC,GACCZ,KAAKC,SAAW,I,CAGjB,MAAAY,GACC,OACCX,EAACY,EAAI,CAAAC,IAAA,2CAACC,MAAOhB,KAAKE,EAAEe,QAAQ9B,EAAUC,MAAO8B,KAAMlB,KAAKkB,KACrDC,YAAaC,EAAcpB,KAAKmB,aAAcE,UAAWrB,KAAKqB,UAAWpB,SAAUD,KAAKC,UACzFD,KAAKmB,YACLjB,EAAA,UACCoB,GAAItB,KAAKK,WACTW,MAAO7B,EAAUE,OAAM,aACXW,KAAKuB,uBAAsB,kBACtBvB,KAAKwB,4BAA2B,gBAClCJ,EAAcpB,KAAKkB,MAAK,gBACxBlB,KAAKO,UACpBkB,QAASzB,KAAK0B,eAAeC,KAAK3B,OAElCE,EAAA,QAAM0B,KAAK,aACX1B,EAAA,YAAUc,MAAO7B,EAAUG,MAAOsC,KAAK,eAAeC,KAAK,gBAEzD7B,KAAKE,EAAE4B,QAAQ,YAClB5B,EAAA,OAAKc,MAAO7B,EAAUE,QACrBa,EAAA,QAAM0B,KAAK,cAET,KAEJ1B,EAAA,OAAAa,IAAA,2CACCC,MAAO7B,EAAUI,MACjB+B,GAAItB,KAAKO,UAAS,cACLP,KAAKmB,YAAcC,GAAepB,KAAKkB,MAAQa,UAC5DC,OAAQhC,KAAKmB,aAAenB,KAAKkB,KAAOa,UAAS,kBAChC/B,KAAKmB,YAAcnB,KAAKK,WAAa0B,WAErD/B,KAAKE,EAAE4B,QAAQ,QACf5B,EAAA,OAAAa,IAAA,2CAAKC,MAAO7B,EAAUK,KACrBU,EAAA,QAAAa,IAAA,2CAAMa,KAAK,SAIZ5B,KAAKE,EAAE4B,QAAQ,SACf5B,EAAA,OAAAa,IAAA,2CAAKC,MAAO7B,EAAUM,MACrBS,EAAA,QAAAa,IAAA,2CAAMa,KAAK,UAIb1B,EAAA,OAAAa,IAAA,2CAAKC,MAAO7B,EAAUO,SACrBQ,EAAA,QAAAa,IAAA,8CAGAf,KAAKE,EAAE4B,QAAQ,WACf5B,EAAA,OAAAa,IAAA,2CAAKC,MAAO7B,EAAUQ,QACrBO,EAAA,QAAAa,IAAA,2CAAMa,KAAK,a,CAQT,cAAAF,CAAeO,GACtBA,EAAEC,kBACF,GAAIlC,KAAKmB,YAAa,CACrBnB,KAAKkB,MAAQlB,KAAKkB,KAClBlB,KAAKmC,UAAUC,KAAK,CAAClB,KAAMlB,KAAKkB,KAAMmB,QAASrC,KAAKI,M,EAQtD,2BAAMO,GACL,GAAIX,KAAKmB,YAAa,CACrBmB,EAAwBtC,KAAKuB,uBAAwBvB,KAAKwB,4BAA6BrC,EAAUC,KAAMY,KAAKI,K","ignoreList":[]}
1
+ {"version":3,"names":["CardDirection","CardClass","root","header","arrow","inner","img","icon","content","footer","Tags","GovCard","proxyCustomElement","H","constructor","this","hydrated","h","govHost","host","headlineId","createID","contentId","componentDidRender","canValidateWcagOnRender","delay","validateAccessibility","connectedCallback","render","Tag","href","A","DIV","Host","key","class","classes","open","collapsible","booleanString","clickable","direction","id","accessibleTriggerLabel","accessibleTriggerLabelledBy","onClick","onClickHandler","bind","name","type","hasSlot","target","undefined","hidden","e","stopPropagation","govToggle","emit","element","validateAccessibleLabel"],"sources":["../../../packages/core/src/components/gov-card/constants.ts","../../../packages/core/src/components/gov-card/gov-card.tsx"],"sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\n\nexport enum CardDirection {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical',\n}\nexport type CardDirectionType = `${ValueOf<typeof CardDirection>}`\n\nexport const CardClass = {\n\troot: 'gov-card',\n\theader: 'gov-card__header',\n\tarrow: 'gov-card__arrow',\n\tinner: 'gov-card__inner',\n\timg: 'gov-card__img',\n\ticon: 'gov-card__icon',\n\tcontent: 'gov-card__content',\n\tfooter: 'gov-card__footer',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop} from '@stencil/core'\nimport {CardClass, CardDirectionType} from './constants'\nimport {booleanString, govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {createID} from '../../utils/string.utils'\nimport {validateAccessibleLabel} from '../../helpers/Validate/wcag'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {delay} from '../../utils/utils'\nimport {GovCardChangeEvent} from './interfaces'\nimport {ButtonTargetType} from \"../gov-button/button/constants\";\n\nenum Tags {\n\tA = \"a\",\n\tDIV = \"div\",\n}\n\n@Component({\n\ttag: 'gov-card',\n})\nexport class GovCard {\n\tprivate h: GovHost\n\tprivate readonly headlineId: string\n\tprivate readonly contentId: string\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.headlineId = createID('GovCardHeadline')\n\t\tthis.contentId = createID('GovCardContent')\n\t}\n\n\t@Element() host: HTMLGovCardElement\n\n\t/**\n\t * Card direction\n\t */\n\t@Prop() readonly direction: CardDirectionType = \"vertical\"\n\t/**\n\t * Defines weather the card can be collapsible\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Defines whether the card is open or closed\n\t */\n\t@Prop({reflect: true, mutable: true}) open = true\n\t/**\n\t * Link on whole card\n\t */\n\t@Prop({reflect: true}) readonly href: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\n\t */\n\t@Prop() readonly target?: ButtonTargetType\n\t/**\n\t * Adds accessible label for the collapsible button that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'accessible-label'}) accessibleTriggerLabel: string\n\t/**\n\t * A string of identifiers that indicate alternative label elements for collapsible card\n\t */\n\t@Prop({attribute: 'accessible-labelledby'}) accessibleTriggerLabelledBy: string\n\t/**\n\t * Called when the card toggle state changes\n\t */\n\t@Event({eventName: 'gov-toggle'}) govToggle: EventEmitter<GovCardChangeEvent>\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateAccessibility()\n\t\t}\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\tconst Tag = this.href ? Tags.A : Tags.DIV\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(CardClass.root)} open={this.open}\n\t\t\t\t collapsible={booleanString(this.collapsible)}\n\t\t\t\t clickable={this.href ? true : null}\n\t\t\t\t direction={this.direction} hydrated={this.hydrated}>\n\t\t\t\t{this.collapsible ? (\n\t\t\t\t\t<button\n\t\t\t\t\t\tid={this.headlineId}\n\t\t\t\t\t\tclass={CardClass.header}\n\t\t\t\t\t\taria-label={this.accessibleTriggerLabel}\n\t\t\t\t\t\taria-labelledby={this.accessibleTriggerLabelledBy}\n\t\t\t\t\t\taria-expanded={booleanString(this.open)}\n\t\t\t\t\t\taria-controls={this.contentId}\n\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot name=\"headline\"/>\n\t\t\t\t\t\t<gov-icon class={CardClass.arrow} name=\"chevron-down\" type=\"components\"></gov-icon>\n\t\t\t\t\t</button>\n\t\t\t\t) : this.h.hasSlot(\"headline\") ? (\n\t\t\t\t\t<div class={CardClass.header}>\n\t\t\t\t\t\t<slot name=\"headline\"/>\n\t\t\t\t\t</div>\n\t\t\t\t) : null}\n\n\t\t\t\t<Tag href={this.href}\n\t\t\t\t\t target={this.target}\n\t\t\t\t\t id={this.contentId}\n\t\t\t\t\t aria-hidden={this.collapsible ? booleanString(!this.open) : undefined}\n\t\t\t\t\t hidden={this.collapsible ? !this.open : undefined}\n\t\t\t\t\t aria-labelledby={this.collapsible ? this.headlineId : undefined}\n\t\t\t\t\t class={CardClass.inner}>\n\n\t\t\t\t\t{this.h.hasSlot('img') && (\n\t\t\t\t\t\t<div class={CardClass.img}>\n\t\t\t\t\t\t\t<slot name=\"img\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t<div class={CardClass.icon}>\n\t\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<div class={CardClass.content}>\n\t\t\t\t\t\t<slot/>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t{this.h.hasSlot('footer') && (\n\t\t\t\t\t\t<div class={CardClass.footer}>\n\t\t\t\t\t\t\t<slot name=\"footer\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e) {\n\t\te.stopPropagation()\n\t\tif (this.collapsible) {\n\t\t\tthis.open = !this.open\n\t\t\tthis.govToggle.emit({open: this.open, element: this.host})\n\t\t}\n\t}\n\n\t/**\n\t * Validate the accessible attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tif (this.collapsible) {\n\t\t\tvalidateAccessibleLabel(this.accessibleTriggerLabel, this.accessibleTriggerLabelledBy, CardClass.root, this.host)\n\t\t}\n\t}\n}\n"],"mappings":"+RAEA,IAAYA,GAAZ,SAAYA,GACXA,EAAA,2BACAA,EAAA,sBACA,EAHD,CAAYA,MAAa,KAMlB,MAAMC,EAAY,CACxBC,KAAM,WACNC,OAAQ,mBACRC,MAAO,kBACPC,MAAO,kBACPC,IAAK,gBACLC,KAAM,iBACNC,QAAS,oBACTC,OAAQ,oBCLT,IAAKC,GAAL,SAAKA,GACJA,EAAA,SACAA,EAAA,YACA,EAHD,CAAKA,MAAI,K,MAQIC,EAAOC,EAAA,MAAAD,UAAAE,EAMnB,WAAAC,G,oEAFQC,KAAAC,SAAW,M,eAa6B,W,iBAIR,M,UAIK,K,2HAlB5CD,KAAKE,EAAIC,EAAQH,KAAKI,MACtBJ,KAAKK,WAAaC,EAAS,mBAC3BN,KAAKO,UAAYD,EAAS,iB,CAuC3B,wBAAME,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNV,KAAKW,uB,EAIb,iBAAAC,GACCZ,KAAKC,SAAW,I,CAGjB,MAAAY,GACC,MAAMC,EAAMd,KAAKe,KAAOpB,EAAKqB,EAAIrB,EAAKsB,IAEtC,OACCf,EAACgB,EAAI,CAAAC,IAAA,2CAACC,MAAOpB,KAAKE,EAAEmB,QAAQnC,EAAUC,MAAOmC,KAAMtB,KAAKsB,KACrDC,YAAaC,EAAcxB,KAAKuB,aAChCE,UAAWzB,KAAKe,KAAO,KAAO,KAC9BW,UAAW1B,KAAK0B,UAAWzB,SAAUD,KAAKC,UAC3CD,KAAKuB,YACLrB,EAAA,UACCyB,GAAI3B,KAAKK,WACTe,MAAOlC,EAAUE,OAAM,aACXY,KAAK4B,uBAAsB,kBACtB5B,KAAK6B,4BAA2B,gBAClCL,EAAcxB,KAAKsB,MAAK,gBACxBtB,KAAKO,UACpBuB,QAAS9B,KAAK+B,eAAeC,KAAKhC,OAElCE,EAAA,QAAM+B,KAAK,aACX/B,EAAA,YAAUkB,MAAOlC,EAAUG,MAAO4C,KAAK,eAAeC,KAAK,gBAEzDlC,KAAKE,EAAEiC,QAAQ,YAClBjC,EAAA,OAAKkB,MAAOlC,EAAUE,QACrBc,EAAA,QAAM+B,KAAK,cAET,KAEJ/B,EAACY,EAAG,CAAAK,IAAA,2CAACJ,KAAMf,KAAKe,KACdqB,OAAQpC,KAAKoC,OACbT,GAAI3B,KAAKO,UAAS,cACLP,KAAKuB,YAAcC,GAAexB,KAAKsB,MAAQe,UAC5DC,OAAQtC,KAAKuB,aAAevB,KAAKsB,KAAOe,UAAS,kBAChCrC,KAAKuB,YAAcvB,KAAKK,WAAagC,UACtDjB,MAAOlC,EAAUI,OAEjBU,KAAKE,EAAEiC,QAAQ,QACfjC,EAAA,OAAAiB,IAAA,2CAAKC,MAAOlC,EAAUK,KACrBW,EAAA,QAAAiB,IAAA,2CAAMc,KAAK,SAIZjC,KAAKE,EAAEiC,QAAQ,SACfjC,EAAA,OAAAiB,IAAA,2CAAKC,MAAOlC,EAAUM,MACrBU,EAAA,QAAAiB,IAAA,2CAAMc,KAAK,UAIb/B,EAAA,OAAAiB,IAAA,2CAAKC,MAAOlC,EAAUO,SACrBS,EAAA,QAAAiB,IAAA,8CAGAnB,KAAKE,EAAEiC,QAAQ,WACfjC,EAAA,OAAAiB,IAAA,2CAAKC,MAAOlC,EAAUQ,QACrBQ,EAAA,QAAAiB,IAAA,2CAAMc,KAAK,a,CAQT,cAAAF,CAAeQ,GACtBA,EAAEC,kBACF,GAAIxC,KAAKuB,YAAa,CACrBvB,KAAKsB,MAAQtB,KAAKsB,KAClBtB,KAAKyC,UAAUC,KAAK,CAACpB,KAAMtB,KAAKsB,KAAMqB,QAAS3C,KAAKI,M,EAQtD,2BAAMO,GACL,GAAIX,KAAKuB,YAAa,CACrBqB,EAAwB5C,KAAK4B,uBAAwB5B,KAAK6B,4BAA6B3C,EAAUC,KAAMa,KAAKI,K","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{G as o,d as s}from"./p-b5dc6bae.js";const t=o;const a=s;export{t as GovChip,a as defineCustomElement};
1
+ import{G as o,d as s}from"./p-f9b1a12b.js";const t=o;const a=s;export{t as GovChip,a as defineCustomElement};
2
2
  //# sourceMappingURL=gov-chip.js.map
@@ -1,2 +1,2 @@
1
- import{p as t,H as s,h as e,d as o}from"./p-42200001.js";import{g as n}from"./p-ea7fdd2e.js";const a={root:"gov-container"};const c=t(class t extends s{constructor(){super();this.__registerHost();this.h=n(this.host)}render(){return e(o,{key:"ad1f0a234ba94b59c7214c2ddba4208234355a47",class:this.h.classes(a.root)},e("slot",{key:"a7b877a4cf5d2f5ec1aa5908a2faf9976fa5591e"}))}get host(){return this}},[4,"gov-container"]);function r(){if(typeof customElements==="undefined"){return}const t=["gov-container"];t.forEach((t=>{switch(t){case"gov-container":if(!customElements.get(t)){customElements.define(t,c)}break}}))}r();const i=c;const f=r;export{i as GovContainer,f as defineCustomElement};
1
+ import{p as e,H as t,h as s,d as o}from"./p-42200001.js";import{g as n}from"./p-ea7fdd2e.js";const c={root:"gov-container"};const r=e(class e extends t{constructor(){super();this.__registerHost();this.h=n(this.host)}render(){return s(o,{key:"82f7c451b4196138a062e9e807c0b264b5f8e1fe",class:this.h.classes(c.root)},s("slot",{key:"04a40aeafe57c99f4a148d04320bf390e3444ea8"}))}get host(){return this}},[4,"gov-container"]);function a(){if(typeof customElements==="undefined"){return}const e=["gov-container"];e.forEach((e=>{switch(e){case"gov-container":if(!customElements.get(e)){customElements.define(e,r)}break}}))}a();const i=r;const f=a;export{i as GovContainer,f as defineCustomElement};
2
2
  //# sourceMappingURL=gov-container.js.map
@@ -1,2 +1,2 @@
1
- import{p as o,H as t,h as r,d as s}from"./p-42200001.js";import{C as e}from"./p-5aad3497.js";import{g as a}from"./p-ea7fdd2e.js";import{v as c}from"./p-0b3574c2.js";import{p as n}from"./p-e0e2e9c1.js";n(e,["PRIMARY","SECONDARY","NEUTRAL","ERROR","SUCCESS","WARNING"]);const i={root:"gov-control-group"};const l=o(class o extends t{constructor(){super();this.__registerHost();this.color=e.PRIMARY;this.noBorder=false;this.fitContent=false;this.h=a(this.host)}validateColor(o){c(e,o,i.root)}render(){return r(s,{key:"c52a55a92fd473dcec8806a693fa820a9557a8f3",class:this.h.classes(i.root),color:this.color},r("slot",{key:"2c39e206b7a295212f4bda2a0552b1d10d19828b"}))}get host(){return this}static get watchers(){return{color:["validateColor"]}}},[4,"gov-control-group",{color:[1],noBorder:[4,"no-border"],fitContent:[4,"fit-content"]},undefined,{color:["validateColor"]}]);function d(){if(typeof customElements==="undefined"){return}const o=["gov-control-group"];o.forEach((o=>{switch(o){case"gov-control-group":if(!customElements.get(o)){customElements.define(o,l)}break}}))}d();const f=l;const p=d;export{f as GovControlGroup,p as defineCustomElement};
1
+ import{p as o,H as t,h as e,d as r}from"./p-42200001.js";import{C as s}from"./p-5aad3497.js";import{g as c}from"./p-ea7fdd2e.js";import{v as a}from"./p-0b3574c2.js";import{p as n}from"./p-e0e2e9c1.js";n(s,["PRIMARY","SECONDARY","NEUTRAL","ERROR","SUCCESS","WARNING"]);const i={root:"gov-control-group"};const l=o(class o extends t{constructor(){super();this.__registerHost();this.color=s.PRIMARY;this.noBorder=false;this.fitContent=false;this.h=c(this.host)}validateColor(o){a(s,o,i.root)}render(){return e(r,{key:"74d339e88105be80b3f335aa2af1155ab23099c8",class:this.h.classes(i.root),color:this.color},e("slot",{key:"e3af09285370470ad4e1ca9e6b225ca98708cebc"}))}get host(){return this}static get watchers(){return{color:["validateColor"]}}},[4,"gov-control-group",{color:[1],noBorder:[4,"no-border"],fitContent:[4,"fit-content"]},undefined,{color:["validateColor"]}]);function f(){if(typeof customElements==="undefined"){return}const o=["gov-control-group"];o.forEach((o=>{switch(o){case"gov-control-group":if(!customElements.get(o)){customElements.define(o,l)}break}}))}f();const p=l;const d=f;export{p as GovControlGroup,d as defineCustomElement};
2
2
  //# sourceMappingURL=gov-control-group.js.map
@@ -1,2 +1,2 @@
1
- import{p as c,H as e,h as o,d as s}from"./p-42200001.js";import{g as a}from"./p-ea7fdd2e.js";const t={root:"gov-cookiebar",content:"gov-cookiebar__content",actions:"gov-cookiebar__actions",actionsPrimary:"gov-cookiebar__actions--primary",actionsSecondary:"gov-cookiebar__actions--secondary"};const i=c(class c extends e{constructor(){super();this.__registerHost();this.h=a(this.host)}render(){return o(s,{key:"10c57cd4a06fe46e504309598788a95fc832493c",class:this.h.classes(t.root)},o("div",{key:"877d252bf4889abadd06e50c125ec27e114353e5",class:t.content},o("slot",{key:"817560e69ede6d998c27db262346e889167830fc",name:"headline"}),o("slot",{key:"27395c4c03746c73eec66e75e16c7c6209a41298"})),(this.h.hasSlot("actions-primary")||this.h.hasSlot("actions-secondary"))&&o("div",{key:"5d1395aa7039f6dc0bd84b47387b2d2b54c2359e",class:t.actions},this.h.hasSlot("actions-primary")&&o("div",{key:"79e2932462ff78a186b3de70d5a7bab0ff9cdc7f",class:t.actionsPrimary},o("slot",{key:"85cc159d24a21c8b8f4148a339038e2bdce5f246",name:"actions-primary"})),this.h.hasSlot("actions-secondary")&&o("div",{key:"af86c4ad358e36356f1d4be9409c2f642faf7035",class:t.actionsSecondary},o("slot",{key:"5495b26b5c31112a4c4bcd8dcbd21d54993bb6e1",name:"actions-secondary"}))))}get host(){return this}},[4,"gov-cookiebar"]);function n(){if(typeof customElements==="undefined"){return}const c=["gov-cookiebar"];c.forEach((c=>{switch(c){case"gov-cookiebar":if(!customElements.get(c)){customElements.define(c,i)}break}}))}n();const r=i;const d=n;export{r as GovCookiebar,d as defineCustomElement};
1
+ import{p as c,H as a,h as e,d as o}from"./p-42200001.js";import{g as s}from"./p-ea7fdd2e.js";const t={root:"gov-cookiebar",content:"gov-cookiebar__content",actions:"gov-cookiebar__actions",actionsPrimary:"gov-cookiebar__actions--primary",actionsSecondary:"gov-cookiebar__actions--secondary"};const d=c(class c extends a{constructor(){super();this.__registerHost();this.h=s(this.host)}render(){return e(o,{key:"ad50c5414cb7d3dc0c5b2d378e2484dea094b1de",class:this.h.classes(t.root)},e("div",{key:"aeedb06244acdb5bf57f11c37132d7fec2871cc5",class:t.content},e("slot",{key:"90ac710208833ac2c6349792a02f13c4e80741c4",name:"headline"}),e("slot",{key:"67c6c377aa6255bd31fefa8d20b55bfa3c90b489"})),(this.h.hasSlot("actions-primary")||this.h.hasSlot("actions-secondary"))&&e("div",{key:"aa9b2f1162adcd6d9a2d81da2262046ec8886f50",class:t.actions},this.h.hasSlot("actions-primary")&&e("div",{key:"b152aebaef3031dc48fe569fef4f1f8119dbaf6b",class:t.actionsPrimary},e("slot",{key:"16b3e328ddc88528d877052b445855dc909605d4",name:"actions-primary"})),this.h.hasSlot("actions-secondary")&&e("div",{key:"a825b255261a36cfd192d8936de9eb2b78d5d941",class:t.actionsSecondary},e("slot",{key:"f651dfbf6756682711b2c4415df6acf4a2c9a479",name:"actions-secondary"}))))}get host(){return this}},[4,"gov-cookiebar"]);function i(){if(typeof customElements==="undefined"){return}const c=["gov-cookiebar"];c.forEach((c=>{switch(c){case"gov-cookiebar":if(!customElements.get(c)){customElements.define(c,d)}break}}))}i();const n=d;const r=i;export{n as GovCookiebar,r as defineCustomElement};
2
2
  //# sourceMappingURL=gov-cookiebar.js.map
@@ -1,2 +1,2 @@
1
- import{p as e,H as s,c as a,h as i,d as t}from"./p-42200001.js";import{g as o,a as c,c as l}from"./p-ea7fdd2e.js";import{c as d}from"./p-e8ec030e.js";import{b}from"./p-80dad64b.js";import{c as n}from"./p-cd6c2938.js";import{t as f}from"./p-26618322.js";import{d as h}from"./p-7be2301a.js";import{d as r}from"./p-4fba9df0.js";import{d as g}from"./p-3c90521b.js";const m={root:"gov-dialog",dialog:"gov-dialog__dialog",inner:"gov-dialog__inner",header:"gov-dialog__header",title:"gov-dialog__title",content:"gov-dialog__content",close:"gov-dialog__close",footer:"gov-dialog__footer",bodyFix:"body-fixed"};const p=e(class e extends s{constructor(){super();this.__registerHost();this.govClose=a(this,"gov-close",7);this.hydrated=false;this.open=false;this.blockClose=false;this.blockBackdropClose=false;this.role="dialog";this.labelTag="h2";this.accessibleLabelledBy=undefined;this.accessibleDescribedBy=undefined;this.accessibleCloseLabel="Zavřít okno";this.accessibleCloseLabelledBy=undefined;this.h=o(this.host);this.labelId=n("GovDialogLabel");this.contentId=n("GovDialogContent")}watchOpen(e){this.open=e;this.setFocus().finally()}showDialog(){this.open=true;document.body.classList.add(m.bodyFix)}hideDialog(){this.open=false;document.body.classList.remove(m.bodyFix)}async componentDidRender(){if(d()){f((()=>this.validateAccessibility()))}if(this.open){this.showDialog()}else{this.hideDialog()}}connectedCallback(){this.hydrated=true}disconnectedCallback(){document.body.classList.remove(m.bodyFix)}render(){return i(t,{key:"697a938c343fff3af9cb37c377ac9784e0728e0e",class:this.h.classes(m.root),open:this.open,hydrated:this.hydrated},i("dialog",{key:"9b641ef551f5f4eeb00890e822b6f5434421c38d",class:m.dialog,hidden:!this.open,tabindex:c(this.open),open:this.open,"aria-modal":"true","aria-hidden":l(!this.open),"aria-labelledby":this.accessibleLabelledBy||this.labelId,"aria-describedby":this.accessibleDescribedBy||this.contentId,role:this.role},i("div",{key:"08da7bb9a7d3b942132410dc4dbf57c2b9d85363",class:m.inner},i("div",{key:"389a42468a93951f461024950ea84a80443bd366",class:m.header},this.h.hasSlot("icon")&&i("span",{key:"920649b3b276589a254cc8f47c777406d2adfdaf"},i("slot",{key:"7a6b86f61009015d5dbfa3aaa7aee9aad42185dd",name:"icon"})),this.h.hasSlot("title")&&i("span",{key:"8aa87028f1ed4c524291c3e0fed0a393fbb46db2",class:m.title,id:this.labelId},i("slot",{key:"70b360d2748edde6ea2f762c72cc3acfa67cde97",name:"title"})),i("gov-button",{key:"946ab0088d52affe4a31ecef5bdef84c1b231093",ref:e=>this.closeCtaRef=e,disabled:this.blockClose,class:m.close,color:"primary","aria-label":this.accessibleCloseLabel,"aria-labelledby":this.accessibleCloseLabelledBy,type:"base",size:"m","on-gov-click":this.onCloseHandler.bind(this)},i("gov-icon",{key:"b9874c2494a8b46c7b9f94f6989527b0acefc465",slot:"icon-start",name:"x-lg",type:"components"}))),i("div",{key:"4f4b1815de42427edeb5bd9a7b88c96e27530472",class:m.content,id:this.contentId},i("slot",{key:"94ccdf29a3578f1ee8e52e505eed109cc6128f67"})),this.h.hasSlot("footer")&&i("div",{key:"8b7f85195264f4045c1d7ab8dd6db9f6abfe4f9f",class:m.footer},i("slot",{key:"373cda2bd8b1cccf34acbbf859b4b8f608bc4a19",name:"footer"})))),this.open?i("gov-backdrop",{disabled:this.blockBackdropClose,"aria-label":this.accessibleCloseLabel,"aria-labelled-by":this.accessibleCloseLabelledBy,"on-gov-click":this.onCloseHandler.bind(this)}):null)}onCloseHandler(e){e.stopPropagation();e.preventDefault();if(this.blockClose===false){this.hideDialog();this.govClose.emit(e)}}async setFocus(){if(this.open&&this.closeCtaRef){this.closeCtaRef.setFocus().catch()}}async validateAccessibility(){b(this.accessibleLabelledBy,"accessible-labelled-by",m.root);b(this.accessibleDescribedBy,"accessible-described-by",m.root)}get host(){return this}static get watchers(){return{open:["watchOpen"]}}},[4,"gov-dialog",{open:[1540],blockClose:[4,"block-close"],blockBackdropClose:[4,"block-backdrop-close"],role:[1],labelTag:[1,"label-tag"],accessibleLabelledBy:[1,"accessible-labelled-by"],accessibleDescribedBy:[1,"accessible-described-by"],accessibleCloseLabel:[1,"accessible-close-label"],accessibleCloseLabelledBy:[1,"accessible-close-labelled-by"],setFocus:[64],validateAccessibility:[64]},undefined,{open:["watchOpen"]}]);function y(){if(typeof customElements==="undefined"){return}const e=["gov-dialog","gov-backdrop","gov-button","gov-icon"];e.forEach((e=>{switch(e){case"gov-dialog":if(!customElements.get(e)){customElements.define(e,p)}break;case"gov-backdrop":if(!customElements.get(e)){h()}break;case"gov-button":if(!customElements.get(e)){r()}break;case"gov-icon":if(!customElements.get(e)){g()}break}}))}y();const k=p;const v=y;export{k as GovDialog,v as defineCustomElement};
1
+ import{p as e,H as s,c as i,h as a,d as t}from"./p-42200001.js";import{g as o,a as c,c as l}from"./p-ea7fdd2e.js";import{c as d}from"./p-e8ec030e.js";import{b}from"./p-10cad7f1.js";import{c as n}from"./p-cd6c2938.js";import{t as h}from"./p-26618322.js";import{d as r}from"./p-e0c3b1a7.js";import{d as f}from"./p-d3435179.js";import{d as g}from"./p-5d60b866.js";const m={root:"gov-dialog",dialog:"gov-dialog__dialog",inner:"gov-dialog__inner",header:"gov-dialog__header",title:"gov-dialog__title",content:"gov-dialog__content",close:"gov-dialog__close",footer:"gov-dialog__footer",bodyFix:"body-fixed"};const p=e(class e extends s{constructor(){super();this.__registerHost();this.govClose=i(this,"gov-close",7);this.hydrated=false;this.open=false;this.blockClose=false;this.blockBackdropClose=false;this.role="dialog";this.labelTag="h2";this.accessibleLabelledBy=undefined;this.accessibleDescribedBy=undefined;this.accessibleCloseLabel="Zavřít okno";this.accessibleCloseLabelledBy=undefined;this.h=o(this.host);this.labelId=n("GovDialogLabel");this.contentId=n("GovDialogContent")}watchOpen(e){this.open=e;this.setFocus().finally()}showDialog(){this.open=true;document.body.classList.add(m.bodyFix)}hideDialog(){this.open=false;document.body.classList.remove(m.bodyFix)}async componentDidRender(){if(d()){h((()=>this.validateAccessibility()))}if(this.open){this.showDialog()}else{this.hideDialog()}}connectedCallback(){this.hydrated=true}disconnectedCallback(){document.body.classList.remove(m.bodyFix)}render(){return a(t,{key:"d4185a1b611db509ebf08509afa23b6e1682fe6f",class:this.h.classes(m.root),open:this.open,hydrated:this.hydrated},a("dialog",{key:"6a9624025826c1bd0eb7e83739112cf7b2d56dbc",class:m.dialog,hidden:!this.open,tabindex:c(this.open),open:this.open,"aria-modal":"true","aria-hidden":l(!this.open),"aria-labelledby":this.accessibleLabelledBy||this.labelId,"aria-describedby":this.accessibleDescribedBy||this.contentId,role:this.role},a("div",{key:"1f93dc885aad9898151e00ca4717c8dd8eeea1ff",class:m.inner},a("div",{key:"4455c3f5f5e6aa9e6ec84ce400ead24a3e526374",class:m.header},this.h.hasSlot("icon")&&a("span",{key:"40bd7dba7f121d87e00b48b5c4f3ed0c01f5d4a0"},a("slot",{key:"911f36f5199cde0f6561da2385934bb88e668c68",name:"icon"})),this.h.hasSlot("title")&&a("span",{key:"1e45df978ffc0f360d242d24e826b4df41188196",class:m.title,id:this.labelId},a("slot",{key:"920d60a3305db5b2b7963e6e0c795dbe49101f40",name:"title"})),a("gov-button",{key:"42a64cd1706ba71362bc0bc0b8d69e9867ec5fb1",ref:e=>this.closeCtaRef=e,disabled:this.blockClose,class:m.close,color:"primary","aria-label":this.accessibleCloseLabel,"aria-labelledby":this.accessibleCloseLabelledBy,type:"base",size:"m","on-gov-click":this.onCloseHandler.bind(this)},a("gov-icon",{key:"480265e99c21126cbb755df8e6c6f482f69fb92b",slot:"icon-start",name:"x-lg",type:"components"}))),a("div",{key:"dc16ca442fbb779b8d0c127253324d2894e1b1e5",class:m.content,id:this.contentId},a("slot",{key:"a721e2e66951a436c2a7c946648e15cd1043a7c1"})),this.h.hasSlot("footer")&&a("div",{key:"ea53d2a6284285c3b33a346784f783e69cc6ff4a",class:m.footer},a("slot",{key:"1693aec930d48ffd79505638b4b03df4e50529f5",name:"footer"})))),this.open?a("gov-backdrop",{disabled:this.blockBackdropClose,"aria-label":this.accessibleCloseLabel,"aria-labelled-by":this.accessibleCloseLabelledBy,"on-gov-click":this.onCloseHandler.bind(this)}):null)}onCloseHandler(e){e.stopPropagation();e.preventDefault();if(this.blockClose===false){this.hideDialog();this.govClose.emit(e)}}async setFocus(){if(this.open&&this.closeCtaRef){this.closeCtaRef.setFocus().catch()}}async validateAccessibility(){b(this.accessibleLabelledBy,"accessible-labelled-by",m.root);b(this.accessibleDescribedBy,"accessible-described-by",m.root)}get host(){return this}static get watchers(){return{open:["watchOpen"]}}},[4,"gov-dialog",{open:[1540],blockClose:[4,"block-close"],blockBackdropClose:[4,"block-backdrop-close"],role:[1],labelTag:[1,"label-tag"],accessibleLabelledBy:[1,"accessible-labelled-by"],accessibleDescribedBy:[1,"accessible-described-by"],accessibleCloseLabel:[1,"accessible-close-label"],accessibleCloseLabelledBy:[1,"accessible-close-labelled-by"],setFocus:[64],validateAccessibility:[64]},undefined,{open:["watchOpen"]}]);function y(){if(typeof customElements==="undefined"){return}const e=["gov-dialog","gov-backdrop","gov-button","gov-icon"];e.forEach((e=>{switch(e){case"gov-dialog":if(!customElements.get(e)){customElements.define(e,p)}break;case"gov-backdrop":if(!customElements.get(e)){r()}break;case"gov-button":if(!customElements.get(e)){f()}break;case"gov-icon":if(!customElements.get(e)){g()}break}}))}y();const k=p;const v=y;export{k as GovDialog,v as defineCustomElement};
2
2
  //# sourceMappingURL=gov-dialog.js.map