hr-design-system-handlebars 1.109.0 → 1.109.1

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.109.1 (Fri Oct 11 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - remove unnecessary css (accordion) [#1102](https://github.com/mumprod/hr-design-system-handlebars/pull/1102) ([@hanswurstsalat](https://github.com/hanswurstsalat))
6
+
7
+ #### Authors: 1
8
+
9
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
10
+
11
+ ---
12
+
1
13
  # v1.109.0 (Fri Oct 11 2024)
2
14
 
3
15
  #### 🚀 Enhancement
@@ -2024,6 +2024,9 @@ article.indexTextDS .indexTextHighlighted .link {
2024
2024
  .resize {
2025
2025
  resize: both;
2026
2026
  }
2027
+ .scroll-mt-12 {
2028
+ scroll-margin-top: 3rem;
2029
+ }
2027
2030
  .list-decimal {
2028
2031
  list-style-type: decimal;
2029
2032
  }
@@ -3521,7 +3524,7 @@ article.indexTextDS .indexTextHighlighted .link {
3521
3524
  border-bottom-color: var(--color-secondary-ds);
3522
3525
  }
3523
3526
  .counter-reset {
3524
- counter-reset: cnt1728649888110;
3527
+ counter-reset: cnt1728667021406;
3525
3528
  }
3526
3529
  .placeholder-text-xs::-webkit-input-placeholder {
3527
3530
  font-size: 0.75rem;
@@ -3925,7 +3928,7 @@ article.indexTextDS .indexTextHighlighted .link {
3925
3928
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3926
3929
  }
3927
3930
  .-ordered {
3928
- counter-increment: cnt1728649888110 1;
3931
+ counter-increment: cnt1728667021406 1;
3929
3932
  }
3930
3933
  .-ordered::before {
3931
3934
  position: absolute;
@@ -3941,7 +3944,7 @@ article.indexTextDS .indexTextHighlighted .link {
3941
3944
  letter-spacing: .0125em;
3942
3945
  --tw-text-opacity: 1;
3943
3946
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3944
- content: counter(cnt1728649888110);
3947
+ content: counter(cnt1728667021406);
3945
3948
  }
3946
3949
  /*! ****************************/
3947
3950
  /*! DataPolicy stuff */
@@ -7715,6 +7718,10 @@ input[type='radio']:checked::after {
7715
7718
  flex: 0 1 auto;
7716
7719
  }
7717
7720
 
7721
+ .lg\:scroll-mt-28 {
7722
+ scroll-margin-top: 7rem;
7723
+ }
7724
+
7718
7725
  .lg\:grid-cols-12 {
7719
7726
  grid-template-columns: repeat(12, minmax(0, 1fr));
7720
7727
  }
@@ -1,12 +1,12 @@
1
1
  {{#if this.title}}
2
- <h2 class="clear-both mt-12 mb-5 text-lg font-normal accordion sm480:mt-14 sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.title}}</h2>
2
+ <h2 class="clear-both mt-12 mb-5 text-lg font-normal sm480:mt-14 sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.title}}</h2>
3
3
  {{/if}}
4
4
  <div x-cloak x-data="{selected:0}" class="print:hidden pb-3{{#unless this.title}} clear-both mt-12 sm480:mt-14{{/unless}}">
5
5
  {{#each this.copytextParagraph }}
6
6
  {{#if this.isHeadline}}
7
7
  {{#unless @first}}</div></div>{{/unless}}
8
8
  <button type="button"
9
- class="w-full text-left accordion link-focus"
9
+ class="w-full text-left scroll-mt-12 lg:scroll-mt-28 link-focus"
10
10
  @click="selected !== {{nextRandom}} ? (selected = {{getRandom}}, setTimeout(() => {if($el.getBoundingClientRect().top<0){$el.scrollIntoView({ block: 'start' })}}, 700)) : selected = null"
11
11
  x-effect="$el.setAttribute('aria-label', selected == {{getRandom}} ? 'Abschnitt {{strip this.text html}} schließen' : 'Abschnitt {{strip this.text html}} öffnen');$el.setAttribute('aria-expanded', selected == {{getRandom}} ? 'true' : 'false')"
12
12
  data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "Akkordeon::{{strip this.text html}}-Link geklickt"}]}'
@@ -29,7 +29,7 @@
29
29
  x-ref="container{{getRandom}}"
30
30
  x-bind:style="selected == {{getRandom}} ? 'max-height: ' + $refs.container{{getRandom}}.scrollHeight + 'px' : ''"
31
31
  >
32
- <div class="mb-8 accordionItem">
32
+ <div class="mb-8">
33
33
  {{else}}
34
34
  {{#if (isStorybook)}}
35
35
  {{> components/content/copytext/components/accordion/accordion_item }}
@@ -1,12 +1,12 @@
1
1
  {{#if this.title}}
2
- <h2 class="clear-both mt-12 mb-5 text-lg font-normal accordion sm480:mt-14 sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.title}}</h2>
2
+ <h2 class="clear-both mt-12 mb-5 text-lg font-normal sm480:mt-14 sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.title}}</h2>
3
3
  {{/if}}
4
4
  <div x-cloak x-data="{selected:0}" class="print:hidden pb-3{{#unless this.title}} clear-both mt-12 sm480:mt-14{{/unless}}">
5
5
  {{#each this.copytextParagraph }}
6
6
  {{#if this.isHeadline}}
7
7
  {{#unless @first}}</div></div>{{/unless}}
8
8
  <button type="button"
9
- class="w-full text-left accordion link-focus"
9
+ class="w-full text-left scroll-mt-12 lg:scroll-mt-28 link-focus"
10
10
  @click="selected !== {{nextRandom}} ? (selected = {{getRandom}}, setTimeout(() => {if($el.getBoundingClientRect().top<0){$el.scrollIntoView({ block: 'start' })}}, 700)) : selected = null"
11
11
  x-effect="$el.setAttribute('aria-label', selected == {{getRandom}} ? 'Abschnitt {{strip this.text html}} schließen' : 'Abschnitt {{strip this.text html}} öffnen');$el.setAttribute('aria-expanded', selected == {{getRandom}} ? 'true' : 'false')"
12
12
  data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "Akkordeon::{{strip this.text html}}-Link geklickt"}]}'
@@ -29,7 +29,7 @@
29
29
  x-ref="container{{getRandom}}"
30
30
  x-bind:style="selected == {{getRandom}} ? 'max-height: ' + $refs.container{{getRandom}}.scrollHeight + 'px' : ''"
31
31
  >
32
- <div class="mb-8 accordionItem">
32
+ <div class="mb-8">
33
33
  {{else}}
34
34
  {{#if (isStorybook)}}
35
35
  {{> components/content/copytext/components/accordion/accordion_item }}
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.109.0",
9
+ "version": "1.109.1",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -1,12 +1,12 @@
1
1
  {{#if this.title}}
2
- <h2 class="clear-both mt-12 mb-5 text-lg font-normal accordion sm480:mt-14 sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.title}}</h2>
2
+ <h2 class="clear-both mt-12 mb-5 text-lg font-normal sm480:mt-14 sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.title}}</h2>
3
3
  {{/if}}
4
4
  <div x-cloak x-data="{selected:0}" class="print:hidden pb-3{{#unless this.title}} clear-both mt-12 sm480:mt-14{{/unless}}">
5
5
  {{#each this.copytextParagraph }}
6
6
  {{#if this.isHeadline}}
7
7
  {{#unless @first}}</div></div>{{/unless}}
8
8
  <button type="button"
9
- class="w-full text-left accordion link-focus"
9
+ class="w-full text-left scroll-mt-12 lg:scroll-mt-28 link-focus"
10
10
  @click="selected !== {{nextRandom}} ? (selected = {{getRandom}}, setTimeout(() => {if($el.getBoundingClientRect().top<0){$el.scrollIntoView({ block: 'start' })}}, 700)) : selected = null"
11
11
  x-effect="$el.setAttribute('aria-label', selected == {{getRandom}} ? 'Abschnitt {{strip this.text html}} schließen' : 'Abschnitt {{strip this.text html}} öffnen');$el.setAttribute('aria-expanded', selected == {{getRandom}} ? 'true' : 'false')"
12
12
  data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "Akkordeon::{{strip this.text html}}-Link geklickt"}]}'
@@ -29,7 +29,7 @@
29
29
  x-ref="container{{getRandom}}"
30
30
  x-bind:style="selected == {{getRandom}} ? 'max-height: ' + $refs.container{{getRandom}}.scrollHeight + 'px' : ''"
31
31
  >
32
- <div class="mb-8 accordionItem">
32
+ <div class="mb-8">
33
33
  {{else}}
34
34
  {{#if (isStorybook)}}
35
35
  {{> components/content/copytext/components/accordion/accordion_item }}