hr-design-system-handlebars 0.87.1 → 0.87.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,16 @@
1
+ # v0.87.2 (Wed Nov 23 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - DPE-1875: fixes wrong playbutton-distances [#395](https://github.com/mumprod/hr-design-system-handlebars/pull/395) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
6
+
7
+ #### Authors: 2
8
+
9
+ - Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
10
+ - selbaciri (saad.elbaciri@hr.de)
11
+
12
+ ---
13
+
1
14
  # v0.87.1 (Tue Nov 22 2022)
2
15
 
3
16
  #### 🐛 Bug Fix
@@ -745,30 +745,30 @@ video {
745
745
  .m-1 {
746
746
  margin: 0.25rem;
747
747
  }
748
+ .my-2 {
749
+ margin-top: 0.5rem;
750
+ margin-bottom: 0.5rem;
751
+ }
748
752
  .mx-2 {
749
753
  margin-left: 0.5rem;
750
754
  margin-right: 0.5rem;
751
755
  }
752
- .mx-0 {
753
- margin-left: 0px;
754
- margin-right: 0px;
756
+ .my-5 {
757
+ margin-top: 1.25rem;
758
+ margin-bottom: 1.25rem;
755
759
  }
756
760
  .mx-5 {
757
761
  margin-left: 1.25rem;
758
762
  margin-right: 1.25rem;
759
763
  }
760
- .my-5 {
761
- margin-top: 1.25rem;
762
- margin-bottom: 1.25rem;
764
+ .mx-0 {
765
+ margin-left: 0px;
766
+ margin-right: 0px;
763
767
  }
764
768
  .mx-4 {
765
769
  margin-left: 1rem;
766
770
  margin-right: 1rem;
767
771
  }
768
- .my-2 {
769
- margin-top: 0.5rem;
770
- margin-bottom: 0.5rem;
771
- }
772
772
  .mx-8 {
773
773
  margin-left: 2rem;
774
774
  margin-right: 2rem;
@@ -2249,7 +2249,7 @@ video {
2249
2249
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
2250
2250
  }
2251
2251
  .counter-reset {
2252
- counter-reset: cnt1669111038259;
2252
+ counter-reset: cnt1669207976289;
2253
2253
  }
2254
2254
  .line-clamp-4 {
2255
2255
  overflow: hidden;
@@ -2638,7 +2638,7 @@ video {
2638
2638
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2639
2639
  }
2640
2640
  .-ordered {
2641
- counter-increment: cnt1669111038259 1;
2641
+ counter-increment: cnt1669207976289 1;
2642
2642
  }
2643
2643
  .-ordered::before {
2644
2644
  position: absolute;
@@ -2654,7 +2654,7 @@ video {
2654
2654
  letter-spacing: .0125em;
2655
2655
  --tw-text-opacity: 1;
2656
2656
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2657
- content: counter(cnt1669111038259);
2657
+ content: counter(cnt1669207976289);
2658
2658
  }
2659
2659
  .\[-T\:\+Z\] {
2660
2660
  --t: +Z;
@@ -3450,6 +3450,26 @@ video {
3450
3450
  grid-column: span 9 / span 9;
3451
3451
  }
3452
3452
 
3453
+ .md\:my-3 {
3454
+ margin-top: 0.75rem;
3455
+ margin-bottom: 0.75rem;
3456
+ }
3457
+
3458
+ .md\:mx-3 {
3459
+ margin-left: 0.75rem;
3460
+ margin-right: 0.75rem;
3461
+ }
3462
+
3463
+ .md\:my-5 {
3464
+ margin-top: 1.25rem;
3465
+ margin-bottom: 1.25rem;
3466
+ }
3467
+
3468
+ .md\:mx-5 {
3469
+ margin-left: 1.25rem;
3470
+ margin-right: 1.25rem;
3471
+ }
3472
+
3453
3473
  .md\:mx-0 {
3454
3474
  margin-left: 0px;
3455
3475
  margin-right: 0px;
@@ -3465,16 +3485,6 @@ video {
3465
3485
  margin-bottom: 1rem;
3466
3486
  }
3467
3487
 
3468
- .md\:my-3 {
3469
- margin-top: 0.75rem;
3470
- margin-bottom: 0.75rem;
3471
- }
3472
-
3473
- .md\:mx-3 {
3474
- margin-left: 0.75rem;
3475
- margin-right: 0.75rem;
3476
- }
3477
-
3478
3488
  .md\:mt-0 {
3479
3489
  margin-top: 0px;
3480
3490
  }
@@ -3,7 +3,7 @@
3
3
  {{~#if _isButton}} type="button"{{else}} type="submit"{{/if~}}
4
4
  {{~#if _name}} name="{{_name}}"{{/if}}
5
5
  {{~#if _title}} title="{{_title}}"{{/if}}
6
- class="{{_addClass}}{{#if _addClass2}} {{_addClass2}}{{/if}}{{#if _buttonColor}} {{_buttonColor}}{{/if}}{{#if _buttonSpace}} {{_buttonSpace}}{{/if}}{{#if _webview}} -webview{{/if}}"
6
+ class="{{_addClass}}{{#if _addClass2}} {{_addClass2}}{{/if}}{{#if _buttonColor}} {{_buttonColor}}{{/if}}{{#if _buttonSpace}} {{> components/button/button_round_classes _teaserSize=_teaserSize _teaserType=_teaserType}}{{/if}}{{#if _webview}} -webview{{/if}}"
7
7
  {{~#if _value}} value="{{_value}}"{{/if}}
8
8
  {{~#if _alpineClick}} @click="{{_alpineClick}}"{{/if}}
9
9
  {{~#if _x-show}} x-show="{{_x-show}}"{{/if}}
@@ -15,5 +15,8 @@
15
15
  _alpineClick=_alpineClick
16
16
  _srOnly=_srOnly
17
17
  _buttonColor=_buttonColor
18
- _buttonSpace=_buttonSpace
18
+ _buttonSpace=true
19
+ _teaserType=_teaserType
20
+ _teaserSize=_teaserSize
21
+ _isMobile1to1=_isMobile1to1
19
22
  }}
@@ -0,0 +1,24 @@
1
+ {{~#switch _teaserType~}}
2
+ {{~#case 'standard-ds'~}}
3
+ {{~#if _isMobile1to1~}}
4
+ {{~inline-switch
5
+ _teaserSize '["25","33"]' '[" my-2 mx-2"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2 md:my-5 md:mx-5 "]'
6
+ ~}}
7
+ {{~else~}}
8
+ {{~inline-switch
9
+ _teaserSize '["25","33"]' '[" my-2 mx-2"," my-5 mx-5 md:my-3 md:mx-3"," my-5 mx-5"]'
10
+ ~}}
11
+ {{~/if~}}
12
+ {{~/case~}}
13
+ {{~#case 'alternative-ds'~}}
14
+ {{~#if _isMobile1to1~}}
15
+ {{~inline-switch
16
+ _teaserSize '["hero","100","50"]' '[" my-2 mx-2 md:my-5 md:mx-5"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
17
+ ~}}
18
+ {{~else~}}
19
+ {{~inline-switch
20
+ _teaserSize '["hero","100","50"]' '[" my-5 mx-5"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
21
+ ~}}
22
+ {{~/if~}}
23
+ {{~/case~}}
24
+ {{~/switch~}}
@@ -24,7 +24,9 @@
24
24
  _isButton="true"
25
25
  _addClass='absolute bottom-0 right-0 fill-white hover:text-white js-mediaplayer__button'
26
26
  _buttonColor=(if _isLivestream ' text-orange-spicyCarrot hover:fill-orange-spicyCarrot' ' text-blue-jellyBean hover:fill-blue-jellyBean')
27
- _buttonSpace=(inline-switch _teaserSize '["25","33"]' '[" my-2 mx-2"," my-5 mx-5 md:my-3 md:mx-3"," my-5 mx-5"]')
27
+ _teaserType=_teaserType
28
+ _teaserSize=_teaserSize
29
+ _isMobile1to1=_isMobile1to1
28
30
  _showIcon=true
29
31
  _icon=_mediaButtonIcon
30
32
  _label=_mediaButtonLabel
@@ -1,7 +1,7 @@
1
1
  {{#with this.teaserLead.avDocument}}
2
2
  {{~#if this.isVideo ~}}
3
3
  {{#with this.toModel.videoElement}}
4
- {{~> components/mediaplayer/media_player _cypressHook="js-video-ondemand" _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _isTeaser=true _teaser=../../this _aspectRatio=../../_aspectRatio _teaserSize=../../_teaserSize _isMobile1to1=../../_isMobile1to1 _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag~}}
4
+ {{~> components/mediaplayer/media_player _cypressHook="js-video-ondemand" _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _isTeaser=true _teaser=../../this _aspectRatio=../../_aspectRatio _teaserSize=../../_teaserSize _isMobile1to1=../../_isMobile1to1 _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType~}}
5
5
  {{#if ../../_isMobile1to1~}}
6
6
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
7
7
  {{~/if~}}
@@ -9,7 +9,7 @@
9
9
  {{~/if~}}
10
10
  {{~#if this.isAudio ~}}
11
11
  {{#with this.toModel.audioElement}}
12
- {{~> components/mediaplayer/media_player _cypressHook="js-audio-ondemand" _mediaButtonIcon="audio_button" _mediaButtonLabel="Audio" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag~}}
12
+ {{~> components/mediaplayer/media_player _cypressHook="js-audio-ondemand" _mediaButtonIcon="audio_button" _mediaButtonLabel="Audio" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType~}}
13
13
  {{#if ../../_isMobile1to1~}}
14
14
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
15
15
  {{~/if~}}
@@ -17,7 +17,7 @@
17
17
  {{~/if~}}
18
18
  {{~#if this.isPodcast ~}}
19
19
  {{#with this.toModel.audioElement}}
20
- {{~> components/mediaplayer/media_player _cypressHook="js-audio-ondemand" _mediaButtonIcon="audio_button" _mediaButtonLabel="Podcast" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag~}}
20
+ {{~> components/mediaplayer/media_player _cypressHook="js-audio-ondemand" _mediaButtonIcon="audio_button" _mediaButtonLabel="Podcast" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType~}}
21
21
  {{#if ../../_isMobile1to1~}}
22
22
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
23
23
  {{~/if~}}
@@ -25,7 +25,7 @@
25
25
  {{~/if~}}
26
26
  {{~#if this.isAudioEventLivestream ~}}
27
27
  {{#with this.toModel.audioLivestreamElement}}
28
- {{~> components/mediaplayer/media_player _cypressHook="js-video-livestream" _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream="true" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag~}}
28
+ {{~> components/mediaplayer/media_player _cypressHook="js-video-livestream" _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream="true" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType~}}
29
29
  {{#if ../../_isMobile1to1~}}
30
30
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
31
31
  {{~/if~}}
@@ -33,7 +33,7 @@
33
33
  {{~/if~}}
34
34
  {{~#if this.isLivestream ~}}
35
35
  {{#with this.toModel.videoLivestreamElement}}
36
- {{~> components/mediaplayer/media_player _cypressHook="js-video-livestream" _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream="true" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag~}}
36
+ {{~> components/mediaplayer/media_player _cypressHook="js-video-livestream" _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream="true" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType~}}
37
37
  {{#if ../../_isMobile1to1~}}
38
38
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
39
39
  {{~/if~}}
@@ -1,5 +1,5 @@
1
1
  {{~#if this.allowAVConsumption ~}}
2
- {{> components/teaser/components/teaser_av_consumption _aspectRatio=_aspectRatio _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize }}
2
+ {{> components/teaser/components/teaser_av_consumption _aspectRatio=_aspectRatio _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize _teaserType=_teaserType }}
3
3
  {{else}}
4
4
  {{> components/teaser/components/teaser_image _isMobile1to1=_isMobile1to1 }}
5
5
  {{/if}}
@@ -5,7 +5,7 @@
5
5
  {{/if}}
6
6
  >
7
7
  <figure class="relative {{~inline-switch this.teaserSize '["hero","100","50"]' '[" basis-2/3 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/3"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/2"]'~}}">
8
- {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _aspectRatio=(inline-switch this.teaserSize '["hero"]' '["ar-16-9","ar-1-1 md:ar-16-9"]') }}
8
+ {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["hero"]' '["ar-16-9","ar-1-1 md:ar-16-9"]') }}
9
9
  </figure>
10
10
  {{> components/teaser/components/teaser_body _outerCssClasses=(inline-switch this.teaserSize '["hero","100","50"]' '["basis-1/3"," basis-3/5 md:basis-2/3"," basis-3/5 md:basis-1/2"]') }}
11
11
  </article>
@@ -9,11 +9,11 @@
9
9
  >
10
10
  <figure class="relative
11
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"]') }}
12
+ {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
13
13
  </figure>
14
14
  {{#if this.displayTeaserBodyAsImageOverlay}}
15
15
  {{#decorator 'components/teaser/components/teaser_image_overlay' _noOverlayInMobileViewports=true _cssClasses=" relative md:absolute w-full bottom-0"}}
16
- <div class="flex flex-col items-center justify-center p-4 border-dashed border-r border-gray-400">
16
+ <div class="flex flex-col items-center justify-center p-4 border-r border-gray-400 border-dashed">
17
17
  {{> components/event/instant_dates}}
18
18
  </div>
19
19
  {{> components/teaser/components/teaser_body _outerCssClasses=(if this.isMobile1to1 'py-4 md:px-4 basis-3/5 md:flex-full' 'py-4 md:px-4')}}
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.87.1",
9
+ "version": "0.87.2",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -3,7 +3,7 @@
3
3
  {{~#if _isButton}} type="button"{{else}} type="submit"{{/if~}}
4
4
  {{~#if _name}} name="{{_name}}"{{/if}}
5
5
  {{~#if _title}} title="{{_title}}"{{/if}}
6
- class="{{_addClass}}{{#if _addClass2}} {{_addClass2}}{{/if}}{{#if _buttonColor}} {{_buttonColor}}{{/if}}{{#if _buttonSpace}} {{_buttonSpace}}{{/if}}{{#if _webview}} -webview{{/if}}"
6
+ class="{{_addClass}}{{#if _addClass2}} {{_addClass2}}{{/if}}{{#if _buttonColor}} {{_buttonColor}}{{/if}}{{#if _buttonSpace}} {{> components/button/button_round_classes _teaserSize=_teaserSize _teaserType=_teaserType}}{{/if}}{{#if _webview}} -webview{{/if}}"
7
7
  {{~#if _value}} value="{{_value}}"{{/if}}
8
8
  {{~#if _alpineClick}} @click="{{_alpineClick}}"{{/if}}
9
9
  {{~#if _x-show}} x-show="{{_x-show}}"{{/if}}
@@ -15,5 +15,8 @@
15
15
  _alpineClick=_alpineClick
16
16
  _srOnly=_srOnly
17
17
  _buttonColor=_buttonColor
18
- _buttonSpace=_buttonSpace
18
+ _buttonSpace=true
19
+ _teaserType=_teaserType
20
+ _teaserSize=_teaserSize
21
+ _isMobile1to1=_isMobile1to1
19
22
  }}
@@ -0,0 +1,24 @@
1
+ {{~#switch _teaserType~}}
2
+ {{~#case 'standard-ds'~}}
3
+ {{~#if _isMobile1to1~}}
4
+ {{~inline-switch
5
+ _teaserSize '["25","33"]' '[" my-2 mx-2"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2 md:my-5 md:mx-5 "]'
6
+ ~}}
7
+ {{~else~}}
8
+ {{~inline-switch
9
+ _teaserSize '["25","33"]' '[" my-2 mx-2"," my-5 mx-5 md:my-3 md:mx-3"," my-5 mx-5"]'
10
+ ~}}
11
+ {{~/if~}}
12
+ {{~/case~}}
13
+ {{~#case 'alternative-ds'~}}
14
+ {{~#if _isMobile1to1~}}
15
+ {{~inline-switch
16
+ _teaserSize '["hero","100","50"]' '[" my-2 mx-2 md:my-5 md:mx-5"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
17
+ ~}}
18
+ {{~else~}}
19
+ {{~inline-switch
20
+ _teaserSize '["hero","100","50"]' '[" my-5 mx-5"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
21
+ ~}}
22
+ {{~/if~}}
23
+ {{~/case~}}
24
+ {{~/switch~}}
@@ -24,7 +24,9 @@
24
24
  _isButton="true"
25
25
  _addClass='absolute bottom-0 right-0 fill-white hover:text-white js-mediaplayer__button'
26
26
  _buttonColor=(if _isLivestream ' text-orange-spicyCarrot hover:fill-orange-spicyCarrot' ' text-blue-jellyBean hover:fill-blue-jellyBean')
27
- _buttonSpace=(inline-switch _teaserSize '["25","33"]' '[" my-2 mx-2"," my-5 mx-5 md:my-3 md:mx-3"," my-5 mx-5"]')
27
+ _teaserType=_teaserType
28
+ _teaserSize=_teaserSize
29
+ _isMobile1to1=_isMobile1to1
28
30
  _showIcon=true
29
31
  _icon=_mediaButtonIcon
30
32
  _label=_mediaButtonLabel
@@ -1,7 +1,7 @@
1
1
  {{#with this.teaserLead.avDocument}}
2
2
  {{~#if this.isVideo ~}}
3
3
  {{#with this.toModel.videoElement}}
4
- {{~> components/mediaplayer/media_player _cypressHook="js-video-ondemand" _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _isTeaser=true _teaser=../../this _aspectRatio=../../_aspectRatio _teaserSize=../../_teaserSize _isMobile1to1=../../_isMobile1to1 _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag~}}
4
+ {{~> components/mediaplayer/media_player _cypressHook="js-video-ondemand" _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _isTeaser=true _teaser=../../this _aspectRatio=../../_aspectRatio _teaserSize=../../_teaserSize _isMobile1to1=../../_isMobile1to1 _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType~}}
5
5
  {{#if ../../_isMobile1to1~}}
6
6
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
7
7
  {{~/if~}}
@@ -9,7 +9,7 @@
9
9
  {{~/if~}}
10
10
  {{~#if this.isAudio ~}}
11
11
  {{#with this.toModel.audioElement}}
12
- {{~> components/mediaplayer/media_player _cypressHook="js-audio-ondemand" _mediaButtonIcon="audio_button" _mediaButtonLabel="Audio" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag~}}
12
+ {{~> components/mediaplayer/media_player _cypressHook="js-audio-ondemand" _mediaButtonIcon="audio_button" _mediaButtonLabel="Audio" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType~}}
13
13
  {{#if ../../_isMobile1to1~}}
14
14
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
15
15
  {{~/if~}}
@@ -17,7 +17,7 @@
17
17
  {{~/if~}}
18
18
  {{~#if this.isPodcast ~}}
19
19
  {{#with this.toModel.audioElement}}
20
- {{~> components/mediaplayer/media_player _cypressHook="js-audio-ondemand" _mediaButtonIcon="audio_button" _mediaButtonLabel="Podcast" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag~}}
20
+ {{~> components/mediaplayer/media_player _cypressHook="js-audio-ondemand" _mediaButtonIcon="audio_button" _mediaButtonLabel="Podcast" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType~}}
21
21
  {{#if ../../_isMobile1to1~}}
22
22
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
23
23
  {{~/if~}}
@@ -25,7 +25,7 @@
25
25
  {{~/if~}}
26
26
  {{~#if this.isAudioEventLivestream ~}}
27
27
  {{#with this.toModel.audioLivestreamElement}}
28
- {{~> components/mediaplayer/media_player _cypressHook="js-video-livestream" _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream="true" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag~}}
28
+ {{~> components/mediaplayer/media_player _cypressHook="js-video-livestream" _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream="true" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType~}}
29
29
  {{#if ../../_isMobile1to1~}}
30
30
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
31
31
  {{~/if~}}
@@ -33,7 +33,7 @@
33
33
  {{~/if~}}
34
34
  {{~#if this.isLivestream ~}}
35
35
  {{#with this.toModel.videoLivestreamElement}}
36
- {{~> components/mediaplayer/media_player _cypressHook="js-video-livestream" _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream="true" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag~}}
36
+ {{~> components/mediaplayer/media_player _cypressHook="js-video-livestream" _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream="true" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType~}}
37
37
  {{#if ../../_isMobile1to1~}}
38
38
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
39
39
  {{~/if~}}
@@ -1,5 +1,5 @@
1
1
  {{~#if this.allowAVConsumption ~}}
2
- {{> components/teaser/components/teaser_av_consumption _aspectRatio=_aspectRatio _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize }}
2
+ {{> components/teaser/components/teaser_av_consumption _aspectRatio=_aspectRatio _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize _teaserType=_teaserType }}
3
3
  {{else}}
4
4
  {{> components/teaser/components/teaser_image _isMobile1to1=_isMobile1to1 }}
5
5
  {{/if}}
@@ -5,7 +5,7 @@
5
5
  {{/if}}
6
6
  >
7
7
  <figure class="relative {{~inline-switch this.teaserSize '["hero","100","50"]' '[" basis-2/3 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/3"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/2"]'~}}">
8
- {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _aspectRatio=(inline-switch this.teaserSize '["hero"]' '["ar-16-9","ar-1-1 md:ar-16-9"]') }}
8
+ {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["hero"]' '["ar-16-9","ar-1-1 md:ar-16-9"]') }}
9
9
  </figure>
10
10
  {{> components/teaser/components/teaser_body _outerCssClasses=(inline-switch this.teaserSize '["hero","100","50"]' '["basis-1/3"," basis-3/5 md:basis-2/3"," basis-3/5 md:basis-1/2"]') }}
11
11
  </article>
@@ -9,11 +9,11 @@
9
9
  >
10
10
  <figure class="relative
11
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"]') }}
12
+ {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
13
13
  </figure>
14
14
  {{#if this.displayTeaserBodyAsImageOverlay}}
15
15
  {{#decorator 'components/teaser/components/teaser_image_overlay' _noOverlayInMobileViewports=true _cssClasses=" relative md:absolute w-full bottom-0"}}
16
- <div class="flex flex-col items-center justify-center p-4 border-dashed border-r border-gray-400">
16
+ <div class="flex flex-col items-center justify-center p-4 border-r border-gray-400 border-dashed">
17
17
  {{> components/event/instant_dates}}
18
18
  </div>
19
19
  {{> components/teaser/components/teaser_body _outerCssClasses=(if this.isMobile1to1 'py-4 md:px-4 basis-3/5 md:flex-full' 'py-4 md:px-4')}}