hr-design-system-handlebars 1.35.5 → 1.35.6

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.35.6 (Tue Aug 08 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - title optional, add tracking [#702](https://github.com/mumprod/hr-design-system-handlebars/pull/702) ([@hanswurstsalat](https://github.com/hanswurstsalat))
6
+
7
+ #### Authors: 1
8
+
9
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
10
+
11
+ ---
12
+
1
13
  # v1.35.5 (Tue Aug 08 2023)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -2599,9 +2599,6 @@ video {
2599
2599
  font-size: 3rem;
2600
2600
  line-height: 1;
2601
2601
  }
2602
- .text-\[1\.1875rem\] {
2603
- font-size: 1.1875rem;
2604
- }
2605
2602
  .text-base {
2606
2603
  font-size: 1rem;
2607
2604
  line-height: 1.375rem;
@@ -2675,9 +2672,6 @@ video {
2675
2672
  .leading-6 {
2676
2673
  line-height: 1.5rem;
2677
2674
  }
2678
- .leading-\[1\.625rem\] {
2679
- line-height: 1.625rem;
2680
- }
2681
2675
  .leading-\[34px\] {
2682
2676
  line-height: 34px;
2683
2677
  }
@@ -3031,7 +3025,7 @@ video {
3031
3025
  border-bottom-color: var(--color-secondary-ds);
3032
3026
  }
3033
3027
  .counter-reset {
3034
- counter-reset: cnt1691488753365;
3028
+ counter-reset: cnt1691490525228;
3035
3029
  }
3036
3030
  .hyphens-auto {
3037
3031
  -webkit-hyphens: auto;
@@ -3266,7 +3260,7 @@ video {
3266
3260
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3267
3261
  }
3268
3262
  .-ordered {
3269
- counter-increment: cnt1691488753365 1;
3263
+ counter-increment: cnt1691490525228 1;
3270
3264
  }
3271
3265
  .-ordered::before {
3272
3266
  position: absolute;
@@ -3282,7 +3276,7 @@ video {
3282
3276
  letter-spacing: .0125em;
3283
3277
  --tw-text-opacity: 1;
3284
3278
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3285
- content: counter(cnt1691488753365);
3279
+ content: counter(cnt1691490525228);
3286
3280
  }
3287
3281
  /*! ****************************/
3288
3282
  /*! DataPolicy stuff */
@@ -1,11 +1,14 @@
1
- <h2 class="mb-5 text-[1.1875rem] leading-[1.625rem] font-normal mt-11 sm480:text-2xl font-headingSerif">{{this.title}}</h2>
2
- <div x-cloak x-data="{selected:0}" class="pb-11">
1
+ {{#if this.title}}
2
+ <h2 class="mb-5 text-lg font-normal accordion mt-11 sm480:text-2xl font-headingSerif">{{this.title}}</h2>
3
+ {{/if}}
4
+ <div x-cloak x-data="{selected:0}" class="pb-11{{#unless this.title}} mt-11{{/unless}}">
3
5
  {{#each this.copytextParagraph }}
4
6
  {{#if this.isHeadline}}
5
7
  {{#unless @first}}</div></div>{{/unless}}
6
8
  <button type="button"
7
9
  class="w-full text-left"
8
10
  @click="selected !== {{nextRandom}} ? selected = {{getRandom}} : selected = null"
11
+ data-hr-click-tracking='{"settings": [{"type": "Accordion", "secondLevelId": "1", "clickLabel": "Akkordeon::{{this.text}}-Link geklickt"}]}'
9
12
  >
10
13
  <div class="flex flex-row justify-between border-t basis-10/12 content-evenly border-gray-alto">
11
14
  <h3 :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal sm480:my-5 sm480:text-lg font-headingSerif">{{{this.text}}}</h3>
@@ -1,11 +1,14 @@
1
- <h2 class="mb-5 text-[1.1875rem] leading-[1.625rem] font-normal mt-11 sm480:text-2xl font-headingSerif">{{this.title}}</h2>
2
- <div x-cloak x-data="{selected:0}" class="pb-11">
1
+ {{#if this.title}}
2
+ <h2 class="mb-5 text-lg font-normal accordion mt-11 sm480:text-2xl font-headingSerif">{{this.title}}</h2>
3
+ {{/if}}
4
+ <div x-cloak x-data="{selected:0}" class="pb-11{{#unless this.title}} mt-11{{/unless}}">
3
5
  {{#each this.copytextParagraph }}
4
6
  {{#if this.isHeadline}}
5
7
  {{#unless @first}}</div></div>{{/unless}}
6
8
  <button type="button"
7
9
  class="w-full text-left"
8
10
  @click="selected !== {{nextRandom}} ? selected = {{getRandom}} : selected = null"
11
+ data-hr-click-tracking='{"settings": [{"type": "Accordion", "secondLevelId": "1", "clickLabel": "Akkordeon::{{this.text}}-Link geklickt"}]}'
9
12
  >
10
13
  <div class="flex flex-row justify-between border-t basis-10/12 content-evenly border-gray-alto">
11
14
  <h3 :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal sm480:my-5 sm480:text-lg font-headingSerif">{{{this.text}}}</h3>
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.35.5",
9
+ "version": "1.35.6",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -1,11 +1,14 @@
1
- <h2 class="mb-5 text-[1.1875rem] leading-[1.625rem] font-normal mt-11 sm480:text-2xl font-headingSerif">{{this.title}}</h2>
2
- <div x-cloak x-data="{selected:0}" class="pb-11">
1
+ {{#if this.title}}
2
+ <h2 class="mb-5 text-lg font-normal accordion mt-11 sm480:text-2xl font-headingSerif">{{this.title}}</h2>
3
+ {{/if}}
4
+ <div x-cloak x-data="{selected:0}" class="pb-11{{#unless this.title}} mt-11{{/unless}}">
3
5
  {{#each this.copytextParagraph }}
4
6
  {{#if this.isHeadline}}
5
7
  {{#unless @first}}</div></div>{{/unless}}
6
8
  <button type="button"
7
9
  class="w-full text-left"
8
10
  @click="selected !== {{nextRandom}} ? selected = {{getRandom}} : selected = null"
11
+ data-hr-click-tracking='{"settings": [{"type": "Accordion", "secondLevelId": "1", "clickLabel": "Akkordeon::{{this.text}}-Link geklickt"}]}'
9
12
  >
10
13
  <div class="flex flex-row justify-between border-t basis-10/12 content-evenly border-gray-alto">
11
14
  <h3 :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal sm480:my-5 sm480:text-lg font-headingSerif">{{{this.text}}}</h3>