@symbiote-native/slider 8.0.2 → 8.0.3
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 +18 -3
- package/build/svelte/slider/index.svelte +3 -0
- package/package.json +13 -13
- package/src/svelte/slider/index.svelte +3 -0
package/README.md
CHANGED
|
@@ -11,13 +11,28 @@ own primitives.
|
|
|
11
11
|
|
|
12
12
|
## Install
|
|
13
13
|
|
|
14
|
+
**New app:**
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npx @symbiote-native/cli new my-app --slider
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Existing SymbioteNative app:**
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx @symbiote-native/cli add --slider
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Either way: installs and wires this for you — see [`@symbiote-native/cli`](../cli).
|
|
27
|
+
|
|
28
|
+
<details>
|
|
29
|
+
<summary>Manual install</summary>
|
|
30
|
+
|
|
14
31
|
```bash
|
|
15
32
|
npm install @symbiote-native/slider
|
|
16
33
|
```
|
|
17
34
|
|
|
18
|
-
|
|
19
|
-
`add --slider` in an existing app) installs and wires this for you — see
|
|
20
|
-
[`@symbiote-native/cli`](../cli).
|
|
35
|
+
</details>
|
|
21
36
|
|
|
22
37
|
Only this package — never `@react-native-community/slider` directly, see
|
|
23
38
|
[Packaging](#packaging--one-dependency-not-two) below for why.
|
|
@@ -236,6 +236,9 @@
|
|
|
236
236
|
mountedDefaultCount !== children.length
|
|
237
237
|
) {
|
|
238
238
|
for (const child of hostShimDefault.children.slice())
|
|
239
|
+
// hostShimDefault is a `view` intrinsic bound via bind:this; patch-globals.ts routes it
|
|
240
|
+
// to ShimElement, not real DOM, so there's no Svelte-tracked tree for this to desync from
|
|
241
|
+
// eslint-disable-next-line svelte/no-dom-manipulating
|
|
239
242
|
hostShimDefault.removeChild(child);
|
|
240
243
|
mountedDefault = mountDescriptorChildren(hostShimDefault, children);
|
|
241
244
|
mountedDefaultCount = children.length;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/slider",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.3",
|
|
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
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
85
|
"@react-native-community/slider": "5.2.0",
|
|
86
|
-
"@symbiote-native/components": "3.1.
|
|
86
|
+
"@symbiote-native/components": "3.1.1"
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": {
|
|
89
89
|
"@angular/core": ">=20",
|
|
@@ -94,12 +94,12 @@
|
|
|
94
94
|
"solid-js": ">=1.9.0",
|
|
95
95
|
"svelte": ">=5.56.0",
|
|
96
96
|
"vue": ">=3.5.0",
|
|
97
|
-
"@symbiote-native/angular": "^3.1.
|
|
97
|
+
"@symbiote-native/angular": "^3.1.1",
|
|
98
98
|
"@symbiote-native/engine": "^1.3.0",
|
|
99
|
-
"@symbiote-native/react": "^3.0.
|
|
100
|
-
"@symbiote-native/solid": "^3.0.
|
|
101
|
-
"@symbiote-native/svelte": "^3.0.
|
|
102
|
-
"@symbiote-native/vue": "^3.0.
|
|
99
|
+
"@symbiote-native/react": "^3.0.3",
|
|
100
|
+
"@symbiote-native/solid": "^3.0.3",
|
|
101
|
+
"@symbiote-native/svelte": "^3.0.3",
|
|
102
|
+
"@symbiote-native/vue": "^3.0.3"
|
|
103
103
|
},
|
|
104
104
|
"peerDependenciesMeta": {
|
|
105
105
|
"@symbiote-native/angular": {
|
|
@@ -151,13 +151,13 @@
|
|
|
151
151
|
"solid-js": "^1.9.14",
|
|
152
152
|
"svelte": "^5.56.0",
|
|
153
153
|
"typescript": "~6.0.0",
|
|
154
|
-
"@symbiote-native/angular": "3.1.
|
|
154
|
+
"@symbiote-native/angular": "3.1.1",
|
|
155
155
|
"@symbiote-native/engine": "1.3.0",
|
|
156
|
-
"@symbiote-native/react": "3.0.
|
|
157
|
-
"@symbiote-native/solid": "3.0.
|
|
158
|
-
"@symbiote-native/svelte": "3.0.
|
|
159
|
-
"@symbiote-native/test-utils": "0.4.
|
|
160
|
-
"@symbiote-native/vue": "3.0.
|
|
156
|
+
"@symbiote-native/react": "3.0.3",
|
|
157
|
+
"@symbiote-native/solid": "3.0.3",
|
|
158
|
+
"@symbiote-native/svelte": "3.0.3",
|
|
159
|
+
"@symbiote-native/test-utils": "0.4.3",
|
|
160
|
+
"@symbiote-native/vue": "3.0.3"
|
|
161
161
|
},
|
|
162
162
|
"scripts": {
|
|
163
163
|
"typecheck": "tsc --build",
|
|
@@ -236,6 +236,9 @@
|
|
|
236
236
|
mountedDefaultCount !== children.length
|
|
237
237
|
) {
|
|
238
238
|
for (const child of hostShimDefault.children.slice())
|
|
239
|
+
// hostShimDefault is a `view` intrinsic bound via bind:this; patch-globals.ts routes it
|
|
240
|
+
// to ShimElement, not real DOM, so there's no Svelte-tracked tree for this to desync from
|
|
241
|
+
// eslint-disable-next-line svelte/no-dom-manipulating
|
|
239
242
|
hostShimDefault.removeChild(child);
|
|
240
243
|
mountedDefault = mountDescriptorChildren(hostShimDefault, children);
|
|
241
244
|
mountedDefaultCount = children.length;
|