hr-design-system-handlebars 0.105.0 → 0.105.2

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 CHANGED
@@ -1,3 +1,28 @@
1
+ # v0.105.2 (Mon Dec 12 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Dpe 1803 [#430](https://github.com/mumprod/hr-design-system-handlebars/pull/430) ([@vascoeduardo](https://github.com/vascoeduardo))
6
+
7
+ #### Authors: 1
8
+
9
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
10
+
11
+ ---
12
+
13
+ # v0.105.1 (Mon Dec 12 2022)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - Add Story "Meistgeklickt-Box mit langem Titel" [#429](https://github.com/mumprod/hr-design-system-handlebars/pull/429) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
18
+
19
+ #### Authors: 2
20
+
21
+ - Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
22
+ - selbaciri (saad.elbaciri@hr.de)
23
+
24
+ ---
25
+
1
26
  # v0.105.0 (Mon Dec 12 2022)
2
27
 
3
28
  #### 🚀 Enhancement
@@ -539,29 +539,18 @@ video {
539
539
  line-height: 1.5rem;
540
540
  }
541
541
  .headline-barrier {
542
- display: flex;
543
- width: 100%;
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
- content: '';
551
+
551
552
  border-top: 1px solid;
552
- margin: 3px 10px 0 0;
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: cnt1670838056332;
2200
+ counter-reset: cnt1670850905649;
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: cnt1670838056332 1;
2432
+ counter-increment: cnt1670850905649 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(cnt1670838056332);
2448
+ content: counter(cnt1670850905649);
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-6 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"]'}}">
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.0",
9
+ "version": "0.105.2",
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: flex;
35
- width: 100%;
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
- content: '';
44
+
44
45
  border-top: 1px solid;
45
- margin: 3px 10px 0 0;
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,25 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teaser_cluster.inc.json",
3
+ "@->overrides": [
4
+ {
5
+ "@->contentpath": "teaserSize",
6
+ "@->value": "33"
7
+ },
8
+ {
9
+ "@->contentpath": "title",
10
+ "@->value": "Die meistgeklickten Artikel der Woche"
11
+ },
12
+ {
13
+ "@->contentpath": "teaserLogo",
14
+ "@->value": "hessenschau_de"
15
+ },
16
+ {
17
+ "@->contentpath": "isOrdered",
18
+ "@->value": "true"
19
+ },
20
+ {
21
+ "@->contentpath": "overviewLink.link",
22
+ "@->value": ""
23
+ }
24
+ ]
25
+ }
@@ -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-6 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"]'}}">
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>
@@ -17,6 +17,7 @@ import clusterTeaserImage100 from '../fixtures/cluster_teaser_100_image.json'
17
17
  import clusterTeaserImage50 from '../fixtures/cluster_teaser_50_image.json'
18
18
  import clusterTeaserImage33 from '../fixtures/cluster_teaser_33_image.json'
19
19
  import PodcastChannelClusterTeaser from '../fixtures/cluster_teaser_Podcast_Channel.json'
20
+ import clusterTeaserOrdered33LongTitle from '../fixtures/cluster_teaser_33_long_title.json'
20
21
 
21
22
  <Meta title="Komponenten/Teaser/Cluster"
