@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.
- package/CHANGELOG.md +7 -2
- package/dist/json/importMap.json +86 -86
- package/dist/vuetify.css +118 -124
- package/dist/vuetify.d.ts +391 -200
- package/dist/vuetify.esm.js +45 -31
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +45 -31
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +11 -11
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.ts +1 -1
- package/lib/components/VAppBar/VAppBar.mjs +2 -2
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.ts +275 -62
- package/lib/components/VAutocomplete/index.d.ts +22 -22
- package/lib/components/VChip/index.d.ts +1 -1
- package/lib/components/VChipGroup/index.d.ts +1 -1
- package/lib/components/VCombobox/index.d.ts +22 -22
- package/lib/components/VExpansionPanel/index.d.ts +1 -1
- package/lib/components/VField/index.d.ts +6 -6
- package/lib/components/VFileInput/index.d.ts +2 -2
- package/lib/components/VFooter/VFooter.mjs +1 -1
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VLazy/VLazy.mjs +2 -1
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +2 -2
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VOverlay/locationStrategies.mjs +3 -1
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VPagination/index.d.ts +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.sass +1 -1
- package/lib/components/VProgressLinear/_variables.scss +1 -1
- package/lib/components/VSelect/index.d.ts +22 -22
- package/lib/components/VSelectionControl/index.d.ts +6 -6
- package/lib/components/VSnackbar/index.d.ts +4 -4
- package/lib/components/VTabs/VTab.css +1 -3
- package/lib/components/VTabs/VTab.sass +1 -4
- package/lib/components/VTabs/VTabs.css +0 -4
- package/lib/components/VTabs/VTabs.sass +0 -5
- package/lib/components/VTextField/index.d.ts +18 -18
- package/lib/components/VTextarea/index.d.ts +1 -1
- package/lib/components/VToolbar/VToolbar.mjs +32 -22
- package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
- package/lib/components/VToolbar/index.d.ts +9 -8
- package/lib/components/index.d.ts +368 -177
- package/lib/components/transitions/dialog-transition.mjs +2 -2
- package/lib/components/transitions/dialog-transition.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.ts +23 -23
- package/package.json +1 -1
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.0.
|
|
2
|
+
* Vuetify v3.0.4-next-20221130.0
|
|
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);
|
|
@@ -3143,11 +3143,6 @@ const VToolbar = genericComponent()({
|
|
|
3143
3143
|
const isExtended = ref(!!(props.extended || (_slots$extension = slots.extension) != null && _slots$extension.call(slots)));
|
|
3144
3144
|
const contentHeight = computed(() => parseInt(Number(props.height) + (props.density === 'prominent' ? Number(props.height) : 0) - (props.density === 'comfortable' ? 8 : 0) - (props.density === 'compact' ? 16 : 0), 10));
|
|
3145
3145
|
const extensionHeight = 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);
|
|
3146
|
-
provideDefaults({
|
|
3147
|
-
VBtn: {
|
|
3148
|
-
variant: 'text'
|
|
3149
|
-
}
|
|
3150
|
-
});
|
|
3151
3146
|
useRender(() => {
|
|
3152
3147
|
var _slots$extension2, _slots$image, _slots$prepend, _slots$default, _slots$append;
|
|
3153
3148
|
const hasTitle = !!(props.title || slots.title);
|
|
@@ -3176,27 +3171,43 @@ const VToolbar = genericComponent()({
|
|
|
3176
3171
|
}
|
|
3177
3172
|
}, {
|
|
3178
3173
|
default: () => [slots.image ? (_slots$image = slots.image) == null ? void 0 : _slots$image.call(slots) : createVNode(VImg, null, null)]
|
|
3179
|
-
})]), createVNode(
|
|
3180
|
-
"
|
|
3181
|
-
|
|
3182
|
-
|
|
3174
|
+
})]), createVNode(VDefaultsProvider, {
|
|
3175
|
+
"defaults": {
|
|
3176
|
+
VTabs: {
|
|
3177
|
+
height: convertToUnit(contentHeight.value)
|
|
3178
|
+
}
|
|
3183
3179
|
}
|
|
3184
|
-
}, [slots.prepend && createVNode("div", {
|
|
3185
|
-
"class": "v-toolbar__prepend"
|
|
3186
|
-
}, [(_slots$prepend = slots.prepend) == null ? void 0 : _slots$prepend.call(slots)]), hasTitle && createVNode(VToolbarTitle, {
|
|
3187
|
-
"key": "title",
|
|
3188
|
-
"text": props.title
|
|
3189
3180
|
}, {
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
"class": "v-toolbar__append"
|
|
3193
|
-
}, [(_slots$append = slots.append) == null ? void 0 : _slots$append.call(slots)])]), createVNode(VExpandTransition, null, {
|
|
3194
|
-
default: () => [isExtended.value && createVNode("div", {
|
|
3195
|
-
"class": "v-toolbar__extension",
|
|
3181
|
+
default: () => [createVNode("div", {
|
|
3182
|
+
"class": "v-toolbar__content",
|
|
3196
3183
|
"style": {
|
|
3184
|
+
height: convertToUnit(contentHeight.value)
|
|
3185
|
+
}
|
|
3186
|
+
}, [slots.prepend && createVNode("div", {
|
|
3187
|
+
"class": "v-toolbar__prepend"
|
|
3188
|
+
}, [(_slots$prepend = slots.prepend) == null ? void 0 : _slots$prepend.call(slots)]), hasTitle && createVNode(VToolbarTitle, {
|
|
3189
|
+
"key": "title",
|
|
3190
|
+
"text": props.title
|
|
3191
|
+
}, {
|
|
3192
|
+
text: slots.title
|
|
3193
|
+
}), (_slots$default = slots.default) == null ? void 0 : _slots$default.call(slots), slots.append && createVNode("div", {
|
|
3194
|
+
"class": "v-toolbar__append"
|
|
3195
|
+
}, [(_slots$append = slots.append) == null ? void 0 : _slots$append.call(slots)])])]
|
|
3196
|
+
}), createVNode(VDefaultsProvider, {
|
|
3197
|
+
"defaults": {
|
|
3198
|
+
VTabs: {
|
|
3197
3199
|
height: convertToUnit(extensionHeight.value)
|
|
3198
3200
|
}
|
|
3199
|
-
}
|
|
3201
|
+
}
|
|
3202
|
+
}, {
|
|
3203
|
+
default: () => [createVNode(VExpandTransition, null, {
|
|
3204
|
+
default: () => [isExtended.value && createVNode("div", {
|
|
3205
|
+
"class": "v-toolbar__extension",
|
|
3206
|
+
"style": {
|
|
3207
|
+
height: convertToUnit(extensionHeight.value)
|
|
3208
|
+
}
|
|
3209
|
+
}, [extension])]
|
|
3210
|
+
})]
|
|
3200
3211
|
})]
|
|
3201
3212
|
});
|
|
3202
3213
|
});
|
|
@@ -3212,7 +3223,7 @@ function filterToolbarProps(props) {
|
|
|
3212
3223
|
|
|
3213
3224
|
// Types
|
|
3214
3225
|
|
|
3215
|
-
const VAppBar =
|
|
3226
|
+
const VAppBar = genericComponent()({
|
|
3216
3227
|
name: 'VAppBar',
|
|
3217
3228
|
props: {
|
|
3218
3229
|
// TODO: Implement scrolling techniques
|
|
@@ -8536,7 +8547,9 @@ function useLocationStrategies(props, data) {
|
|
|
8536
8547
|
updateLocation.value = undefined;
|
|
8537
8548
|
if (!(IN_BROWSER && data.isActive.value && props.locationStrategy)) return;
|
|
8538
8549
|
scope = effectScope();
|
|
8539
|
-
|
|
8550
|
+
if (!(props.locationStrategy === 'connected')) {
|
|
8551
|
+
await nextTick();
|
|
8552
|
+
}
|
|
8540
8553
|
scope.run(() => {
|
|
8541
8554
|
if (typeof props.locationStrategy === 'function') {
|
|
8542
8555
|
var _props$locationStrate;
|
|
@@ -14218,7 +14231,7 @@ const VFooter = defineComponent({
|
|
|
14218
14231
|
useRender(() => createVNode(props.tag, {
|
|
14219
14232
|
"ref": resizeRef,
|
|
14220
14233
|
"class": ['v-footer', themeClasses.value, backgroundColorClasses.value, borderClasses.value, elevationClasses.value, roundedClasses.value],
|
|
14221
|
-
"style": [backgroundColorStyles, props.app ? layoutItemStyles.value : undefined]
|
|
14234
|
+
"style": [backgroundColorStyles.value, props.app ? layoutItemStyles.value : undefined]
|
|
14222
14235
|
}, slots));
|
|
14223
14236
|
return {};
|
|
14224
14237
|
}
|
|
@@ -14780,7 +14793,8 @@ const VLazy = defineComponent({
|
|
|
14780
14793
|
"style": dimensionStyles.value
|
|
14781
14794
|
}, {
|
|
14782
14795
|
default: () => [isActive.value && createVNode(MaybeTransition, {
|
|
14783
|
-
"transition": props.transition
|
|
14796
|
+
"transition": props.transition,
|
|
14797
|
+
"appear": true
|
|
14784
14798
|
}, {
|
|
14785
14799
|
default: () => [(_slots$default = slots.default) == null ? void 0 : _slots$default.call(slots)]
|
|
14786
14800
|
})]
|
|
@@ -15240,7 +15254,7 @@ const VNavigationDrawer = defineComponent({
|
|
|
15240
15254
|
const isTemporary = computed(() => !props.permanent && (mobile.value || props.temporary));
|
|
15241
15255
|
const isSticky = computed(() => props.sticky && !isTemporary.value && location.value !== 'bottom');
|
|
15242
15256
|
if (!props.disableResizeWatcher) {
|
|
15243
|
-
watch(isTemporary, val => !props.permanent && (isActive.value = !val));
|
|
15257
|
+
watch(isTemporary, val => !props.permanent && nextTick(() => isActive.value = !val));
|
|
15244
15258
|
}
|
|
15245
15259
|
if (!props.disableRouteWatcher && router) {
|
|
15246
15260
|
watch(router.currentRoute, () => isTemporary.value && (isActive.value = false));
|
|
@@ -18163,7 +18177,7 @@ function createVuetify$1() {
|
|
|
18163
18177
|
locale
|
|
18164
18178
|
};
|
|
18165
18179
|
}
|
|
18166
|
-
const version$1 = "3.0.
|
|
18180
|
+
const version$1 = "3.0.4-next-20221130.0";
|
|
18167
18181
|
createVuetify$1.version = version$1;
|
|
18168
18182
|
|
|
18169
18183
|
// Vue's inject() can only be used in setup
|
|
@@ -18184,7 +18198,7 @@ const createVuetify = function () {
|
|
|
18184
18198
|
...options
|
|
18185
18199
|
});
|
|
18186
18200
|
};
|
|
18187
|
-
const version = "3.0.
|
|
18201
|
+
const version = "3.0.4-next-20221130.0";
|
|
18188
18202
|
createVuetify.version = version;
|
|
18189
18203
|
|
|
18190
18204
|
export { components, createVuetify, directives, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
|