uikit 3.25.5-dev.7295faa9 → 3.25.5-dev.e4481c0
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/publishDev.js +6 -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 +1 -1
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +5 -6
- 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 +2 -2
- 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 +6 -7
- package/dist/js/uikit.min.js +1 -1
- package/package.json +64 -63
- package/src/js/components/sortable.js +5 -6
package/package.json
CHANGED
|
@@ -1,64 +1,65 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
2
|
+
"name": "uikit",
|
|
3
|
+
"title": "UIkit",
|
|
4
|
+
"description": "UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.",
|
|
5
|
+
"version": "3.25.5-dev.e4481c0",
|
|
6
|
+
"main": "dist/js/uikit.js",
|
|
7
|
+
"style": "dist/css/uikit.css",
|
|
8
|
+
"sideEffects": [
|
|
9
|
+
"*.css",
|
|
10
|
+
"./src/js/*.js",
|
|
11
|
+
"./dist/**/*.js"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build-scss": "node build/scss",
|
|
15
|
+
"compile": "pnpm compile-less && pnpm compile-js",
|
|
16
|
+
"compile-js": "node build/build",
|
|
17
|
+
"compile-less": "pnpm icons && node build/less",
|
|
18
|
+
"compile-rtl": "pnpm compile-less rtl",
|
|
19
|
+
"icons": "node build/icons",
|
|
20
|
+
"prefix": "node build/prefix",
|
|
21
|
+
"scope": "node build/scope",
|
|
22
|
+
"release": "node build/release",
|
|
23
|
+
"watch": "chokidar \"**/*.less\" --initial -i \"node_modules\" -c \"node build/less\""
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/uikit/uikit.git"
|
|
28
|
+
},
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/uikit/uikit/issues"
|
|
32
|
+
},
|
|
33
|
+
"homepage": "https://getuikit.com",
|
|
34
|
+
"packageManager": "pnpm@10.24.0",
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@eslint/js": "^9.39.2",
|
|
37
|
+
"@rollup/plugin-alias": "^6.0.0",
|
|
38
|
+
"@rollup/plugin-replace": "^6.0.3",
|
|
39
|
+
"archiver": "^7.0.1",
|
|
40
|
+
"camelcase": "^9.0.0",
|
|
41
|
+
"chokidar-cli": "^3.0.0",
|
|
42
|
+
"clean-css": "^5.3.3",
|
|
43
|
+
"date-fns": "^4.1.0",
|
|
44
|
+
"esbuild": "^0.27.2",
|
|
45
|
+
"eslint": "^9.39.2",
|
|
46
|
+
"eslint-config-prettier": "^10.1.8",
|
|
47
|
+
"execa": "^9.6.1",
|
|
48
|
+
"fs-extra": "^11.3.2",
|
|
49
|
+
"glob": "^13.0.0",
|
|
50
|
+
"globals": "^17.0.0",
|
|
51
|
+
"inquirer": "^13.1.0",
|
|
52
|
+
"less": "^4.5.1",
|
|
53
|
+
"minimist": "^1.2.8",
|
|
54
|
+
"number-precision": "^1.6.0",
|
|
55
|
+
"p-limit": "^7.2.0",
|
|
56
|
+
"prettier": "^3.7.4",
|
|
57
|
+
"prettier-plugin-organize-imports": "^4.3.0",
|
|
58
|
+
"rollup": "^4.53.5",
|
|
59
|
+
"rollup-plugin-esbuild": "^6.2.1",
|
|
60
|
+
"rtlcss": "^4.3.0",
|
|
61
|
+
"semver": "^7.7.3",
|
|
62
|
+
"strip-css-comments": "^5.0.0",
|
|
63
|
+
"svgo": "^4.0.0"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -142,8 +142,7 @@ export default {
|
|
|
142
142
|
sortable.target,
|
|
143
143
|
target,
|
|
144
144
|
placeholder,
|
|
145
|
-
x,
|
|
146
|
-
y,
|
|
145
|
+
{ x, y },
|
|
147
146
|
sortable === previous && data.moved !== target,
|
|
148
147
|
);
|
|
149
148
|
|
|
@@ -365,7 +364,7 @@ function findTarget(items, point) {
|
|
|
365
364
|
return items[findIndex(items, (item) => pointInRect(point, dimensions(item)))];
|
|
366
365
|
}
|
|
367
366
|
|
|
368
|
-
function findInsertTarget(list, target, placeholder,
|
|
367
|
+
function findInsertTarget(list, target, placeholder, point, sameList) {
|
|
369
368
|
if (!children(list).length) {
|
|
370
369
|
return;
|
|
371
370
|
}
|
|
@@ -373,7 +372,7 @@ function findInsertTarget(list, target, placeholder, x, y, sameList) {
|
|
|
373
372
|
const rect = dimensions(target);
|
|
374
373
|
if (!sameList) {
|
|
375
374
|
if (!isHorizontal(list, placeholder)) {
|
|
376
|
-
return y < rect.top + rect.height / 2 ? target : target.nextElementSibling;
|
|
375
|
+
return point.y < rect.top + rect.height / 2 ? target : target.nextElementSibling;
|
|
377
376
|
}
|
|
378
377
|
|
|
379
378
|
return target;
|
|
@@ -386,8 +385,8 @@ function findInsertTarget(list, target, placeholder, x, y, sameList) {
|
|
|
386
385
|
);
|
|
387
386
|
|
|
388
387
|
const [pointerPos, lengthProp, startProp, endProp] = sameRow
|
|
389
|
-
? [x, 'width', 'left', 'right']
|
|
390
|
-
: [y, 'height', 'top', 'bottom'];
|
|
388
|
+
? [point.x, 'width', 'left', 'right']
|
|
389
|
+
: [point.y, 'height', 'top', 'bottom'];
|
|
391
390
|
|
|
392
391
|
const diff =
|
|
393
392
|
placeholderRect[lengthProp] < rect[lengthProp]
|