@symbiote-native/clipboard 1.0.0 → 2.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 +5 -6
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -93,7 +93,7 @@ function ClipboardScreen() {
|
|
|
93
93
|
const handleCopy = (input: string) =>
|
|
94
94
|
setStringAsync(input).then(() => getStringAsync().then(setText));
|
|
95
95
|
|
|
96
|
-
return <
|
|
96
|
+
return <text>{text ?? 'checking…'}</text>;
|
|
97
97
|
}
|
|
98
98
|
```
|
|
99
99
|
|
|
@@ -122,7 +122,7 @@ function handleCopy(input: string): void {
|
|
|
122
122
|
}
|
|
123
123
|
</script>
|
|
124
124
|
<template>
|
|
125
|
-
<
|
|
125
|
+
<text>{{ text }}</text>
|
|
126
126
|
</template>
|
|
127
127
|
```
|
|
128
128
|
|
|
@@ -151,7 +151,7 @@ function handleCopy(input: string): void {
|
|
|
151
151
|
}
|
|
152
152
|
</script>
|
|
153
153
|
|
|
154
|
-
<
|
|
154
|
+
<text>{text}</text>
|
|
155
155
|
```
|
|
156
156
|
|
|
157
157
|
```tsx
|
|
@@ -173,10 +173,9 @@ function ClipboardScreen() {
|
|
|
173
173
|
if (clipboardEvent() !== null) refresh();
|
|
174
174
|
});
|
|
175
175
|
|
|
176
|
-
const handleCopy = (input: string) =>
|
|
177
|
-
setStringAsync(input).then(refresh);
|
|
176
|
+
const handleCopy = (input: string) => setStringAsync(input).then(refresh);
|
|
178
177
|
|
|
179
|
-
return <
|
|
178
|
+
return <text>{text()}</text>;
|
|
180
179
|
}
|
|
181
180
|
```
|
|
182
181
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/clipboard",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "expo-clipboard wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. Reads and writes clipboard text, URLs, and images, plus a clipboard-change listener.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
"solid-js": ">=1.9.0",
|
|
81
81
|
"svelte": ">=5.56.0",
|
|
82
82
|
"vue": ">=3.5.0",
|
|
83
|
-
"@symbiote-native/angular": "^
|
|
84
|
-
"@symbiote-native/engine": "^0.
|
|
85
|
-
"@symbiote-native/react": "^
|
|
86
|
-
"@symbiote-native/solid": "^
|
|
87
|
-
"@symbiote-native/svelte": "^
|
|
88
|
-
"@symbiote-native/vue": "^
|
|
83
|
+
"@symbiote-native/angular": "^2.0.0",
|
|
84
|
+
"@symbiote-native/engine": "^0.5.0",
|
|
85
|
+
"@symbiote-native/react": "^2.0.0",
|
|
86
|
+
"@symbiote-native/solid": "^2.0.0",
|
|
87
|
+
"@symbiote-native/svelte": "^2.0.0",
|
|
88
|
+
"@symbiote-native/vue": "^2.0.0"
|
|
89
89
|
},
|
|
90
90
|
"peerDependenciesMeta": {
|
|
91
91
|
"@symbiote-native/angular": {
|
|
@@ -133,13 +133,13 @@
|
|
|
133
133
|
"solid-js": "^1.9.14",
|
|
134
134
|
"svelte": "^5.56.0",
|
|
135
135
|
"typescript": "~6.0.0",
|
|
136
|
-
"@symbiote-native/angular": "
|
|
137
|
-
"@symbiote-native/engine": "0.
|
|
138
|
-
"@symbiote-native/react": "
|
|
139
|
-
"@symbiote-native/solid": "
|
|
140
|
-
"@symbiote-native/svelte": "
|
|
136
|
+
"@symbiote-native/angular": "2.0.0",
|
|
137
|
+
"@symbiote-native/engine": "0.5.0",
|
|
138
|
+
"@symbiote-native/react": "2.0.0",
|
|
139
|
+
"@symbiote-native/solid": "2.0.0",
|
|
140
|
+
"@symbiote-native/svelte": "2.0.0",
|
|
141
141
|
"@symbiote-native/test-utils": "0.3.0",
|
|
142
|
-
"@symbiote-native/vue": "
|
|
142
|
+
"@symbiote-native/vue": "2.0.0"
|
|
143
143
|
},
|
|
144
144
|
"scripts": {
|
|
145
145
|
"typecheck": "tsc --build",
|