hr-design-system-handlebars 1.74.14 → 1.75.1

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 (30) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/assets/index.css +3 -3
  3. package/dist/views/components/content/copytext/components/accordion/accordion.hbs +2 -2
  4. package/dist/views/components/content/copytext/components/image/figcaption.hbs +1 -1
  5. package/dist/views/components/content/copytext/components/image/figure.hbs +1 -1
  6. package/dist/views/components/content/copytext/components/media/media_figure.hbs +1 -1
  7. package/dist/views/components/content/copytext/components/paragraph/paragraph_body.hbs +4 -4
  8. package/dist/views/components/content/copytext/copytext.hbs +1 -126
  9. package/dist/views/components/content/copytext/copytext_body.hbs +125 -0
  10. package/dist/views/components/page/story/story_article.hbs +4 -1
  11. package/dist/views_static/components/content/copytext/components/accordion/accordion.hbs +2 -2
  12. package/dist/views_static/components/content/copytext/components/image/figcaption.hbs +1 -1
  13. package/dist/views_static/components/content/copytext/components/image/figure.hbs +1 -1
  14. package/dist/views_static/components/content/copytext/components/media/media_figure.hbs +1 -1
  15. package/dist/views_static/components/content/copytext/components/paragraph/paragraph_body.hbs +4 -4
  16. package/dist/views_static/components/content/copytext/copytext.hbs +1 -126
  17. package/dist/views_static/components/content/copytext/copytext_body.hbs +125 -0
  18. package/dist/views_static/components/page/story/story_article.hbs +4 -1
  19. package/package.json +1 -1
  20. package/src/assets/fixtures/page/story/story_with_livestream.json +67 -0
  21. package/src/stories/views/components/content/copytext/components/accordion/accordion.hbs +2 -2
  22. package/src/stories/views/components/content/copytext/components/image/figcaption.hbs +1 -1
  23. package/src/stories/views/components/content/copytext/components/image/figure.hbs +1 -1
  24. package/src/stories/views/components/content/copytext/components/media/media_figure.hbs +1 -1
  25. package/src/stories/views/components/content/copytext/components/paragraph/paragraph_body.hbs +4 -4
  26. package/src/stories/views/components/content/copytext/copytext.hbs +1 -126
  27. package/src/stories/views/components/content/copytext/copytext_body.hbs +125 -0
  28. package/src/stories/views/components/page/story/fixtures/story_with_livestream.json +1 -0
  29. package/src/stories/views/components/page/story/story_article.hbs +4 -1
  30. package/src/stories/views/components/page/story/story_main.stories.js +11 -1
@@ -21,6 +21,9 @@
21
21
  {{#if this.isVideo}}
22
22
  {{> components/content/copytext/components/media/media_figure _isLead=true _fullSize=true _addClass="print:hidden article-full-width md:article-breakout mt-12 mb-6 sm:mt-14 sm:mb-8" _cssClassCaption="mx-5 md:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
23
23
  {{/if}}
24
+ {{#if this.isLivestream}}
25
+ {{> components/content/copytext/components/media/media_figure _isLead=true _fullSize=true _addClass="print:hidden article-full-width md:article-breakout mt-12 mb-6 sm:mt-14 sm:mb-8" _cssClassCaption="mx-5 md:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
26
+ {{/if}}
24
27
  {{/with}}
25
28
  {{/unless}}
26
29
 
@@ -37,7 +40,7 @@
37
40
  _source=this.source
38
41
  _isArchiveContent=this.isArchiveContent ~}}
39
42
 
40
- {{> components/page/components/appendix _isArticle=true }}
43
+ {{> components/page/components/appendix _isArticle=true _webview=_webview-adjust_context}}
41
44
 
42
45
  {{> components/page/components/comments }}
43
46
 
@@ -3,6 +3,7 @@ import data_story from './fixtures/story.json'
3
3
  import data_story_with_label from './fixtures/story_with_label.json'
4
4
  import data_story_with_square_image from './fixtures/story_with_square_image.json'
5
5
  import data_story_with_video from './fixtures/story_with_video.json'
6
+ import data_story_with_livestream from './fixtures/story_with_livestream.json'
6
7
 
7
8
  const Template = ({ ...args }) => {
8
9
  // You can either use a function to create DOM elements or use a plain html string!
@@ -49,4 +50,13 @@ export const WithVideo = {
49
50
  parameters: {
50
51
  layout: 'fullscreen',
51
52
  }
52
- }
53
+ }
54
+
55
+ export const WithLivestream = {
56
+ render: Template.bind({}),
57
+ name: 'Artikel mit Livestream im Aufmacher',
58
+ args: data_story_with_livestream,
59
+ parameters: {
60
+ layout: 'fullscreen',
61
+ }
62
+ }