@ikatec/nebula-react 1.3.2-beta.2 → 1.3.3-beta.1
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.
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -2663,22 +2663,19 @@ var DrawerOverlay = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
2663
2663
|
}
|
|
2664
2664
|
));
|
|
2665
2665
|
DrawerOverlay.displayName = DialogPrimitive__namespace.Overlay.displayName;
|
|
2666
|
-
var DrawerVariants = classVarianceAuthority.cva(
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
left: "inset-y-0 h-full left-0 w-3/4 data-[state=open]:animate-slide-in-from-left data-[state=closed]:animate-slide-out-to-left sm:max-w-sm",
|
|
2674
|
-
right: "inset-y-0 h-full right-0 w-3/4 data-[state=open]:animate-slide-in-from-right data-[state=closed]:animate-slide-out-to-right sm:max-w-sm"
|
|
2675
|
-
}
|
|
2676
|
-
},
|
|
2677
|
-
defaultVariants: {
|
|
2678
|
-
side: "right"
|
|
2666
|
+
var DrawerVariants = classVarianceAuthority.cva("fixed flex flex-col z-50 shadow-lg", {
|
|
2667
|
+
variants: {
|
|
2668
|
+
side: {
|
|
2669
|
+
top: "inset-x-0 top-0 data-[state=open]:animate-slide-in-from-top data-[state=closed]:animate-slide-out-to-top",
|
|
2670
|
+
bottom: "inset-x-0 bottom-0 data-[state=open]:animate-slide-in-from-bottom data-[state=closed]:animate-slide-out-to-bottom",
|
|
2671
|
+
left: "inset-y-0 h-full left-0 w-3/4 data-[state=open]:animate-slide-in-from-left data-[state=closed]:animate-slide-out-to-left sm:max-w-sm",
|
|
2672
|
+
right: "inset-y-0 h-full right-0 w-3/4 data-[state=open]:animate-slide-in-from-right data-[state=closed]:animate-slide-out-to-right sm:max-w-sm"
|
|
2679
2673
|
}
|
|
2674
|
+
},
|
|
2675
|
+
defaultVariants: {
|
|
2676
|
+
side: "right"
|
|
2680
2677
|
}
|
|
2681
|
-
);
|
|
2678
|
+
});
|
|
2682
2679
|
var DrawerContent = React8__namespace.forwardRef(({ side = "right", className, portal = false, children, ...props }, ref) => {
|
|
2683
2680
|
const Comp = portal ? DrawerPortal : React8__namespace.Fragment;
|
|
2684
2681
|
return /* @__PURE__ */ jsxRuntime.jsxs(Comp, { children: [
|
package/dist/index.mjs
CHANGED
|
@@ -2621,22 +2621,19 @@ var DrawerOverlay = React8.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
2621
2621
|
}
|
|
2622
2622
|
));
|
|
2623
2623
|
DrawerOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
2624
|
-
var DrawerVariants = cva(
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
left: "inset-y-0 h-full left-0 w-3/4 data-[state=open]:animate-slide-in-from-left data-[state=closed]:animate-slide-out-to-left sm:max-w-sm",
|
|
2632
|
-
right: "inset-y-0 h-full right-0 w-3/4 data-[state=open]:animate-slide-in-from-right data-[state=closed]:animate-slide-out-to-right sm:max-w-sm"
|
|
2633
|
-
}
|
|
2634
|
-
},
|
|
2635
|
-
defaultVariants: {
|
|
2636
|
-
side: "right"
|
|
2624
|
+
var DrawerVariants = cva("fixed flex flex-col z-50 shadow-lg", {
|
|
2625
|
+
variants: {
|
|
2626
|
+
side: {
|
|
2627
|
+
top: "inset-x-0 top-0 data-[state=open]:animate-slide-in-from-top data-[state=closed]:animate-slide-out-to-top",
|
|
2628
|
+
bottom: "inset-x-0 bottom-0 data-[state=open]:animate-slide-in-from-bottom data-[state=closed]:animate-slide-out-to-bottom",
|
|
2629
|
+
left: "inset-y-0 h-full left-0 w-3/4 data-[state=open]:animate-slide-in-from-left data-[state=closed]:animate-slide-out-to-left sm:max-w-sm",
|
|
2630
|
+
right: "inset-y-0 h-full right-0 w-3/4 data-[state=open]:animate-slide-in-from-right data-[state=closed]:animate-slide-out-to-right sm:max-w-sm"
|
|
2637
2631
|
}
|
|
2632
|
+
},
|
|
2633
|
+
defaultVariants: {
|
|
2634
|
+
side: "right"
|
|
2638
2635
|
}
|
|
2639
|
-
);
|
|
2636
|
+
});
|
|
2640
2637
|
var DrawerContent = React8.forwardRef(({ side = "right", className, portal = false, children, ...props }, ref) => {
|
|
2641
2638
|
const Comp = portal ? DrawerPortal : React8.Fragment;
|
|
2642
2639
|
return /* @__PURE__ */ jsxs(Comp, { children: [
|
package/package.json
CHANGED
|
Binary file
|