@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
  */
@@ -3688,6 +3688,7 @@ const Intersect = {
3688
3688
  // not intended for public use, this is passed in by vuetify-loader
3689
3689
 
3690
3690
  const makeVImgProps = propsFactory({
3691
+ absolute: Boolean,
3691
3692
  alt: String,
3692
3693
  cover: Boolean,
3693
3694
  color: String,
@@ -3944,6 +3945,7 @@ const VImg = genericComponent()({
3944
3945
  const responsiveProps = VResponsive.filterProps(props);
3945
3946
  return withDirectives(createVNode(VResponsive, mergeProps({
3946
3947
  "class": ['v-img', {
3948
+ 'v-img--absolute': props.absolute,
3947
3949
  'v-img--booting': !isBooted.value
3948
3950
  }, backgroundColorClasses.value, roundedClasses.value, props.class],
3949
3951
  "style": [{
@@ -5743,6 +5745,7 @@ const makeVBtnProps = propsFactory({
5743
5745
  type: Boolean,
5744
5746
  default: undefined
5745
5747
  },
5748
+ activeColor: String,
5746
5749
  baseColor: String,
5747
5750
  symbol: {
5748
5751
  type: null,
@@ -5834,10 +5837,11 @@ const VBtn = genericComponent()({
5834
5837
  }
5835
5838
  return group?.isSelected.value;
5836
5839
  });
5840
+ const color = computed(() => isActive.value ? props.activeColor ?? props.color : props.color);
5837
5841
  const variantProps = computed(() => {
5838
5842
  const showColor = group?.isSelected.value && (!link.isLink.value || link.isActive?.value) || !group || link.isActive?.value;
5839
5843
  return {
5840
- color: showColor ? props.color ?? props.baseColor : props.baseColor,
5844
+ color: showColor ? color.value ?? props.baseColor : props.baseColor,
5841
5845
  variant: props.variant
5842
5846
  };
5843
5847
  });
@@ -6178,6 +6182,7 @@ const makeVAvatarProps = propsFactory({
6178
6182
  icon: IconValue,
6179
6183
  image: String,
6180
6184
  text: String,
6185
+ ...makeBorderProps(),
6181
6186
  ...makeComponentProps(),
6182
6187
  ...makeDensityProps(),
6183
6188
  ...makeRoundedProps(),
@@ -6198,6 +6203,9 @@ const VAvatar = genericComponent()({
6198
6203
  const {
6199
6204
  themeClasses
6200
6205
  } = provideTheme(props);
6206
+ const {
6207
+ borderClasses
6208
+ } = useBorder(props);
6201
6209
  const {
6202
6210
  colorClasses,
6203
6211
  colorStyles,
@@ -6217,7 +6225,7 @@ const VAvatar = genericComponent()({
6217
6225
  "class": ['v-avatar', {
6218
6226
  'v-avatar--start': props.start,
6219
6227
  'v-avatar--end': props.end
6220
- }, themeClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class],
6228
+ }, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class],
6221
6229
  "style": [colorStyles.value, sizeStyles.value, props.style]
6222
6230
  }, {
6223
6231
  default: () => [!slots.default ? props.image ? createVNode(VImg, {
@@ -6917,12 +6925,14 @@ function useValidation(props) {
6917
6925
  const validateOn = computed(() => {
6918
6926
  let value = (props.validateOn ?? form?.validateOn.value) || 'input';
6919
6927
  if (value === 'lazy') value = 'input lazy';
6928
+ if (value === 'eager') value = 'input eager';
6920
6929
  const set = new Set(value?.split(' ') ?? []);
6921
6930
  return {
6922
- blur: set.has('blur') || set.has('input'),
6923
6931
  input: set.has('input'),
6924
- submit: set.has('submit'),
6925
- lazy: set.has('lazy')
6932
+ blur: set.has('blur') || set.has('input') || set.has('invalid-input'),
6933
+ invalidInput: set.has('invalid-input'),
6934
+ lazy: set.has('lazy'),
6935
+ eager: set.has('eager')
6926
6936
  };
6927
6937
  });
6928
6938
  const isValid = computed(() => {
@@ -6959,11 +6969,11 @@ function useValidation(props) {
6959
6969
  });
6960
6970
  onMounted(async () => {
6961
6971
  if (!validateOn.value.lazy) {
6962
- await validate(true);
6972
+ await validate(!validateOn.value.eager);
6963
6973
  }
6964
6974
  form?.update(uid.value, isValid.value, errorMessages.value);
6965
6975
  });
6966
- useToggleScope(() => validateOn.value.input, () => {
6976
+ useToggleScope(() => validateOn.value.input || validateOn.value.invalidInput && isValid.value === false, () => {
6967
6977
  watch(validationModel, () => {
6968
6978
  if (validationModel.value != null) {
6969
6979
  validate();
@@ -6991,7 +7001,7 @@ function useValidation(props) {
6991
7001
  async function resetValidation() {
6992
7002
  isPristine.value = true;
6993
7003
  if (!validateOn.value.lazy) {
6994
- await validate(true);
7004
+ await validate(!validateOn.value.eager);
6995
7005
  } else {
6996
7006
  internalErrorMessages.value = [];
6997
7007
  }
@@ -7931,7 +7941,9 @@ const VSlideGroup = genericComponent()({
7931
7941
  selected: group.selected,
7932
7942
  scrollTo,
7933
7943
  scrollOffset,
7934
- focus
7944
+ focus,
7945
+ hasPrev,
7946
+ hasNext
7935
7947
  };
7936
7948
  }
7937
7949
  });
@@ -11062,7 +11074,7 @@ const VOverlay = genericComponent()({
11062
11074
  const potentialShadowDomRoot = computed(() => activatorEl?.value?.getRootNode());
11063
11075
  const {
11064
11076
  teleportTarget
11065
- } = useTeleport(computed(() => props.attach || props.contained || potentialShadowDomRoot.value instanceof ShadowRoot ? potentialShadowDomRoot.value : false));
11077
+ } = useTeleport(computed(() => props.attach || props.contained || potentialShadowDomRoot.value instanceof ShadowRoot ? potentialShadowDomRoot.value ?? true : false));
11066
11078
  const {
11067
11079
  dimensionStyles
11068
11080
  } = useDimension(props);
@@ -21133,6 +21145,7 @@ const makeVContainerProps = propsFactory({
21133
21145
  default: false
21134
21146
  },
21135
21147
  ...makeComponentProps(),
21148
+ ...makeDimensionProps(),
21136
21149
  ...makeTagProps()
21137
21150
  }, 'VContainer');
21138
21151
  const VContainer = genericComponent()({
@@ -21145,11 +21158,14 @@ const VContainer = genericComponent()({
21145
21158
  const {
21146
21159
  rtlClasses
21147
21160
  } = useRtl();
21161
+ const {
21162
+ dimensionStyles
21163
+ } = useDimension(props);
21148
21164
  useRender(() => createVNode(props.tag, {
21149
21165
  "class": ['v-container', {
21150
21166
  'v-container--fluid': props.fluid
21151
21167
  }, rtlClasses.value, props.class],
21152
- "style": props.style
21168
+ "style": [dimensionStyles.value, props.style]
21153
21169
  }, slots));
21154
21170
  return {};
21155
21171
  }
@@ -22562,7 +22578,8 @@ const makeVExpansionPanelTitleProps = propsFactory({
22562
22578
  default: false
22563
22579
  },
22564
22580
  readonly: Boolean,
22565
- ...makeComponentProps()
22581
+ ...makeComponentProps(),
22582
+ ...makeDimensionProps()
22566
22583
  }, 'VExpansionPanelTitle');
22567
22584
  const VExpansionPanelTitle = genericComponent()({
22568
22585
  name: 'VExpansionPanelTitle',
@@ -22580,6 +22597,9 @@ const VExpansionPanelTitle = genericComponent()({
22580
22597
  backgroundColorClasses,
22581
22598
  backgroundColorStyles
22582
22599
  } = useBackgroundColor(props, 'color');
22600
+ const {
22601
+ dimensionStyles
22602
+ } = useDimension(props);
22583
22603
  const slotProps = computed(() => ({
22584
22604
  collapseIcon: props.collapseIcon,
22585
22605
  disabled: expansionPanel.disabled.value,
@@ -22594,7 +22614,7 @@ const VExpansionPanelTitle = genericComponent()({
22594
22614
  'v-expansion-panel-title--focusable': props.focusable,
22595
22615
  'v-expansion-panel-title--static': props.static
22596
22616
  }, backgroundColorClasses.value, props.class],
22597
- "style": [backgroundColorStyles.value, props.style],
22617
+ "style": [backgroundColorStyles.value, dimensionStyles.value, props.style],
22598
22618
  "type": "button",
22599
22619
  "tabindex": expansionPanel.disabled.value ? -1 : undefined,
22600
22620
  "disabled": expansionPanel.disabled.value,
@@ -28095,7 +28115,7 @@ function createVuetify$1() {
28095
28115
  goTo
28096
28116
  };
28097
28117
  }
28098
- const version$1 = "3.6.10-master.2024-06-21";
28118
+ const version$1 = "3.6.11-dev.2024-07-03";
28099
28119
  createVuetify$1.version = version$1;
28100
28120
 
28101
28121
  // Vue's inject() can only be used in setup
@@ -28120,7 +28140,7 @@ const createVuetify = function () {
28120
28140
  ...options
28121
28141
  });
28122
28142
  };
28123
- const version = "3.6.10-master.2024-06-21";
28143
+ const version = "3.6.11-dev.2024-07-03";
28124
28144
  createVuetify.version = version;
28125
28145
 
28126
28146
  export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };