@vuetify/nightly 3.6.5-master.2024-05-13 → 3.6.6-master.2024-05-15
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 +3 -8
- package/dist/json/importMap-labs.json +4 -4
- package/dist/json/importMap.json +120 -120
- package/dist/json/web-types.json +5 -5
- package/dist/vuetify-labs.css +2132 -2087
- package/dist/vuetify-labs.d.ts +60 -36
- package/dist/vuetify-labs.esm.js +27 -19
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +27 -19
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +2725 -2680
- package/dist/vuetify.d.ts +98 -74
- package/dist/vuetify.esm.js +15 -9
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +15 -9
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +18 -17
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VBanner/VBanner.mjs +3 -1
- package/lib/components/VBanner/VBanner.mjs.map +1 -1
- package/lib/components/VBanner/index.d.mts +15 -9
- package/lib/components/VChipGroup/index.d.mts +15 -9
- package/lib/components/VDivider/VDivider.css +1 -0
- package/lib/components/VDivider/VDivider.sass +1 -0
- package/lib/components/VMenu/VMenu.mjs +2 -1
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.mjs +1 -1
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.mjs +3 -1
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.mts +15 -9
- package/lib/components/VSwitch/VSwitch.css +44 -0
- package/lib/components/VSwitch/VSwitch.mjs +4 -3
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.sass +55 -0
- package/lib/components/VTabs/index.d.mts +15 -9
- package/lib/components/index.d.mts +60 -36
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +38 -38
- package/lib/labs/VTreeview/VTreeviewChildren.mjs +12 -10
- package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
- package/lib/locale/de.mjs +4 -4
- package/lib/locale/de.mjs.map +1 -1
- package/lib/locale/hu.mjs +18 -18
- package/lib/locale/hu.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.6.
|
2
|
+
* Vuetify v3.6.6-master.2024-05-15
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -7372,7 +7372,9 @@
|
|
7372
7372
|
validator: v => typeof v === 'boolean' || ['always', 'desktop', 'mobile'].includes(v)
|
7373
7373
|
},
|
7374
7374
|
...makeComponentProps(),
|
7375
|
-
...makeDisplayProps(
|
7375
|
+
...makeDisplayProps({
|
7376
|
+
mobile: null
|
7377
|
+
}),
|
7376
7378
|
...makeTagProps(),
|
7377
7379
|
...makeGroupProps({
|
7378
7380
|
selectedClass: 'v-slide-group-item--active'
|
@@ -11103,7 +11105,7 @@
|
|
11103
11105
|
},
|
11104
11106
|
closeParents(e) {
|
11105
11107
|
setTimeout(() => {
|
11106
|
-
if (!openChildren.value && (e == null || e && !isClickInsideElement(e, overlay.value.contentEl))) {
|
11108
|
+
if (!openChildren.value && !props.persistent && (e == null || e && !isClickInsideElement(e, overlay.value.contentEl))) {
|
11107
11109
|
isActive.value = false;
|
11108
11110
|
parent?.closeParents();
|
11109
11111
|
}
|
@@ -11142,6 +11144,7 @@
|
|
11142
11144
|
function onKeydown(e) {
|
11143
11145
|
if (props.disabled) return;
|
11144
11146
|
if (e.key === 'Tab' || e.key === 'Enter' && !props.closeOnContentClick) {
|
11147
|
+
if (e.key === 'Enter' && e.target instanceof HTMLTextAreaElement) return;
|
11145
11148
|
if (e.key === 'Enter') e.preventDefault();
|
11146
11149
|
const nextElement = getNextElement(focusableChildren(overlay.value?.contentEl, false), e.shiftKey ? 'prev' : 'next', el => el.tabIndex >= 0);
|
11147
11150
|
if (!nextElement) {
|
@@ -12323,7 +12326,7 @@
|
|
12323
12326
|
let keyboardLookupLastTime;
|
12324
12327
|
const displayItems = vue.computed(() => {
|
12325
12328
|
if (props.hideSelected) {
|
12326
|
-
return items.value.filter(item => !model.value.some(s => s
|
12329
|
+
return items.value.filter(item => !model.value.some(s => props.valueComparator(s, item)));
|
12327
12330
|
}
|
12328
12331
|
return items.value;
|
12329
12332
|
});
|
@@ -13349,7 +13352,9 @@
|
|
13349
13352
|
...makeComponentProps(),
|
13350
13353
|
...makeDensityProps(),
|
13351
13354
|
...makeDimensionProps(),
|
13352
|
-
...makeDisplayProps(
|
13355
|
+
...makeDisplayProps({
|
13356
|
+
mobile: null
|
13357
|
+
}),
|
13353
13358
|
...makeElevationProps(),
|
13354
13359
|
...makeLocationProps(),
|
13355
13360
|
...makePositionProps(),
|
@@ -26176,6 +26181,7 @@
|
|
26176
26181
|
blur
|
26177
26182
|
} = useFocus(props);
|
26178
26183
|
const control = vue.ref();
|
26184
|
+
const isForcedColorsModeActive = IN_BROWSER && window.matchMedia('(forced-colors: active)').matches;
|
26179
26185
|
const loaderColor = vue.computed(() => {
|
26180
26186
|
return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
|
26181
26187
|
});
|
@@ -26244,7 +26250,7 @@
|
|
26244
26250
|
backgroundColorStyles
|
26245
26251
|
} = _ref3;
|
26246
26252
|
return vue.createVNode("div", {
|
26247
|
-
"class": ['v-switch__track',
|
26253
|
+
"class": ['v-switch__track', !isForcedColorsModeActive ? backgroundColorClasses.value : undefined],
|
26248
26254
|
"style": backgroundColorStyles.value,
|
26249
26255
|
"onClick": onTrackClick
|
26250
26256
|
}, [slots['track-true'] && vue.createVNode("div", {
|
@@ -26265,7 +26271,7 @@
|
|
26265
26271
|
return vue.createVNode(vue.Fragment, null, [inputNode, vue.createVNode("div", {
|
26266
26272
|
"class": ['v-switch__thumb', {
|
26267
26273
|
'v-switch__thumb--filled': icon || props.loading
|
26268
|
-
}, props.inset ? undefined : backgroundColorClasses.value],
|
26274
|
+
}, props.inset || isForcedColorsModeActive ? undefined : backgroundColorClasses.value],
|
26269
26275
|
"style": props.inset ? undefined : backgroundColorStyles.value
|
26270
26276
|
}, [slots.thumb ? vue.createVNode(VDefaultsProvider, {
|
26271
26277
|
"defaults": {
|
@@ -29373,17 +29379,18 @@
|
|
29373
29379
|
emit,
|
29374
29380
|
slots
|
29375
29381
|
} = _ref;
|
29376
|
-
const isLoading = vue.shallowRef(
|
29377
|
-
const hasLoaded = vue.shallowRef(false);
|
29382
|
+
const isLoading = vue.shallowRef(null);
|
29378
29383
|
function checkChildren(item) {
|
29379
29384
|
return new Promise(resolve => {
|
29380
|
-
if (!props.items?.length || !props.loadChildren
|
29381
|
-
|
29382
|
-
|
29383
|
-
|
29384
|
-
|
29385
|
+
if (!props.items?.length || !props.loadChildren) return resolve();
|
29386
|
+
if (item?.children?.length === 0) {
|
29387
|
+
isLoading.value = item.value;
|
29388
|
+
props.loadChildren(item).then(resolve);
|
29389
|
+
return;
|
29390
|
+
}
|
29391
|
+
resolve();
|
29385
29392
|
}).finally(() => {
|
29386
|
-
isLoading.value =
|
29393
|
+
isLoading.value = null;
|
29387
29394
|
});
|
29388
29395
|
}
|
29389
29396
|
function onClick(e, item) {
|
@@ -29396,6 +29403,7 @@
|
|
29396
29403
|
props: itemProps,
|
29397
29404
|
raw: item
|
29398
29405
|
} = _ref2;
|
29406
|
+
const loading = isLoading.value === item.value;
|
29399
29407
|
const slotsWithItem = {
|
29400
29408
|
prepend: slots.prepend ? slotProps => slots.prepend?.({
|
29401
29409
|
...slotProps,
|
@@ -29409,7 +29417,7 @@
|
|
29409
29417
|
"key": item.value,
|
29410
29418
|
"tabindex": "-1",
|
29411
29419
|
"modelValue": isSelected,
|
29412
|
-
"loading":
|
29420
|
+
"loading": loading,
|
29413
29421
|
"indeterminate": isIndeterminate,
|
29414
29422
|
"onClick": e => onClick(e, item)
|
29415
29423
|
}, null);
|
@@ -29433,7 +29441,7 @@
|
|
29433
29441
|
props: activatorProps
|
29434
29442
|
} = _ref4;
|
29435
29443
|
return vue.createVNode(VTreeviewItem, vue.mergeProps(itemProps, activatorProps, {
|
29436
|
-
"loading":
|
29444
|
+
"loading": loading,
|
29437
29445
|
"onClick": e => onClick(e, item)
|
29438
29446
|
}), slotsWithItem);
|
29439
29447
|
},
|
@@ -30086,7 +30094,7 @@
|
|
30086
30094
|
goTo
|
30087
30095
|
};
|
30088
30096
|
}
|
30089
|
-
const version$1 = "3.6.
|
30097
|
+
const version$1 = "3.6.6-master.2024-05-15";
|
30090
30098
|
createVuetify$1.version = version$1;
|
30091
30099
|
|
30092
30100
|
// Vue's inject() can only be used in setup
|
@@ -30339,7 +30347,7 @@
|
|
30339
30347
|
|
30340
30348
|
/* eslint-disable local-rules/sort-imports */
|
30341
30349
|
|
30342
|
-
const version = "3.6.
|
30350
|
+
const version = "3.6.6-master.2024-05-15";
|
30343
30351
|
|
30344
30352
|
/* eslint-disable local-rules/sort-imports */
|
30345
30353
|
|