hr-design-system-handlebars 1.59.15 → 1.59.16

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.59.16 (Wed Feb 28 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - fix indexText-bug [#866](https://github.com/mumprod/hr-design-system-handlebars/pull/866) ([@hanswurstsalat](https://github.com/hanswurstsalat))
6
+
7
+ #### Authors: 1
8
+
9
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
10
+
11
+ ---
12
+
1
13
  # v1.59.15 (Wed Feb 28 2024)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -943,10 +943,36 @@ video {
943
943
  }
944
944
  }
945
945
  /* -------------------------INDEXTEXT-TEASER ------------------------ */
946
- article.indexText ul {
946
+ article.indexTextDS ul {
947
947
  list-style-type: disc;
948
948
  padding-left: 1rem;
949
949
  }
950
+ article.indexTextDS .link {
951
+ color: #006eb7;
952
+ color: var(--color-link);
953
+ -webkit-text-decoration-line: underline;
954
+ text-decoration-line: underline;
955
+ text-decoration-thickness: 1px;
956
+ }
957
+ article.indexTextDS .indexTextHighlighted .link {
958
+ --tw-text-opacity: 1;
959
+ color: rgba(255, 255, 255, var(--tw-text-opacity));
960
+ -webkit-text-decoration-line: underline;
961
+ text-decoration-line: underline;
962
+ text-decoration-thickness: 1px;
963
+ }
964
+ /* -----------------------------COPYTEXT ---------------------------- */
965
+ .copytextParagraphDS .link {
966
+ color: #006eb7;
967
+ color: var(--color-link);
968
+ -webkit-text-decoration-line: underline;
969
+ text-decoration-line: underline;
970
+ text-decoration-thickness: 1px;
971
+ }
972
+ [class~='tw-dark'] .copytextParagraphDS .link {
973
+ color: #006eb7;
974
+ color: var(--color-link-dark);
975
+ }
950
976
  .sr-only {
951
977
  position: absolute;
952
978
  width: 1px;
@@ -2102,8 +2128,8 @@ article.indexText ul {
2102
2128
  .border-l-2 {
2103
2129
  border-left-width: 2px;
2104
2130
  }
2105
- .border-l-4 {
2106
- border-left-width: 4px;
2131
+ .border-l-\[3px\] {
2132
+ border-left-width: 3px;
2107
2133
  }
2108
2134
  .border-r {
2109
2135
  border-right-width: 1px;
@@ -3281,7 +3307,7 @@ article.indexText ul {
3281
3307
  border-bottom-color: var(--color-secondary-ds);
3282
3308
  }
3283
3309
  .counter-reset {
3284
- counter-reset: cnt1709140690568;
3310
+ counter-reset: cnt1709144261177;
3285
3311
  }
3286
3312
  .hyphens-auto {
3287
3313
  -webkit-hyphens: auto;
@@ -3587,7 +3613,7 @@ article.indexText ul {
3587
3613
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3588
3614
  }
3589
3615
  .-ordered {
3590
- counter-increment: cnt1709140690568 1;
3616
+ counter-increment: cnt1709144261177 1;
3591
3617
  }
3592
3618
  .-ordered::before {
3593
3619
  position: absolute;
@@ -3603,7 +3629,7 @@ article.indexText ul {
3603
3629
  letter-spacing: .0125em;
3604
3630
  --tw-text-opacity: 1;
3605
3631
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3606
- content: counter(cnt1709140690568);
3632
+ content: counter(cnt1709144261177);
3607
3633
  }
3608
3634
  /*! ****************************/
3609
3635
  /*! DataPolicy stuff */
@@ -1,3 +1,3 @@
1
- <div class="ml-1 sm:ml-6 px-4 sm:px-6 border-l-4 border-gray-boulder overflow-auto {{#if _showFullsize}}clear-both my-12 sm:my-14 {{else}}mb-12 sm:mb-14 sm:mt-7 mt-12 mr-0 sm:mr-5 w-full sm:w-1/2 sm:float-left{{/if}}">
1
+ <div class="ml-1 sm:ml-6 px-4 sm:px-6 border-l-[3px] border-gray-boulder overflow-auto {{#if _showFullsize}}clear-both my-12 sm:my-14 {{else}}mb-12 sm:mb-14 sm:mt-7 mt-12 mr-0 sm:mr-5 w-full sm:w-1/2 sm:float-left{{/if}}">
2
2
  {{~> @partial-block ~}}
3
3
  </div>
@@ -58,13 +58,13 @@
58
58
 
59
59
  {{#each this.text.split}}
60
60
  {{#if this.isText}}
61
- <p class="{{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
61
+ <p class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
62
62
  {{/if}}
63
63
  {{#if this.isUl}}
64
- <ul class="{{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} ml-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
64
+ <ul class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} ml-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
65
65
  {{/if}}
66
66
  {{#if this.isOl}}
67
- <ol class="{{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} ml-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
67
+ <ol class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} ml-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
68
68
  {{/if}}
69
69
  {{/each}}
70
70
  {{~#block "subParagraphs"}}{{/block~}}
@@ -1,9 +1,9 @@
1
1
  {{#if this.isText}}
2
- <p class="mt-6 text-lg leading-[1.625rem] sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
2
+ <p class="copytextParagraphDS mt-6 text-lg leading-[1.625rem] sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
3
3
  {{/if}}
4
4
  {{#if this.isUl}}
5
- <ul class="mt-6 ml-5 text-lg leading-[1.625rem] list-disc sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
5
+ <ul class="copytextParagraphDS mt-6 ml-5 text-lg leading-[1.625rem] list-disc sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
6
6
  {{/if}}
7
7
  {{#if this.isOl}}
8
- <ol class="mt-6 ml-5 text-lg leading-[1.625rem] list-decimal sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
8
+ <ol class="copytextParagraphDS mt-6 ml-5 text-lg leading-[1.625rem] list-decimal sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
9
9
  {{/if}}
@@ -1,5 +1,5 @@
1
1
  <article
2
- class='indexText rounded-tl-hr rounded-br-hr mx-5 sm:mx-0 p-8 md:p-10 relative col-span-12 flex flex-col gap-x-4
2
+ class='indexTextDS rounded-tl-hr rounded-br-hr mx-5 sm:mx-0 p-8 md:p-10 relative col-span-12 flex flex-col gap-x-4
3
3
  {{~inline-switch this.teaserSize '["50"]' '[" md:col-span-6",""]'}}
4
4
  {{~inline-switch
5
5
  this.teaserType
@@ -16,10 +16,10 @@
16
16
  {{this.title}}
17
17
  </h3>
18
18
  {{/if}}
19
- <p
19
+ <div
20
20
  class='{{#if this.title}}mt-6 {{/if}}text-sm md:text-base font-copy
21
- {{~inline-switch this.teaserType '["highlighted"]' '[" text-white",""]'}}'
21
+ {{~inline-switch this.teaserType '["highlighted"]' '[" text-white indexTextHighlighted",""]'}}'
22
22
  >
23
23
  {{{this.shorttext}}}
24
- </p>
24
+ </div>
25
25
  </article>
@@ -1,3 +1,3 @@
1
- <div class="ml-1 sm:ml-6 px-4 sm:px-6 border-l-4 border-gray-boulder overflow-auto {{#if _showFullsize}}clear-both my-12 sm:my-14 {{else}}mb-12 sm:mb-14 sm:mt-7 mt-12 mr-0 sm:mr-5 w-full sm:w-1/2 sm:float-left{{/if}}">
1
+ <div class="ml-1 sm:ml-6 px-4 sm:px-6 border-l-[3px] border-gray-boulder overflow-auto {{#if _showFullsize}}clear-both my-12 sm:my-14 {{else}}mb-12 sm:mb-14 sm:mt-7 mt-12 mr-0 sm:mr-5 w-full sm:w-1/2 sm:float-left{{/if}}">
2
2
  {{~> @partial-block ~}}
3
3
  </div>
@@ -58,13 +58,13 @@
58
58
 
59
59
  {{#each this.text.split}}
60
60
  {{#if this.isText}}
61
- <p class="{{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
61
+ <p class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
62
62
  {{/if}}
63
63
  {{#if this.isUl}}
64
- <ul class="{{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} ml-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
64
+ <ul class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} ml-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
65
65
  {{/if}}
66
66
  {{#if this.isOl}}
67
- <ol class="{{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} ml-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
67
+ <ol class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} ml-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
68
68
  {{/if}}
69
69
  {{/each}}
70
70
  {{~#block "subParagraphs"}}{{/block~}}
@@ -1,9 +1,9 @@
1
1
  {{#if this.isText}}
2
- <p class="mt-6 text-lg leading-[1.625rem] sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
2
+ <p class="copytextParagraphDS mt-6 text-lg leading-[1.625rem] sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
3
3
  {{/if}}
4
4
  {{#if this.isUl}}
5
- <ul class="mt-6 ml-5 text-lg leading-[1.625rem] list-disc sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
5
+ <ul class="copytextParagraphDS mt-6 ml-5 text-lg leading-[1.625rem] list-disc sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
6
6
  {{/if}}
7
7
  {{#if this.isOl}}
8
- <ol class="mt-6 ml-5 text-lg leading-[1.625rem] list-decimal sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
8
+ <ol class="copytextParagraphDS mt-6 ml-5 text-lg leading-[1.625rem] list-decimal sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
9
9
  {{/if}}
@@ -1,5 +1,5 @@
1
1
  <article
2
- class='indexText rounded-tl-hr rounded-br-hr mx-5 sm:mx-0 p-8 md:p-10 relative col-span-12 flex flex-col gap-x-4
2
+ class='indexTextDS rounded-tl-hr rounded-br-hr mx-5 sm:mx-0 p-8 md:p-10 relative col-span-12 flex flex-col gap-x-4
3
3
  {{~inline-switch this.teaserSize '["50"]' '[" md:col-span-6",""]'}}
4
4
  {{~inline-switch
5
5
  this.teaserType
@@ -16,10 +16,10 @@
16
16
  {{this.title}}
17
17
  </h3>
18
18
  {{/if}}
19
- <p
19
+ <div
20
20
  class='{{#if this.title}}mt-6 {{/if}}text-sm md:text-base font-copy
21
- {{~inline-switch this.teaserType '["highlighted"]' '[" text-white",""]'}}'
21
+ {{~inline-switch this.teaserType '["highlighted"]' '[" text-white indexTextHighlighted",""]'}}'
22
22
  >
23
23
  {{{this.shorttext}}}
24
- </p>
24
+ </div>
25
25
  </article>
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.59.15",
9
+ "version": "1.59.16",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -292,6 +292,19 @@
292
292
  }
293
293
 
294
294
  /* -------------------------INDEXTEXT-TEASER ------------------------ */
295
- article.indexText ul {
295
+ article.indexTextDS ul {
296
296
  @apply pl-4 list-disc;
297
297
  }
298
+
299
+ article.indexTextDS .link {
300
+ @apply underline text-link decoration-1;
301
+ }
302
+
303
+ article.indexTextDS .indexTextHighlighted .link {
304
+ @apply text-white underline decoration-1;
305
+ }
306
+
307
+ /* -----------------------------COPYTEXT ---------------------------- */
308
+ .copytextParagraphDS .link {
309
+ @apply underline text-link decoration-1 dark:text-link-dark;
310
+ }
@@ -1,3 +1,3 @@
1
- <div class="ml-1 sm:ml-6 px-4 sm:px-6 border-l-4 border-gray-boulder overflow-auto {{#if _showFullsize}}clear-both my-12 sm:my-14 {{else}}mb-12 sm:mb-14 sm:mt-7 mt-12 mr-0 sm:mr-5 w-full sm:w-1/2 sm:float-left{{/if}}">
1
+ <div class="ml-1 sm:ml-6 px-4 sm:px-6 border-l-[3px] border-gray-boulder overflow-auto {{#if _showFullsize}}clear-both my-12 sm:my-14 {{else}}mb-12 sm:mb-14 sm:mt-7 mt-12 mr-0 sm:mr-5 w-full sm:w-1/2 sm:float-left{{/if}}">
2
2
  {{~> @partial-block ~}}
3
3
  </div>
@@ -58,13 +58,13 @@
58
58
 
59
59
  {{#each this.text.split}}
60
60
  {{#if this.isText}}
61
- <p class="{{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
61
+ <p class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
62
62
  {{/if}}
63
63
  {{#if this.isUl}}
64
- <ul class="{{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} ml-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
64
+ <ul class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} ml-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
65
65
  {{/if}}
66
66
  {{#if this.isOl}}
67
- <ol class="{{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} ml-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
67
+ <ol class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}}mt-4{{else}}{{#if ../this.paragraphBoxItem}}mt-4{{else}}-mt-0.5{{/if}}{{/if}} ml-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
68
68
  {{/if}}
69
69
  {{/each}}
70
70
  {{~#block "subParagraphs"}}{{/block~}}
@@ -1,9 +1,9 @@
1
1
  {{#if this.isText}}
2
- <p class="mt-6 text-lg leading-[1.625rem] sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
2
+ <p class="copytextParagraphDS mt-6 text-lg leading-[1.625rem] sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
3
3
  {{/if}}
4
4
  {{#if this.isUl}}
5
- <ul class="mt-6 ml-5 text-lg leading-[1.625rem] list-disc sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
5
+ <ul class="copytextParagraphDS mt-6 ml-5 text-lg leading-[1.625rem] list-disc sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
6
6
  {{/if}}
7
7
  {{#if this.isOl}}
8
- <ol class="mt-6 ml-5 text-lg leading-[1.625rem] list-decimal sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
8
+ <ol class="copytextParagraphDS mt-6 ml-5 text-lg leading-[1.625rem] list-decimal sm480:text-xl sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
9
9
  {{/if}}
@@ -1,5 +1,5 @@
1
1
  <article
2
- class='indexText rounded-tl-hr rounded-br-hr mx-5 sm:mx-0 p-8 md:p-10 relative col-span-12 flex flex-col gap-x-4
2
+ class='indexTextDS rounded-tl-hr rounded-br-hr mx-5 sm:mx-0 p-8 md:p-10 relative col-span-12 flex flex-col gap-x-4
3
3
  {{~inline-switch this.teaserSize '["50"]' '[" md:col-span-6",""]'}}
4
4
  {{~inline-switch
5
5
  this.teaserType
@@ -16,10 +16,10 @@
16
16
  {{this.title}}
17
17
  </h3>
18
18
  {{/if}}
19
- <p
19
+ <div
20
20
  class='{{#if this.title}}mt-6 {{/if}}text-sm md:text-base font-copy
21
- {{~inline-switch this.teaserType '["highlighted"]' '[" text-white",""]'}}'
21
+ {{~inline-switch this.teaserType '["highlighted"]' '[" text-white indexTextHighlighted",""]'}}'
22
22
  >
23
23
  {{{this.shorttext}}}
24
- </p>
24
+ </div>
25
25
  </article>