hr-design-system-handlebars 1.114.59 → 1.114.60

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.114.60 (Thu Jan 16 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Adding externalservice for Butawa 2025 changing name for Europawahl [#1209](https://github.com/mumprod/hr-design-system-handlebars/pull/1209) ([@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.114.59 (Thu Jan 16 2025)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -3711,7 +3711,7 @@ article #commentList {
3711
3711
  border-bottom-color: var(--color-secondary-ds);
3712
3712
  }
3713
3713
  .counter-reset {
3714
- counter-reset: cnt1737036621192;
3714
+ counter-reset: cnt1737039060478;
3715
3715
  }
3716
3716
  html { scroll-behavior: smooth; }
3717
3717
  .placeholder-text-xs::-webkit-input-placeholder {
@@ -4126,7 +4126,7 @@ html { scroll-behavior: smooth; }
4126
4126
  --tw-ring-color: rgba(255, 255, 255, 0.5);
4127
4127
  }
4128
4128
  .-ordered {
4129
- counter-increment: cnt1737036621192 1;
4129
+ counter-increment: cnt1737039060478 1;
4130
4130
  }
4131
4131
  .-ordered::before {
4132
4132
  position: absolute;
@@ -4144,7 +4144,7 @@ html { scroll-behavior: smooth; }
4144
4144
  --tw-text-opacity: 1;
4145
4145
  color: rgba(0, 0, 0, 1);
4146
4146
  color: rgba(0, 0, 0, var(--tw-text-opacity));
4147
- content: counter(cnt1737036621192);
4147
+ content: counter(cnt1737039060478);
4148
4148
  }
4149
4149
  /*! ****************************/
4150
4150
  /*! DataPolicy stuff */
@@ -96,8 +96,11 @@ const ExternalService = function (context) {
96
96
  case 'wahlkreiskarte':
97
97
  createWahlEmbed()
98
98
  break
99
- case 'wahlomat':
100
- createWahlOMatEmbed()
99
+ case 'wahlomat-euwa':
100
+ createWahlOMatEuwaEmbed()
101
+ break
102
+ case 'wahlomat-butawa':
103
+ createWahlOMatButawaEmbed()
101
104
  break
102
105
  case 'wahl-gemeinde-ergebnis':
103
106
  createWahlGemeindeErgebnisEmbed()
@@ -116,10 +119,22 @@ const ExternalService = function (context) {
116
119
  gemeindewahlergebnis = new CreateWahlGemeindeErgebnis(embedCode, rootElement)
117
120
  gemeindewahlergebnis.createErgebnis()
118
121
  }
119
- const createWahlOMatEmbed = function () {
122
+ const createWahlOMatEuwaEmbed = function () {
123
+
124
+ const divTag = document.createElement('div')
125
+ divTag.id = 'wahl-o-mat-europawahl-2024'
126
+ rootElement.insertBefore(divTag, null)
127
+ loadScript(
128
+ 'wahl-o-mat-js',
129
+ 'https://static.hr.de/wahl-o-mat/embed.js',
130
+ true
131
+ )
132
+
133
+ }
134
+ const createWahlOMatButawaEmbed = function () {
120
135
 
121
136
  const divTag = document.createElement('div')
122
- divTag.id = 'wahl-o-mat'
137
+ divTag.id = 'wahl-o-mat-bundestagswahl-2025'
123
138
  rootElement.insertBefore(divTag, null)
124
139
  loadScript(
125
140
  'wahl-o-mat-js',
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.114.59",
9
+ "version": "1.114.60",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -96,8 +96,11 @@ const ExternalService = function (context) {
96
96
  case 'wahlkreiskarte':
97
97
  createWahlEmbed()
98
98
  break
99
- case 'wahlomat':
100
- createWahlOMatEmbed()
99
+ case 'wahlomat-euwa':
100
+ createWahlOMatEuwaEmbed()
101
+ break
102
+ case 'wahlomat-butawa':
103
+ createWahlOMatButawaEmbed()
101
104
  break
102
105
  case 'wahl-gemeinde-ergebnis':
103
106
  createWahlGemeindeErgebnisEmbed()
@@ -116,10 +119,22 @@ const ExternalService = function (context) {
116
119
  gemeindewahlergebnis = new CreateWahlGemeindeErgebnis(embedCode, rootElement)
117
120
  gemeindewahlergebnis.createErgebnis()
118
121
  }
119
- const createWahlOMatEmbed = function () {
122
+ const createWahlOMatEuwaEmbed = function () {
123
+
124
+ const divTag = document.createElement('div')
125
+ divTag.id = 'wahl-o-mat-europawahl-2024'
126
+ rootElement.insertBefore(divTag, null)
127
+ loadScript(
128
+ 'wahl-o-mat-js',
129
+ 'https://static.hr.de/wahl-o-mat/embed.js',
130
+ true
131
+ )
132
+
133
+ }
134
+ const createWahlOMatButawaEmbed = function () {
120
135
 
121
136
  const divTag = document.createElement('div')
122
- divTag.id = 'wahl-o-mat'
137
+ divTag.id = 'wahl-o-mat-bundestagswahl-2025'
123
138
  rootElement.insertBefore(divTag, null)
124
139
  loadScript(
125
140
  'wahl-o-mat-js',