@itcenteratunihelsinki/huds-lib 0.8.86 → 0.8.88
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/components/hy-footer-base.js +1 -1
- package/components/{hy-icon-twitter.d.ts → hy-icon-some-tiktok.d.ts} +4 -4
- package/components/hy-icon-some-tiktok.js +34 -0
- package/components/hy-icon-some-twitter.js +1 -1
- package/components/hy-icon-some-youtube.js +1 -1
- package/components/hy-icon-spinner.js +1 -1
- package/components/hy-icon-square-checked.js +1 -1
- package/components/hy-icon-square.js +1 -1
- package/components/hy-icon-time.js +1 -1
- package/components/hy-icon-todo-list.js +1 -1
- package/components/hy-icon-tour.js +1 -1
- package/components/hy-icon-twitter-like.js +1 -1
- package/components/hy-icon-units-and-faculties.js +1 -1
- package/components/hy-icon-url.js +1 -1
- package/components/hy-icon-video.js +1 -1
- package/components/hy-icon-warning.js +1 -1
- package/components/hy-icon-wrench.js +1 -1
- package/components/hy-icon-youtube.js +1 -1
- package/components/hy-iconicons.js +1 -1
- package/components/hy-link-box-list.js +1 -1
- package/components/link-box.js +1 -1
- package/dist/cjs/huds-lib.cjs.js +1 -1
- package/dist/cjs/hy-breadcrumbs_15.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-some-tiktok.cjs.entry.js +18 -0
- package/dist/cjs/hy-icon-some-twitter.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-some-youtube.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-spinner.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-square-checked.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-square.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-time.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-todo-list.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-tour.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-twitter-like.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-units-and-faculties.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-url.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-video.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-warning.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-wrench.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/hy-iconicons.cjs.entry.js +1 -1
- package/dist/cjs/hy-link-box_2.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.css +6 -0
- package/dist/collection/components/hy-link-box/link-box.css +2 -0
- package/dist/collection/components/hy-link-box-list/link-box-list.css +2 -2
- package/dist/collection/components/icons/hy-icon-some-tiktok.js +51 -0
- package/dist/collection/components/icons/hy-icon-some-twitter.js +1 -1
- package/dist/collection/components/icons/hy-icon-some-youtube.js +1 -1
- package/dist/collection/components/icons/hy-icon-spinner.js +1 -1
- package/dist/collection/components/icons/hy-icon-square-checked.js +1 -1
- package/dist/collection/components/icons/hy-icon-square.js +1 -1
- package/dist/collection/components/icons/hy-icon-time.js +1 -1
- package/dist/collection/components/icons/hy-icon-todo-list.js +1 -1
- package/dist/collection/components/icons/hy-icon-tour.js +1 -1
- package/dist/collection/components/icons/hy-icon-twitter-like.js +1 -1
- package/dist/collection/components/icons/hy-icon-units-and-faculties.js +1 -1
- package/dist/collection/components/icons/hy-icon-url.js +1 -1
- package/dist/collection/components/icons/hy-icon-video.js +1 -1
- package/dist/collection/components/icons/hy-icon-warning.js +1 -1
- package/dist/collection/components/icons/hy-icon-wrench.js +1 -1
- package/dist/collection/components/icons/hy-icon-youtube.js +1 -1
- package/dist/collection/components/icons/hy-iconicons.js +1 -1
- package/dist/collection/icons/SomeTiktok.svg +24 -0
- package/dist/esm/huds-lib.js +1 -1
- package/dist/esm/hy-breadcrumbs_15.entry.js +1 -1
- package/dist/esm/hy-icon-some-tiktok.entry.js +14 -0
- package/dist/esm/hy-icon-some-twitter.entry.js +1 -1
- package/dist/esm/hy-icon-some-youtube.entry.js +1 -1
- package/dist/esm/hy-icon-spinner.entry.js +1 -1
- package/dist/esm/hy-icon-square-checked.entry.js +1 -1
- package/dist/esm/hy-icon-square.entry.js +1 -1
- package/dist/esm/hy-icon-time.entry.js +1 -1
- package/dist/esm/hy-icon-todo-list.entry.js +1 -1
- package/dist/esm/hy-icon-tour.entry.js +1 -1
- package/dist/esm/hy-icon-twitter-like.entry.js +1 -1
- package/dist/esm/hy-icon-units-and-faculties.entry.js +1 -1
- package/dist/esm/hy-icon-url.entry.js +1 -1
- package/dist/esm/hy-icon-video.entry.js +1 -1
- package/dist/esm/hy-icon-warning.entry.js +1 -1
- package/dist/esm/hy-icon-wrench.entry.js +1 -1
- package/dist/esm/hy-icon-youtube.entry.js +1 -1
- package/dist/esm/hy-iconicons.entry.js +1 -1
- package/dist/esm/hy-link-box_2.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/hy-breadcrumbs_15.entry.js +1 -1
- package/dist/huds-lib/hy-icon-some-tiktok.entry.js +1 -0
- package/dist/huds-lib/hy-icon-some-twitter.entry.js +1 -1
- package/dist/huds-lib/hy-icon-some-youtube.entry.js +1 -1
- package/dist/huds-lib/hy-icon-spinner.entry.js +1 -1
- package/dist/huds-lib/hy-icon-square-checked.entry.js +1 -1
- package/dist/huds-lib/hy-icon-square.entry.js +1 -1
- package/dist/huds-lib/hy-icon-time.entry.js +1 -1
- package/dist/huds-lib/hy-icon-todo-list.entry.js +1 -1
- package/dist/huds-lib/hy-icon-tour.entry.js +1 -1
- package/dist/huds-lib/hy-icon-twitter-like.entry.js +1 -1
- package/dist/huds-lib/hy-icon-units-and-faculties.entry.js +1 -1
- package/dist/huds-lib/hy-icon-url.entry.js +1 -1
- package/dist/huds-lib/hy-icon-video.entry.js +1 -1
- package/dist/huds-lib/hy-icon-warning.entry.js +1 -1
- package/dist/huds-lib/hy-icon-wrench.entry.js +1 -1
- package/dist/huds-lib/hy-icon-youtube.entry.js +1 -1
- package/dist/huds-lib/hy-iconicons.entry.js +1 -1
- package/dist/huds-lib/hy-link-box_2.entry.js +1 -1
- package/dist/types/components/icons/{hy-icon-twitter.d.ts → hy-icon-some-tiktok.d.ts} +1 -1
- package/dist/types/components.d.ts +17 -17
- package/package.json +3 -2
- package/components/hy-icon-twitter.js +0 -34
- package/dist/cjs/hy-icon-twitter.cjs.entry.js +0 -18
- package/dist/collection/components/icons/hy-icon-twitter.js +0 -51
- package/dist/collection/icons/SomeTwitter.svg +0 -6
- package/dist/esm/hy-icon-twitter.entry.js +0 -14
- package/dist/huds-lib/hy-icon-twitter.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h,H as
|
|
1
|
+
import{r as e,h,H as a}from"./index-2ffe17c9.js";const s=class{constructor(h){e(this,h),this.size="24px",this.fill="currentColor"}render(){return h(a,{key:"56caa353c7d69daa794cdaa83119cea181b17e3a",style:{display:"flex"}},h("svg",{key:"2274ea19d48887f93eb464f9a5a1a427efa73e44",viewBox:"0 0 1000 1000",width:this.size,height:this.size,fill:this.fill},h("path",{key:"629b676ee494e1611b55057d41e5a29fe4861e76",d:"M903 774v-32H97v32H65v97h870v-97h-32zm-742-97h97V419h97v258h97V419h96v258h97V419h97v258h97V419h64v-96h-32v-29L500 129 129 294v29H97v96h64v258z"})))}};export{s as hy_icon_units_and_faculties}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as l}from"./index-2ffe17c9.js";const
|
|
1
|
+
import{r as t,h as e,H as l}from"./index-2ffe17c9.js";const a=class{constructor(e){t(this,e),this.size="24px",this.fill="currentColor"}render(){return e(l,{key:"fb1aab1e73b50b366990cb500c8da080dc6e17a9",style:{display:"flex"}},e("svg",{key:"27fade50647eba6686912ad2e74f1d9dae0750b2",viewBox:"0 0 1000 1000",width:this.size,height:this.size,fill:this.fill},e("path",{key:"b06ba7af7486e18fd1daa262d3655fb81ddb2ce7",d:"M916 416L668 665q-34 33-79 44t-90 0-80-44l-84-84 84-84 84 84q17 17 42 17t42-17l248-249q17-17 17-42t-17-42l-83-83q-17-17-42-17t-42 17l-91 90q-60-37-135-32L584 81q33-34 79-46t91 0 78 46l84 84q33 34 45 80t0 92-45 79zM423 745l-91 90q-17 17-42 17t-42-17l-83-83q-17-17-17-42t17-42l248-249q17-17 42-17t42 17l84 84 84-84-84-84q-34-33-79-45t-91 0-79 45L84 584q-33 33-45 78t0 91 45 79l84 84q33 33 79 45t91 0 78-45l142-142q-73 5-135-29z"})))}};export{a as hy_icon_url}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as
|
|
1
|
+
import{r as e,h as t,H as s}from"./index-2ffe17c9.js";const c=class{constructor(t){e(this,t),this.size="24px",this.fill="currentColor"}render(){return t(s,{key:"3e8916beef1097d7ce67bd17722e7b74ca01b95f",style:{display:"flex"}},t("svg",{key:"c6d81f2463cbf3b4c7fd56a7f38321961325a84c",viewBox:"0 0 1000 1000",width:this.size,height:this.size,fill:this.fill},t("path",{key:"e7e27f63bcf55ab943dedba80fdc40bbd613f5a1",d:"M419 355l226 145-226 145V355zm81-194q92 0 171 47 77 44 121 121 47 79 47 171t-47 171q-44 77-121 121-79 47-171 47t-171-47q-77-44-121-121-47-79-47-171t47-171q44-77 121-121 79-47 171-47zm0-96q-119 0-220 59-99 57-156 156-59 101-59 220t59 220q57 99 156 156 101 59 220 59t220-59q99-57 156-156 59-101 59-220t-59-220q-57-99-156-156-101-59-220-59z"})))}};export{c as hy_icon_video}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as
|
|
1
|
+
import{r as e,h as s,H as t}from"./index-2ffe17c9.js";const a=class{constructor(s){e(this,s),this.size="24px",this.fill="currentColor"}render(){return s(t,{key:"df9fa71877fd7f30e6da8b3721a892d1cbeb649f",style:{display:"flex"}},s("svg",{key:"e3d0c2f6dda67b4711e363711f6014f7712edb91",viewBox:"0 0 1000 1000",width:this.size,height:this.size,fill:this.fill},s("path",{key:"92baa014bef637081940aa5356793cb8ba7f2626",d:"M500 129L65 871h870zm48 645h-96v-97h96v97zm-96-129V387h96v258h-96z"})))}};export{a as hy_icon_warning}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as
|
|
1
|
+
import{r as e,h as t,H as c}from"./index-2ffe17c9.js";const s=class{constructor(t){e(this,t),this.size="24px",this.fill="currentColor"}render(){return t(c,{key:"c1cc6d3ca62da836ffad9605dd9b010ac10ab981",style:{display:"flex"}},t("svg",{key:"87e97377ece5cb7c8492ba412044fd019369df9a",viewBox:"0 0 1000 1000",width:this.size,height:this.size,fill:this.fill},t("path",{key:"faf87d643e2a19e4edf0e5402dc9651e2a625100",d:"M979 799L530 413q33-61 33-132 0-76-39-142-37-63-101-101Q358 0 281 0q-42 0-81 12l162 163q18 18 18 44t-18 44l-99 99q-18 18-44 18t-44-18L12 200Q0 239 0 281q0 77 38 142 38 64 101 101 66 38 142 38 71 0 132-32l386 449q16 20 41 21t44-17l99-99q18-19 17-44t-21-41z"})))}};export{s as hy_icon_wrench}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h,H as q}from"./index-2ffe17c9.js";const e=class{constructor(h){t(this,h),this.size="24px",this.fill="currentColor"}render(){return h(q,{key:"
|
|
1
|
+
import{r as t,h,H as q}from"./index-2ffe17c9.js";const e=class{constructor(h){t(this,h),this.size="24px",this.fill="currentColor"}render(){return h(q,{key:"00db3df4fc10be28750f22211e75895da051befc",style:{display:"flex"}},h("svg",{key:"19222ec3e971e87118f108c59b0e8de209a2eb54",viewBox:"0 0 1000 1000",width:this.size,height:this.size,fill:this.fill},h("path",{key:"7c904454651efa7d94cdcea3c1f37191c20705b5",d:"M542 694v118q0 37-22 37-13 0-25-12V669q12-12 25-12 22 0 22 37zm188 1v25h-50v-25q0-38 25-38t25 38zM191 573h60v-52H77v52h59v318h55V573zm161 318h50V615h-50v211q-17 23-32 23-10 0-11-11-1-2-1-20V615h-50v218q0 27 5 41 7 21 33 21t56-35v31zm240-83V698q0-41-6-55-9-31-39-31-28 0-52 30V521h-50v370h50v-27q25 31 52 31 30 0 39-31 6-15 6-56zm188-6v-7h-51q0 29-1 34-4 20-22 20-26 0-26-38v-49h100v-57q0-44-15-65-22-28-59-28t-60 28q-15 21-15 65v96q0 44 16 65 22 29 61 29t59-30q10-15 12-30 1-5 1-33zM441 293V176q0-39-24-39t-24 39v117q0 39 24 39t24-39zm401 419q0 131-14 195-8 33-32 56t-58 25q-102 12-309 12t-310-12q-33-3-57-25t-32-56q-15-62-15-195 0-131 15-195 7-33 32-56t57-26q103-11 310-11t309 11q33 4 58 26t32 56q14 62 14 195zM285 0h57l-67 223v151h-56V223q-8-42-34-119-21-57-37-104h60l39 147zm207 186v97q0 46-16 66-21 29-59 29t-59-29q-15-21-15-66v-97q0-45 15-65 21-29 59-29t59 29q16 20 16 65zm187-91v279h-51v-31q-30 35-58 35-25 0-33-21-4-13-4-42V95h51v225q2 12 12 12 15 0 32-24V95h51z"})))}};export{e as hy_icon_youtube}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as s,H as t}from"./index-2ffe17c9.js";const
|
|
1
|
+
import{r as e,h as s,H as t}from"./index-2ffe17c9.js";const o=class{constructor(s){e(this,s),this.size="24px",this.fill="currentColor"}render(){return s(t,{key:"33e90b151f40ea3874b7124dfe99114a4d19b899",style:{display:"flex"}},s("svg",{key:"5b8f8567306f1eb34b5f53ed88aa96e70d11bb13",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 29",width:this.size,height:this.size,fill:this.fill},s("polygon",{key:"8890745a44193021e0aa96588b133ab36a8ded27",points:"29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594",transform:"rotate(-180 15 14.5)"})))}};export{o as hy_iconicons}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as t,g as e,H as n}from"./index-2ffe17c9.js";import{l as a}from"./utils-1e7f5184.js";import{j as o}from"./globalScript-7f6ce018.js";const s=class{constructor(t){i(this,t),this.variant=a.default,this.imageUrl=null,this.imageAlt=null,this.disableLazy=!1,this.useSlot=!1,this.showLogo=!1,this.textTitle=void 0,this.textDescription=null,this.url=void 0,this.isExternal=!1,this.scLabel=void 0,this.readMoreLabel=void 0,this.headerstyle="common",this.sourceSet=void 0}srcSetWatcher(i){this._sourceSet="string"==typeof i?JSON.parse(i):i}componentWillLoad(){this.srcSetWatcher(this.sourceSet)}componentDidLoad(){let i=this.el.closest(".hy-main");i&&(i.classList.contains("with-sidebar")||(this.headerstyle="large"))}render(){const i=["hy-link-box-container"].join(" "),e=["hy-link-box",this.variant,`hy-link-box__${this.variant}`,this.headerstyle,`hy-link-box__${this.headerstyle}`,this.imageUrl?"hy-link-box--with-image":null].join(" "),n=["hy-link-box__text-container",this.imageUrl?"hy-link-box--with-image":null].join(" "),a=["hy-link-box__text-container__title",`hy-link-box__text-container__title__${this.variant}`,`hy-link-box__text-container__title__${this.headerstyle}`,this.imageUrl?"hy-link-box__text-container__title__image":"",this.imageUrl?"image":""].join(" "),o=["hy-link-box__text-container__description",`hy-link-box__text-container__description__${this.variant}`,`hy-link-box__text-container__description__${this.headerstyle}`].join(" "),s=this.isExternal?"_blank":"_self";return[t("article",{key:"d66398c2e146bdfb114a7df6e9ac9a46e0bb1181",class:i},t("div",{key:"034dbd08272bf8d14646c61f100c328643309730",class:e},this.imageUrl&&t("figure",{class:"hy-link-box__image-container",style:{"--aspectRatio":"62.5%"}},this._sourceSet?t("picture",null,this._sourceSet.map((i=>t("source",{srcSet:i.src,media:i.media,type:i.type,sizes:i.sizes?i.sizes:""}))),t("img",{loading:this.disableLazy?"eager":"lazy","aria-hidden":"true",src:this.imageUrl,alt:this.imageAlt})):t("img",{loading:this.disableLazy?"eager":"lazy","aria-hidden":"true",src:this.imageUrl,alt:this.imageAlt})),!this.imageUrl&&this.showLogo&&t("div",{key:"9bb6d340f5c68d1351e79bc99e50b5a24dde1cc2","aria-hidden":"true",class:"hy-link-box__image-container is-image-missing"},t("hy-icon",{key:"8077a642704366f4ecbf951ffc4c9d86edec47cc",class:{"hy-site-logo__icon":!0},icon:"hy-icon-hy-logo"})),t("div",{key:"69dac608e446585af251ea70e12a6079a80de312",class:n},t("h3",{key:"ec3a4c3c5468dd8cfa832b32c9b2e5de93dbbccb",class:a},this.textTitle),this.textDescription&&t("p",{key:"2287836632c27b812675f97c2a326c5c6688ffba",class:o},this.textDescription.length>=141?this.textDescription.slice(0,140)+"...":this.textDescription))),t("a",{key:"e6a1f88304688d2393174f74a75d6074eec3df88","aria-label":this.scLabel||`${this.readMoreLabel} - ${this.textTitle}`,title:this.scLabel||`${this.readMoreLabel} - ${this.textTitle}`,href:this.url,target:s,class:"hy-cta-link hy-cta-link--default"},t("span",{key:"bb5b4dd980f55b67dea7c06baca3c56dd08c79d0","aria-hidden":"true"}),t("span",{key:"9b43019cd8d8a60b54d751144958b76fc021d3fb"},this.readMoreLabel),t("span",{key:"ffddc98795e5810d3a05ba593f3063169774f892",class:"hy-cta-link__icon "+(this.isExternal?"hy-cta-link__icon--external":"")},t("hy-icon",{key:"21accddb6e934ac38507e8fe0b3f6f5990581531",icon:"hy-icon-arrow-to-right",size:24}))))]}get el(){return e(this)}static get watchers(){return{sourceSet:["srcSetWatcher"]}}};s.style='*{-webkit-box-sizing:border-box;box-sizing:border-box}:host{height:100%}.hy-link-box-container{background:var(--grayscale-background-box);width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:100%;position:relative}.hy-link-box-container:focus-within{outline:auto}.hy-link-box-container:hover{cursor:pointer}.hy-link-box-container:hover .hy-link-box__text-container__title{color:var(--brand-main);text-decoration:underline}.hy-link-box-container:hover .hy-cta-link{text-decoration:underline}.hy-link-box-container:hover .hy-cta-link .hy-cta-link__icon{background-color:var(--brand-main)}.hy-link-box-container .hy-cta-link{font-weight:600;font-size:1rem;line-height:24px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--brand-main);display:inline-grid;font-family:var(--main-font-family);gap:16px;grid-auto-flow:column;letter-spacing:-0.5px;overflow:hidden;text-decoration:none;margin:0 -8px 24px 0;align-self:flex-end}.hy-link-box-container .hy-cta-link span[aria-hidden=true]{position:absolute;inset:0}.hy-link-box-container .hy-cta-link:focus{outline:none}.hy-link-box-container .hy-cta-link__icon{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brand-main-light);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:40px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:40px}.hy-link-box-container .hy-cta-link__icon svg{fill:var(--grayscale-white)}.hy-link-box-container .hy-cta-link__icon--external svg{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.hy-link-box__image-container{margin:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;min-height:10rem;position:relative}.hy-link-box__image-container:before{content:"";display:block;padding-top:62.5%;width:100%}.hy-link-box__image-container img{bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.hy-link-box__image-container.is-image-missing svg{position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);left:50%;width:85px;height:auto;fill:#d2d2d2}.hy-link-box__text-container{padding:16px}.hy-link-box__text-container__title{font-size:1.3125rem;line-height:28px;font-weight:700;color:var(--brand-main-nearly-black);font-family:var(--main-font-family);letter-spacing:-0.42px;-ms-hyphens:auto;hyphens:auto;word-break:break-word;margin:0 0 16px;text-wrap:balance}@media screen and (min-width: 1024px){.hy-link-box__text-container__title{font-size:1.5625rem;line-height:32px;letter-spacing:-0.5px}}.hy-link-box__text-container__description{font-size:0.9375rem;line-height:22px;color:var(--grayscale-black);font-family:var(--main-font-family);margin:0;text-wrap:pretty}@media screen and (min-width: 1024px){.hy-link-box__text-container__description{font-size:1.0625rem;line-height:26px}}';const l=class{constructor(t){i(this,t),this.headerstyle="common",this.variant=a.default,this.readMoreLabel=void 0,this.dataItems=void 0}async componentWillLoad(){this._dataItems=await o(this.dataItems)}componentDidLoad(){let i=this.el.closest(".hy-main");i&&(i.classList.contains("with-sidebar")||(this.headerstyle="large"))}render(){const i=["hy-link-box-list",this.variant,`hy-link-box-list__${this.variant}`,`hy-link-box-list__${this.headerstyle}`].join(" "),e=[this.variant,`hy-link-box__${this.variant}`].join(" ");return t(n,{key:"e03e2f8c30348873286da0eee4d71593a04f0f41"},t("ul",{key:"8d01eac632b7b94df38f38dd029b329b14569ade",class:i},this._dataItems.map((i=>t("li",null,t("hy-link-box",{class:e,variant:this.variant,"source-set":i.imageSets,"image-url":i.imageUrl,"image-alt":i.imageAlt,"text-title":i.heading,"text-description":i.description,"show-logo":i.showLogo,url:i.boxUrl,"is-external":i.isExternal,"sc-label":i.ariaLabel,"read-more-label":this.readMoreLabel}))))),t("hy-box",{key:"2ed3ba6e604b1976c2d108584606a295c1a3fdbf",mb:"1.75, 1.75, 2, 2.5"}))}get el(){return e(this)}};l.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}:host{display:block}.hy-link-box-list{padding:0;margin:0;list-style:none;display:grid;gap:32px 0}@media screen and (min-width: 768px){.hy-link-box-list{grid-template-columns:repeat(2, 1fr);gap:32px 24px}}@media screen and (min-width: 1024px){.hy-link-box-list{grid-template-columns:repeat(3, 1fr)}}@media screen and (min-width: 1920px){.hy-link-box-list{gap:32px}}";export{s as hy_link_box,l as hy_link_box_list}
|
|
1
|
+
import{r as i,h as t,g as e,H as n}from"./index-2ffe17c9.js";import{l as a}from"./utils-1e7f5184.js";import{j as o}from"./globalScript-7f6ce018.js";const s=class{constructor(t){i(this,t),this.variant=a.default,this.imageUrl=null,this.imageAlt=null,this.disableLazy=!1,this.useSlot=!1,this.showLogo=!1,this.textTitle=void 0,this.textDescription=null,this.url=void 0,this.isExternal=!1,this.scLabel=void 0,this.readMoreLabel=void 0,this.headerstyle="common",this.sourceSet=void 0}srcSetWatcher(i){this._sourceSet="string"==typeof i?JSON.parse(i):i}componentWillLoad(){this.srcSetWatcher(this.sourceSet)}componentDidLoad(){let i=this.el.closest(".hy-main");i&&(i.classList.contains("with-sidebar")||(this.headerstyle="large"))}render(){const i=["hy-link-box-container"].join(" "),e=["hy-link-box",this.variant,`hy-link-box__${this.variant}`,this.headerstyle,`hy-link-box__${this.headerstyle}`,this.imageUrl?"hy-link-box--with-image":null].join(" "),n=["hy-link-box__text-container",this.imageUrl?"hy-link-box--with-image":null].join(" "),a=["hy-link-box__text-container__title",`hy-link-box__text-container__title__${this.variant}`,`hy-link-box__text-container__title__${this.headerstyle}`,this.imageUrl?"hy-link-box__text-container__title__image":"",this.imageUrl?"image":""].join(" "),o=["hy-link-box__text-container__description",`hy-link-box__text-container__description__${this.variant}`,`hy-link-box__text-container__description__${this.headerstyle}`].join(" "),s=this.isExternal?"_blank":"_self";return[t("article",{key:"d66398c2e146bdfb114a7df6e9ac9a46e0bb1181",class:i},t("div",{key:"034dbd08272bf8d14646c61f100c328643309730",class:e},this.imageUrl&&t("figure",{class:"hy-link-box__image-container",style:{"--aspectRatio":"62.5%"}},this._sourceSet?t("picture",null,this._sourceSet.map((i=>t("source",{srcSet:i.src,media:i.media,type:i.type,sizes:i.sizes?i.sizes:""}))),t("img",{loading:this.disableLazy?"eager":"lazy","aria-hidden":"true",src:this.imageUrl,alt:this.imageAlt})):t("img",{loading:this.disableLazy?"eager":"lazy","aria-hidden":"true",src:this.imageUrl,alt:this.imageAlt})),!this.imageUrl&&this.showLogo&&t("div",{key:"9bb6d340f5c68d1351e79bc99e50b5a24dde1cc2","aria-hidden":"true",class:"hy-link-box__image-container is-image-missing"},t("hy-icon",{key:"8077a642704366f4ecbf951ffc4c9d86edec47cc",class:{"hy-site-logo__icon":!0},icon:"hy-icon-hy-logo"})),t("div",{key:"69dac608e446585af251ea70e12a6079a80de312",class:n},t("h3",{key:"ec3a4c3c5468dd8cfa832b32c9b2e5de93dbbccb",class:a},this.textTitle),this.textDescription&&t("p",{key:"2287836632c27b812675f97c2a326c5c6688ffba",class:o},this.textDescription.length>=141?this.textDescription.slice(0,140)+"...":this.textDescription))),t("a",{key:"e6a1f88304688d2393174f74a75d6074eec3df88","aria-label":this.scLabel||`${this.readMoreLabel} - ${this.textTitle}`,title:this.scLabel||`${this.readMoreLabel} - ${this.textTitle}`,href:this.url,target:s,class:"hy-cta-link hy-cta-link--default"},t("span",{key:"bb5b4dd980f55b67dea7c06baca3c56dd08c79d0","aria-hidden":"true"}),t("span",{key:"9b43019cd8d8a60b54d751144958b76fc021d3fb"},this.readMoreLabel),t("span",{key:"ffddc98795e5810d3a05ba593f3063169774f892",class:"hy-cta-link__icon "+(this.isExternal?"hy-cta-link__icon--external":"")},t("hy-icon",{key:"21accddb6e934ac38507e8fe0b3f6f5990581531",icon:"hy-icon-arrow-to-right",size:24}))))]}get el(){return e(this)}static get watchers(){return{sourceSet:["srcSetWatcher"]}}};s.style='*{-webkit-box-sizing:border-box;box-sizing:border-box}:host{height:100%}.hy-link-box-container{background:var(--grayscale-background-box);width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:100%;position:relative}.hy-link-box-container:focus-within{outline:auto}.hy-link-box-container:hover{cursor:pointer}.hy-link-box-container:hover .hy-link-box__text-container__title{color:var(--brand-main);text-decoration:underline}.hy-link-box-container:hover .hy-cta-link{text-decoration:underline}.hy-link-box-container:hover .hy-cta-link .hy-cta-link__icon{background-color:var(--brand-main)}.hy-link-box-container .hy-cta-link{font-weight:600;font-size:1rem;line-height:24px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--brand-main);display:inline-grid;font-family:var(--main-font-family);gap:16px;grid-auto-flow:column;letter-spacing:-0.5px;overflow:hidden;text-decoration:none;margin:0 -8px 24px 0;align-self:flex-end}.hy-link-box-container .hy-cta-link span[aria-hidden=true]{position:absolute;inset:0}.hy-link-box-container .hy-cta-link:focus{outline:none}.hy-link-box-container .hy-cta-link__icon{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brand-main-light);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:40px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:40px}.hy-link-box-container .hy-cta-link__icon svg{fill:var(--grayscale-white)}.hy-link-box-container .hy-cta-link__icon--external svg{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.hy-link-box__image-container{margin:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;min-height:10rem;position:relative}.hy-link-box__image-container:before{content:"";display:block;padding-top:62.5%;width:100%}.hy-link-box__image-container img{bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.hy-link-box__image-container.is-image-missing svg{position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);left:50%;width:85px;height:auto;fill:#d2d2d2}.hy-link-box__text-container{padding:16px}.hy-link-box__text-container__title{font-size:1.3125rem;line-height:28px;font-weight:700;color:var(--brand-main-nearly-black);font-family:var(--main-font-family);letter-spacing:-0.42px;-ms-hyphens:auto;hyphens:auto;word-break:break-word;margin:0 0 16px;text-wrap:balance}@media screen and (min-width: 1024px){.hy-link-box__text-container__title{font-size:1.5625rem;line-height:32px;letter-spacing:-0.5px}}.hy-link-box__text-container__description{font-size:0.9375rem;line-height:22px;color:var(--grayscale-black);font-family:var(--main-font-family);-ms-hyphens:auto;hyphens:auto;margin:0;text-wrap:pretty}@media screen and (min-width: 1024px){.hy-link-box__text-container__description{font-size:1.0625rem;line-height:26px}}';const l=class{constructor(t){i(this,t),this.headerstyle="common",this.variant=a.default,this.readMoreLabel=void 0,this.dataItems=void 0}async componentWillLoad(){this._dataItems=await o(this.dataItems)}componentDidLoad(){let i=this.el.closest(".hy-main");i&&(i.classList.contains("with-sidebar")||(this.headerstyle="large"))}render(){const i=["hy-link-box-list",this.variant,`hy-link-box-list__${this.variant}`,`hy-link-box-list__${this.headerstyle}`].join(" "),e=[this.variant,`hy-link-box__${this.variant}`].join(" ");return t(n,{key:"e03e2f8c30348873286da0eee4d71593a04f0f41"},t("ul",{key:"8d01eac632b7b94df38f38dd029b329b14569ade",class:i},this._dataItems.map((i=>t("li",null,t("hy-link-box",{class:e,variant:this.variant,"source-set":i.imageSets,"image-url":i.imageUrl,"image-alt":i.imageAlt,"text-title":i.heading,"text-description":i.description,"show-logo":i.showLogo,url:i.boxUrl,"is-external":i.isExternal,"sc-label":i.ariaLabel,"read-more-label":this.readMoreLabel}))))),t("hy-box",{key:"2ed3ba6e604b1976c2d108584606a295c1a3fdbf",mb:"1.75, 1.75, 2, 2.5"}))}get el(){return e(this)}};l.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}:host{display:block}.hy-link-box-list{padding:0;margin:0;list-style:none;display:grid;gap:32px 0}@media screen and (min-width: 768px){.hy-link-box-list{grid-template-columns:repeat(2, minmax(0, 1fr));gap:32px 24px}}@media screen and (min-width: 1024px){.hy-link-box-list{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media screen and (min-width: 1920px){.hy-link-box-list{gap:32px}}";export{s as hy_link_box,l as hy_link_box_list}
|
|
@@ -950,6 +950,10 @@ export namespace Components {
|
|
|
950
950
|
"fill": string;
|
|
951
951
|
"size": string;
|
|
952
952
|
}
|
|
953
|
+
interface HyIconSomeTiktok {
|
|
954
|
+
"fill": string;
|
|
955
|
+
"size": string;
|
|
956
|
+
}
|
|
953
957
|
interface HyIconSomeTwitter {
|
|
954
958
|
"fill": string;
|
|
955
959
|
"size": string;
|
|
@@ -982,10 +986,6 @@ export namespace Components {
|
|
|
982
986
|
"fill": string;
|
|
983
987
|
"size": string;
|
|
984
988
|
}
|
|
985
|
-
interface HyIconTwitter {
|
|
986
|
-
"fill": string;
|
|
987
|
-
"size": string;
|
|
988
|
-
}
|
|
989
989
|
interface HyIconTwitterLike {
|
|
990
990
|
"fill": string;
|
|
991
991
|
"size": string;
|
|
@@ -2385,6 +2385,12 @@ declare global {
|
|
|
2385
2385
|
prototype: HTMLHyIconSomeLinkedinElement;
|
|
2386
2386
|
new (): HTMLHyIconSomeLinkedinElement;
|
|
2387
2387
|
};
|
|
2388
|
+
interface HTMLHyIconSomeTiktokElement extends Components.HyIconSomeTiktok, HTMLStencilElement {
|
|
2389
|
+
}
|
|
2390
|
+
var HTMLHyIconSomeTiktokElement: {
|
|
2391
|
+
prototype: HTMLHyIconSomeTiktokElement;
|
|
2392
|
+
new (): HTMLHyIconSomeTiktokElement;
|
|
2393
|
+
};
|
|
2388
2394
|
interface HTMLHyIconSomeTwitterElement extends Components.HyIconSomeTwitter, HTMLStencilElement {
|
|
2389
2395
|
}
|
|
2390
2396
|
var HTMLHyIconSomeTwitterElement: {
|
|
@@ -2433,12 +2439,6 @@ declare global {
|
|
|
2433
2439
|
prototype: HTMLHyIconTourElement;
|
|
2434
2440
|
new (): HTMLHyIconTourElement;
|
|
2435
2441
|
};
|
|
2436
|
-
interface HTMLHyIconTwitterElement extends Components.HyIconTwitter, HTMLStencilElement {
|
|
2437
|
-
}
|
|
2438
|
-
var HTMLHyIconTwitterElement: {
|
|
2439
|
-
prototype: HTMLHyIconTwitterElement;
|
|
2440
|
-
new (): HTMLHyIconTwitterElement;
|
|
2441
|
-
};
|
|
2442
2442
|
interface HTMLHyIconTwitterLikeElement extends Components.HyIconTwitterLike, HTMLStencilElement {
|
|
2443
2443
|
}
|
|
2444
2444
|
var HTMLHyIconTwitterLikeElement: {
|
|
@@ -2980,6 +2980,7 @@ declare global {
|
|
|
2980
2980
|
"hy-icon-some-facebook": HTMLHyIconSomeFacebookElement;
|
|
2981
2981
|
"hy-icon-some-instagram": HTMLHyIconSomeInstagramElement;
|
|
2982
2982
|
"hy-icon-some-linkedin": HTMLHyIconSomeLinkedinElement;
|
|
2983
|
+
"hy-icon-some-tiktok": HTMLHyIconSomeTiktokElement;
|
|
2983
2984
|
"hy-icon-some-twitter": HTMLHyIconSomeTwitterElement;
|
|
2984
2985
|
"hy-icon-some-youtube": HTMLHyIconSomeYoutubeElement;
|
|
2985
2986
|
"hy-icon-spinner": HTMLHyIconSpinnerElement;
|
|
@@ -2988,7 +2989,6 @@ declare global {
|
|
|
2988
2989
|
"hy-icon-time": HTMLHyIconTimeElement;
|
|
2989
2990
|
"hy-icon-todo-list": HTMLHyIconTodoListElement;
|
|
2990
2991
|
"hy-icon-tour": HTMLHyIconTourElement;
|
|
2991
|
-
"hy-icon-twitter": HTMLHyIconTwitterElement;
|
|
2992
2992
|
"hy-icon-twitter-like": HTMLHyIconTwitterLikeElement;
|
|
2993
2993
|
"hy-icon-units-and-faculties": HTMLHyIconUnitsAndFacultiesElement;
|
|
2994
2994
|
"hy-icon-url": HTMLHyIconUrlElement;
|
|
@@ -3935,6 +3935,10 @@ declare namespace LocalJSX {
|
|
|
3935
3935
|
"fill"?: string;
|
|
3936
3936
|
"size"?: string;
|
|
3937
3937
|
}
|
|
3938
|
+
interface HyIconSomeTiktok {
|
|
3939
|
+
"fill"?: string;
|
|
3940
|
+
"size"?: string;
|
|
3941
|
+
}
|
|
3938
3942
|
interface HyIconSomeTwitter {
|
|
3939
3943
|
"fill"?: string;
|
|
3940
3944
|
"size"?: string;
|
|
@@ -3967,10 +3971,6 @@ declare namespace LocalJSX {
|
|
|
3967
3971
|
"fill"?: string;
|
|
3968
3972
|
"size"?: string;
|
|
3969
3973
|
}
|
|
3970
|
-
interface HyIconTwitter {
|
|
3971
|
-
"fill"?: string;
|
|
3972
|
-
"size"?: string;
|
|
3973
|
-
}
|
|
3974
3974
|
interface HyIconTwitterLike {
|
|
3975
3975
|
"fill"?: string;
|
|
3976
3976
|
"size"?: string;
|
|
@@ -4593,6 +4593,7 @@ declare namespace LocalJSX {
|
|
|
4593
4593
|
"hy-icon-some-facebook": HyIconSomeFacebook;
|
|
4594
4594
|
"hy-icon-some-instagram": HyIconSomeInstagram;
|
|
4595
4595
|
"hy-icon-some-linkedin": HyIconSomeLinkedin;
|
|
4596
|
+
"hy-icon-some-tiktok": HyIconSomeTiktok;
|
|
4596
4597
|
"hy-icon-some-twitter": HyIconSomeTwitter;
|
|
4597
4598
|
"hy-icon-some-youtube": HyIconSomeYoutube;
|
|
4598
4599
|
"hy-icon-spinner": HyIconSpinner;
|
|
@@ -4601,7 +4602,6 @@ declare namespace LocalJSX {
|
|
|
4601
4602
|
"hy-icon-time": HyIconTime;
|
|
4602
4603
|
"hy-icon-todo-list": HyIconTodoList;
|
|
4603
4604
|
"hy-icon-tour": HyIconTour;
|
|
4604
|
-
"hy-icon-twitter": HyIconTwitter;
|
|
4605
4605
|
"hy-icon-twitter-like": HyIconTwitterLike;
|
|
4606
4606
|
"hy-icon-units-and-faculties": HyIconUnitsAndFaculties;
|
|
4607
4607
|
"hy-icon-url": HyIconUrl;
|
|
@@ -4815,6 +4815,7 @@ declare module "@stencil/core" {
|
|
|
4815
4815
|
"hy-icon-some-facebook": LocalJSX.HyIconSomeFacebook & JSXBase.HTMLAttributes<HTMLHyIconSomeFacebookElement>;
|
|
4816
4816
|
"hy-icon-some-instagram": LocalJSX.HyIconSomeInstagram & JSXBase.HTMLAttributes<HTMLHyIconSomeInstagramElement>;
|
|
4817
4817
|
"hy-icon-some-linkedin": LocalJSX.HyIconSomeLinkedin & JSXBase.HTMLAttributes<HTMLHyIconSomeLinkedinElement>;
|
|
4818
|
+
"hy-icon-some-tiktok": LocalJSX.HyIconSomeTiktok & JSXBase.HTMLAttributes<HTMLHyIconSomeTiktokElement>;
|
|
4818
4819
|
"hy-icon-some-twitter": LocalJSX.HyIconSomeTwitter & JSXBase.HTMLAttributes<HTMLHyIconSomeTwitterElement>;
|
|
4819
4820
|
"hy-icon-some-youtube": LocalJSX.HyIconSomeYoutube & JSXBase.HTMLAttributes<HTMLHyIconSomeYoutubeElement>;
|
|
4820
4821
|
"hy-icon-spinner": LocalJSX.HyIconSpinner & JSXBase.HTMLAttributes<HTMLHyIconSpinnerElement>;
|
|
@@ -4823,7 +4824,6 @@ declare module "@stencil/core" {
|
|
|
4823
4824
|
"hy-icon-time": LocalJSX.HyIconTime & JSXBase.HTMLAttributes<HTMLHyIconTimeElement>;
|
|
4824
4825
|
"hy-icon-todo-list": LocalJSX.HyIconTodoList & JSXBase.HTMLAttributes<HTMLHyIconTodoListElement>;
|
|
4825
4826
|
"hy-icon-tour": LocalJSX.HyIconTour & JSXBase.HTMLAttributes<HTMLHyIconTourElement>;
|
|
4826
|
-
"hy-icon-twitter": LocalJSX.HyIconTwitter & JSXBase.HTMLAttributes<HTMLHyIconTwitterElement>;
|
|
4827
4827
|
"hy-icon-twitter-like": LocalJSX.HyIconTwitterLike & JSXBase.HTMLAttributes<HTMLHyIconTwitterLikeElement>;
|
|
4828
4828
|
"hy-icon-units-and-faculties": LocalJSX.HyIconUnitsAndFaculties & JSXBase.HTMLAttributes<HTMLHyIconUnitsAndFacultiesElement>;
|
|
4829
4829
|
"hy-icon-url": LocalJSX.HyIconUrl & JSXBase.HTMLAttributes<HTMLHyIconUrlElement>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcenteratunihelsinki/huds-lib",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.88",
|
|
4
4
|
"description": "Helsinki University Design System library",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
23
23
|
"test.treeshake": "node scripts/treeshaking.js dist/index.js",
|
|
24
24
|
"generate": "stencil generate",
|
|
25
|
+
"generate-icons": "node ./scripts/generate-icons.js",
|
|
25
26
|
"watchdocs": "node watchdocs.js",
|
|
26
27
|
"build.watch": "stencil build --docs --watch --serve"
|
|
27
28
|
},
|
|
@@ -70,5 +71,5 @@
|
|
|
70
71
|
"pre-commit": "pretty-quick --staged"
|
|
71
72
|
}
|
|
72
73
|
},
|
|
73
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "c49929b1de0e0295c99ecce5f8de912fab7ff7c5"
|
|
74
75
|
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, c as Host } from './index3.js';
|
|
2
|
-
|
|
3
|
-
const Twitter = /*@__PURE__*/ proxyCustomElement(class Twitter extends H {
|
|
4
|
-
constructor() {
|
|
5
|
-
super();
|
|
6
|
-
this.__registerHost();
|
|
7
|
-
this.size = '24px';
|
|
8
|
-
this.fill = 'currentColor';
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
return (h(Host, { key: '93855994e4c562370351382250a2c4cc434edf2c', style: { 'display': 'flex' } }, h("svg", { key: 'ee77f8b8443d2ade84ca314942adcc78cd551a4c', viewBox: "0 0 1000 1000", width: this.size, height: this.size, fill: this.fill }, h("path", { key: '5b9a4d3c7a35b8208c520daf8d2d6e4ea81b60ab', d: "M113 748h1-1q39 5 77 0 85-9 155-64l2-1q1 0 1-2h-19q-46-8-79-36t-50-71q0-2 1-3t2 0q24 5 52 0 10 0 13-3h-3q-53-13-94-65-29-38-29-90 0-3 1-3h2q32 13 49 16 3 0 9 1l7 2q0-2-2-3h-2q-18-14-32-32-24-35-31-73t5-76l10-19 7-16q0-3 2-3t1 3q32 38 51 55 74 64 171 93 34 10 94 16 5 0 6-1t-3-5q-5-25 0-55 7-49 39-87t77-49q5-1 14-3t12-3h32q54 5 94 45 3 3 10 3 41-8 90-35l1-1q2-1 2 1v3q-22 54-61 81h-2q-1 1-1 3 38-4 87-26v3l-4 4q-32 48-71 74-3 3-3 9v30q0 22-6 54-12 80-48 149t-94 126q-40 40-97 71-77 43-190 48-52 0-78-3-91-14-177-65 2 4 1 4z" }))));
|
|
12
|
-
}
|
|
13
|
-
}, [0, "hy-icon-twitter", {
|
|
14
|
-
"size": [1],
|
|
15
|
-
"fill": [1]
|
|
16
|
-
}]);
|
|
17
|
-
function defineCustomElement$1() {
|
|
18
|
-
if (typeof customElements === "undefined") {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
const components = ["hy-icon-twitter"];
|
|
22
|
-
components.forEach(tagName => { switch (tagName) {
|
|
23
|
-
case "hy-icon-twitter":
|
|
24
|
-
if (!customElements.get(tagName)) {
|
|
25
|
-
customElements.define(tagName, Twitter);
|
|
26
|
-
}
|
|
27
|
-
break;
|
|
28
|
-
} });
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
const HyIconTwitter = Twitter;
|
|
32
|
-
const defineCustomElement = defineCustomElement$1;
|
|
33
|
-
|
|
34
|
-
export { HyIconTwitter, defineCustomElement };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-701b1b84.js');
|
|
6
|
-
|
|
7
|
-
const Twitter = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
index.registerInstance(this, hostRef);
|
|
10
|
-
this.size = '24px';
|
|
11
|
-
this.fill = 'currentColor';
|
|
12
|
-
}
|
|
13
|
-
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '93855994e4c562370351382250a2c4cc434edf2c', style: { 'display': 'flex' } }, index.h("svg", { key: 'ee77f8b8443d2ade84ca314942adcc78cd551a4c', viewBox: "0 0 1000 1000", width: this.size, height: this.size, fill: this.fill }, index.h("path", { key: '5b9a4d3c7a35b8208c520daf8d2d6e4ea81b60ab', d: "M113 748h1-1q39 5 77 0 85-9 155-64l2-1q1 0 1-2h-19q-46-8-79-36t-50-71q0-2 1-3t2 0q24 5 52 0 10 0 13-3h-3q-53-13-94-65-29-38-29-90 0-3 1-3h2q32 13 49 16 3 0 9 1l7 2q0-2-2-3h-2q-18-14-32-32-24-35-31-73t5-76l10-19 7-16q0-3 2-3t1 3q32 38 51 55 74 64 171 93 34 10 94 16 5 0 6-1t-3-5q-5-25 0-55 7-49 39-87t77-49q5-1 14-3t12-3h32q54 5 94 45 3 3 10 3 41-8 90-35l1-1q2-1 2 1v3q-22 54-61 81h-2q-1 1-1 3 38-4 87-26v3l-4 4q-32 48-71 74-3 3-3 9v30q0 22-6 54-12 80-48 149t-94 126q-40 40-97 71-77 43-190 48-52 0-78-3-91-14-177-65 2 4 1 4z" }))));
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
exports.hy_icon_twitter = Twitter;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { h, Host } from "@stencil/core";
|
|
2
|
-
export class Twitter {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.size = '24px';
|
|
5
|
-
this.fill = 'currentColor';
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return (h(Host, { key: '93855994e4c562370351382250a2c4cc434edf2c', style: { 'display': 'flex' } }, h("svg", { key: 'ee77f8b8443d2ade84ca314942adcc78cd551a4c', viewBox: "0 0 1000 1000", width: this.size, height: this.size, fill: this.fill }, h("path", { key: '5b9a4d3c7a35b8208c520daf8d2d6e4ea81b60ab', d: "M113 748h1-1q39 5 77 0 85-9 155-64l2-1q1 0 1-2h-19q-46-8-79-36t-50-71q0-2 1-3t2 0q24 5 52 0 10 0 13-3h-3q-53-13-94-65-29-38-29-90 0-3 1-3h2q32 13 49 16 3 0 9 1l7 2q0-2-2-3h-2q-18-14-32-32-24-35-31-73t5-76l10-19 7-16q0-3 2-3t1 3q32 38 51 55 74 64 171 93 34 10 94 16 5 0 6-1t-3-5q-5-25 0-55 7-49 39-87t77-49q5-1 14-3t12-3h32q54 5 94 45 3 3 10 3 41-8 90-35l1-1q2-1 2 1v3q-22 54-61 81h-2q-1 1-1 3 38-4 87-26v3l-4 4q-32 48-71 74-3 3-3 9v30q0 22-6 54-12 80-48 149t-94 126q-40 40-97 71-77 43-190 48-52 0-78-3-91-14-177-65 2 4 1 4z" }))));
|
|
9
|
-
}
|
|
10
|
-
static get is() { return "hy-icon-twitter"; }
|
|
11
|
-
static get properties() {
|
|
12
|
-
return {
|
|
13
|
-
"size": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"mutable": false,
|
|
16
|
-
"complexType": {
|
|
17
|
-
"original": "string",
|
|
18
|
-
"resolved": "string",
|
|
19
|
-
"references": {}
|
|
20
|
-
},
|
|
21
|
-
"required": false,
|
|
22
|
-
"optional": false,
|
|
23
|
-
"docs": {
|
|
24
|
-
"tags": [],
|
|
25
|
-
"text": ""
|
|
26
|
-
},
|
|
27
|
-
"attribute": "size",
|
|
28
|
-
"reflect": false,
|
|
29
|
-
"defaultValue": "'24px'"
|
|
30
|
-
},
|
|
31
|
-
"fill": {
|
|
32
|
-
"type": "string",
|
|
33
|
-
"mutable": false,
|
|
34
|
-
"complexType": {
|
|
35
|
-
"original": "string",
|
|
36
|
-
"resolved": "string",
|
|
37
|
-
"references": {}
|
|
38
|
-
},
|
|
39
|
-
"required": false,
|
|
40
|
-
"optional": false,
|
|
41
|
-
"docs": {
|
|
42
|
-
"tags": [],
|
|
43
|
-
"text": ""
|
|
44
|
-
},
|
|
45
|
-
"attribute": "fill",
|
|
46
|
-
"reflect": false,
|
|
47
|
-
"defaultValue": "'currentColor'"
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 56 56">
|
|
2
|
-
<path
|
|
3
|
-
class="cls-1"
|
|
4
|
-
d="M56,28A28,28,0,1,1,28,0,28,28,0,0,1,56,28ZM22.88,42.77c12.41,0,19.2-10.29,19.2-19.21,0-.3,0-.59,0-.87a13.68,13.68,0,0,0,3.37-3.5,13.43,13.43,0,0,1-3.87,1.06,6.71,6.71,0,0,0,3-3.73,13.42,13.42,0,0,1-4.28,1.63,6.76,6.76,0,0,0-11.68,4.62,6,6,0,0,0,.19,1.54,19.13,19.13,0,0,1-13.92-7,6.79,6.79,0,0,0-.91,3.39,6.72,6.72,0,0,0,3,5.61,6.68,6.68,0,0,1-3.05-.84v.08a6.76,6.76,0,0,0,5.42,6.63,7,7,0,0,1-1.78.23,6.77,6.77,0,0,1-1.28-.12,6.75,6.75,0,0,0,6.3,4.69,13.6,13.6,0,0,1-8.38,2.88,12.21,12.21,0,0,1-1.61-.1,18.74,18.74,0,0,0,10.32,3.06"
|
|
5
|
-
/>
|
|
6
|
-
</svg>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-2ffe17c9.js';
|
|
2
|
-
|
|
3
|
-
const Twitter = class {
|
|
4
|
-
constructor(hostRef) {
|
|
5
|
-
registerInstance(this, hostRef);
|
|
6
|
-
this.size = '24px';
|
|
7
|
-
this.fill = 'currentColor';
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
return (h(Host, { key: '93855994e4c562370351382250a2c4cc434edf2c', style: { 'display': 'flex' } }, h("svg", { key: 'ee77f8b8443d2ade84ca314942adcc78cd551a4c', viewBox: "0 0 1000 1000", width: this.size, height: this.size, fill: this.fill }, h("path", { key: '5b9a4d3c7a35b8208c520daf8d2d6e4ea81b60ab', d: "M113 748h1-1q39 5 77 0 85-9 155-64l2-1q1 0 1-2h-19q-46-8-79-36t-50-71q0-2 1-3t2 0q24 5 52 0 10 0 13-3h-3q-53-13-94-65-29-38-29-90 0-3 1-3h2q32 13 49 16 3 0 9 1l7 2q0-2-2-3h-2q-18-14-32-32-24-35-31-73t5-76l10-19 7-16q0-3 2-3t1 3q32 38 51 55 74 64 171 93 34 10 94 16 5 0 6-1t-3-5q-5-25 0-55 7-49 39-87t77-49q5-1 14-3t12-3h32q54 5 94 45 3 3 10 3 41-8 90-35l1-1q2-1 2 1v3q-22 54-61 81h-2q-1 1-1 3 38-4 87-26v3l-4 4q-32 48-71 74-3 3-3 9v30q0 22-6 54-12 80-48 149t-94 126q-40 40-97 71-77 43-190 48-52 0-78-3-91-14-177-65 2 4 1 4z" }))));
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export { Twitter as hy_icon_twitter };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as q}from"./index-2ffe17c9.js";const c=class{constructor(e){t(this,e),this.size="24px",this.fill="currentColor"}render(){return e(q,{key:"93855994e4c562370351382250a2c4cc434edf2c",style:{display:"flex"}},e("svg",{key:"ee77f8b8443d2ade84ca314942adcc78cd551a4c",viewBox:"0 0 1000 1000",width:this.size,height:this.size,fill:this.fill},e("path",{key:"5b9a4d3c7a35b8208c520daf8d2d6e4ea81b60ab",d:"M113 748h1-1q39 5 77 0 85-9 155-64l2-1q1 0 1-2h-19q-46-8-79-36t-50-71q0-2 1-3t2 0q24 5 52 0 10 0 13-3h-3q-53-13-94-65-29-38-29-90 0-3 1-3h2q32 13 49 16 3 0 9 1l7 2q0-2-2-3h-2q-18-14-32-32-24-35-31-73t5-76l10-19 7-16q0-3 2-3t1 3q32 38 51 55 74 64 171 93 34 10 94 16 5 0 6-1t-3-5q-5-25 0-55 7-49 39-87t77-49q5-1 14-3t12-3h32q54 5 94 45 3 3 10 3 41-8 90-35l1-1q2-1 2 1v3q-22 54-61 81h-2q-1 1-1 3 38-4 87-26v3l-4 4q-32 48-71 74-3 3-3 9v30q0 22-6 54-12 80-48 149t-94 126q-40 40-97 71-77 43-190 48-52 0-78-3-91-14-177-65 2 4 1 4z"})))}};export{c as hy_icon_twitter}
|