hr-design-system-handlebars 1.124.1 → 1.124.3
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 +26 -0
- package/dist/assets/index.css +3 -3
- package/dist/assets/js/components/mediaplayer/ardPlayerLoader.subfeature.js +3 -7
- package/dist/views/components/teaser/vertical_video/vertical_video_teaser_group.hbs +3 -1
- package/dist/views_static/components/teaser/vertical_video/vertical_video_teaser_group.hbs +3 -1
- package/package.json +1 -1
- package/src/stories/views/components/mediaplayer/ardPlayerLoader.subfeature.js +3 -7
- package/src/stories/views/components/teaser/vertical_video/vertical_video_teaser_group.hbs +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
# v1.124.3 (Tue Nov 25 2025)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- create player only if detchPlayerStyle is resolved [#1324](https://github.com/mumprod/hr-design-system-handlebars/pull/1324) ([@vascoeduardo](https://github.com/vascoeduardo) [@eduardo-hr](https://github.com/eduardo-hr))
|
|
6
|
+
|
|
7
|
+
#### Authors: 2
|
|
8
|
+
|
|
9
|
+
- [@eduardo-hr](https://github.com/eduardo-hr)
|
|
10
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# v1.124.2 (Mon Nov 24 2025)
|
|
15
|
+
|
|
16
|
+
#### 🐛 Bug Fix
|
|
17
|
+
|
|
18
|
+
- added Link to vertical Video group [#1323](https://github.com/mumprod/hr-design-system-handlebars/pull/1323) ([@vascoeduardo](https://github.com/vascoeduardo) [@eduardo-hr](https://github.com/eduardo-hr))
|
|
19
|
+
|
|
20
|
+
#### Authors: 2
|
|
21
|
+
|
|
22
|
+
- [@eduardo-hr](https://github.com/eduardo-hr)
|
|
23
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
1
27
|
# v1.124.1 (Mon Nov 17 2025)
|
|
2
28
|
|
|
3
29
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -3895,7 +3895,7 @@ article #commentList {
|
|
|
3895
3895
|
border-bottom-color: var(--color-secondary-ds);
|
|
3896
3896
|
}
|
|
3897
3897
|
.counter-reset {
|
|
3898
|
-
counter-reset:
|
|
3898
|
+
counter-reset: cnt1764090267236;
|
|
3899
3899
|
}
|
|
3900
3900
|
.animate-delay-100 {
|
|
3901
3901
|
--tw-animate-delay: 100ms;
|
|
@@ -4356,7 +4356,7 @@ html { scroll-behavior: smooth; }
|
|
|
4356
4356
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
4357
4357
|
}
|
|
4358
4358
|
.-ordered {
|
|
4359
|
-
counter-increment:
|
|
4359
|
+
counter-increment: cnt1764090267236 1;
|
|
4360
4360
|
}
|
|
4361
4361
|
.-ordered::before {
|
|
4362
4362
|
position: absolute;
|
|
@@ -4374,7 +4374,7 @@ html { scroll-behavior: smooth; }
|
|
|
4374
4374
|
--tw-text-opacity: 1;
|
|
4375
4375
|
color: rgba(0, 0, 0, 1);
|
|
4376
4376
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
4377
|
-
content: counter(
|
|
4377
|
+
content: counter(cnt1764090267236);
|
|
4378
4378
|
}
|
|
4379
4379
|
/*! ****************************/
|
|
4380
4380
|
/*! DataPolicy stuff */
|
|
@@ -23,7 +23,7 @@ const ArdPlayerLoader = function (options, trackingData, rootElement) {
|
|
|
23
23
|
|
|
24
24
|
const setupPlayer = function () {
|
|
25
25
|
loadArdPlayerScript()
|
|
26
|
-
fetchPlayerStyle(skinPath).then(
|
|
26
|
+
fetchPlayerStyle(skinPath,skinPath.replace(/[^a-zA-Z0-9\s]/g, '')).then((value) => {console.log(value);}).then(createPlayer)
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
const loadArdPlayerScript = function () {
|
|
@@ -32,21 +32,17 @@ const ArdPlayerLoader = function (options, trackingData, rootElement) {
|
|
|
32
32
|
|
|
33
33
|
const fetchPlayerStyle = function (url, id) {
|
|
34
34
|
return new Promise(function (resolve, reject) {
|
|
35
|
-
if (document.getElementById(id)) {
|
|
35
|
+
if (document.getElementById(id)) {
|
|
36
36
|
resolve('Style wurde bereits geladen')
|
|
37
|
-
console.log('style was already loaded before')
|
|
38
37
|
} else {
|
|
39
38
|
const link = document.createElement('link')
|
|
40
39
|
link.type = 'text/css'
|
|
41
40
|
link.rel = 'stylesheet'
|
|
42
41
|
link.id = id
|
|
43
|
-
link.onload = function () {
|
|
44
|
-
resolve()
|
|
45
|
-
}
|
|
46
42
|
link.href = url
|
|
47
43
|
const headScript = document.querySelector('script')
|
|
48
44
|
headScript.parentNode.insertBefore(link, headScript)
|
|
49
|
-
resolve('Style wurde neu geladen')
|
|
45
|
+
link.onload = () => resolve('Style wurde neu geladen')
|
|
50
46
|
}
|
|
51
47
|
})
|
|
52
48
|
}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
{{#>components/grid/grid_group_highlight _backgroundColor="1" }}
|
|
3
3
|
{{~#if this.hasGroupTitle}}
|
|
4
4
|
<h2 class="py-0 text-2xl text-center md:text-5xl col-span-full font-title">
|
|
5
|
-
{{this.
|
|
5
|
+
{{~#if this.hasLink}}<a class="{{if (isUserConsentNeeded this.link.url) 'js-user-consent-needed ' ''}}no-underline hover:underline decoration-1 md:decoration-2 text-link" href="{{this.link.url}}">{{/if~}}
|
|
6
|
+
{{this.groupTitle}}
|
|
7
|
+
{{~#if this.hasLink}}</a>{{/if~}}
|
|
6
8
|
</h2 >
|
|
7
9
|
{{/if}}
|
|
8
10
|
<div class="grid items-start content-start grid-cols-12 col-span-12 gap-y-10 md:gap-y-14{{#if
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
{{#>components/grid/grid_group_highlight _backgroundColor="1" }}
|
|
3
3
|
{{~#if this.hasGroupTitle}}
|
|
4
4
|
<h2 class="py-0 text-2xl text-center md:text-5xl col-span-full font-title">
|
|
5
|
-
{{this.
|
|
5
|
+
{{~#if this.hasLink}}<a class="{{if (isUserConsentNeeded this.link.url) 'js-user-consent-needed ' ''}}no-underline hover:underline decoration-1 md:decoration-2 text-link" href="{{this.link.url}}">{{/if~}}
|
|
6
|
+
{{this.groupTitle}}
|
|
7
|
+
{{~#if this.hasLink}}</a>{{/if~}}
|
|
6
8
|
</h2 >
|
|
7
9
|
{{/if}}
|
|
8
10
|
<div class="grid items-start content-start grid-cols-12 col-span-12 gap-y-10 md:gap-y-14{{#if
|
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.124.
|
|
9
|
+
"version": "1.124.3",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -23,7 +23,7 @@ const ArdPlayerLoader = function (options, trackingData, rootElement) {
|
|
|
23
23
|
|
|
24
24
|
const setupPlayer = function () {
|
|
25
25
|
loadArdPlayerScript()
|
|
26
|
-
fetchPlayerStyle(skinPath).then(
|
|
26
|
+
fetchPlayerStyle(skinPath,skinPath.replace(/[^a-zA-Z0-9\s]/g, '')).then((value) => {console.log(value);}).then(createPlayer)
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
const loadArdPlayerScript = function () {
|
|
@@ -32,21 +32,17 @@ const ArdPlayerLoader = function (options, trackingData, rootElement) {
|
|
|
32
32
|
|
|
33
33
|
const fetchPlayerStyle = function (url, id) {
|
|
34
34
|
return new Promise(function (resolve, reject) {
|
|
35
|
-
if (document.getElementById(id)) {
|
|
35
|
+
if (document.getElementById(id)) {
|
|
36
36
|
resolve('Style wurde bereits geladen')
|
|
37
|
-
console.log('style was already loaded before')
|
|
38
37
|
} else {
|
|
39
38
|
const link = document.createElement('link')
|
|
40
39
|
link.type = 'text/css'
|
|
41
40
|
link.rel = 'stylesheet'
|
|
42
41
|
link.id = id
|
|
43
|
-
link.onload = function () {
|
|
44
|
-
resolve()
|
|
45
|
-
}
|
|
46
42
|
link.href = url
|
|
47
43
|
const headScript = document.querySelector('script')
|
|
48
44
|
headScript.parentNode.insertBefore(link, headScript)
|
|
49
|
-
resolve('Style wurde neu geladen')
|
|
45
|
+
link.onload = () => resolve('Style wurde neu geladen')
|
|
50
46
|
}
|
|
51
47
|
})
|
|
52
48
|
}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
{{#>components/grid/grid_group_highlight _backgroundColor="1" }}
|
|
3
3
|
{{~#if this.hasGroupTitle}}
|
|
4
4
|
<h2 class="py-0 text-2xl text-center md:text-5xl col-span-full font-title">
|
|
5
|
-
{{this.
|
|
5
|
+
{{~#if this.hasLink}}<a class="{{if (isUserConsentNeeded this.link.url) 'js-user-consent-needed ' ''}}no-underline hover:underline decoration-1 md:decoration-2 text-link" href="{{this.link.url}}">{{/if~}}
|
|
6
|
+
{{this.groupTitle}}
|
|
7
|
+
{{~#if this.hasLink}}</a>{{/if~}}
|
|
6
8
|
</h2 >
|
|
7
9
|
{{/if}}
|
|
8
10
|
<div class="grid items-start content-start grid-cols-12 col-span-12 gap-y-10 md:gap-y-14{{#if
|