myoperator-mcp 0.2.152 → 0.2.153

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 +6 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -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 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 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: {
@@ -3737,7 +3737,7 @@ function PaginationContent({
3737
3737
  return (
3738
3738
  <ul
3739
3739
  data-slot="pagination-content"
3740
- className={cn("flex flex-row items-center gap-1", className)}
3740
+ className={cn("flex flex-row items-center gap-1 list-none m-0 p-0", className)}
3741
3741
  {...props}
3742
3742
  />
3743
3743
  );
@@ -4954,6 +4954,10 @@ SelectScrollDownButton.displayName =
4954
4954
  */
4955
4955
  function useUnlockBodyScroll() {
4956
4956
  React.useEffect(() => {
4957
+ // Don't unlock body scroll if inside a dialog/modal \u2014 the dialog's
4958
+ // own scroll lock should remain active to prevent background scrolling
4959
+ if (document.querySelector('[role="dialog"]')) return;
4960
+
4957
4961
  const style = document.createElement("style");
4958
4962
  style.setAttribute("data-select-scroll-fix", "");
4959
4963
  style.textContent =
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myoperator-mcp",
3
- "version": "0.2.152",
3
+ "version": "0.2.153",
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",