@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/module.js
CHANGED
|
@@ -3337,6 +3337,9 @@ function $0cd1b33af66db866$export$d41d9ab3de2def3d(text) {
|
|
|
3337
3337
|
}
|
|
3338
3338
|
return Math.abs(hash);
|
|
3339
3339
|
}
|
|
3340
|
+
function $0cd1b33af66db866$export$d560c7e4a29451c2() {
|
|
3341
|
+
return Math.random().toString(36);
|
|
3342
|
+
}
|
|
3340
3343
|
|
|
3341
3344
|
|
|
3342
3345
|
const $2b3b1dc9b2ed8672$export$e2255cf6045e8d47 = /*#__PURE__*/ $kF5Av$forwardRef(({ src: src , alt: alt , name: name , color: color , variant: variant = "light" , fallback: fallback , children: children , ...props }, ref)=>{
|
|
@@ -3419,6 +3422,7 @@ const $3224e27f2b858ea8$export$f911245fef99627e = (0, $9ade691eb9e41cfb$export$3
|
|
|
3419
3422
|
|
|
3420
3423
|
|
|
3421
3424
|
|
|
3425
|
+
|
|
3422
3426
|
const $c0386802302e82e5$export$1a5cb5295a7d2749 = /*#__PURE__*/ $kF5Av$forwardRef(({ onFileUpload: onFileUpload , onRemoveFile: onRemoveFile , error: error , label: label , allowMultiple: allowMultiple , uploads: controlledUploads , hideFileList: hideFileList }, ref)=>{
|
|
3423
3427
|
const [_uploads, setUploads] = $kF5Av$useState([]);
|
|
3424
3428
|
const uploads = controlledUploads ?? _uploads;
|
|
@@ -3452,7 +3456,7 @@ const $c0386802302e82e5$export$1a5cb5295a7d2749 = /*#__PURE__*/ $kF5Av$forwardRe
|
|
|
3452
3456
|
function convertFileToUpload(file) {
|
|
3453
3457
|
return {
|
|
3454
3458
|
name: file.name,
|
|
3455
|
-
id:
|
|
3459
|
+
id: (0, $0cd1b33af66db866$export$d560c7e4a29451c2)(),
|
|
3456
3460
|
url: URL.createObjectURL(file),
|
|
3457
3461
|
status: "success",
|
|
3458
3462
|
file: file
|