uikit 3.11.2-dev.03e47c2ff → 3.11.2-dev.06fe7f1d0
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 +5 -1
- package/dist/css/uikit-core-rtl.css +12 -6
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +12 -6
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +12 -6
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +12 -6
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +3 -3
- 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 +4 -14
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +4 -14
- 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 +8 -9
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +8 -9
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +59 -78
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +8 -9
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +23 -45
- 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 +2 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +357 -264
- 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 +414 -361
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/api/hooks.js +2 -2
- package/src/js/api/state.js +173 -140
- package/src/js/components/countdown.js +2 -2
- package/src/js/components/internal/slider-preload.js +4 -32
- package/src/js/components/slider.js +39 -42
- package/src/js/components/upload.js +2 -1
- package/src/js/core/accordion.js +6 -1
- package/src/js/core/core.js +2 -75
- package/src/js/core/cover.js +5 -1
- package/src/js/core/drop.js +3 -1
- package/src/js/core/form-custom.js +2 -2
- package/src/js/core/height-viewport.js +3 -0
- package/src/js/core/img.js +16 -24
- package/src/js/core/offcanvas.js +2 -1
- package/src/js/core/sticky.js +27 -33
- package/src/js/core/switcher.js +11 -3
- package/src/js/core/toggle.js +3 -1
- package/src/js/core/video.js +13 -1
- package/src/js/mixin/lazyload.js +20 -0
- package/src/js/mixin/parallax.js +8 -9
- package/src/js/mixin/slider.js +0 -6
- package/src/js/mixin/slideshow.js +0 -4
- package/src/js/mixin/swipe.js +72 -0
- package/src/js/util/index.js +1 -0
- package/src/js/util/observer.js +36 -0
- package/src/less/components/utility.less +6 -3
- package/src/scss/components/utility.scss +6 -3
- package/tests/parallax.html +2 -2
- package/tests/sticky-parallax.html +1 -1
- package/tests/utility.html +17 -0
package/CHANGELOG.md
CHANGED
|
@@ -18,9 +18,11 @@
|
|
|
18
18
|
|
|
19
19
|
- Image elements need `width` and `height` attributes to prevent layout shifts
|
|
20
20
|
- Image component no longer relies on session storage to check for cached images to immediately show an image
|
|
21
|
-
-
|
|
21
|
+
- Slider and Switcher remove native `loading="lazy"` attribute from adjacent slides
|
|
22
|
+
- Accordion, Drop, Switcher and Toggle remove native `loading="lazy"` attribute from their children when entering the viewport
|
|
22
23
|
- Improve sticky behavior if sticky content is larger than the viewport
|
|
23
24
|
- Sticky component's `bottom` option checks for bottom padding if sticky element is within referenced element
|
|
25
|
+
- Height Viewport component sets `uk-height-viewport` class to reduce initial layout shifts
|
|
24
26
|
|
|
25
27
|
### Deprecated
|
|
26
28
|
|
|
@@ -34,6 +36,7 @@
|
|
|
34
36
|
### Fixed
|
|
35
37
|
|
|
36
38
|
- Fix infinite sliding in Slider component with equally sized slides
|
|
39
|
+
- Fix Slider component sets calculation
|
|
37
40
|
- Fix dropdowns not closing in Navbar component when hovering dropbar and navigation with keyboard
|
|
38
41
|
- Fix dropdown no longer closes if pointer is still moving towards it
|
|
39
42
|
- Fix `fadein` not transformed correctly to `fade-in` in scss build
|
|
@@ -41,6 +44,7 @@
|
|
|
41
44
|
- Fix Sticky placeholder sets height with fraction
|
|
42
45
|
- Fix Sticky component does not animate in if scroll position equals top offset
|
|
43
46
|
- Fix Sticky component prevents transition on `selTarget` if forced to hide for recalculation
|
|
47
|
+
- Fix Parallax component initial jump in background image
|
|
44
48
|
|
|
45
49
|
## 3.11.1 (February 7, 2022)
|
|
46
50
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.11.2-dev.
|
|
1
|
+
/*! UIkit 3.11.2-dev.06fe7f1d0 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -7524,15 +7524,21 @@ iframe[data-uk-cover] {
|
|
|
7524
7524
|
}
|
|
7525
7525
|
/* Object
|
|
7526
7526
|
========================================================================== */
|
|
7527
|
-
.uk-object-
|
|
7528
|
-
object-fit: none;
|
|
7529
|
-
}
|
|
7530
|
-
.uk-object-fit-cover {
|
|
7527
|
+
.uk-object-cover {
|
|
7531
7528
|
object-fit: cover;
|
|
7532
7529
|
}
|
|
7533
|
-
.uk-object-
|
|
7530
|
+
.uk-object-contain {
|
|
7534
7531
|
object-fit: contain;
|
|
7535
7532
|
}
|
|
7533
|
+
.uk-object-fill {
|
|
7534
|
+
object-fit: fill;
|
|
7535
|
+
}
|
|
7536
|
+
.uk-object-none {
|
|
7537
|
+
object-fit: none;
|
|
7538
|
+
}
|
|
7539
|
+
.uk-object-scale-down {
|
|
7540
|
+
object-fit: scale-down;
|
|
7541
|
+
}
|
|
7536
7542
|
/*
|
|
7537
7543
|
* Position
|
|
7538
7544
|
*/
|