@0xsquid/deposit-widget 0.0.2-beta.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/dist/cjs/index.cjs +4062 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/index.d.ts +52 -0
- package/dist/index.esm.js +4042 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/types/DepositWidget.d.ts +8 -0
- package/dist/types/components/ViewTransition.d.ts +8 -0
- package/dist/types/components/shared/buttons/button.d.ts +4 -0
- package/dist/types/components/shared/icons/types.d.ts +4 -0
- package/dist/types/components/shared/icons/user-round.d.ts +3 -0
- package/dist/types/components/shared/navigation/base-navbar.d.ts +4 -0
- package/dist/types/components/shared/navigation/sub-navbar.d.ts +7 -0
- package/dist/types/components/token-badge-icon.d.ts +7 -0
- package/dist/types/components/token-list-item.d.ts +14 -0
- package/dist/types/components/view-container.d.ts +2 -0
- package/dist/types/constants.d.ts +2 -0
- package/dist/types/hooks/ui/useMainCTAButtonState.d.ts +9 -0
- package/dist/types/hooks/use-auto-select-token.d.ts +2 -0
- package/dist/types/hooks/use-deposit-route.d.ts +8 -0
- package/dist/types/hooks/use-token-selection.d.ts +6 -0
- package/dist/types/hooks/use-transaction-history.d.ts +7 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/services/assets-service.d.ts +7 -0
- package/dist/types/services/wallet-history/format.d.ts +11 -0
- package/dist/types/services/wallet-history/format.test.d.ts +2 -0
- package/dist/types/services/wallet-history/get-main-explorer-url.d.ts +24 -0
- package/dist/types/services/wallet-history/get-wallet-history.d.ts +3 -0
- package/dist/types/services/wallet-history/types.d.ts +67 -0
- package/dist/types/services/wallet-history/validation.d.ts +3 -0
- package/dist/types/store/use-deposit-store.d.ts +10 -0
- package/dist/types/store/use-input-mode.d.ts +6 -0
- package/dist/types/store/useRouter.d.ts +13 -0
- package/dist/types/types.d.ts +44 -0
- package/dist/types/utils/format-date.d.ts +3 -0
- package/dist/types/utils/format-date.test.d.ts +2 -0
- package/dist/types/utils/transaction.d.ts +11 -0
- package/dist/types/views/connect-wallet/connect-wallet-view.d.ts +7 -0
- package/dist/types/views/connect-wallet/wallet-list-item.d.ts +10 -0
- package/dist/types/views/main/amount-input.d.ts +11 -0
- package/dist/types/views/main/connect-prompt.d.ts +2 -0
- package/dist/types/views/main/deposit-amount-input.d.ts +2 -0
- package/dist/types/views/main/deposit-form.d.ts +2 -0
- package/dist/types/views/main/main-cta-button.d.ts +2 -0
- package/dist/types/views/main/main-view.d.ts +2 -0
- package/dist/types/views/main/navbar/actions.d.ts +2 -0
- package/dist/types/views/main/navbar/icon.d.ts +2 -0
- package/dist/types/views/main/navbar/navbar.d.ts +2 -0
- package/dist/types/views/main/navbar/title.d.ts +11 -0
- package/dist/types/views/main/recipient/account.d.ts +15 -0
- package/dist/types/views/main/recipient/recipient.d.ts +2 -0
- package/dist/types/views/main/token-selector.d.ts +2 -0
- package/dist/types/views/qr-code.d.ts +2 -0
- package/dist/types/views/render-view.d.ts +4 -0
- package/dist/types/views/select-chain/chain-type-meta.d.ts +8 -0
- package/dist/types/views/select-chain/select-chain-view.d.ts +7 -0
- package/dist/types/views/select-token.d.ts +2 -0
- package/dist/types/views/transaction-history/activity-list-item.d.ts +5 -0
- package/dist/types/views/transaction-history/transaction-history-view.d.ts +2 -0
- package/dist/types/views/transaction-progress/helpers.d.ts +15 -0
- package/dist/types/views/transaction-progress/transaction-progress-view.d.ts +2 -0
- package/dist/types/views/transaction-progress/use-transaction-progress.d.ts +18 -0
- package/package.json +102 -0
package/package.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@0xsquid/deposit-widget",
|
|
3
|
+
"description": "Squid deposit widget",
|
|
4
|
+
"version": "0.0.2-beta.0",
|
|
5
|
+
"author": "",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/0xsquid/squid-deposit-widget.git"
|
|
11
|
+
},
|
|
12
|
+
"main": "dist/cjs/index.cjs",
|
|
13
|
+
"module": "dist/index.esm.js",
|
|
14
|
+
"types": "dist/types/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/types/index.d.ts",
|
|
18
|
+
"import": "./dist/index.esm.js",
|
|
19
|
+
"require": "./dist/cjs/index.cjs"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"!dist/**/*.d.ts.map"
|
|
28
|
+
],
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "yarn build-css && rollup -c",
|
|
31
|
+
"build-css": "tailwindcss -i ./src/tailwind.css -o ./src/compiled-tailwind.css",
|
|
32
|
+
"dev": "tailwindcss -i ./src/tailwind.css -o ./src/compiled-tailwind.css --watch",
|
|
33
|
+
"check-types": "tsc --noEmit",
|
|
34
|
+
"lint": "eslint",
|
|
35
|
+
"format": "prettier --write .",
|
|
36
|
+
"test": "vitest run",
|
|
37
|
+
"release": "release-it",
|
|
38
|
+
"release:pre": "release-it --preRelease=beta",
|
|
39
|
+
"release:ci": "release-it --ci",
|
|
40
|
+
"release:dry": "release-it --dry-run"
|
|
41
|
+
},
|
|
42
|
+
"release-it": {
|
|
43
|
+
"plugins": {
|
|
44
|
+
"@release-it/conventional-changelog": {
|
|
45
|
+
"preset": {
|
|
46
|
+
"name": "conventionalcommits"
|
|
47
|
+
},
|
|
48
|
+
"infile": "CHANGELOG.md"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"github": {
|
|
52
|
+
"release": true,
|
|
53
|
+
"tokenRef": "GITHUB_AUTH"
|
|
54
|
+
},
|
|
55
|
+
"git": {
|
|
56
|
+
"tagName": "v${version}",
|
|
57
|
+
"pushRepo": "https://github.com/0xsquid/squid-deposit-widget.git",
|
|
58
|
+
"commitMessage": "chore: branch cut release for deposit-widget v${version}",
|
|
59
|
+
"requireBranch": "release/*"
|
|
60
|
+
},
|
|
61
|
+
"npm": {
|
|
62
|
+
"publish": false
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"@0xsquid/react-hooks": "8.7.2-beta-interactive-to-amount.2",
|
|
67
|
+
"@0xsquid/ui": "3.4.0",
|
|
68
|
+
"fuse.js": "7.1.0",
|
|
69
|
+
"react-window": "2.2.7",
|
|
70
|
+
"zustand": "4.5.4"
|
|
71
|
+
},
|
|
72
|
+
"peerDependencies": {
|
|
73
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
74
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@0xsquid/eslint-config": "*",
|
|
78
|
+
"@0xsquid/squid-types": "0.1.220",
|
|
79
|
+
"@0xsquid/typescript-config": "*",
|
|
80
|
+
"@rollup/plugin-commonjs": "28.0.0",
|
|
81
|
+
"@rollup/plugin-node-resolve": "15.0.0",
|
|
82
|
+
"@rollup/plugin-typescript": "12.0.0",
|
|
83
|
+
"@types/react": "^18.3.0",
|
|
84
|
+
"@types/react-dom": "^18.3.0",
|
|
85
|
+
"@types/react-window": "2.0.0",
|
|
86
|
+
"@release-it/conventional-changelog": "8.0.2-next.0",
|
|
87
|
+
"autoprefixer": "10.4.20",
|
|
88
|
+
"postcss": "8.4.0",
|
|
89
|
+
"postcss-nested": "6.2.0",
|
|
90
|
+
"postcss-url": "10.1.3",
|
|
91
|
+
"react": "^18.3.0",
|
|
92
|
+
"react-dom": "^18.3.0",
|
|
93
|
+
"release-it": "16.3.0",
|
|
94
|
+
"rollup": "4.59.0",
|
|
95
|
+
"rollup-plugin-dts": "6.0.0",
|
|
96
|
+
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
97
|
+
"rollup-plugin-postcss": "4.0.2",
|
|
98
|
+
"tailwindcss": "3.4.1",
|
|
99
|
+
"typescript": "5.9.2",
|
|
100
|
+
"vitest": "2.1.9"
|
|
101
|
+
}
|
|
102
|
+
}
|