@orsetra/shared-ui 1.7.6 → 1.7.7
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.
|
@@ -50,7 +50,7 @@ const SidePanel = ({
|
|
|
50
50
|
children,
|
|
51
51
|
actions,
|
|
52
52
|
side = "right",
|
|
53
|
-
width = "w-full sm:
|
|
53
|
+
width = "w-full sm:w-[28rem] lg:w-[32rem]",
|
|
54
54
|
onClose,
|
|
55
55
|
}: SidePanelProps) => {
|
|
56
56
|
return (
|
|
@@ -118,7 +118,7 @@ interface SidePanelContentProps
|
|
|
118
118
|
const SidePanelContent = React.forwardRef<
|
|
119
119
|
React.ElementRef<typeof DialogPrimitive.Content>,
|
|
120
120
|
SidePanelContentProps
|
|
121
|
-
>(({ side = "right", width = "w-full sm:
|
|
121
|
+
>(({ side = "right", width = "w-full sm:w-[28rem] lg:w-[32rem]", className, children, ...props }, ref) => (
|
|
122
122
|
<SidePanelPortal>
|
|
123
123
|
<SidePanelOverlay />
|
|
124
124
|
<DialogPrimitive.Content
|