@fileverse/ui 4.0.9-patch-1 → 4.0.9-patch-2
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.es.d.ts +2 -2
- package/dist/index.es.js +1 -1
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -248,7 +248,7 @@ export declare const DynamicDrawer: ({ open, onOpenChange, title, titleIcon, con
|
|
|
248
248
|
export declare interface DynamicDrawerProps {
|
|
249
249
|
open: boolean;
|
|
250
250
|
onOpenChange: (open: boolean) => void;
|
|
251
|
-
title
|
|
251
|
+
title?: string;
|
|
252
252
|
titleIcon?: string;
|
|
253
253
|
description?: string;
|
|
254
254
|
content?: default_2.ReactNode;
|
|
@@ -281,7 +281,7 @@ export declare interface DynamicModalProps {
|
|
|
281
281
|
content?: default_2.ReactNode;
|
|
282
282
|
primaryAction?: {
|
|
283
283
|
label: string;
|
|
284
|
-
onClick?: () => void
|
|
284
|
+
onClick?: () => void | Promise<void>;
|
|
285
285
|
variant?: "default" | "secondary" | "ghost" | "danger";
|
|
286
286
|
className?: string;
|
|
287
287
|
isLoading?: boolean;
|
package/dist/index.es.js
CHANGED
|
@@ -39428,7 +39428,7 @@ const Wte = ({
|
|
|
39428
39428
|
overlayClasses: ge({ "bg-transparent": c }),
|
|
39429
39429
|
dismissible: d,
|
|
39430
39430
|
children: [
|
|
39431
|
-
/* @__PURE__ */ u.jsx(dp, { className: s, children: /* @__PURE__ */ u.jsxs(up, { className: "text-body-sm-bold inline-flex gap-2 items-center", children: [
|
|
39431
|
+
a && /* @__PURE__ */ u.jsx(dp, { className: s, children: /* @__PURE__ */ u.jsxs(up, { className: "text-body-sm-bold inline-flex gap-2 items-center", children: [
|
|
39432
39432
|
n && (n !== "X" ? /* @__PURE__ */ u.jsx(Ge, { name: n, size: "md" }) : /* @__PURE__ */ u.jsx(oK, { className: "rounded-sm ring-offset-white hover:color-bg-default-hover p-1 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-focused focus-visible:ring-offset-2 disabled:pointer-events-none data-[state=open]:color-bg-default-selected data-[state=open]:color-text-default", children: /* @__PURE__ */ u.jsx(Ge, { name: n, size: "md" }) })),
|
|
39433
39433
|
a
|
|
39434
39434
|
] }) }),
|