neo.mjs 5.4.7 → 5.4.8

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.
@@ -20,9 +20,9 @@ class ServiceWorker extends ServiceBase {
20
20
  */
21
21
  singleton: true,
22
22
  /**
23
- * @member {String} version='5.4.7'
23
+ * @member {String} version='5.4.8'
24
24
  */
25
- version: '5.4.7'
25
+ version: '5.4.8'
26
26
  }
27
27
 
28
28
  /**
@@ -20,9 +20,9 @@ class ServiceWorker extends ServiceBase {
20
20
  */
21
21
  singleton: true,
22
22
  /**
23
- * @member {String} version='5.4.7'
23
+ * @member {String} version='5.4.8'
24
24
  */
25
- version: '5.4.7'
25
+ version: '5.4.8'
26
26
  }
27
27
 
28
28
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo.mjs",
3
- "version": "5.4.7",
3
+ "version": "5.4.8",
4
4
  "description": "The webworkers driven UI framework",
5
5
  "type": "module",
6
6
  "repository": {
@@ -237,12 +237,12 @@ const DefaultConfig = {
237
237
  useVdomWorker: true,
238
238
  /**
239
239
  * buildScripts/injectPackageVersion.mjs will update this value
240
- * @default '5.4.7'
240
+ * @default '5.4.8'
241
241
  * @memberOf! module:Neo
242
242
  * @name config.version
243
243
  * @type String
244
244
  */
245
- version: '5.4.7'
245
+ version: '5.4.8'
246
246
  };
247
247
 
248
248
  Object.assign(DefaultConfig, {
@@ -143,11 +143,11 @@ class Number extends Text {
143
143
 
144
144
  me.changeInputElKey('step', value);
145
145
 
146
- if (val !== null) {
147
- stepSizeString = String(this.stepSize);
146
+ stepSizeString = String(this.stepSize);
148
147
 
149
- me.stepSizeDigits = stepSizeString.includes('.') ? stepSizeString.split('.')[1].length : 0;
148
+ me.stepSizeDigits = stepSizeString.includes('.') ? stepSizeString.split('.')[1].length : 0;
150
149
 
150
+ if (val !== null) {
151
151
  modulo = (val - me.minValue) % value;
152
152
 
153
153
  if (modulo !== 0) { // find the closest valid value