hr-design-system-handlebars 1.52.19 → 1.52.20
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 +12 -0
- package/dist/assets/index.css +15 -3
- package/dist/assets/js/components/article/components/podcast/podcastChannelRemainingEpisodesLoader.feature.js +2 -2
- package/dist/views/components/article/components/podcast/podcast_playlist_article.hbs +4 -4
- package/dist/views_static/components/article/components/podcast/podcast_playlist_article.hbs +4 -4
- package/package.json +1 -1
- package/src/stories/views/components/article/components/podcast/podcastChannelRemainingEpisodesLoader.feature.js +2 -2
- package/src/stories/views/components/article/components/podcast/podcast_playlist_article.hbs +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v1.52.20 (Tue Jan 30 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- use button instead of link for remaining items loader [#821](https://github.com/mumprod/hr-design-system-handlebars/pull/821) ([@StefanVesper](https://github.com/StefanVesper))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v1.52.19 (Mon Jan 29 2024)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1828,6 +1828,18 @@ a.link {
|
|
|
1828
1828
|
.transform {
|
|
1829
1829
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1830
1830
|
}
|
|
1831
|
+
.animate-none {
|
|
1832
|
+
animation: none;
|
|
1833
|
+
}
|
|
1834
|
+
@keyframes spin {
|
|
1835
|
+
|
|
1836
|
+
to {
|
|
1837
|
+
transform: rotate(360deg);
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
.animate-spin {
|
|
1841
|
+
animation: spin 1s linear infinite;
|
|
1842
|
+
}
|
|
1831
1843
|
.cursor-default {
|
|
1832
1844
|
cursor: default;
|
|
1833
1845
|
}
|
|
@@ -3261,7 +3273,7 @@ a.link {
|
|
|
3261
3273
|
border-bottom-color: var(--color-secondary-ds);
|
|
3262
3274
|
}
|
|
3263
3275
|
.counter-reset {
|
|
3264
|
-
counter-reset:
|
|
3276
|
+
counter-reset: cnt1706619591815;
|
|
3265
3277
|
}
|
|
3266
3278
|
.hyphens-auto {
|
|
3267
3279
|
-webkit-hyphens: auto;
|
|
@@ -3563,7 +3575,7 @@ a.link {
|
|
|
3563
3575
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3564
3576
|
}
|
|
3565
3577
|
.-ordered {
|
|
3566
|
-
counter-increment:
|
|
3578
|
+
counter-increment: cnt1706619591815 1;
|
|
3567
3579
|
}
|
|
3568
3580
|
.-ordered::before {
|
|
3569
3581
|
position: absolute;
|
|
@@ -3579,7 +3591,7 @@ a.link {
|
|
|
3579
3591
|
letter-spacing: .0125em;
|
|
3580
3592
|
--tw-text-opacity: 1;
|
|
3581
3593
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3582
|
-
content: counter(
|
|
3594
|
+
content: counter(cnt1706619591815);
|
|
3583
3595
|
}
|
|
3584
3596
|
/*! ****************************/
|
|
3585
3597
|
/*! DataPolicy stuff */
|
|
@@ -14,7 +14,7 @@ const PodcastChannelRemainingEpisodesLoader = function (context) {
|
|
|
14
14
|
|
|
15
15
|
const handleDynLoad = function (event) {
|
|
16
16
|
event.preventDefault()
|
|
17
|
-
dynLoadTrigElement.classList.add('-
|
|
17
|
+
dynLoadTrigElement.classList.add('animate-spin')
|
|
18
18
|
ajaxLoad(event.currentTarget, true)
|
|
19
19
|
}
|
|
20
20
|
const ajaxLoad = function (target, push, cache) {
|
|
@@ -37,7 +37,7 @@ const PodcastChannelRemainingEpisodesLoader = function (context) {
|
|
|
37
37
|
}, 1000)
|
|
38
38
|
})
|
|
39
39
|
.fail(function (data, status, xhr) {
|
|
40
|
-
dynLoadTrigElement.classList.remove('-
|
|
40
|
+
dynLoadTrigElement.classList.remove('animate-spin')
|
|
41
41
|
console.log('fail')
|
|
42
42
|
})
|
|
43
43
|
}
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
{{~#if this.remainingPlaylistItems}}
|
|
7
7
|
<div class="flex items-center justify-center pb-5 js-load"
|
|
8
8
|
data-hr-podcast-channel-remaining-episodes-loader='{"dynLoadTrigSelector":".js-load-remaining-items-button","dynLoadReplaceSelector":".js-placeholder-reload", "url":"{{this.reloadUrl}}"}'>
|
|
9
|
-
{{#> components/button/
|
|
9
|
+
{{#> components/button/button _size="lg" _title="Weitere Episoden laden" _type="button" _css="js-load-remaining-items-button" _link=this.allEpisodeUrl }}
|
|
10
10
|
{{> components/button/components/button_label _label="Weitere Episoden laden"}}
|
|
11
|
-
{{> components/button/components/button_icon _icon="reload" _iconmap="icons"}}
|
|
12
|
-
{{/components/button/
|
|
11
|
+
{{> components/button/components/button_icon _icon="reload" _iconmap="icons" _css="animate-none"}}
|
|
12
|
+
{{/components/button/button}}
|
|
13
13
|
{{#*inline "htmlProperties"}}
|
|
14
|
-
data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "weitereEpisodenLaden:ButtonClick"}]}'
|
|
14
|
+
data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "weitereEpisodenLaden:ButtonClick"}]}' rel='nofollow'
|
|
15
15
|
{{/inline}}
|
|
16
16
|
</div>
|
|
17
17
|
<div class="js-placeholder-reload"></div>
|
package/dist/views_static/components/article/components/podcast/podcast_playlist_article.hbs
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
{{~#if this.remainingPlaylistItems}}
|
|
7
7
|
<div class="flex items-center justify-center pb-5 js-load"
|
|
8
8
|
data-hr-podcast-channel-remaining-episodes-loader='{"dynLoadTrigSelector":".js-load-remaining-items-button","dynLoadReplaceSelector":".js-placeholder-reload", "url":"{{this.reloadUrl}}"}'>
|
|
9
|
-
{{#> components/button/
|
|
9
|
+
{{#> components/button/button _size="lg" _title="Weitere Episoden laden" _type="button" _css="js-load-remaining-items-button" _link=this.allEpisodeUrl }}
|
|
10
10
|
{{> components/button/components/button_label _label="Weitere Episoden laden"}}
|
|
11
|
-
{{> components/button/components/button_icon _icon="reload" _iconmap="icons"}}
|
|
12
|
-
{{/components/button/
|
|
11
|
+
{{> components/button/components/button_icon _icon="reload" _iconmap="icons" _css="animate-none"}}
|
|
12
|
+
{{/components/button/button}}
|
|
13
13
|
{{#*inline "htmlProperties"}}
|
|
14
|
-
data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "weitereEpisodenLaden:ButtonClick"}]}'
|
|
14
|
+
data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "weitereEpisodenLaden:ButtonClick"}]}' rel='nofollow'
|
|
15
15
|
{{/inline}}
|
|
16
16
|
</div>
|
|
17
17
|
<div class="js-placeholder-reload"></div>
|
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.52.
|
|
9
|
+
"version": "1.52.20",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -14,7 +14,7 @@ const PodcastChannelRemainingEpisodesLoader = function (context) {
|
|
|
14
14
|
|
|
15
15
|
const handleDynLoad = function (event) {
|
|
16
16
|
event.preventDefault()
|
|
17
|
-
dynLoadTrigElement.classList.add('-
|
|
17
|
+
dynLoadTrigElement.classList.add('animate-spin')
|
|
18
18
|
ajaxLoad(event.currentTarget, true)
|
|
19
19
|
}
|
|
20
20
|
const ajaxLoad = function (target, push, cache) {
|
|
@@ -37,7 +37,7 @@ const PodcastChannelRemainingEpisodesLoader = function (context) {
|
|
|
37
37
|
}, 1000)
|
|
38
38
|
})
|
|
39
39
|
.fail(function (data, status, xhr) {
|
|
40
|
-
dynLoadTrigElement.classList.remove('-
|
|
40
|
+
dynLoadTrigElement.classList.remove('animate-spin')
|
|
41
41
|
console.log('fail')
|
|
42
42
|
})
|
|
43
43
|
}
|
package/src/stories/views/components/article/components/podcast/podcast_playlist_article.hbs
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
{{~#if this.remainingPlaylistItems}}
|
|
7
7
|
<div class="flex items-center justify-center pb-5 js-load"
|
|
8
8
|
data-hr-podcast-channel-remaining-episodes-loader='{"dynLoadTrigSelector":".js-load-remaining-items-button","dynLoadReplaceSelector":".js-placeholder-reload", "url":"{{this.reloadUrl}}"}'>
|
|
9
|
-
{{#> components/button/
|
|
9
|
+
{{#> components/button/button _size="lg" _title="Weitere Episoden laden" _type="button" _css="js-load-remaining-items-button" _link=this.allEpisodeUrl }}
|
|
10
10
|
{{> components/button/components/button_label _label="Weitere Episoden laden"}}
|
|
11
|
-
{{> components/button/components/button_icon _icon="reload" _iconmap="icons"}}
|
|
12
|
-
{{/components/button/
|
|
11
|
+
{{> components/button/components/button_icon _icon="reload" _iconmap="icons" _css="animate-none"}}
|
|
12
|
+
{{/components/button/button}}
|
|
13
13
|
{{#*inline "htmlProperties"}}
|
|
14
|
-
data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "weitereEpisodenLaden:ButtonClick"}]}'
|
|
14
|
+
data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "weitereEpisodenLaden:ButtonClick"}]}' rel='nofollow'
|
|
15
15
|
{{/inline}}
|
|
16
16
|
</div>
|
|
17
17
|
<div class="js-placeholder-reload"></div>
|