hr-design-system-handlebars 0.47.12 → 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 CHANGED
@@ -1,3 +1,40 @@
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
+
13
+ # v0.47.14 (Tue Jun 21 2022)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - 100% & 50% Alternativ in mobile 100% Standard [#249](https://github.com/mumprod/hr-design-system-handlebars/pull/249) (zouhair1 [@selbaciri](https://github.com/selbaciri))
18
+
19
+ #### Authors: 2
20
+
21
+ - Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
22
+ - selbaciri (zouhair1)
23
+
24
+ ---
25
+
26
+ # v0.47.13 (Fri Jun 17 2022)
27
+
28
+ #### 🐛 Bug Fix
29
+
30
+ - obere runde Ecke auch in Farbverlauf [#248](https://github.com/mumprod/hr-design-system-handlebars/pull/248) ([@hanswurstsalat](https://github.com/hanswurstsalat))
31
+
32
+ #### Authors: 1
33
+
34
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
35
+
36
+ ---
37
+
1
38
  # v0.47.12 (Fri Jun 17 2022)
2
39
 
3
40
  #### 🐛 Bug Fix
@@ -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-7 {
1577
- margin-bottom: 1.75rem;
1580
+ .mb-8 {
1581
+ margin-bottom: 2rem;
1578
1582
  }
1579
1583
  .mr-4 {
1580
1584
  margin-right: 1rem;
@@ -1892,21 +1896,16 @@ Ensure the default browser behavior of the `hidden` attribute.
1892
1896
  .gap-y-9 {
1893
1897
  row-gap: 2.25rem;
1894
1898
  }
1895
- .gap-y-5 {
1896
- row-gap: 1.25rem;
1897
- }
1898
- .gap-x-3 {
1899
- -webkit-column-gap: 0.75rem;
1900
- -moz-column-gap: 0.75rem;
1901
- column-gap: 0.75rem;
1899
+ .gap-y-3 {
1900
+ row-gap: 0.75rem;
1902
1901
  }
1903
1902
  .gap-x-4 {
1904
1903
  -webkit-column-gap: 1rem;
1905
1904
  -moz-column-gap: 1rem;
1906
1905
  column-gap: 1rem;
1907
1906
  }
1908
- .gap-y-3 {
1909
- row-gap: 0.75rem;
1907
+ .gap-y-5 {
1908
+ row-gap: 1.25rem;
1910
1909
  }
1911
1910
  .divide-y > :not([hidden]) ~ :not([hidden]) {
1912
1911
  --tw-divide-y-reverse: 0;
@@ -2163,10 +2162,6 @@ Ensure the default browser behavior of the `hidden` attribute.
2163
2162
  padding-top: 0.75rem;
2164
2163
  padding-bottom: 0.75rem;
2165
2164
  }
2166
- .px-0 {
2167
- padding-left: 0px;
2168
- padding-right: 0px;
2169
- }
2170
2165
  .px-2 {
2171
2166
  padding-left: 0.5rem;
2172
2167
  padding-right: 0.5rem;
@@ -2191,6 +2186,10 @@ Ensure the default browser behavior of the `hidden` attribute.
2191
2186
  padding-top: 0.25rem;
2192
2187
  padding-bottom: 0.25rem;
2193
2188
  }
2189
+ .px-0 {
2190
+ padding-left: 0px;
2191
+ padding-right: 0px;
2192
+ }
2194
2193
  .px-4 {
2195
2194
  padding-left: 1rem;
2196
2195
  padding-right: 1rem;
@@ -2711,6 +2710,10 @@ Ensure the default browser behavior of the `hidden` attribute.
2711
2710
  margin-top: -10rem;
2712
2711
  }
2713
2712
 
2713
+ .md\:mb-16 {
2714
+ margin-bottom: 4rem;
2715
+ }
2716
+
2714
2717
  .md\:block {
2715
2718
  display: block;
2716
2719
  }
@@ -2805,12 +2808,6 @@ Ensure the default browser behavior of the `hidden` attribute.
2805
2808
  justify-content: flex-end;
2806
2809
  }
2807
2810
 
2808
- .md\:gap-x-5 {
2809
- -webkit-column-gap: 1.25rem;
2810
- -moz-column-gap: 1.25rem;
2811
- column-gap: 1.25rem;
2812
- }
2813
-
2814
2811
  .md\:rounded-none {
2815
2812
  border-radius: 0px;
2816
2813
  }
@@ -14,7 +14,11 @@
14
14
  ~}}
15
15
  {{~/case~}}
16
16
  {{~#case "poster"~}}
17
- text-2xl
17
+ {{~inline-switch
18
+ size
19
+ '["50","33"]'
20
+ '["text-2xl md:text-4xl","text-2xl"]'
21
+ ~}}
18
22
  {{~/case~}}
19
23
  {{~/switch~}}
20
24
  {{~inline-switch
@@ -1,11 +1,11 @@
1
- <article class="col-span-12 flex gap-y-5 gap-x-3 md:gap-x-5 md:px-0 {{inline-switch this.teaserSize '["50","100","hero"]' '["px-5 md:col-span-6 flex-row","flex-col md:flex-row","flex-col md:flex-row"]'}} ">
1
+ <article class="col-span-12 flex flex-col md:flex-row gap-y-3 gap-x-4 md:px-0 {{inline-switch this.teaserSize '["50"]' '["md:col-span-6"]'}} ">
2
2
  <figure class="ar-16-9 {{inline-switch this.teaserSize '["50","100","hero"]' '["basis-2/5 md:basis-1/3", "basis-1/3" , "basis-2/3"]'}} ">
3
3
  {{#>components/base/link css="" isAriaHidden=true doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="mediaLink" }}
4
4
  {{~> components/base/image/responsive_image this.teaserImage type=this.teasertype variant=this.imageVariant noDelay=../noDelay addClassImg="" ~}}
5
5
  {{/components/base/link}}
6
6
  </figure>
7
7
  <div class="{{inline-switch this.teaserSize '["50","100","hero"]' '["basis-3/5 md:basis-2/3","basis-2/3","basis-1/3"]'}} ">
8
- <header class="md:px-0 px-5 {{inline-switch this.teaserSize '["50"]' '["px-0"]'}}">
8
+ <header class="px-5 md:px-0">
9
9
  {{#>components/base/link css="hover:text-toplineColor" doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="headlineLink" }}
10
10
  {{> components/teaser/components/teaser_heading fontVariant=this.headingFontVariant
11
11
  headlineTag=this.headlineTag
@@ -16,7 +16,7 @@
16
16
  topline=this.topline}}
17
17
  {{/components/base/link}}
18
18
  </header>
19
- <section class="md:px-0 px-5 {{inline-switch this.teaserSize '["50"]' '["px-0"]'}}">
19
+ <section class="px-5 md:px-0">
20
20
  {{> components/teaser/components/teaser_text text=this.shorttext size=this.teaserSize }}
21
21
  {{> components/teaser/components/teaser_byline}}
22
22
  </section>
@@ -2,13 +2,13 @@
2
2
  <figure class="ar-1-1" aria-hidden="true">
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
- <div class="absolute flex justify-center w-full h-full bg-gradient-to-t from-black rounded-br-3xl" aria-hidden="true">
6
- <div class="self-center block mx-4 text-center text-white">
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-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 mb-7">{{this.link.readMoreText.readMoreLong}}</div>
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.12",
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",
@@ -14,7 +14,11 @@
14
14
  ~}}
15
15
  {{~/case~}}
16
16
  {{~#case "poster"~}}
17
- text-2xl
17
+ {{~inline-switch
18
+ size
19
+ '["50","33"]'
20
+ '["text-2xl md:text-4xl","text-2xl"]'
21
+ ~}}
18
22
  {{~/case~}}
19
23
  {{~/switch~}}
20
24
  {{~inline-switch
@@ -1,11 +1,11 @@
1
- <article class="col-span-12 flex gap-y-5 gap-x-3 md:gap-x-5 md:px-0 {{inline-switch this.teaserSize '["50","100","hero"]' '["px-5 md:col-span-6 flex-row","flex-col md:flex-row","flex-col md:flex-row"]'}} ">
1
+ <article class="col-span-12 flex flex-col md:flex-row gap-y-3 gap-x-4 md:px-0 {{inline-switch this.teaserSize '["50"]' '["md:col-span-6"]'}} ">
2
2
  <figure class="ar-16-9 {{inline-switch this.teaserSize '["50","100","hero"]' '["basis-2/5 md:basis-1/3", "basis-1/3" , "basis-2/3"]'}} ">
3
3
  {{#>components/base/link css="" isAriaHidden=true doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="mediaLink" }}
4
4
  {{~> components/base/image/responsive_image this.teaserImage type=this.teasertype variant=this.imageVariant noDelay=../noDelay addClassImg="" ~}}
5
5
  {{/components/base/link}}
6
6
  </figure>
7
7
  <div class="{{inline-switch this.teaserSize '["50","100","hero"]' '["basis-3/5 md:basis-2/3","basis-2/3","basis-1/3"]'}} ">
8
- <header class="md:px-0 px-5 {{inline-switch this.teaserSize '["50"]' '["px-0"]'}}">
8
+ <header class="px-5 md:px-0">
9
9
  {{#>components/base/link css="hover:text-toplineColor" doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="headlineLink" }}
10
10
  {{> components/teaser/components/teaser_heading fontVariant=this.headingFontVariant
11
11
  headlineTag=this.headlineTag
@@ -16,7 +16,7 @@
16
16
  topline=this.topline}}
17
17
  {{/components/base/link}}
18
18
  </header>
19
- <section class="md:px-0 px-5 {{inline-switch this.teaserSize '["50"]' '["px-0"]'}}">
19
+ <section class="px-5 md:px-0">
20
20
  {{> components/teaser/components/teaser_text text=this.shorttext size=this.teaserSize }}
21
21
  {{> components/teaser/components/teaser_byline}}
22
22
  </section>
@@ -2,13 +2,13 @@
2
2
  <figure class="ar-1-1" aria-hidden="true">
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
- <div class="absolute flex justify-center w-full h-full bg-gradient-to-t from-black rounded-br-3xl" aria-hidden="true">
6
- <div class="self-center block mx-4 text-center text-white">
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-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 mb-7">{{this.link.readMoreText.readMoreLong}}</div>
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>