hr-design-system-handlebars 1.5.12 → 1.5.13

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,15 @@
1
+ # v1.5.13 (Mon Feb 27 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - headline-barrier: line always centered to first line of headline [#573](https://github.com/mumprod/hr-design-system-handlebars/pull/573) ([@hanswurstsalat](https://github.com/hanswurstsalat))
6
+
7
+ #### Authors: 1
8
+
9
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
10
+
11
+ ---
12
+
1
13
  # v1.5.12 (Thu Feb 23 2023)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -541,17 +541,27 @@ video {
541
541
  .headline-barrier {
542
542
  display: grid;
543
543
  grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
544
- align-items: center;
544
+ align-items: self-start;
545
545
  text-align: center;
546
546
  grid-gap: 10px;
547
547
  width: 100%;
548
548
  }
549
549
  .headline-barrier:before,
550
550
  .headline-barrier:after {
551
-
552
- border-top: 1px solid;
553
- content: '';
554
- }
551
+ border-bottom: 1px solid;
552
+ content: '';
553
+ padding-top: 0.875rem}
554
+ @media (min-width: 768px) {
555
+
556
+ .headline-barrier:before,
557
+ .headline-barrier:after {
558
+ padding-top: 1.25rem;
559
+ }
560
+ }
561
+ .justifyLine.headline-barrier:before,
562
+ .justifyLine.headline-barrier:after {
563
+ padding-top: 0.875rem;
564
+ }
555
565
  /* PODCAST SEEK SLIDER*/
556
566
  .seek_slider::-webkit-slider-thumb {
557
567
  -webkit-appearance: none;
@@ -2657,7 +2667,7 @@ video {
2657
2667
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
2658
2668
  }
2659
2669
  .counter-reset {
2660
- counter-reset: cnt1677149358673;
2670
+ counter-reset: cnt1677509084706;
2661
2671
  }
2662
2672
  .line-clamp-4 {
2663
2673
  overflow: hidden;
@@ -2891,7 +2901,7 @@ video {
2891
2901
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2892
2902
  }
2893
2903
  .-ordered {
2894
- counter-increment: cnt1677149358673 1;
2904
+ counter-increment: cnt1677509084706 1;
2895
2905
  }
2896
2906
  .-ordered::before {
2897
2907
  position: absolute;
@@ -2907,7 +2917,7 @@ video {
2907
2917
  letter-spacing: .0125em;
2908
2918
  --tw-text-opacity: 1;
2909
2919
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2910
- content: counter(cnt1677149358673);
2920
+ content: counter(cnt1677509084706);
2911
2921
  }
2912
2922
  /*! ****************************/
2913
2923
  /*! text-shadow */
@@ -1,7 +1,7 @@
1
1
  {{#if this.hasGroupItems}}
2
2
  {{#>components/grid/grid_group _backgroundColor=this.backgroundColor }}
3
3
  {{~#if this.hasGroupTitle}}
4
- <{{if this.headlineTag this.headlineTag "h2"}} class="text-2xl {{#unless this.isRelatedContent}} md:text-4xl{{/unless}} col-span-full py-0 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
4
+ <{{if this.headlineTag this.headlineTag "h2"}} class="text-2xl {{#unless this.isRelatedContent}} md:text-4xl{{else}} justifyLine{{/unless}} col-span-full py-0 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
5
5
  {{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-link" href="{{this.link.url}}">{{/if~}}
6
6
  {{this.groupTitle}}
7
7
  {{~#if this.hasLink}}</a>{{/if~}}
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.5.12",
9
+ "version": "1.5.13",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -34,16 +34,20 @@
34
34
  .headline-barrier {
35
35
  display: grid;
36
36
  grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
37
- align-items: center;
37
+ align-items: self-start;
38
38
  text-align: center;
39
39
  grid-gap: 10px;
40
40
  width: 100%;
41
41
  }
42
42
  .headline-barrier:before,
43
43
  .headline-barrier:after {
44
-
45
- border-top: 1px solid;
46
- content: '';
44
+ border-bottom: 1px solid;
45
+ content: '';
46
+ @apply pt-3.5 md:pt-5
47
+ }
48
+ .justifyLine.headline-barrier:before,
49
+ .justifyLine.headline-barrier:after {
50
+ @apply pt-3.5
47
51
  }
48
52
 
49
53
  /* PODCAST SEEK SLIDER*/
@@ -1,7 +1,7 @@
1
1
  {{#if this.hasGroupItems}}
2
2
  {{#>components/grid/grid_group _backgroundColor=this.backgroundColor }}
3
3
  {{~#if this.hasGroupTitle}}
4
- <{{if this.headlineTag this.headlineTag "h2"}} class="text-2xl {{#unless this.isRelatedContent}} md:text-4xl{{/unless}} col-span-full py-0 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
4
+ <{{if this.headlineTag this.headlineTag "h2"}} class="text-2xl {{#unless this.isRelatedContent}} md:text-4xl{{else}} justifyLine{{/unless}} col-span-full py-0 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
5
5
  {{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-link" href="{{this.link.url}}">{{/if~}}
6
6
  {{this.groupTitle}}
7
7
  {{~#if this.hasLink}}</a>{{/if~}}