@gearbox-protocol/ui-kit 2.1.0-next.1 → 3.1.0-next.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
CHANGED
|
@@ -96,7 +96,7 @@ function MyComponent() {
|
|
|
96
96
|
### Next.js optimized
|
|
97
97
|
|
|
98
98
|
```tsx
|
|
99
|
-
import { TokenIcon, BackButton } from '@gearbox-protocol/ui-kit/next';
|
|
99
|
+
import { TokenIcon, BackButton, SIWEClientProvider } from '@gearbox-protocol/ui-kit/next';
|
|
100
100
|
|
|
101
101
|
// Uses Next.js Image, Link and useRouter
|
|
102
102
|
<TokenIcon symbol="ETH" size={48} />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SelectFilterList } from './interface';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
/**
|
|
4
|
-
* FilterModal component - a wrapper for filter modals using ui-kit Dialog
|
|
4
|
+
* FilterModal component - a wrapper for filter modals using @gearbox-protocol/ui-kit Dialog
|
|
5
5
|
*
|
|
6
6
|
* This component provides a complete modal interface for selecting multiple filter options
|
|
7
7
|
* with checkbox-like behavior. It manages the modal state and provides callbacks for
|
|
@@ -58,7 +58,7 @@ export interface SimpleAccordionProps {
|
|
|
58
58
|
/**
|
|
59
59
|
* `SimpleAccordion` — a single-component accordion that mirrors the
|
|
60
60
|
* Accordion API from `../interface` while reusing the base Accordion
|
|
61
|
-
* primitives from ui-kit.
|
|
61
|
+
* primitives from @gearbox-protocol/ui-kit.
|
|
62
62
|
*
|
|
63
63
|
* Uses `SimpleAccordionItem` for individual expandable sections.
|
|
64
64
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/ui-kit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0-next.1",
|
|
4
4
|
"description": "Internal UI components",
|
|
5
|
+
"repository": "https://github.com/gearbox-protocol/ui-kit",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"main": "./dist/cjs/index.cjs",
|
|
7
8
|
"module": "./dist/esm/index.js",
|
|
@@ -214,5 +215,15 @@
|
|
|
214
215
|
"Firefox >= 80",
|
|
215
216
|
"Safari >= 13",
|
|
216
217
|
"Edge >= 80"
|
|
217
|
-
]
|
|
218
|
+
],
|
|
219
|
+
"pnpm": {
|
|
220
|
+
"onlyBuiltDependencies": [
|
|
221
|
+
"bufferutil",
|
|
222
|
+
"esbuild",
|
|
223
|
+
"keccak",
|
|
224
|
+
"secp256k1",
|
|
225
|
+
"sharp",
|
|
226
|
+
"utf-8-validate"
|
|
227
|
+
]
|
|
228
|
+
}
|
|
218
229
|
}
|