hr-design-system-handlebars 0.47.9 → 0.47.10
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.10 (Tue Jun 14 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Alternative-Teaser zusammenbauen [#245](https://github.com/mumprod/hr-design-system-handlebars/pull/245) (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.9 (Tue Jun 14 2022)
|
|
2
15
|
|
|
3
16
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1750,14 +1750,22 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1750
1750
|
-ms-flex-negative: 0;
|
|
1751
1751
|
flex-shrink: 0;
|
|
1752
1752
|
}
|
|
1753
|
-
.basis-3\/5 {
|
|
1754
|
-
-ms-flex-preferred-size: 60%;
|
|
1755
|
-
flex-basis: 60%;
|
|
1756
|
-
}
|
|
1757
1753
|
.basis-2\/5 {
|
|
1758
1754
|
-ms-flex-preferred-size: 40%;
|
|
1759
1755
|
flex-basis: 40%;
|
|
1760
1756
|
}
|
|
1757
|
+
.basis-1\/3 {
|
|
1758
|
+
-ms-flex-preferred-size: 33.333333%;
|
|
1759
|
+
flex-basis: 33.333333%;
|
|
1760
|
+
}
|
|
1761
|
+
.basis-2\/3 {
|
|
1762
|
+
-ms-flex-preferred-size: 66.666667%;
|
|
1763
|
+
flex-basis: 66.666667%;
|
|
1764
|
+
}
|
|
1765
|
+
.basis-3\/5 {
|
|
1766
|
+
-ms-flex-preferred-size: 60%;
|
|
1767
|
+
flex-basis: 60%;
|
|
1768
|
+
}
|
|
1761
1769
|
.-translate-x-1\/2 {
|
|
1762
1770
|
--tw-translate-x: -50%;
|
|
1763
1771
|
-webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -1880,17 +1888,14 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1880
1888
|
.gap-y-9 {
|
|
1881
1889
|
row-gap: 2.25rem;
|
|
1882
1890
|
}
|
|
1883
|
-
.gap-y-4 {
|
|
1884
|
-
row-gap: 1rem;
|
|
1885
|
-
}
|
|
1886
|
-
.gap-x-5 {
|
|
1887
|
-
-webkit-column-gap: 1.25rem;
|
|
1888
|
-
-moz-column-gap: 1.25rem;
|
|
1889
|
-
column-gap: 1.25rem;
|
|
1890
|
-
}
|
|
1891
1891
|
.gap-y-5 {
|
|
1892
1892
|
row-gap: 1.25rem;
|
|
1893
1893
|
}
|
|
1894
|
+
.gap-x-3 {
|
|
1895
|
+
-webkit-column-gap: 0.75rem;
|
|
1896
|
+
-moz-column-gap: 0.75rem;
|
|
1897
|
+
column-gap: 0.75rem;
|
|
1898
|
+
}
|
|
1894
1899
|
.gap-x-4 {
|
|
1895
1900
|
-webkit-column-gap: 1rem;
|
|
1896
1901
|
-moz-column-gap: 1rem;
|
|
@@ -2154,6 +2159,10 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2154
2159
|
padding-top: 0.75rem;
|
|
2155
2160
|
padding-bottom: 0.75rem;
|
|
2156
2161
|
}
|
|
2162
|
+
.px-0 {
|
|
2163
|
+
padding-left: 0px;
|
|
2164
|
+
padding-right: 0px;
|
|
2165
|
+
}
|
|
2157
2166
|
.px-2 {
|
|
2158
2167
|
padding-left: 0.5rem;
|
|
2159
2168
|
padding-right: 0.5rem;
|
|
@@ -2178,10 +2187,6 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2178
2187
|
padding-top: 0.25rem;
|
|
2179
2188
|
padding-bottom: 0.25rem;
|
|
2180
2189
|
}
|
|
2181
|
-
.px-0 {
|
|
2182
|
-
padding-left: 0px;
|
|
2183
|
-
padding-right: 0px;
|
|
2184
|
-
}
|
|
2185
2190
|
.px-4 {
|
|
2186
2191
|
padding-left: 1rem;
|
|
2187
2192
|
padding-right: 1rem;
|
|
@@ -2761,6 +2766,23 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2761
2766
|
flex: 1 1 auto;
|
|
2762
2767
|
}
|
|
2763
2768
|
|
|
2769
|
+
.md\:basis-1\/3 {
|
|
2770
|
+
-ms-flex-preferred-size: 33.333333%;
|
|
2771
|
+
flex-basis: 33.333333%;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
.md\:basis-2\/3 {
|
|
2775
|
+
-ms-flex-preferred-size: 66.666667%;
|
|
2776
|
+
flex-basis: 66.666667%;
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
.md\:flex-row {
|
|
2780
|
+
-webkit-box-orient: horizontal;
|
|
2781
|
+
-webkit-box-direction: normal;
|
|
2782
|
+
-ms-flex-direction: row;
|
|
2783
|
+
flex-direction: row;
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2764
2786
|
.md\:flex-col {
|
|
2765
2787
|
-webkit-box-orient: vertical;
|
|
2766
2788
|
-webkit-box-direction: normal;
|
|
@@ -2774,6 +2796,12 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2774
2796
|
justify-content: flex-end;
|
|
2775
2797
|
}
|
|
2776
2798
|
|
|
2799
|
+
.md\:gap-x-5 {
|
|
2800
|
+
-webkit-column-gap: 1.25rem;
|
|
2801
|
+
-moz-column-gap: 1.25rem;
|
|
2802
|
+
column-gap: 1.25rem;
|
|
2803
|
+
}
|
|
2804
|
+
|
|
2777
2805
|
.md\:rounded-none {
|
|
2778
2806
|
border-radius: 0px;
|
|
2779
2807
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<article class="col-span-12 flex gap-y-
|
|
2
|
-
<figure class="{{inline-switch this.teaserSize '["hero"]' '["basis-
|
|
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"]'}} ">
|
|
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
|
-
<div class="{{inline-switch this.teaserSize '["hero"]' '["basis-2/
|
|
8
|
-
<header class="px-5
|
|
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"]'}}">
|
|
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="px-5
|
|
19
|
+
<section class="md:px-0 px-5 {{inline-switch this.teaserSize '["50"]' '["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.
|
|
9
|
+
"version": "0.47.10",
|
|
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-
|
|
2
|
-
<figure class="{{inline-switch this.teaserSize '["hero"]' '["basis-
|
|
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"]'}} ">
|
|
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
|
-
<div class="{{inline-switch this.teaserSize '["hero"]' '["basis-2/
|
|
8
|
-
<header class="px-5
|
|
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"]'}}">
|
|
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="px-5
|
|
19
|
+
<section class="md:px-0 px-5 {{inline-switch this.teaserSize '["50"]' '["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>
|