@underverse-ui/underverse 1.0.181 → 1.0.183

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.js CHANGED
@@ -3301,7 +3301,7 @@ var Textarea = forwardRef3(
3301
3301
  required,
3302
3302
  value,
3303
3303
  maxLength,
3304
- borderMode,
3304
+ borderMode = "2xl",
3305
3305
  ...props
3306
3306
  }, ref) => {
3307
3307
  const [isFocused, setIsFocused] = useState4(false);
@@ -21760,11 +21760,12 @@ function ImageUpload({
21760
21760
  if (validFiles.length === 0) return;
21761
21761
  setUploading(true);
21762
21762
  try {
21763
+ let idCount = 0;
21763
21764
  for (const file of validFiles) {
21764
21765
  const formData = new FormData();
21765
21766
  formData.append("file", file);
21766
21767
  const response = {
21767
- id: Date.now(),
21768
+ id: Date.now() + idCount,
21768
21769
  path: "",
21769
21770
  url: URL.createObjectURL(file),
21770
21771
  originalName: file.name,
@@ -21791,6 +21792,7 @@ function ImageUpload({
21791
21792
  type: "success",
21792
21793
  message: `"${file.name}" uploaded successfully`
21793
21794
  });
21795
+ idCount++;
21794
21796
  }
21795
21797
  } catch (error) {
21796
21798
  console.error("Upload error:", error);