@parrot-co/parrot-ui 0.0.48 → 0.0.49
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/main.js +2 -2
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -2
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/module.js
CHANGED
|
@@ -3416,7 +3416,7 @@ const $3224e27f2b858ea8$export$f911245fef99627e = (0, $9ade691eb9e41cfb$export$3
|
|
|
3416
3416
|
|
|
3417
3417
|
|
|
3418
3418
|
|
|
3419
|
-
const $c0386802302e82e5$export$1a5cb5295a7d2749 = /*#__PURE__*/ $kF5Av$forwardRef(({ onFileUpload: onFileUpload , onRemoveFile: onRemoveFile , error: error , label: label , allowMultiple: allowMultiple , uploads: controlledUploads }, ref)=>{
|
|
3419
|
+
const $c0386802302e82e5$export$1a5cb5295a7d2749 = /*#__PURE__*/ $kF5Av$forwardRef(({ onFileUpload: onFileUpload , onRemoveFile: onRemoveFile , error: error , label: label , allowMultiple: allowMultiple , uploads: controlledUploads , hideFileList: hideFileList }, ref)=>{
|
|
3420
3420
|
const [_uploads, setUploads] = $kF5Av$useState([]);
|
|
3421
3421
|
const uploads = controlledUploads ?? _uploads;
|
|
3422
3422
|
const inputRef = $kF5Av$useRef(null);
|
|
@@ -3578,7 +3578,7 @@ const $c0386802302e82e5$export$1a5cb5295a7d2749 = /*#__PURE__*/ $kF5Av$forwardRe
|
|
|
3578
3578
|
/*#__PURE__*/ (0, $kF5Av$jsx)((0, $391d62e0590dec97$export$2e2bcd8739ae039), {})
|
|
3579
3579
|
]
|
|
3580
3580
|
}),
|
|
3581
|
-
uploads.length > 1 && /*#__PURE__*/ (0, $kF5Av$jsx)((0, $391d62e0590dec97$export$2e2bcd8739ae039), {
|
|
3581
|
+
uploads.length > 1 && !hideFileList && /*#__PURE__*/ (0, $kF5Av$jsx)((0, $391d62e0590dec97$export$2e2bcd8739ae039), {
|
|
3582
3582
|
css: {
|
|
3583
3583
|
marginTop: 10
|
|
3584
3584
|
},
|