hr-design-system-handlebars 1.57.2 → 1.57.4

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,27 @@
1
+ # v1.57.4 (Fri Feb 09 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - fix link [#839](https://github.com/mumprod/hr-design-system-handlebars/pull/839) ([@hanswurstsalat](https://github.com/hanswurstsalat))
6
+
7
+ #### Authors: 1
8
+
9
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
10
+
11
+ ---
12
+
13
+ # v1.57.3 (Fri Feb 09 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - add adjust_context to image-parameter [#838](https://github.com/mumprod/hr-design-system-handlebars/pull/838) ([@hanswurstsalat](https://github.com/hanswurstsalat))
18
+
19
+ #### Authors: 1
20
+
21
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
22
+
23
+ ---
24
+
1
25
  # v1.57.2 (Thu Feb 08 2024)
2
26
 
3
27
  #### 🐛 Bug Fix
@@ -3305,7 +3305,7 @@ a.link:hover {
3305
3305
  border-bottom-color: var(--color-secondary-ds);
3306
3306
  }
3307
3307
  .counter-reset {
3308
- counter-reset: cnt1707416242598;
3308
+ counter-reset: cnt1707491976228;
3309
3309
  }
3310
3310
  .hyphens-auto {
3311
3311
  -webkit-hyphens: auto;
@@ -3607,7 +3607,7 @@ a.link:hover {
3607
3607
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3608
3608
  }
3609
3609
  .-ordered {
3610
- counter-increment: cnt1707416242598 1;
3610
+ counter-increment: cnt1707491976228 1;
3611
3611
  }
3612
3612
  .-ordered::before {
3613
3613
  position: absolute;
@@ -3623,7 +3623,7 @@ a.link:hover {
3623
3623
  letter-spacing: .0125em;
3624
3624
  --tw-text-opacity: 1;
3625
3625
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3626
- content: counter(cnt1707416242598);
3626
+ content: counter(cnt1707491976228);
3627
3627
  }
3628
3628
  /*! ****************************/
3629
3629
  /*! DataPolicy stuff */
@@ -1,10 +1,11 @@
1
1
  <li class="mt-3">
2
- {{#>components/base/link _link=this.link _css="underline decoration-1 hover:!decoration-1 text-link dark:text-link-dark"}}
2
+ <a class="link js-load" href="{{this.url}}" {{#with this.content.trackingData}}
3
+ data-hr-click-tracking='{"settings": [{"type": "download", "secondLevelId": "{{this.secondLevelId}}", "clickLabel": "{{this.pageName}}"}]}'{{/with}}>
3
4
  {{~#with this.downloadBoxMetadata ~}}
4
5
  <span class="text-base sm480:text-lg">{{{this.title}}}</span>
5
6
  <span class="text-base whitespace-nowrap sm480:text-lg">[{{this.displaySuffix}}{{#with this.displaySize}} - {{this}}{{/with}}]{{> components/base/image/icon _icon="download-neu" _addClass="align-middle sm480:align-top inline hover:text-link ml-2 w-4 h-4 sm480:w-5 sm480:h-5 fill-current dark:fill-link-dark"}}</span>
6
7
  {{~/with~}}
7
- {{/components/base/link}}
8
+ </a>
8
9
  {{#*inline "htmlProperties"}}
9
10
  {{> components/tracking/download_tracking}}
10
11
  {{/inline}}
@@ -28,7 +28,8 @@
28
28
  _variant="copytext"
29
29
  _pictureAddClass="ar-16-9"
30
30
  _isWebview=../../_isWebview
31
- _filedownloadLink=../this.link}}
31
+ _filedownloadLink=../this.link
32
+ _trackingData=../this.toModel.mediaBacklinkToStoryTeaser}}
32
33
  {{/with}}
33
34
 
34
35
  <span class="sr-only">{{loca "story_download_outro_sr" }}</span>
@@ -4,10 +4,10 @@
4
4
  {{else}}
5
5
  {{#if _filedownloadLink }}
6
6
  {{#>components/base/link _link=_filedownloadLink }}
7
- {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _addClassImg="ar__content" _isWebview=_isWebview _noDelay=_noDelay}}
8
- {{/components/base/link}}
7
+ {{> components/base/image/responsive_image _type=../../_type-adjust_context _variant=../../_variant-adjust_context _addClass=../../_pictureAddClass-adjust_context _addClassImg="ar__content" _isWebview=../../_isWebview-adjust_context _noDelay=../../_noDelay-adjust_context}}
8
+ {{/components/base/link}}
9
9
  {{#*inline "htmlProperties"}}
10
- {{~#with _filedownloadLink }}
10
+ {{~#with ../../_trackingData-adjust_context }}
11
11
  {{> components/tracking/download_tracking}}
12
12
  {{/with}}
13
13
  {{/inline}}
@@ -1,10 +1,11 @@
1
1
  <li class="mt-3">
2
- {{#>components/base/link _link=this.link _css="underline decoration-1 hover:!decoration-1 text-link dark:text-link-dark"}}
2
+ <a class="link js-load" href="{{this.url}}" {{#with this.content.trackingData}}
3
+ data-hr-click-tracking='{"settings": [{"type": "download", "secondLevelId": "{{this.secondLevelId}}", "clickLabel": "{{this.pageName}}"}]}'{{/with}}>
3
4
  {{~#with this.downloadBoxMetadata ~}}
4
5
  <span class="text-base sm480:text-lg">{{{this.title}}}</span>
5
6
  <span class="text-base whitespace-nowrap sm480:text-lg">[{{this.displaySuffix}}{{#with this.displaySize}} - {{this}}{{/with}}]{{> components/base/image/icon _icon="download-neu" _addClass="align-middle sm480:align-top inline hover:text-link ml-2 w-4 h-4 sm480:w-5 sm480:h-5 fill-current dark:fill-link-dark"}}</span>
6
7
  {{~/with~}}
7
- {{/components/base/link}}
8
+ </a>
8
9
  {{#*inline "htmlProperties"}}
9
10
  {{> components/tracking/download_tracking}}
10
11
  {{/inline}}
@@ -28,7 +28,8 @@
28
28
  _variant="copytext"
29
29
  _pictureAddClass="ar-16-9"
30
30
  _isWebview=../../_isWebview
31
- _filedownloadLink=../this.link}}
31
+ _filedownloadLink=../this.link
32
+ _trackingData=../this.toModel.mediaBacklinkToStoryTeaser}}
32
33
  {{/with}}
33
34
 
34
35
  <span class="sr-only">{{loca "story_download_outro_sr" }}</span>
@@ -5,9 +5,9 @@
5
5
  {{#if _filedownloadLink }}
6
6
  {{#>components/base/link _link=_filedownloadLink }}
7
7
  {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _addClassImg="ar__content" _isWebview=_isWebview _noDelay=_noDelay}}
8
- {{/components/base/link}}
8
+ {{/components/base/link}}
9
9
  {{#*inline "htmlProperties"}}
10
- {{~#with _filedownloadLink }}
10
+ {{~#with _trackingData }}
11
11
  {{> components/tracking/download_tracking}}
12
12
  {{/with}}
13
13
  {{/inline}}
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.57.2",
9
+ "version": "1.57.4",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -1,10 +1,11 @@
1
1
  <li class="mt-3">
2
- {{#>components/base/link _link=this.link _css="underline decoration-1 hover:!decoration-1 text-link dark:text-link-dark"}}
2
+ <a class="link js-load" href="{{this.url}}" {{#with this.content.trackingData}}
3
+ data-hr-click-tracking='{"settings": [{"type": "download", "secondLevelId": "{{this.secondLevelId}}", "clickLabel": "{{this.pageName}}"}]}'{{/with}}>
3
4
  {{~#with this.downloadBoxMetadata ~}}
4
5
  <span class="text-base sm480:text-lg">{{{this.title}}}</span>
5
6
  <span class="text-base whitespace-nowrap sm480:text-lg">[{{this.displaySuffix}}{{#with this.displaySize}} - {{this}}{{/with}}]{{> components/base/image/icon _icon="download-neu" _addClass="align-middle sm480:align-top inline hover:text-link ml-2 w-4 h-4 sm480:w-5 sm480:h-5 fill-current dark:fill-link-dark"}}</span>
6
7
  {{~/with~}}
7
- {{/components/base/link}}
8
+ </a>
8
9
  {{#*inline "htmlProperties"}}
9
10
  {{> components/tracking/download_tracking}}
10
11
  {{/inline}}
@@ -28,7 +28,8 @@
28
28
  _variant="copytext"
29
29
  _pictureAddClass="ar-16-9"
30
30
  _isWebview=../../_isWebview
31
- _filedownloadLink=../this.link}}
31
+ _filedownloadLink=../this.link
32
+ _trackingData=../this.toModel.mediaBacklinkToStoryTeaser}}
32
33
  {{/with}}
33
34
 
34
35
  <span class="sr-only">{{loca "story_download_outro_sr" }}</span>
@@ -4,10 +4,10 @@
4
4
  {{else}}
5
5
  {{#if _filedownloadLink }}
6
6
  {{#>components/base/link _link=_filedownloadLink }}
7
- {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _addClassImg="ar__content" _isWebview=_isWebview _noDelay=_noDelay}}
8
- {{/components/base/link}}
7
+ {{> components/base/image/responsive_image _type=_type-adjust_context _variant=_variant-adjust_context _addClass=_pictureAddClass-adjust_context _addClassImg="ar__content" _isWebview=_isWebview-adjust_context _noDelay=_noDelay-adjust_context}}
8
+ {{/components/base/link}}
9
9
  {{#*inline "htmlProperties"}}
10
- {{~#with _filedownloadLink }}
10
+ {{~#with _trackingData-adjust_context }}
11
11
  {{> components/tracking/download_tracking}}
12
12
  {{/with}}
13
13
  {{/inline}}