hr-design-system-handlebars 1.35.3 → 1.35.4

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.35.4 (Fri Aug 04 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - add breakpoint 480px [#699](https://github.com/mumprod/hr-design-system-handlebars/pull/699) ([@hanswurstsalat](https://github.com/hanswurstsalat))
6
+
7
+ #### Authors: 1
8
+
9
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
10
+
11
+ ---
12
+
1
13
  # v1.35.3 (Thu Aug 03 2023)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -477,6 +477,12 @@ video {
477
477
  max-width: 360px;
478
478
  }
479
479
  }
480
+ @media (min-width: 480px) {
481
+
482
+ .container {
483
+ max-width: 480px;
484
+ }
485
+ }
480
486
  @media (min-width: 640px) {
481
487
 
482
488
  .container {
@@ -2589,6 +2595,9 @@ video {
2589
2595
  font-size: 3rem;
2590
2596
  line-height: 1;
2591
2597
  }
2598
+ .text-\[1\.1875rem\] {
2599
+ font-size: 1.1875rem;
2600
+ }
2592
2601
  .text-base {
2593
2602
  font-size: 1rem;
2594
2603
  line-height: 1.375rem;
@@ -2662,6 +2671,9 @@ video {
2662
2671
  .leading-6 {
2663
2672
  line-height: 1.5rem;
2664
2673
  }
2674
+ .leading-\[1\.625rem\] {
2675
+ line-height: 1.625rem;
2676
+ }
2665
2677
  .leading-\[34px\] {
2666
2678
  line-height: 34px;
2667
2679
  }
@@ -3015,7 +3027,7 @@ video {
3015
3027
  border-bottom-color: var(--color-secondary-ds);
3016
3028
  }
3017
3029
  .counter-reset {
3018
- counter-reset: cnt1691077591782;
3030
+ counter-reset: cnt1691153880575;
3019
3031
  }
3020
3032
  .hyphens-auto {
3021
3033
  -webkit-hyphens: auto;
@@ -3250,7 +3262,7 @@ video {
3250
3262
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3251
3263
  }
3252
3264
  .-ordered {
3253
- counter-increment: cnt1691077591782 1;
3265
+ counter-increment: cnt1691153880575 1;
3254
3266
  }
3255
3267
  .-ordered::before {
3256
3268
  position: absolute;
@@ -3266,7 +3278,7 @@ video {
3266
3278
  letter-spacing: .0125em;
3267
3279
  --tw-text-opacity: 1;
3268
3280
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3269
- content: counter(cnt1691077591782);
3281
+ content: counter(cnt1691153880575);
3270
3282
  }
3271
3283
  /*! ****************************/
3272
3284
  /*! DataPolicy stuff */
@@ -4558,6 +4570,13 @@ video {
4558
4570
  }
4559
4571
  }
4560
4572
 
4573
+ @media (min-width: 480px) {
4574
+
4575
+ .lg\:container {
4576
+ max-width: 480px;
4577
+ }
4578
+ }
4579
+
4561
4580
  @media (min-width: 640px) {
4562
4581
 
4563
4582
  .lg\:container {
@@ -4929,6 +4948,27 @@ video {
4929
4948
  -webkit-line-clamp: 6;
4930
4949
  }
4931
4950
  }
4951
+ @media (min-width: 480px) {
4952
+
4953
+ .sm480\:my-5 {
4954
+ margin-top: 1.25rem;
4955
+ margin-bottom: 1.25rem;
4956
+ }
4957
+
4958
+ .sm480\:mt-4 {
4959
+ margin-top: 1rem;
4960
+ }
4961
+
4962
+ .sm480\:text-2xl {
4963
+ font-size: 1.375rem;
4964
+ line-height: 1.75rem;
4965
+ }
4966
+
4967
+ .sm480\:text-lg {
4968
+ font-size: 1.125rem;
4969
+ line-height: 1.5rem;
4970
+ }
4971
+ }
4932
4972
  @media (min-width: 640px) {
4933
4973
 
4934
4974
  .sm\:not-sr-only {
@@ -5223,11 +5263,6 @@ video {
5223
5263
  margin-right: 1.25rem;
5224
5264
  }
5225
5265
 
5226
- .md\:my-5 {
5227
- margin-top: 1.25rem;
5228
- margin-bottom: 1.25rem;
5229
- }
5230
-
5231
5266
  .md\:-mt-40 {
5232
5267
  margin-top: -10rem;
5233
5268
  }
@@ -1,4 +1,4 @@
1
- <h2 class="mb-5 text-lg font-normal mt-11 md:text-2xl font-headingSerif">{{this.title}}</h2>
1
+ <h2 class="mb-5 text-[1.1875rem] leading-[1.625rem] font-normal mt-11 sm480:text-2xl font-headingSerif">{{this.title}}</h2>
2
2
  <div x-cloak x-data="{selected:0}" class="pb-11">
3
3
  {{#each this.copytextParagraph }}
4
4
  {{#if this.isHeadline}}
@@ -8,12 +8,12 @@
8
8
  @click="selected !== {{nextRandom}} ? selected = {{getRandom}} : selected = null"
9
9
  >
10
10
  <div class="flex flex-row justify-between border-t basis-10/12 content-evenly border-gray-alto">
11
- <h3 :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal md:my-5 md:text-lg font-headingSerif">{{{this.text}}}</h3>
11
+ <h3 :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal sm480:my-5 sm480:text-lg font-headingSerif">{{{this.text}}}</h3>
12
12
  <span :class="selected == {{getRandom}} ? 'hidden' : ''">
13
- {{> components/base/image/icon _icon="plus" _addClass="hover:text-toplineColor mx-5 mt-2 md:mt-4 w-8 h-8 fill-current"}}
13
+ {{> components/base/image/icon _icon="plus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current"}}
14
14
  </span>
15
15
  <span :class="selected !== {{getRandom}} ? 'hidden' : ''">
16
- {{> components/base/image/icon _icon="minus" _addClass="hover:text-toplineColor mx-5 mt-2 md:mt-4 w-8 h-8 fill-current"}}
16
+ {{> components/base/image/icon _icon="minus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current"}}
17
17
  </span>
18
18
  </div>
19
19
  </button>
@@ -1,13 +1,13 @@
1
1
  {{#if this.isParagraph}}
2
2
  {{#each this.text.split}}
3
3
  {{#if this.isText}}
4
- <p class="mb-5">{{{this.text}}}</p>
4
+ <p class="mb-5 text-base sm480:text-lg">{{{this.text}}}</p>
5
5
  {{/if}}
6
6
  {{#if this.isUl}}
7
- <ul class="mb-5 ml-5 list-disc">{{{this.text}}}</ul>
7
+ <ul class="mb-5 ml-5 text-base list-disc sm480:text-lg">{{{this.text}}}</ul>
8
8
  {{/if}}
9
9
  {{#if this.isOl}}
10
- <ol class="mb-5 ml-5 list-decimal">{{{this.text}}}</ol>
10
+ <ol class="mb-5 ml-5 text-base list-decimal sm480:text-lg">{{{this.text}}}</ol>
11
11
  {{/if}}
12
12
  {{/each}}
13
13
  {{/if}}
@@ -1,4 +1,4 @@
1
- <h2 class="mb-5 text-lg font-normal mt-11 md:text-2xl font-headingSerif">{{this.title}}</h2>
1
+ <h2 class="mb-5 text-[1.1875rem] leading-[1.625rem] font-normal mt-11 sm480:text-2xl font-headingSerif">{{this.title}}</h2>
2
2
  <div x-cloak x-data="{selected:0}" class="pb-11">
3
3
  {{#each this.copytextParagraph }}
4
4
  {{#if this.isHeadline}}
@@ -8,12 +8,12 @@
8
8
  @click="selected !== {{nextRandom}} ? selected = {{getRandom}} : selected = null"
9
9
  >
10
10
  <div class="flex flex-row justify-between border-t basis-10/12 content-evenly border-gray-alto">
11
- <h3 :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal md:my-5 md:text-lg font-headingSerif">{{{this.text}}}</h3>
11
+ <h3 :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal sm480:my-5 sm480:text-lg font-headingSerif">{{{this.text}}}</h3>
12
12
  <span :class="selected == {{getRandom}} ? 'hidden' : ''">
13
- {{> components/base/image/icon _icon="plus" _addClass="hover:text-toplineColor mx-5 mt-2 md:mt-4 w-8 h-8 fill-current"}}
13
+ {{> components/base/image/icon _icon="plus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current"}}
14
14
  </span>
15
15
  <span :class="selected !== {{getRandom}} ? 'hidden' : ''">
16
- {{> components/base/image/icon _icon="minus" _addClass="hover:text-toplineColor mx-5 mt-2 md:mt-4 w-8 h-8 fill-current"}}
16
+ {{> components/base/image/icon _icon="minus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current"}}
17
17
  </span>
18
18
  </div>
19
19
  </button>
@@ -1,13 +1,13 @@
1
1
  {{#if this.isParagraph}}
2
2
  {{#each this.text.split}}
3
3
  {{#if this.isText}}
4
- <p class="mb-5">{{{this.text}}}</p>
4
+ <p class="mb-5 text-base sm480:text-lg">{{{this.text}}}</p>
5
5
  {{/if}}
6
6
  {{#if this.isUl}}
7
- <ul class="mb-5 ml-5 list-disc">{{{this.text}}}</ul>
7
+ <ul class="mb-5 ml-5 text-base list-disc sm480:text-lg">{{{this.text}}}</ul>
8
8
  {{/if}}
9
9
  {{#if this.isOl}}
10
- <ol class="mb-5 ml-5 list-decimal">{{{this.text}}}</ol>
10
+ <ol class="mb-5 ml-5 text-base list-decimal sm480:text-lg">{{{this.text}}}</ol>
11
11
  {{/if}}
12
12
  {{/each}}
13
13
  {{/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.35.3",
9
+ "version": "1.35.4",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -1,4 +1,4 @@
1
- <h2 class="mb-5 text-lg font-normal mt-11 md:text-2xl font-headingSerif">{{this.title}}</h2>
1
+ <h2 class="mb-5 text-[1.1875rem] leading-[1.625rem] font-normal mt-11 sm480:text-2xl font-headingSerif">{{this.title}}</h2>
2
2
  <div x-cloak x-data="{selected:0}" class="pb-11">
3
3
  {{#each this.copytextParagraph }}
4
4
  {{#if this.isHeadline}}
@@ -8,12 +8,12 @@
8
8
  @click="selected !== {{nextRandom}} ? selected = {{getRandom}} : selected = null"
9
9
  >
10
10
  <div class="flex flex-row justify-between border-t basis-10/12 content-evenly border-gray-alto">
11
- <h3 :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal md:my-5 md:text-lg font-headingSerif">{{{this.text}}}</h3>
11
+ <h3 :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal sm480:my-5 sm480:text-lg font-headingSerif">{{{this.text}}}</h3>
12
12
  <span :class="selected == {{getRandom}} ? 'hidden' : ''">
13
- {{> components/base/image/icon _icon="plus" _addClass="hover:text-toplineColor mx-5 mt-2 md:mt-4 w-8 h-8 fill-current"}}
13
+ {{> components/base/image/icon _icon="plus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current"}}
14
14
  </span>
15
15
  <span :class="selected !== {{getRandom}} ? 'hidden' : ''">
16
- {{> components/base/image/icon _icon="minus" _addClass="hover:text-toplineColor mx-5 mt-2 md:mt-4 w-8 h-8 fill-current"}}
16
+ {{> components/base/image/icon _icon="minus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current"}}
17
17
  </span>
18
18
  </div>
19
19
  </button>
@@ -1,13 +1,13 @@
1
1
  {{#if this.isParagraph}}
2
2
  {{#each this.text.split}}
3
3
  {{#if this.isText}}
4
- <p class="mb-5">{{{this.text}}}</p>
4
+ <p class="mb-5 text-base sm480:text-lg">{{{this.text}}}</p>
5
5
  {{/if}}
6
6
  {{#if this.isUl}}
7
- <ul class="mb-5 ml-5 list-disc">{{{this.text}}}</ul>
7
+ <ul class="mb-5 ml-5 text-base list-disc sm480:text-lg">{{{this.text}}}</ul>
8
8
  {{/if}}
9
9
  {{#if this.isOl}}
10
- <ol class="mb-5 ml-5 list-decimal">{{{this.text}}}</ol>
10
+ <ol class="mb-5 ml-5 text-base list-decimal sm480:text-lg">{{{this.text}}}</ol>
11
11
  {{/if}}
12
12
  {{/each}}
13
13
  {{/if}}
@@ -16,6 +16,7 @@ module.exports = {
16
16
  screens: {
17
17
  print: { raw: 'print' },
18
18
  xs: '360px',
19
+ sm480: '480px',
19
20
  sm: '640px',
20
21
  // => @media (min-width: 640px) { ... }
21
22
  md: '768px',