hr-design-system-handlebars 1.114.7 → 1.114.8
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 +3 -3
- package/dist/assets/js/components/voting/js/votingDs.feature.js +7 -7
- package/dist/assets/js/generic/hrQuery.subfeature.js +5 -1
- package/package.json +1 -1
- package/src/stories/views/components/voting/js/votingDs.feature.js +7 -7
- package/src/stories/views/generic/hrQuery.subfeature.js +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v1.114.8 (Tue Nov 12 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- fix voting-js error 2nd try [#1156](https://github.com/mumprod/hr-design-system-handlebars/pull/1156) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v1.114.7 (Tue Nov 12 2024)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -3687,7 +3687,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3687
3687
|
border-bottom-color: var(--color-secondary-ds);
|
|
3688
3688
|
}
|
|
3689
3689
|
.counter-reset {
|
|
3690
|
-
counter-reset:
|
|
3690
|
+
counter-reset: cnt1731425554982;
|
|
3691
3691
|
}
|
|
3692
3692
|
.placeholder-text-xs::-webkit-input-placeholder {
|
|
3693
3693
|
font-size: 0.75rem;
|
|
@@ -4101,7 +4101,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
4101
4101
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
4102
4102
|
}
|
|
4103
4103
|
.-ordered {
|
|
4104
|
-
counter-increment:
|
|
4104
|
+
counter-increment: cnt1731425554982 1;
|
|
4105
4105
|
}
|
|
4106
4106
|
.-ordered::before {
|
|
4107
4107
|
position: absolute;
|
|
@@ -4119,7 +4119,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
4119
4119
|
--tw-text-opacity: 1;
|
|
4120
4120
|
color: rgba(0, 0, 0, 1);
|
|
4121
4121
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
4122
|
-
content: counter(
|
|
4122
|
+
content: counter(cnt1731425554982);
|
|
4123
4123
|
}
|
|
4124
4124
|
/*! ****************************/
|
|
4125
4125
|
/*! DataPolicy stuff */
|
|
@@ -56,7 +56,7 @@ const Voting = (context) => {
|
|
|
56
56
|
if (jsonUrl) {
|
|
57
57
|
try {
|
|
58
58
|
responseStatus = JSON.parse(data).status
|
|
59
|
-
} catch
|
|
59
|
+
} catch {
|
|
60
60
|
//mockData already delivers a json-pbject!
|
|
61
61
|
responseStatus = data.status
|
|
62
62
|
}
|
|
@@ -70,7 +70,7 @@ const Voting = (context) => {
|
|
|
70
70
|
replaceAnimated(
|
|
71
71
|
votingWrapper,
|
|
72
72
|
hr$('.js-errorMessage', rootElement)[0].innerHTML,
|
|
73
|
-
|
|
73
|
+
true,
|
|
74
74
|
scrollIntoVoting
|
|
75
75
|
)
|
|
76
76
|
break
|
|
@@ -78,7 +78,7 @@ const Voting = (context) => {
|
|
|
78
78
|
replaceAnimated(
|
|
79
79
|
votingWrapper,
|
|
80
80
|
hr$('.js-successMessage', rootElement)[0].innerHTML,
|
|
81
|
-
|
|
81
|
+
true,
|
|
82
82
|
scrollIntoVoting
|
|
83
83
|
)
|
|
84
84
|
break
|
|
@@ -86,13 +86,13 @@ const Voting = (context) => {
|
|
|
86
86
|
replaceAnimated(
|
|
87
87
|
votingWrapper,
|
|
88
88
|
hr$('.js-errorMessage', rootElement)[0].innerHTML,
|
|
89
|
-
|
|
89
|
+
true,
|
|
90
90
|
scrollIntoVoting
|
|
91
91
|
)
|
|
92
92
|
break
|
|
93
93
|
}
|
|
94
94
|
} else {
|
|
95
|
-
replaceAnimated(votingWrapper, data,
|
|
95
|
+
replaceAnimated(votingWrapper, data, true, scrollIntoVoting)
|
|
96
96
|
}
|
|
97
97
|
})
|
|
98
98
|
|
|
@@ -103,7 +103,7 @@ const Voting = (context) => {
|
|
|
103
103
|
replaceAnimated(
|
|
104
104
|
votingWrapper,
|
|
105
105
|
hr$('.js-errorMessage', rootElement)[0].innerHTML,
|
|
106
|
-
|
|
106
|
+
true,
|
|
107
107
|
scrollIntoVoting
|
|
108
108
|
)
|
|
109
109
|
})
|
|
@@ -151,7 +151,7 @@ const Voting = (context) => {
|
|
|
151
151
|
|
|
152
152
|
const handleFormReload = function (event) {
|
|
153
153
|
event.preventDefault()
|
|
154
|
-
replaceAnimated(votingWrapper, votingTmpl,
|
|
154
|
+
replaceAnimated(votingWrapper, votingTmpl, true, scrollIntoVoting)
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
const handleKeydown = function (event) {
|
|
@@ -297,7 +297,11 @@ const replaceAnimated = function (
|
|
|
297
297
|
|
|
298
298
|
if (rescan) {
|
|
299
299
|
Initializer.run(elem, loadFeature)
|
|
300
|
-
|
|
300
|
+
try {
|
|
301
|
+
hrScriptLoad.rescanForModulesAndVariants(elem)
|
|
302
|
+
} catch {
|
|
303
|
+
console.log('hrScriptLoad is not defined');
|
|
304
|
+
}
|
|
301
305
|
}
|
|
302
306
|
|
|
303
307
|
if (callback) {
|
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.114.
|
|
9
|
+
"version": "1.114.8",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -56,7 +56,7 @@ const Voting = (context) => {
|
|
|
56
56
|
if (jsonUrl) {
|
|
57
57
|
try {
|
|
58
58
|
responseStatus = JSON.parse(data).status
|
|
59
|
-
} catch
|
|
59
|
+
} catch {
|
|
60
60
|
//mockData already delivers a json-pbject!
|
|
61
61
|
responseStatus = data.status
|
|
62
62
|
}
|
|
@@ -70,7 +70,7 @@ const Voting = (context) => {
|
|
|
70
70
|
replaceAnimated(
|
|
71
71
|
votingWrapper,
|
|
72
72
|
hr$('.js-errorMessage', rootElement)[0].innerHTML,
|
|
73
|
-
|
|
73
|
+
true,
|
|
74
74
|
scrollIntoVoting
|
|
75
75
|
)
|
|
76
76
|
break
|
|
@@ -78,7 +78,7 @@ const Voting = (context) => {
|
|
|
78
78
|
replaceAnimated(
|
|
79
79
|
votingWrapper,
|
|
80
80
|
hr$('.js-successMessage', rootElement)[0].innerHTML,
|
|
81
|
-
|
|
81
|
+
true,
|
|
82
82
|
scrollIntoVoting
|
|
83
83
|
)
|
|
84
84
|
break
|
|
@@ -86,13 +86,13 @@ const Voting = (context) => {
|
|
|
86
86
|
replaceAnimated(
|
|
87
87
|
votingWrapper,
|
|
88
88
|
hr$('.js-errorMessage', rootElement)[0].innerHTML,
|
|
89
|
-
|
|
89
|
+
true,
|
|
90
90
|
scrollIntoVoting
|
|
91
91
|
)
|
|
92
92
|
break
|
|
93
93
|
}
|
|
94
94
|
} else {
|
|
95
|
-
replaceAnimated(votingWrapper, data,
|
|
95
|
+
replaceAnimated(votingWrapper, data, true, scrollIntoVoting)
|
|
96
96
|
}
|
|
97
97
|
})
|
|
98
98
|
|
|
@@ -103,7 +103,7 @@ const Voting = (context) => {
|
|
|
103
103
|
replaceAnimated(
|
|
104
104
|
votingWrapper,
|
|
105
105
|
hr$('.js-errorMessage', rootElement)[0].innerHTML,
|
|
106
|
-
|
|
106
|
+
true,
|
|
107
107
|
scrollIntoVoting
|
|
108
108
|
)
|
|
109
109
|
})
|
|
@@ -151,7 +151,7 @@ const Voting = (context) => {
|
|
|
151
151
|
|
|
152
152
|
const handleFormReload = function (event) {
|
|
153
153
|
event.preventDefault()
|
|
154
|
-
replaceAnimated(votingWrapper, votingTmpl,
|
|
154
|
+
replaceAnimated(votingWrapper, votingTmpl, true, scrollIntoVoting)
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
const handleKeydown = function (event) {
|
|
@@ -297,7 +297,11 @@ const replaceAnimated = function (
|
|
|
297
297
|
|
|
298
298
|
if (rescan) {
|
|
299
299
|
Initializer.run(elem, loadFeature)
|
|
300
|
-
|
|
300
|
+
try {
|
|
301
|
+
hrScriptLoad.rescanForModulesAndVariants(elem)
|
|
302
|
+
} catch {
|
|
303
|
+
console.log('hrScriptLoad is not defined');
|
|
304
|
+
}
|
|
301
305
|
}
|
|
302
306
|
|
|
303
307
|
if (callback) {
|