uikit 3.14.4-dev.838f092aa → 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 +8 -0
- package/dist/css/uikit-core-rtl.css +45 -11
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +45 -11
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +42 -11
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +42 -11
- 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 +23 -8
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +23 -8
- 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 +22 -7
- 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 +22 -7
- 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 +23 -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 +50 -42
- 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 +97 -74
- 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/height-viewport.js +9 -5
- package/src/js/core/sticky.js +8 -9
- package/src/js/mixin/modal.js +1 -1
- package/src/js/mixin/position.js +27 -5
- package/src/js/mixin/slider-drag.js +20 -8
- package/src/js/util/dimensions.js +6 -6
- package/src/js/util/position.js +1 -0
- package/src/js/util/viewport.js +2 -27
- package/src/less/components/dropdown.less +8 -0
- package/src/less/components/nav.less +22 -4
- package/src/less/components/navbar.less +12 -3
- package/src/less/components/utility.less +12 -3
- package/src/less/theme/nav.less +3 -7
- package/src/less/theme/navbar.less +2 -0
- package/src/scss/components/dropdown.scss +8 -0
- package/src/scss/components/nav.scss +24 -6
- package/src/scss/components/navbar.scss +12 -3
- package/src/scss/components/utility.scss +12 -3
- package/src/scss/mixins-theme.scss +1 -1
- package/src/scss/theme/nav.scss +3 -7
- package/src/scss/theme/navbar.scss +2 -0
- package/src/scss/variables-theme.scss +13 -6
- package/src/scss/variables.scss +13 -5
- package/tests/drop.html +66 -16
- package/tests/dropdown.html +103 -16
- package/tests/navbar.html +1927 -1125
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,10 @@
|
|
|
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
|
|
10
|
+
- Add font size variables to nav and sublist in Nav component
|
|
9
11
|
- Add small breakpoint padding variables to Modal component- Add `animate-out` option to Drop component
|
|
10
12
|
- Add alignment `stretch` to Drop component
|
|
11
13
|
- Add Height Viewport uses scroll parent as viewport
|
|
@@ -17,10 +19,16 @@
|
|
|
17
19
|
- Rename `@offcanvas-bar-width-m` to `@offcanvas-bar-width-s`
|
|
18
20
|
- Rename `@offcanvas-bar-padding-vertical-m` to `@offcanvas-bar-padding-vertical-s`
|
|
19
21
|
- Rename `@offcanvas-bar-padding-horizontal-m` to `@offcanvas-bar-padding-horizontal-s`
|
|
22
|
+
- Rename `@nav-primary-item-font-size` to `@nav-primary-font-size`
|
|
23
|
+
- Rename `@nav-primary-item-line-height` to `@nav-primary-line-height`
|
|
20
24
|
|
|
21
25
|
### Fixed
|
|
22
26
|
|
|
23
27
|
- Fix body is no longer scrollable in Modal component with overlay
|
|
28
|
+
- Fix `offsetPosition()` adds `border-top` of offsetParents
|
|
29
|
+
- Fix dragging in Slider component on iOS
|
|
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
|
|
24
32
|
|
|
25
33
|
## 3.14.3 (May 27, 2022)
|
|
26
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
|
========================================================================== */
|
|
@@ -4685,6 +4690,10 @@ ul.uk-nav-sub {
|
|
|
4685
4690
|
}
|
|
4686
4691
|
/* Default modifier
|
|
4687
4692
|
========================================================================== */
|
|
4693
|
+
.uk-nav-default {
|
|
4694
|
+
font-size: 16px;
|
|
4695
|
+
line-height: 1.5;
|
|
4696
|
+
}
|
|
4688
4697
|
/*
|
|
4689
4698
|
* Items
|
|
4690
4699
|
*/
|
|
@@ -4720,6 +4729,10 @@ ul.uk-nav-sub {
|
|
|
4720
4729
|
/*
|
|
4721
4730
|
* Sublists
|
|
4722
4731
|
*/
|
|
4732
|
+
.uk-nav-default .uk-nav-sub {
|
|
4733
|
+
font-size: 16px;
|
|
4734
|
+
line-height: 1.5;
|
|
4735
|
+
}
|
|
4723
4736
|
.uk-nav-default .uk-nav-sub a {
|
|
4724
4737
|
color: #999;
|
|
4725
4738
|
}
|
|
@@ -4731,12 +4744,14 @@ ul.uk-nav-sub {
|
|
|
4731
4744
|
}
|
|
4732
4745
|
/* Primary modifier
|
|
4733
4746
|
========================================================================== */
|
|
4747
|
+
.uk-nav-primary {
|
|
4748
|
+
font-size: 1.5rem;
|
|
4749
|
+
line-height: 1.5;
|
|
4750
|
+
}
|
|
4734
4751
|
/*
|
|
4735
4752
|
* Items
|
|
4736
4753
|
*/
|
|
4737
4754
|
.uk-nav-primary > li > a {
|
|
4738
|
-
font-size: 1.5rem;
|
|
4739
|
-
line-height: 1.5;
|
|
4740
4755
|
color: #999;
|
|
4741
4756
|
}
|
|
4742
4757
|
/* Hover */
|
|
@@ -4768,6 +4783,10 @@ ul.uk-nav-sub {
|
|
|
4768
4783
|
/*
|
|
4769
4784
|
* Sublists
|
|
4770
4785
|
*/
|
|
4786
|
+
.uk-nav-primary .uk-nav-sub {
|
|
4787
|
+
font-size: 1.25rem;
|
|
4788
|
+
line-height: 1.5;
|
|
4789
|
+
}
|
|
4771
4790
|
.uk-nav-primary .uk-nav-sub a {
|
|
4772
4791
|
color: #999;
|
|
4773
4792
|
}
|
|
@@ -4922,7 +4941,6 @@ ul.uk-nav-sub {
|
|
|
4922
4941
|
/* 3 */
|
|
4923
4942
|
box-sizing: border-box;
|
|
4924
4943
|
min-height: 80px;
|
|
4925
|
-
padding: 0 15px;
|
|
4926
4944
|
/* 4 */
|
|
4927
4945
|
font-size: 16px;
|
|
4928
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";
|
|
@@ -4933,6 +4951,7 @@ ul.uk-nav-sub {
|
|
|
4933
4951
|
* Nav items
|
|
4934
4952
|
*/
|
|
4935
4953
|
.uk-navbar-nav > li > a {
|
|
4954
|
+
padding: 0 15px;
|
|
4936
4955
|
color: #999;
|
|
4937
4956
|
}
|
|
4938
4957
|
/*
|
|
@@ -4966,6 +4985,7 @@ ul.uk-nav-sub {
|
|
|
4966
4985
|
/* Toggle
|
|
4967
4986
|
========================================================================== */
|
|
4968
4987
|
.uk-navbar-toggle {
|
|
4988
|
+
padding: 0 15px;
|
|
4969
4989
|
color: #999;
|
|
4970
4990
|
}
|
|
4971
4991
|
.uk-navbar-toggle:hover,
|
|
@@ -5060,6 +5080,12 @@ ul.uk-nav-sub {
|
|
|
5060
5080
|
.uk-navbar-dropdown-width-5:not(.uk-navbar-dropdown-stack) {
|
|
5061
5081
|
width: 1000px;
|
|
5062
5082
|
}
|
|
5083
|
+
/*
|
|
5084
|
+
* Size modifier
|
|
5085
|
+
*/
|
|
5086
|
+
.uk-navbar-dropdown-large {
|
|
5087
|
+
padding: 40px;
|
|
5088
|
+
}
|
|
5063
5089
|
/*
|
|
5064
5090
|
* Stretch modifier
|
|
5065
5091
|
* 1. Allow scrolling
|
|
@@ -7723,15 +7749,23 @@ iframe[data-uk-cover] {
|
|
|
7723
7749
|
/* Logo
|
|
7724
7750
|
========================================================================== */
|
|
7725
7751
|
/*
|
|
7726
|
-
* 1.
|
|
7752
|
+
* 1. Style
|
|
7753
|
+
* 2. Required for `a`
|
|
7754
|
+
* 3. Behave like image but can be overridden through flex utility classes
|
|
7727
7755
|
*/
|
|
7728
7756
|
.uk-logo {
|
|
7757
|
+
/* 1 */
|
|
7729
7758
|
font-size: 1.5rem;
|
|
7730
7759
|
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";
|
|
7731
7760
|
color: #333;
|
|
7732
|
-
/*
|
|
7761
|
+
/* 2 */
|
|
7733
7762
|
text-decoration: none;
|
|
7734
7763
|
}
|
|
7764
|
+
/* 3 */
|
|
7765
|
+
:where(.uk-logo) {
|
|
7766
|
+
display: inline-block;
|
|
7767
|
+
vertical-align: middle;
|
|
7768
|
+
}
|
|
7735
7769
|
/* Hover */
|
|
7736
7770
|
.uk-logo:hover {
|
|
7737
7771
|
color: #333;
|
|
@@ -7739,7 +7773,7 @@ iframe[data-uk-cover] {
|
|
|
7739
7773
|
text-decoration: none;
|
|
7740
7774
|
}
|
|
7741
7775
|
.uk-logo > :where(img, svg, video) {
|
|
7742
|
-
display:
|
|
7776
|
+
display: block;
|
|
7743
7777
|
}
|
|
7744
7778
|
.uk-logo-inverse {
|
|
7745
7779
|
display: none;
|
|
@@ -10639,7 +10673,7 @@ iframe[data-uk-cover] {
|
|
|
10639
10673
|
.uk-card-secondary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10640
10674
|
.uk-overlay-primary .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10641
10675
|
.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent > a::after {
|
|
10642
|
-
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");
|
|
10643
10677
|
}
|
|
10644
10678
|
.uk-light .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10645
10679
|
.uk-section-primary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
@@ -10652,7 +10686,7 @@ iframe[data-uk-cover] {
|
|
|
10652
10686
|
.uk-card-secondary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10653
10687
|
.uk-overlay-primary .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10654
10688
|
.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent.uk-open > a::after {
|
|
10655
|
-
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");
|
|
10656
10690
|
}
|
|
10657
10691
|
.uk-light .uk-nav-default > li > a,
|
|
10658
10692
|
.uk-section-primary:not(.uk-preserve-color) .uk-nav-default > li > a,
|