@landtrustinc/design-system 1.2.43 → 1.2.45
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 +900 -294
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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';
|
|
8
|
-
import { BorderProps, SpaceProps, ColorProps, FlexboxProps, GridProps as GridProps$1, LayoutProps, PositionProps, TypographyProps, WidthProps } from 'styled-system';
|
|
8
|
+
import { BorderProps, SpaceProps, ColorProps, FlexboxProps, GridProps as GridProps$1, LayoutProps, PositionProps, TypographyProps, WidthProps, TLengthStyledSystem } from 'styled-system';
|
|
9
9
|
import * as _emotion_react from '@emotion/react';
|
|
10
10
|
import { Interpolation, Theme } from '@emotion/react';
|
|
11
11
|
|
|
@@ -1976,6 +1976,76 @@ type IconLabelProps = {
|
|
|
1976
1976
|
};
|
|
1977
1977
|
declare const IconLabel: ({ variant, label, iconSize, labelSize, className, ...rest }: IconLabelProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1978
1978
|
|
|
1979
|
+
type ImageGalleryItem = {
|
|
1980
|
+
/**
|
|
1981
|
+
* URL of the image
|
|
1982
|
+
*/
|
|
1983
|
+
src: string;
|
|
1984
|
+
/**
|
|
1985
|
+
* Alt text for the image
|
|
1986
|
+
*/
|
|
1987
|
+
alt?: string;
|
|
1988
|
+
/**
|
|
1989
|
+
* Optional caption to display below the image
|
|
1990
|
+
*/
|
|
1991
|
+
caption?: ReactNode;
|
|
1992
|
+
};
|
|
1993
|
+
type ImageGalleryModalProps = {
|
|
1994
|
+
/**
|
|
1995
|
+
* Unique identifier for the modal
|
|
1996
|
+
*/
|
|
1997
|
+
id: string;
|
|
1998
|
+
/**
|
|
1999
|
+
* Whether the modal is open
|
|
2000
|
+
*/
|
|
2001
|
+
isOpen: boolean;
|
|
2002
|
+
/**
|
|
2003
|
+
* Callback when the modal is closed
|
|
2004
|
+
*/
|
|
2005
|
+
onClose?: (event: MouseEvent | KeyboardEvent) => void;
|
|
2006
|
+
/**
|
|
2007
|
+
* Array of images to display in the gallery
|
|
2008
|
+
*/
|
|
2009
|
+
images: ImageGalleryItem[];
|
|
2010
|
+
/**
|
|
2011
|
+
* Initial slide index to show when modal opens
|
|
2012
|
+
* @default 0
|
|
2013
|
+
*/
|
|
2014
|
+
initialIndex?: number;
|
|
2015
|
+
/**
|
|
2016
|
+
* Whether to show navigation dots
|
|
2017
|
+
* @default true
|
|
2018
|
+
*/
|
|
2019
|
+
showDots?: boolean;
|
|
2020
|
+
/**
|
|
2021
|
+
* Whether to show navigation arrows
|
|
2022
|
+
* @default true
|
|
2023
|
+
*/
|
|
2024
|
+
showArrows?: boolean;
|
|
2025
|
+
/**
|
|
2026
|
+
* Whether to show image counter (e.g., "3 / 10")
|
|
2027
|
+
* @default true
|
|
2028
|
+
*/
|
|
2029
|
+
showCounter?: boolean;
|
|
2030
|
+
/**
|
|
2031
|
+
* Additional CSS class name
|
|
2032
|
+
*/
|
|
2033
|
+
className?: string;
|
|
2034
|
+
/**
|
|
2035
|
+
* Accessible label for the gallery
|
|
2036
|
+
*/
|
|
2037
|
+
ariaLabel?: string;
|
|
2038
|
+
};
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* ImageGalleryModal component for displaying images in a fullscreen carousel modal.
|
|
2042
|
+
* Supports keyboard navigation (arrow keys), swipe gestures, and accessibility features.
|
|
2043
|
+
*/
|
|
2044
|
+
declare const ImageGalleryModal: {
|
|
2045
|
+
({ id, isOpen, onClose, images, initialIndex, showDots, showArrows, showCounter, className, ariaLabel, }: ImageGalleryModalProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
2046
|
+
displayName: string;
|
|
2047
|
+
};
|
|
2048
|
+
|
|
1979
2049
|
type InfoBoxProps = {
|
|
1980
2050
|
/**
|
|
1981
2051
|
* Heading text for the info box
|
|
@@ -2197,6 +2267,88 @@ type MarkdownContentProps = {
|
|
|
2197
2267
|
};
|
|
2198
2268
|
declare const MarkdownContent: React__default.FC<MarkdownContentProps>;
|
|
2199
2269
|
|
|
2270
|
+
type ModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
2271
|
+
type ModalProps = {
|
|
2272
|
+
/**
|
|
2273
|
+
* Unique identifier for the modal
|
|
2274
|
+
*/
|
|
2275
|
+
id: string;
|
|
2276
|
+
/**
|
|
2277
|
+
* Whether the modal is open
|
|
2278
|
+
*/
|
|
2279
|
+
isOpen: boolean;
|
|
2280
|
+
/**
|
|
2281
|
+
* Callback when the modal is closed
|
|
2282
|
+
*/
|
|
2283
|
+
onClose?: (event: MouseEvent | KeyboardEvent) => void;
|
|
2284
|
+
/**
|
|
2285
|
+
* Modal content
|
|
2286
|
+
*/
|
|
2287
|
+
children?: ReactNode;
|
|
2288
|
+
/**
|
|
2289
|
+
* Size of the modal
|
|
2290
|
+
* @default 'md'
|
|
2291
|
+
*/
|
|
2292
|
+
size?: ModalSize;
|
|
2293
|
+
/**
|
|
2294
|
+
* Whether to close the modal when clicking outside
|
|
2295
|
+
* @default true
|
|
2296
|
+
*/
|
|
2297
|
+
closeOnOutsideClick?: boolean;
|
|
2298
|
+
/**
|
|
2299
|
+
* Whether to close the modal when pressing Escape
|
|
2300
|
+
* @default true
|
|
2301
|
+
*/
|
|
2302
|
+
closeOnEscape?: boolean;
|
|
2303
|
+
/**
|
|
2304
|
+
* Whether to show the close button
|
|
2305
|
+
* @default true
|
|
2306
|
+
*/
|
|
2307
|
+
showCloseButton?: boolean;
|
|
2308
|
+
/**
|
|
2309
|
+
* Icon variant for the close button
|
|
2310
|
+
* @default 'Xmark'
|
|
2311
|
+
*/
|
|
2312
|
+
closeButtonIcon?: IconVariantTypes$1;
|
|
2313
|
+
/**
|
|
2314
|
+
* Custom styles for the scroll layer (backdrop)
|
|
2315
|
+
*/
|
|
2316
|
+
scrollLayerStyles?: Interpolation<Theme>;
|
|
2317
|
+
/**
|
|
2318
|
+
* Custom styles for the container
|
|
2319
|
+
*/
|
|
2320
|
+
containerStyles?: Interpolation<Theme>;
|
|
2321
|
+
/**
|
|
2322
|
+
* Custom styles for the content area
|
|
2323
|
+
*/
|
|
2324
|
+
contentStyles?: Interpolation<Theme>;
|
|
2325
|
+
/**
|
|
2326
|
+
* Custom styles for the close button
|
|
2327
|
+
*/
|
|
2328
|
+
closeButtonStyles?: Interpolation<Theme>;
|
|
2329
|
+
/**
|
|
2330
|
+
* Additional CSS class name
|
|
2331
|
+
*/
|
|
2332
|
+
className?: string;
|
|
2333
|
+
/**
|
|
2334
|
+
* Accessible label for the modal
|
|
2335
|
+
*/
|
|
2336
|
+
ariaLabel?: string;
|
|
2337
|
+
/**
|
|
2338
|
+
* ID of the element that describes the modal
|
|
2339
|
+
*/
|
|
2340
|
+
ariaDescribedBy?: string;
|
|
2341
|
+
};
|
|
2342
|
+
|
|
2343
|
+
/**
|
|
2344
|
+
* Modal component for displaying content in an overlay dialog.
|
|
2345
|
+
* Supports keyboard navigation, focus trapping, and accessibility features.
|
|
2346
|
+
*/
|
|
2347
|
+
declare const Modal: {
|
|
2348
|
+
({ 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;
|
|
2349
|
+
displayName: string;
|
|
2350
|
+
};
|
|
2351
|
+
|
|
2200
2352
|
type NavLink = {
|
|
2201
2353
|
/**
|
|
2202
2354
|
* Text label for the navigation link
|
|
@@ -2367,6 +2519,14 @@ type ProgressBarProps = {
|
|
|
2367
2519
|
* Additional CSS class names
|
|
2368
2520
|
*/
|
|
2369
2521
|
className?: string;
|
|
2522
|
+
/**
|
|
2523
|
+
* Height of the progress bar
|
|
2524
|
+
*/
|
|
2525
|
+
height?: TLengthStyledSystem;
|
|
2526
|
+
/**
|
|
2527
|
+
* Kind of the progress bar
|
|
2528
|
+
*/
|
|
2529
|
+
kind?: 'rounded' | 'square';
|
|
2370
2530
|
};
|
|
2371
2531
|
declare const ProgressBar: FC<ProgressBarProps>;
|
|
2372
2532
|
|
|
@@ -2689,4 +2849,4 @@ declare const Widget: React__default.FC<WidgetProps> & {
|
|
|
2689
2849
|
}>;
|
|
2690
2850
|
};
|
|
2691
2851
|
|
|
2692
|
-
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 };
|
|
2852
|
+
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 };
|