hr-design-system-handlebars 1.31.0 → 1.31.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/brand/hr4/icons/logo/svgmap.min.svg +1 -1
- package/dist/assets/index.css +3 -3
- package/dist/assets/js/base/tracking/clickTracking.feature.js +1 -1
- package/dist/assets/js/components/mediaplayer/ardPlayerLoader.subfeature.js +12 -18
- package/package.json +1 -1
- package/src/assets/brand/hr4/icons/logo/svgmap.min.svg +1 -1
- package/src/stories/views/base/tracking/clickTracking.feature.js +1 -1
- package/src/stories/views/components/mediaplayer/ardPlayerLoader.subfeature.js +12 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v1.31.2 (Fri Jul 14 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Feature/dpe 2396 [#679](https://github.com/mumprod/hr-design-system-handlebars/pull/679) ([@szuelch](https://github.com/szuelch))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- [@szuelch](https://github.com/szuelch)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v1.31.1 (Thu Jul 13 2023)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- use new pianoHelper [#678](https://github.com/mumprod/hr-design-system-handlebars/pull/678) ([@szuelch](https://github.com/szuelch))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- [@szuelch](https://github.com/szuelch)
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v1.31.0 (Thu Jul 13 2023)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient id="Unbenannter_Verlauf" data-name="Unbenannter Verlauf" x1="51.64" y1="171.64" x2="12.95" y2="132.95" gradientTransform="matrix(1 0 0 -1 0 182)" gradientUnits="userSpaceOnUse"><stop offset=".03" stop-color="#d6007f"/><stop offset=".48" stop-color="#9b0058"/></linearGradient><style>.cls-1{fill:#fff}</style></defs><symbol id="brandlogo--desk" viewBox="0 0 62 62"><path d="M50 62H0V12C0 5.4 5.4 0 12 0h50v50c0 6.6-5.4 12-12 12Z"/><path class="cls-1" d="M30.36 47.41c-7.14.11-15.75-1.18-21.36-3.54v-2.14c5.86 2.46 13.86 3.75 20.96 3.64 7.68-.14 15.68-1.39 21.21-3.57v2.07c-6.14 2.18-13.18 3.39-20.82 3.54M12.71 15.16v7.93s2.54-.54 4.75-.5c3.68.04 5.54 2 5.68 4.54.04.64.04 1 .04 1.71v10.32h-3.89V28.62c0-1.29.07-2.89-2.86-2.89-2.11 0-3.57.39-3.57.39v13H9.04V15.37l3.68-.21ZM36.32 22.62s-3.46.07-5.5.5c-2.36.54-3.86 1.93-4.07 4.07-.04.43-.07.68-.07 1.61v10.36h3.89V28.59c0-.93.07-1.5.68-2.07.71-.61 2.29-.71 3.18-.79.61-.04 1.86-.07 1.86-.07l.04-3.04ZM53 33.76v-3.32h-2.86v-5.6H46.5v5.6h-4.57l6.82-15.85h-4l-6.89 15.85v3.32h8.64v5.4h3.82v-5.4H53z"/></symbol><symbol id="brandlogo--mobile" viewBox="0 0
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient id="Unbenannter_Verlauf" data-name="Unbenannter Verlauf" x1="51.64" y1="171.64" x2="12.95" y2="132.95" gradientTransform="matrix(1 0 0 -1 0 182)" gradientUnits="userSpaceOnUse"><stop offset=".03" stop-color="#d6007f"/><stop offset=".48" stop-color="#9b0058"/></linearGradient><style>.cls-1{fill:#fff}</style><linearGradient id="Unbenannter_Verlauf" data-name="Unbenannter Verlauf" x1="51.64" y1="171.64" x2="12.95" y2="132.95" gradientTransform="matrix(1 0 0 -1 0 182)" gradientUnits="userSpaceOnUse"><stop offset=".03" stop-color="#d6007f"/><stop offset=".48" stop-color="#9b0058"/></linearGradient><style>.cls-1{fill:#fff}</style></defs><symbol id="brandlogo--desk" viewBox="0 0 62 62"><path d="M50 62H0V12C0 5.4 5.4 0 12 0h50v50c0 6.6-5.4 12-12 12Z"/><path class="cls-1" d="M30.36 47.41c-7.14.11-15.75-1.18-21.36-3.54v-2.14c5.86 2.46 13.86 3.75 20.96 3.64 7.68-.14 15.68-1.39 21.21-3.57v2.07c-6.14 2.18-13.18 3.39-20.82 3.54M12.71 15.16v7.93s2.54-.54 4.75-.5c3.68.04 5.54 2 5.68 4.54.04.64.04 1 .04 1.71v10.32h-3.89V28.62c0-1.29.07-2.89-2.86-2.89-2.11 0-3.57.39-3.57.39v13H9.04V15.37l3.68-.21ZM36.32 22.62s-3.46.07-5.5.5c-2.36.54-3.86 1.93-4.07 4.07-.04.43-.07.68-.07 1.61v10.36h3.89V28.59c0-.93.07-1.5.68-2.07.71-.61 2.29-.71 3.18-.79.61-.04 1.86-.07 1.86-.07l.04-3.04ZM53 33.76v-3.32h-2.86v-5.6H46.5v5.6h-4.57l6.82-15.85h-4l-6.89 15.85v3.32h8.64v5.4h3.82v-5.4H53z"/></symbol><symbol id="brandlogo--mobile" viewBox="0 0 62 62"><path d="M50 62H0V12C0 5.4 5.4 0 12 0h50v50c0 6.6-5.4 12-12 12Z"/><path class="cls-1" d="M30.36 47.41c-7.14.11-15.75-1.18-21.36-3.54v-2.14c5.86 2.46 13.86 3.75 20.96 3.64 7.68-.14 15.68-1.39 21.21-3.57v2.07c-6.14 2.18-13.18 3.39-20.82 3.54M12.71 15.16v7.93s2.54-.54 4.75-.5c3.68.04 5.54 2 5.68 4.54.04.64.04 1 .04 1.71v10.32h-3.89V28.62c0-1.29.07-2.89-2.86-2.89-2.11 0-3.57.39-3.57.39v13H9.04V15.37l3.68-.21ZM36.32 22.62s-3.46.07-5.5.5c-2.36.54-3.86 1.93-4.07 4.07-.04.43-.07.68-.07 1.61v10.36h3.89V28.59c0-.93.07-1.5.68-2.07.71-.61 2.29-.71 3.18-.79.61-.04 1.86-.07 1.86-.07l.04-3.04ZM53 33.76v-3.32h-2.86v-5.6H46.5v5.6h-4.57l6.82-15.85h-4l-6.89 15.85v3.32h8.64v5.4h3.82v-5.4H53z"/></symbol></svg>
|
package/dist/assets/index.css
CHANGED
|
@@ -2817,7 +2817,7 @@ video {
|
|
|
2817
2817
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
2818
2818
|
}
|
|
2819
2819
|
.counter-reset {
|
|
2820
|
-
counter-reset:
|
|
2820
|
+
counter-reset: cnt1689322574902;
|
|
2821
2821
|
}
|
|
2822
2822
|
.hyphens-auto {
|
|
2823
2823
|
-webkit-hyphens: auto;
|
|
@@ -3052,7 +3052,7 @@ video {
|
|
|
3052
3052
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3053
3053
|
}
|
|
3054
3054
|
.-ordered {
|
|
3055
|
-
counter-increment:
|
|
3055
|
+
counter-increment: cnt1689322574902 1;
|
|
3056
3056
|
}
|
|
3057
3057
|
.-ordered::before {
|
|
3058
3058
|
position: absolute;
|
|
@@ -3068,7 +3068,7 @@ video {
|
|
|
3068
3068
|
letter-spacing: .0125em;
|
|
3069
3069
|
--tw-text-opacity: 1;
|
|
3070
3070
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3071
|
-
content: counter(
|
|
3071
|
+
content: counter(cnt1689322574902);
|
|
3072
3072
|
}
|
|
3073
3073
|
/*! ****************************/
|
|
3074
3074
|
/*! text-shadow */
|
|
@@ -15,13 +15,6 @@ const ArdPlayerLoader = function (options, rootElement) {
|
|
|
15
15
|
player
|
|
16
16
|
|
|
17
17
|
const setupPlayer = function () {
|
|
18
|
-
if (
|
|
19
|
-
undefined != playerConfig.pluginData['trackingAti@all'] &&
|
|
20
|
-
playerConfig.pluginData['trackingAti@all'].isEnabled
|
|
21
|
-
) {
|
|
22
|
-
playerConfig.pluginData['trackingAti@all'].config.cookieSecure =
|
|
23
|
-
'https:' === document.location.protocol
|
|
24
|
-
}
|
|
25
18
|
loadArdPlayerScript()
|
|
26
19
|
fetchPlayerStyle(skinPath).then(createPlayer())
|
|
27
20
|
}
|
|
@@ -52,11 +45,9 @@ const ArdPlayerLoader = function (options, rootElement) {
|
|
|
52
45
|
}
|
|
53
46
|
|
|
54
47
|
const createPlayer = function () {
|
|
55
|
-
if (trackingCookie.isTrackingAccepted('ati')) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
if (undefined != playerConfig.pluginData['trackingAti@all'])
|
|
59
|
-
playerConfig.pluginData['trackingAti@all'].isEnabled = false
|
|
48
|
+
if (!trackingCookie.isTrackingAccepted('ati')) {
|
|
49
|
+
if (undefined != playerConfig.pluginData['trackingPiano@all'])
|
|
50
|
+
playerConfig.pluginData['trackingPiano@all'].isEnabled = false
|
|
60
51
|
}
|
|
61
52
|
if (
|
|
62
53
|
!trackingCookie.isTrackingAccepted('agf') &&
|
|
@@ -98,12 +89,15 @@ const ArdPlayerLoader = function (options, rootElement) {
|
|
|
98
89
|
}
|
|
99
90
|
})
|
|
100
91
|
|
|
101
|
-
listen(
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
92
|
+
listen(
|
|
93
|
+
'hr:global:stopOtherAVs',
|
|
94
|
+
function (event) {
|
|
95
|
+
if (event.detail != 'ardplayer') {
|
|
96
|
+
player.pause()
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
window
|
|
100
|
+
)
|
|
107
101
|
|
|
108
102
|
listen('player_closed', function (event) {
|
|
109
103
|
let playerIdFromConfig = parseInt(playerId)
|
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": "1.31.
|
|
9
|
+
"version": "1.31.2",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient id="Unbenannter_Verlauf" data-name="Unbenannter Verlauf" x1="51.64" y1="171.64" x2="12.95" y2="132.95" gradientTransform="matrix(1 0 0 -1 0 182)" gradientUnits="userSpaceOnUse"><stop offset=".03" stop-color="#d6007f"/><stop offset=".48" stop-color="#9b0058"/></linearGradient><style>.cls-1{fill:#fff}</style></defs><symbol id="brandlogo--desk" viewBox="0 0 62 62"><path d="M50 62H0V12C0 5.4 5.4 0 12 0h50v50c0 6.6-5.4 12-12 12Z"/><path class="cls-1" d="M30.36 47.41c-7.14.11-15.75-1.18-21.36-3.54v-2.14c5.86 2.46 13.86 3.75 20.96 3.64 7.68-.14 15.68-1.39 21.21-3.57v2.07c-6.14 2.18-13.18 3.39-20.82 3.54M12.71 15.16v7.93s2.54-.54 4.75-.5c3.68.04 5.54 2 5.68 4.54.04.64.04 1 .04 1.71v10.32h-3.89V28.62c0-1.29.07-2.89-2.86-2.89-2.11 0-3.57.39-3.57.39v13H9.04V15.37l3.68-.21ZM36.32 22.62s-3.46.07-5.5.5c-2.36.54-3.86 1.93-4.07 4.07-.04.43-.07.68-.07 1.61v10.36h3.89V28.59c0-.93.07-1.5.68-2.07.71-.61 2.29-.71 3.18-.79.61-.04 1.86-.07 1.86-.07l.04-3.04ZM53 33.76v-3.32h-2.86v-5.6H46.5v5.6h-4.57l6.82-15.85h-4l-6.89 15.85v3.32h8.64v5.4h3.82v-5.4H53z"/></symbol><symbol id="brandlogo--mobile" viewBox="0 0
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient id="Unbenannter_Verlauf" data-name="Unbenannter Verlauf" x1="51.64" y1="171.64" x2="12.95" y2="132.95" gradientTransform="matrix(1 0 0 -1 0 182)" gradientUnits="userSpaceOnUse"><stop offset=".03" stop-color="#d6007f"/><stop offset=".48" stop-color="#9b0058"/></linearGradient><style>.cls-1{fill:#fff}</style><linearGradient id="Unbenannter_Verlauf" data-name="Unbenannter Verlauf" x1="51.64" y1="171.64" x2="12.95" y2="132.95" gradientTransform="matrix(1 0 0 -1 0 182)" gradientUnits="userSpaceOnUse"><stop offset=".03" stop-color="#d6007f"/><stop offset=".48" stop-color="#9b0058"/></linearGradient><style>.cls-1{fill:#fff}</style></defs><symbol id="brandlogo--desk" viewBox="0 0 62 62"><path d="M50 62H0V12C0 5.4 5.4 0 12 0h50v50c0 6.6-5.4 12-12 12Z"/><path class="cls-1" d="M30.36 47.41c-7.14.11-15.75-1.18-21.36-3.54v-2.14c5.86 2.46 13.86 3.75 20.96 3.64 7.68-.14 15.68-1.39 21.21-3.57v2.07c-6.14 2.18-13.18 3.39-20.82 3.54M12.71 15.16v7.93s2.54-.54 4.75-.5c3.68.04 5.54 2 5.68 4.54.04.64.04 1 .04 1.71v10.32h-3.89V28.62c0-1.29.07-2.89-2.86-2.89-2.11 0-3.57.39-3.57.39v13H9.04V15.37l3.68-.21ZM36.32 22.62s-3.46.07-5.5.5c-2.36.54-3.86 1.93-4.07 4.07-.04.43-.07.68-.07 1.61v10.36h3.89V28.59c0-.93.07-1.5.68-2.07.71-.61 2.29-.71 3.18-.79.61-.04 1.86-.07 1.86-.07l.04-3.04ZM53 33.76v-3.32h-2.86v-5.6H46.5v5.6h-4.57l6.82-15.85h-4l-6.89 15.85v3.32h8.64v5.4h3.82v-5.4H53z"/></symbol><symbol id="brandlogo--mobile" viewBox="0 0 62 62"><path d="M50 62H0V12C0 5.4 5.4 0 12 0h50v50c0 6.6-5.4 12-12 12Z"/><path class="cls-1" d="M30.36 47.41c-7.14.11-15.75-1.18-21.36-3.54v-2.14c5.86 2.46 13.86 3.75 20.96 3.64 7.68-.14 15.68-1.39 21.21-3.57v2.07c-6.14 2.18-13.18 3.39-20.82 3.54M12.71 15.16v7.93s2.54-.54 4.75-.5c3.68.04 5.54 2 5.68 4.54.04.64.04 1 .04 1.71v10.32h-3.89V28.62c0-1.29.07-2.89-2.86-2.89-2.11 0-3.57.39-3.57.39v13H9.04V15.37l3.68-.21ZM36.32 22.62s-3.46.07-5.5.5c-2.36.54-3.86 1.93-4.07 4.07-.04.43-.07.68-.07 1.61v10.36h3.89V28.59c0-.93.07-1.5.68-2.07.71-.61 2.29-.71 3.18-.79.61-.04 1.86-.07 1.86-.07l.04-3.04ZM53 33.76v-3.32h-2.86v-5.6H46.5v5.6h-4.57l6.82-15.85h-4l-6.89 15.85v3.32h8.64v5.4h3.82v-5.4H53z"/></symbol></svg>
|
|
@@ -15,13 +15,6 @@ const ArdPlayerLoader = function (options, rootElement) {
|
|
|
15
15
|
player
|
|
16
16
|
|
|
17
17
|
const setupPlayer = function () {
|
|
18
|
-
if (
|
|
19
|
-
undefined != playerConfig.pluginData['trackingAti@all'] &&
|
|
20
|
-
playerConfig.pluginData['trackingAti@all'].isEnabled
|
|
21
|
-
) {
|
|
22
|
-
playerConfig.pluginData['trackingAti@all'].config.cookieSecure =
|
|
23
|
-
'https:' === document.location.protocol
|
|
24
|
-
}
|
|
25
18
|
loadArdPlayerScript()
|
|
26
19
|
fetchPlayerStyle(skinPath).then(createPlayer())
|
|
27
20
|
}
|
|
@@ -52,11 +45,9 @@ const ArdPlayerLoader = function (options, rootElement) {
|
|
|
52
45
|
}
|
|
53
46
|
|
|
54
47
|
const createPlayer = function () {
|
|
55
|
-
if (trackingCookie.isTrackingAccepted('ati')) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
if (undefined != playerConfig.pluginData['trackingAti@all'])
|
|
59
|
-
playerConfig.pluginData['trackingAti@all'].isEnabled = false
|
|
48
|
+
if (!trackingCookie.isTrackingAccepted('ati')) {
|
|
49
|
+
if (undefined != playerConfig.pluginData['trackingPiano@all'])
|
|
50
|
+
playerConfig.pluginData['trackingPiano@all'].isEnabled = false
|
|
60
51
|
}
|
|
61
52
|
if (
|
|
62
53
|
!trackingCookie.isTrackingAccepted('agf') &&
|
|
@@ -98,12 +89,15 @@ const ArdPlayerLoader = function (options, rootElement) {
|
|
|
98
89
|
}
|
|
99
90
|
})
|
|
100
91
|
|
|
101
|
-
listen(
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
92
|
+
listen(
|
|
93
|
+
'hr:global:stopOtherAVs',
|
|
94
|
+
function (event) {
|
|
95
|
+
if (event.detail != 'ardplayer') {
|
|
96
|
+
player.pause()
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
window
|
|
100
|
+
)
|
|
107
101
|
|
|
108
102
|
listen('player_closed', function (event) {
|
|
109
103
|
let playerIdFromConfig = parseInt(playerId)
|