@melony/react 0.1.46 → 0.1.47

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.cts CHANGED
@@ -420,7 +420,13 @@ type LabelProps = BaseComponentProps & UIContract["label"] & {
420
420
  size?: FontSize;
421
421
  weight?: FontWeight;
422
422
  };
423
- type UploadProps = BaseComponentProps & UIContract["upload"];
423
+ type UploadProps = BaseComponentProps & UIContract["upload"] & {
424
+ initialFiles?: {
425
+ name: string;
426
+ url: string;
427
+ }[];
428
+ mode?: "append" | "replace";
429
+ };
424
430
  type TextareaProps = BaseComponentProps & UIContract["textarea"] & {
425
431
  value?: string;
426
432
  disabled?: boolean;
package/dist/index.d.ts CHANGED
@@ -420,7 +420,13 @@ type LabelProps = BaseComponentProps & UIContract["label"] & {
420
420
  size?: FontSize;
421
421
  weight?: FontWeight;
422
422
  };
423
- type UploadProps = BaseComponentProps & UIContract["upload"];
423
+ type UploadProps = BaseComponentProps & UIContract["upload"] & {
424
+ initialFiles?: {
425
+ name: string;
426
+ url: string;
427
+ }[];
428
+ mode?: "append" | "replace";
429
+ };
424
430
  type TextareaProps = BaseComponentProps & UIContract["textarea"] & {
425
431
  value?: string;
426
432
  disabled?: boolean;