@vuetify/nightly 3.7.1-master.2024-09-02 → 3.7.1-master.2024-09-04
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/importMap-labs.json +14 -14
- package/dist/json/importMap.json +118 -118
- package/dist/json/web-types.json +1 -1
- package/dist/vuetify-labs.css +4238 -4235
- package/dist/vuetify-labs.d.ts +999 -999
- package/dist/vuetify-labs.esm.js +42 -55
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +42 -55
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +731 -728
- package/dist/vuetify.d.ts +851 -851
- package/dist/vuetify.esm.js +34 -31
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +34 -31
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +267 -267
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.mts +10 -10
- package/lib/components/VAppBar/index.d.mts +18 -18
- package/lib/components/VAutocomplete/index.d.mts +109 -109
- package/lib/components/VAvatar/index.d.mts +4 -4
- package/lib/components/VBadge/index.d.mts +4 -4
- package/lib/components/VBanner/index.d.mts +14 -14
- package/lib/components/VBottomNavigation/index.d.mts +4 -4
- package/lib/components/VBottomSheet/index.d.mts +11 -11
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +3 -5
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.mts +4 -4
- package/lib/components/VBtn/VBtn.mjs +3 -4
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/index.d.mts +14 -14
- package/lib/components/VBtnGroup/index.d.mts +4 -4
- package/lib/components/VBtnToggle/index.d.mts +4 -4
- package/lib/components/VCard/VCard.mjs +3 -4
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/index.d.mts +14 -14
- package/lib/components/VCarousel/index.d.mts +13 -13
- package/lib/components/VCheckbox/index.d.mts +4 -4
- package/lib/components/VChip/VChip.mjs +2 -3
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/index.d.mts +8 -8
- package/lib/components/VChipGroup/index.d.mts +4 -4
- package/lib/components/VColorPicker/index.d.mts +22 -22
- package/lib/components/VCombobox/index.d.mts +109 -109
- package/lib/components/VDataTable/index.d.mts +14 -14
- package/lib/components/VDatePicker/index.d.mts +12 -12
- package/lib/components/VDialog/VDialog.css +4 -1
- package/lib/components/VDialog/VDialog.mjs +1 -2
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +2 -1
- package/lib/components/VDialog/index.d.mts +50 -50
- package/lib/components/VEmptyState/index.d.mts +8 -8
- package/lib/components/VExpansionPanel/index.d.mts +4 -4
- package/lib/components/VFab/index.d.mts +18 -18
- package/lib/components/VFileInput/index.d.mts +6 -6
- package/lib/components/VFooter/index.d.mts +4 -4
- package/lib/components/VIcon/index.d.mts +4 -4
- package/lib/components/VInput/index.d.mts +2 -2
- package/lib/components/VItemGroup/index.d.mts +4 -4
- package/lib/components/VLabel/index.d.mts +4 -4
- package/lib/components/VList/VListItem.mjs +3 -4
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +23 -23
- package/lib/components/VMenu/index.d.mts +50 -50
- package/lib/components/VMessages/index.d.mts +8 -8
- package/lib/components/VNavigationDrawer/index.d.mts +18 -18
- package/lib/components/VOtpInput/index.d.mts +4 -4
- package/lib/components/VOverlay/index.d.mts +11 -11
- package/lib/components/VPagination/index.d.mts +4 -4
- package/lib/components/VProgressCircular/index.d.mts +4 -4
- package/lib/components/VRadioGroup/index.d.mts +2 -2
- package/lib/components/VRangeSlider/index.d.mts +8 -8
- package/lib/components/VSelect/index.d.mts +109 -109
- package/lib/components/VSheet/index.d.mts +10 -10
- package/lib/components/VSkeletonLoader/index.d.mts +4 -4
- package/lib/components/VSlider/index.d.mts +8 -8
- package/lib/components/VSnackbar/index.d.mts +62 -62
- package/lib/components/VSpeedDial/index.d.mts +11 -11
- package/lib/components/VStepper/index.d.mts +12 -12
- package/lib/components/VSwitch/index.d.mts +2 -2
- package/lib/components/VSystemBar/index.d.mts +4 -4
- package/lib/components/VTabs/index.d.mts +53 -53
- package/lib/components/VTextField/index.d.mts +13 -13
- package/lib/components/VTextarea/index.d.mts +10 -10
- package/lib/components/VTimeline/index.d.mts +4 -4
- package/lib/components/VToolbar/index.d.mts +4 -4
- package/lib/components/VTooltip/index.d.mts +45 -45
- package/lib/components/VWindow/index.d.mts +6 -6
- package/lib/components/index.d.mts +810 -810
- package/lib/composables/directiveComponent.mjs +1 -1
- package/lib/composables/directiveComponent.mjs.map +1 -1
- package/lib/composables/router.mjs +19 -9
- package/lib/composables/router.mjs.map +1 -1
- package/lib/directives/tooltip/index.mjs +1 -1
- package/lib/directives/tooltip/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +41 -41
- package/lib/labs/VDateInput/index.d.mts +12 -12
- package/lib/labs/VNumberInput/index.d.mts +67 -67
- package/lib/labs/VPicker/index.d.mts +10 -10
- package/lib/labs/VSnackbarQueue/index.d.mts +95 -95
- package/lib/labs/VStepperVertical/index.d.mts +6 -6
- package/lib/labs/VTimePicker/VTimePicker.mjs +1 -1
- package/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -2
- package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
- package/lib/labs/VTimePicker/index.d.mts +26 -26
- package/lib/labs/VTimePicker/util.mjs +5 -0
- package/lib/labs/VTimePicker/util.mjs.map +1 -0
- package/lib/labs/VTreeview/index.d.mts +40 -40
- package/lib/labs/components.d.mts +256 -256
- package/package.json +6 -8
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs +0 -21
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +0 -1
- package/lib/components/VDatePicker/util/eventHelpers.mjs +0 -22
- package/lib/components/VDatePicker/util/eventHelpers.mjs.map +0 -1
- package/lib/components/VDatePicker/util/index.mjs +0 -9
- package/lib/components/VDatePicker/util/index.mjs.map +0 -1
- package/lib/components/VDatePicker/util/isDateAllowed.mjs +0 -7
- package/lib/components/VDatePicker/util/isDateAllowed.mjs.map +0 -1
- package/lib/components/VDatePicker/util/monthChange.mjs +0 -18
- package/lib/components/VDatePicker/util/monthChange.mjs.map +0 -1
- package/lib/components/VDatePicker/util/pad.mjs +0 -21
- package/lib/components/VDatePicker/util/pad.mjs.map +0 -1
- package/lib/components/VDatePicker/util/sanitizeDateString.mjs +0 -12
- package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +0 -1
- package/lib/services/goto/easing-patterns.mjs +0 -27
- package/lib/services/goto/easing-patterns.mjs.map +0 -1
- package/lib/services/goto/index.mjs +0 -73
- package/lib/services/goto/index.mjs.map +0 -1
- package/lib/services/goto/util.mjs +0 -39
- package/lib/services/goto/util.mjs.map +0 -1
package/dist/vuetify.esm.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.1-master.2024-09-
|
2
|
+
* Vuetify v3.7.1-master.2024-09-04
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -5389,10 +5389,14 @@ function useLink(props, attrs) {
|
|
5389
5389
|
return isLink?.value || hasEvent(attrs, 'click') || hasEvent(props, 'click');
|
5390
5390
|
});
|
5391
5391
|
if (typeof RouterLink === 'string' || !('useLink' in RouterLink)) {
|
5392
|
+
const href = toRef(props, 'href');
|
5392
5393
|
return {
|
5393
5394
|
isLink,
|
5394
5395
|
isClickable,
|
5395
|
-
href
|
5396
|
+
href,
|
5397
|
+
linkProps: reactive({
|
5398
|
+
href
|
5399
|
+
})
|
5396
5400
|
};
|
5397
5401
|
}
|
5398
5402
|
// vue-router useLink `to` prop needs to be reactive and useLink will crash if undefined
|
@@ -5404,18 +5408,24 @@ function useLink(props, attrs) {
|
|
5404
5408
|
// Actual link needs to be undefined when to prop is not used
|
5405
5409
|
const link = computed(() => props.to ? routerLink : undefined);
|
5406
5410
|
const route = useRoute();
|
5411
|
+
const isActive = computed(() => {
|
5412
|
+
if (!link.value) return false;
|
5413
|
+
if (!props.exact) return link.value.isActive?.value ?? false;
|
5414
|
+
if (!route.value) return link.value.isExactActive?.value ?? false;
|
5415
|
+
return link.value.isExactActive?.value && deepEqual(link.value.route.value.query, route.value.query);
|
5416
|
+
});
|
5417
|
+
const href = computed(() => props.to ? link.value?.route.value.href : props.href);
|
5407
5418
|
return {
|
5408
5419
|
isLink,
|
5409
5420
|
isClickable,
|
5421
|
+
isActive,
|
5410
5422
|
route: link.value?.route,
|
5411
5423
|
navigate: link.value?.navigate,
|
5412
|
-
|
5413
|
-
|
5414
|
-
|
5415
|
-
|
5416
|
-
|
5417
|
-
}),
|
5418
|
-
href: computed(() => props.to ? link.value?.route.value.href : props.href)
|
5424
|
+
href,
|
5425
|
+
linkProps: reactive({
|
5426
|
+
href,
|
5427
|
+
'aria-current': computed(() => isActive.value ? 'page' : undefined)
|
5428
|
+
})
|
5419
5429
|
};
|
5420
5430
|
}
|
5421
5431
|
const makeRouterProps = propsFactory({
|
@@ -5890,7 +5900,7 @@ const VBtn = genericComponent()({
|
|
5890
5900
|
const hasPrepend = !!(props.prependIcon || slots.prepend);
|
5891
5901
|
const hasAppend = !!(props.appendIcon || slots.append);
|
5892
5902
|
const hasIcon = !!(props.icon && props.icon !== true);
|
5893
|
-
return withDirectives(createVNode(Tag, {
|
5903
|
+
return withDirectives(createVNode(Tag, mergeProps({
|
5894
5904
|
"type": Tag === 'a' ? undefined : 'button',
|
5895
5905
|
"class": ['v-btn', group?.selectedClass.value, {
|
5896
5906
|
'v-btn--active': isActive.value,
|
@@ -5907,11 +5917,10 @@ const VBtn = genericComponent()({
|
|
5907
5917
|
"style": [colorStyles.value, dimensionStyles.value, locationStyles.value, sizeStyles.value, props.style],
|
5908
5918
|
"aria-busy": props.loading ? true : undefined,
|
5909
5919
|
"disabled": isDisabled.value || undefined,
|
5910
|
-
"href": link.href.value,
|
5911
5920
|
"tabindex": props.loading || props.readonly ? -1 : undefined,
|
5912
5921
|
"onClick": onClick,
|
5913
5922
|
"value": valueAttr.value
|
5914
|
-
}, {
|
5923
|
+
}, link.linkProps), {
|
5915
5924
|
default: () => [genOverlays(true, 'v-btn'), !props.icon && hasPrepend && createVNode("span", {
|
5916
5925
|
"key": "prepend",
|
5917
5926
|
"class": "v-btn__prepend"
|
@@ -8174,7 +8183,7 @@ const VChip = genericComponent()({
|
|
8174
8183
|
const hasPrependMedia = !!(props.prependIcon || props.prependAvatar);
|
8175
8184
|
const hasPrepend = !!(hasPrependMedia || slots.prepend);
|
8176
8185
|
const hasColor = !group || group.isSelected.value;
|
8177
|
-
return isActive.value && withDirectives(createVNode(Tag, {
|
8186
|
+
return isActive.value && withDirectives(createVNode(Tag, mergeProps({
|
8178
8187
|
"class": ['v-chip', {
|
8179
8188
|
'v-chip--disabled': props.disabled,
|
8180
8189
|
'v-chip--label': props.label,
|
@@ -8185,11 +8194,10 @@ const VChip = genericComponent()({
|
|
8185
8194
|
"style": [hasColor ? colorStyles.value : undefined, props.style],
|
8186
8195
|
"disabled": props.disabled || undefined,
|
8187
8196
|
"draggable": props.draggable,
|
8188
|
-
"href": link.href.value,
|
8189
8197
|
"tabindex": isClickable.value ? 0 : undefined,
|
8190
8198
|
"onClick": onClick,
|
8191
8199
|
"onKeydown": isClickable.value && !isLink.value && onKeyDown
|
8192
|
-
}, {
|
8200
|
+
}, link.linkProps), {
|
8193
8201
|
default: () => [genOverlays(isClickable.value, 'v-chip'), hasFilter && createVNode(VExpandXTransition, {
|
8194
8202
|
"key": "filter"
|
8195
8203
|
}, {
|
@@ -9234,7 +9242,7 @@ const VListItem = genericComponent()({
|
|
9234
9242
|
if (props.activeColor) {
|
9235
9243
|
deprecate('active-color', ['color', 'base-color']);
|
9236
9244
|
}
|
9237
|
-
return withDirectives(createVNode(Tag, {
|
9245
|
+
return withDirectives(createVNode(Tag, mergeProps({
|
9238
9246
|
"class": ['v-list-item', {
|
9239
9247
|
'v-list-item--active': isActive.value,
|
9240
9248
|
'v-list-item--disabled': props.disabled,
|
@@ -9245,11 +9253,10 @@ const VListItem = genericComponent()({
|
|
9245
9253
|
[`${props.activeClass}`]: props.activeClass && isActive.value
|
9246
9254
|
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, lineClasses.value, roundedClasses.value, variantClasses.value, props.class],
|
9247
9255
|
"style": [colorStyles.value, dimensionStyles.value, props.style],
|
9248
|
-
"href": link.href.value,
|
9249
9256
|
"tabindex": isClickable.value ? list ? -2 : 0 : undefined,
|
9250
9257
|
"onClick": onClick,
|
9251
9258
|
"onKeydown": isClickable.value && !isLink.value && onKeyDown
|
9252
|
-
}, {
|
9259
|
+
}, link.linkProps), {
|
9253
9260
|
default: () => [genOverlays(isClickable.value || isActive.value, 'v-list-item'), hasPrepend && createVNode("div", {
|
9254
9261
|
"key": "prepend",
|
9255
9262
|
"class": "v-list-item__prepend"
|
@@ -14005,8 +14012,7 @@ const VDialog = genericComponent()({
|
|
14005
14012
|
useRender(() => {
|
14006
14013
|
const overlayProps = VOverlay.filterProps(props);
|
14007
14014
|
const activatorProps = mergeProps({
|
14008
|
-
'aria-haspopup': 'dialog'
|
14009
|
-
'aria-expanded': String(isActive.value)
|
14015
|
+
'aria-haspopup': 'dialog'
|
14010
14016
|
}, props.activatorProps);
|
14011
14017
|
const contentProps = mergeProps({
|
14012
14018
|
tabindex: -1
|
@@ -14137,12 +14143,10 @@ const VBreadcrumbsItem = genericComponent()({
|
|
14137
14143
|
"style": [textColorStyles.value, props.style],
|
14138
14144
|
"aria-current": isActive.value ? 'page' : undefined
|
14139
14145
|
}, {
|
14140
|
-
default: () => [!link.isLink.value ? slots.default?.() ?? props.title : createVNode("a", {
|
14146
|
+
default: () => [!link.isLink.value ? slots.default?.() ?? props.title : createVNode("a", mergeProps({
|
14141
14147
|
"class": "v-breadcrumbs-item--link",
|
14142
|
-
"href": link.href.value,
|
14143
|
-
"aria-current": isActive.value ? 'page' : undefined,
|
14144
14148
|
"onClick": link.navigate
|
14145
|
-
}, [slots.default?.() ?? props.title])]
|
14149
|
+
}, link.linkProps), [slots.default?.() ?? props.title])]
|
14146
14150
|
});
|
14147
14151
|
});
|
14148
14152
|
return {};
|
@@ -14518,7 +14522,7 @@ const VCard = genericComponent()({
|
|
14518
14522
|
const hasImage = !!(slots.image || props.image);
|
14519
14523
|
const hasCardItem = hasHeader || hasPrepend || hasAppend;
|
14520
14524
|
const hasText = !!(slots.text || props.text != null);
|
14521
|
-
return withDirectives(createVNode(Tag, {
|
14525
|
+
return withDirectives(createVNode(Tag, mergeProps({
|
14522
14526
|
"class": ['v-card', {
|
14523
14527
|
'v-card--disabled': props.disabled,
|
14524
14528
|
'v-card--flat': props.flat,
|
@@ -14526,10 +14530,9 @@ const VCard = genericComponent()({
|
|
14526
14530
|
'v-card--link': isClickable.value
|
14527
14531
|
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, loaderClasses.value, positionClasses.value, roundedClasses.value, variantClasses.value, props.class],
|
14528
14532
|
"style": [colorStyles.value, dimensionStyles.value, locationStyles.value, props.style],
|
14529
|
-
"href": link.href.value,
|
14530
14533
|
"onClick": isClickable.value && link.navigate,
|
14531
14534
|
"tabindex": props.disabled ? -1 : undefined
|
14532
|
-
}, {
|
14535
|
+
}, link.linkProps), {
|
14533
14536
|
default: () => [hasImage && createVNode("div", {
|
14534
14537
|
"key": "image",
|
14535
14538
|
"class": "v-card__image"
|
@@ -28067,7 +28070,7 @@ function mountComponent(component, props) {
|
|
28067
28070
|
const value = isObject(binding.value) ? binding.value : {};
|
28068
28071
|
|
28069
28072
|
// Get the children from the props or directive value, or the element's children
|
28070
|
-
const children = () => text ?? el.
|
28073
|
+
const children = () => text ?? el.textContent;
|
28071
28074
|
|
28072
28075
|
// If vnode.ctx is the same as the instance, then we're bound to a plain element
|
28073
28076
|
// and need to find the nearest parent component instance to inherit provides from
|
@@ -28125,7 +28128,7 @@ function findComponentParent(vnode, root) {
|
|
28125
28128
|
const Tooltip = useDirectiveComponent(VTooltip, binding => {
|
28126
28129
|
return {
|
28127
28130
|
activator: 'parent',
|
28128
|
-
location: binding.arg?.replace('-', ' ')
|
28131
|
+
location: binding.arg?.replace('-', ' '),
|
28129
28132
|
text: typeof binding.value === 'boolean' ? undefined : binding.value
|
28130
28133
|
};
|
28131
28134
|
});
|
@@ -28231,7 +28234,7 @@ function createVuetify$1() {
|
|
28231
28234
|
goTo
|
28232
28235
|
};
|
28233
28236
|
}
|
28234
|
-
const version$1 = "3.7.1-master.2024-09-
|
28237
|
+
const version$1 = "3.7.1-master.2024-09-04";
|
28235
28238
|
createVuetify$1.version = version$1;
|
28236
28239
|
|
28237
28240
|
// Vue's inject() can only be used in setup
|
@@ -28256,7 +28259,7 @@ const createVuetify = function () {
|
|
28256
28259
|
...options
|
28257
28260
|
});
|
28258
28261
|
};
|
28259
|
-
const version = "3.7.1-master.2024-09-
|
28262
|
+
const version = "3.7.1-master.2024-09-04";
|
28260
28263
|
createVuetify.version = version;
|
28261
28264
|
|
28262
28265
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|