hr-design-system-handlebars 0.42.3 → 0.42.4
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/CHANGELOG.md +12 -0
- package/dist/assets/index.css +8 -8
- package/dist/views/components/Teaser/Teaser-standard.hbs +3 -3
- package/package.json +1 -1
- package/src/stories/views/components/Teaser/Teaser-standard.hbs +3 -3
- package/src/stories/views/components/Teaser/data/teaser_standard_sm_serif.json +2 -2
- package/tailwind.config.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.42.4 (Tue Apr 12 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- responsiveImage 2.1 [#213](https://github.com/mumprod/hr-design-system-handlebars/pull/213) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.42.3 (Tue Apr 12 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1411,7 +1411,7 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1411
1411
|
padding-top: 0.75rem;
|
|
1412
1412
|
padding-bottom: 0.75rem;
|
|
1413
1413
|
font-size: 1.125rem;
|
|
1414
|
-
line-height: 1.
|
|
1414
|
+
line-height: 1.5rem;
|
|
1415
1415
|
}
|
|
1416
1416
|
.sr-only {
|
|
1417
1417
|
position: absolute;
|
|
@@ -1689,13 +1689,13 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1689
1689
|
-ms-flex-negative: 0;
|
|
1690
1690
|
flex-shrink: 0;
|
|
1691
1691
|
}
|
|
1692
|
-
.basis-
|
|
1693
|
-
-ms-flex-preferred-size:
|
|
1694
|
-
flex-basis:
|
|
1692
|
+
.basis-2\/5 {
|
|
1693
|
+
-ms-flex-preferred-size: 40%;
|
|
1694
|
+
flex-basis: 40%;
|
|
1695
1695
|
}
|
|
1696
|
-
.basis-
|
|
1697
|
-
-ms-flex-preferred-size:
|
|
1698
|
-
flex-basis:
|
|
1696
|
+
.basis-3\/5 {
|
|
1697
|
+
-ms-flex-preferred-size: 60%;
|
|
1698
|
+
flex-basis: 60%;
|
|
1699
1699
|
}
|
|
1700
1700
|
.-translate-x-1\/2 {
|
|
1701
1701
|
--tw-translate-x: -50%;
|
|
@@ -2154,7 +2154,7 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2154
2154
|
}
|
|
2155
2155
|
.text-lg {
|
|
2156
2156
|
font-size: 1.125rem;
|
|
2157
|
-
line-height: 1.
|
|
2157
|
+
line-height: 1.5rem;
|
|
2158
2158
|
}
|
|
2159
2159
|
.text-xl {
|
|
2160
2160
|
font-size: 1.25rem;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<article class="col-span-12 flex gap-y-4 gap-x-5 {{inline-switch teasersize '["sm","md","lg"]' '["px-5 md:px-0 md:col-span-3 flex-row md:flex-col","md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
2
|
-
<figure class="{{inline-switch teasersize '["sm"]' '["basis-
|
|
2
|
+
<figure class="{{inline-switch teasersize '["sm"]' '["basis-2/5 md:flex-full"]'}} ">
|
|
3
3
|
{{#>components/base/link _cssClasses="" _isAriaHidden=true _doTracking=(if this.doTracking 'true') _clickLabelPrefix1=this.realTeasersize _clickLabelPrefix2="mediaLink" }}
|
|
4
4
|
{{~> components/base/image/responsiveImage this.content.teaserImage _type=this.content.teasertype _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content mediaPlayerLoader__mediaplayerArea" ~}}
|
|
5
5
|
{{/components/base/link}}
|
|
6
6
|
</figure>
|
|
7
|
-
<div class="{{inline-switch teasersize '["sm"]' '["basis-
|
|
7
|
+
<div class="{{inline-switch teasersize '["sm"]' '["basis-3/5 md:flex-full"]'}} ">
|
|
8
8
|
<header class="md:px-0 {{inline-switch teasersize '["sm"]' '["","px-5"]'}}">
|
|
9
9
|
{{> components/Teaser/Teaser-Heading headlineTag="h2" size=teasersize font=(inline-switch serifHeading '[true, false]' '["font-headingSerif","font-heading font-bold"]') headline=title topline=topline}}
|
|
10
10
|
</header>
|
|
11
11
|
<section class="md:px-0 {{inline-switch teasersize '["sm"]' '["","px-5"]'}}">
|
|
12
|
-
<div class="hidden mt-2 text-base font-copy
|
|
12
|
+
<div class="{{inline-switch teasersize '["xxl"]' '["","hidden md:block"]'}} mt-2 text-base font-copy">{{shorttext}}</div>
|
|
13
13
|
{{#if profiles}}
|
|
14
14
|
{{> components/Teaser/Byline text=profiles}}
|
|
15
15
|
{{/if}}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"repository": "https://github.com/szuelch/hr-design-system-handlebars",
|
|
9
|
-
"version": "0.42.
|
|
9
|
+
"version": "0.42.4",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<article class="col-span-12 flex gap-y-4 gap-x-5 {{inline-switch teasersize '["sm","md","lg"]' '["px-5 md:px-0 md:col-span-3 flex-row md:flex-col","md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
2
|
-
<figure class="{{inline-switch teasersize '["sm"]' '["basis-
|
|
2
|
+
<figure class="{{inline-switch teasersize '["sm"]' '["basis-2/5 md:flex-full"]'}} ">
|
|
3
3
|
{{#>components/base/link _cssClasses="" _isAriaHidden=true _doTracking=(if this.doTracking 'true') _clickLabelPrefix1=this.realTeasersize _clickLabelPrefix2="mediaLink" }}
|
|
4
4
|
{{~> components/base/image/responsiveImage this.content.teaserImage _type=this.content.teasertype _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content mediaPlayerLoader__mediaplayerArea" ~}}
|
|
5
5
|
{{/components/base/link}}
|
|
6
6
|
</figure>
|
|
7
|
-
<div class="{{inline-switch teasersize '["sm"]' '["basis-
|
|
7
|
+
<div class="{{inline-switch teasersize '["sm"]' '["basis-3/5 md:flex-full"]'}} ">
|
|
8
8
|
<header class="md:px-0 {{inline-switch teasersize '["sm"]' '["","px-5"]'}}">
|
|
9
9
|
{{> components/Teaser/Teaser-Heading headlineTag="h2" size=teasersize font=(inline-switch serifHeading '[true, false]' '["font-headingSerif","font-heading font-bold"]') headline=title topline=topline}}
|
|
10
10
|
</header>
|
|
11
11
|
<section class="md:px-0 {{inline-switch teasersize '["sm"]' '["","px-5"]'}}">
|
|
12
|
-
<div class="hidden mt-2 text-base font-copy
|
|
12
|
+
<div class="{{inline-switch teasersize '["xxl"]' '["","hidden md:block"]'}} mt-2 text-base font-copy">{{shorttext}}</div>
|
|
13
13
|
{{#if profiles}}
|
|
14
14
|
{{> components/Teaser/Byline text=profiles}}
|
|
15
15
|
{{/if}}
|
|
@@ -116,12 +116,12 @@
|
|
|
116
116
|
{
|
|
117
117
|
"media": "all and (min-width: 43.750em) and (max-width: 63.938em)",
|
|
118
118
|
"sizes": "100vw",
|
|
119
|
-
"srcset": "https://picsum.photos/id/188/320/
|
|
119
|
+
"srcset": "https://picsum.photos/id/188/320/180 320w, https://picsum.photos/id/188/480/270 480w, https://picsum.photos/id/188/640/360 640w, https://picsum.photos/id/188/960/540 960w"
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
"media": "all and (min-width: 64em)",
|
|
123
123
|
"sizes": "960px",
|
|
124
|
-
"srcset": "https://picsum.photos/id/188/320/
|
|
124
|
+
"srcset": "https://picsum.photos/id/188/320/180 320w, https://picsum.photos/id/188/480/270 480w, https://picsum.photos/id/188/640/360 640w, https://picsum.photos/id/188/960/540 960w"
|
|
125
125
|
}
|
|
126
126
|
]
|
|
127
127
|
}
|