hr-design-system-handlebars 1.57.9 → 1.58.0
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 +24 -0
- package/dist/assets/index.css +3 -18
- package/dist/assets/js/base/tracking/pianoHelper.subfeature.js +7 -8
- package/dist/views/components/content/copytext/components/infobox.hbs +4 -4
- package/dist/views_static/components/content/copytext/components/infobox.hbs +4 -4
- package/package.json +1 -1
- package/src/assets/css/custom-components.css +0 -5
- package/src/stories/views/base/tracking/pianoHelper.subfeature.js +7 -8
- package/src/stories/views/components/content/copytext/components/infobox.hbs +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v1.58.0 (Thu Feb 15 2024)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- :bug: Fix the check for the existence of the [#845](https://github.com/mumprod/hr-design-system-handlebars/pull/845) ([@szuelch](https://github.com/szuelch))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- [@szuelch](https://github.com/szuelch)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v1.57.10 (Wed Feb 14 2024)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- copytext bugfixes 3 [#844](https://github.com/mumprod/hr-design-system-handlebars/pull/844) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v1.57.9 (Wed Feb 14 2024)
|
|
2
26
|
|
|
3
27
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -947,21 +947,6 @@ article.indexText ul {
|
|
|
947
947
|
list-style-type: disc;
|
|
948
948
|
padding-left: 1rem;
|
|
949
949
|
}
|
|
950
|
-
/* -------------------------COPYTEXT ------------------------------- */
|
|
951
|
-
a.link {
|
|
952
|
-
color: #006eb7;
|
|
953
|
-
color: var(--color-link);
|
|
954
|
-
-webkit-text-decoration-line: underline;
|
|
955
|
-
text-decoration-line: underline;
|
|
956
|
-
text-decoration-thickness: 1px;
|
|
957
|
-
}
|
|
958
|
-
a.link:hover {
|
|
959
|
-
text-decoration-thickness: 1px !important;
|
|
960
|
-
}
|
|
961
|
-
[class~='tw-dark'] a.link {
|
|
962
|
-
color: #006eb7;
|
|
963
|
-
color: var(--color-link-dark);
|
|
964
|
-
}
|
|
965
950
|
.sr-only {
|
|
966
951
|
position: absolute;
|
|
967
952
|
width: 1px;
|
|
@@ -3250,7 +3235,7 @@ a.link:hover {
|
|
|
3250
3235
|
border-bottom-color: var(--color-secondary-ds);
|
|
3251
3236
|
}
|
|
3252
3237
|
.counter-reset {
|
|
3253
|
-
counter-reset:
|
|
3238
|
+
counter-reset: cnt1708008968513;
|
|
3254
3239
|
}
|
|
3255
3240
|
.hyphens-auto {
|
|
3256
3241
|
-webkit-hyphens: auto;
|
|
@@ -3573,7 +3558,7 @@ a.link:hover {
|
|
|
3573
3558
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3574
3559
|
}
|
|
3575
3560
|
.-ordered {
|
|
3576
|
-
counter-increment:
|
|
3561
|
+
counter-increment: cnt1708008968513 1;
|
|
3577
3562
|
}
|
|
3578
3563
|
.-ordered::before {
|
|
3579
3564
|
position: absolute;
|
|
@@ -3589,7 +3574,7 @@ a.link:hover {
|
|
|
3589
3574
|
letter-spacing: .0125em;
|
|
3590
3575
|
--tw-text-opacity: 1;
|
|
3591
3576
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3592
|
-
content: counter(
|
|
3577
|
+
content: counter(cnt1708008968513);
|
|
3593
3578
|
}
|
|
3594
3579
|
/*! ****************************/
|
|
3595
3580
|
/*! DataPolicy stuff */
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import TrackingCookie from 'components/externalService/trackingCookie.subfeature'
|
|
2
1
|
import SettingsCookie from 'components/externalService/globalSettingsCookie.subfeature'
|
|
3
2
|
|
|
4
3
|
const isTrackingAllowed = () => {
|
|
@@ -7,8 +6,8 @@ const isTrackingAllowed = () => {
|
|
|
7
6
|
}
|
|
8
7
|
|
|
9
8
|
const uxAction = (label, secondLevelId) => {
|
|
10
|
-
secondLevelId = secondLevelId
|
|
11
|
-
if (typeof pa
|
|
9
|
+
secondLevelId = undefined !== secondLevelId ? secondLevelId : typeof pageDisplayConfig !== "undefined" && pageDisplayConfig !== undefined ? pageDisplayConfig.site_level2_id:99
|
|
10
|
+
if (typeof pa !== "undefined" && pa !== undefined && isTrackingAllowed()) {
|
|
12
11
|
pa.sendEvent('click.action', {
|
|
13
12
|
click: label,
|
|
14
13
|
site_level2_id: secondLevelId,
|
|
@@ -17,8 +16,8 @@ const uxAction = (label, secondLevelId) => {
|
|
|
17
16
|
}
|
|
18
17
|
|
|
19
18
|
const uxNavigation = (label, secondLevelId) => {
|
|
20
|
-
secondLevelId = secondLevelId
|
|
21
|
-
if (typeof pa
|
|
19
|
+
secondLevelId = undefined !== secondLevelId ? secondLevelId : typeof pageDisplayConfig !== "undefined" && pageDisplayConfig !== undefined ? pageDisplayConfig.site_level2_id:99
|
|
20
|
+
if (typeof pa !== "undefined" && pa !== undefined && isTrackingAllowed()) {
|
|
22
21
|
pa.sendEvent('click.navigation', {
|
|
23
22
|
click: label,
|
|
24
23
|
site_level2_id: secondLevelId,
|
|
@@ -27,14 +26,14 @@ const uxNavigation = (label, secondLevelId) => {
|
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
const pi = () => {
|
|
30
|
-
if (typeof pa
|
|
29
|
+
if (typeof pa !== "undefined" && pa !== undefined && isTrackingAllowed()) {
|
|
31
30
|
pa.sendEvent('page.display', pageDisplayConfig)
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
const download = (label, secondLevelId) => {
|
|
36
|
-
secondLevelId = secondLevelId
|
|
37
|
-
if (typeof pa
|
|
35
|
+
secondLevelId = undefined !== secondLevelId ? secondLevelId : typeof pageDisplayConfig !== "undefined" && pageDisplayConfig !== undefined ? pageDisplayConfig.site_level2_id:99
|
|
36
|
+
if (typeof pa !== "undefined" && pa !== undefined && isTrackingAllowed()) {
|
|
38
37
|
pa.sendEvent('click.download', {
|
|
39
38
|
click: label,
|
|
40
39
|
site_level2_id: secondLevelId,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<span class="sr-only">{{loca "story_infobox_intro_sr" }}</span>
|
|
4
4
|
|
|
5
5
|
{{~#if this.paragraphProperties.[0].title}}
|
|
6
|
-
<h3 class="text-lg
|
|
6
|
+
<h3 class="-mt-1 text-lg sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.paragraphProperties.[0].title}}</h3>
|
|
7
7
|
{{/if}}
|
|
8
8
|
|
|
9
9
|
{{~#with this.paragraphBoxItem }}
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
|
|
59
59
|
{{#each this.text.split}}
|
|
60
60
|
{{#if this.isText}}
|
|
61
|
-
<p class="mt-4 text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
|
|
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>
|
|
62
62
|
{{/if}}
|
|
63
63
|
{{#if this.isUl}}
|
|
64
|
-
<ul class="mt-4 ml-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
|
|
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>
|
|
65
65
|
{{/if}}
|
|
66
66
|
{{#if this.isOl}}
|
|
67
|
-
<ol class="mt-4 ml-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
|
|
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>
|
|
68
68
|
{{/if}}
|
|
69
69
|
{{/each}}
|
|
70
70
|
{{~#block "subParagraphs"}}{{/block~}}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<span class="sr-only">{{loca "story_infobox_intro_sr" }}</span>
|
|
4
4
|
|
|
5
5
|
{{~#if this.paragraphProperties.[0].title}}
|
|
6
|
-
<h3 class="text-lg
|
|
6
|
+
<h3 class="-mt-1 text-lg sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.paragraphProperties.[0].title}}</h3>
|
|
7
7
|
{{/if}}
|
|
8
8
|
|
|
9
9
|
{{~#with this.paragraphBoxItem }}
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
|
|
59
59
|
{{#each this.text.split}}
|
|
60
60
|
{{#if this.isText}}
|
|
61
|
-
<p class="mt-4 text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
|
|
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>
|
|
62
62
|
{{/if}}
|
|
63
63
|
{{#if this.isUl}}
|
|
64
|
-
<ul class="mt-4 ml-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
|
|
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>
|
|
65
65
|
{{/if}}
|
|
66
66
|
{{#if this.isOl}}
|
|
67
|
-
<ol class="mt-4 ml-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
|
|
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>
|
|
68
68
|
{{/if}}
|
|
69
69
|
{{/each}}
|
|
70
70
|
{{~#block "subParagraphs"}}{{/block~}}
|
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.
|
|
9
|
+
"version": "1.58.0",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import TrackingCookie from 'components/externalService/trackingCookie.subfeature'
|
|
2
1
|
import SettingsCookie from 'components/externalService/globalSettingsCookie.subfeature'
|
|
3
2
|
|
|
4
3
|
const isTrackingAllowed = () => {
|
|
@@ -7,8 +6,8 @@ const isTrackingAllowed = () => {
|
|
|
7
6
|
}
|
|
8
7
|
|
|
9
8
|
const uxAction = (label, secondLevelId) => {
|
|
10
|
-
secondLevelId = secondLevelId
|
|
11
|
-
if (typeof pa
|
|
9
|
+
secondLevelId = undefined !== secondLevelId ? secondLevelId : typeof pageDisplayConfig !== "undefined" && pageDisplayConfig !== undefined ? pageDisplayConfig.site_level2_id:99
|
|
10
|
+
if (typeof pa !== "undefined" && pa !== undefined && isTrackingAllowed()) {
|
|
12
11
|
pa.sendEvent('click.action', {
|
|
13
12
|
click: label,
|
|
14
13
|
site_level2_id: secondLevelId,
|
|
@@ -17,8 +16,8 @@ const uxAction = (label, secondLevelId) => {
|
|
|
17
16
|
}
|
|
18
17
|
|
|
19
18
|
const uxNavigation = (label, secondLevelId) => {
|
|
20
|
-
secondLevelId = secondLevelId
|
|
21
|
-
if (typeof pa
|
|
19
|
+
secondLevelId = undefined !== secondLevelId ? secondLevelId : typeof pageDisplayConfig !== "undefined" && pageDisplayConfig !== undefined ? pageDisplayConfig.site_level2_id:99
|
|
20
|
+
if (typeof pa !== "undefined" && pa !== undefined && isTrackingAllowed()) {
|
|
22
21
|
pa.sendEvent('click.navigation', {
|
|
23
22
|
click: label,
|
|
24
23
|
site_level2_id: secondLevelId,
|
|
@@ -27,14 +26,14 @@ const uxNavigation = (label, secondLevelId) => {
|
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
const pi = () => {
|
|
30
|
-
if (typeof pa
|
|
29
|
+
if (typeof pa !== "undefined" && pa !== undefined && isTrackingAllowed()) {
|
|
31
30
|
pa.sendEvent('page.display', pageDisplayConfig)
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
const download = (label, secondLevelId) => {
|
|
36
|
-
secondLevelId = secondLevelId
|
|
37
|
-
if (typeof pa
|
|
35
|
+
secondLevelId = undefined !== secondLevelId ? secondLevelId : typeof pageDisplayConfig !== "undefined" && pageDisplayConfig !== undefined ? pageDisplayConfig.site_level2_id:99
|
|
36
|
+
if (typeof pa !== "undefined" && pa !== undefined && isTrackingAllowed()) {
|
|
38
37
|
pa.sendEvent('click.download', {
|
|
39
38
|
click: label,
|
|
40
39
|
site_level2_id: secondLevelId,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<span class="sr-only">{{loca "story_infobox_intro_sr" }}</span>
|
|
4
4
|
|
|
5
5
|
{{~#if this.paragraphProperties.[0].title}}
|
|
6
|
-
<h3 class="text-lg
|
|
6
|
+
<h3 class="-mt-1 text-lg sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.paragraphProperties.[0].title}}</h3>
|
|
7
7
|
{{/if}}
|
|
8
8
|
|
|
9
9
|
{{~#with this.paragraphBoxItem }}
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
|
|
59
59
|
{{#each this.text.split}}
|
|
60
60
|
{{#if this.isText}}
|
|
61
|
-
<p class="mt-4 text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
|
|
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>
|
|
62
62
|
{{/if}}
|
|
63
63
|
{{#if this.isUl}}
|
|
64
|
-
<ul class="mt-4 ml-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
|
|
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>
|
|
65
65
|
{{/if}}
|
|
66
66
|
{{#if this.isOl}}
|
|
67
|
-
<ol class="mt-4 ml-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
|
|
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>
|
|
68
68
|
{{/if}}
|
|
69
69
|
{{/each}}
|
|
70
70
|
{{~#block "subParagraphs"}}{{/block~}}
|