@lssm/lib.presentation-runtime-react-native 8.0.4 → 10.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.
- package/README.md +37 -0
- package/package.json +6 -6
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# @lssm/lib.presentation-runtime-react-native
|
|
2
|
+
|
|
3
|
+
React Native bindings for ContractSpec presentations.
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
To render ContractSpec-defined UIs in React Native (Expo) applications, using native components from `@lssm/lib.ui-kit`.
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install @lssm/lib.presentation-runtime-react-native
|
|
13
|
+
# or
|
|
14
|
+
bun add @lssm/lib.presentation-runtime-react-native
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Key Concepts
|
|
18
|
+
|
|
19
|
+
- **Native Optimized**: Uses native navigation patterns where applicable.
|
|
20
|
+
- **Universal**: API parity with `@lssm/lib.presentation-runtime-react` where possible.
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
Similar to the React runtime, but imports from this package.
|
|
25
|
+
|
|
26
|
+
```tsx
|
|
27
|
+
import { useWorkflow } from '@lssm/lib.presentation-runtime-react-native';
|
|
28
|
+
// ... usage
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/lib.presentation-runtime-react-native",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"lint:check": "eslint src"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"react": "^19.
|
|
19
|
+
"react": "^19.2.0",
|
|
20
20
|
"react-native": "*",
|
|
21
|
-
"react-hook-form": "7.66.
|
|
21
|
+
"react-hook-form": "7.66.1",
|
|
22
22
|
"zod": "^4.1.5",
|
|
23
|
-
"@lssm/lib.presentation-runtime-core": "
|
|
23
|
+
"@lssm/lib.presentation-runtime-core": "workspace:*"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@lssm/lib.presentation-runtime-core": "
|
|
27
|
-
"@lssm/lib.ui-kit": "
|
|
26
|
+
"@lssm/lib.presentation-runtime-core": "workspace:*",
|
|
27
|
+
"@lssm/lib.ui-kit": "workspace:*"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
|
30
30
|
"dist",
|