@landtrustinc/design-system 1.2.26 → 1.2.27-beta.0
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 +80 -74
- package/dist/index.js +415 -370
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -527,64 +527,6 @@ declare namespace styles {
|
|
|
527
527
|
export { styles_ThemeTokens as ThemeTokens, styles_borderRadius as borderRadius, styles_boxShadow as boxShadow, styles_breakpoints as breakpoints, styles_colors as colors, styles_fontSizes as fontSizes, styles_fontWeights as fontWeights, styles_fonts as fonts, styles_headingSizes as headingSizes, styles_lineHeights as lineHeights, styles_media as media, styles_opacity as opacity, styles_screens as screens, styles_sizes as sizes, styles_space as space, styles_textShadow as textShadow, styles_transition as transition, styles_zIndex as zIndex };
|
|
528
528
|
}
|
|
529
529
|
|
|
530
|
-
type TopMatchingFieldNoteProps = {
|
|
531
|
-
/**
|
|
532
|
-
* Name of the field note author(s)
|
|
533
|
-
*/
|
|
534
|
-
author: string;
|
|
535
|
-
/**
|
|
536
|
-
* Date the field note was posted (e.g., "1d ago")
|
|
537
|
-
*/
|
|
538
|
-
datePosted: string;
|
|
539
|
-
/**
|
|
540
|
-
* Field note content text
|
|
541
|
-
*/
|
|
542
|
-
content: string;
|
|
543
|
-
/**
|
|
544
|
-
* Array of image URLs to display
|
|
545
|
-
*/
|
|
546
|
-
images: string[];
|
|
547
|
-
/**
|
|
548
|
-
* Title for the top matching field note section
|
|
549
|
-
* @default "Top matching field note"
|
|
550
|
-
*/
|
|
551
|
-
title?: string;
|
|
552
|
-
/**
|
|
553
|
-
* Additional CSS class names
|
|
554
|
-
*/
|
|
555
|
-
className?: string;
|
|
556
|
-
};
|
|
557
|
-
|
|
558
|
-
type TopMatchingReviewProps = {
|
|
559
|
-
/**
|
|
560
|
-
* Name of the review author
|
|
561
|
-
*/
|
|
562
|
-
author: string;
|
|
563
|
-
/**
|
|
564
|
-
* Date the review was posted (e.g., "Aug 25, 2025")
|
|
565
|
-
*/
|
|
566
|
-
datePosted: string;
|
|
567
|
-
/**
|
|
568
|
-
* Rating from 1-5
|
|
569
|
-
*/
|
|
570
|
-
rating: number;
|
|
571
|
-
/**
|
|
572
|
-
* Review content text
|
|
573
|
-
*/
|
|
574
|
-
content: string;
|
|
575
|
-
/**
|
|
576
|
-
* Title for the top matching review section
|
|
577
|
-
* @default "Top matching review"
|
|
578
|
-
*/
|
|
579
|
-
title?: string;
|
|
580
|
-
/**
|
|
581
|
-
* Additional CSS class names
|
|
582
|
-
*/
|
|
583
|
-
className?: string;
|
|
584
|
-
};
|
|
585
|
-
|
|
586
|
-
type TopMatchingReview = Omit<TopMatchingReviewProps, 'title'>;
|
|
587
|
-
type TopMatchingFieldNote = Omit<TopMatchingFieldNoteProps, 'title'>;
|
|
588
530
|
type AIResponseProps = {
|
|
589
531
|
/**
|
|
590
532
|
* Optional title for the AI response
|
|
@@ -637,36 +579,95 @@ type AIResponseProps = {
|
|
|
637
579
|
* @default true
|
|
638
580
|
*/
|
|
639
581
|
enableCodeCopy?: boolean;
|
|
582
|
+
};
|
|
583
|
+
declare const AIResponse: ({ title, showDisclaimer, showHelpfulQuestion, className, children, onHelpfulYes, onHelpfulNo, variant, onErrorRetry, helpfulDebounceMs, markdown, enableCodeCopy, }: AIResponseProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
584
|
+
|
|
585
|
+
type ContactLandownerButtonProps = {
|
|
640
586
|
/**
|
|
641
|
-
*
|
|
587
|
+
* Listing ID for the property
|
|
642
588
|
*/
|
|
643
|
-
|
|
589
|
+
listingId: string;
|
|
644
590
|
/**
|
|
645
|
-
*
|
|
646
|
-
* @default "Top matching review"
|
|
591
|
+
* Slug for the property (e.g., "delore-place")
|
|
647
592
|
*/
|
|
648
|
-
|
|
593
|
+
slug: string;
|
|
649
594
|
/**
|
|
650
|
-
*
|
|
595
|
+
* Custom button text
|
|
596
|
+
* @default "Contact Landowner"
|
|
651
597
|
*/
|
|
652
|
-
|
|
598
|
+
buttonText?: string;
|
|
599
|
+
/**
|
|
600
|
+
* Additional CSS class names
|
|
601
|
+
*/
|
|
602
|
+
className?: string;
|
|
603
|
+
};
|
|
604
|
+
declare const ContactLandownerButton: FC<ContactLandownerButtonProps>;
|
|
605
|
+
|
|
606
|
+
type TopMatchingFieldNoteProps = {
|
|
607
|
+
/**
|
|
608
|
+
* Name of the field note author(s)
|
|
609
|
+
*/
|
|
610
|
+
author: string;
|
|
611
|
+
/**
|
|
612
|
+
* Date the field note was posted (e.g., "1d ago")
|
|
613
|
+
*/
|
|
614
|
+
datePosted: string;
|
|
615
|
+
/**
|
|
616
|
+
* Field note content text
|
|
617
|
+
*/
|
|
618
|
+
content?: string;
|
|
619
|
+
/**
|
|
620
|
+
* Array of image URLs to display (can be JSON string or array)
|
|
621
|
+
*/
|
|
622
|
+
images: string[] | string;
|
|
653
623
|
/**
|
|
654
624
|
* Title for the top matching field note section
|
|
655
625
|
* @default "Top matching field note"
|
|
656
626
|
*/
|
|
657
|
-
|
|
627
|
+
title?: string;
|
|
658
628
|
/**
|
|
659
|
-
*
|
|
660
|
-
* When provided, shows a "Contact Landowner" button inside the response
|
|
629
|
+
* Additional CSS class names
|
|
661
630
|
*/
|
|
662
|
-
|
|
631
|
+
className?: string;
|
|
663
632
|
/**
|
|
664
|
-
*
|
|
665
|
-
* @default "Contact Landowner"
|
|
633
|
+
* Children content (used when rendering from markdown)
|
|
666
634
|
*/
|
|
667
|
-
|
|
635
|
+
children?: React__default.ReactNode;
|
|
668
636
|
};
|
|
669
|
-
declare const
|
|
637
|
+
declare const TopMatchingFieldNote: FC<TopMatchingFieldNoteProps>;
|
|
638
|
+
|
|
639
|
+
type TopMatchingReviewProps = {
|
|
640
|
+
/**
|
|
641
|
+
* Name of the review author
|
|
642
|
+
*/
|
|
643
|
+
author: string;
|
|
644
|
+
/**
|
|
645
|
+
* Date the review was posted (e.g., "Aug 25, 2025")
|
|
646
|
+
*/
|
|
647
|
+
datePosted: string;
|
|
648
|
+
/**
|
|
649
|
+
* Rating from 1-5 (can be string or number)
|
|
650
|
+
*/
|
|
651
|
+
rating: number | string;
|
|
652
|
+
/**
|
|
653
|
+
* Review content text
|
|
654
|
+
*/
|
|
655
|
+
content?: string;
|
|
656
|
+
/**
|
|
657
|
+
* Title for the top matching review section
|
|
658
|
+
* @default "Top matching review"
|
|
659
|
+
*/
|
|
660
|
+
title?: string;
|
|
661
|
+
/**
|
|
662
|
+
* Additional CSS class names
|
|
663
|
+
*/
|
|
664
|
+
className?: string;
|
|
665
|
+
/**
|
|
666
|
+
* Children content (used when rendering from markdown)
|
|
667
|
+
*/
|
|
668
|
+
children?: React__default.ReactNode;
|
|
669
|
+
};
|
|
670
|
+
declare const TopMatchingReview: FC<TopMatchingReviewProps>;
|
|
670
671
|
|
|
671
672
|
type AvailabilityBadgeVariant = 'primary' | 'error' | 'action' | 'warning' | 'neutral';
|
|
672
673
|
|
|
@@ -1977,6 +1978,11 @@ type MarkdownContentProps = {
|
|
|
1977
1978
|
* @default true
|
|
1978
1979
|
*/
|
|
1979
1980
|
enableCodeCopy?: boolean;
|
|
1981
|
+
/**
|
|
1982
|
+
* Custom React components to be available in markdown
|
|
1983
|
+
* @example { MyComponent: MyComponent }
|
|
1984
|
+
*/
|
|
1985
|
+
customComponents?: Record<string, React__default.ComponentType<any>>;
|
|
1980
1986
|
};
|
|
1981
1987
|
declare const MarkdownContent: React__default.FC<MarkdownContentProps>;
|
|
1982
1988
|
|
|
@@ -2427,4 +2433,4 @@ declare const Widget: React__default.FC<WidgetProps> & {
|
|
|
2427
2433
|
}>;
|
|
2428
2434
|
};
|
|
2429
2435
|
|
|
2430
|
-
export { AIResponse, type AIResponseProps, AvailabilityBadge, type AvailabilityBadgeProps, type AvailabilityBadgeVariant, Avatar, type AvatarProps, type AvatarSize, type AvatarType, type BaseInputProps, Box, type BoxProps, Button, type ButtonProps, type ButtonVariants, type CarouselPositions, ChatWidget, type ChatWidgetMessage, type ChatWidgetProps, Column, type ColumnProps, Container, Divider, type DividerProps, type DotsColors, type FeatureItem, FeatureList, FeatureListItem, type FeatureListItemProps, type FeatureListProps, type FeatureListSection, FieldNoteCard, type FieldNoteCardProps, FormField, type FormFieldProps, GlobalStyle, Grid, type GridBreakpoint, GridContainer, type GridContainerProps, type GridProps, Heading, type HeadingProps, HuntCard, type HuntCardProps, Icon, IconLabel, type IconLabelProps, type IconProps, type IconSize, IconSizeMap, type IconVariantTypes$1 as IconVariantTypes, InfoBox, type InfoBoxProps, Input, type InputProps, type InputSize, type InputVariant, LandownerProfile, type LandownerProfileProps, LayoutTokens, ListingChat, type ListingChatProps, Logo, type LogoProps, type LogoTheme, type LogoVariant, MarkdownContent, type MarkdownContentProps, MessageBubble, type MessageBubbleProps, type NavLink, Navigation, type NavigationProps, PackageCard, type PackageCardBadge, type PackageCardProps, PackageHeader, type PackageHeaderProps, type ResponsiveValue, ReviewCard, type ReviewCardProps, Reviews, type ReviewsProps, ReviewsShowcase, ScrollingCarousel, type ScrollingCarouselProps, ScrollingCarouselStep, type ScrollingCarouselStepProps, Select, type SelectOption, type SelectProps, Spinner, type SpinnerProps, StarRating, type StarRatingProps, type SuggestedPrompt, type TFontWeight, type THeadingSize, type TTextAlign, type TTextSize, type TTextWrap, TagChip, type TagChipProps, type TagChipVariant, Text, TextArea, type TextProps, type TextareaProps, ThemeTokens,
|
|
2436
|
+
export { AIResponse, type AIResponseProps, AvailabilityBadge, type AvailabilityBadgeProps, type AvailabilityBadgeVariant, Avatar, type AvatarProps, type AvatarSize, type AvatarType, type BaseInputProps, Box, type BoxProps, Button, type ButtonProps, type ButtonVariants, type CarouselPositions, ChatWidget, type ChatWidgetMessage, type ChatWidgetProps, Column, type ColumnProps, ContactLandownerButton, type ContactLandownerButtonProps, Container, Divider, type DividerProps, type DotsColors, type FeatureItem, FeatureList, FeatureListItem, type FeatureListItemProps, type FeatureListProps, type FeatureListSection, FieldNoteCard, type FieldNoteCardProps, FormField, type FormFieldProps, GlobalStyle, Grid, type GridBreakpoint, GridContainer, type GridContainerProps, type GridProps, Heading, type HeadingProps, HuntCard, type HuntCardProps, Icon, IconLabel, type IconLabelProps, type IconProps, type IconSize, IconSizeMap, type IconVariantTypes$1 as IconVariantTypes, InfoBox, type InfoBoxProps, Input, type InputProps, type InputSize, type InputVariant, LandownerProfile, type LandownerProfileProps, LayoutTokens, ListingChat, type ListingChatProps, Logo, type LogoProps, type LogoTheme, type LogoVariant, MarkdownContent, type MarkdownContentProps, MessageBubble, type MessageBubbleProps, type NavLink, Navigation, type NavigationProps, PackageCard, type PackageCardBadge, type PackageCardProps, PackageHeader, type PackageHeaderProps, type ResponsiveValue, ReviewCard, type ReviewCardProps, Reviews, type ReviewsProps, ReviewsShowcase, ScrollingCarousel, type ScrollingCarouselProps, ScrollingCarouselStep, type ScrollingCarouselStepProps, Select, type SelectOption, type SelectProps, Spinner, type SpinnerProps, StarRating, type StarRatingProps, type SuggestedPrompt, type TFontWeight, type THeadingSize, type TTextAlign, type TTextSize, type TTextWrap, TagChip, type TagChipProps, type TagChipVariant, Text, TextArea, type TextProps, type TextareaProps, ThemeTokens, TopMatchingFieldNote, type TopMatchingFieldNoteProps, TopMatchingReview, type TopMatchingReviewProps, UserCard, type UserCardProps, Widget, WidgetPanel, type WidgetPanelProps, type WidgetProps, WidgetTrigger, type WidgetTriggerProps, globalStyles, styles };
|