hr-design-system-handlebars 1.77.9 → 1.77.11

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 (24) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/index.css +3 -3
  3. package/dist/views/components/content/copytext/components/image/figure.hbs +2 -2
  4. package/dist/views/components/page/index/page.hbs +1 -1
  5. package/dist/views/components/page/index/page_test_story.hbs +1 -1
  6. package/dist/views/components/page/story/story_main.hbs +1 -1
  7. package/dist/views/components/teaser/components/teaser_media_player.hbs +1 -1
  8. package/dist/views/components/teaser/teaser_poster.hbs +4 -4
  9. package/dist/views/components/top_button/top_button.hbs +3 -2
  10. package/dist/views_static/components/content/copytext/components/image/figure.hbs +2 -2
  11. package/dist/views_static/components/page/index/page.hbs +1 -1
  12. package/dist/views_static/components/page/index/page_test_story.hbs +1 -1
  13. package/dist/views_static/components/page/story/story_main.hbs +1 -1
  14. package/dist/views_static/components/teaser/components/teaser_media_player.hbs +1 -1
  15. package/dist/views_static/components/teaser/teaser_poster.hbs +4 -4
  16. package/dist/views_static/components/top_button/top_button.hbs +3 -2
  17. package/package.json +1 -1
  18. package/src/stories/views/components/content/copytext/components/image/figure.hbs +2 -2
  19. package/src/stories/views/components/page/index/page.hbs +1 -1
  20. package/src/stories/views/components/page/index/page_test_story.hbs +1 -1
  21. package/src/stories/views/components/page/story/story_main.hbs +1 -1
  22. package/src/stories/views/components/teaser/components/teaser_media_player.hbs +1 -1
  23. package/src/stories/views/components/teaser/teaser_poster.hbs +4 -4
  24. package/src/stories/views/components/top_button/top_button.hbs +3 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ # v1.77.11 (Mon Jul 08 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - DPE-3219 - Sharing aus Nicht-Artikeln raus [#989](https://github.com/mumprod/hr-design-system-handlebars/pull/989) ([@vascoeduardo](https://github.com/vascoeduardo))
6
+
7
+ #### Authors: 1
8
+
9
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
10
+
11
+ ---
12
+
13
+ # v1.77.10 (Mon Jul 08 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - removed all ar__content from templates [#988](https://github.com/mumprod/hr-design-system-handlebars/pull/988) ([@vascoeduardo](https://github.com/vascoeduardo))
18
+
19
+ #### Authors: 1
20
+
21
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
22
+
23
+ ---
24
+
1
25
  # v1.77.9 (Mon Jul 08 2024)
2
26
 
3
27
  #### 🐛 Bug Fix
@@ -3392,7 +3392,7 @@ article.indexTextDS .indexTextHighlighted .link {
3392
3392
  border-bottom-color: var(--color-secondary-ds);
3393
3393
  }
3394
3394
  .counter-reset {
3395
- counter-reset: cnt1720440470305;
3395
+ counter-reset: cnt1720452958780;
3396
3396
  }
