uikit 3.13.11-dev.98491b3f4 → 3.13.11-dev.d3de726ee

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 (52) hide show
  1. package/CHANGELOG.md +4 -1
  2. package/dist/css/uikit-core-rtl.css +6 -3
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +6 -3
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +6 -3
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +6 -3
  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 +1 -1
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +1 -1
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +2 -2
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +1 -1
  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 +47 -26
  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 +48 -27
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/js/components/slider.js +1 -1
  44. package/src/js/core/scrollspy-nav.js +2 -2
  45. package/src/js/core/sticky.js +36 -12
  46. package/src/js/util/position.js +3 -6
  47. package/src/less/components/sticky.less +8 -3
  48. package/src/scss/components/sticky.scss +8 -3
  49. package/tests/parallax.html +4 -4
  50. package/tests/sticky-navbar.html +6 -6
  51. package/tests/sticky-parallax.html +8 -8
  52. package/tests/sticky.html +149 -74
package/CHANGELOG.md CHANGED
@@ -8,9 +8,10 @@
8
8
  - Add axis flipping if overflowing on both sides to Drop and Dropdown components
9
9
  - Add `max-width` to prevent overflowing the viewport to Drop and Dropdown components
10
10
  - Add support for negative `start` value in Sticky component
11
+ - Add `overflow-flip` option to Sticky component
11
12
  - Add navbar justify to Navbar component
12
13
  - Add subtitle classes to Nav, Dropdown and Navbar components
13
- - Add support for `vw`,`vh`,`%` and `px` units to scale property in Parallax component
14
+ - Add support for `vw`,`vh`,`%` and `px` units to scale property in Parallax component
14
15
 
15
16
  ### Changed
16
17
 
@@ -19,12 +20,14 @@
19
20
 
20
21
  ### Removed
21
22
 
23
+ - Remove `position: auto` option in Sticky component, use `overflow-flip` option instead
22
24
  - Remove `overflow-x: hidden` on html element, while horizontal animation is active
23
25
 
24
26
  ### Fixed
25
27
 
26
28
  - Fix dropbar dropdown alignment if boundary-align is true
27
29
  - Fix viewport helper functions take border into account
30
+ - Fix Sticky component responsiveness on window resize
28
31
 
29
32
  ## 3.13.10 (April 20, 2022)
30
33
 
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.13.11-dev.98491b3f4 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.13.11-dev.d3de726ee | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -3650,17 +3650,20 @@ select.uk-form-width-xsmall {
3650
3650
  Component: Sticky
3651
3651
  ========================================================================== */
3652
3652
  /*
3653
- * Create position context so it's t the same like when fixed.
3653
+ * 1. Create position context so it's t the same like when fixed.
3654
+ * 2. More robust if padding and border are used and the sticky height is transitioned
3654
3655
  */
3655
3656
  .uk-sticky {
3657
+ /* 1 */
3656
3658
  position: relative;
3659
+ /* 2 */
3660
+ box-sizing: border-box;
3657
3661
  }
3658
3662
  /*
3659
3663
  * 1. Force new layer to resolve frame rate issues on devices with lower frame rates
3660
3664
  */
3661
3665
  .uk-sticky-fixed {
3662
3666
  z-index: 980;
3663
- box-sizing: border-box;
3664
3667
  margin: 0 !important;
3665
3668
  /* 1 */
3666
3669
  -webkit-backface-visibility: hidden;