@baseline-ui/mcp 0.48.1 → 0.48.2
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/CHANGELOG.md +2 -0
- package/dist/index.cjs +49 -1
- package/dist/index.js +49 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -6231,6 +6231,54 @@ export const TestFrameProviderInsideShadowRoot = ({
|
|
|
6231
6231
|
</ShadowRoot>
|
|
6232
6232
|
);
|
|
6233
6233
|
};
|
|
6234
|
+
export const TestFrameProviderInsideShadowRootBug = () => {
|
|
6235
|
+
const [container, setContainer] = useState<HTMLDivElement | null>(null);
|
|
6236
|
+
return (
|
|
6237
|
+
<Box display="flex" flexDirection="column" gap="md">
|
|
6238
|
+
<header
|
|
6239
|
+
style={{
|
|
6240
|
+
height: 100,
|
|
6241
|
+
backgroundColor: themeVars.color.support.info.subtler,
|
|
6242
|
+
}}
|
|
6243
|
+
>
|
|
6244
|
+
<Text>
|
|
6245
|
+
I am a header. The overlay offset is same as the header height
|
|
6246
|
+
</Text>
|
|
6247
|
+
</header>
|
|
6248
|
+
<div
|
|
6249
|
+
style={{
|
|
6250
|
+
position: "relative",
|
|
6251
|
+
width: 500,
|
|
6252
|
+
height: 500,
|
|
6253
|
+
}}
|
|
6254
|
+
ref={setContainer}
|
|
6255
|
+
>
|
|
6256
|
+
<ShadowRoot
|
|
6257
|
+
style={{
|
|
6258
|
+
height: "100%",
|
|
6259
|
+
width: "100%",
|
|
6260
|
+
backgroundColor: themeVars.color.support.warning.subtler,
|
|
6261
|
+
}}
|
|
6262
|
+
>
|
|
6263
|
+
<FrameProvider container={container} shouldContainOverlays="always">
|
|
6264
|
+
<Modal defaultOpen={true}>
|
|
6265
|
+
<ModalTrigger>
|
|
6266
|
+
<ActionButton label="Open Modal" />
|
|
6267
|
+
</ModalTrigger>
|
|
6268
|
+
<ModalContent>
|
|
6269
|
+
<Dialog>
|
|
6270
|
+
<Box>
|
|
6271
|
+
<Text>Hello, world!</Text>
|
|
6272
|
+
</Box>
|
|
6273
|
+
</Dialog>
|
|
6274
|
+
</ModalContent>
|
|
6275
|
+
</Modal>
|
|
6276
|
+
</FrameProvider>
|
|
6277
|
+
</ShadowRoot>
|
|
6278
|
+
</div>
|
|
6279
|
+
</Box>
|
|
6280
|
+
);
|
|
6281
|
+
};
|
|
6234
6282
|
export const WithPortalContainerOutsideContainer: React.FC<{
|
|
6235
6283
|
position?: "static" | "relative";
|
|
6236
6284
|
shouldContainOverlays?: "always" | "auto" | "never";
|
|
@@ -19213,7 +19261,7 @@ layoutOptions?: O
|
|
|
19213
19261
|
12 | export { VirtualizedVertical as ListLayoutExample } from "../UNSAFE_ListBox/UNSAFE_ListBox.stories";
|
|
19214
19262
|
> 13 | export { WithVirtualization as GridLayoutExample } from "../ImageGallery/ImageGallery.stories";
|
|
19215
19263
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
19216
|
-
14 |`},id:"core-collections-virtualizer--grid-layout-example"}],implementation:""},similarTo:[],figmaUrl:null}};var ms={version:"0.48.
|
|
19264
|
+
14 |`},id:"core-collections-virtualizer--grid-layout-example"}],implementation:""},similarTo:[],figmaUrl:null}};var ms={version:"0.48.2"};var hs=`
|
|
19217
19265
|
# Baseline UI MCP Server Guidelines
|
|
19218
19266
|
|
|
19219
19267
|
This MCP server provides AI assistants with structured access to Baseline UI's comprehensive component documentation, icon library, theming resources, and design guidelines.
|
package/dist/index.js
CHANGED
|
@@ -6231,6 +6231,54 @@ export const TestFrameProviderInsideShadowRoot = ({
|
|
|
6231
6231
|
</ShadowRoot>
|
|
6232
6232
|
);
|
|
6233
6233
|
};
|
|
6234
|
+
export const TestFrameProviderInsideShadowRootBug = () => {
|
|
6235
|
+
const [container, setContainer] = useState<HTMLDivElement | null>(null);
|
|
6236
|
+
return (
|
|
6237
|
+
<Box display="flex" flexDirection="column" gap="md">
|
|
6238
|
+
<header
|
|
6239
|
+
style={{
|
|
6240
|
+
height: 100,
|
|
6241
|
+
backgroundColor: themeVars.color.support.info.subtler,
|
|
6242
|
+
}}
|
|
6243
|
+
>
|
|
6244
|
+
<Text>
|
|
6245
|
+
I am a header. The overlay offset is same as the header height
|
|
6246
|
+
</Text>
|
|
6247
|
+
</header>
|
|
6248
|
+
<div
|
|
6249
|
+
style={{
|
|
6250
|
+
position: "relative",
|
|
6251
|
+
width: 500,
|
|
6252
|
+
height: 500,
|
|
6253
|
+
}}
|
|
6254
|
+
ref={setContainer}
|
|
6255
|
+
>
|
|
6256
|
+
<ShadowRoot
|
|
6257
|
+
style={{
|
|
6258
|
+
height: "100%",
|
|
6259
|
+
width: "100%",
|
|
6260
|
+
backgroundColor: themeVars.color.support.warning.subtler,
|
|
6261
|
+
}}
|
|
6262
|
+
>
|
|
6263
|
+
<FrameProvider container={container} shouldContainOverlays="always">
|
|
6264
|
+
<Modal defaultOpen={true}>
|
|
6265
|
+
<ModalTrigger>
|
|
6266
|
+
<ActionButton label="Open Modal" />
|
|
6267
|
+
</ModalTrigger>
|
|
6268
|
+
<ModalContent>
|
|
6269
|
+
<Dialog>
|
|
6270
|
+
<Box>
|
|
6271
|
+
<Text>Hello, world!</Text>
|
|
6272
|
+
</Box>
|
|
6273
|
+
</Dialog>
|
|
6274
|
+
</ModalContent>
|
|
6275
|
+
</Modal>
|
|
6276
|
+
</FrameProvider>
|
|
6277
|
+
</ShadowRoot>
|
|
6278
|
+
</div>
|
|
6279
|
+
</Box>
|
|
6280
|
+
);
|
|
6281
|
+
};
|
|
6234
6282
|
export const WithPortalContainerOutsideContainer: React.FC<{
|
|
6235
6283
|
position?: "static" | "relative";
|
|
6236
6284
|
shouldContainOverlays?: "always" | "auto" | "never";
|
|
@@ -19213,7 +19261,7 @@ layoutOptions?: O
|
|
|
19213
19261
|
12 | export { VirtualizedVertical as ListLayoutExample } from "../UNSAFE_ListBox/UNSAFE_ListBox.stories";
|
|
19214
19262
|
> 13 | export { WithVirtualization as GridLayoutExample } from "../ImageGallery/ImageGallery.stories";
|
|
19215
19263
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
19216
|
-
14 |`},id:"core-collections-virtualizer--grid-layout-example"}],implementation:""},similarTo:[],figmaUrl:null}};var ms={version:"0.48.
|
|
19264
|
+
14 |`},id:"core-collections-virtualizer--grid-layout-example"}],implementation:""},similarTo:[],figmaUrl:null}};var ms={version:"0.48.2"};var hs=`
|
|
19217
19265
|
# Baseline UI MCP Server Guidelines
|
|
19218
19266
|
|
|
19219
19267
|
This MCP server provides AI assistants with structured access to Baseline UI's comprehensive component documentation, icon library, theming resources, and design guidelines.
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baseline-ui/mcp",
|
|
3
|
-
"version": "0.48.
|
|
3
|
+
"version": "0.48.2",
|
|
4
4
|
"description": "MCP server for Baseline UI design system documentation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "dist/index.js",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@modelcontextprotocol/sdk": "1.
|
|
8
|
+
"@modelcontextprotocol/sdk": "1.24.3",
|
|
9
9
|
"fast-glob": "^3.3.3",
|
|
10
10
|
"zod": "^3.23.8"
|
|
11
11
|
},
|