@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-labs.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
|
*/
|
@@ -8958,7 +8958,7 @@ const VListItem = genericComponent()({
|
|
8958
8958
|
function onKeyDown(e) {
|
8959
8959
|
if (e.key === 'Enter' || e.key === ' ') {
|
8960
8960
|
e.preventDefault();
|
8961
|
-
|
8961
|
+
onClick(e);
|
8962
8962
|
}
|
8963
8963
|
}
|
8964
8964
|
useRender(() => {
|
@@ -9748,12 +9748,6 @@ function getIntrinsicSize(el, isRtl) {
|
|
9748
9748
|
// el.style.removeProperty('max-width')
|
9749
9749
|
// el.style.removeProperty('max-height')
|
9750
9750
|
|
9751
|
-
if (isRtl) {
|
9752
|
-
el.style.removeProperty('left');
|
9753
|
-
} else {
|
9754
|
-
el.style.removeProperty('right');
|
9755
|
-
}
|
9756
|
-
|
9757
9751
|
/* eslint-disable-next-line sonarjs/prefer-immediate-return */
|
9758
9752
|
const contentBox = nullifyTransforms(el);
|
9759
9753
|
if (isRtl) {
|
@@ -10281,8 +10275,7 @@ const makeActivatorProps = propsFactory({
|
|
10281
10275
|
function useActivator(props, _ref) {
|
10282
10276
|
let {
|
10283
10277
|
isActive,
|
10284
|
-
isTop
|
10285
|
-
contentEl
|
10278
|
+
isTop
|
10286
10279
|
} = _ref;
|
10287
10280
|
const vm = getCurrentInstance('useActivator');
|
10288
10281
|
const activatorEl = ref();
|
@@ -10399,7 +10392,7 @@ function useActivator(props, _ref) {
|
|
10399
10392
|
return events;
|
10400
10393
|
});
|
10401
10394
|
watch(isTop, val => {
|
10402
|
-
if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered))
|
10395
|
+
if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered))) {
|
10403
10396
|
isActive.value = false;
|
10404
10397
|
}
|
10405
10398
|
});
|
@@ -10805,9 +10798,6 @@ const VOverlay = genericComponent()({
|
|
10805
10798
|
attrs,
|
10806
10799
|
emit
|
10807
10800
|
} = _ref;
|
10808
|
-
const root = ref();
|
10809
|
-
const scrimEl = ref();
|
10810
|
-
const contentEl = ref();
|
10811
10801
|
const model = useProxiedModel(props, 'modelValue');
|
10812
10802
|
const isActive = computed({
|
10813
10803
|
get: () => model.value,
|
@@ -10845,8 +10835,7 @@ const VOverlay = genericComponent()({
|
|
10845
10835
|
scrimEvents
|
10846
10836
|
} = useActivator(props, {
|
10847
10837
|
isActive,
|
10848
|
-
isTop: localTop
|
10849
|
-
contentEl
|
10838
|
+
isTop: localTop
|
10850
10839
|
});
|
10851
10840
|
const {
|
10852
10841
|
teleportTarget
|
@@ -10867,6 +10856,9 @@ const VOverlay = genericComponent()({
|
|
10867
10856
|
watch(() => props.disabled, v => {
|
10868
10857
|
if (v) isActive.value = false;
|
10869
10858
|
});
|
10859
|
+
const root = ref();
|
10860
|
+
const scrimEl = ref();
|
10861
|
+
const contentEl = ref();
|
10870
10862
|
const {
|
10871
10863
|
contentStyles,
|
10872
10864
|
updateLocation
|
@@ -11117,12 +11109,10 @@ const makeVMenuProps = propsFactory({
|
|
11117
11109
|
// TODO
|
11118
11110
|
// disableKeys: Boolean,
|
11119
11111
|
id: String,
|
11120
|
-
submenu: Boolean,
|
11121
11112
|
...omit(makeVOverlayProps({
|
11122
11113
|
closeDelay: 250,
|
11123
11114
|
closeOnContentClick: true,
|
11124
11115
|
locationStrategy: 'connected',
|
11125
|
-
location: undefined,
|
11126
11116
|
openDelay: 300,
|
11127
11117
|
scrim: false,
|
11128
11118
|
scrollStrategy: 'reposition',
|
@@ -11145,9 +11135,6 @@ const VMenu = genericComponent()({
|
|
11145
11135
|
const {
|
11146
11136
|
scopeId
|
11147
11137
|
} = useScopeId();
|
11148
|
-
const {
|
11149
|
-
isRtl
|
11150
|
-
} = useRtl();
|
11151
11138
|
const uid = getUid();
|
11152
11139
|
const id = computed(() => props.id || `v-menu-${uid}`);
|
11153
11140
|
const overlay = ref();
|
@@ -11210,9 +11197,9 @@ const VMenu = genericComponent()({
|
|
11210
11197
|
isActive.value = false;
|
11211
11198
|
overlay.value?.activatorEl?.focus();
|
11212
11199
|
}
|
11213
|
-
} else if (
|
11200
|
+
} else if (['Enter', ' '].includes(e.key) && props.closeOnContentClick) {
|
11214
11201
|
isActive.value = false;
|
11215
|
-
|
11202
|
+
parent?.closeParents();
|
11216
11203
|
}
|
11217
11204
|
}
|
11218
11205
|
function onActivatorKeydown(e) {
|
@@ -11221,21 +11208,12 @@ const VMenu = genericComponent()({
|
|
11221
11208
|
if (el && isActive.value) {
|
11222
11209
|
if (e.key === 'ArrowDown') {
|
11223
11210
|
e.preventDefault();
|
11224
|
-
e.stopImmediatePropagation();
|
11225
11211
|
focusChild(el, 'next');
|
11226
11212
|
} else if (e.key === 'ArrowUp') {
|
11227
11213
|
e.preventDefault();
|
11228
|
-
e.stopImmediatePropagation();
|
11229
11214
|
focusChild(el, 'prev');
|
11230
|
-
} else if (props.submenu) {
|
11231
|
-
if (e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
|
11232
|
-
isActive.value = false;
|
11233
|
-
} else if (e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')) {
|
11234
|
-
e.preventDefault();
|
11235
|
-
focusChild(el, 'first');
|
11236
|
-
}
|
11237
11215
|
}
|
11238
|
-
} else if (
|
11216
|
+
} else if (['ArrowDown', 'ArrowUp'].includes(e.key)) {
|
11239
11217
|
isActive.value = true;
|
11240
11218
|
e.preventDefault();
|
11241
11219
|
setTimeout(() => setTimeout(() => onActivatorKeydown(e)));
|
@@ -11259,7 +11237,6 @@ const VMenu = genericComponent()({
|
|
11259
11237
|
"onUpdate:modelValue": $event => isActive.value = $event,
|
11260
11238
|
"absolute": true,
|
11261
11239
|
"activatorProps": activatorProps.value,
|
11262
|
-
"location": props.location ?? (props.submenu ? 'end' : 'bottom'),
|
11263
11240
|
"onClick:outside": onClickOutside,
|
11264
11241
|
"onKeydown": onKeydown
|
11265
11242
|
}, scopeId), {
|
@@ -30331,7 +30308,7 @@ function createVuetify$1() {
|
|
30331
30308
|
goTo
|
30332
30309
|
};
|
30333
30310
|
}
|
30334
|
-
const version$1 = "3.
|
30311
|
+
const version$1 = "3.7.0-beta.1-dev.2024-07-29";
|
30335
30312
|
createVuetify$1.version = version$1;
|
30336
30313
|
|
30337
30314
|
// Vue's inject() can only be used in setup
|
@@ -30584,7 +30561,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
30584
30561
|
|
30585
30562
|
/* eslint-disable local-rules/sort-imports */
|
30586
30563
|
|
30587
|
-
const version = "3.
|
30564
|
+
const version = "3.7.0-beta.1-dev.2024-07-29";
|
30588
30565
|
|
30589
30566
|
/* eslint-disable local-rules/sort-imports */
|
30590
30567
|
|