vuetify 3.0.2 → 3.0.3

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 (42) hide show
  1. package/dist/json/attributes.json +23 -23
  2. package/dist/json/importMap.json +84 -84
  3. package/dist/json/web-types.json +91 -60
  4. package/dist/vuetify.css +114 -114
  5. package/dist/vuetify.d.ts +332 -141
  6. package/dist/vuetify.esm.js +13 -10
  7. package/dist/vuetify.esm.js.map +1 -1
  8. package/dist/vuetify.js +13 -10
  9. package/dist/vuetify.js.map +1 -1
  10. package/dist/vuetify.min.css +2 -2
  11. package/dist/vuetify.min.js +9 -9
  12. package/dist/vuetify.min.js.map +1 -1
  13. package/lib/components/VAppBar/VAppBar.mjs +2 -2
  14. package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
  15. package/lib/components/VAppBar/index.d.ts +275 -62
  16. package/lib/components/VAutocomplete/index.d.ts +6 -6
  17. package/lib/components/VCombobox/index.d.ts +6 -6
  18. package/lib/components/VField/index.d.ts +6 -6
  19. package/lib/components/VFileInput/index.d.ts +1 -1
  20. package/lib/components/VFooter/VFooter.mjs +1 -1
  21. package/lib/components/VFooter/VFooter.mjs.map +1 -1
  22. package/lib/components/VLazy/VLazy.mjs +2 -1
  23. package/lib/components/VLazy/VLazy.mjs.map +1 -1
  24. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +2 -2
  25. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  26. package/lib/components/VOverlay/locationStrategies.mjs +3 -1
  27. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  28. package/lib/components/VProgressLinear/VProgressLinear.sass +1 -1
  29. package/lib/components/VProgressLinear/_variables.scss +1 -1
  30. package/lib/components/VSelect/index.d.ts +6 -6
  31. package/lib/components/VSelectionControl/index.d.ts +6 -6
  32. package/lib/components/VTextField/index.d.ts +18 -18
  33. package/lib/components/VTextarea/index.d.ts +1 -1
  34. package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
  35. package/lib/components/VToolbar/index.d.ts +9 -8
  36. package/lib/components/index.d.ts +310 -119
  37. package/lib/components/transitions/dialog-transition.mjs +2 -2
  38. package/lib/components/transitions/dialog-transition.mjs.map +1 -1
  39. package/lib/entry-bundler.mjs +1 -1
  40. package/lib/framework.mjs +1 -1
  41. package/lib/index.d.ts +22 -22
  42. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.0.2
2
+ * Vuetify v3.0.3
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -2476,8 +2476,8 @@ function getDimensions(target, el) {
2476
2476
  const tsx = targetBox.width / elBox.width;
2477
2477
  const tsy = targetBox.height / elBox.height;
2478
2478
  const maxs = Math.max(1, tsx, tsy);
2479
- const sx = tsx / maxs;
2480
- const sy = tsy / maxs;
2479
+ const sx = tsx / maxs || 0;
2480
+ const sy = tsy / maxs || 0;
2481
2481
 
2482
2482
  // Animate elements larger than 12% of the screen area up to 1.5x slower
2483
2483
  const asa = elBox.width * elBox.height / (window.innerWidth * window.innerHeight);
@@ -3212,7 +3212,7 @@ function filterToolbarProps(props) {
3212
3212
 
3213
3213
  // Types
3214
3214
 
3215
- const VAppBar = defineComponent({
3215
+ const VAppBar = genericComponent()({
3216
3216
  name: 'VAppBar',
3217
3217
  props: {
3218
3218
  // TODO: Implement scrolling techniques
@@ -8536,7 +8536,9 @@ function useLocationStrategies(props, data) {
8536
8536
  updateLocation.value = undefined;
8537
8537
  if (!(IN_BROWSER && data.isActive.value && props.locationStrategy)) return;
8538
8538
  scope = effectScope();
8539
- await nextTick();
8539
+ if (!(props.locationStrategy === 'connected')) {
8540
+ await nextTick();
8541
+ }
8540
8542
  scope.run(() => {
8541
8543
  if (typeof props.locationStrategy === 'function') {
8542
8544
  var _props$locationStrate;
@@ -14218,7 +14220,7 @@ const VFooter = defineComponent({
14218
14220
  useRender(() => createVNode(props.tag, {
14219
14221
  "ref": resizeRef,
14220
14222
  "class": ['v-footer', themeClasses.value, backgroundColorClasses.value, borderClasses.value, elevationClasses.value, roundedClasses.value],
14221
- "style": [backgroundColorStyles, props.app ? layoutItemStyles.value : undefined]
14223
+ "style": [backgroundColorStyles.value, props.app ? layoutItemStyles.value : undefined]
14222
14224
  }, slots));
14223
14225
  return {};
14224
14226
  }
@@ -14780,7 +14782,8 @@ const VLazy = defineComponent({
14780
14782
  "style": dimensionStyles.value
14781
14783
  }, {
14782
14784
  default: () => [isActive.value && createVNode(MaybeTransition, {
14783
- "transition": props.transition
14785
+ "transition": props.transition,
14786
+ "appear": true
14784
14787
  }, {
14785
14788
  default: () => [(_slots$default = slots.default) == null ? void 0 : _slots$default.call(slots)]
14786
14789
  })]
@@ -15240,7 +15243,7 @@ const VNavigationDrawer = defineComponent({
15240
15243
  const isTemporary = computed(() => !props.permanent && (mobile.value || props.temporary));
15241
15244
  const isSticky = computed(() => props.sticky && !isTemporary.value && location.value !== 'bottom');
15242
15245
  if (!props.disableResizeWatcher) {
15243
- watch(isTemporary, val => !props.permanent && (isActive.value = !val));
15246
+ watch(isTemporary, val => !props.permanent && nextTick(() => isActive.value = !val));
15244
15247
  }
15245
15248
  if (!props.disableRouteWatcher && router) {
15246
15249
  watch(router.currentRoute, () => isTemporary.value && (isActive.value = false));
@@ -18163,7 +18166,7 @@ function createVuetify$1() {
18163
18166
  locale
18164
18167
  };
18165
18168
  }
18166
- const version$1 = "3.0.2";
18169
+ const version$1 = "3.0.3";
18167
18170
  createVuetify$1.version = version$1;
18168
18171
 
18169
18172
  // Vue's inject() can only be used in setup
@@ -18184,7 +18187,7 @@ const createVuetify = function () {
18184
18187
  ...options
18185
18188
  });
18186
18189
  };
18187
- const version = "3.0.2";
18190
+ const version = "3.0.3";
18188
18191
  createVuetify.version = version;
18189
18192
 
18190
18193
  export { components, createVuetify, directives, useDisplay, useLayout, useLocale, useRtl, useTheme, version };