uikit 3.15.3-dev.45f4472ed → 3.15.3-dev.8c13c92d9
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 +2 -2
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +2 -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 +2 -2
- 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 +2 -2
- 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 +6 -6
- package/dist/js/uikit-core.min.js +2 -2
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +7 -7
- package/dist/js/uikit.min.js +2 -2
- package/package.json +1 -1
- package/src/js/api/boot.js +2 -2
- package/src/js/api/component.js +2 -2
- package/src/js/core/accordion.js +1 -2
- package/src/js/mixin/slider.js +1 -2
- package/src/js/util/observer.js +1 -2
- package/tests/js/index.js +2 -2
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.15.3-dev.
|
|
5
|
+
"version": "3.15.3-dev.8c13c92d9",
|
|
6
6
|
"main": "dist/js/uikit.js",
|
|
7
7
|
"style": "dist/css/uikit.css",
|
|
8
8
|
"sideEffects": [
|
package/src/js/api/boot.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getComponentName } from './component';
|
|
2
|
-
import { apply,
|
|
2
|
+
import { apply, hasAttr, inBrowser } from 'uikit-util';
|
|
3
3
|
|
|
4
4
|
export default function (UIkit) {
|
|
5
5
|
const { connect, disconnect } = UIkit;
|
|
@@ -8,7 +8,7 @@ export default function (UIkit) {
|
|
|
8
8
|
return;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
requestAnimationFrame(function () {
|
|
12
12
|
if (document.body) {
|
|
13
13
|
apply(document.body, connect);
|
|
14
14
|
}
|
package/src/js/api/component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $$, camelize,
|
|
1
|
+
import { $$, camelize, hyphenate, isPlainObject, memoize, startsWith } from 'uikit-util';
|
|
2
2
|
|
|
3
3
|
export default function (UIkit) {
|
|
4
4
|
const DATA = UIkit.data;
|
|
@@ -49,7 +49,7 @@ export default function (UIkit) {
|
|
|
49
49
|
opt.install?.(UIkit, opt, name);
|
|
50
50
|
|
|
51
51
|
if (UIkit._initialized && !opt.functional) {
|
|
52
|
-
|
|
52
|
+
requestAnimationFrame(() => UIkit[name](`[uk-${id}],[data-uk-${id}]`));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
return (components[name] = isPlainObject(options) ? opt : options);
|
package/src/js/core/accordion.js
CHANGED
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
$,
|
|
6
6
|
$$,
|
|
7
7
|
attr,
|
|
8
|
-
fastdom,
|
|
9
8
|
filter,
|
|
10
9
|
getIndex,
|
|
11
10
|
hasClass,
|
|
@@ -144,7 +143,7 @@ export default {
|
|
|
144
143
|
|
|
145
144
|
if (show) {
|
|
146
145
|
const toggle = $(this.$props.toggle, el);
|
|
147
|
-
|
|
146
|
+
requestAnimationFrame(() => {
|
|
148
147
|
if (!isInView(toggle)) {
|
|
149
148
|
scrollIntoView(toggle, { offset: this.offset });
|
|
150
149
|
}
|
package/src/js/mixin/slider.js
CHANGED
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
$,
|
|
7
7
|
$$,
|
|
8
8
|
clamp,
|
|
9
|
-
fastdom,
|
|
10
9
|
getIndex,
|
|
11
10
|
hasClass,
|
|
12
11
|
isNumber,
|
|
@@ -137,7 +136,7 @@ export default {
|
|
|
137
136
|
trigger(next, 'itemshown', [this]);
|
|
138
137
|
|
|
139
138
|
return new Promise((resolve) => {
|
|
140
|
-
|
|
139
|
+
requestAnimationFrame(() => {
|
|
141
140
|
stack.shift();
|
|
142
141
|
if (stack.length) {
|
|
143
142
|
this.show(stack.shift(), true);
|
package/src/js/util/observer.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { on } from './event';
|
|
2
2
|
import { toNodes } from './lang';
|
|
3
|
-
import { fastdom } from './fastdom';
|
|
4
3
|
import { inBrowser } from './env';
|
|
5
4
|
|
|
6
5
|
export function observeIntersection(targets, cb, options, intersecting = true) {
|
|
@@ -53,7 +52,7 @@ function initResizeListener() {
|
|
|
53
52
|
return;
|
|
54
53
|
}
|
|
55
54
|
pendingResize = true;
|
|
56
|
-
|
|
55
|
+
requestAnimationFrame(() => (pendingResize = false));
|
|
57
56
|
for (const listener of listeners) {
|
|
58
57
|
listener();
|
|
59
58
|
}
|
package/tests/js/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* global TESTS */
|
|
2
|
-
import { addClass, css,
|
|
2
|
+
import { addClass, css, on, prepend, removeClass, ucfirst } from 'uikit-util';
|
|
3
3
|
|
|
4
4
|
const tests = TESTS;
|
|
5
5
|
const storage = window.sessionStorage;
|
|
@@ -59,7 +59,7 @@ document.writeln(
|
|
|
59
59
|
on(window, 'load', () =>
|
|
60
60
|
setTimeout(
|
|
61
61
|
() =>
|
|
62
|
-
|
|
62
|
+
requestAnimationFrame(() => {
|
|
63
63
|
const $body = document.body;
|
|
64
64
|
const $container = prepend(
|
|
65
65
|
$body,
|