@vuetify/nightly 3.0.2 → 3.0.4-next-20221130.0

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 (54) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/dist/json/importMap.json +86 -86
  3. package/dist/vuetify.css +118 -124
  4. package/dist/vuetify.d.ts +391 -200
  5. package/dist/vuetify.esm.js +45 -31
  6. package/dist/vuetify.esm.js.map +1 -1
  7. package/dist/vuetify.js +45 -31
  8. package/dist/vuetify.js.map +1 -1
  9. package/dist/vuetify.min.css +2 -2
  10. package/dist/vuetify.min.js +11 -11
  11. package/dist/vuetify.min.js.map +1 -1
  12. package/lib/components/VAlert/index.d.ts +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 +22 -22
  17. package/lib/components/VChip/index.d.ts +1 -1
  18. package/lib/components/VChipGroup/index.d.ts +1 -1
  19. package/lib/components/VCombobox/index.d.ts +22 -22
  20. package/lib/components/VExpansionPanel/index.d.ts +1 -1
  21. package/lib/components/VField/index.d.ts +6 -6
  22. package/lib/components/VFileInput/index.d.ts +2 -2
  23. package/lib/components/VFooter/VFooter.mjs +1 -1
  24. package/lib/components/VFooter/VFooter.mjs.map +1 -1
  25. package/lib/components/VLazy/VLazy.mjs +2 -1
  26. package/lib/components/VLazy/VLazy.mjs.map +1 -1
  27. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +2 -2
  28. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  29. package/lib/components/VOverlay/locationStrategies.mjs +3 -1
  30. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  31. package/lib/components/VPagination/index.d.ts +1 -1
  32. package/lib/components/VProgressLinear/VProgressLinear.sass +1 -1
  33. package/lib/components/VProgressLinear/_variables.scss +1 -1
  34. package/lib/components/VSelect/index.d.ts +22 -22
  35. package/lib/components/VSelectionControl/index.d.ts +6 -6
  36. package/lib/components/VSnackbar/index.d.ts +4 -4
  37. package/lib/components/VTabs/VTab.css +1 -3
  38. package/lib/components/VTabs/VTab.sass +1 -4
  39. package/lib/components/VTabs/VTabs.css +0 -4
  40. package/lib/components/VTabs/VTabs.sass +0 -5
  41. package/lib/components/VTextField/index.d.ts +18 -18
  42. package/lib/components/VTextarea/index.d.ts +1 -1
  43. package/lib/components/VToolbar/VToolbar.mjs +32 -22
  44. package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
  45. package/lib/components/VToolbar/index.d.ts +9 -8
  46. package/lib/components/index.d.ts +368 -177
  47. package/lib/components/transitions/dialog-transition.mjs +2 -2
  48. package/lib/components/transitions/dialog-transition.mjs.map +1 -1
  49. package/lib/entry-bundler.mjs +1 -1
  50. package/lib/entry-bundler.mjs.map +1 -1
  51. package/lib/framework.mjs +1 -1
  52. package/lib/framework.mjs.map +1 -1
  53. package/lib/index.d.ts +23 -23
  54. package/package.json +1 -1
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.0.2
2
+ * Vuetify v3.0.4-next-20221130.0
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -2480,8 +2480,8 @@
2480
2480
  const tsx = targetBox.width / elBox.width;
2481
2481
  const tsy = targetBox.height / elBox.height;
2482
2482
  const maxs = Math.max(1, tsx, tsy);
2483
- const sx = tsx / maxs;
2484
- const sy = tsy / maxs;
2483
+ const sx = tsx / maxs || 0;
2484
+ const sy = tsy / maxs || 0;
2485
2485
 
2486
2486
  // Animate elements larger than 12% of the screen area up to 1.5x slower
2487
2487
  const asa = elBox.width * elBox.height / (window.innerWidth * window.innerHeight);
@@ -3147,11 +3147,6 @@
3147
3147
  const isExtended = vue.ref(!!(props.extended || (_slots$extension = slots.extension) != null && _slots$extension.call(slots)));
3148
3148
  const contentHeight = vue.computed(() => parseInt(Number(props.height) + (props.density === 'prominent' ? Number(props.height) : 0) - (props.density === 'comfortable' ? 8 : 0) - (props.density === 'compact' ? 16 : 0), 10));
3149
3149
  const extensionHeight = vue.computed(() => isExtended.value ? parseInt(Number(props.extensionHeight) + (props.density === 'prominent' ? Number(props.extensionHeight) : 0) - (props.density === 'comfortable' ? 4 : 0) - (props.density === 'compact' ? 8 : 0), 10) : 0);
