@itcenteratunihelsinki/huds-lib 0.5.45 → 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 (309) 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/navigation/menu/menu.js +46 -34
  11. package/dist/collection/components/navigation/menu-sidebar/menu-sidebar.js +14 -6
  12. package/dist/collection/components/person-profile/person-profile.js +8 -1
  13. package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.js +27 -19
  14. package/dist/collection/components/site-header/site-header.js +14 -2
  15. package/dist/esm/color-box_8.entry.js +199 -0
  16. package/dist/esm/{globalScript-92c6b812.js → globalScript-9d045b36.js} +1 -1
  17. package/dist/esm/huds-lib.js +4 -4
  18. package/dist/esm/hy-accordion-container_91.entry.js +8053 -0
  19. package/dist/esm/{index-083c8c8a.js → index-daaf0985.js} +80 -64
  20. package/dist/esm/loader.js +4 -4
  21. package/dist/esm/{utils-708bbefe.js → utils-966ffdb5.js} +1 -1
  22. package/dist/huds-lib/huds-lib.esm.js +1 -1
  23. package/dist/huds-lib/{p-fd1edbd5.js → p-04dcccdc.js} +1 -1
  24. package/dist/huds-lib/p-77f7df4b.entry.js +86 -0
  25. package/dist/huds-lib/{p-8ab550d6.js → p-cd2316f0.js} +1 -1
  26. package/dist/huds-lib/p-d3ced29c.entry.js +1 -0
  27. package/dist/huds-lib/{p-bb24c6b5.js → p-f8697bf9.js} +1 -1
  28. package/dist/types/components/button/button.d.ts +1 -1
  29. package/dist/types/components/navigation/menu/menu.d.ts +1 -0
  30. package/dist/types/components/person-profile/person-profile.d.ts +1 -0
  31. package/dist/types/components.d.ts +1 -1
  32. package/dist/types/stencil-public-runtime.d.ts +7 -4
  33. package/loader/index.d.ts +13 -4
  34. package/loader/{index.es2017.mjs → index.es2017.js} +1 -2
  35. package/loader/index.js +13 -0
  36. package/loader/package.json +5 -7
  37. package/package.json +2 -2
  38. package/dist/cjs/color-box.cjs.entry.js +0 -19
  39. package/dist/cjs/emotion.esm-563b6504.js +0 -1397
  40. package/dist/cjs/hy-accordion-container_5.cjs.entry.js +0 -578
  41. package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +0 -51
  42. package/dist/cjs/hy-anchor-link-list.cjs.entry.js +0 -45
  43. package/dist/cjs/hy-badge.cjs.entry.js +0 -21
  44. package/dist/cjs/hy-banner.cjs.entry.js +0 -45
  45. package/dist/cjs/hy-baseline.cjs.entry.js +0 -32
  46. package/dist/cjs/hy-box-container.cjs.entry.js +0 -33
  47. package/dist/cjs/hy-box.cjs.entry.js +0 -165
  48. package/dist/cjs/hy-breadcrumbs.cjs.entry.js +0 -231
  49. package/dist/cjs/hy-button.cjs.entry.js +0 -100
  50. package/dist/cjs/hy-checkbox.cjs.entry.js +0 -33
  51. package/dist/cjs/hy-collaboration.cjs.entry.js +0 -19
  52. package/dist/cjs/hy-content-list-item.cjs.entry.js +0 -70
  53. package/dist/cjs/hy-content-list.cjs.entry.js +0 -112
  54. package/dist/cjs/hy-crisis-banner.cjs.entry.js +0 -19
  55. package/dist/cjs/hy-cta-button.cjs.entry.js +0 -30
  56. package/dist/cjs/hy-cta-link.cjs.entry.js +0 -26
  57. package/dist/cjs/hy-desktop-menu-links.cjs.entry.js +0 -328
  58. package/dist/cjs/hy-docs-container.cjs.entry.js +0 -19
  59. package/dist/cjs/hy-dropdown-panel_2.cjs.entry.js +0 -27
  60. package/dist/cjs/hy-dropdown.cjs.entry.js +0 -113
  61. package/dist/cjs/hy-filter-group-item.cjs.entry.js +0 -17
  62. package/dist/cjs/hy-filter-group.cjs.entry.js +0 -37
  63. package/dist/cjs/hy-filter-list-type.cjs.entry.js +0 -28
  64. package/dist/cjs/hy-filter-visibility-tool-reset_2.cjs.entry.js +0 -26
  65. package/dist/cjs/hy-filter-visibility-tool.cjs.entry.js +0 -24
  66. package/dist/cjs/hy-footer_5.cjs.entry.js +0 -201
  67. package/dist/cjs/hy-general-list_2.cjs.entry.js +0 -94
  68. package/dist/cjs/hy-grid-container.cjs.entry.js +0 -20
  69. package/dist/cjs/hy-grid-item.cjs.entry.js +0 -31
  70. package/dist/cjs/hy-grid-row.cjs.entry.js +0 -20
  71. package/dist/cjs/hy-heading.cjs.entry.js +0 -67
  72. package/dist/cjs/hy-hero.cjs.entry.js +0 -101
  73. package/dist/cjs/hy-icon.cjs.entry.js +0 -364
  74. package/dist/cjs/hy-image.cjs.entry.js +0 -50
  75. package/dist/cjs/hy-ingress.cjs.entry.js +0 -30
  76. package/dist/cjs/hy-introduction.cjs.entry.js +0 -55
  77. package/dist/cjs/hy-key-figure-group.cjs.entry.js +0 -77
  78. package/dist/cjs/hy-key-figure.cjs.entry.js +0 -22
  79. package/dist/cjs/hy-key-highlight-group.cjs.entry.js +0 -44
  80. package/dist/cjs/hy-key-highlight.cjs.entry.js +0 -22
  81. package/dist/cjs/hy-large-process-flow-phase.cjs.entry.js +0 -37
  82. package/dist/cjs/hy-large-process-flow.cjs.entry.js +0 -44
  83. package/dist/cjs/hy-link-box-list.cjs.entry.js +0 -54
  84. package/dist/cjs/hy-link-box.cjs.entry.js +0 -79
  85. package/dist/cjs/hy-link-list.cjs.entry.js +0 -44
  86. package/dist/cjs/hy-link.cjs.entry.js +0 -25
  87. package/dist/cjs/hy-list-item.cjs.entry.js +0 -239
  88. package/dist/cjs/hy-logo-grid-item.cjs.entry.js +0 -30
  89. package/dist/cjs/hy-logo-grid.cjs.entry.js +0 -20
  90. package/dist/cjs/hy-main-content-wrapper.cjs.entry.js +0 -20
  91. package/dist/cjs/hy-main.cjs.entry.js +0 -25
  92. package/dist/cjs/hy-menu-item-sidebar.cjs.entry.js +0 -159
  93. package/dist/cjs/hy-menu-item.cjs.entry.js +0 -147
  94. package/dist/cjs/hy-menu-language-item.cjs.entry.js +0 -25
  95. package/dist/cjs/hy-menu-language.cjs.entry.js +0 -91
  96. package/dist/cjs/hy-menu-level-container.cjs.entry.js +0 -137
  97. package/dist/cjs/hy-menu-main-group.cjs.entry.js +0 -151
  98. package/dist/cjs/hy-menu-mobile-breadcrumb.cjs.entry.js +0 -25
  99. package/dist/cjs/hy-menu-sidebar.cjs.entry.js +0 -290
  100. package/dist/cjs/hy-menu.cjs.entry.js +0 -111
  101. package/dist/cjs/hy-mobile-menu-shortcuts.cjs.entry.js +0 -26
  102. package/dist/cjs/hy-opening-hours-content.cjs.entry.js +0 -43
  103. package/dist/cjs/hy-opening-hours.cjs.entry.js +0 -35
  104. package/dist/cjs/hy-pager-item.cjs.entry.js +0 -45
  105. package/dist/cjs/hy-pager.cjs.entry.js +0 -20
  106. package/dist/cjs/hy-paragraph-text.cjs.entry.js +0 -45
  107. package/dist/cjs/hy-person-card.cjs.entry.js +0 -84
  108. package/dist/cjs/hy-person-profile.cjs.entry.js +0 -61
  109. package/dist/cjs/hy-process-flow-box.cjs.entry.js +0 -28
  110. package/dist/cjs/hy-process.cjs.entry.js +0 -57
  111. package/dist/cjs/hy-prominent-image.cjs.entry.js +0 -36
  112. package/dist/cjs/hy-quote.cjs.entry.js +0 -30
  113. package/dist/cjs/hy-row.cjs.entry.js +0 -42
  114. package/dist/cjs/hy-search-field.cjs.entry.js +0 -51
  115. package/dist/cjs/hy-section-container.cjs.entry.js +0 -19
  116. package/dist/cjs/hy-shortcuts.cjs.entry.js +0 -60
  117. package/dist/cjs/hy-site-header_3.cjs.entry.js +0 -444
  118. package/dist/cjs/hy-table-container.cjs.entry.js +0 -20
  119. package/dist/cjs/hy-tag.cjs.entry.js +0 -20
  120. package/dist/cjs/hy-tiny-text.cjs.entry.js +0 -20
  121. package/dist/cjs/hy-twitter-feed.cjs.entry.js +0 -27
  122. package/dist/cjs/hy-two-columns.cjs.entry.js +0 -21
  123. package/dist/cjs/hy-user-login-form.cjs.entry.js +0 -23
  124. package/dist/cjs/hy-video.cjs.entry.js +0 -67
  125. package/dist/cjs/index-314ad166.js +0 -967
  126. package/dist/esm/color-box.entry.js +0 -15
  127. package/dist/esm/emotion.esm-87895ee1.js +0 -1395
  128. package/dist/esm/hy-accordion-container_5.entry.js +0 -570
  129. package/dist/esm/hy-adjacent-image-text.entry.js +0 -47
  130. package/dist/esm/hy-anchor-link-list.entry.js +0 -41
  131. package/dist/esm/hy-badge.entry.js +0 -17
  132. package/dist/esm/hy-banner.entry.js +0 -41
  133. package/dist/esm/hy-baseline.entry.js +0 -28
  134. package/dist/esm/hy-box-container.entry.js +0 -29
  135. package/dist/esm/hy-box.entry.js +0 -161
  136. package/dist/esm/hy-breadcrumbs.entry.js +0 -227
  137. package/dist/esm/hy-button.entry.js +0 -96
  138. package/dist/esm/hy-checkbox.entry.js +0 -29
  139. package/dist/esm/hy-collaboration.entry.js +0 -15
  140. package/dist/esm/hy-content-list-item.entry.js +0 -66
  141. package/dist/esm/hy-content-list.entry.js +0 -108
  142. package/dist/esm/hy-crisis-banner.entry.js +0 -15
  143. package/dist/esm/hy-cta-button.entry.js +0 -26
  144. package/dist/esm/hy-cta-link.entry.js +0 -22
  145. package/dist/esm/hy-desktop-menu-links.entry.js +0 -324
  146. package/dist/esm/hy-docs-container.entry.js +0 -15
  147. package/dist/esm/hy-dropdown-panel_2.entry.js +0 -22
  148. package/dist/esm/hy-dropdown.entry.js +0 -109
  149. package/dist/esm/hy-filter-group-item.entry.js +0 -13
  150. package/dist/esm/hy-filter-group.entry.js +0 -33
  151. package/dist/esm/hy-filter-list-type.entry.js +0 -24
  152. package/dist/esm/hy-filter-visibility-tool-reset_2.entry.js +0 -21
  153. package/dist/esm/hy-filter-visibility-tool.entry.js +0 -20
  154. package/dist/esm/hy-footer_5.entry.js +0 -193
  155. package/dist/esm/hy-general-list_2.entry.js +0 -89
  156. package/dist/esm/hy-grid-container.entry.js +0 -16
  157. package/dist/esm/hy-grid-item.entry.js +0 -27
  158. package/dist/esm/hy-grid-row.entry.js +0 -16
  159. package/dist/esm/hy-heading.entry.js +0 -63
  160. package/dist/esm/hy-hero.entry.js +0 -97
  161. package/dist/esm/hy-icon.entry.js +0 -360
  162. package/dist/esm/hy-image.entry.js +0 -46
  163. package/dist/esm/hy-ingress.entry.js +0 -26
  164. package/dist/esm/hy-introduction.entry.js +0 -51
  165. package/dist/esm/hy-key-figure-group.entry.js +0 -73
  166. package/dist/esm/hy-key-figure.entry.js +0 -18
  167. package/dist/esm/hy-key-highlight-group.entry.js +0 -40
  168. package/dist/esm/hy-key-highlight.entry.js +0 -18
  169. package/dist/esm/hy-large-process-flow-phase.entry.js +0 -33
  170. package/dist/esm/hy-large-process-flow.entry.js +0 -40
  171. package/dist/esm/hy-link-box-list.entry.js +0 -50
  172. package/dist/esm/hy-link-box.entry.js +0 -75
  173. package/dist/esm/hy-link-list.entry.js +0 -40
  174. package/dist/esm/hy-link.entry.js +0 -21
  175. package/dist/esm/hy-list-item.entry.js +0 -235
  176. package/dist/esm/hy-logo-grid-item.entry.js +0 -26
  177. package/dist/esm/hy-logo-grid.entry.js +0 -16
  178. package/dist/esm/hy-main-content-wrapper.entry.js +0 -16
  179. package/dist/esm/hy-main.entry.js +0 -21
  180. package/dist/esm/hy-menu-item-sidebar.entry.js +0 -155
  181. package/dist/esm/hy-menu-item.entry.js +0 -143
  182. package/dist/esm/hy-menu-language-item.entry.js +0 -21
  183. package/dist/esm/hy-menu-language.entry.js +0 -87
  184. package/dist/esm/hy-menu-level-container.entry.js +0 -133
  185. package/dist/esm/hy-menu-main-group.entry.js +0 -147
  186. package/dist/esm/hy-menu-mobile-breadcrumb.entry.js +0 -21
  187. package/dist/esm/hy-menu-sidebar.entry.js +0 -286
  188. package/dist/esm/hy-menu.entry.js +0 -107
  189. package/dist/esm/hy-mobile-menu-shortcuts.entry.js +0 -22
  190. package/dist/esm/hy-opening-hours-content.entry.js +0 -39
  191. package/dist/esm/hy-opening-hours.entry.js +0 -31
  192. package/dist/esm/hy-pager-item.entry.js +0 -41
  193. package/dist/esm/hy-pager.entry.js +0 -16
  194. package/dist/esm/hy-paragraph-text.entry.js +0 -41
  195. package/dist/esm/hy-person-card.entry.js +0 -80
  196. package/dist/esm/hy-person-profile.entry.js +0 -57
  197. package/dist/esm/hy-process-flow-box.entry.js +0 -24
  198. package/dist/esm/hy-process.entry.js +0 -53
  199. package/dist/esm/hy-prominent-image.entry.js +0 -32
  200. package/dist/esm/hy-quote.entry.js +0 -26
  201. package/dist/esm/hy-row.entry.js +0 -38
  202. package/dist/esm/hy-search-field.entry.js +0 -47
  203. package/dist/esm/hy-section-container.entry.js +0 -15
  204. package/dist/esm/hy-shortcuts.entry.js +0 -56
  205. package/dist/esm/hy-site-header_3.entry.js +0 -438
  206. package/dist/esm/hy-table-container.entry.js +0 -16
  207. package/dist/esm/hy-tag.entry.js +0 -16
  208. package/dist/esm/hy-tiny-text.entry.js +0 -16
  209. package/dist/esm/hy-twitter-feed.entry.js +0 -23
  210. package/dist/esm/hy-two-columns.entry.js +0 -17
  211. package/dist/esm/hy-user-login-form.entry.js +0 -19
  212. package/dist/esm/hy-video.entry.js +0 -63
  213. package/dist/esm/index-41a1e449.js +0 -965
  214. package/dist/huds-lib/p-003597de.entry.js +0 -1
  215. package/dist/huds-lib/p-00a1f0c4.entry.js +0 -1
  216. package/dist/huds-lib/p-045ec3b7.entry.js +0 -6
  217. package/dist/huds-lib/p-065ae4a9.entry.js +0 -1
  218. package/dist/huds-lib/p-095afc4e.entry.js +0 -1
  219. package/dist/huds-lib/p-0a37696c.entry.js +0 -1
  220. package/dist/huds-lib/p-0b2e3057.entry.js +0 -1
  221. package/dist/huds-lib/p-0ba24d1d.entry.js +0 -1
  222. package/dist/huds-lib/p-0d751fcd.entry.js +0 -1
  223. package/dist/huds-lib/p-0def2cda.entry.js +0 -1
  224. package/dist/huds-lib/p-0f9c4661.entry.js +0 -8
  225. package/dist/huds-lib/p-114f1281.entry.js +0 -1
  226. package/dist/huds-lib/p-14a7e308.entry.js +0 -1
  227. package/dist/huds-lib/p-179221b4.entry.js +0 -1
  228. package/dist/huds-lib/p-1ed13a8e.entry.js +0 -1
  229. package/dist/huds-lib/p-1f5cb6ed.entry.js +0 -1
  230. package/dist/huds-lib/p-238bf6f7.entry.js +0 -1
  231. package/dist/huds-lib/p-24c25896.entry.js +0 -1
  232. package/dist/huds-lib/p-27a613af.entry.js +0 -1
  233. package/dist/huds-lib/p-29a5f847.entry.js +0 -1
  234. package/dist/huds-lib/p-2c83cfcf.entry.js +0 -1
  235. package/dist/huds-lib/p-309dde97.entry.js +0 -1
  236. package/dist/huds-lib/p-31d9c326.entry.js +0 -1
  237. package/dist/huds-lib/p-349817f6.entry.js +0 -1
  238. package/dist/huds-lib/p-3641da70.entry.js +0 -1
  239. package/dist/huds-lib/p-3bf480d9.entry.js +0 -1
  240. package/dist/huds-lib/p-3d35d226.entry.js +0 -1
  241. package/dist/huds-lib/p-3e4344d2.entry.js +0 -1
  242. package/dist/huds-lib/p-3f050660.entry.js +0 -1
  243. package/dist/huds-lib/p-40ab2704.entry.js +0 -6
  244. package/dist/huds-lib/p-4252e76e.entry.js +0 -1
  245. package/dist/huds-lib/p-47d919f5.entry.js +0 -1
  246. package/dist/huds-lib/p-488053bf.entry.js +0 -1
  247. package/dist/huds-lib/p-497703c3.entry.js +0 -1
  248. package/dist/huds-lib/p-4d4869f9.entry.js +0 -1
  249. package/dist/huds-lib/p-518b6042.entry.js +0 -1
  250. package/dist/huds-lib/p-51dd0bf2.entry.js +0 -1
  251. package/dist/huds-lib/p-521557a1.entry.js +0 -1
  252. package/dist/huds-lib/p-570b0c50.entry.js +0 -1
  253. package/dist/huds-lib/p-604e4a62.entry.js +0 -1
  254. package/dist/huds-lib/p-608090da.entry.js +0 -1
  255. package/dist/huds-lib/p-67b6fddc.entry.js +0 -1
  256. package/dist/huds-lib/p-69559eff.entry.js +0 -1
  257. package/dist/huds-lib/p-69849560.entry.js +0 -1
  258. package/dist/huds-lib/p-6c54b7bc.entry.js +0 -1
  259. package/dist/huds-lib/p-6c56dcbb.entry.js +0 -1
  260. package/dist/huds-lib/p-7225fde6.entry.js +0 -1
  261. package/dist/huds-lib/p-734da8db.entry.js +0 -1
  262. package/dist/huds-lib/p-75f84185.entry.js +0 -1
  263. package/dist/huds-lib/p-795c4838.entry.js +0 -1
  264. package/dist/huds-lib/p-7ca87180.entry.js +0 -1
  265. package/dist/huds-lib/p-7dd26e2a.entry.js +0 -1
  266. package/dist/huds-lib/p-830cfabf.entry.js +0 -69
  267. package/dist/huds-lib/p-8a7b55ed.entry.js +0 -1
  268. package/dist/huds-lib/p-8f314f7f.entry.js +0 -1
  269. package/dist/huds-lib/p-90a2d5bd.entry.js +0 -1
  270. package/dist/huds-lib/p-98487b2c.entry.js +0 -1
  271. package/dist/huds-lib/p-9a45dd9a.entry.js +0 -1
  272. package/dist/huds-lib/p-9b5113e0.entry.js +0 -1
  273. package/dist/huds-lib/p-a0a1ead3.entry.js +0 -1
  274. package/dist/huds-lib/p-a4745be5.entry.js +0 -1
  275. package/dist/huds-lib/p-a54ddb3e.entry.js +0 -1
  276. package/dist/huds-lib/p-a7922d26.entry.js +0 -1
  277. package/dist/huds-lib/p-a82d4779.js +0 -1
  278. package/dist/huds-lib/p-aca0eb7d.entry.js +0 -1
  279. package/dist/huds-lib/p-afe191fd.entry.js +0 -1
  280. package/dist/huds-lib/p-b7268181.entry.js +0 -1
  281. package/dist/huds-lib/p-baada6d9.entry.js +0 -1
  282. package/dist/huds-lib/p-bd31e4b5.entry.js +0 -1
  283. package/dist/huds-lib/p-bd56a257.entry.js +0 -1
  284. package/dist/huds-lib/p-c2b771ef.entry.js +0 -1
  285. package/dist/huds-lib/p-c87b7917.entry.js +0 -1
  286. package/dist/huds-lib/p-ca66cf04.js +0 -1
  287. package/dist/huds-lib/p-d56f5a7a.entry.js +0 -1
  288. package/dist/huds-lib/p-d5a6bba6.entry.js +0 -1
  289. package/dist/huds-lib/p-db4dc333.entry.js +0 -1
  290. package/dist/huds-lib/p-dc6a653f.entry.js +0 -1
  291. package/dist/huds-lib/p-dd2d9165.entry.js +0 -1
  292. package/dist/huds-lib/p-e24fb999.entry.js +0 -1
  293. package/dist/huds-lib/p-e430c2a0.entry.js +0 -1
  294. package/dist/huds-lib/p-e7abd29a.entry.js +0 -1
  295. package/dist/huds-lib/p-e7c21f51.entry.js +0 -1
  296. package/dist/huds-lib/p-e834c239.entry.js +0 -1
  297. package/dist/huds-lib/p-efc359e3.entry.js +0 -1
  298. package/dist/huds-lib/p-f0d518a5.entry.js +0 -1
  299. package/dist/huds-lib/p-fbf11f85.entry.js +0 -1
  300. package/dist/huds-lib/p-fcf2d27d.entry.js +0 -1
  301. package/dist/huds-lib/p-ff62346a.entry.js +0 -1
  302. package/dist/loader/cdn.js +0 -3
  303. package/dist/loader/index.cjs.js +0 -3
  304. package/dist/loader/index.d.ts +0 -13
  305. package/dist/loader/index.es2017.js +0 -3
  306. package/dist/loader/index.js +0 -4
  307. package/dist/loader/package.json +0 -10
  308. package/loader/index.mjs +0 -22
  309. package/loader/node-main.js +0 -3
