@itcenteratunihelsinki/huds-lib 0.5.43 → 0.5.46

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 (319) hide show
  1. package/dist/cjs/color-box_8.cjs.entry.js +210 -0
  2. package/dist/cjs/{globalScript-0c66cb96.js → globalScript-6b592153.js} +1 -1
  3. package/dist/cjs/huds-lib.cjs.js +4 -4
  4. package/dist/cjs/hy-accordion-container_91.cjs.entry.js +8147 -0
  5. package/dist/cjs/{index-dd5e5023.js → index-dfc917d9.js} +80 -64
  6. package/dist/cjs/loader.cjs.js +4 -4
  7. package/dist/collection/collection-manifest.json +97 -12
  8. package/dist/collection/components/button/button.js +7 -2
  9. package/dist/collection/components/heading/heading.js +4 -4
  10. package/dist/collection/components/hy-opening-hours/hy-opening-hours.css +8 -0
  11. package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +24 -3
  12. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.css +9 -1
  13. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +4 -2
  14. package/dist/collection/components/hy-search-field/hy-search-field.js +55 -5
  15. package/dist/collection/components/navigation/menu/menu.js +46 -34
  16. package/dist/collection/components/navigation/menu-sidebar/menu-sidebar.js +14 -6
  17. package/dist/collection/components/person-profile/person-profile.js +8 -1
  18. package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.js +27 -19
  19. package/dist/collection/components/site-header/site-header.js +44 -6
  20. package/dist/collection/components/site-header/site-search/site-search.js +93 -22
  21. package/dist/esm/color-box_8.entry.js +199 -0
  22. package/dist/esm/{globalScript-92c6b812.js → globalScript-9d045b36.js} +1 -1
  23. package/dist/esm/huds-lib.js +4 -4
  24. package/dist/esm/hy-accordion-container_91.entry.js +8053 -0
  25. package/dist/esm/{index-083c8c8a.js → index-daaf0985.js} +80 -64
  26. package/dist/esm/loader.js +4 -4
  27. package/dist/esm/{utils-708bbefe.js → utils-966ffdb5.js} +1 -1
  28. package/dist/huds-lib/huds-lib.esm.js +1 -1
  29. package/dist/huds-lib/{p-fd1edbd5.js → p-04dcccdc.js} +1 -1
  30. package/dist/huds-lib/p-77f7df4b.entry.js +86 -0
  31. package/dist/huds-lib/{p-8ab550d6.js → p-cd2316f0.js} +1 -1
  32. package/dist/huds-lib/p-d3ced29c.entry.js +1 -0
  33. package/dist/huds-lib/{p-bb24c6b5.js → p-f8697bf9.js} +1 -1
  34. package/dist/types/components/button/button.d.ts +1 -1
  35. package/dist/types/components/hy-opening-hours/hy-opening-hours.d.ts +1 -0
  36. package/dist/types/components/hy-search-field/hy-search-field.d.ts +2 -0
  37. package/dist/types/components/navigation/menu/menu.d.ts +1 -0
  38. package/dist/types/components/person-profile/person-profile.d.ts +1 -0
  39. package/dist/types/components/site-header/site-header.d.ts +1 -0
  40. package/dist/types/components/site-header/site-search/site-search.d.ts +3 -0
  41. package/dist/types/components.d.ts +15 -1
  42. package/dist/types/stencil-public-runtime.d.ts +7 -4
  43. package/loader/index.d.ts +13 -4
  44. package/loader/{index.es2017.mjs → index.es2017.js} +1 -2
  45. package/loader/index.js +13 -0
  46. package/loader/package.json +5 -7
  47. package/package.json +2 -2
  48. package/dist/cjs/color-box.cjs.entry.js +0 -19
  49. package/dist/cjs/emotion.esm-563b6504.js +0 -1397
  50. package/dist/cjs/hy-accordion-container_5.cjs.entry.js +0 -578
  51. package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +0 -51
  52. package/dist/cjs/hy-anchor-link-list.cjs.entry.js +0 -45
  53. package/dist/cjs/hy-badge.cjs.entry.js +0 -21
  54. package/dist/cjs/hy-banner.cjs.entry.js +0 -45
  55. package/dist/cjs/hy-baseline.cjs.entry.js +0 -32
  56. package/dist/cjs/hy-box-container.cjs.entry.js +0 -33
  57. package/dist/cjs/hy-box.cjs.entry.js +0 -165
  58. package/dist/cjs/hy-breadcrumbs.cjs.entry.js +0 -231
  59. package/dist/cjs/hy-button.cjs.entry.js +0 -100
  60. package/dist/cjs/hy-checkbox.cjs.entry.js +0 -33
  61. package/dist/cjs/hy-collaboration.cjs.entry.js +0 -19
  62. package/dist/cjs/hy-content-list-item.cjs.entry.js +0 -70
  63. package/dist/cjs/hy-content-list.cjs.entry.js +0 -112
  64. package/dist/cjs/hy-crisis-banner.cjs.entry.js +0 -19
  65. package/dist/cjs/hy-cta-button.cjs.entry.js +0 -30
  66. package/dist/cjs/hy-cta-link.cjs.entry.js +0 -26
  67. package/dist/cjs/hy-desktop-menu-links.cjs.entry.js +0 -328
  68. package/dist/cjs/hy-docs-container.cjs.entry.js +0 -19
  69. package/dist/cjs/hy-dropdown-panel_2.cjs.entry.js +0 -27
  70. package/dist/cjs/hy-dropdown.cjs.entry.js +0 -113
  71. package/dist/cjs/hy-filter-group-item.cjs.entry.js +0 -17
  72. package/dist/cjs/hy-filter-group.cjs.entry.js +0 -37
  73. package/dist/cjs/hy-filter-list-type.cjs.entry.js +0 -28
  74. package/dist/cjs/hy-filter-visibility-tool-reset_2.cjs.entry.js +0 -26
  75. package/dist/cjs/hy-filter-visibility-tool.cjs.entry.js +0 -24
  76. package/dist/cjs/hy-footer_5.cjs.entry.js +0 -201
  77. package/dist/cjs/hy-general-list_2.cjs.entry.js +0 -94
  78. package/dist/cjs/hy-grid-container.cjs.entry.js +0 -20
  79. package/dist/cjs/hy-grid-item.cjs.entry.js +0 -31
  80. package/dist/cjs/hy-grid-row.cjs.entry.js +0 -20
  81. package/dist/cjs/hy-heading.cjs.entry.js +0 -67
  82. package/dist/cjs/hy-hero.cjs.entry.js +0 -101
  83. package/dist/cjs/hy-icon.cjs.entry.js +0 -364
  84. package/dist/cjs/hy-image.cjs.entry.js +0 -50
  85. package/dist/cjs/hy-ingress.cjs.entry.js +0 -30
  86. package/dist/cjs/hy-introduction.cjs.entry.js +0 -55
  87. package/dist/cjs/hy-key-figure-group.cjs.entry.js +0 -77
  88. package/dist/cjs/hy-key-figure.cjs.entry.js +0 -22
  89. package/dist/cjs/hy-key-highlight-group.cjs.entry.js +0 -44
  90. package/dist/cjs/hy-key-highlight.cjs.entry.js +0 -22
  91. package/dist/cjs/hy-large-process-flow-phase.cjs.entry.js +0 -37
  92. package/dist/cjs/hy-large-process-flow.cjs.entry.js +0 -44
  93. package/dist/cjs/hy-link-box-list.cjs.entry.js +0 -54
  94. package/dist/cjs/hy-link-box.cjs.entry.js +0 -79
  95. package/dist/cjs/hy-link-list.cjs.entry.js +0 -44
  96. package/dist/cjs/hy-link.cjs.entry.js +0 -25
  97. package/dist/cjs/hy-list-item.cjs.entry.js +0 -239
  98. package/dist/cjs/hy-logo-grid-item.cjs.entry.js +0 -30
  99. package/dist/cjs/hy-logo-grid.cjs.entry.js +0 -20
  100. package/dist/cjs/hy-main-content-wrapper.cjs.entry.js +0 -20
  101. package/dist/cjs/hy-main.cjs.entry.js +0 -25
  102. package/dist/cjs/hy-menu-item-sidebar.cjs.entry.js +0 -159
  103. package/dist/cjs/hy-menu-item.cjs.entry.js +0 -147
  104. package/dist/cjs/hy-menu-language-item.cjs.entry.js +0 -25
  105. package/dist/cjs/hy-menu-language.cjs.entry.js +0 -91
  106. package/dist/cjs/hy-menu-level-container.cjs.entry.js +0 -137
  107. package/dist/cjs/hy-menu-main-group.cjs.entry.js +0 -151
  108. package/dist/cjs/hy-menu-mobile-breadcrumb.cjs.entry.js +0 -25
  109. package/dist/cjs/hy-menu-sidebar.cjs.entry.js +0 -290
  110. package/dist/cjs/hy-menu.cjs.entry.js +0 -111
  111. package/dist/cjs/hy-mobile-menu-shortcuts.cjs.entry.js +0 -26
  112. package/dist/cjs/hy-opening-hours-content.cjs.entry.js +0 -41
  113. package/dist/cjs/hy-opening-hours.cjs.entry.js +0 -32
  114. package/dist/cjs/hy-pager-item.cjs.entry.js +0 -45
  115. package/dist/cjs/hy-pager.cjs.entry.js +0 -20
  116. package/dist/cjs/hy-paragraph-text.cjs.entry.js +0 -45
  117. package/dist/cjs/hy-person-card.cjs.entry.js +0 -84
  118. package/dist/cjs/hy-person-profile.cjs.entry.js +0 -61
  119. package/dist/cjs/hy-process-flow-box.cjs.entry.js +0 -28
  120. package/dist/cjs/hy-process.cjs.entry.js +0 -57
  121. package/dist/cjs/hy-prominent-image.cjs.entry.js +0 -36
  122. package/dist/cjs/hy-quote.cjs.entry.js +0 -30
  123. package/dist/cjs/hy-row.cjs.entry.js +0 -42
  124. package/dist/cjs/hy-search-field.cjs.entry.js +0 -40
  125. package/dist/cjs/hy-section-container.cjs.entry.js +0 -19
  126. package/dist/cjs/hy-shortcuts.cjs.entry.js +0 -60
  127. package/dist/cjs/hy-site-header_3.cjs.entry.js +0 -418
  128. package/dist/cjs/hy-table-container.cjs.entry.js +0 -20
  129. package/dist/cjs/hy-tag.cjs.entry.js +0 -20
  130. package/dist/cjs/hy-tiny-text.cjs.entry.js +0 -20
  131. package/dist/cjs/hy-twitter-feed.cjs.entry.js +0 -27
  132. package/dist/cjs/hy-two-columns.cjs.entry.js +0 -21
  133. package/dist/cjs/hy-user-login-form.cjs.entry.js +0 -23
  134. package/dist/cjs/hy-video.cjs.entry.js +0 -67
  135. package/dist/cjs/index-314ad166.js +0 -967
  136. package/dist/esm/color-box.entry.js +0 -15
  137. package/dist/esm/emotion.esm-87895ee1.js +0 -1395
  138. package/dist/esm/hy-accordion-container_5.entry.js +0 -570
  139. package/dist/esm/hy-adjacent-image-text.entry.js +0 -47
  140. package/dist/esm/hy-anchor-link-list.entry.js +0 -41
  141. package/dist/esm/hy-badge.entry.js +0 -17
  142. package/dist/esm/hy-banner.entry.js +0 -41
  143. package/dist/esm/hy-baseline.entry.js +0 -28
  144. package/dist/esm/hy-box-container.entry.js +0 -29
  145. package/dist/esm/hy-box.entry.js +0 -161
  146. package/dist/esm/hy-breadcrumbs.entry.js +0 -227
  147. package/dist/esm/hy-button.entry.js +0 -96
  148. package/dist/esm/hy-checkbox.entry.js +0 -29
  149. package/dist/esm/hy-collaboration.entry.js +0 -15
  150. package/dist/esm/hy-content-list-item.entry.js +0 -66
  151. package/dist/esm/hy-content-list.entry.js +0 -108
  152. package/dist/esm/hy-crisis-banner.entry.js +0 -15
  153. package/dist/esm/hy-cta-button.entry.js +0 -26
  154. package/dist/esm/hy-cta-link.entry.js +0 -22
  155. package/dist/esm/hy-desktop-menu-links.entry.js +0 -324
  156. package/dist/esm/hy-docs-container.entry.js +0 -15
  157. package/dist/esm/hy-dropdown-panel_2.entry.js +0 -22
  158. package/dist/esm/hy-dropdown.entry.js +0 -109
  159. package/dist/esm/hy-filter-group-item.entry.js +0 -13
  160. package/dist/esm/hy-filter-group.entry.js +0 -33
  161. package/dist/esm/hy-filter-list-type.entry.js +0 -24
  162. package/dist/esm/hy-filter-visibility-tool-reset_2.entry.js +0 -21
  163. package/dist/esm/hy-filter-visibility-tool.entry.js +0 -20
  164. package/dist/esm/hy-footer_5.entry.js +0 -193
  165. package/dist/esm/hy-general-list_2.entry.js +0 -89
  166. package/dist/esm/hy-grid-container.entry.js +0 -16
  167. package/dist/esm/hy-grid-item.entry.js +0 -27
  168. package/dist/esm/hy-grid-row.entry.js +0 -16
  169. package/dist/esm/hy-heading.entry.js +0 -63
  170. package/dist/esm/hy-hero.entry.js +0 -97
  171. package/dist/esm/hy-icon.entry.js +0 -360
  172. package/dist/esm/hy-image.entry.js +0 -46
  173. package/dist/esm/hy-ingress.entry.js +0 -26
  174. package/dist/esm/hy-introduction.entry.js +0 -51
  175. package/dist/esm/hy-key-figure-group.entry.js +0 -73
  176. package/dist/esm/hy-key-figure.entry.js +0 -18
  177. package/dist/esm/hy-key-highlight-group.entry.js +0 -40
  178. package/dist/esm/hy-key-highlight.entry.js +0 -18
  179. package/dist/esm/hy-large-process-flow-phase.entry.js +0 -33
  180. package/dist/esm/hy-large-process-flow.entry.js +0 -40
  181. package/dist/esm/hy-link-box-list.entry.js +0 -50
  182. package/dist/esm/hy-link-box.entry.js +0 -75
  183. package/dist/esm/hy-link-list.entry.js +0 -40
  184. package/dist/esm/hy-link.entry.js +0 -21
  185. package/dist/esm/hy-list-item.entry.js +0 -235
  186. package/dist/esm/hy-logo-grid-item.entry.js +0 -26
  187. package/dist/esm/hy-logo-grid.entry.js +0 -16
  188. package/dist/esm/hy-main-content-wrapper.entry.js +0 -16
  189. package/dist/esm/hy-main.entry.js +0 -21
  190. package/dist/esm/hy-menu-item-sidebar.entry.js +0 -155
  191. package/dist/esm/hy-menu-item.entry.js +0 -143
  192. package/dist/esm/hy-menu-language-item.entry.js +0 -21
  193. package/dist/esm/hy-menu-language.entry.js +0 -87
  194. package/dist/esm/hy-menu-level-container.entry.js +0 -133
  195. package/dist/esm/hy-menu-main-group.entry.js +0 -147
  196. package/dist/esm/hy-menu-mobile-breadcrumb.entry.js +0 -21
  197. package/dist/esm/hy-menu-sidebar.entry.js +0 -286
  198. package/dist/esm/hy-menu.entry.js +0 -107
  199. package/dist/esm/hy-mobile-menu-shortcuts.entry.js +0 -22
  200. package/dist/esm/hy-opening-hours-content.entry.js +0 -37
  201. package/dist/esm/hy-opening-hours.entry.js +0 -28
  202. package/dist/esm/hy-pager-item.entry.js +0 -41
  203. package/dist/esm/hy-pager.entry.js +0 -16
  204. package/dist/esm/hy-paragraph-text.entry.js +0 -41
  205. package/dist/esm/hy-person-card.entry.js +0 -80
  206. package/dist/esm/hy-person-profile.entry.js +0 -57
  207. package/dist/esm/hy-process-flow-box.entry.js +0 -24
  208. package/dist/esm/hy-process.entry.js +0 -53
  209. package/dist/esm/hy-prominent-image.entry.js +0 -32
  210. package/dist/esm/hy-quote.entry.js +0 -26
  211. package/dist/esm/hy-row.entry.js +0 -38
  212. package/dist/esm/hy-search-field.entry.js +0 -36
  213. package/dist/esm/hy-section-container.entry.js +0 -15
  214. package/dist/esm/hy-shortcuts.entry.js +0 -56
  215. package/dist/esm/hy-site-header_3.entry.js +0 -412
  216. package/dist/esm/hy-table-container.entry.js +0 -16
  217. package/dist/esm/hy-tag.entry.js +0 -16
  218. package/dist/esm/hy-tiny-text.entry.js +0 -16
  219. package/dist/esm/hy-twitter-feed.entry.js +0 -23
  220. package/dist/esm/hy-two-columns.entry.js +0 -17
  221. package/dist/esm/hy-user-login-form.entry.js +0 -19
  222. package/dist/esm/hy-video.entry.js +0 -63
  223. package/dist/esm/index-41a1e449.js +0 -965
  224. package/dist/huds-lib/p-003597de.entry.js +0 -1
  225. package/dist/huds-lib/p-00a1f0c4.entry.js +0 -1
  226. package/dist/huds-lib/p-03ada2ef.entry.js +0 -1
  227. package/dist/huds-lib/p-045ec3b7.entry.js +0 -6
  228. package/dist/huds-lib/p-065ae4a9.entry.js +0 -1
  229. package/dist/huds-lib/p-095afc4e.entry.js +0 -1
  230. package/dist/huds-lib/p-0a37696c.entry.js +0 -1
  231. package/dist/huds-lib/p-0b2e3057.entry.js +0 -1
  232. package/dist/huds-lib/p-0ba24d1d.entry.js +0 -1
  233. package/dist/huds-lib/p-0d751fcd.entry.js +0 -1
  234. package/dist/huds-lib/p-0f9c4661.entry.js +0 -8
  235. package/dist/huds-lib/p-114f1281.entry.js +0 -1
  236. package/dist/huds-lib/p-14a7e308.entry.js +0 -1
  237. package/dist/huds-lib/p-179221b4.entry.js +0 -1
  238. package/dist/huds-lib/p-1ed13a8e.entry.js +0 -1
  239. package/dist/huds-lib/p-1f5cb6ed.entry.js +0 -1
  240. package/dist/huds-lib/p-24c25896.entry.js +0 -1
  241. package/dist/huds-lib/p-27a613af.entry.js +0 -1
  242. package/dist/huds-lib/p-29a5f847.entry.js +0 -1
  243. package/dist/huds-lib/p-2c83cfcf.entry.js +0 -1
  244. package/dist/huds-lib/p-309dde97.entry.js +0 -1
  245. package/dist/huds-lib/p-31d9c326.entry.js +0 -1
  246. package/dist/huds-lib/p-349817f6.entry.js +0 -1
  247. package/dist/huds-lib/p-3641da70.entry.js +0 -1
  248. package/dist/huds-lib/p-3bf480d9.entry.js +0 -1
  249. package/dist/huds-lib/p-3d35d226.entry.js +0 -1
  250. package/dist/huds-lib/p-3f050660.entry.js +0 -1
  251. package/dist/huds-lib/p-40ab2704.entry.js +0 -6
  252. package/dist/huds-lib/p-4252e76e.entry.js +0 -1
  253. package/dist/huds-lib/p-47d919f5.entry.js +0 -1
  254. package/dist/huds-lib/p-488053bf.entry.js +0 -1
  255. package/dist/huds-lib/p-497703c3.entry.js +0 -1
  256. package/dist/huds-lib/p-4c59a5f1.entry.js +0 -1
  257. package/dist/huds-lib/p-4d4869f9.entry.js +0 -1
  258. package/dist/huds-lib/p-518b6042.entry.js +0 -1
  259. package/dist/huds-lib/p-51dd0bf2.entry.js +0 -1
  260. package/dist/huds-lib/p-521557a1.entry.js +0 -1
  261. package/dist/huds-lib/p-570b0c50.entry.js +0 -1
  262. package/dist/huds-lib/p-604e4a62.entry.js +0 -1
  263. package/dist/huds-lib/p-608090da.entry.js +0 -1
  264. package/dist/huds-lib/p-67b6fddc.entry.js +0 -1
  265. package/dist/huds-lib/p-69559eff.entry.js +0 -1
  266. package/dist/huds-lib/p-69849560.entry.js +0 -1
  267. package/dist/huds-lib/p-6c54b7bc.entry.js +0 -1
  268. package/dist/huds-lib/p-6c56dcbb.entry.js +0 -1
  269. package/dist/huds-lib/p-7225fde6.entry.js +0 -1
  270. package/dist/huds-lib/p-734da8db.entry.js +0 -1
  271. package/dist/huds-lib/p-75f84185.entry.js +0 -1
  272. package/dist/huds-lib/p-795c4838.entry.js +0 -1
  273. package/dist/huds-lib/p-7ca87180.entry.js +0 -1
  274. package/dist/huds-lib/p-7dd26e2a.entry.js +0 -1
  275. package/dist/huds-lib/p-830cfabf.entry.js +0 -69
  276. package/dist/huds-lib/p-8a7b55ed.entry.js +0 -1
  277. package/dist/huds-lib/p-8f314f7f.entry.js +0 -1
  278. package/dist/huds-lib/p-90a2d5bd.entry.js +0 -1
  279. package/dist/huds-lib/p-98487b2c.entry.js +0 -1
  280. package/dist/huds-lib/p-9a45dd9a.entry.js +0 -1
  281. package/dist/huds-lib/p-9b5113e0.entry.js +0 -1
  282. package/dist/huds-lib/p-a0a1ead3.entry.js +0 -1
  283. package/dist/huds-lib/p-a4745be5.entry.js +0 -1
  284. package/dist/huds-lib/p-a54ddb3e.entry.js +0 -1
  285. package/dist/huds-lib/p-a7922d26.entry.js +0 -1
  286. package/dist/huds-lib/p-a82d4779.js +0 -1
  287. package/dist/huds-lib/p-aca0eb7d.entry.js +0 -1
  288. package/dist/huds-lib/p-afe191fd.entry.js +0 -1
  289. package/dist/huds-lib/p-b7268181.entry.js +0 -1
  290. package/dist/huds-lib/p-baada6d9.entry.js +0 -1
  291. package/dist/huds-lib/p-bd31e4b5.entry.js +0 -1
  292. package/dist/huds-lib/p-bd56a257.entry.js +0 -1
  293. package/dist/huds-lib/p-c2b771ef.entry.js +0 -1
  294. package/dist/huds-lib/p-c87b7917.entry.js +0 -1
  295. package/dist/huds-lib/p-ca66cf04.js +0 -1
  296. package/dist/huds-lib/p-cc3a6a5b.entry.js +0 -1
  297. package/dist/huds-lib/p-d56f5a7a.entry.js +0 -1
  298. package/dist/huds-lib/p-d5a6bba6.entry.js +0 -1
  299. package/dist/huds-lib/p-db4dc333.entry.js +0 -1
  300. package/dist/huds-lib/p-dc6a653f.entry.js +0 -1
  301. package/dist/huds-lib/p-dd2d9165.entry.js +0 -1
  302. package/dist/huds-lib/p-de9a3ec8.entry.js +0 -1
  303. package/dist/huds-lib/p-e24fb999.entry.js +0 -1
  304. package/dist/huds-lib/p-e430c2a0.entry.js +0 -1
  305. package/dist/huds-lib/p-e7abd29a.entry.js +0 -1
  306. package/dist/huds-lib/p-e834c239.entry.js +0 -1
  307. package/dist/huds-lib/p-efc359e3.entry.js +0 -1
  308. package/dist/huds-lib/p-f0d518a5.entry.js +0 -1
  309. package/dist/huds-lib/p-fbf11f85.entry.js +0 -1
  310. package/dist/huds-lib/p-fcf2d27d.entry.js +0 -1
  311. package/dist/huds-lib/p-ff62346a.entry.js +0 -1
  312. package/dist/loader/cdn.js +0 -3
  313. package/dist/loader/index.cjs.js +0 -3
  314. package/dist/loader/index.d.ts +0 -13
  315. package/dist/loader/index.es2017.js +0 -3
  316. package/dist/loader/index.js +0 -4
  317. package/dist/loader/package.json +0 -10
  318. package/loader/index.mjs +0 -22
  319. package/loader/node-main.js +0 -3
