@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.esm.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
|
*/
|
@@ -9191,7 +9191,7 @@ const VListItem = genericComponent()({
|
|
9191
9191
|
function onKeyDown(e) {
|
9192
9192
|
if (e.key === 'Enter' || e.key === ' ') {
|
9193
9193
|
e.preventDefault();
|
9194
|
-
|
9194
|
+
onClick(e);
|
9195
9195
|
}
|
9196
9196
|
}
|
9197
9197
|
useRender(() => {
|
@@ -9981,12 +9981,6 @@ function getIntrinsicSize(el, isRtl) {
|
|
9981
9981
|
// el.style.removeProperty('max-width')
|
9982
9982
|
// el.style.removeProperty('max-height')
|
9983
9983
|
|
9984
|
-
if (isRtl) {
|
9985
|
-
el.style.removeProperty('left');
|
9986
|
-
} else {
|
9987
|
-
el.style.removeProperty('right');
|
9988
|
-
}
|
9989
|
-
|
9990
9984
|
/* eslint-disable-next-line sonarjs/prefer-immediate-return */
|
9991
9985
|
const contentBox = nullifyTransforms(el);
|
9992
9986
|
if (isRtl) {
|
@@ -10514,8 +10508,7 @@ const makeActivatorProps = propsFactory({
|
|
10514
10508
|
function useActivator(props, _ref) {
|
10515
10509
|
let {
|
10516
10510
|
isActive,
|
10517
|
-
isTop
|
10518
|
-
contentEl
|
10511
|
+
isTop
|
10519
10512
|
} = _ref;
|
10520
10513
|
const vm = getCurrentInstance('useActivator');
|
10521
10514
|
const activatorEl = ref();
|
@@ -10632,7 +10625,7 @@ function useActivator(props, _ref) {
|
|
10632
10625
|
return events;
|
10633
10626
|
});
|
10634
10627
|
watch(isTop, val => {
|
10635
|
-
if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered))
|
10628
|
+
if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered))) {
|
10636
10629
|
isActive.value = false;
|
10637
10630
|
}
|
10638
10631
|
});
|
@@ -11038,9 +11031,6 @@ const VOverlay = genericComponent()({
|
|
11038
11031
|
attrs,
|
11039
11032
|
emit
|
11040
11033
|
} = _ref;
|
11041
|
-
const root = ref();
|
11042
|
-
const scrimEl = ref();
|
11043
|
-
const contentEl = ref();
|
11044
11034
|
const model = useProxiedModel(props, 'modelValue');
|
11045
11035
|
const isActive = computed({
|
11046
11036
|
get: () => model.value,
|
@@ -11078,8 +11068,7 @@ const VOverlay = genericComponent()({
|
|
11078
11068
|
scrimEvents
|
11079
11069
|
} = useActivator(props, {
|
11080
11070
|
isActive,
|
11081
|
-
isTop: localTop
|
11082
|
-
contentEl
|
11071
|
+
isTop: localTop
|
11083
11072
|
});
|
11084
11073
|
const {
|
11085
11074
|
teleportTarget
|
@@ -11100,6 +11089,9 @@ const VOverlay = genericComponent()({
|
|
11100
11089
|
watch(() => props.disabled, v => {
|
11101
11090
|
if (v) isActive.value = false;
|
11102
11091
|
});
|
11092
|
+
const root = ref();
|
11093
|
+
const scrimEl = ref();
|
11094
|
+
const contentEl = ref();
|
11103
11095
|
const {
|
11104
11096
|
contentStyles,
|
11105
11097
|
updateLocation
|
@@ -11350,12 +11342,10 @@ const makeVMenuProps = propsFactory({
|
|
11350
11342
|
// TODO
|
11351
11343
|
// disableKeys: Boolean,
|
11352
11344
|
id: String,
|
11353
|
-
submenu: Boolean,
|
11354
11345
|
...omit(makeVOverlayProps({
|
11355
11346
|
closeDelay: 250,
|
11356
11347
|
closeOnContentClick: true,
|
11357
11348
|
locationStrategy: 'connected',
|
11358
|
-
location: undefined,
|
11359
11349
|
openDelay: 300,
|
11360
11350
|
scrim: false,
|
11361
11351
|
scrollStrategy: 'reposition',
|
@@ -11378,9 +11368,6 @@ const VMenu = genericComponent()({
|
|
11378
11368
|
const {
|
11379
11369
|
scopeId
|
11380
11370
|
} = useScopeId();
|
11381
|
-
const {
|
11382
|
-
isRtl
|
11383
|
-
} = useRtl();
|
11384
11371
|
const uid = getUid();
|
11385
11372
|
const id = computed(() => props.id || `v-menu-${uid}`);
|
11386
11373
|
const overlay = ref();
|
@@ -11443,9 +11430,9 @@ const VMenu = genericComponent()({
|
|
11443
11430
|
isActive.value = false;
|
11444
11431
|
overlay.value?.activatorEl?.focus();
|
11445
11432
|
}
|
11446
|
-
} else if (
|
11433
|
+
} else if (['Enter', ' '].includes(e.key) && props.closeOnContentClick) {
|
11447
11434
|
isActive.value = false;
|
11448
|
-
|
11435
|
+
parent?.closeParents();
|
11449
11436
|
}
|
11450
11437
|
}
|
11451
11438
|
function onActivatorKeydown(e) {
|
@@ -11454,21 +11441,12 @@ const VMenu = genericComponent()({
|
|
11454
11441
|
if (el && isActive.value) {
|
11455
11442
|
if (e.key === 'ArrowDown') {
|
11456
11443
|
e.preventDefault();
|
11457
|
-
e.stopImmediatePropagation();
|
11458
11444
|
focusChild(el, 'next');
|
11459
11445
|
} else if (e.key === 'ArrowUp') {
|
11460
11446
|
e.preventDefault();
|
11461
|
-
e.stopImmediatePropagation();
|
11462
11447
|
focusChild(el, 'prev');
|
11463
|
-
} else if (props.submenu) {
|
11464
|
-
if (e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
|
11465
|
-
isActive.value = false;
|
11466
|
-
} else if (e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')) {
|
11467
|
-
e.preventDefault();
|
11468
|
-
focusChild(el, 'first');
|
11469
|
-
}
|
11470
11448
|
}
|
11471
|
-
} else if (
|
11449
|
+
} else if (['ArrowDown', 'ArrowUp'].includes(e.key)) {
|
11472
11450
|
isActive.value = true;
|
11473
11451
|
e.preventDefault();
|
11474
11452
|
setTimeout(() => setTimeout(() => onActivatorKeydown(e)));
|
@@ -11492,7 +11470,6 @@ const VMenu = genericComponent()({
|
|
11492
11470
|
"onUpdate:modelValue": $event => isActive.value = $event,
|
11493
11471
|
"absolute": true,
|
11494
11472
|
"activatorProps": activatorProps.value,
|
11495
|
-
"location": props.location ?? (props.submenu ? 'end' : 'bottom'),
|
11496
11473
|
"onClick:outside": onClickOutside,
|
11497
11474
|
"onKeydown": onKeydown
|
11498
11475
|
}, scopeId), {
|
@@ -28198,7 +28175,7 @@ function createVuetify$1() {
|
|
28198
28175
|
goTo
|
28199
28176
|
};
|
28200
28177
|
}
|
28201
|
-
const version$1 = "3.
|
28178
|
+
const version$1 = "3.7.0-beta.1-dev.2024-07-29";
|
28202
28179
|
createVuetify$1.version = version$1;
|
28203
28180
|
|
28204
28181
|
// Vue's inject() can only be used in setup
|
@@ -28223,7 +28200,7 @@ const createVuetify = function () {
|
|
28223
28200
|
...options
|
28224
28201
|
});
|
28225
28202
|
};
|
28226
|
-
const version = "3.
|
28203
|
+
const version = "3.7.0-beta.1-dev.2024-07-29";
|
28227
28204
|
createVuetify.version = version;
|
28228
28205
|
|
28229
28206
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|