uikit 3.21.13 → 3.21.14-dev.028df7be8
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 +10 -4
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +10 -4
- 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 +4 -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 +4 -2
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +4 -2
- 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 +28 -31
- 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 +40 -35
- package/dist/js/uikit.min.js +1 -1
- package/package.json +2 -2
- package/src/js/api/boot.js +16 -20
- package/src/js/api/events.js +7 -9
- package/src/js/components/lightbox-panel.js +6 -2
- package/src/js/components/sortable.js +3 -1
- package/src/js/core/drop.js +3 -1
- package/src/js/mixin/slider-nav.js +3 -1
package/dist/js/uikit-core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.21.
|
|
1
|
+
/*! UIkit 3.21.14-dev.028df7be8 | https://www.getuikit.com | (c) 2014 - 2024 YOOtheme | MIT License */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -1825,18 +1825,16 @@
|
|
|
1825
1825
|
}
|
|
1826
1826
|
function registerEvent(instance, event, key) {
|
|
1827
1827
|
let { name, el, handler, capture, passive, delegate, filter, self } = isPlainObject(event) ? event : { name: key, handler: event };
|
|
1828
|
-
el =
|
|
1828
|
+
el = el ? el.call(instance, instance) : instance.$el;
|
|
1829
1829
|
if (!el || isArray(el) && !el.length || filter && !filter.call(instance, instance)) {
|
|
1830
1830
|
return;
|
|
1831
1831
|
}
|
|
1832
1832
|
instance._disconnect.push(
|
|
1833
|
-
on(
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
{ passive, capture, self }
|
|
1839
|
-
)
|
|
1833
|
+
on(el, name, delegate == null ? void 0 : delegate.call(instance, instance), handler.bind(instance), {
|
|
1834
|
+
passive,
|
|
1835
|
+
capture,
|
|
1836
|
+
self
|
|
1837
|
+
})
|
|
1840
1838
|
);
|
|
1841
1839
|
}
|
|
1842
1840
|
|
|
@@ -2152,7 +2150,7 @@
|
|
|
2152
2150
|
};
|
|
2153
2151
|
App.util = util;
|
|
2154
2152
|
App.options = {};
|
|
2155
|
-
App.version = "3.21.
|
|
2153
|
+
App.version = "3.21.14-dev.028df7be8";
|
|
2156
2154
|
|
|
2157
2155
|
const PREFIX = "uk-";
|
|
2158
2156
|
const DATA = "__uikit__";
|
|
@@ -2231,32 +2229,29 @@
|
|
|
2231
2229
|
if (document.body) {
|
|
2232
2230
|
apply(document.body, connect);
|
|
2233
2231
|
}
|
|
2234
|
-
new MutationObserver(
|
|
2235
|
-
subtree: true,
|
|
2236
|
-
childList: true
|
|
2237
|
-
});
|
|
2238
|
-
new MutationObserver((records) => records.forEach(applyAttributeMutation)).observe(document, {
|
|
2232
|
+
new MutationObserver(handleMutation).observe(document, {
|
|
2239
2233
|
subtree: true,
|
|
2234
|
+
childList: true,
|
|
2240
2235
|
attributes: true
|
|
2241
2236
|
});
|
|
2242
2237
|
App._initialized = true;
|
|
2243
2238
|
}
|
|
2244
|
-
function
|
|
2245
|
-
for (const node of addedNodes) {
|
|
2246
|
-
apply(node, connect);
|
|
2247
|
-
}
|
|
2248
|
-
for (const node of removedNodes) {
|
|
2249
|
-
apply(node, disconnect);
|
|
2250
|
-
}
|
|
2251
|
-
}
|
|
2252
|
-
function applyAttributeMutation({ target, attributeName }) {
|
|
2239
|
+
function handleMutation(records) {
|
|
2253
2240
|
var _a;
|
|
2254
|
-
const
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
(
|
|
2241
|
+
for (const { addedNodes, removedNodes, target, attributeName } of records) {
|
|
2242
|
+
for (const node of addedNodes) {
|
|
2243
|
+
apply(node, connect);
|
|
2244
|
+
}
|
|
2245
|
+
for (const node of removedNodes) {
|
|
2246
|
+
apply(node, disconnect);
|
|
2247
|
+
}
|
|
2248
|
+
const name = attributeName && getComponentName(attributeName);
|
|
2249
|
+
if (name) {
|
|
2250
|
+
if (hasAttr(target, attributeName)) {
|
|
2251
|
+
createComponent(name, target);
|
|
2252
|
+
} else {
|
|
2253
|
+
(_a = getComponent(target, name)) == null ? void 0 : _a.$destroy();
|
|
2254
|
+
}
|
|
2260
2255
|
}
|
|
2261
2256
|
}
|
|
2262
2257
|
}
|
|
@@ -3349,7 +3344,9 @@
|
|
|
3349
3344
|
{
|
|
3350
3345
|
name: "beforehide",
|
|
3351
3346
|
self: true,
|
|
3352
|
-
handler
|
|
3347
|
+
handler() {
|
|
3348
|
+
this.clearTimers();
|
|
3349
|
+
}
|
|
3353
3350
|
},
|
|
3354
3351
|
{
|
|
3355
3352
|
name: "hide",
|