@fileverse/ui 4.1.4-patch-2 → 4.1.4-patch-3

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.
@@ -88,7 +88,7 @@ declare const avatarVariants: (props?: ({
88
88
  content?: "image" | "text" | null | undefined;
89
89
  } & ClassProp) | undefined) => string;
90
90
 
91
- export declare const BottomDrawer: ({ open, onOpenChange, title, description, content, primaryAction, secondaryAction, className, contentClassName, hasCloseIcon, headerClassName, footerClassName, }: BottomDrawerProps) => JSX_2.Element;
91
+ export declare const BottomDrawer: ({ open, onOpenChange, title, description, content, primaryAction, secondaryAction, className, contentClassName, hasCloseIcon, headerClassName, footerClassName, overlayClasses, noOverlay, }: BottomDrawerProps) => JSX_2.Element;
92
92
 
93
93
  export declare interface BottomDrawerProps extends DynamicModalProps {
94
94
  headerClassName?: string;
package/dist/index.es.js CHANGED
@@ -60315,51 +60315,61 @@ const Kae = Re(
60315
60315
  contentClassName: c,
60316
60316
  hasCloseIcon: l,
60317
60317
  headerClassName: u,
60318
- footerClassName: h
60319
- }) => /* @__PURE__ */ d.jsx(z0, { open: e, onOpenChange: (y) => t(y), children: /* @__PURE__ */ d.jsxs(P0, { className: I("w-full", f), hasCloseIcon: l, children: [
60320
- a && /* @__PURE__ */ d.jsx(R0, { className: I("px-6 pt-6", u), children: /* @__PURE__ */ d.jsx(O0, { className: "text-left text-heading-md", children: a }) }),
60321
- /* @__PURE__ */ d.jsxs(
60322
- "div",
60323
- {
60324
- className: I(
60325
- "flex flex-col gap-4 w-full h-full border-t-[1px] text-body-sm color-text-default",
60318
+ footerClassName: h,
60319
+ overlayClasses: y,
60320
+ noOverlay: m
60321
+ }) => /* @__PURE__ */ d.jsx(z0, { open: e, onOpenChange: (g) => t(g), children: /* @__PURE__ */ d.jsxs(
60322
+ P0,
60323
+ {
60324
+ className: I("w-full", f),
60325
+ hasCloseIcon: l,
60326
+ overlayClasses: I(y, { "bg-transparent": m }),
60327
+ children: [
60328
+ a && /* @__PURE__ */ d.jsx(R0, { className: I("px-6 pt-6", u), children: /* @__PURE__ */ d.jsx(O0, { className: "text-left text-heading-md", children: a }) }),
60329
+ /* @__PURE__ */ d.jsxs(
60330
+ "div",
60326
60331
  {
60327
- "px-6 pt-6 pb-2": !c
60328
- },
60329
- c
60332
+ className: I(
60333
+ "flex flex-col gap-4 w-full h-full border-t-[1px] text-body-sm color-text-default",
60334
+ {
60335
+ "px-6 pt-6 pb-2": !c
60336
+ },
60337
+ c
60338
+ ),
60339
+ children: [
60340
+ /* @__PURE__ */ d.jsx(V0, { className: "hidden" }),
60341
+ n && /* @__PURE__ */ d.jsx("p", { children: n }),
60342
+ r && r
60343
+ ]
60344
+ }
60330
60345
  ),
60331
- children: [
60332
- /* @__PURE__ */ d.jsx(V0, { className: "hidden" }),
60333
- n && /* @__PURE__ */ d.jsx("p", { children: n }),
60334
- r && r
60335
- ]
60336
- }
60337
- ),
60338
- /* @__PURE__ */ d.jsxs(H0, { className: I("px-5 pb-5 gap-2 w-full", h), children: [
60339
- s && /* @__PURE__ */ d.jsx(E0, { asChild: !0, children: /* @__PURE__ */ d.jsx(
60340
- Rt,
60341
- {
60342
- disabled: s == null ? void 0 : s.isLoading,
60343
- isLoading: s == null ? void 0 : s.isLoading,
60344
- className: s == null ? void 0 : s.className,
60345
- variant: (s == null ? void 0 : s.variant) || "ghost",
60346
- onClick: s == null ? void 0 : s.onClick,
60347
- children: s == null ? void 0 : s.label
60348
- }
60349
- ) }),
60350
- o && /* @__PURE__ */ d.jsx(
60351
- Rt,
60352
- {
60353
- disabled: o == null ? void 0 : o.isLoading,
60354
- isLoading: o == null ? void 0 : o.isLoading,
60355
- className: o == null ? void 0 : o.className,
60356
- variant: (o == null ? void 0 : o.variant) || "default",
60357
- onClick: o == null ? void 0 : o.onClick,
60358
- children: o == null ? void 0 : o.label
60359
- }
60360
- )
60361
- ] })
60362
- ] }) });
60346
+ /* @__PURE__ */ d.jsxs(H0, { className: I("px-5 pb-5 gap-2 w-full", h), children: [
60347
+ s && /* @__PURE__ */ d.jsx(E0, { asChild: !0, children: /* @__PURE__ */ d.jsx(
60348
+ Rt,
60349
+ {
60350
+ disabled: s == null ? void 0 : s.isLoading,
60351
+ isLoading: s == null ? void 0 : s.isLoading,
60352
+ className: s == null ? void 0 : s.className,
60353
+ variant: (s == null ? void 0 : s.variant) || "ghost",
60354
+ onClick: s == null ? void 0 : s.onClick,
60355
+ children: s == null ? void 0 : s.label
60356
+ }
60357
+ ) }),
60358
+ o && /* @__PURE__ */ d.jsx(
60359
+ Rt,
60360
+ {
60361
+ disabled: o == null ? void 0 : o.isLoading,
60362
+ isLoading: o == null ? void 0 : o.isLoading,
60363
+ className: o == null ? void 0 : o.className,
60364
+ variant: (o == null ? void 0 : o.variant) || "default",
60365
+ onClick: o == null ? void 0 : o.onClick,
60366
+ children: o == null ? void 0 : o.label
60367
+ }
60368
+ )
60369
+ ] })
60370
+ ]
60371
+ }
60372
+ ) });
60363
60373
  var Zl = 1, rte = 0.9, ote = 0.8, ite = 0.17, i2 = 0.1, s2 = 0.999, ste = 0.9999, fte = 0.99, cte = /[\\\/_+.#"@\[\(\{&]/, lte = /[\\\/_+.#"@\[\(\{&]/g, dte = /[\s-]/, w6 = /[\s-]/g;
60364
60374
  function os(e, t, a, n, r, o, s) {
60365
60375
  if (o === t.length) return r === e.length ? Zl : fte;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse/ui",
3
- "version": "4.1.4-patch-2",
3
+ "version": "4.1.4-patch-3",
4
4
  "files": [
5
5
  "/dist"
6
6
  ],