hr-design-system-handlebars 1.52.24 → 1.53.0

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.53.0 (Fri Feb 02 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - :bug: Add support for statically generated navigation on error pages [#827](https://github.com/mumprod/hr-design-system-handlebars/pull/827) ([@szuelch](https://github.com/szuelch))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@szuelch](https://github.com/szuelch)
10
+
11
+ ---
12
+
1
13
  # v1.52.24 (Wed Jan 31 2024)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -3296,7 +3296,7 @@ a.link {
3296
3296
  border-bottom-color: var(--color-secondary-ds);
3297
3297
  }
3298
3298
  .counter-reset {
3299
- counter-reset: cnt1706705068060;
3299
+ counter-reset: cnt1706887385418;
3300
3300
  }
3301
3301
  .hyphens-auto {
3302
3302
  -webkit-hyphens: auto;
@@ -3598,7 +3598,7 @@ a.link {
3598
3598
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3599
3599
  }
3600
3600
  .-ordered {
3601
- counter-increment: cnt1706705068060 1;
3601
+ counter-increment: cnt1706887385418 1;
3602
3602
  }
3603
3603
  .-ordered::before {
3604
3604
  position: absolute;
@@ -3614,7 +3614,7 @@ a.link {
3614
3614
  letter-spacing: .0125em;
3615
3615
  --tw-text-opacity: 1;
3616
3616
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3617
- content: counter(cnt1706705068060);
3617
+ content: counter(cnt1706887385418);
3618
3618
  }
3619
3619
  /*! ****************************/
3620
3620
  /*! DataPolicy stuff */
@@ -9,18 +9,22 @@
9
9
 
10
10
  {{#with this.sectionNavigationSSILinks}}
11
11
  <ul class="flex flex-col items-center w-full text-left list-none text-navigation-icons lg:flex-row lg:h-auto lg:mt-1">
12
- {{#each this}}
13
- {{#if (isStorybook)}}
14
- {{> components/site_header/section_navigation/section_navigation_item }}
15
- {{else}}
16
- {{{this}}}
17
- {{/if}}
18
- {{#if @first}}
19
- {{#with ../../this.topTopicsNavigation }}
20
- {{> components/site_header/section_navigation/section_navigation_top_topics }}
21
- {{/with}}
22
- {{/if}}
23
- {{/each}}
12
+ {{#if this.errorPageNavigation}}
13
+ {{> components/site_header/section_navigation/section_navigation_item}}
14
+ {{else}}
15
+ {{#each this}}
16
+ {{#if (isStorybook)}}
17
+ {{> components/site_header/section_navigation/section_navigation_item }}
18
+ {{else}}
19
+ {{{this}}}
20
+ {{/if}}
21
+ {{#if @first}}
22
+ {{#with ../../this.topTopicsNavigation }}
23
+ {{> components/site_header/section_navigation/section_navigation_top_topics }}
24
+ {{/with}}
25
+ {{/if}}
26
+ {{/each}}
27
+ {{/if}}
24
28
  </ul>
25
29
  {{/with}}
26
30
 
@@ -55,7 +55,8 @@
55
55
  {{~else ~}}
56
56
 
57
57
  {{!-- Gilt für START/GESELLSCHAFT/WIRTSCHAFT usw: --}}
58
- <a href="{{if this.extern this.url (resourceUrl this.url)}}"
58
+ <a {{#if this.extern}}href="{{this.url}}{{else}}href="{{resourceUrl
59
+ this.url}}{{/if}}"
59
60
  class="{{#if this.selected}}-currentSection lg:justify-center {{/if}} link-focus-inset js-load flex justify-start pl-4 pr-4 h-10 lg:justify-center items-center w-full{{#if this.selected}} font-bold{{/if}}"
60
61
  {{#if this.labelText}} aria-label="{{this.labelText}}"{{/if}}
61
62
  data-hr-click-tracking='{"settings": [{"type": "uxNavigation", "secondLevelId": "1", "clickLabel": "Rubriknavigation::{{this.text}}-Link geklickt"}]}'
@@ -7,9 +7,13 @@
7
7
  >
8
8
  {{#with this.serviceNavigationSSILinks}}
9
9
  <ul class="flex justify-around w-full h-full -itemCount-{{ count }} lg:w-auto lg:justify-end lg:pt-1">
10
- {{#each this}}
11
- {{> components/base/loadSSI _templatePath='components/site_header/service_navigation/service_navigation_item' }}
12
- {{/each}}
10
+ {{#if this.errorPageNavigation}}
11
+ {{> components/site_header/service_navigation/service_navigation_item}}
12
+ {{else}}
13
+ {{#each this}}
14
+ {{> components/base/loadSSI _templatePath='components/site_header/service_navigation/service_navigation_item' }}
15
+ {{/each}}
16
+ {{/if}}
13
17
  </ul>
14
18
  {{/with}}
15
19
  </div>
@@ -9,18 +9,22 @@
9
9
 
10
10
  {{#with this.sectionNavigationSSILinks}}
11
11
  <ul class="flex flex-col items-center w-full text-left list-none text-navigation-icons lg:flex-row lg:h-auto lg:mt-1">
12
- {{#each this}}
13
- {{#if (isStorybook)}}
14
- {{> components/site_header/section_navigation/section_navigation_item }}
15
- {{else}}
16
- {{{this}}}
17
- {{/if}}
18
- {{#if @first}}
19
- {{#with ../../this.topTopicsNavigation }}
20
- {{> components/site_header/section_navigation/section_navigation_top_topics }}
21
- {{/with}}
22
- {{/if}}
23
- {{/each}}
12
+ {{#if this.errorPageNavigation}}
13
+ {{> components/site_header/section_navigation/section_navigation_item}}
14
+ {{else}}
15
+ {{#each this}}
16
+ {{#if (isStorybook)}}
17
+ {{> components/site_header/section_navigation/section_navigation_item }}
18
+ {{else}}
19
+ {{{this}}}
20
+ {{/if}}
21
+ {{#if @first}}
22
+ {{#with ../../this.topTopicsNavigation }}
23
+ {{> components/site_header/section_navigation/section_navigation_top_topics }}
24
+ {{/with}}
25
+ {{/if}}
26
+ {{/each}}
27
+ {{/if}}
24
28
  </ul>
25
29
  {{/with}}
26
30
 
@@ -55,7 +55,8 @@
55
55
  {{~else ~}}
56
56
 
57
57
  {{!-- Gilt für START/GESELLSCHAFT/WIRTSCHAFT usw: --}}
58
- <a href="{{if this.extern this.url (resourceUrl this.url)}}"
58
+ <a {{#if this.extern}}href="{{this.url}}{{else}}href="{{resourceUrl
59
+ this.url}}{{/if}}"
59
60
  class="{{#if this.selected}}-currentSection lg:justify-center {{/if}} link-focus-inset js-load flex justify-start pl-4 pr-4 h-10 lg:justify-center items-center w-full{{#if this.selected}} font-bold{{/if}}"
60
61
  {{#if this.labelText}} aria-label="{{this.labelText}}"{{/if}}
61
62
  data-hr-click-tracking='{"settings": [{"type": "uxNavigation", "secondLevelId": "1", "clickLabel": "Rubriknavigation::{{this.text}}-Link geklickt"}]}'
@@ -7,9 +7,13 @@
7
7
  >
8
8
  {{#with this.serviceNavigationSSILinks}}
9
9
  <ul class="flex justify-around w-full h-full -itemCount-{{ count }} lg:w-auto lg:justify-end lg:pt-1">
10
- {{#each this}}
11
- {{> components/base/loadSSI _templatePath='components/site_header/service_navigation/service_navigation_item' }}
12
- {{/each}}
10
+ {{#if this.errorPageNavigation}}
11
+ {{> components/site_header/service_navigation/service_navigation_item}}
12
+ {{else}}
13
+ {{#each this}}
14
+ {{> components/base/loadSSI _templatePath='components/site_header/service_navigation/service_navigation_item' }}
15
+ {{/each}}
16
+ {{/if}}
13
17
  </ul>
14
18
  {{/with}}
15
19
  </div>
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.52.24",
9
+ "version": "1.53.0",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -9,18 +9,22 @@
9
9
 
10
10
  {{#with this.sectionNavigationSSILinks}}
11
11
  <ul class="flex flex-col items-center w-full text-left list-none text-navigation-icons lg:flex-row lg:h-auto lg:mt-1">
12
- {{#each this}}
13
- {{#if (isStorybook)}}
14
- {{> components/site_header/section_navigation/section_navigation_item }}
15
- {{else}}
16
- {{{this}}}
17
- {{/if}}
18
- {{#if @first}}
19
- {{#with ../../this.topTopicsNavigation }}
20
- {{> components/site_header/section_navigation/section_navigation_top_topics }}
21
- {{/with}}
22
- {{/if}}
23
- {{/each}}
12
+ {{#if this.errorPageNavigation}}
13
+ {{> components/site_header/section_navigation/section_navigation_item}}
14
+ {{else}}
15
+ {{#each this}}
16
+ {{#if (isStorybook)}}
17
+ {{> components/site_header/section_navigation/section_navigation_item }}
18
+ {{else}}
19
+ {{{this}}}
20
+ {{/if}}
21
+ {{#if @first}}
22
+ {{#with ../../this.topTopicsNavigation }}
23
+ {{> components/site_header/section_navigation/section_navigation_top_topics }}
24
+ {{/with}}
25
+ {{/if}}
26
+ {{/each}}
27
+ {{/if}}
24
28
  </ul>
25
29
  {{/with}}
26
30
 
@@ -55,7 +55,8 @@
55
55
  {{~else ~}}
56
56
 
57
57
  {{!-- Gilt für START/GESELLSCHAFT/WIRTSCHAFT usw: --}}
58
- <a href="{{if this.extern this.url (resourceUrl this.url)}}"
58
+ <a {{#if this.extern}}href="{{this.url}}{{else}}href="{{resourceUrl
59
+ this.url}}{{/if}}"
59
60
  class="{{#if this.selected}}-currentSection lg:justify-center {{/if}} link-focus-inset js-load flex justify-start pl-4 pr-4 h-10 lg:justify-center items-center w-full{{#if this.selected}} font-bold{{/if}}"
60
61
  {{#if this.labelText}} aria-label="{{this.labelText}}"{{/if}}
61
62
  data-hr-click-tracking='{"settings": [{"type": "uxNavigation", "secondLevelId": "1", "clickLabel": "Rubriknavigation::{{this.text}}-Link geklickt"}]}'
@@ -7,9 +7,13 @@
7
7
  >
8
8
  {{#with this.serviceNavigationSSILinks}}
9
9
  <ul class="flex justify-around w-full h-full -itemCount-{{ count }} lg:w-auto lg:justify-end lg:pt-1">
10
- {{#each this}}
11
- {{> components/base/loadSSI _templatePath='components/site_header/service_navigation/service_navigation_item' }}
12
- {{/each}}
10
+ {{#if this.errorPageNavigation}}
11
+ {{> components/site_header/service_navigation/service_navigation_item}}
12
+ {{else}}
13
+ {{#each this}}
14
+ {{> components/base/loadSSI _templatePath='components/site_header/service_navigation/service_navigation_item' }}
15
+ {{/each}}
16
+ {{/if}}
13
17
  </ul>
14
18
  {{/with}}
15
19
  </div>