@shipstatic/drop 0.2.24 → 0.2.26
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/README.md +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -112,7 +112,7 @@ interface DropReturn {
|
|
|
112
112
|
files: ProcessedFile[];
|
|
113
113
|
validFiles: ProcessedFile[];
|
|
114
114
|
sourceName: string;
|
|
115
|
-
status: { title: string; details: string; errors?: string[] } | null;
|
|
115
|
+
status: { title: string; details: string; errors?: string[]; warnings?: string[] } | null;
|
|
116
116
|
|
|
117
117
|
// Prop getters
|
|
118
118
|
getDropzoneProps: (options?: { clickable?: boolean }) => {...};
|
|
@@ -220,7 +220,7 @@ it('calls reset when Clear is clicked', async () => {
|
|
|
220
220
|
| `createMockFileWithPath(name, path, ...)` | Mock `File` with `webkitRelativePath` |
|
|
221
221
|
| `createMockErrorStatus(title?, details?, errors?)` | Mock error status |
|
|
222
222
|
| `createMockProcessingStatus(title?, details?)` | Mock processing status |
|
|
223
|
-
| `createMockReadyStatus(count)` | Mock ready status |
|
|
223
|
+
| `createMockReadyStatus(count)` | Mock ready status (`"N file(s) are ready."`) |
|
|
224
224
|
|
|
225
225
|
## Requirements
|
|
226
226
|
|
package/dist/index.cjs
CHANGED
|
@@ -11702,7 +11702,7 @@ var require_mime_db = __commonJS({
|
|
|
11702
11702
|
}
|
|
11703
11703
|
});
|
|
11704
11704
|
|
|
11705
|
-
// node_modules/.pnpm/@shipstatic+types@0.7.
|
|
11705
|
+
// node_modules/.pnpm/@shipstatic+types@0.7.3/node_modules/@shipstatic/types/dist/index.js
|
|
11706
11706
|
var ErrorType;
|
|
11707
11707
|
(function(ErrorType2) {
|
|
11708
11708
|
ErrorType2["Validation"] = "validation_failed";
|