@landtrustinc/design-system 1.1.5 → 1.1.6
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 +83 -1
- package/dist/index.js +699 -362
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -586,6 +586,36 @@ type AvailabilityChipProps = {
|
|
|
586
586
|
};
|
|
587
587
|
declare const AvailabilityChip: FC<PropsWithChildren<AvailabilityChipProps>>;
|
|
588
588
|
|
|
589
|
+
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
590
|
+
type AvatarType = 'image' | 'text';
|
|
591
|
+
type AvatarProps = {
|
|
592
|
+
/**
|
|
593
|
+
* Type of avatar - image or text initials
|
|
594
|
+
*/
|
|
595
|
+
type?: AvatarType;
|
|
596
|
+
/**
|
|
597
|
+
* Source URL of the avatar image (required for type="image")
|
|
598
|
+
*/
|
|
599
|
+
src?: string;
|
|
600
|
+
/**
|
|
601
|
+
* Text to generate initials from (required for type="text")
|
|
602
|
+
*/
|
|
603
|
+
text?: string;
|
|
604
|
+
/**
|
|
605
|
+
* Alt text for the avatar
|
|
606
|
+
*/
|
|
607
|
+
alt: string;
|
|
608
|
+
/**
|
|
609
|
+
* Size of the avatar
|
|
610
|
+
*/
|
|
611
|
+
size?: AvatarSize;
|
|
612
|
+
/**
|
|
613
|
+
* Additional CSS class names
|
|
614
|
+
*/
|
|
615
|
+
className?: string;
|
|
616
|
+
};
|
|
617
|
+
declare const Avatar: FC<AvatarProps>;
|
|
618
|
+
|
|
589
619
|
type BoxProps = HTMLAttributes<HTMLDivElement> & BorderProps & SpaceProps & ColorProps & FlexboxProps & GridProps$1 & LayoutProps & PositionProps & TypographyProps & WidthProps & {
|
|
590
620
|
children?: React.ReactNode;
|
|
591
621
|
gap?: unknown;
|
|
@@ -1661,6 +1691,31 @@ type PackageCardProps = {
|
|
|
1661
1691
|
};
|
|
1662
1692
|
declare const PackageCard: ({ images, title, subtitle, startingPrice, tripsLeft, isFavorited, onFavoriteClick, onClick, className, days, guests, hasLodging, ...rest }: PackageCardProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1663
1693
|
|
|
1694
|
+
type ReviewReplyProps = {
|
|
1695
|
+
avatarSrc: string;
|
|
1696
|
+
name: string;
|
|
1697
|
+
date: string;
|
|
1698
|
+
content: string;
|
|
1699
|
+
label?: string;
|
|
1700
|
+
rating: number;
|
|
1701
|
+
};
|
|
1702
|
+
|
|
1703
|
+
type ReviewCardProps = {
|
|
1704
|
+
avatarSrc: string;
|
|
1705
|
+
name: string;
|
|
1706
|
+
date: string;
|
|
1707
|
+
rating: number;
|
|
1708
|
+
availabilityChip?: {
|
|
1709
|
+
variant: 'primary' | 'error' | 'action' | 'warning' | 'neutral';
|
|
1710
|
+
text: string;
|
|
1711
|
+
};
|
|
1712
|
+
content: string;
|
|
1713
|
+
images?: string[];
|
|
1714
|
+
replies?: ReviewReplyProps[];
|
|
1715
|
+
className?: string;
|
|
1716
|
+
};
|
|
1717
|
+
declare const ReviewCard: FC<ReviewCardProps>;
|
|
1718
|
+
|
|
1664
1719
|
type ReviewItemProps = {
|
|
1665
1720
|
/**
|
|
1666
1721
|
* Label for the review item (e.g., "Communication", "Property", "Lodging")
|
|
@@ -1710,6 +1765,23 @@ type SpinnerProps = {
|
|
|
1710
1765
|
};
|
|
1711
1766
|
declare const Spinner: ({ size, className, fill }: SpinnerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1712
1767
|
|
|
1768
|
+
type StarSizeVariant = 'sm' | 'md';
|
|
1769
|
+
type StarRatingProps = {
|
|
1770
|
+
/**
|
|
1771
|
+
* Rating value from 1 to 5
|
|
1772
|
+
*/
|
|
1773
|
+
rating: number;
|
|
1774
|
+
/**
|
|
1775
|
+
* Additional CSS class names
|
|
1776
|
+
*/
|
|
1777
|
+
className?: string;
|
|
1778
|
+
/**
|
|
1779
|
+
* Size of the star icons
|
|
1780
|
+
*/
|
|
1781
|
+
size?: StarSizeVariant;
|
|
1782
|
+
};
|
|
1783
|
+
declare const StarRating: FC<StarRatingProps>;
|
|
1784
|
+
|
|
1713
1785
|
type TagChipVariant = 'primary' | 'success' | 'warning' | 'error';
|
|
1714
1786
|
|
|
1715
1787
|
type TagChipProps = HTMLAttributes<HTMLSpanElement> & {
|
|
@@ -1802,6 +1874,16 @@ type TextProps = HTMLAttributes<HTMLElement> & {
|
|
|
1802
1874
|
};
|
|
1803
1875
|
declare const Text: FC<PropsWithChildren<TextProps>>;
|
|
1804
1876
|
|
|
1877
|
+
type UserCardProps = {
|
|
1878
|
+
avatarSrc: string;
|
|
1879
|
+
title: string;
|
|
1880
|
+
subtitle?: string;
|
|
1881
|
+
rating?: number;
|
|
1882
|
+
showRating?: boolean;
|
|
1883
|
+
className?: string;
|
|
1884
|
+
};
|
|
1885
|
+
declare const UserCard: FC<UserCardProps>;
|
|
1886
|
+
|
|
1805
1887
|
type IconVariantTypes = Parameters<typeof Icon>[0]['variant'];
|
|
1806
1888
|
type WidgetProps = {
|
|
1807
1889
|
/**
|
|
@@ -1872,4 +1954,4 @@ declare const Widget: React__default.FC<WidgetProps> & {
|
|
|
1872
1954
|
}>;
|
|
1873
1955
|
};
|
|
1874
1956
|
|
|
1875
|
-
export { AIResponse, type AIResponseProps, AvailabilityChip, type AvailabilityChipProps, type AvailabilityChipVariant, type BaseInputProps, Box, type BoxProps, Button, type ButtonProps, type ButtonVariants, ChatWidget, type ChatWidgetMessage, type ChatWidgetProps, Column, type ColumnProps, Container, Divider, type DividerProps, 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, 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, type ResponsiveValue, Reviews, type ReviewsProps, ReviewsShowcase, Select, type SelectOption, type SelectProps, Spinner, type SpinnerProps, type TFontWeight, type THeadingSize, type TTextAlign, type TTextSize, type TTextWrap, TagChip, type TagChipProps, type TagChipVariant, Text, TextArea, type TextProps, type TextareaProps, ThemeTokens, Widget, WidgetPanel, type WidgetPanelProps, type WidgetProps, WidgetTrigger, type WidgetTriggerProps, globalStyles, styles };
|
|
1957
|
+
export { AIResponse, type AIResponseProps, AvailabilityChip, type AvailabilityChipProps, type AvailabilityChipVariant, 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, 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, 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, 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 };
|