3397
3397
  .hyphens-auto {
3398
3398
  -webkit-hyphens: auto;
@@ -3790,7 +3790,7 @@ article.indexTextDS .indexTextHighlighted .link {
3790
3790
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3791
3791
  }
3792
3792
  .-ordered {
3793
- counter-increment: cnt1720440470305 1;
3793
+ counter-increment: cnt1720452958780 1;
3794
3794
  }
3795
3795
  .-ordered::before {
3796
3796
  position: absolute;
@@ -3806,7 +3806,7 @@ article.indexTextDS .indexTextHighlighted .link {
3806
3806
  letter-spacing: .0125em;
3807
3807
  --tw-text-opacity: 1;
3808
3808
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3809
- content: counter(cnt1720440470305);
3809
+ content: counter(cnt1720452958780);
3810
3810
  }
3811
3811
  /*! ****************************/
3812
3812
  /*! DataPolicy stuff */
@@ -4,7 +4,7 @@
4
4
  {{else}}
5
5
  {{#if _filedownloadLink }}
6
6
  {{#>components/base/link _link=_filedownloadLink }}
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}}
7
+ {{> components/base/image/responsive_image _type=../../_type-adjust_context _variant=../../_variant-adjust_context _addClass=../../_pictureAddClass-adjust_context _isWebview=../../_isWebview-adjust_context _noDelay=../../_noDelay-adjust_context}}
8
8
  {{/components/base/link}}
9
9
  {{#*inline "htmlProperties"}}
10
10
  {{~#with ../../_trackingData-adjust_context }}
@@ -12,7 +12,7 @@
12
12
  {{/with}}
13
13
  {{/inline}}
14
14
  {{else}}
15
- {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _addClassImg="ar__content" _isWebview=_isWebview _noDelay=_noDelay}}
15
+ {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _isWebview=_isWebview _noDelay=_noDelay}}
16
16
  {{/if}}
17
17
  {{/if}}
18
18
  {{#unless _voting-option}}
@@ -65,7 +65,7 @@
65
65
  </div>
66
66
  </div>
67
67
  </main>
68
- {{> components/top_button/top_button }}
68
+ {{> components/top_button/top_button _loadSharing=false}}
69
69
  {{> components/footer/page_footer }}
70
70
  </div>
71
71
  </body>
@@ -33,7 +33,7 @@
33
33
  class="flex flex-col items-center justify-center"
34
34
  >
35
35
  {{> components/page/story/story_article }}
36
- {{> components/top_button/top_button }}
36
+ {{> components/top_button/top_button _loadSharing=true}}
37
37
  {{> components/footer/page_footer }}
38
38
  </main>
39
39
  </div>
@@ -2,4 +2,4 @@
2
2
  {{~>components/page/story/story_article}}
3
3
 
4
4
  {{/partial}}
5
- {{> "modules/page/base" }}
5
+ {{> "modules/page/base" _isStory=this.isStory}}
@@ -9,7 +9,7 @@
9
9
  {{/unless}}
10
10
 
11
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}}
12
- {{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.imageVariant this.imageVariant '100-copytext') _addClassImg=(appendToDefault ../../_addClassImg-adjust_context "ar__content ") _noDelay=../../_noDelay-adjust_context ~}}
12
+ {{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.imageVariant this.imageVariant '100-copytext') _addClassImg=../../_addClassImg-adjust_context _noDelay=../../_noDelay-adjust_context ~}}
13
13
  {{#if this.isTickerTeaser}}</a>{{/if}}
14
14
 
15
15
 
@@ -3,15 +3,15 @@
3
3
  {{#if _isCopytext~}}
4
4
  {{#if this.showFullSize.isTrue }}
5
5
  {{#if this.showStretched.isTrue }}
6
- {{~> components/base/image/responsive_image this.teaserImage _type="poster_wide" _variant="default" _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
6
+ {{~> components/base/image/responsive_image this.teaserImage _type="poster_wide" _variant="default" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
7
7
  {{else}}
8
- {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="50" _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
8
+ {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="50" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
9
9
  {{/if}}
10
10
  {{else}}
11
- {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="50" _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
11
+ {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="50" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
12
12
  {{/if}}
13
13
  {{else}}
14
- {{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
14
+ {{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
15
15
  {{/if}}
16
16
  </figure>
17
17
  <div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-hr rounded-br-hr">
@@ -11,8 +11,9 @@
11
11
  x-transition:leave-end="opacity-0 translate-y-12"
12
12
  @scroll.window="isVisible = (((window.pageYOffset * 2) > (window.innerHeight || (document.documentElement || document.body).clientHeight)) || $store.footerIsVisible )"
13
13
  >
14
- {{> components/social_sharing/social_sharing_mobile }}
15
-
14
+ {{#if _loadSharing}}
15
+ {{> components/social_sharing/social_sharing_mobile }}
16
+ {{/if}}
16
17
  <button
17
18
 
18
19
  @click="window.scrollTo({top: 0, behavior: 'smooth'})"
@@ -4,7 +4,7 @@
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}}
7
+ {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _isWebview=_isWebview _noDelay=_noDelay}}
8
8
  {{/components/base/link}}
9
9
  {{#*inline "htmlProperties"}}
10
10
  {{~#with _trackingData }}
@@ -12,7 +12,7 @@
12
12
  {{/with}}
13
13
  {{/inline}}
14
14
  {{else}}
15
- {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _addClassImg="ar__content" _isWebview=_isWebview _noDelay=_noDelay}}
15
+ {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _isWebview=_isWebview _noDelay=_noDelay}}
16
16
  {{/if}}
17
17
  {{/if}}
18
18
  {{#unless _voting-option}}
@@ -65,7 +65,7 @@
65
65
  </div>
66
66
  </div>
67
67
  </main>
68
- {{> components/top_button/top_button }}
68
+ {{> components/top_button/top_button _loadSharing=false}}
69
69
  {{> components/footer/page_footer }}
70
70
  </div>
71
71
  </body>
@@ -33,7 +33,7 @@
33
33
  class="flex flex-col items-center justify-center"
34
34
  >
35
35
  {{> components/page/story/story_article }}
36
- {{> components/top_button/top_button }}
36
+ {{> components/top_button/top_button _loadSharing=true}}
37
37
  {{> components/footer/page_footer }}
38
38
  </main>
39
39
  </div>
@@ -2,4 +2,4 @@
2
2
  {{~>components/page/story/story_article}}
3
3
 
4
4
  {{/partial}}
5
- {{> "modules/page/base" }}
5
+ {{> "modules/page/base" _isStory=this.isStory}}
@@ -9,7 +9,7 @@
9
9
  {{/unless}}
10
10
 
11
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}}
12
- {{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.imageVariant this.imageVariant '100-copytext') _addClassImg=(appendToDefault _addClassImg "ar__content ") _noDelay=_noDelay ~}}
12
+ {{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.imageVariant this.imageVariant '100-copytext') _addClassImg=_addClassImg _noDelay=_noDelay ~}}
13
13
  {{#if this.isTickerTeaser}}</a>{{/if}}
14
14
 
15
15
 
@@ -3,15 +3,15 @@
3
3
  {{#if _isCopytext~}}
4
4
  {{#if this.showFullSize.isTrue }}
5
5
  {{#if this.showStretched.isTrue }}
6
- {{~> components/base/image/responsive_image this.teaserImage _type="poster_wide" _variant="default" _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
6
+ {{~> components/base/image/responsive_image this.teaserImage _type="poster_wide" _variant="default" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
7
7
  {{else}}
8
- {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="50" _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
8
+ {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="50" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
9
9
  {{/if}}
10
10
  {{else}}
11
- {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="50" _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
11
+ {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="50" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
12
12
  {{/if}}
13
13
  {{else}}
14
- {{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
14
+ {{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
15
15
  {{/if}}
16
16
  </figure>
17
17
  <div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-hr rounded-br-hr">
@@ -11,8 +11,9 @@
11
11
  x-transition:leave-end="opacity-0 translate-y-12"
12
12
  @scroll.window="isVisible = (((window.pageYOffset * 2) > (window.innerHeight || (document.documentElement || document.body).clientHeight)) || $store.footerIsVisible )"
13
13
  >
14
- {{> components/social_sharing/social_sharing_mobile }}
15
-
14
+ {{#if _loadSharing}}
15
+ {{> components/social_sharing/social_sharing_mobile }}
16
+ {{/if}}
16
17
  <button
17
18
 
18
19
  @click="window.scrollTo({top: 0, behavior: 'smooth'})"
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.77.9",
9
+ "version": "1.77.11",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -4,7 +4,7 @@
4
4
  {{else}}
5
5
  {{#if _filedownloadLink }}
6
6
  {{#>components/base/link _link=_filedownloadLink }}
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}}
7
+ {{> components/base/image/responsive_image _type=_type-adjust_context _variant=_variant-adjust_context _addClass=_pictureAddClass-adjust_context _isWebview=_isWebview-adjust_context _noDelay=_noDelay-adjust_context}}
8
8
  {{/components/base/link}}
9
9
  {{#*inline "htmlProperties"}}
10
10
  {{~#with _trackingData-adjust_context }}
@@ -12,7 +12,7 @@
12
12
  {{/with}}
13
13
  {{/inline}}
14
14
  {{else}}
15
- {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _addClassImg="ar__content" _isWebview=_isWebview _noDelay=_noDelay}}
15
+ {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _isWebview=_isWebview _noDelay=_noDelay}}
16
16
  {{/if}}
17
17
  {{/if}}
18
18
  {{#unless _voting-option}}
@@ -65,7 +65,7 @@
65
65
  </div>
66
66
  </div>
67
67
  </main>
68
- {{> components/top_button/top_button }}
68
+ {{> components/top_button/top_button _loadSharing=false}}
69
69
  {{> components/footer/page_footer }}
70
70
  </div>
71
71
  </body>
@@ -33,7 +33,7 @@
33
33
  class="flex flex-col items-center justify-center"
34
34
  >
35
35
  {{> components/page/story/story_article }}
36
- {{> components/top_button/top_button }}
36
+ {{> components/top_button/top_button _loadSharing=true}}
37
37
  {{> components/footer/page_footer }}
38
38
  </main>
39
39
  </div>
@@ -2,4 +2,4 @@
2
2
  {{~>components/page/story/story_article}}
3
3
 
4
4
  {{/partial}}
5
- {{> "modules/page/base" }}
5
+ {{> "modules/page/base" _isStory=this.isStory}}
@@ -9,7 +9,7 @@
9
9
  {{/unless}}
10
10
 
11
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}}
12
- {{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.imageVariant this.imageVariant '100-copytext') _addClassImg=(appendToDefault _addClassImg-adjust_context "ar__content ") _noDelay=_noDelay-adjust_context ~}}
12
+ {{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.imageVariant this.imageVariant '100-copytext') _addClassImg=_addClassImg-adjust_context _noDelay=_noDelay-adjust_context ~}}
13
13
  {{#if this.isTickerTeaser}}</a>{{/if}}
14
14
 
15
15
 
@@ -3,15 +3,15 @@
3
3
  {{#if _isCopytext~}}
4
4
  {{#if this.showFullSize.isTrue }}
5
5
  {{#if this.showStretched.isTrue }}
6
- {{~> components/base/image/responsive_image this.teaserImage _type="poster_wide" _variant="default" _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
6
+ {{~> components/base/image/responsive_image this.teaserImage _type="poster_wide" _variant="default" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
7
7
  {{else}}
8
- {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="50" _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
8
+ {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="50" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
9
9
  {{/if}}
10
10
  {{else}}
11
- {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="50" _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
11
+ {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="50" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
12
12
  {{/if}}
13
13
  {{else}}
14
- {{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
14
+ {{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
15
15
  {{/if}}
16
16
  </figure>
17
17
  <div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-hr rounded-br-hr">
@@ -11,8 +11,9 @@
11
11
  x-transition:leave-end="opacity-0 translate-y-12"
12
12
  @scroll.window="isVisible = (((window.pageYOffset * 2) > (window.innerHeight || (document.documentElement || document.body).clientHeight)) || $store.footerIsVisible )"
13
13
  >
14
- {{> components/social_sharing/social_sharing_mobile }}
15
-
14
+ {{#if _loadSharing}}
15
+ {{> components/social_sharing/social_sharing_mobile }}
16
+ {{/if}}
16
17
  <button
17
18
 
18
19
  @click="window.scrollTo({top: 0, behavior: 'smooth'})"