@naculus/connect-appkit-react 0.1.4 → 0.1.5
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 +17 -0
- package/package.json +12 -2
package/README.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
# @naculus/connect-appkit-react
|
|
2
2
|
|
|
3
|
+
**React bindings for Naculus Connect Web Components** — auto-generated React wrappers for all 24 Stencil components. Use `<ConnectButton>`, `<WalletModal>`, etc. as native React components.
|
|
3
4
|
|
|
5
|
+
> **🔗 Wraps `@naculus/connect-appkit-wc`. If you need the raw Web Components or another framework, see the table below.**
|
|
6
|
+
|
|
7
|
+
| Framework | Package | Version |
|
|
8
|
+
|-----------|---------|---------|
|
|
9
|
+
| Web Components (base) | `@naculus/connect-appkit-wc` | `0.1.x` |
|
|
10
|
+
| **React** | `@naculus/connect-appkit-react` | `0.1.x` |
|
|
11
|
+
| Vue | `@naculus/connect-appkit-vue` | `0.1.x` |
|
|
12
|
+
| UI (shared styles) | `@naculus/connect-appkit-ui` | `0.1.x` |
|
|
4
13
|
|
|
5
14
|
## Install
|
|
6
15
|
|
|
@@ -14,6 +23,14 @@ pnpm add @naculus/connect-appkit-react
|
|
|
14
23
|
|
|
15
24
|
See [Storybook](https://naculus-official.github.io/connect-appkit) for all components.
|
|
16
25
|
|
|
26
|
+
```tsx
|
|
27
|
+
import { ConnectButton } from "@naculus/connect-appkit-react";
|
|
28
|
+
|
|
29
|
+
function App() {
|
|
30
|
+
return <ConnectButton />;
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
17
34
|
## License
|
|
18
35
|
|
|
19
36
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naculus/connect-appkit-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@naculus/connector-solana": "^0.1.2",
|
|
16
16
|
"@naculus/siwx": "^0.1.2",
|
|
17
17
|
"@naculus/wallet-engine": "^0.1.2",
|
|
18
|
-
"@naculus/connect-appkit-wc": "0.1.
|
|
18
|
+
"@naculus/connect-appkit-wc": "0.1.5"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"react": "^18.0.0 || ^19.0.0"
|
|
@@ -38,6 +38,16 @@
|
|
|
38
38
|
},
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"description": "React hooks and components for Naculus Connect — auto-generated wrappers for Stencil Web Components",
|
|
41
|
+
"homepage": "https://github.com/naculus-official/connect-appkit#readme",
|
|
42
|
+
"bugs": "https://github.com/naculus-official/connect-appkit/issues",
|
|
43
|
+
"keywords": [
|
|
44
|
+
"web3",
|
|
45
|
+
"wallet",
|
|
46
|
+
"connect",
|
|
47
|
+
"ui",
|
|
48
|
+
"components",
|
|
49
|
+
"react"
|
|
50
|
+
],
|
|
41
51
|
"scripts": {
|
|
42
52
|
"build": "tsup",
|
|
43
53
|
"test": "vitest run"
|