uikit 3.17.0 → 3.17.1-dev.7c0766a6f
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 +7 -0
- package/dist/css/uikit-core-rtl.css +26 -8
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +26 -8
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +26 -8
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +26 -8
- 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 +1 -1
- 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 +8 -8
- 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 +8 -8
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/core/sticky.js +6 -7
- package/src/less/components/base.less +2 -1
- package/src/less/components/pagination.less +13 -6
- package/src/scss/components/pagination.scss +13 -6
- package/src/scss/mixins-theme.scss +2 -1
- package/src/scss/mixins.scss +2 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "uikit",
|
|
3
3
|
"title": "UIkit",
|
|
4
4
|
"description": "UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.",
|
|
5
|
-
"version": "3.17.
|
|
5
|
+
"version": "3.17.1-dev.7c0766a6f",
|
|
6
6
|
"main": "dist/js/uikit.js",
|
|
7
7
|
"style": "dist/css/uikit.css",
|
|
8
8
|
"sideEffects": [
|
package/src/js/core/sticky.js
CHANGED
|
@@ -176,7 +176,10 @@ export default {
|
|
|
176
176
|
|
|
177
177
|
const viewport = toPx('100vh', 'height');
|
|
178
178
|
const dynamicViewport = getHeight(window);
|
|
179
|
-
const maxScrollHeight =
|
|
179
|
+
const maxScrollHeight = Math.max(
|
|
180
|
+
0,
|
|
181
|
+
document.scrollingElement.scrollHeight - viewport,
|
|
182
|
+
);
|
|
180
183
|
|
|
181
184
|
let position = this.position;
|
|
182
185
|
if (this.overflowFlip && height > viewport) {
|
|
@@ -412,18 +415,14 @@ export default {
|
|
|
412
415
|
let position = 'fixed';
|
|
413
416
|
|
|
414
417
|
if (scroll > end) {
|
|
415
|
-
offset += end - offsetParentTop;
|
|
418
|
+
offset += end - offsetParentTop + overflowScroll - overflow;
|
|
416
419
|
position = 'absolute';
|
|
417
420
|
}
|
|
418
421
|
|
|
419
422
|
css(this.$el, { position, width, marginTop: 0 }, 'important');
|
|
420
423
|
}
|
|
421
424
|
|
|
422
|
-
|
|
423
|
-
offset -= overflowScroll;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
css(this.$el, 'top', offset);
|
|
425
|
+
css(this.$el, 'top', offset - overflowScroll);
|
|
427
426
|
|
|
428
427
|
this.setActive(active);
|
|
429
428
|
toggleClass(
|
|
@@ -651,7 +651,8 @@ template { display: none; }
|
|
|
651
651
|
.uk-heading-medium,
|
|
652
652
|
.uk-heading-large,
|
|
653
653
|
.uk-heading-xlarge,
|
|
654
|
-
.uk-heading-2xlarge
|
|
654
|
+
.uk-heading-2xlarge,
|
|
655
|
+
.uk-heading-3xlarge {
|
|
655
656
|
color: @inverse-base-heading-color;
|
|
656
657
|
.hook-inverse-base-heading();
|
|
657
658
|
}
|
|
@@ -32,8 +32,9 @@
|
|
|
32
32
|
|
|
33
33
|
/*
|
|
34
34
|
* 1. Allow items to wrap into the next line
|
|
35
|
-
* 2.
|
|
36
|
-
* 3.
|
|
35
|
+
* 2. Center items vertically if they have a different height
|
|
36
|
+
* 3. Gutter
|
|
37
|
+
* 4. Reset list
|
|
37
38
|
*/
|
|
38
39
|
|
|
39
40
|
.uk-pagination {
|
|
@@ -41,8 +42,10 @@
|
|
|
41
42
|
/* 1 */
|
|
42
43
|
flex-wrap: wrap;
|
|
43
44
|
/* 2 */
|
|
44
|
-
|
|
45
|
+
align-items: center;
|
|
45
46
|
/* 3 */
|
|
47
|
+
margin-left: -@pagination-margin-horizontal;
|
|
48
|
+
/* 4 */
|
|
46
49
|
padding: 0;
|
|
47
50
|
list-style: none;
|
|
48
51
|
.hook-pagination();
|
|
@@ -68,14 +71,18 @@
|
|
|
68
71
|
========================================================================== */
|
|
69
72
|
|
|
70
73
|
/*
|
|
71
|
-
* 1.
|
|
72
|
-
* 2.
|
|
74
|
+
* 1. Center content vertically, e.g. an icon
|
|
75
|
+
* 2. Imitate white space gap when using flexbox
|
|
76
|
+
* 3. Style
|
|
73
77
|
*/
|
|
74
78
|
|
|
75
79
|
.uk-pagination > * > * {
|
|
76
80
|
/* 1 */
|
|
77
|
-
display:
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
78
83
|
/* 2 */
|
|
84
|
+
column-gap: 0.25em;
|
|
85
|
+
/* 3 */
|
|
79
86
|
padding: @pagination-item-padding-vertical @pagination-item-padding-horizontal;
|
|
80
87
|
color: @pagination-item-color;
|
|
81
88
|
.hook-pagination-item();
|
|
@@ -24,8 +24,9 @@
|
|
|
24
24
|
|
|
25
25
|
/*
|
|
26
26
|
* 1. Allow items to wrap into the next line
|
|
27
|
-
* 2.
|
|
28
|
-
* 3.
|
|
27
|
+
* 2. Center items vertically if they have a different height
|
|
28
|
+
* 3. Gutter
|
|
29
|
+
* 4. Reset list
|
|
29
30
|
*/
|
|
30
31
|
|
|
31
32
|
.uk-pagination {
|
|
@@ -33,8 +34,10 @@
|
|
|
33
34
|
/* 1 */
|
|
34
35
|
flex-wrap: wrap;
|
|
35
36
|
/* 2 */
|
|
36
|
-
|
|
37
|
+
align-items: center;
|
|
37
38
|
/* 3 */
|
|
39
|
+
margin-left: (-$pagination-margin-horizontal);
|
|
40
|
+
/* 4 */
|
|
38
41
|
padding: 0;
|
|
39
42
|
list-style: none;
|
|
40
43
|
@if(mixin-exists(hook-pagination)) {@include hook-pagination();}
|
|
@@ -60,14 +63,18 @@
|
|
|
60
63
|
========================================================================== */
|
|
61
64
|
|
|
62
65
|
/*
|
|
63
|
-
* 1.
|
|
64
|
-
* 2.
|
|
66
|
+
* 1. Center content vertically, e.g. an icon
|
|
67
|
+
* 2. Imitate white space gap when using flexbox
|
|
68
|
+
* 3. Style
|
|
65
69
|
*/
|
|
66
70
|
|
|
67
71
|
.uk-pagination > * > * {
|
|
68
72
|
/* 1 */
|
|
69
|
-
display:
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
70
75
|
/* 2 */
|
|
76
|
+
column-gap: 0.25em;
|
|
77
|
+
/* 3 */
|
|
71
78
|
padding: $pagination-item-padding-vertical $pagination-item-padding-horizontal;
|
|
72
79
|
color: $pagination-item-color;
|
|
73
80
|
@if(mixin-exists(hook-pagination-item)) {@include hook-pagination-item();}
|
|
@@ -219,7 +219,8 @@
|
|
|
219
219
|
.uk-heading-medium,
|
|
220
220
|
.uk-heading-large,
|
|
221
221
|
.uk-heading-xlarge,
|
|
222
|
-
.uk-heading-2xlarge
|
|
222
|
+
.uk-heading-2xlarge,
|
|
223
|
+
.uk-heading-3xlarge {
|
|
223
224
|
color: $inverse-base-heading-color;
|
|
224
225
|
@if(mixin-exists(hook-inverse-base-heading)) {@include hook-inverse-base-heading();}
|
|
225
226
|
}
|
package/src/scss/mixins.scss
CHANGED
|
@@ -156,7 +156,8 @@
|
|
|
156
156
|
.uk-heading-medium,
|
|
157
157
|
.uk-heading-large,
|
|
158
158
|
.uk-heading-xlarge,
|
|
159
|
-
.uk-heading-2xlarge
|
|
159
|
+
.uk-heading-2xlarge,
|
|
160
|
+
.uk-heading-3xlarge {
|
|
160
161
|
color: $inverse-base-heading-color;
|
|
161
162
|
@if(mixin-exists(hook-inverse-base-heading)) {@include hook-inverse-base-heading();}
|
|
162
163
|
}
|