hr-design-system-handlebars 0.120.1 → 0.120.3
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 +20 -20
- package/dist/views/components/button/button.hbs +1 -0
- package/dist/views/components/button/button_round.hbs +1 -0
- package/dist/views/components/content_nav/content_nav.hbs +2 -2
- package/dist/views/components/content_nav/content_nav_dropdown.hbs +1 -1
- package/dist/views/components/teaser/components/teaser_image.hbs +1 -0
- package/dist/views/components/teaser/components/teaser_topline.hbs +0 -1
- package/dist/views/components/teaser/podcast/podcast_downloadbutton.hbs +1 -1
- package/dist/views/components/teaser/podcast/podcast_playbutton.hbs +1 -1
- package/dist/views/components/teaser/podcast/podcast_player_ui.hbs +2 -1
- package/dist/views/components/teaser/podcast/podcast_timedisplay.hbs +2 -2
- package/dist/views/components/teaser/tabbox/teaser_tabbox.hbs +1 -1
- package/package.json +1 -1
- package/src/stories/views/components/button/button.hbs +1 -0
- package/src/stories/views/components/button/button_round.hbs +1 -0
- package/src/stories/views/components/content_nav/content_nav.hbs +2 -2
- package/src/stories/views/components/content_nav/content_nav_dropdown.hbs +1 -1
- package/src/stories/views/components/teaser/components/teaser_image.hbs +1 -0
- package/src/stories/views/components/teaser/components/teaser_topline.hbs +0 -1
- package/src/stories/views/components/teaser/podcast/podcast_downloadbutton.hbs +1 -1
- package/src/stories/views/components/teaser/podcast/podcast_playbutton.hbs +1 -1
- package/src/stories/views/components/teaser/podcast/podcast_player_ui.hbs +2 -1
- package/src/stories/views/components/teaser/podcast/podcast_timedisplay.hbs +2 -2
- package/src/stories/views/components/teaser/tabbox/teaser_tabbox.hbs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v0.120.3 (Thu Jan 19 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Feature/dpe 2019 b [#488](https://github.com/mumprod/hr-design-system-handlebars/pull/488) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v0.120.2 (Thu Jan 19 2023)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- improve accessibility [#486](https://github.com/mumprod/hr-design-system-handlebars/pull/486) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v0.120.1 (Thu Jan 19 2023)
|
|
2
26
|
|
|
3
27
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1033,9 +1033,6 @@ video {
|
|
|
1033
1033
|
.\!mt-4 {
|
|
1034
1034
|
margin-top: 1rem !important;
|
|
1035
1035
|
}
|
|
1036
|
-
.mt-2 {
|
|
1037
|
-
margin-top: 0.5rem;
|
|
1038
|
-
}
|
|
1039
1036
|
.mt-0 {
|
|
1040
1037
|
margin-top: 0px;
|
|
1041
1038
|
}
|
|
@@ -1066,6 +1063,9 @@ video {
|
|
|
1066
1063
|
.-mt-2 {
|
|
1067
1064
|
margin-top: -0.5rem;
|
|
1068
1065
|
}
|
|
1066
|
+
.mt-2 {
|
|
1067
|
+
margin-top: 0.5rem;
|
|
1068
|
+
}
|
|
1069
1069
|
.-mt-40 {
|
|
1070
1070
|
margin-top: -10rem;
|
|
1071
1071
|
}
|
|
@@ -1857,6 +1857,10 @@ video {
|
|
|
1857
1857
|
padding-left: 0.75rem;
|
|
1858
1858
|
padding-right: 0.75rem;
|
|
1859
1859
|
}
|
|
1860
|
+
.px-5 {
|
|
1861
|
+
padding-left: 1.25rem;
|
|
1862
|
+
padding-right: 1.25rem;
|
|
1863
|
+
}
|
|
1860
1864
|
.px-2 {
|
|
1861
1865
|
padding-left: 0.5rem;
|
|
1862
1866
|
padding-right: 0.5rem;
|
|
@@ -1885,10 +1889,6 @@ video {
|
|
|
1885
1889
|
padding-left: 2rem;
|
|
1886
1890
|
padding-right: 2rem;
|
|
1887
1891
|
}
|
|
1888
|
-
.px-5 {
|
|
1889
|
-
padding-left: 1.25rem;
|
|
1890
|
-
padding-right: 1.25rem;
|
|
1891
|
-
}
|
|
1892
1892
|
.py-4 {
|
|
1893
1893
|
padding-top: 1rem;
|
|
1894
1894
|
padding-bottom: 1rem;
|
|
@@ -2400,7 +2400,7 @@ video {
|
|
|
2400
2400
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
2401
2401
|
}
|
|
2402
2402
|
.counter-reset {
|
|
2403
|
-
counter-reset:
|
|
2403
|
+
counter-reset: cnt1674135434720;
|
|
2404
2404
|
}
|
|
2405
2405
|
.line-clamp-4 {
|
|
2406
2406
|
overflow: hidden;
|
|
@@ -2618,7 +2618,7 @@ video {
|
|
|
2618
2618
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2619
2619
|
}
|
|
2620
2620
|
.-ordered {
|
|
2621
|
-
counter-increment:
|
|
2621
|
+
counter-increment: cnt1674135434720 1;
|
|
2622
2622
|
}
|
|
2623
2623
|
.-ordered::before {
|
|
2624
2624
|
position: absolute;
|
|
@@ -2634,7 +2634,7 @@ video {
|
|
|
2634
2634
|
letter-spacing: .0125em;
|
|
2635
2635
|
--tw-text-opacity: 1;
|
|
2636
2636
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2637
|
-
content: counter(
|
|
2637
|
+
content: counter(cnt1674135434720);
|
|
2638
2638
|
}
|
|
2639
2639
|
/*! ****************************/
|
|
2640
2640
|
/*! text-shadow */
|
|
@@ -3658,16 +3658,16 @@ video {
|
|
|
3658
3658
|
width: fit-content;
|
|
3659
3659
|
}
|
|
3660
3660
|
|
|
3661
|
-
.sm\:px-8 {
|
|
3662
|
-
padding-left: 2rem;
|
|
3663
|
-
padding-right: 2rem;
|
|
3664
|
-
}
|
|
3665
|
-
|
|
3666
3661
|
.sm\:px-0 {
|
|
3667
3662
|
padding-left: 0px;
|
|
3668
3663
|
padding-right: 0px;
|
|
3669
3664
|
}
|
|
3670
3665
|
|
|
3666
|
+
.sm\:px-8 {
|
|
3667
|
+
padding-left: 2rem;
|
|
3668
|
+
padding-right: 2rem;
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
3671
|
.sm\:px-11\.5 {
|
|
3672
3672
|
padding-left: 2.875rem;
|
|
3673
3673
|
padding-right: 2.875rem;
|
|
@@ -3984,16 +3984,16 @@ video {
|
|
|
3984
3984
|
padding: 2.5rem;
|
|
3985
3985
|
}
|
|
3986
3986
|
|
|
3987
|
-
.md\:px-0 {
|
|
3988
|
-
padding-left: 0px;
|
|
3989
|
-
padding-right: 0px;
|
|
3990
|
-
}
|
|
3991
|
-
|
|
3992
3987
|
.md\:\!px-0 {
|
|
3993
3988
|
padding-left: 0px !important;
|
|
3994
3989
|
padding-right: 0px !important;
|
|
3995
3990
|
}
|
|
3996
3991
|
|
|
3992
|
+
.md\:px-0 {
|
|
3993
|
+
padding-left: 0px;
|
|
3994
|
+
padding-right: 0px;
|
|
3995
|
+
}
|
|
3996
|
+
|
|
3997
3997
|
.md\:px-4 {
|
|
3998
3998
|
padding-left: 1rem;
|
|
3999
3999
|
padding-right: 1rem;
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
{{~#if _value}} value="{{_value}}"{{/if}}
|
|
8
8
|
{{~#if _alpineClick}} @click="{{_alpineClick}}"{{/if}}
|
|
9
9
|
{{~#if _x-show}} x-show="{{_x-show}}"{{/if}}
|
|
10
|
+
{{~#if _noFocus}} tabindex="-1"{{/if}}
|
|
10
11
|
>
|
|
11
12
|
{{~#if _showIcon~}}
|
|
12
13
|
{{> components/base/image/icon _icon=_icon _iconmap=_iconmap _addClass=_addIconClass _webview=_webview}}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{{#with this.contentNav}}
|
|
2
2
|
{{#if this.isListOrFlow}}
|
|
3
|
-
<nav class="w-full px-
|
|
3
|
+
<nav class="w-full px-5 sm:px-0 c-content-nav {{inline-switch ../_teaserSize '["100","66","50","33","25"]' '[" teaser-size-100"," teaser-size-66"," teaser-size-50"," teaser-size-33"," teaser-size-25", ""]'}}">
|
|
4
4
|
{{> components/content_nav/content_nav_container
|
|
5
5
|
_teaserSize=../_teaserSize
|
|
6
|
-
_maindivclass="flex relative flex-wrap
|
|
6
|
+
_maindivclass="flex relative flex-wrap"
|
|
7
7
|
}}
|
|
8
8
|
</nav>
|
|
9
9
|
{{else}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<nav class="w-full px-
|
|
1
|
+
<nav class="w-full px-5 sm:px-0 {{inline-switch _teaserSize '["100","66","50","33","25"]' '[" teaser-size-100"," teaser-size-66"," teaser-size-50"," teaser-size-33"," teaser-size-25", ""]'}}"
|
|
2
2
|
:class="contentNavDropdownIsOpen ? 'h-10' : ''"
|
|
3
3
|
id="dropdown--{{nextRandom}}"
|
|
4
4
|
tabindex="0"
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<a href="{{_url}}" class="h-6 js-load {{#if _addClass}}{{_addClass}}{{/if}}" {{#with this.trackingData}} data-hr-click-tracking='{"settings": [{"type": "download", "clickLabel": "{{this.pageName}}", "secondLevelId": "{{this.secondLevelId}}"}, {"type": "uxAction", "clickLabel": "medienDownload::podcast::{{../_type}}", "secondLevelId": "{{this.secondLevelId}}" }]}'{{/with}}>
|
|
1
|
+
<a href="{{_url}}" class="h-6 js-load {{#if _addClass}}{{_addClass}}{{/if}}" {{#with this.trackingData}} data-hr-click-tracking='{"settings": [{"type": "download", "clickLabel": "{{this.pageName}}", "secondLevelId": "{{this.secondLevelId}}"}, {"type": "uxAction", "clickLabel": "medienDownload::podcast::{{../_type}}", "secondLevelId": "{{this.secondLevelId}}" }]}'{{/with}} aria-label="Podcast herunterladen">
|
|
2
2
|
{{> components/base/image/icon _icon='download-neu' _addClass=_iconClass }}
|
|
3
3
|
</a>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<button id="button{{_id}}" x-on:keydown.space.prevent.stop="{{_alpineClick}}" x-on:click.stop="{{_alpineClick}}" type="button" class="flex justify-start cursor-pointer group focus:outline-none {{_css}}">
|
|
1
|
+
<button id="button{{_id}}" x-on:keydown.space.prevent.stop="{{_alpineClick}}" x-on:click.stop="{{_alpineClick}}" type="button" class="flex justify-start cursor-pointer group focus:outline-none {{_css}}" aria-label="Podcast starten">
|
|
2
2
|
<div class="text-white rounded-full js-playbutton bg-podcast ring-white ring">
|
|
3
3
|
{{> components/base/image/icon _icon="play-wide" _iconmap="icons" _addClass="inline w-12 h-12 fill-current"}}
|
|
4
4
|
</div>
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
min="0"
|
|
50
50
|
max="1000"
|
|
51
51
|
value="0"
|
|
52
|
-
class="h-1 my-4 bg-white rounded-lg appearance-none cursor-pointer grow seek_slider"
|
|
52
|
+
class="h-1 my-4 bg-white rounded-lg appearance-none cursor-pointer grow seek_slider"
|
|
53
|
+
aria-label="Schieberegler" >
|
|
53
54
|
</div>
|
|
54
55
|
|
|
55
56
|
{{#if _isPlaylistPlayer}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div id="timedisplay{{_id}}" class="{{_containerCss}}">
|
|
2
|
-
<span class="{{_currentTimeClasses}} js-currentTime" id="currentTime" >0:00</span>
|
|
2
|
+
<span class="{{_currentTimeClasses}} js-currentTime" id="currentTime{{_id}}" >0:00</span>
|
|
3
3
|
<span class="{{_durationClasses}} px-0.5"> / </span>
|
|
4
|
-
<span class="{{_durationClasses}} js-audioDuration" id="audioDurationFancy">{{_duration}}</span>
|
|
4
|
+
<span class="{{_durationClasses}} js-audioDuration" id="audioDurationFancy{{_id}}">{{_duration}}</span>
|
|
5
5
|
</div>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
x-data="{ tab: '{{this.tabbedGroup.[0].title}}' }"
|
|
5
5
|
class="grid grid-cols-12 pt-6 mx-0 mb-8 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-3xl md:rounded-br-3xl md:col-main gap-x-6 gap-y-6"
|
|
6
6
|
>
|
|
7
|
-
<section class="col-span-full" data-hr-group-tabbed='{"wandaPageId":"{{this.wandaPageId}}"}'>
|
|
7
|
+
<section class="px-0 col-span-full sm:px-8 md:px-0" data-hr-group-tabbed='{"wandaPageId":"{{this.wandaPageId}}"}'>
|
|
8
8
|
<div class="flex flex-wrap justify-center mb-7 mx-1.5" role="tablist">
|
|
9
9
|
{{~#each this.tabbedGroup~}}
|
|
10
10
|
<button onclick="window.location.href='#tgp{{@index}}';"
|
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.120.
|
|
9
|
+
"version": "0.120.3",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
{{~#if _value}} value="{{_value}}"{{/if}}
|
|
8
8
|
{{~#if _alpineClick}} @click="{{_alpineClick}}"{{/if}}
|
|
9
9
|
{{~#if _x-show}} x-show="{{_x-show}}"{{/if}}
|
|
10
|
+
{{~#if _noFocus}} tabindex="-1"{{/if}}
|
|
10
11
|
>
|
|
11
12
|
{{~#if _showIcon~}}
|
|
12
13
|
{{> components/base/image/icon _icon=_icon _iconmap=_iconmap _addClass=_addIconClass _webview=_webview}}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{{#with this.contentNav}}
|
|
2
2
|
{{#if this.isListOrFlow}}
|
|
3
|
-
<nav class="w-full px-
|
|
3
|
+
<nav class="w-full px-5 sm:px-0 c-content-nav {{inline-switch ../_teaserSize '["100","66","50","33","25"]' '[" teaser-size-100"," teaser-size-66"," teaser-size-50"," teaser-size-33"," teaser-size-25", ""]'}}">
|
|
4
4
|
{{> components/content_nav/content_nav_container
|
|
5
5
|
_teaserSize=../_teaserSize
|
|
6
|
-
_maindivclass="flex relative flex-wrap
|
|
6
|
+
_maindivclass="flex relative flex-wrap"
|
|
7
7
|
}}
|
|
8
8
|
</nav>
|
|
9
9
|
{{else}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<nav class="w-full px-
|
|
1
|
+
<nav class="w-full px-5 sm:px-0 {{inline-switch _teaserSize '["100","66","50","33","25"]' '[" teaser-size-100"," teaser-size-66"," teaser-size-50"," teaser-size-33"," teaser-size-25", ""]'}}"
|
|
2
2
|
:class="contentNavDropdownIsOpen ? 'h-10' : ''"
|
|
3
3
|
id="dropdown--{{nextRandom}}"
|
|
4
4
|
tabindex="0"
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<a href="{{_url}}" class="h-6 js-load {{#if _addClass}}{{_addClass}}{{/if}}" {{#with this.trackingData}} data-hr-click-tracking='{"settings": [{"type": "download", "clickLabel": "{{this.pageName}}", "secondLevelId": "{{this.secondLevelId}}"}, {"type": "uxAction", "clickLabel": "medienDownload::podcast::{{../_type}}", "secondLevelId": "{{this.secondLevelId}}" }]}'{{/with}}>
|
|
1
|
+
<a href="{{_url}}" class="h-6 js-load {{#if _addClass}}{{_addClass}}{{/if}}" {{#with this.trackingData}} data-hr-click-tracking='{"settings": [{"type": "download", "clickLabel": "{{this.pageName}}", "secondLevelId": "{{this.secondLevelId}}"}, {"type": "uxAction", "clickLabel": "medienDownload::podcast::{{../_type}}", "secondLevelId": "{{this.secondLevelId}}" }]}'{{/with}} aria-label="Podcast herunterladen">
|
|
2
2
|
{{> components/base/image/icon _icon='download-neu' _addClass=_iconClass }}
|
|
3
3
|
</a>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<button id="button{{_id}}" x-on:keydown.space.prevent.stop="{{_alpineClick}}" x-on:click.stop="{{_alpineClick}}" type="button" class="flex justify-start cursor-pointer group focus:outline-none {{_css}}">
|
|
1
|
+
<button id="button{{_id}}" x-on:keydown.space.prevent.stop="{{_alpineClick}}" x-on:click.stop="{{_alpineClick}}" type="button" class="flex justify-start cursor-pointer group focus:outline-none {{_css}}" aria-label="Podcast starten">
|
|
2
2
|
<div class="text-white rounded-full js-playbutton bg-podcast ring-white ring">
|
|
3
3
|
{{> components/base/image/icon _icon="play-wide" _iconmap="icons" _addClass="inline w-12 h-12 fill-current"}}
|
|
4
4
|
</div>
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
min="0"
|
|
50
50
|
max="1000"
|
|
51
51
|
value="0"
|
|
52
|
-
class="h-1 my-4 bg-white rounded-lg appearance-none cursor-pointer grow seek_slider"
|
|
52
|
+
class="h-1 my-4 bg-white rounded-lg appearance-none cursor-pointer grow seek_slider"
|
|
53
|
+
aria-label="Schieberegler" >
|
|
53
54
|
</div>
|
|
54
55
|
|
|
55
56
|
{{#if _isPlaylistPlayer}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div id="timedisplay{{_id}}" class="{{_containerCss}}">
|
|
2
|
-
<span class="{{_currentTimeClasses}} js-currentTime" id="currentTime" >0:00</span>
|
|
2
|
+
<span class="{{_currentTimeClasses}} js-currentTime" id="currentTime{{_id}}" >0:00</span>
|
|
3
3
|
<span class="{{_durationClasses}} px-0.5"> / </span>
|
|
4
|
-
<span class="{{_durationClasses}} js-audioDuration" id="audioDurationFancy">{{_duration}}</span>
|
|
4
|
+
<span class="{{_durationClasses}} js-audioDuration" id="audioDurationFancy{{_id}}">{{_duration}}</span>
|
|
5
5
|
</div>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
x-data="{ tab: '{{this.tabbedGroup.[0].title}}' }"
|
|
5
5
|
class="grid grid-cols-12 pt-6 mx-0 mb-8 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-3xl md:rounded-br-3xl md:col-main gap-x-6 gap-y-6"
|
|
6
6
|
>
|
|
7
|
-
<section class="col-span-full" data-hr-group-tabbed='{"wandaPageId":"{{this.wandaPageId}}"}'>
|
|
7
|
+
<section class="px-0 col-span-full sm:px-8 md:px-0" data-hr-group-tabbed='{"wandaPageId":"{{this.wandaPageId}}"}'>
|
|
8
8
|
<div class="flex flex-wrap justify-center mb-7 mx-1.5" role="tablist">
|
|
9
9
|
{{~#each this.tabbedGroup~}}
|
|
10
10
|
<button onclick="window.location.href='#tgp{{@index}}';"
|