uikit 3.13.10 → 3.13.11-dev.eb080f280

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 (92) hide show
  1. package/CHANGELOG.md +29 -1
  2. package/dist/css/uikit-core-rtl.css +46 -8
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +46 -8
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +46 -6
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +46 -6
  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 +7 -3
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +7 -3
  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 +18 -11
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +18 -11
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +1 -1
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +18 -11
  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 +2 -2
  31. package/dist/js/components/sortable.min.js +1 -1
  32. package/dist/js/components/tooltip.js +62 -30
  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 +349 -253
  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 +392 -259
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/js/components/sortable.js +2 -3
  44. package/src/js/components/tooltip.js +38 -3
  45. package/src/js/core/drop.js +20 -10
  46. package/src/js/core/navbar.js +18 -6
  47. package/src/js/core/scrollspy-nav.js +4 -9
  48. package/src/js/core/sticky.js +55 -21
  49. package/src/js/mixin/media.js +12 -9
  50. package/src/js/mixin/modal.js +6 -2
  51. package/src/js/mixin/parallax.js +5 -1
  52. package/src/js/mixin/position.js +24 -24
  53. package/src/js/uikit-core.js +0 -4
  54. package/src/js/util/lang.js +0 -4
  55. package/src/js/util/position.js +180 -125
  56. package/src/js/util/viewport.js +42 -22
  57. package/src/less/components/drop.less +0 -1
  58. package/src/less/components/dropdown.less +11 -1
  59. package/src/less/components/icon.less +3 -0
  60. package/src/less/components/nav.less +22 -0
  61. package/src/less/components/navbar.less +26 -2
  62. package/src/less/components/search.less +2 -0
  63. package/src/less/components/sticky.less +8 -3
  64. package/src/less/theme/dropdown.less +4 -0
  65. package/src/less/theme/nav.less +6 -0
  66. package/src/less/theme/navbar.less +4 -0
  67. package/src/less/theme/search.less +6 -0
  68. package/src/scss/components/drop.scss +0 -1
  69. package/src/scss/components/dropdown.scss +11 -1
  70. package/src/scss/components/icon.scss +3 -0
  71. package/src/scss/components/nav.scss +22 -0
  72. package/src/scss/components/navbar.scss +26 -2
  73. package/src/scss/components/search.scss +2 -0
  74. package/src/scss/components/sticky.scss +8 -3
  75. package/src/scss/mixins-theme.scss +5 -0
  76. package/src/scss/mixins.scss +5 -0
  77. package/src/scss/theme/dropdown.scss +4 -0
  78. package/src/scss/theme/nav.scss +6 -0
  79. package/src/scss/theme/navbar.scss +4 -0
  80. package/src/scss/theme/search.scss +6 -0
  81. package/src/scss/variables-theme.scss +5 -1
  82. package/src/scss/variables.scss +5 -1
  83. package/tests/animation.html +216 -214
  84. package/tests/dropdown.html +16 -2
  85. package/tests/nav.html +27 -0
  86. package/tests/navbar.html +55 -4
  87. package/tests/parallax.html +4 -4
  88. package/tests/position.html +38 -39
  89. package/tests/sticky-navbar.html +6 -6
  90. package/tests/sticky-parallax.html +23 -7
  91. package/tests/sticky.html +300 -49
  92. package/src/js/core/core.js +0 -25
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Changelog
2
2
 
3
+ ## WIP
4
+
5
+ ### Added
6
+
7
+ - Add position shifting to Drop and Dropdown components
8
+ - Add axis flipping if overflowing on both sides to Drop and Dropdown components
9
+ - Add `max-width` to prevent overflowing the viewport to Drop and Dropdown components
10
+ - Add support for negative `start` value in Sticky component
11
+ - Add `overflow-flip` option to Sticky component
12
+ - Add navbar justify to Navbar component
13
+ - Add subtitle classes to Nav, Dropdown and Navbar components
14
+ - Add support for `vw`,`vh`,`%` and `px` units to scale property in Parallax component
15
+
16
+ ### Changed
17
+
18
+ - Rename `top` and `bottom` options to `start` and `end` in Sticky component
19
+ - Allow text to wrap into the next line for navs in Dropdown component
20
+
21
+ ### Removed
22
+
23
+ - Remove `overflow-x: hidden` on html element, while horizontal animation is active
24
+ - Remove `auto` value for `position` option in Sticky component, use `overflow-flip` option instead
25
+
26
+ ### Fixed
27
+
28
+ - Fix dropbar dropdown alignment if boundary-align is true
29
+ - Fix viewport helper functions take border into account
30
+ - Fix Sticky component responsiveness on window resize
31
+
3
32
  ## 3.13.10 (April 20, 2022)
4
33
 
5
34
  ### Fixed
@@ -43,7 +72,6 @@
43
72
 
44
73
  - Image component no longer sets a `background-size` for elements with `background-size` set to `auto`
45
74
 
46
-
47
75
  ### Fixed
48
76
 
