hr-design-system-handlebars 0.121.14 → 0.121.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 +12 -0
- package/dist/assets/index.css +3 -3
- package/dist/views/components/teaser/podcast/podcast_downloadbutton.hbs +7 -1
- package/dist/views/components/teaser/podcast/podcast_playbutton.hbs +9 -3
- package/dist/views/components/teaser/podcast/podcast_subscribe_button.hbs +8 -6
- package/dist/views/components/teaser/tabbox/teaser_tabbox.hbs +7 -8
- package/package.json +1 -1
- package/src/stories/views/components/teaser/podcast/podcast_downloadbutton.hbs +7 -1
- package/src/stories/views/components/teaser/podcast/podcast_playbutton.hbs +9 -3
- package/src/stories/views/components/teaser/podcast/podcast_subscribe_button.hbs +8 -6
- package/src/stories/views/components/teaser/tabbox/teaser_tabbox.hbs +7 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.121.15 (Thu Jan 26 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- DPE-2039 Tracking for Teasers [#507](https://github.com/mumprod/hr-design-system-handlebars/pull/507) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.121.14 (Thu Jan 26 2023)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -2477,7 +2477,7 @@ video {
|
|
|
2477
2477
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
2478
2478
|
}
|
|
2479
2479
|
.counter-reset {
|
|
2480
|
-
counter-reset:
|
|
2480
|
+
counter-reset: cnt1674745165651;
|
|
2481
2481
|
}
|
|
2482
2482
|
.line-clamp-4 {
|
|
2483
2483
|
overflow: hidden;
|
|
@@ -2695,7 +2695,7 @@ video {
|
|
|
2695
2695
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2696
2696
|
}
|
|
2697
2697
|
.-ordered {
|
|
2698
|
-
counter-increment:
|
|
2698
|
+
counter-increment: cnt1674745165651 1;
|
|
2699
2699
|
}
|
|
2700
2700
|
.-ordered::before {
|
|
2701
2701
|
position: absolute;
|
|
@@ -2711,7 +2711,7 @@ video {
|
|
|
2711
2711
|
letter-spacing: .0125em;
|
|
2712
2712
|
--tw-text-opacity: 1;
|
|
2713
2713
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2714
|
-
content: counter(
|
|
2714
|
+
content: counter(cnt1674745165651);
|
|
2715
2715
|
}
|
|
2716
2716
|
/*! ****************************/
|
|
2717
2717
|
/*! text-shadow */
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
<a href="{{_url}}"
|
|
1
|
+
<a href="{{_url}}"
|
|
2
|
+
class="h-6 ds-link rounded-lg {{#if _addClass}}{{_addClass}}{{/if}}{{#with this.trackingData}} js-load{{/with}}"
|
|
3
|
+
{{#with this.trackingData}}
|
|
4
|
+
data-hr-click-tracking='{"settings": [{"type": "download", "clickLabel": "{{this.pageName}}", "secondLevelId": "{{this.secondLevelId}}"}, {"type": "uxAction", "clickLabel": "medienDownload::podcast::{{../_type}}", "secondLevelId": "{{this.secondLevelId}}" }]}'
|
|
5
|
+
{{/with}}
|
|
6
|
+
aria-label="Podcast herunterladen"
|
|
7
|
+
download>
|
|
2
8
|
{{> components/base/image/icon _icon='download-neu' _addClass=_iconClass }}
|
|
3
9
|
</a>
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
<button id="button{{_id}}"
|
|
2
|
-
|
|
1
|
+
<button id="button{{_id}}"
|
|
2
|
+
x-on:keydown.space.prevent.stop="{{_alpineClick}}"
|
|
3
|
+
x-on:click.stop="{{_alpineClick}}"
|
|
4
|
+
type="button"
|
|
5
|
+
class="flex justify-start cursor-pointer group ds-button-round {{_css}}"
|
|
6
|
+
aria-label="Podcast starten"
|
|
7
|
+
>
|
|
8
|
+
<div class="text-white rounded-full js-playbutton bg-podcast ring-white ring js-load" data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastPlayer:play"}]}'>
|
|
3
9
|
{{> components/base/image/icon _icon="play-wide" _iconmap="icons" _addClass="inline w-12 h-12 fill-current"}}
|
|
4
10
|
</div>
|
|
5
|
-
<div class="hidden bg-white rounded-full js-pausebutton ring-podcast ring text-podcast-text">
|
|
11
|
+
<div class="hidden bg-white rounded-full js-pausebutton ring-podcast ring text-podcast-text js-load" data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastPlayer:pause"}]}'>
|
|
6
12
|
{{> components/base/image/icon _icon="pause" _iconmap="icons" _addClass="inline py-2 w-12 h-12 fill-current"}}
|
|
7
13
|
</div>
|
|
8
14
|
</button>
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
:aria-controls="$id('dropdown-button')"
|
|
28
28
|
type="button"
|
|
29
29
|
:class="open ? 'drop-shadow' : ''"
|
|
30
|
-
class="flex ds-button items-center gap-1.5 px-2 py-2 text-white shadow font-heading bg-podcast-highlight"
|
|
30
|
+
class="flex ds-button items-center gap-1.5 px-2 py-2 text-white shadow font-heading bg-podcast-highlight js-load"
|
|
31
|
+
data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastAbonnieren:ButtonClick"}]}'>Abonnieren
|
|
31
32
|
<div x-cloak x-show="open" class="w-3 h-3">
|
|
32
33
|
{{> components/base/image/icon _icon='arrow-up' _addClass="flex self-center w-3 h-3 fill-white" }}
|
|
33
34
|
</div>
|
|
@@ -50,11 +51,12 @@
|
|
|
50
51
|
<ul>
|
|
51
52
|
{{~#each this~}}
|
|
52
53
|
<li class="{{#unless @last}}border-b{{/unless}}">
|
|
53
|
-
<a class="flex px-2 py-2 text-left ds-link whitespace-nowrap hover:underline disabled:text-gray-500"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
<a class="flex px-2 py-2 text-left ds-link whitespace-nowrap hover:underline disabled:text-gray-500 js-load"
|
|
55
|
+
title="{{this.podcastHosterName}}"
|
|
56
|
+
target="_blank"
|
|
57
|
+
rel="noopener noreferrer"
|
|
58
|
+
href="{{this.podcastHosterUrl}}"
|
|
59
|
+
data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastAbonnieren:{{this.podcastHosterName}}"}]}'>{{this.podcastHosterName}}</a>
|
|
58
60
|
</li>
|
|
59
61
|
{{~/each~}}
|
|
60
62
|
</ul>
|
|
@@ -3,16 +3,15 @@
|
|
|
3
3
|
x-data="{ tab: '{{this.tabbedGroup.[0].title}}' }"
|
|
4
4
|
class="grid grid-cols-12 pt-6 mx-0 mb-8 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-hr md:rounded-br-hr md:col-main gap-x-6 gap-y-6"
|
|
5
5
|
>
|
|
6
|
-
<section class="px-0 col-span-full sm:px-8 md:px-0"
|
|
6
|
+
<section class="px-0 col-span-full sm:px-8 md:px-0">
|
|
7
7
|
<div class="flex flex-wrap justify-center mb-7 mx-1.5" role="tablist">
|
|
8
8
|
{{~#each this.tabbedGroup~}}
|
|
9
|
-
<button
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
role="tab"
|
|
9
|
+
<button :class="tab === '{{this.title}}' ? 'text-button-inverted bg-button border-button' : 'bg-button-inverted text-button-hollow border-button-inverted hover:border-button-hollow'"
|
|
10
|
+
x-on:click.prevent="tab = '{{this.title}}'; "
|
|
11
|
+
class="border ds-button text-base font-heading py-px px-2 m-1.5 js-load"
|
|
12
|
+
type="button"
|
|
13
|
+
role="tab"
|
|
14
|
+
data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "{{this.title}}:TabboxClick"}]}'
|
|
16
15
|
>
|
|
17
16
|
{{this.title}}
|
|
18
17
|
</button>
|
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.121.
|
|
9
|
+
"version": "0.121.15",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
<a href="{{_url}}"
|
|
1
|
+
<a href="{{_url}}"
|
|
2
|
+
class="h-6 ds-link rounded-lg {{#if _addClass}}{{_addClass}}{{/if}}{{#with this.trackingData}} js-load{{/with}}"
|
|
3
|
+
{{#with this.trackingData}}
|
|
4
|
+
data-hr-click-tracking='{"settings": [{"type": "download", "clickLabel": "{{this.pageName}}", "secondLevelId": "{{this.secondLevelId}}"}, {"type": "uxAction", "clickLabel": "medienDownload::podcast::{{../_type}}", "secondLevelId": "{{this.secondLevelId}}" }]}'
|
|
5
|
+
{{/with}}
|
|
6
|
+
aria-label="Podcast herunterladen"
|
|
7
|
+
download>
|
|
2
8
|
{{> components/base/image/icon _icon='download-neu' _addClass=_iconClass }}
|
|
3
9
|
</a>
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
<button id="button{{_id}}"
|
|
2
|
-
|
|
1
|
+
<button id="button{{_id}}"
|
|
2
|
+
x-on:keydown.space.prevent.stop="{{_alpineClick}}"
|
|
3
|
+
x-on:click.stop="{{_alpineClick}}"
|
|
4
|
+
type="button"
|
|
5
|
+
class="flex justify-start cursor-pointer group ds-button-round {{_css}}"
|
|
6
|
+
aria-label="Podcast starten"
|
|
7
|
+
>
|
|
8
|
+
<div class="text-white rounded-full js-playbutton bg-podcast ring-white ring js-load" data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastPlayer:play"}]}'>
|
|
3
9
|
{{> components/base/image/icon _icon="play-wide" _iconmap="icons" _addClass="inline w-12 h-12 fill-current"}}
|
|
4
10
|
</div>
|
|
5
|
-
<div class="hidden bg-white rounded-full js-pausebutton ring-podcast ring text-podcast-text">
|
|
11
|
+
<div class="hidden bg-white rounded-full js-pausebutton ring-podcast ring text-podcast-text js-load" data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastPlayer:pause"}]}'>
|
|
6
12
|
{{> components/base/image/icon _icon="pause" _iconmap="icons" _addClass="inline py-2 w-12 h-12 fill-current"}}
|
|
7
13
|
</div>
|
|
8
14
|
</button>
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
:aria-controls="$id('dropdown-button')"
|
|
28
28
|
type="button"
|
|
29
29
|
:class="open ? 'drop-shadow' : ''"
|
|
30
|
-
class="flex ds-button items-center gap-1.5 px-2 py-2 text-white shadow font-heading bg-podcast-highlight"
|
|
30
|
+
class="flex ds-button items-center gap-1.5 px-2 py-2 text-white shadow font-heading bg-podcast-highlight js-load"
|
|
31
|
+
data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastAbonnieren:ButtonClick"}]}'>Abonnieren
|
|
31
32
|
<div x-cloak x-show="open" class="w-3 h-3">
|
|
32
33
|
{{> components/base/image/icon _icon='arrow-up' _addClass="flex self-center w-3 h-3 fill-white" }}
|
|
33
34
|
</div>
|
|
@@ -50,11 +51,12 @@
|
|
|
50
51
|
<ul>
|
|
51
52
|
{{~#each this~}}
|
|
52
53
|
<li class="{{#unless @last}}border-b{{/unless}}">
|
|
53
|
-
<a class="flex px-2 py-2 text-left ds-link whitespace-nowrap hover:underline disabled:text-gray-500"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
<a class="flex px-2 py-2 text-left ds-link whitespace-nowrap hover:underline disabled:text-gray-500 js-load"
|
|
55
|
+
title="{{this.podcastHosterName}}"
|
|
56
|
+
target="_blank"
|
|
57
|
+
rel="noopener noreferrer"
|
|
58
|
+
href="{{this.podcastHosterUrl}}"
|
|
59
|
+
data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastAbonnieren:{{this.podcastHosterName}}"}]}'>{{this.podcastHosterName}}</a>
|
|
58
60
|
</li>
|
|
59
61
|
{{~/each~}}
|
|
60
62
|
</ul>
|
|
@@ -3,16 +3,15 @@
|
|
|
3
3
|
x-data="{ tab: '{{this.tabbedGroup.[0].title}}' }"
|
|
4
4
|
class="grid grid-cols-12 pt-6 mx-0 mb-8 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-hr md:rounded-br-hr md:col-main gap-x-6 gap-y-6"
|
|
5
5
|
>
|
|
6
|
-
<section class="px-0 col-span-full sm:px-8 md:px-0"
|
|
6
|
+
<section class="px-0 col-span-full sm:px-8 md:px-0">
|
|
7
7
|
<div class="flex flex-wrap justify-center mb-7 mx-1.5" role="tablist">
|
|
8
8
|
{{~#each this.tabbedGroup~}}
|
|
9
|
-
<button
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
role="tab"
|
|
9
|
+
<button :class="tab === '{{this.title}}' ? 'text-button-inverted bg-button border-button' : 'bg-button-inverted text-button-hollow border-button-inverted hover:border-button-hollow'"
|
|
10
|
+
x-on:click.prevent="tab = '{{this.title}}'; "
|
|
11
|
+
class="border ds-button text-base font-heading py-px px-2 m-1.5 js-load"
|
|
12
|
+
type="button"
|
|
13
|
+
role="tab"
|
|
14
|
+
data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "{{this.title}}:TabboxClick"}]}'
|
|
16
15
|
>
|
|
17
16
|
{{this.title}}
|
|
18
17
|
</button>
|