hr-design-system-handlebars 1.108.1 → 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.
Files changed (22) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/index.css +18 -6
  3. package/dist/views/components/content/copytext/components/accordion/accordion.hbs +3 -3
  4. package/dist/views/components/content_nav/content_nav_container.hbs +1 -1
  5. package/dist/views/components/horizontal_scroll_container/horizontal_scroll_container.hbs +2 -2
  6. package/dist/views/components/horizontal_scroll_container/horizontal_scroll_container_example.hbs +2 -2
  7. package/dist/views/components/site_header/brand_navigation/brand_navigation.hbs +1 -1
  8. package/dist/views/components/site_header/section_navigation/section_navigation.hbs +1 -1
  9. package/dist/views_static/components/content/copytext/components/accordion/accordion.hbs +3 -3
  10. package/dist/views_static/components/content_nav/content_nav_container.hbs +1 -1
  11. package/dist/views_static/components/horizontal_scroll_container/horizontal_scroll_container.hbs +2 -2
  12. package/dist/views_static/components/horizontal_scroll_container/horizontal_scroll_container_example.hbs +2 -2
  13. package/dist/views_static/components/site_header/brand_navigation/brand_navigation.hbs +1 -1
  14. package/dist/views_static/components/site_header/section_navigation/section_navigation.hbs +1 -1
  15. package/package.json +1 -1
  16. package/src/stories/views/components/content/copytext/components/accordion/accordion.hbs +3 -3
  17. package/src/stories/views/components/content_nav/content_nav_container.hbs +1 -1
  18. package/src/stories/views/components/horizontal_scroll_container/horizontal_scroll_container.hbs +2 -2
  19. package/src/stories/views/components/horizontal_scroll_container/horizontal_scroll_container_example.hbs +2 -2
  20. package/src/stories/views/components/site_header/brand_navigation/brand_navigation.hbs +1 -1
  21. package/src/stories/views/components/site_header/section_navigation/section_navigation.hbs +1 -1
  22. package/tailwind.config.js +1 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
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
+
13
+ # v1.109.0 (Fri Oct 11 2024)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - Feature/dpe 2897 [#1099](https://github.com/mumprod/hr-design-system-handlebars/pull/1099) ([@szuelch](https://github.com/szuelch))
18
+
19
+ #### Authors: 1
20
+
21
+ - [@szuelch](https://github.com/szuelch)
22
+
23
+ ---
24
+
1
25
  # v1.108.1 (Fri Oct 11 2024)
2
26
 
3
27
  #### 🐛 Bug Fix
@@ -18,7 +18,7 @@
18
18
  --tw-scale-y: 1;
19
19
  }
20
20
 
