@landtrustinc/design-system 1.1.7 → 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 +39 -15
- package/dist/index.js +259 -194
- 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';
|
|
@@ -1188,19 +1188,23 @@ type FeatureListItemProps = {
|
|
|
1188
1188
|
/**
|
|
1189
1189
|
* Icon variant to display
|
|
1190
1190
|
*/
|
|
1191
|
-
|
|
1191
|
+
iconVariant: IconVariantTypes$1;
|
|
1192
1192
|
/**
|
|
1193
|
-
*
|
|
1193
|
+
* Size of the icon
|
|
1194
1194
|
*/
|
|
1195
|
-
|
|
1195
|
+
iconSize?: keyof typeof space;
|
|
1196
1196
|
/**
|
|
1197
|
-
*
|
|
1197
|
+
* Color of the icon
|
|
1198
1198
|
*/
|
|
1199
|
-
|
|
1199
|
+
iconColor?: string;
|
|
1200
1200
|
/**
|
|
1201
|
-
*
|
|
1201
|
+
* Main label text
|
|
1202
1202
|
*/
|
|
1203
|
-
|
|
1203
|
+
label: React__default.ReactNode;
|
|
1204
|
+
/**
|
|
1205
|
+
* Optional subtitle/description text
|
|
1206
|
+
*/
|
|
1207
|
+
subtitle?: React__default.ReactNode;
|
|
1204
1208
|
/**
|
|
1205
1209
|
* Additional CSS class names
|
|
1206
1210
|
*/
|
|
@@ -1749,6 +1753,26 @@ type PackageCardProps = {
|
|
|
1749
1753
|
};
|
|
1750
1754
|
declare const PackageCard: ({ images, title, subtitle, startingPrice, tripsLeft, isFavorited, onFavoriteClick, onClick, className, days, guests, hasLodging, ...rest }: PackageCardProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1751
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
|
+
|
|
1752
1776
|
type ReviewReplyProps = {
|
|
1753
1777
|
avatarSrc: string;
|
|
1754
1778
|
name: string;
|
|
@@ -1763,7 +1787,7 @@ type ReviewCardProps = {
|
|
|
1763
1787
|
name: string;
|
|
1764
1788
|
date: string;
|
|
1765
1789
|
rating: number;
|
|
1766
|
-
|
|
1790
|
+
availabilityBadge?: {
|
|
1767
1791
|
variant: 'primary' | 'error' | 'action' | 'warning' | 'neutral';
|
|
1768
1792
|
text: string;
|
|
1769
1793
|
};
|
|
@@ -2012,4 +2036,4 @@ declare const Widget: React__default.FC<WidgetProps> & {
|
|
|
2012
2036
|
}>;
|
|
2013
2037
|
};
|
|
2014
2038
|
|
|
2015
|
-
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 };
|