uikit 3.14.4-dev.dbd727038 → 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.
- package/CHANGELOG.md +8 -1
- package/dist/css/uikit-core-rtl.css +51 -52
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +51 -52
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +51 -52
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +51 -52
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +1 -1
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +1 -1
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +4 -5
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +4 -5
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +1 -1
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +4 -5
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +1 -1
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +4 -4
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +28 -24
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +28 -24
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/images/{backgrounds/nav-parent-close.svg → components/nav-parent-icon-large.svg} +0 -0
- package/src/images/components/nav-parent-icon.svg +3 -0
- package/src/js/core/icon.js +14 -0
- package/src/js/core/index.js +1 -0
- package/src/js/core/leader.js +2 -2
- package/src/js/mixin/media.js +4 -5
- package/src/js/mixin/position.js +3 -4
- package/src/js/util/style.js +4 -13
- package/src/less/components/dropdown.less +6 -0
- package/src/less/components/leader.less +1 -1
- package/src/less/components/nav.less +7 -37
- package/src/less/components/navbar.less +7 -0
- package/src/less/components/utility.less +10 -2
- package/src/less/theme/nav.less +0 -8
- package/src/scss/components/dropdown.scss +6 -0
- package/src/scss/components/leader.scss +1 -1
- package/src/scss/components/nav.scss +7 -26
- package/src/scss/components/navbar.scss +7 -0
- package/src/scss/components/utility.scss +8 -1
- package/src/scss/mixins-theme.scss +2 -14
- package/src/scss/mixins.scss +2 -14
- package/src/scss/theme/nav.scss +0 -8
- package/src/scss/variables-theme.scss +1 -7
- package/src/scss/variables.scss +1 -7
- package/tests/index.html +2 -2
- package/tests/nav.html +8 -8
- package/tests/offcanvas.html +8 -8
- package/tests/utility.html +19 -0
- package/src/images/backgrounds/nav-parent-open.svg +0 -3
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
|
|
|
@@ -24,7 +26,11 @@
|
|
|
24
26
|
- Rename `@nav-primary-item-line-height` to `@nav-primary-line-height`
|
|
25
27
|
- Rename `@navbar-dropdown-dropbar-margin-top` to `@navbar-dropdown-dropbar-padding-top`
|
|
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
|
|
30
|
+
|
|
31
|
+
### Removed
|
|
32
|
+
|
|
33
|
+
- Remove `getCssVar()` utility function
|
|
28
34
|
|
|
29
35
|
### Fixed
|
|
30
36
|
|
|
@@ -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.
|
|
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
|
|
@@ -4661,17 +4667,11 @@ ul.uk-nav-sub {
|
|
|
4661
4667
|
}
|
|
4662
4668
|
/* Parent icon modifier
|
|
4663
4669
|
========================================================================== */
|
|
4664
|
-
.uk-nav-parent-icon
|
|
4665
|
-
content: "";
|
|
4666
|
-
width: 1.5em;
|
|
4667
|
-
height: 1.5em;
|
|
4670
|
+
.uk-nav-parent-icon {
|
|
4668
4671
|
margin-right: auto;
|
|
4669
|
-
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolyline%20fill%3D%22none%22%20stroke%3D%22%23666%22%20stroke-width%3D%221.1%22%20points%3D%221%204%207%2010%2013%204%22%20%2F%3E%0A%3C%2Fsvg%3E");
|
|
4670
|
-
background-repeat: no-repeat;
|
|
4671
|
-
background-position: 50% 50%;
|
|
4672
4672
|
}
|
|
4673
|
-
.uk-nav
|
|
4674
|
-
|
|
4673
|
+
.uk-nav > li > a[aria-expanded="true"] .uk-nav-parent-icon {
|
|
4674
|
+
transform: rotate(-180deg);
|
|
4675
4675
|
}
|
|
4676
4676
|
/* Header
|
|
4677
4677
|
========================================================================== */
|
|
@@ -4816,14 +4816,14 @@ ul.uk-nav-sub {
|
|
|
4816
4816
|
padding-right: 0;
|
|
4817
4817
|
}
|
|
4818
4818
|
/* Parent icon modifier */
|
|
4819
|
-
.uk-nav-center.uk-nav-parent-icon
|
|
4819
|
+
.uk-nav-center .uk-nav-parent-icon {
|
|
4820
4820
|
margin-right: 0;
|
|
4821
4821
|
}
|
|
4822
4822
|
/* Style modifier
|
|
4823
4823
|
========================================================================== */
|
|
4824
4824
|
.uk-nav.uk-nav-divider > :not(.uk-nav-divider) + :not(.uk-nav-header, .uk-nav-divider) {
|
|
4825
|
-
margin-top:
|
|
4826
|
-
padding-top:
|
|
4825
|
+
margin-top: 5px;
|
|
4826
|
+
padding-top: 5px;
|
|
4827
4827
|
border-top: 1px solid #e5e5e5;
|
|
4828
4828
|
}
|
|
4829
4829
|
/* ========================================================================
|
|
@@ -5054,6 +5054,12 @@ ul.uk-nav-sub {
|
|
|
5054
5054
|
.uk-navbar-dropdown.uk-open {
|
|
5055
5055
|
display: block;
|
|
5056
5056
|
}
|
|
5057
|
+
/*
|
|
5058
|
+
* Remove margin from the last-child
|
|
5059
|
+
*/
|
|
5060
|
+
.uk-navbar-dropdown > :last-child {
|
|
5061
|
+
margin-bottom: 0;
|
|
5062
|
+
}
|
|
5057
5063
|
/*
|
|
5058
5064
|
* Grid
|
|
5059
5065
|
* Adopts `uk-grid`
|
|
@@ -7531,6 +7537,14 @@ iframe[data-uk-cover] {
|
|
|
7531
7537
|
.uk-overflow-auto > :last-child {
|
|
7532
7538
|
margin-bottom: 0;
|
|
7533
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
|
+
}
|
|
7534
7548
|
/* Resize
|
|
7535
7549
|
========================================================================== */
|
|
7536
7550
|
.uk-resize {
|
|
@@ -7808,7 +7822,7 @@ iframe[data-uk-cover] {
|
|
|
7808
7822
|
/* 1 */
|
|
7809
7823
|
text-decoration: none;
|
|
7810
7824
|
}
|
|
7811
|
-
.uk-logo
|
|
7825
|
+
.uk-logo :where(img, svg, video) {
|
|
7812
7826
|
display: block;
|
|
7813
7827
|
}
|
|
7814
7828
|
.uk-logo-inverse {
|
|
@@ -10698,32 +10712,6 @@ iframe[data-uk-cover] {
|
|
|
10698
10712
|
.uk-offcanvas-bar .uk-grid-divider.uk-grid-stack > .uk-grid-margin::before {
|
|
10699
10713
|
border-top-color: rgba(255, 255, 255, 0.2);
|
|
10700
10714
|
}
|
|
10701
|
-
.uk-light .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10702
|
-
.uk-section-primary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10703
|
-
.uk-section-secondary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10704
|
-
.uk-tile-primary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10705
|
-
.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10706
|
-
.uk-card-primary.uk-card-body .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10707
|
-
.uk-card-primary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10708
|
-
.uk-card-secondary.uk-card-body .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10709
|
-
.uk-card-secondary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10710
|
-
.uk-overlay-primary .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10711
|
-
.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent > a::after {
|
|
10712
|
-
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolyline%20fill%3D%22none%22%20stroke%3D%22rgba%28255,%20255,%20255,%200.7%29%22%20stroke-width%3D%221.1%22%20points%3D%221%204%207%2010%2013%204%22%20%2F%3E%0A%3C%2Fsvg%3E");
|
|
10713
|
-
}
|
|
10714
|
-
.uk-light .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10715
|
-
.uk-section-primary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10716
|
-
.uk-section-secondary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10717
|
-
.uk-tile-primary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10718
|
-
.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10719
|
-
.uk-card-primary.uk-card-body .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10720
|
-
.uk-card-primary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10721
|
-
.uk-card-secondary.uk-card-body .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10722
|
-
.uk-card-secondary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10723
|
-
.uk-overlay-primary .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10724
|
-
.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent.uk-open > a::after {
|
|
10725
|
-
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolyline%20fill%3D%22none%22%20stroke%3D%22rgba%28255,%20255,%20255,%200.7%29%22%20stroke-width%3D%221.1%22%20points%3D%2213%2010%207%204%201%2010%22%20%2F%3E%0A%3C%2Fsvg%3E");
|
|
10726
|
-
}
|
|
10727
10715
|
.uk-light .uk-nav-default > li > a,
|
|
10728
10716
|
.uk-section-primary:not(.uk-preserve-color) .uk-nav-default > li > a,
|
|
10729
10717
|
.uk-section-secondary:not(.uk-preserve-color) .uk-nav-default > li > a,
|
|
@@ -11582,17 +11570,28 @@ iframe[data-uk-cover] {
|
|
|
11582
11570
|
.uk-offcanvas-bar .uk-logo:hover {
|
|
11583
11571
|
color: #fff;
|
|
11584
11572
|
}
|
|
11585
|
-
.uk-light .uk-logo > :not(
|
|
11586
|
-
.uk-
|
|
11587
|
-
.uk-section-
|
|
11588
|
-
.uk-
|
|
11589
|
-
.uk-
|
|
11590
|
-
.uk-
|
|
11591
|
-
.uk-
|
|
11592
|
-
.uk-
|
|
11593
|
-
.uk-
|
|
11594
|
-
.uk-
|
|
11595
|
-
.uk-
|
|
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) {
|
|
11596
11595
|
display: none;
|
|
11597
11596
|
}
|
|
11598
11597
|
.uk-light .uk-logo-inverse,
|