@symbiote-native/slider 0.1.0 → 1.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 +11 -2
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
# @symbiote-native/slider
|
|
2
2
|
|
|
3
|
-
A wrapper package for [
|
|
3
|
+
A wrapper package for [SymbioteNative](../../README.md) that makes the third-party native
|
|
4
4
|
`@react-native-community/slider` view usable from **every** adapter — React, Vue, and Angular —
|
|
5
5
|
not just React. The library's default export is a React component (it calls hooks off the React
|
|
6
6
|
dispatcher), so a non-React adapter renders it with a null dispatcher and it throws. This package
|
|
7
7
|
reaches the native `RNCSlider` view directly through the engine's `createNode`-by-ViewConfig path
|
|
8
|
-
instead of importing the library's React component — the same mechanism
|
|
8
|
+
instead of importing the library's React component — the same mechanism SymbioteNative uses for its
|
|
9
9
|
own primitives. See the `symbiote-third-party-native-view` skill and ADR 0027 for the full
|
|
10
10
|
mechanism and rationale.
|
|
11
11
|
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install @symbiote-native/slider
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Only this package — never `@react-native-community/slider` directly, see
|
|
19
|
+
[Packaging](#packaging--one-dependency-not-two) below for why.
|
|
20
|
+
|
|
12
21
|
## Shape
|
|
13
22
|
|
|
14
23
|
One framework-agnostic core, one thin entry per adapter, selected through the package's `exports`
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/slider",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Third-party native Slider view wrapped for
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Third-party native Slider view wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, and Angular adapters.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/OneEyed1366/symbiote-native.git",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@react-native-community/slider": "^5.2.0",
|
|
61
|
-
"@symbiote-native/
|
|
62
|
-
"@symbiote-native/
|
|
61
|
+
"@symbiote-native/engine": "0.1.1",
|
|
62
|
+
"@symbiote-native/components": "0.2.0"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"@angular/core": ">=20",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"react": ">=19.0.0",
|
|
68
68
|
"react-native": ">=0.86",
|
|
69
69
|
"vue": ">=3.5.0",
|
|
70
|
-
"@symbiote-native/angular": "0.
|
|
71
|
-
"@symbiote-native/react": "0.
|
|
72
|
-
"@symbiote-native/vue": "0.
|
|
70
|
+
"@symbiote-native/angular": "0.2.0",
|
|
71
|
+
"@symbiote-native/react": "0.2.0",
|
|
72
|
+
"@symbiote-native/vue": "0.2.0"
|
|
73
73
|
},
|
|
74
74
|
"peerDependenciesMeta": {
|
|
75
75
|
"@symbiote-native/angular": {
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
"@vue/runtime-core": "^3.5.13",
|
|
104
104
|
"react": "19.2.3",
|
|
105
105
|
"typescript": "~6.0.0",
|
|
106
|
-
"@symbiote-native/angular": "0.
|
|
107
|
-
"@symbiote-native/react": "0.
|
|
108
|
-
"@symbiote-native/
|
|
109
|
-
"@symbiote-native/
|
|
106
|
+
"@symbiote-native/angular": "0.2.0",
|
|
107
|
+
"@symbiote-native/react": "0.2.0",
|
|
108
|
+
"@symbiote-native/test-utils": "0.1.1",
|
|
109
|
+
"@symbiote-native/vue": "0.2.0"
|
|
110
110
|
},
|
|
111
111
|
"scripts": {
|
|
112
112
|
"typecheck": "tsc --build",
|