hr-design-system-handlebars 1.60.8 → 1.61.1

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,29 @@
1
+ # v1.61.1 (Tue Apr 02 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Dpe 2952 [#888](https://github.com/mumprod/hr-design-system-handlebars/pull/888) (saad.elbaciri@hr.de [@vascoeduardo](https://github.com/vascoeduardo) [@selbaciri](https://github.com/selbaciri))
6
+
7
+ #### Authors: 3
8
+
9
+ - Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
10
+ - selbaciri (saad.elbaciri@hr.de)
11
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
12
+
13
+ ---
14
+
15
+ # v1.61.0 (Mon Mar 25 2024)
16
+
17
+ #### 🚀 Enhancement
18
+
19
+ - :bug: Configure theme in offline page [#887](https://github.com/mumprod/hr-design-system-handlebars/pull/887) ([@szuelch](https://github.com/szuelch))
20
+
21
+ #### Authors: 1
22
+
23
+ - [@szuelch](https://github.com/szuelch)
24
+
25
+ ---
26
+
1
27
  # v1.60.8 (Mon Mar 25 2024)
2
28
 
3
29
  #### 🐛 Bug Fix
@@ -443,6 +443,9 @@ var helpers = {
443
443
  ? 'brandlogo--footer'
444
444
  : undefined
445
445
  break
446
+ case 'site.name':
447
+ configProperty = brand
448
+ break
446
449
  }
447
450
  } else {
448
451
  configProperty = 'No config-property defined.'
@@ -3326,7 +3326,7 @@ article.indexTextDS .indexTextHighlighted .link {
3326
3326
  border-bottom-color: var(--color-secondary-ds);
3327
3327
  }
3328
3328
  .counter-reset {
3329
- counter-reset: cnt1711381464980;
3329
+ counter-reset: cnt1712061076252;
3330
3330
  }
3331
3331
  .hyphens-auto {
3332
3332
  -webkit-hyphens: auto;
@@ -3449,6 +3449,9 @@ article.indexTextDS .indexTextHighlighted .link {
3449
3449
  .article-full-width {
3450
3450
  grid-column: full-width;
3451
3451
  }
3452
+ .copytextWrapper > :not(.article-breakout):not(.article-full-width){
3453
+ grid-column: narrow;
3454
+ }
3452
3455
  .grid-content {
3453
3456
  grid-template-areas:
3454
3457
  "head"
@@ -3632,7 +3635,7 @@ article.indexTextDS .indexTextHighlighted .link {
3632
3635
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3633
3636
  }
3634
3637
  .-ordered {
3635
- counter-increment: cnt1711381464980 1;
3638
+ counter-increment: cnt1712061076252 1;
3636
3639
  }
3637
3640
  .-ordered::before {
3638
3641
  position: absolute;
@@ -3648,7 +3651,7 @@ article.indexTextDS .indexTextHighlighted .link {
3648
3651
  letter-spacing: .0125em;
3649
3652
  --tw-text-opacity: 1;
3650
3653
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3651
- content: counter(cnt1711381464980);
3654
+ content: counter(cnt1712061076252);
3652
3655
  }
3653
3656
  /*! ****************************/
3654
3657
  /*! DataPolicy stuff */
@@ -5432,10 +5435,6 @@ article.indexTextDS .indexTextHighlighted .link {
5432
5435
  }
5433
5436
  @media (min-width: 480px) {
5434
5437
 
5435
- .sm480\:float-left {
5436
- float: left;
5437
- }
5438
-
5439
5438
  .sm480\:mx-10 {
5440
5439
  margin-left: 2.5rem;
5441
5440
  margin-right: 2.5rem;
@@ -5487,10 +5486,6 @@ article.indexTextDS .indexTextHighlighted .link {
5487
5486
  height: 2rem;
5488
5487
  }
5489
5488
 
5490
- .sm480\:w-1\/2 {
5491
- width: 50%;
5492
- }
5493
-
5494
5489
  .sm480\:w-2\/3 {
5495
5490
  width: 66.666667%;
5496
5491
  }
@@ -5919,6 +5914,9 @@ article.indexTextDS .indexTextHighlighted .link {
5919
5914
  clear: both;
5920
5915
  }
5921
5916
  }
5917
+ .sm\:article-narrow {
5918
+ grid-column: narrow;
5919
+ }
5922
5920
 
5923
5921
  .sm\:col-main {
5924
5922
  grid-column: main;
@@ -1,16 +1,16 @@
1
1
  {{#if this.showPortrait.isTrue }}
2
2
  {{#if this.showFullSize.isTrue }}
3
3
  {{> components/content/copytext/components/image/figure
4
- _cssClass="my-6 sm480:my-7 clear-both"
5
- _cssClassCaption="mx-5 md:mx-0"
4
+ _cssClass="my-6 sm480:my-7 clear-both article-full-width sm:article-narrow"
5
+ _cssClassCaption="mx-5 sm:mx-0"
6
6
  _type="story"
7
7
  _variant="100-copytext-portrait"
8
8
  _noAr="true"
9
9
  _isWebview=../../_isWebview}}
10
10
  {{else}}
11
11
  {{> components/content/copytext/components/image/figure
12
- _cssClass="my-6 sm480:my-7 sm480:mr-5 sm480:w-1/2 w-auto flex-col float-none sm480:float-left break-inside-avoid page-break-inside-avoid"
13
- _cssClassCaption="mx-5 md:mx-0"
12
+ _cssClass="my-6 sm480:my-7 sm480:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid"
13
+ _cssClassCaption="mx-5 sm:mx-0"
14
14
  _type="story"
15
15
  _variant="copytext-portrait"
16
16
  _noAr="true"
@@ -19,16 +19,16 @@
19
19
  {{else}}
20
20
  {{#if this.showFullSize.isTrue}}
21
21
  {{> components/content/copytext/components/image/figure
22
- _cssClass="my-6 sm480:my-7 clear-both"
23
- _cssClassCaption="mx-5 md:mx-0"
22
+ _cssClass="my-6 sm480:my-7 clear-both article-full-width sm:article-narrow"
23
+ _cssClassCaption="mx-5 sm:mx-0"
24
24
  _type="story"
25
25
  _variant="100-copytext"
26
26
  _pictureAddClass="ar-16-9"
27
27
  _isWebview=../../_isWebview}}
28
28
  {{else}}
29
29
  {{> components/content/copytext/components/image/figure
30
- _cssClass="my-6 sm480:my-7 sm480:mr-5 sm480:w-1/2 w-auto flex-col float-none sm480:float-left break-inside-avoid page-break-inside-avoid"
31
- _cssClassCaption="mx-5 md:mx-0"
30
+ _cssClass="my-6 sm480:my-7 article-full-width sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid"
31
+ _cssClassCaption="mx-5 sm:mx-0"
32
32
  _type="story"
33
33
  _variant="copytext"
34
34
  _pictureAddClass="ar-16-9"
@@ -1,4 +1,4 @@
1
- <div>
1
+ <div class="contents sm:block copytextWrapper">
2
2
  {{#each this.copytextParagraph }}
3
3
  {{#if this.isHeadline}}
4
4
  {{> components/content/copytext/components/headline }}
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html
3
3
  class="no-js no-js-burgerMenu preload noMicroInteraction"
4
- data-theme="hessenschau"
4
+ data-theme="{{configProperty 'site.name'}}"
5
5
  lang="de"
6
6
  >
7
7
  <head>
@@ -1,16 +1,16 @@
1
1
  {{#if this.showPortrait.isTrue }}
2
2
  {{#if this.showFullSize.isTrue }}
3
3
  {{> components/content/copytext/components/image/figure
4
- _cssClass="my-6 sm480:my-7 clear-both"
5
- _cssClassCaption="mx-5 md:mx-0"
4
+ _cssClass="my-6 sm480:my-7 clear-both article-full-width sm:article-narrow"
5
+ _cssClassCaption="mx-5 sm:mx-0"
6
6
  _type="story"
7
7
  _variant="100-copytext-portrait"
8
8
  _noAr="true"
9
9
  _isWebview=../../_isWebview}}
10
10
  {{else}}
11
11
  {{> components/content/copytext/components/image/figure
12
- _cssClass="my-6 sm480:my-7 sm480:mr-5 sm480:w-1/2 w-auto flex-col float-none sm480:float-left break-inside-avoid page-break-inside-avoid"
13
- _cssClassCaption="mx-5 md:mx-0"
12
+ _cssClass="my-6 sm480:my-7 sm480:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid"
13
+ _cssClassCaption="mx-5 sm:mx-0"
14
14
  _type="story"
15
15
  _variant="copytext-portrait"
16
16
  _noAr="true"
@@ -19,16 +19,16 @@
19
19
  {{else}}
20
20
  {{#if this.showFullSize.isTrue}}
21
21
  {{> components/content/copytext/components/image/figure
22
- _cssClass="my-6 sm480:my-7 clear-both"
23
- _cssClassCaption="mx-5 md:mx-0"
22
+ _cssClass="my-6 sm480:my-7 clear-both article-full-width sm:article-narrow"
23
+ _cssClassCaption="mx-5 sm:mx-0"
24
24
  _type="story"
25
25
  _variant="100-copytext"
26
26
  _pictureAddClass="ar-16-9"
27
27
  _isWebview=../../_isWebview}}
28
28
  {{else}}
29
29
  {{> components/content/copytext/components/image/figure
30
- _cssClass="my-6 sm480:my-7 sm480:mr-5 sm480:w-1/2 w-auto flex-col float-none sm480:float-left break-inside-avoid page-break-inside-avoid"
31
- _cssClassCaption="mx-5 md:mx-0"
30
+ _cssClass="my-6 sm480:my-7 article-full-width sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid"
31
+ _cssClassCaption="mx-5 sm:mx-0"
32
32
  _type="story"
33
33
  _variant="copytext"
34
34
  _pictureAddClass="ar-16-9"
@@ -1,4 +1,4 @@
1
- <div>
1
+ <div class="contents sm:block copytextWrapper">
2
2
  {{#each this.copytextParagraph }}
3
3
  {{#if this.isHeadline}}
4
4
  {{> components/content/copytext/components/headline }}
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html
3
3
  class="no-js no-js-burgerMenu preload noMicroInteraction"
4
- data-theme="hessenschau"
4
+ data-theme="{{configProperty 'site.name'}}"
5
5
  lang="de"
6
6
  >
7
7
  <head>
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.60.8",
9
+ "version": "1.61.1",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -163,7 +163,12 @@
163
163
  .article-full-width {
164
164
  grid-column: full-width;
165
165
  }
166
-
166
+ .article-narrow {
167
+ grid-column: narrow;
168
+ }
169
+ .copytextWrapper > :not(.article-breakout, .article-full-width){
170
+ grid-column: narrow;
171
+ }
167
172
  .grid-content {
168
173
  grid-template-areas:
169
174
  "head"
@@ -1,16 +1,16 @@
1
1
  {{#if this.showPortrait.isTrue }}
2
2
  {{#if this.showFullSize.isTrue }}
3
3
  {{> components/content/copytext/components/image/figure
4
- _cssClass="my-6 sm480:my-7 clear-both"
5
- _cssClassCaption="mx-5 md:mx-0"
4
+ _cssClass="my-6 sm480:my-7 clear-both article-full-width sm:article-narrow"
5
+ _cssClassCaption="mx-5 sm:mx-0"
6
6
  _type="story"
7
7
  _variant="100-copytext-portrait"
8
8
  _noAr="true"
9
9
  _isWebview=../../_isWebview}}
10
10
  {{else}}
11
11
  {{> components/content/copytext/components/image/figure
12
- _cssClass="my-6 sm480:my-7 sm480:mr-5 sm480:w-1/2 w-auto flex-col float-none sm480:float-left break-inside-avoid page-break-inside-avoid"
13
- _cssClassCaption="mx-5 md:mx-0"
12
+ _cssClass="my-6 sm480:my-7 sm480:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid"
13
+ _cssClassCaption="mx-5 sm:mx-0"
14
14
  _type="story"
15
15
  _variant="copytext-portrait"
16
16
  _noAr="true"
@@ -19,16 +19,16 @@
19
19
  {{else}}
20
20
  {{#if this.showFullSize.isTrue}}
21
21
  {{> components/content/copytext/components/image/figure
22
- _cssClass="my-6 sm480:my-7 clear-both"
23
- _cssClassCaption="mx-5 md:mx-0"
22
+ _cssClass="my-6 sm480:my-7 clear-both article-full-width sm:article-narrow"
23
+ _cssClassCaption="mx-5 sm:mx-0"
24
24
  _type="story"
25
25
  _variant="100-copytext"
26
26
  _pictureAddClass="ar-16-9"
27
27
  _isWebview=../../_isWebview}}
28
28
  {{else}}
29
29
  {{> components/content/copytext/components/image/figure
30
- _cssClass="my-6 sm480:my-7 sm480:mr-5 sm480:w-1/2 w-auto flex-col float-none sm480:float-left break-inside-avoid page-break-inside-avoid"
31
- _cssClassCaption="mx-5 md:mx-0"
30
+ _cssClass="my-6 sm480:my-7 article-full-width sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid"
31
+ _cssClassCaption="mx-5 sm:mx-0"
32
32
  _type="story"
33
33
  _variant="copytext"
34
34
  _pictureAddClass="ar-16-9"
@@ -1,4 +1,4 @@
1
- <div>
1
+ <div class="contents sm:block copytextWrapper">
2
2
  {{#each this.copytextParagraph }}
3
3
  {{#if this.isHeadline}}
4
4
  {{> components/content/copytext/components/headline }}
@@ -20,11 +20,14 @@ export default {
20
20
  title: 'Komponenten/Content/Copytext',
21
21
  decorators: [
22
22
  (Story) => {
23
- return `<div class="max-w-[724px] mx-auto">
24
- ${Story()}
25
- </div>`
23
+ return `<div class="grid grid-page">
24
+ <div class="grid bg-white grid-article">
25
+ ${Story()}
26
+ </div>
27
+ </div>`
26
28
  },
27
29
  ],
30
+ parameters:{layout:'fullscreen'}
28
31
  }
29
32
 
30
33
  export const Default = {
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html
3
3
  class="no-js no-js-burgerMenu preload noMicroInteraction"
4
- data-theme="hessenschau"
4
+ data-theme="{{configProperty 'site.name'}}"
5
5
  lang="de"
6
6
  >
7
7
  <head>