pixel-react 1.11.33 → 1.11.34

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/lib/index.d.ts CHANGED
@@ -2779,7 +2779,7 @@ declare const SequentialConnectingBranch: FC<SequentialConnectingBranchProps>;
2779
2779
  interface AttachmentUploaderProps {
2780
2780
  label: string;
2781
2781
  selectedFiles: File[];
2782
- onFilesChange: (files: File[]) => void;
2782
+ onFilesChange: (files: File[], selectedFile?: File[], changeType?: 'ADD' | 'DELETE') => void;
2783
2783
  disabled?: boolean;
2784
2784
  maxFileSizeMB?: number;
2785
2785
  maxFiles?: number;
@@ -3059,16 +3059,9 @@ interface ExcelFileProps {
3059
3059
  rowContextEnable?: boolean;
3060
3060
  minimumColumnWidth?: number;
3061
3061
  attachmentAction?: {
3062
- addAttachment: (file: File) => Promise<{
3063
- responseCode: number;
3064
- responseObject: {
3065
- name: string;
3066
- id: string;
3067
- modifiedOn: string;
3068
- }[];
3069
- }>;
3070
- viewAttachment: () => Promise<void>;
3071
- deleteAttachment: () => Promise<void>;
3062
+ addAttachment: (file: File) => Promise<string>;
3063
+ viewAttachment: (fileId: string) => Promise<string>;
3064
+ deleteAttachment: (fileId: string) => Promise<string>;
3072
3065
  };
3073
3066
  }
3074
3067
  declare const ExcelFile: React__default.FC<ExcelFileProps>;