@loafmarkets/ui 0.1.28 → 0.1.30

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.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import * as React from 'react';
2
+ import * as React$1 from 'react';
3
3
  import React__default from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -10,39 +10,39 @@ declare const buttonVariants: (props?: ({
10
10
  size?: "sm" | "md" | "lg" | "icon" | null | undefined;
11
11
  radius?: "md" | "pill" | "square" | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string;
13
- interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
13
+ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
14
14
  asChild?: boolean;
15
15
  }
16
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
16
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
17
17
 
18
18
  declare const badgeVariants: (props?: ({
19
19
  variant?: "outline" | "default" | "muted" | "success" | "active" | "pending" | "rejected" | null | undefined;
20
20
  size?: "sm" | "md" | null | undefined;
21
21
  } & class_variance_authority_types.ClassProp) | undefined) => string;
22
- interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
22
+ interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
23
23
  }
24
- declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
24
+ declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
25
25
 
26
- interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
26
+ interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
27
27
  }
28
- declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
29
- interface CardHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
28
+ declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
29
+ interface CardHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
30
30
  }
31
- declare const CardHeader: React.ForwardRefExoticComponent<CardHeaderProps & React.RefAttributes<HTMLDivElement>>;
32
- interface CardTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
31
+ declare const CardHeader: React$1.ForwardRefExoticComponent<CardHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
32
+ interface CardTitleProps extends React$1.HTMLAttributes<HTMLHeadingElement> {
33
33
  }
34
- declare const CardTitle: React.ForwardRefExoticComponent<CardTitleProps & React.RefAttributes<HTMLHeadingElement>>;
35
- interface CardDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
34
+ declare const CardTitle: React$1.ForwardRefExoticComponent<CardTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
35
+ interface CardDescriptionProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
36
36
  }
37
- declare const CardDescription: React.ForwardRefExoticComponent<CardDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
38
- interface CardContentProps extends React.HTMLAttributes<HTMLDivElement> {
37
+ declare const CardDescription: React$1.ForwardRefExoticComponent<CardDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
38
+ interface CardContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
39
39
  }
