@webmcpui/core 0.3.0 → 0.3.1
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/README.md +12 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,13 +12,23 @@ imperative [WebMCP](https://webmcpui.com/docs/webmcp) tool an agent can call.
|
|
|
12
12
|
Standard Schema validation, a11y, theming) lives in a `WmcpFormControl` base.
|
|
13
13
|
- **Interaction primitives** expose an _action_ an agent can trigger —
|
|
14
14
|
`<wmcp-button>`, `<wmcp-dialog>`, `<wmcp-menu>`, `<wmcp-tabs>`,
|
|
15
|
-
`<wmcp-popover>` — or, for `<wmcp-toast>`, a
|
|
16
|
-
They share a `WmcpAction` / `WmcpExposable`
|
|
15
|
+
`<wmcp-popover>`, `<wmcp-switch>`, `<wmcp-tooltip>` — or, for `<wmcp-toast>`, a
|
|
16
|
+
_reading_ an agent can perceive. They share a `WmcpAction` / `WmcpExposable`
|
|
17
|
+
base.
|
|
18
|
+
- **Presentational primitives** are plain accessible controls (no agent surface)
|
|
19
|
+
that round out the kit — `<wmcp-badge>`, `<wmcp-separator>`, `<wmcp-alert>`,
|
|
20
|
+
`<wmcp-progress>`, `<wmcp-avatar>`.
|
|
17
21
|
|
|
18
22
|
One source of truth (vanilla custom elements built with [Lit](https://lit.dev)),
|
|
19
23
|
two distribution channels: an ESM package for build tools, and a single-file
|
|
20
24
|
CDN bundle for no-build environments (Webflow, WordPress, plain HTML).
|
|
21
25
|
|
|
26
|
+
**Using React or Vue?** Typed, idiomatic wrappers ship as
|
|
27
|
+
[`@webmcpui/react`](https://www.npmjs.com/package/@webmcpui/react) and
|
|
28
|
+
[`@webmcpui/vue`](https://www.npmjs.com/package/@webmcpui/vue) — same elements,
|
|
29
|
+
same WebMCP exposure, with framework-native props, `v-model`/state, and events.
|
|
30
|
+
See the [Frameworks guide](https://webmcpui.com/docs/frameworks).
|
|
31
|
+
|
|
22
32
|
## Install (build-tool consumers)
|
|
23
33
|
|
|
24
34
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webmcpui/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Agent-aware, framework-agnostic web components for the WebMCP era — accessible, form-associated controls an AI agent can fill, with Standard Schema validation.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Gary Pfaff (Pfaff Digital)",
|