hr-design-system-handlebars 1.103.2 → 1.103.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 CHANGED
@@ -1,3 +1,15 @@
1
+ # v1.103.3 (Tue Oct 01 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Dpe 3316 [#1083](https://github.com/mumprod/hr-design-system-handlebars/pull/1083) ([@Paul-Atreidis](https://github.com/Paul-Atreidis))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@Paul-Atreidis](https://github.com/Paul-Atreidis)
10
+
11
+ ---
12
+
1
13
  # v1.103.2 (Mon Sep 30 2024)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -3504,7 +3504,7 @@ article.indexTextDS .indexTextHighlighted .link {
3504
3504
  border-bottom-color: var(--color-secondary-ds);
3505
3505
  }
3506
3506
  .counter-reset {
3507
- counter-reset: cnt1727709798995;
3507
+ counter-reset: cnt1727778755028;
3508
3508
  }
3509
3509
  .hyphens-auto {
3510
3510
  -webkit-hyphens: auto;
@@ -3912,7 +3912,7 @@ article.indexTextDS .indexTextHighlighted .link {
3912
3912
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3913
3913
  }
3914
3914
  .-ordered {
3915
- counter-increment: cnt1727709798995 1;
3915
+ counter-increment: cnt1727778755028 1;
3916
3916
  }
3917
3917
  .-ordered::before {
3918
3918
  position: absolute;
@@ -3928,7 +3928,7 @@ article.indexTextDS .indexTextHighlighted .link {
3928
3928
  letter-spacing: .0125em;
3929
3929
  --tw-text-opacity: 1;
3930
3930
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3931
- content: counter(cnt1727709798995);
3931
+ content: counter(cnt1727778755028);
3932
3932
  }
3933
3933
  /*! ****************************/
3934
3934
  /*! DataPolicy stuff */
@@ -78,9 +78,12 @@ const ExternalService = function (context) {
78
78
  case 'facebook-post':
79
79
  createFacebookEmbed()
80
80
  break
81
- case 'instagram':
81
+ case 'instagram-post':
82
82
  createInstagramEmbed()
83
83
  break
84
+ case 'instagram-story':
85
+ createInstagramEmbed()
86
+ break
84
87
  case 'twitter':
85
88
  createTwitterEmbed()
86
89
  break
@@ -288,7 +291,7 @@ const ExternalService = function (context) {
288
291
  const createInstagramEmbed = function () {
289
292
  loadScript('instagram-js', '//www.instagram.com/embed.js', true)
290
293
  embedCode = options.embedCode
291
- var instagramEmbedCode =
294
+ var instagramPostEmbedCode =
292
295
  "<blockquote class='instagram-media' data-instgrm-captioned " +
293
296
  "data-instgrm-permalink='" +
294
297
  embedCode +
@@ -369,7 +372,7 @@ const ExternalService = function (context) {
369
372
  }
370
373
  else{
371
374
  console.log("Dienst "+ id + " ist im Cookie nicht enthalten, prüfe daher den Default")
372
- if(whiteList){
375
+ if(document.getElementById(id).getAttribute("data-whitelist") == "true"){
373
376
  console.log("Ist per Default eingeschaltet")
374
377
  console.log("Lade den Dienst")
375
378
  loadServiceWithDataPolicyButton();
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.103.2",
9
+ "version": "1.103.3",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -78,9 +78,12 @@ const ExternalService = function (context) {
78
78
  case 'facebook-post':
79
79
  createFacebookEmbed()
80
80
  break
81
- case 'instagram':
81
+ case 'instagram-post':
82
82
  createInstagramEmbed()
83
83
  break
84
+ case 'instagram-story':
85
+ createInstagramEmbed()
86
+ break
84
87
  case 'twitter':
85
88
  createTwitterEmbed()
86
89
  break
@@ -288,7 +291,7 @@ const ExternalService = function (context) {
288
291
  const createInstagramEmbed = function () {
289
292
  loadScript('instagram-js', '//www.instagram.com/embed.js', true)
290
293
  embedCode = options.embedCode
291
- var instagramEmbedCode =
294
+ var instagramPostEmbedCode =
292
295
  "<blockquote class='instagram-media' data-instgrm-captioned " +
293
296
  "data-instgrm-permalink='" +
294
297
  embedCode +
@@ -369,7 +372,7 @@ const ExternalService = function (context) {
369
372
  }
370
373
  else{
371
374
  console.log("Dienst "+ id + " ist im Cookie nicht enthalten, prüfe daher den Default")
372
- if(whiteList){
375
+ if(document.getElementById(id).getAttribute("data-whitelist") == "true"){
373
376
  console.log("Ist per Default eingeschaltet")
374
377
  console.log("Lade den Dienst")
375
378
  loadServiceWithDataPolicyButton();