@vuetify/nightly 3.8.6-master.2025-05-21 → 3.8.6-master.2025-05-22
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 +4 -3
- package/dist/json/attributes.json +3322 -3322
- package/dist/json/importMap-labs.json +28 -28
- package/dist/json/importMap.json +182 -182
- package/dist/json/web-types.json +5959 -5959
- package/dist/vuetify-labs.cjs +45 -10
- package/dist/vuetify-labs.css +4696 -4696
- package/dist/vuetify-labs.d.ts +66 -66
- package/dist/vuetify-labs.esm.js +45 -10
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +45 -10
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +45 -10
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +2634 -2634
- package/dist/vuetify.d.ts +66 -66
- package/dist/vuetify.esm.js +45 -10
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +45 -10
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +8 -6
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VOverlay/locationStrategies.js +16 -8
- package/lib/components/VOverlay/locationStrategies.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +66 -66
- package/lib/framework.js +1 -1
- package/lib/util/box.d.ts +1 -0
- package/lib/util/box.js +27 -0
- package/lib/util/box.js.map +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.8.6-master.2025-05-
|
2
|
+
* Vuetify v3.8.6-master.2025-05-22
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -695,6 +695,33 @@
|
|
695
695
|
return target.getBoundingClientRect();
|
696
696
|
}
|
697
697
|
}
|
698
|
+
function getElementBox(el) {
|
699
|
+
if (el === document.documentElement) {
|
700
|
+
if (!visualViewport) {
|
701
|
+
return new Box({
|
702
|
+
x: 0,
|
703
|
+
y: 0,
|
704
|
+
width: document.documentElement.clientWidth,
|
705
|
+
height: document.documentElement.clientHeight
|
706
|
+
});
|
707
|
+
} else {
|
708
|
+
return new Box({
|
709
|
+
x: visualViewport.scale > 1 ? 0 : visualViewport.offsetLeft,
|
710
|
+
y: visualViewport.scale > 1 ? 0 : visualViewport.offsetTop,
|
711
|
+
width: visualViewport.width * visualViewport.scale,
|
712
|
+
height: visualViewport.height * visualViewport.scale
|
713
|
+
});
|
714
|
+
}
|
715
|
+
} else {
|
716
|
+
const rect = el.getBoundingClientRect();
|
717
|
+
return new Box({
|
718
|
+
x: rect.x,
|
719
|
+
y: rect.y,
|
720
|
+
width: el.clientWidth,
|
721
|
+
height: el.clientHeight
|
722
|
+
});
|
723
|
+
}
|
724
|
+
}
|
698
725
|
|
699
726
|
// Utilities
|
700
727
|
|
@@ -10000,11 +10027,19 @@
|
|
10000
10027
|
vue.watch(() => props.locationStrategy, reset);
|
10001
10028
|
vue.onScopeDispose(() => {
|
10002
10029
|
window.removeEventListener('resize', onResize);
|
10030
|
+
visualViewport?.removeEventListener('resize', onVisualResize);
|
10031
|
+
visualViewport?.removeEventListener('scroll', onVisualScroll);
|
10003
10032
|
updateLocation.value = undefined;
|
10004
10033
|
});
|
10005
10034
|
window.addEventListener('resize', onResize, {
|
10006
10035
|
passive: true
|
10007
10036
|
});
|
10037
|
+
visualViewport?.addEventListener('resize', onVisualResize, {
|
10038
|
+
passive: true
|
10039
|
+
});
|
10040
|
+
visualViewport?.addEventListener('scroll', onVisualScroll, {
|
10041
|
+
passive: true
|
10042
|
+
});
|
10008
10043
|
if (typeof props.locationStrategy === 'function') {
|
10009
10044
|
updateLocation.value = props.locationStrategy(data, props, contentStyles)?.updateLocation;
|
10010
10045
|
} else {
|
@@ -10015,6 +10050,12 @@
|
|
10015
10050
|
function onResize(e) {
|
10016
10051
|
updateLocation.value?.(e);
|
10017
10052
|
}
|
10053
|
+
function onVisualResize(e) {
|
10054
|
+
updateLocation.value?.(e);
|
10055
|
+
}
|
10056
|
+
function onVisualScroll(e) {
|
10057
|
+
updateLocation.value?.(e);
|
10058
|
+
}
|
10018
10059
|
return {
|
10019
10060
|
contentStyles,
|
10020
10061
|
updateLocation
|
@@ -10166,13 +10207,7 @@
|
|
10166
10207
|
}
|
10167
10208
|
}
|
10168
10209
|
const viewport = scrollParents.reduce((box, el) => {
|
10169
|
-
const
|
10170
|
-
const scrollBox = new Box({
|
10171
|
-
x: el === document.documentElement ? 0 : rect.x,
|
10172
|
-
y: el === document.documentElement ? 0 : rect.y,
|
10173
|
-
width: el.clientWidth,
|
10174
|
-
height: el.clientHeight
|
10175
|
-
});
|
10210
|
+
const scrollBox = getElementBox(el);
|
10176
10211
|
if (box) {
|
10177
10212
|
return new Box({
|
10178
10213
|
x: Math.max(box.left, scrollBox.left),
|
@@ -31954,7 +31989,7 @@
|
|
31954
31989
|
};
|
31955
31990
|
});
|
31956
31991
|
}
|
31957
|
-
const version$1 = "3.8.6-master.2025-05-
|
31992
|
+
const version$1 = "3.8.6-master.2025-05-22";
|
31958
31993
|
createVuetify$1.version = version$1;
|
31959
31994
|
|
31960
31995
|
// Vue's inject() can only be used in setup
|
@@ -32252,7 +32287,7 @@
|
|
32252
32287
|
|
32253
32288
|
/* eslint-disable local-rules/sort-imports */
|
32254
32289
|
|
32255
|
-
const version = "3.8.6-master.2025-05-
|
32290
|
+
const version = "3.8.6-master.2025-05-22";
|
32256
32291
|
|
32257
32292
|
/* eslint-disable local-rules/sort-imports */
|
32258
32293
|
|