hr-design-system-handlebars 1.114.34 → 1.114.36

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,27 @@
1
+ # v1.114.36 (Tue Dec 10 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - - added classes to the safelist [#1186](https://github.com/mumprod/hr-design-system-handlebars/pull/1186) ([@StefanVesper](https://github.com/StefanVesper))
6
+
7
+ #### Authors: 1
8
+
9
+ - SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
10
+
11
+ ---
12
+
13
+ # v1.114.35 (Tue Dec 10 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - removed -adjust_context because not needed in this context [#1184](https://github.com/mumprod/hr-design-system-handlebars/pull/1184) ([@vascoeduardo](https://github.com/vascoeduardo))
18
+
19
+ #### Authors: 1
20
+
21
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
22
+
23
+ ---
24
+
1
25
  # v1.114.34 (Tue Dec 10 2024)
2
26
 
3
27
  #### 🐛 Bug Fix
@@ -2086,6 +2086,12 @@ article.indexTextDS .indexTextHighlighted .link {
2086
2086
  .scroll-mt-12 {
2087
2087
  scroll-margin-top: 3rem;
2088
2088
  }
2089
+ .scroll-mt-\[117px\] {
2090
+ scroll-margin-top: 117px;
2091
+ }
2092
+ .scroll-mt-\[128px\] {
2093
+ scroll-margin-top: 128px;
2094
+ }
2089
2095
  .list-decimal {
2090
2096
  list-style-type: decimal;
2091
2097
  }
@@ -3689,7 +3695,7 @@ article.indexTextDS .indexTextHighlighted .link {
3689
3695
  border-bottom-color: var(--color-secondary-ds);
3690
3696
  }
3691
3697
  .counter-reset {
3692
- counter-reset: cnt1733826345359;
3698
+ counter-reset: cnt1733846935826;
3693
3699
  }
3694
3700
  .placeholder-text-xs::-webkit-input-placeholder {
3695
3701
  font-size: 0.75rem;
@@ -4103,7 +4109,7 @@ article.indexTextDS .indexTextHighlighted .link {
4103
4109
  --tw-ring-color: rgba(255, 255, 255, 0.5);
4104
4110
  }
4105
4111
  .-ordered {
4106
- counter-increment: cnt1733826345359 1;
4112
+ counter-increment: cnt1733846935826 1;
4107
4113
  }
4108
4114
  .-ordered::before {
4109
4115
  position: absolute;
@@ -4121,7 +4127,7 @@ article.indexTextDS .indexTextHighlighted .link {
4121
4127
  --tw-text-opacity: 1;
4122
4128
  color: rgba(0, 0, 0, 1);
4123
4129
  color: rgba(0, 0, 0, var(--tw-text-opacity));
4124
- content: counter(cnt1733826345359);
4130
+ content: counter(cnt1733846935826);
4125
4131
  }
4126
4132
  /*! ****************************/
4127
4133
  /*! DataPolicy stuff */
@@ -90,7 +90,7 @@ export default () => ({
90
90
 
91
91
  // returns true if user scrolled >50% and scrolls down, no burger menu is open and the screen size is desktop. If scroll was initiated by script, ignore scroll direction.
92
92
  shouldSectionNavBeHidden() {
93
- if (window.userScroll == true) {
93
+ if (window.userScroll === true) {
94
94
  return (
95
95
  this.percent > 50 &&
96
96
  this.scrollingDown &&
@@ -98,7 +98,7 @@ export default () => ({
98
98
  this.$screen('lg')
99
99
  )
100
100
  } else {
101
- return this.percent > 50 && this.$store.burgeropen == false && this.$screen('lg')
101
+ return this.percent > 50 && this.$store.burgeropen == false && this.$screen('lg') && this.scrollingDown
102
102
  }
103
103
  },
104
104
 
@@ -13,7 +13,7 @@
13
13
  <span class="pt-1 ml-2 mr-2 font-title dark:text-link-dark">&hellip;</span>
14
14
  {{#if _unlinkLastPage}}
15
15
  {{#with this}}
16
- <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ ../../_totalPages-adjust_context}}</span>
16
+ <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages }}</span>
17
17
  {{/with}}
18
18
  {{else}}
19
19
  {{#with this}}
@@ -46,7 +46,7 @@
46
46
  <span class="pt-1 ml-2 mr-2 font-title dark:text-link-dark">&hellip;</span>
47
47
  {{#if _unlinkLastPage}}
48
48
  {{#with this}}
49
- <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ ../../_totalPages-adjust_context}}</span>
49
+ <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages }}</span>
50
50
  {{/with}}
51
51
  {{else}}
52
52
  {{#with this}}
@@ -82,7 +82,7 @@
82
82
  {{~/if~}}
83
83
  {{#if _unlinkLastPage}}
84
84
  {{#with this}}
85
- <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ ../../_totalPages-adjust_context}}</span>
85
+ <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages }}</span>
86
86
  {{/with}}
87
87
  {{else}}
88
88
  {{#with this}}
@@ -13,7 +13,7 @@
13
13
  <span class="pt-1 ml-2 mr-2 font-title dark:text-link-dark">&hellip;</span>
14
14
  {{#if _unlinkLastPage}}
15
15
  {{#with this}}
16
- <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages}}</span>
16
+ <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages }}</span>
17
17
  {{/with}}
18
18
  {{else}}
19
19
  {{#with this}}
@@ -46,7 +46,7 @@
46
46
  <span class="pt-1 ml-2 mr-2 font-title dark:text-link-dark">&hellip;</span>
47
47
  {{#if _unlinkLastPage}}
48
48
  {{#with this}}
49
- <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages}}</span>
49
+ <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages }}</span>
50
50
  {{/with}}
51
51
  {{else}}
52
52
  {{#with this}}
@@ -82,7 +82,7 @@
82
82
  {{~/if~}}
83
83
  {{#if _unlinkLastPage}}
84
84
  {{#with this}}
85
- <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages}}</span>
85
+ <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages }}</span>
86
86
  {{/with}}
87
87
  {{else}}
88
88
  {{#with this}}
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.34",
9
+ "version": "1.114.36",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -13,7 +13,7 @@
13
13
  <span class="pt-1 ml-2 mr-2 font-title dark:text-link-dark">&hellip;</span>
14
14
  {{#if _unlinkLastPage}}
15
15
  {{#with this}}
16
- <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages-adjust_context}}</span>
16
+ <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages }}</span>
17
17
  {{/with}}
18
18
  {{else}}
19
19
  {{#with this}}
@@ -46,7 +46,7 @@
46
46
  <span class="pt-1 ml-2 mr-2 font-title dark:text-link-dark">&hellip;</span>
47
47
  {{#if _unlinkLastPage}}
48
48
  {{#with this}}
49
- <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages-adjust_context}}</span>
49
+ <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages }}</span>
50
50
  {{/with}}
51
51
  {{else}}
52
52
  {{#with this}}
@@ -82,7 +82,7 @@
82
82
  {{~/if~}}
83
83
  {{#if _unlinkLastPage}}
84
84
  {{#with this}}
85
- <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages-adjust_context}}</span>
85
+ <span class="text-button-disabled--dark {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_dimension_classes _size='md' ~}}">{{ _totalPages }}</span>
86
86
  {{/with}}
87
87
  {{else}}
88
88
  {{#with this}}
@@ -90,7 +90,7 @@ export default () => ({
90
90
 
91
91
  // returns true if user scrolled >50% and scrolls down, no burger menu is open and the screen size is desktop. If scroll was initiated by script, ignore scroll direction.
92
92
  shouldSectionNavBeHidden() {
93
- if (window.userScroll == true) {
93
+ if (window.userScroll === true) {
94
94
  return (
95
95
  this.percent > 50 &&
96
96
  this.scrollingDown &&
@@ -98,7 +98,7 @@ export default () => ({
98
98
  this.$screen('lg')
99
99
  )
100
100
  } else {
101
- return this.percent > 50 && this.$store.burgeropen == false && this.$screen('lg')
101
+ return this.percent > 50 && this.$store.burgeropen == false && this.$screen('lg') && this.scrollingDown
102
102
  }
103
103
  },
104
104
 
@@ -8,7 +8,7 @@ module.exports = {
8
8
  experimental: {
9
9
  optimizeUniversalDefaults: true,
10
10
  },
11
- safelist: ['mt-12', 'bg-gray-100', '-weather_warning'],
11
+ safelist: ['mt-12', 'bg-gray-100', '-weather_warning', 'scroll-smooth', 'scroll-mt-[128px]', 'scroll-mt-[117px]'],
12
12
  content: [
13
13
  './src/stories/*.mdx',
14
14
  './src/stories/views/**/*.{mdx,hbs,js,json}',