@itcenteratunihelsinki/huds-lib 0.8.57 → 0.8.58

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 (465) hide show
  1. package/components/emotion.esm.js.map +1 -1
  2. package/components/hy-footer-base.js +1 -1
  3. package/components/hy-footer-base.js.map +1 -1
  4. package/components/hy-footer-info.js +1 -1
  5. package/components/hy-footer-info.js.map +1 -1
  6. package/components/hy-footer-link-item2.js +1 -1
  7. package/components/hy-footer-link-item2.js.map +1 -1
  8. package/components/hy-hero-carousel.js +45 -18
  9. package/components/hy-hero-carousel.js.map +1 -1
  10. package/components/hy-hero.js +1 -1
  11. package/components/hy-hero.js.map +1 -1
  12. package/components/hy-key-highlight2.js +1 -1
  13. package/components/hy-key-highlight2.js.map +1 -1
  14. package/components/hy-shortcuts.js +1 -1
  15. package/components/hy-shortcuts.js.map +1 -1
  16. package/components/hy-site-header.js.map +1 -1
  17. package/components/hy-tabs2.js +1 -1
  18. package/components/hy-tabs2.js.map +1 -1
  19. package/components/hy-video.js +1 -1
  20. package/components/hy-video.js.map +1 -1
  21. package/components/index2.js.map +1 -1
  22. package/components/link-box.js +1 -1
  23. package/components/link-box.js.map +1 -1
  24. package/components/process-flow-box.js +1 -1
  25. package/components/process-flow-box.js.map +1 -1
  26. package/dist/cjs/color-box_7.cjs.entry.js +177 -0
  27. package/dist/cjs/color-box_7.cjs.entry.js.map +1 -0
  28. package/dist/cjs/emotion.esm-aef96835.js +1399 -0
  29. package/dist/cjs/emotion.esm-aef96835.js.map +1 -0
  30. package/dist/cjs/{globalScript-42d6be40.js → globalScript-9994473d.js} +2 -2
  31. package/dist/cjs/{globalScript-42d6be40.js.map → globalScript-9994473d.js.map} +1 -1
  32. package/dist/cjs/huds-lib.cjs.js +4 -4
  33. package/dist/cjs/huds-lib.cjs.js.map +1 -1
  34. package/dist/cjs/hy-accordion-container_2.cjs.entry.js +243 -0
  35. package/dist/cjs/hy-accordion-container_2.cjs.entry.js.map +1 -0
  36. package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +61 -0
  37. package/dist/cjs/hy-adjacent-image-text.cjs.entry.js.map +1 -0
  38. package/dist/cjs/hy-anchor-link-list.cjs.entry.js +53 -0
  39. package/dist/cjs/hy-anchor-link-list.cjs.entry.js.map +1 -0
  40. package/dist/cjs/hy-badge.cjs.entry.js +23 -0
  41. package/dist/cjs/hy-badge.cjs.entry.js.map +1 -0
  42. package/dist/cjs/hy-banner.cjs.entry.js +51 -0
  43. package/dist/cjs/hy-banner.cjs.entry.js.map +1 -0
  44. package/dist/cjs/hy-box.cjs.entry.js +169 -0
  45. package/dist/cjs/hy-box.cjs.entry.js.map +1 -0
  46. package/dist/cjs/hy-breadcrumbs_16.cjs.entry.js +1027 -0
  47. package/dist/cjs/hy-breadcrumbs_16.cjs.entry.js.map +1 -0
  48. package/dist/cjs/hy-checkbox.cjs.entry.js +32 -0
  49. package/dist/cjs/hy-checkbox.cjs.entry.js.map +1 -0
  50. package/dist/cjs/hy-collaboration.cjs.entry.js +26 -0
  51. package/dist/cjs/hy-collaboration.cjs.entry.js.map +1 -0
  52. package/dist/cjs/hy-content-list_2.cjs.entry.js +180 -0
  53. package/dist/cjs/hy-content-list_2.cjs.entry.js.map +1 -0
  54. package/dist/cjs/hy-crisis-banner.cjs.entry.js +25 -0
  55. package/dist/cjs/hy-crisis-banner.cjs.entry.js.map +1 -0
  56. package/dist/cjs/hy-cta-button.cjs.entry.js +35 -0
  57. package/dist/cjs/hy-cta-button.cjs.entry.js.map +1 -0
  58. package/dist/cjs/hy-cta-link.cjs.entry.js +30 -0
  59. package/dist/cjs/hy-cta-link.cjs.entry.js.map +1 -0
  60. package/dist/cjs/hy-dropdown_3.cjs.entry.js +141 -0
  61. package/dist/cjs/hy-dropdown_3.cjs.entry.js.map +1 -0
  62. package/dist/cjs/hy-event-item.cjs.entry.js +1 -1
  63. package/dist/cjs/hy-events.cjs.entry.js +1 -1
  64. package/dist/cjs/hy-filter-group_6.cjs.entry.js +116 -0
  65. package/dist/cjs/hy-filter-group_6.cjs.entry.js.map +1 -0
  66. package/dist/cjs/hy-general-list_2.cjs.entry.js +103 -0
  67. package/dist/cjs/hy-general-list_2.cjs.entry.js.map +1 -0
  68. package/dist/cjs/hy-grid-container_3.cjs.entry.js +61 -0
  69. package/dist/cjs/hy-grid-container_3.cjs.entry.js.map +1 -0
  70. package/dist/cjs/hy-hero-carousel.cjs.entry.js +47 -20
  71. package/dist/cjs/hy-hero-carousel.cjs.entry.js.map +1 -1
  72. package/dist/cjs/hy-hero.cjs.entry.js +112 -0
  73. package/dist/cjs/hy-hero.cjs.entry.js.map +1 -0
  74. package/dist/cjs/hy-icon.cjs.entry.js +818 -0
  75. package/dist/cjs/hy-icon.cjs.entry.js.map +1 -0
  76. package/dist/cjs/hy-image.cjs.entry.js +53 -0
  77. package/dist/cjs/hy-image.cjs.entry.js.map +1 -0
  78. package/dist/cjs/hy-introduction.cjs.entry.js +63 -0
  79. package/dist/cjs/hy-introduction.cjs.entry.js.map +1 -0
  80. package/dist/cjs/hy-key-figure_2.cjs.entry.js +97 -0
  81. package/dist/cjs/hy-key-figure_2.cjs.entry.js.map +1 -0
  82. package/dist/cjs/hy-key-highlight_2.cjs.entry.js +64 -0
  83. package/dist/cjs/hy-key-highlight_2.cjs.entry.js.map +1 -0
  84. package/dist/cjs/hy-large-process-flow_2.cjs.entry.js +78 -0
  85. package/dist/cjs/hy-large-process-flow_2.cjs.entry.js.map +1 -0
  86. package/dist/cjs/hy-link-box_2.cjs.entry.js +135 -0
  87. package/dist/cjs/hy-link-box_2.cjs.entry.js.map +1 -0
  88. package/dist/cjs/hy-link-list.cjs.entry.js +48 -0
  89. package/dist/cjs/hy-link-list.cjs.entry.js.map +1 -0
  90. package/dist/cjs/hy-link.cjs.entry.js +29 -0
  91. package/dist/cjs/hy-link.cjs.entry.js.map +1 -0
  92. package/dist/cjs/hy-list-item.cjs.entry.js +253 -0
  93. package/dist/cjs/hy-list-item.cjs.entry.js.map +1 -0
  94. package/dist/cjs/hy-logo-grid_2.cjs.entry.js +50 -0
  95. package/dist/cjs/hy-logo-grid_2.cjs.entry.js.map +1 -0
  96. package/dist/cjs/hy-menu-main-group.cjs.entry.js +160 -0
  97. package/dist/cjs/hy-menu-main-group.cjs.entry.js.map +1 -0
  98. package/dist/cjs/hy-opening-hours_2.cjs.entry.js +82 -0
  99. package/dist/cjs/hy-opening-hours_2.cjs.entry.js.map +1 -0
  100. package/dist/cjs/hy-pager_2.cjs.entry.js +64 -0
  101. package/dist/cjs/hy-pager_2.cjs.entry.js.map +1 -0
  102. package/dist/cjs/hy-paragraph-text.cjs.entry.js +48 -0
  103. package/dist/cjs/hy-paragraph-text.cjs.entry.js.map +1 -0
  104. package/dist/cjs/hy-person-card.cjs.entry.js +97 -0
  105. package/dist/cjs/hy-person-card.cjs.entry.js.map +1 -0
  106. package/dist/cjs/hy-person-profile-listing.cjs.entry.js +36 -0
  107. package/dist/cjs/hy-person-profile-listing.cjs.entry.js.map +1 -0
  108. package/dist/cjs/hy-person-profile.cjs.entry.js +74 -0
  109. package/dist/cjs/hy-person-profile.cjs.entry.js.map +1 -0
  110. package/dist/cjs/hy-process_2.cjs.entry.js +86 -0
  111. package/dist/cjs/hy-process_2.cjs.entry.js.map +1 -0
  112. package/dist/cjs/hy-prominent-image.cjs.entry.js +41 -0
  113. package/dist/cjs/hy-prominent-image.cjs.entry.js.map +1 -0
  114. package/dist/cjs/hy-quote.cjs.entry.js +33 -0
  115. package/dist/cjs/hy-quote.cjs.entry.js.map +1 -0
  116. package/dist/cjs/hy-row.cjs.entry.js +35 -0
  117. package/dist/cjs/hy-row.cjs.entry.js.map +1 -0
  118. package/dist/cjs/hy-shortcuts.cjs.entry.js +63 -0
  119. package/dist/cjs/hy-shortcuts.cjs.entry.js.map +1 -0
  120. package/dist/cjs/hy-table-container.cjs.entry.js +22 -0
  121. package/dist/cjs/hy-table-container.cjs.entry.js.map +1 -0
  122. package/dist/cjs/hy-tabs_2.cjs.entry.js +332 -0
  123. package/dist/cjs/hy-tabs_2.cjs.entry.js.map +1 -0
  124. package/dist/cjs/hy-tag.cjs.entry.js +22 -0
  125. package/dist/cjs/hy-tag.cjs.entry.js.map +1 -0
  126. package/dist/cjs/hy-twitter-feed.cjs.entry.js +34 -0
  127. package/dist/cjs/hy-twitter-feed.cjs.entry.js.map +1 -0
  128. package/dist/cjs/hy-two-columns.cjs.entry.js +23 -0
  129. package/dist/cjs/hy-two-columns.cjs.entry.js.map +1 -0
  130. package/dist/cjs/hy-user-login-form.cjs.entry.js +27 -0
  131. package/dist/cjs/hy-user-login-form.cjs.entry.js.map +1 -0
  132. package/dist/cjs/hy-video.cjs.entry.js +102 -0
  133. package/dist/cjs/hy-video.cjs.entry.js.map +1 -0
  134. package/dist/cjs/{index-8fc99295.js → index-32830401.js} +103 -37
  135. package/dist/cjs/index-32830401.js.map +1 -0
  136. package/dist/cjs/index-dacd8ca5.js +969 -0
  137. package/dist/cjs/index-dacd8ca5.js.map +1 -0
  138. package/dist/cjs/loader.cjs.js +4 -4
  139. package/dist/cjs/loader.cjs.js.map +1 -1
  140. package/dist/collection/collection-manifest.json +262 -70
  141. package/dist/collection/components/accordion-container/accordion-container.spec.js +7 -0
  142. package/dist/collection/components/accordion-container/accordion-container.spec.js.map +1 -0
  143. package/dist/collection/components/accordion-item/accordion-item.spec.js +7 -0
  144. package/dist/collection/components/accordion-item/accordion-item.spec.js.map +1 -0
  145. package/dist/collection/components/adjacent-image-text/adjacent-image-text.spec.js +7 -0
  146. package/dist/collection/components/adjacent-image-text/adjacent-image-text.spec.js.map +1 -0
  147. package/dist/collection/components/baseline/baseline.spec.js +7 -0
  148. package/dist/collection/components/baseline/baseline.spec.js.map +1 -0
  149. package/dist/collection/components/button/button.e2e.js +16 -0
  150. package/dist/collection/components/button/button.e2e.js.map +1 -0
  151. package/dist/collection/components/button/button.spec.js +55 -0
  152. package/dist/collection/components/button/button.spec.js.map +1 -0
  153. package/dist/collection/components/color-box/color-box.spec.js +18 -0
  154. package/dist/collection/components/color-box/color-box.spec.js.map +1 -0
  155. package/dist/collection/components/cta-button/cta-button.e2e.js +15 -0
  156. package/dist/collection/components/cta-button/cta-button.e2e.js.map +1 -0
  157. package/dist/collection/components/cta-button/cta-button.spec.js +7 -0
  158. package/dist/collection/components/cta-button/cta-button.spec.js.map +1 -0
  159. package/dist/collection/components/cta-link/cta-link.e2e.js +15 -0
  160. package/dist/collection/components/cta-link/cta-link.e2e.js.map +1 -0
  161. package/dist/collection/components/cta-link/cta-link.spec.js +7 -0
  162. package/dist/collection/components/cta-link/cta-link.spec.js.map +1 -0
  163. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +1 -1
  164. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js.map +1 -1
  165. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +1 -1
  166. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js.map +1 -1
  167. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.css +0 -1
  168. package/dist/collection/components/grid-container/grid-container.spec.js +7 -0
  169. package/dist/collection/components/grid-container/grid-container.spec.js.map +1 -0
  170. package/dist/collection/components/grid-item/grid-item.spec.js +7 -0
  171. package/dist/collection/components/grid-item/grid-item.spec.js.map +1 -0
  172. package/dist/collection/components/grid-row/grid-row.spec.js +7 -0
  173. package/dist/collection/components/grid-row/grid-row.spec.js.map +1 -0
  174. package/dist/collection/components/heading/heading.spec.js +7 -0
  175. package/dist/collection/components/heading/heading.spec.js.map +1 -0
  176. package/dist/collection/components/hy-badge/hy-badge.spec.js +20 -0
  177. package/dist/collection/components/hy-badge/hy-badge.spec.js.map +1 -0
  178. package/dist/collection/components/hy-box/test/hy-box.spec.js +26 -0
  179. package/dist/collection/components/hy-box/test/hy-box.spec.js.map +1 -0
  180. package/dist/collection/components/hy-box-container/test/hy-box-container.e2e.js +10 -0
  181. package/dist/collection/components/hy-box-container/test/hy-box-container.e2e.js.map +1 -0
  182. package/dist/collection/components/hy-box-container/test/hy-box-container.spec.js +16 -0
  183. package/dist/collection/components/hy-box-container/test/hy-box-container.spec.js.map +1 -0
  184. package/dist/collection/components/hy-hero/hy-hero.css +0 -1
  185. package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +0 -1
  186. package/dist/collection/components/hy-key-figure/test/hy-key-figure.spec.js +21 -0
  187. package/dist/collection/components/hy-key-figure/test/hy-key-figure.spec.js.map +1 -0
  188. package/dist/collection/components/hy-key-highlight/hy-key-highlight.css +0 -1
  189. package/dist/collection/components/hy-key-highlight/test/hy-key-highlight.spec.js +23 -0
  190. package/dist/collection/components/hy-key-highlight/test/hy-key-highlight.spec.js.map +1 -0
  191. package/dist/collection/components/hy-shortcuts/hy-shortcuts.css +0 -1
  192. package/dist/collection/components/hy-tabs/hy-tabs.css +0 -1
  193. package/dist/collection/components/hy-two-columns/test/hy-two-columns.spec.js +27 -0
  194. package/dist/collection/components/hy-two-columns/test/hy-two-columns.spec.js.map +1 -0
  195. package/dist/collection/components/hy-video/hy-video.css +0 -1
  196. package/dist/collection/components/icon/icon.spec.js +7 -0
  197. package/dist/collection/components/icon/icon.spec.js.map +1 -0
  198. package/dist/collection/components/image/image.spec.js +21 -0
  199. package/dist/collection/components/image/image.spec.js.map +1 -0
  200. package/dist/collection/components/ingress/ingress.spec.js +7 -0
  201. package/dist/collection/components/ingress/ingress.spec.js.map +1 -0
  202. package/dist/collection/components/link/link.e2e.js +17 -0
  203. package/dist/collection/components/link/link.e2e.js.map +1 -0
  204. package/dist/collection/components/link/link.spec.js +7 -0
  205. package/dist/collection/components/link/link.spec.js.map +1 -0
  206. package/dist/collection/components/link-box/link-box.css +0 -1
  207. package/dist/collection/components/link-box/link-box.spec.js +7 -0
  208. package/dist/collection/components/link-box/link-box.spec.js.map +1 -0
  209. package/dist/collection/components/paragraph-text/paragraph-text.spec.js +7 -0
  210. package/dist/collection/components/paragraph-text/paragraph-text.spec.js.map +1 -0
  211. package/dist/collection/components/process/process.spec.js +7 -0
  212. package/dist/collection/components/process/process.spec.js.map +1 -0
  213. package/dist/collection/components/process-flow-box/process-flow-box.css +0 -2
  214. package/dist/collection/components/process-flow-box/process-flow-box.spec.js +7 -0
  215. package/dist/collection/components/process-flow-box/process-flow-box.spec.js.map +1 -0
  216. package/dist/collection/components/row/row.spec.js +7 -0
  217. package/dist/collection/components/row/row.spec.js.map +1 -0
  218. package/dist/collection/components/section-container/section-container.e2e.js +10 -0
  219. package/dist/collection/components/section-container/section-container.e2e.js.map +1 -0
  220. package/dist/collection/components/section-container/section-container.spec.js +17 -0
  221. package/dist/collection/components/section-container/section-container.spec.js.map +1 -0
  222. package/dist/collection/components/tiny-text/tiny-text.spec.js +7 -0
  223. package/dist/collection/components/tiny-text/tiny-text.spec.js.map +1 -0
  224. package/dist/esm/color-box_7.entry.js +167 -0
  225. package/dist/esm/color-box_7.entry.js.map +1 -0
  226. package/dist/esm/emotion.esm-e0a633a4.js +1397 -0
  227. package/dist/esm/emotion.esm-e0a633a4.js.map +1 -0
  228. package/dist/esm/{globalScript-784ce932.js → globalScript-5a4b7abf.js} +2 -2
  229. package/dist/esm/{globalScript-784ce932.js.map → globalScript-5a4b7abf.js.map} +1 -1
  230. package/dist/esm/huds-lib.js +5 -5
  231. package/dist/esm/huds-lib.js.map +1 -1
  232. package/dist/esm/hy-accordion-container_2.entry.js +238 -0
  233. package/dist/esm/hy-accordion-container_2.entry.js.map +1 -0
  234. package/dist/esm/hy-adjacent-image-text.entry.js +57 -0
  235. package/dist/esm/hy-adjacent-image-text.entry.js.map +1 -0
  236. package/dist/esm/hy-anchor-link-list.entry.js +49 -0
  237. package/dist/esm/hy-anchor-link-list.entry.js.map +1 -0
  238. package/dist/esm/hy-badge.entry.js +19 -0
  239. package/dist/esm/hy-badge.entry.js.map +1 -0
  240. package/dist/esm/hy-banner.entry.js +47 -0
  241. package/dist/esm/hy-banner.entry.js.map +1 -0
  242. package/dist/esm/hy-box.entry.js +165 -0
  243. package/dist/esm/hy-box.entry.js.map +1 -0
  244. package/dist/esm/hy-breadcrumbs_16.entry.js +1008 -0
  245. package/dist/esm/hy-breadcrumbs_16.entry.js.map +1 -0
  246. package/dist/esm/hy-checkbox.entry.js +28 -0
  247. package/dist/esm/hy-checkbox.entry.js.map +1 -0
  248. package/dist/esm/hy-collaboration.entry.js +22 -0
  249. package/dist/esm/hy-collaboration.entry.js.map +1 -0
  250. package/dist/esm/hy-content-list_2.entry.js +175 -0
  251. package/dist/esm/hy-content-list_2.entry.js.map +1 -0
  252. package/dist/esm/hy-crisis-banner.entry.js +21 -0
  253. package/dist/esm/hy-crisis-banner.entry.js.map +1 -0
  254. package/dist/esm/hy-cta-button.entry.js +31 -0
  255. package/dist/esm/hy-cta-button.entry.js.map +1 -0
  256. package/dist/esm/hy-cta-link.entry.js +26 -0
  257. package/dist/esm/hy-cta-link.entry.js.map +1 -0
  258. package/dist/esm/hy-dropdown_3.entry.js +135 -0
  259. package/dist/esm/hy-dropdown_3.entry.js.map +1 -0
  260. package/dist/esm/hy-event-item.entry.js +1 -1
  261. package/dist/esm/hy-events.entry.js +2 -2
  262. package/dist/esm/hy-filter-group_6.entry.js +107 -0
  263. package/dist/esm/hy-filter-group_6.entry.js.map +1 -0
  264. package/dist/esm/hy-general-list_2.entry.js +98 -0
  265. package/dist/esm/hy-general-list_2.entry.js.map +1 -0
  266. package/dist/esm/hy-grid-container_3.entry.js +55 -0
  267. package/dist/esm/hy-grid-container_3.entry.js.map +1 -0
  268. package/dist/esm/hy-hero-carousel.entry.js +48 -21
  269. package/dist/esm/hy-hero-carousel.entry.js.map +1 -1
  270. package/dist/esm/hy-hero.entry.js +108 -0
  271. package/dist/esm/hy-hero.entry.js.map +1 -0
  272. package/dist/esm/hy-icon.entry.js +814 -0
  273. package/dist/esm/hy-icon.entry.js.map +1 -0
  274. package/dist/esm/hy-image.entry.js +49 -0
  275. package/dist/esm/hy-image.entry.js.map +1 -0
  276. package/dist/esm/hy-introduction.entry.js +59 -0
  277. package/dist/esm/hy-introduction.entry.js.map +1 -0
  278. package/dist/esm/hy-key-figure_2.entry.js +92 -0
  279. package/dist/esm/hy-key-figure_2.entry.js.map +1 -0
  280. package/dist/esm/hy-key-highlight_2.entry.js +59 -0
  281. package/dist/esm/hy-key-highlight_2.entry.js.map +1 -0
  282. package/dist/esm/hy-large-process-flow_2.entry.js +73 -0
  283. package/dist/esm/hy-large-process-flow_2.entry.js.map +1 -0
  284. package/dist/esm/hy-link-box_2.entry.js +130 -0
  285. package/dist/esm/hy-link-box_2.entry.js.map +1 -0
  286. package/dist/esm/hy-link-list.entry.js +44 -0
  287. package/dist/esm/hy-link-list.entry.js.map +1 -0
  288. package/dist/esm/hy-link.entry.js +25 -0
  289. package/dist/esm/hy-link.entry.js.map +1 -0
  290. package/dist/esm/hy-list-item.entry.js +249 -0
  291. package/dist/esm/hy-list-item.entry.js.map +1 -0
  292. package/dist/esm/hy-logo-grid_2.entry.js +45 -0
  293. package/dist/esm/hy-logo-grid_2.entry.js.map +1 -0
  294. package/dist/esm/hy-menu-main-group.entry.js +156 -0
  295. package/dist/esm/hy-menu-main-group.entry.js.map +1 -0
  296. package/dist/esm/hy-opening-hours_2.entry.js +77 -0
  297. package/dist/esm/hy-opening-hours_2.entry.js.map +1 -0
  298. package/dist/esm/hy-pager_2.entry.js +59 -0
  299. package/dist/esm/hy-pager_2.entry.js.map +1 -0
  300. package/dist/esm/hy-paragraph-text.entry.js +44 -0
  301. package/dist/esm/hy-paragraph-text.entry.js.map +1 -0
  302. package/dist/esm/hy-person-card.entry.js +93 -0
  303. package/dist/esm/hy-person-card.entry.js.map +1 -0
  304. package/dist/esm/hy-person-profile-listing.entry.js +32 -0
  305. package/dist/esm/hy-person-profile-listing.entry.js.map +1 -0
  306. package/dist/esm/hy-person-profile.entry.js +70 -0
  307. package/dist/esm/hy-person-profile.entry.js.map +1 -0
  308. package/dist/esm/hy-process_2.entry.js +81 -0
  309. package/dist/esm/hy-process_2.entry.js.map +1 -0
  310. package/dist/esm/hy-prominent-image.entry.js +37 -0
  311. package/dist/esm/hy-prominent-image.entry.js.map +1 -0
  312. package/dist/esm/hy-quote.entry.js +29 -0
  313. package/dist/esm/hy-quote.entry.js.map +1 -0
  314. package/dist/esm/hy-row.entry.js +31 -0
  315. package/dist/esm/hy-row.entry.js.map +1 -0
  316. package/dist/esm/hy-shortcuts.entry.js +59 -0
  317. package/dist/esm/hy-shortcuts.entry.js.map +1 -0
  318. package/dist/esm/hy-table-container.entry.js +18 -0
  319. package/dist/esm/hy-table-container.entry.js.map +1 -0
  320. package/dist/esm/hy-tabs_2.entry.js +327 -0
  321. package/dist/esm/hy-tabs_2.entry.js.map +1 -0
  322. package/dist/esm/hy-tag.entry.js +18 -0
  323. package/dist/esm/hy-tag.entry.js.map +1 -0
  324. package/dist/esm/hy-twitter-feed.entry.js +30 -0
  325. package/dist/esm/hy-twitter-feed.entry.js.map +1 -0
  326. package/dist/esm/hy-two-columns.entry.js +19 -0
  327. package/dist/esm/hy-two-columns.entry.js.map +1 -0
  328. package/dist/esm/hy-user-login-form.entry.js +23 -0
  329. package/dist/esm/hy-user-login-form.entry.js.map +1 -0
  330. package/dist/esm/hy-video.entry.js +98 -0
  331. package/dist/esm/hy-video.entry.js.map +1 -0
  332. package/dist/esm/index-ecc819ad.js +967 -0
  333. package/dist/esm/index-ecc819ad.js.map +1 -0
  334. package/dist/esm/{index-f9deccc3.js → index-f84f2a7d.js} +103 -37
  335. package/dist/esm/index-f84f2a7d.js.map +1 -0
  336. package/dist/esm/loader.js +5 -5
  337. package/dist/esm/loader.js.map +1 -1
  338. package/dist/esm/{utils-a4d55421.js → utils-a4ebfef1.js} +2 -2
  339. package/dist/esm/{utils-a4d55421.js.map → utils-a4ebfef1.js.map} +1 -1
  340. package/dist/huds-lib/color-box_7.entry.js +12 -0
  341. package/dist/huds-lib/color-box_7.entry.js.map +1 -0
  342. package/dist/huds-lib/emotion.esm-e0a633a4.js +2 -0
  343. package/dist/huds-lib/emotion.esm-e0a633a4.js.map +1 -0
  344. package/dist/huds-lib/{globalScript-784ce932.js → globalScript-5a4b7abf.js} +2 -2
  345. package/dist/huds-lib/huds-lib.esm.js +1 -1
  346. package/dist/huds-lib/huds-lib.esm.js.map +1 -1
  347. package/dist/huds-lib/hy-accordion-container_2.entry.js +2 -0
  348. package/dist/huds-lib/hy-accordion-container_2.entry.js.map +1 -0
  349. package/dist/huds-lib/hy-adjacent-image-text.entry.js +2 -0
  350. package/dist/huds-lib/hy-adjacent-image-text.entry.js.map +1 -0
  351. package/dist/huds-lib/hy-anchor-link-list.entry.js +2 -0
  352. package/dist/huds-lib/hy-anchor-link-list.entry.js.map +1 -0
  353. package/dist/huds-lib/hy-badge.entry.js +2 -0
  354. package/dist/huds-lib/hy-badge.entry.js.map +1 -0
  355. package/dist/huds-lib/hy-banner.entry.js +2 -0
  356. package/dist/huds-lib/hy-banner.entry.js.map +1 -0
  357. package/dist/huds-lib/hy-box.entry.js +71 -0
  358. package/dist/huds-lib/hy-box.entry.js.map +1 -0
  359. package/dist/huds-lib/hy-breadcrumbs_16.entry.js +2 -0
  360. package/dist/huds-lib/hy-breadcrumbs_16.entry.js.map +1 -0
  361. package/dist/huds-lib/hy-checkbox.entry.js +2 -0
  362. package/dist/huds-lib/hy-checkbox.entry.js.map +1 -0
  363. package/dist/huds-lib/hy-collaboration.entry.js +2 -0
  364. package/dist/huds-lib/hy-collaboration.entry.js.map +1 -0
  365. package/dist/huds-lib/hy-content-list_2.entry.js +2 -0
  366. package/dist/huds-lib/hy-content-list_2.entry.js.map +1 -0
  367. package/dist/huds-lib/hy-crisis-banner.entry.js +2 -0
  368. package/dist/huds-lib/hy-crisis-banner.entry.js.map +1 -0
  369. package/dist/huds-lib/hy-cta-button.entry.js +2 -0
  370. package/dist/huds-lib/hy-cta-button.entry.js.map +1 -0
  371. package/dist/huds-lib/hy-cta-link.entry.js +2 -0
  372. package/dist/huds-lib/hy-cta-link.entry.js.map +1 -0
  373. package/dist/huds-lib/hy-dropdown_3.entry.js +2 -0
  374. package/dist/huds-lib/hy-dropdown_3.entry.js.map +1 -0
  375. package/dist/huds-lib/hy-event-item.entry.js +1 -1
  376. package/dist/huds-lib/hy-events.entry.js +1 -1
  377. package/dist/huds-lib/hy-filter-group_6.entry.js +2 -0
  378. package/dist/huds-lib/hy-filter-group_6.entry.js.map +1 -0
  379. package/dist/huds-lib/hy-general-list_2.entry.js +2 -0
  380. package/dist/huds-lib/hy-general-list_2.entry.js.map +1 -0
  381. package/dist/huds-lib/hy-grid-container_3.entry.js +2 -0
  382. package/dist/huds-lib/hy-grid-container_3.entry.js.map +1 -0
  383. package/dist/huds-lib/hy-hero-carousel.entry.js +1 -1
  384. package/dist/huds-lib/hy-hero-carousel.entry.js.map +1 -1
  385. package/dist/huds-lib/hy-hero.entry.js +2 -0
  386. package/dist/huds-lib/hy-hero.entry.js.map +1 -0
  387. package/dist/huds-lib/hy-icon.entry.js +2 -0
  388. package/dist/huds-lib/hy-icon.entry.js.map +1 -0
  389. package/dist/huds-lib/hy-image.entry.js +2 -0
  390. package/dist/huds-lib/hy-image.entry.js.map +1 -0
  391. package/dist/huds-lib/hy-introduction.entry.js +2 -0
  392. package/dist/huds-lib/hy-introduction.entry.js.map +1 -0
  393. package/dist/huds-lib/hy-key-figure_2.entry.js +2 -0
  394. package/dist/huds-lib/hy-key-figure_2.entry.js.map +1 -0
  395. package/dist/huds-lib/hy-key-highlight_2.entry.js +2 -0
  396. package/dist/huds-lib/hy-key-highlight_2.entry.js.map +1 -0
  397. package/dist/huds-lib/hy-large-process-flow_2.entry.js +2 -0
  398. package/dist/huds-lib/hy-large-process-flow_2.entry.js.map +1 -0
  399. package/dist/huds-lib/hy-link-box_2.entry.js +2 -0
  400. package/dist/huds-lib/hy-link-box_2.entry.js.map +1 -0
  401. package/dist/huds-lib/hy-link-list.entry.js +2 -0
  402. package/dist/huds-lib/hy-link-list.entry.js.map +1 -0
  403. package/dist/huds-lib/hy-link.entry.js +2 -0
  404. package/dist/huds-lib/hy-link.entry.js.map +1 -0
  405. package/dist/huds-lib/hy-list-item.entry.js +2 -0
  406. package/dist/huds-lib/hy-list-item.entry.js.map +1 -0
  407. package/dist/huds-lib/hy-logo-grid_2.entry.js +2 -0
  408. package/dist/huds-lib/hy-logo-grid_2.entry.js.map +1 -0
  409. package/dist/huds-lib/hy-menu-main-group.entry.js +2 -0
  410. package/dist/huds-lib/hy-menu-main-group.entry.js.map +1 -0
  411. package/dist/huds-lib/hy-opening-hours_2.entry.js +2 -0
  412. package/dist/huds-lib/hy-opening-hours_2.entry.js.map +1 -0
  413. package/dist/huds-lib/hy-pager_2.entry.js +2 -0
  414. package/dist/huds-lib/hy-pager_2.entry.js.map +1 -0
  415. package/dist/huds-lib/hy-paragraph-text.entry.js +2 -0
  416. package/dist/huds-lib/hy-paragraph-text.entry.js.map +1 -0
  417. package/dist/huds-lib/hy-person-card.entry.js +2 -0
  418. package/dist/huds-lib/hy-person-card.entry.js.map +1 -0
  419. package/dist/huds-lib/hy-person-profile-listing.entry.js +2 -0
  420. package/dist/huds-lib/hy-person-profile-listing.entry.js.map +1 -0
  421. package/dist/huds-lib/hy-person-profile.entry.js +2 -0
  422. package/dist/huds-lib/hy-person-profile.entry.js.map +1 -0
  423. package/dist/huds-lib/hy-process_2.entry.js +2 -0
  424. package/dist/huds-lib/hy-process_2.entry.js.map +1 -0
  425. package/dist/huds-lib/hy-prominent-image.entry.js +2 -0
  426. package/dist/huds-lib/hy-prominent-image.entry.js.map +1 -0
  427. package/dist/huds-lib/hy-quote.entry.js +2 -0
  428. package/dist/huds-lib/hy-quote.entry.js.map +1 -0
  429. package/dist/huds-lib/hy-row.entry.js +9 -0
  430. package/dist/huds-lib/hy-row.entry.js.map +1 -0
  431. package/dist/huds-lib/hy-shortcuts.entry.js +2 -0
  432. package/dist/huds-lib/hy-shortcuts.entry.js.map +1 -0
  433. package/dist/huds-lib/hy-table-container.entry.js +2 -0
  434. package/dist/huds-lib/hy-table-container.entry.js.map +1 -0
  435. package/dist/huds-lib/hy-tabs_2.entry.js +2 -0
  436. package/dist/huds-lib/hy-tabs_2.entry.js.map +1 -0
  437. package/dist/huds-lib/hy-tag.entry.js +2 -0
  438. package/dist/huds-lib/hy-tag.entry.js.map +1 -0
  439. package/dist/huds-lib/hy-twitter-feed.entry.js +2 -0
  440. package/dist/huds-lib/hy-twitter-feed.entry.js.map +1 -0
  441. package/dist/huds-lib/hy-two-columns.entry.js +2 -0
  442. package/dist/huds-lib/hy-two-columns.entry.js.map +1 -0
  443. package/dist/huds-lib/hy-user-login-form.entry.js +2 -0
  444. package/dist/huds-lib/hy-user-login-form.entry.js.map +1 -0
  445. package/dist/huds-lib/hy-video.entry.js +2 -0
  446. package/dist/huds-lib/hy-video.entry.js.map +1 -0
  447. package/dist/huds-lib/index-ecc819ad.js +2 -0
  448. package/dist/huds-lib/index-ecc819ad.js.map +1 -0
  449. package/dist/huds-lib/index-f84f2a7d.js +3 -0
  450. package/dist/huds-lib/index-f84f2a7d.js.map +1 -0
  451. package/dist/huds-lib/{utils-a4d55421.js → utils-a4ebfef1.js} +2 -2
  452. package/dist/types/stencil-public-runtime.d.ts +3 -0
  453. package/package.json +3 -3
  454. package/dist/cjs/color-box_91.cjs.entry.js +0 -7663
  455. package/dist/cjs/color-box_91.cjs.entry.js.map +0 -1
  456. package/dist/cjs/index-8fc99295.js.map +0 -1
  457. package/dist/esm/color-box_91.entry.js +0 -7569
  458. package/dist/esm/color-box_91.entry.js.map +0 -1
  459. package/dist/esm/index-f9deccc3.js.map +0 -1
  460. package/dist/huds-lib/color-box_91.entry.js +0 -88
  461. package/dist/huds-lib/color-box_91.entry.js.map +0 -1
  462. package/dist/huds-lib/index-f9deccc3.js +0 -3
  463. package/dist/huds-lib/index-f9deccc3.js.map +0 -1
  464. /package/dist/huds-lib/{globalScript-784ce932.js.map → globalScript-5a4b7abf.js.map} +0 -0
  465. /package/dist/huds-lib/{utils-a4d55421.js.map → utils-a4ebfef1.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-f9deccc3.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-f84f2a7d.js';
2
2
 
3
3
  const hyEventItemCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-events__item{display:-webkit-box;display:-ms-flexbox;display:flex;border:1px solid #d8d8d8;padding:13px 16px;position:relative;text-decoration:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;white-space:initial;margin-bottom:1rem}@media (min-width: 48rem){.hy-events__item{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:47px;margin-bottom:1.75rem}}@media (min-width: 48rem){.hy-events__item:not(.hy-events__item--grid) .hy-events__item--container{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-events__item:hover .hy-events__item__title{color:var(--brand-main);text-decoration:underline}.hy-events__item:hover .hy-events__item__date--short,.hy-events__item:hover .hy-events__item__url-icon{background-color:var(--brand-main-active)}.hy-events__item__title{font-size:1.125rem;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:6;color:var(--grayscale-black);display:-webkit-box;font-family:var(--main-font-family);font-weight:700;letter-spacing:-0.36px;line-clamp:6;margin-bottom:16px;overflow:hidden;text-overflow:ellipsis}@media (min-width: 48rem){.hy-events__item__title{font-size:1.375rem;line-height:28px;font-weight:700;font-size:22px;line-height:28px;letter-spacing:-0.44px;margin-bottom:14px}}.hy-events__item__details{font-family:var(--main-font-family);font-style:normal;font-weight:400;font-size:17px;line-height:26px;color:var(--grayscale-black)}.hy-events__item__meta{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width: 48rem){.hy-events__item__meta{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-events__item__meta--item{font-size:0.9375rem;line-height:22px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-right:0px;margin-bottom:9px;font-family:var(--main-font-family);font-weight:400;word-break:break-word}@media (min-width: 48rem){.hy-events__item__meta--item{font-size:1.0625rem;line-height:26px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;margin-right:35px;margin-bottom:0;font-weight:400}}.hy-events__item__meta--item svg{width:20px;height:20px;margin-right:9px;margin-top:2px}@media (min-width: 48rem){.hy-events__item__meta--item svg{margin-top:1px}}.hy-events__item__date--short{font-size:0.9375rem;line-height:18px;display:-webkit-box;display:-ms-flexbox;display:flex;color:var(--grayscale-white);background:var(--brand-main-light);font-family:var(--main-font-family);font-style:normal;font-weight:700;padding:6px 8px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;text-align:center;letter-spacing:-0.28125px;text-decoration:none;margin-bottom:20px;margin-right:0}@media (min-width: 48rem){.hy-events__item__date--short{font-size:1.0625rem;line-height:20px;letter-spacing:-0.31875px;padding:0;height:68px;width:68px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:47px;margin-bottom:0}}.hy-events__item__url-icon{display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;background:var(--brand-main-light);color:var(--grayscale-white);width:32px;height:32px;bottom:16px;right:-9px;z-index:1}@media (min-width: 48rem){.hy-events__item__url-icon{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-events__item__url-icon svg{fill:currentColor}.hy-events__item__read-more{font-size:0.9375rem;line-height:18px;color:var(--brand-main-light);font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;letter-spacing:-0.28125px;margin-top:10px}@media (min-width: 48rem){.hy-events__item__read-more{display:none}}.hy-events__item--grid{padding:1rem;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:280px;max-width:100%;min-height:255px;position:relative;margin-bottom:0}@media (min-width: 48rem){.hy-events__item--grid{max-width:280px;padding:1rem 1rem 0 1rem}}.hy-events__item--grid.is-long{max-height:100%}@media (min-width: 48rem){.hy-events__item--grid.is-long{max-height:255px}}.hy-events__item--grid.is-long::after{display:none;content:\"\";background:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(#ffffff));background:linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);position:absolute;bottom:0;left:0;width:100%;height:36px}@media (min-width: 48rem){.hy-events__item--grid.is-long::after{display:block}}.hy-events__item--grid.is-long .hy-events__item--container{overflow:visible}@media (min-width: 48rem){.hy-events__item--grid.is-long .hy-events__item--container{overflow:hidden}}@media (min-width: 48rem){.hy-events__item--grid.is-long:hover,.hy-events__item--grid.is-long:focus{border:0}}.hy-events__item--grid.is-long:hover::after,.hy-events__item--grid.is-long:hover .hy-events__item--toggle,.hy-events__item--grid.is-long:focus::after,.hy-events__item--grid.is-long:focus .hy-events__item--toggle{display:none}@media (min-width: 48rem){.hy-events__item--grid.is-long:hover .hy-events__item--container,.hy-events__item--grid.is-long:focus .hy-events__item--container{background-color:white;border:1px solid #d8d8d8;padding:16px 16px;position:absolute;top:0;left:0;min-height:255px;overflow:visible}}.hy-events__item--grid .hy-events__item__title{font-size:1.125rem;line-height:24px;letter-spacing:-0.36px}.hy-events__item--grid .hy-events__item--toggle{display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:#d7d7d7;border-radius:50%;position:absolute;top:16px;right:16px;width:24px;height:24px}@media (min-width: 48rem){.hy-events__item--grid .hy-events__item--toggle{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-events__item--grid .hy-events__item__meta{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:9px}.hy-events__item--grid .hy-events__item__meta--item{font-size:0.9375rem;line-height:22px}.hy-events__item--grid .hy-events__item__date--short{padding:6px}@media (min-width: 48rem){.hy-events__item--grid .hy-events__item__date--short{font-size:0.9375rem;line-height:18px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:auto;font-weight:700;letter-spacing:-0.28125px;margin-bottom:18px}}";
4
4
 
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, g as getElement } from './index-f9deccc3.js';
2
- import { d as CtaLinkVariants } from './utils-a4d55421.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-f84f2a7d.js';
2
+ import { h as CtaLinkVariants } from './utils-a4ebfef1.js';
3
3
 
4
4
  const hyEventsCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}hy-events.no-events .hy-events__no-result-container{font-family:var(--main-font-family)}hy-events.no-events .hy-events--wrapper .hy-events--grid{padding-bottom:0}hy-events.no-events .hy-events__footer{display:none}.hy-events--wrapper .hy-events{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-events--wrapper .hy-events--grid{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:1.5rem;overflow-x:hidden;white-space:nowrap;scrollbar-width:none}@media (min-width: 48rem){.hy-events--wrapper .hy-events--grid{padding-bottom:14rem}}.hy-events--wrapper .hy-events--grid .hy-events__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:24px;-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}@media (min-width: 48rem){.hy-events--wrapper .hy-events--grid .hy-events__content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-events--wrapper .hy-events__footer{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:2rem}.hy-events--wrapper .hy-events__footer--grid{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-top:1.5rem}@media (min-width: 48rem){.hy-events--wrapper .hy-events__footer--grid{margin-top:-9.5rem}}.hy-events--wrapper .hy-events__scroll-buttons{display:none;margin-top:2rem}@media (min-width: 48rem){.hy-events--wrapper .hy-events__scroll-buttons{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-events--wrapper .hy-events__scroll-buttons button{border:none;background:none;padding:0.5rem}.hy-events--wrapper .hy-events__scroll-buttons button:hover{cursor:pointer}.hy-events--wrapper .hy-events__scroll-buttons button:hover svg{scale:1.1}.hy-events--wrapper .hy-events__scroll-buttons button.is-hidden{display:none}.hy-events--wrapper .hy-events__scroll-buttons button.is-disabled{pointer-events:none}.hy-events--wrapper .hy-events__scroll-buttons button.is-disabled svg{fill:var(--link-disabled)}";
5
5
 
@@ -0,0 +1,107 @@
1
+ import { r as registerInstance, h, H as Host } from './index-f84f2a7d.js';
2
+ import { C as ColorVariant, r as ListStyleVariants } from './utils-a4ebfef1.js';
3
+
4
+ const hyFilterGroupCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-filter-group{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:16px}.hy-filter-group__listing{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style:none;margin:0;padding:0}.hy-filter-group__label{font-size:0.75rem;line-height:16px;border-radius:2px;color:var(--grayscale-dark);font-family:var(--main-font-family);font-weight:normal;letter-spacing:-0.2px;margin:8px 4px 8px 0;padding:4px 0}@media (min-width: 30rem){.hy-filter-group__label{font-size:0.875rem;line-height:16px;letter-spacing:-0.3px;padding:6px 0}}.hy-filter-group__button{font-size:0.75rem;line-height:16px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grayscale-background-box);border-radius:2px;border:0;color:var(--grayscale-dark);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--main-font-family);font-weight:normal;letter-spacing:-0.2px;margin:8px 4px;padding:4px 6px}@media (min-width: 30rem){.hy-filter-group__button{font-size:0.875rem;line-height:16px;letter-spacing:-0.3px;padding:6px 8px}}.hy-filter-group__button:hover{cursor:pointer}.hy-filter-group__button-icon{margin-left:6px}@media (min-width: 30rem){.hy-filter-group__button-icon{margin-left:8px}}.hy-filter-group__button-icon svg{pointer-events:none}@media (min-width: 30rem){.hy-filter-group__button-icon svg{height:12px;width:12px}}.hy-filter-group__divider{font-size:0.75rem;line-height:16px;color:var(--grayscale-dark);font-family:var(--main-font-family);margin:4px 6px}@media (min-width: 30rem){.hy-filter-group__divider{font-size:0.875rem;line-height:16px;letter-spacing:-0.3px}}";
5
+
6
+ const HyFilterGroup = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.filterGroupLabel = undefined;
10
+ this.filterGroupFilters = undefined;
11
+ }
12
+ arrayDataWatcher(newValue) {
13
+ if (typeof newValue === "string") {
14
+ this._filterGroupFilters = JSON.parse(newValue);
15
+ }
16
+ else {
17
+ this._filterGroupFilters = newValue;
18
+ }
19
+ }
20
+ componentWillLoad() {
21
+ this.arrayDataWatcher(this.filterGroupFilters);
22
+ }
23
+ // TODO: Finish handleFilterDeselect functionality with real data.
24
+ handleFilterDeselect(id) {
25
+ console.log(id);
26
+ }
27
+ render() {
28
+ return (h(Host, { class: "hy-filter-group" }, h("ul", { class: "hy-filter-group__listing" }, h("li", null, h("h3", { class: "hy-filter-group__label" }, this.filterGroupLabel)), this._filterGroupFilters.map(({ id, label }) => (h("hy-filter-group-item", { "filter-group-item-id": id, "filter-group-item-label": label, onClick: () => this.handleFilterDeselect(id) }))))));
29
+ }
30
+ static get watchers() { return {
31
+ "filterGroupFilters": ["arrayDataWatcher"]
32
+ }; }
33
+ };
34
+ HyFilterGroup.style = hyFilterGroupCss;
35
+
36
+ const HyFilterGroupItem = class {
37
+ constructor(hostRef) {
38
+ registerInstance(this, hostRef);
39
+ this.filterGroupItemId = undefined;
40
+ this.filterGroupItemLabel = undefined;
41
+ }
42
+ render() {
43
+ return (h("li", { class: "hy-filter-group__filter" }, h("button", { type: "button", class: "hy-filter-group__button", "aria-label": `Deselect ${this.filterGroupItemLabel}` }, this.filterGroupItemLabel, h("hy-icon", { class: "hy-filter-group__button-icon", icon: "hy-icon-remove", size: 10, "aria-hidden": "true", fill: ColorVariant.grey_dark })), h("slot", null)));
44
+ }
45
+ };
46
+
47
+ const hyFilterListTypeCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-filter__list-type{display:none}@media (min-width: 60rem){.hy-filter__list-type{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-family:var(--main-font-family)}}@media (min-width: 60rem){.hy-filter__list-type span{font-size:0.875rem;line-height:18px;font-weight:600;color:var(--grayscale-black);letter-spacing:-0.5px;text-align:right}}@media (min-width: 1601px){.hy-filter__list-type span{font-size:1rem;line-height:20px}}.hy-filter__list-type__list{background:var(--grayscale-background-box);border:none;margin:0 8px;padding:10px}.hy-filter__list-type__list svg{background-color:var(--grayscale-background-box);fill:var(--brand-main-light)}.hy-filter__list-type__list.is-active{background:white;border:black 1px solid}.hy-filter__list-type__list.is-active svg{background-color:var(--grayscale-white);fill:var(--grayscale-black)}.hy-filter__list-type__list:hover{cursor:pointer}.hy-filter__list-type__grid{background:var(--grayscale-background-box);border:none;padding:10px}.hy-filter__list-type__grid svg{background-color:var(--grayscale-background-box);fill:var(--brand-main-light)}.hy-filter__list-type__grid.is-active{background:white;border:black 1px solid}.hy-filter__list-type__grid.is-active svg{background-color:var(--grayscale-white);fill:var(--grayscale-black)}.hy-filter__list-type__grid:hover{cursor:pointer}";
48
+
49
+ const HyFilterListType = class {
50
+ constructor(hostRef) {
51
+ registerInstance(this, hostRef);
52
+ this.filterLabel = undefined;
53
+ this.filterValue = undefined;
54
+ }
55
+ render() {
56
+ return (h("div", { class: "hy-filter__list-type" }, h("span", null, this.filterLabel), h("button", { type: "button", class: {
57
+ "hy-filter-item": true,
58
+ "hy-filter__list-type__list": true,
59
+ "is-active": this.filterValue == ListStyleVariants.list,
60
+ }, "aria-label": `${this.filterLabel}--list` }, h("hy-icon", { class: "hy-filter-group__button-icon", icon: "hy-icon-list-style-list", size: 16, "aria-hidden": "true" })), h("button", { type: "button", class: {
61
+ "hy-filter-item": true,
62
+ "hy-filter__list-type__grid": true,
63
+ "is-active": this.filterValue == ListStyleVariants.grid,
64
+ }, "aria-label": `${this.filterLabel}--grid` }, h("hy-icon", { class: "hy-filter-group__button-icon", icon: "hy-icon-list-style-grid", size: 16, "aria-hidden": "true" }))));
65
+ }
66
+ };
67
+ HyFilterListType.style = hyFilterListTypeCss;
68
+
69
+ const hyFilterVisibilityToolCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-filter-visibility-tool{font-size:0.875rem;line-height:20px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;border:0;color:var(--link-blue);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.35px;padding:0;margin-right:1rem}@media (min-width: 30rem){.hy-filter-visibility-tool{font-size:1rem;line-height:20px;letter-spacing:-0.5px}}.hy-filter-visibility-tool:hover{color:var(--brand-main);cursor:pointer}.hy-filter-visibility-tool:hover svg{fill:var(--brand-main)}.hy-filter-visibility-tool:focus{color:var(--brand-main);outline-offset:1px;outline:2px solid var(--brand-main)}.hy-filter-visibility-tool:focus svg{fill:var(--brand-main)}.hy-filter-visibility-tool__icon{-ms-flex-negative:0;flex-shrink:0;margin-right:6px}.hy-filter-visibility-tool__icon svg{fill:var(--link-blue)}@media (min-width: 30rem){.hy-filter-visibility-tool__icon svg{height:16px;width:16px}}";
70
+
71
+ const HyFilterVisibilityTool = class {
72
+ constructor(hostRef) {
73
+ registerInstance(this, hostRef);
74
+ this.filterVisibilityToolType = undefined;
75
+ }
76
+ render() {
77
+ switch (this.filterVisibilityToolType) {
78
+ case "toggle":
79
+ return (h(Host, null, h("hy-filter-visibility-tool-toggle", null)));
80
+ case "reset":
81
+ return (h(Host, null, h("hy-filter-visibility-tool-reset", null)));
82
+ }
83
+ }
84
+ };
85
+ HyFilterVisibilityTool.style = hyFilterVisibilityToolCss;
86
+
87
+ const HyFilterVisibilityToolReset = class {
88
+ constructor(hostRef) {
89
+ registerInstance(this, hostRef);
90
+ }
91
+ render() {
92
+ return (h("button", { class: "hy-filter-visibility-tool hy-filter-visibility-tool--reset", type: "button" }, h("hy-icon", { class: "hy-filter-visibility-tool__icon", icon: "hy-icon-remove", size: 14, "aria-hidden": "true" }), "Reset filters"));
93
+ }
94
+ };
95
+
96
+ const HyFilterVisibilityToolToggle = class {
97
+ constructor(hostRef) {
98
+ registerInstance(this, hostRef);
99
+ }
100
+ render() {
101
+ return (h(Host, null, h("button", { class: "hy-filter-visibility-tool hy-filter-visibility-tool--show-more", type: "button" }, h("hy-icon", { class: "hy-filter-visibility-tool__icon", icon: "hy-icon-plus", size: 12, "aria-hidden": "true" }), "Show more filters"), h("button", { class: "hy-filter-visibility-tool hy-filter-visibility-tool--show-less", type: "button" }, h("hy-icon", { class: "hy-filter-visibility-tool__icon", icon: "hy-icon-minus", size: 12, "aria-hidden": "true" }), "Show less filters")));
102
+ }
103
+ };
104
+
105
+ export { HyFilterGroup as hy_filter_group, HyFilterGroupItem as hy_filter_group_item, HyFilterListType as hy_filter_list_type, HyFilterVisibilityTool as hy_filter_visibility_tool, HyFilterVisibilityToolReset as hy_filter_visibility_tool_reset, HyFilterVisibilityToolToggle as hy_filter_visibility_tool_toggle };
106
+
107
+ //# sourceMappingURL=hy-filter-group_6.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"hy-filter-group.hy-filter-group-item.hy-filter-list-type.hy-filter-visibility-tool.hy-filter-visibility-tool-reset.hy-filter-visibility-tool-toggle.entry.js","mappings":"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","names":[],"sources":["./src/components/hy-filter-group/hy-filter-group.scss?tag=hy-filter-group","./src/components/hy-filter-group/hy-filter-group.tsx","./src/components/hy-filter-group/hy-filter-group.item.tsx","./src/components/hy-filter-list-type/hy-filter-list-type.scss?tag=hy-filter-list-type","./src/components/hy-filter-list-type/hy-filter-list-type.tsx","./src/components/hy-filter-visibility-tool/hy-filter-visibility-tool.scss?tag=hy-filter-visibility-tool","./src/components/hy-filter-visibility-tool/hy-filter-visibility-tool.tsx","./src/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.tsx","./src/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.tsx"],"sourcesContent":[".hy-filter-group {\n align-items: center;\n display: inline-flex;\n flex-wrap: wrap;\n margin-right: 16px;\n}\n\n.hy-filter-group__listing {\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.hy-filter-group__label {\n @include font-size(12px, 16px);\n border-radius: 2px;\n color: var(--grayscale-dark);\n font-family: var(--main-font-family);\n font-weight: normal;\n letter-spacing: -0.2px;\n margin: 8px 4px 8px 0;\n padding: 4px 0;\n\n @include breakpoint($narrow) {\n @include font-size(14px, 16px);\n letter-spacing: -0.3px;\n padding: 6px 0;\n }\n}\n\n.hy-filter-group__button {\n @include font-size(12px, 16px);\n align-items: center;\n background-color: var(--grayscale-background-box);\n border-radius: 2px;\n border: 0;\n color: var(--grayscale-dark);\n display: inline-flex;\n font-family: var(--main-font-family);\n font-weight: normal;\n letter-spacing: -0.2px;\n margin: 8px 4px;\n padding: 4px 6px;\n\n @include breakpoint($narrow) {\n @include font-size(14px, 16px);\n letter-spacing: -0.3px;\n padding: 6px 8px;\n }\n\n &:hover {\n cursor: pointer;\n }\n}\n\n.hy-filter-group__button-icon {\n margin-left: 6px;\n\n @include breakpoint($narrow) {\n margin-left: 8px;\n }\n\n svg {\n pointer-events: none;\n\n @include breakpoint($narrow) {\n height: 12px;\n width: 12px;\n }\n }\n}\n\n.hy-filter-group__divider {\n @include font-size(12px, 16px);\n color: var(--grayscale-dark);\n font-family: var(--main-font-family);\n margin: 4px 6px;\n\n @include breakpoint($narrow) {\n @include font-size(14px, 16px);\n letter-spacing: -0.3px;\n }\n}\n","import {Component, Host, h, Prop, Watch} from \"@stencil/core\";\n\nexport interface IFilterGroupFilter {\n id: string | number;\n label: string;\n}\n\n@Component({\n tag: \"hy-filter-group\",\n styleUrl: \"hy-filter-group.scss\",\n shadow: false,\n})\nexport class HyFilterGroup {\n private _filterGroupFilters: IFilterGroupFilter[];\n @Prop() filterGroupLabel: string;\n @Prop() filterGroupFilters: IFilterGroupFilter[] | string;\n\n @Watch(\"filterGroupFilters\")\n arrayDataWatcher(newValue: IFilterGroupFilter[] | string) {\n if (typeof newValue === \"string\") {\n this._filterGroupFilters = JSON.parse(newValue);\n } else {\n this._filterGroupFilters = newValue;\n }\n }\n\n componentWillLoad() {\n this.arrayDataWatcher(this.filterGroupFilters);\n }\n\n // TODO: Finish handleFilterDeselect functionality with real data.\n handleFilterDeselect(id) {\n console.log(id);\n }\n\n render() {\n return (\n <Host class=\"hy-filter-group\">\n <ul class=\"hy-filter-group__listing\">\n <li>\n <h3 class=\"hy-filter-group__label\">{this.filterGroupLabel}</h3>\n </li>\n {this._filterGroupFilters.map(({id, label}) => (\n <hy-filter-group-item\n filter-group-item-id={id}\n filter-group-item-label={label}\n onClick={() => this.handleFilterDeselect(id)}\n ></hy-filter-group-item>\n ))}\n </ul>\n </Host>\n );\n }\n}\n","import {Component, h, Prop} from \"@stencil/core\";\nimport {ColorVariant} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-filter-group-item\",\n shadow: false,\n})\nexport class HyFilterGroupItem {\n @Prop() filterGroupItemId: string | number;\n @Prop() filterGroupItemLabel: string;\n\n render() {\n return (\n <li class=\"hy-filter-group__filter\">\n <button type=\"button\" class=\"hy-filter-group__button\" aria-label={`Deselect ${this.filterGroupItemLabel}`}>\n {this.filterGroupItemLabel}\n <hy-icon\n class=\"hy-filter-group__button-icon\"\n icon={\"hy-icon-remove\"}\n size={10}\n aria-hidden=\"true\"\n fill={ColorVariant.grey_dark}\n />\n </button>\n <slot />\n </li>\n );\n }\n}\n",":host {\n display: block;\n}\n\n.hy-filter__list-type {\n display: none;\n\n @include breakpoint($wide) {\n display: flex;\n align-items: center;\n font-family: var(--main-font-family);\n }\n\n span {\n @include breakpoint($wide) {\n @include font-size(14px, 18px);\n @include font-weight($semibold);\n color: var(--grayscale-black);\n letter-spacing: -0.5px;\n text-align: right;\n }\n @include breakpoint($xlarge) {\n @include font-size(16px, 20px);\n }\n }\n\n &__list {\n background: var(--grayscale-background-box);\n border: none;\n margin: 0 8px;\n padding: 10px;\n\n svg {\n background-color: var(--grayscale-background-box);\n fill: var(--brand-main-light);\n }\n &.is-active {\n background: white;\n border: black 1px solid;\n\n svg {\n background-color: var(--grayscale-white);\n fill: var(--grayscale-black);\n }\n }\n }\n &__list:hover {\n cursor: pointer;\n }\n\n &__grid {\n background: var(--grayscale-background-box);\n border: none;\n padding: 10px;\n\n svg {\n background-color: var(--grayscale-background-box);\n fill: var(--brand-main-light);\n }\n\n &.is-active {\n background: white;\n border: black 1px solid;\n\n svg {\n background-color: var(--grayscale-white);\n fill: var(--grayscale-black);\n }\n }\n }\n\n &__grid:hover {\n cursor: pointer;\n }\n}\n","import {Component, h, Prop} from \"@stencil/core\";\nimport {ListStyleVariants} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-filter-list-type\",\n styleUrl: \"hy-filter-list-type.scss\",\n shadow: false,\n})\nexport class HyFilterListType {\n @Prop() filterLabel?: string;\n @Prop() filterValue?: string;\n\n render() {\n return (\n <div class=\"hy-filter__list-type\">\n <span>{this.filterLabel}</span>\n <button\n type=\"button\"\n class={{\n \"hy-filter-item\": true,\n \"hy-filter__list-type__list\": true,\n \"is-active\": this.filterValue == ListStyleVariants.list,\n }}\n aria-label={`${this.filterLabel}--list`}\n >\n <hy-icon class=\"hy-filter-group__button-icon\" icon={\"hy-icon-list-style-list\"} size={16} aria-hidden=\"true\" />\n </button>\n <button\n type=\"button\"\n class={{\n \"hy-filter-item\": true,\n \"hy-filter__list-type__grid\": true,\n \"is-active\": this.filterValue == ListStyleVariants.grid,\n }}\n aria-label={`${this.filterLabel}--grid`}\n >\n <hy-icon class=\"hy-filter-group__button-icon\" icon={\"hy-icon-list-style-grid\"} size={16} aria-hidden=\"true\" />\n </button>\n </div>\n );\n }\n}\n",".hy-filter-visibility-tool {\n @include font-size(14px, 20px);\n align-items: center;\n background-color: transparent;\n border: 0;\n color: var(--link-blue);\n display: inline-flex;\n font-family: var(--main-font-family);\n font-weight: $semibold;\n letter-spacing: -0.35px;\n padding: 0;\n margin-right: 1rem;\n\n @include breakpoint($narrow) {\n @include font-size(16px, 20px);\n letter-spacing: -0.5px;\n }\n\n &:hover {\n color: var(--brand-main);\n cursor: pointer;\n\n svg {\n fill: var(--brand-main);\n }\n }\n\n &:focus {\n color: var(--brand-main);\n outline-offset: 1px;\n outline: 2px solid var(--brand-main);\n\n svg {\n fill: var(--brand-main);\n }\n }\n}\n\n.hy-filter-visibility-tool__icon {\n flex-shrink: 0;\n margin-right: 6px;\n\n svg {\n fill: var(--link-blue);\n\n @include breakpoint($narrow) {\n height: 16px;\n width: 16px;\n }\n }\n}\n","import {Component, Host, h, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-filter-visibility-tool\",\n styleUrl: \"hy-filter-visibility-tool.scss\",\n shadow: false,\n})\nexport class HyFilterVisibilityTool {\n @Prop() filterVisibilityToolType: \"toggle\" | \"reset\";\n\n render() {\n switch (this.filterVisibilityToolType) {\n case \"toggle\":\n return (\n <Host>\n <hy-filter-visibility-tool-toggle />\n </Host>\n );\n\n case \"reset\":\n return (\n <Host>\n <hy-filter-visibility-tool-reset />\n </Host>\n );\n }\n }\n}\n","import {Component, h} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-filter-visibility-tool-reset\",\n shadow: false,\n})\nexport class HyFilterVisibilityToolReset {\n render() {\n return (\n <button class=\"hy-filter-visibility-tool hy-filter-visibility-tool--reset\" type=\"button\">\n <hy-icon class=\"hy-filter-visibility-tool__icon\" icon={\"hy-icon-remove\"} size={14} aria-hidden=\"true\" />\n Reset filters\n </button>\n );\n }\n}\n","import {Component, h, Host} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-filter-visibility-tool-toggle\",\n shadow: false,\n})\nexport class HyFilterVisibilityToolToggle {\n render() {\n return (\n <Host>\n <button class=\"hy-filter-visibility-tool hy-filter-visibility-tool--show-more\" type=\"button\">\n <hy-icon class=\"hy-filter-visibility-tool__icon\" icon={\"hy-icon-plus\"} size={12} aria-hidden=\"true\" />\n Show more filters\n </button>\n <button class=\"hy-filter-visibility-tool hy-filter-visibility-tool--show-less\" type=\"button\">\n <hy-icon class=\"hy-filter-visibility-tool__icon\" icon={\"hy-icon-minus\"} size={12} aria-hidden=\"true\" />\n Show less filters\n </button>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,98 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-f84f2a7d.js';
2
+ import { G as GeneralListTypes } from './utils-a4ebfef1.js';
3
+ import { j as jsonParserWorker } from './globalScript-5a4b7abf.js';
4
+
5
+ const hyGeneralListCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-general-list{list-style:none;margin:0;padding:0}.hy-general-list--style-grid{display:-webkit-box;display:-ms-flexbox;display:flex;display:grid;gap:32px 0}@media screen and (min-width: 768px){.hy-general-list--style-grid{grid-template-columns:repeat(2, 1fr);gap:32px 24px}}@media screen and (min-width: 1024px){.hy-general-list--style-grid{grid-template-columns:repeat(3, 1fr)}}@media screen and (min-width: 1920px){.hy-general-list--style-grid{gap:32px}}.hy-general-list--style-grid li{background-color:var(--grayscale-background-box);width:100%;height:auto}";
6
+
7
+ const HyGeneralList = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.type = GeneralListTypes.list;
11
+ this.blank = true;
12
+ this.dataItems = undefined;
13
+ this.truncateDescription = true;
14
+ this.truncateLimit = 140;
15
+ this.hasSidebar = false;
16
+ }
17
+ async componentWillLoad() {
18
+ this._dataItems = await jsonParserWorker(this.dataItems);
19
+ const hyMainDiv = this.el.closest(".hy-main");
20
+ if (hyMainDiv) {
21
+ if (hyMainDiv.classList.contains("with-sidebar")) {
22
+ this.hasSidebar = true;
23
+ }
24
+ }
25
+ }
26
+ async watchPropHandler(newValue, oldValue) {
27
+ if (newValue !== oldValue) {
28
+ this._dataItems = await jsonParserWorker(this.dataItems);
29
+ }
30
+ }
31
+ render() {
32
+ const classAttributes = [
33
+ "hy-general-list",
34
+ this.hasSidebar ? "hy-general-list--with-sidebar" : "",
35
+ `hy-general-list--style-${this.type}`,
36
+ ].join(" ");
37
+ let listData = this._dataItems;
38
+ if (typeof this._dataItems === "object") {
39
+ listData = Object.values(this._dataItems);
40
+ }
41
+ function truncate(str, n) {
42
+ return str.length > n ? str.substr(0, n - 1) + "..." : str;
43
+ }
44
+ return (h(Host, null, h("ul", { class: classAttributes }, listData &&
45
+ listData.map((item) => (h("li", null, h("hy-general-list-item", { "has-sidebar": this.hasSidebar, target: this.blank, "data-location": item.url, description: this.truncateDescription ? truncate(item.description, this.truncateLimit) : item.description, id: item.id, imageAlt: item.imageAlt, imageUrl: item.imageUrl, "item-title": item.title, label: item.label, "sub-label": item.subLabel, tag: item.tag, date: item.date, type: item.type, url: item.url, "list-style": this.type }))))), h("hy-box", { mb: "1.75, 1.75, 2, 2.5" })));
46
+ }
47
+ get el() { return getElement(this); }
48
+ static get watchers() { return {
49
+ "dataItems": ["watchPropHandler"]
50
+ }; }
51
+ };
52
+ HyGeneralList.style = hyGeneralListCss;
53
+
54
+ const hyGeneralListItemCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block;height:100%}.hy-general-list-item{font-family:var(--main-font-family);margin-bottom:1rem;height:100%}.hy-general-list-item--style-grid .hy-general-list-item__link{height:100%}@media (min-width: 30rem){.hy-general-list-item--style-grid .hy-general-list-item__link{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.hy-general-list-item--style-grid .hy-general-list-item__image-container{border:1px solid var(--grayscale-light);max-width:100%}@media (max-width: 479px){.hy-general-list-item--style-grid .hy-general-list-item__image-container{display:-webkit-box;display:-ms-flexbox;display:flex}}@media (min-width: 60rem){.hy-general-list-item--style-grid .hy-general-list-item__text-container{padding:12px 12px 32px 12px}}@media (min-width: 75.0625rem){.hy-general-list-item--style-grid .hy-general-list-item__text-container{padding:12px 12px 32px 12px}}.hy-genenral-list-item__meta{font-size:0.75rem;line-height:14px;font-weight:600;color:var(--grayscale-dark);font-family:var(--main-font-family);letter-spacing:-0.1px;text-transform:uppercase;margin:9px 0}.hy-genenral-list-item__meta__date{font-weight:400;margin-left:4px}.hy-general-list-item__link{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative;text-decoration:none}@media (min-width: 30rem){.hy-general-list-item__link{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-general-list-item__link:hover{cursor:pointer}.hy-general-list-item__link:hover .hy-general-list-item__type span,.hy-general-list-item__link:focus .hy-general-list-item__type span{background-color:var(--brand-main)}.hy-general-list-item__link:hover .hy-general-list-item__title,.hy-general-list-item__link:focus .hy-general-list-item__title{color:var(--brand-main);text-decoration:underline}.hy-general-list-item__image-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;margin:0;position:relative;width:100%}@media (max-width: 479px){.hy-general-list-item__image-container{display:none}}@media (min-width: 30rem){.hy-general-list-item__image-container{max-width:35.7%}}@media (min-width: 60rem){.hy-general-list-item__image-container{max-width:23.13%}}@media (min-width: 75.0625rem){.hy-general-list-item__image-container{max-width:23.03%}}.hy-general-list-item__image-container:before{content:\"\";display:block;padding-top:var(--aspectRatio)}.hy-general-list-item__image-container img{bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.hy-general-list-item__image{background-color:#ececec;width:100%;height:100%}.hy-general-list-item__type{background-color:var(--grayscale-background-box);padding-top:16px;z-index:10}@media (min-width: 30rem){.hy-general-list-item__type{background-color:transparent;left:-8px;padding-top:0;position:absolute;top:16px}}.hy-general-list-item__type__major{font-size:0.75rem;line-height:14px;font-weight:700;background-color:var(--grayscale-black);color:var(--grayscale-white);letter-spacing:-0.1px;padding:5px 8px;text-transform:uppercase;-ms-flex-item-align:baseline;align-self:baseline;margin-left:-8px}@media (min-width: 30rem){.hy-general-list-item__type__major{margin-left:0}}.hy-general-list-item__type__sub{font-size:0.75rem;line-height:14px;background-color:var(--grayscale-black);color:var(--grayscale-white);font-family:var(--main-font-family);letter-spacing:-0.1px;padding:5px 8px;margin-left:-8px}.hy-general-list-item__text-container{background-color:var(--grayscale-background-box);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:16px 12px}@media (min-width: 60rem){.hy-general-list-item__text-container{padding:14px 32px 24px 24px}}@media (min-width: 75.0625rem){.hy-general-list-item__text-container{padding:20px 104px 32px 32px}}.hy-general-list-item__title{font-size:1.125rem;line-height:22px;font-weight:700;color:var(--brand-main-nearly-black);letter-spacing:-0.45px;margin-bottom:8px;margin-top:0}@media (min-width: 1601px){.hy-general-list-item__title{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}@media (min-width: 75.0625rem){.hy-general-list-item__title__large{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}.hy-general-list-item__description{font-size:0.9375rem;line-height:20px;color:var(--grayscale-dark);display:none;letter-spacing:-0.09px;margin:0}@media (min-width: 30rem){.hy-general-list-item__description{font-size:0.875rem;line-height:18px;display:block;letter-spacing:-0.08px}}@media (min-width: 1601px){.hy-general-list-item__description{font-size:0.875rem;line-height:20px}}@media (min-width: 75.0625rem){.hy-general-list-item__description__large{font-size:0.875rem;line-height:20px}}";
55
+
56
+ const HyGeneralListItem = class {
57
+ constructor(hostRef) {
58
+ registerInstance(this, hostRef);
59
+ this.hasSidebar = true;
60
+ this.description = undefined;
61
+ this.imageAlt = "";
62
+ this.imageUrl = null;
63
+ this.disableLazy = false;
64
+ this.itemTitle = undefined;
65
+ this.label = undefined;
66
+ this.subLabel = "";
67
+ this.date = "";
68
+ this.tag = "";
69
+ this.type = undefined;
70
+ this.url = undefined;
71
+ this.listStyle = undefined;
72
+ this.target = true;
73
+ }
74
+ render() {
75
+ const classAttributes = ["hy-general-list-item", `hy-general-list-item--style-${this.listStyle}`].join(" ");
76
+ const contentClassAttributes = ["hy-general-list-item__text-container"].join(" ");
77
+ const imageClassAttributes = ["hy-general-list-item__image-container"].join(" ");
78
+ const sidebarClass = this.hasSidebar ? "common" : "large";
79
+ const titleClassAttributes = ["hy-general-list-item__title", `hy-general-list-item__title__${sidebarClass}`].join(" ");
80
+ const descriptionClassAttributes = [
81
+ "hy-general-list-item__description",
82
+ `hy-general-list-item__description__${sidebarClass}`,
83
+ ].join(" ");
84
+ const aspectRatioWidth = 16;
85
+ const aspectRatioHeight = 10;
86
+ const aspect = (aspectRatioHeight / aspectRatioWidth) * 100;
87
+ const aspectRatio = {
88
+ "--aspectRatio": `${aspect}%`,
89
+ };
90
+ return (h("article", { class: classAttributes }, h("a", { class: "hy-general-list-item__link", href: this.url, target: this.target ? "_blank" : "_self" }, this.type && (h("div", { class: "hy-general-list-item__type" }, h("span", { class: "hy-general-list-item__type__major" }, this.label), h("span", { class: "hy-general-list-item__type__sub" }, this.subLabel))), this.imageUrl && (h("figure", { class: imageClassAttributes, style: aspectRatio }, h("img", { loading: this.disableLazy ? "eager" : "lazy", alt: this.imageAlt, class: "hy-general-list-item__image", src: this.imageUrl }))), h("div", { class: contentClassAttributes }, (this.tag || this.date) && (h("span", { class: "hy-genenral-list-item__meta" }, this.tag, h("span", { class: "hy-genenral-list-item__meta__date" }, this.tag && "|", " ", this.date))), h("h3", { class: titleClassAttributes }, this.itemTitle), h("p", { class: descriptionClassAttributes }, this.description)))));
91
+ }
92
+ get el() { return getElement(this); }
93
+ };
94
+ HyGeneralListItem.style = hyGeneralListItemCss;
95
+
96
+ export { HyGeneralList as hy_general_list, HyGeneralListItem as hy_general_list_item };
97
+
98
+ //# sourceMappingURL=hy-general-list_2.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"hy-general-list.hy-general-list-item.entry.js","mappings":"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","names":[],"sources":["./src/components/hy-general-list/hy-general-list.scss?tag=hy-general-list","./src/components/hy-general-list/hy-general-list.tsx","./src/components/hy-general-list-item/hy-general-list-item.scss?tag=hy-general-list-item","./src/components/hy-general-list-item/hy-general-list-item.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hy-general-list {\n list-style: none;\n margin: 0;\n padding: 0;\n\n &--style-grid {\n display: flex;\n display: grid;\n gap: 32px 0;\n\n @media screen and (min-width: 768px) {\n grid-template-columns: repeat(2, 1fr);\n gap: 32px 24px;\n }\n\n @media screen and (min-width: 1024px) {\n grid-template-columns: repeat(3, 1fr);\n }\n\n @media screen and (min-width: 1920px) {\n gap: 32px;\n }\n\n li {\n background-color: var(--grayscale-background-box);\n width: 100%;\n height: auto;\n }\n }\n}\n","export interface ListItemValue {\n description: string;\n id: string;\n imageAlt: string;\n imageUrl: string;\n label: string;\n subLabel: string;\n date: string;\n tag: string;\n title: string;\n type: string;\n url: string;\n target: boolean;\n}\n\nimport {Component, Element, h, Prop, State, Host, Watch} from \"@stencil/core\";\nimport {GeneralListTypes} from \"../../utils/utils\";\nimport {jsonParserWorker} from \"../../global/globalScript\";\n\n@Component({\n tag: \"hy-general-list\",\n styleUrl: \"hy-general-list.scss\",\n shadow: false,\n})\nexport class HyGeneralList {\n @Prop() type: GeneralListTypes = GeneralListTypes.list;\n @Prop() blank: boolean = true;\n @Prop() dataItems: ListItemValue[] | string;\n @Prop() truncateDescription: boolean = true;\n @Prop() truncateLimit: number = 140;\n private _dataItems: ListItemValue[];\n @Element() el: HTMLElement;\n @State() hasSidebar: boolean = false;\n\n async componentWillLoad() {\n this._dataItems = await jsonParserWorker(this.dataItems);\n\n const hyMainDiv = this.el.closest(\".hy-main\");\n if (hyMainDiv) {\n if (hyMainDiv.classList.contains(\"with-sidebar\")) {\n this.hasSidebar = true;\n }\n }\n }\n\n @Watch(\"dataItems\")\n async watchPropHandler(newValue: string | number, oldValue: string | number) {\n if (newValue !== oldValue) {\n this._dataItems = await jsonParserWorker(this.dataItems);\n }\n }\n\n render() {\n const classAttributes = [\n \"hy-general-list\",\n this.hasSidebar ? \"hy-general-list--with-sidebar\" : \"\",\n `hy-general-list--style-${this.type}`,\n ].join(\" \");\n\n let listData = this._dataItems;\n if (typeof this._dataItems === \"object\") {\n listData = Object.values(this._dataItems);\n }\n\n function truncate(str, n) {\n return str.length > n ? str.substr(0, n - 1) + \"...\" : str;\n }\n\n return (\n <Host>\n <ul class={classAttributes}>\n {listData &&\n listData.map((item) => (\n <li>\n <hy-general-list-item\n has-sidebar={this.hasSidebar}\n target={this.blank}\n data-location={item.url}\n description={\n this.truncateDescription ? truncate(item.description, this.truncateLimit) : item.description\n }\n id={item.id}\n imageAlt={item.imageAlt}\n imageUrl={item.imageUrl}\n item-title={item.title}\n label={item.label}\n sub-label={item.subLabel}\n tag={item.tag}\n date={item.date}\n type={item.type}\n url={item.url}\n list-style={this.type}\n ></hy-general-list-item>\n </li>\n ))}\n </ul>\n <hy-box mb=\"1.75, 1.75, 2, 2.5\" />\n </Host>\n );\n }\n}\n",":host {\n display: block;\n height: 100%;\n}\n\n.hy-general-list-item {\n font-family: var(--main-font-family);\n margin-bottom: 1rem;\n height: 100%;\n\n &--style-grid {\n .hy-general-list-item__link {\n height: 100%;\n\n @include breakpoint($narrow) {\n flex-direction: column;\n }\n }\n\n .hy-general-list-item__image-container {\n border: 1px solid var(--grayscale-light);\n max-width: 100%;\n\n @include breakpoint(max-width 479px) {\n display: flex;\n }\n }\n\n .hy-general-list-item__text-container {\n @include breakpoint($wide) {\n padding: 12px 12px 32px 12px;\n }\n @include breakpoint($extrawide) {\n padding: 12px 12px 32px 12px;\n }\n }\n }\n}\n\n.hy-genenral-list-item__meta {\n @include font-size(12px, 14px);\n @include font-weight($semibold);\n color: var(--grayscale-dark);\n font-family: var(--main-font-family);\n letter-spacing: -0.1px;\n text-transform: uppercase;\n margin: 9px 0;\n\n &__date {\n @include font-weight($regular);\n margin-left: 4px;\n }\n}\n\n.hy-general-list-item__link {\n display: flex;\n flex-direction: column;\n position: relative;\n text-decoration: none;\n\n @include breakpoint($narrow) {\n flex-direction: row;\n }\n\n &:hover {\n cursor: pointer;\n }\n\n &:hover,\n &:focus {\n .hy-general-list-item__type span {\n background-color: var(--brand-main);\n }\n\n .hy-general-list-item__title {\n color: var(--brand-main);\n text-decoration: underline;\n }\n }\n}\n\n.hy-general-list-item__image-container {\n display: flex;\n justify-content: stretch;\n margin: 0;\n position: relative;\n width: 100%;\n\n @include breakpoint(max-width 479px) {\n display: none;\n }\n\n @include breakpoint($narrow) {\n max-width: 35.7%;\n }\n\n @include breakpoint($wide) {\n max-width: 23.13%;\n }\n\n @include breakpoint($extrawide) {\n max-width: 23.03%;\n }\n\n &:before {\n content: \"\";\n display: block;\n padding-top: var(--aspectRatio);\n }\n\n img {\n bottom: 0;\n height: 100%;\n left: 0;\n object-fit: cover;\n position: absolute;\n right: 0;\n top: 0;\n width: 100%;\n }\n}\n\n.hy-general-list-item__image {\n background-color: #ececec;\n width: 100%;\n height: 100%;\n}\n\n.hy-general-list-item__type {\n background-color: var(--grayscale-background-box);\n padding-top: 16px;\n z-index: 10;\n\n @include breakpoint($narrow) {\n background-color: transparent;\n left: -8px;\n padding-top: 0;\n position: absolute;\n top: 16px;\n }\n\n &__major {\n @include font-size(12px, 14px);\n @include font-weight($bold);\n background-color: var(--grayscale-black);\n color: var(--grayscale-white);\n letter-spacing: -0.1px;\n padding: 5px 8px;\n text-transform: uppercase;\n align-self: baseline;\n margin-left: -8px;\n\n @include breakpoint($narrow) {\n margin-left: 0;\n }\n }\n\n &__sub {\n @include font-size(12px, 14px);\n background-color: var(--grayscale-black);\n color: var(--grayscale-white);\n font-family: var(--main-font-family);\n letter-spacing: -0.1px;\n padding: 5px 8px;\n margin-left: -8px;\n }\n}\n\n.hy-general-list-item__text-container {\n background-color: var(--grayscale-background-box);\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n padding: 16px 12px;\n\n @include breakpoint($wide) {\n padding: 14px 32px 24px 24px;\n }\n\n @include breakpoint($extrawide) {\n padding: 20px 104px 32px 32px;\n }\n}\n\n.hy-general-list-item__title {\n @include font-size(18px, 22px);\n @include font-weight($bold);\n color: var(--brand-main-nearly-black);\n letter-spacing: -0.45px;\n margin-bottom: 8px;\n margin-top: 0;\n\n @include breakpoint($xlarge) {\n @include font-size(20px, 24px);\n letter-spacing: -0.5px;\n }\n\n &__large {\n @include breakpoint($extrawide) {\n @include font-size(20px, 24px);\n letter-spacing: -0.5px;\n }\n }\n}\n\n.hy-general-list-item__description {\n @include font-size(15px, 20px);\n color: var(--grayscale-dark);\n display: none;\n letter-spacing: -0.09px;\n margin: 0;\n\n @include breakpoint($narrow) {\n @include font-size(14px, 18px);\n display: block;\n letter-spacing: -0.08px;\n }\n\n @include breakpoint($xlarge) {\n @include font-size(14px, 20px);\n }\n\n &__large {\n @include breakpoint($extrawide) {\n @include font-size(14px, 20px);\n }\n }\n}\n","import {Component, Element, h, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-general-list-item\",\n styleUrl: \"hy-general-list-item.scss\",\n shadow: false,\n})\nexport class HyGeneralListItem {\n @Prop() hasSidebar: boolean = true;\n @Prop() description?: string;\n @Prop() imageAlt: string = \"\";\n @Prop() imageUrl: string = null;\n @Prop() disableLazy: boolean = false;\n @Prop() itemTitle?: string;\n @Prop() label?: string;\n @Prop() subLabel: string = \"\";\n @Prop() date: string = \"\";\n @Prop() tag: string = \"\";\n @Prop() type?: string;\n @Prop() url?: string;\n @Prop() listStyle?: string;\n @Prop() target: boolean = true;\n\n @Element() el: HTMLElement;\n\n render() {\n const classAttributes = [\"hy-general-list-item\", `hy-general-list-item--style-${this.listStyle}`].join(\" \");\n const contentClassAttributes = [\"hy-general-list-item__text-container\"].join(\" \");\n const imageClassAttributes = [\"hy-general-list-item__image-container\"].join(\" \");\n\n const sidebarClass = this.hasSidebar ? \"common\" : \"large\";\n const titleClassAttributes = [\"hy-general-list-item__title\", `hy-general-list-item__title__${sidebarClass}`].join(\n \" \"\n );\n const descriptionClassAttributes = [\n \"hy-general-list-item__description\",\n `hy-general-list-item__description__${sidebarClass}`,\n ].join(\" \");\n\n const aspectRatioWidth = 16;\n const aspectRatioHeight = 10;\n const aspect = (aspectRatioHeight / aspectRatioWidth) * 100;\n const aspectRatio = {\n \"--aspectRatio\": `${aspect}%` as \"aspectRatio\",\n };\n\n return (\n <article class={classAttributes}>\n <a class=\"hy-general-list-item__link\" href={this.url} target={this.target ? \"_blank\" : \"_self\"}>\n {this.type && (\n <div class=\"hy-general-list-item__type\">\n <span class=\"hy-general-list-item__type__major\">{this.label}</span>\n <span class=\"hy-general-list-item__type__sub\">{this.subLabel}</span>\n </div>\n )}\n {this.imageUrl && (\n <figure class={imageClassAttributes} style={aspectRatio}>\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n alt={this.imageAlt}\n class=\"hy-general-list-item__image\"\n src={this.imageUrl}\n />\n </figure>\n )}\n <div class={contentClassAttributes}>\n {(this.tag || this.date) && (\n <span class=\"hy-genenral-list-item__meta\">\n {this.tag}\n <span class=\"hy-genenral-list-item__meta__date\">\n {this.tag && \"|\"} {this.date}\n </span>\n </span>\n )}\n <h3 class={titleClassAttributes}>{this.itemTitle}</h3>\n <p class={descriptionClassAttributes}>{this.description}</p>\n </div>\n </a>\n </article>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,55 @@
1
+ import { r as registerInstance, h, H as Host } from './index-f84f2a7d.js';
2
+ import { n as GridColumns, o as GridColumnsSm, p as GridColumnsLg, q as GridAlignVariants } from './utils-a4ebfef1.js';
3
+
4
+ const gridContainerCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-grid--container{display:block;width:100%;margin-left:auto;margin-right:auto}@media only screen and (min-width: 30rem){.hy-grid--container{width:100%}}@media only screen and (min-width: 60rem){.hy-grid--container{width:100%;max-width:60rem}}@media only screen and (min-width: 75.0625rem){.hy-grid--container{width:100%;max-width:75rem}}@media only screen and (min-width: 1601px){.hy-grid--container{width:100%;max-width:90rem}}";
5
+
6
+ const GridContainer = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ }
10
+ render() {
11
+ const classAttributes = ["hy-grid--container"];
12
+ return (h("div", { class: classAttributes.join(" ") }, h("slot", null)));
13
+ }
14
+ };
15
+ GridContainer.style = gridContainerCss;
16
+
17
+ const gridItemCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-grid-align__left{text-align:left}.hy-grid-align__right{text-align:right}.hy-grid-align__center{text-align:center;margin-left:auto;margin-right:auto}.hy-grid-justify{text-align:justify}.hy-grid-hidden-sm{display:none}.hy-grid__col-1,.hy-grid__col-2,.hy-grid__col-3,.hy-grid__col-4,.hy-grid__col-5,.hy-grid__col-6,.hy-grid__col-7,.hy-grid__col-8,.hy-grid__col-9,.hy-grid__col-10,.hy-grid__col-11,.hy-grid__col-12{width:98%}.hy-grid__col-1-sm{width:6.3333333333%}.hy-grid__col-2-sm{width:14.6666666667%}.hy-grid__col-3-sm{width:23%}.hy-grid__col-4-sm{width:31.3333333333%}.hy-grid__col-5-sm{width:39.6666666667%}.hy-grid__col-6-sm{width:48%}.hy-grid__col-7-sm{width:56.3333333333%}.hy-grid__col-8-sm{width:64.6666666667%}.hy-grid__col-9-sm{width:73%}.hy-grid__col-10-sm{width:81.3333333333%}.hy-grid__col-11-sm{width:89.6666666667%}.hy-grid__col-12-sm{width:98%}@media only screen and (min-width: 48em){.hy-grid__col-1{width:6.3333333333%}.hy-grid__col-2{width:14.6666666667%}.hy-grid__col-3{width:23%}.hy-grid__col-4{width:31.3333333333%}.hy-grid__col-5{width:39.6666666667%}.hy-grid__col-6{width:48%}.hy-grid__col-7{width:56.3333333333%}.hy-grid__col-8{width:64.6666666667%}.hy-grid__col-9{width:73%}.hy-grid__col-10{width:81.3333333333%}.hy-grid__col-11{width:89.6666666667%}.hy-grid__col-12{width:98%}.hidden-sm{display:block}}@media only screen and (min-width: 60em){.hy-grid__col-1-lg{width:6.3333333333%}.hy-grid__col-2-lg{width:14.6666666667%}.hy-grid__col-3-lg{width:23%}.hy-grid__col-4-lg{width:31.3333333333%}.hy-grid__col-5-lg{width:39.6666666667%}.hy-grid__col-6-lg{width:48%}.hy-grid__col-7-lg{width:56.3333333333%}.hy-grid__col-8-lg{width:64.6666666667%}.hy-grid__col-9-lg{width:73%}.hy-grid__col-10-lg{width:81.3333333333%}.hy-grid__col-11-lg{width:89.6666666667%}.hy-grid__col-12-lg{width:98%}}";
18
+
19
+ const GridItem = class {
20
+ constructor(hostRef) {
21
+ registerInstance(this, hostRef);
22
+ this.columns = GridColumns.default;
23
+ this.columnssm = GridColumnsSm.default;
24
+ this.columnslg = GridColumnsLg.default;
25
+ this.contentalign = GridAlignVariants.default;
26
+ }
27
+ render() {
28
+ const classAttributes = [
29
+ "hy-grid-item",
30
+ `hy-grid__col-${this.columnssm}-sm`,
31
+ `hy-grid__col-${this.columns}`,
32
+ `hy-grid__col-${this.columnslg}-lg`,
33
+ `hy-grid-align__${this.contentalign}`,
34
+ ];
35
+ return (h(Host, { class: classAttributes.join(" ") }, h("slot", null)));
36
+ }
37
+ };
38
+ GridItem.style = gridItemCss;
39
+
40
+ const gridRowCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-grid__row{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;width:100%}.hy-grid__row>[class^=hy-grid-item]{float:left;margin:0.5rem 1%;min-height:0.125rem}@media (min-width: 30rem){.hy-grid__row>[class^=hy-grid-item]{margin:1%}}.hy-grid__row::after{content:\"\";display:table;clear:both}";
41
+
42
+ const GridRow = class {
43
+ constructor(hostRef) {
44
+ registerInstance(this, hostRef);
45
+ }
46
+ render() {
47
+ const classAttributes = ["hy-grid__row"];
48
+ return (h(Host, { class: classAttributes.join(" ") }, h("slot", null)));
49
+ }
50
+ };
51
+ GridRow.style = gridRowCss;
52
+
53
+ export { GridContainer as hy_grid_container, GridItem as hy_grid_item, GridRow as hy_grid_row };
54
+
55
+ //# sourceMappingURL=hy-grid-container_3.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"hy-grid-container.hy-grid-item.hy-grid-row.entry.js","mappings":";;;AAAA,MAAM,gBAAgB,GAAG,mmDAAmmD;;MCO/mD,aAAa;;;;EACxB,MAAM;IACJ,MAAM,eAAe,GAAG,CAAC,oBAAoB,CAAC,CAAC;IAE/C,QACE,WAAK,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,IACnC,eAAQ,CACJ,EACN;GACH;;;;AChBH,MAAM,WAAW,GAAG,y8FAAy8F;;MCQh9F,QAAQ;;;mBACY,WAAW,CAAC,OAAO;qBACf,aAAa,CAAC,OAAO;qBACrB,aAAa,CAAC,OAAO;wBACd,iBAAiB,CAAC,OAAO;;EAEnE,MAAM;IACJ,MAAM,eAAe,GAAG;MACtB,cAAc;MACd,gBAAgB,IAAI,CAAC,SAAS,KAAK;MACnC,gBAAgB,IAAI,CAAC,OAAO,EAAE;MAC9B,gBAAgB,IAAI,CAAC,SAAS,KAAK;MACnC,kBAAkB,IAAI,CAAC,YAAY,EAAE;KACtC,CAAC;IAEF,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,IACpC,eAAQ,CACH,EACP;GACH;;;;AC5BH,MAAM,UAAU,GAAG,uoDAAuoD;;MCO7oD,OAAO;;;;EAClB,MAAM;IACJ,MAAM,eAAe,GAAG,CAAC,cAAc,CAAC,CAAC;IACzC,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,IACpC,eAAQ,CACH,EACP;GACH;;;;;;","names":[],"sources":["./src/components/grid-container/grid-container.scss?tag=hy-grid-container","./src/components/grid-container/grid-container.tsx","./src/components/grid-item/grid-item.scss?tag=hy-grid-item","./src/components/grid-item/grid-item.tsx","./src/components/grid-row/grid-row.scss?tag=hy-grid-row","./src/components/grid-row/grid-row.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hy-grid--container {\n display: block;\n width: 100%;\n margin-left: auto;\n margin-right: auto;\n\n @media only screen and (min-width: $narrow) {\n width: 100%;\n }\n\n @media only screen and (min-width: $wide) {\n width: 100%;\n max-width: 60rem;\n }\n\n @media only screen and (min-width: $extrawide) {\n width: 100%;\n max-width: 75rem;\n }\n\n @media only screen and (min-width: $xlarge) {\n width: 100%;\n max-width: 90rem;\n }\n}\n","import {Component, h} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-grid-container\",\n styleUrl: \"grid-container.scss\",\n shadow: false,\n})\nexport class GridContainer {\n render() {\n const classAttributes = [\"hy-grid--container\"];\n\n return (\n <div class={classAttributes.join(\" \")}>\n <slot />\n </div>\n );\n }\n}\n",":host {\n display: block;\n}\n\n.hy-grid-align__left {\n text-align: left;\n}\n\n.hy-grid-align__right {\n text-align: right;\n}\n\n.hy-grid-align__center {\n text-align: center;\n margin-left: auto;\n margin-right: auto;\n}\n\n.hy-grid-justify {\n text-align: justify;\n}\n\n.hy-grid-hidden-sm {\n display: none;\n}\n\n// grid\n$width: 98%;\n$gutter: 2%;\n\n@media only screen and (min-width: $xlarge) {\n $gutter: 3.5%;\n}\n\n$narrow: 30em; // 480px\n$medium: 48em; // 768px\n$wide: 60em; // 960px\n\n.hy-grid__col-1,\n.hy-grid__col-2,\n.hy-grid__col-3,\n.hy-grid__col-4,\n.hy-grid__col-5,\n.hy-grid__col-6,\n.hy-grid__col-7,\n.hy-grid__col-8,\n.hy-grid__col-9,\n.hy-grid__col-10,\n.hy-grid__col-11,\n.hy-grid__col-12 {\n width: $width;\n}\n\n.hy-grid__col-1-sm {\n width: calc($width / 12) - calc($gutter * 11 / 12);\n}\n.hy-grid__col-2-sm {\n width: calc($width / 6) - calc($gutter * 10 / 12);\n}\n.hy-grid__col-3-sm {\n width: calc($width / 4) - calc($gutter * 9 / 12);\n}\n.hy-grid__col-4-sm {\n width: calc($width / 3) - calc($gutter * 8 / 12);\n}\n.hy-grid__col-5-sm {\n width: calc($width / calc(12 / 5)) - calc($gutter * 7 / 12);\n}\n.hy-grid__col-6-sm {\n width: calc($width / 2) - calc($gutter * 6 / 12);\n}\n.hy-grid__col-7-sm {\n width: calc($width / calc(12 / 7)) - calc($gutter * 5 / 12);\n}\n.hy-grid__col-8-sm {\n width: calc($width / calc(12 / 8)) - calc($gutter * 4 / 12);\n}\n.hy-grid__col-9-sm {\n width: calc($width / calc(12 / 9)) - calc($gutter * 3 / 12);\n}\n.hy-grid__col-10-sm {\n width: calc($width / calc(12 / 10)) - calc($gutter * 2 / 12);\n}\n.hy-grid__col-11-sm {\n width: calc($width / calc(12 / 11)) - calc($gutter * 1 / 12);\n}\n.hy-grid__col-12-sm {\n width: $width;\n}\n\n@media only screen and (min-width: $medium) {\n .hy-grid__col-1 {\n width: calc($width / 12) - calc($gutter * 11 / 12);\n }\n .hy-grid__col-2 {\n width: calc($width / 6) - calc($gutter * 10 / 12);\n }\n .hy-grid__col-3 {\n width: calc($width / 4) - calc($gutter * 9 / 12);\n }\n .hy-grid__col-4 {\n width: calc($width / 3) - calc($gutter * 8 / 12);\n }\n .hy-grid__col-5 {\n width: calc($width / calc(12 / 5)) - calc($gutter * 7 / 12);\n }\n .hy-grid__col-6 {\n width: calc($width / 2) - calc($gutter * 6 / 12);\n }\n .hy-grid__col-7 {\n width: calc($width / calc(12 / 7)) - calc($gutter * 5 / 12);\n }\n .hy-grid__col-8 {\n width: calc($width / calc(12 / 8)) - calc($gutter * 4 / 12);\n }\n .hy-grid__col-9 {\n width: calc($width / calc(12 / 9)) - calc($gutter * 3 / 12);\n }\n .hy-grid__col-10 {\n width: calc($width / calc(12 / 10)) - calc($gutter * 2 / 12);\n }\n .hy-grid__col-11 {\n width: calc($width / calc(12 / 11)) - calc($gutter * 1 / 12);\n }\n .hy-grid__col-12 {\n width: $width;\n }\n\n .hidden-sm {\n display: block;\n }\n}\n\n@media only screen and (min-width: $wide) {\n .hy-grid__col-1-lg {\n width: calc($width / 12) - calc($gutter * 11 / 12);\n }\n .hy-grid__col-2-lg {\n width: calc($width / 6) - calc($gutter * 10 / 12);\n }\n .hy-grid__col-3-lg {\n width: calc($width / 4) - calc($gutter * 9 / 12);\n }\n .hy-grid__col-4-lg {\n width: calc($width / 3) - calc($gutter * 8 / 12);\n }\n .hy-grid__col-5-lg {\n width: calc($width / calc(12 / 5)) - calc($gutter * 7 / 12);\n }\n .hy-grid__col-6-lg {\n width: calc($width / 2) - calc($gutter * 6 / 12);\n }\n .hy-grid__col-7-lg {\n width: calc($width / calc(12 / 7)) - calc($gutter * 5 / 12);\n }\n .hy-grid__col-8-lg {\n width: calc($width / calc(12 / 8)) - calc($gutter * 4 / 12);\n }\n .hy-grid__col-9-lg {\n width: calc($width / calc(12 / 9)) - calc($gutter * 3 / 12);\n }\n .hy-grid__col-10-lg {\n width: calc($width / calc(12 / 10)) - calc($gutter * 2 / 12);\n }\n .hy-grid__col-11-lg {\n width: calc($width / calc(12 / 11)) - calc($gutter * 1 / 12);\n }\n .hy-grid__col-12-lg {\n width: $width;\n }\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\nimport {GridColumns, GridColumnsSm, GridColumnsLg, GridAlignVariants} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-grid-item\",\n styleUrl: \"grid-item.scss\",\n shadow: false,\n})\nexport class GridItem {\n @Prop() columns: GridColumns = GridColumns.default;\n @Prop() columnssm: GridColumnsSm = GridColumnsSm.default;\n @Prop() columnslg: GridColumnsLg = GridColumnsLg.default;\n @Prop() contentalign: GridAlignVariants = GridAlignVariants.default;\n\n render() {\n const classAttributes = [\n \"hy-grid-item\",\n `hy-grid__col-${this.columnssm}-sm`,\n `hy-grid__col-${this.columns}`,\n `hy-grid__col-${this.columnslg}-lg`,\n `hy-grid-align__${this.contentalign}`,\n ];\n\n return (\n <Host class={classAttributes.join(\" \")}>\n <slot />\n </Host>\n );\n }\n}\n",":host {\n display: block;\n}\n\n.hy-grid__row {\n align-items: stretch;\n display: flex;\n flex-wrap: wrap;\n flex: 1 1 auto;\n position: relative;\n width: 100%;\n}\n\n.hy-grid__row > [class^=\"hy-grid-item\"] {\n float: left;\n margin: 0.5rem 1%;\n min-height: 0.125rem;\n\n @include breakpoint($narrow) {\n margin: 1%;\n }\n}\n\n.hy-grid__row::after {\n content: \"\";\n display: table;\n clear: both;\n}\n","import {Component, Host, h} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-grid-row\",\n styleUrl: \"grid-row.scss\",\n shadow: false,\n})\nexport class GridRow {\n render() {\n const classAttributes = [\"hy-grid__row\"];\n return (\n <Host class={classAttributes.join(\" \")}>\n <slot />\n </Host>\n );\n }\n}\n"],"version":3}