@@ -1,41 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-083c8c8a.js';
2
- import { j as jsonParserWorker } from './globalScript-92c6b812.js';
3
-
4
- const hyAnchorLinkListCss = ":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:#f9a21a;--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}:host(.hy-anchor-link-list){border:1px solid var(--brand-main);width:100%}@media (min-width: 30rem){:host(.hy-anchor-link-list){margin-bottom:1.75rem}}@media (min-width: 48rem){:host(.hy-anchor-link-list){margin-bottom:1.75rem}}@media (min-width: 60rem){:host(.hy-anchor-link-list){margin-bottom:2rem}}@media (min-width: 1601px){:host(.hy-anchor-link-list){margin-bottom:2.5rem}}:host(.hy-anchor-link-list).is-open{border:1px solid var(--grayscale-dark)}.hy-anchor-link-list__button{border:none;background:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:15px 20px;width:100%}@media (min-width: 48rem){.hy-anchor-link-list__button{padding:18px 20px}}.hy-anchor-link-list__button:hover{cursor:pointer}.hy-anchor-link-list__button.is-open .label-close-icon svg{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.hy-anchor-link-list__button--title{font-size:1.0625rem;line-height:20px;font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--brand-main);font-family:var(--main-font-family);letter-spacing:-0.32px}.hy-anchor-link-list__button--title svg{margin-right:12px}.hy-anchor-link-list__button--label{font-size:1rem;line-height:20px;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--link-blue);font-family:var(--main-font-family);letter-spacing:-0.3px;text-align:right}.hy-anchor-link-list__button--label svg{margin-left:7px}.hy-anchor-link-list__container{display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:18px 0;margin:0 20px}.hy-anchor-link-list__container.is-open{display:-webkit-box;display:-ms-flexbox;display:flex;border-top:1px solid var(--grayscale-dark)}.hy-anchor-link-list__item{font-size:1rem;line-height:20px;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--link-blue);font-family:var(--main-font-family);font-size:16px;font-weight:600;letter-spacing:-0.5px;line-height:20px;margin-bottom:16px;text-decoration:none}.hy-anchor-link-list__item:hover{cursor:pointer;text-decoration:underline}.hy-anchor-link-list__item svg{margin-right:12px}";
5
-
6
- const HyAnchorLinkList = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.isOpen = false;
10
- }
11
- async componentWillLoad() {
12
- this._anchorItems = await jsonParserWorker(this.anchorItems);
13
- }
14
- handleLinkClick(e) {
15
- const targetId = e.target.getAttribute('href');
16
- if (targetId) {
17
- const targetElement = document.getElementById(targetId.substring(1));
18
- const targetRect = targetElement.getBoundingClientRect();
19
- window.scrollTo({ top: window.scrollY + targetRect.top - 100, behavior: 'smooth' });
20
- }
21
- e.preventDefault();
22
- e.stopPropagation();
23
- }
24
- render() {
25
- const classAttributes = ['hy-anchor-link-list'].join(' ');
26
- const buttonClasses = {
27
- 'hy-anchor-link-list__button': true,
28
- 'is-open': this.isOpen,
29
- };
30
- const containerClasses = {
31
- 'hy-anchor-link-list__container': true,
32
- 'is-open': this.isOpen,
33
- };
34
- const items = this._anchorItems;
35
- return (h(Host, { class: classAttributes }, h("button", { "aria-label": this.listTitle, onClick: () => (this.isOpen = !this.isOpen), class: buttonClasses }, h("span", { class: "hy-anchor-link-list__button--title" }, h("hy-icon", { icon: 'hy-icon-bullet-list', size: 18, fill: 'var(--brand-main)' }), this.listTitle), h("span", { class: "hy-anchor-link-list__button--label" }, this.isOpen ? this.closeLabel : this.openLabel, h("hy-icon", { class: "label-close-icon", icon: 'hy-icon-caret-down', size: 16, fill: 'var(--brand-main)' }))), h("div", { "aria-hidden": this.isOpen ? 'false' : 'true', class: containerClasses }, items &&
36
- items.map((item) => (h("a", { class: "hy-anchor-link-list__item", href: item.url, onClick: this.handleLinkClick }, h("hy-icon", { icon: 'hy-icon-arrow-down', size: 12, fill: 'var(--brand-main)' }), item.title))))));
37
- }
38
- };
39
- HyAnchorLinkList.style = hyAnchorLinkListCss;
40
-
41
- export { HyAnchorLinkList as hy_anchor_link_list };
@@ -1,17 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-083c8c8a.js';
2
-
3
- const hyBadgeCss = ":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:#f9a21a;--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}span.hy-badge{border-radius:15px;padding:0.25rem 1rem;text-align:center;color:black;font-weight:bold;font-family:var(--main-font-family);font-size:0.6rem}span.hy-badge.primary{background-color:var(--brand-main-light);color:white}span.hy-badge.warn{background-color:var(--additional-red-dark);color:white}span.hy-badge.success{background-color:var(--additional-green-dark);color:white}span.hy-badge.disabled{background-color:var(--grayscale-medium-dark);color:black}";
4
-
5
- const HyBadge = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.variant = 'primary';
9
- }
10
- render() {
11
- const classAttributes = ['hy-badge', this.variant];
12
- return (h(Host, null, h("span", { class: classAttributes.join(' ') }, h("slot", null))));
13
- }
14
- };
15
- HyBadge.style = hyBadgeCss;
16
-
17
- export { HyBadge as hy_badge };
@@ -1,41 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-083c8c8a.js';
2
- import { b as CtaLinkButtonVariants } from './utils-708bbefe.js';
3
-
4
- const hyBannerCss = ":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:#f9a21a;--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-banner{background-color:var(--brand-main-light);padding:28px 0 24px 0}@media (min-width: 30rem){.hy-banner{padding:40px 0 32px 0}}@media (min-width: 60rem){.hy-banner{padding:48px 0 40px 0;margin-left:8px;margin-right:8px}}@media (min-width: 75.0625rem){.hy-banner{margin-left:0;margin-right:0}}@media (min-width: 1601px){.hy-banner{padding:64px 32px 48px 32px;margin-left:-20px;margin-right:-20px}}@media (min-width: 1664px){.hy-banner{margin-left:0;margin-right:0}}@media (min-width: 75.0625rem){.hy-banner__large{padding:64px 0 48px 0;margin-left:-20px;margin-right:-20px}}@media (min-width: 1344px){.hy-banner__large{margin-left:0;margin-right:0}}@media (min-width: 60rem){.hy-banner__info-container{margin-left:-8px;margin-right:-8px}}@media (min-width: 1601px){.hy-banner__info-container{margin-left:0;margin-right:0}}.hy-banner__info-container__title{font-size:1.5rem;line-height:24px;color:var(--grayscale-white);font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.8px;margin-bottom:16px;text-transform:uppercase}@media (min-width: 30rem){.hy-banner__info-container__title{font-size:2rem;line-height:32px;letter-spacing:-1.07px;margin-bottom:24px;max-width:92%}}@media (min-width: 75.0625rem){.hy-banner__info-container__title{font-size:2rem;line-height:32px;letter-spacing:-1.07px;margin-bottom:24px;max-width:92%}}@media (min-width: 1601px){.hy-banner__info-container__title{font-size:2.25rem;line-height:36px;letter-spacing:-1.2px;max-width:83%}}@media (min-width: 75.0625rem){.hy-banner__info-container__title__large{font-size:2.25rem;line-height:36px;letter-spacing:-1.2px;max-width:83%}}@media (min-width: 1601px){.hy-banner__info-container__title__large{font-size:2.5rem;line-height:40px;letter-spacing:-1.33px;margin-bottom:32px}}.hy-banner__info-container__description{color:var(--grayscale-white);font-family:var(--main-font-family);font-weight:500;font-size:14px;letter-spacing:-0.7px;line-height:20px;margin-bottom:24px}@media (min-width: 30rem){.hy-banner__info-container__description{font-size:1rem;line-height:24px;letter-spacing:-0.08px;margin-bottom:28px;max-width:92%}}@media (min-width: 60rem){.hy-banner__info-container__description{margin-bottom:32px}}@media (min-width: 1601px){.hy-banner__info-container__description{font-size:1.125rem;line-height:24px;letter-spacing:-0.09px;margin-bottom:36px;max-width:83%}}@media (min-width: 75.0625rem){.hy-banner__info-container__description__large{font-size:1.125rem;line-height:24px;letter-spacing:-0.09px;margin-bottom:36px;max-width:83%}}@media (min-width: 1601px){.hy-banner__info-container__description__large{margin-bottom:44px}}";
5
-
6
- const HyBanner = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.textDescription = null;
10
- this.headerstyle = 'common';
11
- this.isExternal = false;
12
- }
13
- componentDidLoad() {
14
- let hyMainDiv = this.el.closest('.hy-main');
15
- if (hyMainDiv) {
16
- if (!hyMainDiv.classList.contains('with-sidebar')) {
17
- this.headerstyle = 'large';
18
- }
19
- }
20
- }
21
- render() {
22
- const hyBannerClass = ['hy-banner', `hy-banner__${this.headerstyle}`, this.headerstyle].join(' ');
23
- const hyBannerWrapperClass = ['hy-banner__info-container'].join(' ');
24
- const hyBannerTitle = [
25
- 'hy-banner__info-container__title',
26
- `hy-banner__info-container__title__${this.headerstyle}`,
27
- this.headerstyle,
28
- ].join(' ');
29
- const hyBannerDescription = [
30
- 'hy-banner__info-container__description',
31
- `hy-banner__info-container__description__${this.headerstyle}`,
32
- this.headerstyle,
33
- ].join(' ');
34
- const variant = CtaLinkButtonVariants.onBlueBkgd;
35
- return (h(Host, null, h("hy-box", { pt: "1.25, 1.25, 1.5, 2.5" }), h("div", { class: hyBannerClass }, h("hy-main-content-wrapper", null, h("div", { class: hyBannerWrapperClass }, h("div", { class: hyBannerTitle }, this.textTitle), h("div", { class: hyBannerDescription }, this.textDescription), this.url && (h("div", { class: "hy-banner__info-container__link" }, h("hy-cta-button", { "link-content": this.urlTitle, "sc-label": this.scLabel, url: this.url, "is-external": this.isExternal, variant: variant })))))), h("hy-box", { mb: "1.75, 1.75, 2, 2.5" })));
36
- }
37
- get el() { return getElement(this); }
38
- };
39
- HyBanner.style = hyBannerCss;
40
-
41
- export { HyBanner as hy_banner };
@@ -1,28 +0,0 @@
1
- import { r as registerInstance, h } from './index-083c8c8a.js';
2
- import { c as css } from './emotion.esm-87895ee1.js';
3
-
4
- const baselineCss = "div.hy-baseline{display:block}";
5
-
6
- const createCss = (value) => {
7
- return css `
8
- > * + * {
9
- margin-top: ${value}rem;
10
- display: block;
11
- }
12
- `;
13
- };
14
- const Baseline = class {
15
- constructor(hostRef) {
16
- registerInstance(this, hostRef);
17
- /**
18
- * Top margin to be added to all but first element. Amount of rem:s
19
- */
20
- this.margin = 1;
21
- }
22
- render() {
23
- return (h("div", { class: createCss(this.margin) }, h("slot", null)));
24
- }
25
- };
26
- Baseline.style = baselineCss;
27
-
28
- export { Baseline as hy_baseline };
@@ -1,29 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-083c8c8a.js';
2
- import { c as css } from './emotion.esm-87895ee1.js';
3
-
4
- const hyBoxContainerCss = ":host{display:block}";
5
-
6
- const HyBoxContainer = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- /**
10
- * Should the items wrap to new rows.
11
- */
12
- this.wrap = true;
13
- /**
14
- * Should the container have a max width of 90rems
15
- */
16
- this.maxWidth = true;
17
- }
18
- render() {
19
- return (h(Host, { style: { width: '100%', display: 'flex', flex: '1', justifyContent: 'center' } }, h("div", { class: css `
20
- display: flex;
21
- width: 100%;
22
- flex-wrap: ${this.wrap ? 'wrap' : 'no-wrap'};
23
- max-width: ${this.maxWidth ? '90rem' : '100%'};
24
- ` }, h("slot", null))));
25
- }
26
- };
27
- HyBoxContainer.style = hyBoxContainerCss;
28
-
29
- export { HyBoxContainer as hy_box_container };
@@ -1,161 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-083c8c8a.js';
2
- import { c as css } from './emotion.esm-87895ee1.js';
3
-
4
- const hyBoxCss = ":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:#f9a21a;--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}";
5
-
6
- /*
7
- Example of using hy-box:
8
- <hy-box mb="1.75, 1.75, 2, 2.5" />
9
- Where mb = margin-bottom,
10
- mobile up to 30rem: 1.75rem (mb[0])
11
- tablet, 30rem - 60rem: 1.75rem (mb[1])
12
- wide, 60rem to 75rem or 60rem to 100.0625rem (depending on hasSidebar) (mb[2])
13
- xlarge, > 100.0625: 2.5rem (mb[3])
14
- * */
15
- const toRemValue = (val) => {
16
- return typeof val === 'number' ? `${val}rem` : undefined;
17
- };
18
- const breakpoints = ['30rem', '60rem', '75.0625rem', '100.0625rem'];
19
- /*
20
- Default - mobile
21
- mq[0] - tablet
22
- mq[1] - wide, >960px
23
- mq[2] - extrawide, > 1200px
24
- mq[3] - xlarge, >1600px
25
- * */
26
- const mq = breakpoints.map((b) => `@media (min-width: ${b})`);
27
- const createCssClass = ({ hasSidebar, pt, pb, pl, pr, mt, mb, ml, mr, h, bg, width, justify, align }) => {
28
- const last = width[width.length - 1];
29
- return css `
30
- padding-top: ${toRemValue(pt[0])};
31
- padding-right: ${toRemValue(pr[0])};
32
- padding-bottom: ${toRemValue(pb[0])};
33
- padding-left: ${toRemValue(pl[0])};
34
- margin-top: ${toRemValue(mt[0])};
35
- margin-right: ${toRemValue(mr[0])};
36
- margin-bottom: ${toRemValue(mb[0])};
37
- margin-left: ${toRemValue(ml[0])};
38
- height: ${toRemValue(h)};
39
- background-color: ${!!bg ? `var(--${bg})` : 'transparent'};
40
- width: ${width[0]};
41
- display: flex;
42
- justify-content: ${justify || 'flex-start'};
43
- align-items: ${align || 'flex-start'};
44
-
45
- ${mq[0]} {
46
- width: ${width[1]};
47
-
48
- padding-top: ${toRemValue(pt[1])};
49
- padding-right: ${toRemValue(pr[1])};
50
- padding-bottom: ${toRemValue(pb[1])};
51
- padding-left: ${toRemValue(pl[1])};
52
-
53
- margin-top: ${toRemValue(mt[1])};
54
- margin-right: ${toRemValue(mr[1])};
55
- margin-bottom: ${toRemValue(mb[1])};
56
- margin-left: ${toRemValue(ml[1])};
57
- }
58
- ${mq[1]} {
59
- width: ${width[2] || last};
60
-
61
- padding-top: ${toRemValue(pt[2])};
62
- padding-right: ${toRemValue(pr[2])};
63
- padding-bottom: ${toRemValue(pb[2])};
64
- padding-left: ${toRemValue(pl[2])};
65
-
66
- margin-top: ${toRemValue(mt[2])};
67
- margin-right: ${toRemValue(mr[2])};
68
- margin-bottom: ${toRemValue(mb[2])};
69
- margin-left: ${toRemValue(ml[2])};
70
- }
71
- ${mq[2]} {
72
- width: ${width[3] || last};
73
-
74
- padding-top: ${hasSidebar ? `${toRemValue(pt[2])}` : `${toRemValue(pt[3])}`};
75
- padding-right: ${hasSidebar ? `${toRemValue(pr[2])}` : `${toRemValue(pr[3])}`};
76
- padding-bottom: ${hasSidebar ? `${toRemValue(pb[2])}` : `${toRemValue(pb[3])}`};
77
- padding-left: ${hasSidebar ? `${toRemValue(pl[2])}` : `${toRemValue(pl[3])}`};
78
-
79
- margin-top: ${hasSidebar ? `${toRemValue(mt[2])}` : `${toRemValue(mt[3])}`};
80
- margin-right: ${hasSidebar ? `${toRemValue(mr[2])}` : `${toRemValue(mr[3])}`};
81
- margin-bottom: ${hasSidebar ? `${toRemValue(mb[2])}` : `${toRemValue(mb[3])}`};
82
- margin-left: ${hasSidebar ? `${toRemValue(ml[2])}` : `${toRemValue(ml[3])}`};
83
- }
84
- ${mq[3]} {
85
- width: ${width[4] || last};
86
-
87
- padding-top: ${toRemValue(pt[3])};
88
- padding-right: ${toRemValue(pr[3])};
89
- padding-bottom: ${toRemValue(pb[3])};
90
- padding-left: ${toRemValue(pl[3])};
91
-
92
- margin-top: ${toRemValue(mt[3])};
93
- margin-right: ${toRemValue(mr[3])};
94
- margin-bottom: ${toRemValue(mb[3])};
95
- margin-left: ${toRemValue(ml[3])};
96
- }
97
- `;
98
- };
99
- const toNumArray = (value) => value === null || value === void 0 ? void 0 : value.split(',').map((v) => `${v.trim()}`).map((v) => parseFloat(v));
100
- const HyBox = class {
101
- constructor(hostRef) {
102
- registerInstance(this, hostRef);
103
- this.headerstyle = 'common';
104
- /**
105
- * Value for horisontal alignment (justify-content)
106
- */
107
- this.justify = 'flex-start';
108
- /**
109
- * value for vertical alignment (align-items)
110
- */
111
- this.align = 'baseline';
112
- /**
113
- * background color. Must use one of css variable names from color tokens
114
- */
115
- this.bg = 'transparent';
116
- /**
117
- * Responsive width. Must be a comma separated string of percentage values for breakpoints. First item is the default value.
118
- */
119
- this.width = '100';
120
- }
121
- componentWillLoad() {
122
- let hyMainDiv = this.el.closest('.hy-main');
123
- if (hyMainDiv) {
124
- if (!hyMainDiv.classList.contains('with-sidebar')) {
125
- this.headerstyle = 'large';
126
- }
127
- }
128
- }
129
- render() {
130
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
131
- const pt = (_b = (_a = toNumArray(this.pt)) !== null && _a !== void 0 ? _a : toNumArray(this.p)) !== null && _b !== void 0 ? _b : [0];
132
- const pb = (_d = (_c = toNumArray(this.pb)) !== null && _c !== void 0 ? _c : toNumArray(this.p)) !== null && _d !== void 0 ? _d : [0];
133
- const pr = (_f = (_e = toNumArray(this.pr)) !== null && _e !== void 0 ? _e : toNumArray(this.p)) !== null && _f !== void 0 ? _f : [0];
134
- const pl = (_h = (_g = toNumArray(this.pl)) !== null && _g !== void 0 ? _g : toNumArray(this.p)) !== null && _h !== void 0 ? _h : [0];
135
- const mt = (_k = (_j = toNumArray(this.mt)) !== null && _j !== void 0 ? _j : toNumArray(this.m)) !== null && _k !== void 0 ? _k : [0];
136
- const mb = (_m = (_l = toNumArray(this.mb)) !== null && _l !== void 0 ? _l : toNumArray(this.m)) !== null && _m !== void 0 ? _m : [0];
137
- const mr = (_p = (_o = toNumArray(this.mr)) !== null && _o !== void 0 ? _o : toNumArray(this.m)) !== null && _p !== void 0 ? _p : [0];
138
- const ml = (_r = (_q = toNumArray(this.ml)) !== null && _q !== void 0 ? _q : toNumArray(this.m)) !== null && _r !== void 0 ? _r : [0];
139
- const hasSidebar = this.headerstyle == 'common';
140
- return (h(Host, { class: createCssClass({
141
- hasSidebar,
142
- pt,
143
- pl,
144
- pr,
145
- pb,
146
- mt,
147
- ml,
148
- mr,
149
- mb,
150
- h: this.h,
151
- bg: this.bg,
152
- width: this.width.split(',').map((v) => `${v.trim()}%`),
153
- justify: this.justify,
154
- align: this.align,
155
- }) }, h("slot", null)));
156
- }
157
- get el() { return getElement(this); }
158
- };
159
- HyBox.style = hyBoxCss;
160
-
161
- export { HyBox as hy_box };
@@ -1,227 +0,0 @@
1
- import { r as registerInstance, h, g as getElement } from './index-083c8c8a.js';
2
- import { B as BreadcrumbVariants } from './utils-708bbefe.js';
3
- import { j as jsonParserWorker } from './globalScript-92c6b812.js';
4
-
5
- const hyBreadcrumbsCss = ":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:#f9a21a;--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-breadcrumbs{display:inline-block;position:relative;width:auto}.hy-breadcrumbs.is-condensed{width:100%}.hy-breadcrumbs ol{margin:0;padding:0}.hy-breadcrumbs .breadcrumb-container{color:var(--grayscale-dark);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;font-family:var(--main-font-family);list-style-type:none;margin:0;padding:20px 0 16px}@media (min-width: 30rem){.hy-breadcrumbs .breadcrumb-container{padding:24px 0 20px}}@media (min-width: 75.0625rem){.hy-breadcrumbs .breadcrumb-container{padding:32px 0 24px}}.hy-breadcrumbs .breadcrumb-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.hy-breadcrumbs .breadcrumb-item a{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--link-blue);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;height:44px;padding-left:6px;padding-right:6px;position:relative;text-decoration:none}.hy-breadcrumbs .breadcrumb-item a.default{font-size:0.875rem;line-height:18px;font-weight:600;letter-spacing:-0.5px}@media (min-width: 75.0625rem){.hy-breadcrumbs .breadcrumb-item a.default{font-size:1rem;line-height:20px}}.hy-breadcrumbs .breadcrumb-item:hover a{color:var(--brand-main);text-decoration:underline}.hy-breadcrumbs .breadcrumb-item:focus{outline:auto}.hy-breadcrumbs .breadcrumb-item.hidden{display:none}.hy-breadcrumbs .breadcrumb-item.home hy-icon.default{margin-bottom:4px}.hy-breadcrumbs .breadcrumb-item.home hy-icon.default svg{fill:var(--brand-main-light);stroke:var(--brand-main-light)}.hy-breadcrumbs .breadcrumb-item.home:hover svg{fill:var(--brand-main) !important;stroke:var(--brand-main) !important}.hy-breadcrumbs .breadcrumb-item.main{min-width:0}.hy-breadcrumbs .breadcrumb-item.main a{display:-webkit-box;display:-ms-flexbox;display:flex}.hy-breadcrumbs .breadcrumb-item__more{display:none;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.hy-breadcrumbs .breadcrumb-item__more.visible{display:-webkit-box;display:-ms-flexbox;display:flex}.hy-breadcrumbs .breadcrumb-item__more .breadcrumb-item-caret:hover{cursor:default}.hy-breadcrumbs .breadcrumb-item-caret svg{fill:var(--grayscale-dark)}.hy-breadcrumbs .breadcrumb-item-dropdown-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;border:0;display:-webkit-box;display:-ms-flexbox;display:flex;height:44px;margin:0;padding-left:6px;padding-right:6px;cursor:pointer}.hy-breadcrumbs .breadcrumb-item-dropdown-button .breadcrumb-item-dropdown-button__content{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grayscale-white);border-radius:3px;border:2px solid var(--brand-main-light);color:var(--brand-main-light);display:-webkit-box;display:-ms-flexbox;display:flex;height:20px;padding:0 6px;pointer-events:none}.hy-breadcrumbs .breadcrumb-item-dropdown-button .breadcrumb-item-dropdown-button__content>span{position:relative;width:20px;height:10px}.hy-breadcrumbs .breadcrumb-item-dropdown-button .breadcrumb-item-dropdown-button__content>span:after{background-color:var(--grayscale-black);border-radius:50%;-webkit-box-shadow:0 0 0 1px var(--grayscale-black), -6px 0 0 1px var(--grayscale-black), 6px 0 0 1px var(--grayscale-black);box-shadow:0 0 0 1px var(--grayscale-black), -6px 0 0 1px var(--grayscale-black), 6px 0 0 1px var(--grayscale-black);content:\"\";height:2px;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:2px}.hy-breadcrumbs .breadcrumb-item-dropdown-button .breadcrumb-item-dropdown-button__content hy-icon svg{fill:var(--brand-main-light);margin-left:3px;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.hy-breadcrumbs .breadcrumb-item-dropdown-button.is-open .breadcrumb-item-dropdown-button__content{background-color:var(--brand-main-light);color:var(--grayscale-white)}.hy-breadcrumbs .breadcrumb-item-dropdown-button.is-open .breadcrumb-item-dropdown-button__content>span:after{background-color:var(--grayscale-white);-webkit-box-shadow:0 0 0 1px var(--grayscale-white), -6px 0 0 1px var(--grayscale-white), 6px 0 0 1px var(--grayscale-white);box-shadow:0 0 0 1px var(--grayscale-white), -6px 0 0 1px var(--grayscale-white), 6px 0 0 1px var(--grayscale-white);width:2px}.hy-breadcrumbs .breadcrumb-item-dropdown-button.is-open hy-icon svg{fill:var(--grayscale-white);-webkit-transform:rotate(270deg);transform:rotate(270deg)}.hy-breadcrumbs .breadcrumb-hidden-items{display:none;list-style:none;visibility:hidden}.hy-breadcrumbs .breadcrumb-hidden-items__is-open{background:var(--grayscale-white);-webkit-box-shadow:0 0 10px 0 rgba(14, 104, 139, 0.2);box-shadow:0 0 10px 0 rgba(14, 104, 139, 0.2);display:block;left:0;padding:16px 0 20px;position:absolute;right:0;top:calc(100% - 11px);visibility:visible;z-index:5}@media (min-width: 30rem){.hy-breadcrumbs .breadcrumb-hidden-items__is-open{left:12px;right:auto}}.hy-breadcrumbs .breadcrumb-hidden-items__is-open a.default{display:-webkit-box;display:-ms-flexbox;display:flex;height:44px;margin:0;width:100%;padding:0 16px}@media (min-width: 30rem){.hy-breadcrumbs .breadcrumb-hidden-items__is-open a.default{padding:0 64px 0 32px}}.hy-breadcrumbs .breadcrumb-item__current{-webkit-box-flex:0;-ms-flex:0 2 auto;flex:0 2 auto;min-width:0}.hy-breadcrumbs .breadcrumb-item__current:hover a{cursor:default;color:var(--grayscale-dark) !important;text-decoration:none !important}.hy-breadcrumbs .breadcrumb-item__current a{color:var(--grayscale-dark);font-family:var(--main-font-family);text-decoration:none;display:block;white-space:nowrap;overflow:hidden;min-height:auto}.hy-breadcrumbs .intermediate{display:-webkit-box;display:-ms-flexbox;display:flex}.hy-breadcrumbs .intermediate.hidden{display:none;visibility:hidden}.hy-breadcrumbs .breadcrumb-item.breadcrumb-item__current a{min-height:0}.hy-breadcrumbs #more,.hy-breadcrumbs .more{display:none;visibility:hidden}.hy-breadcrumbs #more.visible,.hy-breadcrumbs .more.visible{display:-webkit-box;display:-ms-flexbox;display:flex;visibility:visible}.hy-breadcrumbs.large.with-sidebar{display:block;visibility:visible}.hy-breadcrumbs.large.with-sidebar a.large{font-size:1.25rem;line-height:26px;color:var(--grayscale-black);font-weight:700;letter-spacing:-0.6px}@media (min-width: 30rem){.hy-breadcrumbs.large.with-sidebar a.large{font-size:1.625rem;line-height:26px;letter-spacing:-0.8px;font-weight:700}}.hy-breadcrumbs.large.with-sidebar .breadcrumb-item__divider{font-size:1.25rem;line-height:26px}@media (min-width: 30rem){.hy-breadcrumbs.large.with-sidebar .breadcrumb-item__divider{font-size:1.625rem;line-height:26px}}.hy-breadcrumbs.large.with-sidebar .breadcrumb-item-caret svg{fill:var(--grayscale-black)}.hy-breadcrumbs.large.with-sidebar .breadcrumb-container{color:var(--grayscale-black);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;font-family:var(--main-font-family);list-style-type:none;margin:0;min-height:64px;overflow:hidden;padding:0}@media (min-width: 30rem){.hy-breadcrumbs.large.with-sidebar .breadcrumb-container{min-height:84px}}.hy-breadcrumbs.large.with-sidebar .breadcrumb-container .breadcrumb-item.home svg{fill:var(--grayscale-black);height:18px;margin-bottom:4px;stroke:var(--grayscale-black);width:18px}@media (min-width: 30rem){.hy-breadcrumbs.large.with-sidebar .breadcrumb-container .breadcrumb-item.home svg{height:24px;margin-bottom:2px;width:24px}}@media (min-width: 75.0625rem){.hy-breadcrumbs.large.with-sidebar{display:none;visibility:hidden}}";
6
-
7
- let breadcrumbsWidth = null;
8
- const HyBreadcrumbs = class {
9
- constructor(hostRef) {
10
- registerInstance(this, hostRef);
11
- this.variant = BreadcrumbVariants.default;
12
- this.headerstyle = 'with-sidebar';
13
- this.menuOpen = false;
14
- }
15
- async componentWillLoad() {
16
- this._dataItems = await jsonParserWorker(this.dataItems);
17
- }
18
- componentDidLoad() {
19
- let hyMainDiv = this.el.closest('.hy-main');
20
- if (hyMainDiv) {
21
- if (!hyMainDiv.classList.contains('with-sidebar')) {
22
- this.headerstyle = 'without-sidebar';
23
- }
24
- }
25
- // Set breadcumbs width + paddings.
26
- breadcrumbsWidth = this.el.offsetWidth + 64;
27
- const layoutContentElement = document.getElementsByClassName('layout-content')[0];
28
- const moreButton = document.querySelectorAll('.breadcrumb-item-dropdown-button')[0];
29
- if (layoutContentElement) {
30
- if (breadcrumbsWidth >= layoutContentElement.offsetWidth) {
31
- moreButton.setAttribute('aria-hidden', 'false');
32
- this.adjustBreadcrumbsMenuVisibility();
33
- }
34
- }
35
- }
36
- adjustBreadcrumbsMenuVisibility(showMenu = true) {
37
- // Show ... and Hide intermediate links
38
- if (!showMenu) {
39
- this.closeMoreMenu();
40
- }
41
- const crumbContainer = document.querySelectorAll('.hy-breadcrumbs')[0];
42
- const moreDotsItem = document.querySelectorAll('#more')[0];
43
- const moreDotsItemWrapper = document.querySelectorAll('.breadcrumb-item__more')[0];
44
- if (moreDotsItem) {
45
- if (showMenu) {
46
- crumbContainer.classList.add('is-condensed');
47
- moreDotsItem.classList.add('visible');
48
- moreDotsItemWrapper.classList.add('visible');
49
- }
50
- else {
51
- crumbContainer.classList.remove('is-condensed');
52
- moreDotsItem.classList.remove('visible');
53
- moreDotsItemWrapper.classList.remove('visible');
54
- }
55
- }
56
- const intermediateItems = document.querySelectorAll('.intermediate');
57
- if (intermediateItems) {
58
- for (let i = 0; i < intermediateItems.length; i++) {
59
- if (showMenu) {
60
- intermediateItems[i].classList.add('hidden');
61
- }
62
- else {
63
- intermediateItems[i].classList.remove('hidden');
64
- }
65
- }
66
- }
67
- }
68
- HomeItem(url) {
69
- const homeItemClass = ['hy-icon-wrapper', this.variant].join(' ');
70
- return (h("li", { class: "breadcrumb-item home" }, h("a", { href: url, class: homeItemClass }, h("hy-icon", { icon: 'hy-icon-home', class: `${this.variant}`, size: 16 })), h("span", { class: "breadcrumb-item__divider" }, "/")));
71
- }
72
- BreadcrumbItem(label, url, className = '', withCaret = true) {
73
- const breadcrumbClass = ['breadcrumb-item', className].join(' ');
74
- if (url) {
75
- if (withCaret) {
76
- return (h("li", { class: breadcrumbClass }, h("a", { href: url, class: `${this.variant}` }, label), h("span", { class: "breadcrumb-item__divider" }, "/")));
77
- }
78
- else {
79
- return (h("li", { class: breadcrumbClass }, h("a", { href: url, class: `${this.variant}` }, label)));
80
- }
81
- }
82
- else {
83
- return (h("li", { class: `${breadcrumbClass} breadcrumb-item__current` }, h("a", { "aria-current": "page", href: url, class: `${this.variant}` }, label.length > 20 ? `${label.substring(0, 19)}...` : label)));
84
- }
85
- }
86
- BreadcrumbTextItem(label, className = '') {
87
- const breadcrumbClass = ['breadcrumb-item', className].join(' ');
88
- return h("li", { class: breadcrumbClass }, label);
89
- }
90
- DropdownMenuItem(items) {
91
- return (h("li", { class: "breadcrumb-item__more" }, h("button", { type: "button", "aria-hidden": "true", "aria-expanded": "false", id: "more", key: "more", class: "breadcrumb-item-dropdown-button", "aria-label": "Open breadcrumb navigation" }, h("span", { class: "breadcrumb-item-dropdown-button__content" }, h("span", null), h("hy-icon", { icon: 'hy-icon-caret-right', class: 'breadcrumb-item-caret__drop breadcrumb-item__more__icon', size: 10 }))), h("ol", { class: "breadcrumb-hidden-items", "aria-hidden": "true" }, items), h("span", { class: "breadcrumb-item__divider" }, "/")));
92
- }
93
- adjustHiddenMenuWidth() {
94
- // set width to the menu area equal to the widest link + paddings
95
- const moreMenu = document.querySelectorAll('.breadcrumb-hidden-items')[0];
96
- if (moreMenu) {
97
- if (document.body.scrollWidth < 480) {
98
- moreMenu.style.width = '100%';
99
- }
100
- else {
101
- //maxIntermediateLinkWidth
102
- var maxIntermediateLinkWidth = 0;
103
- const moreMenuLinks = document.querySelectorAll('.breadcrumb-hidden-items .breadcrumb-item a');
104
- if (moreMenuLinks) {
105
- for (let i = 0; i < moreMenuLinks.length; i++) {
106
- if (maxIntermediateLinkWidth < moreMenuLinks[i].offsetWidth) {
107
- maxIntermediateLinkWidth = moreMenuLinks[i].offsetWidth;
108
- }
109
- }
110
- maxIntermediateLinkWidth = maxIntermediateLinkWidth + 32 + 64;
111
- }
112
- moreMenu.style.width = maxIntermediateLinkWidth.toString().concat('px');
113
- }
114
- }
115
- }
116
- closeMoreMenu() {
117
- const moreMenu = document.querySelectorAll('.breadcrumb-hidden-items')[0];
118
- if (moreMenu) {
119
- moreMenu.classList.remove('breadcrumb-hidden-items__is-open');
120
- this.menuOpen = false;
121
- }
122
- const moreBreadcrumb = document.querySelectorAll('#more')[0];
123
- if (moreBreadcrumb) {
124
- moreBreadcrumb.classList.remove('is-open');
125
- }
126
- }
127
- // When a ... is clicked, show/hide the Menu with hidden breadcrumbs
128
- clickEventListener(event) {
129
- if (!event)
130
- return;
131
- const target = event.target;
132
- const moreMenu = document.querySelectorAll('.breadcrumb-hidden-items')[0];
133
- const moreButton = document.querySelectorAll('.breadcrumb-item-dropdown-button')[0];
134
- // Trigger if target is button or svg icon
135
- // TODO: Make this if prettier
136
- if (target &&
137
- (target.id === 'more' ||
138
- ((target.tagName == 'svg' || 'path') &&
139
- target.closest('hy-icon').classList.contains('breadcrumb-item__more__icon')))) {
140
- //@todo Show the menu on the right place of the screen
141
- if (moreMenu) {
142
- if (this.menuOpen) {
143
- moreMenu.classList.remove('breadcrumb-hidden-items__is-open');
144
- moreMenu.setAttribute('aria-hidden', 'true');
145
- moreButton.classList.remove('is-open');
146
- moreButton.setAttribute('aria-expanded', 'false');
147
- }
148
- else {
149
- moreMenu.classList.add('breadcrumb-hidden-items__is-open');
150
- moreButton.classList.add('is-open');
151
- moreMenu.setAttribute('aria-hidden', 'false');
152
- moreButton.setAttribute('aria-expanded', 'true');
153
- }
154
- this.menuOpen = !this.menuOpen;
155
- }
156
- }
157
- else {
158
- this.closeMoreMenu();
159
- }
160
- event.stopPropagation();
161
- event.stopImmediatePropagation();
162
- }
163
- resizeEventListener(event) {
164
- if (!event)
165
- return;
166
- const breadcrumbsElement = document.querySelectorAll('.hy-breadcrumbs')[0];
167
- const moreButton = document.querySelectorAll('.breadcrumb-item-dropdown-button')[0];
168
- if (breadcrumbsElement) {
169
- if (breadcrumbsWidth + 64 >= document.body.scrollWidth) {
170
- moreButton.setAttribute('aria-hidden', 'false');
171
- this.adjustBreadcrumbsMenuVisibility();
172
- }
173
- else {
174
- moreButton.setAttribute('aria-hidden', 'true');
175
- this.adjustBreadcrumbsMenuVisibility(false);
176
- }
177
- }
178
- }
179
- render() {
180
- //@todo Accesibility
181
- const TOTAL_ITEMS = this._dataItems.length;
182
- const MAX_ITEMS_TO_SHOW = 3;
183
- let isMenuNeeded = TOTAL_ITEMS > MAX_ITEMS_TO_SHOW;
184
- let itemsBreadcrumbs = [];
185
- let itemsToShowInMenu = [];
186
- if (this.variant == BreadcrumbVariants.landingLarge) {
187
- // Landing pages, Large variant
188
- this._dataItems.map((x, index) => {
189
- if (index < 2) {
190
- if (index == 0) {
191
- itemsBreadcrumbs.push(this.HomeItem(x.url));
192
- }
193
- else {
194
- itemsBreadcrumbs.push(this.BreadcrumbItem(x.text, '', 'main'));
195
- }
196
- }
197
- });
198
- }
199
- else {
200
- // Landing and Content pages, Standard variant
201
- this._dataItems.map((x, index) => {
202
- let breadcrumbEl = this.BreadcrumbItem(x.text, x.url, '', false);
203
- if (isMenuNeeded && index > 0 && index < TOTAL_ITEMS - 1) {
204
- itemsToShowInMenu.push(h("li", null, breadcrumbEl));
205
- itemsBreadcrumbs.push(this.BreadcrumbItem(x.text, x.url, 'intermediate'));
206
- return;
207
- }
208
- else {
209
- if (index == 0) {
210
- itemsBreadcrumbs.push(this.HomeItem(x.url));
211
- }
212
- else {
213
- itemsBreadcrumbs.push(this.BreadcrumbItem(x.text, x.url, 'main'));
214
- }
215
- }
216
- });
217
- }
218
- // Add items to show in breadcrumb popup in correct DOM position.
219
- itemsBreadcrumbs.splice(1, 0, this.DropdownMenuItem(itemsToShowInMenu));
220
- const breadcrumbsClass = ['hy-breadcrumbs', this.variant, this.headerstyle].join(' ');
221
- return (h("nav", { "aria-label": "Breadcrumb", role: "navigation", "aria-labelledby": "system-breadcrumb", class: breadcrumbsClass }, h("ol", { class: "breadcrumb-container" }, itemsBreadcrumbs)));
222
- }
223
- get el() { return getElement(this); }
224
- };
225
- HyBreadcrumbs.style = hyBreadcrumbsCss;
226
-
227
- export { HyBreadcrumbs as hy_breadcrumbs };