40
- declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLDivElement>>;
41
- interface CardFooterProps extends React.HTMLAttributes<HTMLDivElement> {
40
+ declare const CardContent: React$1.ForwardRefExoticComponent<CardContentProps & React$1.RefAttributes<HTMLDivElement>>;
41
+ interface CardFooterProps extends React$1.HTMLAttributes<HTMLDivElement> {
42
42
  }
43
- declare const CardFooter: React.ForwardRefExoticComponent<CardFooterProps & React.RefAttributes<HTMLDivElement>>;
43
+ declare const CardFooter: React$1.ForwardRefExoticComponent<CardFooterProps & React$1.RefAttributes<HTMLDivElement>>;
44
44
 
45
- interface PortfolioSummaryProps extends React.HTMLAttributes<HTMLDivElement> {
45
+ interface PortfolioSummaryProps extends React$1.HTMLAttributes<HTMLDivElement> {
46
46
  availableCash: number;
47
47
  portfolioValue: number;
48
48
  totalReturnPercent: number;
@@ -53,9 +53,9 @@ interface PortfolioSummaryProps extends React.HTMLAttributes<HTMLDivElement> {
53
53
  formatCurrency?: (value: number) => string;
54
54
  formatPercent?: (value: number) => string;
55
55
  formatSignedCurrency?: (value: number) => string;
56
- children?: React.ReactNode;
56
+ children?: React$1.ReactNode;
57
57
  }
58
- declare const PortfolioSummary: React.ForwardRefExoticComponent<PortfolioSummaryProps & React.RefAttributes<HTMLDivElement>>;
58
+ declare const PortfolioSummary: React$1.ForwardRefExoticComponent<PortfolioSummaryProps & React$1.RefAttributes<HTMLDivElement>>;
59
59
 
60
60
  type OrderbookSide = "ask" | "bid";
61
61
  type OrderbookLevel = {
@@ -70,7 +70,7 @@ type OrderbookTrade = {
70
70
  time?: string;
71
71
  tradeId?: number;
72
72
  };
73
- interface OrderbookProps extends React.HTMLAttributes<HTMLDivElement> {
73
+ interface OrderbookProps extends React$1.HTMLAttributes<HTMLDivElement> {
74
74
  asks: OrderbookLevel[];
75
75
  bids: OrderbookLevel[];
76
76
  midPrice: number;
@@ -82,10 +82,10 @@ interface OrderbookProps extends React.HTMLAttributes<HTMLDivElement> {
82
82
  amountPrecision?: number;
83
83
  defaultTab?: "orderbook" | "trades";
84
84
  onTabChange?: (tab: "orderbook" | "trades") => void;
85
- rightHeader?: React.ReactNode;
85
+ rightHeader?: React$1.ReactNode;
86
86
  variant?: "auto" | "default" | "compact";
87
87
  }
88
- declare const Orderbook: React.ForwardRefExoticComponent<OrderbookProps & React.RefAttributes<HTMLDivElement>>;
88
+ declare const Orderbook: React$1.ForwardRefExoticComponent<OrderbookProps & React$1.RefAttributes<HTMLDivElement>>;
89
89
 
90
90
  type HousePositionPendingOrder = {
91
91
  type: "buy" | "sell";
@@ -109,7 +109,7 @@ type HousePositionOrderbook = {
109
109
  bids?: OrderbookLevel[];
110
110
  asks?: OrderbookLevel[];
111
111
  };
112
- interface HousePositionSliderProps extends React.HTMLAttributes<HTMLDivElement> {
112
+ interface HousePositionSliderProps extends React$1.HTMLAttributes<HTMLDivElement> {
113
113
  tokenId: string;
114
114
  tokenSymbol: string;
115
115
  totalTokens: number;
@@ -140,7 +140,7 @@ type HousePositionSliderMobileOrderbook = {
140
140
  bids?: OrderbookLevel[];
141
141
  asks?: OrderbookLevel[];
142
142
  };
143
- interface HousePositionSliderMobileProps extends React.HTMLAttributes<HTMLDivElement> {
143
+ interface HousePositionSliderMobileProps extends React$1.HTMLAttributes<HTMLDivElement> {
144
144
  tokenId: string;
145
145
  tokenSymbol: string;
146
146
  totalTokens: number;
@@ -154,7 +154,7 @@ interface HousePositionSliderMobileProps extends React.HTMLAttributes<HTMLDivEle
154
154
  }
155
155
  declare function HousePositionSliderMobile({ tokenId, tokenSymbol, totalTokens, currentPrice, availableCash, tokensHeld, defaultOrderType, orderbook, ownershipPercentOverride, onConfirmOrder, className, ...props }: HousePositionSliderMobileProps): react_jsx_runtime.JSX.Element;
156
156
 
157
- type PropertyTourProps = Omit<React.ComponentPropsWithoutRef<typeof Card>, "title"> & {
157
+ type PropertyTourProps = Omit<React$1.ComponentPropsWithoutRef<typeof Card>, "title"> & {
158
158
  title: string;
159
159
  src: string;
160
160
  poster?: string;
@@ -164,7 +164,7 @@ type PropertyTourProps = Omit<React.ComponentPropsWithoutRef<typeof Card>, "titl
164
164
  controls?: boolean;
165
165
  playsInline?: boolean;
166
166
  };
167
- declare const PropertyTour: React.ForwardRefExoticComponent<Omit<Omit<CardProps & React.RefAttributes<HTMLDivElement>, "ref">, "title"> & {
167
+ declare const PropertyTour: React$1.ForwardRefExoticComponent<Omit<Omit<CardProps & React$1.RefAttributes<HTMLDivElement>, "ref">, "title"> & {
168
168
  title: string;
169
169
  src: string;
170
170
  poster?: string;
@@ -173,7 +173,7 @@ declare const PropertyTour: React.ForwardRefExoticComponent<Omit<Omit<CardProps
173
173
  loop?: boolean;
174
174
  controls?: boolean;
175
175
  playsInline?: boolean;
176
- } & React.RefAttributes<HTMLDivElement>>;
176
+ } & React$1.RefAttributes<HTMLDivElement>>;
177
177
 
178
178
  type PropertyNewsType = "property" | "market" | (string & {});
179
179
  type PropertyNewsItem = {
@@ -184,16 +184,28 @@ type PropertyNewsItem = {
184
184
  displayId?: string;
185
185
  isNew?: boolean;
186
186
  };
187
- interface PropertyNewsUpdatesProps extends React.HTMLAttributes<HTMLDivElement> {
187
+ type PurchaseFeedItem = {
188
+ id: string;
189
+ name: string;
190
+ amount: number;
191
+ timestamp: string;
192
+ };
193
+ interface PropertyNewsUpdatesProps extends React$1.HTMLAttributes<HTMLDivElement> {
188
194
  items: PropertyNewsItem[];
189
195
  heading?: string;
190
196
  subheading?: string;
191
- emptyState?: React.ReactNode;
197
+ emptyState?: React$1.ReactNode;
192
198
  highlightFirst?: boolean;
199
+ /** "default" = trade/IPO pages, "home" = compact home page style, "purchases" = live purchase feed */
200
+ variant?: "default" | "home" | "purchases";
201
+ purchases?: PurchaseFeedItem[];
202
+ /** Home variant: "View All" link */
203
+ viewAllHref?: string;
204
+ viewAllLabel?: string;
193
205
  }
194
- declare const PropertyNewsUpdates: React.ForwardRefExoticComponent<PropertyNewsUpdatesProps & React.RefAttributes<HTMLDivElement>>;
206
+ declare const PropertyNewsUpdates: React$1.ForwardRefExoticComponent<PropertyNewsUpdatesProps & React$1.RefAttributes<HTMLDivElement>>;
195
207
 
196
- type RangeInputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "type">;
208
+ type RangeInputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "type">;
197
209
  interface TradingSliderProps extends RangeInputProps {
198
210
  /**
199
211
  * Controlled slider value
@@ -206,7 +218,7 @@ interface TradingSliderProps extends RangeInputProps {
206
218
  /**
207
219
  * Fires whenever the thumb value changes
208
220
  */
209
- onValueChange?: (value: number, event: React.ChangeEvent<HTMLInputElement>) => void;
221
+ onValueChange?: (value: number, event: React$1.ChangeEvent<HTMLInputElement>) => void;
210
222
  /**
211
223
  * Label displayed on top of the slider card
212
224
  */
@@ -218,7 +230,7 @@ interface TradingSliderProps extends RangeInputProps {
218
230
  /**
219
231
  * Custom formatter for the highlighted value on the right
220
232
  */
221
- formatValue?: (value: number) => React.ReactNode;
233
+ formatValue?: (value: number) => React$1.ReactNode;
222
234
  /**
223
235
  * Text shown next to the minimum tick
224
236
  */
@@ -232,23 +244,23 @@ interface TradingSliderProps extends RangeInputProps {
232
244
  */
233
245
  accentColor?: string;
234
246
  }
235
- declare const TradingSlider: React.ForwardRefExoticComponent<TradingSliderProps & React.RefAttributes<HTMLInputElement>>;
247
+ declare const TradingSlider: React$1.ForwardRefExoticComponent<TradingSliderProps & React$1.RefAttributes<HTMLInputElement>>;
236
248
 
237
249
  type MobileTradeNavItem = {
238
250
  id: string;
239
251
  label: string;
240
- icon?: React.ReactNode;
252
+ icon?: React$1.ReactNode;
241
253
  };
242
- type MobileTradeNavProps = React.HTMLAttributes<HTMLDivElement> & {
254
+ type MobileTradeNavProps = React$1.HTMLAttributes<HTMLDivElement> & {
243
255
  items: MobileTradeNavItem[];
244
256
  activeId: string;
245
257
  onChange?: (itemId: string) => void;
246
258
  };
247
- declare const MobileTradeNav: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
259
+ declare const MobileTradeNav: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
248
260
  items: MobileTradeNavItem[];
249
261
  activeId: string;
250
262
  onChange?: (itemId: string) => void;
251
- } & React.RefAttributes<HTMLDivElement>>;
263
+ } & React$1.RefAttributes<HTMLDivElement>>;
252
264
 
253
265
  type TradeConfirmationModalDetails = {
254
266
  type: 'buy' | 'sell';
@@ -274,19 +286,19 @@ type TradeConfirmationModalProps = {
274
286
  rememberChoiceLabel?: string;
275
287
  onRememberChoiceChange?: (checked: boolean) => void;
276
288
  };
277
- declare function TradeConfirmationModal({ isOpen, onClose, onConfirm, orderDetails, className, estimatedFeeUsd: _estimatedFeeUsd, estimatedFeeBps: _estimatedFeeBps, totalWithFeesUsd, confirmDisabled, confirmLoading, rememberChoiceChecked, rememberChoiceLabel, onRememberChoiceChange, }: TradeConfirmationModalProps): React.ReactElement | null;
289
+ declare function TradeConfirmationModal({ isOpen, onClose, onConfirm, orderDetails, className, estimatedFeeUsd: _estimatedFeeUsd, estimatedFeeBps: _estimatedFeeBps, totalWithFeesUsd, confirmDisabled, confirmLoading, rememberChoiceChecked, rememberChoiceLabel, onRememberChoiceChange, }: TradeConfirmationModalProps): React$1.ReactElement | null;
278
290
 
279
- interface LoafLiquidityBadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
291
+ interface LoafLiquidityBadgeProps extends React$1.HTMLAttributes<HTMLSpanElement> {
280
292
  isGlowing?: boolean;
281
293
  }
282
- declare const LoafLiquidityBadge: React.ForwardRefExoticComponent<LoafLiquidityBadgeProps & React.RefAttributes<HTMLSpanElement>>;
294
+ declare const LoafLiquidityBadge: React$1.ForwardRefExoticComponent<LoafLiquidityBadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
283
295
 
284
296
  type LoafLiquidityLogoProps = {
285
297
  onClick?: () => void;
286
298
  isGlowing?: boolean;
287
299
  className?: string;
288
300
  };
289
- declare const LoafLiquidityLogo: React.FC<LoafLiquidityLogoProps>;
301
+ declare const LoafLiquidityLogo: React$1.FC<LoafLiquidityLogoProps>;
290
302
 
291
303
  type YourOrderSide = "buy" | "sell";
292
304
  type YourOrder = {
@@ -331,26 +343,26 @@ type RenderTabContentArgs = {
331
343
  pageSize: number;
332
344
  onPageChange: (page: number) => void;
333
345
  };
334
- type YourOrdersProps = React.HTMLAttributes<HTMLDivElement> & {
346
+ type YourOrdersProps = React$1.HTMLAttributes<HTMLDivElement> & {
335
347
  title?: string;
336
348
  orders?: YourOrder[];
337
349
  tabs?: YourOrdersTab[];
338
350
  activeTabId?: string;
339
351
  onTabChange?: (tabId: string) => void;
340
- renderOrderActions?: (order: YourOrder) => React.ReactNode;
341
- renderTabContent?: (args: RenderTabContentArgs) => React.ReactNode | null;
352
+ renderOrderActions?: (order: YourOrder) => React$1.ReactNode;
353
+ renderTabContent?: (args: RenderTabContentArgs) => React$1.ReactNode | null;
342
354
  pageSize?: number;
343
355
  };
344
- declare const YourOrders: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
356
+ declare const YourOrders: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
345
357
  title?: string;
346
358
  orders?: YourOrder[];
347
359
  tabs?: YourOrdersTab[];
348
360
  activeTabId?: string;
349
361
  onTabChange?: (tabId: string) => void;
350
- renderOrderActions?: (order: YourOrder) => React.ReactNode;
351
- renderTabContent?: (args: RenderTabContentArgs) => React.ReactNode | null;
362
+ renderOrderActions?: (order: YourOrder) => React$1.ReactNode;
363
+ renderTabContent?: (args: RenderTabContentArgs) => React$1.ReactNode | null;
352
364
  pageSize?: number;
353
- } & React.RefAttributes<HTMLDivElement>>;
365
+ } & React$1.RefAttributes<HTMLDivElement>>;
354
366
 
355
367
  type PriceChartRange = "30s" | "1m" | "5m" | "15m" | "1h" | "4h" | "24h" | "1W" | "1M";
356
368
  type PriceChartCandle = {
@@ -360,7 +372,7 @@ type PriceChartCandle = {
360
372
  low: number;
361
373
  close: number;
362
374
  };
363
- type PriceChartProps = Omit<React.ComponentPropsWithoutRef<typeof Card>, "title"> & {
375
+ type PriceChartProps = Omit<React$1.ComponentPropsWithoutRef<typeof Card>, "title"> & {
364
376
  title?: string;
365
377
  ranges?: PriceChartRange[];
366
378
  selectedRange?: PriceChartRange;
@@ -371,7 +383,7 @@ type PriceChartProps = Omit<React.ComponentPropsWithoutRef<typeof Card>, "title"
371
383
  currencySymbol?: string;
372
384
  height?: number;
373
385
  };
374
- declare const PriceChart: React.ForwardRefExoticComponent<Omit<Omit<CardProps & React.RefAttributes<HTMLDivElement>, "ref">, "title"> & {
386
+ declare const PriceChart: React$1.ForwardRefExoticComponent<Omit<Omit<CardProps & React$1.RefAttributes<HTMLDivElement>, "ref">, "title"> & {
375
387
  title?: string;
376
388
  ranges?: PriceChartRange[];
377
389
  selectedRange?: PriceChartRange;
@@ -381,9 +393,9 @@ declare const PriceChart: React.ForwardRefExoticComponent<Omit<Omit<CardProps &
381
393
  changePercent?: number;
382
394
  currencySymbol?: string;
383
395
  height?: number;
384
- } & React.RefAttributes<HTMLDivElement>>;
396
+ } & React$1.RefAttributes<HTMLDivElement>>;
385
397
 
386
- type PropertyHeroHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
398
+ type PropertyHeroHeaderProps = React$1.HTMLAttributes<HTMLDivElement> & {
387
399
  imageUrl: string;
388
400
  imageAlt?: string;
389
401
  name: string;
@@ -401,8 +413,12 @@ type PropertyHeroHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
401
413
  makeOfferButtonLabel?: string;
402
414
  makeOfferDisabled?: boolean;
403
415
  hideMakeOfferButton?: boolean;
416
+ statusBadge?: {
417
+ label: string;
418
+ variant?: "live" | "default";
419
+ };
404
420
  };
405
- declare const PropertyHeroHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
421
+ declare const PropertyHeroHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
406
422
  imageUrl: string;
407
423
  imageAlt?: string;
408
424
  name: string;
@@ -420,7 +436,11 @@ declare const PropertyHeroHeader: React.ForwardRefExoticComponent<React.HTMLAttr
420
436
  makeOfferButtonLabel?: string;
421
437
  makeOfferDisabled?: boolean;
422
438
  hideMakeOfferButton?: boolean;
423
- } & React.RefAttributes<HTMLDivElement>>;
439
+ statusBadge?: {
440
+ label: string;
441
+ variant?: "live" | "default";
442
+ };
443
+ } & React$1.RefAttributes<HTMLDivElement>>;
424
444
 
425
445
  type EmailCodeParams = {
426
446
  email: string;
@@ -552,21 +572,21 @@ type PropertySubheaderTab = {
552
572
  type PropertySubheaderAction = {
553
573
  id: string;
554
574
  label: string;
555
- icon?: React.ReactNode;
575
+ icon?: React$1.ReactNode;
556
576
  onClick?: () => void;
557
577
  };
558
- type PropertySubheaderProps = React.HTMLAttributes<HTMLDivElement> & {
578
+ type PropertySubheaderProps = React$1.HTMLAttributes<HTMLDivElement> & {
559
579
  tabs: PropertySubheaderTab[];
560
580
  activeTabId: string;
561
581
  onTabChange?: (tabId: string) => void;
562
582
  actions?: PropertySubheaderAction[];
563
583
  };
564
- declare const PropertySubheader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
584
+ declare const PropertySubheader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
565
585
  tabs: PropertySubheaderTab[];
566
586
  activeTabId: string;
567
587
  onTabChange?: (tabId: string) => void;
568
588
  actions?: PropertySubheaderAction[];
569
- } & React.RefAttributes<HTMLDivElement>>;
589
+ } & React$1.RefAttributes<HTMLDivElement>>;
570
590
 
571
591
  type PropertyAddressOption = {
572
592
  id: string;
@@ -587,7 +607,7 @@ type PropertyPriceSummary = {
587
607
  formatOptions?: Intl.NumberFormatOptions;
588
608
  percentFormatOptions?: Intl.NumberFormatOptions;
589
609
  };
590
- type PropertyCompareBarProps = React.HTMLAttributes<HTMLDivElement> & {
610
+ type PropertyCompareBarProps = React$1.HTMLAttributes<HTMLDivElement> & {
591
611
  addresses: (PropertyAddressOption | string)[];
592
612
  selectedAddressId?: string;
593
613
  onSelectAddress?: (addressId: string) => void;
@@ -595,14 +615,19 @@ type PropertyCompareBarProps = React.HTMLAttributes<HTMLDivElement> & {
595
615
  propertyValueVariant?: "classic" | "card" | "pill";
596
616
  price?: PropertyPriceSummary;
597
617
  };
598
- declare const PropertyCompareBar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
618
+ declare const PropertyCompareBar: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
599
619
  addresses: (PropertyAddressOption | string)[];
600
620
  selectedAddressId?: string;
601
621
  onSelectAddress?: (addressId: string) => void;
602
622
  propertyValue?: PropertyValueSummary;
603
623
  propertyValueVariant?: "classic" | "card" | "pill";
604
624
  price?: PropertyPriceSummary;
605
- } & React.RefAttributes<HTMLDivElement>>;
625
+ } & React$1.RefAttributes<HTMLDivElement>>;
626
+
627
+ type GalleryCategory = {
628
+ name: string;
629
+ startIndex: number;
630
+ };
606
631
 
607
632
  interface OverviewResponse {
608
633
  readonly description: string;
@@ -624,19 +649,53 @@ interface OverviewResponse {
624
649
  readonly levels: number;
625
650
  readonly daStatus: string;
626
651
  }
652
+ interface OverviewImage {
653
+ readonly imageUrl: string;
654
+ readonly title: string;
655
+ readonly subtitle: string;
656
+ }
657
+ type FinancialItem = {
658
+ label: string;
659
+ value: string;
660
+ gold?: boolean;
661
+ badge?: string;
662
+ };
663
+ type PropertyInfoItem = {
664
+ label: string;
665
+ value: string;
666
+ status?: 'active' | 'progress';
667
+ };
627
668
  type PropertyOverviewProps = {
628
669
  propertyName: string;
629
670
  location: string;
630
671
  midPrice: number;
631
672
  onTradeClick?: () => void;
673
+ onPhotosClick?: (startIndex: number) => void;
674
+ description?: string;
675
+ tradeButtonLabel?: string;
676
+ rightPanelTitle?: string;
677
+ financialItems?: FinancialItem[];
678
+ images?: OverviewImage[];
679
+ galleryCategories?: GalleryCategory[];
680
+ videoUrl?: string;
681
+ tokenName?: string;
682
+ landSizeSqm?: number | null;
683
+ buildingSizeSqm?: number | null;
684
+ features?: {
685
+ icon?: React.ReactNode;
686
+ value?: string;
687
+ label: string;
688
+ }[];
689
+ propertyInfo?: PropertyInfoItem[];
632
690
  overviewData?: OverviewResponse | null;
633
- minimumParticipation?: number | null;
634
691
  bedrooms?: number | null;
635
692
  bathrooms?: number | null;
636
693
  carSpaces?: number | null;
637
694
  propertyTypeLabel?: string | null;
695
+ minimumParticipation?: number | null;
696
+ tokensIssued?: number | null;
638
697
  };
639
- declare function PropertyOverview({ propertyName: _propertyName, location: _location, midPrice: _midPrice, onTradeClick: _onTradeClick, overviewData, minimumParticipation, bedrooms, bathrooms, carSpaces, propertyTypeLabel, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
698
+ declare function PropertyOverview({ propertyName, location, midPrice, onTradeClick, onPhotosClick, description: descriptionProp, tradeButtonLabel, rightPanelTitle, financialItems: financialItemsProp, images, galleryCategories, videoUrl, tokenName, landSizeSqm: landProp, buildingSizeSqm: buildingProp, features: featuresProp, propertyInfo: propertyInfoProp, overviewData, bedrooms, bathrooms, carSpaces, propertyTypeLabel, tokensIssued: tokensIssuedProp, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
640
699
 
641
700
  type OfferStatus = 'active' | 'rejected' | 'expired' | 'historical' | 'pending';
642
701
  type PropertyOffer = {
@@ -690,6 +749,70 @@ type PropertyInspectionTimesProps = {
690
749
  };
691
750
  declare function PropertyInspectionTimes({ isAuthenticated, slots, loading, error, bookingSlotId, bookingStatus, bookingError, onBook, onRetry, onSignIn, }: PropertyInspectionTimesProps): react_jsx_runtime.JSX.Element;
692
751
 
752
+ type OrderSide = 'BUY' | 'SELL';
753
+ type OrderType = 'MARKET' | 'LIMIT';
754
+ type TimeInForce = 'GTC' | 'IOC' | 'FOK' | 'GTD';
755
+ type OrderStatus = 'OPEN' | 'PARTIALLY_FILLED' | 'FILLED' | 'CANCELLED' | 'REJECTED';
756
+ interface OfferingOrder {
757
+ readonly tokenName: string;
758
+ readonly txHash: string;
759
+ readonly price: number;
760
+ readonly quantity: number;
761
+ readonly status: string;
762
+ readonly imageUrl: string;
763
+ readonly createdAt: number;
764
+ }
765
+ interface OrderHistoryItem {
766
+ readonly id: number;
767
+ readonly propertyId: number;
768
+ readonly tokenName: string;
769
+ readonly side: OrderSide;
770
+ readonly type: OrderType;
771
+ readonly timeInForce: TimeInForce;
772
+ readonly quantity: number;
773
+ readonly price: number | null;
774
+ readonly status: OrderStatus;
775
+ readonly filledQuantity: number;
776
+ readonly rejectionReason: string | null;
777
+ readonly deadline: number;
778
+ readonly filledAt: number | null;
779
+ readonly cancelledAt: number | null;
780
+ readonly createdAt: number;
781
+ }
782
+ interface TradeHistoryItem {
783
+ readonly tradeId: number;
784
+ readonly propertyId: number;
785
+ readonly tokenName: string;
786
+ readonly txHash: string;
787
+ readonly side: OrderSide;
788
+ readonly quantity: number;
789
+ readonly price: number;
790
+ readonly executedAt: number;
791
+ readonly fee: number;
792
+ }
793
+ interface TransferHistoryItem {
794
+ readonly type: 'DEPOSIT' | 'WITHDRAWAL';
795
+ readonly amount: number;
796
+ readonly status: 'PENDING' | 'CONFIRMED' | 'REJECTED';
797
+ readonly blockchainTxHash: string | null;
798
+ readonly address: string;
799
+ readonly createdAt: number;
800
+ }
801
+ interface PortfolioPosition {
802
+ readonly propertyId: number;
803
+ readonly tokenName: string;
804
+ readonly quantity: number;
805
+ readonly totalTokens: number;
806
+ readonly averageEntryPrice: number;
807
+ readonly marketPrice: number;
808
+ readonly percentChange: number;
809
+ readonly percentOfPortfolio: number;
810
+ readonly propertyPnl: number;
811
+ readonly propertyPnlPercent: number;
812
+ readonly isIpoAllocation: boolean;
813
+ readonly imageUrl: string;
814
+ }
815
+
693
816
  type IpoStatus = 'PENDING' | 'LIVE' | 'CLOSED' | 'CANCELLED';
694
817
  type SaleData = {
695
818
  loading: boolean;
@@ -725,6 +848,7 @@ type PropertyBuyProps = {
725
848
  propertyLocation?: string;
726
849
  tokenDisplayName?: string;
727
850
  tokenSymbol?: string;
851
+ tokenName?: string;
728
852
  isAuthenticated: boolean;
729
853
  onSignIn: () => void;
730
854
  saleData?: SaleData | null;
@@ -739,8 +863,20 @@ type PropertyBuyProps = {
739
863
  isPrivateClient?: boolean;
740
864
  recentOrders?: readonly IpoRecentOrder[];
741
865
  ordersAllocated?: number;
866
+ subscribers?: number;
867
+ portfolioActivity?: {
868
+ positions?: readonly PortfolioPosition[];
869
+ onPositionClick?: (tokenName: string, isIpo: boolean) => void;
870
+ offeringOrders?: readonly OfferingOrder[];
871
+ openOrders?: readonly OrderHistoryItem[];
872
+ orderHistory?: readonly OrderHistoryItem[];
873
+ tradeHistory?: readonly TradeHistoryItem[];
874
+ transfers?: readonly TransferHistoryItem[];
875
+ onCancelOrder?: (orderId: number) => Promise<void>;
876
+ cancellingOrderId?: number | null;
877
+ };
742
878
  };
743
- declare function PropertyBuy({ propertyName, propertyLocation: propertyLocationLabel, tokenDisplayName, tokenSymbol, isAuthenticated, onSignIn, saleData, walletUsdcBalance, walletPropertyTokenBalance, onPurchase, purchaseStatus, purchaseError, onDeposit, initialUserSubscriptions, opensAt, isPrivateClient, recentOrders, ordersAllocated, }: PropertyBuyProps): react_jsx_runtime.JSX.Element;
879
+ declare function PropertyBuy({ propertyName, propertyLocation: propertyLocationLabel, tokenDisplayName, tokenSymbol, tokenName, isAuthenticated, onSignIn, saleData, walletUsdcBalance, walletPropertyTokenBalance, onPurchase, purchaseStatus, purchaseError, onDeposit, opensAt, isPrivateClient, recentOrders, ordersAllocated, subscribers, portfolioActivity, }: PropertyBuyProps): react_jsx_runtime.JSX.Element;
744
880
 
745
881
  type OwnerBookingProps = {
746
882
  propertyName?: string | null;
@@ -852,4 +988,4 @@ declare function ToastProvider({ children }: {
852
988
  }): react_jsx_runtime.JSX.Element;
853
989
  declare function useToast(): ToastContextValue;
854
990
 
855
- export { Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type FundWalletParams, type FundWalletResult, Header, type HeaderProps, type HousePositionOrderbook, type HousePositionPendingOrder, HousePositionSlider, HousePositionSliderMobile, type HousePositionSliderMobileOrderPayload, type HousePositionSliderMobileOrderbook, type HousePositionSliderMobileProps, type HousePositionSliderOrderPayload, type HousePositionSliderProps, type InspectionSlot, LoafLiquidityBadge, LoafLiquidityLogo, type LoafLiquidityLogoProps, LoginPopup, type LoginPopupProps, MobileTradeNav, type MobileTradeNavItem, type MobileTradeNavProps, type OfferStatus, Orderbook, type OrderbookLevel, type OrderbookProps, type OrderbookSide, type OrderbookTrade, OwnerBooking, type OwnerBookingProps, PaymentPopup, type PaymentPopupProps, PortfolioSummary, type PortfolioSummaryProps, PriceChart, type PriceChartCandle, type PriceChartProps, type PriceChartRange, type PropertyAddressOption, PropertyBuy, PropertyCompareBar, type PropertyCompareBarProps, PropertyDocuments, type PropertyGalleryHotspot, type PropertyGalleryImage, PropertyHeroHeader, type PropertyHeroHeaderProps, PropertyHistory, PropertyInspectionTimes, type PropertyNewsItem, type PropertyNewsType, PropertyNewsUpdates, type PropertyNewsUpdatesProps, type PropertyOffer, PropertyOffers, type PropertyOffersProps, PropertyOverview, type PropertyOverviewProps, PropertyPhotoGallery, type PropertyPriceSummary, PropertySubheader, type PropertySubheaderAction, type PropertySubheaderProps, type PropertySubheaderTab, PropertyTour, type PropertyTourProps, PropertyValuation, type PropertyValuationProps, type PropertyValueSummary, type ToastData, ToastProvider, type ToastVariant, TradeConfirmationModal, type TradeConfirmationModalDetails, type TradeConfirmationModalProps, TradingSlider, type TradingSliderProps, type ValuationHistoryPoint, type ValuationRecentSale, type ValuationSummary, type YourOrder, type YourOrderSide, YourOrders, type YourOrdersProps, badgeVariants, buttonVariants, useToast };
991
+ export { Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type FundWalletParams, type FundWalletResult, Header, type HeaderProps, type HousePositionOrderbook, type HousePositionPendingOrder, HousePositionSlider, HousePositionSliderMobile, type HousePositionSliderMobileOrderPayload, type HousePositionSliderMobileOrderbook, type HousePositionSliderMobileProps, type HousePositionSliderOrderPayload, type HousePositionSliderProps, type InspectionSlot, LoafLiquidityBadge, LoafLiquidityLogo, type LoafLiquidityLogoProps, LoginPopup, type LoginPopupProps, MobileTradeNav, type MobileTradeNavItem, type MobileTradeNavProps, type OfferStatus, Orderbook, type OrderbookLevel, type OrderbookProps, type OrderbookSide, type OrderbookTrade, OwnerBooking, type OwnerBookingProps, PaymentPopup, type PaymentPopupProps, PortfolioSummary, type PortfolioSummaryProps, PriceChart, type PriceChartCandle, type PriceChartProps, type PriceChartRange, type PropertyAddressOption, PropertyBuy, PropertyCompareBar, type PropertyCompareBarProps, PropertyDocuments, type PropertyGalleryHotspot, type PropertyGalleryImage, PropertyHeroHeader, type PropertyHeroHeaderProps, PropertyHistory, PropertyInspectionTimes, type PropertyNewsItem, type PropertyNewsType, PropertyNewsUpdates, type PropertyNewsUpdatesProps, type PropertyOffer, PropertyOffers, type PropertyOffersProps, PropertyOverview, type PropertyOverviewProps, PropertyPhotoGallery, type PropertyPriceSummary, PropertySubheader, type PropertySubheaderAction, type PropertySubheaderProps, type PropertySubheaderTab, PropertyTour, type PropertyTourProps, PropertyValuation, type PropertyValuationProps, type PropertyValueSummary, type PurchaseFeedItem, type ToastData, ToastProvider, type ToastVariant, TradeConfirmationModal, type TradeConfirmationModalDetails, type TradeConfirmationModalProps, TradingSlider, type TradingSliderProps, type ValuationHistoryPoint, type ValuationRecentSale, type ValuationSummary, type YourOrder, type YourOrderSide, YourOrders, type YourOrdersProps, badgeVariants, buttonVariants, useToast };