@vuetify/nightly 3.6.13-3.7.0-beta.0.0-dev.2024-07-25 → 3.6.13-3.7.0-beta.0.0-pr-20092.dc840ce
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 +107 -99
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +138 -138
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +212 -193
- package/dist/vuetify-labs.css +2279 -2279
- package/dist/vuetify-labs.d.ts +190 -106
- package/dist/vuetify-labs.esm.js +36 -10
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +36 -10
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1817 -1817
- package/dist/vuetify.d.ts +237 -153
- package/dist/vuetify.esm.js +36 -10
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +36 -10
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +44 -43
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +42 -24
- package/lib/components/VCombobox/index.d.mts +42 -24
- package/lib/components/VDialog/index.d.mts +3 -3
- package/lib/components/VMenu/VMenu.mjs +20 -1
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +27 -12
- package/lib/components/VOverlay/VOverlay.mjs +5 -4
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/locationStrategies.mjs +6 -0
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VOverlay/useActivator.mjs +3 -2
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +42 -24
- package/lib/components/VSnackbar/index.d.mts +3 -3
- package/lib/components/VSpeedDial/index.d.mts +28 -13
- package/lib/components/VTooltip/index.d.mts +3 -3
- package/lib/components/index.d.mts +190 -106
- 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.6.13-3.7.0-beta.0.0-
|
2
|
+
* Vuetify v3.6.13-3.7.0-beta.0.0-pr-20092.dc840ce
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -9981,6 +9981,12 @@ 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
|
+
|
9984
9990
|
/* eslint-disable-next-line sonarjs/prefer-immediate-return */
|
9985
9991
|
const contentBox = nullifyTransforms(el);
|
9986
9992
|
if (isRtl) {
|
@@ -10508,7 +10514,8 @@ const makeActivatorProps = propsFactory({
|
|
10508
10514
|
function useActivator(props, _ref) {
|
10509
10515
|
let {
|
10510
10516
|
isActive,
|
10511
|
-
isTop
|
10517
|
+
isTop,
|
10518
|
+
contentEl
|
10512
10519
|
} = _ref;
|
10513
10520
|
const vm = getCurrentInstance('useActivator');
|
10514
10521
|
const activatorEl = ref();
|
@@ -10625,7 +10632,7 @@ function useActivator(props, _ref) {
|
|
10625
10632
|
return events;
|
10626
10633
|
});
|
10627
10634
|
watch(isTop, val => {
|
10628
|
-
if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered))) {
|
10635
|
+
if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered)) && !contentEl.value?.contains(document.activeElement)) {
|
10629
10636
|
isActive.value = false;
|
10630
10637
|
}
|
10631
10638
|
});
|
@@ -11031,6 +11038,9 @@ const VOverlay = genericComponent()({
|
|
11031
11038
|
attrs,
|
11032
11039
|
emit
|
11033
11040
|
} = _ref;
|
11041
|
+
const root = ref();
|
11042
|
+
const scrimEl = ref();
|
11043
|
+
const contentEl = ref();
|
11034
11044
|
const model = useProxiedModel(props, 'modelValue');
|
11035
11045
|
const isActive = computed({
|
11036
11046
|
get: () => model.value,
|
@@ -11068,7 +11078,8 @@ const VOverlay = genericComponent()({
|
|
11068
11078
|
scrimEvents
|
11069
11079
|
} = useActivator(props, {
|
11070
11080
|
isActive,
|
11071
|
-
isTop: localTop
|
11081
|
+
isTop: localTop,
|
11082
|
+
contentEl
|
11072
11083
|
});
|
11073
11084
|
const {
|
11074
11085
|
teleportTarget
|
@@ -11089,9 +11100,6 @@ const VOverlay = genericComponent()({
|
|
11089
11100
|
watch(() => props.disabled, v => {
|
11090
11101
|
if (v) isActive.value = false;
|
11091
11102
|
});
|
11092
|
-
const root = ref();
|
11093
|
-
const scrimEl = ref();
|
11094
|
-
const contentEl = ref();
|
11095
11103
|
const {
|
11096
11104
|
contentStyles,
|
11097
11105
|
updateLocation
|
@@ -11342,10 +11350,12 @@ const makeVMenuProps = propsFactory({
|
|
11342
11350
|
// TODO
|
11343
11351
|
// disableKeys: Boolean,
|
11344
11352
|
id: String,
|
11353
|
+
submenu: Boolean,
|
11345
11354
|
...omit(makeVOverlayProps({
|
11346
11355
|
closeDelay: 250,
|
11347
11356
|
closeOnContentClick: true,
|
11348
11357
|
locationStrategy: 'connected',
|
11358
|
+
location: undefined,
|
11349
11359
|
openDelay: 300,
|
11350
11360
|
scrim: false,
|
11351
11361
|
scrollStrategy: 'reposition',
|
@@ -11368,6 +11378,9 @@ const VMenu = genericComponent()({
|
|
11368
11378
|
const {
|
11369
11379
|
scopeId
|
11370
11380
|
} = useScopeId();
|
11381
|
+
const {
|
11382
|
+
isRtl
|
11383
|
+
} = useRtl();
|
11371
11384
|
const uid = getUid();
|
11372
11385
|
const id = computed(() => props.id || `v-menu-${uid}`);
|
11373
11386
|
const overlay = ref();
|
@@ -11433,6 +11446,9 @@ const VMenu = genericComponent()({
|
|
11433
11446
|
} else if (['Enter', ' '].includes(e.key) && props.closeOnContentClick) {
|
11434
11447
|
isActive.value = false;
|
11435
11448
|
parent?.closeParents();
|
11449
|
+
} else if (props.submenu && e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
|
11450
|
+
isActive.value = false;
|
11451
|
+
overlay.value?.activatorEl?.focus();
|
11436
11452
|
}
|
11437
11453
|
}
|
11438
11454
|
function onActivatorKeydown(e) {
|
@@ -11441,12 +11457,21 @@ const VMenu = genericComponent()({
|
|
11441
11457
|
if (el && isActive.value) {
|
11442
11458
|
if (e.key === 'ArrowDown') {
|
11443
11459
|
e.preventDefault();
|
11460
|
+
e.stopImmediatePropagation();
|
11444
11461
|
focusChild(el, 'next');
|
11445
11462
|
} else if (e.key === 'ArrowUp') {
|
11446
11463
|
e.preventDefault();
|
11464
|
+
e.stopImmediatePropagation();
|
11447
11465
|
focusChild(el, 'prev');
|
11466
|
+
} else if (props.submenu) {
|
11467
|
+
if (e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
|
11468
|
+
isActive.value = false;
|
11469
|
+
} else if (e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')) {
|
11470
|
+
e.preventDefault();
|
11471
|
+
focusChild(el, 'first');
|
11472
|
+
}
|
11448
11473
|
}
|
11449
|
-
} else if (['ArrowDown', 'ArrowUp'].includes(e.key)) {
|
11474
|
+
} else if (props.submenu ? e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight') : ['ArrowDown', 'ArrowUp'].includes(e.key)) {
|
11450
11475
|
isActive.value = true;
|
11451
11476
|
e.preventDefault();
|
11452
11477
|
setTimeout(() => setTimeout(() => onActivatorKeydown(e)));
|
@@ -11470,6 +11495,7 @@ const VMenu = genericComponent()({
|
|
11470
11495
|
"onUpdate:modelValue": $event => isActive.value = $event,
|
11471
11496
|
"absolute": true,
|
11472
11497
|
"activatorProps": activatorProps.value,
|
11498
|
+
"location": props.location ?? (props.submenu ? 'end' : 'bottom'),
|
11473
11499
|
"onClick:outside": onClickOutside,
|
11474
11500
|
"onKeydown": onKeydown
|
11475
11501
|
}, scopeId), {
|
@@ -28175,7 +28201,7 @@ function createVuetify$1() {
|
|
28175
28201
|
goTo
|
28176
28202
|
};
|
28177
28203
|
}
|
28178
|
-
const version$1 = "3.6.13-3.7.0-beta.0.0-
|
28204
|
+
const version$1 = "3.6.13-3.7.0-beta.0.0-pr-20092.dc840ce";
|
28179
28205
|
createVuetify$1.version = version$1;
|
28180
28206
|
|
28181
28207
|
// Vue's inject() can only be used in setup
|
@@ -28200,7 +28226,7 @@ const createVuetify = function () {
|
|
28200
28226
|
...options
|
28201
28227
|
});
|
28202
28228
|
};
|
28203
|
-
const version = "3.6.13-3.7.0-beta.0.0-
|
28229
|
+
const version = "3.6.13-3.7.0-beta.0.0-pr-20092.dc840ce";
|
28204
28230
|
createVuetify.version = version;
|
28205
28231
|
|
28206
28232
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|