hr-design-system-handlebars 1.70.5 → 1.70.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.70.6 (Wed Jun 12 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - ✨ h-Auszeichnungen der Label überarbeiten [#943](https://github.com/mumprod/hr-design-system-handlebars/pull/943) ([@vascoeduardo](https://github.com/vascoeduardo))
6
+
7
+ #### Authors: 1
8
+
9
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
10
+
11
+ ---
12
+
1
13
  # v1.70.5 (Wed Jun 12 2024)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -3359,7 +3359,7 @@ article.indexTextDS .indexTextHighlighted .link {
3359
3359
  border-bottom-color: var(--color-secondary-ds);
3360
3360
  }
3361
3361
  .counter-reset {
3362
- counter-reset: cnt1718195046691;
3362
+ counter-reset: cnt1718204121860;
3363
3363
  }
3364
3364
  .hyphens-auto {
3365
3365
  -webkit-hyphens: auto;
@@ -3738,7 +3738,7 @@ article.indexTextDS .indexTextHighlighted .link {
3738
3738
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3739
3739
  }
3740
3740
  .-ordered {
3741
- counter-increment: cnt1718195046691 1;
3741
+ counter-increment: cnt1718204121860 1;
3742
3742
  }
3743
3743
  .-ordered::before {
3744
3744
  position: absolute;
@@ -3754,7 +3754,7 @@ article.indexTextDS .indexTextHighlighted .link {
3754
3754
  letter-spacing: .0125em;
3755
3755
  --tw-text-opacity: 1;
3756
3756
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3757
- content: counter(cnt1718195046691);
3757
+ content: counter(cnt1718204121860);
3758
3758
  }
3759
3759
  /*! ****************************/
3760
3760
  /*! DataPolicy stuff */
@@ -1,16 +1,15 @@
1
1
  <header class="mt-6 sm480:mt-8">
2
+ {{#with this.label}}
3
+ {{#> components/label/label_group _css="mb-2"}}
4
+ {{> components/label/label _type=this.type _text=(loca this.loca)}}
5
+ {{/components/label/label_group}}
6
+ {{/with}}
2
7
  <h2>
3
- {{#if this.label }}
4
- {{#with this.label}}
5
- {{#> components/label/label_group _css="mb-2"}}
6
- {{> components/label/label _type=this.type _text=(loca this.loca)}}
7
- {{/components/label/label_group}}
8
- {{/with}}
9
- {{else}}
8
+ {{#unless this.label }}
10
9
  {{~#if topline}}
11
10
  <span class="block mb-2 text-base sm480:text-xl font-heading">{{this.topline}}</span>
12
11
  {{/if~}}
13
- {{/if~}}
12
+ {{/unless~}}
14
13
  <span class="text-3xl font-headingSerif sm480:text-4xl">{{this.title}}</span>
15
14
  </h2>
16
15
  </header>
@@ -1,16 +1,15 @@
1
1
  <header class="mt-6 sm480:mt-8">
2
+ {{#with this.label}}
3
+ {{#> components/label/label_group _css="mb-2"}}
4
+ {{> components/label/label _type=this.type _text=(loca this.loca)}}
5
+ {{/components/label/label_group}}
6
+ {{/with}}
2
7
  <h2>
3
- {{#if this.label }}
4
- {{#with this.label}}
5
- {{#> components/label/label_group _css="mb-2"}}
6
- {{> components/label/label _type=this.type _text=(loca this.loca)}}
7
- {{/components/label/label_group}}
8
- {{/with}}
9
- {{else}}
8
+ {{#unless this.label }}
10
9
  {{~#if topline}}
11
10
  <span class="block mb-2 text-base sm480:text-xl font-heading">{{this.topline}}</span>
12
11
  {{/if~}}
13
- {{/if~}}
12
+ {{/unless~}}
14
13
  <span class="text-3xl font-headingSerif sm480:text-4xl">{{this.title}}</span>
15
14
  </h2>
16
15
  </header>
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.70.5",
9
+ "version": "1.70.6",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -1,16 +1,15 @@
1
1
  <header class="mt-6 sm480:mt-8">
2
+ {{#with this.label}}
3
+ {{#> components/label/label_group _css="mb-2"}}
4
+ {{> components/label/label _type=this.type _text=(loca this.loca)}}
5
+ {{/components/label/label_group}}
6
+ {{/with}}
2
7
  <h2>
3
- {{#if this.label }}
4
- {{#with this.label}}
5
- {{#> components/label/label_group _css="mb-2"}}
6
- {{> components/label/label _type=this.type _text=(loca this.loca)}}
7
- {{/components/label/label_group}}
8
- {{/with}}
9
- {{else}}
8
+ {{#unless this.label }}
10
9
  {{~#if topline}}
11
10
  <span class="block mb-2 text-base sm480:text-xl font-heading">{{this.topline}}</span>
12
11
  {{/if~}}
13
- {{/if~}}
12
+ {{/unless~}}
14
13
  <span class="text-3xl font-headingSerif sm480:text-4xl">{{this.title}}</span>
15
14
  </h2>
16
15
  </header>