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.
package/apps/ServiceWorker.mjs
CHANGED
package/package.json
CHANGED
package/src/DefaultConfig.mjs
CHANGED
@@ -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.
|
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.
|
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
|
-
|
147
|
-
stepSizeString = String(this.stepSize);
|
146
|
+
stepSizeString = String(this.stepSize);
|
148
147
|
|
149
|
-
|
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
|