@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.
package/dist/index.mjs CHANGED
@@ -24817,6 +24817,7 @@ function DataExplorerMediaPreview({
24817
24817
  error = "Preview is unavailable right now.",
24818
24818
  className,
24819
24819
  classNames,
24820
+ mediaAttributes,
24820
24821
  onLoad,
24821
24822
  onError
24822
24823
  }) {
@@ -24869,6 +24870,7 @@ function DataExplorerMediaPreview({
24869
24870
  const media = kind === "image" ? /* @__PURE__ */ jsx(
24870
24871
  MediaPreviewImage,
24871
24872
  {
24873
+ ...mediaAttributes,
24872
24874
  src: resolvedSrc,
24873
24875
  alt,
24874
24876
  fit,
@@ -24882,6 +24884,7 @@ function DataExplorerMediaPreview({
24882
24884
  ) : kind === "video" ? /* @__PURE__ */ jsx(
24883
24885
  "video",
24884
24886
  {
24887
+ ...mediaAttributes,
24885
24888
  src: resolvedSrc,
24886
24889
  className: cn3("block h-auto w-full", fit === "cover" ? "object-cover" : "object-contain", classNames?.media),
24887
24890
  controls,
@@ -24892,6 +24895,7 @@ function DataExplorerMediaPreview({
24892
24895
  ) : kind === "audio" ? /* @__PURE__ */ jsx(
24893
24896
  "audio",
24894
24897
  {
24898
+ ...mediaAttributes,
24895
24899
  src: resolvedSrc,
24896
24900
  className: cn3("w-full", classNames?.media),
24897
24901
  controls,
@@ -25411,6 +25415,7 @@ function DataExplorerUploadSurface({
25411
25415
  hint,
25412
25416
  busyLabel = "Uploading...",
25413
25417
  icon,
25418
+ inputProps,
25414
25419
  className,
25415
25420
  classNames,
25416
25421
  onFilesSelected
@@ -25454,6 +25459,7 @@ function DataExplorerUploadSurface({
25454
25459
  /* @__PURE__ */ jsx(
25455
25460
  "input",
25456
25461
  {
25462
+ ...inputProps,
25457
25463
  ref: inputRef,
25458
25464
  className: "sr-only",
25459
25465
  type: "file",