@vuetify/nightly 3.1.7-dev-20230224.0 → 3.1.7
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 +6 -4
- package/dist/json/attributes.json +561 -33
- package/dist/json/importMap.json +52 -52
- package/dist/json/tags.json +136 -2
- package/dist/json/web-types.json +2160 -86
- package/dist/vuetify-labs.css +235 -231
- package/dist/vuetify-labs.d.ts +3453 -145
- package/dist/vuetify-labs.esm.js +56 -16
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +56 -16
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +5 -1
- package/dist/vuetify.d.ts +1931 -81
- package/dist/vuetify.esm.js +38 -9
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +38 -9
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +12 -9
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.ts +22 -0
- package/lib/components/VApp/index.d.ts +6 -0
- package/lib/components/VAppBar/index.d.ts +36 -0
- package/lib/components/VAutocomplete/index.d.ts +117 -6
- package/lib/components/VAvatar/index.d.ts +6 -0
- package/lib/components/VBadge/index.d.ts +8 -0
- package/lib/components/VBanner/index.d.ts +24 -0
- package/lib/components/VBottomNavigation/index.d.ts +6 -0
- package/lib/components/VBreadcrumbs/index.d.ts +28 -4
- package/lib/components/VBtn/index.d.ts +12 -0
- package/lib/components/VBtnGroup/index.d.ts +6 -0
- package/lib/components/VBtnToggle/index.d.ts +6 -0
- package/lib/components/VCard/index.d.ts +60 -0
- package/lib/components/VCarousel/index.d.ts +60 -0
- package/lib/components/VCheckbox/index.d.ts +38 -0
- package/lib/components/VChip/index.d.ts +12 -0
- package/lib/components/VChipGroup/index.d.ts +6 -0
- package/lib/components/VCode/index.d.ts +6 -0
- package/lib/components/VCombobox/index.d.ts +117 -6
- package/lib/components/VCounter/index.d.ts +24 -0
- package/lib/components/VDefaultsProvider/index.d.ts +6 -0
- package/lib/components/VDialog/index.d.ts +64 -1
- package/lib/components/VDivider/index.d.ts +6 -0
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.ts +49 -12
- package/lib/components/VField/index.d.ts +20 -6
- package/lib/components/VFileInput/index.d.ts +43 -1
- package/lib/components/VFooter/index.d.ts +6 -0
- package/lib/components/VForm/index.d.ts +6 -0
- package/lib/components/VGrid/index.d.ts +24 -0
- package/lib/components/VHover/index.d.ts +12 -0
- package/lib/components/VIcon/index.d.ts +12 -0
- package/lib/components/VImg/index.d.ts +12 -0
- package/lib/components/VInput/index.d.ts +12 -0
- package/lib/components/VItemGroup/index.d.ts +12 -0
- package/lib/components/VKbd/index.d.ts +6 -0
- package/lib/components/VLabel/index.d.ts +6 -0
- package/lib/components/VLayout/index.d.ts +12 -0
- package/lib/components/VLazy/index.d.ts +6 -0
- package/lib/components/VList/index.d.ts +77 -6
- package/lib/components/VLocaleProvider/index.d.ts +6 -0
- package/lib/components/VMain/index.d.ts +6 -0
- package/lib/components/VMenu/index.d.ts +64 -1
- package/lib/components/VMessages/index.d.ts +24 -0
- package/lib/components/VNavigationDrawer/index.d.ts +12 -0
- package/lib/components/VNoSsr/index.d.ts +6 -0
- package/lib/components/VOverlay/index.d.ts +18 -0
- package/lib/components/VPagination/index.d.ts +14 -0
- package/lib/components/VParallax/index.d.ts +12 -0
- package/lib/components/VProgressCircular/index.d.ts +6 -0
- package/lib/components/VProgressLinear/index.d.ts +12 -0
- package/lib/components/VRadio/index.d.ts +16 -0
- package/lib/components/VRadioGroup/index.d.ts +22 -0
- package/lib/components/VRangeSlider/index.d.ts +16 -0
- package/lib/components/VRating/VRating.css +4 -0
- package/lib/components/VRating/VRating.mjs +35 -6
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/VRating.sass +5 -0
- package/lib/components/VRating/index.d.ts +8 -1
- package/lib/components/VResponsive/index.d.ts +8 -0
- package/lib/components/VSelect/index.d.ts +183 -6
- package/lib/components/VSelectionControl/index.d.ts +14 -6
- package/lib/components/VSelectionControlGroup/index.d.ts +6 -0
- package/lib/components/VSheet/index.d.ts +6 -0
- package/lib/components/VSlideGroup/index.d.ts +26 -0
- package/lib/components/VSlider/index.d.ts +16 -0
- package/lib/components/VSnackbar/index.d.ts +44 -1
- package/lib/components/VSwitch/index.d.ts +22 -0
- package/lib/components/VSystemBar/index.d.ts +6 -0
- package/lib/components/VTable/index.d.ts +12 -0
- package/lib/components/VTabs/index.d.ts +12 -0
- package/lib/components/VTextField/index.d.ts +54 -6
- package/lib/components/VTextarea/index.d.ts +39 -1
- package/lib/components/VThemeProvider/index.d.ts +6 -0
- package/lib/components/VTimeline/index.d.ts +16 -0
- package/lib/components/VToolbar/index.d.ts +30 -0
- package/lib/components/VTooltip/index.d.ts +46 -1
- package/lib/components/VValidation/index.d.ts +6 -0
- package/lib/components/VWindow/index.d.ts +34 -0
- package/lib/components/index.d.ts +1916 -66
- package/lib/components/transitions/index.d.ts +96 -0
- 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 +15 -15
- package/lib/labs/VDataTable/VDataTableRows.mjs +4 -6
- package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.ts +1503 -48
- package/lib/labs/VVirtualScroll/VVirtualScroll.mjs +15 -2
- package/lib/labs/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/labs/VVirtualScroll/index.d.ts +9 -6
- package/lib/labs/components.d.ts +1512 -54
- package/lib/util/defineComponent.mjs.map +1 -1
- package/package.json +2 -1
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.1.7
|
|
2
|
+
* Vuetify v3.1.7
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -16232,6 +16232,9 @@ const VRating = genericComponent()({
|
|
|
16232
16232
|
const range = computed(() => createRange(Number(props.length), 1));
|
|
16233
16233
|
const increments = computed(() => range.value.flatMap(v => props.halfIncrements ? [v - 0.5, v] : [v]));
|
|
16234
16234
|
const hoverIndex = ref(-1);
|
|
16235
|
+
const focusIndex = ref(-1);
|
|
16236
|
+
const firstRef = ref();
|
|
16237
|
+
let isClicking = false;
|
|
16235
16238
|
const itemState = computed(() => increments.value.map(value => {
|
|
16236
16239
|
const isHovering = props.hover && hoverIndex.value > -1;
|
|
16237
16240
|
const isFilled = normalizedValue.value >= value;
|
|
@@ -16254,6 +16257,16 @@ const VRating = genericComponent()({
|
|
|
16254
16257
|
function onMouseleave() {
|
|
16255
16258
|
hoverIndex.value = -1;
|
|
16256
16259
|
}
|
|
16260
|
+
function onFocus() {
|
|
16261
|
+
if (value === 0 && normalizedValue.value === 0) {
|
|
16262
|
+
firstRef.value?.focus();
|
|
16263
|
+
} else {
|
|
16264
|
+
focusIndex.value = value;
|
|
16265
|
+
}
|
|
16266
|
+
}
|
|
16267
|
+
function onBlur() {
|
|
16268
|
+
if (!isClicking) focusIndex.value = -1;
|
|
16269
|
+
}
|
|
16257
16270
|
function onClick() {
|
|
16258
16271
|
if (props.disabled || props.readonly) return;
|
|
16259
16272
|
rating.value = normalizedValue.value === value && props.clearable ? 0 : value;
|
|
@@ -16261,9 +16274,17 @@ const VRating = genericComponent()({
|
|
|
16261
16274
|
return {
|
|
16262
16275
|
onMouseenter: props.hover ? onMouseenter : undefined,
|
|
16263
16276
|
onMouseleave: props.hover ? onMouseleave : undefined,
|
|
16277
|
+
onFocus,
|
|
16278
|
+
onBlur,
|
|
16264
16279
|
onClick
|
|
16265
16280
|
};
|
|
16266
16281
|
}));
|
|
16282
|
+
function onMousedown() {
|
|
16283
|
+
isClicking = true;
|
|
16284
|
+
}
|
|
16285
|
+
function onMouseup() {
|
|
16286
|
+
isClicking = false;
|
|
16287
|
+
}
|
|
16267
16288
|
const name = computed(() => props.name ?? `v-rating-${getUid()}`);
|
|
16268
16289
|
function VRatingItem(_ref2) {
|
|
16269
16290
|
let {
|
|
@@ -16274,6 +16295,8 @@ const VRating = genericComponent()({
|
|
|
16274
16295
|
const {
|
|
16275
16296
|
onMouseenter,
|
|
16276
16297
|
onMouseleave,
|
|
16298
|
+
onFocus,
|
|
16299
|
+
onBlur,
|
|
16277
16300
|
onClick
|
|
16278
16301
|
} = eventState.value[index + 1];
|
|
16279
16302
|
const id = `${name.value}-${String(value).replace('.', '-')}`;
|
|
@@ -16284,6 +16307,7 @@ const VRating = genericComponent()({
|
|
|
16284
16307
|
icon: itemState.value[index]?.icon,
|
|
16285
16308
|
ripple: props.ripple,
|
|
16286
16309
|
size: props.size,
|
|
16310
|
+
tag: 'span',
|
|
16287
16311
|
variant: 'plain'
|
|
16288
16312
|
};
|
|
16289
16313
|
return createVNode(Fragment, null, [createVNode("label", {
|
|
@@ -16292,17 +16316,17 @@ const VRating = genericComponent()({
|
|
|
16292
16316
|
'v-rating__item--half': props.halfIncrements && value % 1 > 0,
|
|
16293
16317
|
'v-rating__item--full': props.halfIncrements && value % 1 === 0
|
|
16294
16318
|
},
|
|
16319
|
+
"onMousedown": onMousedown,
|
|
16320
|
+
"onMouseup": onMouseup,
|
|
16295
16321
|
"onMouseenter": onMouseenter,
|
|
16296
|
-
"onMouseleave": onMouseleave
|
|
16297
|
-
"onClick": onClick
|
|
16322
|
+
"onMouseleave": onMouseleave
|
|
16298
16323
|
}, [createVNode("span", {
|
|
16299
16324
|
"class": "v-rating__hidden"
|
|
16300
16325
|
}, [t(props.itemAriaLabel, value, props.length)]), !showStar ? undefined : slots.item ? slots.item({
|
|
16301
16326
|
...itemState.value[index],
|
|
16302
16327
|
props: btnProps,
|
|
16303
16328
|
value,
|
|
16304
|
-
index
|
|
16305
|
-
rating: normalizedValue.value
|
|
16329
|
+
index
|
|
16306
16330
|
}) : createVNode(VBtn, btnProps, null)]), createVNode("input", {
|
|
16307
16331
|
"class": "v-rating__hidden",
|
|
16308
16332
|
"name": name.value,
|
|
@@ -16310,7 +16334,10 @@ const VRating = genericComponent()({
|
|
|
16310
16334
|
"type": "radio",
|
|
16311
16335
|
"value": value,
|
|
16312
16336
|
"checked": normalizedValue.value === value,
|
|
16313
|
-
"
|
|
16337
|
+
"onClick": onClick,
|
|
16338
|
+
"onFocus": onFocus,
|
|
16339
|
+
"onBlur": onBlur,
|
|
16340
|
+
"ref": index === 0 ? firstRef : undefined,
|
|
16314
16341
|
"readonly": props.readonly,
|
|
16315
16342
|
"disabled": props.disabled
|
|
16316
16343
|
}, null)]);
|
|
@@ -16339,7 +16366,9 @@ const VRating = genericComponent()({
|
|
|
16339
16366
|
index: i,
|
|
16340
16367
|
label: props.itemLabels?.[i]
|
|
16341
16368
|
}) : undefined, createVNode("div", {
|
|
16342
|
-
"class":
|
|
16369
|
+
"class": ['v-rating__item', {
|
|
16370
|
+
'v-rating__item--focused': Math.ceil(focusIndex.value) === value
|
|
16371
|
+
}]
|
|
16343
16372
|
}, [props.halfIncrements ? createVNode(Fragment, null, [createVNode(VRatingItem, {
|
|
16344
16373
|
"value": value - 0.5,
|
|
16345
16374
|
"index": i * 2
|
|
@@ -18189,7 +18218,7 @@ function createVuetify$1() {
|
|
|
18189
18218
|
locale
|
|
18190
18219
|
};
|
|
18191
18220
|
}
|
|
18192
|
-
const version$1 = "3.1.7
|
|
18221
|
+
const version$1 = "3.1.7";
|
|
18193
18222
|
createVuetify$1.version = version$1;
|
|
18194
18223
|
|
|
18195
18224
|
// Vue's inject() can only be used in setup
|
|
@@ -18209,7 +18238,7 @@ const createVuetify = function () {
|
|
|
18209
18238
|
...options
|
|
18210
18239
|
});
|
|
18211
18240
|
};
|
|
18212
|
-
const version = "3.1.7
|
|
18241
|
+
const version = "3.1.7";
|
|
18213
18242
|
createVuetify.version = version;
|
|
18214
18243
|
|
|
18215
18244
|
export { components, createVuetify, directives, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
|