uikit 3.14.4-dev.d014a9a57 → 3.14.4-dev.e2919bbf7

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 +7 -0
  2. package/dist/css/uikit-core-rtl.css +47 -16
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +47 -16
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +47 -16
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +47 -16
  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 -5
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +4 -5
  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 +4 -5
  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 +4 -4
  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 +12 -24
  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 +12 -24
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/js/core/index.js +1 -1
  44. package/src/js/core/leader.js +2 -2
  45. package/src/js/mixin/media.js +4 -5
  46. package/src/js/mixin/position.js +3 -4
  47. package/src/js/util/style.js +4 -13
  48. package/src/less/components/dropdown.less +6 -0
  49. package/src/less/components/leader.less +1 -1
  50. package/src/less/components/nav.less +1 -1
  51. package/src/less/components/navbar.less +6 -0
  52. package/src/less/components/utility.less +10 -2
  53. package/src/scss/components/dropdown.scss +6 -0
  54. package/src/scss/components/leader.scss +1 -1
  55. package/src/scss/components/nav.scss +1 -1
  56. package/src/scss/components/navbar.scss +6 -0
  57. package/src/scss/components/utility.scss +8 -1
  58. package/src/scss/mixins-theme.scss +2 -1
  59. package/src/scss/mixins.scss +2 -1
  60. package/src/scss/variables-theme.scss +1 -1
  61. package/src/scss/variables.scss +1 -1
  62. package/tests/utility.html +19 -0
package/CHANGELOG.md CHANGED
@@ -14,6 +14,8 @@
14
14
  - Add Height Viewport uses scroll parent as viewport
15
15
  - Add zero z-index utility class to Position component
16
16
  - Add option `bg-scroll` to Drop component
17
+ - Add support for `picture` element to logo in Utility component
18
+ - Add box sizing classes to Utility component
17
19
 
18
20
  ### Changed
19
21
 
@@ -26,6 +28,10 @@
26
28
  - Rename `@navbar-dropdown-dropbar-margin-bottom` to `@navbar-dropdown-dropbar-padding-bottom`
27
29
  - Use JS icon component instead of compiling icons into CSS for nav parent icon in Nav component
28
30
 
31
+ ### Removed
32
+
33
+ - Remove `getCssVar()` utility function
34
+
29
35
  ### Fixed
30
36
 
31
37
  - Fix body is no longer scrollable in Modal component with overlay
@@ -33,6 +39,7 @@
33
39
  - Fix dragging in Slider component on iOS
34
40
  - Fix Drop component no longer flips, if it does not fit into scroll area
35
41
  - Fix Drop component alignment within Dropbar
42
+ - Remove margin from the last-child within dropdowns in Dropdown and Navbar components
36
43
 
37
44
  ## 3.14.3 (May 27, 2022)
