@vuetify/nightly 3.6.4-master.2024-05-08 → 3.6.4-master.2024-05-09

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.6.4-master.2024-05-08
2
+ * Vuetify v3.6.4-master.2024-05-09
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -22685,7 +22685,7 @@ const VFileInput = genericComponent()({
22685
22685
  }, fieldProps, {
22686
22686
  "id": id.value,
22687
22687
  "active": isActive.value || isDirty.value,
22688
- "dirty": isDirty.value,
22688
+ "dirty": isDirty.value || props.dirty,
22689
22689
  "disabled": isDisabled.value,
22690
22690
  "focused": isFocused.value,
22691
22691
  "error": isValid.value === false
@@ -25830,13 +25830,14 @@ const VStepperItem = genericComponent()({
25830
25830
  const group = useGroupItem(props, VStepperSymbol, true);
25831
25831
  const step = computed(() => group?.value.value ?? props.value);
25832
25832
  const isValid = computed(() => props.rules.every(handler => handler() === true));
25833
+ const isClickable = computed(() => !props.disabled && props.editable);
25833
25834
  const canEdit = computed(() => !props.disabled && props.editable);
25834
25835
  const hasError = computed(() => props.error || !isValid.value);
25835
25836
  const hasCompleted = computed(() => props.complete || props.rules.length > 0 && isValid.value);
25836
25837
  const icon = computed(() => {
25837
25838
  if (hasError.value) return props.errorIcon;
25838
25839
  if (hasCompleted.value) return props.completeIcon;
25839
- if (props.editable) return props.editIcon;
25840
+ if (group.isSelected.value && props.editable) return props.editIcon;
25840
25841
  return props.icon;
25841
25842
  });
25842
25843
  const slotProps = computed(() => ({
@@ -25863,7 +25864,7 @@ const VStepperItem = genericComponent()({
25863
25864
  }, group?.selectedClass.value],
25864
25865
  "disabled": !props.editable,
25865
25866
  "onClick": onClick
25866
- }, [createVNode(VAvatar, {
25867
+ }, [isClickable.value && genOverlays(true, 'v-stepper-item'), createVNode(VAvatar, {
25867
25868
  "key": "stepper-avatar",
25868
25869
  "class": "v-stepper-item__avatar",
25869
25870
  "color": hasColor ? props.color : undefined,
@@ -26059,12 +26060,18 @@ const VStepper = genericComponent()({
26059
26060
  default: () => [hasHeader && createVNode(VStepperHeader, {
26060
26061
  "key": "stepper-header"
26061
26062
  }, {
26062
- default: () => [items.value.map((item, index) => createVNode(Fragment, null, [!!index && createVNode(VDivider, null, null), createVNode(VStepperItem, item, {
26063
- default: slots[`header-item.${item.value}`] ?? slots.header,
26064
- icon: slots.icon,
26065
- title: slots.title,
26066
- subtitle: slots.subtitle
26067
- })]))]
26063
+ default: () => [items.value.map((_ref2, index) => {
26064
+ let {
26065
+ raw,
26066
+ ...item
26067
+ } = _ref2;
26068
+ return createVNode(Fragment, null, [!!index && createVNode(VDivider, null, null), createVNode(VStepperItem, item, {
26069
+ default: slots[`header-item.${item.value}`] ?? slots.header,
26070
+ icon: slots.icon,
26071
+ title: slots.title,
26072
+ subtitle: slots.subtitle
26073
+ })]);
26074
+ })]
26068
26075
  }), hasWindow && createVNode(VStepperWindow, {
26069
26076
  "key": "stepper-window"
26070
26077
  }, {
@@ -29771,7 +29778,7 @@ function createVuetify$1() {
29771
29778
  goTo
29772
29779
  };
29773
29780
  }
29774
- const version$1 = "3.6.4-master.2024-05-08";
29781
+ const version$1 = "3.6.4-master.2024-05-09";
29775
29782
  createVuetify$1.version = version$1;
29776
29783
 
29777
29784
  // Vue's inject() can only be used in setup
@@ -30024,7 +30031,7 @@ var index = /*#__PURE__*/Object.freeze({
30024
30031
 
30025
30032
  /* eslint-disable local-rules/sort-imports */
30026
30033
 
30027
- const version = "3.6.4-master.2024-05-08";
30034
+ const version = "3.6.4-master.2024-05-09";
30028
30035
 
30029
30036
  /* eslint-disable local-rules/sort-imports */
30030
30037