@landtrustinc/design-system 1.2.27 → 1.2.28
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 +295 -213
- package/dist/index.js +1233 -723
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _emotion_utils from '@emotion/utils';
|
|
2
2
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { FC, PropsWithChildren, HTMLAttributes,
|
|
4
|
+
import React__default, { SVGProps, FC, PropsWithChildren, HTMLAttributes, ReactNode } from 'react';
|
|
5
5
|
import * as _emotion_styled from '@emotion/styled';
|
|
6
6
|
import * as csstype from 'csstype';
|
|
7
7
|
import * as styled_system from 'styled-system';
|
|
@@ -527,216 +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 AIResponseProps = {
|
|
531
|
-
/**
|
|
532
|
-
* Optional title for the AI response
|
|
533
|
-
*/
|
|
534
|
-
title?: string;
|
|
535
|
-
/**
|
|
536
|
-
* Whether to show the title heading
|
|
537
|
-
* @default true
|
|
538
|
-
*/
|
|
539
|
-
showTitle?: boolean;
|
|
540
|
-
/**
|
|
541
|
-
* Whether to show disclaimer text
|
|
542
|
-
*/
|
|
543
|
-
showDisclaimer?: boolean;
|
|
544
|
-
/**
|
|
545
|
-
* Whether to show helpful feedback question
|
|
546
|
-
*/
|
|
547
|
-
showHelpfulQuestion?: boolean;
|
|
548
|
-
/**
|
|
549
|
-
* Additional CSS class names
|
|
550
|
-
*/
|
|
551
|
-
className?: string;
|
|
552
|
-
/**
|
|
553
|
-
* Content to display in the response
|
|
554
|
-
*/
|
|
555
|
-
children?: React__default.ReactNode;
|
|
556
|
-
/**
|
|
557
|
-
* Callback when user clicks "Yes" for helpful feedback
|
|
558
|
-
*/
|
|
559
|
-
onHelpfulYes?: () => void;
|
|
560
|
-
/**
|
|
561
|
-
* Callback when user clicks "No" for helpful feedback
|
|
562
|
-
*/
|
|
563
|
-
onHelpfulNo?: () => void;
|
|
564
|
-
/**
|
|
565
|
-
* Visual variant of the response
|
|
566
|
-
*/
|
|
567
|
-
variant?: 'default' | 'error';
|
|
568
|
-
/**
|
|
569
|
-
* Callback for retry button in error state
|
|
570
|
-
*/
|
|
571
|
-
onErrorRetry?: () => void;
|
|
572
|
-
/**
|
|
573
|
-
* Debounce time for helpful feedback in milliseconds
|
|
574
|
-
*/
|
|
575
|
-
helpfulDebounceMs?: number;
|
|
576
|
-
/**
|
|
577
|
-
* Enable markdown rendering for children content.
|
|
578
|
-
* When true, children should be a string containing markdown.
|
|
579
|
-
* @default false
|
|
580
|
-
*/
|
|
581
|
-
markdown?: boolean;
|
|
582
|
-
/**
|
|
583
|
-
* Whether to enable code copy functionality in markdown code blocks
|
|
584
|
-
* @default true
|
|
585
|
-
*/
|
|
586
|
-
enableCodeCopy?: boolean;
|
|
587
|
-
};
|
|
588
|
-
declare const AIResponse: ({ title, showTitle, showDisclaimer, showHelpfulQuestion, className, children, onHelpfulYes, onHelpfulNo, variant, onErrorRetry, helpfulDebounceMs, markdown, enableCodeCopy, }: AIResponseProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
589
|
-
|
|
590
|
-
type ContactLandownerButtonProps = {
|
|
591
|
-
/**
|
|
592
|
-
* URL to navigate to when the button is clicked
|
|
593
|
-
*/
|
|
594
|
-
url: string;
|
|
595
|
-
/**
|
|
596
|
-
* Custom button text
|
|
597
|
-
* @default "Contact Landowner"
|
|
598
|
-
*/
|
|
599
|
-
buttonText?: string;
|
|
600
|
-
/**
|
|
601
|
-
* Additional CSS class names
|
|
602
|
-
*/
|
|
603
|
-
className?: string;
|
|
604
|
-
};
|
|
605
|
-
declare const ContactLandownerButton: FC<ContactLandownerButtonProps>;
|
|
606
|
-
|
|
607
|
-
type TopMatchingFieldNoteProps = {
|
|
608
|
-
/**
|
|
609
|
-
* Name of the field note author(s)
|
|
610
|
-
*/
|
|
611
|
-
author: string;
|
|
612
|
-
/**
|
|
613
|
-
* Date the field note was posted (e.g., "1d ago")
|
|
614
|
-
*/
|
|
615
|
-
datePosted: string;
|
|
616
|
-
/**
|
|
617
|
-
* Field note content text
|
|
618
|
-
*/
|
|
619
|
-
content?: string;
|
|
620
|
-
/**
|
|
621
|
-
* Array of image URLs to display (can be JSON string or array)
|
|
622
|
-
*/
|
|
623
|
-
images: string[] | string;
|
|
624
|
-
/**
|
|
625
|
-
* Title for the top matching field note section
|
|
626
|
-
* @default "Top matching field note"
|
|
627
|
-
*/
|
|
628
|
-
title?: string;
|
|
629
|
-
/**
|
|
630
|
-
* Additional CSS class names
|
|
631
|
-
*/
|
|
632
|
-
className?: string;
|
|
633
|
-
/**
|
|
634
|
-
* Children content (used when rendering from markdown)
|
|
635
|
-
*/
|
|
636
|
-
children?: React__default.ReactNode;
|
|
637
|
-
};
|
|
638
|
-
declare const TopMatchingFieldNote: FC<TopMatchingFieldNoteProps>;
|
|
639
|
-
|
|
640
|
-
type TopMatchingReviewProps = {
|
|
641
|
-
/**
|
|
642
|
-
* Name of the review author
|
|
643
|
-
*/
|
|
644
|
-
author: string;
|
|
645
|
-
/**
|
|
646
|
-
* Date the review was posted (e.g., "Aug 25, 2025")
|
|
647
|
-
*/
|
|
648
|
-
datePosted: string;
|
|
649
|
-
/**
|
|
650
|
-
* Rating from 1-5 (can be string or number)
|
|
651
|
-
*/
|
|
652
|
-
rating: number | string;
|
|
653
|
-
/**
|
|
654
|
-
* Review content text
|
|
655
|
-
*/
|
|
656
|
-
content?: string;
|
|
657
|
-
/**
|
|
658
|
-
* Title for the top matching review section
|
|
659
|
-
* @default "Top matching review"
|
|
660
|
-
*/
|
|
661
|
-
title?: string;
|
|
662
|
-
/**
|
|
663
|
-
* Additional CSS class names
|
|
664
|
-
*/
|
|
665
|
-
className?: string;
|
|
666
|
-
/**
|
|
667
|
-
* Children content (used when rendering from markdown)
|
|
668
|
-
*/
|
|
669
|
-
children?: React__default.ReactNode;
|
|
670
|
-
};
|
|
671
|
-
declare const TopMatchingReview: FC<TopMatchingReviewProps>;
|
|
672
|
-
|
|
673
|
-
type AvailabilityBadgeVariant = 'primary' | 'error' | 'action' | 'warning' | 'neutral';
|
|
674
|
-
|
|
675
|
-
type AvailabilityBadgeProps = {
|
|
676
|
-
/**
|
|
677
|
-
* Visual variant of the badge
|
|
678
|
-
*/
|
|
679
|
-
variant: AvailabilityBadgeVariant;
|
|
680
|
-
/**
|
|
681
|
-
* Additional CSS class names
|
|
682
|
-
*/
|
|
683
|
-
className?: string;
|
|
684
|
-
/**
|
|
685
|
-
* Content to display in the badge
|
|
686
|
-
*/
|
|
687
|
-
children?: React.ReactNode;
|
|
688
|
-
};
|
|
689
|
-
declare const AvailabilityBadge: FC<PropsWithChildren<AvailabilityBadgeProps>>;
|
|
690
|
-
|
|
691
|
-
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
692
|
-
type AvatarType = 'image' | 'text';
|
|
693
|
-
type AvatarProps = {
|
|
694
|
-
/**
|
|
695
|
-
* Type of avatar - image or text initials
|
|
696
|
-
*/
|
|
697
|
-
type?: AvatarType;
|
|
698
|
-
/**
|
|
699
|
-
* Source URL of the avatar image (required for type="image")
|
|
700
|
-
*/
|
|
701
|
-
src?: string;
|
|
702
|
-
/**
|
|
703
|
-
* Text to generate initials from (required for type="text")
|
|
704
|
-
*/
|
|
705
|
-
text?: string;
|
|
706
|
-
/**
|
|
707
|
-
* Alt text for the avatar
|
|
708
|
-
*/
|
|
709
|
-
alt: string;
|
|
710
|
-
/**
|
|
711
|
-
* Size of the avatar
|
|
712
|
-
*/
|
|
713
|
-
size?: AvatarSize;
|
|
714
|
-
/**
|
|
715
|
-
* Additional CSS class names
|
|
716
|
-
*/
|
|
717
|
-
className?: string;
|
|
718
|
-
};
|
|
719
|
-
declare const Avatar: FC<AvatarProps>;
|
|
720
|
-
|
|
721
|
-
type BoxProps = HTMLAttributes<HTMLDivElement> & BorderProps & SpaceProps & ColorProps & FlexboxProps & GridProps$1 & LayoutProps & PositionProps & TypographyProps & WidthProps & {
|
|
722
|
-
children?: React.ReactNode;
|
|
723
|
-
gap?: unknown;
|
|
724
|
-
className?: string;
|
|
725
|
-
};
|
|
726
|
-
declare const Box: _emotion_styled.StyledComponent<{
|
|
727
|
-
theme?: _emotion_react.Theme | undefined;
|
|
728
|
-
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;
|
|
729
|
-
} & HTMLAttributes<HTMLDivElement> & BorderProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>, csstype.Property.Border<styled_system.TLengthStyledSystem>> & SpaceProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>, string | number | symbol> & ColorProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>, string | number | symbol> & FlexboxProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>> & GridProps$1<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>> & LayoutProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>> & PositionProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>> & TypographyProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>> & WidthProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>, csstype.Property.Width<styled_system.TLengthStyledSystem>> & {
|
|
730
|
-
children?: React.ReactNode;
|
|
731
|
-
gap?: unknown;
|
|
732
|
-
className?: string | undefined;
|
|
733
|
-
}, React$1.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
734
|
-
|
|
735
|
-
type Props = BoxProps & {
|
|
736
|
-
isFullWidth?: boolean;
|
|
737
|
-
};
|
|
738
|
-
declare const Container: ({ children, className, isFullWidth, ...props }: Props) => _emotion_react_jsx_runtime.JSX.Element;
|
|
739
|
-
|
|
740
530
|
declare const SvgAiMagic: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
741
531
|
|
|
742
532
|
declare const SvgAmenitity: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -1167,6 +957,265 @@ type IconProps = {
|
|
|
1167
957
|
};
|
|
1168
958
|
declare const Icon: ({ variant, size, className, setAutoHeight, fill, ...rest }: IconProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
1169
959
|
|
|
960
|
+
type ActionMenuItem = {
|
|
961
|
+
/**
|
|
962
|
+
* Label for the action
|
|
963
|
+
*/
|
|
964
|
+
label: string;
|
|
965
|
+
/**
|
|
966
|
+
* Icon to display next to the label (optional)
|
|
967
|
+
*/
|
|
968
|
+
icon?: IconVariantTypes$1;
|
|
969
|
+
/**
|
|
970
|
+
* Click handler for the action
|
|
971
|
+
*/
|
|
972
|
+
onClick: () => void;
|
|
973
|
+
/**
|
|
974
|
+
* Whether this is a destructive action (will be styled in red)
|
|
975
|
+
*/
|
|
976
|
+
danger?: boolean;
|
|
977
|
+
/**
|
|
978
|
+
* Whether the action is disabled
|
|
979
|
+
*/
|
|
980
|
+
disabled?: boolean;
|
|
981
|
+
/**
|
|
982
|
+
* Tooltip to show on hover (optional)
|
|
983
|
+
*/
|
|
984
|
+
tooltip?: string;
|
|
985
|
+
};
|
|
986
|
+
type ActionMenuProps = {
|
|
987
|
+
/**
|
|
988
|
+
* Array of action items to display in the menu
|
|
989
|
+
*/
|
|
990
|
+
actions: (ActionMenuItem | 'divider')[];
|
|
991
|
+
/**
|
|
992
|
+
* Tooltip content for the trigger button
|
|
993
|
+
*/
|
|
994
|
+
triggerTooltip?: string;
|
|
995
|
+
/**
|
|
996
|
+
* Additional CSS class names
|
|
997
|
+
*/
|
|
998
|
+
className?: string;
|
|
999
|
+
/**
|
|
1000
|
+
* ARIA label for the trigger button
|
|
1001
|
+
*/
|
|
1002
|
+
ariaLabel?: string;
|
|
1003
|
+
};
|
|
1004
|
+
declare const ActionMenu: {
|
|
1005
|
+
({ actions, triggerTooltip, className, ariaLabel, }: ActionMenuProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
1006
|
+
displayName: string;
|
|
1007
|
+
};
|
|
1008
|
+
|
|
1009
|
+
type AIResponseProps = {
|
|
1010
|
+
/**
|
|
1011
|
+
* Optional title for the AI response
|
|
1012
|
+
*/
|
|
1013
|
+
title?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* Whether to show the title heading
|
|
1016
|
+
* @default true
|
|
1017
|
+
*/
|
|
1018
|
+
showTitle?: boolean;
|
|
1019
|
+
/**
|
|
1020
|
+
* Whether to show disclaimer text
|
|
1021
|
+
*/
|
|
1022
|
+
showDisclaimer?: boolean;
|
|
1023
|
+
/**
|
|
1024
|
+
* Whether to show helpful feedback question
|
|
1025
|
+
*/
|
|
1026
|
+
showHelpfulQuestion?: boolean;
|
|
1027
|
+
/**
|
|
1028
|
+
* Additional CSS class names
|
|
1029
|
+
*/
|
|
1030
|
+
className?: string;
|
|
1031
|
+
/**
|
|
1032
|
+
* Content to display in the response
|
|
1033
|
+
*/
|
|
1034
|
+
children?: React__default.ReactNode;
|
|
1035
|
+
/**
|
|
1036
|
+
* Callback when user clicks "Yes" for helpful feedback
|
|
1037
|
+
*/
|
|
1038
|
+
onHelpfulYes?: () => void;
|
|
1039
|
+
/**
|
|
1040
|
+
* Callback when user clicks "No" for helpful feedback
|
|
1041
|
+
*/
|
|
1042
|
+
onHelpfulNo?: () => void;
|
|
1043
|
+
/**
|
|
1044
|
+
* Visual variant of the response
|
|
1045
|
+
*/
|
|
1046
|
+
variant?: 'default' | 'error';
|
|
1047
|
+
/**
|
|
1048
|
+
* Callback for retry button in error state
|
|
1049
|
+
*/
|
|
1050
|
+
onErrorRetry?: () => void;
|
|
1051
|
+
/**
|
|
1052
|
+
* Debounce time for helpful feedback in milliseconds
|
|
1053
|
+
*/
|
|
1054
|
+
helpfulDebounceMs?: number;
|
|
1055
|
+
/**
|
|
1056
|
+
* Enable markdown rendering for children content.
|
|
1057
|
+
* When true, children should be a string containing markdown.
|
|
1058
|
+
* @default false
|
|
1059
|
+
*/
|
|
1060
|
+
markdown?: boolean;
|
|
1061
|
+
/**
|
|
1062
|
+
* Whether to enable code copy functionality in markdown code blocks
|
|
1063
|
+
* @default true
|
|
1064
|
+
*/
|
|
1065
|
+
enableCodeCopy?: boolean;
|
|
1066
|
+
};
|
|
1067
|
+
declare const AIResponse: ({ title, showTitle, showDisclaimer, showHelpfulQuestion, className, children, onHelpfulYes, onHelpfulNo, variant, onErrorRetry, helpfulDebounceMs, markdown, enableCodeCopy, }: AIResponseProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1068
|
+
|
|
1069
|
+
type ContactLandownerButtonProps = {
|
|
1070
|
+
/**
|
|
1071
|
+
* URL to navigate to when the button is clicked
|
|
1072
|
+
*/
|
|
1073
|
+
url: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* Custom button text
|
|
1076
|
+
* @default "Contact Landowner"
|
|
1077
|
+
*/
|
|
1078
|
+
buttonText?: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* Additional CSS class names
|
|
1081
|
+
*/
|
|
1082
|
+
className?: string;
|
|
1083
|
+
};
|
|
1084
|
+
declare const ContactLandownerButton: FC<ContactLandownerButtonProps>;
|
|
1085
|
+
|
|
1086
|
+
type TopMatchingFieldNoteProps = {
|
|
1087
|
+
/**
|
|
1088
|
+
* Name of the field note author(s)
|
|
1089
|
+
*/
|
|
1090
|
+
author: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* Date the field note was posted (e.g., "1d ago")
|
|
1093
|
+
*/
|
|
1094
|
+
datePosted: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* Field note content text
|
|
1097
|
+
*/
|
|
1098
|
+
content?: string;
|
|
1099
|
+
/**
|
|
1100
|
+
* Array of image URLs to display (can be JSON string or array)
|
|
1101
|
+
*/
|
|
1102
|
+
images: string[] | string;
|
|
1103
|
+
/**
|
|
1104
|
+
* Title for the top matching field note section
|
|
1105
|
+
* @default "Top matching field note"
|
|
1106
|
+
*/
|
|
1107
|
+
title?: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* Additional CSS class names
|
|
1110
|
+
*/
|
|
1111
|
+
className?: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* Children content (used when rendering from markdown)
|
|
1114
|
+
*/
|
|
1115
|
+
children?: React__default.ReactNode;
|
|
1116
|
+
};
|
|
1117
|
+
declare const TopMatchingFieldNote: FC<TopMatchingFieldNoteProps>;
|
|
1118
|
+
|
|
1119
|
+
type TopMatchingReviewProps = {
|
|
1120
|
+
/**
|
|
1121
|
+
* Name of the review author
|
|
1122
|
+
*/
|
|
1123
|
+
author: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* Date the review was posted (e.g., "Aug 25, 2025")
|
|
1126
|
+
*/
|
|
1127
|
+
datePosted: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* Rating from 1-5 (can be string or number)
|
|
1130
|
+
*/
|
|
1131
|
+
rating: number | string;
|
|
1132
|
+
/**
|
|
1133
|
+
* Review content text
|
|
1134
|
+
*/
|
|
1135
|
+
content?: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* Title for the top matching review section
|
|
1138
|
+
* @default "Top matching review"
|
|
1139
|
+
*/
|
|
1140
|
+
title?: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* Additional CSS class names
|
|
1143
|
+
*/
|
|
1144
|
+
className?: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* Children content (used when rendering from markdown)
|
|
1147
|
+
*/
|
|
1148
|
+
children?: React__default.ReactNode;
|
|
1149
|
+
};
|
|
1150
|
+
declare const TopMatchingReview: FC<TopMatchingReviewProps>;
|
|
1151
|
+
|
|
1152
|
+
type AvailabilityBadgeVariant = 'primary' | 'error' | 'action' | 'warning' | 'neutral';
|
|
1153
|
+
|
|
1154
|
+
type AvailabilityBadgeProps = {
|
|
1155
|
+
/**
|
|
1156
|
+
* Visual variant of the badge
|
|
1157
|
+
*/
|
|
1158
|
+
variant: AvailabilityBadgeVariant;
|
|
1159
|
+
/**
|
|
1160
|
+
* Additional CSS class names
|
|
1161
|
+
*/
|
|
1162
|
+
className?: string;
|
|
1163
|
+
/**
|
|
1164
|
+
* Content to display in the badge
|
|
1165
|
+
*/
|
|
1166
|
+
children?: React.ReactNode;
|
|
1167
|
+
};
|
|
1168
|
+
declare const AvailabilityBadge: FC<PropsWithChildren<AvailabilityBadgeProps>>;
|
|
1169
|
+
|
|
1170
|
+
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1171
|
+
type AvatarType = 'image' | 'text';
|
|
1172
|
+
type AvatarProps = {
|
|
1173
|
+
/**
|
|
1174
|
+
* Type of avatar - image or text initials
|
|
1175
|
+
*/
|
|
1176
|
+
type?: AvatarType;
|
|
1177
|
+
/**
|
|
1178
|
+
* Source URL of the avatar image (required for type="image")
|
|
1179
|
+
*/
|
|
1180
|
+
src?: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* Text to generate initials from (required for type="text")
|
|
1183
|
+
*/
|
|
1184
|
+
text?: string;
|
|
1185
|
+
/**
|
|
1186
|
+
* Alt text for the avatar
|
|
1187
|
+
*/
|
|
1188
|
+
alt: string;
|
|
1189
|
+
/**
|
|
1190
|
+
* Size of the avatar
|
|
1191
|
+
*/
|
|
1192
|
+
size?: AvatarSize;
|
|
1193
|
+
/**
|
|
1194
|
+
* Additional CSS class names
|
|
1195
|
+
*/
|
|
1196
|
+
className?: string;
|
|
1197
|
+
};
|
|
1198
|
+
declare const Avatar: FC<AvatarProps>;
|
|
1199
|
+
|
|
1200
|
+
type BoxProps = HTMLAttributes<HTMLDivElement> & BorderProps & SpaceProps & ColorProps & FlexboxProps & GridProps$1 & LayoutProps & PositionProps & TypographyProps & WidthProps & {
|
|
1201
|
+
children?: React.ReactNode;
|
|
1202
|
+
gap?: unknown;
|
|
1203
|
+
className?: string;
|
|
1204
|
+
};
|
|
1205
|
+
declare const Box: _emotion_styled.StyledComponent<{
|
|
1206
|
+
theme?: _emotion_react.Theme | undefined;
|
|
1207
|
+
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;
|
|
1208
|
+
} & HTMLAttributes<HTMLDivElement> & BorderProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>, csstype.Property.Border<styled_system.TLengthStyledSystem>> & SpaceProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>, string | number | symbol> & ColorProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>, string | number | symbol> & FlexboxProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>> & GridProps$1<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>> & LayoutProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>> & PositionProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>> & TypographyProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>> & WidthProps<Required<styled_system.Theme<styled_system.TLengthStyledSystem>>, csstype.Property.Width<styled_system.TLengthStyledSystem>> & {
|
|
1209
|
+
children?: React.ReactNode;
|
|
1210
|
+
gap?: unknown;
|
|
1211
|
+
className?: string | undefined;
|
|
1212
|
+
}, React$1.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1213
|
+
|
|
1214
|
+
type Props = BoxProps & {
|
|
1215
|
+
isFullWidth?: boolean;
|
|
1216
|
+
};
|
|
1217
|
+
declare const Container: ({ children, className, isFullWidth, ...props }: Props) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1218
|
+
|
|
1170
1219
|
type ButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'plus' | 'simple' | 'text' | 'topo';
|
|
1171
1220
|
|
|
1172
1221
|
type ButtonAndAnchorProps = React__default.HTMLProps<HTMLButtonElement> & React__default.HTMLProps<HTMLAnchorElement>;
|
|
@@ -2120,8 +2169,13 @@ type PackageCardProps = {
|
|
|
2120
2169
|
* - 'horizontal': Image on left, content on right
|
|
2121
2170
|
*/
|
|
2122
2171
|
orientation?: 'vertical' | 'horizontal';
|
|
2172
|
+
/**
|
|
2173
|
+
* Array of action items to display in the action menu (three-dot menu)
|
|
2174
|
+
* When provided, displays an action menu in the top-right corner
|
|
2175
|
+
*/
|
|
2176
|
+
actions?: (ActionMenuItem | 'divider')[];
|
|
2123
2177
|
};
|
|
2124
|
-
declare const PackageCard: ({ images, title, subtitle, startingPrice, isFavorited, onFavoriteClick, onClick, className, badges, availabilityBadges, id, hasContentBackground, orientation, ...rest }: PackageCardProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2178
|
+
declare const PackageCard: ({ images, title, subtitle, startingPrice, isFavorited, onFavoriteClick, onClick, className, badges, availabilityBadges, id, hasContentBackground, orientation, actions, ...rest }: PackageCardProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2125
2179
|
|
|
2126
2180
|
type PackageHeaderProps = {
|
|
2127
2181
|
/**
|
|
@@ -2348,6 +2402,34 @@ type TagChipProps = HTMLAttributes<HTMLSpanElement> & {
|
|
|
2348
2402
|
};
|
|
2349
2403
|
declare const TagChip: FC<PropsWithChildren<TagChipProps>>;
|
|
2350
2404
|
|
|
2405
|
+
type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
2406
|
+
type TooltipProps = {
|
|
2407
|
+
/**
|
|
2408
|
+
* Content to display in the tooltip
|
|
2409
|
+
*/
|
|
2410
|
+
content: React__default.ReactNode;
|
|
2411
|
+
/**
|
|
2412
|
+
* Position of the tooltip relative to the children
|
|
2413
|
+
*/
|
|
2414
|
+
position?: TooltipPosition;
|
|
2415
|
+
/**
|
|
2416
|
+
* Child element that triggers the tooltip
|
|
2417
|
+
*/
|
|
2418
|
+
children: React__default.ReactNode;
|
|
2419
|
+
/**
|
|
2420
|
+
* Additional CSS class names
|
|
2421
|
+
*/
|
|
2422
|
+
className?: string;
|
|
2423
|
+
/**
|
|
2424
|
+
* Delay in ms before showing tooltip (default: 200)
|
|
2425
|
+
*/
|
|
2426
|
+
delay?: number;
|
|
2427
|
+
};
|
|
2428
|
+
declare const Tooltip: {
|
|
2429
|
+
({ content, position, children, className, delay, }: TooltipProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
2430
|
+
displayName: string;
|
|
2431
|
+
};
|
|
2432
|
+
|
|
2351
2433
|
type UserCardProps = {
|
|
2352
2434
|
avatarSrc?: string;
|
|
2353
2435
|
title: string;
|
|
@@ -2434,4 +2516,4 @@ declare const Widget: React__default.FC<WidgetProps> & {
|
|
|
2434
2516
|
}>;
|
|
2435
2517
|
};
|
|
2436
2518
|
|
|
2437
|
-
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 };
|
|
2519
|
+
export { AIResponse, type AIResponseProps, ActionMenu, type ActionMenuItem, type ActionMenuProps, 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, Tooltip, type TooltipPosition, type TooltipProps, TopMatchingFieldNote, type TopMatchingFieldNoteProps, TopMatchingReview, type TopMatchingReviewProps, UserCard, type UserCardProps, Widget, WidgetPanel, type WidgetPanelProps, type WidgetProps, WidgetTrigger, type WidgetTriggerProps, globalStyles, styles };
|