@vuetify/nightly 3.4.0-alpha.1-dev.2023-10-06 → 3.4.0-alpha.1-dev.2023-10-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 +7 -2
- package/dist/json/attributes.json +222 -6
- package/dist/json/importMap-labs.json +24 -24
- package/dist/json/importMap.json +4 -4
- package/dist/json/tags.json +60 -3
- package/dist/json/web-types.json +977 -80
- package/dist/vuetify-labs.css +5351 -5349
- package/dist/vuetify-labs.d.ts +273 -67
- package/dist/vuetify-labs.esm.js +101 -32
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +101 -32
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +5362 -5364
- package/dist/vuetify.d.ts +10 -8
- package/dist/vuetify.esm.js +35 -8
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +35 -8
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +797 -794
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +2 -0
- package/lib/blueprints/md1.d.mts +2 -0
- package/lib/blueprints/md2.d.mts +2 -0
- package/lib/blueprints/md3.d.mts +2 -0
- package/lib/components/VAutocomplete/VAutocomplete.css +8 -10
- package/lib/components/VAutocomplete/VAutocomplete.sass +12 -11
- package/lib/components/VAutocomplete/_variables.scss +4 -2
- package/lib/components/VCard/VCard.css +3 -1
- package/lib/components/VCard/VCard.sass +2 -1
- package/lib/components/VCard/_variables.scss +7 -5
- package/lib/components/VChip/VChip.css +67 -67
- package/lib/components/VChip/_variables.scss +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs +1 -0
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.css +7 -9
- package/lib/components/VCombobox/VCombobox.mjs +3 -3
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.sass +10 -9
- package/lib/components/VCombobox/_variables.scss +1 -0
- package/lib/components/VField/VField.css +35 -16
- package/lib/components/VField/VField.sass +14 -2
- package/lib/components/VField/_variables.scss +6 -3
- package/lib/components/VFileInput/VFileInput.css +6 -4
- package/lib/components/VFileInput/VFileInput.mjs +2 -1
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.sass +10 -4
- package/lib/components/VInput/VInput.css +22 -16
- package/lib/components/VInput/VInput.sass +17 -6
- package/lib/components/VInput/_variables.scss +3 -3
- package/lib/components/VList/VListItem.css +0 -4
- package/lib/components/VList/VListItem.sass +0 -5
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +5 -0
- package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +4 -0
- package/lib/components/VSelect/VSelect.css +0 -4
- package/lib/components/VSelect/VSelect.sass +0 -3
- package/lib/components/VTable/VTable.css +3 -0
- package/lib/components/VTable/VTable.sass +3 -0
- package/lib/components/VTextField/VTextField.css +1 -28
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/VTextField.sass +0 -26
- package/lib/components/VTextarea/VTextarea.mjs +1 -1
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VToolbar/_variables.scss +6 -3
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +10 -8
- package/lib/labs/VDataTable/VDataTable.css +0 -6
- package/lib/labs/VDataTable/VDataTable.sass +0 -1
- package/lib/labs/VDataTable/VDataTableFooter.mjs +12 -4
- package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.mts +48 -48
- package/lib/labs/VDatePicker/VDatePickerMonth.mjs +14 -2
- package/lib/labs/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/labs/VDatePicker/index.d.mts +18 -0
- package/lib/labs/VDateRangePicker/index.d.mts +12 -0
- package/lib/labs/VOtpInput/VOtpInput.css +3 -2
- package/lib/labs/VOtpInput/VOtpInput.mjs +7 -4
- package/lib/labs/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/labs/VOtpInput/VOtpInput.sass +9 -8
- package/lib/labs/VOtpInput/_variables.scss +9 -0
- package/lib/labs/VStepper/VStepper.css +9 -0
- package/lib/labs/VStepper/VStepper.mjs +1 -2
- package/lib/labs/VStepper/VStepper.mjs.map +1 -1
- package/lib/labs/VStepper/VStepper.sass +17 -8
- package/lib/labs/VStepper/VStepperActions.mjs +34 -13
- package/lib/labs/VStepper/VStepperActions.mjs.map +1 -1
- package/lib/labs/VStepper/VStepperItem.mjs.map +1 -1
- package/lib/labs/VStepper/VStepperItem.sass +15 -15
- package/lib/labs/VStepper/_variables.scss +24 -1
- package/lib/labs/VStepper/index.d.mts +205 -19
- package/lib/labs/components.d.mts +271 -67
- package/lib/labs/date/DateAdapter.mjs.map +1 -1
- package/lib/labs/date/adapters/vuetify.d.mts +4 -0
- package/lib/labs/date/adapters/vuetify.mjs +18 -1
- package/lib/labs/date/adapters/vuetify.mjs.map +1 -1
- package/lib/labs/date/index.d.mts +4 -0
- package/lib/locale/de.mjs +20 -20
- package/lib/locale/de.mjs.map +1 -1
- package/lib/locale/nl.mjs +22 -22
- package/lib/locale/nl.mjs.map +1 -1
- package/lib/util/helpers.mjs +4 -0
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify.d.ts
CHANGED
|
@@ -868,6 +868,8 @@ interface DateAdapter<T> {
|
|
|
868
868
|
date(value?: any): T | null;
|
|
869
869
|
format(date: T, formatString: string): string;
|
|
870
870
|
toJsDate(value: T): Date;
|
|
871
|
+
parseISO(date: string): T;
|
|
872
|
+
toISO(date: T): string;
|
|
871
873
|
startOfDay(date: T): T;
|
|
872
874
|
endOfDay(date: T): T;
|
|
873
875
|
startOfMonth(date: T): T;
|
|
@@ -61137,8 +61139,8 @@ declare module '@vue/runtime-core' {
|
|
|
61137
61139
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
|
61138
61140
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
|
61139
61141
|
VRating: typeof import('vuetify/components')['VRating']
|
|
61140
|
-
VSelect: typeof import('vuetify/components')['VSelect']
|
|
61141
61142
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
|
61143
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
|
61142
61144
|
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
|
61143
61145
|
VSheet: typeof import('vuetify/components')['VSheet']
|
|
61144
61146
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
|
@@ -61196,19 +61198,19 @@ declare module '@vue/runtime-core' {
|
|
|
61196
61198
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
|
61197
61199
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
|
61198
61200
|
VBottomSheet: typeof import('vuetify/labs/components')['VBottomSheet']
|
|
61199
|
-
|
|
61200
|
-
VDataTableFooter: typeof import('vuetify/labs/components')['VDataTableFooter']
|
|
61201
|
-
VDataTableRows: typeof import('vuetify/labs/components')['VDataTableRows']
|
|
61202
|
-
VDataTableRow: typeof import('vuetify/labs/components')['VDataTableRow']
|
|
61203
|
-
VDataTableVirtual: typeof import('vuetify/labs/components')['VDataTableVirtual']
|
|
61204
|
-
VDataTableServer: typeof import('vuetify/labs/components')['VDataTableServer']
|
|
61201
|
+
VInfiniteScroll: typeof import('vuetify/labs/components')['VInfiniteScroll']
|
|
61205
61202
|
VDateCard: typeof import('vuetify/labs/components')['VDateCard']
|
|
61206
61203
|
VDatePicker: typeof import('vuetify/labs/components')['VDatePicker']
|
|
61207
61204
|
VDatePickerControls: typeof import('vuetify/labs/components')['VDatePickerControls']
|
|
61208
61205
|
VDatePickerHeader: typeof import('vuetify/labs/components')['VDatePickerHeader']
|
|
61209
61206
|
VDatePickerMonth: typeof import('vuetify/labs/components')['VDatePickerMonth']
|
|
61210
61207
|
VDatePickerYears: typeof import('vuetify/labs/components')['VDatePickerYears']
|
|
61211
|
-
|
|
61208
|
+
VDataTable: typeof import('vuetify/labs/components')['VDataTable']
|
|
61209
|
+
VDataTableFooter: typeof import('vuetify/labs/components')['VDataTableFooter']
|
|
61210
|
+
VDataTableRows: typeof import('vuetify/labs/components')['VDataTableRows']
|
|
61211
|
+
VDataTableRow: typeof import('vuetify/labs/components')['VDataTableRow']
|
|
61212
|
+
VDataTableVirtual: typeof import('vuetify/labs/components')['VDataTableVirtual']
|
|
61213
|
+
VDataTableServer: typeof import('vuetify/labs/components')['VDataTableServer']
|
|
61212
61214
|
VOtpInput: typeof import('vuetify/labs/components')['VOtpInput']
|
|
61213
61215
|
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
|
61214
61216
|
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.4.0-alpha.1-dev.2023-10-
|
|
2
|
+
* Vuetify v3.4.0-alpha.1-dev.2023-10-21
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -237,6 +237,10 @@ function omit(obj, exclude) {
|
|
|
237
237
|
const onRE = /^on[^a-z]/;
|
|
238
238
|
const isOn = key => onRE.test(key);
|
|
239
239
|
const bubblingEvents = ['onAfterscriptexecute', 'onAnimationcancel', 'onAnimationend', 'onAnimationiteration', 'onAnimationstart', 'onAuxclick', 'onBeforeinput', 'onBeforescriptexecute', 'onChange', 'onClick', 'onCompositionend', 'onCompositionstart', 'onCompositionupdate', 'onContextmenu', 'onCopy', 'onCut', 'onDblclick', 'onFocusin', 'onFocusout', 'onFullscreenchange', 'onFullscreenerror', 'onGesturechange', 'onGestureend', 'onGesturestart', 'onGotpointercapture', 'onInput', 'onKeydown', 'onKeypress', 'onKeyup', 'onLostpointercapture', 'onMousedown', 'onMousemove', 'onMouseout', 'onMouseover', 'onMouseup', 'onMousewheel', 'onPaste', 'onPointercancel', 'onPointerdown', 'onPointerenter', 'onPointerleave', 'onPointermove', 'onPointerout', 'onPointerover', 'onPointerup', 'onReset', 'onSelect', 'onSubmit', 'onTouchcancel', 'onTouchend', 'onTouchmove', 'onTouchstart', 'onTransitioncancel', 'onTransitionend', 'onTransitionrun', 'onTransitionstart', 'onWheel'];
|
|
240
|
+
const compositionIgnoreKeys = ['ArrowUp', 'ArrowDown', 'ArrowRight', 'ArrowLeft', 'Enter', 'Escape', 'Tab', ' '];
|
|
241
|
+
function isComposingIgnoreKey(e) {
|
|
242
|
+
return e.isComposing && compositionIgnoreKeys.includes(e.key);
|
|
243
|
+
}
|
|
240
244
|
|
|
241
245
|
/**
|
|
242
246
|
* Filter attributes that should be applied to
|
|
@@ -267,6 +271,10 @@ function padEnd(str, length) {
|
|
|
267
271
|
let char = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';
|
|
268
272
|
return str + char.repeat(Math.max(0, length - str.length));
|
|
269
273
|
}
|
|
274
|
+
function padStart(str, length) {
|
|
275
|
+
let char = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';
|
|
276
|
+
return char.repeat(Math.max(0, length - str.length)) + str;
|
|
277
|
+
}
|
|
270
278
|
function chunk(str) {
|
|
271
279
|
let size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
272
280
|
const chunked = [];
|
|
@@ -10555,7 +10563,7 @@ const VTextField = genericComponent()({
|
|
|
10555
10563
|
"class": ['v-text-field', {
|
|
10556
10564
|
'v-text-field--prefixed': props.prefix,
|
|
10557
10565
|
'v-text-field--suffixed': props.suffix,
|
|
10558
|
-
'v-
|
|
10566
|
+
'v-input--plain-underlined': isPlainOrUnderlined.value
|
|
10559
10567
|
}, props.class],
|
|
10560
10568
|
"style": props.style
|
|
10561
10569
|
}, rootAttrs, inputProps, {
|
|
@@ -13227,6 +13235,7 @@ const VColorPickerCanvas = defineComponent({
|
|
|
13227
13235
|
x,
|
|
13228
13236
|
y
|
|
13229
13237
|
} = val;
|
|
13238
|
+
_dotPosition.value = val;
|
|
13230
13239
|
emit('update:color', {
|
|
13231
13240
|
h: props.color?.h ?? 0,
|
|
13232
13241
|
s: clamp(x, 0, canvasWidth.value) / canvasWidth.value,
|
|
@@ -15050,7 +15059,7 @@ const VCombobox = genericComponent()({
|
|
|
15050
15059
|
return _search.value;
|
|
15051
15060
|
},
|
|
15052
15061
|
set: val => {
|
|
15053
|
-
_search.value = val;
|
|
15062
|
+
_search.value = val ?? '';
|
|
15054
15063
|
if (!props.multiple) {
|
|
15055
15064
|
model.value = [transformItem$1(props, val)];
|
|
15056
15065
|
}
|
|
@@ -15123,7 +15132,7 @@ const VCombobox = genericComponent()({
|
|
|
15123
15132
|
menu.value = !menu.value;
|
|
15124
15133
|
}
|
|
15125
15134
|
function onKeydown(e) {
|
|
15126
|
-
if (props.readonly || form?.isReadonly.value) return;
|
|
15135
|
+
if (isComposingIgnoreKey(e) || props.readonly || form?.isReadonly.value) return;
|
|
15127
15136
|
const selectionStart = vTextFieldRef.value.selectionStart;
|
|
15128
15137
|
const length = model.value.length;
|
|
15129
15138
|
if (selectionIndex.value > -1 || ['Enter', 'ArrowDown', 'ArrowUp'].includes(e.key)) {
|
|
@@ -15896,7 +15905,8 @@ const VFileInput = genericComponent()({
|
|
|
15896
15905
|
"modelValue": model.value,
|
|
15897
15906
|
"onUpdate:modelValue": $event => model.value = $event,
|
|
15898
15907
|
"class": ['v-file-input', {
|
|
15899
|
-
'v-
|
|
15908
|
+
'v-file-input--chips': !!props.chips,
|
|
15909
|
+
'v-input--plain-underlined': isPlainOrUnderlined.value
|
|
15900
15910
|
}, props.class],
|
|
15901
15911
|
"style": props.style,
|
|
15902
15912
|
"onClick:prepend": onClickPrepend
|
|
@@ -19314,7 +19324,7 @@ const VTextarea = genericComponent()({
|
|
|
19314
19324
|
'v-text-field--suffixed': props.suffix,
|
|
19315
19325
|
'v-textarea--auto-grow': props.autoGrow,
|
|
19316
19326
|
'v-textarea--no-resize': props.noResize || props.autoGrow,
|
|
19317
|
-
'v-
|
|
19327
|
+
'v-input--plain-underlined': isPlainOrUnderlined.value
|
|
19318
19328
|
}, props.class],
|
|
19319
19329
|
"style": props.style
|
|
19320
19330
|
}, rootAttrs, inputProps, {
|
|
@@ -20337,6 +20347,17 @@ function format(value, formatString, locale) {
|
|
|
20337
20347
|
}
|
|
20338
20348
|
return new Intl.DateTimeFormat(locale, options).format(date);
|
|
20339
20349
|
}
|
|
20350
|
+
function toISO(adapter, value) {
|
|
20351
|
+
const date = adapter.toJsDate(value);
|
|
20352
|
+
const year = date.getFullYear();
|
|
20353
|
+
const month = padStart(String(date.getMonth() + 1), 2, '0');
|
|
20354
|
+
const day = padStart(String(date.getDate()), 2, '0');
|
|
20355
|
+
return `${year}-${month}-${day}`;
|
|
20356
|
+
}
|
|
20357
|
+
function parseISO(value) {
|
|
20358
|
+
const [year, month, day] = value.split('-').map(Number);
|
|
20359
|
+
return new Date(year, month - 1, day);
|
|
20360
|
+
}
|
|
20340
20361
|
function addDays(date, amount) {
|
|
20341
20362
|
const d = new Date(date);
|
|
20342
20363
|
d.setDate(d.getDate() + amount);
|
|
@@ -20411,6 +20432,12 @@ class VuetifyDateAdapter {
|
|
|
20411
20432
|
toJsDate(date) {
|
|
20412
20433
|
return date;
|
|
20413
20434
|
}
|
|
20435
|
+
toISO(date) {
|
|
20436
|
+
return toISO(this, date);
|
|
20437
|
+
}
|
|
20438
|
+
parseISO(date) {
|
|
20439
|
+
return parseISO(date);
|
|
20440
|
+
}
|
|
20414
20441
|
addDays(date, amount) {
|
|
20415
20442
|
return addDays(date, amount);
|
|
20416
20443
|
}
|
|
@@ -20618,7 +20645,7 @@ function createVuetify$1() {
|
|
|
20618
20645
|
date
|
|
20619
20646
|
};
|
|
20620
20647
|
}
|
|
20621
|
-
const version$1 = "3.4.0-alpha.1-dev.2023-10-
|
|
20648
|
+
const version$1 = "3.4.0-alpha.1-dev.2023-10-21";
|
|
20622
20649
|
createVuetify$1.version = version$1;
|
|
20623
20650
|
|
|
20624
20651
|
// Vue's inject() can only be used in setup
|
|
@@ -20643,7 +20670,7 @@ const createVuetify = function () {
|
|
|
20643
20670
|
...options
|
|
20644
20671
|
});
|
|
20645
20672
|
};
|
|
20646
|
-
const version = "3.4.0-alpha.1-dev.2023-10-
|
|
20673
|
+
const version = "3.4.0-alpha.1-dev.2023-10-21";
|
|
20647
20674
|
createVuetify.version = version;
|
|
20648
20675
|
|
|
20649
20676
|
export { components, createVuetify, directives, useDefaults, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
|