hr-design-system-handlebars 0.122.0 → 0.122.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,15 @@
1
+ # v0.122.1 (Mon Jan 30 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - DPE-2044 [#510](https://github.com/mumprod/hr-design-system-handlebars/pull/510) ([@vascoeduardo](https://github.com/vascoeduardo))
6
+
7
+ #### Authors: 1
8
+
9
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
10
+
11
+ ---
12
+
1
13
  # v0.122.0 (Fri Jan 27 2023)
2
14
 
3
15
  #### 🚀 Enhancement
@@ -2477,7 +2477,7 @@ video {
2477
2477
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
2478
2478
  }
2479
2479
  .counter-reset {
2480
- counter-reset: cnt1674837755593;
2480
+ counter-reset: cnt1675088454678;
2481
2481
  }
2482
2482
  .line-clamp-4 {
2483
2483
  overflow: hidden;
@@ -2695,7 +2695,7 @@ video {
2695
2695
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2696
2696
  }
2697
2697
  .-ordered {
2698
- counter-increment: cnt1674837755593 1;
2698
+ counter-increment: cnt1675088454678 1;
2699
2699
  }
2700
2700
  .-ordered::before {
2701
2701
  position: absolute;
@@ -2711,7 +2711,7 @@ video {
2711
2711
  letter-spacing: .0125em;
2712
2712
  --tw-text-opacity: 1;
2713
2713
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2714
- content: counter(cnt1674837755593);
2714
+ content: counter(cnt1675088454678);
2715
2715
  }
2716
2716
  /*! ****************************/
2717
2717
  /*! text-shadow */
@@ -4017,6 +4017,11 @@ video {
4017
4017
  row-gap: 3.5rem;
4018
4018
  }
4019
4019
 
4020
+ .md\:gap-x-4 {
4021
+ -moz-column-gap: 1rem;
4022
+ column-gap: 1rem;
4023
+ }
4024
+
4020
4025
  .md\:overflow-visible {
4021
4026
  overflow: visible;
4022
4027
  }
@@ -4112,14 +4117,14 @@ video {
4112
4117
  padding-left: 1.25rem;
4113
4118
  }
4114
4119
 
4115
- .md\:pt-5 {
4116
- padding-top: 1.25rem;
4117
- }
4118
-
4119
4120
  .md\:pr-5 {
4120
4121
  padding-right: 1.25rem;
4121
4122
  }
4122
4123
 
4124
+ .md\:pt-5 {
4125
+ padding-top: 1.25rem;
4126
+ }
4127
+
4123
4128
  .md\:pr-0 {
4124
4129
  padding-right: 0px;
4125
4130
  }
@@ -4434,6 +4439,14 @@ video {
4434
4439
  width: 50%;
4435
4440
  }
4436
4441
 
4442
+ .lg\:w-1\/3 {
4443
+ width: 33.333333%;
4444
+ }
4445
+
4446
+ .lg\:w-2\/3 {
4447
+ width: 66.666667%;
4448
+ }
4449
+
4437
4450
  .lg\:w-42 {
4438
4451
  width: 10.5rem;
4439
4452
  }
@@ -4458,6 +4471,10 @@ video {
4458
4471
  flex-basis: 33.333333%;
4459
4472
  }
4460
4473
 
4474
+ .lg\:basis-2\/3 {
4475
+ flex-basis: 66.666667%;
4476
+ }
4477
+
4461
4478
  .lg\:flex-row {
4462
4479
  flex-direction: row;
4463
4480
  }
@@ -1,15 +1,15 @@
1
- <div class="{{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.realTeaserSize '["100"]' '[" md:flex md:flex-row"]'}}{{~/if~}}">
1
+ <div class="flex flex-col {{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.realTeaserSize '["100"]' '[" md:flex-row md:gap-x-4"]'}}{{~/if~}}">
2
2
  {{~#if this.showGenreImage}}
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
- {{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=this.aspectRatio _addClassImg="w-full" ~}}
3
+ <div class="pb-5{{~inline-switch this.realTeaserSize '["100"]' '[" md:basis-1/2 lg:basis-1/3 md:w-1/2 lg:w-1/3 md:ar-1-1 md:pl-5"]'}}">
4
+ {{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=this.aspectRatio ~}}
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.realTeaserSize '["100"]' '[" md:pl-5 md:basis-1/2 lg:basis-1/3"]'}}">
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.realTeaserSize '["100"]' '[" md:mx-0"]'}}">
10
+ <div class="pb-3{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:basis-1/2 lg:basis-1/3 md:w-1/2 lg:w-1/3 md:pl-5"]'}}">
11
+ {{~> components/base/image/responsive_image this.teaserImage _type=../this.teaserType _variant=../this.imageVariant _addClass=../this.aspectRatio ~}}
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>
@@ -17,9 +17,13 @@
17
17
  {{~/with~}}
18
18
  {{/if~}}