21
- .from-\[\{\{_bgcolor\}\}\], .from-black, .from-white, .md\:from-white {
21
+ .from-\[--color-brandnavigation-bg\], .from-\[--color-navigation-bg\], .from-black, .from-white, .md\:from-white {
22
22
  --tw-gradient-from-position: ;
23
23
  --tw-gradient-via-position: ;
24
24
  --tw-gradient-to-position: ;
@@ -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
  }
@@ -2662,8 +2665,13 @@ article.indexTextDS .indexTextHighlighted .link {
2662
2665
  .bg-gradient-to-t {
2663
2666
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
2664
2667
  }
2665
- .from-\[\{\{_bgcolor\}\}\] {
2666
- --tw-gradient-from: {{ bgcolor}} var(--tw-gradient-from-position);
2668
+ .from-\[--color-brandnavigation-bg\] {
2669
+ --tw-gradient-from: var(--color-brandnavigation-bg) var(--tw-gradient-from-position);
2670
+ --tw-gradient-to: rgba(255, 255, 255, 0) var(--tw-gradient-to-position);
2671
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2672
+ }
2673
+ .from-\[--color-navigation-bg\] {
2674
+ --tw-gradient-from: var(--color-navigation-bg) var(--tw-gradient-from-position);
2667
2675
  --tw-gradient-to: rgba(255, 255, 255, 0) var(--tw-gradient-to-position);
2668
2676
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2669
2677
  }
@@ -3516,7 +3524,7 @@ article.indexTextDS .indexTextHighlighted .link {
3516
3524
  border-bottom-color: var(--color-secondary-ds);
3517
3525
  }
3518
3526
  .counter-reset {
3519
- counter-reset: cnt1728647677353;
3527
+ counter-reset: cnt1728667021406;
3520
3528
  }
3521
3529
  .placeholder-text-xs::-webkit-input-placeholder {
3522
3530
  font-size: 0.75rem;
@@ -3920,7 +3928,7 @@ article.indexTextDS .indexTextHighlighted .link {
3920
3928
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3921
3929
  }
3922
3930
  .-ordered {
3923
- counter-increment: cnt1728647677353 1;
3931
+ counter-increment: cnt1728667021406 1;
3924
3932
  }
3925
3933
  .-ordered::before {
3926
3934
  position: absolute;
@@ -3936,7 +3944,7 @@ article.indexTextDS .indexTextHighlighted .link {
3936
3944
  letter-spacing: .0125em;
3937
3945
  --tw-text-opacity: 1;
3938
3946
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3939
- content: counter(cnt1728647677353);
3947
+ content: counter(cnt1728667021406);
3940
3948
  }
3941
3949
  /*! ****************************/
3942
3950
  /*! DataPolicy stuff */
@@ -7710,6 +7718,10 @@ input[type='radio']:checked::after {
7710
7718
  flex: 0 1 auto;
7711
7719
  }
7712
7720
 
7721
+ .lg\:scroll-mt-28 {
7722
+ scroll-margin-top: 7rem;
7723
+ }
7724
+
7713
7725
  .lg\:grid-cols-12 {
7714
7726
  grid-template-columns: repeat(12, minmax(0, 1fr));
7715
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 }}
@@ -4,7 +4,7 @@
4
4
  {{/if}}
5
5
  >
6
6
  {{#if this.isAutosuggest}}
7
- <div class="flex mx-0 w-full h-10 border-primary {{#if _autoSuggestContainerCss}} {{_autoSuggestContainerCss}}{{/if}}">
7
+ <div class="flex mx-0 w-full h-10 border-primary{{#if _autoSuggestContainerCss}} {{_autoSuggestContainerCss}}{{/if}}">
8
8
  <input x-ref="autosuggestInput"
9
9
  class="{{#if _inputclass }}{{_inputclass}}{{/if}} w-full h-10 pl-2 border-b-8 border-white bg-gray-alabaster text-gray-dark placeholder:text-gray-dark focus:outline-none js-autosuggest-input"
10
10
  type="text"
@@ -9,12 +9,12 @@
9
9
  <button style="background-image: linear-gradient(90deg, {{_bgcolor}} 50%, transparent);" class="absolute left-0 z-10 flex items-center justify-start w-10 h-full text-{{_iconcolor}} disabled:hidden" @click="prev($refs.scrollContainer_{{getRandom}})" :disabled="!arrowLeftDisplay" tabindex="-1" aria-hidden="true" >
10
10
  {{> components/base/image/icon _icon="arrow-left" _iconmap="icons" _addClass="w-3.5 h-3.5 fill-current" }}
11
11
  </button>
12
- <button style="background-image: linear-gradient(270deg, {{_bgcolor}} 50%, transparent);" class="bg-gradient-to-l from-[{{_bgcolor}}] absolute right-0 z-10 flex items-center justify-end w-10 h-full text-{{_iconcolor}} disabled:hidden group" @click="next($refs.scrollContainer_{{getRandom}})" :disabled="!arrowRightDisplay" tabindex="-1" aria-hidden="true">
12
+ <button style="background-image: linear-gradient(270deg, {{_bgcolor}} 50%, transparent);" class="bg-gradient-to-l absolute right-0 z-10 flex items-center justify-end w-10 h-full text-{{_iconcolor}} disabled:hidden group{{_css}}" @click="next($refs.scrollContainer_{{getRandom}})" :disabled="!arrowRightDisplay" tabindex="-1" aria-hidden="true">
13
13
  {{> components/base/image/icon _icon="arrow-right" _iconmap="icons" _addClass="w-3.5 h-3.5 fill-current" }}
14
14
  </button>
15
15
  </div>
16
16
  </template>
17
- <div x-ref="scrollContainer_{{getRandom}}" @scroll="updateIndex($event.target)" class="w-full overflow-hidden overflow-x-scroll transition-all duration-300 ease-in-out cursor-default hide-scroll-bar align-center">
17
+ <div x-ref="scrollContainer_{{getRandom}}" @scroll="updateIndex($event.target)" class="w-full overflow-hidden overflow-x-scroll transition-all duration-300 ease-in-out cursor-default hide-scroll-bar">
18
18
  {{> @partial-block }}
19
19
  </div>
20
20
  </div>
@@ -1,5 +1,5 @@
1
1
  <div class="w-full h-auto mb-10">
2
- {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _onDarkBackground="true" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
2
+ {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _onDarkBackground="true" _css=" from-[--color-navigation-bg]" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
3
3
 
4
4
  <div class="flex h-auto p-4 pr-10 text-lg leading-6 text-white bg-primary">
5
5
  <p class="whitespace-nowrap ">Guten Tag. Dieses Div kann mittels click auf die Pfeiltasten verschoben werden kann. Die Pfeile werden dynamisch angezeigt/ausgeblendet sobald der Rand des Inhalts erreicht ist. </p>
@@ -8,7 +8,7 @@
8
8
  {{/components/horizontal_scroll_container/horizontal_scroll_container}}
9
9
  </div>
10
10
  <div class="w-full h-auto mb-10">
11
- {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _onDarkBackground="true" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
11
+ {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _onDarkBackground="true" _css=" from-[--color-navigation-bg]" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
12
12
 
13
13
  <div class="flex h-auto p-4 pr-10 text-lg leading-6 text-white bg-primary">
14
14
  <p class="whitespace-nowrap ">Guten Tag. Dieses Div kann mittels click auf die Pfeiltasten verschoben werden kann.</p>
@@ -1,5 +1,5 @@
1
1
  <div class="grid-cols-12 px-5 lg:px-10 col-full sm:col-main">
2
- {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _bgcolor="var(--color-brandnavigation-bg)" _iconcolor="primary" }}
2
+ {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _css=" from-[--color-brandnavigation-bg]" _bgcolor="var(--color-brandnavigation-bg)" _iconcolor="primary" }}
3
3
  <nav class="flex w-full text-xs list-none text-grey-scorpion">
4
4
  <span id="brandNavHeading" class="hidden">Navigation der Marken des Hessischen Rundfunks</span>
5
5
  {{#with this.brandNavigationItems}}
@@ -3,7 +3,7 @@
3
3
  class="w-full px-0 mt-10 sb-section-navigation md:mt-0 lg:grid-cols-12 lg:px-10 lg:col-main "
4
4
  x-effect="$el.setAttribute('aria-expanded', $store.burgeropen || $screen('lg')); $el.setAttribute('aria-hidden', ! ($store.burgeropen || $screen('lg')))"
5
5
  >
6
- {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="lg" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
6
+ {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="lg" _css=" from-[--color-navigation-bg]" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
7
7
  <div class="flex w-full">
8
8
  <span id="sectionNavHeadline" class="hidden">Bereichsnavigation</span>
9
9
 
@@ -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 }}
@@ -4,7 +4,7 @@
4
4
  {{/if}}
5
5
  >
6
6
  {{#if this.isAutosuggest}}
7
- <div class="flex mx-0 w-full h-10 border-primary {{#if _autoSuggestContainerCss}} {{_autoSuggestContainerCss}}{{/if}}">
7
+ <div class="flex mx-0 w-full h-10 border-primary{{#if _autoSuggestContainerCss}} {{_autoSuggestContainerCss}}{{/if}}">
8
8
  <input x-ref="autosuggestInput"
9
9
  class="{{#if _inputclass }}{{_inputclass}}{{/if}} w-full h-10 pl-2 border-b-8 border-white bg-gray-alabaster text-gray-dark placeholder:text-gray-dark focus:outline-none js-autosuggest-input"
10
10
  type="text"
@@ -9,12 +9,12 @@
9
9
  <button style="background-image: linear-gradient(90deg, {{_bgcolor}} 50%, transparent);" class="absolute left-0 z-10 flex items-center justify-start w-10 h-full text-{{_iconcolor}} disabled:hidden" @click="prev($refs.scrollContainer_{{getRandom}})" :disabled="!arrowLeftDisplay" tabindex="-1" aria-hidden="true" >
10
10
  {{> components/base/image/icon _icon="arrow-left" _iconmap="icons" _addClass="w-3.5 h-3.5 fill-current" }}
11
11
  </button>
12
- <button style="background-image: linear-gradient(270deg, {{_bgcolor}} 50%, transparent);" class="bg-gradient-to-l from-[{{_bgcolor}}] absolute right-0 z-10 flex items-center justify-end w-10 h-full text-{{_iconcolor}} disabled:hidden group" @click="next($refs.scrollContainer_{{getRandom}})" :disabled="!arrowRightDisplay" tabindex="-1" aria-hidden="true">
12
+ <button style="background-image: linear-gradient(270deg, {{_bgcolor}} 50%, transparent);" class="bg-gradient-to-l absolute right-0 z-10 flex items-center justify-end w-10 h-full text-{{_iconcolor}} disabled:hidden group{{_css}}" @click="next($refs.scrollContainer_{{getRandom}})" :disabled="!arrowRightDisplay" tabindex="-1" aria-hidden="true">
13
13
  {{> components/base/image/icon _icon="arrow-right" _iconmap="icons" _addClass="w-3.5 h-3.5 fill-current" }}
14
14
  </button>
15
15
  </div>
16
16
  </template>
17
- <div x-ref="scrollContainer_{{getRandom}}" @scroll="updateIndex($event.target)" class="w-full overflow-hidden overflow-x-scroll transition-all duration-300 ease-in-out cursor-default hide-scroll-bar align-center">
17
+ <div x-ref="scrollContainer_{{getRandom}}" @scroll="updateIndex($event.target)" class="w-full overflow-hidden overflow-x-scroll transition-all duration-300 ease-in-out cursor-default hide-scroll-bar">
18
18
  {{> @partial-block }}
19
19
  </div>
20
20
  </div>
@@ -1,5 +1,5 @@
1
1
  <div class="w-full h-auto mb-10">
2
- {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _onDarkBackground="true" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
2
+ {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _onDarkBackground="true" _css=" from-[--color-navigation-bg]" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
3
3
 
4
4
  <div class="flex h-auto p-4 pr-10 text-lg leading-6 text-white bg-primary">
5
5
  <p class="whitespace-nowrap ">Guten Tag. Dieses Div kann mittels click auf die Pfeiltasten verschoben werden kann. Die Pfeile werden dynamisch angezeigt/ausgeblendet sobald der Rand des Inhalts erreicht ist. </p>
@@ -8,7 +8,7 @@
8
8
  {{/components/horizontal_scroll_container/horizontal_scroll_container}}
9
9
  </div>
10
10
  <div class="w-full h-auto mb-10">
11
- {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _onDarkBackground="true" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
11
+ {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _onDarkBackground="true" _css=" from-[--color-navigation-bg]" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
12
12
 
13
13
  <div class="flex h-auto p-4 pr-10 text-lg leading-6 text-white bg-primary">
14
14
  <p class="whitespace-nowrap ">Guten Tag. Dieses Div kann mittels click auf die Pfeiltasten verschoben werden kann.</p>
@@ -1,5 +1,5 @@
1
1
  <div class="grid-cols-12 px-5 lg:px-10 col-full sm:col-main">
2
- {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _bgcolor="var(--color-brandnavigation-bg)" _iconcolor="primary" }}
2
+ {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _css=" from-[--color-brandnavigation-bg]" _bgcolor="var(--color-brandnavigation-bg)" _iconcolor="primary" }}
3
3
  <nav class="flex w-full text-xs list-none text-grey-scorpion">
4
4
  <span id="brandNavHeading" class="hidden">Navigation der Marken des Hessischen Rundfunks</span>
5
5
  {{#with this.brandNavigationItems}}
@@ -3,7 +3,7 @@
3
3
  class="w-full px-0 mt-10 sb-section-navigation md:mt-0 lg:grid-cols-12 lg:px-10 lg:col-main "
4
4
  x-effect="$el.setAttribute('aria-expanded', $store.burgeropen || $screen('lg')); $el.setAttribute('aria-hidden', ! ($store.burgeropen || $screen('lg')))"
5
5
  >
6
- {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="lg" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
6
+ {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="lg" _css=" from-[--color-navigation-bg]" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
7
7
  <div class="flex w-full">
8
8
  <span id="sectionNavHeadline" class="hidden">Bereichsnavigation</span>
9
9
 
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.108.1",
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 }}
@@ -4,7 +4,7 @@
4
4
  {{/if}}
5
5
  >
6
6
  {{#if this.isAutosuggest}}
7
- <div class="flex mx-0 w-full h-10 border-primary {{#if _autoSuggestContainerCss}} {{_autoSuggestContainerCss}}{{/if}}">
7
+ <div class="flex mx-0 w-full h-10 border-primary{{#if _autoSuggestContainerCss}} {{_autoSuggestContainerCss}}{{/if}}">
8
8
  <input x-ref="autosuggestInput"
9
9
  class="{{#if _inputclass }}{{_inputclass}}{{/if}} w-full h-10 pl-2 border-b-8 border-white bg-gray-alabaster text-gray-dark placeholder:text-gray-dark focus:outline-none js-autosuggest-input"
10
10
  type="text"
@@ -9,12 +9,12 @@
9
9
  <button style="background-image: linear-gradient(90deg, {{_bgcolor}} 50%, transparent);" class="absolute left-0 z-10 flex items-center justify-start w-10 h-full text-{{_iconcolor}} disabled:hidden" @click="prev($refs.scrollContainer_{{getRandom}})" :disabled="!arrowLeftDisplay" tabindex="-1" aria-hidden="true" >
10
10
  {{> components/base/image/icon _icon="arrow-left" _iconmap="icons" _addClass="w-3.5 h-3.5 fill-current" }}
11
11
  </button>
12
- <button style="background-image: linear-gradient(270deg, {{_bgcolor}} 50%, transparent);" class="bg-gradient-to-l from-[{{_bgcolor}}] absolute right-0 z-10 flex items-center justify-end w-10 h-full text-{{_iconcolor}} disabled:hidden group" @click="next($refs.scrollContainer_{{getRandom}})" :disabled="!arrowRightDisplay" tabindex="-1" aria-hidden="true">
12
+ <button style="background-image: linear-gradient(270deg, {{_bgcolor}} 50%, transparent);" class="bg-gradient-to-l absolute right-0 z-10 flex items-center justify-end w-10 h-full text-{{_iconcolor}} disabled:hidden group{{_css}}" @click="next($refs.scrollContainer_{{getRandom}})" :disabled="!arrowRightDisplay" tabindex="-1" aria-hidden="true">
13
13
  {{> components/base/image/icon _icon="arrow-right" _iconmap="icons" _addClass="w-3.5 h-3.5 fill-current" }}
14
14
  </button>
15
15
  </div>
16
16
  </template>
17
- <div x-ref="scrollContainer_{{getRandom}}" @scroll="updateIndex($event.target)" class="w-full overflow-hidden overflow-x-scroll transition-all duration-300 ease-in-out cursor-default hide-scroll-bar align-center">
17
+ <div x-ref="scrollContainer_{{getRandom}}" @scroll="updateIndex($event.target)" class="w-full overflow-hidden overflow-x-scroll transition-all duration-300 ease-in-out cursor-default hide-scroll-bar">
18
18
  {{> @partial-block }}
19
19
  </div>
20
20
  </div>
@@ -1,5 +1,5 @@
1
1
  <div class="w-full h-auto mb-10">
2
- {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _onDarkBackground="true" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
2
+ {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _onDarkBackground="true" _css=" from-[--color-navigation-bg]" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
3
3
 
4
4
  <div class="flex h-auto p-4 pr-10 text-lg leading-6 text-white bg-primary">
5
5
  <p class="whitespace-nowrap ">Guten Tag. Dieses Div kann mittels click auf die Pfeiltasten verschoben werden kann. Die Pfeile werden dynamisch angezeigt/ausgeblendet sobald der Rand des Inhalts erreicht ist. </p>
@@ -8,7 +8,7 @@
8
8
  {{/components/horizontal_scroll_container/horizontal_scroll_container}}
9
9
  </div>
10
10
  <div class="w-full h-auto mb-10">
11
- {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _onDarkBackground="true" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
11
+ {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _onDarkBackground="true" _css=" from-[--color-navigation-bg]" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
12
12
 
13
13
  <div class="flex h-auto p-4 pr-10 text-lg leading-6 text-white bg-primary">
14
14
  <p class="whitespace-nowrap ">Guten Tag. Dieses Div kann mittels click auf die Pfeiltasten verschoben werden kann.</p>
@@ -1,5 +1,5 @@
1
1
  <div class="grid-cols-12 px-5 lg:px-10 col-full sm:col-main">
2
- {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _bgcolor="var(--color-brandnavigation-bg)" _iconcolor="primary" }}
2
+ {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="xs" _css=" from-[--color-brandnavigation-bg]" _bgcolor="var(--color-brandnavigation-bg)" _iconcolor="primary" }}
3
3
  <nav class="flex w-full text-xs list-none text-grey-scorpion">
4
4
  <span id="brandNavHeading" class="hidden">Navigation der Marken des Hessischen Rundfunks</span>
5
5
  {{#with this.brandNavigationItems}}
@@ -3,7 +3,7 @@
3
3
  class="w-full px-0 mt-10 sb-section-navigation md:mt-0 lg:grid-cols-12 lg:px-10 lg:col-main "
4
4
  x-effect="$el.setAttribute('aria-expanded', $store.burgeropen || $screen('lg')); $el.setAttribute('aria-hidden', ! ($store.burgeropen || $screen('lg')))"
5
5
  >
6
- {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="lg" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
6
+ {{#> components/horizontal_scroll_container/horizontal_scroll_container _viewport="lg" _css=" from-[--color-navigation-bg]" _bgcolor="var(--color-navigation-bg)" _iconcolor="navigation-icons"}}
7
7
  <div class="flex w-full">
8
8
  <span id="sectionNavHeadline" class="hidden">Bereichsnavigation</span>
9
9
 
@@ -130,6 +130,7 @@ module.exports = {
130
130
  },
131
131
  zIndex: {
132
132
  '0': '0',
133
+ '11': '11',
133
134
  '40': '40',
134
135
  '50': '50',
135
136
  '100': '100',