@skip-go/widget 1.1.0 → 1.1.1-alpha.1
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 +132 -159
- package/build/hooks/use-fix-radix-ui-wheel-event.d.ts +1 -0
- package/build/hooks/use-inject-fonts-to-document-head.d.ts +1 -0
- package/build/index.d.ts +0 -1
- package/build/index.es.js +178 -94
- package/build/index.es.js.map +1 -1
- package/build/styles/fonts.d.ts +1 -0
- package/build/ui/Widget.d.ts +1 -1
- package/build/ui/index.d.ts +2 -2
- package/package.json +5 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const fonts: string;
|
package/build/ui/Widget.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SwapWidgetUI: ({ className,
|
|
1
|
+
export declare const SwapWidgetUI: ({ className, style, }: Pick<React.HTMLAttributes<HTMLDivElement>, 'className' | 'style'>) => import("react/jsx-runtime").JSX.Element;
|
package/build/ui/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { SwapWidgetProviderProps } from '../provider';
|
|
2
3
|
import { ConfigureSwapWidgetArgs } from '../store/swap-widget';
|
|
3
|
-
export
|
|
4
|
-
}
|
|
4
|
+
export type SwapWidgetProps = Pick<React.HTMLAttributes<HTMLDivElement>, 'className' | 'style'> & ConfigureSwapWidgetArgs & Partial<SwapWidgetProviderProps>;
|
|
5
5
|
export declare const SwapWidget: React.FC<SwapWidgetProps>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skip-go/widget",
|
|
3
3
|
"description": "Swap widget",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.1-alpha.1",
|
|
5
5
|
"repository": "https://github.com/skip-mev/widget",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"@heroicons/react": "^2.1.3",
|
|
54
54
|
"@injectivelabs/utils": "1.14.6",
|
|
55
55
|
"@interchain-ui/react": "^1.23.13",
|
|
56
|
+
"@kev1n-peters/vite-plugin-node-polyfills": "^0.17.4",
|
|
56
57
|
"@r2wc/react-to-web-component": "^2.0.3",
|
|
57
58
|
"@radix-ui/colors": "^3.0.0",
|
|
58
59
|
"@radix-ui/react-accordion": "^1.1.2",
|
|
@@ -61,7 +62,7 @@
|
|
|
61
62
|
"@radix-ui/react-scroll-area": "^1.0.5",
|
|
62
63
|
"@radix-ui/react-switch": "^1.0.3",
|
|
63
64
|
"@radix-ui/react-tooltip": "^1.0.7",
|
|
64
|
-
"@skip-go/core": "0.
|
|
65
|
+
"@skip-go/core": "0.3.0",
|
|
65
66
|
"@solana/spl-token": "^0.4.6",
|
|
66
67
|
"@solana/wallet-adapter-react": "^0.15.35",
|
|
67
68
|
"@solana/wallet-adapter-wallets": "^0.19.32",
|
|
@@ -72,6 +73,8 @@
|
|
|
72
73
|
"match-sorter": "^6.3.4",
|
|
73
74
|
"react-hot-toast": "^2.4.1",
|
|
74
75
|
"react-icons": "^5.2.1",
|
|
76
|
+
"react-shadow-scope": "^1.0.5",
|
|
77
|
+
"rollup-plugin-node-globals": "^1.4.0",
|
|
75
78
|
"tailwind-merge": "^2.3.0",
|
|
76
79
|
"viem": "2.x",
|
|
77
80
|
"wagmi": "2.x",
|