hr-design-system-handlebars 1.119.5 → 1.120.0
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 +24 -0
- package/dist/assets/index.css +6 -3
- package/dist/views/components/page/components/commentinfo.hbs +1 -1
- package/dist/views/components/page/components/metadata_wrapper.hbs +55 -0
- package/dist/views/components/page/components/metadatabox.hbs +4 -11
- package/dist/views/components/social_sharing/social_sharing_ticker_item.hbs +1 -1
- package/dist/views/components/ticker/ticker_item/content_footer_ticker_item.hbs +32 -0
- package/dist/views_static/components/page/components/commentinfo.hbs +1 -1
- package/dist/views_static/components/page/components/metadata_wrapper.hbs +55 -0
- package/dist/views_static/components/page/components/metadatabox.hbs +4 -11
- package/dist/views_static/components/social_sharing/social_sharing_ticker_item.hbs +1 -1
- package/dist/views_static/components/ticker/ticker_item/content_footer_ticker_item.hbs +32 -0
- package/package.json +1 -1
- package/src/assets/fixtures/content/content_footer/content_footer.json +14 -12
- package/src/assets/fixtures/page/metadatabox.inc.json +87 -40
- package/src/assets/fixtures/page/metadatabox.json +10 -1
- package/src/assets/fixtures/page/story/story.inc.json +37 -48
- package/src/assets/fixtures/ticker/ticker_item/content_footer_ticker_item.inc.json +147 -0
- package/src/assets/fixtures/ticker/ticker_item/content_footer_ticker_item.json +77 -0
- package/src/stories/views/components/page/components/commentinfo.hbs +1 -1
- package/src/stories/views/components/page/components/metadata_wrapper.hbs +55 -0
- package/src/stories/views/components/page/components/metadatabox.hbs +4 -11
- package/src/stories/views/components/page/components/metadatabox.stories.js +16 -5
- package/src/stories/views/components/page/fixtures/metadatabox.json +1 -1
- package/src/stories/views/components/page/story/fixtures/story.json +1 -1
- package/src/stories/views/components/page/story/fixtures/story_with_audio.json +1 -1
- package/src/stories/views/components/page/story/fixtures/story_with_label.json +1 -1
- package/src/stories/views/components/page/story/fixtures/story_with_livestream.json +1 -1
- package/src/stories/views/components/page/story/fixtures/story_with_square_image.json +1 -1
- package/src/stories/views/components/page/story/fixtures/story_with_video.json +1 -1
- package/src/stories/views/components/social_sharing/social_sharing_ticker_item.hbs +1 -1
- package/src/stories/views/components/ticker/ticker_item/content_footer_ticker_item.hbs +32 -0
- package/src/stories/views/components/ticker/ticker_item/content_footer_ticker_item.mdx +29 -0
- package/src/stories/views/components/ticker/ticker_item/content_footer_ticker_item.stories.js +123 -0
- package/src/stories/views/components/ticker/ticker_item/fixtures/content_footer_ticker_item.json +1 -0
- package/dist/views/components/content/content_footer/content_footer_ticker_item.hbs +0 -57
- package/dist/views/components/page/components/author.hbs +0 -48
- package/dist/views_static/components/content/content_footer/content_footer_ticker_item.hbs +0 -57
- package/dist/views_static/components/page/components/author.hbs +0 -48
- package/src/stories/views/components/content/content_footer/content_footer_ticker_item.hbs +0 -57
- package/src/stories/views/components/page/components/author.hbs +0 -48
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{{#if this.hasMoreThanOneAuthor}}
|
|
2
|
-
|
|
3
|
-
{{#with this.authorItems}}
|
|
4
|
-
<p class="mb-1 text-xs sm480:text-sm font-headingSerif text-gray-scorpion dark:text-text-dark">
|
|
5
|
-
{{#each this}}
|
|
6
|
-
{{#if this.hasProfileLink}}
|
|
7
|
-
{{this.from}}
|
|
8
|
-
{{#>components/base/link _link=this.link _css="hover:underline hover:!decoration-1 text-link dark:text-link-dark"}}
|
|
9
|
-
<span>{{../this.authorName~}}</span>{{~/components/base/link~}}
|
|
10
|
-
{{~#with this.textAfterAuthor}} {{this}}{{/with~}}{{~this.delimiter}}
|
|
11
|
-
{{else}}
|
|
12
|
-
{{this.from}}
|
|
13
|
-
{{#with this.textAfterAuthor}} {{this}}{{/with}}{{this.delimiter}}
|
|
14
|
-
{{/if}}
|
|
15
|
-
{{/each}}
|
|
16
|
-
</p>
|
|
17
|
-
{{/with}}
|
|
18
|
-
|
|
19
|
-
{{else}}
|
|
20
|
-
|
|
21
|
-
{{#if this.hasOneAuthor~}}
|
|
22
|
-
<div class="flex items-center">
|
|
23
|
-
{{#if this.authorImage.isImage}}
|
|
24
|
-
<div class="self-start w-10 h-10 mr-4 basis-10 grow-0">
|
|
25
|
-
{{~> components/base/image/responsive_image this.authorImage
|
|
26
|
-
_type="profile"
|
|
27
|
-
_variant="ticker"
|
|
28
|
-
_addClass=""
|
|
29
|
-
_addClassImg="ar-1-1 rounded-full"
|
|
30
|
-
_noDelay=true ~}}
|
|
31
|
-
</div>
|
|
32
|
-
{{/if}}
|
|
33
|
-
<div class="self-start text-xs sm480:text-sm basis-0 grow font-headingSerif text-gray-scorpion dark:text-text-dark">
|
|
34
|
-
<div class="mb-1">
|
|
35
|
-
{{#unless _hideFrom }}Von{{/unless}}
|
|
36
|
-
{{#if this.authorUrl~}}
|
|
37
|
-
<a href="{{this.authorUrl}}" {{#with this.webviewAuthorUrl}}data-webviewurl="{{this}}"{{/with}} class="{{if (isUserConsentNeeded this.authorUrl) 'js-user-consent-needed ' ''}}ds-link text-link hover:underline dark:text-link-dark ">{{this.authorTitle}}</a>
|
|
38
|
-
{{else}}
|
|
39
|
-
{{this.authorTitle}}
|
|
40
|
-
{{/if}}
|
|
41
|
-
{{#with this.textAfterAuthor}} {{this}}{{/with}}
|
|
42
|
-
</div>
|
|
43
|
-
{{> components/page/components/publicationdate _isTicker=_isTicker}}
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
{{~/if}}
|
|
47
|
-
|
|
48
|
-
{{/if}}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
<footer class="flex flex-col mt-12 sm:mt-14 text-xs md:text-sm text-gray-scorpion dark:text-text-dark font-headingSerif{{#if _addClass}} {{_addClass}}{{/if}}">
|
|
2
|
-
{{> components/page/components/author _hideFrom=false _isTicker=_isTicker }}
|
|
3
|
-
{{~#with this.programReferenceAlt~}}
|
|
4
|
-
{{~#if this.hasReference~}}
|
|
5
|
-
<div>
|
|
6
|
-
<span>{{~loca "broadcast"}}:</span>
|
|
7
|
-
{{#if this.link}}
|
|
8
|
-
{{#>components/base/link _link=this.link _css="text-link dark:text-link-dark hover:underline"~}}
|
|
9
|
-
<span>{{~ this.programLabel ~}}</span>{{/components/base/link~}}{{~#if this.date~}},
|
|
10
|
-
<span>
|
|
11
|
-
<time datetime="{{#if this.displayWithTime}}{{this.date.htmlDateTime}}{{else}}{{this.date.date}}{{/if}}"
|
|
12
|
-
class="{{#if _isArticle}}{{else}}{{/if}} ">
|
|
13
|
-
{{#if this.displayWithTime}}
|
|
14
|
-
{{loca "date_simple_at" this.date.dateSeparatorTime}}
|
|
15
|
-
{{else}}
|
|
16
|
-
{{this.date.date}}
|
|
17
|
-
{{/if}}
|
|
18
|
-
</time>
|
|
19
|
-
</span>
|
|
20
|
-
{{/if}}
|
|
21
|
-
{{else}}
|
|
22
|
-
<span>{{this.programLabel}}{{#if this.date}},
|
|
23
|
-
<time datetime="{{#if this.displayWithTime}}{{this.date.htmlDateTime}}{{else}}{{this.date.date}}{{/if}}"
|
|
24
|
-
class="{{#if _isArticle}}{{else}}{{/if}} ">
|
|
25
|
-
{{#if this.displayWithTime}}
|
|
26
|
-
{{loca "date_simple_at" this.date.dateSeparatorTime}}
|
|
27
|
-
{{else}}
|
|
28
|
-
{{this.date.date}}
|
|
29
|
-
{{/if}}
|
|
30
|
-
</time>
|
|
31
|
-
{{/if}}
|
|
32
|
-
</span>
|
|
33
|
-
{{/if}}
|
|
34
|
-
</div>
|
|
35
|
-
{{~/if~}}
|
|
36
|
-
{{~/with~}}
|
|
37
|
-
{{~#with _source}}
|
|
38
|
-
<p>
|
|
39
|
-
{{~loca "copyright_source"~}}
|
|
40
|
-
{{~#each this}}
|
|
41
|
-
{{~#if @first}} {{this}}{{else}}, {{this}}{{/if~}}
|
|
42
|
-
{{/each~}}
|
|
43
|
-
</p>
|
|
44
|
-
{{/with~}}
|
|
45
|
-
{{~#if _isArchiveContent}}
|
|
46
|
-
<p>
|
|
47
|
-
{{loca "archive_content"}}
|
|
48
|
-
</p>
|
|
49
|
-
{{/if}}
|
|
50
|
-
{{#if _showDate ~}}
|
|
51
|
-
{{#with _date}}
|
|
52
|
-
<p>
|
|
53
|
-
<time datetime="{{this.htmlDateTime}}">{{loca "date_published" this.date this.time }}</time>
|
|
54
|
-
</p>
|
|
55
|
-
{{/with~}}
|
|
56
|
-
{{/if}}
|
|
57
|
-
</footer>
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{{#if this.hasMoreThanOneAuthor}}
|
|
2
|
-
|
|
3
|
-
{{#with this.authorItems}}
|
|
4
|
-
<p class="mb-1 text-xs sm480:text-sm font-headingSerif text-gray-scorpion dark:text-text-dark">
|
|
5
|
-
{{#each this}}
|
|
6
|
-
{{#if this.hasProfileLink}}
|
|
7
|
-
{{this.from}}
|
|
8
|
-
{{#>components/base/link _link=this.link _css="hover:underline hover:!decoration-1 text-link dark:text-link-dark"}}
|
|
9
|
-
<span>{{../this.authorName~}}</span>{{~/components/base/link~}}
|
|
10
|
-
{{~#with this.textAfterAuthor}} {{this}}{{/with~}}{{~this.delimiter}}
|
|
11
|
-
{{else}}
|
|
12
|
-
{{this.from}}
|
|
13
|
-
{{#with this.textAfterAuthor}} {{this}}{{/with}}{{this.delimiter}}
|
|
14
|
-
{{/if}}
|
|
15
|
-
{{/each}}
|
|
16
|
-
</p>
|
|
17
|
-
{{/with}}
|
|
18
|
-
|
|
19
|
-
{{else}}
|
|
20
|
-
|
|
21
|
-
{{#if this.hasOneAuthor~}}
|
|
22
|
-
<div class="flex items-center">
|
|
23
|
-
{{#if this.authorImage.isImage}}
|
|
24
|
-
<div class="self-start w-10 h-10 mr-4 basis-10 grow-0">
|
|
25
|
-
{{~> components/base/image/responsive_image this.authorImage
|
|
26
|
-
_type="profile"
|
|
27
|
-
_variant="ticker"
|
|
28
|
-
_addClass=""
|
|
29
|
-
_addClassImg="ar-1-1 rounded-full"
|
|
30
|
-
_noDelay=true ~}}
|
|
31
|
-
</div>
|
|
32
|
-
{{/if}}
|
|
33
|
-
<div class="self-start text-xs sm480:text-sm basis-0 grow font-headingSerif text-gray-scorpion dark:text-text-dark">
|
|
34
|
-
<div class="mb-1">
|
|
35
|
-
{{#unless _hideFrom }}Von{{/unless}}
|
|
36
|
-
{{#if this.authorUrl~}}
|
|
37
|
-
<a href="{{this.authorUrl}}" {{#with this.webviewAuthorUrl}}data-webviewurl="{{this}}"{{/with}} class="{{if (isUserConsentNeeded this.authorUrl) 'js-user-consent-needed ' ''}}ds-link text-link hover:underline dark:text-link-dark ">{{this.authorTitle}}</a>
|
|
38
|
-
{{else}}
|
|
39
|
-
{{this.authorTitle}}
|
|
40
|
-
{{/if}}
|
|
41
|
-
{{#with this.textAfterAuthor}} {{this}}{{/with}}
|
|
42
|
-
</div>
|
|
43
|
-
{{> components/page/components/publicationdate _isTicker=_isTicker}}
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
{{~/if}}
|
|
47
|
-
|
|
48
|
-
{{/if}}
|