hr-design-system-handlebars 1.114.133 → 1.114.135
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 +26 -0
- package/dist/assets/index.css +64 -3
- package/dist/assets/js/components/social_sharing/socialSharingHandler.alpine.js +3 -1
- package/dist/views/components/teaser/socialVideo/verticalVideoTeaser.hbs +18 -0
- package/dist/views/components/teaser/socialVideo/verticalVideoTeaserGroup.hbs +34 -0
- package/dist/views_static/components/teaser/socialVideo/verticalVideoTeaser.hbs +18 -0
- package/dist/views_static/components/teaser/socialVideo/verticalVideoTeaserGroup.hbs +34 -0
- package/package.json +1 -1
- package/src/assets/css/custom-utilities.css +18 -0
- package/src/assets/fixtures/teaser/teaser_vertical_video.json +4 -0
- package/src/assets/images/connichi-106_v-9to16__large.jpg +0 -0
- package/src/assets/images/connichi-106_v-9to16__medium.jpg +0 -0
- package/src/assets/images/connichi-106_v-9to16__retina.jpg +0 -0
- package/src/assets/images/connichi-106_v-9to16__small.jpg +0 -0
- package/src/assets/images/connichi-106_v-9to16__xsmall.jpg +0 -0
- package/src/stories/views/components/social_sharing/socialSharingHandler.alpine.js +3 -1
- package/src/stories/views/components/teaser/fixtures/teaser_vertical_video.json +1 -0
- package/src/stories/views/components/teaser/socialVideo/verticalVideoTeaser.hbs +18 -0
- package/src/stories/views/components/teaser/socialVideo/verticalVideoTeaser.mdx +14 -0
- package/src/stories/views/components/teaser/socialVideo/verticalVideoTeaser.stories.js +55 -0
- package/src/stories/views/components/teaser/socialVideo/verticalVideoTeaserGroup.hbs +34 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
# v1.114.135 (Fri Apr 25 2025)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Dpe 3631 kickoff [#1276](https://github.com/mumprod/hr-design-system-handlebars/pull/1276) ([@vascoeduardo](https://github.com/vascoeduardo) [@eduardo-hr](https://github.com/eduardo-hr))
|
|
6
|
+
|
|
7
|
+
#### Authors: 2
|
|
8
|
+
|
|
9
|
+
- [@eduardo-hr](https://github.com/eduardo-hr)
|
|
10
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# v1.114.134 (Mon Mar 31 2025)
|
|
15
|
+
|
|
16
|
+
#### 🐛 Bug Fix
|
|
17
|
+
|
|
18
|
+
- Enhance social sharing functionality by adding fallback for title and… [#1275](https://github.com/mumprod/hr-design-system-handlebars/pull/1275) ([@vascoeduardo](https://github.com/vascoeduardo) [@eduardo-hr](https://github.com/eduardo-hr))
|
|
19
|
+
|
|
20
|
+
#### Authors: 2
|
|
21
|
+
|
|
22
|
+
- [@eduardo-hr](https://github.com/eduardo-hr)
|
|
23
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
1
27
|
# v1.114.133 (Fri Mar 28 2025)
|
|
2
28
|
|
|
3
29
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1160,6 +1160,12 @@ article #commentList {
|
|
|
1160
1160
|
.bottom-15 {
|
|
1161
1161
|
bottom: 3.75rem;
|
|
1162
1162
|
}
|
|
1163
|
+
.bottom-16 {
|
|
1164
|
+
bottom: 4rem;
|
|
1165
|
+
}
|
|
1166
|
+
.bottom-2 {
|
|
1167
|
+
bottom: 0.5rem;
|
|
1168
|
+
}
|
|
1163
1169
|
.bottom-4 {
|
|
1164
1170
|
bottom: 1rem;
|
|
1165
1171
|
}
|
|
@@ -1194,6 +1200,9 @@ article #commentList {
|
|
|
1194
1200
|
.right-11 {
|
|
1195
1201
|
right: 2.75rem;
|
|
1196
1202
|
}
|
|
1203
|
+
.right-2 {
|
|
1204
|
+
right: 0.5rem;
|
|
1205
|
+
}
|
|
1197
1206
|
.right-4 {
|
|
1198
1207
|
right: 1rem;
|
|
1199
1208
|
}
|
|
@@ -1905,6 +1914,9 @@ article #commentList {
|
|
|
1905
1914
|
.w-\[724px\] {
|
|
1906
1915
|
width: 724px;
|
|
1907
1916
|
}
|
|
1917
|
+
.w-\[90vw\] {
|
|
1918
|
+
width: 90vw;
|
|
1919
|
+
}
|
|
1908
1920
|
.w-\[9px\] {
|
|
1909
1921
|
width: 9px;
|
|
1910
1922
|
}
|
|
@@ -1971,6 +1983,9 @@ article #commentList {
|
|
|
1971
1983
|
.max-w-\[724px\] {
|
|
1972
1984
|
max-width: 724px;
|
|
1973
1985
|
}
|
|
1986
|
+
.max-w-\[900px\] {
|
|
1987
|
+
max-width: 900px;
|
|
1988
|
+
}
|
|
1974
1989
|
.max-w-\[940px\] {
|
|
1975
1990
|
max-width: 940px;
|
|
1976
1991
|
}
|
|
@@ -2003,6 +2018,9 @@ article #commentList {
|
|
|
2003
2018
|
.shrink {
|
|
2004
2019
|
flex-shrink: 1;
|
|
2005
2020
|
}
|
|
2021
|
+
.shrink-0 {
|
|
2022
|
+
flex-shrink: 0;
|
|
2023
|
+
}
|
|
2006
2024
|
.flex-grow {
|
|
2007
2025
|
flex-grow: 1;
|
|
2008
2026
|
}
|
|
@@ -2301,6 +2319,9 @@ article #commentList {
|
|
|
2301
2319
|
.gap-3 {
|
|
2302
2320
|
gap: 0.75rem;
|
|
2303
2321
|
}
|
|
2322
|
+
.gap-4 {
|
|
2323
|
+
gap: 1rem;
|
|
2324
|
+
}
|
|
2304
2325
|
.gap-5 {
|
|
2305
2326
|
gap: 1.25rem;
|
|
2306
2327
|
}
|
|
@@ -2943,6 +2964,10 @@ article #commentList {
|
|
|
2943
2964
|
.to-80\% {
|
|
2944
2965
|
--tw-gradient-to-position: 80%;
|
|
2945
2966
|
}
|
|
2967
|
+
.box-decoration-clone {
|
|
2968
|
+
-webkit-box-decoration-break: clone;
|
|
2969
|
+
box-decoration-break: clone;
|
|
2970
|
+
}
|
|
2946
2971
|
.fill-\[\#006dc1\] {
|
|
2947
2972
|
fill: #006dc1;
|
|
2948
2973
|
}
|
|
@@ -3448,6 +3473,11 @@ article #commentList {
|
|
|
3448
3473
|
color: rgba(29, 78, 216, 1);
|
|
3449
3474
|
color: rgba(29, 78, 216, var(--tw-text-opacity));
|
|
3450
3475
|
}
|
|
3476
|
+
.text-blue-900 {
|
|
3477
|
+
--tw-text-opacity: 1;
|
|
3478
|
+
color: rgba(30, 58, 138, 1);
|
|
3479
|
+
color: rgba(30, 58, 138, var(--tw-text-opacity));
|
|
3480
|
+
}
|
|
3451
3481
|
.text-blue-congress-hex {
|
|
3452
3482
|
--tw-text-opacity: 1;
|
|
3453
3483
|
color: rgba(0, 82, 147, 1);
|
|
@@ -3857,7 +3887,7 @@ article #commentList {
|
|
|
3857
3887
|
border-bottom-color: var(--color-secondary-ds);
|
|
3858
3888
|
}
|
|
3859
3889
|
.counter-reset {
|
|
3860
|
-
counter-reset:
|
|
3890
|
+
counter-reset: cnt1745576631509;
|
|
3861
3891
|
}
|
|
3862
3892
|
.animate-delay-100 {
|
|
3863
3893
|
--tw-animate-delay: 100ms;
|
|
@@ -3890,6 +3920,22 @@ article #commentList {
|
|
|
3890
3920
|
animation-timing-function: var(--tw-animate-easing);
|
|
3891
3921
|
}
|
|
3892
3922
|
html { scroll-behavior: smooth; }
|
|
3923
|
+
.no-scrollbar::-webkit-scrollbar {
|
|
3924
|
+
display: none;
|
|
3925
|
+
}
|
|
3926
|
+
.no-scrollbar {
|
|
3927
|
+
-ms-overflow-style: none;
|
|
3928
|
+
scrollbar-width: none;
|
|
3929
|
+
}
|
|
3930
|
+
.hyphens-limit-15{
|
|
3931
|
+
-webkit-hyphens: auto;
|
|
3932
|
+
hyphens: auto;
|
|
3933
|
+
|
|
3934
|
+
-webkit-hyphenate-limit-before: 3; /* For Safari */
|
|
3935
|
+
-webkit-hyphenate-limit-after: 4; /* For Safari */
|
|
3936
|
+
-ms-hyphenate-limit-chars: 15 3 4;
|
|
3937
|
+
hyphenate-limit-chars: 15 3 4;
|
|
3938
|
+
}
|
|
3893
3939
|
.placeholder-text-xs::-webkit-input-placeholder {
|
|
3894
3940
|
font-size: 0.75rem;
|
|
3895
3941
|
line-height: 1.0625rem;
|
|
@@ -4302,7 +4348,7 @@ html { scroll-behavior: smooth; }
|
|
|
4302
4348
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
4303
4349
|
}
|
|
4304
4350
|
.-ordered {
|
|
4305
|
-
counter-increment:
|
|
4351
|
+
counter-increment: cnt1745576631509 1;
|
|
4306
4352
|
}
|
|
4307
4353
|
.-ordered::before {
|
|
4308
4354
|
position: absolute;
|
|
@@ -4320,7 +4366,7 @@ html { scroll-behavior: smooth; }
|
|
|
4320
4366
|
--tw-text-opacity: 1;
|
|
4321
4367
|
color: rgba(0, 0, 0, 1);
|
|
4322
4368
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
4323
|
-
content: counter(
|
|
4369
|
+
content: counter(cnt1745576631509);
|
|
4324
4370
|
}
|
|
4325
4371
|
/*! ****************************/
|
|
4326
4372
|
/*! DataPolicy stuff */
|
|
@@ -4513,6 +4559,13 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
4513
4559
|
.\[border-image-source\:var\(--border-navigation-border-image\)\] {
|
|
4514
4560
|
border-image-source: var(--border-navigation-border-image);
|
|
4515
4561
|
}
|
|
4562
|
+
.\[scroll-snap-align\:start\] {
|
|
4563
|
+
scroll-snap-align: start;
|
|
4564
|
+
}
|
|
4565
|
+
.\[scroll-snap-type\:x_mandatory\] {
|
|
4566
|
+
-webkit-scroll-snap-type: x mandatory;
|
|
4567
|
+
scroll-snap-type: x mandatory;
|
|
4568
|
+
}
|
|
4516
4569
|
/*! purgecss start ignore */
|
|
4517
4570
|
:root,
|
|
4518
4571
|
[data-theme='default'] {
|
|
@@ -7125,6 +7178,10 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
7125
7178
|
width: 220px;
|
|
7126
7179
|
}
|
|
7127
7180
|
|
|
7181
|
+
.sm\:w-\[calc\(25\%-12px\)\] {
|
|
7182
|
+
width: calc(25% - 12px);
|
|
7183
|
+
}
|
|
7184
|
+
|
|
7128
7185
|
.sm\:w-fit {
|
|
7129
7186
|
width: -webkit-fit-content;
|
|
7130
7187
|
width: -moz-fit-content;
|
|
@@ -7155,6 +7212,10 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
7155
7212
|
flex-wrap: nowrap;
|
|
7156
7213
|
}
|
|
7157
7214
|
|
|
7215
|
+
.sm\:justify-between {
|
|
7216
|
+
justify-content: space-between;
|
|
7217
|
+
}
|
|
7218
|
+
|
|
7158
7219
|
.sm\:gap-x-2 {
|
|
7159
7220
|
-moz-column-gap: 0.5rem;
|
|
7160
7221
|
column-gap: 0.5rem;
|
|
@@ -72,7 +72,9 @@ export default (module) => ({
|
|
|
72
72
|
this.shareInWebview(title,url)
|
|
73
73
|
} else {
|
|
74
74
|
if (navigator.share && this.isMobile) {
|
|
75
|
-
|
|
75
|
+
const shareTitle = title || document.title;
|
|
76
|
+
const shareUrl = url || window.location.href;
|
|
77
|
+
this.nativeShare(shareTitle, shareUrl, `socialShareClick::${module}::nativeShare`);
|
|
76
78
|
} else {
|
|
77
79
|
if (this.$store.sharingIsOpen[module]) {
|
|
78
80
|
return this.close(true)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<div class="shrink-0 w-[90vw] sm:w-[calc(25%-12px)] rounded-lg [scroll-snap-align:start]" >
|
|
2
|
+
<section class="bg-white">
|
|
3
|
+
<div class="relative">
|
|
4
|
+
<img src="https://picsum.photos/id/{{_id}}/225/400?random=3" alt="Video 4" class="w-full h-auto ">
|
|
5
|
+
<div class="absolute left-0 w-full pr-2 bottom-16">
|
|
6
|
+
<span class="w-full px-2 py-1 text-lg text-white hyphens-limit-15 bg-blue-congress-hex box-decoration-clone font-title ">
|
|
7
|
+
{{_title}}
|
|
8
|
+
</span>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="absolute p-1 bg-white rounded-full bottom-2 right-2">
|
|
11
|
+
<svg class="w-6 h-6 text-blue-900" fill="currentColor" viewBox="0 0 24 24">
|
|
12
|
+
<path d="M8 5v14l11-7z" />
|
|
13
|
+
</svg>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
<p class="mt-2 ml-2 text-xs sm:ml-0 text-gray-scorpion font-headingSerif empty:hidden overflow-anywhere hyphens-auto">{{_meta}}</p>
|
|
17
|
+
</section>
|
|
18
|
+
</div>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<div class="flex ">
|
|
2
|
+
|
|
3
|
+
<div class="overflow-x-auto no-scrollbar [scroll-snap-type:x_mandatory] max-w-[900px] w-full">
|
|
4
|
+
<div class="flex w-full gap-4 sm:justify-between">
|
|
5
|
+
|
|
6
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
7
|
+
_id="237"
|
|
8
|
+
_title="Fastnachtseröffnungsfeier in Dieburg und ein ganz langer Titel"
|
|
9
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
10
|
+
|
|
11
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
12
|
+
_id="123"
|
|
13
|
+
_title="Super cachieee Headline. Wir brauchen Text aus dem CMS!"
|
|
14
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
15
|
+
|
|
16
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
17
|
+
_id="213"
|
|
18
|
+
_title="ARD-Themenwoche: Verkehrswende in Darmstadt"
|
|
19
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
20
|
+
|
|
21
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
22
|
+
_id="203"
|
|
23
|
+
_title="ARD-Themenwoche: Verkehrswende in Darmstadt"
|
|
24
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
25
|
+
|
|
26
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
27
|
+
_id="273"
|
|
28
|
+
_title="ARD-Themenwoche: Verkehrswende in Darmstadt und noch mehr"
|
|
29
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
30
|
+
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
</div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<div class="shrink-0 w-[90vw] sm:w-[calc(25%-12px)] rounded-lg [scroll-snap-align:start]" >
|
|
2
|
+
<section class="bg-white">
|
|
3
|
+
<div class="relative">
|
|
4
|
+
<img src="https://picsum.photos/id/{{_id}}/225/400?random=3" alt="Video 4" class="w-full h-auto ">
|
|
5
|
+
<div class="absolute left-0 w-full pr-2 bottom-16">
|
|
6
|
+
<span class="w-full px-2 py-1 text-lg text-white hyphens-limit-15 bg-blue-congress-hex box-decoration-clone font-title ">
|
|
7
|
+
{{_title}}
|
|
8
|
+
</span>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="absolute p-1 bg-white rounded-full bottom-2 right-2">
|
|
11
|
+
<svg class="w-6 h-6 text-blue-900" fill="currentColor" viewBox="0 0 24 24">
|
|
12
|
+
<path d="M8 5v14l11-7z" />
|
|
13
|
+
</svg>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
<p class="mt-2 ml-2 text-xs sm:ml-0 text-gray-scorpion font-headingSerif empty:hidden overflow-anywhere hyphens-auto">{{_meta}}</p>
|
|
17
|
+
</section>
|
|
18
|
+
</div>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<div class="flex ">
|
|
2
|
+
|
|
3
|
+
<div class="overflow-x-auto no-scrollbar [scroll-snap-type:x_mandatory] max-w-[900px] w-full">
|
|
4
|
+
<div class="flex w-full gap-4 sm:justify-between">
|
|
5
|
+
|
|
6
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
7
|
+
_id="237"
|
|
8
|
+
_title="Fastnachtseröffnungsfeier in Dieburg und ein ganz langer Titel"
|
|
9
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
10
|
+
|
|
11
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
12
|
+
_id="123"
|
|
13
|
+
_title="Super cachieee Headline. Wir brauchen Text aus dem CMS!"
|
|
14
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
15
|
+
|
|
16
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
17
|
+
_id="213"
|
|
18
|
+
_title="ARD-Themenwoche: Verkehrswende in Darmstadt"
|
|
19
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
20
|
+
|
|
21
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
22
|
+
_id="203"
|
|
23
|
+
_title="ARD-Themenwoche: Verkehrswende in Darmstadt"
|
|
24
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
25
|
+
|
|
26
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
27
|
+
_id="273"
|
|
28
|
+
_title="ARD-Themenwoche: Verkehrswende in Darmstadt und noch mehr"
|
|
29
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
30
|
+
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
</div>
|
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": "1.114.
|
|
9
|
+
"version": "1.114.135",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
@layer utilities {
|
|
2
2
|
html { scroll-behavior: smooth; }
|
|
3
|
+
|
|
4
|
+
.no-scrollbar::-webkit-scrollbar {
|
|
5
|
+
display: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.no-scrollbar {
|
|
9
|
+
-ms-overflow-style: none;
|
|
10
|
+
scrollbar-width: none;
|
|
11
|
+
}
|
|
12
|
+
.hyphens-limit-15{
|
|
13
|
+
-webkit-hyphens: auto;
|
|
14
|
+
-ms-hyphens: auto;
|
|
15
|
+
hyphens: auto;
|
|
3
16
|
|
|
17
|
+
-webkit-hyphenate-limit-before: 3; /* For Safari */
|
|
18
|
+
-webkit-hyphenate-limit-after: 4; /* For Safari */
|
|
19
|
+
-ms-hyphenate-limit-chars: 15 3 4;
|
|
20
|
+
hyphenate-limit-chars: 15 3 4;
|
|
21
|
+
}
|
|
4
22
|
.placeholder-text-xs::placeholder {
|
|
5
23
|
@apply text-xs;
|
|
6
24
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -72,7 +72,9 @@ export default (module) => ({
|
|
|
72
72
|
this.shareInWebview(title,url)
|
|
73
73
|
} else {
|
|
74
74
|
if (navigator.share && this.isMobile) {
|
|
75
|
-
|
|
75
|
+
const shareTitle = title || document.title;
|
|
76
|
+
const shareUrl = url || window.location.href;
|
|
77
|
+
this.nativeShare(shareTitle, shareUrl, `socialShareClick::${module}::nativeShare`);
|
|
76
78
|
} else {
|
|
77
79
|
if (this.$store.sharingIsOpen[module]) {
|
|
78
80
|
return this.close(true)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"includePath":"components/teaser/group_teaser/group_teaser","includeModel":{"hasLink":true,"link":"#gruppe1","hasGroupTitle":true,"hasGroupItems":true,"groupTitle":"Gruppe 100% - 2 x 50% Teaser","teaserSize":"100","realTeaserSize":"100","headlineTag":"h2","isRelatedContent":false,"logicItems":[{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"byline":"Byline","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"50","realTeaserSize":"50","isMobile1to1":false,"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"hasByline":true,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":false,"showTeaserInfoAll":false,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":false},"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","imageJson":"Beispiel JSON","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/rueckkehr-nach-abschiebung-102_v-16to9__small.jpg 320w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg 480w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium__extended.jpg 640w, images/rueckkehr-nach-abschiebung-102_v-16to9.jpg 960w, images/rueckkehr-nach-abschiebung-102_v-16to9__retina.jpg 1920w"}]}},"posterTeaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","imageJson":"Beispiel JSON","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/rueckkehr-nach-abschiebung-102_v-16to9__small.jpg 320w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg 480w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium__extended.jpg 640w, images/rueckkehr-nach-abschiebung-102_v-16to9.jpg 960w, images/rueckkehr-nach-abschiebung-102_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isAudioOnDemand":false,"isVideo":false,"isVideoOnDemand":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"moreThenOneEvent":false,"moreThenTwoEvents":false,"firstInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Do","day":"9"}},"lastInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Fr","day":"10"}},"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Gesellschaft","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","shorttext":"Vor einem Jahr wurde die syrische Familie Kheder aus Wolfhagen abgeschoben. Die Gemeinde setzte alle Hebel in Bewegung, um Mutter, Tochter und Sohn zurückzuholen. Im Fall der Kinder hat das nun zu einem Happy End geführt. Doch ihre Mutter fehlt.","hideBylineAndShorttext":false,"sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"Von Alf Haubitz und Alice Merton","teaserLead":{"avDocument":"","image":""},"geotag":[{"title":"Wolfhagen"}],"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}}}}},{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"byline":"Byline","title":"Sieben Fakten zum Ehrenamt in Hessen","topline":"Engagement von Fußballtrainer bis Feuerwehrfrau","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"50","realTeaserSize":"50","isMobile1to1":false,"teaserDate":{"htmlDateTime":"2022-10-11T06:57+0200","htmlDate":"11.10.2022","date":"11.10.22","dateSeparatorTime":"11.10.22, 06:57"},"hasByline":true,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":false,"showTeaserInfoAll":false,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":false},"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","imageJson":"Beispiel JSON","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/jugendfeuerwehr-102_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/jugendfeuerwehr-102_v-16to9__small.jpg 320w, images/jugendfeuerwehr-102_v-16to9__medium.jpg 480w, images/jugendfeuerwehr-102_v-16to9__medium__extended.jpg 640w, images/jugendfeuerwehr-102_v-16to9.jpg 960w, images/jugendfeuerwehr-102_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isAudioOnDemand":false,"isVideo":false,"isVideoOnDemand":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Gesellschaft","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","shorttext":"Zweieinhalb Millionen Hessinnen und Hessen engagieren sich ehrenamtlich - zum Beispiel in einem Sport- oder Musikverein. Und doch haben viele Vereine mit Nachwuchsproblemen zu kämpfen.","hideBylineAndShorttext":false,"sophoraId":"thema-ehrenamt-hessen-100","profiles":"Von Anja Engelke","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}}}}},{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"byline":"Byline","title":"Der Hasebe-Kane-Nahkampf geht in die zweite Runde","topline":"Eintracht trifft auf Tottenham","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"50","realTeaserSize":"50","isMobile1to1":false,"teaserDate":{"htmlDateTime":"2022-10-11T19:46+0200","htmlDate":"11.10.2022","date":"11.10.22","dateSeparatorTime":"11.10.22, 19:46"},"hasByline":true,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":false,"showTeaserInfoAll":false,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":false},"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","imageJson":"Beispiel JSON","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/hasebe-kane-102_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/hasebe-kane-102_v-16to9__small.jpg 320w, images/hasebe-kane-102_v-16to9__medium.jpg 480w, images/hasebe-kane-102_v-16to9__medium__extended.jpg 640w, images/hasebe-kane-102_v-16to9.jpg 960w, images/hasebe-kane-102_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":true,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":true,"isAudioOnDemand":true,"isVideo":false,"isVideoOnDemand":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":true,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Sport","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","shorttext":"Beim Hinspiel brachte Altmeister Makoto Hasebe Sturm-Star Harry Kane bis an den Rande der Verzweiflung. Der bittet im Rückspiel nun zur Revanche. Vorher gibt es aber lobende Worte.","hideBylineAndShorttext":false,"sophoraId":"hasebe-kane-100","profiles":"Von Nicolas Herold aus London","teaserLead":{"avDocument":{"isAudio":true,"isAudioOnDemand":true,"toModel":{"audioElementForVideoView":{"isPodcast":false,"ardPlayerConfig":{"playerConfig":{"generic":{"isAutoplay":true,"imageTemplateConfig":{"size":[{"minWidth":0,"value":"480/270"},{"minWidth":480,"value":"640/360"},{"minWidth":640,"value":"960/540"},{"minWidth":960,"value":"1920/1080"}]}},"web":{"baseUrl":"./vendor/ardplayer/","isForcedAutoplay":true,"isForcedVideoView":true},"pluginData":{"trackingAti@all":{"isEnabled":false},"trackingAgf@all":{"isEnabled":false}}},"mediaCollection":{"streams":[{"kind":"main","isAudioOnly":true,"media":[{"url":"https://hr-a.akamaihd.net/audio/sport/2022_03/220317235611_Hinteregger.mp3","mimeType":"audio/mp3","audios":[{"kind":"standard","languageCode":"de"}]}]}],"meta":{"durationSeconds":20,"images":[{"kind":"preview","url":"https://picsum.photos/id/101/{size}"}],"title":"Das Eintracht-Tor in der Reportage: \"Hinteregger schädelt den rein\"","synopsis":"Eintracht Frankfurt steht im Viertelfinale der Europa League. Hier gibt es die emotionale Audio-Reportage des Hinteregger-Treffers."},"pluginData":{},"geoBlocked":false},"playerId":"2565","type":"audioOndemand","typeLabel":"Audio-Ondemand","cssUrl":"./vendor/ardplayer/ardplayer-hr-6.9.2.3be63dd6.css","jsUrl":"./vendor/ardplayer/ardplayer-hr-6.9.2.930e5d37.js","isAutoplay":true,"teaserSize":"100","realTeaserSize":"100","isDarkmodeAllowed":true},"ardPlayerJsonConfig":{"playerConfig":{"generic":{"isAutoplay":true,"imageTemplateConfig":{"size":[{"minWidth":0,"value":"480/270"},{"minWidth":480,"value":"640/360"},{"minWidth":640,"value":"960/540"},{"minWidth":960,"value":"1920/1080"}]}},"web":{"baseUrl":"./vendor/ardplayer/","isForcedAutoplay":true,"isForcedVideoView":true},"pluginData":{"trackingAti@all":{"isEnabled":false},"trackingAgf@all":{"isEnabled":false}}},"mediaCollection":{"streams":[{"kind":"main","isAudioOnly":true,"media":[{"url":"https://hr-a.akamaihd.net/audio/sport/2022_03/220317235611_Hinteregger.mp3","mimeType":"audio/mp3","audios":[{"kind":"standard","languageCode":"de"}]}]}],"meta":{"durationSeconds":20,"images":[{"kind":"preview","url":"https://picsum.photos/id/101/{size}"}],"title":"Das Eintracht-Tor in der Reportage: \"Hinteregger schädelt den rein\"","synopsis":"Eintracht Frankfurt steht im Viertelfinale der Europa League. Hier gibt es die emotionale Audio-Reportage des Hinteregger-Treffers."},"pluginData":{},"geoBlocked":false},"playerId":"2565","type":"audioOndemand","typeLabel":"Audio-Ondemand","cssUrl":"./vendor/ardplayer/ardplayer-hr-6.9.2.3be63dd6.css","jsUrl":"./vendor/ardplayer/ardplayer-hr-6.9.2.930e5d37.js","isAutoplay":true,"teaserSize":"100","realTeaserSize":"100","isDarkmodeAllowed":true}}}},"image":""},"geotag":[{"title":"Frankfurt"}],"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}}}}},{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"byline":"Byline","title":"23 Grad - Oktober verabschiedet sich \"sehr außergewöhnlich\"","topline":"T-Shirt statt Winterjacke","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"50","realTeaserSize":"50","isMobile1to1":false,"teaserDate":{"htmlDateTime":"2022-10-23T16:04+0200","htmlDate":"23.10.2022","date":"23.10.22","dateSeparatorTime":"23.10.22, 16:04"},"hasByline":true,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":false,"showTeaserInfoAll":false,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":false},"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","imageJson":"Beispiel JSON","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/sonniger-herbst-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/sonniger-herbst-100_v-16to9__small.jpg 320w, images/sonniger-herbst-100_v-16to9__medium.jpg 480w, images/sonniger-herbst-100_v-16to9__medium__extended.jpg 640w, images/sonniger-herbst-100_v-16to9.jpg 960w, images/sonniger-herbst-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":true,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isAudioOnDemand":false,"isVideo":true,"isVideoOnDemand":true,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":true,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Gesellschaft","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","shorttext":"Dicke Winterjacken können weiterhin auf ihren Einsatz warten: Die kommenden Tage bleiben für den späten Oktober außergewöhnlich mild. Selbst Meteorologen sind gleich aus mehreren Gründen überrascht.","hideBylineAndShorttext":false,"sophoraId":"warmes-oktoberende-100","profiles":"Von Alf Haubitz und Alice Merton","teaserLead":{"avDocument":{"isVideo":true,"isVideoOnDemand":true,"toModel":{"videoElement":{"ardPlayerConfig":{"playerConfig":{"generic":{"isAutoplay":true,"imageTemplateConfig":{"size":[{"minWidth":0,"value":"480/270"},{"minWidth":480,"value":"640/360"},{"minWidth":640,"value":"960/540"},{"minWidth":960,"value":"1920/1080"}]}},"web":{"baseUrl":"./vendor/ardplayer/","isForcedAutoplay":true,"isForcedVideoView":true},"pluginData":{"trackingAti@all":{"isEnabled":false},"trackingAgf@all":{"isEnabled":false}}},"mediaCollection":{"streams":[{"kind":"main","videoLanguageCode":"de","media":[{"url":"https://hr-vh.akamaihd.net/i/video/as/hessenschau/2022_03/hrLogo_220317201045_L422955_,480x270-50p-700kbit,512x288-25p-500kbit,640x360-50p-1200kbit,960x540-50p-1600kbit,1280x720-50p-3200kbit,1920x1080-50p-5000kbit,.mp4.csmil/master.m3u8","mimeType":"application/vnd.apple.mpegurl","isAdaptiveQualitySelectable":true,"audios":[{"kind":"standard","languageCode":"de"}]}]}],"subTitles":[{"kind":"normal","languageCode":"de","sources":[{"kind":"webvtt","url":"https://hr-a.akamaihd.net/video/as/hessenschau/2022_03/hrLogo_220317201045_L422955_512x288-25p-500kbit.vtt"}]}],"meta":{"durationSeconds":1644,"images":[{"kind":"preview","url":"https://picsum.photos/id/101/{size}"}],"title":"Auszubildende dringend gesucht | hessenschau vom 17.03.2022","synopsis":"Erstaufnahme der Geflüchteten in Gießen / Bund-Länder-Treffen zu Geflüchteten aus der Ukraine / Zu wenig Lebensmittelkontrollen / Mehr Ausbildungsplätze als Bewerber / Dokumentation über Sinti und Roma / Nachwuchs im Frankfurter Zoo / Eintracht vor dem Europa League-Spiel"},"pluginData":{},"geoBlocked":false},"playerId":"8423","type":"videoOndemand","typeLabel":"Video-On-Demand","cssUrl":"./vendor/ardplayer/ardplayer-hr-6.9.2.3be63dd6.css","jsUrl":"./vendor/ardplayer/ardplayer-hr-6.9.2.930e5d37.js","isAutoplay":true,"isPlayerDebug":false,"teaserSize":"100","realTeaserSize":"100","isDarkmodeAllowed":true},"ardPlayerJsonConfig":{"playerConfig":{"generic":{"isAutoplay":true,"imageTemplateConfig":{"size":[{"minWidth":0,"value":"480/270"},{"minWidth":480,"value":"640/360"},{"minWidth":640,"value":"960/540"},{"minWidth":960,"value":"1920/1080"}]}},"web":{"baseUrl":"./vendor/ardplayer/","isForcedAutoplay":true,"isForcedVideoView":true},"pluginData":{"trackingAti@all":{"isEnabled":false},"trackingAgf@all":{"isEnabled":false}}},"mediaCollection":{"streams":[{"kind":"main","videoLanguageCode":"de","media":[{"url":"https://hr-vh.akamaihd.net/i/video/as/hessenschau/2022_03/hrLogo_220317201045_L422955_,480x270-50p-700kbit,512x288-25p-500kbit,640x360-50p-1200kbit,960x540-50p-1600kbit,1280x720-50p-3200kbit,1920x1080-50p-5000kbit,.mp4.csmil/master.m3u8","mimeType":"application/vnd.apple.mpegurl","isAdaptiveQualitySelectable":true,"audios":[{"kind":"standard","languageCode":"de"}]}]}],"subTitles":[{"kind":"normal","languageCode":"de","sources":[{"kind":"webvtt","url":"https://hr-a.akamaihd.net/video/as/hessenschau/2022_03/hrLogo_220317201045_L422955_512x288-25p-500kbit.vtt"}]}],"meta":{"durationSeconds":1644,"images":[{"kind":"preview","url":"https://picsum.photos/id/101/{size}"}],"title":"Auszubildende dringend gesucht | hessenschau vom 17.03.2022","synopsis":"Erstaufnahme der Geflüchteten in Gießen / Bund-Länder-Treffen zu Geflüchteten aus der Ukraine / Zu wenig Lebensmittelkontrollen / Mehr Ausbildungsplätze als Bewerber / Dokumentation über Sinti und Roma / Nachwuchs im Frankfurter Zoo / Eintracht vor dem Europa League-Spiel"},"pluginData":{},"geoBlocked":false},"playerId":"8423","type":"videoOndemand","typeLabel":"Video-On-Demand","cssUrl":"./vendor/ardplayer/ardplayer-hr-6.9.2.3be63dd6.css","jsUrl":"./vendor/ardplayer/ardplayer-hr-6.9.2.930e5d37.js","isAutoplay":true,"isPlayerDebug":false,"teaserSize":"100","realTeaserSize":"100","isDarkmodeAllowed":true}}}},"image":""},"geotag":[{"title":"Wolfhagen"}],"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}}}}}]}}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<div class="shrink-0 w-[90vw] sm:w-[calc(25%-12px)] rounded-lg [scroll-snap-align:start]" >
|
|
2
|
+
<section class="bg-white">
|
|
3
|
+
<div class="relative">
|
|
4
|
+
<img src="https://picsum.photos/id/{{_id}}/225/400?random=3" alt="Video 4" class="w-full h-auto ">
|
|
5
|
+
<div class="absolute left-0 w-full pr-2 bottom-16">
|
|
6
|
+
<span class="w-full px-2 py-1 text-lg text-white hyphens-limit-15 bg-blue-congress-hex box-decoration-clone font-title ">
|
|
7
|
+
{{_title}}
|
|
8
|
+
</span>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="absolute p-1 bg-white rounded-full bottom-2 right-2">
|
|
11
|
+
<svg class="w-6 h-6 text-blue-900" fill="currentColor" viewBox="0 0 24 24">
|
|
12
|
+
<path d="M8 5v14l11-7z" />
|
|
13
|
+
</svg>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
<p class="mt-2 ml-2 text-xs sm:ml-0 text-gray-scorpion font-headingSerif empty:hidden overflow-anywhere hyphens-auto">{{_meta}}</p>
|
|
17
|
+
</section>
|
|
18
|
+
</div>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ArgTypes, Meta, Story, Canvas } from '@storybook/blocks'
|
|
2
|
+
import * as verticalVideoTeaser from './verticalVideoTeaser.stories'
|
|
3
|
+
|
|
4
|
+
<Meta of={verticalVideoTeaser} />
|
|
5
|
+
|
|
6
|
+
# Button
|
|
7
|
+
|
|
8
|
+
Ein toller Einleitungstext für unsere `Vertical Video Teaser` Komponente:
|
|
9
|
+
|
|
10
|
+
<Canvas withToolbar>
|
|
11
|
+
<Story of={verticalVideoTeaser.$verticalVideo4} />
|
|
12
|
+
</Canvas>
|
|
13
|
+
|
|
14
|
+
<ArgTypes story="main" />
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import verticalVideoTeaser from './verticalVideoTeaserGroup.hbs'
|
|
2
|
+
|
|
3
|
+
import teaserGroup100 from '../fixtures/teaser_vertical_video.json'
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
const verticalVideoTeaserTemplate = ({ text, ...args }) => {
|
|
7
|
+
// You can either use a function to create DOM elements or use a plain html string!
|
|
8
|
+
// return `<div>${label}</div>`;
|
|
9
|
+
return verticalVideoTeaser({ text, ...args })
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
export default {
|
|
14
|
+
title: 'Komponenten/Teaser/🚧 Hochkant-Videos',
|
|
15
|
+
|
|
16
|
+
argTypes: {
|
|
17
|
+
teaserSize: {
|
|
18
|
+
control: {
|
|
19
|
+
type: 'select',
|
|
20
|
+
options: ['100', '66', '50', '33', '25'],
|
|
21
|
+
},
|
|
22
|
+
|
|
23
|
+
description: 'Teaser Größe',
|
|
24
|
+
|
|
25
|
+
table: {
|
|
26
|
+
defaultValue: {
|
|
27
|
+
summary: '100',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
parameters: {
|
|
34
|
+
layout: 'fullscreen',
|
|
35
|
+
chromatic: {
|
|
36
|
+
diffThreshold: 0.3,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
decorators: [
|
|
41
|
+
(Story) => {
|
|
42
|
+
return `<div class="grid my-5 grid-page">
|
|
43
|
+
<div class=" py-6 bg-white sm:px-9.5 col-full sm:col-main gap-x-6 md:gap-y-14 gap-y-6">
|
|
44
|
+
${Story()}
|
|
45
|
+
</div>
|
|
46
|
+
</div>`
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export const $verticalVideo4 = {
|
|
52
|
+
render: verticalVideoTeaserTemplate.bind({}),
|
|
53
|
+
name: '4 Videos',
|
|
54
|
+
args: teaserGroup100.includeModel,
|
|
55
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<div class="flex ">
|
|
2
|
+
|
|
3
|
+
<div class="overflow-x-auto no-scrollbar [scroll-snap-type:x_mandatory] max-w-[900px] w-full">
|
|
4
|
+
<div class="flex w-full gap-4 sm:justify-between">
|
|
5
|
+
|
|
6
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
7
|
+
_id="237"
|
|
8
|
+
_title="Fastnachtseröffnungsfeier in Dieburg und ein ganz langer Titel"
|
|
9
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
10
|
+
|
|
11
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
12
|
+
_id="123"
|
|
13
|
+
_title="Super cachieee Headline. Wir brauchen Text aus dem CMS!"
|
|
14
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
15
|
+
|
|
16
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
17
|
+
_id="213"
|
|
18
|
+
_title="ARD-Themenwoche: Verkehrswende in Darmstadt"
|
|
19
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
20
|
+
|
|
21
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
22
|
+
_id="203"
|
|
23
|
+
_title="ARD-Themenwoche: Verkehrswende in Darmstadt"
|
|
24
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
25
|
+
|
|
26
|
+
{{> components/teaser/socialVideo/verticalVideoTeaser
|
|
27
|
+
_id="273"
|
|
28
|
+
_title="ARD-Themenwoche: Verkehrswende in Darmstadt und noch mehr"
|
|
29
|
+
_meta="09.11.24 | 01:00 min" }}
|
|
30
|
+
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
</div>
|