uikit 3.14.4-dev.ca199f7a7 → 3.14.4-dev.d014a9a57
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 +9 -0
- package/dist/css/uikit-core-rtl.css +73 -49
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +73 -49
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +73 -50
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +73 -50
- 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 +7 -5
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +27 -20
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +27 -20
- 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 -16
- 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 +114 -66
- 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 +167 -102
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/images/{backgrounds/nav-parent-open.svg → components/nav-parent-icon-large.svg} +0 -0
- package/src/images/components/nav-parent-icon.svg +3 -0
- package/src/images/components/navbar-parent-icon.svg +3 -0
- package/src/js/components/filter.js +5 -3
- package/src/js/components/sortable.js +2 -3
- package/src/js/core/height-viewport.js +11 -5
- package/src/js/core/icon.js +16 -0
- package/src/js/core/index.js +2 -0
- package/src/js/core/navbar.js +44 -15
- package/src/js/core/sticky.js +8 -9
- package/src/js/mixin/position.js +24 -7
- package/src/js/mixin/slider-drag.js +20 -8
- package/src/js/mixin/togglable.js +8 -17
- 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 +6 -36
- package/src/less/components/navbar.less +96 -14
- package/src/less/components/utility.less +12 -3
- package/src/less/theme/nav.less +0 -8
- package/src/less/theme/navbar.less +4 -6
- package/src/scss/components/dropdown.scss +8 -0
- package/src/scss/components/nav.scss +6 -25
- package/src/scss/components/navbar.scss +84 -14
- package/src/scss/components/utility.scss +12 -3
- package/src/scss/mixins-theme.scss +13 -17
- package/src/scss/mixins.scss +12 -13
- package/src/scss/theme/nav.scss +0 -8
- package/src/scss/theme/navbar.scss +3 -2
- package/src/scss/variables-theme.scss +16 -10
- package/src/scss/variables.scss +16 -9
- package/tests/drop.html +66 -16
- package/tests/dropdown.html +103 -16
- package/tests/index.html +3 -3
- package/tests/nav.html +20 -87
- package/tests/navbar.html +283 -56
- package/tests/offcanvas.html +8 -8
- package/src/images/backgrounds/nav-parent-close.svg +0 -3
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 navbar parent icon to Navbar component
|
|
9
11
|
- Add font size variables to nav and sublist in Nav component
|
|
10
12
|
- Add small breakpoint padding variables to Modal component- Add `animate-out` option to Drop component
|
|
11
13
|
- Add alignment `stretch` to Drop component
|
|
@@ -20,10 +22,17 @@
|
|
|
20
22
|
- Rename `@offcanvas-bar-padding-horizontal-m` to `@offcanvas-bar-padding-horizontal-s`
|
|
21
23
|
- Rename `@nav-primary-item-font-size` to `@nav-primary-font-size`
|
|
22
24
|
- Rename `@nav-primary-item-line-height` to `@nav-primary-line-height`
|
|
25
|
+
- Rename `@navbar-dropdown-dropbar-margin-top` to `@navbar-dropdown-dropbar-padding-top`
|
|
26
|
+
- Rename `@navbar-dropdown-dropbar-margin-bottom` to `@navbar-dropdown-dropbar-padding-bottom`
|
|
27
|
+
- Use JS icon component instead of compiling icons into CSS for nav parent icon in Nav component
|
|
23
28
|
|
|
24
29
|
### Fixed
|
|
25
30
|
|
|
26
31
|
- Fix body is no longer scrollable in Modal component with overlay
|
|
32
|
+
- Fix `offsetPosition()` adds `border-top` of offsetParents
|
|
33
|
+
- Fix dragging in Slider component on iOS
|
|
34
|
+
- Fix Drop component no longer flips, if it does not fit into scroll area
|
|
35
|
+
- Fix Drop component alignment within Dropbar
|
|
27
36
|
|
|
28
37
|
## 3.14.3 (May 27, 2022)
|
|
29
38
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.14.4-dev.
|
|
1
|
+
/*! UIkit 3.14.4-dev.d014a9a57 | 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
|
/*
|
|
@@ -4656,17 +4661,11 @@ ul.uk-nav-sub {
|
|
|
4656
4661
|
}
|
|
4657
4662
|
/* Parent icon modifier
|
|
4658
4663
|
========================================================================== */
|
|
4659
|
-
.uk-nav-parent-icon
|
|
4660
|
-
content: "";
|
|
4661
|
-
width: 1.5em;
|
|
4662
|
-
height: 1.5em;
|
|
4664
|
+
.uk-nav-parent-icon {
|
|
4663
4665
|
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%2210%201%204%207%2010%2013%22%20%2F%3E%0A%3C%2Fsvg%3E");
|
|
4665
|
-
background-repeat: no-repeat;
|
|
4666
|
-
background-position: 50% 50%;
|
|
4667
4666
|
}
|
|
4668
|
-
.uk-nav
|
|
4669
|
-
|
|
4667
|
+
.uk-nav > li > a[aria-expanded="true"] .uk-nav-parent-icon {
|
|
4668
|
+
transform: rotate(-180deg);
|
|
4670
4669
|
}
|
|
4671
4670
|
/* Header
|
|
4672
4671
|
========================================================================== */
|
|
@@ -4811,7 +4810,7 @@ ul.uk-nav-sub {
|
|
|
4811
4810
|
padding-right: 0;
|
|
4812
4811
|
}
|
|
4813
4812
|
/* Parent icon modifier */
|
|
4814
|
-
.uk-nav-center.uk-nav-parent-icon
|
|
4813
|
+
.uk-nav-center .uk-nav-parent-icon {
|
|
4815
4814
|
margin-right: 0;
|
|
4816
4815
|
}
|
|
4817
4816
|
/* Style modifier
|
|
@@ -4936,7 +4935,6 @@ ul.uk-nav-sub {
|
|
|
4936
4935
|
/* 3 */
|
|
4937
4936
|
box-sizing: border-box;
|
|
4938
4937
|
min-height: 80px;
|
|
4939
|
-
padding: 0 15px;
|
|
4940
4938
|
/* 4 */
|
|
4941
4939
|
font-size: 16px;
|
|
4942
4940
|
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 +4945,7 @@ ul.uk-nav-sub {
|
|
|
4947
4945
|
* Nav items
|
|
4948
4946
|
*/
|
|
4949
4947
|
.uk-navbar-nav > li > a {
|
|
4948
|
+
padding: 0 15px;
|
|
4950
4949
|
color: #999;
|
|
4951
4950
|
}
|
|
4952
4951
|
/*
|
|
@@ -4965,6 +4964,14 @@ ul.uk-nav-sub {
|
|
|
4965
4964
|
.uk-navbar-nav > li.uk-active > a {
|
|
4966
4965
|
color: #333;
|
|
4967
4966
|
}
|
|
4967
|
+
/* Parent icon modifier
|
|
4968
|
+
========================================================================== */
|
|
4969
|
+
.uk-navbar-parent-icon {
|
|
4970
|
+
margin-right: 4px;
|
|
4971
|
+
}
|
|
4972
|
+
.uk-navbar-nav > li > a[aria-expanded="true"] .uk-navbar-parent-icon {
|
|
4973
|
+
transform: rotate(-180deg);
|
|
4974
|
+
}
|
|
4968
4975
|
/* Item
|
|
4969
4976
|
========================================================================== */
|
|
4970
4977
|
.uk-navbar-item {
|
|
@@ -4980,6 +4987,7 @@ ul.uk-nav-sub {
|
|
|
4980
4987
|
/* Toggle
|
|
4981
4988
|
========================================================================== */
|
|
4982
4989
|
.uk-navbar-toggle {
|
|
4990
|
+
padding: 0 15px;
|
|
4983
4991
|
color: #999;
|
|
4984
4992
|
}
|
|
4985
4993
|
.uk-navbar-toggle:hover,
|
|
@@ -5074,9 +5082,17 @@ ul.uk-nav-sub {
|
|
|
5074
5082
|
.uk-navbar-dropdown-width-5:not(.uk-navbar-dropdown-stack) {
|
|
5075
5083
|
width: 1000px;
|
|
5076
5084
|
}
|
|
5085
|
+
/*
|
|
5086
|
+
* Size modifier
|
|
5087
|
+
*/
|
|
5088
|
+
.uk-navbar-dropdown-large {
|
|
5089
|
+
--uk-position-shift-offset: 0;
|
|
5090
|
+
padding: 40px;
|
|
5091
|
+
}
|
|
5077
5092
|
/*
|
|
5078
5093
|
* Stretch modifier
|
|
5079
5094
|
* 1. Allow scrolling
|
|
5095
|
+
* 2. Style
|
|
5080
5096
|
*/
|
|
5081
5097
|
.uk-navbar-dropdown-stretch {
|
|
5082
5098
|
--uk-position-offset: 0;
|
|
@@ -5085,25 +5101,51 @@ ul.uk-nav-sub {
|
|
|
5085
5101
|
/* 1 */
|
|
5086
5102
|
overflow-y: auto;
|
|
5087
5103
|
-webkit-overflow-scrolling: touch;
|
|
5104
|
+
/* 2 */
|
|
5105
|
+
padding: 15px 15px 15px 15px;
|
|
5106
|
+
background: #f8f8f8;
|
|
5107
|
+
}
|
|
5108
|
+
/* Phone landscape and bigger */
|
|
5109
|
+
@media (min-width: 640px) {
|
|
5110
|
+
.uk-navbar-dropdown-stretch {
|
|
5111
|
+
padding-right: 30px;
|
|
5112
|
+
padding-left: 30px;
|
|
5113
|
+
}
|
|
5114
|
+
}
|
|
5115
|
+
/* Tablet landscape and bigger */
|
|
5116
|
+
@media (min-width: 960px) {
|
|
5117
|
+
.uk-navbar-dropdown-stretch {
|
|
5118
|
+
padding-right: 40px;
|
|
5119
|
+
padding-left: 40px;
|
|
5120
|
+
}
|
|
5088
5121
|
}
|
|
5089
5122
|
/*
|
|
5090
5123
|
* Dropbar modifier
|
|
5091
5124
|
* 1. Reset dropdown width to prevent to early shifting
|
|
5092
|
-
* 2.
|
|
5093
|
-
* 3.
|
|
5094
|
-
* 4. Horizontal padding
|
|
5125
|
+
* 2. Reset style
|
|
5126
|
+
* 3. Padding
|
|
5095
5127
|
*/
|
|
5096
5128
|
.uk-navbar-dropdown-dropbar {
|
|
5097
5129
|
/* 1 */
|
|
5098
5130
|
width: auto;
|
|
5099
5131
|
/* 2 */
|
|
5100
|
-
|
|
5132
|
+
background: transparent;
|
|
5101
5133
|
/* 3 */
|
|
5102
|
-
|
|
5103
|
-
/* 4 */
|
|
5104
|
-
padding-right: 15px;
|
|
5105
|
-
padding-left: 15px;
|
|
5134
|
+
padding: 15px 15px 15px 15px;
|
|
5106
5135
|
--uk-position-shift-offset: 0;
|
|
5136
|
+
--uk-position-viewport-offset: 15px;
|
|
5137
|
+
}
|
|
5138
|
+
/* Phone landscape and bigger */
|
|
5139
|
+
@media (min-width: 640px) {
|
|
5140
|
+
.uk-navbar-dropdown-dropbar {
|
|
5141
|
+
--uk-position-viewport-offset: 30px;
|
|
5142
|
+
}
|
|
5143
|
+
}
|
|
5144
|
+
/* Tablet landscape and bigger */
|
|
5145
|
+
@media (min-width: 960px) {
|
|
5146
|
+
.uk-navbar-dropdown-dropbar {
|
|
5147
|
+
--uk-position-viewport-offset: 40px;
|
|
5148
|
+
}
|
|
5107
5149
|
}
|
|
5108
5150
|
/* Dropdown Nav
|
|
5109
5151
|
* Adopts `uk-nav`
|
|
@@ -7737,15 +7779,23 @@ iframe[data-uk-cover] {
|
|
|
7737
7779
|
/* Logo
|
|
7738
7780
|
========================================================================== */
|
|
7739
7781
|
/*
|
|
7740
|
-
* 1.
|
|
7782
|
+
* 1. Style
|
|
7783
|
+
* 2. Required for `a`
|
|
7784
|
+
* 3. Behave like image but can be overridden through flex utility classes
|
|
7741
7785
|
*/
|
|
7742
7786
|
.uk-logo {
|
|
7787
|
+
/* 1 */
|
|
7743
7788
|
font-size: 1.5rem;
|
|
7744
7789
|
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";
|
|
7745
7790
|
color: #333;
|
|
7746
|
-
/*
|
|
7791
|
+
/* 2 */
|
|
7747
7792
|
text-decoration: none;
|
|
7748
7793
|
}
|
|
7794
|
+
/* 3 */
|
|
7795
|
+
:where(.uk-logo) {
|
|
7796
|
+
display: inline-block;
|
|
7797
|
+
vertical-align: middle;
|
|
7798
|
+
}
|
|
7749
7799
|
/* Hover */
|
|
7750
7800
|
.uk-logo:hover {
|
|
7751
7801
|
color: #333;
|
|
@@ -7753,7 +7803,7 @@ iframe[data-uk-cover] {
|
|
|
7753
7803
|
text-decoration: none;
|
|
7754
7804
|
}
|
|
7755
7805
|
.uk-logo > :where(img, svg, video) {
|
|
7756
|
-
display:
|
|
7806
|
+
display: block;
|
|
7757
7807
|
}
|
|
7758
7808
|
.uk-logo-inverse {
|
|
7759
7809
|
display: none;
|
|
@@ -10642,32 +10692,6 @@ iframe[data-uk-cover] {
|
|
|
10642
10692
|
.uk-offcanvas-bar .uk-grid-divider.uk-grid-stack > .uk-grid-margin::before {
|
|
10643
10693
|
border-top-color: rgba(255, 255, 255, 0.2);
|
|
10644
10694
|
}
|
|
10645
|
-
.uk-light .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10646
|
-
.uk-section-primary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10647
|
-
.uk-section-secondary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10648
|
-
.uk-tile-primary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10649
|
-
.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10650
|
-
.uk-card-primary.uk-card-body .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10651
|
-
.uk-card-primary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10652
|
-
.uk-card-secondary.uk-card-body .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10653
|
-
.uk-card-secondary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10654
|
-
.uk-overlay-primary .uk-nav-parent-icon > .uk-parent > a::after,
|
|
10655
|
-
.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent > a::after {
|
|
10656
|
-
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%2210%201%204%207%2010%2013%22%20%2F%3E%0A%3C%2Fsvg%3E");
|
|
10657
|
-
}
|
|
10658
|
-
.uk-light .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10659
|
-
.uk-section-primary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10660
|
-
.uk-section-secondary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10661
|
-
.uk-tile-primary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10662
|
-
.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10663
|
-
.uk-card-primary.uk-card-body .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10664
|
-
.uk-card-primary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10665
|
-
.uk-card-secondary.uk-card-body .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10666
|
-
.uk-card-secondary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10667
|
-
.uk-overlay-primary .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
10668
|
-
.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent.uk-open > a::after {
|
|
10669
|
-
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");
|
|
10670
|
-
}
|
|
10671
10695
|
.uk-light .uk-nav-default > li > a,
|
|
10672
10696
|
.uk-section-primary:not(.uk-preserve-color) .uk-nav-default > li > a,
|
|
10673
10697
|
.uk-section-secondary:not(.uk-preserve-color) .uk-nav-default > li > a,
|