@itcenteratunihelsinki/huds-lib 0.9.9 → 0.11.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/components/hy-ingress.js +1 -1
- package/components/hy-person-profile.js +6 -6
- package/components/hy-two-columns.js +6 -4
- package/components/site-search.js +10 -7
- package/dist/cjs/huds-lib.cjs.js +1 -1
- package/dist/cjs/hy-breadcrumbs_15.cjs.entry.js +11 -8
- package/dist/cjs/hy-person-profile.cjs.entry.js +6 -6
- package/dist/cjs/hy-two-columns.cjs.entry.js +4 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/hy-ingress/ingress.css +4 -36
- package/dist/collection/components/hy-person-profile/person-profile.css +10 -1
- package/dist/collection/components/hy-person-profile/person-profile.js +5 -5
- package/dist/collection/components/hy-site-header/site-search/site-search.css +320 -0
- package/dist/collection/components/hy-site-header/site-search/site-search.js +9 -6
- package/dist/collection/components/hy-two-columns/hy-two-columns.css +11 -0
- package/dist/collection/components/hy-two-columns/hy-two-columns.js +21 -2
- package/dist/esm/huds-lib.js +1 -1
- package/dist/esm/hy-breadcrumbs_15.entry.js +11 -8
- package/dist/esm/hy-person-profile.entry.js +6 -6
- package/dist/esm/hy-two-columns.entry.js +4 -3
- 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-person-profile.entry.js +1 -1
- package/dist/huds-lib/hy-two-columns.entry.js +1 -1
- package/dist/types/components/hy-site-header/site-search/site-search.d.ts +1 -0
- package/dist/types/components/hy-two-columns/hy-two-columns.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as i,H as
|
|
1
|
+
import{r as e,h as i,H as o}from"./index-2ffe17c9.js";const t=class{constructor(i){e(this,i),this.reversed=!1,this.mobileReversed=!1}render(){const e=["hy-two-columns",this.reversed?"hy-two-columns--reversed":"",this.mobileReversed?"hy-two-columns--mobile-reversed":""].join(" ");return i(o,{key:"35b7ab51ce3a442279e127bfb5a13bfd7fc28ec7"},i("div",{key:"446fc388d6ea326a0cf6b6578eb45b5e3c175fbd",class:e},i("div",{key:"bd427d91a6dad1d66f7c39846d2da273fb143c31",class:"hy-two-columns__item hy-two-columns__item--main"},i("slot",{key:"576803c2ea89d7aeac4304f05aae0b10347afae4",name:"main"})),i("div",{key:"033dbddf96acce2ad1513f0069edda7385334ca4",class:"hy-two-columns__item hy-two-columns__item--side"},i("slot",{key:"e6b29529caa6b2a713822d7e2b7deae133da037a",name:"side"}))))}};t.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}:host{display:block}.hy-two-columns{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-two-columns h2,.hy-two-columns h3,.hy-two-columns h4,.hy-two-columns h5,.hy-two-columns h6{margin-top:0}.hy-two-columns p{margin-top:0}@media (min-width: 30rem){.hy-two-columns{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-two-columns--reversed{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width: 30rem){.hy-two-columns--reversed{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}.hy-two-columns--reversed .hy-two-columns__item--side{margin-left:0;margin-right:0}@media (min-width: 30rem){.hy-two-columns--reversed .hy-two-columns__item--side{margin-right:5.79%}}@media (min-width: 60rem){.hy-two-columns--reversed .hy-two-columns__item--side{margin-right:8.5%}}@media (max-width: 30rem){.hy-two-columns--mobile-reversed{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.hy-two-columns--mobile-reversed .hy-two-columns__item--side{margin-top:5.79%}}.hy-two-columns__item{width:100%}.hy-two-columns__item [slot=main]{width:100%}.hy-two-columns__item [slot=main] .hy-paragraph-text{width:100% !important}.hy-two-columns__item [slot=side]{width:100%}.hy-two-columns__item--main{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-preferred-size:100%;flex-basis:100%;width:100%}@media (min-width: 30rem){.hy-two-columns__item--main{-ms-flex-preferred-size:67.01%;flex-basis:67.01%}}@media (min-width: 60rem){.hy-two-columns__item--main{-ms-flex-preferred-size:63%;flex-basis:63%}}.hy-two-columns__item--side{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-right:0;padding-left:0;padding-right:0;width:100%}@media (min-width: 30rem){.hy-two-columns__item--side{-ms-flex-preferred-size:32.99%;flex-basis:32.99%;margin-left:5.79%}}@media (min-width: 60rem){.hy-two-columns__item--side{-ms-flex-preferred-size:37%;flex-basis:37%;margin-left:8.5%;padding:0}}.hy-two-columns__item--side hy-key-figure{padding:0 10.67%}@media (min-width: 30rem){.hy-two-columns__item--side hy-key-figure{padding:0}}";export{t as hy_two_columns}
|
|
@@ -1371,6 +1371,7 @@ export namespace Components {
|
|
|
1371
1371
|
"twitterFeedKeyword": string;
|
|
1372
1372
|
}
|
|
1373
1373
|
interface HyTwoColumns {
|
|
1374
|
+
"mobileReversed": boolean;
|
|
1374
1375
|
"reversed": boolean;
|
|
1375
1376
|
}
|
|
1376
1377
|
interface HyUserLoginForm {
|
|
@@ -4368,6 +4369,7 @@ declare namespace LocalJSX {
|
|
|
4368
4369
|
"twitterFeedKeyword"?: string;
|
|
4369
4370
|
}
|
|
4370
4371
|
interface HyTwoColumns {
|
|
4372
|
+
"mobileReversed"?: boolean;
|
|
4371
4373
|
"reversed"?: boolean;
|
|
4372
4374
|
}
|
|
4373
4375
|
interface HyUserLoginForm {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcenteratunihelsinki/huds-lib",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Helsinki University Design System library",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"pre-commit": "pretty-quick --staged"
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "3d7e7a06c3c43abc439940044d5f273ae2514979"
|
|
77
77
|
}
|