@muhgholy/next-drive 4.23.4 → 4.23.5
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/client/index.cjs +10 -10
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.js +10 -10
- package/dist/client/index.js.map +1 -1
- package/package.json +1 -1
package/dist/client/index.cjs
CHANGED
|
@@ -574,7 +574,7 @@ function Dialog2Content({
|
|
|
574
574
|
{
|
|
575
575
|
"data-slot": "dialog2-overlay",
|
|
576
576
|
className: chunkTA6L5FYG_cjs.cn(
|
|
577
|
-
"nd:fixed nd:inset-0 nd:z-50 nd:bg-black/60 nd:backdrop-blur-sm",
|
|
577
|
+
"nd-drive-root nd:fixed nd:inset-0 nd:z-50 nd:bg-black/60 nd:backdrop-blur-sm",
|
|
578
578
|
"nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out",
|
|
579
579
|
"nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0"
|
|
580
580
|
)
|
|
@@ -585,7 +585,7 @@ function Dialog2Content({
|
|
|
585
585
|
{
|
|
586
586
|
"data-slot": "dialog2-content",
|
|
587
587
|
className: chunkTA6L5FYG_cjs.cn(
|
|
588
|
-
"nd:overflow-hidden",
|
|
588
|
+
"nd-drive-root nd:overflow-hidden",
|
|
589
589
|
// Base styles
|
|
590
590
|
"nd:fixed nd:z-50 nd:flex nd:flex-col nd:bg-background nd:shadow-2xl nd:outline-none",
|
|
591
591
|
// Mobile: Full screen
|
|
@@ -683,7 +683,7 @@ var SheetOverlay = React3__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
683
683
|
SheetPrimitive__namespace.Overlay,
|
|
684
684
|
{
|
|
685
685
|
className: chunkTA6L5FYG_cjs.cn(
|
|
686
|
-
"nd:fixed nd:inset-0 nd:z-50 nd:bg-black/80 nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0",
|
|
686
|
+
"nd-drive-root nd:fixed nd:inset-0 nd:z-50 nd:bg-black/80 nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0",
|
|
687
687
|
className
|
|
688
688
|
),
|
|
689
689
|
...props,
|
|
@@ -692,7 +692,7 @@ var SheetOverlay = React3__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
692
692
|
));
|
|
693
693
|
SheetOverlay.displayName = SheetPrimitive__namespace.Overlay.displayName;
|
|
694
694
|
var sheetVariants = classVarianceAuthority.cva(
|
|
695
|
-
"nd:fixed nd:z-50 nd:gap-4 nd:bg-background nd:p-6 nd:shadow-lg nd:transition nd:ease-in-out nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:duration-300 nd:data-[state=open]:duration-500",
|
|
695
|
+
"nd-drive-root nd:fixed nd:z-50 nd:gap-4 nd:bg-background nd:p-6 nd:shadow-lg nd:transition nd:ease-in-out nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:duration-300 nd:data-[state=open]:duration-500",
|
|
696
696
|
{
|
|
697
697
|
variants: {
|
|
698
698
|
side: {
|
|
@@ -763,7 +763,7 @@ function DialogOverlay({
|
|
|
763
763
|
{
|
|
764
764
|
"data-slot": "dialog-overlay",
|
|
765
765
|
className: chunkTA6L5FYG_cjs.cn(
|
|
766
|
-
"nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0 nd:fixed nd:inset-0 nd:z-50 nd:bg-black/50",
|
|
766
|
+
"nd-drive-root nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0 nd:fixed nd:inset-0 nd:z-50 nd:bg-black/50",
|
|
767
767
|
className
|
|
768
768
|
),
|
|
769
769
|
...props
|
|
@@ -783,7 +783,7 @@ function DialogContent({
|
|
|
783
783
|
{
|
|
784
784
|
"data-slot": "dialog-content",
|
|
785
785
|
className: chunkTA6L5FYG_cjs.cn(
|
|
786
|
-
"nd:bg-background nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0 nd:data-[state=closed]:zoom-out-95 nd:data-[state=open]:zoom-in-95 nd:fixed nd:top-[50%] nd:left-[50%] nd:z-50 nd:grid nd:w-full nd:max-w-[calc(100%-2rem)] nd:translate-x-[-50%] nd:translate-y-[-50%] nd:gap-4 nd:rounded-lg nd:border nd:p-6 nd:shadow-lg nd:duration-200 nd:sm:max-w-lg",
|
|
786
|
+
"nd-drive-root nd:bg-background nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0 nd:data-[state=closed]:zoom-out-95 nd:data-[state=open]:zoom-in-95 nd:fixed nd:top-[50%] nd:left-[50%] nd:z-50 nd:grid nd:w-full nd:max-w-[calc(100%-2rem)] nd:translate-x-[-50%] nd:translate-y-[-50%] nd:gap-4 nd:rounded-lg nd:border nd:p-6 nd:shadow-lg nd:duration-200 nd:sm:max-w-lg",
|
|
787
787
|
className
|
|
788
788
|
),
|
|
789
789
|
...props,
|
|
@@ -879,7 +879,7 @@ var DropdownMenuSubContent = React3__namespace.forwardRef(({ className, ...props
|
|
|
879
879
|
{
|
|
880
880
|
ref,
|
|
881
881
|
className: chunkTA6L5FYG_cjs.cn(
|
|
882
|
-
"nd:z-50 nd:min-w-[8rem] nd:overflow-hidden nd:rounded-md nd:border nd:bg-popover nd:p-1 nd:text-popover-foreground nd:shadow-lg nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0 nd:data-[state=closed]:zoom-out-95 nd:data-[state=open]:zoom-in-95 nd:data-[side=bottom]:slide-in-from-top-2 nd:data-[side=left]:slide-in-from-right-2 nd:data-[side=right]:slide-in-from-left-2 nd:data-[side=top]:slide-in-from-bottom-2",
|
|
882
|
+
"nd-drive-root nd:z-50 nd:min-w-[8rem] nd:overflow-hidden nd:rounded-md nd:border nd:bg-popover nd:p-1 nd:text-popover-foreground nd:shadow-lg nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0 nd:data-[state=closed]:zoom-out-95 nd:data-[state=open]:zoom-in-95 nd:data-[side=bottom]:slide-in-from-top-2 nd:data-[side=left]:slide-in-from-right-2 nd:data-[side=right]:slide-in-from-left-2 nd:data-[side=top]:slide-in-from-bottom-2",
|
|
883
883
|
className
|
|
884
884
|
),
|
|
885
885
|
...props
|
|
@@ -892,7 +892,7 @@ var DropdownMenuContent = React3__namespace.forwardRef(({ className, sideOffset
|
|
|
892
892
|
ref,
|
|
893
893
|
sideOffset,
|
|
894
894
|
className: chunkTA6L5FYG_cjs.cn(
|
|
895
|
-
"nd:z-50 nd:min-w-[8rem] nd:overflow-hidden nd:rounded-md nd:border nd:bg-popover nd:p-1 nd:text-popover-foreground nd:shadow-md nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0 nd:data-[state=closed]:zoom-out-95 nd:data-[state=open]:zoom-in-95 nd:data-[side=bottom]:slide-in-from-top-2 nd:data-[side=left]:slide-in-from-right-2 nd:data-[side=right]:slide-in-from-left-2 nd:data-[side=top]:slide-in-from-bottom-2",
|
|
895
|
+
"nd-drive-root nd:z-50 nd:min-w-[8rem] nd:overflow-hidden nd:rounded-md nd:border nd:bg-popover nd:p-1 nd:text-popover-foreground nd:shadow-md nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0 nd:data-[state=closed]:zoom-out-95 nd:data-[state=open]:zoom-in-95 nd:data-[side=bottom]:slide-in-from-top-2 nd:data-[side=left]:slide-in-from-right-2 nd:data-[side=right]:slide-in-from-left-2 nd:data-[side=top]:slide-in-from-bottom-2",
|
|
896
896
|
className
|
|
897
897
|
),
|
|
898
898
|
...props
|
|
@@ -1408,7 +1408,7 @@ var ContextMenuSubContent = React3__namespace.forwardRef(({ className, ...props
|
|
|
1408
1408
|
{
|
|
1409
1409
|
ref,
|
|
1410
1410
|
className: chunkTA6L5FYG_cjs.cn(
|
|
1411
|
-
"nd:z-50 nd:min-w-[8rem] nd:overflow-hidden nd:rounded-md nd:border nd:bg-popover nd:p-1 nd:text-popover-foreground nd:shadow-md nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0 nd:data-[state=closed]:zoom-out-95 nd:data-[state=open]:zoom-in-95 nd:data-[side=bottom]:slide-in-from-top-2 nd:data-[side=left]:slide-in-from-right-2 nd:data-[side=right]:slide-in-from-left-2 nd:data-[side=top]:slide-in-from-bottom-2",
|
|
1411
|
+
"nd-drive-root nd:z-50 nd:min-w-[8rem] nd:overflow-hidden nd:rounded-md nd:border nd:bg-popover nd:p-1 nd:text-popover-foreground nd:shadow-md nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0 nd:data-[state=closed]:zoom-out-95 nd:data-[state=open]:zoom-in-95 nd:data-[side=bottom]:slide-in-from-top-2 nd:data-[side=left]:slide-in-from-right-2 nd:data-[side=right]:slide-in-from-left-2 nd:data-[side=top]:slide-in-from-bottom-2",
|
|
1412
1412
|
className
|
|
1413
1413
|
),
|
|
1414
1414
|
...props
|
|
@@ -1420,7 +1420,7 @@ var ContextMenuContent = React3__namespace.forwardRef(({ className, ...props },
|
|
|
1420
1420
|
{
|
|
1421
1421
|
ref,
|
|
1422
1422
|
className: chunkTA6L5FYG_cjs.cn(
|
|
1423
|
-
"nd:z-50 nd:min-w-[8rem] nd:overflow-hidden nd:rounded-md nd:border nd:bg-popover nd:p-1 nd:text-popover-foreground nd:shadow-md nd:animate-in nd:fade-in-80 nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0 nd:data-[state=closed]:zoom-out-95 nd:data-[state=open]:zoom-in-95 nd:data-[side=bottom]:slide-in-from-top-2 nd:data-[side=left]:slide-in-from-right-2 nd:data-[side=right]:slide-in-from-left-2 nd:data-[side=top]:slide-in-from-bottom-2",
|
|
1423
|
+
"nd-drive-root nd:z-50 nd:min-w-[8rem] nd:overflow-hidden nd:rounded-md nd:border nd:bg-popover nd:p-1 nd:text-popover-foreground nd:shadow-md nd:animate-in nd:fade-in-80 nd:data-[state=open]:animate-in nd:data-[state=closed]:animate-out nd:data-[state=closed]:fade-out-0 nd:data-[state=open]:fade-in-0 nd:data-[state=closed]:zoom-out-95 nd:data-[state=open]:zoom-in-95 nd:data-[side=bottom]:slide-in-from-top-2 nd:data-[side=left]:slide-in-from-right-2 nd:data-[side=right]:slide-in-from-left-2 nd:data-[side=top]:slide-in-from-bottom-2",
|
|
1424
1424
|
className
|
|
1425
1425
|
),
|
|
1426
1426
|
...props
|