@@ -1,6 +1,8 @@
1
1
  import { Component, Element, Event, h, Listen, Prop, State } from '@stencil/core';
2
2
  import { MenuType } from '../../../utils/utils';
3
3
  import { jsonParserWorker } from '../../../global/globalScript';
4
+ let breadcrumbTimeout = null;
5
+ let addbreadTimeout = null;
4
6
  export class Menu {
5
7
  constructor() {
6
8
  this.isGroup = false;
@@ -10,49 +12,59 @@ export class Menu {
10
12
  }
11
13
  // Listener for removing a breadcrumb from mobile menu breadcrumbs.
12
14
  async removeBreadcrumb(data) {
15
+ clearTimeout(breadcrumbTimeout);
13
16
  let breadcrumbs = await jsonParserWorker(this.breadcrumbs);
14
- let currentBreadcrumb = breadcrumbs
15
- .map(function (e) {
16
- return e.bid;
17
- })
18
- .indexOf(data.detail.bid);
19
- for (let i = currentBreadcrumb, l = this.breadcrumbs.length; i < l; i++) {
20
- this.menuContainerToggled.emit({
21
- triggerItem: this.breadcrumbs[i].bid,
22
- triggerType: 'remove',
23
- });
24
- }
25
- this.breadcrumbs = [];
26
- this.breadcrumbs = breadcrumbs.slice(0, -1);
27
- // Reset if home breadcrumb link has been clicked.
28
- if (currentBreadcrumb === 0) {
17
+ breadcrumbTimeout = setTimeout(() => {
18
+ let currentBreadcrumb = breadcrumbs
19
+ .map(function (e) {
20
+ return e.bid;
21
+ })
22
+ .indexOf(data.detail.bid);
23
+ for (let i = currentBreadcrumb, l = this.breadcrumbs.length; i < l; i++) {
24
+ this.menuContainerToggled.emit({
25
+ triggerItem: this.breadcrumbs[i].bid,
26
+ triggerType: 'remove',
27
+ });
28
+ }
29
29
  this.breadcrumbs = [];
30
- // Notify menu-level-container toggle listener about closing all levels.
31
- let elements = this.el.querySelectorAll('.hy-menu-level-container--mobile');
32
- elements.forEach((element) => {
33
- if (!element.classList.contains('hy-menu-level-container--level-0')) {
34
- this.menuContainerToggled.emit({
35
- triggerItem: element.getAttribute('trigger-item'),
36
- triggerType: 'remove',
37
- });
38
- }
39
- });
40
- }
30
+ this.breadcrumbs = breadcrumbs.slice(0, -1);
31
+ // Reset if home breadcrumb link has been clicked.
32
+ if (currentBreadcrumb === 0) {
33
+ this.breadcrumbs = [];
34
+ // Notify menu-level-container toggle listener about closing all levels.
35
+ let elements = this.el.querySelectorAll('.hy-menu-level-container--mobile');
36
+ elements.forEach((element) => {
37
+ if (!element.classList.contains('hy-menu-level-container--level-0')) {
38
+ this.menuContainerToggled.emit({
39
+ triggerItem: element.getAttribute('trigger-item'),
40
+ triggerType: 'remove',
41
+ });
42
+ }
43
+ });
44
+ }
45
+ }, 100);
41
46
  }
42
47
  // Listener for adding a breadcrumb to mobile menu breadcrumbs.
43
48
  addBreadcrumb(event) {
44
- this.breadcrumbs = [
45
- ...this.breadcrumbs,
46
- {
47
- label: event.detail.label,
48
- bid: event.detail.bid,
49
- url: event.detail.url,
50
- },
51
- ];
49
+ clearTimeout(addbreadTimeout);
50
+ addbreadTimeout = setTimeout(() => {
51
+ this.breadcrumbs = [
52
+ ...this.breadcrumbs,
53
+ {
54
+ label: event.detail.label,
55
+ bid: event.detail.bid,
56
+ url: event.detail.url,
57
+ },
58
+ ];
59
+ }, 100);
52
60
  }
53
61
  async componentWillLoad() {
54
62
  this.breadcrumbs = [];
55
63
  }
64
+ disconnectedCallback() {
65
+ clearTimeout(breadcrumbTimeout);
66
+ clearTimeout(addbreadTimeout);
67
+ }
56
68
  componentWillUpdate() {
57
69
  // Pass the menu type and menu-button-submenu-expand attributes to
58
70
  // the child menu-level-container component.
@@ -1,6 +1,8 @@
1
1
  import { Component, Element, h, State, Listen, Prop } from '@stencil/core';
2
2
  import { MenuType, SiteLogoSize, ColorVariant } from '../../../utils/utils';
3
3
  import ResizeObserver from 'resize-observer-polyfill';
4
+ let sidebarClickTimeout = null;
5
+ let sidepanelClickTimeout = null;
4
6
  export class MenuSidebar {
5
7
  constructor() {
6
8
  /**
@@ -241,17 +243,23 @@ export class MenuSidebar {
241
243
  const sidebarContainer = document.querySelector('.hy-menu-sidebar--container');
242
244
  if (sidebarContainer) {
243
245
  sidebarContainer.addEventListener('click', (e) => {
244
- if (e.target.classList.contains('sidebar-open')) {
245
- this.closeWholeTree();
246
- }
246
+ clearTimeout(sidebarClickTimeout);
247
+ sidebarClickTimeout = setTimeout(() => {
248
+ if (e.target.classList.contains('sidebar-open')) {
249
+ this.closeWholeTree();
250
+ }
251
+ }, 250);
247
252
  });
248
253
  }
249
254
  const sidepanelContainer = document.querySelector('.hy-menu-sidepanel--container');
250
255
  if (sidepanelContainer) {
251
256
  sidepanelContainer.addEventListener('click', (e) => {
252
- if (e.target.classList.contains('sidepanel-open')) {
253
- this.panelToggle(e);
254
- }
257
+ clearTimeout(sidepanelClickTimeout);
258
+ sidepanelClickTimeout = setTimeout(() => {
259
+ if (e.target.classList.contains('sidepanel-open')) {
260
+ this.panelToggle(e);
261
+ }
262
+ }, 250);
255
263
  });
256
264
  }
257
265
  const logoColor = ColorVariant.black;
@@ -1,4 +1,5 @@
1
1
  import { Component, Host, h, Prop, State, Fragment } from '@stencil/core';
2
+ let resizeTimeout = null;
2
3
  export class PersonProfile {
3
4
  constructor() {
4
5
  this.isFullAboutTextHidden = false;
@@ -6,6 +7,9 @@ export class PersonProfile {
6
7
  componentWillLoad() {
7
8
  this.viewportSize = window.innerWidth;
8
9
  }
10
+ disconnectedCallback() {
11
+ clearTimeout(resizeTimeout);
12
+ }
9
13
  toggleShowFullAboutText() {
10
14
  this.isFullAboutTextHidden = !this.isFullAboutTextHidden;
11
15
  }
@@ -37,7 +41,10 @@ export class PersonProfile {
37
41
  }
38
42
  }
39
43
  window.addEventListener('resize', () => {
40
- this.viewportSize = window.innerWidth;
44
+ clearTimeout(resizeTimeout);
45
+ resizeTimeout = setTimeout(() => {
46
+ this.viewportSize = window.innerWidth;
47
+ }, 250);
41
48
  });
42
49
  return (h(Host, null,
43
50
  h("section", { class: "hy-profile-page" },
@@ -6,6 +6,8 @@ let keys = {
6
6
  tab: 'Tab',
7
7
  space: 'Space',
8
8
  };
9
+ let scrollTimeout = null;
10
+ let resizeTimeout = null;
9
11
  export class HyDesktopMenuLinks {
10
12
  constructor() {
11
13
  /*
@@ -95,18 +97,21 @@ export class HyDesktopMenuLinks {
95
97
  let backdropToolbarOffset = backdropOffset - 79;
96
98
  if (!this.isDropdown) {
97
99
  window.addEventListener('scroll', () => {
98
- topOffset = window.pageYOffset;
99
- if (topOffset === 0) {
100
- activeMenuItemSibling.style.top = `${panelElementOffset}px`;
101
- }
102
- if (headerShadowRootElement.classList.contains('hy-site-header--sticky-active') && topOffset > 0) {
103
- if (bodyElementClasses.contains('toolbar-horizontal')) {
104
- activeMenuItemSibling.style.top = `${headerElementHeight}px`;
105
- if (this.isDesktopMenuOpen) {
106
- this.showBackdropShadow('open', backdropToolbarOffset);
100
+ clearTimeout(scrollTimeout);
101
+ scrollTimeout = setTimeout(() => {
102
+ topOffset = window.pageYOffset;
103
+ if (topOffset === 0) {
104
+ activeMenuItemSibling.style.top = `${panelElementOffset}px`;
105
+ }
106
+ if (headerShadowRootElement.classList.contains('hy-site-header--sticky-active') && topOffset > 0) {
107
+ if (bodyElementClasses.contains('toolbar-horizontal')) {
108
+ activeMenuItemSibling.style.top = `${headerElementHeight}px`;
109
+ if (this.isDesktopMenuOpen) {
110
+ this.showBackdropShadow('open', backdropToolbarOffset);
111
+ }
107
112
  }
108
113
  }
109
- }
114
+ }, 250);
110
115
  });
111
116
  }
112
117
  if (!this.isDropdown) {
@@ -135,15 +140,18 @@ export class HyDesktopMenuLinks {
135
140
  activeMenuItemSibling.style.right = `-17px`;
136
141
  }
137
142
  window.addEventListener('resize', () => {
138
- windowWidth = window.outerWidth;
139
- if (windowWidth - activeMenuItem.getBoundingClientRect().left < desktopMenuPanelWidth) {
140
- activeMenuItemSibling.style.left = `auto`;
141
- activeMenuItemSibling.style.right = `-17px`;
142
- }
143
- else {
144
- activeMenuItemSibling.style.left = `-17px`;
145
- activeMenuItemSibling.style.right = `auto`;
146
- }
143
+ clearTimeout(resizeTimeout);
144
+ resizeTimeout = setTimeout(() => {
145
+ windowWidth = window.outerWidth;
146
+ if (windowWidth - activeMenuItem.getBoundingClientRect().left < desktopMenuPanelWidth) {
147
+ activeMenuItemSibling.style.left = `auto`;
148
+ activeMenuItemSibling.style.right = `-17px`;
149
+ }
150
+ else {
151
+ activeMenuItemSibling.style.left = `-17px`;
152
+ activeMenuItemSibling.style.right = `auto`;
153
+ }
154
+ }, 250);
147
155
  });
148
156
  }
149
157
  }
@@ -2,6 +2,8 @@ import { Component, Element, Event, Fragment, h, Listen, Prop, State } from '@st
2
2
  import ResizeObserver from 'resize-observer-polyfill';
3
3
  import { MenuType, ColorVariant, SiteLogoSize } from '../../utils/utils';
4
4
  import { jsonParserWorker } from '../../global/globalScript';
5
+ let clickTimeout = null;
6
+ let scrollTimeout = null;
5
7
  export class SiteHeader {
6
8
  constructor() {
7
9
  this.isGroup = false;
@@ -43,7 +45,10 @@ export class SiteHeader {
43
45
  this.menuMobileTopToggled.emit();
44
46
  }
45
47
  handleScroll() {
46
- this.check();
48
+ clearTimeout(scrollTimeout);
49
+ scrollTimeout = setTimeout(() => {
50
+ this.check();
51
+ }, 250);
47
52
  }
48
53
  componentDidLoad() {
49
54
  // Set the browser resize observer to gather information about browser width.
@@ -142,6 +147,8 @@ export class SiteHeader {
142
147
  }
143
148
  disconnectedCallback() {
144
149
  this.ro.disconnect();
150
+ clearTimeout(scrollTimeout);
151
+ clearTimeout(clickTimeout);
145
152
  }
146
153
  applySizeClasses(size) {
147
154
  // Set the menu-type based on the width of the browser.
@@ -176,7 +183,12 @@ export class SiteHeader {
176
183
  }
177
184
  };
178
185
  if (this.isMenuOpen) {
179
- window.addEventListener('click', handleClickOutside);
186
+ window.addEventListener('click', () => {
187
+ clearTimeout(clickTimeout);
188
+ clickTimeout = setTimeout(() => {
189
+ handleClickOutside;
190
+ }, 250);
191
+ });
180
192
  }
181
193
  let activeLang = 'en';
182
194
  let dataMenuLanguageArray = JSON.parse(this.dataMenuLanguage);
@@ -0,0 +1,199 @@
1
+ import { r as registerInstance, h, H as Host } from './index-daaf0985.js';
2
+ import { G as GridColumns, a as GridColumnsSm, b as GridColumnsLg, c as GridAlignVariants } from './utils-966ffdb5.js';
3
+
4
+ const colorBoxCss = ":host{display:block}";
5
+
6
+ let ColorBox = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ }
10
+ render() {
11
+ return (h(Host, null, h("slot", null)));
12
+ }
13
+ };
14
+ ColorBox.style = colorBoxCss;
15
+
16
+ const colors = {
17
+ brandMain: '#0e688b',
18
+ brandMainLight: '#107eab',
19
+ brandMainActive: '#005379',
20
+ brandMainDark: '#003146',
21
+ brandMainNearlyBlack: '#000222',
22
+ grayscaleWhite: '#fff',
23
+ grayscaleLight: '#f8f8f8',
24
+ grayscaleMedium: '#d2d2d2',
25
+ grayscaleBackgroundBox: '#f5f5f5',
26
+ grayscaleBackgroundArrow: '#dfdfdf',
27
+ grayscaleMediumDark: '#979797',
28
+ grayscaleDark: '#555555',
29
+ grayscaleBlack: '#000000',
30
+ additionalRedLight: '#E5053A',
31
+ additionalRedDark: '#A31621',
32
+ additionalPurpleLight: '#420039',
33
+ additionalYellow: '#F9A21A',
34
+ additionalSkyblue: '#48C5F8',
35
+ additionalOrange: '#D14600',
36
+ additionalGreenLight: '#96BA3C',
37
+ additionalGreenDark: '#006400'
38
+ };
39
+
40
+ const buttonCss = "@charset \"UTF-8\";: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;-webkit-box-sizing:border-box;box-sizing:border-box}.hy-button__icon{-ms-flex-line-pack:center;align-content:center;display:-webkit-box;display:-ms-flexbox;display:flex}.hy-button{display:block;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brand-main);color:var(--grayscale-white);font-family:var(--main-font-family);border:none;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:0.9375rem;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;line-height:0.9375rem;margin:0;padding:0;-webkit-transition-duration:0.1s;transition-duration:0.1s;-webkit-transition-property:all;transition-property:all;min-height:44px;position:relative;text-decoration:none}.hy-button.size-large{min-height:48px}.hy-button.primary{background-color:var(--brand-main);color:var(--grayscale-white)}.hy-button.primary .hy-button__icon{padding:8px 13px}.hy-button.primary svg{fill:var(--grayscale-white)}.hy-button.primary:hover{background-color:var(--brand-main-active)}.hy-button.primary:active{background-color:var(--brand-main-dark)}.hy-button.primary:disabled{background-color:var(--grayscale-medium);color:var(--grayscale-dark)}.hy-button.primary:disabled svg{fill:var(--grayscale-dark)}.hy-button.primary:focus{outline:solid 2px var(--additional-yellow);outline-offset:2px}.hy-button.secondary{background-color:transparent;border:solid 2px var(--brand-main);color:var(--brand-main)}.hy-button.secondary svg{fill:var(--brand-main)}.hy-button.secondary:hover{border:solid 2px var(--brand-main-active);color:var(--brand-main-active)}.hy-button.secondary:hover svg{fill:var(--brand-main-active)}.hy-button.secondary:active{border:solid 2px var(--brand-main-dark);color:var(--brand-main-dark)}.hy-button.secondary:active svg{fill:var(--brand-main-dark)}.hy-button.secondary:disabled{border:solid 2px var(--grayscale-medium-dark);color:var(--grayscale-medium-dark)}.hy-button.secondary:disabled svg{fill:var(--grayscale-medium-dark)}.hy-button::after{content:\"\";display:block;border-bottom:2px solid var(--additional-skyblue);position:absolute;bottom:-3.5px;left:3px;right:3px;z-index:0}.hy-button.primary::after{bottom:-2px}.hy-button:disabled{cursor:not-allowed}.hy-button:disabled::after{border-bottom:2px solid var(--grayscale-medium-dark);bottom:-3.5px}.hy-button:disabled.primary::after{bottom:-2px}.hy-button .hy-button__text{margin:12px 24px}.hy-button .hy-button__icon-right{padding-right:12px}hy-button[icon-right=hy-icon-arrow-right] .primary .hy-button__text{margin:12px 0 12px 16px;padding-right:16px}hy-button[icon-right=hy-icon-arrow-right] .primary:not(disabled) .hy-button__text{border-right:solid 1px var(--additional-skyblue)}hy-button[icon-right=hy-icon-arrow-right] .primary:disabled .hy-button__text{border-right:solid 1px var(--grayscale-dark)}hy-button[icon-right=hy-icon-arrow-right] .secondary .hy-button__text{margin:12px 16px}hy-button[icon-right=hy-icon-arrow-right] .secondary .hy-button__icon{padding-right:1rem;padding-left:0}hy-button[icon=hy-icon-arrow-left] .primary .hy-button__text{margin:12px 16px 12px 0;padding-left:16px}hy-button[icon=hy-icon-arrow-left] .primary:not(disabled) .hy-button__text{border-left:solid 1px var(--additional-skyblue)}hy-button[icon=hy-icon-arrow-left] .primary:disabled .hy-button__text{border-left:solid 1px var(--grayscale-dark)}hy-button[icon=hy-icon-arrow-left] .secondary .hy-button__text{margin:12px 16px}hy-button[icon=hy-icon-arrow-left] .secondary .hy-button__icon{padding-left:1rem;padding-right:0}";
41
+
42
+ const fillcolors = {
43
+ primary: colors.brandMain,
44
+ secondary: 'white',
45
+ };
46
+ let Button = class {
47
+ constructor(hostRef) {
48
+ registerInstance(this, hostRef);
49
+ /**
50
+ * Button type. Defaults to submit.
51
+ */
52
+ this.buttonType = 'submit';
53
+ /**
54
+ * Custom classes added to button element.
55
+ */
56
+ this.buttonClasses = '';
57
+ /**
58
+ * The element variant. Defaults to primary
59
+ */
60
+ this.variant = 'primary';
61
+ /**
62
+ * deprecated, use disabled boolean value
63
+ * */
64
+ this.state = 'enabled';
65
+ /**
66
+ * Size (height) of the button. Normal: 44px, large: 48px
67
+ */
68
+ this.size = 'normal';
69
+ /**
70
+ * Use this to programmatically disable the button, matches the native button functionality
71
+ */
72
+ this.disabled = false;
73
+ /**
74
+ * Set this on if an anchor tag is required instead of a button.
75
+ */
76
+ this.url = '';
77
+ /**
78
+ * Aria label for the element
79
+ */
80
+ this.ariaLabel = '';
81
+ /**
82
+ * Use only with url property. Sets the
83
+ */
84
+ this.isExternal = false;
85
+ this.attrs = '';
86
+ }
87
+ render() {
88
+ const classAttributes = ['hy-button', this.variant, this.state, 'size-' + this.size, this.buttonClasses];
89
+ const iconFillColor = fillcolors[this.variant];
90
+ const target = this.isExternal ? '_blank' : '_self';
91
+ let props = {};
92
+ if (this.attrs && this.attrs.length > 2) {
93
+ let attrString = JSON.parse(this.attrs);
94
+ let attrArray = attrString.split('" ');
95
+ attrArray.map((item) => {
96
+ let parts = item.split('=');
97
+ let key = parts[0];
98
+ let value = parts[1];
99
+ key = key.replaceAll('"', ' ');
100
+ key = key.trim();
101
+ if (key !== 'class') {
102
+ value = value.replaceAll('"', ' ');
103
+ value = value.trim();
104
+ props[key] = value;
105
+ }
106
+ });
107
+ }
108
+ return this.url ? (h(Host, { "icon-right": "hy-icon-arrow-right", "aria-label": this.ariaLabel }, h("div", { style: { display: 'flex' } }, h("a", { class: classAttributes.join(' '), href: this.url, target: target }, h("span", { class: "hy-button__text" }, h("slot", null)), h("span", { class: "hy-button__icon" }, h("hy-icon", { icon: "hy-icon-arrow-right", fill: iconFillColor, size: 13 })))))) : (h(Host, { "aria-label": this.ariaLabel }, h("button", Object.assign({ type: this.buttonType, class: classAttributes.join(' '), disabled: this.disabled }, props), !!this.icon && (h("span", { class: "hy-button__icon hy-button__icon--left" }, h("hy-icon", { icon: this.icon, fill: iconFillColor, size: 13 }))), h("span", { class: "hy-button__text" }, h("slot", null)), !!this.iconRight && (h("span", { class: "hy-button__icon hy-button__icon--right" }, h("hy-icon", { icon: this.iconRight, fill: iconFillColor, size: 13 }))))));
109
+ }
110
+ };
111
+ Button.style = buttonCss;
112
+
113
+ const docsContainerCss = "div.hy-docs-container{display:block;margin:2rem 0}";
114
+
115
+ let DocsContainer = class {
116
+ constructor(hostRef) {
117
+ registerInstance(this, hostRef);
118
+ }
119
+ render() {
120
+ return (h("div", { class: "hy-docs-container" }, h("slot", null)));
121
+ }
122
+ };
123
+ DocsContainer.style = docsContainerCss;
124
+
125
+ 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:#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-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}}";
126
+
127
+ let GridContainer = class {
128
+ constructor(hostRef) {
129
+ registerInstance(this, hostRef);
130
+ }
131
+ render() {
132
+ const classAttributes = ["hy-grid--container"];
133
+ return (h("div", { class: classAttributes.join(" ") }, h("slot", null)));
134
+ }
135
+ };
136
+ GridContainer.style = gridContainerCss;
137
+
138
+ 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:#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-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%}}";
139
+
140
+ let GridItem = class {
141
+ constructor(hostRef) {
142
+ registerInstance(this, hostRef);
143
+ this.columns = GridColumns.default;
144
+ this.columnssm = GridColumnsSm.default;
145
+ this.columnslg = GridColumnsLg.default;
146
+ this.contentalign = GridAlignVariants.default;
147
+ }
148
+ render() {
149
+ const classAttributes = [
150
+ 'hy-grid-item',
151
+ `hy-grid__col-${this.columnssm}-sm`,
152
+ `hy-grid__col-${this.columns}`,
153
+ `hy-grid__col-${this.columnslg}-lg`,
154
+ `hy-grid-align__${this.contentalign}`
155
+ ];
156
+ return (h(Host, { class: classAttributes.join(' ') }, h("slot", null)));
157
+ }
158
+ };
159
+ GridItem.style = gridItemCss;
160
+
161
+ 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:#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-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}";
162
+
163
+ let GridRow = class {
164
+ constructor(hostRef) {
165
+ registerInstance(this, hostRef);
166
+ }
167
+ render() {
168
+ const classAttributes = ['hy-grid__row'];
169
+ return (h(Host, { class: classAttributes.join(' ') }, h("slot", null)));
170
+ }
171
+ };
172
+ GridRow.style = gridRowCss;
173
+
174
+ const sectionContainerCss = ":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-section--container{display:block;width:100%;margin-left:auto;margin-right:auto}@media only screen and (min-width: 30rem){.hy-section--container{width:100%}}@media only screen and (min-width: 60rem){.hy-section--container{width:100%;max-width:60rem}}@media only screen and (min-width: 75.0625rem){.hy-section--container{width:100%;max-width:75rem}}";
175
+
176
+ let SectionContainer = class {
177
+ constructor(hostRef) {
178
+ registerInstance(this, hostRef);
179
+ }
180
+ render() {
181
+ return (h("div", { class: "hy-section--container" }, h("slot", null)));
182
+ }
183
+ };
184
+ SectionContainer.style = sectionContainerCss;
185
+
186
+ const tinyTextCss = ":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-tiny-text{color:var(--grayscale-dark);font-family:var(--main-font-family);font-size:12px;letter-spacing:-0.07px;line-height:16px}";
187
+
188
+ let TinyText = class {
189
+ constructor(hostRef) {
190
+ registerInstance(this, hostRef);
191
+ }
192
+ render() {
193
+ const classAttributes = ["hy-tiny-text"];
194
+ return (h("div", { class: classAttributes.join(" ") }, h("slot", null)));
195
+ }
196
+ };
197
+ TinyText.style = tinyTextCss;
198
+
199
+ export { ColorBox as color_box, Button as hy_button, DocsContainer as hy_docs_container, GridContainer as hy_grid_container, GridItem as hy_grid_item, GridRow as hy_grid_row, SectionContainer as hy_section_container, TinyText as hy_tiny_text };
@@ -1,4 +1,4 @@
1
- import { s as setMode } from './index-083c8c8a.js';
1
+ import { s as setMode } from './index-daaf0985.js';
2
2
 
3
3
  /**
4
4
  * This is a demo on how to initialize different themes with a class name from body element.