uikit 3.25.5-dev.e4481c0 → 3.25.5-dev.f51ad10
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/.prettierignore +0 -1
- package/CHANGELOG.md +4 -0
- package/README.md +0 -1
- package/build/publishDev.js +0 -5
- package/build/release.js +1 -3
- 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 +4 -3
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +4 -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 +4 -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 +4 -3
- 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 +7 -3
- 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 +10 -5
- package/dist/js/uikit.min.js +1 -1
- package/package.json +2 -2
- package/src/js/core/drop.js +8 -1
- package/src/js/mixin/slider-drag.js +3 -4
- package/tests/upload.html +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.25.5-dev.
|
|
5
|
+
"version": "3.25.5-dev.f51ad10",
|
|
6
6
|
"main": "dist/js/uikit.js",
|
|
7
7
|
"style": "dist/css/uikit.css",
|
|
8
8
|
"sideEffects": [
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"url": "https://github.com/uikit/uikit/issues"
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://getuikit.com",
|
|
34
|
-
"packageManager": "pnpm@10.
|
|
34
|
+
"packageManager": "pnpm@10.27.0",
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@eslint/js": "^9.39.2",
|
|
37
37
|
"@rollup/plugin-alias": "^6.0.0",
|
package/src/js/core/drop.js
CHANGED
|
@@ -338,6 +338,9 @@ export default {
|
|
|
338
338
|
append(this.container, this.$el);
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
+
// Mark enter early so isToggled() detects show when using delayShow
|
|
342
|
+
addClass(this.$el, this.clsEnter);
|
|
343
|
+
|
|
341
344
|
this.showTimer = setTimeout(
|
|
342
345
|
() => this.toggleElement(this.$el, true),
|
|
343
346
|
(delay && this.delayShow) || 0,
|
|
@@ -345,7 +348,11 @@ export default {
|
|
|
345
348
|
},
|
|
346
349
|
|
|
347
350
|
hide(delay = true, animate = true) {
|
|
348
|
-
const hide = () =>
|
|
351
|
+
const hide = () => {
|
|
352
|
+
// Ensure enter class is removed if show is canceled early
|
|
353
|
+
removeClass(this.$el, this.clsEnter);
|
|
354
|
+
this.toggleElement(this.$el, false, this.animateOut && animate);
|
|
355
|
+
};
|
|
349
356
|
|
|
350
357
|
this.clearTimers();
|
|
351
358
|
|
|
@@ -192,15 +192,14 @@ export default {
|
|
|
192
192
|
this._show(false, this.index, true);
|
|
193
193
|
this._transitioner = null;
|
|
194
194
|
} else {
|
|
195
|
-
const dirChange =
|
|
196
|
-
(isRtl ? this.dir * (isRtl ? 1 : -1) : this.dir) < 0 ===
|
|
197
|
-
this.prevPos > this.pos;
|
|
198
|
-
this.index = dirChange ? this.index : this.prevIndex;
|
|
195
|
+
const dirChange = this.dir < 0 === this.prevPos > this.pos;
|
|
199
196
|
|
|
200
197
|
if (dirChange) {
|
|
201
198
|
trigger(this.slides[this.prevIndex], 'itemhidden', [this]);
|
|
202
199
|
trigger(this.slides[this.index], 'itemshown', [this]);
|
|
203
200
|
this.percent = 1 - this.percent;
|
|
201
|
+
} else {
|
|
202
|
+
this.index = this.prevIndex;
|
|
204
203
|
}
|
|
205
204
|
|
|
206
205
|
this.show(
|
package/tests/upload.html
CHANGED
|
@@ -145,13 +145,13 @@
|
|
|
145
145
|
<td><code>allow</code></td>
|
|
146
146
|
<td>String</td>
|
|
147
147
|
<td>false</td>
|
|
148
|
-
<td>File name filter
|
|
148
|
+
<td>File name filter (eg. *.png). Separate multiple values with a pipe (*.png|*.gif).</td>
|
|
149
149
|
</tr>
|
|
150
150
|
<tr>
|
|
151
151
|
<td><code>mime</code></td>
|
|
152
152
|
<td>String</td>
|
|
153
153
|
<td>false</td>
|
|
154
|
-
<td>File MIME type filter
|
|
154
|
+
<td>File MIME type filter (eg. image/*). Separate multiple values with a pipe (image/*|video/*).</td>
|
|
155
155
|
</tr>
|
|
156
156
|
<tr>
|
|
157
157
|
<td><code>maxSize</code></td>
|