hr-design-system-handlebars 0.122.1 → 0.122.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,15 @@
1
+ # v0.122.2 (Tue Jan 31 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - DPE-2048 - Flexbox percentage problem fix [#511](https://github.com/mumprod/hr-design-system-handlebars/pull/511) ([@vascoeduardo](https://github.com/vascoeduardo))
6
+
7
+ #### Authors: 1
8
+
9
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
10
+
11
+ ---
12
+
1
13
  # v0.122.1 (Mon Jan 30 2023)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -2477,7 +2477,7 @@ video {
2477
2477
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
2478
2478
  }
2479
2479
  .counter-reset {
2480
- counter-reset: cnt1675088454678;
2480
+ counter-reset: cnt1675161117189;
2481
2481
  }
2482
2482
  .line-clamp-4 {
2483
2483
  overflow: hidden;
@@ -2695,7 +2695,7 @@ video {
2695
2695
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2696
2696
  }
2697
2697
  .-ordered {
2698
- counter-increment: cnt1675088454678 1;
2698
+ counter-increment: cnt1675161117189 1;
2699
2699
  }
2700
2700
  .-ordered::before {
2701
2701
  position: absolute;
@@ -2711,7 +2711,7 @@ video {
2711
2711
  letter-spacing: .0125em;
2712
2712
  --tw-text-opacity: 1;
2713
2713
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2714
- content: counter(cnt1675088454678);
2714
+ content: counter(cnt1675161117189);
2715
2715
  }
2716
2716
  /*! ****************************/
2717
2717
  /*! text-shadow */
@@ -2721,6 +2721,12 @@ video {
2721
2721
  text-shadow: 1px 1px 2px #000000;
2722
2722
  text-shadow: 1px 1px 2px var(--color-text-shadow, #000000);
2723
2723
  }
2724
+ /*! *********************************************************/
2725
+ /*! Prozentuale Breite bei Flexbox bei gleichzeitigem */
2726
+ /*! nutzen von column-gap funktioniert nicht richtig. */
2727
+ /*! Deshalb hier eine übergangslösung dafür. */
2728
+ /*! Langfristig sollten die Teaser auf Grid umgebaut werden */
2729
+ /*! *********************************************************/
2724
2730
  .\[-T\:\+Z\] {
2725
2731
  --t: +Z;
2726
2732
  }
@@ -3937,14 +3943,6 @@ video {
3937
3943
  width: 10rem;
3938
3944
  }
3939
3945
 
3940
- .md\:w-2\/3 {
3941
- width: 66.666667%;
3942
- }
3943
-
3944
- .md\:w-1\/3 {
3945
- width: 33.333333%;
3946
- }
3947
-
3948
3946
  .md\:w-full {
3949
3947
  width: 100%;
3950
3948
  }
@@ -3985,18 +3983,6 @@ video {
3985
3983
  flex: 1 1 auto;
3986
3984
  }
3987
3985
 
3988
- .md\:basis-2\/3 {
3989
- flex-basis: 66.666667%;
3990
- }
3991
-
3992
- .md\:basis-1\/3 {
3993
- flex-basis: 33.333333%;
3994
- }
3995
-
3996
- .md\:basis-1\/2 {
3997
- flex-basis: 50%;
3998
- }
3999
-
4000
3986
  .md\:basis-full {
4001
3987
  flex-basis: 100%;
4002
3988
  }
@@ -4017,9 +4003,9 @@ video {
4017
4003
  row-gap: 3.5rem;
4018
4004
  }
4019
4005
 
4020
- .md\:gap-x-4 {
4021
- -moz-column-gap: 1rem;
4022
- column-gap: 1rem;
4006
+ .md\:gap-x-6 {
4007
+ -moz-column-gap: 1.5rem;
4008
+ column-gap: 1.5rem;
4023
4009
  }
4024
4010
 
4025
4011
  .md\:overflow-visible {
@@ -4235,7 +4221,21 @@ video {
4235
4221
  .md\:col-main {
4236
4222
  grid-column: main;
4237
4223
  }
4238
-
4224
+ .md\:basis-1\/3-gap-6 {
4225
+ --gap: 1.5rem;
4226
+ width:calc((100% - (2 * var(--gap))) / 3 ) ;
4227
+ flex-basis:calc((100% - (2 * var(--gap))) / 3 )
4228
+ }
4229
+ .md\:basis-2\/3-gap-6 {
4230
+ --gap: 1.5rem;
4231
+ width:calc((((100% - (2 * var(--gap))) / 3 ) * 2) + var(--gap));
4232
+ flex-basis:calc((((100% - (2 * var(--gap))) / 3 ) * 2) + var(--gap))
4233
+ }
4234
+ .md\:basis-1\/2-gap-6 {
4235
+ --gap: 1.5rem;
4236
+ width:calc((100% - var(--gap)) / 2 );
4237
+ flex-basis:calc((100% - var(--gap)) / 2 )
4238
+ }
4239
4239
  .md\:first-of-type\:pt-0:first-of-type {
4240
4240
  padding-top: 0px;
4241
4241
  }
@@ -4439,14 +4439,6 @@ video {
4439
4439
  width: 50%;
4440
4440
  }
4441
4441
 
4442
- .lg\:w-1\/3 {
4443
- width: 33.333333%;
4444
- }
4445
-
4446
- .lg\:w-2\/3 {
4447
- width: 66.666667%;
4448
- }
4449
-
4450
4442
  .lg\:w-42 {
4451
4443
  width: 10.5rem;
4452
4444
  }
@@ -4467,14 +4459,6 @@ video {
4467
4459
  flex: 0 1 auto;
4468
4460
  }
4469
4461
 
4470
- .lg\:basis-1\/3 {
4471
- flex-basis: 33.333333%;
4472
- }
4473
-
4474
- .lg\:basis-2\/3 {
4475
- flex-basis: 66.666667%;
4476
- }
4477
-
4478
4462
  .lg\:flex-row {
4479
4463
  flex-direction: row;
4480
4464
  }
@@ -4682,44 +4666,44 @@ video {
4682
4666
  .lg\:col-main {
4683
4667
  grid-column: main;
4684
4668
  }
4685
-
4669
+ .lg\:basis-1\/3-gap-6 {
4670
+ --gap: 1.5rem;
4671
+ width:calc((100% - (2 * var(--gap))) / 3 ) ;
4672
+ flex-basis:calc((100% - (2 * var(--gap))) / 3 )
4673
+ }
4674
+ .lg\:basis-2\/3-gap-6 {
4675
+ --gap: 1.5rem;
4676
+ width:calc((((100% - (2 * var(--gap))) / 3 ) * 2) + var(--gap));
4677
+ flex-basis:calc((((100% - (2 * var(--gap))) / 3 ) * 2) + var(--gap))
4678
+ }
4686
4679
  .first\:lg\:-ml-4:first-child {
4687
4680
  margin-left: -1rem;
4688
4681
  }
4689
-
4690
4682
  .lg\:first\:border-t-0:first-child {
4691
4683
  border-top-width: 0px;
4692
4684
  }
4693
-
4694
4685
  .lg\:first\:pl-0:first-child {
4695
4686
  padding-left: 0px;
4696
4687
  }
4697
-
4698
4688
  .lg\:first\:font-normal:first-child {
4699
4689
  font-weight: 400;
4700
4690
  }
4701
-
4702
4691
  .lg\:last\:border-0:last-child {
4703
4692
  border-width: 0px;
4704
4693
  }
4705
-
4706
4694
  .lg\:odd\:pr-4:nth-child(odd) {
4707
4695
  padding-right: 1rem;
4708
4696
  }
4709
-
4710
4697
  .lg\:even\:pl-4:nth-child(even) {
4711
4698
  padding-left: 1rem;
4712
4699
  }
4713
-
4714
4700
  .lg\:first-of-type\:pl-0:first-of-type {
4715
4701
  padding-left: 0px;
4716
4702
  }
4717
-
4718
4703
  .lg\:hover\:underline:hover {
4719
4704
  -webkit-text-decoration-line: underline;
4720
4705
  text-decoration-line: underline;
4721
4706
  }
4722
-
4723
4707
  .lg\:after\:relative::after {
4724
4708
  position: relative;
4725
4709
  }
@@ -1,4 +1,4 @@
1
- <article class="mx-5 md:mx-0 col-span-12 grid bg-highlight-1 rounded-tl-hr rounded-br-hr {{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}} ">
1
+ <article class="mx-5 md:mx-0 col-span-12 grid bg-highlight-1 rounded-tl-hr rounded-br-hr{{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}} ">
2
2
  <div class="">
3
3
  <h2 class="flex items-center px-5 py-5 text-clusterTeaserHeadline">
4
4
  {{#if this.teaserLogo}}
@@ -1,13 +1,13 @@
1
- <div class="flex flex-col {{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.realTeaserSize '["100"]' '[" md:flex-row md:gap-x-4"]'}}{{~/if~}}">
1
+ <div class="flex flex-col {{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.realTeaserSize '["100"]' '[" md:flex-row md:gap-x-6"]'}}{{~/if~}}">
2
2
  {{~#if this.showGenreImage}}
3
- <div class="pb-5{{~inline-switch this.realTeaserSize '["100"]' '[" md:basis-1/2 lg:basis-1/3 md:w-1/2 lg:w-1/3 md:ar-1-1 md:pl-5"]'}}">
3
+ <div class="pb-5{{~inline-switch this.realTeaserSize '["100"]' '[" md:basis-1/2-gap-6 lg:basis-1/3-gap-6 md:ar-1-1 md:pl-5"]'}}">
4
4
  {{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=this.aspectRatio ~}}
5
5
  </div>
6
6
  {{~/if~}}
7
7
  {{~#if this.showFirstImage}}
8
8
  {{~#with this.firstEntry~}}
9
9
  {{~#if this.teaserImage}}
10
- <div class="pb-3{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:basis-1/2 lg:basis-1/3 md:w-1/2 lg:w-1/3 md:pl-5"]'}}">
10
+ <div class="pb-3{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:basis-1/2-gap-6 lg:basis-1/3-gap-6 md:pl-5"]'}}">
11
11
  {{~> components/base/image/responsive_image this.teaserImage _type=../this.teaserType _variant=../this.imageVariant _addClass=../this.aspectRatio ~}}
12
12
  <div class="mx-5 mt-3{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:mx-0"]'}}">
13
13
  {{> components/teaser/cluster/teaser_cluster_item _size=../this.realTeaserSize _ordered=../this.isOrdered _firstItem=true}}
@@ -18,9 +18,9 @@
18
18
  {{/if~}}
19
19
  {{~#with this.clusterTeaserItems}}
20
20
  {{~#if ../this.isOrdered}}
21
- <ol class="mx-5 list-none divide-y divide-white divide-solid counter-reset border-t border-white{{~#if ../this.showFirstImageOrGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:mx-0 md:pr-5 md:border-none md:basis-1/2 lg:basis-2/3 md:w-1/2 lg:w-1/3"]'}}{{/if~}}">
21
+ <ol class="mx-5 list-none divide-y divide-white divide-solid counter-reset border-t border-white{{~#if ../this.showFirstImageOrGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:mx-0 md:pr-5 md:border-none md:basis-1/2-gap-6 lg:basis-2/3-gap-6"]'}}{{/if~}}">
22
22
  {{else}}
23
- <ul class="mx-5 divide-y divide-white divide-solid border-t border-white {{~#if ../this.showFirstImageOrGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:mx-0 md:pr-5 md:border-none md:basis-1/2 lg:basis-2/3 md:w-1/2 lg:w-2/3"]'}}{{/if~}}">
23
+ <ul class="mx-5 divide-y divide-white divide-solid border-t border-white {{~#if ../this.showFirstImageOrGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:mx-0 md:pr-5 md:border-none md:basis-1/2-gap-6 lg:basis-2/3-gap-6"]'}}{{/if~}}">
24
24
  {{/if}}
25
25
  {{~#each this~}}
26
26
  <li class="{{~#if ../../this.isOrdered}}-ordered{{/if}} py-3{{#unless ../../this.overviewLink.link}} last-of-type:pb-3{{/unless~}}{{~#if ../../this.showFirstImageOrGenreImage}}{{~inline-switch ../../this.teaserSize '["100"]' '[" md:first-of-type:pt-0"]'}}{{/if~}}">
@@ -1,18 +1,18 @@
1
- <article class="items-start relative col-span-12 flex md:flex-row gap-y-3 gap-x-4 sm:px-0{{#unless this.isEvent}}{{~inline-switch this.teaserSize '["hero","100","50"]' '[" flex-col"," px-5 md:flex-row"," md:col-span-6 px-5 md:flex-row"]'~}}{{else}} items-start flex-col{{/unless}}"
1
+ <article class="items-start relative col-span-12 flex md:flex-row gap-y-3 gap-x-4 md:gap-x-6 sm:px-0{{#unless this.isEvent}}{{~inline-switch this.teaserSize '["hero","100","50"]' '[" flex-col"," px-5 md:flex-row"," md:col-span-6 px-5 md:flex-row"]'~}}{{else}} items-start flex-col{{/unless}}"
2
2
  x-data="{ avStart: false }"
3
3
  {{#if this.isMobile1to1}}
4
4
  :class="avStart ? 'flex-col' : 'flex-row'"
5
5
  {{/if}}
6
6
  >
7
7
  {{#if this.teaserImage}}
8
- <figure class="relative {{~inline-switch this.realTeaserSize '["hero","100","50"]' '[" basis-full w-full md:basis-2/3 md:w-2/3 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 w-2/5 md:basis-1/3 md:w-1/3"," ar-1-1 md:ar-16-9 basis-2/5 w-2/5 md:basis-1/2 md:w-1/2"]'~}}"
8
+ <figure class="relative {{~inline-switch this.realTeaserSize '["hero","100","50"]' '[" basis-full w-full md:basis-2/3-gap-6 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 w-2/5 md:basis-1/3-gap-6"," ar-1-1 md:ar-16-9 basis-2/5 w-2/5 md:basis-1/2-gap-6"]'~}}"
9
9
  {{#if this.isMobile1to1}}
10
10
  :class="{'ar-16-9 basis-full w-full' : avStart, 'ar-1-1 basis-2/5 w-2/5': !avStart}"
11
11
  {{/if}}
12
12
  >
13
13
  {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.realTeaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.realTeaserSize '["hero"]' '["ar-16-9","ar-1-1 md:ar-16-9"]') }}
14
14
  </figure>
15
- {{> components/teaser/components/teaser_body _outerCssClasses=(inline-switch this.realTeaserSize '["hero","100","50"]' '["basis-full w-full md:basis-1/3 md:w-1/3"," basis-3/5 w-3/5 md:basis-2/3 md:w-2/3"," basis-3/5 w-3/5 md:basis-1/2 md:w-1/2"]') }}
15
+ {{> components/teaser/components/teaser_body _outerCssClasses=(inline-switch this.realTeaserSize '["hero","100","50"]' '["basis-full w-full md:basis-1/3-gap-6"," basis-3/5 w-3/5 md:basis-2/3-gap-6"," basis-3/5 w-3/5 md:basis-1/2-gap-6"]') }}
16
16
  {{else}}
17
17
  {{> components/teaser/components/teaser_body _outerCssClasses="basis-full" }}
18
18
  {{/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": "0.122.1",
9
+ "version": "0.122.2",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -105,4 +105,64 @@
105
105
  --color-text-shadow: theme('colors.black.DEFAULT');
106
106
  text-shadow: 1px 1px 2px var(--color-text-shadow, theme('colors.black.DEFAULT'));
107
107
  }
108
+
109
+ /*! *********************************************************/
110
+ /*! Prozentuale Breite bei Flexbox bei gleichzeitigem */
111
+ /*! nutzen von column-gap funktioniert nicht richtig. */
112
+ /*! Deshalb hier eine übergangslösung dafür. */
113
+ /*! Langfristig sollten die Teaser auf Grid umgebaut werden */
114
+ /*! *********************************************************/
115
+
116
+ .basis-1\/3-gap-4 {
117
+ --gap: 1rem;
118
+ width:calc((100% - (2 * var(--gap))) / 3 );
119
+ flex-basis:calc((100% - (2 * var(--gap))) / 3 )
120
+ }
121
+ .basis-2\/3-gap-4 {
122
+ --gap: 1rem;
123
+ width:calc((((100% - (2 * var(--gap))) / 3 ) * 2) + var(--gap));
124
+ flex-basis:calc((((100% - (2 * var(--gap))) / 3 ) * 2) + var(--gap))
125
+ }
126
+ .basis-1\/2-gap-4 {
127
+ --gap: 1rem;
128
+ width:calc((100% - var(--gap)) / 2 ) ;
129
+ flex-basis:calc((100% - var(--gap)) / 2 )
130
+ }
131
+ .basis-1\/4-gap-4 {
132
+ --gap: 1rem;
133
+ width:calc((100% - (4 * var(--gap))) / 4 ) ;
134
+ flex-basis:calc((100% - (4 * var(--gap))) / 4 )
135
+ }
136
+
137
+ .basis-3\/4-gap-4 {
138
+ --gap: 1rem;
139
+ width:calc((((100% - (4 * var(--gap))) / 4 ) * 3) + var(--gap));
140
+ flex-basis:calc((((100% - (4 * var(--gap))) / 4 ) * 3) + var(--gap))
141
+ }
142
+ .basis-1\/3-gap-6 {
143
+ --gap: 1.5rem;
144
+ width:calc((100% - (2 * var(--gap))) / 3 ) ;
145
+ flex-basis:calc((100% - (2 * var(--gap))) / 3 )
146
+ }
147
+ .basis-2\/3-gap-6 {
148
+ --gap: 1.5rem;
149
+ width:calc((((100% - (2 * var(--gap))) / 3 ) * 2) + var(--gap));
150
+ flex-basis:calc((((100% - (2 * var(--gap))) / 3 ) * 2) + var(--gap))
151
+ }
152
+ .basis-1\/2-gap-6 {
153
+ --gap: 1.5rem;
154
+ width:calc((100% - var(--gap)) / 2 );
155
+ flex-basis:calc((100% - var(--gap)) / 2 )
156
+ }
157
+ .basis-1\/4-gap-6 {
158
+ --gap: 1.5rem;
159
+ width:calc((100% - (4 * var(--gap))) / 4 );
160
+ flex-basis:calc((100% - (4 * var(--gap))) / 4 )
161
+ }
162
+ .basis-3\/4-gap-6 {
163
+ --gap: 1.5rem;
164
+ width:calc((((100% - (4 * var(--gap))) / 4 ) * 3) + var(--gap));
165
+ flex-basis:calc((((100% - (4 * var(--gap))) / 4 ) * 3) + var(--gap))
166
+ }
167
+
108
168
  }
@@ -1,4 +1,4 @@
1
- <article class="mx-5 md:mx-0 col-span-12 grid bg-highlight-1 rounded-tl-hr rounded-br-hr {{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}} ">
1
+ <article class="mx-5 md:mx-0 col-span-12 grid bg-highlight-1 rounded-tl-hr rounded-br-hr{{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}} ">
2
2
  <div class="">
3
3
  <h2 class="flex items-center px-5 py-5 text-clusterTeaserHeadline">
4
4
  {{#if this.teaserLogo}}
@@ -1,13 +1,13 @@
1
- <div class="flex flex-col {{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.realTeaserSize '["100"]' '[" md:flex-row md:gap-x-4"]'}}{{~/if~}}">
1
+ <div class="flex flex-col {{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.realTeaserSize '["100"]' '[" md:flex-row md:gap-x-6"]'}}{{~/if~}}">
2
2
  {{~#if this.showGenreImage}}
3
- <div class="pb-5{{~inline-switch this.realTeaserSize '["100"]' '[" md:basis-1/2 lg:basis-1/3 md:w-1/2 lg:w-1/3 md:ar-1-1 md:pl-5"]'}}">
3
+ <div class="pb-5{{~inline-switch this.realTeaserSize '["100"]' '[" md:basis-1/2-gap-6 lg:basis-1/3-gap-6 md:ar-1-1 md:pl-5"]'}}">
4
4
  {{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=this.aspectRatio ~}}
5
5
  </div>
6
6
  {{~/if~}}
7
7
  {{~#if this.showFirstImage}}
8
8
  {{~#with this.firstEntry~}}
9
9
  {{~#if this.teaserImage}}
10
- <div class="pb-3{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:basis-1/2 lg:basis-1/3 md:w-1/2 lg:w-1/3 md:pl-5"]'}}">
10
+ <div class="pb-3{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:basis-1/2-gap-6 lg:basis-1/3-gap-6 md:pl-5"]'}}">
11
11
  {{~> components/base/image/responsive_image this.teaserImage _type=../this.teaserType _variant=../this.imageVariant _addClass=../this.aspectRatio ~}}
12
12
  <div class="mx-5 mt-3{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:mx-0"]'}}">
13
13
  {{> components/teaser/cluster/teaser_cluster_item _size=../this.realTeaserSize _ordered=../this.isOrdered _firstItem=true}}
@@ -18,9 +18,9 @@
18
18
  {{/if~}}
19
19
  {{~#with this.clusterTeaserItems}}
20
20
  {{~#if ../this.isOrdered}}
21
- <ol class="mx-5 list-none divide-y divide-white divide-solid counter-reset border-t border-white{{~#if ../this.showFirstImageOrGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:mx-0 md:pr-5 md:border-none md:basis-1/2 lg:basis-2/3 md:w-1/2 lg:w-1/3"]'}}{{/if~}}">
21
+ <ol class="mx-5 list-none divide-y divide-white divide-solid counter-reset border-t border-white{{~#if ../this.showFirstImageOrGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:mx-0 md:pr-5 md:border-none md:basis-1/2-gap-6 lg:basis-2/3-gap-6"]'}}{{/if~}}">
22
22
  {{else}}
23
- <ul class="mx-5 divide-y divide-white divide-solid border-t border-white {{~#if ../this.showFirstImageOrGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:mx-0 md:pr-5 md:border-none md:basis-1/2 lg:basis-2/3 md:w-1/2 lg:w-2/3"]'}}{{/if~}}">
23
+ <ul class="mx-5 divide-y divide-white divide-solid border-t border-white {{~#if ../this.showFirstImageOrGenreImage}}{{~inline-switch ../this.teaserSize '["100"]' '[" md:-pt-5 md:mx-0 md:pr-5 md:border-none md:basis-1/2-gap-6 lg:basis-2/3-gap-6"]'}}{{/if~}}">
24
24
  {{/if}}
25
25
  {{~#each this~}}
26
26
  <li class="{{~#if ../../this.isOrdered}}-ordered{{/if}} py-3{{#unless ../../this.overviewLink.link}} last-of-type:pb-3{{/unless~}}{{~#if ../../this.showFirstImageOrGenreImage}}{{~inline-switch ../../this.teaserSize '["100"]' '[" md:first-of-type:pt-0"]'}}{{/if~}}">
@@ -1,18 +1,18 @@
1
- <article class="items-start relative col-span-12 flex md:flex-row gap-y-3 gap-x-4 sm:px-0{{#unless this.isEvent}}{{~inline-switch this.teaserSize '["hero","100","50"]' '[" flex-col"," px-5 md:flex-row"," md:col-span-6 px-5 md:flex-row"]'~}}{{else}} items-start flex-col{{/unless}}"
1
+ <article class="items-start relative col-span-12 flex md:flex-row gap-y-3 gap-x-4 md:gap-x-6 sm:px-0{{#unless this.isEvent}}{{~inline-switch this.teaserSize '["hero","100","50"]' '[" flex-col"," px-5 md:flex-row"," md:col-span-6 px-5 md:flex-row"]'~}}{{else}} items-start flex-col{{/unless}}"
2
2
  x-data="{ avStart: false }"
3
3
  {{#if this.isMobile1to1}}
4
4
  :class="avStart ? 'flex-col' : 'flex-row'"
5
5
  {{/if}}
6
6
  >
7
7
  {{#if this.teaserImage}}
8
- <figure class="relative {{~inline-switch this.realTeaserSize '["hero","100","50"]' '[" basis-full w-full md:basis-2/3 md:w-2/3 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 w-2/5 md:basis-1/3 md:w-1/3"," ar-1-1 md:ar-16-9 basis-2/5 w-2/5 md:basis-1/2 md:w-1/2"]'~}}"
8
+ <figure class="relative {{~inline-switch this.realTeaserSize '["hero","100","50"]' '[" basis-full w-full md:basis-2/3-gap-6 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 w-2/5 md:basis-1/3-gap-6"," ar-1-1 md:ar-16-9 basis-2/5 w-2/5 md:basis-1/2-gap-6"]'~}}"
9
9
  {{#if this.isMobile1to1}}
10
10
  :class="{'ar-16-9 basis-full w-full' : avStart, 'ar-1-1 basis-2/5 w-2/5': !avStart}"
11
11
  {{/if}}
12
12
  >
13
13
  {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.realTeaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.realTeaserSize '["hero"]' '["ar-16-9","ar-1-1 md:ar-16-9"]') }}
14
14
  </figure>
15
- {{> components/teaser/components/teaser_body _outerCssClasses=(inline-switch this.realTeaserSize '["hero","100","50"]' '["basis-full w-full md:basis-1/3 md:w-1/3"," basis-3/5 w-3/5 md:basis-2/3 md:w-2/3"," basis-3/5 w-3/5 md:basis-1/2 md:w-1/2"]') }}
15
+ {{> components/teaser/components/teaser_body _outerCssClasses=(inline-switch this.realTeaserSize '["hero","100","50"]' '["basis-full w-full md:basis-1/3-gap-6"," basis-3/5 w-3/5 md:basis-2/3-gap-6"," basis-3/5 w-3/5 md:basis-1/2-gap-6"]') }}
16
16
  {{else}}
17
17
  {{> components/teaser/components/teaser_body _outerCssClasses="basis-full" }}
18
18
  {{/if}}