hr-design-system-handlebars 1.31.1 → 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 CHANGED
@@ -1,3 +1,15 @@
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
+
1
13
  # v1.31.1 (Thu Jul 13 2023)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -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 181.417 173.672"><g><path d="M91.807 134.353c-19.952.342-44.129-3.251-59.756-9.906v-5.997c16.423 6.873 38.762 10.519 58.714 10.18 21.523-.369 43.933-3.941 59.447-9.951v5.818c-17.356 6.089-37.011 9.496-58.405 9.856M42.438 44.059l-.003 22.202s7.065-1.453 13.278-1.392c10.324.104 15.497 5.58 15.863 12.733.092 1.819.075 2.82.075 4.774v28.908h-10.89V81.759c0-3.611.233-8.101-7.995-8.062-5.858.028-9.995 1.139-9.995 1.139v36.448H32.144V44.728l10.294-.669zM108.541 64.962c-.133-.024-9.725.15-15.39 1.435-6.607 1.489-10.843 5.427-11.436 11.447-.114 1.16-.167 1.896-.167 4.536v28.982h10.879V81.73c0-2.601.203-4.249 1.927-5.776 1.951-1.724 6.399-1.975 8.946-2.179 1.744-.14 5.24-.235 5.24-.235v-8.578zM155.188 96.168V86.92h-8.015V71.231h-10.22V86.92h-12.718l19.081-44.437h-11.255L112.832 86.92v9.248h24.121v15.116h10.716V96.168z"/></g></symbol></svg>
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>
@@ -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: cnt1689261091953;
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: cnt1689261091953 1;
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(cnt1689261091953);
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
- loadScript('js-smarttagProd', smarttagUrl)
57
- } else {
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('hr:global:stopOtherAVs', function (event) {
102
- if (event.detail != 'ardplayer') {
103
- player.pause()
104
- }
105
- }, window)
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.1",
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 181.417 173.672"><g><path d="M91.807 134.353c-19.952.342-44.129-3.251-59.756-9.906v-5.997c16.423 6.873 38.762 10.519 58.714 10.18 21.523-.369 43.933-3.941 59.447-9.951v5.818c-17.356 6.089-37.011 9.496-58.405 9.856M42.438 44.059l-.003 22.202s7.065-1.453 13.278-1.392c10.324.104 15.497 5.58 15.863 12.733.092 1.819.075 2.82.075 4.774v28.908h-10.89V81.759c0-3.611.233-8.101-7.995-8.062-5.858.028-9.995 1.139-9.995 1.139v36.448H32.144V44.728l10.294-.669zM108.541 64.962c-.133-.024-9.725.15-15.39 1.435-6.607 1.489-10.843 5.427-11.436 11.447-.114 1.16-.167 1.896-.167 4.536v28.982h10.879V81.73c0-2.601.203-4.249 1.927-5.776 1.951-1.724 6.399-1.975 8.946-2.179 1.744-.14 5.24-.235 5.24-.235v-8.578zM155.188 96.168V86.92h-8.015V71.231h-10.22V86.92h-12.718l19.081-44.437h-11.255L112.832 86.92v9.248h24.121v15.116h10.716V96.168z"/></g></symbol></svg>
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
- loadScript('js-smarttagProd', smarttagUrl)
57
- } else {
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('hr:global:stopOtherAVs', function (event) {
102
- if (event.detail != 'ardplayer') {
103
- player.pause()
104
- }
105
- }, window)
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)