38
45
 
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.14.4-dev.d014a9a57 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.14.4-dev.e2919bbf7 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -3287,6 +3287,12 @@ select.uk-form-width-xsmall {
3287
3287
  .uk-dropdown.uk-open {
3288
3288
  display: block;
3289
3289
  }
3290
+ /*
3291
+ * Remove margin from the last-child
3292
+ */
3293
+ .uk-dropdown > :last-child {
3294
+ margin-bottom: 0;
3295
+ }
3290
3296
  /* Size modifier
3291
3297
  ========================================================================== */
3292
3298
  .uk-dropdown-large {
@@ -4014,7 +4020,7 @@ select.uk-form-width-xsmall {
4014
4020
  * Pass fill character to JS
4015
4021
  */
4016
4022
  :root {
4017
- --uk-leader-fill-content: '.';
4023
+ --uk-leader-fill-content: .;
4018
4024
  }
4019
4025
  /* ========================================================================
4020
4026
  Component: Notification
@@ -4816,8 +4822,8 @@ ul.uk-nav-sub {
4816
4822
  /* Style modifier
4817
4823
  ========================================================================== */
4818
4824
  .uk-nav.uk-nav-divider > :not(.uk-nav-divider) + :not(.uk-nav-header, .uk-nav-divider) {
4819
- margin-top: 0;
4820
- padding-top: 0;
4825
+ margin-top: 5px;
4826
+ padding-top: 5px;
4821
4827
  border-top: 1px solid #e5e5e5;
4822
4828
  }
4823
4829
  /* ========================================================================
@@ -5048,6 +5054,12 @@ ul.uk-nav-sub {
5048
5054
  .uk-navbar-dropdown.uk-open {
5049
5055
  display: block;
5050
5056
  }
5057
+ /*
5058
+ * Remove margin from the last-child
5059
+ */
5060
+ .uk-navbar-dropdown > :last-child {
5061
+ margin-bottom: 0;
5062
+ }
5051
5063
  /*
5052
5064
  * Grid
5053
5065
  * Adopts `uk-grid`
@@ -7525,6 +7537,14 @@ iframe[data-uk-cover] {
7525
7537
  .uk-overflow-auto > :last-child {
7526
7538
  margin-bottom: 0;
7527
7539
  }
7540
+ /* Box Sizing
7541
+ ========================================================================== */
7542
+ .uk-box-sizing-content {
7543
+ box-sizing: content-box;
7544
+ }
7545
+ .uk-box-sizing-border {
7546
+ box-sizing: border-box;
7547
+ }
7528
7548
  /* Resize
7529
7549
  ========================================================================== */
7530
7550
  .uk-resize {
@@ -7802,7 +7822,7 @@ iframe[data-uk-cover] {
7802
7822
  /* 1 */
7803
7823
  text-decoration: none;
7804
7824
  }
7805
- .uk-logo > :where(img, svg, video) {
7825
+ .uk-logo :where(img, svg, video) {
7806
7826
  display: block;
7807
7827
  }
7808
7828
  .uk-logo-inverse {
@@ -11550,17 +11570,28 @@ iframe[data-uk-cover] {
11550
11570
  .uk-offcanvas-bar .uk-logo:hover {
11551
11571
  color: #fff;
11552
11572
  }
11553
- .uk-light .uk-logo > :not(.uk-logo-inverse):not(:only-of-type),
11554
- .uk-section-primary:not(.uk-preserve-color) .uk-logo > :not(.uk-logo-inverse):not(:only-of-type),
11555
- .uk-section-secondary:not(.uk-preserve-color) .uk-logo > :not(.uk-logo-inverse):not(:only-of-type),
11556
- .uk-tile-primary:not(.uk-preserve-color) .uk-logo > :not(.uk-logo-inverse):not(:only-of-type),
11557
- .uk-tile-secondary:not(.uk-preserve-color) .uk-logo > :not(.uk-logo-inverse):not(:only-of-type),
11558
- .uk-card-primary.uk-card-body .uk-logo > :not(.uk-logo-inverse):not(:only-of-type),
11559
- .uk-card-primary > :not([class*='uk-card-media']) .uk-logo > :not(.uk-logo-inverse):not(:only-of-type),
11560
- .uk-card-secondary.uk-card-body .uk-logo > :not(.uk-logo-inverse):not(:only-of-type),
11561
- .uk-card-secondary > :not([class*='uk-card-media']) .uk-logo > :not(.uk-logo-inverse):not(:only-of-type),
11562
- .uk-overlay-primary .uk-logo > :not(.uk-logo-inverse):not(:only-of-type),
11563
- .uk-offcanvas-bar .uk-logo > :not(.uk-logo-inverse):not(:only-of-type) {
11573
+ .uk-light .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
11574
+ .uk-light .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
11575
+ .uk-section-primary:not(.uk-preserve-color) .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
11576
+ .uk-section-primary:not(.uk-preserve-color) .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
11577
+ .uk-section-secondary:not(.uk-preserve-color) .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
11578
+ .uk-section-secondary:not(.uk-preserve-color) .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
11579
+ .uk-tile-primary:not(.uk-preserve-color) .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
11580
+ .uk-tile-primary:not(.uk-preserve-color) .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
11581
+ .uk-tile-secondary:not(.uk-preserve-color) .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
11582
+ .uk-tile-secondary:not(.uk-preserve-color) .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
11583
+ .uk-card-primary.uk-card-body .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
11584
+ .uk-card-primary.uk-card-body .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
11585
+ .uk-card-primary > :not([class*='uk-card-media']) .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
11586
+ .uk-card-primary > :not([class*='uk-card-media']) .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
11587
+ .uk-card-secondary.uk-card-body .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
11588
+ .uk-card-secondary.uk-card-body .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
11589
+ .uk-card-secondary > :not([class*='uk-card-media']) .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
11590
+ .uk-card-secondary > :not([class*='uk-card-media']) .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
11591
+ .uk-overlay-primary .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
11592
+ .uk-overlay-primary .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type),
11593
+ .uk-offcanvas-bar .uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
11594
+ .uk-offcanvas-bar .uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type) {
11564
11595
  display: none;
11565
11596
  }
11566
11597
  .uk-light .uk-logo-inverse,