@vuetify/nightly 3.6.13-3.7.0-beta.0.0-pr-20092.a834b18 → 3.7.0-beta.1-dev.2024-07-29
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 +99 -107
- package/dist/json/importMap-labs.json +24 -24
- package/dist/json/importMap.json +134 -134
- package/dist/json/tags.json +0 -2
- package/dist/json/web-types.json +193 -212
- package/dist/vuetify-labs.css +4026 -4026
- package/dist/vuetify-labs.d.ts +106 -190
- package/dist/vuetify-labs.esm.js +13 -36
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +13 -36
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +2721 -2721
- package/dist/vuetify.d.ts +153 -237
- package/dist/vuetify.esm.js +13 -36
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +13 -36
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +44 -45
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +24 -42
- package/lib/components/VCombobox/index.d.mts +24 -42
- package/lib/components/VDialog/index.d.mts +3 -3
- package/lib/components/VList/VListItem.mjs +1 -1
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.mjs +3 -19
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +12 -27
- package/lib/components/VOverlay/VOverlay.mjs +4 -5
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/locationStrategies.mjs +0 -6
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VOverlay/useActivator.mjs +2 -3
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +24 -42
- package/lib/components/VSnackbar/index.d.mts +3 -3
- package/lib/components/VSpeedDial/index.d.mts +13 -28
- package/lib/components/VTooltip/index.d.mts +3 -3
- package/lib/components/index.d.mts +106 -190
- 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.mts +47 -47
- package/lib/labs/VSnackbarQueue/index.d.mts +3 -3
- package/lib/labs/components.d.mts +3 -3
- package/package.json +1 -1
package/dist/vuetify.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.
|
2
|
+
* Vuetify v3.7.0-beta.1-dev.2024-07-29
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -9195,7 +9195,7 @@
|
|
9195
9195
|
function onKeyDown(e) {
|
9196
9196
|
if (e.key === 'Enter' || e.key === ' ') {
|
9197
9197
|
e.preventDefault();
|
9198
|
-
|
9198
|
+
onClick(e);
|
9199
9199
|
}
|
9200
9200
|
}
|
9201
9201
|
useRender(() => {
|
@@ -9985,12 +9985,6 @@
|
|
9985
9985
|
// el.style.removeProperty('max-width')
|
9986
9986
|
// el.style.removeProperty('max-height')
|
9987
9987
|
|
9988
|
-
if (isRtl) {
|
9989
|
-
el.style.removeProperty('left');
|
9990
|
-
} else {
|
9991
|
-
el.style.removeProperty('right');
|
9992
|
-
}
|
9993
|
-
|
9994
9988
|
/* eslint-disable-next-line sonarjs/prefer-immediate-return */
|
9995
9989
|
const contentBox = nullifyTransforms(el);
|
9996
9990
|
if (isRtl) {
|
@@ -10518,8 +10512,7 @@
|
|
10518
10512
|
function useActivator(props, _ref) {
|
10519
10513
|
let {
|
10520
10514
|
isActive,
|
10521
|
-
isTop
|
10522
|
-
contentEl
|
10515
|
+
isTop
|
10523
10516
|
} = _ref;
|
10524
10517
|
const vm = getCurrentInstance('useActivator');
|
10525
10518
|
const activatorEl = vue.ref();
|
@@ -10636,7 +10629,7 @@
|
|
10636
10629
|
return events;
|
10637
10630
|
});
|
10638
10631
|
vue.watch(isTop, val => {
|
10639
|
-
if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered))
|
10632
|
+
if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered))) {
|
10640
10633
|
isActive.value = false;
|
10641
10634
|
}
|
10642
10635
|
});
|
@@ -11042,9 +11035,6 @@
|
|
11042
11035
|
attrs,
|
11043
11036
|
emit
|
11044
11037
|
} = _ref;
|
11045
|
-
const root = vue.ref();
|
11046
|
-
const scrimEl = vue.ref();
|
11047
|
-
const contentEl = vue.ref();
|
11048
11038
|
const model = useProxiedModel(props, 'modelValue');
|
11049
11039
|
const isActive = vue.computed({
|
11050
11040
|
get: () => model.value,
|
@@ -11082,8 +11072,7 @@
|
|
11082
11072
|
scrimEvents
|
11083
11073
|
} = useActivator(props, {
|
11084
11074
|
isActive,
|
11085
|
-
isTop: localTop
|
11086
|
-
contentEl
|
11075
|
+
isTop: localTop
|
11087
11076
|
});
|
11088
11077
|
const {
|
11089
11078
|
teleportTarget
|
@@ -11104,6 +11093,9 @@
|
|
11104
11093
|
vue.watch(() => props.disabled, v => {
|
11105
11094
|
if (v) isActive.value = false;
|
11106
11095
|
});
|
11096
|
+
const root = vue.ref();
|
11097
|
+
const scrimEl = vue.ref();
|
11098
|
+
const contentEl = vue.ref();
|
11107
11099
|
const {
|
11108
11100
|
contentStyles,
|
11109
11101
|
updateLocation
|
@@ -11354,12 +11346,10 @@
|
|
11354
11346
|
// TODO
|
11355
11347
|
// disableKeys: Boolean,
|
11356
11348
|
id: String,
|
11357
|
-
submenu: Boolean,
|
11358
11349
|
...omit(makeVOverlayProps({
|
11359
11350
|
closeDelay: 250,
|
11360
11351
|
closeOnContentClick: true,
|
11361
11352
|
locationStrategy: 'connected',
|
11362
|
-
location: undefined,
|
11363
11353
|
openDelay: 300,
|
11364
11354
|
scrim: false,
|
11365
11355
|
scrollStrategy: 'reposition',
|
@@ -11382,9 +11372,6 @@
|
|
11382
11372
|
const {
|
11383
11373
|
scopeId
|
11384
11374
|
} = useScopeId();
|
11385
|
-
const {
|
11386
|
-
isRtl
|
11387
|
-
} = useRtl();
|
11388
11375
|
const uid = getUid();
|
11389
11376
|
const id = vue.computed(() => props.id || `v-menu-${uid}`);
|
11390
11377
|
const overlay = vue.ref();
|
@@ -11447,9 +11434,9 @@
|
|
11447
11434
|
isActive.value = false;
|
11448
11435
|
overlay.value?.activatorEl?.focus();
|
11449
11436
|
}
|
11450
|
-
} else if (
|
11437
|
+
} else if (['Enter', ' '].includes(e.key) && props.closeOnContentClick) {
|
11451
11438
|
isActive.value = false;
|
11452
|
-
|
11439
|
+
parent?.closeParents();
|
11453
11440
|
}
|
11454
11441
|
}
|
11455
11442
|
function onActivatorKeydown(e) {
|
@@ -11458,21 +11445,12 @@
|
|
11458
11445
|
if (el && isActive.value) {
|
11459
11446
|
if (e.key === 'ArrowDown') {
|
11460
11447
|
e.preventDefault();
|
11461
|
-
e.stopImmediatePropagation();
|
11462
11448
|
focusChild(el, 'next');
|
11463
11449
|
} else if (e.key === 'ArrowUp') {
|
11464
11450
|
e.preventDefault();
|
11465
|
-
e.stopImmediatePropagation();
|
11466
11451
|
focusChild(el, 'prev');
|
11467
|
-
} else if (props.submenu) {
|
11468
|
-
if (e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
|
11469
|
-
isActive.value = false;
|
11470
|
-
} else if (e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')) {
|
11471
|
-
e.preventDefault();
|
11472
|
-
focusChild(el, 'first');
|
11473
|
-
}
|
11474
11452
|
}
|
11475
|
-
} else if (
|
11453
|
+
} else if (['ArrowDown', 'ArrowUp'].includes(e.key)) {
|
11476
11454
|
isActive.value = true;
|
11477
11455
|
e.preventDefault();
|
11478
11456
|
setTimeout(() => setTimeout(() => onActivatorKeydown(e)));
|
@@ -11496,7 +11474,6 @@
|
|
11496
11474
|
"onUpdate:modelValue": $event => isActive.value = $event,
|
11497
11475
|
"absolute": true,
|
11498
11476
|
"activatorProps": activatorProps.value,
|
11499
|
-
"location": props.location ?? (props.submenu ? 'end' : 'bottom'),
|
11500
11477
|
"onClick:outside": onClickOutside,
|
11501
11478
|
"onKeydown": onKeydown
|
11502
11479
|
}, scopeId), {
|
@@ -28202,7 +28179,7 @@
|
|
28202
28179
|
goTo
|
28203
28180
|
};
|
28204
28181
|
}
|
28205
|
-
const version$1 = "3.
|
28182
|
+
const version$1 = "3.7.0-beta.1-dev.2024-07-29";
|
28206
28183
|
createVuetify$1.version = version$1;
|
28207
28184
|
|
28208
28185
|
// Vue's inject() can only be used in setup
|
@@ -28227,7 +28204,7 @@
|
|
28227
28204
|
...options
|
28228
28205
|
});
|
28229
28206
|
};
|
28230
|
-
const version = "3.
|
28207
|
+
const version = "3.7.0-beta.1-dev.2024-07-29";
|
28231
28208
|
createVuetify.version = version;
|
28232
28209
|
|
28233
28210
|
exports.blueprints = index;
|