hr-design-system-handlebars 1.123.2 → 1.124.1
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 +25 -0
- package/dist/assets/index.css +3 -3
- package/dist/assets/js/components/external-service/externalServiceDs.feature.js +40 -57
- package/dist/views/components/podcast/podcast_player.hbs +1 -1
- package/dist/views_static/components/podcast/podcast_player.hbs +1 -1
- package/package.json +1 -1
- package/src/stories/views/components/external-service/externalServiceDs.feature.js +40 -57
- package/src/stories/views/components/podcast/podcast_player.hbs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# v1.124.1 (Mon Nov 17 2025)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Update podcast channel link to use the correct URL [#1322](https://github.com/mumprod/hr-design-system-handlebars/pull/1322) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
|
|
6
|
+
|
|
7
|
+
#### Authors: 2
|
|
8
|
+
|
|
9
|
+
- Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
|
|
10
|
+
- selbaciri (saad.elbaciri@hr.de)
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# v1.124.0 (Fri Nov 14 2025)
|
|
15
|
+
|
|
16
|
+
#### 🚀 Enhancement
|
|
17
|
+
|
|
18
|
+
- Feature/dpe 3782 [#1321](https://github.com/mumprod/hr-design-system-handlebars/pull/1321) ([@szuelch](https://github.com/szuelch))
|
|
19
|
+
|
|
20
|
+
#### Authors: 1
|
|
21
|
+
|
|
22
|
+
- [@szuelch](https://github.com/szuelch)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
1
26
|
# v1.123.2 (Thu Nov 13 2025)
|
|
2
27
|
|
|
3
28
|
#### ⚠️ Pushed to `main`
|
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: cnt1763384865374;
|
|
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: cnt1763384865374 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(cnt1763384865374);
|
|
4378
4378
|
}
|
|
4379
4379
|
/*! ****************************/
|
|
4380
4380
|
/*! DataPolicy stuff */
|
|
@@ -329,66 +329,49 @@ const ExternalService = function (context) {
|
|
|
329
329
|
|
|
330
330
|
const createTwentyThreeDegreesEmbed = function () {
|
|
331
331
|
removeDatapolicyBox()
|
|
332
|
-
const foundMatchesForSlug = embedCode.match(/embed\/([^/?]+)/)
|
|
333
|
-
const slug =
|
|
334
|
-
foundMatchesForSlug && foundMatchesForSlug.length > 1 ? foundMatchesForSlug[1] : null
|
|
335
|
-
if (slug) {
|
|
336
|
-
const script = document.createElement('script')
|
|
337
|
-
script.src = `https://app.23degrees.io/services/public/embed-code/${slug}`
|
|
338
|
-
script.type = 'text/javascript'
|
|
339
|
-
|
|
340
|
-
const css = `
|
|
341
|
-
.responsive23-${slug} {
|
|
342
|
-
width: 100%;
|
|
343
|
-
padding-top: 100%;
|
|
344
|
-
}
|
|
345
332
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
333
|
+
const slugMatch = embedCode.match(/embed\/([^/?]+)/)
|
|
334
|
+
const slug = slugMatch?.[1] || null
|
|
335
|
+
if (!slug) return
|
|
336
|
+
|
|
337
|
+
// Style-Element erzeugen und einfügen
|
|
338
|
+
const style = document.createElement('style')
|
|
339
|
+
style.textContent = `
|
|
340
|
+
.responsive23-${slug} { width: 100%; padding-top: 100%; }
|
|
341
|
+
@media (max-width: 800px) { .responsive23-${slug} { padding-top: 80%; } }
|
|
342
|
+
@media (max-width: 600px) { .responsive23-${slug} { padding-top: 90.91%; } }
|
|
343
|
+
@media (max-width: 480px) { .responsive23-${slug} { padding-top: 111.11%; } }
|
|
344
|
+
@media (max-width: 360px) { .responsive23-${slug} { padding-top: 142.86%; } }
|
|
345
|
+
`
|
|
346
|
+
rootElement.appendChild(style)
|
|
347
|
+
|
|
348
|
+
// Responsive Container und Iframe erzeugen
|
|
349
|
+
const div = document.createElement('div')
|
|
350
|
+
div.className = `responsive23-${slug}`
|
|
351
|
+
div.id = `container23-${slug}`
|
|
352
|
+
div.style.position = 'relative'
|
|
353
|
+
|
|
354
|
+
const iFrame = document.createElement('iframe')
|
|
355
|
+
iFrame.src = decodeURIComponent(embedCode)
|
|
356
|
+
Object.assign(iFrame.style, {
|
|
357
|
+
position: 'absolute',
|
|
358
|
+
top: '0',
|
|
359
|
+
left: '0',
|
|
360
|
+
width: '100%',
|
|
361
|
+
height: '100%',
|
|
362
|
+
border: '0',
|
|
363
|
+
})
|
|
364
|
+
iFrame.allowFullscreen = true
|
|
365
|
+
iFrame.title = '23degrees Embed'
|
|
351
366
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
padding-top: 90.91%;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
367
|
+
div.appendChild(iFrame)
|
|
368
|
+
rootElement.appendChild(div)
|
|
357
369
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
@media (max-width: 360px) {
|
|
365
|
-
.responsive23-${slug} {
|
|
366
|
-
padding-top: 142.86%;
|
|
367
|
-
}
|
|
368
|
-
}`
|
|
369
|
-
const style = document.createElement('style')
|
|
370
|
-
style.textContent = css
|
|
371
|
-
|
|
372
|
-
const iFrame = document.createElement('iframe')
|
|
373
|
-
iFrame.src = embedCode
|
|
374
|
-
iFrame.style.position = 'absolute'
|
|
375
|
-
iFrame.style.top = '0'
|
|
376
|
-
iFrame.style.left = '0'
|
|
377
|
-
iFrame.style.width = '100%'
|
|
378
|
-
iFrame.style.height = '100%'
|
|
379
|
-
iFrame.style.border = '0'
|
|
380
|
-
iFrame.allowFullscreen = true
|
|
381
|
-
iFrame.title = '23degrees Embed'
|
|
382
|
-
const div = document.createElement('div')
|
|
383
|
-
div.className = `responsive23-${slug}`
|
|
384
|
-
div.id = `container23-${slug}`
|
|
385
|
-
div.style.position = 'relative'
|
|
386
|
-
div.appendChild(iFrame)
|
|
387
|
-
|
|
388
|
-
rootElement.appendChild(style)
|
|
389
|
-
rootElement.appendChild(div)
|
|
390
|
-
rootElement.appendChild(script)
|
|
391
|
-
}
|
|
370
|
+
// Script einfügen
|
|
371
|
+
const script = document.createElement('script')
|
|
372
|
+
script.src = `https://app.23degrees.io/services/public/embed-code/${slug}`
|
|
373
|
+
script.type = 'text/javascript'
|
|
374
|
+
rootElement.appendChild(script)
|
|
392
375
|
}
|
|
393
376
|
|
|
394
377
|
const createFacebookEmbed = function () {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
<div class="flex justify-end w-full pl-4">
|
|
77
77
|
<div class="flex flex-col flex-wrap self-end text-xs font-heading text-podcast-text dark:text-podcast-text-dark">
|
|
78
78
|
<span class="self-end font-bold">Zur Sendung</span>
|
|
79
|
-
<a class="{{if (isUserConsentNeeded this.url) 'js-user-consent-needed ' ''}}self-end underline ds-link" href="{{this.url}}">{{this.title}}</a>
|
|
79
|
+
<a class="{{if (isUserConsentNeeded ../this.podcastChannelLink.url) 'js-user-consent-needed ' ''}}self-end underline ds-link" href="{{../this.podcastChannelLink.url}}">{{this.title}}</a>
|
|
80
80
|
</div>
|
|
81
81
|
</div>
|
|
82
82
|
{{/with}}
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
<div class="flex justify-end w-full pl-4">
|
|
77
77
|
<div class="flex flex-col flex-wrap self-end text-xs font-heading text-podcast-text dark:text-podcast-text-dark">
|
|
78
78
|
<span class="self-end font-bold">Zur Sendung</span>
|
|
79
|
-
<a class="{{if (isUserConsentNeeded this.url) 'js-user-consent-needed ' ''}}self-end underline ds-link" href="{{this.url}}">{{this.title}}</a>
|
|
79
|
+
<a class="{{if (isUserConsentNeeded ../this.podcastChannelLink.url) 'js-user-consent-needed ' ''}}self-end underline ds-link" href="{{../this.podcastChannelLink.url}}">{{this.title}}</a>
|
|
80
80
|
</div>
|
|
81
81
|
</div>
|
|
82
82
|
{{/with}}
|
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.124.1",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -329,66 +329,49 @@ const ExternalService = function (context) {
|
|
|
329
329
|
|
|
330
330
|
const createTwentyThreeDegreesEmbed = function () {
|
|
331
331
|
removeDatapolicyBox()
|
|
332
|
-
const foundMatchesForSlug = embedCode.match(/embed\/([^/?]+)/)
|
|
333
|
-
const slug =
|
|
334
|
-
foundMatchesForSlug && foundMatchesForSlug.length > 1 ? foundMatchesForSlug[1] : null
|
|
335
|
-
if (slug) {
|
|
336
|
-
const script = document.createElement('script')
|
|
337
|
-
script.src = `https://app.23degrees.io/services/public/embed-code/${slug}`
|
|
338
|
-
script.type = 'text/javascript'
|
|
339
|
-
|
|
340
|
-
const css = `
|
|
341
|
-
.responsive23-${slug} {
|
|
342
|
-
width: 100%;
|
|
343
|
-
padding-top: 100%;
|
|
344
|
-
}
|
|
345
332
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
333
|
+
const slugMatch = embedCode.match(/embed\/([^/?]+)/)
|
|
334
|
+
const slug = slugMatch?.[1] || null
|
|
335
|
+
if (!slug) return
|
|
336
|
+
|
|
337
|
+
// Style-Element erzeugen und einfügen
|
|
338
|
+
const style = document.createElement('style')
|
|
339
|
+
style.textContent = `
|
|
340
|
+
.responsive23-${slug} { width: 100%; padding-top: 100%; }
|
|
341
|
+
@media (max-width: 800px) { .responsive23-${slug} { padding-top: 80%; } }
|
|
342
|
+
@media (max-width: 600px) { .responsive23-${slug} { padding-top: 90.91%; } }
|
|
343
|
+
@media (max-width: 480px) { .responsive23-${slug} { padding-top: 111.11%; } }
|
|
344
|
+
@media (max-width: 360px) { .responsive23-${slug} { padding-top: 142.86%; } }
|
|
345
|
+
`
|
|
346
|
+
rootElement.appendChild(style)
|
|
347
|
+
|
|
348
|
+
// Responsive Container und Iframe erzeugen
|
|
349
|
+
const div = document.createElement('div')
|
|
350
|
+
div.className = `responsive23-${slug}`
|
|
351
|
+
div.id = `container23-${slug}`
|
|
352
|
+
div.style.position = 'relative'
|
|
353
|
+
|
|
354
|
+
const iFrame = document.createElement('iframe')
|
|
355
|
+
iFrame.src = decodeURIComponent(embedCode)
|
|
356
|
+
Object.assign(iFrame.style, {
|
|
357
|
+
position: 'absolute',
|
|
358
|
+
top: '0',
|
|
359
|
+
left: '0',
|
|
360
|
+
width: '100%',
|
|
361
|
+
height: '100%',
|
|
362
|
+
border: '0',
|
|
363
|
+
})
|
|
364
|
+
iFrame.allowFullscreen = true
|
|
365
|
+
iFrame.title = '23degrees Embed'
|
|
351
366
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
padding-top: 90.91%;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
367
|
+
div.appendChild(iFrame)
|
|
368
|
+
rootElement.appendChild(div)
|
|
357
369
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
@media (max-width: 360px) {
|
|
365
|
-
.responsive23-${slug} {
|
|
366
|
-
padding-top: 142.86%;
|
|
367
|
-
}
|
|
368
|
-
}`
|
|
369
|
-
const style = document.createElement('style')
|
|
370
|
-
style.textContent = css
|
|
371
|
-
|
|
372
|
-
const iFrame = document.createElement('iframe')
|
|
373
|
-
iFrame.src = embedCode
|
|
374
|
-
iFrame.style.position = 'absolute'
|
|
375
|
-
iFrame.style.top = '0'
|
|
376
|
-
iFrame.style.left = '0'
|
|
377
|
-
iFrame.style.width = '100%'
|
|
378
|
-
iFrame.style.height = '100%'
|
|
379
|
-
iFrame.style.border = '0'
|
|
380
|
-
iFrame.allowFullscreen = true
|
|
381
|
-
iFrame.title = '23degrees Embed'
|
|
382
|
-
const div = document.createElement('div')
|
|
383
|
-
div.className = `responsive23-${slug}`
|
|
384
|
-
div.id = `container23-${slug}`
|
|
385
|
-
div.style.position = 'relative'
|
|
386
|
-
div.appendChild(iFrame)
|
|
387
|
-
|
|
388
|
-
rootElement.appendChild(style)
|
|
389
|
-
rootElement.appendChild(div)
|
|
390
|
-
rootElement.appendChild(script)
|
|
391
|
-
}
|
|
370
|
+
// Script einfügen
|
|
371
|
+
const script = document.createElement('script')
|
|
372
|
+
script.src = `https://app.23degrees.io/services/public/embed-code/${slug}`
|
|
373
|
+
script.type = 'text/javascript'
|
|
374
|
+
rootElement.appendChild(script)
|
|
392
375
|
}
|
|
393
376
|
|
|
394
377
|
const createFacebookEmbed = function () {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
<div class="flex justify-end w-full pl-4">
|
|
77
77
|
<div class="flex flex-col flex-wrap self-end text-xs font-heading text-podcast-text dark:text-podcast-text-dark">
|
|
78
78
|
<span class="self-end font-bold">Zur Sendung</span>
|
|
79
|
-
<a class="{{if (isUserConsentNeeded this.url) 'js-user-consent-needed ' ''}}self-end underline ds-link" href="{{this.url}}">{{this.title}}</a>
|
|
79
|
+
<a class="{{if (isUserConsentNeeded ../this.podcastChannelLink.url) 'js-user-consent-needed ' ''}}self-end underline ds-link" href="{{../this.podcastChannelLink.url}}">{{this.title}}</a>
|
|
80
80
|
</div>
|
|
81
81
|
</div>
|
|
82
82
|
{{/with}}
|