uikit 3.25.6 → 3.25.7-dev.b25b2ea
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/dist/css/uikit-core-rtl.css +1 -1
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +1 -1
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +1 -1
- 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 +3 -3
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +3 -3
- 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 +5 -5
- 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 +5 -5
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/util/position.js +2 -2
- package/src/js/util/scroll.js +2 -2
- package/tests/svg.html +3 -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.25.
|
|
5
|
+
"version": "3.25.7-dev.b25b2ea",
|
|
6
6
|
"main": "dist/js/uikit.js",
|
|
7
7
|
"style": "dist/css/uikit.css",
|
|
8
8
|
"sideEffects": [
|
package/src/js/util/position.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { offset } from './dimensions';
|
|
2
|
-
import { clamp, isArray, ucfirst } from './lang';
|
|
2
|
+
import { clamp, isArray, isNumber, ucfirst } from './lang';
|
|
3
3
|
import { css } from './style';
|
|
4
4
|
import { offsetViewport, overflowParents } from './viewport';
|
|
5
5
|
|
|
@@ -176,7 +176,7 @@ function getIntersectionArea(...rects) {
|
|
|
176
176
|
for (const rect of rects) {
|
|
177
177
|
for (const [, , start, end] of dirs) {
|
|
178
178
|
area[start] = Math.max(area[start] || 0, rect[start]);
|
|
179
|
-
area[end] = Math.min(...[area[end], rect[end]].filter(
|
|
179
|
+
area[end] = Math.min(...[area[end], rect[end]].filter(isNumber));
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
return area;
|
package/src/js/util/scroll.js
CHANGED
|
@@ -7,7 +7,7 @@ export function preventBackgroundScroll(el) {
|
|
|
7
7
|
el,
|
|
8
8
|
'touchstart',
|
|
9
9
|
(e) => {
|
|
10
|
-
if (e.targetTouches.length !== 1 || matches(e.target, 'input[type="range"')) {
|
|
10
|
+
if (e.targetTouches.length !== 1 || matches(e.target, 'input[type="range"]')) {
|
|
11
11
|
return;
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -39,7 +39,7 @@ export function preventBackgroundScroll(el) {
|
|
|
39
39
|
{ passive: false },
|
|
40
40
|
);
|
|
41
41
|
|
|
42
|
-
once(el, 'scroll touchend
|
|
42
|
+
once(el, 'scroll touchend touchcancel', offMove, { capture: true });
|
|
43
43
|
},
|
|
44
44
|
{ passive: true },
|
|
45
45
|
);
|
package/tests/svg.html
CHANGED
|
@@ -24,16 +24,14 @@
|
|
|
24
24
|
<img id="svg2" class="svg-2" src="../src/images/components/navbar-toggle-icon.svg" width="40" height="40" alt="" uk-svg>
|
|
25
25
|
</div>
|
|
26
26
|
<div>
|
|
27
|
-
<p>Symbol
|
|
27
|
+
<p>Symbol with ID</p>
|
|
28
28
|
<img src="images/icons.svg#table" width="20" height="20" alt="" uk-svg>
|
|
29
29
|
<img src="images/icons.svg#trash" width="20" height="20" alt="" uk-svg>
|
|
30
30
|
</div>
|
|
31
31
|
<div>
|
|
32
|
-
<p>Symbol
|
|
33
|
-
<img src="../src/images/
|
|
34
|
-
<img src="../src/images/backgrounds/accordion-open.svg#notfound" width="20" height="20" alt="" uk-svg>
|
|
32
|
+
<p>Symbol with ID Fallback</p>
|
|
33
|
+
<img src="../src/images/components/navbar-toggle-icon.svg#notfound" width="20" height="20" alt="" uk-svg>
|
|
35
34
|
</div>
|
|
36
|
-
<div>
|
|
37
35
|
<p>Stroke Animation</p>
|
|
38
36
|
<img class="uk-animation-stroke" width="40" height="40" src="images/icons.svg#cloud-upload" uk-svg="stroke-animation: true" alt="">
|
|
39
37
|
</div>
|