@vuetify/nightly 3.3.9-master.2023-07-19 → 3.3.9-master.2023-07-21
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 +10 -2
- package/dist/json/web-types.json +1 -1
- package/dist/vuetify-labs.css +2240 -2242
- package/dist/vuetify-labs.d.ts +2 -1
- package/dist/vuetify-labs.esm.js +40 -9
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +40 -9
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +6 -8
- package/dist/vuetify.d.ts +2 -1
- package/dist/vuetify.esm.js +40 -9
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +40 -9
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +23 -17
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +9 -0
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/sticky.mjs +1 -1
- package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.css +1 -0
- package/lib/components/VSelect/VSelect.mjs +13 -5
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.sass +1 -0
- package/lib/components/VTextarea/VTextarea.css +0 -3
- package/lib/components/VTextarea/VTextarea.sass +0 -4
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/forwardRefs.mjs +14 -0
- package/lib/composables/forwardRefs.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +2 -1
- package/package.json +1 -1
package/dist/vuetify.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.3.9-master.2023-07-
|
|
2
|
+
* Vuetify v3.3.9-master.2023-07-21
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -21272,6 +21272,7 @@ html.v-overlay-scroll-blocked {
|
|
|
21272
21272
|
width: 100%;
|
|
21273
21273
|
transition: none;
|
|
21274
21274
|
pointer-events: none;
|
|
21275
|
+
caret-color: transparent;
|
|
21275
21276
|
}
|
|
21276
21277
|
.v-select .v-field--dirty .v-select__selection {
|
|
21277
21278
|
margin-inline-end: 2px;
|
|
@@ -21959,9 +21960,6 @@ html.v-overlay-scroll-blocked {
|
|
|
21959
21960
|
min-height: 0 !important;
|
|
21960
21961
|
pointer-events: none;
|
|
21961
21962
|
}
|
|
21962
|
-
.v-textarea--auto-grow .v-field__input {
|
|
21963
|
-
overflow: hidden;
|
|
21964
|
-
}
|
|
21965
21963
|
.v-textarea--no-resize .v-field__input {
|
|
21966
21964
|
resize: none;
|
|
21967
21965
|
}
|
|
@@ -22064,7 +22062,10 @@ html.v-overlay-scroll-blocked {
|
|
|
22064
22062
|
padding-top: calc(var(--v-field-padding-top--plain-underlined) + var(--v-input-padding-top));
|
|
22065
22063
|
}
|
|
22066
22064
|
|
|
22067
|
-
/* endregion */.v-
|
|
22065
|
+
/* endregion */.v-theme-provider {
|
|
22066
|
+
background: rgb(var(--v-theme-background));
|
|
22067
|
+
color: rgb(var(--v-theme-on-background));
|
|
22068
|
+
}.v-timeline .v-timeline-divider__dot {
|
|
22068
22069
|
background: rgb(var(--v-theme-on-surface-variant));
|
|
22069
22070
|
}
|
|
22070
22071
|
.v-timeline .v-timeline-divider__inner-dot {
|
|
@@ -22643,9 +22644,6 @@ html.v-overlay-scroll-blocked {
|
|
|
22643
22644
|
}
|
|
22644
22645
|
.v-toolbar-items > .v-btn {
|
|
22645
22646
|
border-radius: 0;
|
|
22646
|
-
}.v-theme-provider {
|
|
22647
|
-
background: rgb(var(--v-theme-background));
|
|
22648
|
-
color: rgb(var(--v-theme-on-background));
|
|
22649
22647
|
}.v-tooltip > .v-overlay__content {
|
|
22650
22648
|
background: rgba(var(--v-theme-surface-variant), 0.7);
|
|
22651
22649
|
color: rgb(var(--v-theme-on-surface-variant));
|
package/dist/vuetify.d.ts
CHANGED
|
@@ -219,7 +219,8 @@ type DefaultsInstance = undefined | {
|
|
|
219
219
|
global?: Record<string, unknown>;
|
|
220
220
|
};
|
|
221
221
|
type DefaultsOptions = Partial<DefaultsInstance>;
|
|
222
|
-
declare function useDefaults
|
|
222
|
+
declare function useDefaults<T extends Record<string, any>>(props: T, name?: string): T;
|
|
223
|
+
declare function useDefaults(props?: undefined, name?: string): Record<string, any>;
|
|
223
224
|
|
|
224
225
|
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
|
225
226
|
declare const IconValue: PropType<IconValue>;
|
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.3.9-master.2023-07-
|
|
2
|
+
* Vuetify v3.3.9-master.2023-07-21
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -9714,6 +9714,20 @@ function forwardRefs(target) {
|
|
|
9714
9714
|
}
|
|
9715
9715
|
return false;
|
|
9716
9716
|
},
|
|
9717
|
+
set(target, key, value) {
|
|
9718
|
+
if (Reflect.has(target, key)) {
|
|
9719
|
+
return Reflect.set(target, key, value);
|
|
9720
|
+
}
|
|
9721
|
+
|
|
9722
|
+
// Skip internal properties
|
|
9723
|
+
if (typeof key === 'symbol' || key.startsWith('__')) return false;
|
|
9724
|
+
for (const ref of refs) {
|
|
9725
|
+
if (ref.value && Reflect.has(ref.value, key)) {
|
|
9726
|
+
return Reflect.set(ref.value, key, value);
|
|
9727
|
+
}
|
|
9728
|
+
}
|
|
9729
|
+
return false;
|
|
9730
|
+
},
|
|
9717
9731
|
getOwnPropertyDescriptor(target, key) {
|
|
9718
9732
|
const descriptor = Reflect.getOwnPropertyDescriptor(target, key);
|
|
9719
9733
|
if (descriptor) return descriptor;
|
|
@@ -10804,7 +10818,7 @@ const VSelect = genericComponent()({
|
|
|
10804
10818
|
menu.value = !menu.value;
|
|
10805
10819
|
}
|
|
10806
10820
|
function onKeydown(e) {
|
|
10807
|
-
if (props.readonly || form?.isReadonly.value) return;
|
|
10821
|
+
if (!e.key || props.readonly || form?.isReadonly.value) return;
|
|
10808
10822
|
if (['Enter', ' ', 'ArrowDown', 'ArrowUp', 'Home', 'End'].includes(e.key)) {
|
|
10809
10823
|
e.preventDefault();
|
|
10810
10824
|
}
|
|
@@ -10868,6 +10882,16 @@ const VSelect = genericComponent()({
|
|
|
10868
10882
|
function onFocusin(e) {
|
|
10869
10883
|
isFocused.value = true;
|
|
10870
10884
|
}
|
|
10885
|
+
function onModelUpdate(v) {
|
|
10886
|
+
if (v == null) model.value = [];else if (vTextFieldRef.value?.matches(':autofill') || vTextFieldRef.value?.matches(':-webkit-autofill')) {
|
|
10887
|
+
const item = items.value.find(item => item.title === v);
|
|
10888
|
+
if (item) {
|
|
10889
|
+
select(item);
|
|
10890
|
+
}
|
|
10891
|
+
} else if (vTextFieldRef.value) {
|
|
10892
|
+
vTextFieldRef.value.value = '';
|
|
10893
|
+
}
|
|
10894
|
+
}
|
|
10871
10895
|
useRender(() => {
|
|
10872
10896
|
const hasChips = !!(props.chips || slots.chip);
|
|
10873
10897
|
const hasList = !!(!props.hideNoData || displayItems.value.length || slots['prepend-item'] || slots['append-item'] || slots['no-data']);
|
|
@@ -10878,9 +10902,7 @@ const VSelect = genericComponent()({
|
|
|
10878
10902
|
"ref": vTextFieldRef
|
|
10879
10903
|
}, textFieldProps, {
|
|
10880
10904
|
"modelValue": model.value.map(v => v.props.value).join(', '),
|
|
10881
|
-
"onUpdate:modelValue":
|
|
10882
|
-
if (v == null) model.value = [];
|
|
10883
|
-
},
|
|
10905
|
+
"onUpdate:modelValue": onModelUpdate,
|
|
10884
10906
|
"focused": isFocused.value,
|
|
10885
10907
|
"onUpdate:focused": $event => isFocused.value = $event,
|
|
10886
10908
|
"validationValue": model.externalValue,
|
|
@@ -10893,7 +10915,7 @@ const VSelect = genericComponent()({
|
|
|
10893
10915
|
'v-select--selection-slot': !!slots.selection
|
|
10894
10916
|
}, props.class],
|
|
10895
10917
|
"style": props.style,
|
|
10896
|
-
"
|
|
10918
|
+
"inputmode": "none",
|
|
10897
10919
|
"placeholder": placeholder,
|
|
10898
10920
|
"onClick:clear": onClear,
|
|
10899
10921
|
"onMousedown:control": onMousedownControl,
|
|
@@ -11315,6 +11337,14 @@ const VAutocomplete = genericComponent()({
|
|
|
11315
11337
|
function onInput(e) {
|
|
11316
11338
|
search.value = e.target.value;
|
|
11317
11339
|
}
|
|
11340
|
+
function onChange(e) {
|
|
11341
|
+
if (vTextFieldRef.value?.matches(':autofill') || vTextFieldRef.value?.matches(':-webkit-autofill')) {
|
|
11342
|
+
const item = items.value.find(item => item.title === e.target.value);
|
|
11343
|
+
if (item) {
|
|
11344
|
+
select(item);
|
|
11345
|
+
}
|
|
11346
|
+
}
|
|
11347
|
+
}
|
|
11318
11348
|
function onAfterLeave() {
|
|
11319
11349
|
if (isFocused.value) {
|
|
11320
11350
|
isPristine.value = true;
|
|
@@ -11394,6 +11424,7 @@ const VAutocomplete = genericComponent()({
|
|
|
11394
11424
|
"validationValue": model.externalValue,
|
|
11395
11425
|
"dirty": isDirty,
|
|
11396
11426
|
"onInput": onInput,
|
|
11427
|
+
"onChange": onChange,
|
|
11397
11428
|
"class": ['v-autocomplete', `v-autocomplete--${props.multiple ? 'multiple' : 'single'}`, {
|
|
11398
11429
|
'v-autocomplete--active-menu': menu.value,
|
|
11399
11430
|
'v-autocomplete--chips': !!props.chips,
|
|
@@ -16383,7 +16414,7 @@ function useSticky(_ref) {
|
|
|
16383
16414
|
});
|
|
16384
16415
|
});
|
|
16385
16416
|
onBeforeUnmount(() => {
|
|
16386
|
-
|
|
16417
|
+
window.removeEventListener('scroll', onScroll);
|
|
16387
16418
|
});
|
|
16388
16419
|
let lastScrollTop = 0;
|
|
16389
16420
|
function onScroll() {
|
|
@@ -20179,7 +20210,7 @@ function createVuetify$1() {
|
|
|
20179
20210
|
date
|
|
20180
20211
|
};
|
|
20181
20212
|
}
|
|
20182
|
-
const version$1 = "3.3.9-master.2023-07-
|
|
20213
|
+
const version$1 = "3.3.9-master.2023-07-21";
|
|
20183
20214
|
createVuetify$1.version = version$1;
|
|
20184
20215
|
|
|
20185
20216
|
// Vue's inject() can only be used in setup
|
|
@@ -20204,7 +20235,7 @@ const createVuetify = function () {
|
|
|
20204
20235
|
...options
|
|
20205
20236
|
});
|
|
20206
20237
|
};
|
|
20207
|
-
const version = "3.3.9-master.2023-07-
|
|
20238
|
+
const version = "3.3.9-master.2023-07-21";
|
|
20208
20239
|
createVuetify.version = version;
|
|
20209
20240
|
|
|
20210
20241
|
export { components, createVuetify, directives, useDefaults, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
|