hr-design-system-handlebars 0.54.1 → 0.54.2

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.54.2 (Fri Aug 19 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Dpe 1656 [#298](https://github.com/mumprod/hr-design-system-handlebars/pull/298) (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.54.1 (Fri Aug 19 2022)
2
15
 
3
16
  #### 🐛 Bug Fix
@@ -1807,7 +1807,7 @@ video {
1807
1807
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
1808
1808
  }
1809
1809
  .counter-reset {
1810
- counter-reset: cnt1660913417985;
1810
+ counter-reset: cnt1660914683440;
1811
1811
  }
1812
1812
  .placeholder-text-xs::-webkit-input-placeholder {
1813
1813
  font-size: 0.75rem;
@@ -2190,7 +2190,7 @@ video {
2190
2190
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2191
2191
  }
2192
2192
  .-ordered {
2193
- counter-increment: cnt1660913417985 1;
2193
+ counter-increment: cnt1660914683440 1;
2194
2194
  }
2195
2195
  .-ordered::before {
2196
2196
  position: absolute;
@@ -2207,7 +2207,7 @@ video {
2207
2207
  letter-spacing: .0125em;
2208
2208
  --tw-text-opacity: 1;
2209
2209
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2210
- content: counter(cnt1660913417985);
2210
+ content: counter(cnt1660914683440);
2211
2211
  }
2212
2212
  /*! purgecss start ignore */
2213
2213
  :root,
@@ -2596,9 +2596,6 @@ video {
2596
2596
  .last-of-type\:hidden:last-of-type {
2597
2597
  display: none;
2598
2598
  }
2599
- .last-of-type\:pb-9:last-of-type {
2600
- padding-bottom: 2.25rem;
2601
- }
2602
2599
  .last-of-type\:pb-0:last-of-type {
2603
2600
  padding-bottom: 0px;
2604
2601
  }
@@ -1,5 +1,5 @@
1
1
  <article class="mx-5 md:mx-0 col-span-12 grid bg-[#dce8f0] rounded-tl-3xl rounded-br-3xl {{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}} ">
2
- <div class="{{~#unless this.showGenreImage}}divide-y divide-white divide-solid{{~/unless~}}">
2
+ <div class="">
3
3
  <h2 class="flex items-center px-5 py-6 font-bold font-headingSerif text-blue-congress">
4
4
  {{#if this.teaserLogo}}
5
5
  <span>
@@ -1,50 +1,16 @@
1
- <div class="{{~#if this.showGenreImage}}{{~inline-switch this.teaserSize '["100"]' '["md:flex md:flex-row"]'}}{{~/if~}}">
1
+ <div class="{{~#if this.showGenreImage}}{{~inline-switch this.teaserSize '["100"]' '[" md:flex md:flex-row"]'}}{{~/if~}}">
2
2
  {{~#if this.showGenreImage}}
3
3
  <div class="px-0 pb-5 {{~inline-switch this.teaserSize '["100"]' '[" md:pl-5 md:basis-1/3 md:ar-1-1"]'}}">
4
4
  {{~> components/base/image/responsive_image this.genreImage type="standard-ds" variant="topteaser" _addClassImg="ar__content" ~}}
5
-
6
- {{!-- {{~#if this.isPodcastChannel}}
7
- {{~#with this.podcastFeeds}}
8
- <div class="c-clusterTeaser__firstEntryByline">
9
- <span class="byline">Podcast Feed:
10
- <a href="{{this.0.url}}" class="link" target="_blank" rel="noopener noreferrer">{{this.0.feedName}}</a>
11
- {{#if ../this.hasPodcastAndItunesUrl}}
12
- |
13
- {{/if}}
14
- <a href="{{this.1.url}}" class="link" target="_blank" rel="noopener noreferrer">{{this.1.feedName}}</a>
15
- </span>
16
- </div>
17
- {{/with~}}
18
- {{/if~}} --}}
19
5
  </div>
20
6
  {{~/if~}}
21
- {{!-- {{~#if this.showFirstImage}}
22
- {{~#with this.firstEntry~}}
23
- <div class="c-clusterTeaser__firstEntry">
24
- <div class="c-clusterTeaser__firstEntryWraper">
25
- {{> modules/teaser/cluster-teaser/clusterteaser-link}}
26
- </div>
27
- {{~#if this.teaserImage}}
28
- {{#decorator "base/link/link" _cssClasses="c-clusterTeaser__imageLink"}}
29
- {{~#with this.content.teaserImage}}
30
- {{~> base/image/responsiveImage _type=../../../this.content.teasertype _variant=../../../this.content.imageVariant _addClass=../../../this.content..aspectRatio _addClassImg="ar__content" ~}}
31
- {{/with}}
32
- {{/decorator}}
33
- {{/if~}}
34
- </div>
35
- {{~/with~}}
36
- {{/if~}} --}}
37
-
38
-
39
-
40
-
41
- {{~#with this.clusterTeaserItems}}
42
- {{~#if ../_ordered}}<ol class="mx-5 list-none divide-y divide-white divide-solid counter-reset {{~#if ../this.showGenreImage}} border-t border-white{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:border-none"]'}}{{/if~}}">{{else}}<ul class="mx-5 divide-y divide-white divide-solid {{~#if ../this.showGenreImage}} border-t border-white{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:border-none"]'}}{{/if~}}">{{/if}}
43
- {{~#each this~}}
44
- <li class="{{~#if ../../_ordered}} -ordered {{/if}} py-5 last-of-type:pb-9{{#with ../../this.headlineListItems}} {{#if this.link}} last-of-type:pb-0{{/if~}}{{/with~}} {{~#if ../../this.showGenreImage}}{{~inline-switch ../../this.teaserSize '["100"]' '[" md:first-of-type:pt-0"]'}}{{/if~}}">
45
- {{> components/teaser/cluster/teaser_cluster_item _ordered=../../_ordered }}
46
- </li>
47
- {{~/each}}
48
- {{~#if ../_ordered}}</ol>{{else}}</ul>{{/if~}}
7
+ {{~#with this.clusterTeaserItems}}
8
+ {{~#if ../_ordered}}<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}}
9
+ {{~#each this~}}
10
+ <li class="{{~#if ../../_ordered}} -ordered {{/if}} py-5 {{#if ../../this.headlineListItems.link}} last-of-type:pb-0{{/if~}} {{~#if ../../this.showGenreImage}}{{~inline-switch ../../this.teaserSize '["100"]' '[" md:first-of-type:pt-0"]'}}{{/if~}}">
11
+ {{> components/teaser/cluster/teaser_cluster_item _ordered=../../_ordered }}
12
+ </li>
13
+ {{~/each}}
14
+ {{~#if ../_ordered}}</ol>{{else}}</ul>{{/if~}}
49
15
  {{/with~}}
50
16
  </div>
@@ -1,6 +1,6 @@
1
- {{#with label}}
1
+ {{#with _label}}
2
2
  <div class="leading-5.5{{#if ../_ordered}} pl-8 {{/if}}">
3
- {{> components/label/label type=this.type text=(loca this.loca)}}
3
+ {{> components/label/label _type=this.type _text=(loca this.loca)}}
4
4
  </div>
5
5
  {{/with~}}
6
6
  <{{~ _headlineTag ~}}>
@@ -1,3 +1,3 @@
1
- <span class='block mt-0.5 group-hover:underline {{#if _titleBlue}} text-blue-congress {{/if}}{{#if _ordered}} pl-8 {{/if}} {{> components/teaser/components/teaser_title_classes size=size teaserType=teaserType fontVariant=fontVariant _isMobile1to1=_isMobile1to1}}'>
2
- {{~text~}}
1
+ <span class='block mt-0.5 group-hover:underline {{#if _titleBlue}} text-blue-congress {{/if}}{{#if _ordered}} pl-8 {{/if}} {{> components/teaser/components/teaser_title_classes _size=_size _teaserType=_teaserType _fontVariant=_fontVariant _isMobile1to1=_isMobile1to1}}'>
2
+ {{~_text~}}
3
3
  </span>
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.54.1",
9
+ "version": "0.54.2",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -1,5 +1,5 @@
1
1
  <article class="mx-5 md:mx-0 col-span-12 grid bg-[#dce8f0] rounded-tl-3xl rounded-br-3xl {{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}} ">
2
- <div class="{{~#unless this.showGenreImage}}divide-y divide-white divide-solid{{~/unless~}}">
2
+ <div class="">
3
3
  <h2 class="flex items-center px-5 py-6 font-bold font-headingSerif text-blue-congress">
4
4
  {{#if this.teaserLogo}}
5
5
  <span>
@@ -1,50 +1,16 @@
1
- <div class="{{~#if this.showGenreImage}}{{~inline-switch this.teaserSize '["100"]' '["md:flex md:flex-row"]'}}{{~/if~}}">
1
+ <div class="{{~#if this.showGenreImage}}{{~inline-switch this.teaserSize '["100"]' '[" md:flex md:flex-row"]'}}{{~/if~}}">
2
2
  {{~#if this.showGenreImage}}
3
3
  <div class="px-0 pb-5 {{~inline-switch this.teaserSize '["100"]' '[" md:pl-5 md:basis-1/3 md:ar-1-1"]'}}">
4
4
  {{~> components/base/image/responsive_image this.genreImage type="standard-ds" variant="topteaser" _addClassImg="ar__content" ~}}
5
-
6
- {{!-- {{~#if this.isPodcastChannel}}
7
- {{~#with this.podcastFeeds}}
8
- <div class="c-clusterTeaser__firstEntryByline">
9
- <span class="byline">Podcast Feed:
10
- <a href="{{this.0.url}}" class="link" target="_blank" rel="noopener noreferrer">{{this.0.feedName}}</a>
11
- {{#if ../this.hasPodcastAndItunesUrl}}
12
- |
13
- {{/if}}
14
- <a href="{{this.1.url}}" class="link" target="_blank" rel="noopener noreferrer">{{this.1.feedName}}</a>
15
- </span>
16
- </div>
17
- {{/with~}}
18
- {{/if~}} --}}
19
5
  </div>
20
6
  {{~/if~}}
21
- {{!-- {{~#if this.showFirstImage}}
22
- {{~#with this.firstEntry~}}
23
- <div class="c-clusterTeaser__firstEntry">
24
- <div class="c-clusterTeaser__firstEntryWraper">
25
- {{> modules/teaser/cluster-teaser/clusterteaser-link}}
26
- </div>
27
- {{~#if this.teaserImage}}
28
- {{#decorator "base/link/link" _cssClasses="c-clusterTeaser__imageLink"}}
29
- {{~#with this.content.teaserImage}}
30
- {{~> base/image/responsiveImage _type=../../../this.content.teasertype _variant=../../../this.content.imageVariant _addClass=../../../this.content..aspectRatio _addClassImg="ar__content" ~}}
31
- {{/with}}
32
- {{/decorator}}
33
- {{/if~}}
34
- </div>
35
- {{~/with~}}
36
- {{/if~}} --}}
37
-
38
-
39
-
40
-
41
- {{~#with this.clusterTeaserItems}}
42
- {{~#if ../_ordered}}<ol class="mx-5 list-none divide-y divide-white divide-solid counter-reset {{~#if ../this.showGenreImage}} border-t border-white{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:border-none"]'}}{{/if~}}">{{else}}<ul class="mx-5 divide-y divide-white divide-solid {{~#if ../this.showGenreImage}} border-t border-white{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:border-none"]'}}{{/if~}}">{{/if}}
43
- {{~#each this~}}
44
- <li class="{{~#if ../../_ordered}} -ordered {{/if}} py-5 last-of-type:pb-9{{#with ../../this.headlineListItems}} {{#if this.link}} last-of-type:pb-0{{/if~}}{{/with~}} {{~#if ../../this.showGenreImage}}{{~inline-switch ../../this.teaserSize '["100"]' '[" md:first-of-type:pt-0"]'}}{{/if~}}">
45
- {{> components/teaser/cluster/teaser_cluster_item _ordered=../../_ordered }}
46
- </li>
47
- {{~/each}}
48
- {{~#if ../_ordered}}</ol>{{else}}</ul>{{/if~}}
7
+ {{~#with this.clusterTeaserItems}}
8
+ {{~#if ../_ordered}}<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}}
9
+ {{~#each this~}}
10
+ <li class="{{~#if ../../_ordered}} -ordered {{/if}} py-5 {{#if ../../this.headlineListItems.link}} last-of-type:pb-0{{/if~}} {{~#if ../../this.showGenreImage}}{{~inline-switch ../../this.teaserSize '["100"]' '[" md:first-of-type:pt-0"]'}}{{/if~}}">
11
+ {{> components/teaser/cluster/teaser_cluster_item _ordered=../../_ordered }}
12
+ </li>
13
+ {{~/each}}
14
+ {{~#if ../_ordered}}</ol>{{else}}</ul>{{/if~}}
49
15
  {{/with~}}
50
16
  </div>
@@ -1,6 +1,6 @@
1
- {{#with label}}
1
+ {{#with _label}}
2
2
  <div class="leading-5.5{{#if ../_ordered}} pl-8 {{/if}}">
3
- {{> components/label/label type=this.type text=(loca this.loca)}}
3
+ {{> components/label/label _type=this.type _text=(loca this.loca)}}
4
4
  </div>
5
5
  {{/with~}}
6
6
  <{{~ _headlineTag ~}}>
@@ -1,3 +1,3 @@
1
- <span class='block mt-0.5 group-hover:underline {{#if _titleBlue}} text-blue-congress {{/if}}{{#if _ordered}} pl-8 {{/if}} {{> components/teaser/components/teaser_title_classes size=size teaserType=teaserType fontVariant=fontVariant _isMobile1to1=_isMobile1to1}}'>
2
- {{~text~}}
1
+ <span class='block mt-0.5 group-hover:underline {{#if _titleBlue}} text-blue-congress {{/if}}{{#if _ordered}} pl-8 {{/if}} {{> components/teaser/components/teaser_title_classes _size=_size _teaserType=_teaserType _fontVariant=_fontVariant _isMobile1to1=_isMobile1to1}}'>
2
+ {{~_text~}}
3
3
  </span>