hr-design-system-handlebars 1.116.0 β 1.118.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 +7 -3
- package/dist/assets/js/base/tracking/clickTracking.feature.js +4 -1
- package/dist/views/components/top_button/top_button.hbs +1 -1
- package/dist/views_static/components/top_button/top_button.hbs +1 -1
- package/package.json +1 -1
- package/src/stories/views/base/tracking/clickTracking.feature.js +4 -1
- package/src/stories/views/components/top_button/top_button.hbs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v1.118.0 (Mon Aug 11 2025)
|
|
2
|
+
|
|
3
|
+
#### π Enhancement
|
|
4
|
+
|
|
5
|
+
- fix: adjust margin class for top button on medium screens [#1299](https://github.com/mumprod/hr-design-system-handlebars/pull/1299) ([@szuelch](https://github.com/szuelch))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- [@szuelch](https://github.com/szuelch)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v1.117.0 (Thu Jul 24 2025)
|
|
14
|
+
|
|
15
|
+
#### π Enhancement
|
|
16
|
+
|
|
17
|
+
- :sparkles: Allow to define json settings in a child node of the trac⦠[#1298](https://github.com/mumprod/hr-design-system-handlebars/pull/1298) ([@szuelch](https://github.com/szuelch))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- [@szuelch](https://github.com/szuelch)
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v1.116.0 (Tue Jul 22 2025)
|
|
2
26
|
|
|
3
27
|
#### π Enhancement
|
package/dist/assets/index.css
CHANGED
|
@@ -3891,7 +3891,7 @@ article #commentList {
|
|
|
3891
3891
|
border-bottom-color: var(--color-secondary-ds);
|
|
3892
3892
|
}
|
|
3893
3893
|
.counter-reset {
|
|
3894
|
-
counter-reset:
|
|
3894
|
+
counter-reset: cnt1754913728161;
|
|
3895
3895
|
}
|
|
3896
3896
|
.animate-delay-100 {
|
|
3897
3897
|
--tw-animate-delay: 100ms;
|
|
@@ -4352,7 +4352,7 @@ html { scroll-behavior: smooth; }
|
|
|
4352
4352
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
4353
4353
|
}
|
|
4354
4354
|
.-ordered {
|
|
4355
|
-
counter-increment:
|
|
4355
|
+
counter-increment: cnt1754913728161 1;
|
|
4356
4356
|
}
|
|
4357
4357
|
.-ordered::before {
|
|
4358
4358
|
position: absolute;
|
|
@@ -4370,7 +4370,7 @@ html { scroll-behavior: smooth; }
|
|
|
4370
4370
|
--tw-text-opacity: 1;
|
|
4371
4371
|
color: rgba(0, 0, 0, 1);
|
|
4372
4372
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
4373
|
-
content: counter(
|
|
4373
|
+
content: counter(cnt1754913728161);
|
|
4374
4374
|
}
|
|
4375
4375
|
/*! ****************************/
|
|
4376
4376
|
/*! DataPolicy stuff */
|
|
@@ -7603,6 +7603,10 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
7603
7603
|
margin-left: 0.75rem;
|
|
7604
7604
|
}
|
|
7605
7605
|
|
|
7606
|
+
.md\:mr-10 {
|
|
7607
|
+
margin-right: 2.5rem;
|
|
7608
|
+
}
|
|
7609
|
+
|
|
7606
7610
|
.md\:mt-0 {
|
|
7607
7611
|
margin-top: 0px;
|
|
7608
7612
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { download, pi, uxAction, uxNavigation } from 'base/tracking/pianoHelper.subfeature';
|
|
2
|
+
import { hr$ } from 'hrQuery'
|
|
2
3
|
|
|
3
4
|
const ClickTracking = (context) => {
|
|
4
5
|
const { options, element: elementToTrack } = context;
|
|
5
|
-
const
|
|
6
|
+
const settingsFromChildNode = JSON.parse(hr$('[data-click-tracking-settings]', elementToTrack)[0]?.dataset.clickTrackingSettings || '{"settings":[]}')
|
|
7
|
+
.settings || '[]';
|
|
8
|
+
const settings = options.settings || settingsFromChildNode;
|
|
6
9
|
|
|
7
10
|
const clickHandler = (event) => {
|
|
8
11
|
settings.forEach(({ type, clickLabel, secondLevelId }) => {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
@click="window.scrollTo({top: 0, behavior: 'smooth'})"
|
|
20
20
|
:class="$store.footerIsVisible ? '-mt-6' : '-mt-12'"
|
|
21
|
-
class="{{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant="primary"}} ml-auto z-100 p-2 h-max mr-5 hover:scale-105
|
|
21
|
+
class="{{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant="primary"}} ml-auto z-100 p-2 h-max mr-5 hover:scale-105 md:mr-10 [@media(min-width:1170px)]:-mr-14"
|
|
22
22
|
aria-label='{{loca "top_button_aria_label" }}'
|
|
23
23
|
>
|
|
24
24
|
{{> components/base/image/icon _icon="arrow-up" _addClass="w-5 h-5 fill-current dark:fill-link-dark"}}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
@click="window.scrollTo({top: 0, behavior: 'smooth'})"
|
|
20
20
|
:class="$store.footerIsVisible ? '-mt-6' : '-mt-12'"
|
|
21
|
-
class="{{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant="primary"}} ml-auto z-100 p-2 h-max mr-5 hover:scale-105
|
|
21
|
+
class="{{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant="primary"}} ml-auto z-100 p-2 h-max mr-5 hover:scale-105 md:mr-10 [@media(min-width:1170px)]:-mr-14"
|
|
22
22
|
aria-label='{{loca "top_button_aria_label" }}'
|
|
23
23
|
>
|
|
24
24
|
{{> components/base/image/icon _icon="arrow-up" _addClass="w-5 h-5 fill-current dark:fill-link-dark"}}
|
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.118.0",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { download, pi, uxAction, uxNavigation } from 'base/tracking/pianoHelper.subfeature';
|
|
2
|
+
import { hr$ } from 'hrQuery'
|
|
2
3
|
|
|
3
4
|
const ClickTracking = (context) => {
|
|
4
5
|
const { options, element: elementToTrack } = context;
|
|
5
|
-
const
|
|
6
|
+
const settingsFromChildNode = JSON.parse(hr$('[data-click-tracking-settings]', elementToTrack)[0]?.dataset.clickTrackingSettings || '{"settings":[]}')
|
|
7
|
+
.settings || '[]';
|
|
8
|
+
const settings = options.settings || settingsFromChildNode;
|
|
6
9
|
|
|
7
10
|
const clickHandler = (event) => {
|
|
8
11
|
settings.forEach(({ type, clickLabel, secondLevelId }) => {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
@click="window.scrollTo({top: 0, behavior: 'smooth'})"
|
|
20
20
|
:class="$store.footerIsVisible ? '-mt-6' : '-mt-12'"
|
|
21
|
-
class="{{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant="primary"}} ml-auto z-100 p-2 h-max mr-5 hover:scale-105
|
|
21
|
+
class="{{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant="primary"}} ml-auto z-100 p-2 h-max mr-5 hover:scale-105 md:mr-10 [@media(min-width:1170px)]:-mr-14"
|
|
22
22
|
aria-label='{{loca "top_button_aria_label" }}'
|
|
23
23
|
>
|
|
24
24
|
{{> components/base/image/icon _icon="arrow-up" _addClass="w-5 h-5 fill-current dark:fill-link-dark"}}
|