@vuetify/nightly 3.6.8-master.2024-06-07 → 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 +12 -12
- package/dist/json/importMap.json +150 -150
- package/dist/json/web-types.json +12 -13
- package/dist/vuetify-labs.css +2651 -2651
- package/dist/vuetify-labs.d.ts +187 -189
- 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 +1049 -1049
- package/dist/vuetify.d.ts +233 -241
- 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/blueprints/index.d.mts +58 -56
- package/lib/blueprints/md1.d.mts +58 -56
- package/lib/blueprints/md2.d.mts +58 -56
- package/lib/blueprints/md3.d.mts +58 -56
- 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/goto.mjs.map +1 -1
- package/lib/composables/icons.mjs.map +1 -1
- 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 +161 -162
- package/lib/labs/VStepperVertical/index.d.mts +3 -3
- 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.esm.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
|
*/
|
@@ -4196,6 +4196,7 @@ function useScroll(props) {
|
|
4196
4196
|
canScroll
|
4197
4197
|
} = args;
|
4198
4198
|
let previousScroll = 0;
|
4199
|
+
let previousScrollHeight = 0;
|
4199
4200
|
const target = ref(null);
|
4200
4201
|
const currentScroll = shallowRef(0);
|
4201
4202
|
const savedScroll = shallowRef(0);
|
@@ -4218,6 +4219,11 @@ function useScroll(props) {
|
|
4218
4219
|
if (!targetEl || canScroll && !canScroll.value) return;
|
4219
4220
|
previousScroll = currentScroll.value;
|
4220
4221
|
currentScroll.value = 'window' in targetEl ? targetEl.pageYOffset : targetEl.scrollTop;
|
4222
|
+
const currentScrollHeight = targetEl instanceof Window ? document.documentElement.scrollHeight : targetEl.scrollHeight;
|
4223
|
+
if (previousScrollHeight !== currentScrollHeight) {
|
4224
|
+
previousScrollHeight = currentScrollHeight;
|
4225
|
+
return;
|
4226
|
+
}
|
4221
4227
|
isScrollingUp.value = currentScroll.value < previousScroll;
|
4222
4228
|
currentThreshold.value = Math.abs(currentScroll.value - scrollThreshold.value);
|
4223
4229
|
};
|
@@ -9617,6 +9623,7 @@ const makeVListProps = propsFactory({
|
|
9617
9623
|
nav: Boolean,
|
9618
9624
|
'onClick:open': EventProp(),
|
9619
9625
|
'onClick:select': EventProp(),
|
9626
|
+
'onUpdate:opened': EventProp(),
|
9620
9627
|
...makeNestedProps({
|
9621
9628
|
selectStrategy: 'single-leaf',
|
9622
9629
|
openStrategy: 'list'
|
@@ -11020,9 +11027,6 @@ const VOverlay = genericComponent()({
|
|
11020
11027
|
if (!(v && props.disabled)) model.value = v;
|
11021
11028
|
}
|
11022
11029
|
});
|
11023
|
-
const {
|
11024
|
-
teleportTarget
|
11025
|
-
} = useTeleport(computed(() => props.attach || props.contained));
|
11026
11030
|
const {
|
11027
11031
|
themeClasses
|
11028
11032
|
} = provideTheme(props);
|
@@ -11055,6 +11059,10 @@ const VOverlay = genericComponent()({
|
|
11055
11059
|
isActive,
|
11056
11060
|
isTop: localTop
|
11057
11061
|
});
|
11062
|
+
const potentialShadowDomRoot = computed(() => activatorEl?.value?.getRootNode());
|
11063
|
+
const {
|
11064
|
+
teleportTarget
|
11065
|
+
} = useTeleport(computed(() => props.attach || props.contained || potentialShadowDomRoot.value instanceof ShadowRoot ? potentialShadowDomRoot.value : false));
|
11058
11066
|
const {
|
11059
11067
|
dimensionStyles
|
11060
11068
|
} = useDimension(props);
|
@@ -11397,7 +11405,7 @@ const VMenu = genericComponent()({
|
|
11397
11405
|
function onKeydown(e) {
|
11398
11406
|
if (props.disabled) return;
|
11399
11407
|
if (e.key === 'Tab' || e.key === 'Enter' && !props.closeOnContentClick) {
|
11400
|
-
if (e.key === 'Enter' && e.target instanceof HTMLTextAreaElement) return;
|
11408
|
+
if (e.key === 'Enter' && (e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLInputElement && !!e.target.closest('form'))) return;
|
11401
11409
|
if (e.key === 'Enter') e.preventDefault();
|
11402
11410
|
const nextElement = getNextElement(focusableChildren(overlay.value?.contentEl, false), e.shiftKey ? 'prev' : 'next', el => el.tabIndex >= 0);
|
11403
11411
|
if (!nextElement) {
|
@@ -22745,15 +22753,13 @@ const VExpansionPanels = genericComponent()({
|
|
22745
22753
|
}
|
22746
22754
|
});
|
22747
22755
|
|
22756
|
+
// Types
|
22757
|
+
|
22748
22758
|
const makeVFabProps = propsFactory({
|
22749
22759
|
app: Boolean,
|
22750
22760
|
appear: Boolean,
|
22751
22761
|
extended: Boolean,
|
22752
22762
|
layout: Boolean,
|
22753
|
-
location: {
|
22754
|
-
type: String,
|
22755
|
-
default: 'bottom end'
|
22756
|
-
},
|
22757
22763
|
offset: Boolean,
|
22758
22764
|
modelValue: {
|
22759
22765
|
type: Boolean,
|
@@ -22763,6 +22769,7 @@ const makeVFabProps = propsFactory({
|
|
22763
22769
|
active: true
|
22764
22770
|
}), ['location']),
|
22765
22771
|
...makeLayoutItemProps(),
|
22772
|
+
...makeLocationProps(),
|
22766
22773
|
...makeTransitionProps({
|
22767
22774
|
transition: 'fab-transition'
|
22768
22775
|
})
|
@@ -22789,11 +22796,11 @@ const VFab = genericComponent()({
|
|
22789
22796
|
const hasPosition = computed(() => props.app || props.absolute);
|
22790
22797
|
const position = computed(() => {
|
22791
22798
|
if (!hasPosition.value) return false;
|
22792
|
-
return props.location
|
22799
|
+
return props.location?.split(' ').shift() ?? 'bottom';
|
22793
22800
|
});
|
22794
22801
|
const orientation = computed(() => {
|
22795
22802
|
if (!hasPosition.value) return false;
|
22796
|
-
return props.location
|
22803
|
+
return props.location?.split(' ')[1] ?? 'end';
|
22797
22804
|
});
|
22798
22805
|
useToggleScope(() => props.app, () => {
|
22799
22806
|
const layout = useLayoutItem({
|
@@ -28067,7 +28074,7 @@ function createVuetify$1() {
|
|
28067
28074
|
goTo
|
28068
28075
|
};
|
28069
28076
|
}
|
28070
|
-
const version$1 = "3.6.
|
28077
|
+
const version$1 = "3.6.9-master.2024-06-12";
|
28071
28078
|
createVuetify$1.version = version$1;
|
28072
28079
|
|
28073
28080
|
// Vue's inject() can only be used in setup
|
@@ -28092,7 +28099,7 @@ const createVuetify = function () {
|
|
28092
28099
|
...options
|
28093
28100
|
});
|
28094
28101
|
};
|
28095
|
-
const version = "3.6.
|
28102
|
+
const version = "3.6.9-master.2024-06-12";
|
28096
28103
|
createVuetify.version = version;
|
28097
28104
|
|
28098
28105
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|