Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -2,6 +2,7 @@ import * as React from "react";
|
||||
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
||||
|
||||
import { cn } from "~/lib/utils";
|
||||
import { MODAL_OVERLAY_MOTION_CLASS, SHEET_CONTENT_MOTION_CLASS } from "~/ui/modal-motion";
|
||||
|
||||
function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {
|
||||
return <SheetPrimitive.Root data-slot="sheet" {...props} />;
|
||||
@@ -24,7 +25,8 @@ function SheetOverlay({ className, ...props }: React.ComponentProps<typeof Sheet
|
||||
<SheetPrimitive.Overlay
|
||||
data-slot="sheet-overlay"
|
||||
className={cn(
|
||||
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
||||
"fixed inset-0 z-50",
|
||||
MODAL_OVERLAY_MOTION_CLASS,
|
||||
className
|
||||
)}
|
||||
{...props}
|
||||
@@ -49,7 +51,8 @@ function SheetContent({
|
||||
// Subframe Drawer panel layout: gap-2 between panel sections, min-w-[320px], border-solid.
|
||||
// (Subframe items-start NOT applied: Sheet header/footer/content rely on full-width stretch.)
|
||||
// Radix-only pieces kept: fixed positioning, animations, side-variant insets/borders/sizing, shadow.
|
||||
"bg-surface-neutral-primary data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-2 border-solid shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
||||
"bg-surface-neutral-primary fixed z-50 flex flex-col gap-2 border-solid shadow-lg",
|
||||
SHEET_CONTENT_MOTION_CLASS,
|
||||
side === "right" &&
|
||||
"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 min-w-[320px] border-l sm:max-w-sm",
|
||||
side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 min-w-[320px] border-r sm:max-w-sm",
|
||||
|
||||
Reference in new issue
Block a user