@vuetify/nightly 3.7.5-master.2024-12-12 → 3.7.5-master.2024-12-15

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.5-master.2024-12-12
2
+ * Vuetify v3.7.5-master.2024-12-15
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -28525,13 +28525,16 @@ const VNumberInput = genericComponent()({
28525
28525
  const _model = useProxiedModel(props, 'modelValue');
28526
28526
  const model = computed({
28527
28527
  get: () => _model.value,
28528
+ // model.value could be empty string from VTextField
28529
+ // but _model.value should be eventually kept in type Number | null
28528
28530
  set(val) {
28529
- if (val === null) {
28531
+ if (val === null || val === '') {
28530
28532
  _model.value = null;
28531
28533
  return;
28532
28534
  }
28533
- if (!isNaN(+val) && +val <= props.max && +val >= props.min) {
28534
- _model.value = +val;
28535
+ const value = Number(val);
28536
+ if (!isNaN(value) && value <= props.max && value >= props.min) {
28537
+ _model.value = value;
28535
28538
  }
28536
28539
  }
28537
28540
  });
@@ -28704,7 +28707,7 @@ const VNumberInput = genericComponent()({
28704
28707
  "class": "v-number-input__control"
28705
28708
  }, [createVNode(VDivider, {
28706
28709
  "vertical": true
28707
- }, null), incrementControlNode()]) : !props.reverse ? createVNode(Fragment, null, [dividerNode(), controlNode()]) : undefined;
28710
+ }, null), incrementControlNode()]) : props.reverse ? undefined : createVNode(Fragment, null, [dividerNode(), controlNode()]);
28708
28711
  const hasAppendInner = slots['append-inner'] || appendInnerControl;
28709
28712
  const prependInnerControl = controlVariant.value === 'split' ? createVNode("div", {
28710
28713
  "class": "v-number-input__control"
@@ -30731,7 +30734,7 @@ function createVuetify$1() {
30731
30734
  goTo
30732
30735
  };
30733
30736
  }
30734
- const version$1 = "3.7.5-master.2024-12-12";
30737
+ const version$1 = "3.7.5-master.2024-12-15";
30735
30738
  createVuetify$1.version = version$1;
30736
30739
 
30737
30740
  // Vue's inject() can only be used in setup
@@ -30984,7 +30987,7 @@ var index = /*#__PURE__*/Object.freeze({
30984
30987
 
30985
30988
  /* eslint-disable local-rules/sort-imports */
30986
30989
 
30987
- const version = "3.7.5-master.2024-12-12";
30990
+ const version = "3.7.5-master.2024-12-15";
30988
30991
 
30989
30992
  /* eslint-disable local-rules/sort-imports */
30990
30993