@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:max-w-md lg:max-w-lg",
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:max-w-md lg:max-w-lg", className, children, ...props }, ref) => (
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orsetra/shared-ui",
3
- "version": "1.7.6",
3
+ "version": "1.7.7",
4
4
  "description": "Shared UI components for Orsetra platform",
5
5
  "main": "./index.ts",
6
6
  "types": "./index.ts",