19
19
  {{~#with this.clusterTeaserItems}}
20
- {{~#if ../this.isOrdered}}<ol class="mx-5 list-none divide-y divide-white divide-solid counter-reset border-t border-white {{~#if ../this.showGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:border-none"]'}}{{/if~}}">{{else}}<ul class="mx-5 divide-y divide-white divide-solid border-t border-white {{~#if ../this.showGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:border-none"]'}}{{/if~}}">{{/if}}
20
+ {{~#if ../this.isOrdered}}
21
+ <ol class="mx-5 list-none divide-y divide-white divide-solid counter-reset border-t border-white{{~#if ../this.showFirstImageOrGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:mx-0 md:pr-5 md:border-none md:basis-1/2 lg:basis-2/3 md:w-1/2 lg:w-1/3"]'}}{{/if~}}">
22
+ {{else}}
23
+ <ul class="mx-5 divide-y divide-white divide-solid border-t border-white {{~#if ../this.showFirstImageOrGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:mx-0 md:pr-5 md:border-none md:basis-1/2 lg:basis-2/3 md:w-1/2 lg:w-2/3"]'}}{{/if~}}">
24
+ {{/if}}
21
25
  {{~#each this~}}
22
- <li class="{{~#if ../../this.isOrdered}} -ordered {{/if}} py-3 {{#unless ../../this.overviewLink.link}} last-of-type:pb-3{{/unless~}} {{~#if ../../this.showGenreImage}}{{~inline-switch ../../this.teaserSize '["100"]' '[" md:first-of-type:pt-0"]'}}{{/if~}}">
26
+ <li class="{{~#if ../../this.isOrdered}}-ordered{{/if}} py-3{{#unless ../../this.overviewLink.link}} last-of-type:pb-3{{/unless~}}{{~#if ../../this.showFirstImageOrGenreImage}}{{~inline-switch ../../this.teaserSize '["100"]' '[" md:first-of-type:pt-0"]'}}{{/if~}}">
23
27
  {{> components/teaser/cluster/teaser_cluster_item _size=../this.realTeaserSize _ordered=../../this.isOrdered }}
24
28
  </li>
25
29
  {{~/each}}
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.122.0",
9
+ "version": "0.122.1",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -1,15 +1,15 @@
1
- <div class="{{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.realTeaserSize '["100"]' '[" md:flex md:flex-row"]'}}{{~/if~}}">
1
+ <div class="flex flex-col {{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.realTeaserSize '["100"]' '[" md:flex-row md:gap-x-4"]'}}{{~/if~}}">
2
2
  {{~#if this.showGenreImage}}
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
- {{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=this.aspectRatio _addClassImg="w-full" ~}}
3
+ <div class="pb-5{{~inline-switch this.realTeaserSize '["100"]' '[" md:basis-1/2 lg:basis-1/3 md:w-1/2 lg:w-1/3 md:ar-1-1 md:pl-5"]'}}">
4
+ {{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=this.aspectRatio ~}}
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.realTeaserSize '["100"]' '[" md:pl-5 md:basis-1/2 lg:basis-1/3"]'}}">
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.realTeaserSize '["100"]' '[" md:mx-0"]'}}">
10
+ <div class="pb-3{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:basis-1/2 lg:basis-1/3 md:w-1/2 lg:w-1/3 md:pl-5"]'}}">
11
+ {{~> components/base/image/responsive_image this.teaserImage _type=../this.teaserType _variant=../this.imageVariant _addClass=../this.aspectRatio ~}}
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>
@@ -17,9 +17,13 @@
17
17
  {{~/with~}}
18
18
  {{/if~}}
19
19
  {{~#with this.clusterTeaserItems}}
20
- {{~#if ../this.isOrdered}}<ol class="mx-5 list-none divide-y divide-white divide-solid counter-reset border-t border-white {{~#if ../this.showGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:border-none"]'}}{{/if~}}">{{else}}<ul class="mx-5 divide-y divide-white divide-solid border-t border-white {{~#if ../this.showGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:border-none"]'}}{{/if~}}">{{/if}}
20
+ {{~#if ../this.isOrdered}}
21
+ <ol class="mx-5 list-none divide-y divide-white divide-solid counter-reset border-t border-white{{~#if ../this.showFirstImageOrGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:mx-0 md:pr-5 md:border-none md:basis-1/2 lg:basis-2/3 md:w-1/2 lg:w-1/3"]'}}{{/if~}}">
22
+ {{else}}
23
+ <ul class="mx-5 divide-y divide-white divide-solid border-t border-white {{~#if ../this.showFirstImageOrGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:mx-0 md:pr-5 md:border-none md:basis-1/2 lg:basis-2/3 md:w-1/2 lg:w-2/3"]'}}{{/if~}}">
24
+ {{/if}}
21
25
  {{~#each this~}}
22
- <li class="{{~#if ../../this.isOrdered}} -ordered {{/if}} py-3 {{#unless ../../this.overviewLink.link}} last-of-type:pb-3{{/unless~}} {{~#if ../../this.showGenreImage}}{{~inline-switch ../../this.teaserSize '["100"]' '[" md:first-of-type:pt-0"]'}}{{/if~}}">
26
+ <li class="{{~#if ../../this.isOrdered}}-ordered{{/if}} py-3{{#unless ../../this.overviewLink.link}} last-of-type:pb-3{{/unless~}}{{~#if ../../this.showFirstImageOrGenreImage}}{{~inline-switch ../../this.teaserSize '["100"]' '[" md:first-of-type:pt-0"]'}}{{/if~}}">
23
27
  {{> components/teaser/cluster/teaser_cluster_item _size=../this.realTeaserSize _ordered=../../this.isOrdered }}
24
28
  </li>
25
29
  {{~/each}}