myoperator-mcp 0.2.154 → 0.2.156
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/index.js +12 -3
- 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 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 overflow-hidden 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}
|
|
@@ -2262,7 +2262,7 @@ const DialogOverlay = React.forwardRef(({ className, ...props }: React.Component
|
|
|
2262
2262
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
2263
2263
|
|
|
2264
2264
|
const dialogContentVariants = cva(
|
|
2265
|
-
"fixed left-[50%] top-[50%] z-[9999] flex flex-col translate-x-[-50%] translate-y-[-50%] gap-4 border border-solid border-border bg-background p-6 shadow-lg duration-200 max-h-[calc(100vh-2rem)] overflow-y-auto data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-lg",
|
|
2265
|
+
"fixed left-[50%] top-[50%] z-[9999] flex flex-col translate-x-[-50%] translate-y-[-50%] gap-4 border border-solid border-border bg-background p-6 shadow-lg duration-200 max-h-[calc(100vh-2rem)] overflow-y-auto overscroll-contain data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-lg",
|
|
2266
2266
|
{
|
|
2267
2267
|
variants: {
|
|
2268
2268
|
size: {
|
|
@@ -2310,6 +2310,15 @@ 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
|
+
|
|
2313
2322
|
return (
|
|
2314
2323
|
<DialogPortal>
|
|
2315
2324
|
<DialogOverlay />
|
|
@@ -3667,7 +3676,7 @@ const PageHeader = React.forwardRef(
|
|
|
3667
3676
|
{/* Content Section: Title + Description */}
|
|
3668
3677
|
<div className="flex-1 min-w-0">
|
|
3669
3678
|
<div className="flex h-auto items-center gap-2 sm:min-h-10">
|
|
3670
|
-
<h1 className="m-0 text-lg font-semibold leading-
|
|
3679
|
+
<h1 className="m-0 text-lg font-semibold leading-normal text-semantic-text-primary truncate">
|
|
3671
3680
|
{title}
|
|
3672
3681
|
</h1>
|
|
3673
3682
|
{badge && (
|
package/package.json
CHANGED