@uploadista/react 0.0.20-beta.8 → 0.0.20
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 +548 -4
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -0
- package/dist/use-uploadista-events-CtDXJYrR.d.mts.map +1 -1
- package/package.json +5 -5
- package/src/components/upload-primitives.tsx +876 -0
- package/src/index.ts +30 -1
package/src/index.ts
CHANGED
|
@@ -86,7 +86,36 @@ export type {
|
|
|
86
86
|
} from "./hooks/use-drag-drop";
|
|
87
87
|
export { useDragDrop } from "./hooks/use-drag-drop";
|
|
88
88
|
|
|
89
|
-
// ============ UPLOAD
|
|
89
|
+
// ============ UPLOAD PRIMITIVES (NEW) ============
|
|
90
|
+
// Compound component for file uploads
|
|
91
|
+
export {
|
|
92
|
+
Upload,
|
|
93
|
+
useUploadContext,
|
|
94
|
+
useUploadItemContext,
|
|
95
|
+
} from "./components/upload-primitives";
|
|
96
|
+
export type {
|
|
97
|
+
UploadProps,
|
|
98
|
+
UploadContextValue,
|
|
99
|
+
UploadItemContextValue,
|
|
100
|
+
UploadDropZoneProps,
|
|
101
|
+
UploadDropZoneRenderProps,
|
|
102
|
+
UploadItemsProps,
|
|
103
|
+
UploadItemsRenderProps,
|
|
104
|
+
UploadItemProps,
|
|
105
|
+
UploadProgressProps,
|
|
106
|
+
UploadProgressRenderProps,
|
|
107
|
+
UploadStatusProps,
|
|
108
|
+
UploadStatusRenderProps,
|
|
109
|
+
UploadErrorProps,
|
|
110
|
+
UploadErrorRenderProps,
|
|
111
|
+
UploadCancelProps,
|
|
112
|
+
UploadRetryProps,
|
|
113
|
+
UploadResetProps,
|
|
114
|
+
UploadStartAllProps,
|
|
115
|
+
UploadClearCompletedProps,
|
|
116
|
+
} from "./components/upload-primitives";
|
|
117
|
+
|
|
118
|
+
// ============ UPLOAD COMPONENTS (LEGACY) ============
|
|
90
119
|
export type {
|
|
91
120
|
SimpleUploadListItemProps,
|
|
92
121
|
UploadListProps,
|