@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/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 COMPONENTS ============
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,