hr-design-system-handlebars 1.113.10 → 1.113.12
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/brand/hessenschau/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr1/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr2/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr3/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr4/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/you-fm/conf/locatags.merged.json +1 -0
- package/dist/assets/index.css +44 -3
- package/dist/assets/js/components/forms/js/contactForm.alpine.js +18 -17
- package/dist/assets/js/components/voting/js/votingCookieCheckerDs.feature.js +25 -0
- package/dist/assets/js/components/voting/js/votingDs.feature.js +214 -0
- package/dist/assets/js/components/voting/js/votingValidatorDs.feature.js +193 -0
- package/dist/views/components/forms/components/choice.hbs +2 -2
- package/dist/views/components/forms/components/choiceGroup.hbs +4 -2
- package/dist/views/components/forms/components/fields.hbs +3 -1
- package/dist/views/components/voting/components/voting_submit.hbs +4 -0
- package/dist/views/components/voting/voting.hbs +48 -7
- package/dist/views/components/voting/voting_result.hbs +3 -3
- package/dist/views_static/components/forms/components/choice.hbs +2 -2
- package/dist/views_static/components/forms/components/choiceGroup.hbs +4 -2
- package/dist/views_static/components/forms/components/fields.hbs +3 -1
- package/dist/views_static/components/voting/components/voting_submit.hbs +4 -0
- package/dist/views_static/components/voting/voting.hbs +48 -7
- package/dist/views_static/components/voting/voting_result.hbs +3 -3
- package/package.json +1 -1
- package/src/assets/brand/_default/conf/locatags.json +1 -0
- package/src/assets/brand/hessenschau/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-bigband/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-werbung/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr1/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr2/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr3/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr4/conf/locatags.merged.json +1 -0
- package/src/assets/brand/you-fm/conf/locatags.merged.json +1 -0
- package/src/assets/fixtures/voting/voting.inc.json +21 -5
- package/src/stories/views/components/forms/components/choice.hbs +2 -2
- package/src/stories/views/components/forms/components/choiceGroup.hbs +4 -2
- package/src/stories/views/components/forms/components/fields.hbs +3 -1
- package/src/stories/views/components/forms/js/contactForm.alpine.js +18 -17
- package/src/stories/views/components/voting/components/voting_submit.hbs +4 -0
- package/src/stories/views/components/voting/fixtures/voting.json +1 -1
- package/src/stories/views/components/voting/fixtures/voting_error.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/voteValidatorDs.js +195 -0
- package/src/stories/views/components/voting/js/votingCookieCheckerDs.feature.js +25 -0
- package/src/stories/views/components/voting/js/votingCookieCheckerDs.js +31 -0
- package/src/stories/views/components/voting/js/votingDs.feature.js +214 -0
- package/src/stories/views/components/voting/js/votingDs.js +198 -0
- package/src/stories/views/components/voting/js/votingValidatorDs.feature.js +193 -0
- package/src/stories/views/components/voting/voting.hbs +48 -7
- package/src/stories/views/components/voting/voting.stories.js +7 -0
- package/src/stories/views/components/voting/voting_result.hbs +3 -3
- package/src/stories/views/components/voting/voting_result.stories.js +0 -30
- /package/dist/views/components/voting/{voting_header.hbs → components/voting_header.hbs} +0 -0
- /package/dist/views_static/components/voting/{voting_header.hbs → components/voting_header.hbs} +0 -0
- /package/src/stories/views/components/voting/{voting_header.hbs → components/voting_header.hbs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{#unless _isResultOnRedirectPage}}
|
|
2
|
-
{{> components/voting/voting_header _title=_title _topline=_topline}}
|
|
2
|
+
{{> components/voting/components/voting_header _title=_title _topline=_topline}}
|
|
3
3
|
{{/unless}}
|
|
4
4
|
|
|
5
5
|
{{#if _hideVotingResult}}
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
</div>
|
|
29
29
|
{{/each}}
|
|
30
30
|
|
|
31
|
-
{{
|
|
31
|
+
{{!#unless this.showAbsoluteResult}}
|
|
32
32
|
{{#if this.showVoteResult}}
|
|
33
33
|
<p class="clear-both text-xs pt-7 sm:pt-9 font-headingSerif sm:text-sm text-gray-scorpion">
|
|
34
34
|
{{loca "votingform_vote_result"}}{{this.summarizedResult}}
|
|
35
35
|
</p>
|
|
36
36
|
{{/if}}
|
|
37
|
-
{{
|
|
37
|
+
{{!/unless}}
|
|
38
38
|
{{/if}}
|
|
39
39
|
|
|
40
40
|
{{#if _isVotingOver}}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import votingOverJson from './fixtures/voting_over.json'
|
|
2
|
-
|
|
3
|
-
const handlebars = require('hrHandlebars')
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
title: 'Komponenten/Voting',
|
|
7
|
-
decorators: [
|
|
8
|
-
(Story) => {
|
|
9
|
-
return `<div class="grid grid-page">
|
|
10
|
-
<div class="grid bg-white grid-article">
|
|
11
|
-
${Story()}
|
|
12
|
-
</div>
|
|
13
|
-
</div>`
|
|
14
|
-
},
|
|
15
|
-
],
|
|
16
|
-
}
|
|
17
|
-
const Template = (args) => {
|
|
18
|
-
let hbsTemplate = handlebars.compile(`
|
|
19
|
-
{{#>components/forms/components/backgroundBox }}
|
|
20
|
-
{{> components/voting/voting }}
|
|
21
|
-
{{/components/forms/components/backgroundBox }}
|
|
22
|
-
`)
|
|
23
|
-
return hbsTemplate({ ...args })
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export const Voting_Over = {
|
|
27
|
-
render: Template.bind({}),
|
|
28
|
-
name: 'Beeendet',
|
|
29
|
-
args: votingOverJson,
|
|
30
|
-
}
|
|
File without changes
|
/package/dist/views_static/components/voting/{voting_header.hbs → components/voting_header.hbs}
RENAMED
|
File without changes
|
/package/src/stories/views/components/voting/{voting_header.hbs → components/voting_header.hbs}
RENAMED
|
File without changes
|