@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.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
|
*/
|
@@ -618,6 +618,33 @@
|
|
618
618
|
return target.getBoundingClientRect();
|
619
619
|
}
|
620
620
|
}
|
621
|
+
function getElementBox(el) {
|
622
|
+
if (el === document.documentElement) {
|
623
|
+
if (!visualViewport) {
|
624
|
+
return new Box({
|
625
|
+
x: 0,
|
626
|
+
y: 0,
|
627
|
+
width: document.documentElement.clientWidth,
|
628
|
+
height: document.documentElement.clientHeight
|
629
|
+
});
|
630
|
+
} else {
|
631
|
+
return new Box({
|
632
|
+
x: visualViewport.scale > 1 ? 0 : visualViewport.offsetLeft,
|
633
|
+
y: visualViewport.scale > 1 ? 0 : visualViewport.offsetTop,
|
634
|
+
width: visualViewport.width * visualViewport.scale,
|
635
|
+
height: visualViewport.height * visualViewport.scale
|
636
|
+
});
|
637
|
+
}
|
638
|
+
} else {
|
639
|
+
const rect = el.getBoundingClientRect();
|
640
|
+
return new Box({
|
641
|
+
x: rect.x,
|
642
|
+
y: rect.y,
|
643
|
+
width: el.clientWidth,
|
644
|
+
height: el.clientHeight
|
645
|
+
});
|
646
|
+
}
|
647
|
+
}
|
621
648
|
|
622
649
|
// Utilities
|
623
650
|
|
@@ -10278,11 +10305,19 @@
|
|
10278
10305
|
vue.watch(() => props.locationStrategy, reset);
|
10279
10306
|
vue.onScopeDispose(() => {
|
10280
10307
|
window.removeEventListener('resize', onResize);
|
10308
|
+
visualViewport?.removeEventListener('resize', onVisualResize);
|
10309
|
+
visualViewport?.removeEventListener('scroll', onVisualScroll);
|
10281
10310
|
updateLocation.value = undefined;
|
10282
10311
|
});
|
10283
10312
|
window.addEventListener('resize', onResize, {
|
10284
10313
|
passive: true
|
10285
10314
|
});
|
10315
|
+
visualViewport?.addEventListener('resize', onVisualResize, {
|
10316
|
+
passive: true
|
10317
|
+
});
|
10318
|
+
visualViewport?.addEventListener('scroll', onVisualScroll, {
|
10319
|
+
passive: true
|
10320
|
+
});
|
10286
10321
|
if (typeof props.locationStrategy === 'function') {
|
10287
10322
|
updateLocation.value = props.locationStrategy(data, props, contentStyles)?.updateLocation;
|
10288
10323
|
} else {
|
@@ -10293,6 +10328,12 @@
|
|
10293
10328
|
function onResize(e) {
|
10294
10329
|
updateLocation.value?.(e);
|
10295
10330
|
}
|
10331
|
+
function onVisualResize(e) {
|
10332
|
+
updateLocation.value?.(e);
|
10333
|
+
}
|
10334
|
+
function onVisualScroll(e) {
|
10335
|
+
updateLocation.value?.(e);
|
10336
|
+
}
|
10296
10337
|
return {
|
10297
10338
|
contentStyles,
|
10298
10339
|
updateLocation
|
@@ -10444,13 +10485,7 @@
|
|
10444
10485
|
}
|
10445
10486
|
}
|
10446
10487
|
const viewport = scrollParents.reduce((box, el) => {
|
10447
|
-
const
|
10448
|
-
const scrollBox = new Box({
|
10449
|
-
x: el === document.documentElement ? 0 : rect.x,
|
10450
|
-
y: el === document.documentElement ? 0 : rect.y,
|
10451
|
-
width: el.clientWidth,
|
10452
|
-
height: el.clientHeight
|
10453
|
-
});
|
10488
|
+
const scrollBox = getElementBox(el);
|
10454
10489
|
if (box) {
|
10455
10490
|
return new Box({
|
10456
10491
|
x: Math.max(box.left, scrollBox.left),
|
@@ -29259,7 +29294,7 @@
|
|
29259
29294
|
};
|
29260
29295
|
});
|
29261
29296
|
}
|
29262
|
-
const version$1 = "3.8.6-master.2025-05-
|
29297
|
+
const version$1 = "3.8.6-master.2025-05-22";
|
29263
29298
|
createVuetify$1.version = version$1;
|
29264
29299
|
|
29265
29300
|
// Vue's inject() can only be used in setup
|
@@ -29284,7 +29319,7 @@
|
|
29284
29319
|
...options
|
29285
29320
|
});
|
29286
29321
|
};
|
29287
|
-
const version = "3.8.6-master.2025-05-
|
29322
|
+
const version = "3.8.6-master.2025-05-22";
|
29288
29323
|
createVuetify.version = version;
|
29289
29324
|
|
29290
29325
|
exports.blueprints = index;
|