@parrot-co/parrot-ui 0.0.54 → 0.0.55
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 +5 -1
- package/dist/main.js.map +1 -1
- package/dist/module.js +5 -1
- package/dist/module.js.map +1 -1
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -3374,6 +3374,9 @@ function $e12b0eb570e3e94c$export$d41d9ab3de2def3d(text) {
|
|
|
3374
3374
|
}
|
|
3375
3375
|
return Math.abs(hash);
|
|
3376
3376
|
}
|
|
3377
|
+
function $e12b0eb570e3e94c$export$d560c7e4a29451c2() {
|
|
3378
|
+
return Math.random().toString(36);
|
|
3379
|
+
}
|
|
3377
3380
|
|
|
3378
3381
|
|
|
3379
3382
|
const $53cff1de4d77d0c5$export$e2255cf6045e8d47 = /*#__PURE__*/ $E4F9t$react.forwardRef(({ src: src , alt: alt , name: name , color: color , variant: variant = "light" , fallback: fallback , children: children , ...props }, ref)=>{
|
|
@@ -3456,6 +3459,7 @@ const $a0d465526c944113$export$f911245fef99627e = (0, $80923bc9c1ba824c$export$3
|
|
|
3456
3459
|
|
|
3457
3460
|
|
|
3458
3461
|
|
|
3462
|
+
|
|
3459
3463
|
const $5bdc448a87fb1cbf$export$1a5cb5295a7d2749 = /*#__PURE__*/ $E4F9t$react.forwardRef(({ onFileUpload: onFileUpload , onRemoveFile: onRemoveFile , error: error , label: label , allowMultiple: allowMultiple , uploads: controlledUploads , hideFileList: hideFileList }, ref)=>{
|
|
3460
3464
|
const [_uploads, setUploads] = $E4F9t$react.useState([]);
|
|
3461
3465
|
const uploads = controlledUploads ?? _uploads;
|
|
@@ -3489,7 +3493,7 @@ const $5bdc448a87fb1cbf$export$1a5cb5295a7d2749 = /*#__PURE__*/ $E4F9t$react.for
|
|
|
3489
3493
|
function convertFileToUpload(file) {
|
|
3490
3494
|
return {
|
|
3491
3495
|
name: file.name,
|
|
3492
|
-
id:
|
|
3496
|
+
id: (0, $e12b0eb570e3e94c$export$d560c7e4a29451c2)(),
|
|
3493
3497
|
url: URL.createObjectURL(file),
|
|
3494
3498
|
status: "success",
|
|
3495
3499
|
file: file
|