@mcp-native/react-native 0.4.0 → 0.6.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.
Files changed (2) hide show
  1. package/README.md +7 -9
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -103,18 +103,16 @@ const plan = surface && createA2uiV1NativeRenderPlan(surface, policy);
103
103
 
104
104
  The adapter maps `Row`, `Column`, static or dynamic `List`, and `Card` to `View`; `Text` to `Text`; `Button` with a `Text` child to `Button`; and `TextField` to `TextInput`. Dynamic lists expand one validated template component per bound array item and remain inside the 1,024-node plan limit. The adapter resolves absolute and item-relative JSON Pointer values, translates relative `TextField` bindings into absolute renderer-local pointers, evaluates bounded literal `formatString`, host-localized `formatNumber`, `formatCurrency`, `formatDate`, and `pluralize`, pure `and`, `or`, and `not`, `required`, bounded `regex`, `length`, `numeric`, and `email`, and `@index` with optional offsets, maps supported container direction and alignment to owned React Native flex styles, applies component weight through a host-owned `View` wrapper with `flexGrow`, maps `TextField` variants to explicit native input behavior (including `secureTextEntry` for `obscured`), and preserves event context and explicit accessibility fields. At the mounted boundary, text and buttons receive closed native roles, button accessibility state mirrors the derived disabled state, hidden text and controls are not accessibility elements, and text plus text inputs explicitly allow font scaling. Supported `TextField` checks set explicit `invalid` and `validationMessages` props on the host component and append declared failures to its accessibility hint; supported `Button` checks set `disabled`, expose declared messages, and cannot resolve or dispatch the event or local URL action until current renderer-local state passes. Main-axis `stretch` and negative weight, which React Native flex layout cannot represent faithfully, fail closed.
105
105
 
106
- These mappings have automated host-boundary coverage plus passing Android 17 TalkBack and iOS 26.5
107
- XCUITest evidence. The [native accessibility test
108
- plan](../../docs/native-accessibility-testing.md) defines the verified platform matrix, shared
109
- fixture, WCAG inspection, and strict evidence gate. The [automated robustness
110
- gates](../../docs/a2ui-v1-performance.md) define repeatable Node.js render-plan budgets and
111
- fixed-seed generated-input coverage.
106
+ These mappings have automated host-boundary coverage. The [Expo Go integration PoC
107
+ policy](../../docs/native-accessibility-testing.md) defines the shared surface and the independent
108
+ app-per-library approach for platform and component-library validation. The [automated robustness gates](../../docs/a2ui-v1-performance.md) define
109
+ repeatable Node.js render-plan budgets and fixed-seed generated-input coverage.
112
110
 
113
111
  For release/platform testing, `npm run native:host:prepare` generates an official temporary React
114
112
  Native `0.87.1` or `0.86.3` host from local package tarballs and the pinned accessibility fixture.
115
- The [native accessibility test plan](../../docs/native-accessibility-testing.md) documents Metro and
116
- native build preflight, Android TalkBack and iOS XCUITest rows, verified WCAG outcomes, and the
117
- strict evidence gate.
113
+ The [Expo Go integration PoC policy](../../docs/native-accessibility-testing.md) documents the
114
+ non-blocking app-level compatibility work. Generated hosts remain automated package fixtures and do
115
+ not establish support for a component library.
118
116
 
119
117
  ### Host component adapters
120
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-native/react-native",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "description": "React Native renderer primitives for MCP Native.",
5
5
  "keywords": [
6
6
  "a2ui",
@@ -37,8 +37,8 @@
37
37
  "access": "public"
38
38
  },
39
39
  "dependencies": {
40
- "@mcp-native/a2ui": "^0.4.0",
41
- "@mcp-native/core": "^0.4.0"
40
+ "@mcp-native/a2ui": "^0.6.0",
41
+ "@mcp-native/core": "^0.6.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/react": "19.1.17",