@s_mart/dropzone 9.2.0 → 9.2.2
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/dist/index.d.mts +7 -7
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -26,14 +26,14 @@ type DropzoneHeaderTitleBaseProps = {
|
|
|
26
26
|
showFilesSize?: boolean;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
type DropzoneV2SlotProps = {
|
|
30
|
-
root
|
|
31
|
-
overlay
|
|
32
|
-
labelContainer
|
|
33
|
-
listContainer
|
|
34
|
-
listItem
|
|
29
|
+
type DropzoneV2SlotProps = Partial<{
|
|
30
|
+
root: Parameters<typeof DropzoneRoot>[0];
|
|
31
|
+
overlay: Parameters<typeof DropzoneOverlay>[0];
|
|
32
|
+
labelContainer: Parameters<typeof DropzoneLabelContainer>[0];
|
|
33
|
+
listContainer: Parameters<typeof DropzoneListContainer>[0];
|
|
34
|
+
listItem: Parameters<typeof DropzoneListItem>[0];
|
|
35
35
|
header: DropzoneHeaderTitleSlotProps;
|
|
36
|
-
}
|
|
36
|
+
}>;
|
|
37
37
|
type DropzoneV2Slots = DropzoneHeaderTitleSlots;
|
|
38
38
|
type DropzoneV2Props = Pick<DropzoneHeaderTitleBaseProps, 'showFilesSize'> & {
|
|
39
39
|
onChange(files: File[]): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@s_mart/dropzone",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.2",
|
|
4
4
|
"main": "./dist/index.mjs",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.mts",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"react": ">=18.3.1",
|
|
28
28
|
"react-dom": ">=18.3.1",
|
|
29
29
|
"typescript": ">=5.4.2",
|
|
30
|
-
"@s_mart/core": "9.1.
|
|
31
|
-
"@s_mart/light-icons": "6.0.
|
|
30
|
+
"@s_mart/core": "9.1.6",
|
|
31
|
+
"@s_mart/light-icons": "6.0.10",
|
|
32
32
|
"@s_mart/regular-icons": "6.0.10",
|
|
33
33
|
"@s_mart/tokens": "5.1.1"
|
|
34
34
|
},
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"react": ">=18.3.1",
|
|
45
45
|
"react-dom": ">=18.3.1",
|
|
46
46
|
"typescript": ">=5.4.2",
|
|
47
|
-
"@s_mart/core": "9.1.
|
|
48
|
-
"@s_mart/light-icons": "6.0.
|
|
49
|
-
"@s_mart/
|
|
50
|
-
"@s_mart/
|
|
47
|
+
"@s_mart/core": "9.1.6",
|
|
48
|
+
"@s_mart/light-icons": "6.0.10",
|
|
49
|
+
"@s_mart/regular-icons": "6.0.10",
|
|
50
|
+
"@s_mart/tokens": "5.1.1"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "tsup src/index.tsx --minify --format esm --dts --external react",
|