hr-design-system-handlebars 1.74.0 → 1.74.2

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,28 @@
1
+ # v1.74.2 (Wed Jun 19 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - fixes wrong json/hbs, adds some css [#956](https://github.com/mumprod/hr-design-system-handlebars/pull/956) ([@StefanVesper](https://github.com/StefanVesper))
6
+
7
+ #### Authors: 1
8
+
9
+ - SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
10
+
11
+ ---
12
+
13
+ # v1.74.1 (Tue Jun 18 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - hide geotag for video in copytext [#955](https://github.com/mumprod/hr-design-system-handlebars/pull/955) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
18
+
19
+ #### Authors: 2
20
+
21
+ - Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
22
+ - selbaciri (saad.elbaciri@hr.de)
23
+
24
+ ---
25
+
1
26
  # v1.74.0 (Tue Jun 18 2024)
2
27
 
3
28
  #### 🚀 Enhancement
@@ -3365,7 +3365,7 @@ article.indexTextDS .indexTextHighlighted .link {
3365
3365
  border-bottom-color: var(--color-secondary-ds);
3366
3366
  }
3367
3367
  .counter-reset {
3368
- counter-reset: cnt1718716134543;
3368
+ counter-reset: cnt1718802303558;
3369
3369
  }
3370
3370
  .hyphens-auto {
3371
3371
  -webkit-hyphens: auto;
@@ -3744,7 +3744,7 @@ article.indexTextDS .indexTextHighlighted .link {
3744
3744
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3745
3745
  }
3746
3746
  .-ordered {
3747
- counter-increment: cnt1718716134543 1;
3747
+ counter-increment: cnt1718802303558 1;
3748
3748
  }
3749
3749
  .-ordered::before {
3750
3750
  position: absolute;
@@ -3760,7 +3760,7 @@ article.indexTextDS .indexTextHighlighted .link {
3760
3760
  letter-spacing: .0125em;
3761
3761
  --tw-text-opacity: 1;
3762
3762
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3763
- content: counter(cnt1718716134543);
3763
+ content: counter(cnt1718802303558);
3764
3764
  }
3765
3765
  /*! ****************************/
3766
3766
  /*! DataPolicy stuff */
@@ -4,7 +4,7 @@
4
4
  Redaktion:
5
5
  {{#each this}}
6
6
  {{#if this.hasProfileLink}}
7
- {{#>components/base/link _link=this.link _css="" }}
7
+ {{#>components/base/link _link=this.link _css="text-link" }}
8
8
  <span>{{../this.authorName~}}</span>{{/components/base/link}}{{#with
9
9
  this.textAfterAuthor}} {{this}}{{/with}}{{this.delimiter}}
10
10
  {{else}}
@@ -18,22 +18,22 @@
18
18
  <div class="">
19
19
  Sendung:
20
20
  {{#if this.link}}
21
- {{#>components/base/link _link=this.link }}
22
- <span class='hover:underline'>
23
- {{this.title}} {{#if this.date}}
24
- <time datetime="{{#if this.displayWithTime}}{{this.date.htmlDateTime}}{{else}}{{this.date.date}}{{/if}}"
21
+ {{#>components/base/link _link=this.link _css="text-link" }}
22
+ <span>
23
+ {{../this.name}} {{#if ../this.date}}
24
+ <time datetime="{{#if ../this.displayWithTime}}{{../this.date.htmlDateTime}}{{else}}{{../this.date.date}}{{/if}}"
25
25
  class="{{#if _isArticle}}{{else}}{{/if}} ">
26
- {{#if this.displayWithTime}}
27
- {{loca "date_simple_at" this.date.dateSeparatorTime}}
26
+ {{#if ../this.displayWithTime}}
27
+ {{loca "date_simple_at" ../this.date.dateSeparatorTime}}
28
28
  {{else}}
29
- {{this.date.date}}
29
+ {{../this.date.date}}
30
30
  {{/if}}
31
31
  </time>
32
32
  {{/if}}
33
33
  </span>
34
34
  {{/components/base/link}}
35
35
  {{else}}
36
- <span class=''>{{this.title}} {{#if this.date}}
36
+ <span>{{this.name}} {{#if this.date}}
37
37
  <time datetime="{{#if this.displayWithTime}}{{this.date.htmlDateTime}}{{else}}{{this.date.date}}{{/if}}"
38
38
  class="{{#if _isArticle}}{{else}}{{/if}} ">
39
39
  {{#if this.displayWithTime}}
@@ -1,8 +1,11 @@
1
1
  <div class="relative{{#if _css}} {{_css}}{{/if}} {{_aspectRatio}}" x-show="!avStart" >
2
- {{#unless this.hideGeotag}}
3
- {{~#with this.geotag}}
4
- {{> components/geoTag/geoTag _text=this.[0].title _teaserSize=../this.teaserSize _isMobile1to1=../this.isMobile1to1}}
5
- {{/with~}}
2
+
3
+ {{#unless _isUsedInCopytext}}
4
+ {{#unless this.hideGeotag}}
5
+ {{~#with this.geotag}}
6
+ {{> components/geoTag/geoTag _text=this.[0].title _teaserSize=../this.teaserSize _isMobile1to1=../this.isMobile1to1}}
7
+ {{/with~}}
8
+ {{/unless}}
6
9
  {{/unless}}
7
10
 
8
11
  {{#if this.isTickerTeaser}}<a href="{{this.link.url}}" aria-label="Zum Ticker" tabindex="-1"{{#if (isUserConsentNeeded this.link.url)}} class="js-user-consent-needed"{{/if}}>{{/if}}
@@ -4,7 +4,7 @@
4
4
  Redaktion:
5
5
  {{#each this}}
6
6
  {{#if this.hasProfileLink}}
7
- {{#>components/base/link _link=this.link _css="" }}
7
+ {{#>components/base/link _link=this.link _css="text-link" }}
8
8
  <span>{{../this.authorName~}}</span>{{/components/base/link}}{{#with
9
9
  this.textAfterAuthor}} {{this}}{{/with}}{{this.delimiter}}
10
10
  {{else}}
@@ -18,22 +18,22 @@
18
18
  <div class="">
19
19
  Sendung:
20
20
  {{#if this.link}}
21
- {{#>components/base/link _link=this.link }}
22
- <span class='hover:underline'>
23
- {{this.title}} {{#if this.date}}
24
- <time datetime="{{#if this.displayWithTime}}{{this.date.htmlDateTime}}{{else}}{{this.date.date}}{{/if}}"
21
+ {{#>components/base/link _link=this.link _css="text-link" }}
22
+ <span>
23
+ {{../this.name}} {{#if ../this.date}}
24
+ <time datetime="{{#if ../this.displayWithTime}}{{../this.date.htmlDateTime}}{{else}}{{../this.date.date}}{{/if}}"
25
25
  class="{{#if _isArticle}}{{else}}{{/if}} ">
26
- {{#if this.displayWithTime}}
27
- {{loca "date_simple_at" this.date.dateSeparatorTime}}
26
+ {{#if ../this.displayWithTime}}
27
+ {{loca "date_simple_at" ../this.date.dateSeparatorTime}}
28
28
  {{else}}
29
- {{this.date.date}}
29
+ {{../this.date.date}}
30
30
  {{/if}}
31
31
  </time>
32
32
  {{/if}}
33
33
  </span>
34
34
  {{/components/base/link}}
35
35
  {{else}}
36
- <span class=''>{{this.title}} {{#if this.date}}
36
+ <span>{{this.name}} {{#if this.date}}
37
37
  <time datetime="{{#if this.displayWithTime}}{{this.date.htmlDateTime}}{{else}}{{this.date.date}}{{/if}}"
38
38
  class="{{#if _isArticle}}{{else}}{{/if}} ">
39
39
  {{#if this.displayWithTime}}
@@ -1,8 +1,11 @@
1
1
  <div class="relative{{#if _css}} {{_css}}{{/if}} {{_aspectRatio}}" x-show="!avStart" >
2
- {{#unless this.hideGeotag}}
3
- {{~#with this.geotag}}
4
- {{> components/geoTag/geoTag _text=this.[0].title _teaserSize=../this.teaserSize _isMobile1to1=../this.isMobile1to1}}
5
- {{/with~}}
2
+
3
+ {{#unless _isUsedInCopytext}}
4
+ {{#unless this.hideGeotag}}
5
+ {{~#with this.geotag}}
6
+ {{> components/geoTag/geoTag _text=this.[0].title _teaserSize=../this.teaserSize _isMobile1to1=../this.isMobile1to1}}
7
+ {{/with~}}
8
+ {{/unless}}
6
9
  {{/unless}}
7
10
 
8
11
  {{#if this.isTickerTeaser}}<a href="{{this.link.url}}" aria-label="Zum Ticker" tabindex="-1"{{#if (isUserConsentNeeded this.link.url)}} class="js-user-consent-needed"{{/if}}>{{/if}}
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.74.0",
9
+ "version": "1.74.2",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -42,8 +42,7 @@
42
42
  "url": "/programReference-url",
43
43
  "isTargetBlank": false
44
44
  },
45
- "name": "hr",
46
- "title": "Testtitel",
45
+ "name": "Testtitel",
47
46
  "displayWithTime": true,
48
47
  "date": {
49
48
  "htmlDateTime": "2022-10-31T19:30+0200",
@@ -4,7 +4,7 @@
4
4
  Redaktion:
5
5
  {{#each this}}
6
6
  {{#if this.hasProfileLink}}
7
- {{#>components/base/link _link=this.link _css="" }}
7
+ {{#>components/base/link _link=this.link _css="text-link" }}
8
8
  <span>{{../this.authorName~}}</span>{{/components/base/link}}{{#with
9
9
  this.textAfterAuthor}} {{this}}{{/with}}{{this.delimiter}}
10
10
  {{else}}
@@ -18,22 +18,22 @@
18
18
  <div class="">
19
19
  Sendung:
20
20
  {{#if this.link}}
21
- {{#>components/base/link _link=this.link }}
22
- <span class='hover:underline'>
23
- {{this.title}} {{#if this.date}}
24
- <time datetime="{{#if this.displayWithTime}}{{this.date.htmlDateTime}}{{else}}{{this.date.date}}{{/if}}"
21
+ {{#>components/base/link _link=this.link _css="text-link" }}
22
+ <span>
23
+ {{../this.name}} {{#if ../this.date}}
24
+ <time datetime="{{#if ../this.displayWithTime}}{{../this.date.htmlDateTime}}{{else}}{{../this.date.date}}{{/if}}"
25
25
  class="{{#if _isArticle}}{{else}}{{/if}} ">
26
- {{#if this.displayWithTime}}
27
- {{loca "date_simple_at" this.date.dateSeparatorTime}}
26
+ {{#if ../this.displayWithTime}}
27
+ {{loca "date_simple_at" ../this.date.dateSeparatorTime}}
28
28
  {{else}}
29
- {{this.date.date}}
29
+ {{../this.date.date}}
30
30
  {{/if}}
31
31
  </time>
32
32
  {{/if}}
33
33
  </span>
34
34
  {{/components/base/link}}
35
35
  {{else}}
36
- <span class=''>{{this.title}} {{#if this.date}}
36
+ <span>{{this.name}} {{#if this.date}}
37
37
  <time datetime="{{#if this.displayWithTime}}{{this.date.htmlDateTime}}{{else}}{{this.date.date}}{{/if}}"
38
38
  class="{{#if _isArticle}}{{else}}{{/if}} ">
39
39
  {{#if this.displayWithTime}}
@@ -1 +1 @@
1
- {"_showDate":true,"_date":{"htmlDateTime":"2022-10-31T19:30+0200","htmlDate":"31.10.2022","date":"31.10.22","time":"19:30","dateSeparatorTime":"31.10.22, 19:30"},"_hasDwellTime":true,"_isArticle":true,"_copyright":"All rights reserved","_source":["DPA","Wikipedia"],"_author":"Anna Magel","_isArchiveContent":true,"editorialStaffItems":[{"hasProfileLink":false,"from":"","textAfterAuthor":"Horst Schlämmer","delimiter":", "},{"hasProfileLink":false,"from":"","textAfterAuthor":"Karl Dall","delimiter":" und "},{"hasProfileLink":true,"from":"und","authorName":"Peter Lustig","delimiter":"","link":{"url":"/author-url","isTargetBlank":false}}],"programReferenceAlt":{"hasReference":true,"link":{"url":"/programReference-url","isTargetBlank":false},"name":"hr","title":"Testtitel","displayWithTime":true,"date":{"htmlDateTime":"2022-10-31T19:30+0200","htmlDate":"31.10.2022","date":"31.10.22","time":"19:30","dateSeparatorTime":"31.10.22, 19:30"}}}
1
+ {"_showDate":true,"_date":{"htmlDateTime":"2022-10-31T19:30+0200","htmlDate":"31.10.2022","date":"31.10.22","time":"19:30","dateSeparatorTime":"31.10.22, 19:30"},"_hasDwellTime":true,"_isArticle":true,"_copyright":"All rights reserved","_source":["DPA","Wikipedia"],"_author":"Anna Magel","_isArchiveContent":true,"editorialStaffItems":[{"hasProfileLink":false,"from":"","textAfterAuthor":"Horst Schlämmer","delimiter":", "},{"hasProfileLink":false,"from":"","textAfterAuthor":"Karl Dall","delimiter":" und "},{"hasProfileLink":true,"from":"und","authorName":"Peter Lustig","delimiter":"","link":{"url":"/author-url","isTargetBlank":false}}],"programReferenceAlt":{"hasReference":true,"link":{"url":"/programReference-url","isTargetBlank":false},"name":"Testtitel","displayWithTime":true,"date":{"htmlDateTime":"2022-10-31T19:30+0200","htmlDate":"31.10.2022","date":"31.10.22","time":"19:30","dateSeparatorTime":"31.10.22, 19:30"}}}
@@ -1,8 +1,11 @@
1
1
  <div class="relative{{#if _css}} {{_css}}{{/if}} {{_aspectRatio}}" x-show="!avStart" >
2
- {{#unless this.hideGeotag}}
3
- {{~#with this.geotag}}
4
- {{> components/geoTag/geoTag _text=this.[0].title _teaserSize=../this.teaserSize _isMobile1to1=../this.isMobile1to1}}
5
- {{/with~}}
2
+
3
+ {{#unless _isUsedInCopytext}}
4
+ {{#unless this.hideGeotag}}
5
+ {{~#with this.geotag}}
6
+ {{> components/geoTag/geoTag _text=this.[0].title _teaserSize=../this.teaserSize _isMobile1to1=../this.isMobile1to1}}
7
+ {{/with~}}
8
+ {{/unless}}
6
9
  {{/unless}}
7
10
 
8
11
  {{#if this.isTickerTeaser}}<a href="{{this.link.url}}" aria-label="Zum Ticker" tabindex="-1"{{#if (isUserConsentNeeded this.link.url)}} class="js-user-consent-needed"{{/if}}>{{/if}}