hr-design-system-handlebars 1.42.4 → 1.43.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 +25 -0
- package/dist/assets/index.css +51 -19
- package/dist/views/components/article/components/podcast/podcast_episode_article.hbs +35 -34
- package/dist/views/components/article/components/podcast/podcast_playlist_article.hbs +1 -1
- package/dist/views/components/content/content_footer/content_footer.hbs +8 -8
- package/dist/views/components/grid/grid_item.hbs +1 -1
- package/dist/views/components/podcast/components/podcast_item_title.hbs +1 -1
- package/dist/views/components/podcast/components/podcast_player_shorttext.hbs +1 -1
- package/dist/views/components/podcast/components/podcast_player_ui.hbs +1 -1
- package/dist/views/components/podcast/components/podcast_playlist_shorttext.hbs +1 -1
- package/dist/views/components/podcast/podcast_player.hbs +53 -53
- package/dist/views/components/socialmedia/socialmedia.hbs +19 -19
- package/dist/views_static/components/article/components/podcast/podcast_episode_article.hbs +35 -34
- package/dist/views_static/components/article/components/podcast/podcast_playlist_article.hbs +1 -1
- package/dist/views_static/components/content/content_footer/content_footer.hbs +8 -8
- package/dist/views_static/components/grid/grid_item.hbs +1 -1
- package/dist/views_static/components/podcast/components/podcast_item_title.hbs +1 -1
- package/dist/views_static/components/podcast/components/podcast_player_shorttext.hbs +1 -1
- package/dist/views_static/components/podcast/components/podcast_player_ui.hbs +1 -1
- package/dist/views_static/components/podcast/components/podcast_playlist_shorttext.hbs +1 -1
- package/dist/views_static/components/podcast/podcast_player.hbs +53 -53
- package/dist/views_static/components/socialmedia/socialmedia.hbs +19 -19
- package/package.json +1 -1
- package/src/assets/css/custom-utilities.css +30 -0
- package/src/stories/views/components/article/components/podcast/podcast_episode_article.hbs +35 -34
- package/src/stories/views/components/article/components/podcast/podcast_playlist_article.hbs +1 -1
- package/src/stories/views/components/content/content_footer/content_footer.hbs +8 -8
- package/src/stories/views/components/grid/grid_item.hbs +1 -1
- package/src/stories/views/components/podcast/components/podcast_item_title.hbs +1 -1
- package/src/stories/views/components/podcast/components/podcast_player_shorttext.hbs +1 -1
- package/src/stories/views/components/podcast/components/podcast_player_ui.hbs +1 -1
- package/src/stories/views/components/podcast/components/podcast_playlist_shorttext.hbs +1 -1
- package/src/stories/views/components/podcast/podcast_player.hbs +53 -53
- package/src/stories/views/components/socialmedia/socialmedia.hbs +19 -19
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{{#unless _isSinglePage}}
|
|
3
3
|
{{#unless this.hideShortText}}
|
|
4
4
|
{{~#with this.shorttext}}
|
|
5
|
-
<div class="hidden pb-6 text-sm md:flex md:text-base font-copy">
|
|
5
|
+
<div class="hidden pb-6 text-sm md:flex md:text-base font-copy dark:text-podcast-text-dark">
|
|
6
6
|
<span class="c-teaser__shorttext"> {{this}} </span>
|
|
7
7
|
</div>
|
|
8
8
|
{{/with~}}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
<div class="flex col-span-12 p-5">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
<div class="flex col-span-12 {{#unless _isArticlePlayer}} p-5 {{/unless}} {{#if _isArticlePlayer}} bg-highlight-1 {{/if}}">
|
|
2
|
+
<div class="flex flex-col grow">
|
|
3
|
+
{{!-- First Row --}}
|
|
4
|
+
<div class="flex flex-row {{#if ../_ordered}} pl-8 {{/if}} ">
|
|
5
|
+
<div class="flex flex-col grow">
|
|
6
|
+
<div class="flex max-h-6">
|
|
7
|
+
{{!-- Label / Airdate --}}
|
|
8
|
+
{{#with label}}
|
|
9
|
+
<div class="">
|
|
10
10
|
<span class='sb-label mr-2 rounded px-1.5 pt-px inline-block tracking-wide text-white text-base leading-5.5 font-heading bg-labelMedia'>
|
|
11
|
-
|
|
11
|
+
{{ loca this.loca }}
|
|
12
12
|
</span>
|
|
13
13
|
</div>
|
|
14
14
|
{{/with}}
|
|
@@ -19,56 +19,56 @@
|
|
|
19
19
|
<time class="flex grow pt-1.5" datetime="{{this.htmlDateTime}}">{{this.date}}</time>
|
|
20
20
|
{{/with}}
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
{{!-- Download --}}
|
|
23
|
+
{{> components/podcast/components/podcast_downloadbutton
|
|
24
|
+
_addClass=""
|
|
25
|
+
_iconClass="h-6 w-6 text-podcast-text fill-current"
|
|
26
|
+
_url=this.podcastDownloadUrl }}
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
{{!-- Überschrift: --}}
|
|
32
|
+
<div class="flex pb-5 pr-2 md:pr-5">
|
|
33
|
+
{{> components/podcast/components/podcast_title _title=this.title _teaserSize=this.realTeaserSize _addClass="" }}
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
</div>
|
|
35
37
|
|
|
36
|
-
|
|
38
|
+
{{!-- Podcast Image --}}
|
|
39
|
+
<div class="flex flex-col ">
|
|
40
|
+
<div class="w-22 {{#if _isArticlePlayer }} md:w-32 lg:w-42 {{else}} {{inline-switch this.realTeaserSize '["100","50"]' '["md:w-32 lg:w-42","md:w-22 lg:w-32", ""]'}} {{/if}}">
|
|
41
|
+
{{> components/base/image/responsive_image this.teaseritem
|
|
42
|
+
_type="podcastEpisodePlayer"
|
|
43
|
+
_variant="default"
|
|
44
|
+
_addClass="overflow-hidden"
|
|
45
|
+
_noDelay=this.dontLazyload
|
|
46
|
+
_addClassImg="w-full block"
|
|
47
|
+
}}
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
37
50
|
|
|
38
|
-
{{!-- Podcast Image --}}
|
|
39
|
-
<div class="flex flex-col ">
|
|
40
|
-
<div class="w-22 {{inline-switch this.realTeaserSize '["100","50"]' '["md:w-32 lg:w-42","md:w-22 lg:w-32", ""]'}}">
|
|
41
|
-
{{> components/base/image/responsive_image this.teaseritem
|
|
42
|
-
_type="podcastEpisodePlayer"
|
|
43
|
-
_variant="default"
|
|
44
|
-
_addClass="overflow-hidden"
|
|
45
|
-
_noDelay=this.dontLazyload
|
|
46
|
-
_addClassImg="w-full block"
|
|
47
|
-
}}
|
|
48
51
|
</div>
|
|
49
|
-
</div>
|
|
50
52
|
|
|
51
|
-
|
|
53
|
+
{{!-- Player UI --}}
|
|
54
|
+
<div class="flex {{#if _isArticlePlayer }} lg:pr-48 lg:-mt-14 {{else}} {{inline-switch this.realTeaserSize '["100","50"]' '["lg:pr-48 lg:-mt-14"," "]'}} {{/if}}"
|
|
55
|
+
x-data="podcastPlayer()"
|
|
56
|
+
x-init="listenToGlobalStop()"
|
|
57
|
+
ax-load
|
|
58
|
+
x-ignore>
|
|
59
|
+
{{> components/podcast/components/podcast_player_ui
|
|
60
|
+
_isPlaylistPlayer=false
|
|
61
|
+
_podcastDuration=duration
|
|
62
|
+
_id=(nextRandom)
|
|
63
|
+
_first=true
|
|
64
|
+
}}
|
|
65
|
+
</div>
|
|
52
66
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
x-ignore>
|
|
59
|
-
{{> components/podcast/components/podcast_player_ui
|
|
60
|
-
_isPlaylistPlayer=false
|
|
61
|
-
_podcastDuration=duration
|
|
62
|
-
_id=(nextRandom)
|
|
63
|
-
_first=true
|
|
64
|
-
}}
|
|
65
|
-
</div>
|
|
66
|
-
|
|
67
|
-
{{!-- Abo-Dropdown --}}
|
|
68
|
-
<div class="flex flex-row pt-5">
|
|
69
|
-
{{#with this.podcastChannel}}
|
|
70
|
-
{{> components/podcast/components/podcast_subscribe_button}}
|
|
71
|
-
{{/with}}
|
|
67
|
+
{{!-- Abo-Dropdown --}}
|
|
68
|
+
<div class="flex flex-row pt-5">
|
|
69
|
+
{{#with this.podcastChannel}}
|
|
70
|
+
{{> components/podcast/components/podcast_subscribe_button}}
|
|
71
|
+
{{/with}}
|
|
72
72
|
|
|
73
73
|
{{#with this.podcastChannel}}
|
|
74
74
|
{{!-- Sendungs-Link --}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<div class="w-full flex
|
|
2
|
-
<div class="flex flex-wrap
|
|
3
|
-
<span class="inline-flex text-
|
|
4
|
-
|
|
5
|
-
<ul class="flex flex-wrap w-full
|
|
1
|
+
<div class="w-full flex first:border-t last:border-b py-6 border-dotted border-[#797979] -socialsharing">
|
|
2
|
+
<div class="flex flex-wrap">
|
|
3
|
+
<span class="inline-flex text-xl font-headingSerif">{{loca "share_headline" }}</span>
|
|
4
|
+
|
|
5
|
+
<ul class="flex flex-wrap w-full pt-2 gap-x-2 gap-y-2 -socialsharing">
|
|
6
6
|
{{~#with this.twitterLink ~}}
|
|
7
|
-
<li
|
|
8
|
-
<a class="
|
|
7
|
+
<li>
|
|
8
|
+
<a class="{{#with ../../this.content.trackingData}} js-load{{/with}}"
|
|
9
9
|
href="{{this}}"
|
|
10
10
|
target="_blank"
|
|
11
11
|
rel="noopener noreferrer"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
</li>
|
|
20
20
|
{{~/with~}}
|
|
21
21
|
{{~#with this.facebookLink ~}}
|
|
22
|
-
<li
|
|
23
|
-
<a class="
|
|
22
|
+
<li>
|
|
23
|
+
<a class="{{#with ../../this.content.trackingData}} js-load{{/with}}"
|
|
24
24
|
href="{{this}}"
|
|
25
25
|
target="_blank"
|
|
26
26
|
rel="noopener noreferrer"
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::facebook"}]}'
|
|
30
30
|
{{/with}}
|
|
31
31
|
>
|
|
32
|
-
{{~> components/base/image/icon _addClass="
|
|
32
|
+
{{~> components/base/image/icon _addClass="w-8 h-8 rounded-lg fill-[#3b5999]" _icon="facebook" _iconmap="icons" ~}}
|
|
33
33
|
</a>
|
|
34
34
|
</li>
|
|
35
35
|
{{~/with~}}
|
|
36
36
|
{{~#with this.whatsappLink ~}}
|
|
37
|
-
<li
|
|
38
|
-
<a class="
|
|
37
|
+
<li>
|
|
38
|
+
<a class="{{#with ../../this.content.trackingData}} js-load{{/with}}"
|
|
39
39
|
href="{{this}}"
|
|
40
40
|
target="_blank"
|
|
41
41
|
rel="noopener noreferrer"
|
|
@@ -44,33 +44,33 @@
|
|
|
44
44
|
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::whatsapp"}]}'
|
|
45
45
|
{{/with}}
|
|
46
46
|
>
|
|
47
|
-
{{~> components/base/image/icon _addClass="
|
|
47
|
+
{{~> components/base/image/icon _addClass="w-8 h-8 rounded-lg fill-[#4dc247]" _icon="whatsapp" _iconmap="icons" ~}}
|
|
48
48
|
</a>
|
|
49
49
|
</li>
|
|
50
50
|
{{~/with~}}
|
|
51
51
|
{{~#with this.mailtoLink ~}}
|
|
52
|
-
<li
|
|
53
|
-
<a class="
|
|
52
|
+
<li>
|
|
53
|
+
<a class="{{#with ../../this.content.trackingData}} js-load{{/with}}"
|
|
54
54
|
href="{{this}}"
|
|
55
55
|
title="{{loca "share_mail_linktitle" }}"
|
|
56
56
|
{{#with ../../this.content.trackingData}}
|
|
57
57
|
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::mailto"}]}'
|
|
58
58
|
{{/with}}
|
|
59
59
|
>
|
|
60
|
-
{{~> components/base/image/icon _addClass="
|
|
60
|
+
{{~> components/base/image/icon _addClass="w-8 h-8 rounded-lg fill-[#006dc1]" _icon="mail" _iconmap="icons" ~}}
|
|
61
61
|
</a>
|
|
62
62
|
</li>
|
|
63
63
|
{{~/with~}}
|
|
64
64
|
|
|
65
|
-
<li
|
|
66
|
-
<a class="
|
|
65
|
+
<li>
|
|
66
|
+
<a class="{{#with ../this.content.trackingData}} js-load{{/with}}"
|
|
67
67
|
href="javascript:window.print()"
|
|
68
68
|
title="{{loca "share_print_linktitle" }}"
|
|
69
69
|
{{#with ../this.content.trackingData}}
|
|
70
70
|
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::printbutton"}]}'
|
|
71
71
|
{{/with}}
|
|
72
72
|
>
|
|
73
|
-
{{~> components/base/image/icon _addClass="
|
|
73
|
+
{{~> components/base/image/icon _addClass="w-8 h-8 rounded-lg fill-[#606060]" _icon="print" _iconmap="icons" ~}}
|
|
74
74
|
</a>
|
|
75
75
|
</li>
|
|
76
76
|
</ul>
|