uikit 3.13.11-dev.98491b3f4 → 3.13.11-dev.9f2f619d7

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 (62) hide show
  1. package/CHANGELOG.md +6 -1
  2. package/dist/css/uikit-core-rtl.css +9 -3
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +9 -3
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +9 -3
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +9 -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 +4 -2
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +4 -2
  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 +4 -2
  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 +98 -68
  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 +102 -70
  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/cover.js +27 -14
  45. package/src/js/core/scrollspy-nav.js +2 -2
  46. package/src/js/core/sticky.js +36 -12
  47. package/src/js/mixin/parallax.js +3 -2
  48. package/src/js/util/lang.js +34 -38
  49. package/src/js/util/position.js +4 -7
  50. package/src/less/components/nav.less +1 -0
  51. package/src/less/components/sticky.less +8 -3
  52. package/src/less/components/utility.less +1 -0
  53. package/src/scss/components/nav.scss +1 -0
  54. package/src/scss/components/sticky.scss +8 -3
  55. package/src/scss/components/utility.scss +1 -0
  56. package/tests/alert.html +1 -1
  57. package/tests/drop.html +129 -80
  58. package/tests/navbar.html +1 -1
  59. package/tests/parallax.html +5 -5
  60. package/tests/sticky-navbar.html +6 -6
  61. package/tests/sticky-parallax.html +163 -158
  62. package/tests/sticky.html +149 -74
package/CHANGELOG.md CHANGED
@@ -8,9 +8,11 @@
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
15
+ - Add resize horizontal class to Utility component
14
16
 
15
17
  ### Changed
16
18
 
@@ -19,12 +21,15 @@
19
21
 
20
22
  ### Removed
21
23
 
24
+ - Remove `position: auto` option in Sticky component, use `overflow-flip` option instead
22
25
  - Remove `overflow-x: hidden` on html element, while horizontal animation is active
23
26
 
24
27
  ### Fixed
25
28
 
26
29
  - Fix dropbar dropdown alignment if boundary-align is true
27
30
  - Fix viewport helper functions take border into account
31
+ - Fix Sticky component responsiveness on window resize
32
+ - Fix Cover component correctly applies ratio if only one of width/height is provided
28
33
 
29
34
  ## 3.13.10 (April 20, 2022)
30
35
 
@@ -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.9f2f619d7 | 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;
@@ -7408,6 +7411,9 @@ iframe[data-uk-cover] {
7408
7411
  .uk-resize {
7409
7412
  resize: both;
7410
7413
  }
7414
+ .uk-resize-horizontal {
7415
+ resize: horizontal;
7416
+ }
7411
7417
  .uk-resize-vertical {
7412
7418
  resize: vertical;
7413
7419
  }