@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 CHANGED
@@ -3453,7 +3453,7 @@ const $a0d465526c944113$export$f911245fef99627e = (0, $80923bc9c1ba824c$export$3
3453
3453
 
3454
3454
 
3455
3455
 
3456
- const $5bdc448a87fb1cbf$export$1a5cb5295a7d2749 = /*#__PURE__*/ $E4F9t$react.forwardRef(({ onFileUpload: onFileUpload , onRemoveFile: onRemoveFile , error: error , label: label , allowMultiple: allowMultiple , uploads: controlledUploads }, ref)=>{
3456
+ const $5bdc448a87fb1cbf$export$1a5cb5295a7d2749 = /*#__PURE__*/ $E4F9t$react.forwardRef(({ onFileUpload: onFileUpload , onRemoveFile: onRemoveFile , error: error , label: label , allowMultiple: allowMultiple , uploads: controlledUploads , hideFileList: hideFileList }, ref)=>{
3457
3457
  const [_uploads, setUploads] = $E4F9t$react.useState([]);
3458
3458
  const uploads = controlledUploads ?? _uploads;
3459
3459
  const inputRef = $E4F9t$react.useRef(null);
@@ -3615,7 +3615,7 @@ const $5bdc448a87fb1cbf$export$1a5cb5295a7d2749 = /*#__PURE__*/ $E4F9t$react.for
3615
3615
  /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)((0, $00118e4526047a1f$export$2e2bcd8739ae039), {})
3616
3616
  ]
3617
3617
  }),
3618
- uploads.length > 1 && /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)((0, $00118e4526047a1f$export$2e2bcd8739ae039), {
3618
+ uploads.length > 1 && !hideFileList && /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)((0, $00118e4526047a1f$export$2e2bcd8739ae039), {
3619
3619
  css: {
3620
3620
  marginTop: 10
3621
3621
  },