hr-design-system-handlebars 0.47.13 → 0.47.16
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/dist/assets/index.css +18 -21
- package/dist/views/components/teaser/components/teaser_title_classes.hbs +5 -1
- package/dist/views/components/teaser/teaser_alternativ.hbs +3 -3
- package/dist/views/components/teaser/teaser_poster.hbs +2 -2
- package/package.json +1 -1
- package/src/stories/views/components/teaser/components/teaser_byline.stories.mdx +52 -1
- package/src/stories/views/components/teaser/components/teaser_title.stories.mdx +34 -2
- package/src/stories/views/components/teaser/components/teaser_title_classes.hbs +5 -1
- package/src/stories/views/components/teaser/components/teaser_topline.stories.mdx +26 -4
- package/src/stories/views/components/teaser/teaser_alternativ.hbs +3 -3
- package/src/stories/views/components/teaser/teaser_poster.hbs +2 -2
- package/src/stories/views/components/teaser/teaser_poster.stories.mdx +15 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,40 @@
|
|
|
1
|
+
# v0.47.16 (Mon Jun 27 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- add documentation [#251](https://github.com/mumprod/hr-design-system-handlebars/pull/251) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v0.47.15 (Thu Jun 23 2022)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- Posterteaser-final [#250](https://github.com/mumprod/hr-design-system-handlebars/pull/250) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
# v0.47.14 (Tue Jun 21 2022)
|
|
26
|
+
|
|
27
|
+
#### 🐛 Bug Fix
|
|
28
|
+
|
|
29
|
+
- 100% & 50% Alternativ in mobile 100% Standard [#249](https://github.com/mumprod/hr-design-system-handlebars/pull/249) (zouhair1 [@selbaciri](https://github.com/selbaciri))
|
|
30
|
+
|
|
31
|
+
#### Authors: 2
|
|
32
|
+
|
|
33
|
+
- Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
|
|
34
|
+
- selbaciri (zouhair1)
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
1
38
|
# v0.47.13 (Fri Jun 17 2022)
|
|
2
39
|
|
|
3
40
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1548,6 +1548,10 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1548
1548
|
margin-left: 1.25rem;
|
|
1549
1549
|
margin-right: 1.25rem;
|
|
1550
1550
|
}
|
|
1551
|
+
.mx-8 {
|
|
1552
|
+
margin-left: 2rem;
|
|
1553
|
+
margin-right: 2rem;
|
|
1554
|
+
}
|
|
1551
1555
|
.mx-px {
|
|
1552
1556
|
margin-left: 1px;
|
|
1553
1557
|
margin-right: 1px;
|
|
@@ -1573,8 +1577,8 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1573
1577
|
.-mt-10 {
|
|
1574
1578
|
margin-top: -2.5rem;
|
|
1575
1579
|
}
|
|
1576
|
-
.mb-
|
|
1577
|
-
margin-bottom:
|
|
1580
|
+
.mb-8 {
|
|
1581
|
+
margin-bottom: 2rem;
|
|
1578
1582
|
}
|
|
1579
1583
|
.mr-4 {
|
|
1580
1584
|
margin-right: 1rem;
|
|
@@ -1892,21 +1896,16 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1892
1896
|
.gap-y-9 {
|
|
1893
1897
|
row-gap: 2.25rem;
|
|
1894
1898
|
}
|
|
1895
|
-
.gap-y-
|
|
1896
|
-
row-gap:
|
|
1897
|
-
}
|
|
1898
|
-
.gap-x-3 {
|
|
1899
|
-
-webkit-column-gap: 0.75rem;
|
|
1900
|
-
-moz-column-gap: 0.75rem;
|
|
1901
|
-
column-gap: 0.75rem;
|
|
1899
|
+
.gap-y-3 {
|
|
1900
|
+
row-gap: 0.75rem;
|
|
1902
1901
|
}
|
|
1903
1902
|
.gap-x-4 {
|
|
1904
1903
|
-webkit-column-gap: 1rem;
|
|
1905
1904
|
-moz-column-gap: 1rem;
|
|
1906
1905
|
column-gap: 1rem;
|
|
1907
1906
|
}
|
|
1908
|
-
.gap-y-
|
|
1909
|
-
row-gap:
|
|
1907
|
+
.gap-y-5 {
|
|
1908
|
+
row-gap: 1.25rem;
|
|
1910
1909
|
}
|
|
1911
1910
|
.divide-y > :not([hidden]) ~ :not([hidden]) {
|
|
1912
1911
|
--tw-divide-y-reverse: 0;
|
|
@@ -2163,10 +2162,6 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2163
2162
|
padding-top: 0.75rem;
|
|
2164
2163
|
padding-bottom: 0.75rem;
|
|
2165
2164
|
}
|
|
2166
|
-
.px-0 {
|
|
2167
|
-
padding-left: 0px;
|
|
2168
|
-
padding-right: 0px;
|
|
2169
|
-
}
|
|
2170
2165
|
.px-2 {
|
|
2171
2166
|
padding-left: 0.5rem;
|
|
2172
2167
|
padding-right: 0.5rem;
|
|
@@ -2191,6 +2186,10 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2191
2186
|
padding-top: 0.25rem;
|
|
2192
2187
|
padding-bottom: 0.25rem;
|
|
2193
2188
|
}
|
|
2189
|
+
.px-0 {
|
|
2190
|
+
padding-left: 0px;
|
|
2191
|
+
padding-right: 0px;
|
|
2192
|
+
}
|
|
2194
2193
|
.px-4 {
|
|
2195
2194
|
padding-left: 1rem;
|
|
2196
2195
|
padding-right: 1rem;
|
|
@@ -2711,6 +2710,10 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2711
2710
|
margin-top: -10rem;
|
|
2712
2711
|
}
|
|
2713
2712
|
|
|
2713
|
+
.md\:mb-16 {
|
|
2714
|
+
margin-bottom: 4rem;
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2714
2717
|
.md\:block {
|
|
2715
2718
|
display: block;
|
|
2716
2719
|
}
|
|
@@ -2805,12 +2808,6 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2805
2808
|
justify-content: flex-end;
|
|
2806
2809
|
}
|
|
2807
2810
|
|
|
2808
|
-
.md\:gap-x-5 {
|
|
2809
|
-
-webkit-column-gap: 1.25rem;
|
|
2810
|
-
-moz-column-gap: 1.25rem;
|
|
2811
|
-
column-gap: 1.25rem;
|
|
2812
|
-
}
|
|
2813
|
-
|
|
2814
2811
|
.md\:rounded-none {
|
|
2815
2812
|
border-radius: 0px;
|
|
2816
2813
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<article class="col-span-12 flex
|
|
1
|
+
<article class="col-span-12 flex flex-col md:flex-row gap-y-3 gap-x-4 md:px-0 {{inline-switch this.teaserSize '["50"]' '["md:col-span-6"]'}} ">
|
|
2
2
|
<figure class="ar-16-9 {{inline-switch this.teaserSize '["50","100","hero"]' '["basis-2/5 md:basis-1/3", "basis-1/3" , "basis-2/3"]'}} ">
|
|
3
3
|
{{#>components/base/link css="" isAriaHidden=true doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="mediaLink" }}
|
|
4
4
|
{{~> components/base/image/responsive_image this.teaserImage type=this.teasertype variant=this.imageVariant noDelay=../noDelay addClassImg="" ~}}
|
|
5
5
|
{{/components/base/link}}
|
|
6
6
|
</figure>
|
|
7
7
|
<div class="{{inline-switch this.teaserSize '["50","100","hero"]' '["basis-3/5 md:basis-2/3","basis-2/3","basis-1/3"]'}} ">
|
|
8
|
-
<header class="
|
|
8
|
+
<header class="px-5 md:px-0">
|
|
9
9
|
{{#>components/base/link css="hover:text-toplineColor" doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="headlineLink" }}
|
|
10
10
|
{{> components/teaser/components/teaser_heading fontVariant=this.headingFontVariant
|
|
11
11
|
headlineTag=this.headlineTag
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
topline=this.topline}}
|
|
17
17
|
{{/components/base/link}}
|
|
18
18
|
</header>
|
|
19
|
-
<section class="
|
|
19
|
+
<section class="px-5 md:px-0">
|
|
20
20
|
{{> components/teaser/components/teaser_text text=this.shorttext size=this.teaserSize }}
|
|
21
21
|
{{> components/teaser/components/teaser_byline}}
|
|
22
22
|
</section>
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
{{~> components/base/image/responsive_image this.teaserImage type=this.teaserType variant=this.content.imageVariant noDelay=../_noDelay addClassImg="ar__content rounded-tl-3xl rounded-br-3xl" ~}}
|
|
4
4
|
</figure>
|
|
5
5
|
<div class="absolute flex justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-3xl rounded-br-3xl" aria-hidden="true">
|
|
6
|
-
<div class="self-center block mx-
|
|
6
|
+
<div class="self-center block mx-8 text-center text-white">
|
|
7
7
|
{{> components/teaser/components/teaser_heading headlineTag="h2" size=teaserSize font=(inline-switch isSerifHeading '[true, false]' '["font-headingSerif","font-heading font-bold"]') }}
|
|
8
8
|
</div>
|
|
9
9
|
</div>
|
|
10
10
|
{{#>components/base/link css="absolute flex w-full h-full justify-center" isAriaHidden=true doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="mediaLink" }}
|
|
11
|
-
<div class="self-end px-2 text-white border border-white
|
|
11
|
+
<div class="self-end px-2 {{inline-switch teaserSize '["33","50"]' '["mb-8","mb-8 md:mb-16"]'}} text-white border border-white font-heading">{{this.link.readMoreText.readMoreLong}}</div>
|
|
12
12
|
{{/components/base/link}}
|
|
13
13
|
<span class="sr-only">{{this.link.readMoreText.readMoreLong}}: {{this.title}}</span>
|
|
14
14
|
</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.47.
|
|
9
|
+
"version": "0.47.16",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -12,6 +12,57 @@ export const Template = ({ ...args }) => {
|
|
|
12
12
|
|
|
13
13
|
# Byline
|
|
14
14
|
|
|
15
|
+
## Beschreibung
|
|
16
|
+
|
|
17
|
+
In der Byline-Komponente werden folgende Teaser-Zusatzinformationen angezeigt:
|
|
18
|
+
|
|
19
|
+
<ul>
|
|
20
|
+
<li><b>Datum</b> (mit oder ohne Uhrzeit)</li>
|
|
21
|
+
<li><b>Strukturknoten</b> (Rubrik)</li>
|
|
22
|
+
<li><b>Autor(en)</b></li>
|
|
23
|
+
<li><b>Link zu den Kommentaren des Artikels</b> (mit aktueller Kommentar-Anzahl)</li>
|
|
24
|
+
</ul>
|
|
25
|
+
|
|
26
|
+
Alle Informationen sind optional. Der Kommentar-Link wird per SSI eingebunden und ist in components/teaser/components/teaser_comments.hbs implementiert.
|
|
27
|
+
|
|
28
|
+
## Sub-Komponenten
|
|
29
|
+
|
|
30
|
+
Die Byline-Komponente inkludiert folgende Komponenten:
|
|
31
|
+
|
|
32
|
+
<ul>
|
|
33
|
+
<li>components/base/<b>loadSSI</b></li>
|
|
34
|
+
<li>components/teaser/components/<b>teaser_comments</b></li>
|
|
35
|
+
</ul>
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## Props
|
|
39
|
+
|
|
40
|
+
Die Byline-Komponente benötigt die folgenden json-Daten (enthalten im Teaser-Json im Objekt <b>logicItem.includeModel</b>):
|
|
41
|
+
|
|
42
|
+
<ul>
|
|
43
|
+
<li><b>teaserInfo</b></li>
|
|
44
|
+
<li><b>teaserInfo.showTeaserInfo</b></li>
|
|
45
|
+
<li><b>teaserInfo.showTeaserInfoDate</b></li>
|
|
46
|
+
<li><b>teaserInfo.showTeaserInfoDateTime</b></li>
|
|
47
|
+
<li><b>teaserInfo.showTeaserInfoSection</b></li>
|
|
48
|
+
<li><b>teaserDate</b></li>
|
|
49
|
+
<li><b>teaserDate.htmlDateTime</b></li>
|
|
50
|
+
<li><b>teaserDate.date</b></li>
|
|
51
|
+
<li><b>teaserDate.dateSeparatorTime</b></li>
|
|
52
|
+
<li><b>documentSection</b></li>
|
|
53
|
+
<li><b>profiles</b></li>
|
|
54
|
+
</ul>
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
## Verwendung
|
|
58
|
+
|
|
59
|
+
Die Byline-Komponente wird in handlebars wie folgt eingebaut:
|
|
60
|
+
|
|
61
|
+
```html
|
|
62
|
+
{{> components/teaser/components/teaser_byline}}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
|
|
15
66
|
<Preview withToolbar>
|
|
16
67
|
<Story name="default" args={teaserWithoutComments.logicItem.includeModel}>
|
|
17
68
|
{Template.bind({})}
|
|
@@ -24,4 +75,4 @@ export const Template = ({ ...args }) => {
|
|
|
24
75
|
</Story>
|
|
25
76
|
</Preview>
|
|
26
77
|
|
|
27
|
-
<ArgsTable story="default" />
|
|
78
|
+
<ArgsTable story="default" />
|
|
@@ -42,7 +42,39 @@ export const Template = ({ text, ...args }) => {
|
|
|
42
42
|
|
|
43
43
|
# Titel
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
## Beschreibung
|
|
46
|
+
|
|
47
|
+
In der Titel-Komponente wird der Titel des Artikels dargestellt. Textgröße und Schriftart werden
|
|
48
|
+
anhand der Parameter <b>teaserType</b> und <b>fontVariant</b> in der inkludierten Sub-Komponente <b>teaser_title_classes</b> ermitelt.
|
|
49
|
+
|
|
50
|
+
## Sub-Komponenten
|
|
51
|
+
|
|
52
|
+
Die Titel-Komponente inkludiert folgende Komponenten:
|
|
53
|
+
|
|
54
|
+
<ul>
|
|
55
|
+
<li>components/teaser/components/<b>teaser_title_classes</b></li>
|
|
56
|
+
</ul>
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
## Parameter
|
|
60
|
+
|
|
61
|
+
Die Titel-Komponente benötigt folgende Parameter:
|
|
62
|
+
|
|
63
|
+
<ul>
|
|
64
|
+
<li><b>text</b></li>
|
|
65
|
+
<li><b>fontVariant</b></li>
|
|
66
|
+
<li><b>size</b></li>
|
|
67
|
+
<li><b>teaserType</b></li>
|
|
68
|
+
</ul>
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
## Verwendung
|
|
72
|
+
|
|
73
|
+
Die Titel-Komponente wird in handlebars wie folgt eingebaut:
|
|
74
|
+
|
|
75
|
+
```html
|
|
76
|
+
{{> components/teaser/components/teaser_title text=title fontVariant=fontVariant size=size teaserType=teaserType}}
|
|
77
|
+
```
|
|
46
78
|
|
|
47
79
|
<Preview withToolbar>
|
|
48
80
|
<Story
|
|
@@ -80,4 +112,4 @@ Beispiele für die Titel-Komponente:
|
|
|
80
112
|
</Story>
|
|
81
113
|
</Preview>
|
|
82
114
|
|
|
83
|
-
<ArgsTable story="
|
|
115
|
+
<ArgsTable story="Titel Serif - Hero" />
|
|
@@ -3,7 +3,7 @@ import { ArgsTable, Meta, Story, Preview } from "@storybook/addon-docs";
|
|
|
3
3
|
import topline from "./teaser_topline.hbs";
|
|
4
4
|
|
|
5
5
|
<Meta
|
|
6
|
-
title="Komponenten/Teaser/Komponenten/
|
|
6
|
+
title="Komponenten/Teaser/Komponenten/Topline"
|
|
7
7
|
argTypes={{
|
|
8
8
|
text: {
|
|
9
9
|
control: "text",
|
|
@@ -20,11 +20,33 @@ export const Template = ({ text, ...args }) => {
|
|
|
20
20
|
|
|
21
21
|
# Topline
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
## Beschreibung
|
|
24
|
+
|
|
25
|
+
In der Topline-Komponente wird die Dachzeile des Artikels dargestellt.
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## Parameter
|
|
29
|
+
|
|
30
|
+
Die Topline-Komponente benötigt folgende Parameter:
|
|
31
|
+
|
|
32
|
+
<ul>
|
|
33
|
+
<li><b>teaserType</b></li>
|
|
34
|
+
<li><b>readMore</b></li>
|
|
35
|
+
<li><b>text</b></li>
|
|
36
|
+
</ul>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## Verwendung
|
|
40
|
+
|
|
41
|
+
Die Topline-Komponente wird in handlebars wie folgt eingebaut:
|
|
42
|
+
|
|
43
|
+
```html
|
|
44
|
+
{{> components/teaser/components/teaser_topline text=topline readMore=readMore teaserType=teaserType}}
|
|
45
|
+
```
|
|
24
46
|
|
|
25
47
|
<Preview withToolbar>
|
|
26
48
|
<Story
|
|
27
|
-
name="
|
|
49
|
+
name="default"
|
|
28
50
|
args={{
|
|
29
51
|
text:
|
|
30
52
|
"Dies ist die Dachzeile",
|
|
@@ -34,4 +56,4 @@ Beispieltext für die Topline-Komponente:
|
|
|
34
56
|
</Story>
|
|
35
57
|
</Preview>
|
|
36
58
|
|
|
37
|
-
<ArgsTable story="
|
|
59
|
+
<ArgsTable story="default" />
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<article class="col-span-12 flex
|
|
1
|
+
<article class="col-span-12 flex flex-col md:flex-row gap-y-3 gap-x-4 md:px-0 {{inline-switch this.teaserSize '["50"]' '["md:col-span-6"]'}} ">
|
|
2
2
|
<figure class="ar-16-9 {{inline-switch this.teaserSize '["50","100","hero"]' '["basis-2/5 md:basis-1/3", "basis-1/3" , "basis-2/3"]'}} ">
|
|
3
3
|
{{#>components/base/link css="" isAriaHidden=true doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="mediaLink" }}
|
|
4
4
|
{{~> components/base/image/responsive_image this.teaserImage type=this.teasertype variant=this.imageVariant noDelay=../noDelay addClassImg="" ~}}
|
|
5
5
|
{{/components/base/link}}
|
|
6
6
|
</figure>
|
|
7
7
|
<div class="{{inline-switch this.teaserSize '["50","100","hero"]' '["basis-3/5 md:basis-2/3","basis-2/3","basis-1/3"]'}} ">
|
|
8
|
-
<header class="
|
|
8
|
+
<header class="px-5 md:px-0">
|
|
9
9
|
{{#>components/base/link css="hover:text-toplineColor" doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="headlineLink" }}
|
|
10
10
|
{{> components/teaser/components/teaser_heading fontVariant=this.headingFontVariant
|
|
11
11
|
headlineTag=this.headlineTag
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
topline=this.topline}}
|
|
17
17
|
{{/components/base/link}}
|
|
18
18
|
</header>
|
|
19
|
-
<section class="
|
|
19
|
+
<section class="px-5 md:px-0">
|
|
20
20
|
{{> components/teaser/components/teaser_text text=this.shorttext size=this.teaserSize }}
|
|
21
21
|
{{> components/teaser/components/teaser_byline}}
|
|
22
22
|
</section>
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
{{~> components/base/image/responsive_image this.teaserImage type=this.teaserType variant=this.content.imageVariant noDelay=../_noDelay addClassImg="ar__content rounded-tl-3xl rounded-br-3xl" ~}}
|
|
4
4
|
</figure>
|
|
5
5
|
<div class="absolute flex justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-3xl rounded-br-3xl" aria-hidden="true">
|
|
6
|
-
<div class="self-center block mx-
|
|
6
|
+
<div class="self-center block mx-8 text-center text-white">
|
|
7
7
|
{{> components/teaser/components/teaser_heading headlineTag="h2" size=teaserSize font=(inline-switch isSerifHeading '[true, false]' '["font-headingSerif","font-heading font-bold"]') }}
|
|
8
8
|
</div>
|
|
9
9
|
</div>
|
|
10
10
|
{{#>components/base/link css="absolute flex w-full h-full justify-center" isAriaHidden=true doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="mediaLink" }}
|
|
11
|
-
<div class="self-end px-2 text-white border border-white
|
|
11
|
+
<div class="self-end px-2 {{inline-switch teaserSize '["33","50"]' '["mb-8","mb-8 md:mb-16"]'}} text-white border border-white font-heading">{{this.link.readMoreText.readMoreLong}}</div>
|
|
12
12
|
{{/components/base/link}}
|
|
13
13
|
<span class="sr-only">{{this.link.readMoreText.readMoreLong}}: {{this.title}}</span>
|
|
14
14
|
</article>
|
|
@@ -57,18 +57,6 @@ Inhalt dieses spans: Zusatztext + ": " + Titel
|
|
|
57
57
|
|
|
58
58
|
Der Poster-Teaser soll nur als 50%- bzw. 33%-Teaser verwendet werden. Diese Restriktion muss cms-seitig implementiert werden.
|
|
59
59
|
|
|
60
|
-
<Preview withToolbar>
|
|
61
|
-
<Story name="Poster 50" args={teserPosterLg.logicItem.includeModel}>
|
|
62
|
-
{Template.bind({})}
|
|
63
|
-
</Story>
|
|
64
|
-
<Story name="Poster 33" args={teserPosterMd.logicItem.includeModel}>
|
|
65
|
-
{Template.bind({})}
|
|
66
|
-
</Story>
|
|
67
|
-
<Story name="Poster 33 mit Label" args={teserPosterMdLabel.logicItem.includeModel}>
|
|
68
|
-
{Template.bind({})}
|
|
69
|
-
</Story>
|
|
70
|
-
</Preview>
|
|
71
|
-
|
|
72
60
|
|
|
73
61
|
## Sub-Komponenten
|
|
74
62
|
|
|
@@ -104,4 +92,18 @@ Die Poster-Teaser-Komponente wird in handlebars wie folgt eingebaut:
|
|
|
104
92
|
|
|
105
93
|
```html
|
|
106
94
|
{{> components/teaser/teaser_poster}}
|
|
107
|
-
```
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
<Preview withToolbar>
|
|
98
|
+
<Story name="Poster 50" args={teserPosterLg.logicItem.includeModel}>
|
|
99
|
+
{Template.bind({})}
|
|
100
|
+
</Story>
|
|
101
|
+
<Story name="Poster 33" args={teserPosterMd.logicItem.includeModel}>
|
|
102
|
+
{Template.bind({})}
|
|
103
|
+
</Story>
|
|
104
|
+
<Story name="Poster 33 mit Label" args={teserPosterMdLabel.logicItem.includeModel}>
|
|
105
|
+
{Template.bind({})}
|
|
106
|
+
</Story>
|
|
107
|
+
</Preview>
|
|
108
|
+
|
|
109
|
+
<ArgsTable story="Poster 50" />
|