@itcenteratunihelsinki/huds-lib 0.7.5 → 0.7.7

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 (121) hide show
  1. package/dist/cjs/color-box_8.cjs.entry.js +6 -6
  2. package/dist/cjs/huds-lib.cjs.js +1 -1
  3. package/dist/cjs/hy-accordion-container_83.cjs.entry.js +571 -136
  4. package/dist/cjs/hy-event-item.cjs.entry.js +1 -1
  5. package/dist/cjs/hy-events.cjs.entry.js +1 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/collection/components/accordion-container/accordion-container.css +2 -1
  8. package/dist/collection/components/accordion-item/accordion-item.css +2 -1
  9. package/dist/collection/components/adjacent-image-text/adjacent-image-text.css +2 -1
  10. package/dist/collection/components/button/button.css +2 -1
  11. package/dist/collection/components/courses/hy-content-list/hy-content-list.css +2 -1
  12. package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.css +2 -1
  13. package/dist/collection/components/cta-button/cta-button.css +7 -6
  14. package/dist/collection/components/cta-link/cta-link.css +3 -2
  15. package/dist/collection/components/footer/hy-footer/hy-footer.css +2 -1
  16. package/dist/collection/components/footer/hy-footer-action/hy-footer-action.css +2 -1
  17. package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +10 -2
  18. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.css +2 -1
  19. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.css +2 -1
  20. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.css +2 -1
  21. package/dist/collection/components/grid-container/grid-container.css +2 -1
  22. package/dist/collection/components/grid-item/grid-item.css +2 -1
  23. package/dist/collection/components/grid-row/grid-row.css +2 -1
  24. package/dist/collection/components/heading/heading-fw.css +2 -1
  25. package/dist/collection/components/heading/heading.css +2 -1
  26. package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.css +2 -1
  27. package/dist/collection/components/hy-badge/hy-badge.css +2 -1
  28. package/dist/collection/components/hy-banner/hy-banner.css +2 -1
  29. package/dist/collection/components/hy-box/hy-box.css +2 -1
  30. package/dist/collection/components/hy-box/hy-box.js +22 -1
  31. package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.css +2 -1
  32. package/dist/collection/components/hy-checkbox/hy-checkbox.css +2 -1
  33. package/dist/collection/components/hy-collaboration/hy-collaboration.css +2 -1
  34. package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.css +4 -3
  35. package/dist/collection/components/hy-dropdown/hy-dropdown.css +2 -1
  36. package/dist/collection/components/hy-event-item/hy-event-item.css +2 -1
  37. package/dist/collection/components/hy-events/hy-events.css +2 -1
  38. package/dist/collection/components/hy-filter-group/hy-filter-group.css +2 -1
  39. package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.css +2 -1
  40. package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.css +2 -1
  41. package/dist/collection/components/hy-general-list/hy-general-list.css +2 -1
  42. package/dist/collection/components/hy-general-list-item/hy-general-list-item.css +2 -1
  43. package/dist/collection/components/hy-hero/hy-hero.css +2 -1
  44. package/dist/collection/components/hy-introduction/hy-introduction.css +2 -1
  45. package/dist/collection/components/hy-key-figure/hy-key-figure.css +2 -1
  46. package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.css +2 -1
  47. package/dist/collection/components/hy-key-highlight/hy-key-highlight.css +2 -1
  48. package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.css +2 -1
  49. package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.css +2 -1
  50. package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.css +2 -1
  51. package/dist/collection/components/hy-link-list/hy-link-list.css +2 -1
  52. package/dist/collection/components/hy-list-item/hy-list-item.css +2 -1
  53. package/dist/collection/components/hy-logo-grid/hy-logo-grid.css +2 -1
  54. package/dist/collection/components/hy-main/hy-main.css +2 -1
  55. package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.css +2 -1
  56. package/dist/collection/components/hy-opening-hours/hy-opening-hours.css +2 -1
  57. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.css +2 -1
  58. package/dist/collection/components/hy-person-card/hy-person-card.css +15 -1
  59. package/dist/collection/components/hy-person-card/hy-person-card.js +4 -4
  60. package/dist/collection/components/hy-prominent-image/hy-prominent-image.css +2 -1
  61. package/dist/collection/components/hy-quote/hy-quote.css +2 -1
  62. package/dist/collection/components/hy-search-field/hy-search-field.css +18 -1
  63. package/dist/collection/components/hy-search-field/hy-search-field.js +20 -0
  64. package/dist/collection/components/hy-shortcuts/hy-shortcuts.css +2 -1
  65. package/dist/collection/components/hy-table-container/hy-table-container.css +2 -1
  66. package/dist/collection/components/hy-tabs/hy-tabs.css +2 -1
  67. package/dist/collection/components/hy-tabs-item/hy-tabs-item.css +2 -1
  68. package/dist/collection/components/hy-tag/hy-tag.css +2 -1
  69. package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.css +2 -1
  70. package/dist/collection/components/hy-two-columns/hy-two-columns.css +2 -1
  71. package/dist/collection/components/hy-user-login-form/hy-user-login-form.css +2 -1
  72. package/dist/collection/components/hy-video/hy-video.css +2 -1
  73. package/dist/collection/components/icon/icon.js +91 -18
  74. package/dist/collection/components/image/image.css +2 -1
  75. package/dist/collection/components/ingress/ingress.css +2 -1
  76. package/dist/collection/components/link/link.css +2 -1
  77. package/dist/collection/components/link-box/link-box.css +2 -1
  78. package/dist/collection/components/link-box-list/link-box-list.css +2 -1
  79. package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.css +2 -1
  80. package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +1 -1
  81. package/dist/collection/components/navigation/menu-language/menu-language.css +2 -1
  82. package/dist/collection/components/navigation/menu-language/menu-language.js +1 -1
  83. package/dist/collection/components/navigation/menu-language-item/menu-language-item.css +2 -1
  84. package/dist/collection/components/navigation/menu-language-item/menu-language-item.js +1 -1
  85. package/dist/collection/components/pagination/hy-pager/hy-pager.css +2 -1
  86. package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.css +2 -1
  87. package/dist/collection/components/paragraph-text/paragraph-text-content.css +2 -1
  88. package/dist/collection/components/paragraph-text/paragraph-text-landing.css +2 -1
  89. package/dist/collection/components/paragraph-text/paragraph-text.css +2 -1
  90. package/dist/collection/components/person-profile/person-profile-listing/person-profile-listing.css +2 -1
  91. package/dist/collection/components/person-profile/person-profile.css +2 -1
  92. package/dist/collection/components/process/process.css +2 -1
  93. package/dist/collection/components/process-flow-box/process-flow-box.css +2 -1
  94. package/dist/collection/components/section-container/section-container.css +2 -1
  95. package/dist/collection/components/site-header/site-header.css +35 -21
  96. package/dist/collection/components/site-header/site-header.js +25 -35
  97. package/dist/collection/components/site-header/site-logo/site-logo.css +2 -1
  98. package/dist/collection/components/site-header/site-search/site-search.css +2 -1
  99. package/dist/collection/components/tiny-text/tiny-text.css +2 -1
  100. package/dist/esm/color-box_8.entry.js +6 -6
  101. package/dist/esm/huds-lib.js +1 -1
  102. package/dist/esm/hy-accordion-container_83.entry.js +571 -136
  103. package/dist/esm/hy-event-item.entry.js +1 -1
  104. package/dist/esm/hy-events.entry.js +1 -1
  105. package/dist/esm/loader.js +1 -1
  106. package/dist/huds-lib/huds-lib.css +1 -1
  107. package/dist/huds-lib/huds-lib.esm.js +1 -1
  108. package/dist/huds-lib/p-aba9f82a.entry.js +1 -0
  109. package/dist/huds-lib/p-dc6f2dbf.entry.js +87 -0
  110. package/dist/huds-lib/p-ea047996.entry.js +1 -0
  111. package/dist/huds-lib/p-ef93cfb1.entry.js +1 -0
  112. package/dist/types/components/footer/hy-footer-action/hy-footer-action.d.ts +1 -0
  113. package/dist/types/components/hy-box/hy-box.d.ts +1 -0
  114. package/dist/types/components/hy-search-field/hy-search-field.d.ts +1 -0
  115. package/dist/types/components/site-header/site-header.d.ts +2 -1
  116. package/dist/types/components.d.ts +4 -0
  117. package/package.json +1 -1
  118. package/dist/huds-lib/p-2efc8ca0.entry.js +0 -1
  119. package/dist/huds-lib/p-cd0fb7ff.entry.js +0 -1
  120. package/dist/huds-lib/p-f0f3d562.entry.js +0 -1
  121. package/dist/huds-lib/p-f4366163.entry.js +0 -86
