uikit 3.14.2-dev.f917389f5 → 3.14.2
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 +6 -12
- package/dist/css/uikit-core-rtl.css +31 -46
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +48 -3
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +46 -48
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +46 -48
- 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 -17
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +101 -17
- 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 -39
- 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 -101
- 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 +96 -71
- 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/navbar.js +10 -11
- 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 +6 -16
- package/src/less/components/drop.less +1 -2
- package/src/less/components/dropdown.less +1 -2
- package/src/less/components/modal.less +4 -19
- package/src/less/components/navbar.less +10 -28
- package/src/less/components/offcanvas.less +21 -21
- package/src/less/components/sticky.less +7 -0
- package/src/less/components/utility.less +1 -1
- package/src/less/theme/navbar.less +12 -3
- package/src/scss/components/drop.scss +1 -2
- package/src/scss/components/dropdown.scss +1 -2
- package/src/scss/components/modal.scss +4 -19
- package/src/scss/components/navbar.scss +10 -28
- package/src/scss/components/offcanvas.scss +21 -21
- package/src/scss/components/sticky.scss +7 -0
- package/src/scss/components/utility.scss +1 -1
- package/src/scss/mixins-theme.scss +12 -0
- package/src/scss/theme/navbar.scss +0 -3
- package/src/scss/variables-theme.scss +11 -23
- package/src/scss/variables.scss +11 -23
- package/tests/offcanvas.html +8 -8
- package/tests/sticky-parallax.html +2 -1
- package/tests/sticky.html +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,25 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
### Added
|
|
6
|
-
|
|
7
|
-
- Add gap variable to navbar items in Navbar component
|
|
8
|
-
- Add small breakpoint padding variables to Modal component
|
|
9
|
-
|
|
10
|
-
### Changed
|
|
11
|
-
|
|
12
|
-
- Rename `@offcanvas-bar-width-m` to `@offcanvas-bar-width-s`
|
|
13
|
-
- Rename `@offcanvas-bar-padding-vertical-m` to `@offcanvas-bar-padding-vertical-s`
|
|
14
|
-
- Rename `@offcanvas-bar-padding-horizontal-m` to `@offcanvas-bar-padding-horizontal-s`
|
|
3
|
+
## 3.14.2 (May 27, 2022)
|
|
15
4
|
|
|
16
5
|
### Fixed
|
|
17
6
|
|
|
7
|
+
- Fix logo image not working with text align in Utility component
|
|
18
8
|
- Fix Scroll component on iOS 12
|
|
19
9
|
- Fix offset calculation in Drop component
|
|
20
10
|
- Fix `-justify` positioning in Drop component
|
|
21
11
|
- Fix Toggle component in `mode:media` default prevents click event
|
|
12
|
+
- Fix: Toggle component did not default prevent touch click on anchor with closed target
|
|
22
13
|
- Revert: Height Viewport component sets `uk-height-viewport` class to reduce initial layout shifts
|
|
14
|
+
- Fix Dropbar handles resizing Drop components
|
|
15
|
+
- Fix Parallax component background image positioning
|
|
16
|
+
- Make content clickable for sticky cover and reveal effects
|
|
23
17
|
|
|
24
18
|
## 3.14.1 (May 3, 2022)
|
|
25
19
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.14.2
|
|
1
|
+
/*! UIkit 3.14.2 | 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: 10;
|
|
3235
3235
|
/* 3 */
|
|
3236
3236
|
box-sizing: border-box;
|
|
3237
3237
|
width: 300px;
|
|
@@ -3261,7 +3261,7 @@ select.uk-form-width-xsmall {
|
|
|
3261
3261
|
position: absolute;
|
|
3262
3262
|
z-index: 1020;
|
|
3263
3263
|
--uk-position-offset: 10px;
|
|
3264
|
-
--uk-position-viewport-offset:
|
|
3264
|
+
--uk-position-viewport-offset: 10;
|
|
3265
3265
|
/* 3 */
|
|
3266
3266
|
box-sizing: border-box;
|
|
3267
3267
|
min-width: 200px;
|
|
@@ -3444,30 +3444,18 @@ select.uk-form-width-xsmall {
|
|
|
3444
3444
|
========================================================================== */
|
|
3445
3445
|
.uk-modal-body {
|
|
3446
3446
|
display: flow-root;
|
|
3447
|
-
padding:
|
|
3447
|
+
padding: 30px 30px;
|
|
3448
3448
|
}
|
|
3449
3449
|
.uk-modal-header {
|
|
3450
3450
|
display: flow-root;
|
|
3451
|
-
padding:
|
|
3451
|
+
padding: 15px 30px;
|
|
3452
3452
|
background: #f8f8f8;
|
|
3453
3453
|
}
|
|
3454
3454
|
.uk-modal-footer {
|
|
3455
3455
|
display: flow-root;
|
|
3456
|
-
padding:
|
|
3456
|
+
padding: 15px 30px;
|
|
3457
3457
|
background: #f8f8f8;
|
|
3458
3458
|
}
|
|
3459
|
-
/* Phone landscape and bigger */
|
|
3460
|
-
@media (min-width: 640px) {
|
|
3461
|
-
.uk-modal-body {
|
|
3462
|
-
padding: 30px 30px;
|
|
3463
|
-
}
|
|
3464
|
-
.uk-modal-header {
|
|
3465
|
-
padding: 15px 30px;
|
|
3466
|
-
}
|
|
3467
|
-
.uk-modal-footer {
|
|
3468
|
-
padding: 15px 30px;
|
|
3469
|
-
}
|
|
3470
|
-
}
|
|
3471
3459
|
/*
|
|
3472
3460
|
* Remove margin from the last-child
|
|
3473
3461
|
*/
|
|
@@ -3692,6 +3680,13 @@ select.uk-form-width-xsmall {
|
|
|
3692
3680
|
.uk-sticky.uk-animation-reverse {
|
|
3693
3681
|
animation-duration: 0.2s;
|
|
3694
3682
|
}
|
|
3683
|
+
/*
|
|
3684
|
+
* Placeholder
|
|
3685
|
+
* Make content clickable for sticky cover and reveal effects
|
|
3686
|
+
*/
|
|
3687
|
+
.uk-sticky-placeholder {
|
|
3688
|
+
pointer-events: none;
|
|
3689
|
+
}
|
|
3695
3690
|
/* ========================================================================
|
|
3696
3691
|
Component: Off-canvas
|
|
3697
3692
|
========================================================================== */
|
|
@@ -3738,12 +3733,12 @@ select.uk-form-width-xsmall {
|
|
|
3738
3733
|
overflow-y: auto;
|
|
3739
3734
|
-webkit-overflow-scrolling: touch;
|
|
3740
3735
|
}
|
|
3741
|
-
/*
|
|
3742
|
-
@media (min-width:
|
|
3736
|
+
/* Tablet landscape and bigger */
|
|
3737
|
+
@media (min-width: 960px) {
|
|
3743
3738
|
.uk-offcanvas-bar {
|
|
3744
3739
|
right: -350px;
|
|
3745
3740
|
width: 350px;
|
|
3746
|
-
padding:
|
|
3741
|
+
padding: 40px 40px;
|
|
3747
3742
|
}
|
|
3748
3743
|
}
|
|
3749
3744
|
/* Flip modifier */
|
|
@@ -3752,7 +3747,7 @@ select.uk-form-width-xsmall {
|
|
|
3752
3747
|
left: -270px;
|
|
3753
3748
|
}
|
|
3754
3749
|
/* Tablet landscape and bigger */
|
|
3755
|
-
@media (min-width:
|
|
3750
|
+
@media (min-width: 960px) {
|
|
3756
3751
|
.uk-offcanvas-flip .uk-offcanvas-bar {
|
|
3757
3752
|
left: -350px;
|
|
3758
3753
|
}
|
|
@@ -3808,7 +3803,7 @@ select.uk-form-width-xsmall {
|
|
|
3808
3803
|
width: 270px;
|
|
3809
3804
|
}
|
|
3810
3805
|
/* Tablet landscape and bigger */
|
|
3811
|
-
@media (min-width:
|
|
3806
|
+
@media (min-width: 960px) {
|
|
3812
3807
|
.uk-open > .uk-offcanvas-reveal {
|
|
3813
3808
|
width: 350px;
|
|
3814
3809
|
}
|
|
@@ -3831,10 +3826,10 @@ select.uk-form-width-xsmall {
|
|
|
3831
3826
|
padding: 5px;
|
|
3832
3827
|
}
|
|
3833
3828
|
/* Tablet landscape and bigger */
|
|
3834
|
-
@media (min-width:
|
|
3829
|
+
@media (min-width: 960px) {
|
|
3835
3830
|
.uk-offcanvas-close {
|
|
3836
|
-
top:
|
|
3837
|
-
left:
|
|
3831
|
+
top: 20px;
|
|
3832
|
+
left: 20px;
|
|
3838
3833
|
}
|
|
3839
3834
|
}
|
|
3840
3835
|
/*
|
|
@@ -3912,7 +3907,7 @@ select.uk-form-width-xsmall {
|
|
|
3912
3907
|
right: -270px;
|
|
3913
3908
|
}
|
|
3914
3909
|
/* Tablet landscape and bigger */
|
|
3915
|
-
@media (min-width:
|
|
3910
|
+
@media (min-width: 960px) {
|
|
3916
3911
|
:not(.uk-offcanvas-flip).uk-offcanvas-container-animation {
|
|
3917
3912
|
right: 350px;
|
|
3918
3913
|
}
|
|
@@ -4784,7 +4779,6 @@ ul.uk-nav-sub {
|
|
|
4784
4779
|
*/
|
|
4785
4780
|
.uk-navbar {
|
|
4786
4781
|
display: flex;
|
|
4787
|
-
--uk-navbar-nav-item-gap: 0;
|
|
4788
4782
|
/* 1 */
|
|
4789
4783
|
position: relative;
|
|
4790
4784
|
}
|
|
@@ -4805,7 +4799,6 @@ ul.uk-nav-sub {
|
|
|
4805
4799
|
.uk-navbar-center-right > *,
|
|
4806
4800
|
.uk-navbar-center-left > * {
|
|
4807
4801
|
display: flex;
|
|
4808
|
-
gap: var(--uk-navbar-nav-item-gap);
|
|
4809
4802
|
/* 1 */
|
|
4810
4803
|
align-items: center;
|
|
4811
4804
|
}
|
|
@@ -4845,11 +4838,9 @@ ul.uk-nav-sub {
|
|
|
4845
4838
|
}
|
|
4846
4839
|
.uk-navbar-center-right {
|
|
4847
4840
|
left: 100%;
|
|
4848
|
-
left: calc(100% + var(--uk-navbar-nav-item-gap));
|
|
4849
4841
|
}
|
|
4850
4842
|
.uk-navbar-center-left {
|
|
4851
4843
|
right: 100%;
|
|
4852
|
-
right: calc(100% + var(--uk-navbar-nav-item-gap));
|
|
4853
4844
|
}
|
|
4854
4845
|
[class*='uk-navbar-center-'] {
|
|
4855
4846
|
width: max-content;
|
|
@@ -4862,7 +4853,6 @@ ul.uk-nav-sub {
|
|
|
4862
4853
|
*/
|
|
4863
4854
|
.uk-navbar-nav {
|
|
4864
4855
|
display: flex;
|
|
4865
|
-
gap: var(--uk-navbar-nav-item-gap);
|
|
4866
4856
|
/* 1 */
|
|
4867
4857
|
margin: 0;
|
|
4868
4858
|
padding: 0;
|
|
@@ -4929,7 +4919,6 @@ ul.uk-nav-sub {
|
|
|
4929
4919
|
/* Item
|
|
4930
4920
|
========================================================================== */
|
|
4931
4921
|
.uk-navbar-item {
|
|
4932
|
-
padding: 0 15px;
|
|
4933
4922
|
color: #666;
|
|
4934
4923
|
}
|
|
4935
4924
|
/*
|
|
@@ -4985,9 +4974,8 @@ ul.uk-nav-sub {
|
|
|
4985
4974
|
/* 2 */
|
|
4986
4975
|
position: absolute;
|
|
4987
4976
|
z-index: 1020;
|
|
4988
|
-
--uk-position-offset:
|
|
4989
|
-
--uk-position-
|
|
4990
|
-
--uk-position-viewport-offset: 15px;
|
|
4977
|
+
--uk-position-offset: 0px;
|
|
4978
|
+
--uk-position-viewport-offset: 10;
|
|
4991
4979
|
/* 3 */
|
|
4992
4980
|
box-sizing: border-box;
|
|
4993
4981
|
width: 200px;
|
|
@@ -5037,22 +5025,19 @@ ul.uk-nav-sub {
|
|
|
5037
5025
|
}
|
|
5038
5026
|
/*
|
|
5039
5027
|
* Dropbar modifier
|
|
5040
|
-
* 1.
|
|
5041
|
-
* 2.
|
|
5042
|
-
* 3.
|
|
5043
|
-
* 4. Horizontal padding
|
|
5028
|
+
* 1. Set position
|
|
5029
|
+
* 2. Bottom padding for dropbar
|
|
5030
|
+
* 3. Horizontal padding
|
|
5044
5031
|
*/
|
|
5045
5032
|
.uk-navbar-dropdown-dropbar {
|
|
5046
5033
|
/* 1 */
|
|
5047
|
-
width: auto;
|
|
5048
|
-
/* 2 */
|
|
5049
5034
|
--uk-position-offset: 0px;
|
|
5050
|
-
|
|
5035
|
+
--uk-position-viewport-offset: 0;
|
|
5036
|
+
/* 2 */
|
|
5051
5037
|
margin-bottom: 0px;
|
|
5052
|
-
/*
|
|
5038
|
+
/* 3 */
|
|
5053
5039
|
padding-right: 15px;
|
|
5054
5040
|
padding-left: 15px;
|
|
5055
|
-
--uk-position-shift-offset: 0;
|
|
5056
5041
|
}
|
|
5057
5042
|
/* Dropdown Nav
|
|
5058
5043
|
* Adopts `uk-nav`
|
|
@@ -7703,7 +7688,7 @@ iframe[data-uk-cover] {
|
|
|
7703
7688
|
text-decoration: none;
|
|
7704
7689
|
}
|
|
7705
7690
|
.uk-logo > :where(img, svg, video) {
|
|
7706
|
-
display: block;
|
|
7691
|
+
display: inline-block;
|
|
7707
7692
|
}
|
|
7708
7693
|
.uk-logo-inverse {
|
|
7709
7694
|
display: none;
|