@vuetify/nightly 3.6.10-master.2024-06-21 → 3.6.11-dev.2024-07-03

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.
Files changed (92) hide show
  1. package/CHANGELOG.md +13 -2
  2. package/dist/json/attributes.json +291 -119
  3. package/dist/json/importMap-labs.json +28 -28
  4. package/dist/json/importMap.json +106 -106
  5. package/dist/json/tags.json +49 -6
  6. package/dist/json/web-types.json +601 -211
  7. package/dist/vuetify-labs.css +2575 -2559
  8. package/dist/vuetify-labs.d.ts +802 -519
  9. package/dist/vuetify-labs.esm.js +86 -71
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +86 -71
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.css +627 -611
  14. package/dist/vuetify.d.ts +716 -505
  15. package/dist/vuetify.esm.js +36 -16
  16. package/dist/vuetify.esm.js.map +1 -1
  17. package/dist/vuetify.js +36 -16
  18. package/dist/vuetify.js.map +1 -1
  19. package/dist/vuetify.min.css +2 -2
  20. package/dist/vuetify.min.js +24 -24
  21. package/dist/vuetify.min.js.map +1 -1
  22. package/lib/components/VAppBar/index.d.mts +6 -0
  23. package/lib/components/VAutocomplete/index.d.mts +49 -49
  24. package/lib/components/VAvatar/VAvatar.css +7 -0
  25. package/lib/components/VAvatar/VAvatar.mjs +6 -1
  26. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  27. package/lib/components/VAvatar/VAvatar.sass +1 -0
  28. package/lib/components/VAvatar/_variables.scss +13 -0
  29. package/lib/components/VAvatar/index.d.mts +6 -0
  30. package/lib/components/VBottomSheet/index.d.mts +7 -7
  31. package/lib/components/VBreadcrumbs/index.d.mts +8 -8
  32. package/lib/components/VBtn/VBtn.mjs +3 -1
  33. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  34. package/lib/components/VBtn/index.d.mts +6 -0
  35. package/lib/components/VCarousel/index.d.mts +16 -7
  36. package/lib/components/VCheckbox/index.d.mts +6 -6
  37. package/lib/components/VCombobox/index.d.mts +49 -49
  38. package/lib/components/VDialog/index.d.mts +31 -31
  39. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +7 -2
  40. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
  41. package/lib/components/VExpansionPanel/index.d.mts +122 -14
  42. package/lib/components/VFab/index.d.mts +6 -0
  43. package/lib/components/VFileInput/index.d.mts +18 -18
  44. package/lib/components/VForm/index.d.mts +9 -9
  45. package/lib/components/VGrid/VContainer.mjs +6 -1
  46. package/lib/components/VGrid/VContainer.mjs.map +1 -1
  47. package/lib/components/VGrid/index.d.mts +36 -0
  48. package/lib/components/VImg/VImg.css +9 -0
  49. package/lib/components/VImg/VImg.mjs +2 -0
  50. package/lib/components/VImg/VImg.mjs.map +1 -1
  51. package/lib/components/VImg/VImg.sass +9 -0
  52. package/lib/components/VImg/index.d.mts +16 -7
  53. package/lib/components/VInput/index.d.mts +6 -6
  54. package/lib/components/VList/index.d.mts +12 -12
  55. package/lib/components/VMenu/index.d.mts +33 -33
  56. package/lib/components/VOverlay/VOverlay.mjs +1 -1
  57. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  58. package/lib/components/VOverlay/index.d.mts +7 -7
  59. package/lib/components/VRadioGroup/index.d.mts +6 -6
  60. package/lib/components/VRangeSlider/index.d.mts +6 -6
  61. package/lib/components/VSelect/index.d.mts +49 -49
  62. package/lib/components/VSlideGroup/VSlideGroup.mjs +3 -1
  63. package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
  64. package/lib/components/VSlideGroup/index.d.mts +6 -0
  65. package/lib/components/VSlider/index.d.mts +6 -6
  66. package/lib/components/VSnackbar/index.d.mts +33 -33
  67. package/lib/components/VSpeedDial/index.d.mts +9 -9
  68. package/lib/components/VSwitch/index.d.mts +6 -6
  69. package/lib/components/VTabs/index.d.mts +21 -3
  70. package/lib/components/VTextField/index.d.mts +18 -18
  71. package/lib/components/VTextarea/index.d.mts +18 -18
  72. package/lib/components/VTooltip/index.d.mts +39 -39
  73. package/lib/components/VValidation/index.d.mts +9 -8
  74. package/lib/components/index.d.mts +675 -464
  75. package/lib/composables/validation.mjs +8 -6
  76. package/lib/composables/validation.mjs.map +1 -1
  77. package/lib/entry-bundler.mjs +1 -1
  78. package/lib/entry-bundler.mjs.map +1 -1
  79. package/lib/framework.mjs +1 -1
  80. package/lib/framework.mjs.map +1 -1
  81. package/lib/index.d.mts +41 -41
  82. package/lib/labs/VDateInput/index.d.mts +6 -6
  83. package/lib/labs/VNumberInput/VNumberInput.mjs +48 -55
  84. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  85. package/lib/labs/VNumberInput/index.d.mts +6 -6
  86. package/lib/labs/VSnackbarQueue/index.d.mts +42 -42
  87. package/lib/labs/VStepperVertical/VStepperVertical.mjs +2 -0
  88. package/lib/labs/VStepperVertical/VStepperVertical.mjs.map +1 -1
  89. package/lib/labs/VStepperVertical/index.d.mts +90 -18
  90. package/lib/labs/VTreeview/index.d.mts +16 -16
  91. package/lib/labs/components.d.mts +160 -88
  92. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.10-master.2024-06-21
