@symbiote-native/slider 5.2.0 → 6.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 +19 -0
- package/build/angular/index.js +1 -1
- package/build/react/index.js +1 -1
- package/build/solid/index.js +1 -1
- package/build/svelte/index.js +1 -1
- package/build/vue/index.js +1 -1
- package/package.json +26 -16
package/README.md
CHANGED
|
@@ -84,6 +84,25 @@ import { Slider } from '@symbiote-native/slider/vue';
|
|
|
84
84
|
</template>
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
+
```svelte
|
|
88
|
+
<!-- Svelte — examples/svelte/screens/CanaryScreen.svelte -->
|
|
89
|
+
<script lang="ts">
|
|
90
|
+
import { Slider } from '@symbiote-native/slider/svelte';
|
|
91
|
+
let volume = $state(0.6);
|
|
92
|
+
</script>
|
|
93
|
+
|
|
94
|
+
<Slider
|
|
95
|
+
value={volume}
|
|
96
|
+
onValueChange={next => (volume = next)}
|
|
97
|
+
minimumValue={0}
|
|
98
|
+
maximumValue={1}
|
|
99
|
+
step={0.01}
|
|
100
|
+
minimumTrackTintColor="#7fb5ff"
|
|
101
|
+
maximumTrackTintColor="#334155"
|
|
102
|
+
thumbTintColor="#ffffff"
|
|
103
|
+
/>
|
|
104
|
+
```
|
|
105
|
+
|
|
87
106
|
```tsx
|
|
88
107
|
// Solid — the marker props arrive as an ACCESSOR, so only the leaf reading them re-runs
|
|
89
108
|
import { Slider } from '@symbiote-native/slider/solid';
|
package/build/angular/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../register';
|
|
1
|
+
import '../register/index.js';
|
|
2
2
|
export { Slider } from './slider';
|
package/build/react/index.js
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
// import of the codegen spec — never the library's React Slider component), then exposes the
|
|
4
4
|
// platform-split Slider. The public prop type is the agnostic base plus React's StepMarker render
|
|
5
5
|
// component (Vue takes the same marker as a scoped slot).
|
|
6
|
-
import '../register';
|
|
6
|
+
import '../register/index.js';
|
|
7
7
|
export { Slider } from './slider';
|
package/build/solid/index.js
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
// Slider can mount. Metro's production-only `inlineRequires` moves a require down to the first
|
|
5
5
|
// place its binding is USED and compiles a barrel's re-export into a lazy getter, so a registration
|
|
6
6
|
// reached through one silently never runs in RELEASE builds only. Do not restructure it.
|
|
7
|
-
import '../register';
|
|
7
|
+
import '../register/index.js';
|
|
8
8
|
export { Slider } from './slider';
|
package/build/svelte/index.js
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
// (slider/slider-platform.ts, Metro-filename-selected) - matching this adapter's own
|
|
6
6
|
// Switch/ActivityIndicator convention, since Svelte components are compiled `.svelte` files, not
|
|
7
7
|
// factories like Vue's per-platform `createSlider(platform)`.
|
|
8
|
-
import '../register';
|
|
8
|
+
import '../register/index.js';
|
|
9
9
|
export { default as Slider } from './slider/index.svelte';
|
package/build/vue/index.js
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
// import of the codegen spec — never the library's React component), then exposes the platform-
|
|
4
4
|
// split Slider. The public prop type is the agnostic core ISliderProps plus a Vue-only `class`
|
|
5
5
|
// field (see slider/shared.ts); the custom StepMarker is a Vue scoped slot, not a prop.
|
|
6
|
-
import '../register';
|
|
6
|
+
import '../register/index.js';
|
|
7
7
|
export { Slider } from './slider';
|
package/package.json
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/slider",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Third-party native Slider view wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Angular, Svelte, and Solid adapters.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"react-native",
|
|
7
|
+
"symbiote-native",
|
|
8
|
+
"react",
|
|
9
|
+
"vue",
|
|
10
|
+
"svelte",
|
|
11
|
+
"solid",
|
|
12
|
+
"angular",
|
|
13
|
+
"range-slider"
|
|
14
|
+
],
|
|
5
15
|
"license": "MIT",
|
|
6
16
|
"repository": {
|
|
7
17
|
"type": "git",
|
|
@@ -73,15 +83,9 @@
|
|
|
73
83
|
},
|
|
74
84
|
"dependencies": {
|
|
75
85
|
"@react-native-community/slider": "5.2.0",
|
|
76
|
-
"@symbiote-native/components": "0.
|
|
86
|
+
"@symbiote-native/components": "1.0.0"
|
|
77
87
|
},
|
|
78
88
|
"peerDependencies": {
|
|
79
|
-
"@symbiote-native/angular": ">=0.6.2",
|
|
80
|
-
"@symbiote-native/engine": ">=0.1.7",
|
|
81
|
-
"@symbiote-native/react": ">=0.2.8",
|
|
82
|
-
"@symbiote-native/solid": ">=0.0.1",
|
|
83
|
-
"@symbiote-native/svelte": ">=0.1.0",
|
|
84
|
-
"@symbiote-native/vue": ">=0.3.8",
|
|
85
89
|
"@angular/core": ">=20",
|
|
86
90
|
"@angular/forms": ">=20",
|
|
87
91
|
"@vue/runtime-core": "^3.5.13",
|
|
@@ -89,7 +93,13 @@
|
|
|
89
93
|
"react-native": ">=0.86",
|
|
90
94
|
"solid-js": ">=1.9.0",
|
|
91
95
|
"svelte": ">=5.56.0",
|
|
92
|
-
"vue": ">=3.5.0"
|
|
96
|
+
"vue": ">=3.5.0",
|
|
97
|
+
"@symbiote-native/angular": "^1.0.0",
|
|
98
|
+
"@symbiote-native/engine": "^0.4.0",
|
|
99
|
+
"@symbiote-native/react": "^1.0.0",
|
|
100
|
+
"@symbiote-native/solid": "^1.0.0",
|
|
101
|
+
"@symbiote-native/svelte": "^1.0.0",
|
|
102
|
+
"@symbiote-native/vue": "^1.0.0"
|
|
93
103
|
},
|
|
94
104
|
"peerDependenciesMeta": {
|
|
95
105
|
"@symbiote-native/angular": {
|
|
@@ -141,13 +151,13 @@
|
|
|
141
151
|
"solid-js": "^1.9.14",
|
|
142
152
|
"svelte": "^5.56.0",
|
|
143
153
|
"typescript": "~6.0.0",
|
|
144
|
-
"@symbiote-native/angular": "0.
|
|
145
|
-
"@symbiote-native/engine": "0.
|
|
146
|
-
"@symbiote-native/react": "0.
|
|
147
|
-
"@symbiote-native/solid": "
|
|
148
|
-
"@symbiote-native/svelte": "0.
|
|
149
|
-
"@symbiote-native/test-utils": "0.
|
|
150
|
-
"@symbiote-native/vue": "0.
|
|
154
|
+
"@symbiote-native/angular": "1.0.0",
|
|
155
|
+
"@symbiote-native/engine": "0.4.0",
|
|
156
|
+
"@symbiote-native/react": "1.0.0",
|
|
157
|
+
"@symbiote-native/solid": "1.0.0",
|
|
158
|
+
"@symbiote-native/svelte": "1.0.0",
|
|
159
|
+
"@symbiote-native/test-utils": "0.3.0",
|
|
160
|
+
"@symbiote-native/vue": "1.0.0"
|
|
151
161
|
},
|
|
152
162
|
"scripts": {
|
|
153
163
|
"typecheck": "tsc --build",
|