@vuetify/nightly 3.7.0-beta.1-dev.2024-07-30 → 3.7.0-beta.1-dev.2024-08-08
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/dist/json/attributes.json +13 -5
- package/dist/json/importMap-labs.json +18 -18
- package/dist/json/importMap.json +160 -160
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +45 -13
- package/dist/vuetify-labs.css +3716 -2993
- package/dist/vuetify-labs.d.ts +50 -11
- package/dist/vuetify-labs.esm.js +113 -69
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +113 -69
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1406 -683
- package/dist/vuetify.d.ts +60 -60
- package/dist/vuetify.esm.js +35 -29
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +35 -29
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +13 -12
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +5 -1
- package/lib/components/VAutocomplete/VAutocomplete.css +4 -0
- package/lib/components/VAvatar/VAvatar.css +8 -4
- package/lib/components/VAvatar/VAvatar.mjs +1 -1
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VBadge/VBadge.css +2 -0
- package/lib/components/VBanner/VBanner.css +12 -4
- package/lib/components/VBottomNavigation/VBottomNavigation.css +11 -3
- package/lib/components/VBottomSheet/VBottomSheet.css +2 -0
- package/lib/components/VBtn/VBtn.css +16 -9
- package/lib/components/VBtn/VBtn.mjs +1 -1
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.sass +4 -4
- package/lib/components/VBtnGroup/VBtnGroup.css +12 -4
- package/lib/components/VCard/VCard.css +9 -1
- package/lib/components/VCarousel/VCarousel.css +2 -0
- package/lib/components/VChip/VChip.css +15 -9
- package/lib/components/VChip/VChip.sass +1 -1
- package/lib/components/VColorPicker/VColorPicker.css +2 -0
- package/lib/components/VColorPicker/VColorPicker.sass +4 -4
- package/lib/components/VColorPicker/VColorPickerPreview.sass +4 -4
- package/lib/components/VCombobox/VCombobox.css +4 -0
- package/lib/components/VDialog/VDialog.css +5 -0
- package/lib/components/VDivider/VDivider.css +2 -0
- package/lib/components/VExpansionPanel/VExpansionPanel.css +11 -5
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +3 -3
- package/lib/components/VField/VField.css +13 -1
- package/lib/components/VField/VField.sass +5 -8
- package/lib/components/VFooter/VFooter.css +12 -4
- package/lib/components/VFooter/VFooter.mjs +20 -14
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VFooter/index.d.mts +3 -3
- package/lib/components/VGrid/VGrid.sass +1 -1
- package/lib/components/VGrid/_mixins.sass +4 -4
- package/lib/components/VImg/VImg.css +6 -0
- package/lib/components/VKbd/VKbd.css +2 -0
- package/lib/components/VList/VList.css +12 -4
- package/lib/components/VList/VListItem.css +21 -11
- package/lib/components/VList/VListItem.sass +1 -1
- package/lib/components/VMain/VMain.css +2 -0
- package/lib/components/VMenu/VMenu.css +6 -0
- package/lib/components/VMenu/VMenu.mjs +1 -1
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +9 -3
- package/lib/components/VOtpInput/VOtpInput.css +3 -1
- package/lib/components/VOtpInput/VOtpInput.sass +1 -2
- package/lib/components/VOverflowBtn/VOverflowBtn.sass +1 -1
- package/lib/components/VSelect/VSelect.css +4 -0
- package/lib/components/VSelectionControl/VSelectionControl.css +6 -4
- package/lib/components/VSelectionControl/VSelectionControl.sass +1 -1
- package/lib/components/VSheet/VSheet.css +12 -4
- package/lib/components/VSkeletonLoader/VSkeletonLoader.css +6 -4
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +9 -8
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
- package/lib/components/VSkeletonLoader/VSkeletonLoader.sass +1 -2
- package/lib/components/VSlider/VSliderThumb.sass +2 -2
- package/lib/components/VSnackbar/VSnackbar.css +2 -0
- package/lib/components/VSnackbar/VSnackbar.mjs +4 -4
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VStepper/VStepper.css +8 -2
- package/lib/components/VStepper/VStepper.sass +2 -4
- package/lib/components/VStepper/VStepperItem.css +4 -1
- package/lib/components/VStepper/VStepperItem.sass +1 -1
- package/lib/components/VSwitch/VSwitch.css +2 -0
- package/lib/components/VSwitch/VSwitch.sass +10 -10
- package/lib/components/VSystemBar/VSystemBar.css +14 -8
- package/lib/components/VTable/VTable.css +8 -4
- package/lib/components/VTable/VTable.sass +2 -3
- package/lib/components/VTimeline/VTimeline.css +2 -0
- package/lib/components/VToolbar/VToolbar.css +21 -7
- package/lib/components/VToolbar/VToolbar.sass +1 -2
- package/lib/components/VTreeview/VTreeview.sass +9 -9
- package/lib/components/index.d.mts +3 -3
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +57 -57
- package/lib/labs/VNumberInput/VNumberInput.mjs +60 -36
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +17 -8
- package/lib/labs/VPicker/VPicker.css +6 -2
- package/lib/labs/VPicker/VPicker.sass +2 -3
- package/lib/labs/VPullToRefresh/VPullToRefresh.mjs +4 -3
- package/lib/labs/VPullToRefresh/VPullToRefresh.mjs.map +1 -1
- package/lib/labs/VPullToRefresh/index.d.mts +9 -0
- package/lib/labs/VTreeview/VTreeview.mjs +15 -2
- package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/labs/VTreeview/index.d.mts +21 -0
- package/lib/labs/components.d.mts +47 -8
- package/lib/styles/generic/_colors.scss +9 -3
- package/lib/styles/main.css +520 -0
- package/lib/styles/tools/_absolute.sass +8 -7
- package/lib/styles/tools/_border.sass +4 -3
- package/lib/styles/tools/_display.sass +8 -7
- package/lib/styles/tools/_elevation.sass +4 -2
- package/lib/styles/tools/_index.sass +0 -1
- package/lib/styles/tools/_radius.sass +6 -5
- package/lib/styles/tools/_rounded.sass +2 -1
- package/lib/styles/tools/_theme.sass +3 -2
- package/lib/styles/tools/_typography.sass +6 -5
- package/lib/styles/tools/_utilities.sass +5 -5
- package/lib/styles/utilities/_index.sass +7 -7
- package/package.json +1 -1
- package/lib/styles/tools/_sheet.sass +0 -14
package/dist/vuetify.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.0-beta.1-dev.2024-
|
2
|
+
* Vuetify v3.7.0-beta.1-dev.2024-08-08
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -5953,7 +5953,7 @@
|
|
5953
5953
|
"indeterminate": true,
|
5954
5954
|
"width": "2"
|
5955
5955
|
}, null)])]
|
5956
|
-
}), [[Ripple, !isDisabled.value &&
|
5956
|
+
}), [[Ripple, !isDisabled.value && props.ripple, '', {
|
5957
5957
|
center: !!props.icon
|
5958
5958
|
}]]);
|
5959
5959
|
});
|
@@ -6251,7 +6251,7 @@
|
|
6251
6251
|
"defaults": {
|
6252
6252
|
VImg: {
|
6253
6253
|
cover: true,
|
6254
|
-
|
6254
|
+
src: props.image
|
6255
6255
|
},
|
6256
6256
|
VIcon: {
|
6257
6257
|
icon: props.icon
|
@@ -11393,7 +11393,7 @@
|
|
11393
11393
|
},
|
11394
11394
|
closeParents(e) {
|
11395
11395
|
setTimeout(() => {
|
11396
|
-
if (!openChildren.value.size && !props.persistent && (e == null ||
|
11396
|
+
if (!openChildren.value.size && !props.persistent && (e == null || overlay.value?.contentEl && !isClickInsideElement(e, overlay.value.contentEl))) {
|
11397
11397
|
isActive.value = false;
|
11398
11398
|
parent?.closeParents();
|
11399
11399
|
}
|
@@ -23212,6 +23212,8 @@
|
|
23212
23212
|
let {
|
23213
23213
|
slots
|
23214
23214
|
} = _ref;
|
23215
|
+
const layoutItemStyles = vue.ref();
|
23216
|
+
const layoutIsReady = vue.shallowRef();
|
23215
23217
|
const {
|
23216
23218
|
themeClasses
|
23217
23219
|
} = provideTheme(props);
|
@@ -23236,17 +23238,20 @@
|
|
23236
23238
|
autoHeight.value = entries[0].target.clientHeight;
|
23237
23239
|
});
|
23238
23240
|
const height = vue.computed(() => props.height === 'auto' ? autoHeight.value : parseInt(props.height, 10));
|
23239
|
-
|
23240
|
-
|
23241
|
-
|
23242
|
-
|
23243
|
-
|
23244
|
-
|
23245
|
-
|
23246
|
-
|
23247
|
-
|
23248
|
-
|
23249
|
-
|
23241
|
+
useToggleScope(() => props.app, () => {
|
23242
|
+
const layout = useLayoutItem({
|
23243
|
+
id: props.name,
|
23244
|
+
order: vue.computed(() => parseInt(props.order, 10)),
|
23245
|
+
position: vue.computed(() => 'bottom'),
|
23246
|
+
layoutSize: height,
|
23247
|
+
elementSize: vue.computed(() => props.height === 'auto' ? undefined : height.value),
|
23248
|
+
active: vue.computed(() => props.app),
|
23249
|
+
absolute: vue.toRef(props, 'absolute')
|
23250
|
+
});
|
23251
|
+
vue.watchEffect(() => {
|
23252
|
+
layoutItemStyles.value = layout.layoutItemStyles.value;
|
23253
|
+
layoutIsReady.value = layout.layoutIsReady;
|
23254
|
+
});
|
23250
23255
|
});
|
23251
23256
|
useRender(() => vue.createVNode(props.tag, {
|
23252
23257
|
"ref": resizeRef,
|
@@ -23255,7 +23260,7 @@
|
|
23255
23260
|
height: convertToUnit(props.height)
|
23256
23261
|
}, props.style]
|
23257
23262
|
}, slots));
|
23258
|
-
return props.app ? layoutIsReady : {};
|
23263
|
+
return props.app ? layoutIsReady.value : {};
|
23259
23264
|
}
|
23260
23265
|
});
|
23261
23266
|
|
@@ -25396,16 +25401,17 @@
|
|
25396
25401
|
const items = vue.computed(() => genStructure(wrapInArray(props.type).join(',')));
|
25397
25402
|
useRender(() => {
|
25398
25403
|
const isLoading = !slots.default || props.loading;
|
25399
|
-
|
25404
|
+
const loadingProps = props.boilerplate || !isLoading ? {} : {
|
25405
|
+
ariaLive: 'polite',
|
25406
|
+
ariaLabel: t(props.loadingText),
|
25407
|
+
role: 'alert'
|
25408
|
+
};
|
25409
|
+
return vue.createVNode("div", vue.mergeProps({
|
25400
25410
|
"class": ['v-skeleton-loader', {
|
25401
25411
|
'v-skeleton-loader--boilerplate': props.boilerplate
|
25402
25412
|
}, themeClasses.value, backgroundColorClasses.value, elevationClasses.value],
|
25403
|
-
"style": [backgroundColorStyles.value, isLoading ? dimensionStyles.value : {}]
|
25404
|
-
|
25405
|
-
"aria-live": !props.boilerplate ? 'polite' : undefined,
|
25406
|
-
"aria-label": !props.boilerplate ? t(props.loadingText) : undefined,
|
25407
|
-
"role": !props.boilerplate ? 'alert' : undefined
|
25408
|
-
}, [isLoading ? items.value : slots.default?.()]);
|
25413
|
+
"style": [backgroundColorStyles.value, isLoading ? dimensionStyles.value : {}]
|
25414
|
+
}, loadingProps), [isLoading ? items.value : slots.default?.()]);
|
25409
25415
|
});
|
25410
25416
|
return {};
|
25411
25417
|
}
|
@@ -25438,14 +25444,14 @@
|
|
25438
25444
|
// Types
|
25439
25445
|
|
25440
25446
|
function useCountdown(milliseconds) {
|
25441
|
-
const time = vue.shallowRef(milliseconds);
|
25447
|
+
const time = vue.shallowRef(milliseconds());
|
25442
25448
|
let timer = -1;
|
25443
25449
|
function clear() {
|
25444
25450
|
clearInterval(timer);
|
25445
25451
|
}
|
25446
25452
|
function reset() {
|
25447
25453
|
clear();
|
25448
|
-
vue.nextTick(() => time.value = milliseconds);
|
25454
|
+
vue.nextTick(() => time.value = milliseconds());
|
25449
25455
|
}
|
25450
25456
|
function start(el) {
|
25451
25457
|
const style = el ? getComputedStyle(el) : {
|
@@ -25457,7 +25463,7 @@
|
|
25457
25463
|
const startTime = performance.now();
|
25458
25464
|
timer = window.setInterval(() => {
|
25459
25465
|
const elapsed = performance.now() - startTime + interval;
|
25460
|
-
time.value = Math.max(milliseconds - elapsed, 0);
|
25466
|
+
time.value = Math.max(milliseconds() - elapsed, 0);
|
25461
25467
|
if (time.value <= 0) clear();
|
25462
25468
|
}, interval);
|
25463
25469
|
}
|
@@ -25517,7 +25523,7 @@
|
|
25517
25523
|
const {
|
25518
25524
|
roundedClasses
|
25519
25525
|
} = useRounded(props);
|
25520
|
-
const countdown = useCountdown(Number(props.timeout));
|
25526
|
+
const countdown = useCountdown(() => Number(props.timeout));
|
25521
25527
|
const overlay = vue.ref();
|
25522
25528
|
const timerRef = vue.ref();
|
25523
25529
|
const isHovering = vue.shallowRef(false);
|
@@ -28196,7 +28202,7 @@
|
|
28196
28202
|
goTo
|
28197
28203
|
};
|
28198
28204
|
}
|
28199
|
-
const version$1 = "3.7.0-beta.1-dev.2024-
|
28205
|
+
const version$1 = "3.7.0-beta.1-dev.2024-08-08";
|
28200
28206
|
createVuetify$1.version = version$1;
|
28201
28207
|
|
28202
28208
|
// Vue's inject() can only be used in setup
|
@@ -28221,7 +28227,7 @@
|
|
28221
28227
|
...options
|
28222
28228
|
});
|
28223
28229
|
};
|
28224
|
-
const version = "3.7.0-beta.1-dev.2024-
|
28230
|
+
const version = "3.7.0-beta.1-dev.2024-08-08";
|
28225
28231
|
createVuetify.version = version;
|
28226
28232
|
|
28227
28233
|
exports.blueprints = index;
|