@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.js CHANGED
@@ -2017,11 +2017,11 @@ function MediaGrid({
2017
2017
  var React20 = __toESM(require("react"));
2018
2018
  var import_jsx_runtime34 = require("react/jsx-runtime");
2019
2019
  var TYPE_OPTIONS = [
2020
- { value: "", label: "All" },
2021
- { value: "image", label: "Images" },
2022
- { value: "video", label: "Videos" },
2020
+ { value: "all", label: "All" },
2021
+ { value: "images", label: "Images" },
2022
+ { value: "videos", label: "Videos" },
2023
2023
  { value: "audio", label: "Audio" },
2024
- { value: "document", label: "Docs" }
2024
+ { value: "documents", label: "Docs" }
2025
2025
  ];
2026
2026
  function MediaPickerDialog({
2027
2027
  open,
@@ -2032,7 +2032,7 @@ function MediaPickerDialog({
2032
2032
  loading = false,
2033
2033
  total,
2034
2034
  uploads = [],
2035
- typeFilter = "",
2035
+ typeFilter = "all",
2036
2036
  onTypeChange,
2037
2037
  search = "",
2038
2038
  onSearch,
@@ -2075,7 +2075,7 @@ function MediaPickerDialog({
2075
2075
  }
2076
2076
  };
2077
2077
  const activeUploads = uploads.filter((u) => u.status === "uploading");
2078
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(DialogContent, { className: "flex h-[85vh] max-h-[700px] max-w-4xl flex-col gap-0 p-0", children: [
2078
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(DialogContent, { className: "flex h-[85vh] max-h-[700px] max-w-4xl flex-col gap-0 p-0", "aria-describedby": void 0, children: [
2079
2079
  /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(DialogHeader, { className: "flex-row items-center justify-between border-b px-5 py-3", children: [
2080
2080
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DialogTitle, { className: "text-base", children: title }),
2081
2081
  /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex items-center gap-2", children: [