uikit 3.13.1-dev.dedbd3fce → 3.13.2-dev.696f00752
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 +22 -0
- package/dist/css/uikit-core-rtl.css +31 -71
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +31 -71
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +31 -71
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +31 -71
- 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 +60 -31
- 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 +218 -208
- 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 +220 -211
- package/dist/js/uikit.min.js +1 -1
- package/package.json +10 -10
- package/src/js/components/tooltip.js +2 -3
- package/src/js/core/cover.js +1 -1
- package/src/js/core/drop.js +7 -10
- package/src/js/core/navbar.js +12 -13
- package/src/js/core/responsive.js +1 -1
- package/src/js/core/sticky.js +1 -1
- package/src/js/core/switcher.js +7 -13
- package/src/js/mixin/media.js +4 -4
- package/src/js/mixin/position.js +53 -24
- package/src/js/util/dimensions.js +2 -2
- package/src/js/util/position.js +125 -129
- 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 +13 -23
- package/src/less/components/offcanvas.less +19 -1
- package/src/less/components/tooltip.less +2 -11
- package/src/less/theme/navbar.less +1 -3
- package/src/scss/components/drop.scss +3 -11
- package/src/scss/components/dropdown.scss +3 -11
- package/src/scss/components/navbar.scss +13 -23
- package/src/scss/components/offcanvas.scss +19 -1
- package/src/scss/components/tooltip.scss +2 -11
- package/src/scss/mixins-theme.scss +1 -2
- package/src/scss/mixins.scss +0 -1
- package/src/scss/theme/navbar.scss +0 -2
- package/src/scss/variables-theme.scss +7 -5
- package/src/scss/variables.scss +7 -5
- package/tests/drop.html +1 -1
- package/tests/navbar.html +2 -8
- package/tests/position.html +38 -39
- package/tests/search.html +1 -1
package/.eslintrc.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
## WIP
|
|
4
4
|
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Drop/Dropdowns try to shift to stay within viewport
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Use custom property for direction offset in components based on Position mixin
|
|
12
|
+
- Add max-width to drops in Drop, Dropdown and Navbar components
|
|
13
|
+
|
|
14
|
+
### Removed
|
|
15
|
+
|
|
16
|
+
- Remove dropbar push mode from Navbar component
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Fix dropbar dropdown alignment
|
|
21
|
+
- Fix dropbar dropdown top margin flickering
|
|
22
|
+
- Fix Switcher component with disabled toggles
|
|
23
|
+
- Fix responsiveness in Responsive component
|
|
24
|
+
|
|
25
|
+
## 3.13.1 (March 18, 2022)
|
|
26
|
+
|
|
5
27
|
### Fixed
|
|
6
28
|
|
|
7
29
|
- Fix Switcher component with disabled toggles
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.13.
|
|
1
|
+
/*! UIkit 3.13.2-dev.696f00752 | 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 > * {
|
|
@@ -3830,10 +3804,23 @@ select.uk-form-width-xsmall {
|
|
|
3830
3804
|
.uk-offcanvas-close {
|
|
3831
3805
|
position: absolute;
|
|
3832
3806
|
z-index: 1000;
|
|
3833
|
-
top:
|
|
3834
|
-
left:
|
|
3807
|
+
top: 5px;
|
|
3808
|
+
left: 5px;
|
|
3835
3809
|
padding: 5px;
|
|
3836
3810
|
}
|
|
3811
|
+
/* Tablet landscape and bigger */
|
|
3812
|
+
@media (min-width: 960px) {
|
|
3813
|
+
.uk-offcanvas-close {
|
|
3814
|
+
top: 20px;
|
|
3815
|
+
left: 20px;
|
|
3816
|
+
}
|
|
3817
|
+
}
|
|
3818
|
+
/*
|
|
3819
|
+
* Remove margin from adjacent element
|
|
3820
|
+
*/
|
|
3821
|
+
.uk-offcanvas-close:first-child + * {
|
|
3822
|
+
margin-top: 0;
|
|
3823
|
+
}
|
|
3837
3824
|
/* Overlay
|
|
3838
3825
|
========================================================================== */
|
|
3839
3826
|
/*
|
|
@@ -4085,6 +4072,7 @@ select.uk-form-width-xsmall {
|
|
|
4085
4072
|
/* 2 */
|
|
4086
4073
|
position: absolute;
|
|
4087
4074
|
z-index: 1030;
|
|
4075
|
+
--uk-position-margin-offset: 10px;
|
|
4088
4076
|
/* 3 */
|
|
4089
4077
|
top: 0;
|
|
4090
4078
|
/* 4 */
|
|
@@ -4101,21 +4089,6 @@ select.uk-form-width-xsmall {
|
|
|
4101
4089
|
.uk-tooltip.uk-active {
|
|
4102
4090
|
display: block;
|
|
4103
4091
|
}
|
|
4104
|
-
/* Direction / Alignment modifiers
|
|
4105
|
-
========================================================================== */
|
|
4106
|
-
/* Direction */
|
|
4107
|
-
[class*='uk-tooltip-top'] {
|
|
4108
|
-
margin-top: -10px;
|
|
4109
|
-
}
|
|
4110
|
-
[class*='uk-tooltip-bottom'] {
|
|
4111
|
-
margin-top: 10px;
|
|
4112
|
-
}
|
|
4113
|
-
[class*='uk-tooltip-right'] {
|
|
4114
|
-
margin-right: -10px;
|
|
4115
|
-
}
|
|
4116
|
-
[class*='uk-tooltip-left'] {
|
|
4117
|
-
margin-right: 10px;
|
|
4118
|
-
}
|
|
4119
4092
|
/* ========================================================================
|
|
4120
4093
|
Component: Sortable
|
|
4121
4094
|
========================================================================== */
|
|
@@ -4966,9 +4939,11 @@ ul.uk-nav-sub {
|
|
|
4966
4939
|
/* 2 */
|
|
4967
4940
|
position: absolute;
|
|
4968
4941
|
z-index: 1020;
|
|
4942
|
+
--uk-position-margin-offset: 0;
|
|
4969
4943
|
/* 3 */
|
|
4970
4944
|
box-sizing: border-box;
|
|
4971
4945
|
width: 200px;
|
|
4946
|
+
max-width: 100vw;
|
|
4972
4947
|
/* 4 */
|
|
4973
4948
|
padding: 15px;
|
|
4974
4949
|
background: #f8f8f8;
|
|
@@ -4978,22 +4953,6 @@ ul.uk-nav-sub {
|
|
|
4978
4953
|
.uk-navbar-dropdown.uk-open {
|
|
4979
4954
|
display: block;
|
|
4980
4955
|
}
|
|
4981
|
-
/*
|
|
4982
|
-
* Direction / Alignment modifiers
|
|
4983
|
-
*/
|
|
4984
|
-
/* Direction */
|
|
4985
|
-
[class*='uk-navbar-dropdown-top'] {
|
|
4986
|
-
margin-top: 0;
|
|
4987
|
-
}
|
|
4988
|
-
[class*='uk-navbar-dropdown-bottom'] {
|
|
4989
|
-
margin-top: 0;
|
|
4990
|
-
}
|
|
4991
|
-
[class*='uk-navbar-dropdown-right'] {
|
|
4992
|
-
margin-right: 0;
|
|
4993
|
-
}
|
|
4994
|
-
[class*='uk-navbar-dropdown-left'] {
|
|
4995
|
-
margin-right: 0;
|
|
4996
|
-
}
|
|
4997
4956
|
/*
|
|
4998
4957
|
* Grid
|
|
4999
4958
|
* Adopts `uk-grid`
|
|
@@ -5030,10 +4989,16 @@ ul.uk-nav-sub {
|
|
|
5030
4989
|
}
|
|
5031
4990
|
/*
|
|
5032
4991
|
* Dropbar modifier
|
|
4992
|
+
* 1. Set position
|
|
4993
|
+
* 2. Bottom padding for dropbar
|
|
4994
|
+
* 3. Horizontal padding
|
|
5033
4995
|
*/
|
|
5034
4996
|
.uk-navbar-dropdown-dropbar {
|
|
5035
|
-
|
|
4997
|
+
/* 1 */
|
|
4998
|
+
--uk-position-margin-offset: 0;
|
|
4999
|
+
/* 2 */
|
|
5036
5000
|
margin-bottom: 0;
|
|
5001
|
+
padding: 15px;
|
|
5037
5002
|
}
|
|
5038
5003
|
/* Dropdown Nav
|
|
5039
5004
|
* Adopts `uk-nav`
|
|
@@ -5079,16 +5044,11 @@ ul.uk-nav-sub {
|
|
|
5079
5044
|
/* Dropbar
|
|
5080
5045
|
========================================================================== */
|
|
5081
5046
|
.uk-navbar-dropbar {
|
|
5082
|
-
background: #f8f8f8;
|
|
5083
|
-
}
|
|
5084
|
-
/*
|
|
5085
|
-
* Slide modifier
|
|
5086
|
-
*/
|
|
5087
|
-
.uk-navbar-dropbar-slide {
|
|
5088
5047
|
position: absolute;
|
|
5089
5048
|
z-index: 980;
|
|
5090
5049
|
right: 0;
|
|
5091
5050
|
left: 0;
|
|
5051
|
+
background: #f8f8f8;
|
|
5092
5052
|
}
|
|
5093
5053
|
/* ========================================================================
|
|
5094
5054
|
Component: Subnav
|