hr-design-system-handlebars 0.47.14 → 0.47.15
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 +10 -2
- package/dist/views/components/teaser/components/teaser_title_classes.hbs +5 -1
- package/dist/views/components/teaser/teaser_poster.hbs +2 -2
- package/package.json +1 -1
- package/src/stories/views/components/teaser/components/teaser_title_classes.hbs +5 -1
- package/src/stories/views/components/teaser/teaser_poster.hbs +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.47.15 (Thu Jun 23 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Posterteaser-final [#250](https://github.com/mumprod/hr-design-system-handlebars/pull/250) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.47.14 (Tue Jun 21 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1548,6 +1548,10 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1548
1548
|
margin-left: 1.25rem;
|
|
1549
1549
|
margin-right: 1.25rem;
|
|
1550
1550
|
}
|
|
1551
|
+
.mx-8 {
|
|
1552
|
+
margin-left: 2rem;
|
|
1553
|
+
margin-right: 2rem;
|
|
1554
|
+
}
|
|
1551
1555
|
.mx-px {
|
|
1552
1556
|
margin-left: 1px;
|
|
1553
1557
|
margin-right: 1px;
|
|
@@ -1573,8 +1577,8 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1573
1577
|
.-mt-10 {
|
|
1574
1578
|
margin-top: -2.5rem;
|
|
1575
1579
|
}
|
|
1576
|
-
.mb-
|
|
1577
|
-
margin-bottom:
|
|
1580
|
+
.mb-8 {
|
|
1581
|
+
margin-bottom: 2rem;
|
|
1578
1582
|
}
|
|
1579
1583
|
.mr-4 {
|
|
1580
1584
|
margin-right: 1rem;
|
|
@@ -2706,6 +2710,10 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2706
2710
|
margin-top: -10rem;
|
|
2707
2711
|
}
|
|
2708
2712
|
|
|
2713
|
+
.md\:mb-16 {
|
|
2714
|
+
margin-bottom: 4rem;
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2709
2717
|
.md\:block {
|
|
2710
2718
|
display: block;
|
|
2711
2719
|
}
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
{{~> components/base/image/responsive_image this.teaserImage type=this.teaserType variant=this.content.imageVariant noDelay=../_noDelay addClassImg="ar__content rounded-tl-3xl rounded-br-3xl" ~}}
|
|
4
4
|
</figure>
|
|
5
5
|
<div class="absolute flex justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-3xl rounded-br-3xl" aria-hidden="true">
|
|
6
|
-
<div class="self-center block mx-
|
|
6
|
+
<div class="self-center block mx-8 text-center text-white">
|
|
7
7
|
{{> components/teaser/components/teaser_heading headlineTag="h2" size=teaserSize font=(inline-switch isSerifHeading '[true, false]' '["font-headingSerif","font-heading font-bold"]') }}
|
|
8
8
|
</div>
|
|
9
9
|
</div>
|
|
10
10
|
{{#>components/base/link css="absolute flex w-full h-full justify-center" isAriaHidden=true doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="mediaLink" }}
|
|
11
|
-
<div class="self-end px-2 text-white border border-white
|
|
11
|
+
<div class="self-end px-2 {{inline-switch teaserSize '["33","50"]' '["mb-8","mb-8 md:mb-16"]'}} text-white border border-white font-heading">{{this.link.readMoreText.readMoreLong}}</div>
|
|
12
12
|
{{/components/base/link}}
|
|
13
13
|
<span class="sr-only">{{this.link.readMoreText.readMoreLong}}: {{this.title}}</span>
|
|
14
14
|
</article>
|
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.47.
|
|
9
|
+
"version": "0.47.15",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
{{~> components/base/image/responsive_image this.teaserImage type=this.teaserType variant=this.content.imageVariant noDelay=../_noDelay addClassImg="ar__content rounded-tl-3xl rounded-br-3xl" ~}}
|
|
4
4
|
</figure>
|
|
5
5
|
<div class="absolute flex justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-3xl rounded-br-3xl" aria-hidden="true">
|
|
6
|
-
<div class="self-center block mx-
|
|
6
|
+
<div class="self-center block mx-8 text-center text-white">
|
|
7
7
|
{{> components/teaser/components/teaser_heading headlineTag="h2" size=teaserSize font=(inline-switch isSerifHeading '[true, false]' '["font-headingSerif","font-heading font-bold"]') }}
|
|
8
8
|
</div>
|
|
9
9
|
</div>
|
|
10
10
|
{{#>components/base/link css="absolute flex w-full h-full justify-center" isAriaHidden=true doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="mediaLink" }}
|
|
11
|
-
<div class="self-end px-2 text-white border border-white
|
|
11
|
+
<div class="self-end px-2 {{inline-switch teaserSize '["33","50"]' '["mb-8","mb-8 md:mb-16"]'}} text-white border border-white font-heading">{{this.link.readMoreText.readMoreLong}}</div>
|
|
12
12
|
{{/components/base/link}}
|
|
13
13
|
<span class="sr-only">{{this.link.readMoreText.readMoreLong}}: {{this.title}}</span>
|
|
14
14
|
</article>
|