uikit 3.23.12 → 3.23.13-dev.da17b7caa
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 +7 -0
- 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 +9 -3
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +9 -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 +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 +25 -9
- 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 +26 -10
- package/dist/js/uikit.min.js +1 -1
- package/package.json +2 -2
- package/src/js/core/scrollspy-nav.js +18 -8
- package/src/js/mixin/modal.js +8 -1
- package/src/js/mixin/slider-autoplay.js +2 -1
package/dist/js/uikit-core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.23.
|
|
1
|
+
/*! UIkit 3.23.13-dev.da17b7caa | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -2158,7 +2158,7 @@
|
|
|
2158
2158
|
};
|
|
2159
2159
|
App.util = util;
|
|
2160
2160
|
App.options = {};
|
|
2161
|
-
App.version = "3.23.
|
|
2161
|
+
App.version = "3.23.13-dev.da17b7caa";
|
|
2162
2162
|
|
|
2163
2163
|
const PREFIX = "uk-";
|
|
2164
2164
|
const DATA = "__uikit__";
|
|
@@ -5101,7 +5101,13 @@
|
|
|
5101
5101
|
const { target } = this;
|
|
5102
5102
|
if (!active.some((modal) => modal.clsPage === this.clsPage)) {
|
|
5103
5103
|
removeClass(document.documentElement, this.clsPage);
|
|
5104
|
-
queueMicrotask(() =>
|
|
5104
|
+
queueMicrotask(() => {
|
|
5105
|
+
if (isFocusable(target)) {
|
|
5106
|
+
const restoreScrollPosition = storeScrollPosition(target);
|
|
5107
|
+
target.focus();
|
|
5108
|
+
restoreScrollPosition();
|
|
5109
|
+
}
|
|
5110
|
+
});
|
|
5105
5111
|
}
|
|
5106
5112
|
setAriaExpanded(target, false);
|
|
5107
5113
|
this.target = null;
|
|
@@ -5728,7 +5734,18 @@
|
|
|
5728
5734
|
offset: 0
|
|
5729
5735
|
},
|
|
5730
5736
|
computed: {
|
|
5731
|
-
links:
|
|
5737
|
+
links: {
|
|
5738
|
+
get({ target }, $el) {
|
|
5739
|
+
return $$(target, $el).filter(getTargetedElement);
|
|
5740
|
+
},
|
|
5741
|
+
observe: () => "*"
|
|
5742
|
+
},
|
|
5743
|
+
targets() {
|
|
5744
|
+
return this.links.map((el) => getTargetedElement(el));
|
|
5745
|
+
},
|
|
5746
|
+
elements({ closest }) {
|
|
5747
|
+
return this.links.map((el) => el.closest(closest || "*"));
|
|
5748
|
+
}
|
|
5732
5749
|
},
|
|
5733
5750
|
watch: {
|
|
5734
5751
|
links(links) {
|
|
@@ -5741,8 +5758,7 @@
|
|
|
5741
5758
|
update: [
|
|
5742
5759
|
{
|
|
5743
5760
|
read() {
|
|
5744
|
-
const
|
|
5745
|
-
const targets = links.map(getTargetedElement);
|
|
5761
|
+
const { targets } = this;
|
|
5746
5762
|
const { length } = targets;
|
|
5747
5763
|
if (!length || !isVisible(this.$el)) {
|
|
5748
5764
|
return false;
|
|
@@ -5763,10 +5779,10 @@
|
|
|
5763
5779
|
active = +i;
|
|
5764
5780
|
}
|
|
5765
5781
|
}
|
|
5766
|
-
return { active
|
|
5782
|
+
return { active };
|
|
5767
5783
|
},
|
|
5768
|
-
write({ active
|
|
5769
|
-
const elements =
|
|
5784
|
+
write({ active }) {
|
|
5785
|
+
const { elements } = this;
|
|
5770
5786
|
const changed = active !== false && !hasClass(elements[active], this.cls);
|
|
5771
5787
|
this.links.forEach((el) => el.blur());
|
|
5772
5788
|
for (let i = 0; i < elements.length; i++) {
|