hr-design-system-handlebars 0.43.0 → 0.43.1
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 +12 -0
- package/dist/assets/index.css +10 -10
- package/dist/views/components/Label.hbs +5 -5
- package/dist/views/components/Teaser/components/Teaser-Heading.hbs +1 -1
- package/dist/views/components/Teaser/components/Topline.hbs +1 -1
- package/package.json +1 -1
- package/src/stories/views/components/Label.hbs +5 -5
- package/src/stories/views/components/Teaser/components/Teaser-Heading.hbs +1 -1
- package/src/stories/views/components/Teaser/components/Topline.hbs +1 -1
- package/src/stories/views/components/Teaser/data/teaser_full.json +8 -33
- package/tailwind.config.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.43.1 (Thu Apr 28 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Zusatzinformationen neben Label [#223](https://github.com/mumprod/hr-design-system-handlebars/pull/223) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.43.0 (Thu Apr 28 2022)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
package/dist/assets/index.css
CHANGED
|
@@ -1554,6 +1554,9 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1554
1554
|
.mt-6 {
|
|
1555
1555
|
margin-top: 1.5rem;
|
|
1556
1556
|
}
|
|
1557
|
+
.ml-2 {
|
|
1558
|
+
margin-left: 0.5rem;
|
|
1559
|
+
}
|
|
1557
1560
|
.-mt-2 {
|
|
1558
1561
|
margin-top: -0.5rem;
|
|
1559
1562
|
}
|
|
@@ -1572,9 +1575,6 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1572
1575
|
.ml-4 {
|
|
1573
1576
|
margin-left: 1rem;
|
|
1574
1577
|
}
|
|
1575
|
-
.ml-2 {
|
|
1576
|
-
margin-left: 0.5rem;
|
|
1577
|
-
}
|
|
1578
1578
|
.mt-0\.5 {
|
|
1579
1579
|
margin-top: 0.125rem;
|
|
1580
1580
|
}
|
|
@@ -1687,9 +1687,6 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1687
1687
|
.max-h-10 {
|
|
1688
1688
|
max-height: 2.5rem;
|
|
1689
1689
|
}
|
|
1690
|
-
.max-h-6 {
|
|
1691
|
-
max-height: 1.5rem;
|
|
1692
|
-
}
|
|
1693
1690
|
.w-16 {
|
|
1694
1691
|
width: 4rem;
|
|
1695
1692
|
}
|
|
@@ -2272,6 +2269,9 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2272
2269
|
.leading-6 {
|
|
2273
2270
|
line-height: 1.5rem;
|
|
2274
2271
|
}
|
|
2272
|
+
.leading-5\.5 {
|
|
2273
|
+
line-height: 1.375rem;
|
|
2274
|
+
}
|
|
2275
2275
|
.leading-10 {
|
|
2276
2276
|
line-height: 2.5rem;
|
|
2277
2277
|
}
|
|
@@ -2286,14 +2286,14 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2286
2286
|
--tw-text-opacity: 1;
|
|
2287
2287
|
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
2288
2288
|
}
|
|
2289
|
-
.text-blue-congress {
|
|
2290
|
-
--tw-text-opacity: 1;
|
|
2291
|
-
color: rgba(0, 82, 147, var(--tw-text-opacity));
|
|
2292
|
-
}
|
|
2293
2289
|
.text-grey-scorpion {
|
|
2294
2290
|
--tw-text-opacity: 1;
|
|
2295
2291
|
color: rgba(96, 96, 96, var(--tw-text-opacity));
|
|
2296
2292
|
}
|
|
2293
|
+
.text-blue-congress {
|
|
2294
|
+
--tw-text-opacity: 1;
|
|
2295
|
+
color: rgba(0, 82, 147, var(--tw-text-opacity));
|
|
2296
|
+
}
|
|
2297
2297
|
.text-toplineColor {
|
|
2298
2298
|
color: #006dc1;
|
|
2299
2299
|
color: var(--color-topline);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<span class="sb-label rounded px-1.5 pt-px inline-block tracking-wide text-white text-base leading-
|
|
1
|
+
<span class="sb-label rounded px-1.5 pt-px inline-block tracking-wide text-white text-base leading-5.5 font-heading {{inline-switch type '["media","event","breakingnews","comment","analysis","der-tag-in-hessen","glosse","fragen-und-antworten","infografik","interaktiv","program","download","pm","liveticker","ticker","livestream","live","livechat","buliticker","social-tv","blog"]' '["bg-labelMedia","bg-labelEvent","bg-labelBreakingnews","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelInfografik","bg-labelInfografik","bg-labelProgram","bg-labelDownload","bg-labelPm","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive"]'}}">
|
|
2
2
|
{{text}}
|
|
3
3
|
</span>
|
|
4
4
|
{{~#with this.byline ~}}
|
|
5
|
-
<span class="">
|
|
6
|
-
{{
|
|
5
|
+
<span class="ml-2 text-xs text-grey-scorpion font-headingSerif ">
|
|
6
|
+
{{~#if this.bylineSsi ~}}
|
|
7
7
|
{{{this.bylineSsi}}}
|
|
8
|
-
{{else}}
|
|
8
|
+
{{~else ~}}
|
|
9
9
|
{{this.bylineText}}
|
|
10
|
-
{{
|
|
10
|
+
{{~/if ~}}
|
|
11
11
|
</span>
|
|
12
12
|
{{~/with~}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{{#>components/base/link _cssClasses="hover:text-toplineColor" _doTracking=(if this.doTracking 'true') _clickLabelPrefix1=this.realTeasersize _clickLabelPrefix2="headlineLink" }}
|
|
2
2
|
{{#with this.content.label}}
|
|
3
|
-
<div class="
|
|
3
|
+
<div class="leading-5.5">
|
|
4
4
|
{{> components/Label type=loca text=type}}
|
|
5
5
|
</div>
|
|
6
6
|
{{/with~}}
|
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.43.
|
|
9
|
+
"version": "0.43.1",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<span class="sb-label rounded px-1.5 pt-px inline-block tracking-wide text-white text-base leading-
|
|
1
|
+
<span class="sb-label rounded px-1.5 pt-px inline-block tracking-wide text-white text-base leading-5.5 font-heading {{inline-switch type '["media","event","breakingnews","comment","analysis","der-tag-in-hessen","glosse","fragen-und-antworten","infografik","interaktiv","program","download","pm","liveticker","ticker","livestream","live","livechat","buliticker","social-tv","blog"]' '["bg-labelMedia","bg-labelEvent","bg-labelBreakingnews","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelInfografik","bg-labelInfografik","bg-labelProgram","bg-labelDownload","bg-labelPm","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive"]'}}">
|
|
2
2
|
{{text}}
|
|
3
3
|
</span>
|
|
4
4
|
{{~#with this.byline ~}}
|
|
5
|
-
<span class="">
|
|
6
|
-
{{
|
|
5
|
+
<span class="ml-2 text-xs text-grey-scorpion font-headingSerif ">
|
|
6
|
+
{{~#if this.bylineSsi ~}}
|
|
7
7
|
{{{this.bylineSsi}}}
|
|
8
|
-
{{else}}
|
|
8
|
+
{{~else ~}}
|
|
9
9
|
{{this.bylineText}}
|
|
10
|
-
{{
|
|
10
|
+
{{~/if ~}}
|
|
11
11
|
</span>
|
|
12
12
|
{{~/with~}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{{#>components/base/link _cssClasses="hover:text-toplineColor" _doTracking=(if this.doTracking 'true') _clickLabelPrefix1=this.realTeasersize _clickLabelPrefix2="headlineLink" }}
|
|
2
2
|
{{#with this.content.label}}
|
|
3
|
-
<div class="
|
|
3
|
+
<div class="leading-5.5">
|
|
4
4
|
{{> components/Label type=loca text=type}}
|
|
5
5
|
</div>
|
|
6
6
|
{{/with~}}
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"headingSize": "h1",
|
|
84
84
|
"icon": "ortsmarke",
|
|
85
85
|
"imageVariant": "topteaser",
|
|
86
|
-
"shorttext": "
|
|
86
|
+
"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.",
|
|
87
87
|
"sophoraId": "rueckkehr-nach-abschiebung-wolfhagen--100",
|
|
88
88
|
"profiles": "Von Alf Haubitz und Alice Merton",
|
|
89
89
|
"documentSection": "Gesellschaft",
|
|
@@ -93,11 +93,7 @@
|
|
|
93
93
|
},
|
|
94
94
|
"label": {
|
|
95
95
|
"type": "Ticker",
|
|
96
|
-
"loca": "ticker"
|
|
97
|
-
"byline": {
|
|
98
|
-
"bylineSsi": "BylineText aus ssi",
|
|
99
|
-
"bylineText": "BylineText"
|
|
100
|
-
}
|
|
96
|
+
"loca": "ticker"
|
|
101
97
|
},
|
|
102
98
|
"geotag": [
|
|
103
99
|
{
|
|
@@ -134,18 +130,13 @@
|
|
|
134
130
|
"teasertype": "standard",
|
|
135
131
|
"imageVariant": "topteaser",
|
|
136
132
|
"isFileDownload": false,
|
|
137
|
-
"topline": "Überglücklich, aber ohne Mama",
|
|
138
133
|
"trackingData": {
|
|
139
134
|
"secondLevelId": "2",
|
|
140
135
|
"pageName": "hessenschau"
|
|
141
136
|
},
|
|
142
137
|
"label": {
|
|
143
138
|
"type": "Ticker",
|
|
144
|
-
"loca": "ticker"
|
|
145
|
-
"byline": {
|
|
146
|
-
"bylineSsi": "BylineText aus ssi",
|
|
147
|
-
"bylineText": "BylineText"
|
|
148
|
-
}
|
|
139
|
+
"loca": "ticker"
|
|
149
140
|
}
|
|
150
141
|
}
|
|
151
142
|
}
|
|
@@ -226,7 +217,7 @@
|
|
|
226
217
|
"headingSize": "h1",
|
|
227
218
|
"icon": "ortsmarke",
|
|
228
219
|
"imageVariant": "topteaser",
|
|
229
|
-
"shorttext": "
|
|
220
|
+
"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.",
|
|
230
221
|
"sophoraId": "rueckkehr-nach-abschiebung-wolfhagen--100",
|
|
231
222
|
"profiles": "Von Alf Haubitz und Alice Merton",
|
|
232
223
|
"documentSection": "Gesellschaft",
|
|
@@ -281,15 +272,8 @@
|
|
|
281
272
|
"trackingData": {
|
|
282
273
|
"secondLevelId": "2",
|
|
283
274
|
"pageName": "hessenschau"
|
|
284
|
-
},
|
|
285
|
-
"label": {
|
|
286
|
-
"type": "Ticker",
|
|
287
|
-
"loca": "ticker",
|
|
288
|
-
"byline": {
|
|
289
|
-
"bylineSsi": "BylineText aus ssi",
|
|
290
|
-
"bylineText": "BylineText"
|
|
291
|
-
}
|
|
292
275
|
}
|
|
276
|
+
|
|
293
277
|
}
|
|
294
278
|
}
|
|
295
279
|
}
|
|
@@ -380,7 +364,7 @@
|
|
|
380
364
|
"headingSize": "h1",
|
|
381
365
|
"icon": "ortsmarke",
|
|
382
366
|
"imageVariant": "topteaser",
|
|
383
|
-
"shorttext": "
|
|
367
|
+
"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.",
|
|
384
368
|
"sophoraId": "rueckkehr-nach-abschiebung-wolfhagen--100",
|
|
385
369
|
"profiles": "Von Alf Haubitz und Alice Merton",
|
|
386
370
|
"documentSection": "Gesellschaft",
|
|
@@ -431,7 +415,6 @@
|
|
|
431
415
|
"teasertype": "standard",
|
|
432
416
|
"imageVariant": "topteaser",
|
|
433
417
|
"isFileDownload": false,
|
|
434
|
-
"topline": "Überglücklich, aber ohne Mama",
|
|
435
418
|
"trackingData": {
|
|
436
419
|
"secondLevelId": "2",
|
|
437
420
|
"pageName": "hessenschau"
|
|
@@ -440,7 +423,7 @@
|
|
|
440
423
|
"type": "Ticker",
|
|
441
424
|
"loca": "ticker",
|
|
442
425
|
"byline": {
|
|
443
|
-
"bylineSsi": "
|
|
426
|
+
"bylineSsi": " Von Alf Haubitz und Alice Merton",
|
|
444
427
|
"bylineText": "BylineText"
|
|
445
428
|
}
|
|
446
429
|
}
|
|
@@ -523,7 +506,7 @@
|
|
|
523
506
|
"headingSize": "h1",
|
|
524
507
|
"icon": "ortsmarke",
|
|
525
508
|
"imageVariant": "topteaser",
|
|
526
|
-
"shorttext": "
|
|
509
|
+
"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.",
|
|
527
510
|
"sophoraId": "rueckkehr-nach-abschiebung-wolfhagen--100",
|
|
528
511
|
"profiles": "Von Alf Haubitz und Alice Merton",
|
|
529
512
|
"documentSection": "Gesellschaft",
|
|
@@ -578,14 +561,6 @@
|
|
|
578
561
|
"trackingData": {
|
|
579
562
|
"secondLevelId": "2",
|
|
580
563
|
"pageName": "hessenschau"
|
|
581
|
-
},
|
|
582
|
-
"label": {
|
|
583
|
-
"type": "Ticker",
|
|
584
|
-
"loca": "ticker",
|
|
585
|
-
"byline": {
|
|
586
|
-
"bylineSsi": "BylineText aus ssi",
|
|
587
|
-
"bylineText": "BylineText"
|
|
588
|
-
}
|
|
589
564
|
}
|
|
590
565
|
}
|
|
591
566
|
}
|