uikit 3.13.10 → 3.13.11-dev.7c5279396

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 (89) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/dist/css/uikit-core-rtl.css +41 -6
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +41 -6
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +41 -4
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +41 -4
  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 +341 -249
  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 +384 -255
  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 +47 -17
  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/theme/dropdown.less +4 -0
  64. package/src/less/theme/nav.less +6 -0
  65. package/src/less/theme/navbar.less +4 -0
  66. package/src/less/theme/search.less +6 -0
  67. package/src/scss/components/drop.scss +0 -1
  68. package/src/scss/components/dropdown.scss +11 -1
  69. package/src/scss/components/icon.scss +3 -0
  70. package/src/scss/components/nav.scss +22 -0
  71. package/src/scss/components/navbar.scss +26 -2
  72. package/src/scss/components/search.scss +2 -0
  73. package/src/scss/mixins-theme.scss +5 -0
  74. package/src/scss/mixins.scss +5 -0
  75. package/src/scss/theme/dropdown.scss +4 -0
  76. package/src/scss/theme/nav.scss +6 -0
  77. package/src/scss/theme/navbar.scss +4 -0
  78. package/src/scss/theme/search.scss +6 -0
  79. package/src/scss/variables-theme.scss +5 -1
  80. package/src/scss/variables.scss +5 -1
  81. package/tests/animation.html +216 -214
  82. package/tests/dropdown.html +16 -2
  83. package/tests/nav.html +27 -0
  84. package/tests/navbar.html +55 -4
  85. package/tests/parallax.html +2 -2
  86. package/tests/position.html +38 -39
  87. package/tests/sticky-parallax.html +24 -8
  88. package/tests/sticky.html +222 -44
  89. package/src/js/core/core.js +0 -25
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
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 navbar justify to Navbar component
12
+ - 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
+
15
+ ### Changed
16
+
17
+ - Rename `top` and `bottom` options to `start` and `end` in Sticky component
18
+ - Allow text to wrap into the next line for navs in Dropdown component
19
+
20
+ ### Removed
21
+
22
+ - Remove `overflow-x: hidden` on html element, while horizontal animation is active
23
+
24
+ ### Fixed
25
+
26
+ - Fix dropbar dropdown alignment if boundary-align is true
27
+ - Fix viewport helper functions take border into account
28
+ - Fix Sticky component responsiveness on window resize
29
+
3
30
  ## 3.13.10 (April 20, 2022)
4
31
 
5
32
  ### Fixed
@@ -43,7 +70,6 @@
43
70
 
44
71
  - Image component no longer sets a `background-size` for elements with `background-size` set to `auto`
45
72
 
46
-
47
73
  ### Fixed
48
74
 
49
75
  - 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.7c5279396 | 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
  */
@@ -4645,6 +4650,12 @@ ul.uk-nav-sub {
4645
4650
  .uk-nav-default > li.uk-active > a {
4646
4651
  color: #333;
4647
4652
  }
4653
+ /*
4654
+ * Subtitle
4655
+ */
4656
+ .uk-nav-default .uk-nav-subtitle {
4657
+ font-size: 0.875rem;
4658
+ }
4648
4659
  /*
4649
4660
  * Header
4650
4661
  */
@@ -4687,6 +4698,12 @@ ul.uk-nav-sub {
4687
4698
  .uk-nav-primary > li.uk-active > a {
4688
4699
  color: #333;
4689
4700
  }
4701
+ /*
4702
+ * Subtitle
4703
+ */
4704
+ .uk-nav-primary .uk-nav-subtitle {
4705
+ font-size: 1.25rem;
4706
+ }
4690
4707
  /*
4691
4708
  * Header
4692
4709
  */
@@ -4917,6 +4934,16 @@ ul.uk-nav-sub {
4917
4934
  .uk-navbar-subtitle {
4918
4935
  font-size: 0.875rem;
4919
4936
  }
4937
+ /* Justify modifier
4938
+ ========================================================================== */
4939
+ .uk-navbar-justify .uk-navbar-right,
4940
+ .uk-navbar-justify .uk-navbar-left,
4941
+ .uk-navbar-justify .uk-navbar-nav,
4942
+ .uk-navbar-justify .uk-navbar-nav > li,
4943
+ .uk-navbar-justify .uk-navbar-item,
4944
+ .uk-navbar-justify .uk-navbar-toggle {
4945
+ flex-grow: 1;
4946
+ }
4920
4947
  /* Style modifiers
4921
4948
  ========================================================================== */
4922
4949
  /* Dropdown
@@ -4993,7 +5020,9 @@ ul.uk-nav-sub {
4993
5020
  --uk-position-offset: 0px;
4994
5021
  /* 2 */
4995
5022
  margin-bottom: 0px;
4996
- padding: 15px;
5023
+ /* 3 */
5024
+ padding-right: 15px;
5025
+ padding-left: 15px;
4997
5026
  }
4998
5027
  /* Dropdown Nav
4999
5028
  * Adopts `uk-nav`
@@ -5012,6 +5041,12 @@ ul.uk-nav-sub {
5012
5041
  .uk-navbar-dropdown-nav > li.uk-active > a {
5013
5042
  color: #333;
5014
5043
  }
5044
+ /*
5045
+ * Subtitle
5046
+ */
5047
+ .uk-navbar-dropdown-nav .uk-nav-subtitle {
5048
+ font-size: 0.875rem;
5049
+ }
5015
5050
  /*
5016
5051
  * Header
5017
5052
  */