hr-design-system-handlebars 1.57.10 → 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
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
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
|
+
|
|
1
13
|
# v1.57.10 (Wed Feb 14 2024)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -3235,7 +3235,7 @@ article.indexText ul {
|
|
|
3235
3235
|
border-bottom-color: var(--color-secondary-ds);
|
|
3236
3236
|
}
|
|
3237
3237
|
.counter-reset {
|
|
3238
|
-
counter-reset:
|
|
3238
|
+
counter-reset: cnt1708008968513;
|
|
3239
3239
|
}
|
|
3240
3240
|
.hyphens-auto {
|
|
3241
3241
|
-webkit-hyphens: auto;
|
|
@@ -3558,7 +3558,7 @@ article.indexText ul {
|
|
|
3558
3558
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3559
3559
|
}
|
|
3560
3560
|
.-ordered {
|
|
3561
|
-
counter-increment:
|
|
3561
|
+
counter-increment: cnt1708008968513 1;
|
|
3562
3562
|
}
|
|
3563
3563
|
.-ordered::before {
|
|
3564
3564
|
position: absolute;
|
|
@@ -3574,7 +3574,7 @@ article.indexText ul {
|
|
|
3574
3574
|
letter-spacing: .0125em;
|
|
3575
3575
|
--tw-text-opacity: 1;
|
|
3576
3576
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3577
|
-
content: counter(
|
|
3577
|
+
content: counter(cnt1708008968513);
|
|
3578
3578
|
}
|
|
3579
3579
|
/*! ****************************/
|
|
3580
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,
|
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,
|