uikit 3.14.2-dev.404bdcedf → 3.14.2-dev.447aa311a
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 +24 -0
- package/dist/css/uikit-core-rtl.css +85 -24
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +85 -24
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +88 -23
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +88 -23
- 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 +101 -22
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +101 -22
- 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 +17 -2
- 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 +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +135 -44
- 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 +222 -110
- 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 +238 -111
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/components/parallax.js +16 -1
- package/src/js/core/accordion.js +3 -3
- package/src/js/core/alert.js +1 -1
- package/src/js/core/drop.js +40 -20
- package/src/js/core/height-viewport.js +14 -9
- package/src/js/core/navbar.js +19 -18
- package/src/js/core/toggle.js +5 -8
- package/src/js/mixin/position.js +44 -23
- package/src/js/mixin/togglable.js +105 -24
- package/src/js/util/animation.js +1 -0
- package/src/js/util/viewport.js +2 -5
- package/src/less/components/drop.less +19 -5
- package/src/less/components/dropdown.less +21 -5
- package/src/less/components/margin.less +13 -14
- package/src/less/components/modal.less +19 -4
- package/src/less/components/nav.less +1 -1
- package/src/less/components/navbar.less +46 -19
- package/src/less/components/offcanvas.less +21 -21
- package/src/less/components/position.less +1 -1
- package/src/less/components/sticky.less +7 -0
- package/src/less/components/utility.less +1 -2
- package/src/less/theme/dropdown.less +11 -0
- package/src/less/theme/navbar.less +7 -0
- package/src/scss/components/drop.scss +19 -5
- package/src/scss/components/dropdown.scss +21 -5
- package/src/scss/components/margin.scss +13 -14
- package/src/scss/components/modal.scss +19 -4
- package/src/scss/components/nav.scss +1 -1
- package/src/scss/components/navbar.scss +35 -8
- package/src/scss/components/offcanvas.scss +21 -21
- package/src/scss/components/position.scss +1 -1
- package/src/scss/components/sticky.scss +7 -0
- package/src/scss/components/utility.scss +1 -2
- package/src/scss/mixins-theme.scss +8 -0
- package/src/scss/mixins.scss +2 -0
- package/src/scss/theme/dropdown.scss +8 -0
- package/src/scss/theme/navbar.scss +4 -0
- package/src/scss/variables-theme.scss +23 -10
- package/src/scss/variables.scss +22 -11
- package/tests/drop.html +145 -2
- package/tests/dropdown.html +228 -13
- package/tests/height-viewport.html +62 -0
- package/tests/navbar.html +321 -14
- package/tests/offcanvas.html +8 -8
- package/tests/sticky-navbar.html +132 -0
- package/tests/sticky-parallax.html +2 -1
- package/tests/sticky.html +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,42 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## WIP mobile_dropdown
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Add `animate-out` option to Drop component
|
|
8
|
+
- Add alignment `stretch` to Drop component
|
|
9
|
+
- Add Height Viewport uses scroll parent as viewport
|
|
10
|
+
- Add zero z-index utility class to Position component
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Make content clickable for sticky cover and reveal effects
|
|
15
|
+
|
|
3
16
|
## WIP
|
|
4
17
|
|
|
5
18
|
### Added
|
|
6
19
|
|
|
7
20
|
- Add gap variable to navbar items in Navbar component
|
|
21
|
+
- Add color mode variable to navbar dropdown in Navbar component
|
|
22
|
+
- Add small breakpoint padding variables to Modal component
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- Rename `@offcanvas-bar-width-m` to `@offcanvas-bar-width-s`
|
|
27
|
+
- Rename `@offcanvas-bar-padding-vertical-m` to `@offcanvas-bar-padding-vertical-s`
|
|
28
|
+
- Rename `@offcanvas-bar-padding-horizontal-m` to `@offcanvas-bar-padding-horizontal-s`
|
|
8
29
|
|
|
9
30
|
### Fixed
|
|
10
31
|
|
|
32
|
+
- Fix logo image not working with text align in Utility component
|
|
11
33
|
- Fix Scroll component on iOS 12
|
|
12
34
|
- Fix offset calculation in Drop component
|
|
13
35
|
- Fix `-justify` positioning in Drop component
|
|
14
36
|
- Fix Toggle component in `mode:media` default prevents click event
|
|
37
|
+
- Fix: Toggle component did not default prevent touch click on anchor with closed target
|
|
15
38
|
- Revert: Height Viewport component sets `uk-height-viewport` class to reduce initial layout shifts
|
|
39
|
+
- Fix Dropbar handles resizing Drop components
|
|
16
40
|
|
|
17
41
|
## 3.14.1 (May 3, 2022)
|
|
18
42
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.14.2-dev.
|
|
1
|
+
/*! UIkit 3.14.2-dev.447aa311a | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -3231,7 +3231,7 @@ select.uk-form-width-xsmall {
|
|
|
3231
3231
|
position: absolute;
|
|
3232
3232
|
z-index: 1020;
|
|
3233
3233
|
--uk-position-offset: 20px;
|
|
3234
|
-
--uk-position-viewport-offset:
|
|
3234
|
+
--uk-position-viewport-offset: 15px;
|
|
3235
3235
|
/* 3 */
|
|
3236
3236
|
box-sizing: border-box;
|
|
3237
3237
|
width: 300px;
|
|
@@ -3240,6 +3240,18 @@ select.uk-form-width-xsmall {
|
|
|
3240
3240
|
.uk-drop.uk-open {
|
|
3241
3241
|
display: block;
|
|
3242
3242
|
}
|
|
3243
|
+
/* Stretch modifier
|
|
3244
|
+
========================================================================== */
|
|
3245
|
+
/*
|
|
3246
|
+
* 1. Allow scrolling
|
|
3247
|
+
*/
|
|
3248
|
+
.uk-drop-stretch {
|
|
3249
|
+
--uk-position-offset: 0;
|
|
3250
|
+
--uk-position-viewport-offset: 0;
|
|
3251
|
+
/* 1 */
|
|
3252
|
+
overflow-y: auto;
|
|
3253
|
+
-webkit-overflow-scrolling: touch;
|
|
3254
|
+
}
|
|
3243
3255
|
/* Grid modifiers
|
|
3244
3256
|
========================================================================== */
|
|
3245
3257
|
.uk-drop-stack .uk-drop-grid > * {
|
|
@@ -3261,7 +3273,7 @@ select.uk-form-width-xsmall {
|
|
|
3261
3273
|
position: absolute;
|
|
3262
3274
|
z-index: 1020;
|
|
3263
3275
|
--uk-position-offset: 10px;
|
|
3264
|
-
--uk-position-viewport-offset:
|
|
3276
|
+
--uk-position-viewport-offset: 15px;
|
|
3265
3277
|
/* 3 */
|
|
3266
3278
|
box-sizing: border-box;
|
|
3267
3279
|
min-width: 200px;
|
|
@@ -3275,6 +3287,18 @@ select.uk-form-width-xsmall {
|
|
|
3275
3287
|
.uk-dropdown.uk-open {
|
|
3276
3288
|
display: block;
|
|
3277
3289
|
}
|
|
3290
|
+
/* Stretch modifier
|
|
3291
|
+
========================================================================== */
|
|
3292
|
+
/*
|
|
3293
|
+
* 1. Allow scrolling
|
|
3294
|
+
*/
|
|
3295
|
+
.uk-dropdown-stretch {
|
|
3296
|
+
--uk-position-offset: 0;
|
|
3297
|
+
--uk-position-viewport-offset: 0;
|
|
3298
|
+
/* 1 */
|
|
3299
|
+
overflow-y: auto;
|
|
3300
|
+
-webkit-overflow-scrolling: touch;
|
|
3301
|
+
}
|
|
3278
3302
|
/* Nav
|
|
3279
3303
|
* Adopts `uk-nav`
|
|
3280
3304
|
========================================================================== */
|
|
@@ -3444,18 +3468,30 @@ select.uk-form-width-xsmall {
|
|
|
3444
3468
|
========================================================================== */
|
|
3445
3469
|
.uk-modal-body {
|
|
3446
3470
|
display: flow-root;
|
|
3447
|
-
padding:
|
|
3471
|
+
padding: 20px 20px;
|
|
3448
3472
|
}
|
|
3449
3473
|
.uk-modal-header {
|
|
3450
3474
|
display: flow-root;
|
|
3451
|
-
padding:
|
|
3475
|
+
padding: 10px 20px;
|
|
3452
3476
|
background: #f8f8f8;
|
|
3453
3477
|
}
|
|
3454
3478
|
.uk-modal-footer {
|
|
3455
3479
|
display: flow-root;
|
|
3456
|
-
padding:
|
|
3480
|
+
padding: 10px 20px;
|
|
3457
3481
|
background: #f8f8f8;
|
|
3458
3482
|
}
|
|
3483
|
+
/* Phone landscape and bigger */
|
|
3484
|
+
@media (min-width: 640px) {
|
|
3485
|
+
.uk-modal-body {
|
|
3486
|
+
padding: 30px 30px;
|
|
3487
|
+
}
|
|
3488
|
+
.uk-modal-header {
|
|
3489
|
+
padding: 15px 30px;
|
|
3490
|
+
}
|
|
3491
|
+
.uk-modal-footer {
|
|
3492
|
+
padding: 15px 30px;
|
|
3493
|
+
}
|
|
3494
|
+
}
|
|
3459
3495
|
/*
|
|
3460
3496
|
* Remove margin from the last-child
|
|
3461
3497
|
*/
|
|
@@ -3680,6 +3716,13 @@ select.uk-form-width-xsmall {
|
|
|
3680
3716
|
.uk-sticky.uk-animation-reverse {
|
|
3681
3717
|
animation-duration: 0.2s;
|
|
3682
3718
|
}
|
|
3719
|
+
/*
|
|
3720
|
+
* Placeholder
|
|
3721
|
+
* Make content clickable for sticky cover and reveal effects
|
|
3722
|
+
*/
|
|
3723
|
+
.uk-sticky-placeholder {
|
|
3724
|
+
pointer-events: none;
|
|
3725
|
+
}
|
|
3683
3726
|
/* ========================================================================
|
|
3684
3727
|
Component: Off-canvas
|
|
3685
3728
|
========================================================================== */
|
|
@@ -3726,12 +3769,12 @@ select.uk-form-width-xsmall {
|
|
|
3726
3769
|
overflow-y: auto;
|
|
3727
3770
|
-webkit-overflow-scrolling: touch;
|
|
3728
3771
|
}
|
|
3729
|
-
/*
|
|
3730
|
-
@media (min-width:
|
|
3772
|
+
/* Phone landscape and bigger */
|
|
3773
|
+
@media (min-width: 640px) {
|
|
3731
3774
|
.uk-offcanvas-bar {
|
|
3732
3775
|
right: -350px;
|
|
3733
3776
|
width: 350px;
|
|
3734
|
-
padding:
|
|
3777
|
+
padding: 30px 30px;
|
|
3735
3778
|
}
|
|
3736
3779
|
}
|
|
3737
3780
|
/* Flip modifier */
|
|
@@ -3740,7 +3783,7 @@ select.uk-form-width-xsmall {
|
|
|
3740
3783
|
left: -270px;
|
|
3741
3784
|
}
|
|
3742
3785
|
/* Tablet landscape and bigger */
|
|
3743
|
-
@media (min-width:
|
|
3786
|
+
@media (min-width: 640px) {
|
|
3744
3787
|
.uk-offcanvas-flip .uk-offcanvas-bar {
|
|
3745
3788
|
left: -350px;
|
|
3746
3789
|
}
|
|
@@ -3796,7 +3839,7 @@ select.uk-form-width-xsmall {
|
|
|
3796
3839
|
width: 270px;
|
|
3797
3840
|
}
|
|
3798
3841
|
/* Tablet landscape and bigger */
|
|
3799
|
-
@media (min-width:
|
|
3842
|
+
@media (min-width: 640px) {
|
|
3800
3843
|
.uk-open > .uk-offcanvas-reveal {
|
|
3801
3844
|
width: 350px;
|
|
3802
3845
|
}
|
|
@@ -3819,10 +3862,10 @@ select.uk-form-width-xsmall {
|
|
|
3819
3862
|
padding: 5px;
|
|
3820
3863
|
}
|
|
3821
3864
|
/* Tablet landscape and bigger */
|
|
3822
|
-
@media (min-width:
|
|
3865
|
+
@media (min-width: 640px) {
|
|
3823
3866
|
.uk-offcanvas-close {
|
|
3824
|
-
top:
|
|
3825
|
-
left:
|
|
3867
|
+
top: 10px;
|
|
3868
|
+
left: 10px;
|
|
3826
3869
|
}
|
|
3827
3870
|
}
|
|
3828
3871
|
/*
|
|
@@ -3900,7 +3943,7 @@ select.uk-form-width-xsmall {
|
|
|
3900
3943
|
right: -270px;
|
|
3901
3944
|
}
|
|
3902
3945
|
/* Tablet landscape and bigger */
|
|
3903
|
-
@media (min-width:
|
|
3946
|
+
@media (min-width: 640px) {
|
|
3904
3947
|
:not(.uk-offcanvas-flip).uk-offcanvas-container-animation {
|
|
3905
3948
|
right: 350px;
|
|
3906
3949
|
}
|
|
@@ -4973,9 +5016,9 @@ ul.uk-nav-sub {
|
|
|
4973
5016
|
/* 2 */
|
|
4974
5017
|
position: absolute;
|
|
4975
5018
|
z-index: 1020;
|
|
4976
|
-
--uk-position-offset:
|
|
5019
|
+
--uk-position-offset: 0;
|
|
4977
5020
|
--uk-position-shift-offset: 0;
|
|
4978
|
-
--uk-position-viewport-offset:
|
|
5021
|
+
--uk-position-viewport-offset: 15px;
|
|
4979
5022
|
/* 3 */
|
|
4980
5023
|
box-sizing: border-box;
|
|
4981
5024
|
width: 200px;
|
|
@@ -5023,20 +5066,36 @@ ul.uk-nav-sub {
|
|
|
5023
5066
|
.uk-navbar-dropdown-width-5:not(.uk-navbar-dropdown-stack) {
|
|
5024
5067
|
width: 1000px;
|
|
5025
5068
|
}
|
|
5069
|
+
/*
|
|
5070
|
+
* Stretch modifier
|
|
5071
|
+
* 1. Allow scrolling
|
|
5072
|
+
*/
|
|
5073
|
+
.uk-navbar-dropdown-stretch {
|
|
5074
|
+
--uk-position-offset: 0;
|
|
5075
|
+
--uk-position-shift-offset: 0;
|
|
5076
|
+
--uk-position-viewport-offset: 0;
|
|
5077
|
+
/* 1 */
|
|
5078
|
+
overflow-y: auto;
|
|
5079
|
+
-webkit-overflow-scrolling: touch;
|
|
5080
|
+
}
|
|
5026
5081
|
/*
|
|
5027
5082
|
* Dropbar modifier
|
|
5028
|
-
* 1.
|
|
5029
|
-
* 2.
|
|
5030
|
-
* 3.
|
|
5083
|
+
* 1. Reset dropdown width to prevent to early shifting
|
|
5084
|
+
* 2. Set position
|
|
5085
|
+
* 3. Bottom padding for dropbar
|
|
5086
|
+
* 4. Horizontal padding
|
|
5031
5087
|
*/
|
|
5032
5088
|
.uk-navbar-dropdown-dropbar {
|
|
5033
5089
|
/* 1 */
|
|
5034
|
-
|
|
5090
|
+
width: auto;
|
|
5035
5091
|
/* 2 */
|
|
5036
|
-
|
|
5092
|
+
--uk-position-offset: 0px;
|
|
5037
5093
|
/* 3 */
|
|
5094
|
+
margin-bottom: 0px;
|
|
5095
|
+
/* 4 */
|
|
5038
5096
|
padding-right: 15px;
|
|
5039
5097
|
padding-left: 15px;
|
|
5098
|
+
--uk-position-shift-offset: 0;
|
|
5040
5099
|
}
|
|
5041
5100
|
/* Dropdown Nav
|
|
5042
5101
|
* Adopts `uk-nav`
|
|
@@ -7408,7 +7467,6 @@ iframe[data-uk-cover] {
|
|
|
7408
7467
|
}
|
|
7409
7468
|
/*
|
|
7410
7469
|
* Enable scrollbars if content is clipped
|
|
7411
|
-
* Note: Firefox ignores `padding-bottom` for the scrollable overflow https://bugzilla.mozilla.org/show_bug.cgi?id=748518
|
|
7412
7470
|
*/
|
|
7413
7471
|
.uk-overflow-auto {
|
|
7414
7472
|
overflow: auto;
|
|
@@ -7687,7 +7745,7 @@ iframe[data-uk-cover] {
|
|
|
7687
7745
|
text-decoration: none;
|
|
7688
7746
|
}
|
|
7689
7747
|
.uk-logo > :where(img, svg, video) {
|
|
7690
|
-
display: block;
|
|
7748
|
+
display: inline-block;
|
|
7691
7749
|
}
|
|
7692
7750
|
.uk-logo-inverse {
|
|
7693
7751
|
display: none;
|
|
@@ -8537,6 +8595,9 @@ iframe[data-uk-cover] {
|
|
|
8537
8595
|
.uk-position-z-index {
|
|
8538
8596
|
z-index: 1;
|
|
8539
8597
|
}
|
|
8598
|
+
.uk-position-z-index-zero {
|
|
8599
|
+
z-index: 0;
|
|
8600
|
+
}
|
|
8540
8601
|
.uk-position-z-index-negative {
|
|
8541
8602
|
z-index: -1;
|
|
8542
8603
|
}
|