@vuetify/nightly 3.6.8-master.2024-06-11 → 3.6.9-master.2024-06-12
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 +2 -10
- package/dist/json/attributes.json +4 -4
- package/dist/json/importMap-labs.json +24 -24
- package/dist/json/importMap.json +132 -132
- package/dist/json/web-types.json +12 -13
- package/dist/vuetify-labs.css +2088 -2088
- package/dist/vuetify-labs.d.ts +44 -45
- package/dist/vuetify-labs.esm.js +32 -19
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +32 -19
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +489 -489
- package/dist/vuetify.d.ts +84 -91
- package/dist/vuetify.esm.js +20 -13
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +20 -13
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +31 -28
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VFab/VFab.mjs +4 -7
- package/lib/components/VFab/VFab.mjs.map +1 -1
- package/lib/components/VFab/index.d.mts +46 -49
- package/lib/components/VList/VList.mjs +1 -0
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +2 -0
- package/lib/components/VMenu/VMenu.mjs +1 -1
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.mjs +4 -3
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/index.d.mts +38 -45
- package/lib/composables/scroll.mjs +6 -0
- package/lib/composables/scroll.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +46 -46
- package/lib/labs/VTimePicker/VTimePickerClock.mjs +3 -1
- package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +7 -2
- package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeview.mjs +3 -4
- package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/labs/VTreeview/index.d.mts +6 -0
- package/lib/labs/components.d.mts +6 -0
- package/package.json +1 -1
package/dist/vuetify.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.6.
|
2
|
+
* Vuetify v3.6.9-master.2024-06-12
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -4200,6 +4200,7 @@
|
|
4200
4200
|
canScroll
|
4201
4201
|
} = args;
|
4202
4202
|
let previousScroll = 0;
|
4203
|
+
let previousScrollHeight = 0;
|
4203
4204
|
const target = vue.ref(null);
|
4204
4205
|
const currentScroll = vue.shallowRef(0);
|
4205
4206
|
const savedScroll = vue.shallowRef(0);
|
@@ -4222,6 +4223,11 @@
|
|
4222
4223
|
if (!targetEl || canScroll && !canScroll.value) return;
|
4223
4224
|
previousScroll = currentScroll.value;
|
4224
4225
|
currentScroll.value = 'window' in targetEl ? targetEl.pageYOffset : targetEl.scrollTop;
|
4226
|
+
const currentScrollHeight = targetEl instanceof Window ? document.documentElement.scrollHeight : targetEl.scrollHeight;
|
4227
|
+
if (previousScrollHeight !== currentScrollHeight) {
|
4228
|
+
previousScrollHeight = currentScrollHeight;
|
4229
|
+
return;
|
4230
|
+
}
|
4225
4231
|
isScrollingUp.value = currentScroll.value < previousScroll;
|
4226
4232
|
currentThreshold.value = Math.abs(currentScroll.value - scrollThreshold.value);
|
4227
4233
|
};
|
@@ -9621,6 +9627,7 @@
|
|
9621
9627
|
nav: Boolean,
|
9622
9628
|
'onClick:open': EventProp(),
|
9623
9629
|
'onClick:select': EventProp(),
|
9630
|
+
'onUpdate:opened': EventProp(),
|
9624
9631
|
...makeNestedProps({
|
9625
9632
|
selectStrategy: 'single-leaf',
|
9626
9633
|
openStrategy: 'list'
|
@@ -11024,9 +11031,6 @@
|
|
11024
11031
|
if (!(v && props.disabled)) model.value = v;
|
11025
11032
|
}
|
11026
11033
|
});
|
11027
|
-
const {
|
11028
|
-
teleportTarget
|
11029
|
-
} = useTeleport(vue.computed(() => props.attach || props.contained));
|
11030
11034
|
const {
|
11031
11035
|
themeClasses
|
11032
11036
|
} = provideTheme(props);
|
@@ -11059,6 +11063,10 @@
|
|
11059
11063
|
isActive,
|
11060
11064
|
isTop: localTop
|
11061
11065
|
});
|
11066
|
+
const potentialShadowDomRoot = vue.computed(() => activatorEl?.value?.getRootNode());
|
11067
|
+
const {
|
11068
|
+
teleportTarget
|
11069
|
+
} = useTeleport(vue.computed(() => props.attach || props.contained || potentialShadowDomRoot.value instanceof ShadowRoot ? potentialShadowDomRoot.value : false));
|
11062
11070
|
const {
|
11063
11071
|
dimensionStyles
|
11064
11072
|
} = useDimension(props);
|
@@ -11401,7 +11409,7 @@
|
|
11401
11409
|
function onKeydown(e) {
|
11402
11410
|
if (props.disabled) return;
|
11403
11411
|
if (e.key === 'Tab' || e.key === 'Enter' && !props.closeOnContentClick) {
|
11404
|
-
if (e.key === 'Enter' && e.target instanceof HTMLTextAreaElement) return;
|
11412
|
+
if (e.key === 'Enter' && (e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLInputElement && !!e.target.closest('form'))) return;
|
11405
11413
|
if (e.key === 'Enter') e.preventDefault();
|
11406
11414
|
const nextElement = getNextElement(focusableChildren(overlay.value?.contentEl, false), e.shiftKey ? 'prev' : 'next', el => el.tabIndex >= 0);
|
11407
11415
|
if (!nextElement) {
|
@@ -22749,15 +22757,13 @@
|
|
22749
22757
|
}
|
22750
22758
|
});
|
22751
22759
|
|
22760
|
+
// Types
|
22761
|
+
|
22752
22762
|
const makeVFabProps = propsFactory({
|
22753
22763
|
app: Boolean,
|
22754
22764
|
appear: Boolean,
|
22755
22765
|
extended: Boolean,
|
22756
22766
|
layout: Boolean,
|
22757
|
-
location: {
|
22758
|
-
type: String,
|
22759
|
-
default: 'bottom end'
|
22760
|
-
},
|
22761
22767
|
offset: Boolean,
|
22762
22768
|
modelValue: {
|
22763
22769
|
type: Boolean,
|
@@ -22767,6 +22773,7 @@
|
|
22767
22773
|
active: true
|
22768
22774
|
}), ['location']),
|
22769
22775
|
...makeLayoutItemProps(),
|
22776
|
+
...makeLocationProps(),
|
22770
22777
|
...makeTransitionProps({
|
22771
22778
|
transition: 'fab-transition'
|
22772
22779
|
})
|
@@ -22793,11 +22800,11 @@
|
|
22793
22800
|
const hasPosition = vue.computed(() => props.app || props.absolute);
|
22794
22801
|
const position = vue.computed(() => {
|
22795
22802
|
if (!hasPosition.value) return false;
|
22796
|
-
return props.location
|
22803
|
+
return props.location?.split(' ').shift() ?? 'bottom';
|
22797
22804
|
});
|
22798
22805
|
const orientation = vue.computed(() => {
|
22799
22806
|
if (!hasPosition.value) return false;
|
22800
|
-
return props.location
|
22807
|
+
return props.location?.split(' ')[1] ?? 'end';
|
22801
22808
|
});
|
22802
22809
|
useToggleScope(() => props.app, () => {
|
22803
22810
|
const layout = useLayoutItem({
|
@@ -28071,7 +28078,7 @@
|
|
28071
28078
|
goTo
|
28072
28079
|
};
|
28073
28080
|
}
|
28074
|
-
const version$1 = "3.6.
|
28081
|
+
const version$1 = "3.6.9-master.2024-06-12";
|
28075
28082
|
createVuetify$1.version = version$1;
|
28076
28083
|
|
28077
28084
|
// Vue's inject() can only be used in setup
|
@@ -28096,7 +28103,7 @@
|
|
28096
28103
|
...options
|
28097
28104
|
});
|
28098
28105
|
};
|
28099
|
-
const version = "3.6.
|
28106
|
+
const version = "3.6.9-master.2024-06-12";
|
28100
28107
|
createVuetify.version = version;
|
28101
28108
|
|
28102
28109
|
exports.blueprints = index;
|