uikit 3.14.2-dev.f917389f5 → 3.14.3-dev.68d38eb6d
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 +17 -1
- package/dist/css/uikit-core-rtl.css +48 -3
- 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 +52 -3
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +52 -3
- 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 +229 -105
- 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 +298 -139
- 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 -19
- package/src/js/util/animation.js +1 -0
- package/src/js/util/dom.js +4 -3
- 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/nav.less +1 -1
- package/src/less/components/navbar.less +32 -11
- 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/nav.scss +1 -1
- package/src/scss/components/navbar.scss +21 -0
- 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 +3 -0
- package/src/scss/variables.scss +1 -0
- 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/sticky-navbar.html +132 -0
- package/tests/sticky-parallax.html +2 -1
- package/tests/sticky.html +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,11 @@
|
|
|
5
5
|
### Added
|
|
6
6
|
|
|
7
7
|
- Add gap variable to navbar items in Navbar component
|
|
8
|
-
- Add
|
|
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
|
|
9
13
|
|
|
10
14
|
### Changed
|
|
11
15
|
|
|
@@ -15,10 +19,22 @@
|
|
|
15
19
|
|
|
16
20
|
### Fixed
|
|
17
21
|
|
|
22
|
+
- Fix compatibility with iOS < 14
|
|
23
|
+
- Fix regression in Parallax component
|
|
24
|
+
|
|
25
|
+
## 3.14.2 (May 27, 2022)
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- Fix logo image not working with text align in Utility component
|
|
18
30
|
- Fix Scroll component on iOS 12
|
|
19
31
|
- Fix offset calculation in Drop component
|
|
20
32
|
- Fix `-justify` positioning in Drop component
|
|
33
|
+
- Fix Dropbar handles resizing Drop components
|
|
21
34
|
- Fix Toggle component in `mode:media` default prevents click event
|
|
35
|
+
- Fix Toggle component not default preventing touch click on anchor with closed target
|
|
36
|
+
- Fix Parallax component background image positioning
|
|
37
|
+
- Make content clickable for sticky cover and reveal effects
|
|
22
38
|
- Revert: Height Viewport component sets `uk-height-viewport` class to reduce initial layout shifts
|
|
23
39
|
|
|
24
40
|
## 3.14.1 (May 3, 2022)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.14.
|
|
1
|
+
/*! UIkit 3.14.3-dev.68d38eb6d | 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
|
========================================================================== */
|
|
@@ -3692,6 +3716,13 @@ select.uk-form-width-xsmall {
|
|
|
3692
3716
|
.uk-sticky.uk-animation-reverse {
|
|
3693
3717
|
animation-duration: 0.2s;
|
|
3694
3718
|
}
|
|
3719
|
+
/*
|
|
3720
|
+
* Placeholder
|
|
3721
|
+
* Make content clickable for sticky cover and reveal effects
|
|
3722
|
+
*/
|
|
3723
|
+
.uk-sticky-placeholder {
|
|
3724
|
+
pointer-events: none;
|
|
3725
|
+
}
|
|
3695
3726
|
/* ========================================================================
|
|
3696
3727
|
Component: Off-canvas
|
|
3697
3728
|
========================================================================== */
|
|
@@ -5035,6 +5066,18 @@ ul.uk-nav-sub {
|
|
|
5035
5066
|
.uk-navbar-dropdown-width-5:not(.uk-navbar-dropdown-stack) {
|
|
5036
5067
|
width: 1000px;
|
|
5037
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
|
+
}
|
|
5038
5081
|
/*
|
|
5039
5082
|
* Dropbar modifier
|
|
5040
5083
|
* 1. Reset dropdown width to prevent to early shifting
|
|
@@ -7424,7 +7467,6 @@ iframe[data-uk-cover] {
|
|
|
7424
7467
|
}
|
|
7425
7468
|
/*
|
|
7426
7469
|
* Enable scrollbars if content is clipped
|
|
7427
|
-
* Note: Firefox ignores `padding-bottom` for the scrollable overflow https://bugzilla.mozilla.org/show_bug.cgi?id=748518
|
|
7428
7470
|
*/
|
|
7429
7471
|
.uk-overflow-auto {
|
|
7430
7472
|
overflow: auto;
|
|
@@ -7703,7 +7745,7 @@ iframe[data-uk-cover] {
|
|
|
7703
7745
|
text-decoration: none;
|
|
7704
7746
|
}
|
|
7705
7747
|
.uk-logo > :where(img, svg, video) {
|
|
7706
|
-
display: block;
|
|
7748
|
+
display: inline-block;
|
|
7707
7749
|
}
|
|
7708
7750
|
.uk-logo-inverse {
|
|
7709
7751
|
display: none;
|
|
@@ -8553,6 +8595,9 @@ iframe[data-uk-cover] {
|
|
|
8553
8595
|
.uk-position-z-index {
|
|
8554
8596
|
z-index: 1;
|
|
8555
8597
|
}
|
|
8598
|
+
.uk-position-z-index-zero {
|
|
8599
|
+
z-index: 0;
|
|
8600
|
+
}
|
|
8556
8601
|
.uk-position-z-index-negative {
|
|
8557
8602
|
z-index: -1;
|
|
8558
8603
|
}
|