hr-design-system-handlebars 1.113.13 → 1.113.14

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 CHANGED
@@ -1,3 +1,15 @@
1
+ # v1.113.14 (Fri Nov 01 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - modify display-logic for total number of votes [#1141](https://github.com/mumprod/hr-design-system-handlebars/pull/1141) ([@hanswurstsalat](https://github.com/hanswurstsalat))
6
+
7
+ #### Authors: 1
8
+
9
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
10
+
11
+ ---
12
+
1
13
  # v1.113.13 (Fri Nov 01 2024)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -3658,7 +3658,7 @@ article.indexTextDS .indexTextHighlighted .link {
3658
3658
  border-bottom-color: var(--color-secondary-ds);
3659
3659
  }
3660
3660
  .counter-reset {
3661
- counter-reset: cnt1730483487625;
3661
+ counter-reset: cnt1730489503652;
3662
3662
  }
3663
3663
  .placeholder-text-xs::-webkit-input-placeholder {
3664
3664
  font-size: 0.75rem;
@@ -4072,7 +4072,7 @@ article.indexTextDS .indexTextHighlighted .link {
4072
4072
  --tw-ring-color: rgba(255, 255, 255, 0.5);
4073
4073
  }
4074
4074
  .-ordered {
4075
- counter-increment: cnt1730483487625 1;
4075
+ counter-increment: cnt1730489503652 1;
4076
4076
  }
4077
4077
  .-ordered::before {
4078
4078
  position: absolute;
@@ -4090,7 +4090,7 @@ article.indexTextDS .indexTextHighlighted .link {
4090
4090
  --tw-text-opacity: 1;
4091
4091
  color: rgba(0, 0, 0, 1);
4092
4092
  color: rgba(0, 0, 0, var(--tw-text-opacity));
4093
- content: counter(cnt1730483487625);
4093
+ content: counter(cnt1730489503652);
4094
4094
  }
4095
4095
  /*! ****************************/
4096
4096
  /*! DataPolicy stuff */
@@ -28,13 +28,21 @@
28
28
  </div>
29
29
  {{/each}}
30
30
 
31
- {{!#unless this.showAbsoluteResult}}
31
+ {{#if this.isMultipleChoice}}
32
+ {{#unless this.showAbsoluteResult}}
33
+ {{#if this.showVoteResult}}
34
+ <p class="clear-both text-xs pt-7 sm:pt-9 font-headingSerif sm:text-sm text-gray-scorpion">
35
+ {{loca "votingform_vote_result"}}{{this.summarizedResult}}
36
+ </p>
37
+ {{/if}}
38
+ {{/unless}}
39
+ {{else}}
32
40
  {{#if this.showVoteResult}}
33
41
  <p class="clear-both text-xs pt-7 sm:pt-9 font-headingSerif sm:text-sm text-gray-scorpion">
34
42
  {{loca "votingform_vote_result"}}{{this.summarizedResult}}
35
43
  </p>
36
44
  {{/if}}
37
- {{!/unless}}
45
+ {{/if}}
38
46
  {{/if}}
39
47
 
40
48
  {{#if _isVotingOver}}
@@ -28,13 +28,21 @@
28
28
  </div>
29
29
  {{/each}}
30
30
 
31
- {{!#unless this.showAbsoluteResult}}
31
+ {{#if this.isMultipleChoice}}
32
+ {{#unless this.showAbsoluteResult}}
33
+ {{#if this.showVoteResult}}
34
+ <p class="clear-both text-xs pt-7 sm:pt-9 font-headingSerif sm:text-sm text-gray-scorpion">
35
+ {{loca "votingform_vote_result"}}{{this.summarizedResult}}
36
+ </p>
37
+ {{/if}}
38
+ {{/unless}}
39
+ {{else}}
32
40
  {{#if this.showVoteResult}}
33
41
  <p class="clear-both text-xs pt-7 sm:pt-9 font-headingSerif sm:text-sm text-gray-scorpion">
34
42
  {{loca "votingform_vote_result"}}{{this.summarizedResult}}
35
43
  </p>
36
44
  {{/if}}
37
- {{!/unless}}
45
+ {{/if}}
38
46
  {{/if}}
39
47
 
40
48
  {{#if _isVotingOver}}
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.113.13",
9
+ "version": "1.113.14",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -26,7 +26,7 @@ const Template = (args) => {
26
26
 
27
27
  export const Default = {
28
28
  render: Template.bind({}),
29
- name: 'default',
29
+ name: 'Einfachauswahl',
30
30
  args: votingJson,
31
31
  }
32
32
 
@@ -28,13 +28,21 @@
28
28
  </div>
29
29
  {{/each}}
30
30
 
31
- {{!#unless this.showAbsoluteResult}}
31
+ {{#if this.isMultipleChoice}}
32
+ {{#unless this.showAbsoluteResult}}
33
+ {{#if this.showVoteResult}}
34
+ <p class="clear-both text-xs pt-7 sm:pt-9 font-headingSerif sm:text-sm text-gray-scorpion">
35
+ {{loca "votingform_vote_result"}}{{this.summarizedResult}}
36
+ </p>
37
+ {{/if}}
38
+ {{/unless}}
39
+ {{else}}
32
40
  {{#if this.showVoteResult}}
33
41
  <p class="clear-both text-xs pt-7 sm:pt-9 font-headingSerif sm:text-sm text-gray-scorpion">
34
42
  {{loca "votingform_vote_result"}}{{this.summarizedResult}}
35
43
  </p>
36
44
  {{/if}}
37
- {{!/unless}}
45
+ {{/if}}
38
46
  {{/if}}
39
47
 
40
48
  {{#if _isVotingOver}}