vuetify 3.5.2 → 3.5.4
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 +24 -0
- package/dist/json/importMap-labs.json +8 -8
- package/dist/json/importMap.json +118 -118
- package/dist/json/tags.json +6 -0
- package/dist/json/web-types.json +55 -1
- package/dist/vuetify-labs.css +1604 -1586
- package/dist/vuetify-labs.d.ts +132 -12
- package/dist/vuetify-labs.esm.js +50 -23
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +50 -23
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1280 -1262
- package/dist/vuetify.d.ts +167 -47
- package/dist/vuetify.esm.js +50 -23
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +50 -23
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +16 -13
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +12 -0
- package/lib/components/VAvatar/VAvatar.mjs +16 -2
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VBottomSheet/index.d.mts +6 -0
- package/lib/components/VCheckbox/VCheckbox.css +3 -0
- package/lib/components/VCheckbox/VCheckbox.sass +3 -0
- package/lib/components/VCheckbox/_variables.scss +3 -0
- package/lib/components/VChip/VChip.css +0 -1
- package/lib/components/VChip/VChip.mjs +2 -1
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/VChip.sass +0 -1
- package/lib/components/VColorPicker/VColorPicker.mjs +24 -12
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +12 -0
- package/lib/components/VDatePicker/VDatePicker.mjs +1 -1
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VDialog/index.d.mts +21 -3
- package/lib/components/VList/VListItem.css +19 -6
- package/lib/components/VList/VListItem.sass +16 -3
- package/lib/components/VList/_variables.scss +6 -4
- package/lib/components/VMenu/index.d.mts +21 -3
- package/lib/components/VOverlay/VOverlay.css +1 -1
- package/lib/components/VOverlay/VOverlay.mjs +4 -2
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/_variables.scss +1 -1
- package/lib/components/VOverlay/index.d.mts +6 -0
- package/lib/components/VSelect/index.d.mts +12 -0
- package/lib/components/VSnackbar/VSnackbar.mjs +1 -2
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +21 -3
- package/lib/components/VSwitch/VSwitch.css +3 -0
- package/lib/components/VSwitch/VSwitch.sass +3 -0
- package/lib/components/VSwitch/_variables.scss +1 -0
- package/lib/components/VTooltip/index.d.mts +21 -3
- package/lib/components/index.d.mts +132 -12
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +35 -35
- package/lib/labs/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs +1 -1
- package/lib/labs/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs.map +1 -1
- package/package.json +2 -2
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.5.
|
|
2
|
+
* Vuetify v3.5.4
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -5880,7 +5880,7 @@ const VAvatar = genericComponent()({
|
|
|
5880
5880
|
}, themeClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class],
|
|
5881
5881
|
"style": [colorStyles.value, sizeStyles.value, props.style]
|
|
5882
5882
|
}, {
|
|
5883
|
-
default: () => [props.image ? createVNode(VImg, {
|
|
5883
|
+
default: () => [!slots.default ? props.image ? createVNode(VImg, {
|
|
5884
5884
|
"key": "image",
|
|
5885
5885
|
"src": props.image,
|
|
5886
5886
|
"alt": "",
|
|
@@ -5888,7 +5888,20 @@ const VAvatar = genericComponent()({
|
|
|
5888
5888
|
}, null) : props.icon ? createVNode(VIcon, {
|
|
5889
5889
|
"key": "icon",
|
|
5890
5890
|
"icon": props.icon
|
|
5891
|
-
}, null) :
|
|
5891
|
+
}, null) : props.text : createVNode(VDefaultsProvider, {
|
|
5892
|
+
"key": "content-defaults",
|
|
5893
|
+
"defaults": {
|
|
5894
|
+
VImg: {
|
|
5895
|
+
cover: true,
|
|
5896
|
+
image: props.image
|
|
5897
|
+
},
|
|
5898
|
+
VIcon: {
|
|
5899
|
+
icon: props.icon
|
|
5900
|
+
}
|
|
5901
|
+
}
|
|
5902
|
+
}, {
|
|
5903
|
+
default: () => [slots.default()]
|
|
5904
|
+
}), genOverlays(false, 'v-avatar')]
|
|
5892
5905
|
}));
|
|
5893
5906
|
return {};
|
|
5894
5907
|
}
|
|
@@ -7637,7 +7650,8 @@ const VChip = genericComponent()({
|
|
|
7637
7650
|
}
|
|
7638
7651
|
}
|
|
7639
7652
|
}, slots.prepend)]), createVNode("div", {
|
|
7640
|
-
"class": "v-chip__content"
|
|
7653
|
+
"class": "v-chip__content",
|
|
7654
|
+
"data-no-activator": ""
|
|
7641
7655
|
}, [slots.default?.({
|
|
7642
7656
|
isSelected: group?.isSelected.value,
|
|
7643
7657
|
selectedClass: group?.selectedClass.value,
|
|
@@ -10173,6 +10187,7 @@ const makeVOverlayProps = propsFactory({
|
|
|
10173
10187
|
contentClass: null,
|
|
10174
10188
|
contentProps: null,
|
|
10175
10189
|
disabled: Boolean,
|
|
10190
|
+
opacity: [Number, String],
|
|
10176
10191
|
noClickAnimation: Boolean,
|
|
10177
10192
|
modelValue: Boolean,
|
|
10178
10193
|
persistent: Boolean,
|
|
@@ -10359,7 +10374,7 @@ const VOverlay = genericComponent()({
|
|
|
10359
10374
|
ref: activatorRef,
|
|
10360
10375
|
targetRef
|
|
10361
10376
|
}, activatorEvents.value, props.activatorProps)
|
|
10362
|
-
}),
|
|
10377
|
+
}), isMounted.value && hasContent.value && createVNode(Teleport, {
|
|
10363
10378
|
"disabled": !teleportTarget.value,
|
|
10364
10379
|
"to": teleportTarget.value
|
|
10365
10380
|
}, {
|
|
@@ -10370,12 +10385,13 @@ const VOverlay = genericComponent()({
|
|
|
10370
10385
|
'v-overlay--contained': props.contained
|
|
10371
10386
|
}, themeClasses.value, rtlClasses.value, props.class],
|
|
10372
10387
|
"style": [stackStyles.value, {
|
|
10388
|
+
'--v-overlay-opacity': props.opacity,
|
|
10373
10389
|
top: convertToUnit(top.value)
|
|
10374
10390
|
}, props.style],
|
|
10375
10391
|
"ref": root
|
|
10376
10392
|
}, scopeId, attrs), [createVNode(Scrim, mergeProps({
|
|
10377
10393
|
"color": scrimColor,
|
|
10378
|
-
"modelValue":
|
|
10394
|
+
"modelValue": isActive.value && !!props.scrim
|
|
10379
10395
|
}, scrimEvents.value), null), createVNode(MaybeTransition, {
|
|
10380
10396
|
"appear": true,
|
|
10381
10397
|
"persisted": true,
|
|
@@ -14222,7 +14238,7 @@ const VColorPickerCanvas = defineComponent({
|
|
|
14222
14238
|
ctx.fillStyle = saturationGradient;
|
|
14223
14239
|
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
|
14224
14240
|
const valueGradient = ctx.createLinearGradient(0, 0, 0, canvas.height);
|
|
14225
|
-
valueGradient.addColorStop(0, 'hsla(0, 0%,
|
|
14241
|
+
valueGradient.addColorStop(0, 'hsla(0, 0%, 0%, 0)'); // transparent
|
|
14226
14242
|
valueGradient.addColorStop(1, 'hsla(0, 0%, 0%, 1)'); // black
|
|
14227
14243
|
ctx.fillStyle = valueGradient;
|
|
14228
14244
|
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
|
@@ -15786,8 +15802,8 @@ const VColorPicker = defineComponent({
|
|
|
15786
15802
|
},
|
|
15787
15803
|
setup(props) {
|
|
15788
15804
|
const mode = useProxiedModel(props, 'mode');
|
|
15789
|
-
const
|
|
15790
|
-
const
|
|
15805
|
+
const hue = ref(null);
|
|
15806
|
+
const model = useProxiedModel(props, 'modelValue', undefined, v => {
|
|
15791
15807
|
if (v == null || v === '') return null;
|
|
15792
15808
|
let c;
|
|
15793
15809
|
try {
|
|
@@ -15796,24 +15812,36 @@ const VColorPicker = defineComponent({
|
|
|
15796
15812
|
consoleWarn(err);
|
|
15797
15813
|
return null;
|
|
15798
15814
|
}
|
|
15799
|
-
if (lastPickedColor.value) {
|
|
15800
|
-
c = {
|
|
15801
|
-
...c,
|
|
15802
|
-
h: lastPickedColor.value.h
|
|
15803
|
-
};
|
|
15804
|
-
lastPickedColor.value = null;
|
|
15805
|
-
}
|
|
15806
15815
|
return c;
|
|
15807
15816
|
}, v => {
|
|
15808
15817
|
if (!v) return null;
|
|
15809
15818
|
return extractColor(v, props.modelValue);
|
|
15810
15819
|
});
|
|
15820
|
+
const currentColor = computed(() => {
|
|
15821
|
+
return model.value ? {
|
|
15822
|
+
...model.value,
|
|
15823
|
+
h: hue.value ?? model.value.h
|
|
15824
|
+
} : null;
|
|
15825
|
+
});
|
|
15811
15826
|
const {
|
|
15812
15827
|
rtlClasses
|
|
15813
15828
|
} = useRtl();
|
|
15829
|
+
let externalChange = true;
|
|
15830
|
+
watch(model, v => {
|
|
15831
|
+
if (!externalChange) {
|
|
15832
|
+
// prevent hue shift from rgb conversion inaccuracy
|
|
15833
|
+
externalChange = true;
|
|
15834
|
+
return;
|
|
15835
|
+
}
|
|
15836
|
+
if (!v) return;
|
|
15837
|
+
hue.value = v.h;
|
|
15838
|
+
}, {
|
|
15839
|
+
immediate: true
|
|
15840
|
+
});
|
|
15814
15841
|
const updateColor = hsva => {
|
|
15815
|
-
|
|
15816
|
-
|
|
15842
|
+
externalChange = false;
|
|
15843
|
+
hue.value = hsva.h;
|
|
15844
|
+
model.value = hsva;
|
|
15817
15845
|
};
|
|
15818
15846
|
onMounted(() => {
|
|
15819
15847
|
if (!props.modes.includes(mode.value)) mode.value = props.modes[0];
|
|
@@ -20857,7 +20885,7 @@ const VDatePicker = genericComponent()({
|
|
|
20857
20885
|
return props.multiple && model.value.length > 1 ? t('$vuetify.datePicker.itemsSelected', model.value.length) : model.value[0] && adapter.isValid(model.value[0]) ? adapter.format(model.value[0], 'normalDateWithWeekday') : t(props.header);
|
|
20858
20886
|
});
|
|
20859
20887
|
const text = computed(() => {
|
|
20860
|
-
return adapter.format(adapter.
|
|
20888
|
+
return adapter.format(adapter.date(new Date(year.value, month.value, 1)), 'monthAndYear');
|
|
20861
20889
|
});
|
|
20862
20890
|
// const headerIcon = computed(() => props.inputMode === 'calendar' ? props.keyboardIcon : props.calendarIcon)
|
|
20863
20891
|
const headerTransition = computed(() => `date-picker-header${isReversing.value ? '-reverse' : ''}-transition`);
|
|
@@ -23791,12 +23819,11 @@ const VSnackbar = genericComponent()({
|
|
|
23791
23819
|
"scrollStrategy": "none",
|
|
23792
23820
|
"_disableGlobalStack": true
|
|
23793
23821
|
}, scopeId), {
|
|
23794
|
-
default: () => [genOverlays(false, 'v-snackbar'), props.timer && createVNode("div", {
|
|
23822
|
+
default: () => [genOverlays(false, 'v-snackbar'), props.timer && !isHovering.value && createVNode("div", {
|
|
23795
23823
|
"key": "timer",
|
|
23796
23824
|
"class": "v-snackbar__timer"
|
|
23797
23825
|
}, [createVNode(VProgressLinear, {
|
|
23798
23826
|
"ref": timerRef,
|
|
23799
|
-
"active": !isHovering.value,
|
|
23800
23827
|
"color": typeof props.timer === 'string' ? props.timer : 'info',
|
|
23801
23828
|
"max": props.timeout,
|
|
23802
23829
|
"model-value": countdown.time.value
|
|
@@ -25646,7 +25673,7 @@ function createVuetify$1() {
|
|
|
25646
25673
|
goTo
|
|
25647
25674
|
};
|
|
25648
25675
|
}
|
|
25649
|
-
const version$1 = "3.5.
|
|
25676
|
+
const version$1 = "3.5.4";
|
|
25650
25677
|
createVuetify$1.version = version$1;
|
|
25651
25678
|
|
|
25652
25679
|
// Vue's inject() can only be used in setup
|
|
@@ -25671,7 +25698,7 @@ const createVuetify = function () {
|
|
|
25671
25698
|
...options
|
|
25672
25699
|
});
|
|
25673
25700
|
};
|
|
25674
|
-
const version = "3.5.
|
|
25701
|
+
const version = "3.5.4";
|
|
25675
25702
|
createVuetify.version = version;
|
|
25676
25703
|
|
|
25677
25704
|
export { components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|