@@ -0,0 +1 @@
1
+ import{r as e,h as t,g as i}from"./p-f8697bf9.js";import{g as r}from"./p-d9dc337b.js";let n=null,o=null,s=class{constructor(t){e(this,t),this.styleGrid=!1,this.showMore=!1,this.scrollLeftLabel="Scroll list to left",this.scrollRightLabel="Scroll list to right",this.scrollable=!0}componentDidLoad(){const e=this.el,t=document.querySelector(".hy-events"),i=e.querySelector(".hy-events__scroll-left"),r=e.querySelector(".hy-events__scroll-right");this.styleGrid&&(t.addEventListener("scroll",(()=>{n=setTimeout((()=>{window.clearTimeout(n)}),250)}),!1),i.addEventListener("click",(e=>{e.preventDefault(),i.classList.add("is-disabled"),t.scrollBy({top:0,left:-304,behavior:"smooth"}),o=window.setTimeout((()=>{window.clearTimeout(o),i.classList.remove("is-disabled")}),250)})),r.addEventListener("click",(e=>{e.preventDefault(),r.classList.add("is-disabled"),t.scrollBy({top:0,left:304,behavior:"smooth"}),o=window.setTimeout((()=>{window.clearTimeout(o),r.classList.remove("is-disabled")}),250)})))}watchUrlHandler(e,t){t!==e&&(this.viewAllUrl=e)}checkScrollHidden(e,t,i){const r=e.querySelector(".hy-events__content");0===e.scrollLeft?t.classList.add("is-hidden"):t.classList.remove("is-hidden"),e.scrollLeft+e.clientWidth>=r.scrollWidth-1?i.classList.add("is-hidden"):i.classList.remove("is-hidden")}render(){const e=["hy-events",this.styleGrid?"hy-events--grid":""].join(" "),i=["hy-events__footer",this.styleGrid?"hy-events__footer--grid":""].join(" ");return t("div",{class:"hy-events--wrapper"},t("div",{class:e},t("slot",null)),t("div",{class:i},this.scrollable&&this.styleGrid&&t("div",{class:"hy-events__scroll-buttons"},t("button",{type:"button",class:"hy-events__scroll-left","aria-label":this.scrollLeftLabel},t("hy-icon",{icon:"hy-icon-caret-left",size:16})),t("button",{type:"button",class:"hy-events__scroll-right","aria-label":this.scrollRightLabel},t("hy-icon",{icon:"hy-icon-caret-right",size:16}))),this.showMore&&this.viewAllLabel&&this.viewAllUrl&&t("hy-cta-link",{"link-content":this.viewAllLabel,"sc-label":this.viewAllLabel,url:this.viewAllUrl,variant:r.linkList})))}get el(){return i(this)}static get watchers(){return{viewAllUrl:["watchUrlHandler"]}}};s.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}hy-events.no-events .hy-events__no-result-container{font-family:var(--main-font-family)}hy-events.no-events .hy-events--wrapper .hy-events--grid{padding-bottom:0}hy-events.no-events .hy-events__footer{display:none}.hy-events--wrapper .hy-events{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-events--wrapper .hy-events--grid{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:1.5rem;overflow-x:hidden;white-space:nowrap;scrollbar-width:none}@media (min-width: 48rem){.hy-events--wrapper .hy-events--grid{padding-bottom:14rem}}.hy-events--wrapper .hy-events--grid .hy-events__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:24px;-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}@media (min-width: 48rem){.hy-events--wrapper .hy-events--grid .hy-events__content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-events--wrapper .hy-events__footer{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:2rem}.hy-events--wrapper .hy-events__footer--grid{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-top:1.5rem}@media (min-width: 48rem){.hy-events--wrapper .hy-events__footer--grid{margin-top:-9.5rem}}.hy-events--wrapper .hy-events__scroll-buttons{display:none;margin-top:2rem}@media (min-width: 48rem){.hy-events--wrapper .hy-events__scroll-buttons{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-events--wrapper .hy-events__scroll-buttons button{border:none;background:none;padding:0.5rem}.hy-events--wrapper .hy-events__scroll-buttons button:hover{cursor:pointer}.hy-events--wrapper .hy-events__scroll-buttons button:hover svg{scale:1.1}.hy-events--wrapper .hy-events__scroll-buttons button.is-hidden{display:none}.hy-events--wrapper .hy-events__scroll-buttons button.is-disabled{pointer-events:none}.hy-events--wrapper .hy-events__scroll-buttons button.is-disabled svg{fill:var(--link-disabled)}";export{s as hy_events}
@@ -0,0 +1 @@
1
+ import{r as a,h as r,H as i}from"./p-f8697bf9.js";import{G as t,a as e,b as d,c as o}from"./p-d9dc337b.js";let n=class{constructor(r){a(this,r)}render(){return r(i,null,r("slot",null))}};n.style=":host{display:block}";const l={primary:"#0e688b",secondary:"white"};let s=class{constructor(r){a(this,r),this.buttonType="submit",this.buttonClasses="",this.variant="primary",this.state="enabled",this.size="normal",this.disabled=!1,this.url="",this.ariaLabel="",this.isExternal=!1,this.attrs=""}render(){const a=["hy-button",this.variant,this.state,"size-"+this.size,this.buttonClasses],t=l[this.variant],e=this.isExternal?"_blank":"_self";let d={};return this.attrs&&this.attrs.length>2&&JSON.parse(this.attrs).split('" ').map((a=>{let r=a.split("="),i=r[0],t=r[1];i=i.replaceAll('"'," "),i=i.trim(),"class"!==i&&(t=t.replaceAll('"'," "),t=t.trim(),d[i]=t)})),this.url?r(i,{"icon-right":"hy-icon-arrow-right","aria-label":this.ariaLabel},r("div",{style:{display:"flex"}},r("a",{class:a.join(" "),href:this.url,target:e},r("span",{class:"hy-button__text"},r("slot",null)),r("span",{class:"hy-button__icon"},r("hy-icon",{icon:"hy-icon-arrow-right",fill:t,size:13}))))):r(i,{"aria-label":this.ariaLabel},r("button",Object.assign({type:this.buttonType,class:a.join(" "),disabled:this.disabled},d),!!this.icon&&r("span",{class:"hy-button__icon hy-button__icon--left"},r("hy-icon",{icon:this.icon,fill:t,size:13})),r("span",{class:"hy-button__text"},r("slot",null)),!!this.iconRight&&r("span",{class:"hy-button__icon hy-button__icon--right"},r("hy-icon",{icon:this.iconRight,fill:t,size:13}))))}};s.style='@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-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block;-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}';let h=class{constructor(r){a(this,r)}render(){return r("div",{class:"hy-docs-container"},r("slot",null))}};h.style="div.hy-docs-container{display:block;margin:2rem 0}";let g=class{constructor(r){a(this,r)}render(){return r("div",{class:["hy-grid--container"].join(" ")},r("slot",null))}};g.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-grid--container{display:block;width:100%;margin-left:auto;margin-right:auto}@media only screen and (min-width: 30rem){.hy-grid--container{width:100%}}@media only screen and (min-width: 60rem){.hy-grid--container{width:100%;max-width:60rem}}@media only screen and (min-width: 75.0625rem){.hy-grid--container{width:100%;max-width:75rem}}@media only screen and (min-width: 1601px){.hy-grid--container{width:100%;max-width:90rem}}";let c=class{constructor(r){a(this,r),this.columns=t.default,this.columnssm=e.default,this.columnslg=d.default,this.contentalign=o.default}render(){return r(i,{class:["hy-grid-item",`hy-grid__col-${this.columnssm}-sm`,`hy-grid__col-${this.columns}`,`hy-grid__col-${this.columnslg}-lg`,`hy-grid-align__${this.contentalign}`].join(" ")},r("slot",null))}};c.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-grid-align__left{text-align:left}.hy-grid-align__right{text-align:right}.hy-grid-align__center{text-align:center;margin-left:auto;margin-right:auto}.hy-grid-justify{text-align:justify}.hy-grid-hidden-sm{display:none}.hy-grid__col-1,.hy-grid__col-2,.hy-grid__col-3,.hy-grid__col-4,.hy-grid__col-5,.hy-grid__col-6,.hy-grid__col-7,.hy-grid__col-8,.hy-grid__col-9,.hy-grid__col-10,.hy-grid__col-11,.hy-grid__col-12{width:98%}.hy-grid__col-1-sm{width:6.3333333333%}.hy-grid__col-2-sm{width:14.6666666667%}.hy-grid__col-3-sm{width:23%}.hy-grid__col-4-sm{width:31.3333333333%}.hy-grid__col-5-sm{width:39.6666666667%}.hy-grid__col-6-sm{width:48%}.hy-grid__col-7-sm{width:56.3333333333%}.hy-grid__col-8-sm{width:64.6666666667%}.hy-grid__col-9-sm{width:73%}.hy-grid__col-10-sm{width:81.3333333333%}.hy-grid__col-11-sm{width:89.6666666667%}.hy-grid__col-12-sm{width:98%}@media only screen and (min-width: 48em){.hy-grid__col-1{width:6.3333333333%}.hy-grid__col-2{width:14.6666666667%}.hy-grid__col-3{width:23%}.hy-grid__col-4{width:31.3333333333%}.hy-grid__col-5{width:39.6666666667%}.hy-grid__col-6{width:48%}.hy-grid__col-7{width:56.3333333333%}.hy-grid__col-8{width:64.6666666667%}.hy-grid__col-9{width:73%}.hy-grid__col-10{width:81.3333333333%}.hy-grid__col-11{width:89.6666666667%}.hy-grid__col-12{width:98%}.hidden-sm{display:block}}@media only screen and (min-width: 60em){.hy-grid__col-1-lg{width:6.3333333333%}.hy-grid__col-2-lg{width:14.6666666667%}.hy-grid__col-3-lg{width:23%}.hy-grid__col-4-lg{width:31.3333333333%}.hy-grid__col-5-lg{width:39.6666666667%}.hy-grid__col-6-lg{width:48%}.hy-grid__col-7-lg{width:56.3333333333%}.hy-grid__col-8-lg{width:64.6666666667%}.hy-grid__col-9-lg{width:73%}.hy-grid__col-10-lg{width:81.3333333333%}.hy-grid__col-11-lg{width:89.6666666667%}.hy-grid__col-12-lg{width:98%}}";let b=class{constructor(r){a(this,r)}render(){return r(i,{class:["hy-grid__row"].join(" ")},r("slot",null))}};b.style=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-grid__row{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;width:100%}.hy-grid__row>[class^=hy-grid-item]{float:left;margin:0.5rem 1%;min-height:0.125rem}@media (min-width: 30rem){.hy-grid__row>[class^=hy-grid-item]{margin:1%}}.hy-grid__row::after{content:"";display:table;clear:both}';let y=class{constructor(r){a(this,r)}render(){return r("div",{class:"hy-section--container"},r("slot",null))}};y.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-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}}";let m=class{constructor(r){a(this,r)}render(){return r("div",{class:["hy-tiny-text"].join(" ")},r("slot",null))}};m.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-tiny-text{color:var(--grayscale-dark);font-family:var(--main-font-family);font-size:12px;letter-spacing:-0.07px;line-height:16px}";export{n as color_box,s as hy_button,h as hy_docs_container,g as hy_grid_container,c as hy_grid_item,b as hy_grid_row,y as hy_section_container,m as hy_tiny_text}
@@ -7,6 +7,7 @@ export declare class HyFooterAction {
7
7
  * Up button label.
8
8
  */
9
9
  upButtonLabel: string;
10
+ disconnectedCallback(): void;
10
11
  scrollTop(): void;
11
12
  render(): any;
12
13
  }
@@ -61,6 +61,7 @@ export declare class HyBox {
61
61
  * Responsive width. Must be a comma separated string of percentage values for breakpoints. First item is the default value.
62
62
  */
63
63
  width: string;
64
+ direction: string;
64
65
  componentWillLoad(): void;
65
66
  render(): any;
66
67
  }
@@ -2,6 +2,7 @@ export declare class HySearchField {
2
2
  el: HTMLElement;
3
3
  label: string;
4
4
  isLabelBold: boolean;
5
+ labelLarge: boolean;
5
6
  isLuomusSearch: boolean;
6
7
  placeholder: string;
7
8
  isLabelHidden?: boolean;
@@ -44,11 +44,13 @@ export declare class SiteHeader {
44
44
  isDesktopMenuOpen: boolean;
45
45
  isDesktopMenuDropdown: boolean;
46
46
  isTopMenuOpen: boolean;
47
+ isBottomVisible: boolean;
47
48
  headerScrollUp: EventEmitter;
48
49
  headerScrollDown: EventEmitter;
49
50
  menuMobileToggled: EventEmitter;
50
51
  menuMobileTopToggled: EventEmitter;
51
52
  private ro;
53
+ private io;
52
54
  private donateLink;
53
55
  private menuLabels;
54
56
  private searchLabels;
@@ -62,7 +64,6 @@ export declare class SiteHeader {
62
64
  handleScroll(): void;
63
65
  componentDidLoad(): void;
64
66
  componentWillLoad(): Promise<void>;
65
- check: () => number;
66
67
  hasScrolled(): void;
67
68
  disconnectedCallback(): void;
68
69
  applySizeClasses(size: number): void;
@@ -109,6 +109,7 @@ export namespace Components {
109
109
  * background color. Must use one of css variable names from color tokens
110
110
  */
111
111
  "bg": string;
112
+ "direction": string;
112
113
  /**
113
114
  * fixed height for the container, useful for extra spacing containers
114
115
  */
@@ -792,6 +793,7 @@ export namespace Components {
792
793
  "isLabelHidden"?: boolean;
793
794
  "isLuomusSearch": boolean;
794
795
  "label": string;
796
+ "labelLarge": boolean;
795
797
  "placeholder": string;
796
798
  "prefillParameter": string;
797
799
  }
@@ -1683,6 +1685,7 @@ declare namespace LocalJSX {
1683
1685
  * background color. Must use one of css variable names from color tokens
1684
1686
  */
1685
1687
  "bg"?: string;
1688
+ "direction"?: string;
1686
1689
  /**
1687
1690
  * fixed height for the container, useful for extra spacing containers
1688
1691
  */
@@ -2369,6 +2372,7 @@ declare namespace LocalJSX {
2369
2372
  "isLabelHidden"?: boolean;
2370
2373
  "isLuomusSearch"?: boolean;
2371
2374
  "label"?: string;
2375
+ "labelLarge"?: boolean;
2372
2376
  "placeholder"?: string;
2373
2377
  "prefillParameter"?: string;
2374
2378
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcenteratunihelsinki/huds-lib",
3
- "version": "0.7.5",
3
+ "version": "0.7.7",
4
4
  "description": "Helsinki University Design System library",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- import{r as a,h as r,H as i}from"./p-f8697bf9.js";import{G as t,a as e,b as d,c as o}from"./p-d9dc337b.js";let n=class{constructor(r){a(this,r)}render(){return r(i,null,r("slot",null))}};n.style=":host{display:block}";const l={primary:"#0e688b",secondary:"white"};let s=class{constructor(r){a(this,r),this.buttonType="submit",this.buttonClasses="",this.variant="primary",this.state="enabled",this.size="normal",this.disabled=!1,this.url="",this.ariaLabel="",this.isExternal=!1,this.attrs=""}render(){const a=["hy-button",this.variant,this.state,"size-"+this.size,this.buttonClasses],t=l[this.variant],e=this.isExternal?"_blank":"_self";let d={};return this.attrs&&this.attrs.length>2&&JSON.parse(this.attrs).split('" ').map((a=>{let r=a.split("="),i=r[0],t=r[1];i=i.replaceAll('"'," "),i=i.trim(),"class"!==i&&(t=t.replaceAll('"'," "),t=t.trim(),d[i]=t)})),this.url?r(i,{"icon-right":"hy-icon-arrow-right","aria-label":this.ariaLabel},r("div",{style:{display:"flex"}},r("a",{class:a.join(" "),href:this.url,target:e},r("span",{class:"hy-button__text"},r("slot",null)),r("span",{class:"hy-button__icon"},r("hy-icon",{icon:"hy-icon-arrow-right",fill:t,size:13}))))):r(i,{"aria-label":this.ariaLabel},r("button",Object.assign({type:this.buttonType,class:a.join(" "),disabled:this.disabled},d),!!this.icon&&r("span",{class:"hy-button__icon hy-button__icon--left"},r("hy-icon",{icon:this.icon,fill:t,size:13})),r("span",{class:"hy-button__text"},r("slot",null)),!!this.iconRight&&r("span",{class:"hy-button__icon hy-button__icon--right"},r("hy-icon",{icon:this.iconRight,fill:t,size:13}))))}};s.style='@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}';let h=class{constructor(r){a(this,r)}render(){return r("div",{class:"hy-docs-container"},r("slot",null))}};h.style="div.hy-docs-container{display:block;margin:2rem 0}";let g=class{constructor(r){a(this,r)}render(){return r("div",{class:["hy-grid--container"].join(" ")},r("slot",null))}};g.style=":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}}";let c=class{constructor(r){a(this,r),this.columns=t.default,this.columnssm=e.default,this.columnslg=d.default,this.contentalign=o.default}render(){return r(i,{class:["hy-grid-item",`hy-grid__col-${this.columnssm}-sm`,`hy-grid__col-${this.columns}`,`hy-grid__col-${this.columnslg}-lg`,`hy-grid-align__${this.contentalign}`].join(" ")},r("slot",null))}};c.style=":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%}}";let b=class{constructor(r){a(this,r)}render(){return r(i,{class:["hy-grid__row"].join(" ")},r("slot",null))}};b.style=':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}';let y=class{constructor(r){a(this,r)}render(){return r("div",{class:"hy-section--container"},r("slot",null))}};y.style=":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}}";let m=class{constructor(r){a(this,r)}render(){return r("div",{class:["hy-tiny-text"].join(" ")},r("slot",null))}};m.style=":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}";export{n as color_box,s as hy_button,h as hy_docs_container,g as hy_grid_container,c as hy_grid_item,b as hy_grid_row,y as hy_section_container,m as hy_tiny_text}
@@ -1 +0,0 @@
1
- import{r as e,h as t,g as i}from"./p-f8697bf9.js";import{g as r}from"./p-d9dc337b.js";let n=null,o=null,s=class{constructor(t){e(this,t),this.styleGrid=!1,this.showMore=!1,this.scrollLeftLabel="Scroll list to left",this.scrollRightLabel="Scroll list to right",this.scrollable=!0}componentDidLoad(){const e=this.el,t=document.querySelector(".hy-events"),i=e.querySelector(".hy-events__scroll-left"),r=e.querySelector(".hy-events__scroll-right");this.styleGrid&&(t.addEventListener("scroll",(()=>{n=setTimeout((()=>{window.clearTimeout(n)}),250)}),!1),i.addEventListener("click",(e=>{e.preventDefault(),i.classList.add("is-disabled"),t.scrollBy({top:0,left:-304,behavior:"smooth"}),o=window.setTimeout((()=>{window.clearTimeout(o),i.classList.remove("is-disabled")}),250)})),r.addEventListener("click",(e=>{e.preventDefault(),r.classList.add("is-disabled"),t.scrollBy({top:0,left:304,behavior:"smooth"}),o=window.setTimeout((()=>{window.clearTimeout(o),r.classList.remove("is-disabled")}),250)})))}watchUrlHandler(e,t){t!==e&&(this.viewAllUrl=e)}checkScrollHidden(e,t,i){const r=e.querySelector(".hy-events__content");0===e.scrollLeft?t.classList.add("is-hidden"):t.classList.remove("is-hidden"),e.scrollLeft+e.clientWidth>=r.scrollWidth-1?i.classList.add("is-hidden"):i.classList.remove("is-hidden")}render(){const e=["hy-events",this.styleGrid?"hy-events--grid":""].join(" "),i=["hy-events__footer",this.styleGrid?"hy-events__footer--grid":""].join(" ");return t("div",{class:"hy-events--wrapper"},t("div",{class:e},t("slot",null)),t("div",{class:i},this.scrollable&&this.styleGrid&&t("div",{class:"hy-events__scroll-buttons"},t("button",{type:"button",class:"hy-events__scroll-left","aria-label":this.scrollLeftLabel},t("hy-icon",{icon:"hy-icon-caret-left",size:16})),t("button",{type:"button",class:"hy-events__scroll-right","aria-label":this.scrollRightLabel},t("hy-icon",{icon:"hy-icon-caret-right",size:16}))),this.showMore&&this.viewAllLabel&&this.viewAllUrl&&t("hy-cta-link",{"link-content":this.viewAllLabel,"sc-label":this.viewAllLabel,url:this.viewAllUrl,variant:r.linkList})))}get el(){return i(this)}static get watchers(){return{viewAllUrl:["watchUrlHandler"]}}};s.style=":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}hy-events.no-events .hy-events__no-result-container{font-family:var(--main-font-family)}hy-events.no-events .hy-events--wrapper .hy-events--grid{padding-bottom:0}hy-events.no-events .hy-events__footer{display:none}.hy-events--wrapper .hy-events{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-events--wrapper .hy-events--grid{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:1.5rem;overflow-x:hidden;white-space:nowrap;scrollbar-width:none}@media (min-width: 48rem){.hy-events--wrapper .hy-events--grid{padding-bottom:14rem}}.hy-events--wrapper .hy-events--grid .hy-events__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:24px;-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}@media (min-width: 48rem){.hy-events--wrapper .hy-events--grid .hy-events__content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-events--wrapper .hy-events__footer{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:2rem}.hy-events--wrapper .hy-events__footer--grid{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-top:1.5rem}@media (min-width: 48rem){.hy-events--wrapper .hy-events__footer--grid{margin-top:-9.5rem}}.hy-events--wrapper .hy-events__scroll-buttons{display:none;margin-top:2rem}@media (min-width: 48rem){.hy-events--wrapper .hy-events__scroll-buttons{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-events--wrapper .hy-events__scroll-buttons button{border:none;background:none;padding:0.5rem}.hy-events--wrapper .hy-events__scroll-buttons button:hover{cursor:pointer}.hy-events--wrapper .hy-events__scroll-buttons button:hover svg{scale:1.1}.hy-events--wrapper .hy-events__scroll-buttons button.is-hidden{display:none}.hy-events--wrapper .hy-events__scroll-buttons button.is-disabled{pointer-events:none}.hy-events--wrapper .hy-events__scroll-buttons button.is-disabled svg{fill:var(--link-disabled)}";export{s as hy_events}
@@ -1 +0,0 @@
1
- import{r as e,h as i,g as t}from"./p-f8697bf9.js";let n=class{constructor(i){e(this,i),this.eventDescription="",this.dateShort="",this.dateLong="",this.location="",this.styleGrid=!1,this.readMoreLabel="Read more",this.isLong=!1}componentDidLoad(){this.styleGrid&&this.el.clientHeight>255&&(this.isLong=!0)}render(){const e=["hy-events__item",this.styleGrid?"hy-events__item--grid":"hy-events__item--list",this.isLong?"is-long":""].join(" ");return i("a",{href:this.url,class:e,target:"_blank"},i("div",{class:"hy-events__item--container"},i("div",{class:"hy-events__item__top-container"},i("span",{class:"hy-events__item__date--short"},this.dateShort),this.isLong&&i("span",{class:"hy-events__item--toggle"},i("hy-icon",{icon:"hy-icon-caret-down",size:10}))),i("div",{class:"hy-events__item__details"},i("div",{class:"hy-events__item__title"},this.eventTitle),i("div",{class:"hy-events__item__meta"},this.dateLong&&i("div",{class:"hy-events__item__meta--item hy-events__item__date--long"},i("hy-icon",{icon:"hy-icon-events",size:18}),this.dateLong),this.location&&i("div",{class:"hy-events__item__meta--item hy-events__item__location"},i("hy-icon",{icon:"hy-icon-location",size:18}),this.location),this.type&&i("div",{class:"hy-events__item__meta--item hy-events__item__type"},i("hy-icon",{icon:"hy-icon-people",size:18}),this.type),i("span",{class:"hy-events__item__read-more"},this.readMoreLabel))),i("span",{class:"hy-events__item__url-icon","aria-hidden":"true"},i("hy-icon",{icon:"hy-icon-arrow-right",size:18}))))}get el(){return t(this)}};n.style=':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}.hy-events__item{display:-webkit-box;display:-ms-flexbox;display:flex;border:1px solid #d8d8d8;padding:13px 16px;position:relative;text-decoration:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;white-space:initial;margin-bottom:1rem}@media (min-width: 48rem){.hy-events__item{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:47px;margin-bottom:1.75rem}}@media (min-width: 48rem){.hy-events__item:not(.hy-events__item--grid) .hy-events__item--container{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-events__item:hover .hy-events__item__title{color:var(--brand-main);text-decoration:underline}.hy-events__item:hover .hy-events__item__date--short,.hy-events__item:hover .hy-events__item__url-icon{background-color:var(--brand-main-active)}.hy-events__item__title{font-size:1.125rem;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:6;color:var(--grayscale-black);display:-webkit-box;font-family:var(--main-font-family);font-weight:700;letter-spacing:-0.36px;line-clamp:6;margin-bottom:16px;overflow:hidden;text-overflow:ellipsis}@media (min-width: 48rem){.hy-events__item__title{font-size:1.375rem;line-height:28px;font-weight:700;font-size:22px;line-height:28px;letter-spacing:-0.44px;margin-bottom:14px}}.hy-events__item__details{font-family:var(--main-font-family);font-style:normal;font-weight:400;font-size:17px;line-height:26px;color:var(--grayscale-black)}.hy-events__item__meta{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width: 48rem){.hy-events__item__meta{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-events__item__meta--item{font-size:0.9375rem;line-height:22px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-right:0px;margin-bottom:9px;font-family:var(--main-font-family);font-weight:400;word-break:break-word}@media (min-width: 48rem){.hy-events__item__meta--item{font-size:1.0625rem;line-height:26px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;margin-right:35px;margin-bottom:0;font-weight:400}}.hy-events__item__meta--item svg{width:20px;height:20px;margin-right:9px;margin-top:2px}@media (min-width: 48rem){.hy-events__item__meta--item svg{margin-top:1px}}.hy-events__item__date--short{font-size:0.9375rem;line-height:18px;display:-webkit-box;display:-ms-flexbox;display:flex;color:var(--grayscale-white);background:var(--brand-main-light);font-family:var(--main-font-family);font-style:normal;font-weight:700;padding:6px 8px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;text-align:center;letter-spacing:-0.28125px;text-decoration:none;margin-bottom:20px;margin-right:0}@media (min-width: 48rem){.hy-events__item__date--short{font-size:1.0625rem;line-height:20px;letter-spacing:-0.31875px;padding:0;height:68px;width:68px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:47px;margin-bottom:0}}.hy-events__item__url-icon{display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;background:var(--brand-main-light);color:var(--grayscale-white);width:32px;height:32px;bottom:16px;right:-9px;z-index:1}@media (min-width: 48rem){.hy-events__item__url-icon{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-events__item__url-icon svg{fill:currentColor}.hy-events__item__read-more{font-size:0.9375rem;line-height:18px;color:var(--brand-main-light);font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;letter-spacing:-0.28125px;margin-top:10px}@media (min-width: 48rem){.hy-events__item__read-more{display:none}}.hy-events__item--grid{padding:1rem;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:280px;max-width:100%;min-height:255px;position:relative;margin-bottom:0}@media (min-width: 48rem){.hy-events__item--grid{max-width:280px;padding:1rem 1rem 0 1rem}}.hy-events__item--grid.is-long{max-height:100%}@media (min-width: 48rem){.hy-events__item--grid.is-long{max-height:255px}}.hy-events__item--grid.is-long::after{display:none;content:"";background:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(#ffffff));background:linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);position:absolute;bottom:0;left:0;width:100%;height:36px}@media (min-width: 48rem){.hy-events__item--grid.is-long::after{display:block}}.hy-events__item--grid.is-long .hy-events__item--container{overflow:visible}@media (min-width: 48rem){.hy-events__item--grid.is-long .hy-events__item--container{overflow:hidden}}@media (min-width: 48rem){.hy-events__item--grid.is-long:hover,.hy-events__item--grid.is-long:focus{border:0}}.hy-events__item--grid.is-long:hover::after,.hy-events__item--grid.is-long:hover .hy-events__item--toggle,.hy-events__item--grid.is-long:focus::after,.hy-events__item--grid.is-long:focus .hy-events__item--toggle{display:none}@media (min-width: 48rem){.hy-events__item--grid.is-long:hover .hy-events__item--container,.hy-events__item--grid.is-long:focus .hy-events__item--container{background-color:white;border:1px solid #d8d8d8;padding:16px 16px;position:absolute;top:0;left:0;min-height:255px;overflow:visible}}.hy-events__item--grid .hy-events__item__title{font-size:1.125rem;line-height:24px;letter-spacing:-0.36px}.hy-events__item--grid .hy-events__item--toggle{display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:#d7d7d7;border-radius:50%;position:absolute;top:16px;right:16px;width:24px;height:24px}@media (min-width: 48rem){.hy-events__item--grid .hy-events__item--toggle{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-events__item--grid .hy-events__item__meta{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:9px}.hy-events__item--grid .hy-events__item__meta--item{font-size:0.9375rem;line-height:22px}.hy-events__item--grid .hy-events__item__date--short{padding:6px}@media (min-width: 48rem){.hy-events__item--grid .hy-events__item__date--short{font-size:0.9375rem;line-height:18px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:auto;font-weight:700;letter-spacing:-0.28125px;margin-bottom:18px}}';export{n as hy_event_item}