@hilum/ui 3.6.9 → 3.6.10

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
@@ -585,9 +585,11 @@ function useProximityIndex(axis = "y") {
585
585
  // src/lib/mobile-popper-sheet.ts
586
586
  var mobileDialogSheetContentClassName = [
587
587
  "fixed inset-x-0 bottom-0 z-50 max-h-[calc(100dvh-1rem)] w-full overflow-y-auto",
588
- "max-lg:!w-full max-lg:!max-w-none max-lg:!rounded-b-none",
588
+ "max-lg:!fixed max-lg:!inset-x-0 max-lg:!bottom-0 max-lg:!top-auto",
589
+ "max-lg:!w-full max-lg:!max-w-none max-lg:!max-h-[calc(100dvh-1rem)]",
590
+ "max-lg:!rounded-b-none max-lg:overscroll-contain",
589
591
  "rounded-t-2xl border border-border bg-card p-6 shadow-elevated",
590
- "max-lg:pb-[calc(1.5rem+env(safe-area-inset-bottom))] max-lg:pt-8",
592
+ "max-lg:!px-5 max-lg:!pb-[calc(1.25rem+env(safe-area-inset-bottom))] max-lg:!pt-8",
591
593
  "max-lg:before:absolute max-lg:before:left-1/2 max-lg:before:top-3 max-lg:before:h-1 max-lg:before:w-9",
592
594
  "max-lg:before:-translate-x-1/2 max-lg:before:rounded-full max-lg:before:bg-muted-foreground/35"
593
595
  ].join(" ");
@@ -8333,7 +8335,17 @@ function DialogHeader({ className, ...props }) {
8333
8335
  return /* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-1.5 mb-4", className), ...props });
8334
8336
  }
8335
8337
  function DialogFooter({ className, ...props }) {
8336
- return /* @__PURE__ */ jsx("div", { className: cn("flex justify-end gap-2 mt-6", className), ...props });
8338
+ return /* @__PURE__ */ jsx(
8339
+ "div",
8340
+ {
8341
+ className: cn(
8342
+ "mt-6 flex justify-end gap-2",
8343
+ "max-sm:flex-col-reverse max-sm:[&>*]:w-full",
8344
+ className
8345
+ ),
8346
+ ...props
8347
+ }
8348
+ );
8337
8349
  }
8338
8350
  var DialogTitle = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
8339
8351
  DialogPrimitive.Title,