22
23
  parameters={{
@@ -92,4 +93,7 @@ export const Template = (args, { globals: { customConditionalToolbar } }) => {
92
93
  <Story name="PodcastEpisoden ClusterTeaser" args={PodcastChannelClusterTeaser}>
93
94
  {Template.bind({})}
94
95
  </Story>
96
+ <Story name="Meistgeklickt-Box mit langem Titel" args={clusterTeaserOrdered33LongTitle}>
97
+ {Template.bind({})}
98
+ </Story>
95
99
  </Preview>
@@ -0,0 +1 @@
1
+ {"title":"Die meistgeklickten Artikel der Woche","teaserLogo":"hessenschau_de","showFirstImageOrGenreImage":false,"hideTitle":false,"showGenreImage":false,"showFirstImage":false,"isOrdered":"true","teaserSize":"33","genreImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/buchmesse-fahnen-102_v-16to9__medium.jpg","sources":[{"media":"all and (max-width: 47.938em)","srcset":"images/buchmesse-fahnen-102_v-16to9__small.jpg 320w, images/buchmesse-fahnen-102_v-16to9__medium.jpg 480w, images/buchmesse-fahnen-102_v-16to9__medium__extended.jpg 640w, images/buchmesse-fahnen-102_v-16to9.jpg 960w, images/buchmesse-fahnen-102_v-16to9__retina.jpg 1920w"},{"media":"all and (min-width: 48em)","srcset":"images/buchmesse-fahnen-102_v-1to1__small.jpg 380w, images/buchmesse-fahnen-102_v-1to1__medium.jpg 480w, images/buchmesse-fahnen-102_v-1to1.jpg 720w, images/buchmesse-fahnen-102_v-1to1__large.jpg 960w"}]}},"teaserType":"headlinelist","aspectRatio":"ar-16-9","imageVariant":"33","firstEntry":{"title":"Mann in Heusenstamm von S-Bahn erfasst - tot","url":"/teaser1","teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/connichi-106_v-16to9__medium.jpg","sources":[{"media":"(min-width: 768px) 300px, (min-width: 640px) calc(100vw - 8.5rem), calc(100vw - 2,5rem)","srcset":"images/connichi-106_v-16to9__small.jpg 320w, images/connichi-106_v-16to9__medium.jpg 480w, images/connichi-106_v-16to9__medium__extended.jpg 640w, images/connichi-106_v-16to9.jpg 960w, images/connichi-106_v-16to9__retina.jpg 1920w"}]}},"teaserSize":"hero","showLabel":false,"showProfileInfo":false,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":false,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":false},"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"documentModificationDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"documentSection":"Panorama","isBroadcastDateHidden":false,"showProfileInfoAsByline":true,"profiles":"Von Petra Boberg und Christine Rütte","link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}},"airDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"}},"clusterTeaserItems":[{"title":"Mann in Heusenstamm von S-Bahn erfasst - tot","url":"/teaser1","teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/connichi-106_v-16to9__medium.jpg","sources":[{"media":"(min-width: 768px) 300px, (min-width: 640px) calc(100vw - 8.5rem), calc(100vw - 2,5rem)","srcset":"images/connichi-106_v-16to9__small.jpg 320w, images/connichi-106_v-16to9__medium.jpg 480w, images/connichi-106_v-16to9__medium__extended.jpg 640w, images/connichi-106_v-16to9.jpg 960w, images/connichi-106_v-16to9__retina.jpg 1920w"}]}},"teaserSize":"hero","showLabel":false,"showProfileInfo":false,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":false,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":false},"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"documentModificationDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"documentSection":"Panorama","isBroadcastDateHidden":false,"showProfileInfoAsByline":true,"profiles":"Von Petra Boberg und Christine Rütte","link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}},"airDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"}},{"title":"Aktuelles von Eintracht Frankfurt & Darmstadt 98: News im Bundesliga-Ticker","url":"/teaser2","teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/lehrerin-ukraine-104_v-16to9__medium.jpg","sources":[{"media":"(min-width: 768px) 300px, (min-width: 640px) calc(100vw - 8.5rem), calc(100vw - 2,5rem)","srcset":"images/lehrerin-ukraine-104_v-16to9__small.jpg 320w, images/lehrerin-ukraine-104_v-16to9__medium.jpg 480w, images/lehrerin-ukraine-104_v-16to9__medium__extended.jpg 640w, images/lehrerin-ukraine-104_v-16to9.jpg 960w, images/lehrerin-ukraine-104_v-16to9__retina.jpg 1920w"}]}},"teaserSize":"hero","showLabel":true,"label":{"type":"ticker","loca":"label_ticker","byline":{"bylineSsi":"BylineText aus ssi","bylineText":"BylineText"}},"showProfileInfo":false,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":false,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":false},"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"documentModificationDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"documentSection":"Sport","isBroadcastDateHidden":false,"showProfileInfoAsByline":false,"link":{"url":"/teaser2","webviewUrl":"/teaser2#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}},"airDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"}},{"title":"Youth League: Eintracht-U19 spielt unentschieden gegen Lissabon","url":"/teaser3","teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/hasebe-kane-102_v-16to9__medium.jpg","sources":[{"media":"(min-width: 768px) 300px, (min-width: 640px) calc(100vw - 8.5rem), calc(100vw - 2,5rem)","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"}]}},"teaserSize":"hero","showLabel":true,"showProfileInfo":false,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":false,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":false},"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"documentModificationDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"documentSection":"Sport","isBroadcastDateHidden":false,"showProfileInfoAsByline":false,"link":{"url":"/teaser3","webviewUrl":"/teaser3#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}},"airDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"}},{"title":"Radfahrer stößt in Frankfurter U-Bahn","url":"/teaser4","teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"media":"(min-width: 768px) 300px, (min-width: 640px) calc(100vw - 8.5rem), calc(100vw - 2,5rem)","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"teaserSize":"hero","showLabel":true,"showProfileInfo":false,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":false,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":false},"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"documentModificationDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"documentSection":"Panorama","isBroadcastDateHidden":false,"showProfileInfoAsByline":false,"link":{"url":"/teaser4","webviewUrl":"/teaser4#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}},"airDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"}},{"title":"Wegen Personalmangel: Hessen lockert Einstellungskriterien für Richter","url":"/teaser5","teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/jugendfeuerwehr-1020_v-16to9__medium.jpg","sources":[{"media":"(min-width: 768px) 300px, (min-width: 640px) calc(100vw - 8.5rem), calc(100vw - 2,5rem)","srcset":"images/jugendfeuerwehr-1020_v-16to9__small.jpg 320w, images/jugendfeuerwehr-1020_v-16to9__medium.jpg 480w, images/jugendfeuerwehr-1020_v-16to9__medium__extended.jpg 640w, images/jugendfeuerwehr-1020_v-16to9.jpg 960w, images/jugendfeuerwehr-1020_v-16to9__retina.jpg 1920w"}]}},"teaserSize":"hero","showLabel":true,"label":{"type":"ticker","loca":"label_ticker","byline":{"bylineSsi":"BylineText aus ssi","bylineText":"BylineText"}},"showProfileInfo":false,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":false,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":false},"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"documentModificationDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"documentSection":"Politik","isBroadcastDateHidden":false,"showProfileInfoAsByline":false,"link":{"url":"/teaser5","webviewUrl":"/teaser5#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}},"airDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"}}],"overviewLink":{"title":"Neue Beiträge auf einen Blick","link":""}}