@gearbox-protocol/ui-kit 3.11.0 → 3.11.2-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.
@@ -21,6 +21,8 @@ export declare function poolColumn<P extends PoolDTO = PoolDTO, T extends TokenM
21
21
  renderDescription?: (ctx: PoolTableCellContext<P, T>) => React.ReactNode;
22
22
  /** Custom pool name formatter. Defaults to "TOKEN vN" for v3 pools. */
23
23
  getPoolName?: (ctx: PoolTableCellContext<P, T>) => string;
24
+ /** Tooltip content for RWA pool icon wrapper. */
25
+ rwaTooltip?: React.ReactNode;
24
26
  width?: string;
25
27
  }): PoolTableColumnDef<P, T, S>;
26
28
  /**
@@ -39,6 +39,8 @@ export interface PoolDTO {
39
39
  poolTokenSymbol?: string;
40
40
  /** Whether this pool has active points/rewards (shows indicator icon). */
41
41
  hasPoints?: boolean;
42
+ /** Visual pool theme used by PoolTable components. */
43
+ poolType?: "common" | "rwa";
42
44
  }
43
45
  export interface PoolApyDTO {
44
46
  totalAPY: number;
@@ -90,6 +90,7 @@ export * from './progress-circle';
90
90
  export * from './radio-group';
91
91
  export * from './rounded-image';
92
92
  export * from './row';
93
+ export * from './rwa-styles';
93
94
  export * from './search-bar';
94
95
  export * from './search-line';
95
96
  export * from './segmented-control';
@@ -0,0 +1,2 @@
1
+ export declare const RWA_GRADIENT_BORDER_CLASS: string;
2
+ export declare const RWA_POOL_ROW_HOVER_WRAPPER_CLASS = "[&_.grid.grid-cols-subgrid.col-span-full:has([data-rwa-pool-marker='true'])>*]:before:bg-[#7fc8ea]/40";
@@ -89,6 +89,7 @@ export * from './components/progress-circle';
89
89
  export * from './components/radio-group';
90
90
  export * from './components/rounded-image';
91
91
  export * from './components/row';
92
+ export * from './components/rwa-styles';
92
93
  export * from './components/search-bar';
93
94
  export * from './components/search-line';
94
95
  export * from './components/segmented-control';
@@ -8,7 +8,7 @@ export interface LastSyncBlock {
8
8
  export interface BlockByChain {
9
9
  [chainId: number]: {
10
10
  lastSyncBlock: LastSyncBlock;
11
- };
11
+ } | undefined;
12
12
  }
13
13
  export interface ExplorerInfo {
14
14
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/ui-kit",
3
- "version": "3.11.0",
3
+ "version": "3.11.2-next.1",
4
4
  "description": "Internal UI components",
5
5
  "repository": "https://github.com/gearbox-protocol/ui-kit",
6
6
  "license": "MIT",