hr-design-system-handlebars 0.96.0 → 0.96.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,27 @@
1
+ # v0.96.2 (Thu Dec 01 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - DPE-1693 [#413](https://github.com/mumprod/hr-design-system-handlebars/pull/413) ([@vascoeduardo](https://github.com/vascoeduardo))
6
+
7
+ #### Authors: 1
8
+
9
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
10
+
11
+ ---
12
+
13
+ # v0.96.1 (Thu Dec 01 2022)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - add margin to Button in Tabbox-Teaser [#412](https://github.com/mumprod/hr-design-system-handlebars/pull/412) ([@hanswurstsalat](https://github.com/hanswurstsalat))
18
+
19
+ #### Authors: 1
20
+
21
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
22
+
23
+ ---
24
+
1
25
  # v0.96.0 (Thu Dec 01 2022)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -769,10 +769,6 @@ video {
769
769
  margin-left: 1rem;
770
770
  margin-right: 1rem;
771
771
  }
772
- .mx-8 {
773
- margin-left: 2rem;
774
- margin-right: 2rem;
775
- }
776
772
  .mx-px {
777
773
  margin-left: 1px;
778
774
  margin-right: 1px;
@@ -848,6 +844,9 @@ video {
848
844
  .-mt-10 {
849
845
  margin-top: -2.5rem;
850
846
  }
847
+ .mb-4 {
848
+ margin-bottom: 1rem;
849
+ }
851
850
  .mb-7 {
852
851
  margin-bottom: 1.75rem;
853
852
  }
@@ -2259,7 +2258,7 @@ video {
2259
2258
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
2260
2259
  }
2261
2260
  .counter-reset {
2262
- counter-reset: cnt1669908627308;
2261
+ counter-reset: cnt1669913005168;
2263
2262
  }
2264
2263
  .line-clamp-4 {
2265
2264
  overflow: hidden;
@@ -2659,7 +2658,7 @@ video {
2659
2658
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2660
2659
  }
2661
2660
  .-ordered {
2662
- counter-increment: cnt1669908627308 1;
2661
+ counter-increment: cnt1669913005168 1;
2663
2662
  }
2664
2663
  .-ordered::before {
2665
2664
  position: absolute;
@@ -2675,7 +2674,7 @@ video {
2675
2674
  letter-spacing: .0125em;
2676
2675
  --tw-text-opacity: 1;
2677
2676
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2678
- content: counter(cnt1669908627308);
2677
+ content: counter(cnt1669913005168);
2679
2678
  }
2680
2679
  .\[-T\:\+Z\] {
2681
2680
  --t: +Z;
@@ -3371,9 +3370,21 @@ video {
3371
3370
  }
3372
3371
  @media (min-width: 360px) {
3373
3372
 
3373
+ .xs\:mx-6 {
3374
+ margin-left: 1.5rem;
3375
+ margin-right: 1.5rem;
3376
+ }
3377
+
3374
3378
  .xs\:w-24 {
3375
3379
  width: 6rem;
3376
3380
  }
3381
+
3382
+ .xs\:line-clamp-6 {
3383
+ overflow: hidden;
3384
+ display: -webkit-box;
3385
+ -webkit-box-orient: vertical;
3386
+ -webkit-line-clamp: 6;
3387
+ }
3377
3388
  }
3378
3389
  @media (min-width: 640px) {
3379
3390
 
@@ -3382,6 +3393,11 @@ video {
3382
3393
  margin-right: 0px;
3383
3394
  }
3384
3395
 
3396
+ .sm\:mx-8 {
3397
+ margin-left: 2rem;
3398
+ margin-right: 2rem;
3399
+ }
3400
+
3385
3401
  .sm\:block {
3386
3402
  display: block;
3387
3403
  }
@@ -3520,6 +3536,10 @@ video {
3520
3536
  margin-top: -10rem;
3521
3537
  }
3522
3538
 
3539
+ .md\:mb-8 {
3540
+ margin-bottom: 2rem;
3541
+ }
3542
+
3523
3543
  .md\:mb-16 {
3524
3544
  margin-bottom: 4rem;
3525
3545
  }
@@ -3861,6 +3881,13 @@ video {
3861
3881
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
3862
3882
  }
3863
3883
 
3884
+ .md\:line-clamp-4 {
3885
+ overflow: hidden;
3886
+ display: -webkit-box;
3887
+ -webkit-box-orient: vertical;
3888
+ -webkit-line-clamp: 4;
3889
+ }
3890
+
3864
3891
  .md\:line-clamp-2 {
3865
3892
  overflow: hidden;
3866
3893
  display: -webkit-box;
@@ -4032,6 +4059,11 @@ video {
4032
4059
  order: 4;
4033
4060
  }
4034
4061
 
4062
+ .lg\:mx-8 {
4063
+ margin-left: 2rem;
4064
+ margin-right: 2rem;
4065
+ }
4066
+
4035
4067
  .lg\:-mt-8 {
4036
4068
  margin-top: -2rem;
4037
4069
  }
@@ -4367,6 +4399,13 @@ video {
4367
4399
  transition-duration: 500ms;
4368
4400
  }
4369
4401
 
4402
+ .lg\:line-clamp-5 {
4403
+ overflow: hidden;
4404
+ display: -webkit-box;
4405
+ -webkit-box-orient: vertical;
4406
+ -webkit-line-clamp: 5;
4407
+ }
4408
+
4370
4409
  .lg\:col-main {
4371
4410
  grid-column: main;
4372
4411
  }
@@ -21,4 +21,26 @@
21
21
  ~}}
22
22
  {{~/if~}}
23
23
  {{~/case~}}
24
+ {{~#case 'tabbox-standard-ds'~}}
25
+ {{~#if _isMobile1to1~}}
26
+ {{~inline-switch
27
+ _teaserSize '["25","33"]' '[" my-2 mx-2"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2 md:my-5 md:mx-5 "]'
28
+ ~}}
29
+ {{~else~}}
30
+ {{~inline-switch
31
+ _teaserSize '["25","33"]' '[" my-2 mx-2"," my-5 mx-5 md:my-3 md:mx-3"," my-5 mx-5"]'
32
+ ~}}
33
+ {{~/if~}}
34
+ {{~/case~}}
35
+ {{~#case 'tabbox-alternative-ds'~}}
36
+ {{~#if _isMobile1to1~}}
37
+ {{~inline-switch
38
+ _teaserSize '["hero","100","50"]' '[" my-2 mx-2 md:my-5 md:mx-5"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
39
+ ~}}
40
+ {{~else~}}
41
+ {{~inline-switch
42
+ _teaserSize '["hero","100","50"]' '[" my-5 mx-5"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
43
+ ~}}
44
+ {{~/if~}}
45
+ {{~/case~}}
24
46
  {{~/switch~}}
@@ -1,4 +1,5 @@
1
1
  <section
2
+ x-cloak
2
3
  x-show="tab === '{{this.groupTitle}}'"
3
4
  class="pb-10"
4
5
  >
@@ -1,5 +1,6 @@
1
1
  </div>
2
2
  <div
3
+ x-cloak
3
4
  x-data="{ tab: '{{this.tabbedGroup.[0].title}}' }"
4
5
  class="grid grid-cols-12 pt-6 mx-0 col-full md:pt-7 bg-blue-accented md:rounded-tl-3xl md:rounded-br-3xl md:col-main gap-x-6 gap-y-6"
5
6
  >
@@ -3,7 +3,7 @@
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-8 text-center text-white">
6
+ <div class="self-center block mx-4 mb-4 text-center text-white md:mb-8 xs:mx-6 sm:mx-8 md:mx-5 lg:mx-8 line-clamp-4 xs:line-clamp-6 md:line-clamp-4 lg:line-clamp-5">
7
7
  {{> components/teaser/components/teaser_heading _headlineTag="h2" _label=this.label _readMore=this.link.readMoreText.readMoreScreenreader _size=this.teaserSize _title=this.title _topline=this.topline _teaserType=this.teaserType _font=(inline-switch isSerifHeading '[true, false]' '["font-headingSerif","font-heading font-bold"]') }}
8
8
  </div>
9
9
  </div>
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.96.0",
9
+ "version": "0.96.2",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -21,4 +21,26 @@
21
21
  ~}}
22
22
  {{~/if~}}
23
23
  {{~/case~}}
24
+ {{~#case 'tabbox-standard-ds'~}}
25
+ {{~#if _isMobile1to1~}}
26
+ {{~inline-switch
27
+ _teaserSize '["25","33"]' '[" my-2 mx-2"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2 md:my-5 md:mx-5 "]'
28
+ ~}}
29
+ {{~else~}}
30
+ {{~inline-switch
31
+ _teaserSize '["25","33"]' '[" my-2 mx-2"," my-5 mx-5 md:my-3 md:mx-3"," my-5 mx-5"]'
32
+ ~}}
33
+ {{~/if~}}
34
+ {{~/case~}}
35
+ {{~#case 'tabbox-alternative-ds'~}}
36
+ {{~#if _isMobile1to1~}}
37
+ {{~inline-switch
38
+ _teaserSize '["hero","100","50"]' '[" my-2 mx-2 md:my-5 md:mx-5"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
39
+ ~}}
40
+ {{~else~}}
41
+ {{~inline-switch
42
+ _teaserSize '["hero","100","50"]' '[" my-5 mx-5"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
43
+ ~}}
44
+ {{~/if~}}
45
+ {{~/case~}}
24
46
  {{~/switch~}}
@@ -1,4 +1,5 @@
1
1
  <section
2
+ x-cloak
2
3
  x-show="tab === '{{this.groupTitle}}'"
3
4
  class="pb-10"
4
5
  >
@@ -1,5 +1,6 @@
1
1
  </div>
2
2
  <div
3
+ x-cloak
3
4
  x-data="{ tab: '{{this.tabbedGroup.[0].title}}' }"
4
5
  class="grid grid-cols-12 pt-6 mx-0 col-full md:pt-7 bg-blue-accented md:rounded-tl-3xl md:rounded-br-3xl md:col-main gap-x-6 gap-y-6"
5
6
  >
@@ -3,7 +3,7 @@
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-8 text-center text-white">
6
+ <div class="self-center block mx-4 mb-4 text-center text-white md:mb-8 xs:mx-6 sm:mx-8 md:mx-5 lg:mx-8 line-clamp-4 xs:line-clamp-6 md:line-clamp-4 lg:line-clamp-5">
7
7
  {{> components/teaser/components/teaser_heading _headlineTag="h2" _label=this.label _readMore=this.link.readMoreText.readMoreScreenreader _size=this.teaserSize _title=this.title _topline=this.topline _teaserType=this.teaserType _font=(inline-switch isSerifHeading '[true, false]' '["font-headingSerif","font-heading font-bold"]') }}
8
8
  </div>
9
9
  </div>