@symbiote-native/system-ui 3.0.0 → 3.0.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/README.md +21 -5
- package/native-link.json +5 -0
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -12,19 +12,33 @@ Solid entry points are plain re-exports of the same `core`.
|
|
|
12
12
|
|
|
13
13
|
## Install
|
|
14
14
|
|
|
15
|
+
**New app:**
|
|
16
|
+
|
|
15
17
|
```bash
|
|
16
|
-
|
|
18
|
+
npx @symbiote-native/cli new my-app --system-ui
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
**Existing SymbioteNative app:**
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npx @symbiote-native/cli add --system-ui
|
|
17
25
|
```
|
|
18
26
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
27
|
+
Either way: installs `@symbiote-native/system-ui` and wires the native autolinking automatically —
|
|
28
|
+
see [`@symbiote-native/cli`](../cli).
|
|
29
|
+
|
|
30
|
+
<details>
|
|
31
|
+
<summary>Manual install (no CLI — installing and wiring native autolinking by hand)</summary>
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npm install @symbiote-native/system-ui
|
|
35
|
+
```
|
|
22
36
|
|
|
23
37
|
`expo-system-ui` and `expo-modules-core` come along as regular dependencies, pinned to exact
|
|
24
38
|
versions — never install either yourself, and never add the `expo` meta-package to your project
|
|
25
39
|
(it bundles its own Metro/Babel pipeline, which conflicts with this project's own).
|
|
26
40
|
|
|
27
|
-
|
|
41
|
+
### Required one-time step: native autolinking wiring
|
|
28
42
|
|
|
29
43
|
Unlike a plain RN native module, `expo-system-ui`'s native code is discovered by
|
|
30
44
|
`expo-modules-autolinking`, not RN's own `react-native.config.cjs` mechanism — this needs wiring
|
|
@@ -45,6 +59,8 @@ implementation: `examples/expo-react/ios/Podfile` and
|
|
|
45
59
|
`expo-system-ui` needs no runtime permission on either platform — it only sets/reads a stored
|
|
46
60
|
background color, nothing gated by a permission prompt.
|
|
47
61
|
|
|
62
|
+
</details>
|
|
63
|
+
|
|
48
64
|
## Shape
|
|
49
65
|
|
|
50
66
|
```
|
package/native-link.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/system-ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "expo-system-ui wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. Sets and reads the root view's background color.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -79,12 +79,12 @@
|
|
|
79
79
|
"solid-js": ">=1.9.0",
|
|
80
80
|
"svelte": ">=5.56.0",
|
|
81
81
|
"vue": ">=3.5.0",
|
|
82
|
-
"@symbiote-native/angular": "^3.
|
|
83
|
-
"@symbiote-native/engine": "^1.
|
|
84
|
-
"@symbiote-native/react": "^3.0.
|
|
85
|
-
"@symbiote-native/solid": "^3.0.
|
|
86
|
-
"@symbiote-native/svelte": "^3.0.
|
|
87
|
-
"@symbiote-native/vue": "^3.0.
|
|
82
|
+
"@symbiote-native/angular": "^3.1.2",
|
|
83
|
+
"@symbiote-native/engine": "^1.3.1",
|
|
84
|
+
"@symbiote-native/react": "^3.0.4",
|
|
85
|
+
"@symbiote-native/solid": "^3.0.4",
|
|
86
|
+
"@symbiote-native/svelte": "^3.0.4",
|
|
87
|
+
"@symbiote-native/vue": "^3.0.4"
|
|
88
88
|
},
|
|
89
89
|
"peerDependenciesMeta": {
|
|
90
90
|
"@symbiote-native/angular": {
|
|
@@ -132,13 +132,13 @@
|
|
|
132
132
|
"solid-js": "^1.9.14",
|
|
133
133
|
"svelte": "^5.56.0",
|
|
134
134
|
"typescript": "~6.0.0",
|
|
135
|
-
"@symbiote-native/angular": "3.
|
|
136
|
-
"@symbiote-native/engine": "1.
|
|
137
|
-
"@symbiote-native/react": "3.0.
|
|
138
|
-
"@symbiote-native/solid": "3.0.
|
|
139
|
-
"@symbiote-native/svelte": "3.0.
|
|
140
|
-
"@symbiote-native/test-utils": "0.
|
|
141
|
-
"@symbiote-native/vue": "3.0.
|
|
135
|
+
"@symbiote-native/angular": "3.1.2",
|
|
136
|
+
"@symbiote-native/engine": "1.3.1",
|
|
137
|
+
"@symbiote-native/react": "3.0.4",
|
|
138
|
+
"@symbiote-native/solid": "3.0.4",
|
|
139
|
+
"@symbiote-native/svelte": "3.0.4",
|
|
140
|
+
"@symbiote-native/test-utils": "0.4.4",
|
|
141
|
+
"@symbiote-native/vue": "3.0.4"
|
|
142
142
|
},
|
|
143
143
|
"scripts": {
|
|
144
144
|
"typecheck": "tsc --build",
|