hr-design-system-handlebars 0.53.1 → 0.54.0
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 +37 -0
- package/build/helpers/loca.js +1 -0
- package/dist/assets/index.css +84 -7
- package/dist/views/components/base/image/responsive_image.hbs +1 -1
- package/dist/views/components/base/load_dynamic.hbs +0 -3
- package/dist/views/components/event/instant_dates.hbs +21 -0
- package/dist/views/components/grid/grid.hbs +2 -2
- package/dist/views/components/grid/grid_group.hbs +9 -3
- package/dist/views/components/grid/grid_group_highlight.hbs +2 -2
- package/dist/views/components/grid/grid_group_standard.hbs +3 -0
- package/dist/views/components/teaser/components/teaser_body.hbs +20 -0
- package/dist/views/components/teaser/components/teaser_image.hbs +10 -1
- package/dist/views/components/teaser/components/teaser_image_overlay.hbs +3 -0
- package/dist/views/components/teaser/group_teaser/group_teaser.hbs +3 -3
- package/dist/views/components/teaser/teaser_alternativ.hbs +2 -19
- package/dist/views/components/teaser/teaser_standard.hbs +11 -21
- package/dist/views/components/teaser/teaser_standard_event.hbs +133 -0
- package/package.json +1 -1
- package/src/assets/fixtures/teaser/teaser_alternative_100_serif_single_event.json +32 -0
- package/src/assets/fixtures/teaser/teaser_alternative_100_serif_two_events.json +36 -0
- package/src/assets/fixtures/teaser/teaser_group_100_highlight.json +10 -0
- package/src/assets/fixtures/teaser/teaser_group_100_highlight_2.json +10 -0
- package/src/assets/fixtures/teaser/teaser_groups.inc.json +3 -2
- package/src/assets/fixtures/teaser/teaser_labels.inc.json +8 -0
- package/src/assets/fixtures/teaser/teaser_standard_100_serif_single_event.json +21 -0
- package/src/assets/fixtures/teaser/teaser_standard_100_serif_two_events.json +25 -0
- package/src/assets/fixtures/teaser/teaser_standard_33_serif_multiple_events.json +42 -0
- package/src/assets/fixtures/teaser/teaser_standard_33_serif_single_event.json +24 -0
- package/src/assets/fixtures/teaser/teaser_standard_33_serif_two_events.json +28 -0
- package/src/assets/fixtures/teaser/teaser_standard_50_serif_single_event.json +17 -0
- package/src/assets/fixtures/teaser/teaser_standard_66_serif_single_event.json +17 -0
- package/src/assets/fixtures/teaser/teasers.inc.json +147 -0
- package/src/stories/views/components/base/image/responsive_image.hbs +1 -1
- package/src/stories/views/components/base/load_dynamic.hbs +0 -3
- package/src/stories/views/components/event/instant_dates.hbs +21 -0
- package/src/stories/views/components/grid/grid.hbs +2 -2
- package/src/stories/views/components/grid/grid_group.hbs +9 -3
- package/src/stories/views/components/grid/grid_group_highlight.hbs +2 -2
- package/src/stories/views/components/grid/grid_group_standard.hbs +3 -0
- package/src/stories/views/components/teaser/components/teaser_body.hbs +20 -0
- package/src/stories/views/components/teaser/components/teaser_image.hbs +10 -1
- package/src/stories/views/components/teaser/components/teaser_image_overlay.hbs +3 -0
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif copy.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_audio.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_download.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_event.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_live.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_single_event copy.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_single_event.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_two_events.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_video.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_audio.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_download.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_live.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_video.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_audio.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_comments.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_label.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_live.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_video.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_cluster.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_comments_without_teaserinfo.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_group_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight_2.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_index.json +4979 -1
- package/src/stories/views/components/teaser/fixtures/teaser_poster_lg.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_poster_md.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_poster_md_label.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_download.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_single_event.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_two_events.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_audio.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_live.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_video.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_multiple_events.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_single_event.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_tabbox.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_two_events.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_audio.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_download.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_live.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_single_event.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_tabbox.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_video.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_66_serif_single_event.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_comments.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_label.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_tabbox.json +1 -1
- package/src/stories/views/components/teaser/group_teaser/group.stories.mdx +15 -11
- package/src/stories/views/components/teaser/group_teaser/group_teaser.hbs +3 -3
- package/src/stories/views/components/teaser/teaser_alternativ.hbs +2 -19
- package/src/stories/views/components/teaser/teaser_standard.hbs +11 -21
- package/src/stories/views/components/teaser/teaser_standard_event.hbs +133 -0
- package/src/stories/views/components/teaser/teaser_standard_event.stories.mdx +139 -0
- package/tailwind.config.js +2 -0
- package/dist/views/components/teaser/group_teaser/group_highlight.hbs +0 -10
- package/src/stories/views/components/teaser/group_teaser/group_highlight.hbs +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,40 @@
|
|
|
1
|
+
# v0.54.0 (Mon Aug 15 2022)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Dpe 1673 [#296](https://github.com/mumprod/hr-design-system-handlebars/pull/296) ([@Sunny1112358](https://github.com/Sunny1112358) [@szuelch](https://github.com/szuelch))
|
|
6
|
+
|
|
7
|
+
#### Authors: 2
|
|
8
|
+
|
|
9
|
+
- [@Sunny1112358](https://github.com/Sunny1112358)
|
|
10
|
+
- [@szuelch](https://github.com/szuelch)
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# v0.53.3 (Fri Aug 05 2022)
|
|
15
|
+
|
|
16
|
+
#### 🐛 Bug Fix
|
|
17
|
+
|
|
18
|
+
- Dpe 1694 [#295](https://github.com/mumprod/hr-design-system-handlebars/pull/295) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
19
|
+
|
|
20
|
+
#### Authors: 1
|
|
21
|
+
|
|
22
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# v0.53.2 (Thu Aug 04 2022)
|
|
27
|
+
|
|
28
|
+
#### 🐛 Bug Fix
|
|
29
|
+
|
|
30
|
+
- Feature/dpe 1567 [#294](https://github.com/mumprod/hr-design-system-handlebars/pull/294) ([@szuelch](https://github.com/szuelch))
|
|
31
|
+
|
|
32
|
+
#### Authors: 1
|
|
33
|
+
|
|
34
|
+
- [@szuelch](https://github.com/szuelch)
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
1
38
|
# v0.53.1 (Thu Aug 04 2022)
|
|
2
39
|
|
|
3
40
|
#### 🐛 Bug Fix
|
package/build/helpers/loca.js
CHANGED
package/dist/assets/index.css
CHANGED
|
@@ -827,6 +827,9 @@ video {
|
|
|
827
827
|
.h-5 {
|
|
828
828
|
height: 1.25rem;
|
|
829
829
|
}
|
|
830
|
+
.h-2\/5 {
|
|
831
|
+
height: 40%;
|
|
832
|
+
}
|
|
830
833
|
.h-auto {
|
|
831
834
|
height: auto;
|
|
832
835
|
}
|
|
@@ -1075,6 +1078,9 @@ video {
|
|
|
1075
1078
|
.gap-y-5 {
|
|
1076
1079
|
row-gap: 1.25rem;
|
|
1077
1080
|
}
|
|
1081
|
+
.gap-y-4 {
|
|
1082
|
+
row-gap: 1rem;
|
|
1083
|
+
}
|
|
1078
1084
|
.divide-y > :not([hidden]) ~ :not([hidden]) {
|
|
1079
1085
|
--tw-divide-y-reverse: 0;
|
|
1080
1086
|
border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
|
|
@@ -1147,6 +1153,16 @@ video {
|
|
|
1147
1153
|
.border-0 {
|
|
1148
1154
|
border-width: 0px;
|
|
1149
1155
|
}
|
|
1156
|
+
.border-x {
|
|
1157
|
+
border-left-width: 1px;
|
|
1158
|
+
border-right-width: 1px;
|
|
1159
|
+
}
|
|
1160
|
+
.border-r {
|
|
1161
|
+
border-right-width: 1px;
|
|
1162
|
+
}
|
|
1163
|
+
.border-l-2 {
|
|
1164
|
+
border-left-width: 2px;
|
|
1165
|
+
}
|
|
1150
1166
|
.border-b {
|
|
1151
1167
|
border-bottom-width: 1px;
|
|
1152
1168
|
}
|
|
@@ -1159,8 +1175,11 @@ video {
|
|
|
1159
1175
|
.border-t {
|
|
1160
1176
|
border-top-width: 1px;
|
|
1161
1177
|
}
|
|
1162
|
-
.border-
|
|
1163
|
-
border-
|
|
1178
|
+
.border-dashed {
|
|
1179
|
+
border-style: dashed;
|
|
1180
|
+
}
|
|
1181
|
+
.border-dotted {
|
|
1182
|
+
border-style: dotted;
|
|
1164
1183
|
}
|
|
1165
1184
|
.border-white {
|
|
1166
1185
|
--tw-border-opacity: 1;
|
|
@@ -1174,6 +1193,14 @@ video {
|
|
|
1174
1193
|
border-color: #006dc1;
|
|
1175
1194
|
border-color: var(--color-topline);
|
|
1176
1195
|
}
|
|
1196
|
+
.border-gray-400 {
|
|
1197
|
+
--tw-border-opacity: 1;
|
|
1198
|
+
border-color: rgba(156, 163, 175, var(--tw-border-opacity));
|
|
1199
|
+
}
|
|
1200
|
+
.border-slate-600 {
|
|
1201
|
+
--tw-border-opacity: 1;
|
|
1202
|
+
border-color: rgba(71, 85, 105, var(--tw-border-opacity));
|
|
1203
|
+
}
|
|
1177
1204
|
.border-gray-200 {
|
|
1178
1205
|
--tw-border-opacity: 1;
|
|
1179
1206
|
border-color: rgba(229, 231, 235, var(--tw-border-opacity));
|
|
@@ -1209,6 +1236,14 @@ video {
|
|
|
1209
1236
|
--tw-bg-opacity: 1;
|
|
1210
1237
|
background-color: rgba(107, 114, 128, var(--tw-bg-opacity));
|
|
1211
1238
|
}
|
|
1239
|
+
.bg-grey-alto {
|
|
1240
|
+
--tw-bg-opacity: 1;
|
|
1241
|
+
background-color: rgba(224, 224, 224, var(--tw-bg-opacity));
|
|
1242
|
+
}
|
|
1243
|
+
.bg-orange-bridesmaid {
|
|
1244
|
+
--tw-bg-opacity: 1;
|
|
1245
|
+
background-color: rgba(252, 242, 237, var(--tw-bg-opacity));
|
|
1246
|
+
}
|
|
1212
1247
|
.bg-blue-400 {
|
|
1213
1248
|
--tw-bg-opacity: 1;
|
|
1214
1249
|
background-color: rgba(96, 165, 250, var(--tw-bg-opacity));
|
|
@@ -1260,6 +1295,10 @@ video {
|
|
|
1260
1295
|
--tw-bg-opacity: 1;
|
|
1261
1296
|
background-color: rgba(31, 41, 55, var(--tw-bg-opacity));
|
|
1262
1297
|
}
|
|
1298
|
+
.bg-neutral-200 {
|
|
1299
|
+
--tw-bg-opacity: 1;
|
|
1300
|
+
background-color: rgba(229, 229, 229, var(--tw-bg-opacity));
|
|
1301
|
+
}
|
|
1263
1302
|
.bg-\[\#dce8f0\] {
|
|
1264
1303
|
--tw-bg-opacity: 1;
|
|
1265
1304
|
background-color: rgba(220, 232, 240, var(--tw-bg-opacity));
|
|
@@ -1282,6 +1321,11 @@ video {
|
|
|
1282
1321
|
--tw-gradient-to: rgba(0, 0, 0, 0);
|
|
1283
1322
|
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1284
1323
|
}
|
|
1324
|
+
.from-white {
|
|
1325
|
+
--tw-gradient-from: #fff;
|
|
1326
|
+
--tw-gradient-to: rgba(255, 255, 255, 0);
|
|
1327
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1328
|
+
}
|
|
1285
1329
|
.to-purple-100 {
|
|
1286
1330
|
--tw-gradient-to: #f3e8ff;
|
|
1287
1331
|
}
|
|
@@ -1362,6 +1406,10 @@ video {
|
|
|
1362
1406
|
padding-left: 0.5rem;
|
|
1363
1407
|
padding-right: 0.5rem;
|
|
1364
1408
|
}
|
|
1409
|
+
.py-4 {
|
|
1410
|
+
padding-top: 1rem;
|
|
1411
|
+
padding-bottom: 1rem;
|
|
1412
|
+
}
|
|
1365
1413
|
.py-1\.5 {
|
|
1366
1414
|
padding-top: 0.375rem;
|
|
1367
1415
|
padding-bottom: 0.375rem;
|
|
@@ -1387,6 +1435,9 @@ video {
|
|
|
1387
1435
|
.pr-2 {
|
|
1388
1436
|
padding-right: 0.5rem;
|
|
1389
1437
|
}
|
|
1438
|
+
.pt-5 {
|
|
1439
|
+
padding-top: 1.25rem;
|
|
1440
|
+
}
|
|
1390
1441
|
.pt-1 {
|
|
1391
1442
|
padding-top: 0.25rem;
|
|
1392
1443
|
}
|
|
@@ -1558,6 +1609,10 @@ video {
|
|
|
1558
1609
|
--tw-text-opacity: 1;
|
|
1559
1610
|
color: rgba(0, 82, 147, var(--tw-text-opacity));
|
|
1560
1611
|
}
|
|
1612
|
+
.text-black {
|
|
1613
|
+
--tw-text-opacity: 1;
|
|
1614
|
+
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
1615
|
+
}
|
|
1561
1616
|
.text-blue-science {
|
|
1562
1617
|
--tw-text-opacity: 1;
|
|
1563
1618
|
color: rgba(0, 109, 193, var(--tw-text-opacity));
|
|
@@ -1620,6 +1675,9 @@ video {
|
|
|
1620
1675
|
.opacity-70 {
|
|
1621
1676
|
opacity: 0.7;
|
|
1622
1677
|
}
|
|
1678
|
+
.opacity-80 {
|
|
1679
|
+
opacity: 0.8;
|
|
1680
|
+
}
|
|
1623
1681
|
.shadow-inner {
|
|
1624
1682
|
--tw-shadow: inset 0 0px 5px 0 rgba(0, 0, 0, 0.25);
|
|
1625
1683
|
--tw-shadow-colored: inset 0 0px 5px 0 var(--tw-shadow-color);
|
|
@@ -2577,6 +2635,10 @@ video {
|
|
|
2577
2635
|
position: static;
|
|
2578
2636
|
}
|
|
2579
2637
|
|
|
2638
|
+
.md\:absolute {
|
|
2639
|
+
position: absolute;
|
|
2640
|
+
}
|
|
2641
|
+
|
|
2580
2642
|
.md\:top-auto {
|
|
2581
2643
|
top: auto;
|
|
2582
2644
|
}
|
|
@@ -2770,21 +2832,32 @@ video {
|
|
|
2770
2832
|
border-color: rgba(255, 255, 255, var(--tw-border-opacity));
|
|
2771
2833
|
}
|
|
2772
2834
|
|
|
2835
|
+
.md\:bg-neutral-200 {
|
|
2836
|
+
--tw-bg-opacity: 1;
|
|
2837
|
+
background-color: rgba(229, 229, 229, var(--tw-bg-opacity));
|
|
2838
|
+
}
|
|
2839
|
+
|
|
2840
|
+
.md\:from-white {
|
|
2841
|
+
--tw-gradient-from: #fff;
|
|
2842
|
+
--tw-gradient-to: rgba(255, 255, 255, 0);
|
|
2843
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2773
2846
|
.md\:px-0 {
|
|
2774
2847
|
padding-left: 0px;
|
|
2775
2848
|
padding-right: 0px;
|
|
2776
2849
|
}
|
|
2777
2850
|
|
|
2778
|
-
.md\:px-5 {
|
|
2779
|
-
padding-left: 1.25rem;
|
|
2780
|
-
padding-right: 1.25rem;
|
|
2781
|
-
}
|
|
2782
|
-
|
|
2783
2851
|
.md\:px-4 {
|
|
2784
2852
|
padding-left: 1rem;
|
|
2785
2853
|
padding-right: 1rem;
|
|
2786
2854
|
}
|
|
2787
2855
|
|
|
2856
|
+
.md\:px-5 {
|
|
2857
|
+
padding-left: 1.25rem;
|
|
2858
|
+
padding-right: 1.25rem;
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2788
2861
|
.md\:px-8 {
|
|
2789
2862
|
padding-left: 2rem;
|
|
2790
2863
|
padding-right: 2rem;
|
|
@@ -2830,6 +2903,10 @@ video {
|
|
|
2830
2903
|
text-decoration-thickness: 2px;
|
|
2831
2904
|
}
|
|
2832
2905
|
|
|
2906
|
+
.md\:opacity-80 {
|
|
2907
|
+
opacity: 0.8;
|
|
2908
|
+
}
|
|
2909
|
+
|
|
2833
2910
|
.md\:drop-shadow-md {
|
|
2834
2911
|
--tw-drop-shadow: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.07));
|
|
2835
2912
|
-webkit-filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</noscript>
|
|
39
39
|
{{/unless}}
|
|
40
40
|
<img {{#with this.sizes}}sizes="{{this}}" {{/with~}}
|
|
41
|
-
loading="{{#if
|
|
41
|
+
loading="{{#if ../../_noDelay}}auto{{else}}lazy{{/if}}"
|
|
42
42
|
{{#with this.srcset}} {{#if ../../../_noDelay}}srcset{{else}}data-srcset{{/if}}="{{this}}"{{/with}}
|
|
43
43
|
src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="
|
|
44
44
|
alt="{{#if ../../_alttext}}{{../../_alttext}}{{else}}{{../../this.alttext}}{{/if}}" class="{{~#with ../../_addClassImg }} {{this}}{{/with}}" {{~#if ../../_errorHandler}} onerror="this.onerror=null; {{../../_errorHandler}}" {{~/if}}>
|
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
{{#case "components/teaser/group_teaser/group_teaser"}}
|
|
6
6
|
{{> components/teaser/group_teaser/group_teaser}}
|
|
7
7
|
{{/case}}
|
|
8
|
-
{{#case "components/teaser/group_teaser/group_highlight"}}
|
|
9
|
-
{{> components/teaser/group_teaser/group_highlight}}
|
|
10
|
-
{{/case}}
|
|
11
8
|
{{#case "components/teaser/tabbox/group_tabbox"}}
|
|
12
9
|
{{> components/teaser/tabbox/group_tabbox}}
|
|
13
10
|
{{/case}}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{{#if this.moreThenOneEvent}}
|
|
2
|
+
{{#with this.firstInstant}}
|
|
3
|
+
<span class='text-2xl font-headingSerif font-bold'>{{this.startDate.day}}</span>
|
|
4
|
+
<span class='text-sm font-headingSerif'>{{this.startDate.monthNameShort}}</span>
|
|
5
|
+
{{/with}}
|
|
6
|
+
{{#if this.moreThenTwoEvents}}
|
|
7
|
+
<span class='text-sm font-headingSerif'>|</span>
|
|
8
|
+
{{else}}
|
|
9
|
+
<span class='text-sm font-headingSerif'>+</span>
|
|
10
|
+
{{/if}}
|
|
11
|
+
{{#with this.lastInstant}}
|
|
12
|
+
<span class='text-2xl font-headingSerif font-bold'>{{this.startDate.day}}</span>
|
|
13
|
+
<span class='text-sm font-headingSerif'>{{this.startDate.monthNameShort}}</span>
|
|
14
|
+
{{/with}}
|
|
15
|
+
{{else}}
|
|
16
|
+
{{#with this.firstInstant}}
|
|
17
|
+
<span class='text-sm font-headingSerif'>{{this.startDate.weekdayNameShort}}</span>
|
|
18
|
+
<span class='text-2xl font-headingSerif font-bold'>{{this.startDate.day}}</span>
|
|
19
|
+
<span class='text-sm font-headingSerif'>{{this.startDate.monthNameShort}}</span>
|
|
20
|
+
{{/with}}
|
|
21
|
+
{{/if}}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
</a>
|
|
12
12
|
{{/components/grid/grid_item}}
|
|
13
13
|
{{/components/grid/grid_group}}
|
|
14
|
-
{{#>components/grid/
|
|
14
|
+
{{#>components/grid/grid_group _backgroundColor="1"}}
|
|
15
15
|
<h2 class="text-4xl headline--barrier col-span-full">Gruppen 100% mit blauen Hintergrung bis Rand</h2>
|
|
16
16
|
{{#>components/grid/grid_item _size="6"}}
|
|
17
17
|
<div class="flex items-center justify-center text-5xl text-white bg-gray-500 aspect-video">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
6/12 = 50%
|
|
24
24
|
</div>
|
|
25
25
|
{{/components/grid/grid_item}}
|
|
26
|
-
{{/components/grid/
|
|
26
|
+
{{/components/grid/grid_group}}
|
|
27
27
|
|
|
28
28
|
{{#>components/grid/grid_group _size="100"}}
|
|
29
29
|
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
{{
|
|
3
|
-
|
|
1
|
+
{{~#if _backgroundColor}}
|
|
2
|
+
{{#>components/grid/grid_group_highlight _backgroundColor=this.backgroundColor }}
|
|
3
|
+
{{> @partial-block }}
|
|
4
|
+
{{/components/grid/grid_group_highlight }}
|
|
5
|
+
{{else}}
|
|
6
|
+
{{#>components/grid/grid_group_standard _size=this.teaserSize }}
|
|
7
|
+
{{> @partial-block }}
|
|
8
|
+
{{/components/grid/grid_group_standard }}
|
|
9
|
+
{{/if}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
</div>
|
|
2
|
-
<div class="grid
|
|
3
|
-
<section class="grid grid-cols-12
|
|
2
|
+
<div class="grid col-full grid-page {{inline-switch _backgroundColor '["1","2"]' '[" bg-grey-alto"," bg-orange-bridesmaid"]'}}">
|
|
3
|
+
<section class="grid grid-cols-12 py-6 sm:px-8 col-full sm:col-main gap-x-6 gap-y-9">
|
|
4
4
|
<div class="grid content-start grid-cols-12 col-span-12 gap-x-6 gap-y-6">
|
|
5
5
|
{{> @partial-block }}
|
|
6
6
|
</div>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<div class="{{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}{{#if _outerCssClasses}} {{_outerCssClasses}}{{/if}}">
|
|
2
|
+
<header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
3
|
+
{{#>components/base/link _css="hover:text-toplineColor" _doTracking=(if this.doTracking 'true') _clickLabelPrefix1=this.teaserSize _clickLabelPrefix2="headlineLink" }}
|
|
4
|
+
{{> components/teaser/components/teaser_heading
|
|
5
|
+
_fontVariant=this.headingFontVariant
|
|
6
|
+
_headlineTag=this.headlineTag
|
|
7
|
+
_label=this.label
|
|
8
|
+
_readMore=this.link.readMoreText.readMoreScreenreader
|
|
9
|
+
_size=this.teaserSize
|
|
10
|
+
_title=this.title
|
|
11
|
+
_topline=this.topline
|
|
12
|
+
_teaserType=this.teaserType
|
|
13
|
+
_isMobile1to1=this.isMobile1to1}}
|
|
14
|
+
{{/components/base/link}}
|
|
15
|
+
</header>
|
|
16
|
+
<div class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
17
|
+
{{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize _cssClasses=_teaserTextCssClasses }}
|
|
18
|
+
{{> components/teaser/components/teaser_byline}}
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
{{#>components/base/link _isAriaHidden=true _doTracking=(if this.doTracking 'true') _clickLabelPrefix1=this.teaserSize _clickLabelPrefix2="mediaLink" }}
|
|
2
2
|
{{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.imageVariant _noDelay=../this.dontLazyload _addClassImg="" ~}}
|
|
3
|
-
{{/components/base/link}}
|
|
3
|
+
{{/components/base/link}}
|
|
4
|
+
{{#if this.isEvent}}
|
|
5
|
+
{{#unless this.displayTeaserBodyAsImageOverlay}}
|
|
6
|
+
{{#>components/teaser/components/teaser_image_overlay _cssClasses="top-0 h-full"}}
|
|
7
|
+
<div class="flex flex-col items-center justify-center p-4">
|
|
8
|
+
{{> components/event/instant_dates}}
|
|
9
|
+
</div>
|
|
10
|
+
{{/components/teaser/components/teaser_image_overlay}}
|
|
11
|
+
{{/unless}}
|
|
12
|
+
{{/if}}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<div class="{{#unless _noOverlayInMobileViewports}}absolute bg-gradient-to-t from-white bg-neutral-200 opacity-80{{else}}relative border-x border-b border-gray-400 md:border-0 md:absolute md:from-white md:bg-neutral-200 md:opacity-80{{/unless}} flex justify-center{{#if _cssClasses}} {{_cssClasses}}{{/if}}" aria-hidden="true">
|
|
2
|
+
{{> @partial-block }}
|
|
3
|
+
</div>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{{#>components/grid/grid_group size=this.teaserSize }}
|
|
1
|
+
{{#>components/grid/grid_group size=this.teaserSize _backgroundColor=this.backgroundColor }}
|
|
2
2
|
{{~#if this.hasGroupTitle}}
|
|
3
|
-
<h2 class="text-
|
|
3
|
+
<h2 class="text-4xl col-span-full py-4 font-headingSerif{{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
|
|
4
4
|
{{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-blue-science" href="{{this.link.url}}">{{/if~}}
|
|
5
5
|
{{this.groupTitle}}
|
|
6
6
|
{{~#if this.hasLink}}</a>{{/if~}}
|
|
7
7
|
</h2>
|
|
8
8
|
{{/if}}
|
|
9
9
|
{{~> components/teaser/teaser_logic/teaser_logic ~}}
|
|
10
|
-
{{/components/grid/grid_group}}
|
|
10
|
+
{{/components/grid/grid_group}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<article class="col-span-12 flex md:flex-row gap-y-3 gap-x-4 md:px-0{{~inline-switch this.teaserSize '["hero","100","50"]' '[" flex-col"," px-5 md:flex-row"," md:col-span-6 px-5 md:flex-row"]'~}}"
|
|
1
|
+
<article class="col-span-12 flex items-start md:flex-row gap-y-3 gap-x-4 md: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}} flex-col{{/unless}}"
|
|
2
2
|
x-data="{ avStart: false }"
|
|
3
3
|
{{#if this.isMobile1to1}}
|
|
4
4
|
:class="avStart ? 'flex-col' : 'flex-row'"
|
|
@@ -7,22 +7,5 @@
|
|
|
7
7
|
<figure class="relative ar-16-9{{~inline-switch this.teaserSize '["hero","100","50"]' '[" basis-2/3"," basis-2/5 md:basis-1/3"," basis-2/5 md:basis-1/2"]'~}}">
|
|
8
8
|
{{> 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"]') }}
|
|
9
9
|
</figure>
|
|
10
|
-
|
|
11
|
-
<header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
12
|
-
{{#>components/base/link _css="hover:text-toplineColor" _doTracking=(if this.doTracking 'true') _clickLabelPrefix1=this.teaserSize _clickLabelPrefix2="headlineLink" }}
|
|
13
|
-
{{> components/teaser/components/teaser_heading _fontVariant=this.headingFontVariant
|
|
14
|
-
_headlineTag=this.headlineTag
|
|
15
|
-
_label=this.label
|
|
16
|
-
_readMore=this.link.readMoreText.readMoreScreenreader
|
|
17
|
-
_size=this.teaserSize
|
|
18
|
-
_title=this.title
|
|
19
|
-
_teaserType=this.teaserType
|
|
20
|
-
_topline=this.topline}}
|
|
21
|
-
{{/components/base/link}}
|
|
22
|
-
</header>
|
|
23
|
-
<section class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
24
|
-
{{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize }}
|
|
25
|
-
{{> components/teaser/components/teaser_byline}}
|
|
26
|
-
</section>
|
|
27
|
-
</div>
|
|
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"]') }}
|
|
28
11
|
</article>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<article class="col-span-12 flex gap-y-3 gap-x-4
|
|
1
|
+
<article class="relative col-span-12 flex {{if this.displayTeaserBodyAsImageOverlay '' 'gap-y-3'}} gap-x-4
|
|
2
2
|
{{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}}
|
|
3
3
|
{{~#if this.isMobile1to1}} js-is1to1 px-5 md:px-0 md:flex-col{{else}} flex-col{{/if~}}
|
|
4
4
|
"
|
|
@@ -11,24 +11,14 @@
|
|
|
11
11
|
{{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
|
|
12
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"]') }}
|
|
13
13
|
</figure>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
{{> components/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
_topline=this.topline
|
|
25
|
-
_teaserType=this.teaserType
|
|
26
|
-
_isMobile1to1=this.isMobile1to1}}
|
|
27
|
-
{{/components/base/link}}
|
|
28
|
-
</header>
|
|
29
|
-
<section class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
30
|
-
{{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize }}
|
|
31
|
-
{{> components/teaser/components/teaser_byline}}
|
|
32
|
-
</section>
|
|
33
|
-
</div>
|
|
14
|
+
{{#if this.displayTeaserBodyAsImageOverlay}}
|
|
15
|
+
{{#>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">
|
|
17
|
+
{{> components/event/instant_dates}}
|
|
18
|
+
</div>
|
|
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')}}
|
|
20
|
+
{{/components/teaser/components/teaser_image_overlay}}
|
|
21
|
+
{{else}}
|
|
22
|
+
{{> components/teaser/components/teaser_body _outerCssClasses=(if this.isMobile1to1 'basis-3/5 md:flex-full')}}
|
|
23
|
+
{{/if}}
|
|
34
24
|
</article>
|
|
@@ -0,0 +1,133 @@
|
|
|
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
|
+
"
|
|
5
|
+
x-data="{ avStart: false }"
|
|
6
|
+
{{#if this.isMobile1to1}}
|
|
7
|
+
:class="avStart ? 'flex-col' : 'flex-row'"
|
|
8
|
+
{{/if}}
|
|
9
|
+
>
|
|
10
|
+
|
|
11
|
+
{{#if this.isEvent}}
|
|
12
|
+
{{! ---- To handle two events ----}}
|
|
13
|
+
{{#if this.moreThenOneEvent}}
|
|
14
|
+
<article class="mx-5 md:mx-0 relative col-span-12 flex gap-y-4 gap-x-4 {{inline-switch teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
15
|
+
<figure class="relative
|
|
16
|
+
{{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
|
|
17
|
+
{{> 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"]') }}
|
|
18
|
+
</figure>
|
|
19
|
+
<div class="absolute flex justify-center w-16 h-full bg-gradient-to-t from-white
|
|
20
|
+
{{inline-switch teaserSize '["100"]' '["bottom-0 w-full h-2/5 bg-neutral-200 opacity-80"]'}}"
|
|
21
|
+
aria-hidden="true">
|
|
22
|
+
<div class="self-center block mx-4 text-center text-black">
|
|
23
|
+
<span class="text-xl font-headingSerif font-bold">{{ this.firstInstant.startDate.day}}</span>
|
|
24
|
+
<span class="text-xl font-headingSerif">{{this.lastInstant.startDate.monthNameShort}}</span>
|
|
25
|
+
+<br>
|
|
26
|
+
<span class="text-xl font-headingSerif font-bold">{{this.lastInstant.startDate.day}}</span>
|
|
27
|
+
<span class="text-xl font-headingSerif">{{this.lastInstant.startDate.monthNameShort}} </span>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="{{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}
|
|
30
|
+
{{inline-switch teaserSize '["100"]' '["border-l-2 border-dotted pt-5 pl-4 border-slate-600"]'}}
|
|
31
|
+
{{inline-switch teaserSize '["50","33"]' '[" hidden"," hidden"]'}}">
|
|
32
|
+
<header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
33
|
+
{{#>components/base/link css="hover:text-toplineColor" }}
|
|
34
|
+
{{> components/teaser/components/teaser_heading
|
|
35
|
+
fontVariant=this.headingFontVariant
|
|
36
|
+
headlineTag=this.headlineTag
|
|
37
|
+
label=this.label
|
|
38
|
+
readMore=this.link.readMoreText.readMoreScreenreader
|
|
39
|
+
size=this.teaserSize
|
|
40
|
+
title=this.title
|
|
41
|
+
topline=this.topline
|
|
42
|
+
teaserType=this.teaserType
|
|
43
|
+
_isMobile1to1=this.isMobile1to1}}
|
|
44
|
+
{{/components/base/link}}
|
|
45
|
+
</header>
|
|
46
|
+
<section class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
47
|
+
{{> components/teaser/components/teaser_text text=this.shorttext size=this.teaserSize }}
|
|
48
|
+
</section>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</article>
|
|
52
|
+
{{else if this.moreThenTwoEvents}}
|
|
53
|
+
{{! ---- To handle more than two events ----}}
|
|
54
|
+
<article class="mx-5 md:mx-0 relative col-span-12 flex gap-y-4 gap-x-4 {{inline-switch teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
55
|
+
<figure class="relative
|
|
56
|
+
{{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
|
|
57
|
+
{{> 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"]') }}
|
|
58
|
+
</figure>
|
|
59
|
+
<div class="absolute flex justify-center w-16 h-full bg-gradient-to-t from-white" aria-hidden="true">
|
|
60
|
+
<div class="self-center block mx-4 text-center text-black">
|
|
61
|
+
<span class="text-xl font-headingSerif font-bold">{{ this.firstInstant.startDate.day }} </span>
|
|
62
|
+
<span class="text-xl font-headingSerif">{{this.lastInstant.startDate.monthNameShort }} </span>
|
|
63
|
+
|<br>
|
|
64
|
+
<span class="text-xl font-headingSerif font-bold">{{this.lastInstant.startDate.day }} </span>
|
|
65
|
+
<span class="text-xl font-headingSerif">{{this.lastInstant.startDate.monthNameShort }} </span>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</article>
|
|
69
|
+
{{else}}
|
|
70
|
+
{{! ---- To handle a single event ----}}
|
|
71
|
+
<article class="mx-5 md:mx-0 relative col-span-12 flex gap-y-4 gap-x-4 {{inline-switch teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
72
|
+
<figure class="relative
|
|
73
|
+
{{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
|
|
74
|
+
{{> 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"]') }}
|
|
75
|
+
</figure>
|
|
76
|
+
<div class="absolute flex justify-center w-16 h-full bg-gradient-to-t from-white
|
|
77
|
+
{{inline-switch teaserSize '["100"]' '["bottom-0 w-full h-2/5 bg-neutral-200 opacity-80"]'}}"
|
|
78
|
+
aria-hidden="true">
|
|
79
|
+
<div class="self-center block mx-4 text-center text-black">
|
|
80
|
+
<span class="text-xl font-headingSerif">{{this.lastInstant.startDate.weekdayNameShort }} </span>
|
|
81
|
+
<span class="text-xl font-headingSerif">{{this.lastInstant.startDate.day }} </span>
|
|
82
|
+
<span class="text-xl font-headingSerif">{{this.lastInstant.startDate.monthNameShort }} </span>
|
|
83
|
+
</div>
|
|
84
|
+
<div class=" {{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}
|
|
85
|
+
{{inline-switch teaserSize '["100"]' '["border-l-2 border-dotted pt-5 pl-4 border-slate-600"]'}}
|
|
86
|
+
{{inline-switch teaserSize '["50","33"]' '[" hidden"," hidden"]'}}">
|
|
87
|
+
<header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
88
|
+
{{#>components/base/link css="hover:text-toplineColor" }}
|
|
89
|
+
{{> components/teaser/components/teaser_heading
|
|
90
|
+
fontVariant=this.headingFontVariant
|
|
91
|
+
headlineTag=this.headlineTag
|
|
92
|
+
label=this.label
|
|
93
|
+
readMore=this.link.readMoreText.readMoreScreenreader
|
|
94
|
+
size=this.teaserSize
|
|
95
|
+
title=this.title
|
|
96
|
+
topline=this.topline
|
|
97
|
+
teaserType=this.teaserType
|
|
98
|
+
_isMobile1to1=this.isMobile1to1}}
|
|
99
|
+
{{/components/base/link}}
|
|
100
|
+
</header>
|
|
101
|
+
<section class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
102
|
+
{{> components/teaser/components/teaser_text text=this.shorttext size=this.teaserSize }}
|
|
103
|
+
</section>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
</article>
|
|
107
|
+
{{/if}}
|
|
108
|
+
{{else}}
|
|
109
|
+
<figure class="relative
|
|
110
|
+
{{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
|
|
111
|
+
{{> 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"]') }}
|
|
112
|
+
</figure>
|
|
113
|
+
{{/if}}
|
|
114
|
+
<div class="{{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}{{inline-switch teaserSize '["100"]' '[" hidden"]'}}">
|
|
115
|
+
<header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
116
|
+
{{#>components/base/link css="hover:text-toplineColor" }}
|
|
117
|
+
{{> components/teaser/components/teaser_heading
|
|
118
|
+
fontVariant=this.headingFontVariant
|
|
119
|
+
headlineTag=this.headlineTag
|
|
120
|
+
label=this.label
|
|
121
|
+
readMore=this.link.readMoreText.readMoreScreenreader
|
|
122
|
+
size=this.teaserSize
|
|
123
|
+
title=this.title
|
|
124
|
+
topline=this.topline
|
|
125
|
+
teaserType=this.teaserType
|
|
126
|
+
_isMobile1to1=this.isMobile1to1}}
|
|
127
|
+
{{/components/base/link}}
|
|
128
|
+
</header>
|
|
129
|
+
<section class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
130
|
+
{{> components/teaser/components/teaser_text text=this.shorttext size=this.teaserSize }}
|
|
131
|
+
</section>
|
|
132
|
+
</div>
|
|
133
|
+
</article>
|
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.
|
|
9
|
+
"version": "0.54.0",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@->jsoninclude": "teaser/teasers.inc.json",
|
|
3
|
+
"@->contentpath": "teaserEvent",
|
|
4
|
+
"@->overrides": [
|
|
5
|
+
{
|
|
6
|
+
"@->contentpath": "logicItem.includePath",
|
|
7
|
+
"@->value": "components/teaser/teaser_alternative"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"@->contentpath": "logicItem.includeModel.teaserSize",
|
|
11
|
+
"@->value": "100"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"@->contentpath": "logicItem.includeModel.teaserType",
|
|
15
|
+
"@->value": "alternative-ds"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"@->contentpath": "logicItem.includeModel.teaserImage",
|
|
19
|
+
"@->value": {
|
|
20
|
+
"@->jsoninclude": "teaser/teaser_images.inc.json",
|
|
21
|
+
"@->contentpath": "md_1"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"@->contentpath": "logicItem.includeModel.label",
|
|
26
|
+
"@->value": {
|
|
27
|
+
"@->jsoninclude": "teaser/teaser_labels.inc.json",
|
|
28
|
+
"@->contentpath": "event"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|