@bettercms-ai/mcp 0.84.0 → 0.84.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.
|
@@ -88,7 +88,7 @@ bettercms/inputs/<name>.tsx
|
|
|
88
88
|
Never call `mountDockInput` in the file: the input would mount twice.
|
|
89
89
|
- The site needs `react`, `react-dom` and `@bettercms-ai/dock-input` in its `devDependencies`.
|
|
90
90
|
For kit components, add `@bettercms-ai/kit@2` and its peers: `@base-ui/react`,
|
|
91
|
-
`@tabler/icons-react
|
|
91
|
+
`@tabler/icons-react`, `framer-motion` and `@bettercms-ai/types` (React 19.2 or later). The build bundles them into the
|
|
92
92
|
input, wraps it in the kit's `KitRoot` and inlines the kit's `styles.css`, so no Tailwind is
|
|
93
93
|
needed. A missing peer stops the build and names it. A kit older than 2.x still builds, with
|
|
94
94
|
the `build.kit_legacy_deprecated` warning.
|
|
@@ -137,7 +137,7 @@ the way Storesynk draws one for Shopify in Webflow. The stock integration page s
|
|
|
137
137
|
|
|
138
138
|
1. Install `@bettercms-ai/dock-input` (0.2.0 or later) and React in the site repo if they are not there.
|
|
139
139
|
For kit components, add `@bettercms-ai/kit@2` and its peers (`@base-ui/react`,
|
|
140
|
-
`@tabler/icons-react`, `framer-motion`); the build wraps the panel in `KitRoot` and inlines the
|
|
140
|
+
`@tabler/icons-react`, `framer-motion`, `@bettercms-ai/types`); the build wraps the panel in `KitRoot` and inlines the
|
|
141
141
|
kit's styles.
|
|
142
142
|
2. Write `bettercms/panels/<name>.tsx` (lowercase, hyphens), default-exporting a React component.
|
|
143
143
|
It is built with the site, served from the project's own isolated origin and drawn in a
|
package/package.json
CHANGED