@itcenteratunihelsinki/huds-lib 0.5.46 → 0.6.0
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.
- package/dist/cjs/color-box_8.cjs.entry.js +1 -1
- package/dist/cjs/huds-lib.cjs.js +1 -1
- package/dist/cjs/{hy-accordion-container_91.cjs.entry.js → hy-accordion-container_89.cjs.entry.js} +3 -492
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-eeb7b089.js → utils-00f72b1e.js} +0 -2
- package/dist/collection/collection-manifest.json +0 -4
- package/dist/collection/components/hy-main/hy-main.css +3 -2
- package/dist/collection/components/navigation/menu/menu.js +1 -1
- package/dist/collection/components/navigation/menu-item/menu-item.js +1 -17
- package/dist/collection/components/navigation/menu-level-container/menu-level-container.css +0 -236
- package/dist/collection/components/navigation/menu-level-container/menu-level-container.js +1 -48
- package/dist/collection/components/site-header/site-header.js +1 -1
- package/dist/collection/utils/utils.js +0 -2
- package/dist/esm/color-box_8.entry.js +1 -1
- package/dist/esm/huds-lib.js +1 -1
- package/dist/esm/{hy-accordion-container_91.entry.js → hy-accordion-container_89.entry.js} +4 -491
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-966ffdb5.js → utils-159098a4.js} +0 -2
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/{p-77f7df4b.entry.js → p-152d3e8d.entry.js} +54 -54
- package/dist/huds-lib/{p-d3ced29c.entry.js → p-2efc8ca0.entry.js} +1 -1
- package/dist/huds-lib/{p-cd2316f0.js → p-d9dc337b.js} +1 -1
- package/dist/types/components.d.ts +0 -200
- package/dist/types/utils/utils.d.ts +0 -2
- package/package.json +1 -1
- package/dist/collection/components/navigation/menu-item-sidebar/menu-item-sidebar.css +0 -399
- package/dist/collection/components/navigation/menu-item-sidebar/menu-item-sidebar.js +0 -580
- package/dist/collection/components/navigation/menu-sidebar/menu-sidebar.css +0 -337
- package/dist/collection/components/navigation/menu-sidebar/menu-sidebar.js +0 -677
- package/dist/types/components/navigation/menu-item-sidebar/menu-item-sidebar.d.ts +0 -34
- package/dist/types/components/navigation/menu-sidebar/menu-sidebar.d.ts +0 -90
|
@@ -1 +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-cd2316f0.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
|
+
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 +1 @@
|
|
|
1
|
-
var n,a,t,i,
|
|
1
|
+
var n,a,t,o,i,e,s,u,r,c,f,l,d,g,b,h,p,k,m,_,w,v,x,y,j,q,A,B,C,F,G,H,K;!function(n){n.enabled="enabled",n.disabled="disabled"}(n||(n={})),function(n){n.default="base",n.base="base",n.campus="base",n.group="group"}(a||(a={})),function(n){n.default="default",n.mini="mini"}(t||(t={})),function(n){n.default="default",n.landingLarge="large"}(o||(o={})),function(n){n.default="h1",n.h2="h2",n.h3="h3",n.h4="h4",n.h5="h5",n.h6="h6"}(i||(i={})),function(n){n.default="default",n.hero="hero",n.subSection="subsection",n.introduction="introduction",n.landingPageHeader="landingsection",n.contentPageHeader="contentsection",n.frontPage="frontpage",n.landingMajor="landing_major",n.landingMinor="landing_minor",n.course="courses",n.groupFooterInfo="group_footer_info",n.defaultFooterInfo="footer_info"}(e||(e={})),function(n){n.default="default",n.paragraph="within-paragraph"}(s||(s={})),function(n){n.default="default",n.linkList="link-list"}(u||(u={})),function(n){n.default="default",n.onBlueBkgd="blue-background",n.onWhiteBkgd="white-background",n.onBlackBkgd="black-background",n.onTransparentBkgd="transparent-background",n.heroWhite="hero-white",n.heroBlue="hero-blue",n.heroBlack="hero-black",n.darkBlue="dark-blue-background"}(r||(r={})),function(n){n.default="big",n.small="small"}(c||(c={})),function(n){n.default="big",n.small="small"}(f||(f={})),function(n){n.default="content",n.landingPage="landing"}(l||(l={})),function(n){n.default="row",n.row="row",n.grid="grid"}(d||(d={})),function(n){n.default="current",n.pastCourses="past-courses"}(g||(g={})),function(n){n.default="results",n.searchPanel="search-panel",n.extended="extended"}(b||(b={})),function(n){n.default="grid",n.grid="grid",n.list="list"}(h||(h={})),function(n){n.default="default",n.degreeProgramme="degree",n.position="position"}(p||(p={})),function(n){n.default="default",n.current="current",n.previous="previous",n.next="next",n.ellipsis="ellipsis"}(k||(k={})),function(n){n.columnsSm1="1",n.columnsSm2="2",n.columnsSm3="3",n.columnsSm4="4",n.columnsSm5="5",n.columnsSm6="6",n.columnsSm7="7",n.columnsSm8="8",n.columnsSm9="9",n.columnsSm10="10",n.columnsSm11="11",n.columnsSm12="12",n.default="12"}(m||(m={})),function(n){n.columns1="1",n.columns2="2",n.columns3="3",n.columns4="4",n.columns5="5",n.columns6="6",n.columns7="7",n.columns8="8",n.columns9="9",n.columns10="10",n.columns11="11",n.columns12="12",n.default="12"}(_||(_={})),function(n){n.columnsLg1="1",n.columnsLg2="2",n.columnsLg3="3",n.columnsLg4="4",n.columnsLg5="5",n.columnsLg6="6",n.columnsLg7="7",n.columnsLg8="8",n.columnsLg9="9",n.columnsLg10="10",n.columnsLg11="11",n.columnsLg12="12",n.default="12"}(w||(w={})),function(n){n.default="left",n.right="right",n.center="center"}(v||(v={})),function(n){n.desktop="desktop",n.mobile="mobile",n.tablet="tablet",n.default="desktop"}(x||(x={})),function(n){n[n.small=32]="small",n[n.big=64]="big",n[n.large=80]="large"}(y||(y={})),function(n){n.header="header",n.footer="footer"}(j||(j={})),function(n){n.black="var(--brand-main-nearly-black)",n.white="var(--grayscale-white)",n.grey_dark="var(--grayscale-dark)"}(q||(q={})),function(n){n.blue="blue",n.black="black",n.white="white",n.fp_white="fp_white"}(A||(A={})),function(n){n.large="large",n.small="small"}(B||(B={})),function(n){n.landing="landing",n.minor_landing="minor_landing",n.front_page="front_page"}(C||(C={})),function(n){n.default="no_group",n.research="research_group"}(F||(F={})),function(n){n.black="black",n.white="white"}(G||(G={})),function(n){n.default="default",n.button="button"}(H||(H={})),function(n){n.list="list",n.grid="grid"}(K||(K={}));export{t as A,o as B,r as C,G as F,_ as G,i as H,f as K,h as L,x as M,k as P,y as S,m as a,w as b,v as c,H as d,g as e,d as f,u as g,q as h,j as i,a as j,e as k,K as l,C as m,F as n,A as o,B as p,s as q,l as r,p as s,b as t,c as u}
|
|
@@ -672,27 +672,6 @@ export namespace Components {
|
|
|
672
672
|
"parentExpanded": boolean;
|
|
673
673
|
"url": string;
|
|
674
674
|
}
|
|
675
|
-
interface HyMenuItemSidebar {
|
|
676
|
-
"ariaExpanded": boolean;
|
|
677
|
-
"depth": number;
|
|
678
|
-
"hasChildren": boolean;
|
|
679
|
-
"inActiveTrail": boolean;
|
|
680
|
-
"isActive": boolean;
|
|
681
|
-
"isActiveChild"?: boolean;
|
|
682
|
-
"isDemo": boolean;
|
|
683
|
-
"isHeading": boolean;
|
|
684
|
-
"isParent": boolean;
|
|
685
|
-
"label": string;
|
|
686
|
-
"menuButtonSubmenuExpand"?: string;
|
|
687
|
-
"menuIsOpen": boolean;
|
|
688
|
-
"menuItemAlternative": boolean;
|
|
689
|
-
"menuLinkId": string;
|
|
690
|
-
"menuType": MenuType;
|
|
691
|
-
"pageSize": MenuType;
|
|
692
|
-
"parentAsHeading": string;
|
|
693
|
-
"parentExpanded": boolean;
|
|
694
|
-
"url": string;
|
|
695
|
-
}
|
|
696
675
|
interface HyMenuLanguage {
|
|
697
676
|
"dataMenuLanguage": MenuLanguage[] | string;
|
|
698
677
|
"isGroup": boolean;
|
|
@@ -742,74 +721,6 @@ export namespace Components {
|
|
|
742
721
|
"labelFrontPage": string;
|
|
743
722
|
"logoUrl"?: string;
|
|
744
723
|
}
|
|
745
|
-
interface HyMenuSidebar {
|
|
746
|
-
/**
|
|
747
|
-
* Label for frontpage
|
|
748
|
-
*/
|
|
749
|
-
"frontLabel": string;
|
|
750
|
-
/**
|
|
751
|
-
* Url to frontpage
|
|
752
|
-
*/
|
|
753
|
-
"frontUrl": string;
|
|
754
|
-
/**
|
|
755
|
-
* is Active helps to define how to render Research Group link.
|
|
756
|
-
*/
|
|
757
|
-
"isActive": boolean;
|
|
758
|
-
/**
|
|
759
|
-
* Isdemo
|
|
760
|
-
*/
|
|
761
|
-
"isDemo": boolean;
|
|
762
|
-
/**
|
|
763
|
-
* IsResearchGroup
|
|
764
|
-
*/
|
|
765
|
-
"isResearchGroup": boolean;
|
|
766
|
-
/**
|
|
767
|
-
* Logo label
|
|
768
|
-
*/
|
|
769
|
-
"logoLabel"?: string;
|
|
770
|
-
/**
|
|
771
|
-
* Url for logo.
|
|
772
|
-
*/
|
|
773
|
-
"logoUrl"?: string;
|
|
774
|
-
/**
|
|
775
|
-
* Is menu open boolean.
|
|
776
|
-
*/
|
|
777
|
-
"menuIsOpen": boolean;
|
|
778
|
-
/**
|
|
779
|
-
* Menu type. Defaults to sidenav.
|
|
780
|
-
*/
|
|
781
|
-
"menuType": MenuType;
|
|
782
|
-
"minHeight": any;
|
|
783
|
-
/**
|
|
784
|
-
* Should have link to front page or show full menu button
|
|
785
|
-
*/
|
|
786
|
-
"noChildren": boolean;
|
|
787
|
-
"pageSize": MenuType;
|
|
788
|
-
/**
|
|
789
|
-
* Upper menus panel boolean.
|
|
790
|
-
*/
|
|
791
|
-
"panelOpen": boolean;
|
|
792
|
-
/**
|
|
793
|
-
* Label for panel toggle button.
|
|
794
|
-
*/
|
|
795
|
-
"panelToggleAriaLabel"?: string;
|
|
796
|
-
/**
|
|
797
|
-
* Label for panel toggle button.
|
|
798
|
-
*/
|
|
799
|
-
"panelToggleCloseAriaLabel"?: string;
|
|
800
|
-
/**
|
|
801
|
-
* Label for panel toggle button.
|
|
802
|
-
*/
|
|
803
|
-
"panelToggleCloseLabel"?: string;
|
|
804
|
-
/**
|
|
805
|
-
* Label for panel toggle button.
|
|
806
|
-
*/
|
|
807
|
-
"panelToggleLabel"?: string;
|
|
808
|
-
/**
|
|
809
|
-
* Logo size
|
|
810
|
-
*/
|
|
811
|
-
"size": SiteLogoSize;
|
|
812
|
-
}
|
|
813
724
|
interface HyMobileMenuShortcuts {
|
|
814
725
|
"dataShortcutLinks": ShortcutLinks[] | string;
|
|
815
726
|
"shortcutsLabel": string;
|
|
@@ -1465,12 +1376,6 @@ declare global {
|
|
|
1465
1376
|
prototype: HTMLHyMenuItemElement;
|
|
1466
1377
|
new (): HTMLHyMenuItemElement;
|
|
1467
1378
|
};
|
|
1468
|
-
interface HTMLHyMenuItemSidebarElement extends Components.HyMenuItemSidebar, HTMLStencilElement {
|
|
1469
|
-
}
|
|
1470
|
-
var HTMLHyMenuItemSidebarElement: {
|
|
1471
|
-
prototype: HTMLHyMenuItemSidebarElement;
|
|
1472
|
-
new (): HTMLHyMenuItemSidebarElement;
|
|
1473
|
-
};
|
|
1474
1379
|
interface HTMLHyMenuLanguageElement extends Components.HyMenuLanguage, HTMLStencilElement {
|
|
1475
1380
|
}
|
|
1476
1381
|
var HTMLHyMenuLanguageElement: {
|
|
@@ -1501,12 +1406,6 @@ declare global {
|
|
|
1501
1406
|
prototype: HTMLHyMenuMobileBreadcrumbElement;
|
|
1502
1407
|
new (): HTMLHyMenuMobileBreadcrumbElement;
|
|
1503
1408
|
};
|
|
1504
|
-
interface HTMLHyMenuSidebarElement extends Components.HyMenuSidebar, HTMLStencilElement {
|
|
1505
|
-
}
|
|
1506
|
-
var HTMLHyMenuSidebarElement: {
|
|
1507
|
-
prototype: HTMLHyMenuSidebarElement;
|
|
1508
|
-
new (): HTMLHyMenuSidebarElement;
|
|
1509
|
-
};
|
|
1510
1409
|
interface HTMLHyMobileMenuShortcutsElement extends Components.HyMobileMenuShortcuts, HTMLStencilElement {
|
|
1511
1410
|
}
|
|
1512
1411
|
var HTMLHyMobileMenuShortcutsElement: {
|
|
@@ -1745,13 +1644,11 @@ declare global {
|
|
|
1745
1644
|
"hy-main-content-wrapper": HTMLHyMainContentWrapperElement;
|
|
1746
1645
|
"hy-menu": HTMLHyMenuElement;
|
|
1747
1646
|
"hy-menu-item": HTMLHyMenuItemElement;
|
|
1748
|
-
"hy-menu-item-sidebar": HTMLHyMenuItemSidebarElement;
|
|
1749
1647
|
"hy-menu-language": HTMLHyMenuLanguageElement;
|
|
1750
1648
|
"hy-menu-language-item": HTMLHyMenuLanguageItemElement;
|
|
1751
1649
|
"hy-menu-level-container": HTMLHyMenuLevelContainerElement;
|
|
1752
1650
|
"hy-menu-main-group": HTMLHyMenuMainGroupElement;
|
|
1753
1651
|
"hy-menu-mobile-breadcrumb": HTMLHyMenuMobileBreadcrumbElement;
|
|
1754
|
-
"hy-menu-sidebar": HTMLHyMenuSidebarElement;
|
|
1755
1652
|
"hy-mobile-menu-shortcuts": HTMLHyMobileMenuShortcutsElement;
|
|
1756
1653
|
"hy-opening-hours": HTMLHyOpeningHoursElement;
|
|
1757
1654
|
"hy-opening-hours-content": HTMLHyOpeningHoursContentElement;
|
|
@@ -2424,31 +2321,6 @@ declare namespace LocalJSX {
|
|
|
2424
2321
|
"parentExpanded"?: boolean;
|
|
2425
2322
|
"url"?: string;
|
|
2426
2323
|
}
|
|
2427
|
-
interface HyMenuItemSidebar {
|
|
2428
|
-
"ariaExpanded"?: boolean;
|
|
2429
|
-
"depth"?: number;
|
|
2430
|
-
"hasChildren"?: boolean;
|
|
2431
|
-
"inActiveTrail"?: boolean;
|
|
2432
|
-
"isActive"?: boolean;
|
|
2433
|
-
"isActiveChild"?: boolean;
|
|
2434
|
-
"isDemo"?: boolean;
|
|
2435
|
-
"isHeading"?: boolean;
|
|
2436
|
-
"isParent"?: boolean;
|
|
2437
|
-
"label"?: string;
|
|
2438
|
-
"menuButtonSubmenuExpand"?: string;
|
|
2439
|
-
"menuIsOpen"?: boolean;
|
|
2440
|
-
"menuItemAlternative"?: boolean;
|
|
2441
|
-
"menuLinkId"?: string;
|
|
2442
|
-
"menuType"?: MenuType;
|
|
2443
|
-
"onAddBreadcrumb"?: (event: CustomEvent<any>) => void;
|
|
2444
|
-
"onMenuContainerActiveTrail"?: (event: CustomEvent<any>) => void;
|
|
2445
|
-
"onMenuContainerToggled"?: (event: CustomEvent<any>) => void;
|
|
2446
|
-
"onRouteClicked"?: (event: CustomEvent<any>) => void;
|
|
2447
|
-
"pageSize"?: MenuType;
|
|
2448
|
-
"parentAsHeading"?: string;
|
|
2449
|
-
"parentExpanded"?: boolean;
|
|
2450
|
-
"url"?: string;
|
|
2451
|
-
}
|
|
2452
2324
|
interface HyMenuLanguage {
|
|
2453
2325
|
"dataMenuLanguage"?: MenuLanguage[] | string;
|
|
2454
2326
|
"isGroup"?: boolean;
|
|
@@ -2502,74 +2374,6 @@ declare namespace LocalJSX {
|
|
|
2502
2374
|
"logoUrl"?: string;
|
|
2503
2375
|
"onRemoveBreadcrumb"?: (event: CustomEvent<any>) => void;
|
|
2504
2376
|
}
|
|
2505
|
-
interface HyMenuSidebar {
|
|
2506
|
-
/**
|
|
2507
|
-
* Label for frontpage
|
|
2508
|
-
*/
|
|
2509
|
-
"frontLabel"?: string;
|
|
2510
|
-
/**
|
|
2511
|
-
* Url to frontpage
|
|
2512
|
-
*/
|
|
2513
|
-
"frontUrl"?: string;
|
|
2514
|
-
/**
|
|
2515
|
-
* is Active helps to define how to render Research Group link.
|
|
2516
|
-
*/
|
|
2517
|
-
"isActive"?: boolean;
|
|
2518
|
-
/**
|
|
2519
|
-
* Isdemo
|
|
2520
|
-
*/
|
|
2521
|
-
"isDemo"?: boolean;
|
|
2522
|
-
/**
|
|
2523
|
-
* IsResearchGroup
|
|
2524
|
-
*/
|
|
2525
|
-
"isResearchGroup"?: boolean;
|
|
2526
|
-
/**
|
|
2527
|
-
* Logo label
|
|
2528
|
-
*/
|
|
2529
|
-
"logoLabel"?: string;
|
|
2530
|
-
/**
|
|
2531
|
-
* Url for logo.
|
|
2532
|
-
*/
|
|
2533
|
-
"logoUrl"?: string;
|
|
2534
|
-
/**
|
|
2535
|
-
* Is menu open boolean.
|
|
2536
|
-
*/
|
|
2537
|
-
"menuIsOpen"?: boolean;
|
|
2538
|
-
/**
|
|
2539
|
-
* Menu type. Defaults to sidenav.
|
|
2540
|
-
*/
|
|
2541
|
-
"menuType"?: MenuType;
|
|
2542
|
-
"minHeight"?: any;
|
|
2543
|
-
/**
|
|
2544
|
-
* Should have link to front page or show full menu button
|
|
2545
|
-
*/
|
|
2546
|
-
"noChildren"?: boolean;
|
|
2547
|
-
"pageSize"?: MenuType;
|
|
2548
|
-
/**
|
|
2549
|
-
* Upper menus panel boolean.
|
|
2550
|
-
*/
|
|
2551
|
-
"panelOpen"?: boolean;
|
|
2552
|
-
/**
|
|
2553
|
-
* Label for panel toggle button.
|
|
2554
|
-
*/
|
|
2555
|
-
"panelToggleAriaLabel"?: string;
|
|
2556
|
-
/**
|
|
2557
|
-
* Label for panel toggle button.
|
|
2558
|
-
*/
|
|
2559
|
-
"panelToggleCloseAriaLabel"?: string;
|
|
2560
|
-
/**
|
|
2561
|
-
* Label for panel toggle button.
|
|
2562
|
-
*/
|
|
2563
|
-
"panelToggleCloseLabel"?: string;
|
|
2564
|
-
/**
|
|
2565
|
-
* Label for panel toggle button.
|
|
2566
|
-
*/
|
|
2567
|
-
"panelToggleLabel"?: string;
|
|
2568
|
-
/**
|
|
2569
|
-
* Logo size
|
|
2570
|
-
*/
|
|
2571
|
-
"size"?: SiteLogoSize;
|
|
2572
|
-
}
|
|
2573
2377
|
interface HyMobileMenuShortcuts {
|
|
2574
2378
|
"dataShortcutLinks"?: ShortcutLinks[] | string;
|
|
2575
2379
|
"shortcutsLabel"?: string;
|
|
@@ -2914,13 +2718,11 @@ declare namespace LocalJSX {
|
|
|
2914
2718
|
"hy-main-content-wrapper": HyMainContentWrapper;
|
|
2915
2719
|
"hy-menu": HyMenu;
|
|
2916
2720
|
"hy-menu-item": HyMenuItem;
|
|
2917
|
-
"hy-menu-item-sidebar": HyMenuItemSidebar;
|
|
2918
2721
|
"hy-menu-language": HyMenuLanguage;
|
|
2919
2722
|
"hy-menu-language-item": HyMenuLanguageItem;
|
|
2920
2723
|
"hy-menu-level-container": HyMenuLevelContainer;
|
|
2921
2724
|
"hy-menu-main-group": HyMenuMainGroup;
|
|
2922
2725
|
"hy-menu-mobile-breadcrumb": HyMenuMobileBreadcrumb;
|
|
2923
|
-
"hy-menu-sidebar": HyMenuSidebar;
|
|
2924
2726
|
"hy-mobile-menu-shortcuts": HyMobileMenuShortcuts;
|
|
2925
2727
|
"hy-opening-hours": HyOpeningHours;
|
|
2926
2728
|
"hy-opening-hours-content": HyOpeningHoursContent;
|
|
@@ -3019,13 +2821,11 @@ declare module "@stencil/core" {
|
|
|
3019
2821
|
"hy-main-content-wrapper": LocalJSX.HyMainContentWrapper & JSXBase.HTMLAttributes<HTMLHyMainContentWrapperElement>;
|
|
3020
2822
|
"hy-menu": LocalJSX.HyMenu & JSXBase.HTMLAttributes<HTMLHyMenuElement>;
|
|
3021
2823
|
"hy-menu-item": LocalJSX.HyMenuItem & JSXBase.HTMLAttributes<HTMLHyMenuItemElement>;
|
|
3022
|
-
"hy-menu-item-sidebar": LocalJSX.HyMenuItemSidebar & JSXBase.HTMLAttributes<HTMLHyMenuItemSidebarElement>;
|
|
3023
2824
|
"hy-menu-language": LocalJSX.HyMenuLanguage & JSXBase.HTMLAttributes<HTMLHyMenuLanguageElement>;
|
|
3024
2825
|
"hy-menu-language-item": LocalJSX.HyMenuLanguageItem & JSXBase.HTMLAttributes<HTMLHyMenuLanguageItemElement>;
|
|
3025
2826
|
"hy-menu-level-container": LocalJSX.HyMenuLevelContainer & JSXBase.HTMLAttributes<HTMLHyMenuLevelContainerElement>;
|
|
3026
2827
|
"hy-menu-main-group": LocalJSX.HyMenuMainGroup & JSXBase.HTMLAttributes<HTMLHyMenuMainGroupElement>;
|
|
3027
2828
|
"hy-menu-mobile-breadcrumb": LocalJSX.HyMenuMobileBreadcrumb & JSXBase.HTMLAttributes<HTMLHyMenuMobileBreadcrumbElement>;
|
|
3028
|
-
"hy-menu-sidebar": LocalJSX.HyMenuSidebar & JSXBase.HTMLAttributes<HTMLHyMenuSidebarElement>;
|
|
3029
2829
|
"hy-mobile-menu-shortcuts": LocalJSX.HyMobileMenuShortcuts & JSXBase.HTMLAttributes<HTMLHyMobileMenuShortcutsElement>;
|
|
3030
2830
|
"hy-opening-hours": LocalJSX.HyOpeningHours & JSXBase.HTMLAttributes<HTMLHyOpeningHoursElement>;
|
|
3031
2831
|
"hy-opening-hours-content": LocalJSX.HyOpeningHoursContent & JSXBase.HTMLAttributes<HTMLHyOpeningHoursContentElement>;
|