hr-design-system-handlebars 1.123.2 → 1.124.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.124.0 (Fri Nov 14 2025)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - Feature/dpe 3782 [#1321](https://github.com/mumprod/hr-design-system-handlebars/pull/1321) ([@szuelch](https://github.com/szuelch))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@szuelch](https://github.com/szuelch)
10
+
11
+ ---
12
+
1
13
  # v1.123.2 (Thu Nov 13 2025)
2
14
 
3
15
  #### ⚠️ Pushed to `main`
@@ -3895,7 +3895,7 @@ article #commentList {
3895
3895
  border-bottom-color: var(--color-secondary-ds);
3896
3896
  }
3897
3897
  .counter-reset {
3898
- counter-reset: cnt1763030567815;
3898
+ counter-reset: cnt1763118283350;
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: cnt1763030567815 1;
4359
+ counter-increment: cnt1763118283350 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(cnt1763030567815);
4377
+ content: counter(cnt1763118283350);
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
- @media (max-width: 800px) {
347
- .responsive23-${slug} {
348
- padding-top: 80%;
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
- @media (max-width: 600px) {
353
- .responsive23-${slug} {
354
- padding-top: 90.91%;
355
- }
356
- }
367
+ div.appendChild(iFrame)
368
+ rootElement.appendChild(div)
357
369
 
358
- @media (max-width: 480px) {
359
- .responsive23-${slug} {
360
- padding-top: 111.11%;
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 () {
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.123.2",
9
+ "version": "1.124.0",
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
- @media (max-width: 800px) {
347
- .responsive23-${slug} {
348
- padding-top: 80%;
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
- @media (max-width: 600px) {
353
- .responsive23-${slug} {
354
- padding-top: 90.91%;
355
- }
356
- }
367
+ div.appendChild(iFrame)
368
+ rootElement.appendChild(div)
357
369
 
358
- @media (max-width: 480px) {
359
- .responsive23-${slug} {
360
- padding-top: 111.11%;
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 () {