@moontra/moonui 5.0.1 → 6.0.0

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/index.mjs CHANGED
@@ -4804,6 +4804,7 @@ var FileItem = ({
4804
4804
  size: "sm",
4805
4805
  className: "h-6 w-6 p-0",
4806
4806
  onClick: () => onRemove(id),
4807
+ "aria-label": `Remove ${file.name}`,
4807
4808
  children: /* @__PURE__ */ jsx(X, { className: "h-3 w-3" })
4808
4809
  }
4809
4810
  )
@@ -4913,7 +4914,7 @@ var FileUpload = React24__default.forwardRef(
4913
4914
  }
4914
4915
  if (onUpload) {
4915
4916
  try {
4916
- await onUpload(validFiles);
4917
+ await onUpload(newUploadedFiles);
4917
4918
  } catch (error2) {
4918
4919
  console.error("Upload failed:", error2);
4919
4920
  setUploadedFiles(