hr-design-system-handlebars 1.35.8 → 1.35.9

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.9 (Wed Aug 09 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - BUGFIX: External links in section navigation render an incorrect url [#705](https://github.com/mumprod/hr-design-system-handlebars/pull/705) ([@szuelch](https://github.com/szuelch))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@szuelch](https://github.com/szuelch)
10
+
11
+ ---
12
+
1
13
  # v1.35.8 (Tue Aug 08 2023)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -3025,7 +3025,7 @@ video {
3025
3025
  border-bottom-color: var(--color-secondary-ds);
3026
3026
  }
3027
3027
  .counter-reset {
3028
- counter-reset: cnt1691502814465;
3028
+ counter-reset: cnt1691575945717;
3029
3029
  }
3030
3030
  .hyphens-auto {
3031
3031
  -webkit-hyphens: auto;
@@ -3260,7 +3260,7 @@ video {
3260
3260
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3261
3261
  }
3262
3262
  .-ordered {
3263
- counter-increment: cnt1691502814465 1;
3263
+ counter-increment: cnt1691575945717 1;
3264
3264
  }
3265
3265
  .-ordered::before {
3266
3266
  position: absolute;
@@ -3276,7 +3276,7 @@ video {
3276
3276
  letter-spacing: .0125em;
3277
3277
  --tw-text-opacity: 1;
3278
3278
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3279
- content: counter(cnt1691502814465);
3279
+ content: counter(cnt1691575945717);
3280
3280
  }
3281
3281
  /*! ****************************/
3282
3282
  /*! DataPolicy stuff */
@@ -22,7 +22,7 @@
22
22
  {{#if this.subNavigation}}
23
23
  {{#if this.subNavigation.showAsFlyout}}
24
24
  {{!-- Gilt z.B. für "SHOWS" bei HR3 --}}
25
- <a href="{{resourceUrl this.url}}"
25
+ <a href="{{if this.extern this.url (resourceUrl this.url)}}"
26
26
  id="button-{{getRandom}}-1"
27
27
  @click="preventDefault(isDesktopView(),$event); toggle(); correctFlyoutPos()"
28
28
  @resize.window="dropped=false; correctFlyoutPos()"
@@ -37,7 +37,7 @@
37
37
  >
38
38
  {{else}}
39
39
  {{!-- Gilt z.B. für POLITIK: --}}
40
- <a href="{{resourceUrl this.url}}"
40
+ <a href="{{if this.extern this.url (resourceUrl this.url)}}"
41
41
  id="flyout-{{nextRandom}}-1"
42
42
 
43
43
  :class="dropped ? 'font-bold' : ''"
@@ -54,7 +54,7 @@
54
54
  {{~else ~}}
55
55
 
56
56
  {{!-- Gilt für START/GESELLSCHAFT/WIRTSCHAFT usw: --}}
57
- <a href="{{resourceUrl this.url}}"
57
+ <a href="{{if this.extern this.url (resourceUrl this.url)}}"
58
58
  class="{{#if this.selected}}-currentSection lg:justify-center {{/if}} link-focus-inset-white js-load flex justify-start pl-4 pr-4 h-10 lg:justify-center items-center w-full{{#if this.selected}} font-bold{{/if}}"
59
59
  {{#if this.labelText}} aria-label="{{this.labelText}}"{{/if}}
60
60
  data-hr-click-tracking='{"settings": [{"type": "uxNavigation", "secondLevelId": "1", "clickLabel": "Rubriknavigation::{{this.text}}-Link geklickt"}]}'
@@ -22,7 +22,7 @@
22
22
  {{#if this.subNavigation}}
23
23
  {{#if this.subNavigation.showAsFlyout}}
24
24
  {{!-- Gilt z.B. für "SHOWS" bei HR3 --}}
25
- <a href="{{resourceUrl this.url}}"
25
+ <a href="{{if this.extern this.url (resourceUrl this.url)}}"
26
26
  id="button-{{getRandom}}-1"
27
27
  @click="preventDefault(isDesktopView(),$event); toggle(); correctFlyoutPos()"
28
28
  @resize.window="dropped=false; correctFlyoutPos()"
@@ -37,7 +37,7 @@
37
37
  >
38
38
  {{else}}
39
39
  {{!-- Gilt z.B. für POLITIK: --}}
40
- <a href="{{resourceUrl this.url}}"
40
+ <a href="{{if this.extern this.url (resourceUrl this.url)}}"
41
41
  id="flyout-{{nextRandom}}-1"
42
42
 
43
43
  :class="dropped ? 'font-bold' : ''"
@@ -54,7 +54,7 @@
54
54
  {{~else ~}}
55
55
 
56
56
  {{!-- Gilt für START/GESELLSCHAFT/WIRTSCHAFT usw: --}}
57
- <a href="{{resourceUrl this.url}}"
57
+ <a href="{{if this.extern this.url (resourceUrl this.url)}}"
58
58
  class="{{#if this.selected}}-currentSection lg:justify-center {{/if}} link-focus-inset-white js-load flex justify-start pl-4 pr-4 h-10 lg:justify-center items-center w-full{{#if this.selected}} font-bold{{/if}}"
59
59
  {{#if this.labelText}} aria-label="{{this.labelText}}"{{/if}}
60
60
  data-hr-click-tracking='{"settings": [{"type": "uxNavigation", "secondLevelId": "1", "clickLabel": "Rubriknavigation::{{this.text}}-Link geklickt"}]}'
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.8",
9
+ "version": "1.35.9",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -22,7 +22,7 @@
22
22
  {{#if this.subNavigation}}
23
23
  {{#if this.subNavigation.showAsFlyout}}
24
24
  {{!-- Gilt z.B. für "SHOWS" bei HR3 --}}
25
- <a href="{{resourceUrl this.url}}"
25
+ <a href="{{if this.extern this.url (resourceUrl this.url)}}"
26
26
  id="button-{{getRandom}}-1"
27
27
  @click="preventDefault(isDesktopView(),$event); toggle(); correctFlyoutPos()"
28
28
  @resize.window="dropped=false; correctFlyoutPos()"
@@ -37,7 +37,7 @@
37
37
  >
38
38
  {{else}}
39
39
  {{!-- Gilt z.B. für POLITIK: --}}
40
- <a href="{{resourceUrl this.url}}"
40
+ <a href="{{if this.extern this.url (resourceUrl this.url)}}"
41
41
  id="flyout-{{nextRandom}}-1"
42
42
 
43
43
  :class="dropped ? 'font-bold' : ''"
@@ -54,7 +54,7 @@
54
54
  {{~else ~}}
55
55
 
56
56
  {{!-- Gilt für START/GESELLSCHAFT/WIRTSCHAFT usw: --}}
57
- <a href="{{resourceUrl this.url}}"
57
+ <a href="{{if this.extern this.url (resourceUrl this.url)}}"
58
58
  class="{{#if this.selected}}-currentSection lg:justify-center {{/if}} link-focus-inset-white js-load flex justify-start pl-4 pr-4 h-10 lg:justify-center items-center w-full{{#if this.selected}} font-bold{{/if}}"
59
59
  {{#if this.labelText}} aria-label="{{this.labelText}}"{{/if}}
60
60
  data-hr-click-tracking='{"settings": [{"type": "uxNavigation", "secondLevelId": "1", "clickLabel": "Rubriknavigation::{{this.text}}-Link geklickt"}]}'