myoperator-mcp 0.2.157 → 0.2.159

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -10
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2253,7 +2253,7 @@ const DialogOverlay = React.forwardRef(({ className, ...props }: React.Component
2253
2253
  <DialogPrimitive.Overlay
2254
2254
  ref={ref}
2255
2255
  className={cn(
2256
- "fixed inset-0 z-[9999] bg-black/50 overflow-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
2256
+ "fixed inset-0 z-[9999] bg-black/50 overscroll-contain data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
2257
2257
  className
2258
2258
  )}
2259
2259
  {...props}
@@ -2310,15 +2310,6 @@ const hasDialogDescription = (children: React.ReactNode): boolean => {
2310
2310
  const DialogContent = React.forwardRef(({ className, children, size, hideCloseButton = false, ...props }: DialogContentProps, ref: React.Ref<React.ElementRef<typeof DialogPrimitive.Content>>) => {
2311
2311
  const hasDescription = hasDialogDescription(children);
2312
2312
 
2313
- // Lock body scroll when dialog is open \u2014 works regardless of host app CSS overrides
2314
- React.useEffect(() => {
2315
- const originalOverflow = document.body.style.overflow;
2316
- document.body.style.overflow = "hidden";
2317
- return () => {
2318
- document.body.style.overflow = originalOverflow;
2319
- };
2320
- }, []);
2321
-
2322
2313
  return (
2323
2314
  <DialogPortal>
2324
2315
  <DialogOverlay />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myoperator-mcp",
3
- "version": "0.2.157",
3
+ "version": "0.2.159",
4
4
  "description": "MCP server for myOperator UI components - enables AI assistants to access component metadata, examples, and design tokens",
5
5
  "type": "module",
6
6
  "bin": "./dist/index.js",