3150
- provideDefaults({
3151
- VBtn: {
3152
- variant: 'text'
3153
- }
3154
- });
3155
3150
  useRender(() => {
3156
3151
  var _slots$extension2, _slots$image, _slots$prepend, _slots$default, _slots$append;
3157
3152
  const hasTitle = !!(props.title || slots.title);
@@ -3180,27 +3175,43 @@
3180
3175
  }
3181
3176
  }, {
3182
3177
  default: () => [slots.image ? (_slots$image = slots.image) == null ? void 0 : _slots$image.call(slots) : vue.createVNode(VImg, null, null)]
3183
- })]), vue.createVNode("div", {
3184
- "class": "v-toolbar__content",
3185
- "style": {
3186
- height: convertToUnit(contentHeight.value)
3178
+ })]), vue.createVNode(VDefaultsProvider, {
3179
+ "defaults": {
3180
+ VTabs: {
3181
+ height: convertToUnit(contentHeight.value)
3182
+ }
3187
3183
  }
3188
- }, [slots.prepend && vue.createVNode("div", {
3189
- "class": "v-toolbar__prepend"
3190
- }, [(_slots$prepend = slots.prepend) == null ? void 0 : _slots$prepend.call(slots)]), hasTitle && vue.createVNode(VToolbarTitle, {
3191
- "key": "title",
3192
- "text": props.title
3193
3184
  }, {
3194
- text: slots.title
3195
- }), (_slots$default = slots.default) == null ? void 0 : _slots$default.call(slots), slots.append && vue.createVNode("div", {
3196
- "class": "v-toolbar__append"
3197
- }, [(_slots$append = slots.append) == null ? void 0 : _slots$append.call(slots)])]), vue.createVNode(VExpandTransition, null, {
3198
- default: () => [isExtended.value && vue.createVNode("div", {
3199
- "class": "v-toolbar__extension",
3185
+ default: () => [vue.createVNode("div", {
3186
+ "class": "v-toolbar__content",
3200
3187
  "style": {
3188
+ height: convertToUnit(contentHeight.value)
3189
+ }
3190
+ }, [slots.prepend && vue.createVNode("div", {
3191
+ "class": "v-toolbar__prepend"
3192
+ }, [(_slots$prepend = slots.prepend) == null ? void 0 : _slots$prepend.call(slots)]), hasTitle && vue.createVNode(VToolbarTitle, {
3193
+ "key": "title",
3194
+ "text": props.title
3195
+ }, {
3196
+ text: slots.title
3197
+ }), (_slots$default = slots.default) == null ? void 0 : _slots$default.call(slots), slots.append && vue.createVNode("div", {
3198
+ "class": "v-toolbar__append"
3199
+ }, [(_slots$append = slots.append) == null ? void 0 : _slots$append.call(slots)])])]
3200
+ }), vue.createVNode(VDefaultsProvider, {
3201
+ "defaults": {
3202
+ VTabs: {
3201
3203
  height: convertToUnit(extensionHeight.value)
3202
3204
  }
3203
- }, [extension])]
3205
+ }
3206
+ }, {
3207
+ default: () => [vue.createVNode(VExpandTransition, null, {
3208
+ default: () => [isExtended.value && vue.createVNode("div", {
3209
+ "class": "v-toolbar__extension",
3210
+ "style": {
3211
+ height: convertToUnit(extensionHeight.value)
3212
+ }
3213
+ }, [extension])]
3214
+ })]
3204
3215
  })]
3205
3216
  });
3206
3217
  });
@@ -3216,7 +3227,7 @@
3216
3227
 
3217
3228
  // Types
3218
3229
 
3219
- const VAppBar = defineComponent({
3230
+ const VAppBar = genericComponent()({
3220
3231
  name: 'VAppBar',
3221
3232
  props: {
3222
3233
  // TODO: Implement scrolling techniques
@@ -8540,7 +8551,9 @@
8540
8551
  updateLocation.value = undefined;
8541
8552
  if (!(IN_BROWSER && data.isActive.value && props.locationStrategy)) return;
8542
8553
  scope = vue.effectScope();
8543
- await vue.nextTick();
8554
+ if (!(props.locationStrategy === 'connected')) {
8555
+ await vue.nextTick();
8556
+ }
8544
8557
  scope.run(() => {
8545
8558
  if (typeof props.locationStrategy === 'function') {
8546
8559
  var _props$locationStrate;
@@ -14222,7 +14235,7 @@
14222
14235
  useRender(() => vue.createVNode(props.tag, {
14223
14236
  "ref": resizeRef,
14224
14237
  "class": ['v-footer', themeClasses.value, backgroundColorClasses.value, borderClasses.value, elevationClasses.value, roundedClasses.value],
14225
- "style": [backgroundColorStyles, props.app ? layoutItemStyles.value : undefined]
14238
+ "style": [backgroundColorStyles.value, props.app ? layoutItemStyles.value : undefined]
14226
14239
  }, slots));
14227
14240
  return {};
14228
14241
  }
@@ -14784,7 +14797,8 @@
14784
14797
  "style": dimensionStyles.value
14785
14798
  }, {
14786
14799
  default: () => [isActive.value && vue.createVNode(MaybeTransition, {
14787
- "transition": props.transition
14800
+ "transition": props.transition,
14801
+ "appear": true
14788
14802
  }, {
14789
14803
  default: () => [(_slots$default = slots.default) == null ? void 0 : _slots$default.call(slots)]
14790
14804
  })]
@@ -15244,7 +15258,7 @@
15244
15258
  const isTemporary = vue.computed(() => !props.permanent && (mobile.value || props.temporary));
15245
15259
  const isSticky = vue.computed(() => props.sticky && !isTemporary.value && location.value !== 'bottom');
15246
15260
  if (!props.disableResizeWatcher) {
15247
- vue.watch(isTemporary, val => !props.permanent && (isActive.value = !val));
15261
+ vue.watch(isTemporary, val => !props.permanent && vue.nextTick(() => isActive.value = !val));
15248
15262
  }
15249
15263
  if (!props.disableRouteWatcher && router) {
15250
15264
  vue.watch(router.currentRoute, () => isTemporary.value && (isActive.value = false));
@@ -18167,7 +18181,7 @@
18167
18181
  locale
18168
18182
  };
18169
18183
  }
18170
- const version$1 = "3.0.2";
18184
+ const version$1 = "3.0.4-next-20221130.0";
18171
18185
  createVuetify$1.version = version$1;
18172
18186
 
18173
18187
  // Vue's inject() can only be used in setup
@@ -18188,7 +18202,7 @@
18188
18202
  ...options
18189
18203
  });
18190
18204
  };
18191
- const version = "3.0.2";
18205
+ const version = "3.0.4-next-20221130.0";
18192
18206
  createVuetify.version = version;
18193
18207
 
18194
18208
  exports.components = components;