hr-design-system-handlebars 1.58.5 → 1.59.0
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.59.0 (Wed Feb 21 2024)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- :bug: use globalSettingsCookie instead of incompatible trackingCookie. [#853](https://github.com/mumprod/hr-design-system-handlebars/pull/853) ([@szuelch](https://github.com/szuelch))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- [@szuelch](https://github.com/szuelch)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v1.58.5 (Tue Feb 20 2024)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -3255,7 +3255,7 @@ article.indexText ul {
|
|
|
3255
3255
|
border-bottom-color: var(--color-secondary-ds);
|
|
3256
3256
|
}
|
|
3257
3257
|
.counter-reset {
|
|
3258
|
-
counter-reset:
|
|
3258
|
+
counter-reset: cnt1708505184917;
|
|
3259
3259
|
}
|
|
3260
3260
|
.hyphens-auto {
|
|
3261
3261
|
-webkit-hyphens: auto;
|
|
@@ -3578,7 +3578,7 @@ article.indexText ul {
|
|
|
3578
3578
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3579
3579
|
}
|
|
3580
3580
|
.-ordered {
|
|
3581
|
-
counter-increment:
|
|
3581
|
+
counter-increment: cnt1708505184917 1;
|
|
3582
3582
|
}
|
|
3583
3583
|
.-ordered::before {
|
|
3584
3584
|
position: absolute;
|
|
@@ -3594,7 +3594,7 @@ article.indexText ul {
|
|
|
3594
3594
|
letter-spacing: .0125em;
|
|
3595
3595
|
--tw-text-opacity: 1;
|
|
3596
3596
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3597
|
-
content: counter(
|
|
3597
|
+
content: counter(cnt1708505184917);
|
|
3598
3598
|
}
|
|
3599
3599
|
/*! ****************************/
|
|
3600
3600
|
/*! DataPolicy stuff */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { fireEvent, hr$, listen, loadScript } from 'hrQuery'
|
|
2
|
-
import
|
|
2
|
+
import SettingsCookie from 'components/externalService/globalSettingsCookie.subfeature'
|
|
3
3
|
|
|
4
4
|
const ArdPlayerLoader = function (options, rootElement) {
|
|
5
5
|
'use strict'
|
|
@@ -8,7 +8,7 @@ const ArdPlayerLoader = function (options, rootElement) {
|
|
|
8
8
|
ardplayerUrl = options.jsUrl,
|
|
9
9
|
smarttagUrl = options.atiSmarttagUrl,
|
|
10
10
|
playerId = options.playerId,
|
|
11
|
-
|
|
11
|
+
settingsCookie = new SettingsCookie(),
|
|
12
12
|
isPlayerDebug = options.isPlayerDebug || false
|
|
13
13
|
let mediaCollection = options.mediaCollection,
|
|
14
14
|
playerConfig = options.playerConfig,
|
|
@@ -45,12 +45,12 @@ const ArdPlayerLoader = function (options, rootElement) {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
const createPlayer = function () {
|
|
48
|
-
if (!
|
|
48
|
+
if (!settingsCookie.isSettingsCookieAccepted('ati')) {
|
|
49
49
|
if (undefined != playerConfig.pluginData['trackingPiano@all'])
|
|
50
50
|
playerConfig.pluginData['trackingPiano@all'].isEnabled = false
|
|
51
51
|
}
|
|
52
52
|
if (
|
|
53
|
-
!
|
|
53
|
+
!settingsCookie.isSettingsCookieAccepted('agf') &&
|
|
54
54
|
undefined != playerConfig.pluginData['trackingAgf@all']
|
|
55
55
|
) {
|
|
56
56
|
playerConfig.pluginData['trackingAgf@all'].isEnabled = false
|
|
@@ -113,18 +113,7 @@ const ArdPlayerLoader = function (options, rootElement) {
|
|
|
113
113
|
})
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
|
|
117
|
-
trackingCookie.isTrackingAccepted('agf') &&
|
|
118
|
-
window.gfkConnector &&
|
|
119
|
-
playerConfig.pluginData['trackingAgf@all']
|
|
120
|
-
) {
|
|
121
|
-
gfkConnector.init(function (gfkLinkID) {
|
|
122
|
-
playerConfig.pluginData['trackingAgf@all'].clipData.nol_c20 = 'p20,' + gfkLinkID
|
|
123
|
-
setupPlayer()
|
|
124
|
-
})
|
|
125
|
-
} else {
|
|
126
|
-
setupPlayer()
|
|
127
|
-
}
|
|
116
|
+
setupPlayer()
|
|
128
117
|
}
|
|
129
118
|
|
|
130
119
|
export default ArdPlayerLoader
|
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.
|
|
9
|
+
"version": "1.59.0",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { fireEvent, hr$, listen, loadScript } from 'hrQuery'
|
|
2
|
-
import
|
|
2
|
+
import SettingsCookie from 'components/externalService/globalSettingsCookie.subfeature'
|
|
3
3
|
|
|
4
4
|
const ArdPlayerLoader = function (options, rootElement) {
|
|
5
5
|
'use strict'
|
|
@@ -8,7 +8,7 @@ const ArdPlayerLoader = function (options, rootElement) {
|
|
|
8
8
|
ardplayerUrl = options.jsUrl,
|
|
9
9
|
smarttagUrl = options.atiSmarttagUrl,
|
|
10
10
|
playerId = options.playerId,
|
|
11
|
-
|
|
11
|
+
settingsCookie = new SettingsCookie(),
|
|
12
12
|
isPlayerDebug = options.isPlayerDebug || false
|
|
13
13
|
let mediaCollection = options.mediaCollection,
|
|
14
14
|
playerConfig = options.playerConfig,
|
|
@@ -45,12 +45,12 @@ const ArdPlayerLoader = function (options, rootElement) {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
const createPlayer = function () {
|
|
48
|
-
if (!
|
|
48
|
+
if (!settingsCookie.isSettingsCookieAccepted('ati')) {
|
|
49
49
|
if (undefined != playerConfig.pluginData['trackingPiano@all'])
|
|
50
50
|
playerConfig.pluginData['trackingPiano@all'].isEnabled = false
|
|
51
51
|
}
|
|
52
52
|
if (
|
|
53
|
-
!
|
|
53
|
+
!settingsCookie.isSettingsCookieAccepted('agf') &&
|
|
54
54
|
undefined != playerConfig.pluginData['trackingAgf@all']
|
|
55
55
|
) {
|
|
56
56
|
playerConfig.pluginData['trackingAgf@all'].isEnabled = false
|
|
@@ -113,18 +113,7 @@ const ArdPlayerLoader = function (options, rootElement) {
|
|
|
113
113
|
})
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
|
|
117
|
-
trackingCookie.isTrackingAccepted('agf') &&
|
|
118
|
-
window.gfkConnector &&
|
|
119
|
-
playerConfig.pluginData['trackingAgf@all']
|
|
120
|
-
) {
|
|
121
|
-
gfkConnector.init(function (gfkLinkID) {
|
|
122
|
-
playerConfig.pluginData['trackingAgf@all'].clipData.nol_c20 = 'p20,' + gfkLinkID
|
|
123
|
-
setupPlayer()
|
|
124
|
-
})
|
|
125
|
-
} else {
|
|
126
|
-
setupPlayer()
|
|
127
|
-
}
|
|
116
|
+
setupPlayer()
|
|
128
117
|
}
|
|
129
118
|
|
|
130
119
|
export default ArdPlayerLoader
|