uikit 3.23.14-dev.be820cd99 → 3.24.1-dev.2904cb963
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 -0
- package/build/scss.js +3 -2
- package/dist/css/uikit-core-rtl.css +23 -12
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +23 -12
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +23 -12
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +23 -12
- 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 +6 -2
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +6 -2
- 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 +6 -2
- 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 +7 -3
- 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 +7 -3
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/mixin/position.js +7 -1
- package/src/less/components/icon.less +1 -1
- package/src/scss/components/utility.scss +2 -2
- package/src/scss/mixins-theme.scss +3 -3
- package/src/scss/mixins.scss +3 -3
- package/tests/video.html +11 -5
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.
|
|
5
|
+
"version": "3.24.1-dev.2904cb963",
|
|
6
6
|
"main": "dist/js/uikit.js",
|
|
7
7
|
"style": "dist/css/uikit.css",
|
|
8
8
|
"sideEffects": [
|
package/src/js/mixin/position.js
CHANGED
|
@@ -99,9 +99,15 @@ export function storeScrollPosition(element) {
|
|
|
99
99
|
const scrollElement = scrollParent(element);
|
|
100
100
|
const { scrollTop } = scrollElement;
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
const restore = () => {
|
|
103
103
|
if (scrollTop !== scrollElement.scrollTop) {
|
|
104
104
|
scrollElement.scrollTop = scrollTop;
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
|
+
|
|
108
|
+
return () => {
|
|
109
|
+
restore();
|
|
110
|
+
// setTimeout is needed for iOS Safari
|
|
111
|
+
setTimeout(restore);
|
|
112
|
+
};
|
|
107
113
|
}
|
|
@@ -134,13 +134,13 @@
|
|
|
134
134
|
* 2. Mask
|
|
135
135
|
*/
|
|
136
136
|
|
|
137
|
-
|
|
137
|
+
@property --uk-overflow-fade-start-opacity {
|
|
138
138
|
syntax: "<number>";
|
|
139
139
|
inherits: false;
|
|
140
140
|
initial-value: 0;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
|
|
143
|
+
@property --uk-overflow-fade-end-opacity {
|
|
144
144
|
syntax: "<number>";
|
|
145
145
|
inherits: false;
|
|
146
146
|
initial-value: 0;
|
|
@@ -1150,15 +1150,15 @@
|
|
|
1150
1150
|
//
|
|
1151
1151
|
|
|
1152
1152
|
.uk-icon-overlay,
|
|
1153
|
-
a .uk-icon-overlay
|
|
1154
|
-
a& .uk-icon-overlay {
|
|
1153
|
+
a .uk-icon-overlay,
|
|
1154
|
+
a#{&} .uk-icon-overlay {
|
|
1155
1155
|
color: $inverse-icon-overlay-color;
|
|
1156
1156
|
@if(meta.mixin-exists(hook-inverse-icon-overlay)) {@include hook-inverse-icon-overlay();}
|
|
1157
1157
|
}
|
|
1158
1158
|
|
|
1159
1159
|
.uk-icon-overlay:hover,
|
|
1160
1160
|
a:hover .uk-icon-overlay,
|
|
1161
|
-
a
|
|
1161
|
+
a#{&}:hover .uk-icon-overlay {
|
|
1162
1162
|
color: $inverse-icon-overlay-hover-color;
|
|
1163
1163
|
@if(meta.mixin-exists(hook-inverse-icon-overlay-hover)) {@include hook-inverse-icon-overlay-hover();}
|
|
1164
1164
|
}
|
package/src/scss/mixins.scss
CHANGED
|
@@ -903,15 +903,15 @@
|
|
|
903
903
|
//
|
|
904
904
|
|
|
905
905
|
.uk-icon-overlay,
|
|
906
|
-
a .uk-icon-overlay
|
|
907
|
-
a& .uk-icon-overlay {
|
|
906
|
+
a .uk-icon-overlay,
|
|
907
|
+
a#{&} .uk-icon-overlay {
|
|
908
908
|
color: $inverse-icon-overlay-color;
|
|
909
909
|
@if(meta.mixin-exists(hook-inverse-icon-overlay)) {@include hook-inverse-icon-overlay();}
|
|
910
910
|
}
|
|
911
911
|
|
|
912
912
|
.uk-icon-overlay:hover,
|
|
913
913
|
a:hover .uk-icon-overlay,
|
|
914
|
-
a
|
|
914
|
+
a#{&}:hover .uk-icon-overlay {
|
|
915
915
|
color: $inverse-icon-overlay-hover-color;
|
|
916
916
|
@if(meta.mixin-exists(hook-inverse-icon-overlay-hover)) {@include hook-inverse-icon-overlay-hover();}
|
|
917
917
|
}
|
package/tests/video.html
CHANGED
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
|
|
50
50
|
<!--
|
|
51
51
|
Normalize playing/stoping video when leaving/entering the viewport and changing display from hidden to not hidden
|
|
52
|
-
Fix continuing playing video when hidden
|
|
52
|
+
Fix continuing playing video when hidden
|
|
53
53
|
Fix if the video is added to the DOM through JS, the muted attribute is ignored
|
|
54
54
|
Toggle autoplay for display
|
|
55
55
|
Lazy videos by removing preload none when entering the viewport
|
|
@@ -146,8 +146,8 @@
|
|
|
146
146
|
<div class="uk-inline uk-light">
|
|
147
147
|
<video src="https://yootheme.com/site/images/media/yootheme-pro.mp4" width="1920" height="1080" controls preload="none" hidden uk-video></video>
|
|
148
148
|
<a href uk-toggle="target: ! > *">
|
|
149
|
-
<img src="images/photo.jpg" width="1800" height="1200" alt=""
|
|
150
|
-
<span class="uk-position-center" uk-icon="icon: youtube; ratio:
|
|
149
|
+
<img src="images/photo.jpg" width="1800" height="1200" alt="">
|
|
150
|
+
<span class="uk-position-center uk-icon-overlay" uk-icon="icon: youtube; ratio: 3"></span>
|
|
151
151
|
</a>
|
|
152
152
|
</div>
|
|
153
153
|
|
|
@@ -159,8 +159,8 @@
|
|
|
159
159
|
<div class="uk-inline uk-light">
|
|
160
160
|
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?rel=0" width="1920" height="1080" allowfullscreen loading="lazy" hidden uk-responsive uk-video></iframe>
|
|
161
161
|
<a href uk-toggle="target: ! > *">
|
|
162
|
-
<img src="images/photo.jpg" width="1800" height="1200" alt=""
|
|
163
|
-
<span class="uk-position-center" uk-icon="icon: youtube; ratio:
|
|
162
|
+
<img src="images/photo.jpg" width="1800" height="1200" alt="">
|
|
163
|
+
<span class="uk-position-center uk-icon-overlay" uk-icon="icon: youtube; ratio: 3"></span>
|
|
164
164
|
</a>
|
|
165
165
|
</div>
|
|
166
166
|
|
|
@@ -191,6 +191,12 @@
|
|
|
191
191
|
<td>false</td>
|
|
192
192
|
<td>Video will seek to the beginning whenever video element's autoplay option pauses the video.</td>
|
|
193
193
|
</tr>
|
|
194
|
+
<tr>
|
|
195
|
+
<td><code>hover-target</code></td>
|
|
196
|
+
<td>CSS Selector</td>
|
|
197
|
+
<td>self</td>
|
|
198
|
+
<td>The element that functions as hover toggle when autoplay option is set to `hover`.</td>
|
|
199
|
+
</tr>
|
|
194
200
|
</tbody>
|
|
195
201
|
</table>
|
|
196
202
|
|