hr-design-system-handlebars 1.114.5 → 1.114.7

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 (32) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/index.css +3 -3
  3. package/dist/assets/js/components/voting/js/votingDs.feature.js +6 -6
  4. package/dist/views/components/voting/voting.hbs +18 -16
  5. package/dist/views/components/voting/voting_result.hbs +17 -18
  6. package/dist/views/components/voting/voting_result_2F.hbs +1 -1
  7. package/dist/views_static/components/voting/voting.hbs +18 -16
  8. package/dist/views_static/components/voting/voting_result.hbs +17 -18
  9. package/dist/views_static/components/voting/voting_result_2F.hbs +1 -1
  10. package/package.json +1 -1
  11. package/src/assets/fixtures/voting/voting_email.json +4 -44
  12. package/src/stories/views/components/voting/fixtures/voting_email.json +1 -1
  13. package/src/stories/views/components/voting/js/votingDs.feature.js +6 -6
  14. package/src/stories/views/components/voting/voting.hbs +18 -16
  15. package/src/stories/views/components/voting/voting.stories.js +2 -2
  16. package/src/stories/views/components/voting/voting_result.hbs +17 -18
  17. package/src/stories/views/components/voting/{voting_success.stories.js → voting_result.stories.js} +8 -2
  18. package/src/stories/views/components/voting/voting_result_2F.hbs +1 -1
  19. package/dist/views/components/voting/voting_error.hbs +0 -10
  20. package/dist/views/components/voting/voting_success.hbs +0 -27
  21. package/dist/views/components/voting/voting_success_2F.hbs +0 -7
  22. package/dist/views_static/components/voting/voting_error.hbs +0 -10
  23. package/dist/views_static/components/voting/voting_success.hbs +0 -27
  24. package/dist/views_static/components/voting/voting_success_2F.hbs +0 -7
  25. package/src/stories/views/components/voting/js/voteValidatorDs.js +0 -195
  26. package/src/stories/views/components/voting/js/votingCookieCheckerDs.js +0 -31
  27. package/src/stories/views/components/voting/js/votingDs.js +0 -198
  28. package/src/stories/views/components/voting/voting_error.hbs +0 -10
  29. package/src/stories/views/components/voting/voting_error.stories.js +0 -35
  30. package/src/stories/views/components/voting/voting_success.hbs +0 -27
  31. package/src/stories/views/components/voting/voting_success_2F.hbs +0 -7
  32. package/src/stories/views/components/voting/voting_success_2F.stories.js +0 -35
@@ -1,27 +0,0 @@
1
- {{#if this.votingSuccessText}}
2
- {{> components/voting/voting_result
3
- _title=_title
4
- _topline=_topline
5
- _resultBoxMessageTitle=(loca "votingform_title_success")
6
- _resultBoxMessageText=this.votingSuccessText.richtext
7
- _isInline=_isInline
8
- _voteResults=_voteResults
9
- _isResultOnRedirectPage=_isResultOnRedirectPage
10
- _hideVotingResult=this.hideVotingResult
11
- _statusDone=_statusDone
12
-
13
- }}
14
- {{else}}
15
- {{> components/voting/voting_result
16
- _title=_title
17
- _topline=_topline
18
- _resultBoxMessageTitle=(loca "votingform_title_success")
19
- _resultBoxMessageText=(loca "votingform_text_success")
20
- _isInline=_isInline
21
- _voteResults=_voteResults
22
- _isResultOnRedirectPage=_isResultOnRedirectPage
23
- _hideVotingResult=this.hideVotingResult
24
- _statusDone=_statusDone
25
- }}
26
- {{/if}}
27
-
@@ -1,7 +0,0 @@
1
- {{> components/voting/voting_result_2F
2
- _title=_title
3
- _topline=_topline
4
- _resultBoxMessageTitle=(loca "votingform2F_title_success")
5
- _resultBoxMessageText=(loca "votingform2F_text_success")
6
- _isInline=_isInline
7
- }}
@@ -1,35 +0,0 @@
1
- import votingJson from './fixtures/voting.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
- parameters: {
17
- layout: 'fullscreen',
18
- chromatic: { disableSnapshot: true }
19
- }
20
- }
21
-
22
- const Template = (args) => {
23
- let hbsTemplate = handlebars.compile(`
24
- {{#>components/forms/components/backgroundBox }}
25
- {{> components/voting/voting_success_2F _title=this.title _topline=this.topline}}
26
- {{/components/forms/components/backgroundBox }}
27
- `)
28
- return hbsTemplate({ ...args })
29
- }
30
-
31
- export const Voting_Success_2F = {
32
- render: Template.bind({}),
33
- name: 'Successmeldung',
34
- args: votingJson,
35
- }