@designcrowd/fe-shared-lib 1.1.4-rte-1 → 1.1.4-rte-2

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.4-rte-1",
3
+ "version": "1.1.4-rte-2",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "build": "npm run build:css --production",
@@ -827,6 +827,10 @@ video {
827
827
  .theme-brandCrowd .tw-h-auto {
828
828
  height: auto;
829
829
  }
830
+ .theme-brandCrowd .tw-h-fit {
831
+ height: -moz-fit-content;
832
+ height: fit-content;
833
+ }
830
834
  .theme-brandCrowd .tw-h-full {
831
835
  height: 100%;
832
836
  }
@@ -827,6 +827,10 @@ video {
827
827
  .theme-brandPage .tw-h-auto {
828
828
  height: auto;
829
829
  }
830
+ .theme-brandPage .tw-h-fit {
831
+ height: -moz-fit-content;
832
+ height: fit-content;
833
+ }
830
834
  .theme-brandPage .tw-h-full {
831
835
  height: 100%;
832
836
  }
@@ -827,6 +827,10 @@ video {
827
827
  .theme-crazyDomains .tw-h-auto {
828
828
  height: auto;
829
829
  }
830
+ .theme-crazyDomains .tw-h-fit {
831
+ height: -moz-fit-content;
832
+ height: fit-content;
833
+ }
830
834
  .theme-crazyDomains .tw-h-full {
831
835
  height: 100%;
832
836
  }
@@ -827,6 +827,10 @@ video {
827
827
  .theme-designCom .tw-h-auto {
828
828
  height: auto;
829
829
  }
830
+ .theme-designCom .tw-h-fit {
831
+ height: -moz-fit-content;
832
+ height: fit-content;
833
+ }
830
834
  .theme-designCom .tw-h-full {
831
835
  height: 100%;
832
836
  }
@@ -827,6 +827,10 @@ video {
827
827
  .theme-designCrowd .tw-h-auto {
828
828
  height: auto;
829
829
  }
830
+ .theme-designCrowd .tw-h-fit {
831
+ height: -moz-fit-content;
832
+ height: fit-content;
833
+ }
830
834
  .theme-designCrowd .tw-h-full {
831
835
  height: 100%;
832
836
  }
@@ -68,16 +68,12 @@ export default {
68
68
  this.$refs.numberInput.focus();
69
69
  },
70
70
  setInput(e) {
71
- if (e.target.value === '' || e.target.value === '-') {
72
- return;
73
- }
74
-
75
71
  const newVal = parseFloat(e.target.value);
76
72
  let newNumber = 0;
77
73
  if (newVal > this.max) {
78
74
  newNumber = this.max;
79
75
  } else if (Number.isNaN(newVal)) {
80
- newNumber = this.min;
76
+ newNumber = 0;
81
77
  } else {
82
78
  newNumber = newVal;
83
79
  }
@@ -322,8 +322,8 @@ export default {
322
322
  this.$emit('input', this.number);
323
323
  }
324
324
  },
325
- onSetInput(e, val) {
326
- const value = Math.round(parseFloat(e.target.value));
325
+ onSetInput(e) {
326
+ let value = Math.round(parseFloat(e.target.value));
327
327
  this.number = value;
328
328
  e.target.value = value;
329
329
  this.$emit('update:modelValue', this.number);