hr-design-system-handlebars 0.105.1 → 0.105.3
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 +25 -0
- package/dist/assets/index.css +12 -23
- package/dist/views/components/grid/grid_group_standard.hbs +1 -1
- package/package.json +1 -1
- package/src/assets/css/custom-components.css +7 -20
- package/src/assets/fixtures/teaser/teaser_standard_33_long_geotag.json +18 -0
- package/src/stories/views/components/grid/grid_group_standard.hbs +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_33_long_geotag.json +1 -0
- package/src/stories/views/components/teaser/teaser_standard.stories.mdx +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# v0.105.3 (Mon Dec 12 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Add Story "Standard 33 mit langer Ortsmarke" [#431](https://github.com/mumprod/hr-design-system-handlebars/pull/431) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
|
|
6
|
+
|
|
7
|
+
#### Authors: 2
|
|
8
|
+
|
|
9
|
+
- Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
|
|
10
|
+
- selbaciri (saad.elbaciri@hr.de)
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# v0.105.2 (Mon Dec 12 2022)
|
|
15
|
+
|
|
16
|
+
#### 🐛 Bug Fix
|
|
17
|
+
|
|
18
|
+
- Dpe 1803 [#430](https://github.com/mumprod/hr-design-system-handlebars/pull/430) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
19
|
+
|
|
20
|
+
#### Authors: 1
|
|
21
|
+
|
|
22
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
1
26
|
# v0.105.1 (Mon Dec 12 2022)
|
|
2
27
|
|
|
3
28
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -539,29 +539,18 @@ video {
|
|
|
539
539
|
line-height: 1.5rem;
|
|
540
540
|
}
|
|
541
541
|
.headline-barrier {
|
|
542
|
-
display:
|
|
543
|
-
|
|
544
|
-
justify-content: center;
|
|
542
|
+
display: grid;
|
|
543
|
+
grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
|
|
545
544
|
align-items: center;
|
|
546
545
|
text-align: center;
|
|
546
|
+
grid-gap: 10px;
|
|
547
|
+
width: 100%;
|
|
547
548
|
}
|
|
548
549
|
.headline-barrier:before,
|
|
549
550
|
.headline-barrier:after {
|
|
550
|
-
|
|
551
|
+
|
|
551
552
|
border-top: 1px solid;
|
|
552
|
-
|
|
553
|
-
flex: 1 0 20px;
|
|
554
|
-
}
|
|
555
|
-
.headline-barrier:after {
|
|
556
|
-
margin: 3px 0 0 10px;
|
|
557
|
-
}
|
|
558
|
-
@media (min-width: 768px) {
|
|
559
|
-
.headline-barrier:after {
|
|
560
|
-
margin: 3px 0 0 20px;
|
|
561
|
-
}
|
|
562
|
-
.headline-barrier:before {
|
|
563
|
-
margin: 3px 20px 0 0;
|
|
564
|
-
}
|
|
553
|
+
content: '';
|
|
565
554
|
}
|
|
566
555
|
/* PODCAST SEEK SLIDER*/
|
|
567
556
|
.seek_slider::-webkit-slider-thumb {
|
|
@@ -1264,6 +1253,9 @@ video {
|
|
|
1264
1253
|
.gap-y-10 {
|
|
1265
1254
|
row-gap: 2.5rem;
|
|
1266
1255
|
}
|
|
1256
|
+
.gap-y-5 {
|
|
1257
|
+
row-gap: 1.25rem;
|
|
1258
|
+
}
|
|
1267
1259
|
.gap-y-3 {
|
|
1268
1260
|
row-gap: 0.75rem;
|
|
1269
1261
|
}
|
|
@@ -1271,9 +1263,6 @@ video {
|
|
|
1271
1263
|
-moz-column-gap: 1rem;
|
|
1272
1264
|
column-gap: 1rem;
|
|
1273
1265
|
}
|
|
1274
|
-
.gap-y-5 {
|
|
1275
|
-
row-gap: 1.25rem;
|
|
1276
|
-
}
|
|
1277
1266
|
.gap-y-4 {
|
|
1278
1267
|
row-gap: 1rem;
|
|
1279
1268
|
}
|
|
@@ -2208,7 +2197,7 @@ video {
|
|
|
2208
2197
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
2209
2198
|
}
|
|
2210
2199
|
.counter-reset {
|
|
2211
|
-
counter-reset:
|
|
2200
|
+
counter-reset: cnt1670852128278;
|
|
2212
2201
|
}
|
|
2213
2202
|
.line-clamp-4 {
|
|
2214
2203
|
overflow: hidden;
|
|
@@ -2440,7 +2429,7 @@ video {
|
|
|
2440
2429
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2441
2430
|
}
|
|
2442
2431
|
.-ordered {
|
|
2443
|
-
counter-increment:
|
|
2432
|
+
counter-increment: cnt1670852128278 1;
|
|
2444
2433
|
}
|
|
2445
2434
|
.-ordered::before {
|
|
2446
2435
|
position: absolute;
|
|
@@ -2456,7 +2445,7 @@ video {
|
|
|
2456
2445
|
letter-spacing: .0125em;
|
|
2457
2446
|
--tw-text-opacity: 1;
|
|
2458
2447
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2459
|
-
content: counter(
|
|
2448
|
+
content: counter(cnt1670852128278);
|
|
2460
2449
|
}
|
|
2461
2450
|
/*! ****************************/
|
|
2462
2451
|
/*! text-shadow */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<section class="grid grid-cols-12 first:mt-6 items-start bg-white content-start gap-x-6 gap-y-
|
|
1
|
+
<section class="grid grid-cols-12 first:mt-6 items-start bg-white content-start gap-x-6 gap-y-5 col-span-12 {{inline-switch _size '["100","66","50","33","25"]' '["","md:col-span-8","md:col-span-6","md:col-span-4","md:col-span-3"]'}}">
|
|
2
2
|
{{> @partial-block }}
|
|
3
3
|
</section>
|
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.105.
|
|
9
|
+
"version": "0.105.3",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -30,33 +30,20 @@
|
|
|
30
30
|
.btn--xl {
|
|
31
31
|
@apply px-6 py-3 text-lg;
|
|
32
32
|
}
|
|
33
|
+
|
|
33
34
|
.headline-barrier {
|
|
34
|
-
display:
|
|
35
|
-
|
|
36
|
-
justify-content: center;
|
|
35
|
+
display: grid;
|
|
36
|
+
grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
|
|
37
37
|
align-items: center;
|
|
38
38
|
text-align: center;
|
|
39
|
+
grid-gap: 10px;
|
|
40
|
+
width: 100%;
|
|
39
41
|
}
|
|
40
|
-
|
|
41
42
|
.headline-barrier:before,
|
|
42
43
|
.headline-barrier:after {
|
|
43
|
-
|
|
44
|
+
|
|
44
45
|
border-top: 1px solid;
|
|
45
|
-
|
|
46
|
-
flex: 1 0 20px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.headline-barrier:after {
|
|
50
|
-
margin: 3px 0 0 10px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@media screen(md) {
|
|
54
|
-
.headline-barrier:after {
|
|
55
|
-
margin: 3px 0 0 20px;
|
|
56
|
-
}
|
|
57
|
-
.headline-barrier:before {
|
|
58
|
-
margin: 3px 20px 0 0;
|
|
59
|
-
}
|
|
46
|
+
content: '';
|
|
60
47
|
}
|
|
61
48
|
|
|
62
49
|
/* PODCAST SEEK SLIDER*/
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@->jsoninclude": "teaser/teasers.inc.json",
|
|
3
|
+
"@->contentpath": "teaser",
|
|
4
|
+
"@->overrides": [
|
|
5
|
+
{
|
|
6
|
+
"@->contentpath": "logicItem.includeModel.teaserSize",
|
|
7
|
+
"@->value": "33"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"@->contentpath": "logicItem.includeModel.geotag",
|
|
11
|
+
"@->value": [
|
|
12
|
+
{
|
|
13
|
+
"title": "Poppenhausen (Wasserkuppe)"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<section class="grid grid-cols-12 first:mt-6 items-start bg-white content-start gap-x-6 gap-y-
|
|
1
|
+
<section class="grid grid-cols-12 first:mt-6 items-start bg-white content-start gap-x-6 gap-y-5 col-span-12 {{inline-switch _size '["100","66","50","33","25"]' '["","md:col-span-8","md:col-span-6","md:col-span-4","md:col-span-3"]'}}">
|
|
2
2
|
{{> @partial-block }}
|
|
3
3
|
</section>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"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-ds","teaserSize":"33","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":true,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":true},"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","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,"isVideo":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.","sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"Von Alf Haubitz und Alice Merton","teaserLead":{"avDocument":"","image":""},"geotag":[{"title":"Poppenhausen (Wasserkuppe)"}],"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}}}}}
|
|
@@ -14,6 +14,7 @@ import teaser100Program from './fixtures/teaser_standard_100_serif_program.json'
|
|
|
14
14
|
import teaser50Link from './fixtures/teaser_standard_50_serif_link.json'
|
|
15
15
|
import teaser33Link from './fixtures/teaser_standard_33_serif_link.json'
|
|
16
16
|
import teaser25Link from './fixtures/teaser_standard_25_serif_link.json'
|
|
17
|
+
import teaser33LongGeotag from './fixtures/teaser_standard_33_long_geotag.json'
|
|
17
18
|
|
|
18
19
|
<Meta
|
|
19
20
|
title="Komponenten/Teaser/Standard"
|
|
@@ -139,5 +140,8 @@ Die Standard-Teaser-Komponente wird in handlebars wie folgt eingebaut:
|
|
|
139
140
|
<Story name="Standard 100 Mit Download" args={teaser100Download.logicItem.includeModel}>
|
|
140
141
|
{Template.bind({})}
|
|
141
142
|
</Story>
|
|
143
|
+
<Story name="Standard 33 mit langer Ortsmarke" args={teaser33LongGeotag.logicItem.includeModel}>
|
|
144
|
+
{Template.bind({})}
|
|
145
|
+
</Story>
|
|
142
146
|
</Preview>
|
|
143
147
|
|