hr-design-system-handlebars 0.47.13 → 0.47.14

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,16 @@
1
+ # v0.47.14 (Tue Jun 21 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - 100% & 50% Alternativ in mobile 100% Standard [#249](https://github.com/mumprod/hr-design-system-handlebars/pull/249) (zouhair1 [@selbaciri](https://github.com/selbaciri))
6
+
7
+ #### Authors: 2
8
+
9
+ - Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
10
+ - selbaciri (zouhair1)
11
+
12
+ ---
13
+
1
14
  # v0.47.13 (Fri Jun 17 2022)
2
15
 
3
16
  #### 🐛 Bug Fix
@@ -1892,21 +1892,16 @@ Ensure the default browser behavior of the `hidden` attribute.
1892
1892
  .gap-y-9 {
1893
1893
  row-gap: 2.25rem;
1894
1894
  }
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;
1895
+ .gap-y-3 {
1896
+ row-gap: 0.75rem;
1902
1897
  }
1903
1898
  .gap-x-4 {
1904
1899
  -webkit-column-gap: 1rem;
1905
1900
  -moz-column-gap: 1rem;
1906
1901
  column-gap: 1rem;
1907
1902
  }
1908
- .gap-y-3 {
1909
- row-gap: 0.75rem;
1903
+ .gap-y-5 {
1904
+ row-gap: 1.25rem;
1910
1905
  }
1911
1906
  .divide-y > :not([hidden]) ~ :not([hidden]) {
1912
1907
  --tw-divide-y-reverse: 0;
@@ -2163,10 +2158,6 @@ Ensure the default browser behavior of the `hidden` attribute.
2163
2158
  padding-top: 0.75rem;
2164
2159
  padding-bottom: 0.75rem;
2165
2160
  }
2166
- .px-0 {
2167
- padding-left: 0px;
2168
- padding-right: 0px;
2169
- }
2170
2161
  .px-2 {
2171
2162
  padding-left: 0.5rem;
2172
2163
  padding-right: 0.5rem;
@@ -2191,6 +2182,10 @@ Ensure the default browser behavior of the `hidden` attribute.
2191
2182
  padding-top: 0.25rem;
2192
2183
  padding-bottom: 0.25rem;
2193
2184
  }
2185
+ .px-0 {
2186
+ padding-left: 0px;
2187
+ padding-right: 0px;
2188
+ }
2194
2189
  .px-4 {
2195
2190
  padding-left: 1rem;
2196
2191
  padding-right: 1rem;
@@ -2805,12 +2800,6 @@ Ensure the default browser behavior of the `hidden` attribute.
2805
2800
  justify-content: flex-end;
2806
2801
  }
2807
2802
 
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
2803
  .md\:rounded-none {
2815
2804
  border-radius: 0px;
2816
2805
  }
@@ -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>
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.13",
9
+ "version": "0.47.14",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -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>