49
77
  - Fix Position component
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.13.10 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.13.11-dev.eb080f280 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -1136,9 +1136,12 @@ button.uk-icon:not(:disabled) {
1136
1136
  ========================================================================== */
1137
1137
  /*
1138
1138
  * Link
1139
+ * 1. Allow text within link
1139
1140
  */
1140
1141
  .uk-icon-link {
1141
1142
  color: #999;
1143
+ /* 1 */
1144
+ text-decoration: none !important;
1142
1145
  }
1143
1146
  .uk-icon-link:hover {
1144
1147
  color: #666;
@@ -3231,7 +3234,6 @@ select.uk-form-width-xsmall {
3231
3234
  /* 3 */
3232
3235
  box-sizing: border-box;
3233
3236
  width: 300px;
3234
- max-width: 100vw;
3235
3237
  }
3236
3238
  /* Show */
3237
3239
  .uk-drop.uk-open {
@@ -3274,9 +3276,6 @@ select.uk-form-width-xsmall {
3274
3276
  /* Nav
3275
3277
  * Adopts `uk-nav`
3276
3278
  ========================================================================== */
3277
- .uk-dropdown-nav {
3278
- white-space: nowrap;
3279
- }
3280
3279
  /*
3281
3280
  * Items
3282
3281
  */
@@ -3288,6 +3287,12 @@ select.uk-form-width-xsmall {
3288
3287
  .uk-dropdown-nav > li.uk-active > a {
3289
3288
  color: #666;
3290
3289
  }
3290
+ /*
3291
+ * Subtitle
3292
+ */
3293
+ .uk-dropdown-nav .uk-nav-subtitle {
3294
+ font-size: 0.875rem;
3295
+ }
3291
3296
  /*
3292
3297
  * Header
3293
3298
  */
@@ -3645,17 +3650,20 @@ select.uk-form-width-xsmall {
3645
3650
  Component: Sticky
3646
3651
  ========================================================================== */
3647
3652
  /*
3648
- * 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
3649
3655
  */
3650
3656
  .uk-sticky {
3657
+ /* 1 */
3651
3658
  position: relative;
3659
+ /* 2 */
3660
+ box-sizing: border-box;
3652
3661
  }
3653
3662
  /*
3654
3663
  * 1. Force new layer to resolve frame rate issues on devices with lower frame rates
3655
3664
  */
3656
3665
  .uk-sticky-fixed {
3657
3666
  z-index: 980;
3658
- box-sizing: border-box;
3659
3667
  margin: 0 !important;
3660
3668
  /* 1 */
3661
3669
  -webkit-backface-visibility: hidden;
@@ -4645,6 +4653,12 @@ ul.uk-nav-sub {
4645
4653
  .uk-nav-default > li.uk-active > a {
4646
4654
  color: #333;
4647
4655
  }
4656
+ /*
4657
+ * Subtitle
4658
+ */
4659
+ .uk-nav-default .uk-nav-subtitle {
4660
+ font-size: 0.875rem;
4661
+ }
4648
4662
  /*
4649
4663
  * Header
4650
4664
  */
@@ -4687,6 +4701,12 @@ ul.uk-nav-sub {
4687
4701
  .uk-nav-primary > li.uk-active > a {
4688
4702
  color: #333;
4689
4703
  }
4704
+ /*
4705
+ * Subtitle
4706
+ */
4707
+ .uk-nav-primary .uk-nav-subtitle {
4708
+ font-size: 1.25rem;
4709
+ }
4690
4710
  /*
4691
4711
  * Header
4692
4712
  */
@@ -4917,6 +4937,16 @@ ul.uk-nav-sub {
4917
4937
  .uk-navbar-subtitle {
4918
4938
  font-size: 0.875rem;
4919
4939
  }
4940
+ /* Justify modifier
4941
+ ========================================================================== */
4942
+ .uk-navbar-justify .uk-navbar-right,
4943
+ .uk-navbar-justify .uk-navbar-left,
4944
+ .uk-navbar-justify .uk-navbar-nav,
4945
+ .uk-navbar-justify .uk-navbar-nav > li,
4946
+ .uk-navbar-justify .uk-navbar-item,
4947
+ .uk-navbar-justify .uk-navbar-toggle {
4948
+ flex-grow: 1;
4949
+ }
4920
4950
  /* Style modifiers
4921
4951
  ========================================================================== */
4922
4952
  /* Dropdown
@@ -4993,7 +5023,9 @@ ul.uk-nav-sub {
4993
5023
  --uk-position-offset: 0px;
4994
5024
  /* 2 */
4995
5025
  margin-bottom: 0px;
4996
- padding: 15px;
5026
+ /* 3 */
5027
+ padding-right: 15px;
5028
+ padding-left: 15px;
4997
5029
  }
4998
5030
  /* Dropdown Nav
4999
5031
  * Adopts `uk-nav`
@@ -5012,6 +5044,12 @@ ul.uk-nav-sub {
5012
5044
  .uk-navbar-dropdown-nav > li.uk-active > a {
5013
5045
  color: #333;
5014
5046
  }
5047
+ /*
5048
+ * Subtitle
5049
+ */
5050
+ .uk-navbar-dropdown-nav .uk-nav-subtitle {
5051
+ font-size: 0.875rem;
5052
+ }
5015
5053
  /*
5016
5054
  * Header
5017
5055
  */