uikit 3.14.4-dev.cd89debeb → 3.14.4-dev.f2e3be255
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 +12 -0
- package/dist/css/uikit-core-rtl.css +68 -20
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +68 -20
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +65 -21
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +65 -21
- 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 +22 -7
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +22 -7
- 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 +18 -3
- 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 +87 -53
- 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 +134 -85
- 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/images/backgrounds/navbar-parent-close.svg +3 -0
- package/src/images/backgrounds/navbar-parent-open.svg +3 -0
- package/src/js/components/sortable.js +2 -3
- package/src/js/core/height-viewport.js +9 -5
- 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/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 +52 -14
- package/src/less/components/utility.less +12 -3
- package/src/less/theme/nav.less +3 -7
- package/src/less/theme/navbar.less +4 -6
- package/src/scss/components/dropdown.scss +8 -0
- package/src/scss/components/nav.scss +24 -6
- package/src/scss/components/navbar.scss +52 -14
- package/src/scss/components/utility.scss +12 -3
- package/src/scss/mixins-theme.scss +2 -5
- package/src/scss/theme/nav.scss +3 -7
- package/src/scss/theme/navbar.scss +3 -2
- package/src/scss/variables-theme.scss +24 -9
- package/src/scss/variables.scss +24 -7
- package/tests/drop.html +66 -16
- package/tests/dropdown.html +103 -16
- package/tests/navbar.html +2131 -1125
package/dist/css/uikit.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.14.4-dev.
|
|
1
|
+
/*! UIkit 3.14.4-dev.f2e3be255 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -3549,6 +3549,11 @@ select.uk-form-width-xsmall {
|
|
|
3549
3549
|
.uk-dropdown.uk-open {
|
|
3550
3550
|
display: block;
|
|
3551
3551
|
}
|
|
3552
|
+
/* Size modifier
|
|
3553
|
+
========================================================================== */
|
|
3554
|
+
.uk-dropdown-large {
|
|
3555
|
+
padding: 40px;
|
|
3556
|
+
}
|
|
3552
3557
|
/* Stretch modifier
|
|
3553
3558
|
========================================================================== */
|
|
3554
3559
|
/*
|
|
@@ -4936,12 +4941,12 @@ ul.uk-nav-sub {
|
|
|
4936
4941
|
width: 1.5em;
|
|
4937
4942
|
height: 1.5em;
|
|
4938
4943
|
margin-left: auto;
|
|
4939
|
-
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%
|
|
4944
|
+
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");
|
|
4940
4945
|
background-repeat: no-repeat;
|
|
4941
4946
|
background-position: 50% 50%;
|
|
4942
4947
|
}
|
|
4943
4948
|
.uk-nav-parent-icon > .uk-parent.uk-open > a::after {
|
|
4944
|
-
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%
|
|
4949
|
+
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");
|
|
4945
4950
|
}
|
|
4946
4951
|
/* Header
|
|
4947
4952
|
========================================================================== */
|
|
@@ -4962,6 +4967,7 @@ ul.uk-nav-sub {
|
|
|
4962
4967
|
========================================================================== */
|
|
4963
4968
|
.uk-nav-default {
|
|
4964
4969
|
font-size: 0.875rem;
|
|
4970
|
+
line-height: 1.5;
|
|
4965
4971
|
}
|
|
4966
4972
|
/*
|
|
4967
4973
|
* Items
|
|
@@ -4998,6 +5004,10 @@ ul.uk-nav-sub {
|
|
|
4998
5004
|
/*
|
|
4999
5005
|
* Sublists
|
|
5000
5006
|
*/
|
|
5007
|
+
.uk-nav-default .uk-nav-sub {
|
|
5008
|
+
font-size: 0.875rem;
|
|
5009
|
+
line-height: 1.5;
|
|
5010
|
+
}
|
|
5001
5011
|
.uk-nav-default .uk-nav-sub a {
|
|
5002
5012
|
color: #999;
|
|
5003
5013
|
}
|
|
@@ -5009,12 +5019,14 @@ ul.uk-nav-sub {
|
|
|
5009
5019
|
}
|
|
5010
5020
|
/* Primary modifier
|
|
5011
5021
|
========================================================================== */
|
|
5022
|
+
.uk-nav-primary {
|
|
5023
|
+
font-size: 1.5rem;
|
|
5024
|
+
line-height: 1.5;
|
|
5025
|
+
}
|
|
5012
5026
|
/*
|
|
5013
5027
|
* Items
|
|
5014
5028
|
*/
|
|
5015
5029
|
.uk-nav-primary > li > a {
|
|
5016
|
-
font-size: 1.5rem;
|
|
5017
|
-
line-height: 1.5;
|
|
5018
5030
|
color: #999;
|
|
5019
5031
|
}
|
|
5020
5032
|
/* Hover */
|
|
@@ -5046,6 +5058,10 @@ ul.uk-nav-sub {
|
|
|
5046
5058
|
/*
|
|
5047
5059
|
* Sublists
|
|
5048
5060
|
*/
|
|
5061
|
+
.uk-nav-primary .uk-nav-sub {
|
|
5062
|
+
font-size: 1.25rem;
|
|
5063
|
+
line-height: 1.5;
|
|
5064
|
+
}
|
|
5049
5065
|
.uk-nav-primary .uk-nav-sub a {
|
|
5050
5066
|
color: #999;
|
|
5051
5067
|
}
|
|
@@ -5200,7 +5216,6 @@ ul.uk-nav-sub {
|
|
|
5200
5216
|
/* 3 */
|
|
5201
5217
|
box-sizing: border-box;
|
|
5202
5218
|
min-height: 80px;
|
|
5203
|
-
padding: 0 0;
|
|
5204
5219
|
/* 4 */
|
|
5205
5220
|
font-size: 0.875rem;
|
|
5206
5221
|
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";
|
|
@@ -5211,6 +5226,7 @@ ul.uk-nav-sub {
|
|
|
5211
5226
|
* Nav items
|
|
5212
5227
|
*/
|
|
5213
5228
|
.uk-navbar-nav > li > a {
|
|
5229
|
+
padding: 0 0;
|
|
5214
5230
|
color: #999;
|
|
5215
5231
|
text-transform: uppercase;
|
|
5216
5232
|
transition: 0.1s ease-in-out;
|
|
@@ -5232,6 +5248,21 @@ ul.uk-nav-sub {
|
|
|
5232
5248
|
.uk-navbar-nav > li.uk-active > a {
|
|
5233
5249
|
color: #333;
|
|
5234
5250
|
}
|
|
5251
|
+
/* Parent icon modifier
|
|
5252
|
+
========================================================================== */
|
|
5253
|
+
.uk-navbar-parent-icon .uk-navbar-nav > .uk-parent > a::after {
|
|
5254
|
+
content: "";
|
|
5255
|
+
width: 12px;
|
|
5256
|
+
height: 12px;
|
|
5257
|
+
margin-left: auto;
|
|
5258
|
+
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%0A%20%20%20%20%3Cpolyline%20fill%3D%22none%22%20stroke%3D%22%23999%22%20stroke-width%3D%221.1%22%20points%3D%221%203.5%206%208.5%2011%203.5%22%2F%3E%0A%3C%2Fsvg%3E");
|
|
5259
|
+
background-repeat: no-repeat;
|
|
5260
|
+
background-position: 50% 50%;
|
|
5261
|
+
}
|
|
5262
|
+
.uk-navbar-parent-icon .uk-navbar-nav > .uk-parent:hover > a::after,
|
|
5263
|
+
.uk-navbar-parent-icon .uk-navbar-nav > .uk-parent > a[aria-expanded="true"]::after {
|
|
5264
|
+
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%0A%20%20%20%20%3Cpolyline%20fill%3D%22none%22%20stroke%3D%22%23999%22%20stroke-width%3D%221.1%22%20points%3D%2211%208.5%206%203.5%201%208.5%22%20%2F%3E%0A%3C%2Fsvg%3E");
|
|
5265
|
+
}
|
|
5235
5266
|
/* Item
|
|
5236
5267
|
========================================================================== */
|
|
5237
5268
|
.uk-navbar-item {
|
|
@@ -5247,6 +5278,7 @@ ul.uk-nav-sub {
|
|
|
5247
5278
|
/* Toggle
|
|
5248
5279
|
========================================================================== */
|
|
5249
5280
|
.uk-navbar-toggle {
|
|
5281
|
+
padding: 0 0;
|
|
5250
5282
|
color: #999;
|
|
5251
5283
|
}
|
|
5252
5284
|
.uk-navbar-toggle:hover,
|
|
@@ -5342,9 +5374,16 @@ ul.uk-nav-sub {
|
|
|
5342
5374
|
.uk-navbar-dropdown-width-5:not(.uk-navbar-dropdown-stack) {
|
|
5343
5375
|
width: 1000px;
|
|
5344
5376
|
}
|
|
5377
|
+
/*
|
|
5378
|
+
* Size modifier
|
|
5379
|
+
*/
|
|
5380
|
+
.uk-navbar-dropdown-large {
|
|
5381
|
+
padding: 40px;
|
|
5382
|
+
}
|
|
5345
5383
|
/*
|
|
5346
5384
|
* Stretch modifier
|
|
5347
5385
|
* 1. Allow scrolling
|
|
5386
|
+
* 2. Style
|
|
5348
5387
|
*/
|
|
5349
5388
|
.uk-navbar-dropdown-stretch {
|
|
5350
5389
|
--uk-position-offset: 0;
|
|
@@ -5353,27 +5392,24 @@ ul.uk-nav-sub {
|
|
|
5353
5392
|
/* 1 */
|
|
5354
5393
|
overflow-y: auto;
|
|
5355
5394
|
-webkit-overflow-scrolling: touch;
|
|
5395
|
+
/* 2 */
|
|
5396
|
+
padding: 15px 15px 15px 15px;
|
|
5397
|
+
background: #fff;
|
|
5356
5398
|
box-shadow: none;
|
|
5357
|
-
background: #f8f8f8;
|
|
5358
5399
|
}
|
|
5359
5400
|
/*
|
|
5360
5401
|
* Dropbar modifier
|
|
5361
5402
|
* 1. Reset dropdown width to prevent to early shifting
|
|
5362
|
-
* 2.
|
|
5363
|
-
* 3.
|
|
5364
|
-
* 4. Horizontal padding
|
|
5403
|
+
* 2. Reset style
|
|
5404
|
+
* 3. Padding
|
|
5365
5405
|
*/
|
|
5366
5406
|
.uk-navbar-dropdown-dropbar {
|
|
5367
5407
|
/* 1 */
|
|
5368
5408
|
width: auto;
|
|
5369
5409
|
/* 2 */
|
|
5370
|
-
|
|
5371
|
-
--uk-position-viewport-offset: 0;
|
|
5410
|
+
background: transparent;
|
|
5372
5411
|
/* 3 */
|
|
5373
|
-
|
|
5374
|
-
/* 4 */
|
|
5375
|
-
padding-left: 0;
|
|
5376
|
-
padding-right: 0;
|
|
5412
|
+
padding: 25px 0 25px 0;
|
|
5377
5413
|
--uk-position-shift-offset: 0;
|
|
5378
5414
|
box-shadow: none;
|
|
5379
5415
|
}
|
|
@@ -8121,15 +8157,23 @@ iframe[data-uk-cover] {
|
|
|
8121
8157
|
/* Logo
|
|
8122
8158
|
========================================================================== */
|
|
8123
8159
|
/*
|
|
8124
|
-
* 1.
|
|
8160
|
+
* 1. Style
|
|
8161
|
+
* 2. Required for `a`
|
|
8162
|
+
* 3. Behave like image but can be overridden through flex utility classes
|
|
8125
8163
|
*/
|
|
8126
8164
|
.uk-logo {
|
|
8165
|
+
/* 1 */
|
|
8127
8166
|
font-size: 1.5rem;
|
|
8128
8167
|
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";
|
|
8129
8168
|
color: #333;
|
|
8130
|
-
/*
|
|
8169
|
+
/* 2 */
|
|
8131
8170
|
text-decoration: none;
|
|
8132
8171
|
}
|
|
8172
|
+
/* 3 */
|
|
8173
|
+
:where(.uk-logo) {
|
|
8174
|
+
display: inline-block;
|
|
8175
|
+
vertical-align: middle;
|
|
8176
|
+
}
|
|
8133
8177
|
/* Hover */
|
|
8134
8178
|
.uk-logo:hover {
|
|
8135
8179
|
color: #333;
|
|
@@ -8137,7 +8181,7 @@ iframe[data-uk-cover] {
|
|
|
8137
8181
|
text-decoration: none;
|
|
8138
8182
|
}
|
|
8139
8183
|
.uk-logo > :where(img, svg, video) {
|
|
8140
|
-
display:
|
|
8184
|
+
display: block;
|
|
8141
8185
|
}
|
|
8142
8186
|
.uk-logo-inverse {
|
|
8143
8187
|
display: none;
|
|
@@ -11115,7 +11159,7 @@ iframe[data-uk-cover] {
|
|
|
11115
11159
|
.uk-card-secondary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent > a::after,
|
|
11116
11160
|
.uk-overlay-primary .uk-nav-parent-icon > .uk-parent > a::after,
|
|
11117
11161
|
.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent > a::after {
|
|
11118
|
-
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%
|
|
11162
|
+
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");
|
|
11119
11163
|
}
|
|
11120
11164
|
.uk-light .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
11121
11165
|
.uk-section-primary:not(.uk-preserve-color) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
@@ -11128,7 +11172,7 @@ iframe[data-uk-cover] {
|
|
|
11128
11172
|
.uk-card-secondary > :not([class*='uk-card-media']) .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
11129
11173
|
.uk-overlay-primary .uk-nav-parent-icon > .uk-parent.uk-open > a::after,
|
|
11130
11174
|
.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent.uk-open > a::after {
|
|
11131
|
-
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%
|
|
11175
|
+
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");
|
|
11132
11176
|
}
|
|
11133
11177
|
.uk-light .uk-nav-default > li > a,
|
|
11134
11178
|
.uk-section-primary:not(.uk-preserve-color) .uk-nav-default > li > a,
|