@mastra/playground-ui 31.0.0-alpha.8 → 31.0.0

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.
@@ -5,7 +5,10 @@ type PopoverTriggerProps = PopoverPrimitive.Trigger.Props & {
5
5
  asChild?: boolean;
6
6
  };
7
7
  declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<PopoverTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
8
- type PopoverContentProps = PopoverPrimitive.Popup.Props & Pick<PopoverPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'>;
8
+ type PopoverContentProps = PopoverPrimitive.Popup.Props & Pick<PopoverPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'> & {
9
+ /** Optional portal container, forwarded to `Popover.Portal`. */
10
+ container?: HTMLElement | null;
11
+ };
9
12
  declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
13
  declare function HoverPopover({ children, ...props }: Omit<React.ComponentProps<typeof Popover>, 'children'> & {
11
14
  children?: React.ReactNode;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  export type SideDialogRootProps = {
2
3
  variant?: 'default' | 'confirmation';
3
4
  dialogTitle: string;
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ export declare function PortalContainerProvider({ container, children, }: {
3
+ container: HTMLElement | null;
4
+ children: React.ReactNode;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ /** Nearest portal container node, or `null` to fall back to `document.body`. */
7
+ export declare function usePortalContainer(): HTMLElement | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mastra/playground-ui",
3
3
  "type": "module",
4
- "version": "31.0.0-alpha.8",
4
+ "version": "31.0.0",
5
5
  "description": "Mastra Playground components",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -86,8 +86,8 @@
86
86
  "react": ">=19.0.0",
87
87
  "react-dom": ">=19.0.0",
88
88
  "tailwindcss": "^4.0.0",
89
- "@mastra/react": "0.4.3-alpha.8",
90
- "@mastra/client-js": "^1.22.0-alpha.8"
89
+ "@mastra/client-js": "^1.22.0",
90
+ "@mastra/react": "0.4.3"
91
91
  },
92
92
  "devDependencies": {
93
93
  "@storybook/addon-a11y": "^10.3.6",
@@ -123,10 +123,10 @@
123
123
  "vite-plugin-dts": "^4.5.4",
124
124
  "vite-plugin-lib-inject-css": "^2.2.2",
125
125
  "vitest": "4.1.5",
126
- "@mastra/client-js": "^1.22.0-alpha.8",
127
- "@internal/lint": "0.0.99",
128
- "@mastra/react": "0.4.3-alpha.8",
129
- "@mastra/core": "1.38.0-alpha.8"
126
+ "@mastra/react": "0.4.3",
127
+ "@mastra/client-js": "^1.22.0",
128
+ "@mastra/core": "1.38.0",
129
+ "@internal/lint": "0.0.100"
130
130
  },
131
131
  "homepage": "https://mastra.ai",
132
132
  "repository": {