hr-design-system-handlebars 0.56.13 → 0.56.15
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 +25 -0
- package/dist/assets/index.css +11 -3
- package/dist/views/components/teaser/cluster/teaser_cluster_byline.hbs +35 -0
- package/dist/views/components/teaser/cluster/teaser_cluster_item.hbs +12 -41
- package/dist/views/components/teaser/cluster/teaser_cluster_list.hbs +16 -4
- package/dist/views/components/teaser/components/teaser_heading.hbs +1 -1
- package/dist/views/components/teaser/components/teaser_title.hbs +1 -1
- package/dist/views/components/teaser/components/teaser_title_classes.hbs +5 -1
- package/package.json +1 -1
- package/src/assets/fixtures/audio/audios.inc.json +3 -3
- package/src/assets/fixtures/teaser/cluster_teaser_100_genre.json +11 -0
- package/src/assets/fixtures/teaser/cluster_teaser_100_image.json +50 -0
- package/src/assets/fixtures/teaser/cluster_teaser_33_genre.json +11 -0
- package/src/assets/fixtures/teaser/cluster_teaser_33_image.json +50 -0
- package/src/assets/fixtures/teaser/cluster_teaser_50_genre.json +11 -0
- package/src/assets/fixtures/teaser/cluster_teaser_50_image.json +51 -0
- package/src/assets/fixtures/teaser/headline_list_Item.inc.json +379 -0
- package/src/assets/fixtures/teaser/teaser_cluster.inc.json +21 -18
- package/src/assets/fixtures/teaser/teaser_images.inc.json +62 -12
- package/src/assets/fixtures/video/videos.inc.json +2 -2
- package/src/stories/views/components/teaser/cluster/teaser_cluster.stories.mdx +12 -0
- package/src/stories/views/components/teaser/cluster/teaser_cluster_byline.hbs +35 -0
- package/src/stories/views/components/teaser/cluster/teaser_cluster_item.hbs +12 -41
- package/src/stories/views/components/teaser/cluster/teaser_cluster_list.hbs +16 -4
- package/src/stories/views/components/teaser/components/teaser_heading.hbs +1 -1
- package/src/stories/views/components/teaser/components/teaser_title.hbs +1 -1
- package/src/stories/views/components/teaser/components/teaser_title_classes.hbs +5 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_100_genre.json +2 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_100_image.json +1 -0
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_33.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_33_genre.json +2 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_33_image.json +1 -0
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_50.json +2 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_50_genre.json +2 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_50_image.json +1 -0
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_extern_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_extern_33.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_extern_50.json +2 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_ordered_100.json +2 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_ordered_33.json +2 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_ordered_50.json +2 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif copy.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_audio.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_download.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_event.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_live.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_single_event copy.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_single_event.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_two_events.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_video.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_audio.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_download.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_live.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_video.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_audio.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_comments.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_label.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_live.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_video.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_cluster.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_comments_without_teaserinfo.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_group_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight_2.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_index.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_download.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_single_event.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_two_events.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_audio.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_audio_livestream.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_live.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_podcast.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_video.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_multiple_events.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_single_event.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_tabbox.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_two_events.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_audio.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_audio_livestream.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_download.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_live.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_podcast.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_single_event.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_tabbox.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_video.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_66_serif_single_event.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_comments.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_label.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_tabbox.json +1 -1
- package/src/assets/fixtures/teaser/teaser_cluster.json +0 -37
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# v0.56.15 (Fri Sep 16 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Dpe 1645 [#323](https://github.com/mumprod/hr-design-system-handlebars/pull/323) (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
|
+
|
|
14
|
+
# v0.56.14 (Fri Sep 16 2022)
|
|
15
|
+
|
|
16
|
+
#### 🐛 Bug Fix
|
|
17
|
+
|
|
18
|
+
- replaced image #188 to fix render problems [#322](https://github.com/mumprod/hr-design-system-handlebars/pull/322) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
19
|
+
|
|
20
|
+
#### Authors: 1
|
|
21
|
+
|
|
22
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
1
26
|
# v0.56.13 (Fri Sep 16 2022)
|
|
2
27
|
|
|
3
28
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1600,6 +1600,9 @@ video {
|
|
|
1600
1600
|
.pb-5 {
|
|
1601
1601
|
padding-bottom: 1.25rem;
|
|
1602
1602
|
}
|
|
1603
|
+
.pb-4 {
|
|
1604
|
+
padding-bottom: 1rem;
|
|
1605
|
+
}
|
|
1603
1606
|
.pb-10 {
|
|
1604
1607
|
padding-bottom: 2.5rem;
|
|
1605
1608
|
}
|
|
@@ -1938,7 +1941,7 @@ video {
|
|
|
1938
1941
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
1939
1942
|
}
|
|
1940
1943
|
.counter-reset {
|
|
1941
|
-
counter-reset:
|
|
1944
|
+
counter-reset: cnt1663336382306;
|
|
1942
1945
|
}
|
|
1943
1946
|
.placeholder-text-xs::-webkit-input-placeholder {
|
|
1944
1947
|
font-size: 0.75rem;
|
|
@@ -2321,7 +2324,7 @@ video {
|
|
|
2321
2324
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2322
2325
|
}
|
|
2323
2326
|
.-ordered {
|
|
2324
|
-
counter-increment:
|
|
2327
|
+
counter-increment: cnt1663336382306 1;
|
|
2325
2328
|
}
|
|
2326
2329
|
.-ordered::before {
|
|
2327
2330
|
position: absolute;
|
|
@@ -2338,7 +2341,7 @@ video {
|
|
|
2338
2341
|
letter-spacing: .0125em;
|
|
2339
2342
|
--tw-text-opacity: 1;
|
|
2340
2343
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2341
|
-
content: counter(
|
|
2344
|
+
content: counter(cnt1663336382306);
|
|
2342
2345
|
}
|
|
2343
2346
|
/*! purgecss start ignore */
|
|
2344
2347
|
:root,
|
|
@@ -3505,6 +3508,11 @@ video {
|
|
|
3505
3508
|
flex: 0 1 auto;
|
|
3506
3509
|
}
|
|
3507
3510
|
|
|
3511
|
+
.lg\:basis-1\/3 {
|
|
3512
|
+
-ms-flex-preferred-size: 33.333333%;
|
|
3513
|
+
flex-basis: 33.333333%;
|
|
3514
|
+
}
|
|
3515
|
+
|
|
3508
3516
|
.lg\:flex-row {
|
|
3509
3517
|
-webkit-box-orient: horizontal;
|
|
3510
3518
|
-webkit-box-direction: normal;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
<p class="mt-2.5 text-xs text-grey-scorpion font-headingSerif {{#if _ordered}} pl-8 {{/if}}">
|
|
3
|
+
{{!--Teaser-Info--}}
|
|
4
|
+
{{#with this.teaserInfo}}
|
|
5
|
+
{{#if this.showTeaserInfo~}}
|
|
6
|
+
{{~#if this.showTeaserInfoSection}}
|
|
7
|
+
<span class="uppercase">
|
|
8
|
+
{{../this.documentSection~}}
|
|
9
|
+
</span>
|
|
10
|
+
<span class="mx-px last-of-type:hidden">|</span>
|
|
11
|
+
{{/if}}
|
|
12
|
+
{{~#if this.showTeaserInfoDate}}
|
|
13
|
+
{{~#with ../this.teaserDate}}
|
|
14
|
+
<time datetime="{{this.htmlDateTime}}">{{this.date}}</time>
|
|
15
|
+
{{/with~}}
|
|
16
|
+
<span class="mx-px last-of-type:hidden">|</span>
|
|
17
|
+
{{else}}
|
|
18
|
+
{{~#if this.showTeaserInfoDateTime}}
|
|
19
|
+
{{~#with ../this.teaserDate}}
|
|
20
|
+
<time datetime="{{this.htmlDateTime}}">{{loca "date_simple_at" this.dateSeparatorTime}}</time>
|
|
21
|
+
{{/with~}}
|
|
22
|
+
<span class="mx-px last-of-type:hidden">|</span>
|
|
23
|
+
{{/if~}}
|
|
24
|
+
{{/if~}}
|
|
25
|
+
{{/if}}
|
|
26
|
+
{{/with}}
|
|
27
|
+
|
|
28
|
+
{{!--Profiles--}}
|
|
29
|
+
{{#if this.showProfileInfoAsByline}}
|
|
30
|
+
{{#if this.profiles}}
|
|
31
|
+
<span>{{this.profiles}}</span>
|
|
32
|
+
<span class="mx-px last-of-type:hidden">|</span>
|
|
33
|
+
{{/if}}
|
|
34
|
+
{{/if}}
|
|
35
|
+
</p>
|
|
@@ -1,41 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
{{!--Teaser-Info--}}
|
|
14
|
-
<p class="mt-2.5 text-xs text-grey-scorpion font-headingSerif {{#if _ordered}} pl-8 {{/if}}">
|
|
15
|
-
{{#with this.logicItem.includeModel.teaserInfo}}
|
|
16
|
-
{{#if this.showTeaserInfo~}}
|
|
17
|
-
{{~#if this.showTeaserInfoSection}}
|
|
18
|
-
<span class="uppercase">
|
|
19
|
-
{{../this.logicItem.includeModel.documentSection~}}
|
|
20
|
-
</span>
|
|
21
|
-
<span class="mx-px last-of-type:hidden">|</span>
|
|
22
|
-
{{/if}}
|
|
23
|
-
{{~#if this.showTeaserInfoDate}}
|
|
24
|
-
{{~#with ../this.logicItem.includeModel.teaserDate}}
|
|
25
|
-
<time datetime="{{this.htmlDateTime}}">{{this.date}}</time>
|
|
26
|
-
{{/with~}}
|
|
27
|
-
<span class="mx-px last-of-type:hidden">|</span>
|
|
28
|
-
{{else}}
|
|
29
|
-
{{~#if this.showTeaserInfoDateTime}}
|
|
30
|
-
{{~#with ../this.logicItem.includeModel.teaserDate}}
|
|
31
|
-
<time datetime="{{this.htmlDateTime}}">{{loca "date_simple_at" this.dateSeparatorTime}}</time>
|
|
32
|
-
{{/with~}}
|
|
33
|
-
<span class="mx-px last-of-type:hidden">|</span>
|
|
34
|
-
{{/if~}}
|
|
35
|
-
{{/if~}}
|
|
36
|
-
|
|
37
|
-
{{/if}}
|
|
38
|
-
{{/with}}
|
|
39
|
-
</p>
|
|
40
|
-
{{!--Teaser-Info--}}
|
|
41
|
-
|
|
1
|
+
{{#>components/base/link _css="group" _doTracking=(if this.doTracking 'true') _clickLabelPrefix1="clusterTeaserLink" _clickLabelPrefix2="Link" }}
|
|
2
|
+
{{> components/teaser/components/teaser_heading
|
|
3
|
+
_headlineTag="h1"
|
|
4
|
+
_label=this.label
|
|
5
|
+
_size=_size
|
|
6
|
+
_title=this.title
|
|
7
|
+
_teaserType="cluster"
|
|
8
|
+
_ordered=_ordered
|
|
9
|
+
_titleBlue='true'
|
|
10
|
+
_firstItem=_firstItem}}
|
|
11
|
+
{{/components/base/link}}
|
|
12
|
+
{{> components/teaser/cluster/teaser_cluster_byline}}
|
|
@@ -1,14 +1,26 @@
|
|
|
1
|
-
<div class="{{~#if this.
|
|
1
|
+
<div class="{{~#if this.showImage}}{{~inline-switch this.teaserSize '["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/3 md:ar-1-1"]'}}">
|
|
4
|
-
{{~> components/base/image/responsive_image this.genreImage type
|
|
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"]'}}">
|
|
4
|
+
{{~> components/base/image/responsive_image this.genreImage type=../this.teasertype variant=../this.imageVariant addClass=../this.aspectRatio _addClassImg="ar__content" ~}}
|
|
5
5
|
</div>
|
|
6
6
|
{{~/if~}}
|
|
7
|
+
{{~#if this.showFirstImage}}
|
|
8
|
+
{{~#with this.firstEntry~}}
|
|
9
|
+
{{~#if this.teaserImage}}
|
|
10
|
+
<div class="px-0 pb-5 {{~inline-switch ../this.teaserSize '["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="ar__content pb-4" ~}}
|
|
12
|
+
<div class="mx-5 {{~inline-switch ../this.teaserSize '["100"]' '[" md:mx-0"]'}}">
|
|
13
|
+
{{> components/teaser/cluster/teaser_cluster_item _size=../this.teaserSize _ordered=../_ordered _firstItem=true}}
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
{{/if~}}
|
|
17
|
+
{{~/with~}}
|
|
18
|
+
{{/if~}}
|
|
7
19
|
{{~#with this.clusterTeaserItems}}
|
|
8
20
|
{{~#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
21
|
{{~#each this~}}
|
|
10
22
|
<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 }}
|
|
23
|
+
{{> components/teaser/cluster/teaser_cluster_item _size=../this.teaserSize _ordered=../../_ordered }}
|
|
12
24
|
</li>
|
|
13
25
|
{{~/each}}
|
|
14
26
|
{{~#if ../_ordered}}</ol>{{else}}</ul>{{/if~}}
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
{{#if _topline}}
|
|
8
8
|
{{> components/teaser/components/teaser_topline _text=_topline _readMore=_readMore _teaserType=_teaserType}}
|
|
9
9
|
{{/if}}
|
|
10
|
-
{{> components/teaser/components/teaser_title _text=_title _fontVariant=_fontVariant _size=_size _teaserType=_teaserType _isMobile1to1=_isMobile1to1}}
|
|
10
|
+
{{> components/teaser/components/teaser_title _text=_title _fontVariant=_fontVariant _size=_size _teaserType=_teaserType _isMobile1to1=_isMobile1to1 _firstItem=_firstItem}}
|
|
11
11
|
</{{~ _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}}'>
|
|
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 _firstItem=_firstItem}}'>
|
|
2
2
|
{{~_text~}}
|
|
3
3
|
</span>
|
|
@@ -38,7 +38,11 @@ the 4 parameters are:
|
|
|
38
38
|
{{~inline-switch _size '["50","33"]' '["text-2xl md:text-4xl","text-2xl"]'~}}
|
|
39
39
|
{{~/case~}}
|
|
40
40
|
{{~#case 'cluster'~}}
|
|
41
|
-
|
|
41
|
+
{{#if _firstItem}}
|
|
42
|
+
{{~inline-switch _size '["100"]' '[" text-lg md:text-2xl"," text-lg"]'}}
|
|
43
|
+
{{else}}
|
|
44
|
+
text-lg
|
|
45
|
+
{{/if}}
|
|
42
46
|
{{~/case~}}
|
|
43
47
|
{{~/switch~}}
|
|
44
48
|
{{~inline-switch
|
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.56.
|
|
9
|
+
"version": "0.56.15",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"images": [
|
|
46
46
|
{
|
|
47
47
|
"kind": "preview",
|
|
48
|
-
"url": "https://picsum.photos/id/
|
|
48
|
+
"url": "https://picsum.photos/id/101/{size}"
|
|
49
49
|
}
|
|
50
50
|
],
|
|
51
51
|
"title": "Das Eintracht-Tor in der Reportage: \"Hinteregger schädelt den rein\"",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"images": [
|
|
128
128
|
{
|
|
129
129
|
"kind": "preview",
|
|
130
|
-
"url": "https://picsum.photos/id/
|
|
130
|
+
"url": "https://picsum.photos/id/101/{size}"
|
|
131
131
|
}
|
|
132
132
|
],
|
|
133
133
|
"title": "Muslim Fashion. Mehr als ein Kopftuch.",
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
"images": [
|
|
191
191
|
{
|
|
192
192
|
"kind": "preview",
|
|
193
|
-
"url": "https://picsum.photos/id/
|
|
193
|
+
"url": "https://picsum.photos/id/101/{size}"
|
|
194
194
|
}
|
|
195
195
|
],
|
|
196
196
|
"title": "Test Audio Event",
|
|
@@ -20,6 +20,17 @@
|
|
|
20
20
|
{
|
|
21
21
|
"@->contentpath": "showGenreImage",
|
|
22
22
|
"@->value": "true"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"@->contentpath": "showImage",
|
|
26
|
+
"@->value": "true"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"@->contentpath": "genreImage",
|
|
30
|
+
"@->value": {
|
|
31
|
+
"@->jsoninclude": "teaser/teaser_images.inc.json",
|
|
32
|
+
"@->contentpath": "cluster_1"
|
|
33
|
+
}
|
|
23
34
|
}
|
|
24
35
|
]
|
|
25
36
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@->jsoninclude": "teaser/teaser_cluster.inc.json",
|
|
3
|
+
"@->overrides": [
|
|
4
|
+
{
|
|
5
|
+
"@->contentpath": "teaserSize",
|
|
6
|
+
"@->value": "100"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"@->contentpath": "title",
|
|
10
|
+
"@->value": "NEUESTE BEITRÄGE"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"@->contentpath": "teaserLogo",
|
|
14
|
+
"@->value": "hessenschau_de"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"@->contentpath": "isHessenschauLogo",
|
|
18
|
+
"@->value": "true"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"@->contentpath": "showImage",
|
|
22
|
+
"@->value": "true"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"@->contentpath": "showFirstImage",
|
|
26
|
+
"@->value": "true"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"@->contentpath": "clusterTeaserItems",
|
|
30
|
+
"@->value": [
|
|
31
|
+
{
|
|
32
|
+
"@->jsoninclude": "teaser/headline_list_item.inc.json",
|
|
33
|
+
"@->contentpath": "item2"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"@->jsoninclude": "teaser/headline_list_item.inc.json",
|
|
37
|
+
"@->contentpath": "item3"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"@->jsoninclude": "teaser/headline_list_item.inc.json",
|
|
41
|
+
"@->contentpath": "item4"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"@->jsoninclude": "teaser/headline_list_item.inc.json",
|
|
45
|
+
"@->contentpath": "item5"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
@@ -20,6 +20,17 @@
|
|
|
20
20
|
{
|
|
21
21
|
"@->contentpath": "showGenreImage",
|
|
22
22
|
"@->value": "true"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"@->contentpath": "showImage",
|
|
26
|
+
"@->value": "true"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"@->contentpath": "genreImage",
|
|
30
|
+
"@->value": {
|
|
31
|
+
"@->jsoninclude": "teaser/teaser_images.inc.json",
|
|
32
|
+
"@->contentpath": "cluster_2"
|
|
33
|
+
}
|
|
23
34
|
}
|
|
24
35
|
]
|
|
25
36
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@->jsoninclude": "teaser/teaser_cluster.inc.json",
|
|
3
|
+
"@->overrides": [
|
|
4
|
+
{
|
|
5
|
+
"@->contentpath": "teaserSize",
|
|
6
|
+
"@->value": "33"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"@->contentpath": "title",
|
|
10
|
+
"@->value": "NEUESTE BEITRÄGE"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"@->contentpath": "teaserLogo",
|
|
14
|
+
"@->value": "hessenschau_de"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"@->contentpath": "isHessenschauLogo",
|
|
18
|
+
"@->value": "true"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"@->contentpath": "showImage",
|
|
22
|
+
"@->value": "true"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"@->contentpath": "showFirstImage",
|
|
26
|
+
"@->value": "true"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"@->contentpath": "clusterTeaserItems",
|
|
30
|
+
"@->value": [
|
|
31
|
+
{
|
|
32
|
+
"@->jsoninclude": "teaser/headline_list_item.inc.json",
|
|
33
|
+
"@->contentpath": "item2"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"@->jsoninclude": "teaser/headline_list_item.inc.json",
|
|
37
|
+
"@->contentpath": "item3"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"@->jsoninclude": "teaser/headline_list_item.inc.json",
|
|
41
|
+
"@->contentpath": "item4"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"@->jsoninclude": "teaser/headline_list_item.inc.json",
|
|
45
|
+
"@->contentpath": "item5"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
@@ -20,6 +20,17 @@
|
|
|
20
20
|
{
|
|
21
21
|
"@->contentpath": "showGenreImage",
|
|
22
22
|
"@->value": "true"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"@->contentpath": "showImage",
|
|
26
|
+
"@->value": "true"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"@->contentpath": "genreImage",
|
|
30
|
+
"@->value": {
|
|
31
|
+
"@->jsoninclude": "teaser/teaser_images.inc.json",
|
|
32
|
+
"@->contentpath": "cluster_2"
|
|
33
|
+
}
|
|
23
34
|
}
|
|
24
35
|
]
|
|
25
36
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@->jsoninclude": "teaser/teaser_cluster.inc.json",
|
|
3
|
+
"@->overrides": [
|
|
4
|
+
{
|
|
5
|
+
"@->contentpath": "teaserSize",
|
|
6
|
+
"@->value": "50"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"@->contentpath": "title",
|
|
10
|
+
"@->value": "NEUESTE BEITRÄGE"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"@->contentpath": "teaserLogo",
|
|
14
|
+
"@->value": "hessenschau_de"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"@->contentpath": "isHessenschauLogo",
|
|
18
|
+
"@->value": "true"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"@->contentpath": "showImage",
|
|
22
|
+
"@->value": "true"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"@->contentpath": "showFirstImage",
|
|
26
|
+
"@->value": "true"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"@->contentpath": "clusterTeaserItems",
|
|
30
|
+
"@->value": [
|
|
31
|
+
{
|
|
32
|
+
"@->jsoninclude": "teaser/headline_list_item.inc.json",
|
|
33
|
+
"@->contentpath": "item2"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"@->jsoninclude": "teaser/headline_list_item.inc.json",
|
|
37
|
+
"@->contentpath": "item3"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"@->jsoninclude": "teaser/headline_list_item.inc.json",
|
|
41
|
+
"@->contentpath": "item4"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"@->jsoninclude": "teaser/headline_list_item.inc.json",
|
|
45
|
+
"@->contentpath": "item5"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
]
|
|
51
|
+
}
|