uikit 3.14.4-dev.310965bc8 → 3.14.4-dev.846652f92
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 +2 -0
- package/dist/css/uikit-core-rtl.css +18 -6
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +18 -6
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +18 -6
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +18 -6
- 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 +1 -1
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +1 -1
- 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 +1 -1
- 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 +3 -3
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +16 -6
- 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 +27 -32
- 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 +29 -34
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/images/backgrounds/nav-parent-close.svg +1 -1
- package/src/images/backgrounds/nav-parent-open.svg +1 -1
- package/src/js/components/sortable.js +2 -3
- package/src/js/core/drop.js +2 -1
- package/src/js/core/sticky.js +8 -9
- package/src/js/mixin/position.js +19 -5
- package/src/js/util/position.js +1 -2
- package/src/js/util/viewport.js +2 -27
- package/src/less/components/dropdown.less +8 -0
- package/src/less/components/navbar.less +12 -3
- package/src/less/theme/navbar.less +2 -0
- package/src/scss/components/dropdown.scss +8 -0
- package/src/scss/components/nav.scss +2 -2
- package/src/scss/components/navbar.scss +12 -3
- package/src/scss/theme/navbar.scss +2 -0
- package/src/scss/variables-theme.scss +5 -3
- package/src/scss/variables.scss +5 -3
- package/tests/drop.html +66 -16
- package/tests/dropdown.html +103 -16
- package/tests/navbar.html +74 -46
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
### Added
|
|
6
6
|
|
|
7
|
+
- Add dropdown large modifier to Dropdown and Navbar component
|
|
7
8
|
- Add gap variable to navbar items in Navbar component
|
|
8
9
|
- Add color mode variable to navbar dropdown in Navbar component
|
|
9
10
|
- Add font size variables to nav and sublist in Nav component
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
- Fix `offsetPosition()` adds `border-top` of offsetParents
|
|
28
29
|
- Fix dragging in Slider component on iOS
|
|
29
30
|
- Fix Drop component no longer flips, if it does not fit into scroll area
|
|
31
|
+
- Fix regression in Drop component - `offset` option can be a node
|
|
30
32
|
|
|
31
33
|
## 3.14.3 (May 27, 2022)
|
|
32
34
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.14.4-dev.
|
|
1
|
+
/*! UIkit 3.14.4-dev.846652f92 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -3287,6 +3287,11 @@ select.uk-form-width-xsmall {
|
|
|
3287
3287
|
.uk-dropdown.uk-open {
|
|
3288
3288
|
display: block;
|
|
3289
3289
|
}
|
|
3290
|
+
/* Size modifier
|
|
3291
|
+
========================================================================== */
|
|
3292
|
+
.uk-dropdown-large {
|
|
3293
|
+
padding: 40px;
|
|
3294
|
+
}
|
|
3290
3295
|
/* Stretch modifier
|
|
3291
3296
|
========================================================================== */
|
|
3292
3297
|
/*
|
|
@@ -4661,12 +4666,12 @@ ul.uk-nav-sub {
|
|
|
4661
4666
|
width: 1.5em;
|
|
4662
4667
|
height: 1.5em;
|
|
4663
4668
|
margin-right: auto;
|
|
4664
|
-
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%
|
|
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");
|
|
4665
4670
|
background-repeat: no-repeat;
|
|
4666
4671
|
background-position: 50% 50%;
|
|
4667
4672
|
}
|
|
4668
4673
|
.uk-nav-parent-icon > .uk-parent.uk-open > a::after {
|
|
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%
|
|
4674
|
+
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%2213%2010%207%204%201%2010%22%20%2F%3E%0A%3C%2Fsvg%3E");
|
|
4670
4675
|
}
|
|
4671
4676
|
/* Header
|
|
4672
4677
|
========================================================================== */
|
|
@@ -4936,7 +4941,6 @@ ul.uk-nav-sub {
|
|
|
4936
4941
|
/* 3 */
|
|
4937
4942
|
box-sizing: border-box;
|
|
4938
4943
|
min-height: 80px;
|
|
4939
|
-
padding: 0 15px;
|
|
4940
4944
|
/* 4 */
|
|
4941
4945
|
font-size: 16px;
|
|
4942
4946
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
@@ -4947,6 +4951,7 @@ ul.uk-nav-sub {
|
|
|
4947
4951
|
* Nav items
|
|
4948
4952
|
*/
|
|
4949
4953
|
.uk-navbar-nav > li > a {
|
|
4954
|
+
padding: 0 15px;
|
|
4950
4955
|
color: #999;
|
|
4951
4956
|
}
|
|
4952
4957
|
/*
|
|
@@ -4980,6 +4985,7 @@ ul.uk-nav-sub {
|
|
|
4980
4985
|
/* Toggle
|
|
4981
4986
|
========================================================================== */
|
|
4982
4987
|
.uk-navbar-toggle {
|
|
4988
|
+
padding: 0 15px;
|
|
4983
4989
|
color: #999;
|
|
4984
4990
|
}
|
|
4985
4991
|
.uk-navbar-toggle:hover,
|
|
@@ -5074,6 +5080,12 @@ ul.uk-nav-sub {
|
|
|
5074
5080
|
.uk-navbar-dropdown-width-5:not(.uk-navbar-dropdown-stack) {
|
|
5075
5081
|
width: 1000px;
|
|
5076
5082
|
}
|
|
5083
|
+
/*
|
|
5084
|
+
* Size modifier
|
|
5085
|
+
*/
|
|
5086
|
+
.uk-navbar-dropdown-large {
|
|
5087
|
+
padding: 40px;
|
|
5088
|
+
}
|
|
5077
5089
|
/*
|
|
5078
5090
|
* Stretch modifier
|
|
5079
5091
|
* 1. Allow scrolling
|
|
@@ -10661,7 +10673,7 @@ iframe[data-uk-cover] {
|
|
|
10661
10673
|
.uk-card-secondary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10662
10674
|
.uk-overlay-primary .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10663
10675
|
.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent > a::after {
|
|
10664
|
-
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%
|
|
10676
|
+
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");
|
|
10665
10677
|
}
|
|
10666
10678
|
.uk-light .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10667
10679
|
.uk-section-primary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
@@ -10674,7 +10686,7 @@ iframe[data-uk-cover] {
|
|
|
10674
10686
|
.uk-card-secondary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10675
10687
|
.uk-overlay-primary .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10676
10688
|
.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent.uk-open > a::after {
|
|
10677
|
-
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%
|
|
10689
|
+
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");
|
|
10678
10690
|
}
|
|
10679
10691
|
.uk-light .uk-nav-default > li > a,
|
|
10680
10692
|
.uk-section-primary:not(.uk-preserve-color) .uk-nav-default > li > a,
|