hr-design-system-handlebars 0.120.0 → 0.120.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 +24 -0
- package/dist/assets/index.css +3 -3
- package/dist/views/components/button/button.hbs +1 -0
- package/dist/views/components/button/button_round.hbs +1 -0
- 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/teaser_poster.hbs +2 -2
- 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/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/teaser_poster.hbs +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v0.120.2 (Thu Jan 19 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- improve accessibility [#486](https://github.com/mumprod/hr-design-system-handlebars/pull/486) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v0.120.1 (Thu Jan 19 2023)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- use realTeaserSize [#485](https://github.com/mumprod/hr-design-system-handlebars/pull/485) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v0.120.0 (Wed Jan 18 2023)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
package/dist/assets/index.css
CHANGED
|
@@ -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: cnt1674129127459;
|
|
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: cnt1674129127459 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(cnt1674129127459);
|
|
2638
2638
|
}
|
|
2639
2639
|
/*! ****************************/
|
|
2640
2640
|
/*! text-shadow */
|
|
@@ -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,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>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.
|
|
1
|
+
<article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.realTeaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
2
2
|
<figure class="ar-1-1" aria-hidden="true">
|
|
3
3
|
{{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-3xl rounded-br-3xl" ~}}
|
|
4
4
|
</figure>
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
_teaserType=this.teaserType
|
|
18
18
|
_font=(inline-switch isSerifHeading '[true, false]' '["font-headingSerif","font-heading font-bold"]') }}
|
|
19
19
|
{{/decorator}}
|
|
20
|
-
{{~> components/button/button_pseudo _type="hollow-white" _withLink=true _isLinkAriaHidden=true _linkCss="ds-cta absolute flex w-full h-full items-end justify-center" _buttonCss=(inline-switch this.
|
|
20
|
+
{{~> components/button/button_pseudo _type="hollow-white" _withLink=true _isLinkAriaHidden=true _linkCss="ds-cta absolute flex w-full h-full items-end justify-center" _buttonCss=(inline-switch this.realTeaserSize '["33","50"]' '["z-20 mb-7","z-20 mb-7 md:mb-16"]') _buttonText=this.link.readMoreText.readMoreLong ~}}
|
|
21
21
|
</div>
|
|
22
22
|
</article>
|
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.2",
|
|
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,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>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.
|
|
1
|
+
<article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.realTeaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
2
2
|
<figure class="ar-1-1" aria-hidden="true">
|
|
3
3
|
{{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-3xl rounded-br-3xl" ~}}
|
|
4
4
|
</figure>
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
_teaserType=this.teaserType
|
|
18
18
|
_font=(inline-switch isSerifHeading '[true, false]' '["font-headingSerif","font-heading font-bold"]') }}
|
|
19
19
|
{{/decorator}}
|
|
20
|
-
{{~> components/button/button_pseudo _type="hollow-white" _withLink=true _isLinkAriaHidden=true _linkCss="ds-cta absolute flex w-full h-full items-end justify-center" _buttonCss=(inline-switch this.
|
|
20
|
+
{{~> components/button/button_pseudo _type="hollow-white" _withLink=true _isLinkAriaHidden=true _linkCss="ds-cta absolute flex w-full h-full items-end justify-center" _buttonCss=(inline-switch this.realTeaserSize '["33","50"]' '["z-20 mb-7","z-20 mb-7 md:mb-16"]') _buttonText=this.link.readMoreText.readMoreLong ~}}
|
|
21
21
|
</div>
|
|
22
22
|
</article>
|