@landtrustinc/design-system 1.2.44 → 1.2.47-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 +163 -3
- package/dist/index.js +954 -303
- 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, { SVGProps, HTMLAttributes, FC, PropsWithChildren, ReactNode } from 'react';
|
|
4
|
+
import React__default, { SVGProps, HTMLAttributes, FC, PropsWithChildren, ReactNode, MouseEvent, KeyboardEvent } 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';
|
|
@@ -1371,6 +1371,14 @@ type MessageBubbleProps = {
|
|
|
1371
1371
|
* Optional timestamp to display
|
|
1372
1372
|
*/
|
|
1373
1373
|
timestamp?: string;
|
|
1374
|
+
/**
|
|
1375
|
+
* Optional avatar image URL
|
|
1376
|
+
*/
|
|
1377
|
+
avatarSrc?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* Optional author name to display
|
|
1380
|
+
*/
|
|
1381
|
+
author?: string;
|
|
1374
1382
|
/**
|
|
1375
1383
|
* Additional CSS class names
|
|
1376
1384
|
*/
|
|
@@ -1380,7 +1388,7 @@ type MessageBubbleProps = {
|
|
|
1380
1388
|
*/
|
|
1381
1389
|
children?: React__default.ReactNode;
|
|
1382
1390
|
};
|
|
1383
|
-
declare const MessageBubble: ({ variant, timestamp, className, children, }: MessageBubbleProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1391
|
+
declare const MessageBubble: ({ variant, timestamp, avatarSrc, author, className, children, }: MessageBubbleProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1384
1392
|
|
|
1385
1393
|
type ChatWidgetMessage = React__default.ReactElement<React__default.ComponentProps<typeof AIResponse>, typeof AIResponse> | React__default.ReactElement<React__default.ComponentProps<typeof MessageBubble>, typeof MessageBubble>;
|
|
1386
1394
|
type SuggestedPrompt = {
|
|
@@ -1976,6 +1984,76 @@ type IconLabelProps = {
|
|
|
1976
1984
|
};
|
|
1977
1985
|
declare const IconLabel: ({ variant, label, iconSize, labelSize, className, ...rest }: IconLabelProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1978
1986
|
|
|
1987
|
+
type ImageGalleryItem = {
|
|
1988
|
+
/**
|
|
1989
|
+
* URL of the image
|
|
1990
|
+
*/
|
|
1991
|
+
src: string;
|
|
1992
|
+
/**
|
|
1993
|
+
* Alt text for the image
|
|
1994
|
+
*/
|
|
1995
|
+
alt?: string;
|
|
1996
|
+
/**
|
|
1997
|
+
* Optional caption to display below the image
|
|
1998
|
+
*/
|
|
1999
|
+
caption?: ReactNode;
|
|
2000
|
+
};
|
|
2001
|
+
type ImageGalleryModalProps = {
|
|
2002
|
+
/**
|
|
2003
|
+
* Unique identifier for the modal
|
|
2004
|
+
*/
|
|
2005
|
+
id: string;
|
|
2006
|
+
/**
|
|
2007
|
+
* Whether the modal is open
|
|
2008
|
+
*/
|
|
2009
|
+
isOpen: boolean;
|
|
2010
|
+
/**
|
|
2011
|
+
* Callback when the modal is closed
|
|
2012
|
+
*/
|
|
2013
|
+
onClose?: (event: MouseEvent | KeyboardEvent) => void;
|
|
2014
|
+
/**
|
|
2015
|
+
* Array of images to display in the gallery
|
|
2016
|
+
*/
|
|
2017
|
+
images: ImageGalleryItem[];
|
|
2018
|
+
/**
|
|
2019
|
+
* Initial slide index to show when modal opens
|
|
2020
|
+
* @default 0
|
|
2021
|
+
*/
|
|
2022
|
+
initialIndex?: number;
|
|
2023
|
+
/**
|
|
2024
|
+
* Whether to show navigation dots
|
|
2025
|
+
* @default true
|
|
2026
|
+
*/
|
|
2027
|
+
showDots?: boolean;
|
|
2028
|
+
/**
|
|
2029
|
+
* Whether to show navigation arrows
|
|
2030
|
+
* @default true
|
|
2031
|
+
*/
|
|
2032
|
+
showArrows?: boolean;
|
|
2033
|
+
/**
|
|
2034
|
+
* Whether to show image counter (e.g., "3 / 10")
|
|
2035
|
+
* @default true
|
|
2036
|
+
*/
|
|
2037
|
+
showCounter?: boolean;
|
|
2038
|
+
/**
|
|
2039
|
+
* Additional CSS class name
|
|
2040
|
+
*/
|
|
2041
|
+
className?: string;
|
|
2042
|
+
/**
|
|
2043
|
+
* Accessible label for the gallery
|
|
2044
|
+
*/
|
|
2045
|
+
ariaLabel?: string;
|
|
2046
|
+
};
|
|
2047
|
+
|
|
2048
|
+
/**
|
|
2049
|
+
* ImageGalleryModal component for displaying images in a fullscreen carousel modal.
|
|
2050
|
+
* Supports keyboard navigation (arrow keys), swipe gestures, and accessibility features.
|
|
2051
|
+
*/
|
|
2052
|
+
declare const ImageGalleryModal: {
|
|
2053
|
+
({ id, isOpen, onClose, images, initialIndex, showDots, showArrows, showCounter, className, ariaLabel, }: ImageGalleryModalProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
2054
|
+
displayName: string;
|
|
2055
|
+
};
|
|
2056
|
+
|
|
1979
2057
|
type InfoBoxProps = {
|
|
1980
2058
|
/**
|
|
1981
2059
|
* Heading text for the info box
|
|
@@ -2197,6 +2275,88 @@ type MarkdownContentProps = {
|
|
|
2197
2275
|
};
|
|
2198
2276
|
declare const MarkdownContent: React__default.FC<MarkdownContentProps>;
|
|
2199
2277
|
|
|
2278
|
+
type ModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
2279
|
+
type ModalProps = {
|
|
2280
|
+
/**
|
|
2281
|
+
* Unique identifier for the modal
|
|
2282
|
+
*/
|
|
2283
|
+
id: string;
|
|
2284
|
+
/**
|
|
2285
|
+
* Whether the modal is open
|
|
2286
|
+
*/
|
|
2287
|
+
isOpen: boolean;
|
|
2288
|
+
/**
|
|
2289
|
+
* Callback when the modal is closed
|
|
2290
|
+
*/
|
|
2291
|
+
onClose?: (event: MouseEvent | KeyboardEvent) => void;
|
|
2292
|
+
/**
|
|
2293
|
+
* Modal content
|
|
2294
|
+
*/
|
|
2295
|
+
children?: ReactNode;
|
|
2296
|
+
/**
|
|
2297
|
+
* Size of the modal
|
|
2298
|
+
* @default 'md'
|
|
2299
|
+
*/
|
|
2300
|
+
size?: ModalSize;
|
|
2301
|
+
/**
|
|
2302
|
+
* Whether to close the modal when clicking outside
|
|
2303
|
+
* @default true
|
|
2304
|
+
*/
|
|
2305
|
+
closeOnOutsideClick?: boolean;
|
|
2306
|
+
/**
|
|
2307
|
+
* Whether to close the modal when pressing Escape
|
|
2308
|
+
* @default true
|
|
2309
|
+
*/
|
|
2310
|
+
closeOnEscape?: boolean;
|
|
2311
|
+
/**
|
|
2312
|
+
* Whether to show the close button
|
|
2313
|
+
* @default true
|
|
2314
|
+
*/
|
|
2315
|
+
showCloseButton?: boolean;
|
|
2316
|
+
/**
|
|
2317
|
+
* Icon variant for the close button
|
|
2318
|
+
* @default 'Xmark'
|
|
2319
|
+
*/
|
|
2320
|
+
closeButtonIcon?: IconVariantTypes$1;
|
|
2321
|
+
/**
|
|
2322
|
+
* Custom styles for the scroll layer (backdrop)
|
|
2323
|
+
*/
|
|
2324
|
+
scrollLayerStyles?: Interpolation<Theme>;
|
|
2325
|
+
/**
|
|
2326
|
+
* Custom styles for the container
|
|
2327
|
+
*/
|
|
2328
|
+
containerStyles?: Interpolation<Theme>;
|
|
2329
|
+
/**
|
|
2330
|
+
* Custom styles for the content area
|
|
2331
|
+
*/
|
|
2332
|
+
contentStyles?: Interpolation<Theme>;
|
|
2333
|
+
/**
|
|
2334
|
+
* Custom styles for the close button
|
|
2335
|
+
*/
|
|
2336
|
+
closeButtonStyles?: Interpolation<Theme>;
|
|
2337
|
+
/**
|
|
2338
|
+
* Additional CSS class name
|
|
2339
|
+
*/
|
|
2340
|
+
className?: string;
|
|
2341
|
+
/**
|
|
2342
|
+
* Accessible label for the modal
|
|
2343
|
+
*/
|
|
2344
|
+
ariaLabel?: string;
|
|
2345
|
+
/**
|
|
2346
|
+
* ID of the element that describes the modal
|
|
2347
|
+
*/
|
|
2348
|
+
ariaDescribedBy?: string;
|
|
2349
|
+
};
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* Modal component for displaying content in an overlay dialog.
|
|
2353
|
+
* Supports keyboard navigation, focus trapping, and accessibility features.
|
|
2354
|
+
*/
|
|
2355
|
+
declare const Modal: {
|
|
2356
|
+
({ id, isOpen, onClose, children, size, closeOnOutsideClick, closeOnEscape, showCloseButton, closeButtonIcon, scrollLayerStyles: customScrollLayerStyles, containerStyles: customContainerStyles, contentStyles: customContentStyles, closeButtonStyles: customCloseButtonStyles, className, ariaLabel, ariaDescribedBy, }: ModalProps): React__default.ReactPortal | null;
|
|
2357
|
+
displayName: string;
|
|
2358
|
+
};
|
|
2359
|
+
|
|
2200
2360
|
type NavLink = {
|
|
2201
2361
|
/**
|
|
2202
2362
|
* Text label for the navigation link
|
|
@@ -2697,4 +2857,4 @@ declare const Widget: React__default.FC<WidgetProps> & {
|
|
|
2697
2857
|
}>;
|
|
2698
2858
|
};
|
|
2699
2859
|
|
|
2700
|
-
export { AIResponse, type AIResponseProps, ActionMenu, type ActionMenuItem, type ActionMenuProps, AddOnBlock, type AddOnBlockProps, AvailabilityBadge, type AvailabilityBadgeProps, type AvailabilityBadgeVariant, Avatar, type AvatarProps, type AvatarSize, type AvatarType, type BaseInputProps, Box, type BoxProps, Button, type ButtonProps, type ButtonVariants, BytescaleImage, type BytescaleImageProps, type CarouselPositions, ChatWidget, type ChatWidgetMessage, type ChatWidgetProps, Column, type ColumnProps, ContactLandownerButton, type ContactLandownerButtonProps, Container, Divider, type DividerProps, type DotsColors, type EarlyAccessTimerConfig, 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, ProgressBar, type ProgressBarProps, 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, type TimeLeft, Timer, type TimerProps, 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 };
|
|
2860
|
+
export { AIResponse, type AIResponseProps, ActionMenu, type ActionMenuItem, type ActionMenuProps, AddOnBlock, type AddOnBlockProps, AvailabilityBadge, type AvailabilityBadgeProps, type AvailabilityBadgeVariant, Avatar, type AvatarProps, type AvatarSize, type AvatarType, type BaseInputProps, Box, type BoxProps, Button, type ButtonProps, type ButtonVariants, BytescaleImage, type BytescaleImageProps, type CarouselPositions, ChatWidget, type ChatWidgetMessage, type ChatWidgetProps, Column, type ColumnProps, ContactLandownerButton, type ContactLandownerButtonProps, Container, Divider, type DividerProps, type DotsColors, type EarlyAccessTimerConfig, 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, type ImageGalleryItem, ImageGalleryModal, ImageGalleryModal as ImageGalleryModalComponent, type ImageGalleryModalProps, 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, Modal, Modal as ModalComponent, type ModalProps, type ModalSize, type NavLink, Navigation, type NavigationProps, PackageCard, type PackageCardBadge, type PackageCardProps, PackageHeader, type PackageHeaderProps, ProgressBar, type ProgressBarProps, 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, type TimeLeft, Timer, type TimerProps, 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 };
|