hr-design-system-handlebars 1.114.65 → 1.114.67

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,28 @@
1
+ # v1.114.67 (Mon Jan 20 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Disable uxAction logging for first-time sharing module display, becau… [#1216](https://github.com/mumprod/hr-design-system-handlebars/pull/1216) ([@vascoeduardo](https://github.com/vascoeduardo) [@eduardo-hr](https://github.com/eduardo-hr))
6
+
7
+ #### Authors: 2
8
+
9
+ - [@eduardo-hr](https://github.com/eduardo-hr)
10
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
11
+
12
+ ---
13
+
14
+ # v1.114.66 (Mon Jan 20 2025)
15
+
16
+ #### 🐛 Bug Fix
17
+
18
+ - voting fine-tuning [#1215](https://github.com/mumprod/hr-design-system-handlebars/pull/1215) ([@hanswurstsalat](https://github.com/hanswurstsalat))
19
+
20
+ #### Authors: 1
21
+
22
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
23
+
24
+ ---
25
+
1
26
  # v1.114.65 (Mon Jan 20 2025)
2
27
 
3
28
  #### 🐛 Bug Fix
@@ -1478,6 +1478,9 @@ article #commentList {
1478
1478
  .mb-8 {
1479
1479
  margin-bottom: 2rem;
1480
1480
  }
1481
+ .mb-\[9px\] {
1482
+ margin-bottom: 9px;
1483
+ }
1481
1484
  .ml-0\.5 {
1482
1485
  margin-left: 0.125rem;
1483
1486
  }
@@ -3734,7 +3737,7 @@ article #commentList {
3734
3737
  border-bottom-color: var(--color-secondary-ds);
3735
3738
  }
3736
3739
  .counter-reset {
3737
- counter-reset: cnt1737379229648;
3740
+ counter-reset: cnt1737404341121;
3738
3741
  }
3739
3742
  html { scroll-behavior: smooth; }
3740
3743
  .placeholder-text-xs::-webkit-input-placeholder {
@@ -4149,7 +4152,7 @@ html { scroll-behavior: smooth; }
4149
4152
  --tw-ring-color: rgba(255, 255, 255, 0.5);
4150
4153
  }
4151
4154
  .-ordered {
4152
- counter-increment: cnt1737379229648 1;
4155
+ counter-increment: cnt1737404341121 1;
4153
4156
  }
4154
4157
  .-ordered::before {
4155
4158
  position: absolute;
@@ -4167,7 +4170,7 @@ html { scroll-behavior: smooth; }
4167
4170
  --tw-text-opacity: 1;
4168
4171
  color: rgba(0, 0, 0, 1);
4169
4172
  color: rgba(0, 0, 0, var(--tw-text-opacity));
4170
- content: counter(cnt1737379229648);
4173
+ content: counter(cnt1737404341121);
4171
4174
  }
4172
4175
  /*! ****************************/
4173
4176
  /*! DataPolicy stuff */
@@ -44,12 +44,12 @@ export default (module) => ({
44
44
 
45
45
  if(this.sharingModuleWasNeverShown && !desktop){
46
46
  console.log('Sharing Module '+module+' was shown for the first time!!!');
47
- uxAction('socialShareClick::'+module+'::shown');
47
+ //uxAction('socialShareClick::'+module+'::shown');
48
48
  this.sharingModuleWasNeverShown = false;
49
49
  }
50
50
  if(this.desktopSharingModuleWasNeverShown && desktop){
51
51
  console.log('Sharing Module '+module+'Desktop was shown for the first time!!!');
52
- uxAction('socialShareClick::'+module+'Desktop::shown');
52
+ //uxAction('socialShareClick::'+module+'Desktop::shown');
53
53
  this.desktopSharingModuleWasNeverShown = false;
54
54
  }
55
55
  },
@@ -11,7 +11,9 @@
11
11
  <div class="{{#if ../this.isSimpleSecured}}js-load{{/if}}{{#if _addClass}} {{_addClass}}{{/if}}"
12
12
  {{#unless ../this.isVotingOver}}
13
13
  {{#if ../this.isSimpleSecured}}
14
- data-hr-voting-result-cookie-ds='{"cookieLifetime":"{{this.cookieLifetime}}","votingId":"{{this.sophoraId}}"}'
14
+ {{#if _statusDone}}
15
+ data-hr-voting-result-cookie-ds='{"cookieLifetime":"{{this.cookieLifetime}}","votingId":"{{this.sophoraId}}"}'
16
+ {{/if}}
15
17
  {{/if}}
16
18
  {{/unless}}
17
19
  >
@@ -35,7 +37,7 @@
35
37
  <div class="flex">
36
38
  <div class="grow">
37
39
  <div class="{{#if @first}}mt-7 sm:mt-9{{else}}mt-3 sm:mt-4{{/if}} text-base sm:text-lg font-copy dark:text-text-dark">{{this.label}}</div>
38
- <div class="mt-0.5 sm:mt-1 w-full bg-gray-alto rounded-full h-2">
40
+ <div class="mt-0.5 mb-[9px] sm:mt-1 w-full bg-gray-alto rounded-full h-2">
39
41
  <div class="{{#if this.isWinner}}bg-orange-spicyCarrot-hex{{else}}bg-blue-congress-hex{{/if}} h-2 rounded-full" style="width:{{this.roundedPercentageCount}}%;animation: progressAnimationDS 5s"></div>
40
42
  </div>
41
43
  </div>
@@ -11,7 +11,9 @@
11
11
  <div class="{{#if ../this.isSimpleSecured}}js-load{{/if}}{{#if _addClass}} {{_addClass}}{{/if}}"
12
12
  {{#unless ../this.isVotingOver}}
13
13
  {{#if ../this.isSimpleSecured}}
14
- data-hr-voting-result-cookie-ds='{"cookieLifetime":"{{this.cookieLifetime}}","votingId":"{{this.sophoraId}}"}'
14
+ {{#if _statusDone}}
15
+ data-hr-voting-result-cookie-ds='{"cookieLifetime":"{{this.cookieLifetime}}","votingId":"{{this.sophoraId}}"}'
16
+ {{/if}}
15
17
  {{/if}}
16
18
  {{/unless}}
17
19
  >
@@ -35,7 +37,7 @@
35
37
  <div class="flex">
36
38
  <div class="grow">
37
39
  <div class="{{#if @first}}mt-7 sm:mt-9{{else}}mt-3 sm:mt-4{{/if}} text-base sm:text-lg font-copy dark:text-text-dark">{{this.label}}</div>
38
- <div class="mt-0.5 sm:mt-1 w-full bg-gray-alto rounded-full h-2">
40
+ <div class="mt-0.5 mb-[9px] sm:mt-1 w-full bg-gray-alto rounded-full h-2">
39
41
  <div class="{{#if this.isWinner}}bg-orange-spicyCarrot-hex{{else}}bg-blue-congress-hex{{/if}} h-2 rounded-full" style="width:{{this.roundedPercentageCount}}%;animation: progressAnimationDS 5s"></div>
40
42
  </div>
41
43
  </div>
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.114.65",
9
+ "version": "1.114.67",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -44,12 +44,12 @@ export default (module) => ({
44
44
 
45
45
  if(this.sharingModuleWasNeverShown && !desktop){
46
46
  console.log('Sharing Module '+module+' was shown for the first time!!!');
47
- uxAction('socialShareClick::'+module+'::shown');
47
+ //uxAction('socialShareClick::'+module+'::shown');
48
48
  this.sharingModuleWasNeverShown = false;
49
49
  }
50
50
  if(this.desktopSharingModuleWasNeverShown && desktop){
51
51
  console.log('Sharing Module '+module+'Desktop was shown for the first time!!!');
52
- uxAction('socialShareClick::'+module+'Desktop::shown');
52
+ //uxAction('socialShareClick::'+module+'Desktop::shown');
53
53
  this.desktopSharingModuleWasNeverShown = false;
54
54
  }
55
55
  },
@@ -11,7 +11,9 @@
11
11
  <div class="{{#if ../this.isSimpleSecured}}js-load{{/if}}{{#if _addClass}} {{_addClass}}{{/if}}"
12
12
  {{#unless ../this.isVotingOver}}
13
13
  {{#if ../this.isSimpleSecured}}
14
- data-hr-voting-result-cookie-ds='{"cookieLifetime":"{{this.cookieLifetime}}","votingId":"{{this.sophoraId}}"}'
14
+ {{#if _statusDone}}
15
+ data-hr-voting-result-cookie-ds='{"cookieLifetime":"{{this.cookieLifetime}}","votingId":"{{this.sophoraId}}"}'
16
+ {{/if}}
15
17
  {{/if}}
16
18
  {{/unless}}
17
19
  >
@@ -35,7 +37,7 @@
35
37
  <div class="flex">
36
38
  <div class="grow">
37
39
  <div class="{{#if @first}}mt-7 sm:mt-9{{else}}mt-3 sm:mt-4{{/if}} text-base sm:text-lg font-copy dark:text-text-dark">{{this.label}}</div>
38
- <div class="mt-0.5 sm:mt-1 w-full bg-gray-alto rounded-full h-2">
40
+ <div class="mt-0.5 mb-[9px] sm:mt-1 w-full bg-gray-alto rounded-full h-2">
39
41
  <div class="{{#if this.isWinner}}bg-orange-spicyCarrot-hex{{else}}bg-blue-congress-hex{{/if}} h-2 rounded-full" style="width:{{this.roundedPercentageCount}}%;animation: progressAnimationDS 5s"></div>
40
42
  </div>
41
43
  </div>