hr-design-system-handlebars 0.49.17 → 0.49.18

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 (60) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/assets/index.css +14 -9
  3. package/dist/views/components/audio/audio_element.hbs +3 -3
  4. package/dist/views/components/page/page.hbs +3 -4
  5. package/dist/views/components/teaser/components/teaser_av_consumption.hbs +6 -3
  6. package/dist/views/components/teaser/components/teaser_heading.hbs +1 -1
  7. package/dist/views/components/teaser/components/teaser_lead.hbs +1 -1
  8. package/dist/views/components/teaser/components/teaser_title.hbs +1 -1
  9. package/dist/views/components/teaser/components/teaser_title_classes.hbs +26 -6
  10. package/dist/views/components/teaser/teaser_standard.hbs +14 -16
  11. package/package.json +1 -1
  12. package/src/assets/fixtures/teaser/teaser_group_tabbox.inc.json +29 -25
  13. package/src/assets/fixtures/teaser/teaser_images.inc.json +108 -3
  14. package/src/assets/fixtures/teaser/teaser_standard_25_serif.json +2 -2
  15. package/src/assets/fixtures/teaser/teaser_standard_25_serif_audio.json +2 -2
  16. package/src/assets/fixtures/teaser/teaser_standard_25_serif_live.json +2 -2
  17. package/src/assets/fixtures/teaser/teaser_standard_25_serif_video.json +2 -2
  18. package/src/assets/fixtures/teaser/teaser_standard_33_serif.json +1 -1
  19. package/src/assets/fixtures/teaser/teaser_standard_33_serif_tabbox.json +21 -0
  20. package/src/assets/fixtures/teaser/teaser_standard_50_serif_tabbox.json +21 -0
  21. package/src/assets/fixtures/teaser/teasers.inc.json +4 -4
  22. package/src/stories/views/components/audio/audio_element.hbs +3 -3
  23. package/src/stories/views/components/page/page.hbs +3 -4
  24. package/src/stories/views/components/teaser/components/teaser_av_consumption.hbs +6 -3
  25. package/src/stories/views/components/teaser/components/teaser_heading.hbs +1 -1
  26. package/src/stories/views/components/teaser/components/teaser_lead.hbs +1 -1
  27. package/src/stories/views/components/teaser/components/teaser_title.hbs +1 -1
  28. package/src/stories/views/components/teaser/components/teaser_title_classes.hbs +26 -6
  29. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif.json +1 -1
  30. package/src/stories/views/components/teaser/fixtures/teaser_alternative_25_serif.json +1 -1
  31. package/src/stories/views/components/teaser/fixtures/teaser_alternative_33_serif.json +1 -1
  32. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif.json +1 -1
  33. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif.json +1 -1
  34. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_comments.json +1 -1
  35. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_label.json +1 -1
  36. package/src/stories/views/components/teaser/fixtures/teaser_comments_without_teaserinfo.json +1 -1
  37. package/src/stories/views/components/teaser/fixtures/teaser_index.json +1 -1
  38. package/src/stories/views/components/teaser/fixtures/teaser_poster_lg.json +1 -1
  39. package/src/stories/views/components/teaser/fixtures/teaser_poster_md.json +1 -1
  40. package/src/stories/views/components/teaser/fixtures/teaser_poster_md_label.json +1 -1
  41. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif.json +1 -1
  42. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif.json +1 -1
  43. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_audio.json +1 -1
  44. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_live.json +1 -1
  45. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_video.json +1 -1
  46. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif copy.json +1 -0
  47. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif.json +1 -1
  48. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_tabbox.json +1 -0
  49. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif copy.json +1 -0
  50. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif.json +1 -1
  51. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_audio.json +1 -1
  52. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_live.json +1 -1
  53. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_tabbox.json +1 -0
  54. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_video.json +1 -1
  55. package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif.json +1 -1
  56. package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_comments.json +1 -1
  57. package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_label.json +1 -1
  58. package/src/stories/views/components/teaser/fixtures/teaser_tabbox.json +1 -1
  59. package/src/stories/views/components/teaser/tabbox/teaser_tabbox.stories.mdx +3 -0
  60. package/src/stories/views/components/teaser/teaser_standard.hbs +14 -16
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v0.49.18 (Thu Jul 14 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Dpe 1635 [#275](https://github.com/mumprod/hr-design-system-handlebars/pull/275) ([@vascoeduardo](https://github.com/vascoeduardo))
6
+
7
+ #### Authors: 1
8
+
9
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
10
+
11
+ ---
12
+
1
13
  # v0.49.17 (Wed Jul 13 2022)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -614,12 +614,12 @@ video {
614
614
  .left-0 {
615
615
  left: 0px;
616
616
  }
617
- .top-full {
618
- top: 100%;
619
- }
620
617
  .top-10 {
621
618
  top: 2.5rem;
622
619
  }
620
+ .top-full {
621
+ top: 100%;
622
+ }
623
623
  .z-10001 {
624
624
  z-index: 10001;
625
625
  }
@@ -814,12 +814,12 @@ video {
814
814
  .h-5 {
815
815
  height: 1.25rem;
816
816
  }
817
- .h-3 {
818
- height: 0.75rem;
819
- }
820
817
  .h-3\.5 {
821
818
  height: 0.875rem;
822
819
  }
820
+ .h-3 {
821
+ height: 0.75rem;
822
+ }
823
823
  .h-auto {
824
824
  height: auto;
825
825
  }
@@ -865,12 +865,12 @@ video {
865
865
  .w-40 {
866
866
  width: 10rem;
867
867
  }
868
- .w-3 {
869
- width: 0.75rem;
870
- }
871
868
  .w-3\.5 {
872
869
  width: 0.875rem;
873
870
  }
871
+ .w-3 {
872
+ width: 0.75rem;
873
+ }
874
874
  .w-max {
875
875
  width: -webkit-max-content;
876
876
  width: -moz-max-content;
@@ -2768,6 +2768,11 @@ video {
2768
2768
  line-height: 2.375rem;
2769
2769
  }
2770
2770
 
2771
+ .md\:text-2xl {
2772
+ font-size: 1.375rem;
2773
+ line-height: 1.75rem;
2774
+ }
2775
+
2771
2776
  .md\:text-3xl {
2772
2777
  font-size: 1.875rem;
2773
2778
  line-height: 2.25rem;
@@ -17,7 +17,7 @@
17
17
  {{/with~}}
18
18
  {{/unless}}
19
19
  <div
20
- {{~#if _is25Teaser}}
20
+ {{~#if _isMobile1to1}}
21
21
  class="relative"
22
22
  :class="avStart ? 'ar-16-9' : '{{_aspectRatio}}'"
23
23
  {{else}}
@@ -26,7 +26,7 @@
26
26
  >
27
27
  {{~#if _isTeaser~}}
28
28
  <div
29
- {{~#if _is25Teaser}}
29
+ {{~#if _isMobile1to1}}
30
30
  x-show="!avStart"
31
31
  {{~/if~}}
32
32
  >
@@ -48,7 +48,7 @@
48
48
  {{~/if~}}
49
49
 
50
50
 
51
- {{~#if _is25Teaser~}}
51
+ {{~#if _isMobile1to1~}}
52
52
  <div x-show="avStart" class="flex items-center justify-center ar-16-9 bg-blue-jellyBean">
53
53
  {{> components/base/image/icon _icon="audio" _iconmap="icons" _addClass="w-12 h-12 fill-white " }}
54
54
  </div>
@@ -46,10 +46,9 @@
46
46
  {{> components/teaser/teaser_standard teaserSize="50"}}
47
47
  </div>
48
48
  <div class="grid grid-cols-12 py-6 col-full gap-x-6 gap-y-6 sm:px-8 sm:col-main">
49
- {{> components/teaser/teaser_standard teaserSize="25"}}
50
- {{> components/teaser/teaser_standard teaserSize="25"}}
51
- {{> components/teaser/teaser_standard teaserSize="25"}}
52
- {{> components/teaser/teaser_standard teaserSize="25"}}
49
+ {{> components/teaser/teaser_standard teaserSize="33"}}
50
+ {{> components/teaser/teaser_standard teaserSize="33"}}
51
+ {{> components/teaser/teaser_standard teaserSize="33"}}
53
52
  </div>
54
53
  <div class="grid grid-cols-12 py-6 col-full gap-x-6 gap-y-6 sm:px-8 sm:col-main">
55
54
  {{> components/teaser/teaser_standard teaserSize="50"}}
@@ -3,9 +3,12 @@
3
3
  {{~> components/video/video_element _isTeaser=true _teaser=../this _aspectRatio=../_aspectRatio _teaserSize=../_teaserSize ~}}
4
4
  {{~/if~}}
5
5
  {{~#if this.isAudio ~}}
6
- {{~> components/audio/audio_element _isTeaser=true _teaser=../this _audioUrl=this.audioUrl _variant=this.imageVariant _noDelay=../_noDelay _aspectRatio=../_aspectRatio _is25Teaser=../_is25Teaser _teaserSize=../_teaserSize~}}
6
+ {{~> components/audio/audio_element _isTeaser=true _teaser=../this _audioUrl=this.audioUrl _variant=this.imageVariant _noDelay=../_noDelay _aspectRatio=../_aspectRatio _isMobile1to1=../_isMobile1to1 _teaserSize=../_teaserSize~}}
7
7
  {{~/if~}}
8
8
  {{~#if this.isLivestream ~}}
9
- {{~> components/video/livestream/video_livestream _isTeaser=true _teaser=../this _audioUrl=this.audioUrl _variant=this.imageVariant _noDelay=../_noDelay _aspectRatio=../_aspectRatio _is25Teaser=../_is25Teaser _teaserSize=../_teaserSize~}}
9
+ {{~> components/video/livestream/video_livestream _isTeaser=true _teaser=../this _audioUrl=this.audioUrl _variant=this.imageVariant _noDelay=../_noDelay _aspectRatio=../_aspectRatio _isMobile1to1=../_isMobile1to1 _teaserSize=../_teaserSize~}}
10
10
  {{~/if~}}
11
- {{/with}}
11
+ {{/with}}
12
+ {{#if _isMobile1to1~}}
13
+ {{> components/button/button_transparent _showIcon="true" _title="Mediaplayer schließen" _icon="arrow-up" _iconmap="icons"_addIconClass="w-3 h-3 fill-current" _addClass="md:hidden absolute top-full right-0" _x-show="avStart" _alpineClick="avStart = false; $dispatch('player_colosed')"}}
14
+ {{~/if~}}
@@ -7,5 +7,5 @@
7
7
  {{#if topline}}
8
8
  {{> components/teaser/components/teaser_topline text=topline readMore=readMore teaserType=teaserType}}
9
9
  {{/if}}
10
- {{> components/teaser/components/teaser_title text=title fontVariant=fontVariant size=size teaserType=teaserType}}
10
+ {{> components/teaser/components/teaser_title text=title fontVariant=fontVariant size=size teaserType=teaserType _isMobile1to1=_isMobile1to1}}
11
11
  </{{~ headlineTag ~}}>
@@ -1,5 +1,5 @@
1
1
  {{~#if this.allowAVConsumption ~}}
2
- {{> components/teaser/components/teaser_av_consumption _aspectRatio=_aspectRatio _is25Teaser=_is25Teaser _teaserSize=_teaserSize }}
2
+ {{> components/teaser/components/teaser_av_consumption _aspectRatio=_aspectRatio _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize }}
3
3
  {{else}}
4
4
  {{> components/teaser/components/teaser_image }}
5
5
  {{/if}}
@@ -1,3 +1,3 @@
1
- <span class='block mt-0.5 {{> components/teaser/components/teaser_title_classes size=size teaserType=teaserType fontVariant=fontVariant}}'>
1
+ <span class='block mt-0.5 {{> components/teaser/components/teaser_title_classes size=size teaserType=teaserType fontVariant=fontVariant _isMobile1to1=_isMobile1to1}}'>
2
2
  {{~text~}}
3
3
  </span>
@@ -1,10 +1,30 @@
1
- {{#switch teaserType~}}
1
+ {{!--
2
+ This handlebars template is responisible to render the needed classnames for Teaser headlines
3
+ As we use tailwind css no cascade is used to style components. As Teaser Headline Sizes dependent
4
+ on 4 parameters the logic was outsourced to this file.
5
+
6
+ the 4 parameters are:
7
+ - teaserType
8
+ - size
9
+ - _isMobile1to1
10
+ - fontVariant
11
+
12
+ --}}
13
+ {{~#switch teaserType~}}
2
14
  {{~#case 'standard-ds'~}}
3
- {{~inline-switch
4
- size
5
- '["hero","100","25"]'
6
- '["text-2xl md:text-4xl","text-2xl md:text-4xl","text-lg","text-2xl"]'
7
- ~}}
15
+ {{~#if _isMobile1to1~}}
16
+ {{~inline-switch
17
+ size
18
+ '["hero","100","25"]'
19
+ '["text-lg md:text-4xl","text-lg md:text-4xl","text-lg","text-lg md:text-2xl"]'
20
+ ~}}
21
+ {{~else~}}
22
+ {{~inline-switch
23
+ size
24
+ '["hero","100","25"]'
25
+ '["text-2xl md:text-4xl","text-2xl md:text-4xl","text-lg","text-2xl"]'
26
+ ~}}
27
+ {{~/if~}}
8
28
  {{~/case~}}
9
29
  {{~#case 'alternative-ds'~}}
10
30
  {{~inline-switch
@@ -1,21 +1,18 @@
1
- <article class="col-span-12 flex gap-y-3 gap-x-4 {{inline-switch this.teaserSize '["25","33","50"]' '["js-is1to1 px-5 md:px-0 md:col-span-3 md:flex-col","md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} "
1
+ <article class="col-span-12 flex gap-y-3 gap-x-4
2
+ {{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}}
3
+ {{~#if this.isMobile1to1}} js-is1to1 px-5 md:px-0 md:flex-col{{else}} flex-col{{/if~}}
4
+ "
2
5
  x-data="{ avStart: false }"
3
- {{#switch this.teaserSize~}}
4
- {{~#case "25"}}
6
+ {{#if this.isMobile1to1}}
5
7
  :class="avStart ? 'flex-col' : 'flex-row'"
6
- {{/case~}}
7
- {{~/switch~}}
8
+ {{/if}}
8
9
  >
9
- <figure class="relative {{inline-switch this.teaserSize '["25"]' '["basis-2/5 md:flex-full ar-1-1 md:ar-16-9", "ar-16-9"]'}} ">
10
- {{> components/teaser/components/teaser_lead _is25Teaser=this.is25Teaser _teaserSize=this.teaserSize _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
11
- {{#switch this.teaserSize~}}
12
- {{~#case "25"}}
13
- {{> components/button/button_transparent _showIcon="true" _title="Mediaplayer schließen" _icon="arrow-up" _iconmap="icons"_addIconClass="w-3 h-3 fill-current" _addClass="md:hidden absolute top-full right-0" _x-show="avStart" _alpineClick="avStart = false; $dispatch('player_colosed')"}}
14
- {{/case~}}
15
- {{~/switch~}}
10
+ <figure class="relative
11
+ {{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
12
+ {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
16
13
  </figure>
17
- <div class="{{inline-switch this.teaserSize '["25"]' '["basis-3/5 md:flex-full"]'}} ">
18
- <header class="md:px-0 {{inline-switch teaserSize '["25"]' '["","px-5"]'}}">
14
+ <div class="{{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}">
15
+ <header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
19
16
  {{#>components/base/link css="hover:text-toplineColor" doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="headlineLink" }}
20
17
  {{> components/teaser/components/teaser_heading
21
18
  fontVariant=this.headingFontVariant
@@ -25,10 +22,11 @@
25
22
  size=this.teaserSize
26
23
  title=this.title
27
24
  topline=this.topline
28
- teaserType=this.teaserType}}
25
+ teaserType=this.teaserType
26
+ _isMobile1to1=this.isMobile1to1}}
29
27
  {{/components/base/link}}
30
28
  </header>
31
- <section class="md:px-0 {{inline-switch this.teaserSize '["25"]' '["","px-5"]'}}">
29
+ <section class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
32
30
  {{> components/teaser/components/teaser_text text=this.shorttext size=this.teaserSize }}
33
31
  {{> components/teaser/components/teaser_byline}}
34
32
  </section>
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": "0.49.17",
9
+ "version": "0.49.18",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -13,7 +13,7 @@
13
13
  "teaserIndex": 0,
14
14
  "logicItems": [
15
15
  {
16
- "@->jsoninclude": "teaser/teaser_standard_33_serif.json",
16
+ "@->jsoninclude": "teaser/teaser_standard_33_serif_tabbox.json",
17
17
  "@->overrides": [
18
18
  {
19
19
  "@->contentpath": "logicItem.includeModel.shorttext",
@@ -30,13 +30,13 @@
30
30
  ]
31
31
  },
32
32
  {
33
- "@->jsoninclude": "teaser/teaser_standard_33_serif.json",
33
+ "@->jsoninclude": "teaser/teaser_standard_33_serif_tabbox.json",
34
34
  "@->overrides": [
35
35
  {
36
36
  "@->contentpath": "logicItem.includeModel.teaserImage",
37
37
  "@->value": {
38
38
  "@->jsoninclude": "teaser/teaser_images.inc.json",
39
- "@->contentpath": "standard_1"
39
+ "@->contentpath": "md_2_tab"
40
40
  }
41
41
  },
42
42
  {
@@ -58,13 +58,13 @@
58
58
  ]
59
59
  },
60
60
  {
61
- "@->jsoninclude": "teaser/teaser_standard_33_serif.json",
61
+ "@->jsoninclude": "teaser/teaser_standard_33_serif_tabbox.json",
62
62
  "@->overrides": [
63
63
  {
64
64
  "@->contentpath": "logicItem.includeModel.teaserImage",
65
65
  "@->value": {
66
66
  "@->jsoninclude": "teaser/teaser_images.inc.json",
67
- "@->contentpath": "standard_3"
67
+ "@->contentpath": "md_3_tab"
68
68
  }
69
69
  },
70
70
  {
@@ -191,7 +191,7 @@
191
191
  "teaserIndex": 3,
192
192
  "logicItems": [
193
193
  {
194
- "@->jsoninclude": "teaser/teaser_standard_33_serif.json",
194
+ "@->jsoninclude": "teaser/teaser_standard_33_serif_tabbox.json",
195
195
  "@->overrides": [
196
196
  {
197
197
  "@->contentpath": "logicItem.includeModel.shorttext",
@@ -200,20 +200,34 @@
200
200
  ]
201
201
  },
202
202
  {
203
- "@->jsoninclude": "teaser/teaser_standard_33_serif.json",
203
+ "@->jsoninclude": "teaser/teaser_standard_33_serif_tabbox.json",
204
204
  "@->overrides": [
205
205
  {
206
206
  "@->contentpath": "logicItem.includeModel.shorttext",
207
207
  "@->value": ""
208
+ },
209
+ {
210
+ "@->contentpath": "logicItem.includeModel.teaserImage",
211
+ "@->value": {
212
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
213
+ "@->contentpath": "md_2_tab"
214
+ }
208
215
  }
209
216
  ]
210
217
  },
211
218
  {
212
- "@->jsoninclude": "teaser/teaser_standard_33_serif.json",
219
+ "@->jsoninclude": "teaser/teaser_standard_33_serif_tabbox.json",
213
220
  "@->overrides": [
214
221
  {
215
222
  "@->contentpath": "logicItem.includeModel.shorttext",
216
223
  "@->value": ""
224
+ },
225
+ {
226
+ "@->contentpath": "logicItem.includeModel.teaserImage",
227
+ "@->value": {
228
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
229
+ "@->contentpath": "md_3_tab"
230
+ }
217
231
  }
218
232
  ]
219
233
  }
@@ -234,7 +248,7 @@
234
248
  "teaserIndex": 4,
235
249
  "logicItems": [
236
250
  {
237
- "@->jsoninclude": "teaser/teaser_standard_33_serif.json",
251
+ "@->jsoninclude": "teaser/teaser_standard_50_serif_tabbox.json",
238
252
  "@->overrides": [
239
253
  {
240
254
  "@->contentpath": "logicItem.includeModel.shorttext",
@@ -251,7 +265,7 @@
251
265
  ]
252
266
  },
253
267
  {
254
- "@->jsoninclude": "teaser/teaser_standard_33_serif.json",
268
+ "@->jsoninclude": "teaser/teaser_standard_50_serif_tabbox.json",
255
269
  "@->overrides": [
256
270
  {
257
271
  "@->contentpath": "logicItem.includeModel.shorttext",
@@ -264,23 +278,13 @@
264
278
  {
265
279
  "@->contentpath": "logicItem.includeModel.profiles",
266
280
  "@->value": ""
267
- }
268
- ]
269
- },
270
- {
271
- "@->jsoninclude": "teaser/teaser_standard_33_serif.json",
272
- "@->overrides": [
273
- {
274
- "@->contentpath": "logicItem.includeModel.shorttext",
275
- "@->value": ""
276
281
  },
277
282
  {
278
- "@->contentpath": "logicItem.includeModel.teaserInfo.showTeaserInfo",
279
- "@->value": false
280
- },
281
- {
282
- "@->contentpath": "logicItem.includeModel.profiles",
283
- "@->value": ""
283
+ "@->contentpath": "logicItem.includeModel.teaserImage",
284
+ "@->value": {
285
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
286
+ "@->contentpath": "standard_2_tab"
287
+ }
284
288
  }
285
289
  ]
286
290
  }
@@ -112,7 +112,7 @@
112
112
  "fallback": "https://picsum.photos/id/188/480/270",
113
113
  "sources": [
114
114
  {
115
- "sizes": "(min-width: 40em) and (max-width: 58.938em) 33vw,(min-width: 59em) calc(1008px * 0.33), 100vw",
115
+ "sizes": "(min-width: 48em) and (max-width: 58.938em) 33vw,(min-width: 59em) calc(1008px * 0.33), 100vw",
116
116
  "srcset": "https://picsum.photos/id/188/320/180 320w, https://picsum.photos/id/188/480/270 480w, https://picsum.photos/id/188/640/360 640w, https://picsum.photos/id/188/960/540 960w, https://picsum.photos/id/188/1920/1080 1920w"
117
117
  }
118
118
  ]
@@ -127,7 +127,7 @@
127
127
  "fallback": "https://picsum.photos/id/189/480/270",
128
128
  "sources": [
129
129
  {
130
- "sizes": "(min-width: 40em) and (max-width: 58.938em) 33vw,(min-width: 59em) calc(1008px * 0.33), 100vw",
130
+ "sizes": "(min-width: 48em) and (max-width: 58.938em) 33vw,(min-width: 59em) calc(1008px * 0.33), 100vw",
131
131
  "srcset": "https://picsum.photos/id/189/320/180 320w, https://picsum.photos/id/189/480/270 480w, https://picsum.photos/id/189/640/360 640w, https://picsum.photos/id/189/960/540 960w, https://picsum.photos/id/189/1920/1080 1920w"
132
132
  }
133
133
  ]
@@ -142,12 +142,75 @@
142
142
  "fallback": "https://picsum.photos/id/190/480/270",
143
143
  "sources": [
144
144
  {
145
- "sizes": "(min-width: 40em) and (max-width: 58.938em) 33vw,(min-width: 59em) calc(1008px * 0.33), 100vw",
145
+ "sizes": "(min-width: 48em) and (max-width: 58.938em) 33vw,(min-width: 59em) calc(1008px * 0.33), 100vw",
146
146
  "srcset": "https://picsum.photos/id/190/320/180 320w, https://picsum.photos/id/190/480/270 480w, https://picsum.photos/id/190/640/360 640w, https://picsum.photos/id/190/960/540 960w, https://picsum.photos/id/190/1920/1080 1920w"
147
147
  }
148
148
  ]
149
149
  }
150
150
  },
151
+ "md_1_tab": {
152
+ "alttext": "Lorem ipsum",
153
+ "copyrightWithLinks": "",
154
+ "responsiveImage": {
155
+ "asPicture": true,
156
+ "asImage": false,
157
+ "fallback": "https://picsum.photos/id/188/480/270",
158
+ "sources": [
159
+ {
160
+ "media": "all and (max-width: 47.938em)",
161
+ "sizes": "40vw",
162
+ "srcset": "https://picsum.photos/id/188/320/320 320w, https://picsum.photos/id/188/480/480 480w, https://picsum.photos/id/188/640/640 640w, https://picsum.photos/id/188/960/960 960w"
163
+ },
164
+ {
165
+ "media": "all and (min-width: 48em) ",
166
+ "sizes": "33vw",
167
+ "srcset": "https://picsum.photos/id/188/320/180 320w, https://picsum.photos/id/188/480/270 480w, https://picsum.photos/id/188/640/360 640w, https://picsum.photos/id/188/960/540 960w"
168
+ }
169
+ ]
170
+ }
171
+ },
172
+ "md_2_tab": {
173
+ "alttext": "Lorem ipsum",
174
+ "copyrightWithLinks": "",
175
+ "responsiveImage": {
176
+ "asPicture": true,
177
+ "asImage": false,
178
+ "fallback": "https://picsum.photos/id/189/480/270",
179
+ "sources": [
180
+ {
181
+ "media": "all and (max-width: 47.938em)",
182
+ "sizes": "40vw",
183
+ "srcset": "https://picsum.photos/id/189/320/320 320w, https://picsum.photos/id/189/480/480 480w, https://picsum.photos/id/189/640/640 640w, https://picsum.photos/id/189/960/960 960w"
184
+ },
185
+ {
186
+ "media": "all and (min-width: 48em) ",
187
+ "sizes": "33vw",
188
+ "srcset": "https://picsum.photos/id/189/320/180 320w, https://picsum.photos/id/189/480/270 480w, https://picsum.photos/id/189/640/360 640w, https://picsum.photos/id/189/960/540 960w"
189
+ }
190
+ ]
191
+ }
192
+ },
193
+ "md_3_tab": {
194
+ "alttext": "Lorem ipsum",
195
+ "copyrightWithLinks": "",
196
+ "responsiveImage": {
197
+ "asPicture": true,
198
+ "asImage": false,
199
+ "fallback": "https://picsum.photos/id/190/480/270",
200
+ "sources": [
201
+ {
202
+ "media": "all and (max-width: 47.938em)",
203
+ "sizes": "40vw",
204
+ "srcset": "https://picsum.photos/id/190/320/320 320w, https://picsum.photos/id/190/480/480 480w, https://picsum.photos/id/190/640/640 640w, https://picsum.photos/id/190/960/960 960w"
205
+ },
206
+ {
207
+ "media": "all and (min-width: 48em)",
208
+ "sizes": "33vw",
209
+ "srcset": "https://picsum.photos/id/190/320/180 320w, https://picsum.photos/id/190/480/270 480w, https://picsum.photos/id/190/640/360 640w, https://picsum.photos/id/190/960/540 960w"
210
+ }
211
+ ]
212
+ }
213
+ },
151
214
  "standard_1": {
152
215
  "alttext": "Lorem ipsum",
153
216
  "copyrightWithLinks": "",
@@ -208,6 +271,48 @@
208
271
  ]
209
272
  }
210
273
  },
274
+ "standard_1_tab": {
275
+ "alttext": "Lorem ipsum",
276
+ "copyrightWithLinks": "",
277
+ "responsiveImage": {
278
+ "asPicture": true,
279
+ "asImage": false,
280
+ "fallback": "https://picsum.photos/id/193/480/270",
281
+ "sources": [
282
+ {
283
+ "media": "all and (max-width: 47.938em)",
284
+ "sizes": "40vw",
285
+ "srcset": "https://picsum.photos/id/193/320/320 320w, https://picsum.photos/id/193/480/480 480w, https://picsum.photos/id/193/640/640 640w, https://picsum.photos/id/193/960/960 960w"
286
+ },
287
+ {
288
+ "media": "all and (min-width: 48em)",
289
+ "sizes": "50vw",
290
+ "srcset": "https://picsum.photos/id/193/320/180 320w, https://picsum.photos/id/193/480/270 480w, https://picsum.photos/id/193/640/360 640w, https://picsum.photos/id/193/960/540 960w"
291
+ }
292
+ ]
293
+ }
294
+ },
295
+ "standard_2_tab": {
296
+ "alttext": "Lorem ipsum",
297
+ "copyrightWithLinks": "",
298
+ "responsiveImage": {
299
+ "asPicture": true,
300
+ "asImage": false,
301
+ "fallback": "https://picsum.photos/id/197/480/270",
302
+ "sources": [
303
+ {
304
+ "media": "all and (max-width: 47.938em)",
305
+ "sizes": "40vw",
306
+ "srcset": "https://picsum.photos/id/197/320/320 320w, https://picsum.photos/id/197/480/480 480w, https://picsum.photos/id/197/640/640 640w, https://picsum.photos/id/197/960/960 960w"
307
+ },
308
+ {
309
+ "media": "all and (min-width: 48em)",
310
+ "sizes": "50vw",
311
+ "srcset": "https://picsum.photos/id/197/320/180 320w, https://picsum.photos/id/197/480/270 480w, https://picsum.photos/id/197/640/360 640w, https://picsum.photos/id/197/960/540 960w"
312
+ }
313
+ ]
314
+ }
315
+ },
211
316
  "poster_1":{
212
317
  "copyrightWithLinks": "",
213
318
  "responsiveImage": {
@@ -7,11 +7,11 @@
7
7
  "@->value": "25"
8
8
  },
9
9
  {
10
- "@->contentpath": "logicItem.includeModel.is25Teaser",
10
+ "@->contentpath": "logicItem.includeModel.isMobile1to1",
11
11
  "@->value": "true"
12
12
  },
13
13
  {
14
- "@->contentpath": "logicItem.includeModel.link.content.is25Teaser",
14
+ "@->contentpath": "logicItem.includeModel.link.content.isMobile1to1",
15
15
  "@->value": "true"
16
16
  },
17
17
  {
@@ -7,11 +7,11 @@
7
7
  "@->value": "25"
8
8
  },
9
9
  {
10
- "@->contentpath": "logicItem.includeModel.is25Teaser",
10
+ "@->contentpath": "logicItem.includeModel.isMobile1to1",
11
11
  "@->value": "true"
12
12
  },
13
13
  {
14
- "@->contentpath": "logicItem.includeModel.link.content.is25Teaser",
14
+ "@->contentpath": "logicItem.includeModel.link.content.isMobile1to1",
15
15
  "@->value": "true"
16
16
  },
17
17
  {
@@ -7,11 +7,11 @@
7
7
  "@->value": "25"
8
8
  },
9
9
  {
10
- "@->contentpath": "logicItem.includeModel.is25Teaser",
10
+ "@->contentpath": "logicItem.includeModel.isMobile1to1",
11
11
  "@->value": "true"
12
12
  },
13
13
  {
14
- "@->contentpath": "logicItem.includeModel.link.content.is25Teaser",
14
+ "@->contentpath": "logicItem.includeModel.link.content.isMobile1to1",
15
15
  "@->value": "true"
16
16
  },
17
17
  {
@@ -7,11 +7,11 @@
7
7
  "@->value": "25"
8
8
  },
9
9
  {
10
- "@->contentpath": "logicItem.includeModel.is25Teaser",
10
+ "@->contentpath": "logicItem.includeModel.isMobile1to1",
11
11
  "@->value": "true"
12
12
  },
13
13
  {
14
- "@->contentpath": "logicItem.includeModel.link.content.is25Teaser",
14
+ "@->contentpath": "logicItem.includeModel.link.content.isMobile1to1",
15
15
  "@->value": "true"
16
16
  },
17
17
  {
@@ -10,7 +10,7 @@
10
10
  "@->contentpath": "logicItem.includeModel.teaserImage",
11
11
  "@->value": {
12
12
  "@->jsoninclude": "teaser/teaser_images.inc.json",
13
- "@->contentpath": "md_2"
13
+ "@->contentpath": "md_1"
14
14
  }
15
15
  }
16
16
  ]
@@ -0,0 +1,21 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaser",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includeModel.teaserSize",
7
+ "@->value": "33"
8
+ },
9
+ {
10
+ "@->contentpath": "logicItem.includeModel.isMobile1to1",
11
+ "@->value": "true"
12
+ },
13
+ {
14
+ "@->contentpath": "logicItem.includeModel.teaserImage",
15
+ "@->value": {
16
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
17
+ "@->contentpath": "md_1_tab"
18
+ }
19
+ }
20
+ ]
21
+ }