uikit 3.13.7-dev.120e5ee9c → 3.13.8-dev.128538499

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 (74) hide show
  1. package/CHANGELOG.md +20 -1
  2. package/dist/css/uikit-core-rtl.css +34 -5
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +34 -5
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +34 -3
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +34 -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 +13 -10
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +13 -10
  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 +13 -10
  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 +59 -29
  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 +211 -195
  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 +248 -199
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +5 -5
  43. package/src/js/api/hooks.js +1 -1
  44. package/src/js/components/tooltip.js +38 -3
  45. package/src/js/core/accordion.js +1 -1
  46. package/src/js/core/drop.js +10 -6
  47. package/src/js/core/height-match.js +7 -15
  48. package/src/js/core/navbar.js +1 -1
  49. package/src/js/core/scrollspy.js +39 -17
  50. package/src/js/core/sticky.js +2 -2
  51. package/src/js/mixin/media.js +12 -9
  52. package/src/js/mixin/position.js +22 -24
  53. package/src/js/util/position.js +128 -129
  54. package/src/less/components/dropdown.less +11 -1
  55. package/src/less/components/nav.less +22 -0
  56. package/src/less/components/navbar.less +22 -2
  57. package/src/less/theme/dropdown.less +2 -0
  58. package/src/less/theme/nav.less +4 -0
  59. package/src/less/theme/navbar.less +2 -0
  60. package/src/scss/components/dropdown.scss +11 -1
  61. package/src/scss/components/nav.scss +22 -0
  62. package/src/scss/components/navbar.scss +22 -2
  63. package/src/scss/mixins-theme.scss +4 -0
  64. package/src/scss/mixins.scss +4 -0
  65. package/src/scss/theme/dropdown.scss +2 -0
  66. package/src/scss/theme/nav.scss +4 -0
  67. package/src/scss/theme/navbar.scss +2 -0
  68. package/src/scss/variables-theme.scss +5 -1
  69. package/src/scss/variables.scss +5 -1
  70. package/tests/drop.html +0 -6
  71. package/tests/dropdown.html +18 -10
  72. package/tests/nav.html +27 -0
  73. package/tests/navbar.html +18 -4
  74. package/tests/position.html +38 -39
package/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  ## WIP
4
4
 
5
+ ### Added
6
+
7
+ - Add subtitle classes to Nav, Dropdown and Navbar component
8
+ - Drop/Dropdowns try to shift to stay within viewport
9
+
10
+ ### Changed
11
+
12
+ - Allow text to wrap into the next line for navs in Dropdown component
13
+ - Scrollspy component uses IntersectionObserver instead of scroll/resize events
14
+
15
+ ### Fixed
16
+
17
+ - Fix Drop/Dropdowns component does not close on clicked `.uk-(drop|dropdown)-close` selector
18
+ - Fix dropbar dropdown alignment if boundary-align is true
19
+ - Fix Accordion initially not closed
20
+ - Fix Height Match component not matching correctly
21
+ - Fix regression in Sticky component affecting height of placeholder
22
+
23
+ ## 3.13.7 (April 1, 2022)
24
+
5
25
  ### Fixed
6
26
 
7
27
  - Fix regression in Drop component not updating its width if alignment is set to `justify`
@@ -13,7 +33,6 @@
13
33
 
14
34
  - Image component no longer sets a `background-size` for elements with `background-size` set to `auto`
15
35
 
16
-
17
36
  ### Fixed
18
37
 
19
38
  - Fix Position component
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.13.7-dev.120e5ee9c | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.13.8-dev.128538499 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -3274,9 +3274,6 @@ select.uk-form-width-xsmall {
3274
3274
  /* Nav
3275
3275
  * Adopts `uk-nav`
3276
3276
  ========================================================================== */
3277
- .uk-dropdown-nav {
3278
- white-space: nowrap;
3279
- }
3280
3277
  /*
3281
3278
  * Items
3282
3279
  */
@@ -3288,6 +3285,12 @@ select.uk-form-width-xsmall {
3288
3285
  .uk-dropdown-nav > li.uk-active > a {
3289
3286
  color: #666;
3290
3287
  }
3288
+ /*
3289
+ * Subtitle
3290
+ */
3291
+ .uk-dropdown-nav .uk-nav-subtitle {
3292
+ font-size: 0.875rem;
3293
+ }
3291
3294
  /*
3292
3295
  * Header
3293
3296
  */
@@ -4645,6 +4648,12 @@ ul.uk-nav-sub {
4645
4648
  .uk-nav-default > li.uk-active > a {
4646
4649
  color: #333;
4647
4650
  }
4651
+ /*
4652
+ * Subtitle
4653
+ */
4654
+ .uk-nav-default .uk-nav-subtitle {
4655
+ font-size: 0.875rem;
4656
+ }
4648
4657
  /*
4649
4658
  * Header
4650
4659
  */
@@ -4687,6 +4696,12 @@ ul.uk-nav-sub {
4687
4696
  .uk-nav-primary > li.uk-active > a {
4688
4697
  color: #333;
4689
4698
  }
4699
+ /*
4700
+ * Subtitle
4701
+ */
4702
+ .uk-nav-primary .uk-nav-subtitle {
4703
+ font-size: 1.25rem;
4704
+ }
4690
4705
  /*
4691
4706
  * Header
4692
4707
  */
@@ -4987,13 +5002,21 @@ ul.uk-nav-sub {
4987
5002
  * 1. Set position
4988
5003
  * 2. Bottom padding for dropbar
4989
5004
  * 3. Horizontal padding
5005
+ * 4. Reset padding if aligned to boundary
4990
5006
  */
4991
5007
  .uk-navbar-dropdown-dropbar {
4992
5008
  /* 1 */
4993
5009
  --uk-position-offset: 0px;
4994
5010
  /* 2 */
4995
5011
  margin-bottom: 0px;
4996
- padding: 15px;
5012
+ /* 3 */
5013
+ padding-right: 15px;
5014
+ padding-left: 15px;
5015
+ }
5016
+ /* 4 */
5017
+ .uk-navbar-dropdown-dropbar.uk-navbar-dropdown-boundary {
5018
+ padding-right: 0;
5019
+ padding-left: 0;
4997
5020
  }
4998
5021
  /* Dropdown Nav
4999
5022
  * Adopts `uk-nav`
@@ -5012,6 +5035,12 @@ ul.uk-nav-sub {
5012
5035
  .uk-navbar-dropdown-nav > li.uk-active > a {
5013
5036
  color: #333;
5014
5037
  }
5038
+ /*
5039
+ * Subtitle
5040
+ */
5041
+ .uk-navbar-dropdown-nav .uk-nav-subtitle {
5042
+ font-size: 0.875rem;
5043
+ }
5015
5044
  /*
5016
5045
  * Header
5017
5046
  */