@loafmarkets/ui 0.1.53 → 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 +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +844 -609
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +829 -594
- 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
|
|
@@ -202,6 +204,8 @@ type PropertyNewsItem = {
|
|
|
202
204
|
type?: PropertyNewsType;
|
|
203
205
|
displayId?: string;
|
|
204
206
|
isNew?: boolean;
|
|
207
|
+
source?: string;
|
|
208
|
+
url?: string;
|
|
205
209
|
};
|
|
206
210
|
type PurchaseFeedItem = {
|
|
207
211
|
id: string;
|
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
|
|
@@ -202,6 +204,8 @@ type PropertyNewsItem = {
|
|
|
202
204
|
type?: PropertyNewsType;
|
|
203
205
|
displayId?: string;
|
|
204
206
|
isNew?: boolean;
|
|
207
|
+
source?: string;
|
|
208
|
+
url?: string;
|
|
205
209
|
};
|
|
206
210
|
type PurchaseFeedItem = {
|
|
207
211
|
id: string;
|