2
+ * Vuetify v3.6.11-dev.2024-07-03
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -3248,6 +3248,7 @@ const Intersect = {
3248
3248
  // not intended for public use, this is passed in by vuetify-loader
3249
3249
 
3250
3250
  const makeVImgProps = propsFactory({
3251
+ absolute: Boolean,
3251
3252
  alt: String,
3252
3253
  cover: Boolean,
3253
3254
  color: String,
@@ -3504,6 +3505,7 @@ const VImg = genericComponent()({
3504
3505
  const responsiveProps = VResponsive.filterProps(props);
3505
3506
  return withDirectives(createVNode(VResponsive, mergeProps({
3506
3507
  "class": ['v-img', {
3508
+ 'v-img--absolute': props.absolute,
3507
3509
  'v-img--booting': !isBooted.value
3508
3510
  }, backgroundColorClasses.value, roundedClasses.value, props.class],
3509
3511
  "style": [{
@@ -5510,6 +5512,7 @@ const makeVBtnProps = propsFactory({
5510
5512
  type: Boolean,
5511
5513
  default: undefined
5512
5514
  },
5515
+ activeColor: String,
5513
5516
  baseColor: String,
5514
5517
  symbol: {
5515
5518
  type: null,
@@ -5601,10 +5604,11 @@ const VBtn = genericComponent()({
5601
5604
  }
5602
5605
  return group?.isSelected.value;
5603
5606
  });
5607
+ const color = computed(() => isActive.value ? props.activeColor ?? props.color : props.color);
5604
5608
  const variantProps = computed(() => {
5605
5609
  const showColor = group?.isSelected.value && (!link.isLink.value || link.isActive?.value) || !group || link.isActive?.value;
5606
5610
  return {
5607
- color: showColor ? props.color ?? props.baseColor : props.baseColor,
5611
+ color: showColor ? color.value ?? props.baseColor : props.baseColor,
5608
5612
  variant: props.variant
5609
5613
  };
5610
5614
  });
@@ -5945,6 +5949,7 @@ const makeVAvatarProps = propsFactory({
5945
5949
  icon: IconValue,
5946
5950
  image: String,
5947
5951
  text: String,
5952
+ ...makeBorderProps(),
5948
5953
  ...makeComponentProps(),
5949
5954
  ...makeDensityProps(),
5950
5955
  ...makeRoundedProps(),
@@ -5965,6 +5970,9 @@ const VAvatar = genericComponent()({
5965
5970
  const {
5966
5971
  themeClasses
5967
5972
  } = provideTheme(props);
5973
+ const {
5974
+ borderClasses
5975
+ } = useBorder(props);
5968
5976
  const {
5969
5977
  colorClasses,
5970
5978
  colorStyles,
@@ -5984,7 +5992,7 @@ const VAvatar = genericComponent()({
5984
5992
  "class": ['v-avatar', {
5985
5993
  'v-avatar--start': props.start,
5986
5994
  'v-avatar--end': props.end
5987
- }, themeClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class],
5995
+ }, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class],
5988
5996
  "style": [colorStyles.value, sizeStyles.value, props.style]
5989
5997
  }, {
5990
5998
  default: () => [!slots.default ? props.image ? createVNode(VImg, {
@@ -6684,12 +6692,14 @@ function useValidation(props) {
6684
6692
  const validateOn = computed(() => {
6685
6693
  let value = (props.validateOn ?? form?.validateOn.value) || 'input';
6686
6694
  if (value === 'lazy') value = 'input lazy';
6695
+ if (value === 'eager') value = 'input eager';
6687
6696
  const set = new Set(value?.split(' ') ?? []);
6688
6697
  return {
6689
- blur: set.has('blur') || set.has('input'),
6690
6698
  input: set.has('input'),
6691
- submit: set.has('submit'),
6692
- lazy: set.has('lazy')
6699
+ blur: set.has('blur') || set.has('input') || set.has('invalid-input'),
6700
+ invalidInput: set.has('invalid-input'),
6701
+ lazy: set.has('lazy'),
6702
+ eager: set.has('eager')
6693
6703
  };
6694
6704
  });
6695
6705
  const isValid = computed(() => {
@@ -6726,11 +6736,11 @@ function useValidation(props) {
6726
6736
  });
6727
6737
  onMounted(async () => {
6728
6738
  if (!validateOn.value.lazy) {
6729
- await validate(true);
6739
+ await validate(!validateOn.value.eager);
6730
6740
  }
6731
6741
  form?.update(uid.value, isValid.value, errorMessages.value);
6732
6742
  });
6733
- useToggleScope(() => validateOn.value.input, () => {
6743
+ useToggleScope(() => validateOn.value.input || validateOn.value.invalidInput && isValid.value === false, () => {
6734
6744
  watch(validationModel, () => {
6735
6745
  if (validationModel.value != null) {
6736
6746
  validate();
@@ -6758,7 +6768,7 @@ function useValidation(props) {
6758
6768
  async function resetValidation() {
6759
6769
  isPristine.value = true;
6760
6770
  if (!validateOn.value.lazy) {
6761
- await validate(true);
6771
+ await validate(!validateOn.value.eager);
6762
6772
  } else {
6763
6773
  internalErrorMessages.value = [];
6764
6774
  }
@@ -7698,7 +7708,9 @@ const VSlideGroup = genericComponent()({
7698
7708
  selected: group.selected,
7699
7709
  scrollTo,
7700
7710
  scrollOffset,
7701
- focus
7711
+ focus,
7712
+ hasPrev,
7713
+ hasNext
7702
7714
  };
7703
7715
  }
7704
7716
  });
@@ -10829,7 +10841,7 @@ const VOverlay = genericComponent()({
10829
10841
  const potentialShadowDomRoot = computed(() => activatorEl?.value?.getRootNode());
10830
10842
  const {
10831
10843
  teleportTarget
10832
- } = useTeleport(computed(() => props.attach || props.contained || potentialShadowDomRoot.value instanceof ShadowRoot ? potentialShadowDomRoot.value : false));
10844
+ } = useTeleport(computed(() => props.attach || props.contained || potentialShadowDomRoot.value instanceof ShadowRoot ? potentialShadowDomRoot.value ?? true : false));
10833
10845
  const {
10834
10846
  dimensionStyles
10835
10847
  } = useDimension(props);
@@ -20900,6 +20912,7 @@ const makeVContainerProps = propsFactory({
20900
20912
  default: false
20901
20913
  },
20902
20914
  ...makeComponentProps(),
20915
+ ...makeDimensionProps(),
20903
20916
  ...makeTagProps()
20904
20917
  }, 'VContainer');
20905
20918
  const VContainer = genericComponent()({
@@ -20912,11 +20925,14 @@ const VContainer = genericComponent()({
20912
20925
  const {
20913
20926
  rtlClasses
20914
20927
  } = useRtl();
20928
+ const {
20929
+ dimensionStyles
20930
+ } = useDimension(props);
20915
20931
  useRender(() => createVNode(props.tag, {
20916
20932
  "class": ['v-container', {
20917
20933
  'v-container--fluid': props.fluid
20918
20934
  }, rtlClasses.value, props.class],
20919
- "style": props.style
20935
+ "style": [dimensionStyles.value, props.style]
20920
20936
  }, slots));
20921
20937
  return {};
20922
20938
  }
@@ -22329,7 +22345,8 @@ const makeVExpansionPanelTitleProps = propsFactory({
22329
22345
  default: false
22330
22346
  },
22331
22347
  readonly: Boolean,
22332
- ...makeComponentProps()
22348
+ ...makeComponentProps(),
22349
+ ...makeDimensionProps()
22333
22350
  }, 'VExpansionPanelTitle');
22334
22351
  const VExpansionPanelTitle = genericComponent()({
22335
22352
  name: 'VExpansionPanelTitle',
@@ -22347,6 +22364,9 @@ const VExpansionPanelTitle = genericComponent()({
22347
22364
  backgroundColorClasses,
22348
22365
  backgroundColorStyles
22349
22366
  } = useBackgroundColor(props, 'color');
22367
+ const {
22368
+ dimensionStyles
22369
+ } = useDimension(props);
22350
22370
  const slotProps = computed(() => ({
22351
22371
  collapseIcon: props.collapseIcon,
22352
22372
  disabled: expansionPanel.disabled.value,
@@ -22361,7 +22381,7 @@ const VExpansionPanelTitle = genericComponent()({
22361
22381
  'v-expansion-panel-title--focusable': props.focusable,
22362
22382
  'v-expansion-panel-title--static': props.static
22363
22383
  }, backgroundColorClasses.value, props.class],
22364
- "style": [backgroundColorStyles.value, props.style],
22384
+ "style": [backgroundColorStyles.value, dimensionStyles.value, props.style],
22365
22385
  "type": "button",
22366
22386
  "tabindex": expansionPanel.disabled.value ? -1 : undefined,
22367
22387
  "disabled": expansionPanel.disabled.value,
@@ -28051,6 +28071,10 @@ const VNumberInput = genericComponent()({
28051
28071
  const controlVariant = computed(() => {
28052
28072
  return props.hideInput ? 'stacked' : props.controlVariant;
28053
28073
  });
28074
+ const incrementIcon = computed(() => controlVariant.value === 'split' ? '$plus' : '$collapse');
28075
+ const decrementIcon = computed(() => controlVariant.value === 'split' ? '$minus' : '$expand');
28076
+ const controlNodeSize = computed(() => controlVariant.value === 'split' ? 'default' : 'small');
28077
+ const controlNodeDefaultHeight = computed(() => controlVariant.value === 'stacked' ? 'auto' : '100%');
28054
28078
  const incrementSlotProps = computed(() => ({
28055
28079
  click: onClickUp
28056
28080
  }));
@@ -28108,18 +28132,42 @@ const VNumberInput = genericComponent()({
28108
28132
  modelValue: _,
28109
28133
  ...textFieldProps
28110
28134
  } = VTextField.filterProps(props);
28111
- function controlNode() {
28112
- const defaultHeight = controlVariant.value === 'stacked' ? 'auto' : '100%';
28113
- return createVNode("div", {
28114
- "class": "v-number-input__control"
28115
- }, [!slots.decrement ? createVNode(VBtn, {
28135
+ function incrementControlNode() {
28136
+ return !slots.increment ? createVNode(VBtn, {
28137
+ "disabled": !canIncrease.value,
28138
+ "flat": true,
28139
+ "key": "increment-btn",
28140
+ "height": controlNodeDefaultHeight.value,
28141
+ "name": "increment-btn",
28142
+ "icon": incrementIcon.value,
28143
+ "onClick": onClickUp,
28144
+ "onMousedown": onControlMousedown,
28145
+ "size": controlNodeSize.value,
28146
+ "tabindex": "-1"
28147
+ }, null) : createVNode(VDefaultsProvider, {
28148
+ "key": "increment-defaults",
28149
+ "defaults": {
28150
+ VBtn: {
28151
+ disabled: !canIncrease.value,
28152
+ flat: true,
28153
+ height: controlNodeDefaultHeight.value,
28154
+ size: controlNodeSize.value,
28155
+ icon: incrementIcon.value
28156
+ }
28157
+ }
28158
+ }, {
28159
+ default: () => [slots.increment(incrementSlotProps.value)]
28160
+ });
28161
+ }
28162
+ function decrementControlNode() {
28163
+ return !slots.decrement ? createVNode(VBtn, {
28116
28164
  "disabled": !canDecrease.value,
28117
28165
  "flat": true,
28118
28166
  "key": "decrement-btn",
28119
- "height": defaultHeight,
28167
+ "height": controlNodeDefaultHeight.value,
28120
28168
  "name": "decrement-btn",
28121
- "icon": "$expand",
28122
- "size": "small",
28169
+ "icon": decrementIcon.value,
28170
+ "size": controlNodeSize.value,
28123
28171
  "tabindex": "-1",
28124
28172
  "onClick": onClickDown,
28125
28173
  "onMousedown": onControlMousedown
@@ -28129,40 +28177,21 @@ const VNumberInput = genericComponent()({
28129
28177
  VBtn: {
28130
28178
  disabled: !canDecrease.value,
28131
28179
  flat: true,
28132
- height: defaultHeight,
28133
- size: 'small',
28134
- icon: '$expand'
28180
+ height: controlNodeDefaultHeight.value,
28181
+ size: controlNodeSize.value,
28182
+ icon: decrementIcon.value
28135
28183
  }
28136
28184
  }
28137
28185
  }, {
28138
28186
  default: () => [slots.decrement(decrementSlotProps.value)]
28139
- }), createVNode(VDivider, {
28187
+ });
28188
+ }
28189
+ function controlNode() {
28190
+ return createVNode("div", {
28191
+ "class": "v-number-input__control"
28192
+ }, [decrementControlNode(), createVNode(VDivider, {
28140
28193
  "vertical": controlVariant.value !== 'stacked'
28141
- }, null), !slots.increment ? createVNode(VBtn, {
28142
- "disabled": !canIncrease.value,
28143
- "flat": true,
28144
- "key": "increment-btn",
28145
- "height": defaultHeight,
28146
- "name": "increment-btn",
28147
- "icon": "$collapse",
28148
- "onClick": onClickUp,
28149
- "onMousedown": onControlMousedown,
28150
- "size": "small",
28151
- "tabindex": "-1"
28152
- }, null) : createVNode(VDefaultsProvider, {
28153
- "key": "increment-defaults",
28154
- "defaults": {
28155
- VBtn: {
28156
- disabled: !canIncrease.value,
28157
- flat: true,
28158
- height: defaultHeight,
28159
- size: 'small',
28160
- icon: '$collapse'
28161
- }
28162
- }
28163
- }, {
28164
- default: () => [slots.increment(incrementSlotProps.value)]
28165
- })]);
28194
+ }, null), incrementControlNode()]);
28166
28195
  }
28167
28196
  function dividerNode() {
28168
28197
  return !props.hideInput && !props.inset ? createVNode(VDivider, {
@@ -28173,27 +28202,11 @@ const VNumberInput = genericComponent()({
28173
28202
  "class": "v-number-input__control"
28174
28203
  }, [createVNode(VDivider, {
28175
28204
  "vertical": true
28176
- }, null), createVNode(VBtn, {
28177
- "flat": true,
28178
- "height": "100%",
28179
- "icon": "$plus",
28180
- "tile": true,
28181
- "tabindex": "-1",
28182
- "onClick": onClickUp,
28183
- "onMousedown": onControlMousedown
28184
- }, null)]) : !props.reverse ? createVNode(Fragment, null, [dividerNode(), controlNode()]) : undefined;
28205
+ }, null), incrementControlNode()]) : !props.reverse ? createVNode(Fragment, null, [dividerNode(), controlNode()]) : undefined;
28185
28206
  const hasAppendInner = slots['append-inner'] || appendInnerControl;
28186
28207
  const prependInnerControl = controlVariant.value === 'split' ? createVNode("div", {
28187
28208
  "class": "v-number-input__control"
28188
- }, [createVNode(VBtn, {
28189
- "flat": true,
28190
- "height": "100%",
28191
- "icon": "$minus",
28192
- "tile": true,
28193
- "tabindex": "-1",
28194
- "onClick": onClickDown,
28195
- "onMousedown": onControlMousedown
28196
- }, null), createVNode(VDivider, {
28209
+ }, [decrementControlNode(), createVNode(VDivider, {
28197
28210
  "vertical": true
28198
28211
  }, null)]) : props.reverse ? createVNode(Fragment, null, [controlNode(), dividerNode()]) : undefined;
28199
28212
  const hasPrependInner = slots['prepend-inner'] || prependInnerControl;
@@ -28419,6 +28432,7 @@ const VStepperVertical = genericComponent()({
28419
28432
  const vExpansionPanelsRef = ref();
28420
28433
  const {
28421
28434
  color,
28435
+ eager,
28422
28436
  editable,
28423
28437
  prevText,
28424
28438
  nextText,
@@ -28437,6 +28451,7 @@ const VStepperVertical = genericComponent()({
28437
28451
  provideDefaults({
28438
28452
  VStepperVerticalItem: {
28439
28453
  color,
28454
+ eager,
28440
28455
  editable,
28441
28456
  prevText,
28442
28457
  nextText,
@@ -30262,7 +30277,7 @@ function createVuetify$1() {
30262
30277
  goTo
30263
30278
  };
30264
30279
  }
30265
- const version$1 = "3.6.10-master.2024-06-21";
30280
+ const version$1 = "3.6.11-dev.2024-07-03";
30266
30281
  createVuetify$1.version = version$1;
30267
30282
 
30268
30283
  // Vue's inject() can only be used in setup
@@ -30515,7 +30530,7 @@ var index = /*#__PURE__*/Object.freeze({
30515
30530
 
30516
30531
  /* eslint-disable local-rules/sort-imports */
30517
30532
 
30518
- const version = "3.6.10-master.2024-06-21";
30533
+ const version = "3.6.11-dev.2024-07-03";
30519
30534
 
30520
30535
  /* eslint-disable local-rules/sort-imports */
30521
30536