@landtrustinc/design-system 1.1.6 → 1.1.8
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 +90 -8
- package/dist/index.js +459 -300
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -568,23 +568,23 @@ type AIResponseProps = {
|
|
|
568
568
|
};
|
|
569
569
|
declare const AIResponse: ({ title, showDisclaimer, showHelpfulQuestion, className, children, onHelpfulYes, onHelpfulNo, variant, onErrorRetry, helpfulDebounceMs, }: AIResponseProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
570
570
|
|
|
571
|
-
type
|
|
571
|
+
type AvailabilityBadgeVariant = 'primary' | 'error' | 'action' | 'warning' | 'neutral';
|
|
572
572
|
|
|
573
|
-
type
|
|
573
|
+
type AvailabilityBadgeProps = {
|
|
574
574
|
/**
|
|
575
|
-
* Visual variant of the
|
|
575
|
+
* Visual variant of the badge
|
|
576
576
|
*/
|
|
577
|
-
variant:
|
|
577
|
+
variant: AvailabilityBadgeVariant;
|
|
578
578
|
/**
|
|
579
579
|
* Additional CSS class names
|
|
580
580
|
*/
|
|
581
581
|
className?: string;
|
|
582
582
|
/**
|
|
583
|
-
* Content to display in the
|
|
583
|
+
* Content to display in the badge
|
|
584
584
|
*/
|
|
585
585
|
children?: React.ReactNode;
|
|
586
586
|
};
|
|
587
|
-
declare const
|
|
587
|
+
declare const AvailabilityBadge: FC<PropsWithChildren<AvailabilityBadgeProps>>;
|
|
588
588
|
|
|
589
589
|
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
590
590
|
type AvatarType = 'image' | 'text';
|
|
@@ -1184,6 +1184,52 @@ type DividerProps = React__default.HTMLAttributes<HTMLHRElement> & SpaceProps &
|
|
|
1184
1184
|
};
|
|
1185
1185
|
declare const Divider: React__default.FC<DividerProps>;
|
|
1186
1186
|
|
|
1187
|
+
type FeatureListItemProps = {
|
|
1188
|
+
/**
|
|
1189
|
+
* Icon variant to display
|
|
1190
|
+
*/
|
|
1191
|
+
iconVariant: IconVariantTypes$1;
|
|
1192
|
+
/**
|
|
1193
|
+
* Size of the icon
|
|
1194
|
+
*/
|
|
1195
|
+
iconSize?: keyof typeof space;
|
|
1196
|
+
/**
|
|
1197
|
+
* Color of the icon
|
|
1198
|
+
*/
|
|
1199
|
+
iconColor?: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* Main label text
|
|
1202
|
+
*/
|
|
1203
|
+
label: React__default.ReactNode;
|
|
1204
|
+
/**
|
|
1205
|
+
* Optional subtitle/description text
|
|
1206
|
+
*/
|
|
1207
|
+
subtitle?: React__default.ReactNode;
|
|
1208
|
+
/**
|
|
1209
|
+
* Additional CSS class names
|
|
1210
|
+
*/
|
|
1211
|
+
className?: string;
|
|
1212
|
+
};
|
|
1213
|
+
|
|
1214
|
+
type FeatureItem = Omit<FeatureListItemProps, 'className'>;
|
|
1215
|
+
type FeatureListSection = {
|
|
1216
|
+
/**
|
|
1217
|
+
* Optional heading for this feature list section
|
|
1218
|
+
*/
|
|
1219
|
+
heading?: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* Array of feature items for this section
|
|
1222
|
+
*/
|
|
1223
|
+
items: FeatureItem[];
|
|
1224
|
+
};
|
|
1225
|
+
type FeatureListProps = FeatureListSection & {
|
|
1226
|
+
/**
|
|
1227
|
+
* Additional CSS class names
|
|
1228
|
+
*/
|
|
1229
|
+
className?: string;
|
|
1230
|
+
};
|
|
1231
|
+
declare const FeatureList: FC<FeatureListProps>;
|
|
1232
|
+
|
|
1187
1233
|
type FieldNoteCardProps = {
|
|
1188
1234
|
/**
|
|
1189
1235
|
* URL of the background image
|
|
@@ -1534,6 +1580,22 @@ type IconLabelProps = {
|
|
|
1534
1580
|
};
|
|
1535
1581
|
declare const IconLabel: ({ variant, label, iconSize, className, ...rest }: IconLabelProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1536
1582
|
|
|
1583
|
+
type InfoBoxProps = {
|
|
1584
|
+
/**
|
|
1585
|
+
* Heading text for the info box
|
|
1586
|
+
*/
|
|
1587
|
+
heading: string;
|
|
1588
|
+
/**
|
|
1589
|
+
* Array of feature list sections to display
|
|
1590
|
+
*/
|
|
1591
|
+
features: FeatureListSection[];
|
|
1592
|
+
/**
|
|
1593
|
+
* Additional CSS class names
|
|
1594
|
+
*/
|
|
1595
|
+
className?: string;
|
|
1596
|
+
};
|
|
1597
|
+
declare const InfoBox: FC<InfoBoxProps>;
|
|
1598
|
+
|
|
1537
1599
|
type ListingChatProps = {
|
|
1538
1600
|
/**
|
|
1539
1601
|
* Called when the user submits text
|
|
@@ -1691,6 +1753,26 @@ type PackageCardProps = {
|
|
|
1691
1753
|
};
|
|
1692
1754
|
declare const PackageCard: ({ images, title, subtitle, startingPrice, tripsLeft, isFavorited, onFavoriteClick, onClick, className, days, guests, hasLodging, ...rest }: PackageCardProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1693
1755
|
|
|
1756
|
+
type PackageHeaderProps = {
|
|
1757
|
+
/**
|
|
1758
|
+
* Main heading text
|
|
1759
|
+
*/
|
|
1760
|
+
header: string;
|
|
1761
|
+
/**
|
|
1762
|
+
* Subheader content (can be text or React nodes)
|
|
1763
|
+
*/
|
|
1764
|
+
subheader?: ReactNode;
|
|
1765
|
+
/**
|
|
1766
|
+
* Array of feature list sections to display
|
|
1767
|
+
*/
|
|
1768
|
+
features?: FeatureItem[];
|
|
1769
|
+
/**
|
|
1770
|
+
* Additional CSS class names
|
|
1771
|
+
*/
|
|
1772
|
+
className?: string;
|
|
1773
|
+
};
|
|
1774
|
+
declare const PackageHeader: FC<PackageHeaderProps>;
|
|
1775
|
+
|
|
1694
1776
|
type ReviewReplyProps = {
|
|
1695
1777
|
avatarSrc: string;
|
|
1696
1778
|
name: string;
|
|
@@ -1705,7 +1787,7 @@ type ReviewCardProps = {
|
|
|
1705
1787
|
name: string;
|
|
1706
1788
|
date: string;
|
|
1707
1789
|
rating: number;
|
|
1708
|
-
|
|
1790
|
+
availabilityBadge?: {
|
|
1709
1791
|
variant: 'primary' | 'error' | 'action' | 'warning' | 'neutral';
|
|
1710
1792
|
text: string;
|
|
1711
1793
|
};
|
|
@@ -1954,4 +2036,4 @@ declare const Widget: React__default.FC<WidgetProps> & {
|
|
|
1954
2036
|
}>;
|
|
1955
2037
|
};
|
|
1956
2038
|
|
|
1957
|
-
export { AIResponse, type AIResponseProps,
|
|
2039
|
+
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, ChatWidget, type ChatWidgetMessage, type ChatWidgetProps, Column, type ColumnProps, Container, Divider, type DividerProps, type FeatureItem, FeatureList, 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 IconVariantTypes$1 as IconVariantTypes, InfoBox, type InfoBoxProps, Input, type InputProps, type InputSize, type InputVariant, LayoutTokens, ListingChat, type ListingChatProps, Logo, type LogoProps, type LogoTheme, type LogoVariant, MessageBubble, type MessageBubbleProps, type NavLink, Navigation, type NavigationProps, PackageCard, type PackageCardProps, PackageHeader, type PackageHeaderProps, type ResponsiveValue, ReviewCard, type ReviewCardProps, Reviews, type ReviewsProps, ReviewsShowcase, Select, type SelectOption, type SelectProps, Spinner, type SpinnerProps, StarRating, type StarRatingProps, type TFontWeight, type THeadingSize, type TTextAlign, type TTextSize, type TTextWrap, TagChip, type TagChipProps, type TagChipVariant, Text, TextArea, type TextProps, type TextareaProps, ThemeTokens, UserCard, type UserCardProps, Widget, WidgetPanel, type WidgetPanelProps, type WidgetProps, WidgetTrigger, type WidgetTriggerProps, globalStyles, styles };
|