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.
Files changed (69) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/brand/hessenschau/conf/locatags.merged.json +1 -0
  3. package/dist/assets/brand/hr/conf/locatags.merged.json +1 -0
  4. package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +1 -0
  5. package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +1 -0
  6. package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +1 -0
  7. package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +1 -0
  8. package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +1 -0
  9. package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +1 -0
  10. package/dist/assets/brand/hr1/conf/locatags.merged.json +1 -0
  11. package/dist/assets/brand/hr2/conf/locatags.merged.json +1 -0
  12. package/dist/assets/brand/hr3/conf/locatags.merged.json +1 -0
  13. package/dist/assets/brand/hr4/conf/locatags.merged.json +1 -0
  14. package/dist/assets/brand/you-fm/conf/locatags.merged.json +1 -0
  15. package/dist/assets/index.css +44 -3
  16. package/dist/assets/js/components/forms/js/contactForm.alpine.js +18 -17
  17. package/dist/assets/js/components/voting/js/votingCookieCheckerDs.feature.js +25 -0
  18. package/dist/assets/js/components/voting/js/votingDs.feature.js +214 -0
  19. package/dist/assets/js/components/voting/js/votingValidatorDs.feature.js +193 -0
  20. package/dist/views/components/forms/components/choice.hbs +2 -2
  21. package/dist/views/components/forms/components/choiceGroup.hbs +4 -2
  22. package/dist/views/components/forms/components/fields.hbs +3 -1
  23. package/dist/views/components/voting/components/voting_submit.hbs +4 -0
  24. package/dist/views/components/voting/voting.hbs +48 -7
  25. package/dist/views/components/voting/voting_result.hbs +3 -3
  26. package/dist/views_static/components/forms/components/choice.hbs +2 -2
  27. package/dist/views_static/components/forms/components/choiceGroup.hbs +4 -2
  28. package/dist/views_static/components/forms/components/fields.hbs +3 -1
  29. package/dist/views_static/components/voting/components/voting_submit.hbs +4 -0
  30. package/dist/views_static/components/voting/voting.hbs +48 -7
  31. package/dist/views_static/components/voting/voting_result.hbs +3 -3
  32. package/package.json +1 -1
  33. package/src/assets/brand/_default/conf/locatags.json +1 -0
  34. package/src/assets/brand/hessenschau/conf/locatags.merged.json +1 -0
  35. package/src/assets/brand/hr/conf/locatags.merged.json +1 -0
  36. package/src/assets/brand/hr-bigband/conf/locatags.merged.json +1 -0
  37. package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +1 -0
  38. package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +1 -0
  39. package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +1 -0
  40. package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +1 -0
  41. package/src/assets/brand/hr-werbung/conf/locatags.merged.json +1 -0
  42. package/src/assets/brand/hr1/conf/locatags.merged.json +1 -0
  43. package/src/assets/brand/hr2/conf/locatags.merged.json +1 -0
  44. package/src/assets/brand/hr3/conf/locatags.merged.json +1 -0
  45. package/src/assets/brand/hr4/conf/locatags.merged.json +1 -0
  46. package/src/assets/brand/you-fm/conf/locatags.merged.json +1 -0
  47. package/src/assets/fixtures/voting/voting.inc.json +21 -5
  48. package/src/stories/views/components/forms/components/choice.hbs +2 -2
  49. package/src/stories/views/components/forms/components/choiceGroup.hbs +4 -2
  50. package/src/stories/views/components/forms/components/fields.hbs +3 -1
  51. package/src/stories/views/components/forms/js/contactForm.alpine.js +18 -17
  52. package/src/stories/views/components/voting/components/voting_submit.hbs +4 -0
  53. package/src/stories/views/components/voting/fixtures/voting.json +1 -1
  54. package/src/stories/views/components/voting/fixtures/voting_error.json +1 -1
  55. package/src/stories/views/components/voting/fixtures/voting_over.json +1 -1
  56. package/src/stories/views/components/voting/fixtures/voting_result_absolute.json +1 -1
  57. package/src/stories/views/components/voting/js/voteValidatorDs.js +195 -0
  58. package/src/stories/views/components/voting/js/votingCookieCheckerDs.feature.js +25 -0
  59. package/src/stories/views/components/voting/js/votingCookieCheckerDs.js +31 -0
  60. package/src/stories/views/components/voting/js/votingDs.feature.js +214 -0
  61. package/src/stories/views/components/voting/js/votingDs.js +198 -0
  62. package/src/stories/views/components/voting/js/votingValidatorDs.feature.js +193 -0
  63. package/src/stories/views/components/voting/voting.hbs +48 -7
  64. package/src/stories/views/components/voting/voting.stories.js +7 -0
  65. package/src/stories/views/components/voting/voting_result.hbs +3 -3
  66. package/src/stories/views/components/voting/voting_result.stories.js +0 -30
  67. /package/dist/views/components/voting/{voting_header.hbs → components/voting_header.hbs} +0 -0
  68. /package/dist/views_static/components/voting/{voting_header.hbs → components/voting_header.hbs} +0 -0
  69. /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
- {{#unless this.showAbsoluteResult}}
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
- {{/unless}}
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
- }