uikit 3.25.23-dev.9fe9bc4 → 3.25.23-dev.c3eec68
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/build/build.js +1 -2
- 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 -6
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +3 -6
- 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 +3 -3
- 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 +2 -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 +8 -15
- 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 +9 -16
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/api/app.js +2 -4
- package/src/js/api/props.js +1 -2
- package/src/js/components/slider.js +1 -1
- package/src/js/core/img.js +2 -7
- package/src/js/util/event.js +1 -5
package/dist/js/uikit-core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.25.23-dev.
|
|
1
|
+
/*! UIkit 3.25.23-dev.c3eec68 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -516,10 +516,7 @@
|
|
|
516
516
|
return toEventTargets(targets).map((target) => target.dispatchEvent(createEvent(event, true, true, detail2))).every((result) => result);
|
|
517
517
|
}
|
|
518
518
|
function createEvent(e, bubbles = true, cancelable = false, detail2) {
|
|
519
|
-
|
|
520
|
-
e = new CustomEvent(e, { bubbles, cancelable, detail: detail2 });
|
|
521
|
-
}
|
|
522
|
-
return e;
|
|
519
|
+
return isString(e) ? new CustomEvent(e, { bubbles, cancelable, detail: detail2 }) : e;
|
|
523
520
|
}
|
|
524
521
|
function getArgs(args) {
|
|
525
522
|
args[0] = toEventTargets(args[0]);
|
|
@@ -1681,7 +1678,7 @@
|
|
|
1681
1678
|
wrapInner: wrapInner
|
|
1682
1679
|
});
|
|
1683
1680
|
|
|
1684
|
-
var VERSION = '3.25.23-dev.
|
|
1681
|
+
var VERSION = '3.25.23-dev.c3eec68';
|
|
1685
1682
|
|
|
1686
1683
|
function initUpdates(instance) {
|
|
1687
1684
|
instance._data = {};
|
|
@@ -2048,7 +2045,7 @@
|
|
|
2048
2045
|
}
|
|
2049
2046
|
const getAttributes = memoize((id, props) => {
|
|
2050
2047
|
const attributes = Object.keys(props);
|
|
2051
|
-
const filter = attributes.concat(id).
|
|
2048
|
+
const filter = attributes.concat(id).flatMap((key) => [hyphenate(key), `data-${hyphenate(key)}`]);
|
|
2052
2049
|
return { attributes, filter };
|
|
2053
2050
|
});
|
|
2054
2051
|
function initPropsObserver(instance) {
|
|
@@ -2157,9 +2154,9 @@
|
|
|
2157
2154
|
return data;
|
|
2158
2155
|
}
|
|
2159
2156
|
|
|
2160
|
-
|
|
2157
|
+
function App(options) {
|
|
2161
2158
|
init$1(this, options);
|
|
2162
|
-
}
|
|
2159
|
+
}
|
|
2163
2160
|
App.util = util;
|
|
2164
2161
|
App.options = {};
|
|
2165
2162
|
App.version = VERSION;
|
|
@@ -4797,8 +4794,7 @@
|
|
|
4797
4794
|
const elements = isTag(parentNode, "picture") ? children(parentNode) : [el];
|
|
4798
4795
|
elements.forEach((el2) => setSourceProps(el2, el2));
|
|
4799
4796
|
} else if (src) {
|
|
4800
|
-
|
|
4801
|
-
if (change) {
|
|
4797
|
+
if (!includes(el.style.backgroundImage, src)) {
|
|
4802
4798
|
css(el, "backgroundImage", `url(${escape(src)})`);
|
|
4803
4799
|
trigger(el, createEvent("load", false));
|
|
4804
4800
|
}
|
|
@@ -4846,10 +4842,7 @@
|
|
|
4846
4842
|
} else {
|
|
4847
4843
|
sources = parseOptions(sources);
|
|
4848
4844
|
}
|
|
4849
|
-
|
|
4850
|
-
sources = [sources];
|
|
4851
|
-
}
|
|
4852
|
-
return sources.filter((source) => !isEmpty(source));
|
|
4845
|
+
return (isArray(sources) ? sources : [sources]).filter((source) => !isEmpty(source));
|
|
4853
4846
|
}
|
|
4854
4847
|
function isImg(el) {
|
|
4855
4848
|
return isTag(el, "img");
|