uikit 3.24.2-dev.0c818599c → 3.24.2-dev.36b5f74cf
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 +7 -0
- package/build/scope.js +10 -1
- package/dist/css/uikit-core-rtl.css +4 -1
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +4 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +4 -1
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +4 -1
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +2 -2
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +2 -2
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +1 -1
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +1 -1
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +1 -1
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +1 -1
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +1 -1
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +1 -1
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +4 -4
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +4 -4
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/util/player.js +2 -1
- package/src/js/util/scroll.js +2 -2
- package/src/less/components/width.less +2 -0
- package/src/scss/components/width.scss +2 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "uikit",
|
|
3
3
|
"title": "UIkit",
|
|
4
4
|
"description": "UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.",
|
|
5
|
-
"version": "3.24.2-dev.
|
|
5
|
+
"version": "3.24.2-dev.36b5f74cf",
|
|
6
6
|
"main": "dist/js/uikit.js",
|
|
7
7
|
"style": "dist/css/uikit.css",
|
|
8
8
|
"sideEffects": [
|
package/src/js/util/player.js
CHANGED
|
@@ -14,7 +14,8 @@ export function play(el) {
|
|
|
14
14
|
|
|
15
15
|
export function pause(el) {
|
|
16
16
|
if (isIFrame(el)) {
|
|
17
|
-
|
|
17
|
+
// Safari ignores the attribute loading=lazy when the src gets set through JS
|
|
18
|
+
el[stateKey] && call(el, { func: 'pauseVideo', method: 'pause' });
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
if (isHTML5(el)) {
|
package/src/js/util/scroll.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { css, getEventPos, matches, on, once, resetProps, scrollParents } from 'uikit-util';
|
|
1
|
+
import { css, getEventPos, matches, on, once, resetProps, scrollParents, width } from 'uikit-util';
|
|
2
2
|
|
|
3
3
|
let prevented;
|
|
4
4
|
export function preventBackgroundScroll(el) {
|
|
@@ -53,7 +53,7 @@ export function preventBackgroundScroll(el) {
|
|
|
53
53
|
const props = {
|
|
54
54
|
overflowY: CSS.supports('overflow', 'clip') ? 'clip' : 'hidden',
|
|
55
55
|
touchAction: 'none',
|
|
56
|
-
scrollbarGutter: 'stable',
|
|
56
|
+
scrollbarGutter: width(window) - scrollingElement.clientWidth ? 'stable' : '',
|
|
57
57
|
};
|
|
58
58
|
css(scrollingElement, props);
|
|
59
59
|
return () => {
|
|
@@ -474,6 +474,8 @@
|
|
|
474
474
|
/* Intrinsic Widths
|
|
475
475
|
========================================================================== */
|
|
476
476
|
|
|
477
|
+
.uk-width-fit-content { width: fit-content; }
|
|
478
|
+
|
|
477
479
|
.uk-width-max-content { width: max-content; }
|
|
478
480
|
|
|
479
481
|
.uk-width-min-content { width: min-content; }
|
|
@@ -472,6 +472,8 @@
|
|
|
472
472
|
/* Intrinsic Widths
|
|
473
473
|
========================================================================== */
|
|
474
474
|
|
|
475
|
+
.uk-width-fit-content { width: fit-content; }
|
|
476
|
+
|
|
475
477
|
.uk-width-max-content { width: max-content; }
|
|
476
478
|
|
|
477
479
|
.uk-width-min-content { width: min-content; }
|