@makolabs/ripple 0.0.1-dev.22 → 0.0.1-dev.23

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -33
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -459,7 +459,7 @@ export interface FileUploadProps {
459
459
  */
460
460
  allowedMimeTypes?: string[];
461
461
  /**
462
- * Maximum file size in bytes;
462
+ * Maximum file size in bytes
463
463
  */
464
464
  maxSize?: number;
465
465
  /**
@@ -475,10 +475,6 @@ export interface FileUploadProps {
475
475
  * CSS class for the dropzone
476
476
  */
477
477
  dropzoneClass?: string;
478
- /**
479
- * CSS class for the preview area
480
- */
481
- previewClass?: string;
482
478
  /**
483
479
  * ID for the file input element
484
480
  * @default 'file-upload'
@@ -488,34 +484,6 @@ export interface FileUploadProps {
488
484
  * Callback when files are selected or dropped
489
485
  */
490
486
  onfiles?: (files: FileList | File[]) => void;
491
- /**
492
- * Callback when a file is deleted
493
- */
494
- ondelete?: (fileId: string, index: number) => void;
495
- /**
496
- * Current files array to display
497
- */
498
- files?: UploadedFile[];
499
- /**
500
- * API URL for file upload
501
- */
502
- apiUrl?: string;
503
- /**
504
- * Authorization token for API requests
505
- */
506
- apiToken?: string;
507
- /**
508
- * Handler for unsuccessful file uploads
509
- */
510
- onerror?: (error: string) => void;
511
- /**
512
- * Expired time in days
513
- */
514
- expiry?: `${string}d`;
515
- /**
516
- * Additional metadata to be sent with the file
517
- */
518
- metadata?: Record<string, string>;
519
487
  }
520
488
  export interface FilePreviewProps {
521
489
  files: UploadedFile[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makolabs/ripple",
3
- "version": "0.0.1-dev.22",
3
+ "version": "0.0.1-dev.23",
4
4
  "description": "Simple Svelte 5 powered component library ✨",
5
5
  "repository": {
6
6
  "type": "git",