@designcrowd/fe-shared-lib 1.1.6-rte-ast-14 → 1.1.6-rte-ast-16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.1.6-rte-ast-14",
3
+ "version": "1.1.6-rte-ast-16",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "build": "npm run build:css --production",
@@ -307,6 +307,7 @@ export default {
307
307
  e.target.value = newNumber;
308
308
  this.$emit('update:modelValue', this.number);
309
309
  this.$emit('input', this.number);
310
+ this.$emit('blur', this.number);
310
311
  },
311
312
  },
312
313
  };
@@ -153,7 +153,7 @@ export default {
153
153
  data() {
154
154
  return {
155
155
  sliderValue: this.modelValue,
156
- decimalRegex: /^\d+(\.\d{0,1})?$/,
156
+ decimalRegex: /^\d+\.\d{0,1}$/,
157
157
  isInteracting: false,
158
158
  };
159
159
  },
@@ -233,6 +233,7 @@ export default {
233
233
  }
234
234
 
235
235
  if (this.decimalRegex.test(this.sliderValue)) {
236
+ console.log(this.sliderValue);
236
237
  const limitDecimal = parseFloat(newNumber).toFixed(1);
237
238
  this.updateValue(limitDecimal, e);
238
239
  } else {