uikit 3.14.2-dev.854a8e6b0 → 3.14.2-dev.c7c85455d
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 +16 -0
- package/dist/css/uikit-core-rtl.css +72 -15
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +72 -15
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +76 -15
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +76 -15
- 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 +70 -35
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +55 -35
- 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 +55 -35
- 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 +225 -106
- 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 +294 -140
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/components/parallax.js +15 -0
- 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/scrollspy.js +4 -0
- package/src/js/core/toggle.js +5 -8
- package/src/js/mixin/parallax.js +54 -34
- 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 +1 -1
- package/src/less/components/drop.less +17 -4
- package/src/less/components/dropdown.less +19 -4
- 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 +32 -11
- 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 +17 -4
- package/src/scss/components/dropdown.scss +19 -4
- 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 +21 -0
- 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 +19 -10
- package/src/scss/variables.scss +17 -10
- 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
|
@@ -5,14 +5,30 @@
|
|
|
5
5
|
### Added
|
|
6
6
|
|
|
7
7
|
- Add gap variable to navbar items in Navbar component
|
|
8
|
+
- Add color mode variable to navbar dropdown in Navbar component
|
|
9
|
+
- Add small breakpoint padding variables to Modal component- Add `animate-out` option to Drop component
|
|
10
|
+
- Add alignment `stretch` to Drop component
|
|
11
|
+
- Add Height Viewport uses scroll parent as viewport
|
|
12
|
+
- Add zero z-index utility class to Position component
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Rename `@offcanvas-bar-width-m` to `@offcanvas-bar-width-s`
|
|
17
|
+
- Rename `@offcanvas-bar-padding-vertical-m` to `@offcanvas-bar-padding-vertical-s`
|
|
18
|
+
- Rename `@offcanvas-bar-padding-horizontal-m` to `@offcanvas-bar-padding-horizontal-s`
|
|
8
19
|
|
|
9
20
|
### Fixed
|
|
10
21
|
|
|
22
|
+
- Fix logo image not working with text align in Utility component
|
|
11
23
|
- Fix Scroll component on iOS 12
|
|
12
24
|
- Fix offset calculation in Drop component
|
|
13
25
|
- Fix `-justify` positioning in Drop component
|
|
14
26
|
- Fix Toggle component in `mode:media` default prevents click event
|
|
27
|
+
- Fix: Toggle component did not default prevent touch click on anchor with closed target
|
|
15
28
|
- Revert: Height Viewport component sets `uk-height-viewport` class to reduce initial layout shifts
|
|
29
|
+
- Fix Dropbar handles resizing Drop components
|
|
30
|
+
- Fix Parallax component background image positioning
|
|
31
|
+
- Make content clickable for sticky cover and reveal effects
|
|
16
32
|
|
|
17
33
|
## 3.14.1 (May 3, 2022)
|
|
18
34
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.14.2-dev.
|
|
1
|
+
/*! UIkit 3.14.2-dev.c7c85455d | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -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 > * {
|
|
@@ -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
|
}
|
|
@@ -5023,6 +5066,18 @@ 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
5083
|
* 1. Reset dropdown width to prevent to early shifting
|
|
@@ -7412,7 +7467,6 @@ iframe[data-uk-cover] {
|
|
|
7412
7467
|
}
|
|
7413
7468
|
/*
|
|
7414
7469
|
* Enable scrollbars if content is clipped
|
|
7415
|
-
* Note: Firefox ignores `padding-bottom` for the scrollable overflow https://bugzilla.mozilla.org/show_bug.cgi?id=748518
|
|
7416
7470
|
*/
|
|
7417
7471
|
.uk-overflow-auto {
|
|
7418
7472
|
overflow: auto;
|
|
@@ -7691,7 +7745,7 @@ iframe[data-uk-cover] {
|
|
|
7691
7745
|
text-decoration: none;
|
|
7692
7746
|
}
|
|
7693
7747
|
.uk-logo > :where(img, svg, video) {
|
|
7694
|
-
display: block;
|
|
7748
|
+
display: inline-block;
|
|
7695
7749
|
}
|
|
7696
7750
|
.uk-logo-inverse {
|
|
7697
7751
|
display: none;
|
|
@@ -8541,6 +8595,9 @@ iframe[data-uk-cover] {
|
|
|
8541
8595
|
.uk-position-z-index {
|
|
8542
8596
|
z-index: 1;
|
|
8543
8597
|
}
|
|
8598
|
+
.uk-position-z-index-zero {
|
|
8599
|
+
z-index: 0;
|
|
8600
|
+
}
|
|
8544
8601
|
.uk-position-z-index-negative {
|
|
8545
8602
|
z-index: -1;
|
|
8546
8603
|
}
|