@loafmarkets/ui 0.1.55 → 0.1.56
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/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +715 -600
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +700 -585
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -95,6 +95,8 @@ interface OrderbookProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
95
95
|
}[];
|
|
96
96
|
/** When true, render skeleton placeholders in place of ask/bid rows and mid price. */
|
|
97
97
|
isLoading?: boolean;
|
|
98
|
+
/** Called when the user clicks a price level row — useful for populating a limit price input. */
|
|
99
|
+
onPriceClick?: (price: number) => void;
|
|
98
100
|
/**
|
|
99
101
|
* Called when the Loaf Liquidity badge in the right header is clicked. Consumers
|
|
100
102
|
* typically wire this to route to the Loaf Liquidity marketing page. Ignored if
|
package/dist/index.d.ts
CHANGED
|
@@ -95,6 +95,8 @@ interface OrderbookProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
95
95
|
}[];
|
|
96
96
|
/** When true, render skeleton placeholders in place of ask/bid rows and mid price. */
|
|
97
97
|
isLoading?: boolean;
|
|
98
|
+
/** Called when the user clicks a price level row — useful for populating a limit price input. */
|
|
99
|
+
onPriceClick?: (price: number) => void;
|
|
98
100
|
/**
|
|
99
101
|
* Called when the Loaf Liquidity badge in the right header is clicked. Consumers
|
|
100
102
|
* typically wire this to route to the Loaf Liquidity marketing page. Ignored if
|