@webdevarif/dashui 0.2.0 → 0.2.1

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
@@ -1881,11 +1881,11 @@ function MediaGrid({
1881
1881
  import * as React20 from "react";
1882
1882
  import { Fragment as Fragment4, jsx as jsx34, jsxs as jsxs20 } from "react/jsx-runtime";
1883
1883
  var TYPE_OPTIONS = [
1884
- { value: "", label: "All" },
1885
- { value: "image", label: "Images" },
1886
- { value: "video", label: "Videos" },
1884
+ { value: "all", label: "All" },
1885
+ { value: "images", label: "Images" },
1886
+ { value: "videos", label: "Videos" },
1887
1887
  { value: "audio", label: "Audio" },
1888
- { value: "document", label: "Docs" }
1888
+ { value: "documents", label: "Docs" }
1889
1889
  ];
1890
1890
  function MediaPickerDialog({
1891
1891
  open,
@@ -1896,7 +1896,7 @@ function MediaPickerDialog({
1896
1896
  loading = false,
1897
1897
  total,
1898
1898
  uploads = [],
1899
- typeFilter = "",
1899
+ typeFilter = "all",
1900
1900
  onTypeChange,
1901
1901
  search = "",
1902
1902
  onSearch,
@@ -1939,7 +1939,7 @@ function MediaPickerDialog({
1939
1939
  }
1940
1940
  };
1941
1941
  const activeUploads = uploads.filter((u) => u.status === "uploading");
1942
- return /* @__PURE__ */ jsx34(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs20(DialogContent, { className: "flex h-[85vh] max-h-[700px] max-w-4xl flex-col gap-0 p-0", children: [
1942
+ return /* @__PURE__ */ jsx34(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs20(DialogContent, { className: "flex h-[85vh] max-h-[700px] max-w-4xl flex-col gap-0 p-0", "aria-describedby": void 0, children: [
1943
1943
  /* @__PURE__ */ jsxs20(DialogHeader, { className: "flex-row items-center justify-between border-b px-5 py-3", children: [
1944
1944
  /* @__PURE__ */ jsx34(DialogTitle, { className: "text-base", children: title }),
1945
1945
  /* @__PURE__ */ jsxs20("div", { className: "flex items-center gap-2", children: [