hr-design-system-handlebars 0.121.0 → 0.121.1

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.121.1 (Fri Jan 20 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - use realTeaserSize in ClusterTeaser [#493](https://github.com/mumprod/hr-design-system-handlebars/pull/493) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
6
+
7
+ #### Authors: 2
8
+
9
+ - Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
10
+ - selbaciri (saad.elbaciri@hr.de)
11
+
12
+ ---
13
+
1
14
  # v0.121.0 (Fri Jan 20 2023)
2
15
 
3
16
  #### 🚀 Enhancement
@@ -2481,7 +2481,7 @@ video {
2481
2481
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
2482
2482
  }
2483
2483
  .counter-reset {
2484
- counter-reset: cnt1674205599463;
2484
+ counter-reset: cnt1674224061312;
2485
2485
  }
2486
2486
  .line-clamp-4 {
2487
2487
  overflow: hidden;
@@ -2699,7 +2699,7 @@ video {
2699
2699
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2700
2700
  }
2701
2701
  .-ordered {
2702
- counter-increment: cnt1674205599463 1;
2702
+ counter-increment: cnt1674224061312 1;
2703
2703
  }
2704
2704
  .-ordered::before {
2705
2705
  position: absolute;
@@ -2715,7 +2715,7 @@ video {
2715
2715
  letter-spacing: .0125em;
2716
2716
  --tw-text-opacity: 1;
2717
2717
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2718
- content: counter(cnt1674205599463);
2718
+ content: counter(cnt1674224061312);
2719
2719
  }
2720
2720
  /*! ****************************/
2721
2721
  /*! text-shadow */
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
  {{~#with this.overviewLink}}
16
16
  {{~#if this.link~}}
17
- <div class="flex mx-5 pb-9 pt-6 min-w-0 {{~inline-switch ../this.teaserSize '["100"]' '[" justify-center md:justify-end"," justify-center"]'}}">
17
+ <div class="flex mx-5 pb-9 pt-6 min-w-0 {{~inline-switch ../this.realTeaserSize '["100"]' '[" justify-center md:justify-end"," justify-center"]'}}">
18
18
  {{~> components/button/button_pseudo _type="hollow" _addClass="h-4 w-4 ml-2 fill-current" _showIcon="true" _icon="arrow-right" _withLink=true _buttonText=this.title _buttonCss="truncate" _linkCss="flex min-w-0"~}}
19
19
  </div>
20
20
  {{~/if~}}
@@ -1,15 +1,15 @@
1
- <div class="{{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.teaserSize '["100"]' '[" md:flex md:flex-row"]'}}{{~/if~}}">
1
+ <div class="{{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.realTeaserSize '["100"]' '[" md:flex md:flex-row"]'}}{{~/if~}}">
2
2
  {{~#if this.showGenreImage}}
3
- <div class="px-0 pb-5 {{~inline-switch this.teaserSize '["100"]' '[" md:pl-5 md:basis-1/2 lg:basis-1/3 md:ar-1-1"]'}}">
3
+ <div class="px-0 pb-5 {{~inline-switch this.realTeaserSize '["100"]' '[" md:pl-5 md:basis-1/2 lg:basis-1/3 md:ar-1-1"]'}}">
4
4
  {{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=this.aspectRatio _addClassImg="w-full" ~}}
5
5
  </div>
6
6
  {{~/if~}}
7
7
  {{~#if this.showFirstImage}}
8
8
  {{~#with this.firstEntry~}}
9
9
  {{~#if this.teaserImage}}
10
- <div class="px-0 pb-3 {{~inline-switch ../this.teaserSize '["100"]' '[" md:pl-5 md:basis-1/2 lg:basis-1/3"]'}}">
10
+ <div class="px-0 pb-3 {{~inline-switch ../this.realTeaserSize '["100"]' '[" md:pl-5 md:basis-1/2 lg:basis-1/3"]'}}">
11
11
  {{~> components/base/image/responsive_image this.teaserImage _type=../this.teaserType _variant=../this.imageVariant _addClass=../this.aspectRatio _addClassImg="w-full" ~}}
12
- <div class="mx-5 mt-3 {{~inline-switch ../this.teaserSize '["100"]' '[" md:mx-0"]'}}">
12
+ <div class="mx-5 mt-3 {{~inline-switch ../this.realTeaserSize '["100"]' '[" md:mx-0"]'}}">
13
13
  {{> components/teaser/cluster/teaser_cluster_item _size=../this.realTeaserSize _ordered=../this.isOrdered _firstItem=true}}
14
14
  </div>
15
15
  </div>
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.121.0",
9
+ "version": "0.121.1",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
  {{~#with this.overviewLink}}
16
16
  {{~#if this.link~}}
17
- <div class="flex mx-5 pb-9 pt-6 min-w-0 {{~inline-switch ../this.teaserSize '["100"]' '[" justify-center md:justify-end"," justify-center"]'}}">
17
+ <div class="flex mx-5 pb-9 pt-6 min-w-0 {{~inline-switch ../this.realTeaserSize '["100"]' '[" justify-center md:justify-end"," justify-center"]'}}">
18
18
  {{~> components/button/button_pseudo _type="hollow" _addClass="h-4 w-4 ml-2 fill-current" _showIcon="true" _icon="arrow-right" _withLink=true _buttonText=this.title _buttonCss="truncate" _linkCss="flex min-w-0"~}}
19
19
  </div>
20
20
  {{~/if~}}
@@ -1,15 +1,15 @@
1
- <div class="{{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.teaserSize '["100"]' '[" md:flex md:flex-row"]'}}{{~/if~}}">
1
+ <div class="{{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.realTeaserSize '["100"]' '[" md:flex md:flex-row"]'}}{{~/if~}}">
2
2
  {{~#if this.showGenreImage}}
3
- <div class="px-0 pb-5 {{~inline-switch this.teaserSize '["100"]' '[" md:pl-5 md:basis-1/2 lg:basis-1/3 md:ar-1-1"]'}}">
3
+ <div class="px-0 pb-5 {{~inline-switch this.realTeaserSize '["100"]' '[" md:pl-5 md:basis-1/2 lg:basis-1/3 md:ar-1-1"]'}}">
4
4
  {{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=this.aspectRatio _addClassImg="w-full" ~}}
5
5
  </div>
6
6
  {{~/if~}}
7
7
  {{~#if this.showFirstImage}}
8
8
  {{~#with this.firstEntry~}}
9
9
  {{~#if this.teaserImage}}
10
- <div class="px-0 pb-3 {{~inline-switch ../this.teaserSize '["100"]' '[" md:pl-5 md:basis-1/2 lg:basis-1/3"]'}}">
10
+ <div class="px-0 pb-3 {{~inline-switch ../this.realTeaserSize '["100"]' '[" md:pl-5 md:basis-1/2 lg:basis-1/3"]'}}">
11
11
  {{~> components/base/image/responsive_image this.teaserImage _type=../this.teaserType _variant=../this.imageVariant _addClass=../this.aspectRatio _addClassImg="w-full" ~}}
12
- <div class="mx-5 mt-3 {{~inline-switch ../this.teaserSize '["100"]' '[" md:mx-0"]'}}">
12
+ <div class="mx-5 mt-3 {{~inline-switch ../this.realTeaserSize '["100"]' '[" md:mx-0"]'}}">
13
13
  {{> components/teaser/cluster/teaser_cluster_item _size=../this.realTeaserSize _ordered=../this.isOrdered _firstItem=true}}
14
14
  </div>
15
15
  </div>