uikit 3.11.2-dev.07abf1392 → 3.11.2-dev.0a73abee2

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.
Files changed (55) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/dist/css/uikit-core-rtl.css +10 -1
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +10 -1
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +10 -1
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +10 -1
  9. package/dist/css/uikit.min.css +1 -1
  10. package/dist/js/components/countdown.js +1 -1
  11. package/dist/js/components/countdown.min.js +1 -1
  12. package/dist/js/components/filter.js +1 -1
  13. package/dist/js/components/filter.min.js +1 -1
  14. package/dist/js/components/lightbox-panel.js +1 -1
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +1 -1
  17. package/dist/js/components/lightbox.min.js +1 -1
  18. package/dist/js/components/notification.js +1 -1
  19. package/dist/js/components/notification.min.js +1 -1
  20. package/dist/js/components/parallax.js +6 -8
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +6 -8
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +23 -32
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +6 -8
  27. package/dist/js/components/slideshow-parallax.min.js +1 -1
  28. package/dist/js/components/slideshow.js +1 -1
  29. package/dist/js/components/slideshow.min.js +1 -1
  30. package/dist/js/components/sortable.js +1 -1
  31. package/dist/js/components/sortable.min.js +1 -1
  32. package/dist/js/components/tooltip.js +1 -1
  33. package/dist/js/components/tooltip.min.js +1 -1
  34. package/dist/js/components/upload.js +1 -1
  35. package/dist/js/components/upload.min.js +1 -1
  36. package/dist/js/uikit-core.js +82 -71
  37. package/dist/js/uikit-core.min.js +1 -1
  38. package/dist/js/uikit-icons.js +1 -1
  39. package/dist/js/uikit-icons.min.js +1 -1
  40. package/dist/js/uikit.js +109 -109
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/js/components/slider.js +22 -33
  44. package/src/js/core/height-viewport.js +3 -0
  45. package/src/js/core/img.js +3 -1
  46. package/src/js/core/sticky.js +50 -56
  47. package/src/js/core/toggle.js +1 -1
  48. package/src/js/mixin/parallax.js +6 -8
  49. package/src/js/util/ajax.js +6 -2
  50. package/src/js/util/dimensions.js +4 -4
  51. package/src/js/util/dom.js +15 -6
  52. package/src/less/components/height.less +3 -0
  53. package/src/scss/components/height.scss +3 -0
  54. package/tests/parallax.html +5 -5
  55. package/tests/sticky-parallax.html +9 -9
package/CHANGELOG.md CHANGED
@@ -12,7 +12,7 @@
12
12
  - Add support for basic math operands in `offset` option of Sticky component
13
13
  - Add animation stop positions to Parallax component
14
14
  - Add object fit and position classes to Utility component
15
- - Add support for specifying location for steps in Parallax component
15
+ - Add height viewport classes to Height component
16
16
 
17
17
  ### Changed
18
18
 
@@ -21,6 +21,7 @@
21
21
  - Slideshow and Slider remove native `loading="lazy"` attribute from adjacent slides
22
22
  - Improve sticky behavior if sticky content is larger than the viewport
23
23
  - Sticky component's `bottom` option checks for bottom padding if sticky element is within referenced element
24
+ - Height Viewport component sets `uk-height-viewport` class to reduce initial layout shifts
24
25
 
25
26
  ### Deprecated
26
27
 
@@ -34,10 +35,14 @@
34
35
  ### Fixed
35
36
 
36
37
  - Fix infinite sliding in Slider component with equally sized slides
37
- - Fix Sticky component setting wrong margin for placeholder
38
+ - Fix Slider component sets calculation
38
39
  - Fix dropdowns not closing in Navbar component when hovering dropbar and navigation with keyboard
39
40
  - Fix dropdown no longer closes if pointer is still moving towards it
40
41
  - Fix `fadein` not transformed correctly to `fade-in` in scss build
42
+ - Fix Sticky component setting wrong margin for placeholder
43
+ - Fix Sticky placeholder sets height with fraction
44
+ - Fix Sticky component does not animate in if scroll position equals top offset
45
+ - Fix Sticky component prevents transition on `selTarget` if forced to hide for recalculation
41
46
 
42
47
  ## 3.11.1 (February 7, 2022)
43
48
 
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.11.2-dev.07abf1392 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.11.2-dev.0a73abee2 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -6646,6 +6646,15 @@ ul.uk-nav-sub {
6646
6646
  .uk-height-viewport {
6647
6647
  min-height: 100vh;
6648
6648
  }
6649
+ .uk-height-viewport-2 {
6650
+ min-height: 200vh;
6651
+ }
6652
+ .uk-height-viewport-3 {
6653
+ min-height: 300vh;
6654
+ }
6655
+ .uk-height-viewport-4 {
6656
+ min-height: 400vh;
6657
+ }
6649
6658
  /*
6650
6659
  * Pixel
6651
6660
  * Useful for `overflow: auto`