siam-ui-utils 2.1.4 → 2.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "siam-ui-utils",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "keywords": [
5
5
  "ampf-react",
6
6
  "ampf-utils",
@@ -135,16 +135,18 @@ export const DropzoneUploader = ({
135
135
  console.log('dropzone5 :>> ');
136
136
 
137
137
  return (
138
- <Dropzone
139
- disableUpload={false}
140
- maxFiles={totalFilesDU < maxFiles ? maxFiles : 0}
141
- maxSize={maxFileSize} // en megas
142
- InputComponent={Input}
143
- PreviewComponent={CustomPreview}
144
- classNames={{ dropzone: 'dropzone-upload-frame' }}
145
- onChangeStatus={handleChangeStatus}
146
- getFilesFromEvent={getFilesFromEvent}
147
- accept={accept}
148
- />
138
+ <>
139
+ <Dropzone
140
+ disableUpload={false}
141
+ maxFiles={totalFilesDU < maxFiles ? maxFiles : 0}
142
+ maxSize={maxFileSize} // en megas
143
+ InputComponent={Input}
144
+ PreviewComponent={CustomPreview}
145
+ classNames={{ dropzone: 'dropzone-upload-frame' }}
146
+ onChangeStatus={handleChangeStatus}
147
+ getFilesFromEvent={getFilesFromEvent}
148
+ accept={accept}
149
+ />
150
+ </>
149
151
  );
150
152
  };
package/tsconfig.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "skipLibCheck": true,
12
12
  "strict": true,
13
13
  "forceConsistentCasingInFileNames": true,
14
- "module": "esnext",
14
+ "module": "commonjs",
15
15
  "moduleResolution": "node",
16
16
  "noImplicitReturns": true,
17
17
  "resolveJsonModule": true,