hr-design-system-handlebars 1.114.3 → 1.114.5
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 +25 -0
- package/dist/assets/icons/icons/svgmap.min.svg +1 -1
- package/dist/assets/index.css +3 -3
- package/dist/assets/js/components/voting/js/votingDs.feature.js +6 -1
- package/dist/views/components/banner/structure_nav/structure_nav.hbs +3 -3
- package/dist/views/components/page/podcast/podcast_playlist_article.hbs +2 -2
- package/dist/views/components/site_header/navigation_flyout/navigation_flyout.hbs +3 -3
- package/dist/views/components/voting/voting_result.hbs +3 -3
- package/dist/views/components/voting/voting_success.hbs +2 -2
- package/dist/views_static/components/banner/structure_nav/structure_nav.hbs +3 -3
- package/dist/views_static/components/page/podcast/podcast_playlist_article.hbs +2 -2
- package/dist/views_static/components/site_header/navigation_flyout/navigation_flyout.hbs +3 -3
- package/dist/views_static/components/voting/voting_result.hbs +3 -3
- package/dist/views_static/components/voting/voting_success.hbs +2 -2
- package/package.json +1 -1
- package/src/assets/fixtures/voting/voting.inc.json +3 -3
- package/src/assets/icons/icons/svgmap.min.svg +1 -1
- package/src/stories/views/components/banner/structure_nav/structure_nav.hbs +3 -3
- package/src/stories/views/components/page/podcast/podcast_playlist_article.hbs +2 -2
- package/src/stories/views/components/site_header/navigation_flyout/navigation_flyout.hbs +3 -3
- package/src/stories/views/components/voting/fixtures/voting.json +1 -1
- package/src/stories/views/components/voting/fixtures/voting_email.json +1 -1
- package/src/stories/views/components/voting/fixtures/voting_error.json +1 -1
- package/src/stories/views/components/voting/fixtures/voting_media.json +1 -1
- package/src/stories/views/components/voting/fixtures/voting_multiple_choice.json +1 -1
- package/src/stories/views/components/voting/fixtures/voting_over.json +1 -1
- package/src/stories/views/components/voting/fixtures/voting_result_absolute.json +1 -1
- package/src/stories/views/components/voting/js/votingDs.feature.js +6 -1
- package/src/stories/views/components/voting/voting.stories.js +15 -3
- package/src/stories/views/components/voting/voting_result.hbs +3 -3
- package/src/stories/views/components/voting/voting_success.hbs +2 -2
- package/src/stories/views/components/voting/voting_success.stories.js +1 -1
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
|
|
13
13
|
{{#if _hideVotingResult}}
|
|
14
14
|
{{#if _isVotingOver}}
|
|
15
|
-
<p class="mt-6 ml-8 text-base font-bold sm:ml-9 sm:text-
|
|
15
|
+
<p class="mt-6 ml-8 text-base font-bold sm:ml-9 sm:text-xl font-heading sm:mt-12">{{{_resultBoxMessageText}}}</p>
|
|
16
16
|
{{else}}
|
|
17
|
-
{{~> components/base/image/icon _icon=(if _statusDone "status-done" "status-error") _iconmap="icons" _addClass=(if _statusDone "" "float-left w-6 h-6 text-error dark:text-error-dark fill-current mt-6 sm:mt-12")}}
|
|
18
|
-
<p class="mt-6 ml-8 text-base font-bold sm:ml-9
|
|
17
|
+
{{~> components/base/image/icon _icon=(if _statusDone "status-done" "status-error") _iconmap="icons" _addClass=(if _statusDone "float-left w-6 h-6 text-success dark:text-success-dark fill-current mt-6 sm:mt-12" "float-left w-6 h-6 text-error dark:text-error-dark fill-current mt-6 sm:mt-12")}}
|
|
18
|
+
<p class="{{#if _statusDone}}text-success dark:text-success-dark{{else}}text-error dark:text-error-dark{{/if}} mt-6 ml-8 text-base font-bold sm:ml-9 sm:text-xl font-heading sm:mt-12">{{{_resultBoxMessageText}}}</p>
|
|
19
19
|
{{/if}}
|
|
20
20
|
{{else}}
|
|
21
21
|
<p class="mt-6 text-base font-bold sm:text-xl font-heading sm:mt-12">{{{_resultBoxMessageText}}}</p>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
_resultBoxMessageTitle=(loca "votingform_title_success")
|
|
6
6
|
_resultBoxMessageText=this.votingSuccessText.richtext
|
|
7
7
|
_isInline=_isInline
|
|
8
|
-
_voteResults=
|
|
8
|
+
_voteResults=_voteResults
|
|
9
9
|
_isResultOnRedirectPage=_isResultOnRedirectPage
|
|
10
10
|
_hideVotingResult=this.hideVotingResult
|
|
11
11
|
_statusDone=_statusDone
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
_resultBoxMessageTitle=(loca "votingform_title_success")
|
|
19
19
|
_resultBoxMessageText=(loca "votingform_text_success")
|
|
20
20
|
_isInline=_isInline
|
|
21
|
-
_voteResults=
|
|
21
|
+
_voteResults=_voteResults
|
|
22
22
|
_isResultOnRedirectPage=_isResultOnRedirectPage
|
|
23
23
|
_hideVotingResult=this.hideVotingResult
|
|
24
24
|
_statusDone=_statusDone
|
|
@@ -23,7 +23,7 @@ export default {
|
|
|
23
23
|
const Template = (args) => {
|
|
24
24
|
let hbsTemplate = handlebars.compile(`
|
|
25
25
|
{{#>components/forms/components/backgroundBox }}
|
|
26
|
-
{{> components/voting/voting_success _title=this.title _topline=this.topline}}
|
|
26
|
+
{{> components/voting/voting_success _title=this.title _topline=this.topline _voteResults=this.votingResult}}
|
|
27
27
|
{{/components/forms/components/backgroundBox }}
|
|
28
28
|
`)
|
|
29
29
|
return hbsTemplate({ ...args })
|