@inf-monkeys-tech/monkeys-design 1.0.100 → 1.0.101

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.
@@ -6158,6 +6158,7 @@ function DataExplorerMediaPreview({
6158
6158
  error = "Preview is unavailable right now.",
6159
6159
  className,
6160
6160
  classNames,
6161
+ mediaAttributes,
6161
6162
  onLoad,
6162
6163
  onError
6163
6164
  }) {
@@ -6210,6 +6211,7 @@ function DataExplorerMediaPreview({
6210
6211
  const media = kind === "image" ? /* @__PURE__ */ jsx(
6211
6212
  MediaPreviewImage,
6212
6213
  {
6214
+ ...mediaAttributes,
6213
6215
  src: resolvedSrc,
6214
6216
  alt,
6215
6217
  fit,
@@ -6223,6 +6225,7 @@ function DataExplorerMediaPreview({
6223
6225
  ) : kind === "video" ? /* @__PURE__ */ jsx(
6224
6226
  "video",
6225
6227
  {
6228
+ ...mediaAttributes,
6226
6229
  src: resolvedSrc,
6227
6230
  className: cn("block h-auto w-full", fit === "cover" ? "object-cover" : "object-contain", classNames?.media),
6228
6231
  controls,
@@ -6233,6 +6236,7 @@ function DataExplorerMediaPreview({
6233
6236
  ) : kind === "audio" ? /* @__PURE__ */ jsx(
6234
6237
  "audio",
6235
6238
  {
6239
+ ...mediaAttributes,
6236
6240
  src: resolvedSrc,
6237
6241
  className: cn("w-full", classNames?.media),
6238
6242
  controls,
@@ -6752,6 +6756,7 @@ function DataExplorerUploadSurface({
6752
6756
  hint,
6753
6757
  busyLabel = "Uploading...",
6754
6758
  icon,
6759
+ inputProps,
6755
6760
  className,
6756
6761
  classNames,
6757
6762
  onFilesSelected
@@ -6795,6 +6800,7 @@ function DataExplorerUploadSurface({
6795
6800
  /* @__PURE__ */ jsx(
6796
6801
  "input",
6797
6802
  {
6803
+ ...inputProps,
6798
6804
  ref: inputRef,
6799
6805
  className: "sr-only",
6800
6806
  type: "file",