hr-design-system-handlebars 1.63.4 → 1.63.5

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.63.5 (Tue Apr 09 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - DPE-2648 Abstände bei indexText Dpe [#898](https://github.com/mumprod/hr-design-system-handlebars/pull/898) ([@vascoeduardo](https://github.com/vascoeduardo))
6
+
7
+ #### Authors: 1
8
+
9
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
10
+
11
+ ---
12
+
1
13
  # v1.63.4 (Mon Apr 08 2024)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -3321,7 +3321,7 @@ article.indexTextDS .indexTextHighlighted .link {
3321
3321
  border-bottom-color: var(--color-secondary-ds);
3322
3322
  }
3323
3323
  .counter-reset {
3324
- counter-reset: cnt1712587592313;
3324
+ counter-reset: cnt1712669617924;
3325
3325
  }
3326
3326
  .hyphens-auto {
3327
3327
  -webkit-hyphens: auto;
@@ -3542,6 +3542,12 @@ article.indexTextDS .indexTextHighlighted .link {
3542
3542
  .col-full {
3543
3543
  grid-column: full;
3544
3544
  }
3545
+ .hideGridGroupIfEmpty[\:not-has\(section\)] {
3546
+ display: none;
3547
+ }
3548
+ .hideGridGroupIfEmpty:not(.hideGridGroupIfEmpty:has(section)) {
3549
+ display: none;
3550
+ }
3545
3551
  .-currentBrand::before {
3546
3552
  --tw-content: '';
3547
3553
  content: var(--tw-content);
@@ -3694,7 +3700,7 @@ article.indexTextDS .indexTextHighlighted .link {
3694
3700
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3695
3701
  }
3696
3702
  .-ordered {
3697
- counter-increment: cnt1712587592313 1;
3703
+ counter-increment: cnt1712669617924 1;
3698
3704
  }
3699
3705
  .-ordered::before {
3700
3706
  position: absolute;
@@ -3710,7 +3716,7 @@ article.indexTextDS .indexTextHighlighted .link {
3710
3716
  letter-spacing: .0125em;
3711
3717
  --tw-text-opacity: 1;
3712
3718
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3713
- content: counter(cnt1712587592313);
3719
+ content: counter(cnt1712669617924);
3714
3720
  }
3715
3721
  /*! ****************************/
3716
3722
  /*! DataPolicy stuff */
@@ -6061,6 +6067,11 @@ article.indexTextDS .indexTextHighlighted .link {
6061
6067
  margin-right: 1.25rem;
6062
6068
  }
6063
6069
 
6070
+ .md\:my-7 {
6071
+ margin-top: 1.75rem;
6072
+ margin-bottom: 1.75rem;
6073
+ }
6074
+
6064
6075
  .md\:-mt-40 {
6065
6076
  margin-top: -10rem;
6066
6077
  }
@@ -6081,6 +6092,10 @@ article.indexTextDS .indexTextHighlighted .link {
6081
6092
  margin-bottom: 1.25rem;
6082
6093
  }
6083
6094
 
6095
+ .md\:mb-7 {
6096
+ margin-bottom: 1.75rem;
6097
+ }
6098
+
6084
6099
  .md\:mb-8 {
6085
6100
  margin-bottom: 2rem;
6086
6101
  }
@@ -6381,6 +6396,11 @@ article.indexTextDS .indexTextHighlighted .link {
6381
6396
  padding-bottom: 0px;
6382
6397
  }
6383
6398
 
6399
+ .md\:py-7 {
6400
+ padding-top: 1.75rem;
6401
+ padding-bottom: 1.75rem;
6402
+ }
6403
+
6384
6404
  .md\:pl-0 {
6385
6405
  padding-left: 0px;
6386
6406
  }
@@ -1,9 +1,9 @@
1
1
  </div>
2
- <div class="grid col-full grid-page my-6{{inline-switch _backgroundColor '["1","2"]' '[" bg-gray-concrete"," bg-orange-bridesmaid"]'}}">
3
- <section class="grid grid-cols-12 py-6 sm:px-9.5 col-full sm:col-main gap-x-6 gap-y-9">
2
+ <div class="grid col-full grid-page my-5 md:my-7{{inline-switch _backgroundColor '["1","2"]' '[" bg-gray-concrete"," bg-orange-bridesmaid"]'}}">
3
+ <section class="grid grid-cols-12 py-5 md:py-7 sm:px-9.5 col-full sm:col-main gap-x-6 gap-y-9">
4
4
  <div class="grid content-start grid-cols-12 col-span-12 gap-x-6 gap-y-6">
5
5
  {{> @partial-block }}
6
6
  </div>
7
7
  </section>
8
8
  </div>
9
- <div class="{{> components/grid/grid_group_wrapper_classes }}">
9
+ <div class="{{> components/grid/grid_group_wrapper_classes }} hideGridGroupIfEmpty">
@@ -2,4 +2,4 @@
2
2
  <section class="grid grid-cols-12 px-9.5 py-8 mx-4 mt-6 bg-blue-400 sm:mx-0 rounded-tl-hr rounded-br-hr col-full sm:col-main gap-x-6 gap-y-6">
3
3
  {{> @partial-block }}
4
4
  </section>
5
- <div class="{{> components/grid/grid_group_wrapper_classes }}">
5
+ <div class="{{> components/grid/grid_group_wrapper_classes }} hideGridGroupIfEmpty">
@@ -1 +1 @@
1
- grid grid-cols-12 bg-white pt-6 sm:px-9.5 col-full sm:col-main gap-x-6 gap-y-10 md:gap-y-14
1
+ grid grid-cols-12 bg-white pt-5 md:pt-7 sm:px-9.5 col-full sm:col-main gap-x-6 gap-y-10 md:gap-y-14
@@ -1,7 +1,7 @@
1
1
  </div>
2
2
  <div
3
3
  x-data="{ tab: '{{this.tabbedGroup.[0].title}}', test:true }"
4
- class="grid grid-cols-12 pt-6 mx-0 mb-8 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-hr md:rounded-br-hr md:col-main gap-x-6 gap-y-6"
4
+ class="grid grid-cols-12 pt-6 mx-0 mb-5 md:mb-7 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-hr md:rounded-br-hr md:col-main gap-x-6 gap-y-6"
5
5
  >
6
6
  <section class="px-0 col-span-full sm:px-8 md:px-0">
7
7
  <div class="flex flex-wrap justify-center mx-5 gap-y-3 mb-7 gap-x-2" role="tablist">
@@ -19,4 +19,4 @@
19
19
  {{~> components/teaser/teaser_logic/teaser_logic ~}}
20
20
  </section>
21
21
  </div>
22
- <div class="{{> components/grid/grid_group_wrapper_classes }}">
22
+ <div class="{{> components/grid/grid_group_wrapper_classes }} hideGridGroupIfEmpty">
@@ -1,9 +1,9 @@
1
1
  </div>
2
- <div class="grid col-full grid-page my-6{{inline-switch _backgroundColor '["1","2"]' '[" bg-gray-concrete"," bg-orange-bridesmaid"]'}}">
3
- <section class="grid grid-cols-12 py-6 sm:px-9.5 col-full sm:col-main gap-x-6 gap-y-9">
2
+ <div class="grid col-full grid-page my-5 md:my-7{{inline-switch _backgroundColor '["1","2"]' '[" bg-gray-concrete"," bg-orange-bridesmaid"]'}}">
3
+ <section class="grid grid-cols-12 py-5 md:py-7 sm:px-9.5 col-full sm:col-main gap-x-6 gap-y-9">
4
4
  <div class="grid content-start grid-cols-12 col-span-12 gap-x-6 gap-y-6">
5
5
  {{> @partial-block }}
6
6
  </div>
7
7
  </section>
8
8
  </div>
9
- <div class="{{> components/grid/grid_group_wrapper_classes }}">
9
+ <div class="{{> components/grid/grid_group_wrapper_classes }} hideGridGroupIfEmpty">
@@ -2,4 +2,4 @@
2
2
  <section class="grid grid-cols-12 px-9.5 py-8 mx-4 mt-6 bg-blue-400 sm:mx-0 rounded-tl-hr rounded-br-hr col-full sm:col-main gap-x-6 gap-y-6">
3
3
  {{> @partial-block }}
4
4
  </section>
5
- <div class="{{> components/grid/grid_group_wrapper_classes }}">
5
+ <div class="{{> components/grid/grid_group_wrapper_classes }} hideGridGroupIfEmpty">
@@ -1 +1 @@
1
- grid grid-cols-12 bg-white pt-6 sm:px-9.5 col-full sm:col-main gap-x-6 gap-y-10 md:gap-y-14
1
+ grid grid-cols-12 bg-white pt-5 md:pt-7 sm:px-9.5 col-full sm:col-main gap-x-6 gap-y-10 md:gap-y-14
@@ -1,7 +1,7 @@
1
1
  </div>
2
2
  <div
3
3
  x-data="{ tab: '{{this.tabbedGroup.[0].title}}', test:true }"
4
- class="grid grid-cols-12 pt-6 mx-0 mb-8 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-hr md:rounded-br-hr md:col-main gap-x-6 gap-y-6"
4
+ class="grid grid-cols-12 pt-6 mx-0 mb-5 md:mb-7 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-hr md:rounded-br-hr md:col-main gap-x-6 gap-y-6"
5
5
  >
6
6
  <section class="px-0 col-span-full sm:px-8 md:px-0">
7
7
  <div class="flex flex-wrap justify-center mx-5 gap-y-3 mb-7 gap-x-2" role="tablist">
@@ -19,4 +19,4 @@
19
19
  {{~> components/teaser/teaser_logic/teaser_logic ~}}
20
20
  </section>
21
21
  </div>
22
- <div class="{{> components/grid/grid_group_wrapper_classes }}">
22
+ <div class="{{> components/grid/grid_group_wrapper_classes }} hideGridGroupIfEmpty">
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.63.4",
9
+ "version": "1.63.5",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -240,7 +240,9 @@
240
240
  .col-full {
241
241
  grid-column: full;
242
242
  }
243
-
243
+ .hideGridGroupIfEmpty:not(.hideGridGroupIfEmpty:has(section)) {
244
+ display: none;
245
+ }
244
246
  .-currentBrand {
245
247
  @apply before:content-[''] md:before:absolute md:before:left-[calc(50%-0.5rem)] md:before:w-0 md:before:h-0 md:before:border-t-0 md:before:border-r-8 md:before:border-r-transparent md:before:border-l-8 md:before:border-l-transparent md:before:border-b-8 md:before:border-brandnav-pseudo md:before:mt-6;
246
248
  }
@@ -1,9 +1,9 @@
1
1
  </div>
2
- <div class="grid col-full grid-page my-6{{inline-switch _backgroundColor '["1","2"]' '[" bg-gray-concrete"," bg-orange-bridesmaid"]'}}">
3
- <section class="grid grid-cols-12 py-6 sm:px-9.5 col-full sm:col-main gap-x-6 gap-y-9">
2
+ <div class="grid col-full grid-page my-5 md:my-7{{inline-switch _backgroundColor '["1","2"]' '[" bg-gray-concrete"," bg-orange-bridesmaid"]'}}">
3
+ <section class="grid grid-cols-12 py-5 md:py-7 sm:px-9.5 col-full sm:col-main gap-x-6 gap-y-9">
4
4
  <div class="grid content-start grid-cols-12 col-span-12 gap-x-6 gap-y-6">
5
5
  {{> @partial-block }}
6
6
  </div>
7
7
  </section>
8
8
  </div>
9
- <div class="{{> components/grid/grid_group_wrapper_classes }}">
9
+ <div class="{{> components/grid/grid_group_wrapper_classes }} hideGridGroupIfEmpty">
@@ -2,4 +2,4 @@
2
2
  <section class="grid grid-cols-12 px-9.5 py-8 mx-4 mt-6 bg-blue-400 sm:mx-0 rounded-tl-hr rounded-br-hr col-full sm:col-main gap-x-6 gap-y-6">
3
3
  {{> @partial-block }}
4
4
  </section>
5
- <div class="{{> components/grid/grid_group_wrapper_classes }}">
5
+ <div class="{{> components/grid/grid_group_wrapper_classes }} hideGridGroupIfEmpty">
@@ -1 +1 @@
1
- grid grid-cols-12 bg-white pt-6 sm:px-9.5 col-full sm:col-main gap-x-6 gap-y-10 md:gap-y-14
1
+ grid grid-cols-12 bg-white pt-5 md:pt-7 sm:px-9.5 col-full sm:col-main gap-x-6 gap-y-10 md:gap-y-14
@@ -1,7 +1,7 @@
1
1
  </div>
2
2
  <div
3
3
  x-data="{ tab: '{{this.tabbedGroup.[0].title}}', test:true }"
4
- class="grid grid-cols-12 pt-6 mx-0 mb-8 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-hr md:rounded-br-hr md:col-main gap-x-6 gap-y-6"
4
+ class="grid grid-cols-12 pt-6 mx-0 mb-5 md:mb-7 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-hr md:rounded-br-hr md:col-main gap-x-6 gap-y-6"
5
5
  >
6
6
  <section class="px-0 col-span-full sm:px-8 md:px-0">
7
7
  <div class="flex flex-wrap justify-center mx-5 gap-y-3 mb-7 gap-x-2" role="tablist">
@@ -19,4 +19,4 @@
19
19
  {{~> components/teaser/teaser_logic/teaser_logic ~}}
20
20
  </section>
21
21
  </div>
22
- <div class="{{> components/grid/grid_group_wrapper_classes }}">
22
+ <div class="{{> components/grid/grid_group_wrapper_classes }} hideGridGroupIfEmpty">