uikit 3.13.2-dev.f6cd10e37 → 3.13.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/.eslintrc.json +9 -0
- package/CHANGELOG.md +10 -1
- package/dist/css/uikit-core-rtl.css +15 -63
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +15 -63
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +15 -63
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +15 -63
- 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 +1 -1
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +1 -1
- 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 +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 +9 -15
- 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 +35 -47
- 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 +39 -52
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/components/tooltip.js +2 -3
- package/src/js/core/drop.js +2 -8
- package/src/js/core/navbar.js +10 -5
- package/src/js/core/sticky.js +1 -1
- package/src/js/core/video.js +1 -1
- package/src/js/mixin/media.js +4 -4
- package/src/js/mixin/position.js +4 -9
- package/src/js/util/observer.js +2 -1
- package/src/js/util/style.js +13 -19
- package/src/less/components/drop.less +3 -11
- package/src/less/components/dropdown.less +3 -11
- package/src/less/components/navbar.less +11 -12
- package/src/less/components/tooltip.less +2 -11
- package/src/scss/components/drop.scss +3 -11
- package/src/scss/components/dropdown.scss +3 -11
- package/src/scss/components/navbar.scss +11 -12
- package/src/scss/components/tooltip.scss +2 -11
- package/src/scss/variables-theme.scss +5 -4
- package/src/scss/variables.scss +5 -4
package/.eslintrc.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 3.13.2 (March 25, 2022)
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Use custom property for direction offset in components based on Position mixin
|
|
8
|
+
- Add max-width to drops in Drop, Dropdown and Navbar components
|
|
4
9
|
|
|
5
10
|
### Removed
|
|
6
11
|
|
|
@@ -8,8 +13,12 @@
|
|
|
8
13
|
|
|
9
14
|
### Fixed
|
|
10
15
|
|
|
16
|
+
- Fix dropbar dropdown alignment
|
|
17
|
+
- Fix dropbar dropdown top margin flickering
|
|
11
18
|
- Fix Switcher component with disabled toggles
|
|
12
19
|
- Fix responsiveness in Responsive component
|
|
20
|
+
- Fix video autoplay
|
|
21
|
+
- Fix importing UIkit in Next.js
|
|
13
22
|
|
|
14
23
|
## 3.13.1 (March 18, 2022)
|
|
15
24
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.13.2
|
|
1
|
+
/*! UIkit 3.13.2 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
@@ -3227,29 +3227,16 @@ select.uk-form-width-xsmall {
|
|
|
3227
3227
|
/* 2 */
|
|
3228
3228
|
position: absolute;
|
|
3229
3229
|
z-index: 1020;
|
|
3230
|
+
--uk-position-margin-offset: 20px;
|
|
3230
3231
|
/* 3 */
|
|
3231
3232
|
box-sizing: border-box;
|
|
3232
3233
|
width: 300px;
|
|
3234
|
+
max-width: 100vw;
|
|
3233
3235
|
}
|
|
3234
3236
|
/* Show */
|
|
3235
3237
|
.uk-drop.uk-open {
|
|
3236
3238
|
display: block;
|
|
3237
3239
|
}
|
|
3238
|
-
/* Direction / Alignment modifiers
|
|
3239
|
-
========================================================================== */
|
|
3240
|
-
/* Direction */
|
|
3241
|
-
[class*='uk-drop-top'] {
|
|
3242
|
-
margin-top: -20px;
|
|
3243
|
-
}
|
|
3244
|
-
[class*='uk-drop-bottom'] {
|
|
3245
|
-
margin-top: 20px;
|
|
3246
|
-
}
|
|
3247
|
-
[class*='uk-drop-right'] {
|
|
3248
|
-
margin-right: -20px;
|
|
3249
|
-
}
|
|
3250
|
-
[class*='uk-drop-left'] {
|
|
3251
|
-
margin-right: 20px;
|
|
3252
|
-
}
|
|
3253
3240
|
/* Grid modifiers
|
|
3254
3241
|
========================================================================== */
|
|
3255
3242
|
.uk-drop-stack .uk-drop-grid > * {
|
|
@@ -3270,9 +3257,11 @@ select.uk-form-width-xsmall {
|
|
|
3270
3257
|
/* 2 */
|
|
3271
3258
|
position: absolute;
|
|
3272
3259
|
z-index: 1020;
|
|
3260
|
+
--uk-position-margin-offset: 10px;
|
|
3273
3261
|
/* 3 */
|
|
3274
3262
|
box-sizing: border-box;
|
|
3275
3263
|
min-width: 200px;
|
|
3264
|
+
max-width: 100vw;
|
|
3276
3265
|
/* 4 */
|
|
3277
3266
|
padding: 15px;
|
|
3278
3267
|
background: #f8f8f8;
|
|
@@ -3321,21 +3310,6 @@ select.uk-form-width-xsmall {
|
|
|
3321
3310
|
.uk-dropdown-nav .uk-nav-sub li.uk-active > a {
|
|
3322
3311
|
color: #666;
|
|
3323
3312
|
}
|
|
3324
|
-
/* Direction / Alignment modifiers
|
|
3325
|
-
========================================================================== */
|
|
3326
|
-
/* Direction */
|
|
3327
|
-
[class*='uk-dropdown-top'] {
|
|
3328
|
-
margin-top: -10px;
|
|
3329
|
-
}
|
|
3330
|
-
[class*='uk-dropdown-bottom'] {
|
|
3331
|
-
margin-top: 10px;
|
|
3332
|
-
}
|
|
3333
|
-
[class*='uk-dropdown-right'] {
|
|
3334
|
-
margin-right: -10px;
|
|
3335
|
-
}
|
|
3336
|
-
[class*='uk-dropdown-left'] {
|
|
3337
|
-
margin-right: 10px;
|
|
3338
|
-
}
|
|
3339
3313
|
/* Grid modifiers
|
|
3340
3314
|
========================================================================== */
|
|
3341
3315
|
.uk-dropdown-stack .uk-dropdown-grid > * {
|
|
@@ -4098,6 +4072,7 @@ select.uk-form-width-xsmall {
|
|
|
4098
4072
|
/* 2 */
|
|
4099
4073
|
position: absolute;
|
|
4100
4074
|
z-index: 1030;
|
|
4075
|
+
--uk-position-margin-offset: 10px;
|
|
4101
4076
|
/* 3 */
|
|
4102
4077
|
top: 0;
|
|
4103
4078
|
/* 4 */
|
|
@@ -4114,21 +4089,6 @@ select.uk-form-width-xsmall {
|
|
|
4114
4089
|
.uk-tooltip.uk-active {
|
|
4115
4090
|
display: block;
|
|
4116
4091
|
}
|
|
4117
|
-
/* Direction / Alignment modifiers
|
|
4118
|
-
========================================================================== */
|
|
4119
|
-
/* Direction */
|
|
4120
|
-
[class*='uk-tooltip-top'] {
|
|
4121
|
-
margin-top: -10px;
|
|
4122
|
-
}
|
|
4123
|
-
[class*='uk-tooltip-bottom'] {
|
|
4124
|
-
margin-top: 10px;
|
|
4125
|
-
}
|
|
4126
|
-
[class*='uk-tooltip-right'] {
|
|
4127
|
-
margin-right: -10px;
|
|
4128
|
-
}
|
|
4129
|
-
[class*='uk-tooltip-left'] {
|
|
4130
|
-
margin-right: 10px;
|
|
4131
|
-
}
|
|
4132
4092
|
/* ========================================================================
|
|
4133
4093
|
Component: Sortable
|
|
4134
4094
|
========================================================================== */
|
|
@@ -4979,9 +4939,11 @@ ul.uk-nav-sub {
|
|
|
4979
4939
|
/* 2 */
|
|
4980
4940
|
position: absolute;
|
|
4981
4941
|
z-index: 1020;
|
|
4942
|
+
--uk-position-margin-offset: 0;
|
|
4982
4943
|
/* 3 */
|
|
4983
4944
|
box-sizing: border-box;
|
|
4984
4945
|
width: 200px;
|
|
4946
|
+
max-width: 100vw;
|
|
4985
4947
|
/* 4 */
|
|
4986
4948
|
padding: 15px;
|
|
4987
4949
|
background: #f8f8f8;
|
|
@@ -4991,22 +4953,6 @@ ul.uk-nav-sub {
|
|
|
4991
4953
|
.uk-navbar-dropdown.uk-open {
|
|
4992
4954
|
display: block;
|
|
4993
4955
|
}
|
|
4994
|
-
/*
|
|
4995
|
-
* Direction / Alignment modifiers
|
|
4996
|
-
*/
|
|
4997
|
-
/* Direction */
|
|
4998
|
-
[class*='uk-navbar-dropdown-top'] {
|
|
4999
|
-
margin-top: 0;
|
|
5000
|
-
}
|
|
5001
|
-
[class*='uk-navbar-dropdown-bottom'] {
|
|
5002
|
-
margin-top: 0;
|
|
5003
|
-
}
|
|
5004
|
-
[class*='uk-navbar-dropdown-right'] {
|
|
5005
|
-
margin-right: 0;
|
|
5006
|
-
}
|
|
5007
|
-
[class*='uk-navbar-dropdown-left'] {
|
|
5008
|
-
margin-right: 0;
|
|
5009
|
-
}
|
|
5010
4956
|
/*
|
|
5011
4957
|
* Grid
|
|
5012
4958
|
* Adopts `uk-grid`
|
|
@@ -5043,10 +4989,16 @@ ul.uk-nav-sub {
|
|
|
5043
4989
|
}
|
|
5044
4990
|
/*
|
|
5045
4991
|
* Dropbar modifier
|
|
4992
|
+
* 1. Set position
|
|
4993
|
+
* 2. Bottom padding for dropbar
|
|
4994
|
+
* 3. Horizontal padding
|
|
5046
4995
|
*/
|
|
5047
4996
|
.uk-navbar-dropdown-dropbar {
|
|
5048
|
-
|
|
4997
|
+
/* 1 */
|
|
4998
|
+
--uk-position-margin-offset: 0;
|
|
4999
|
+
/* 2 */
|
|
5049
5000
|
margin-bottom: 0;
|
|
5001
|
+
padding: 15px;
|
|
5050
5002
|
}
|
|
5051
5003
|
/* Dropdown Nav
|
|
5052
5004
|
* Adopts `uk-nav`
|