@noya-app/noya-file-explorer 0.0.9 → 0.0.11
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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +20 -0
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/MediaCollection.tsx +8 -12
package/.turbo/turbo-build.log
CHANGED
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
[34mCLI[39m Target: esnext
|
|
9
9
|
[34mCJS[39m Build start
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m75.
|
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m75.47 KB[39m
|
|
12
12
|
[32mESM[39m [1mdist/index.css [22m[32m44.07 KB[39m
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m131.
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m131.86 KB[39m
|
|
14
14
|
[32mESM[39m [1mdist/index.css.map [22m[32m68.44 KB[39m
|
|
15
|
-
[32mESM[39m ⚡️ Build success in
|
|
16
|
-
[32mCJS[39m [1mdist/index.js [22m[32m78.
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 84ms
|
|
16
|
+
[32mCJS[39m [1mdist/index.js [22m[32m78.38 KB[39m
|
|
17
17
|
[32mCJS[39m [1mdist/index.css [22m[32m44.07 KB[39m
|
|
18
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m132.
|
|
18
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m132.91 KB[39m
|
|
19
19
|
[32mCJS[39m [1mdist/index.css.map [22m[32m68.44 KB[39m
|
|
20
|
-
[32mCJS[39m ⚡️ Build success in
|
|
20
|
+
[32mCJS[39m ⚡️ Build success in 84ms
|
|
21
21
|
DTS Build start
|
|
22
|
-
DTS ⚡️ Build success in
|
|
22
|
+
DTS ⚡️ Build success in 7863ms
|
|
23
23
|
DTS dist/index.d.ts 1.65 MB
|
|
24
24
|
DTS dist/index.d.mts 1.65 MB
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @noya-app/noya-file-explorer
|
|
2
2
|
|
|
3
|
+
## 0.0.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [36be169]
|
|
8
|
+
- @noya-app/react-utils@0.1.20
|
|
9
|
+
- @noya-app/noya-multiplayer-react@0.1.59
|
|
10
|
+
- @noya-app/noya-designsystem@0.1.59
|
|
11
|
+
|
|
12
|
+
## 0.0.10
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- b403ae4: Drag improvements
|
|
17
|
+
- Updated dependencies [7bbd2a6]
|
|
18
|
+
- Updated dependencies [b403ae4]
|
|
19
|
+
- @noya-app/noya-multiplayer-react@0.1.58
|
|
20
|
+
- @noya-app/react-utils@0.1.19
|
|
21
|
+
- @noya-app/noya-designsystem@0.1.58
|
|
22
|
+
|
|
3
23
|
## 0.0.9
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -2052,7 +2052,13 @@ var MediaCollection = (0, import_react.memo)(
|
|
|
2052
2052
|
);
|
|
2053
2053
|
return parentIndex === -1 ? void 0 : parentIndex;
|
|
2054
2054
|
},
|
|
2055
|
-
acceptsDrop: (
|
|
2055
|
+
acceptsDrop: ({
|
|
2056
|
+
sourceIndex,
|
|
2057
|
+
targetIndex,
|
|
2058
|
+
position,
|
|
2059
|
+
sourceListId,
|
|
2060
|
+
targetListId
|
|
2061
|
+
}) => {
|
|
2056
2062
|
if (sourceListId !== targetListId) {
|
|
2057
2063
|
return false;
|
|
2058
2064
|
}
|
|
@@ -2075,7 +2081,7 @@ var MediaCollection = (0, import_react.memo)(
|
|
|
2075
2081
|
}
|
|
2076
2082
|
return true;
|
|
2077
2083
|
},
|
|
2078
|
-
onMoveItem: (sourceIndex, targetIndex, position) => {
|
|
2084
|
+
onMoveItem: ({ sourceIndex, targetIndex, position }) => {
|
|
2079
2085
|
const sourceItem = visibleItems[sourceIndex];
|
|
2080
2086
|
const targetItem = visibleItems[targetIndex];
|
|
2081
2087
|
if (position === "inside") {
|