@landtrustinc/design-system 1.2.5-beta.3 → 1.2.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 +96 -106
- package/dist/index.js +818 -810
- package/dist/index.js.map +1 -1
- package/dist/styles.ts +0 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ declare const media: {
|
|
|
24
24
|
lg: string;
|
|
25
25
|
xl: string;
|
|
26
26
|
};
|
|
27
|
-
declare const breakpoints: string[];
|
|
28
27
|
declare const colors: {
|
|
29
28
|
gray: {
|
|
30
29
|
100: string;
|
|
@@ -270,7 +269,6 @@ declare const ThemeTokens: {
|
|
|
270
269
|
lg: string;
|
|
271
270
|
xl: string;
|
|
272
271
|
};
|
|
273
|
-
breakpoints: string[];
|
|
274
272
|
colors: {
|
|
275
273
|
gray: {
|
|
276
274
|
100: string;
|
|
@@ -508,7 +506,6 @@ declare const ThemeTokens: {
|
|
|
508
506
|
declare const styles_ThemeTokens: typeof ThemeTokens;
|
|
509
507
|
declare const styles_borderRadius: typeof borderRadius;
|
|
510
508
|
declare const styles_boxShadow: typeof boxShadow;
|
|
511
|
-
declare const styles_breakpoints: typeof breakpoints;
|
|
512
509
|
declare const styles_colors: typeof colors;
|
|
513
510
|
declare const styles_fontSizes: typeof fontSizes;
|
|
514
511
|
declare const styles_fontWeights: typeof fontWeights;
|
|
@@ -524,7 +521,7 @@ declare const styles_textShadow: typeof textShadow;
|
|
|
524
521
|
declare const styles_transition: typeof transition;
|
|
525
522
|
declare const styles_zIndex: typeof zIndex;
|
|
526
523
|
declare namespace styles {
|
|
527
|
-
export { styles_ThemeTokens as ThemeTokens, styles_borderRadius as borderRadius, styles_boxShadow as boxShadow,
|
|
524
|
+
export { styles_ThemeTokens as ThemeTokens, styles_borderRadius as borderRadius, styles_boxShadow as boxShadow, styles_colors as colors, styles_fontSizes as fontSizes, styles_fontWeights as fontWeights, styles_fonts as fonts, styles_headingSizes as headingSizes, styles_lineHeights as lineHeights, styles_media as media, styles_opacity as opacity, styles_screens as screens, styles_sizes as sizes, styles_space as space, styles_textShadow as textShadow, styles_transition as transition, styles_zIndex as zIndex };
|
|
528
525
|
}
|
|
529
526
|
|
|
530
527
|
type TopMatchingFieldNoteProps = {
|
|
@@ -973,6 +970,8 @@ declare const SvgLocationCircle: (props: SVGProps<SVGSVGElement>) => _emotion_re
|
|
|
973
970
|
|
|
974
971
|
declare const SvgLocationDotSolid: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
975
972
|
|
|
973
|
+
declare const SvgLodge: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
974
|
+
|
|
976
975
|
declare const SvgMagnifyingGlass: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
977
976
|
|
|
978
977
|
declare const SvgMap: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -1037,6 +1036,8 @@ declare const SvgRoadSolid: (props: SVGProps<SVGSVGElement>) => _emotion_react_j
|
|
|
1037
1036
|
|
|
1038
1037
|
declare const SvgRulerTriangleSolid: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1039
1038
|
|
|
1039
|
+
declare const SvgRv: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1040
|
+
|
|
1040
1041
|
declare const SvgSailboat: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1041
1042
|
|
|
1042
1043
|
declare const SvgSewage: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -1124,7 +1125,7 @@ declare const SvgXmark: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_r
|
|
|
1124
1125
|
declare const SvgYoutubeSquare: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1125
1126
|
|
|
1126
1127
|
declare namespace Icons {
|
|
1127
|
-
export { SvgAiMagic as AiMagic, SvgAmenitity as Amenitity, SvgAngleDownSharp as AngleDownSharp, SvgAngleLeft as AngleLeft, SvgAngleRight as AngleRight, SvgAngleUp as AngleUp, SvgAntelope as Antelope, SvgArchery as Archery, SvgArrowCircleLeft as ArrowCircleLeft, SvgArrowCircleRight as ArrowCircleRight, SvgArrowDownWideShort as ArrowDownWideShort, SvgArrowRotateLeft as ArrowRotateLeft, SvgArrowUpFromSquare as ArrowUpFromSquare, SvgArrowUpRightFromSquare as ArrowUpRightFromSquare, SvgArrowsLeftRight as ArrowsLeftRight, SvgArtLure as ArtLure, SvgBadgeDark as BadgeDark, SvgBan as Ban, SvgBars as Bars, SvgBathSolid as BathSolid, SvgBear as Bear, SvgBedSolid as BedSolid, SvgBell as Bell, SvgBellSlash as BellSlash, SvgBellSolid as BellSolid, SvgBinoculars as Binoculars, SvgBoltSolid as BoltSolid, SvgBowArrowSharp as BowArrowSharp, SvgBowArrowSharpSolid as BowArrowSharpSolid, SvgBowFishing as BowFishing, SvgBoxArchive as BoxArchive, SvgCabin as Cabin, SvgCabinSolid as CabinSolid, SvgCalendar as Calendar, SvgCameraRetro as CameraRetro, SvgCampfire as Campfire, SvgCanoe as Canoe, SvgCaravanSimple as CaravanSimple, SvgCaravanSimpleSolid as CaravanSimpleSolid, SvgCheck as Check, SvgCircleCheck as CircleCheck, SvgCircleInfo as CircleInfo, SvgCircleXmark as CircleXmark, SvgClimbing as Climbing, SvgClock as Clock, SvgClockSolid as ClockSolid, SvgConversationalSearchAi as ConversationalSearchAi, SvgCopy as Copy, SvgCoyote as Coyote, SvgCurveLine as CurveLine, SvgDogLeashed as DogLeashed, SvgDownCarrot as DownCarrot, SvgDuck as Duck, SvgElk as Elk, SvgEllipsis as Ellipsis, SvgEnvelope as Envelope, SvgEye as Eye, SvgEyeSlash as EyeSlash, SvgFacebook as Facebook, SvgFacebookCircle as FacebookCircle, SvgFacebookSquare as FacebookSquare, SvgFarm as Farm, SvgFarmSolid as FarmSolid, SvgFilter as Filter, SvgFishingRod as FishingRod, SvgFishingRodSolid as FishingRodSolid, SvgFlagSplash as FlagSplash, SvgFlyFishing as FlyFishing, SvgFood as Food, SvgFossil as Fossil, SvgGameCam as GameCam, SvgGameFeeder as GameFeeder, SvgGridSolid as GridSolid, SvgGrillHotSolid as GrillHotSolid, SvgGroundBlind as GroundBlind, SvgHandsUsd as HandsUsd, SvgHeart as Heart, SvgHeartSolid as HeartSolid, SvgHorseSaddle as HorseSaddle, SvgHouse as House, SvgHouseCircleCheck as HouseCircleCheck, SvgHouseSolid as HouseSolid, SvgIconCalendar as IconCalendar, SvgIconCalendarFilled as IconCalendarFilled, SvgIconComment as IconComment, SvgIconCommentFilled as IconCommentFilled, SvgIconDashboardGuage as IconDashboardGuage, SvgIconDeleteTrash as IconDeleteTrash, SvgIconFieldNotesUpdates as IconFieldNotesUpdates, SvgIconHamburgerMenuFilledSmall as IconHamburgerMenuFilledSmall, SvgIconHamburgerMenuSmall as IconHamburgerMenuSmall, SvgIconHeart as IconHeart, SvgIconHeartFilled as IconHeartFilled, SvgIconHeartSmall as IconHeartSmall, SvgIconHelp as IconHelp, SvgIconInfoI as IconInfoI, SvgIconInquire as IconInquire, SvgIconLodge as IconLodge, SvgIconLodgeFilled as IconLodgeFilled, SvgIconLogout as IconLogout, SvgIconMapPinLocation2 as IconMapPinLocation2, SvgIconMapPinLocationRegular as IconMapPinLocationRegular, SvgIconProfileGuests as IconProfileGuests, SvgIconSearch as IconSearch, SvgIconShare as IconShare, SvgIconVideo as IconVideo, SvgImage as Image, SvgInstagramSquare as InstagramSquare, SvgKayak as Kayak, SvgLandtrustBadge as LandtrustBadge, SvgLeafMaple as LeafMaple, SvgLevel as Level, SvgLightbulb as Lightbulb, SvgLink as Link, SvgLinkedinSquare as LinkedinSquare, SvgList as List, SvgLiveBait as LiveBait, SvgLocationCircle as LocationCircle, SvgLocationDotSolid as LocationDotSolid, SvgMagnifyingGlass as MagnifyingGlass, SvgMap as Map, SvgMapSolid as MapSolid, SvgMoundSolid as MoundSolid, SvgMuleDeer as MuleDeer, SvgMushroom as Mushroom, SvgNoteSticky as NoteSticky, SvgNoteStickySolid as NoteStickySolid, SvgPaddleboard as Paddleboard, SvgPaperPlane as PaperPlane, SvgPaperclip as Paperclip, SvgPedestalSolid as PedestalSolid, SvgPenToSquare as PenToSquare, SvgPencil as Pencil, SvgPersonBiking as PersonBiking, SvgPersonHiking as PersonHiking, SvgPersonSkiing as PersonSkiing, SvgPersonSledding as PersonSledding, SvgPersonSnowmobiling as PersonSnowmobiling, SvgPersonSwimming as PersonSwimming, SvgPheasant as Pheasant, SvgPhone as Phone, SvgPhoneSolid as PhoneSolid, SvgPig as Pig, SvgPinLogoSolid as PinLogoSolid, SvgPlugSolid as PlugSolid, SvgPlus as Plus, SvgQuotes as Quotes, SvgQuotesLight as QuotesLight, SvgRifle as Rifle, SvgRoadSolid as RoadSolid, SvgRulerTriangleSolid as RulerTriangleSolid, SvgSailboat as Sailboat, SvgSewage as Sewage, SvgShelter as Shelter, SvgShieldCheck as ShieldCheck, SvgShieldCheckSolid as ShieldCheckSolid, SvgShieldSplash as ShieldSplash, SvgSignsPostSharpSolid as SignsPostSharpSolid, SvgSmallCurvedLine as SmallCurvedLine, SvgSpinner as Spinner, SvgSquare as Square, SvgSquareInfoSolid as SquareInfoSolid, SvgSquareParking as SquareParking, SvgSquareParkingSolid as SquareParkingSolid, SvgStar as Star, SvgStarRegular as StarRegular, SvgStarSolid as StarSolid, SvgStarSplash as StarSplash, SvgTablePicnic as TablePicnic, SvgTackle as Tackle, SvgTelescope as Telescope, SvgTent as Tent, SvgTentSolid as TentSolid, SvgThumbsDown as ThumbsDown, SvgThumbsDownSolid as ThumbsDownSolid, SvgThumbsUp as ThumbsUp, SvgThumbsUpSolid as ThumbsUpSolid, SvgTrash as Trash, SvgTrashSolid as TrashSolid, SvgTreeDecorated as TreeDecorated, SvgTreeStand as TreeStand, SvgTrees as Trees, SvgTurkey as Turkey, SvgUpland as Upland, SvgUsFlag as UsFlag, SvgUser as User, SvgUserSolid as UserSolid, SvgUsers as Users, SvgWater as Water, SvgWaterTap as WaterTap, SvgWaterfowl as Waterfowl, SvgWhitetail as Whitetail, SvgXmark as Xmark, SvgYoutubeSquare as YoutubeSquare };
|
|
1128
|
+
export { SvgAiMagic as AiMagic, SvgAmenitity as Amenitity, SvgAngleDownSharp as AngleDownSharp, SvgAngleLeft as AngleLeft, SvgAngleRight as AngleRight, SvgAngleUp as AngleUp, SvgAntelope as Antelope, SvgArchery as Archery, SvgArrowCircleLeft as ArrowCircleLeft, SvgArrowCircleRight as ArrowCircleRight, SvgArrowDownWideShort as ArrowDownWideShort, SvgArrowRotateLeft as ArrowRotateLeft, SvgArrowUpFromSquare as ArrowUpFromSquare, SvgArrowUpRightFromSquare as ArrowUpRightFromSquare, SvgArrowsLeftRight as ArrowsLeftRight, SvgArtLure as ArtLure, SvgBadgeDark as BadgeDark, SvgBan as Ban, SvgBars as Bars, SvgBathSolid as BathSolid, SvgBear as Bear, SvgBedSolid as BedSolid, SvgBell as Bell, SvgBellSlash as BellSlash, SvgBellSolid as BellSolid, SvgBinoculars as Binoculars, SvgBoltSolid as BoltSolid, SvgBowArrowSharp as BowArrowSharp, SvgBowArrowSharpSolid as BowArrowSharpSolid, SvgBowFishing as BowFishing, SvgBoxArchive as BoxArchive, SvgCabin as Cabin, SvgCabinSolid as CabinSolid, SvgCalendar as Calendar, SvgCameraRetro as CameraRetro, SvgCampfire as Campfire, SvgCanoe as Canoe, SvgCaravanSimple as CaravanSimple, SvgCaravanSimpleSolid as CaravanSimpleSolid, SvgCheck as Check, SvgCircleCheck as CircleCheck, SvgCircleInfo as CircleInfo, SvgCircleXmark as CircleXmark, SvgClimbing as Climbing, SvgClock as Clock, SvgClockSolid as ClockSolid, SvgConversationalSearchAi as ConversationalSearchAi, SvgCopy as Copy, SvgCoyote as Coyote, SvgCurveLine as CurveLine, SvgDogLeashed as DogLeashed, SvgDownCarrot as DownCarrot, SvgDuck as Duck, SvgElk as Elk, SvgEllipsis as Ellipsis, SvgEnvelope as Envelope, SvgEye as Eye, SvgEyeSlash as EyeSlash, SvgFacebook as Facebook, SvgFacebookCircle as FacebookCircle, SvgFacebookSquare as FacebookSquare, SvgFarm as Farm, SvgFarmSolid as FarmSolid, SvgFilter as Filter, SvgFishingRod as FishingRod, SvgFishingRodSolid as FishingRodSolid, SvgFlagSplash as FlagSplash, SvgFlyFishing as FlyFishing, SvgFood as Food, SvgFossil as Fossil, SvgGameCam as GameCam, SvgGameFeeder as GameFeeder, SvgGridSolid as GridSolid, SvgGrillHotSolid as GrillHotSolid, SvgGroundBlind as GroundBlind, SvgHandsUsd as HandsUsd, SvgHeart as Heart, SvgHeartSolid as HeartSolid, SvgHorseSaddle as HorseSaddle, SvgHouse as House, SvgHouseCircleCheck as HouseCircleCheck, SvgHouseSolid as HouseSolid, SvgIconCalendar as IconCalendar, SvgIconCalendarFilled as IconCalendarFilled, SvgIconComment as IconComment, SvgIconCommentFilled as IconCommentFilled, SvgIconDashboardGuage as IconDashboardGuage, SvgIconDeleteTrash as IconDeleteTrash, SvgIconFieldNotesUpdates as IconFieldNotesUpdates, SvgIconHamburgerMenuFilledSmall as IconHamburgerMenuFilledSmall, SvgIconHamburgerMenuSmall as IconHamburgerMenuSmall, SvgIconHeart as IconHeart, SvgIconHeartFilled as IconHeartFilled, SvgIconHeartSmall as IconHeartSmall, SvgIconHelp as IconHelp, SvgIconInfoI as IconInfoI, SvgIconInquire as IconInquire, SvgIconLodge as IconLodge, SvgIconLodgeFilled as IconLodgeFilled, SvgIconLogout as IconLogout, SvgIconMapPinLocation2 as IconMapPinLocation2, SvgIconMapPinLocationRegular as IconMapPinLocationRegular, SvgIconProfileGuests as IconProfileGuests, SvgIconSearch as IconSearch, SvgIconShare as IconShare, SvgIconVideo as IconVideo, SvgImage as Image, SvgInstagramSquare as InstagramSquare, SvgKayak as Kayak, SvgLandtrustBadge as LandtrustBadge, SvgLeafMaple as LeafMaple, SvgLevel as Level, SvgLightbulb as Lightbulb, SvgLink as Link, SvgLinkedinSquare as LinkedinSquare, SvgList as List, SvgLiveBait as LiveBait, SvgLocationCircle as LocationCircle, SvgLocationDotSolid as LocationDotSolid, SvgLodge as Lodge, SvgMagnifyingGlass as MagnifyingGlass, SvgMap as Map, SvgMapSolid as MapSolid, SvgMoundSolid as MoundSolid, SvgMuleDeer as MuleDeer, SvgMushroom as Mushroom, SvgNoteSticky as NoteSticky, SvgNoteStickySolid as NoteStickySolid, SvgPaddleboard as Paddleboard, SvgPaperPlane as PaperPlane, SvgPaperclip as Paperclip, SvgPedestalSolid as PedestalSolid, SvgPenToSquare as PenToSquare, SvgPencil as Pencil, SvgPersonBiking as PersonBiking, SvgPersonHiking as PersonHiking, SvgPersonSkiing as PersonSkiing, SvgPersonSledding as PersonSledding, SvgPersonSnowmobiling as PersonSnowmobiling, SvgPersonSwimming as PersonSwimming, SvgPheasant as Pheasant, SvgPhone as Phone, SvgPhoneSolid as PhoneSolid, SvgPig as Pig, SvgPinLogoSolid as PinLogoSolid, SvgPlugSolid as PlugSolid, SvgPlus as Plus, SvgQuotes as Quotes, SvgQuotesLight as QuotesLight, SvgRifle as Rifle, SvgRoadSolid as RoadSolid, SvgRulerTriangleSolid as RulerTriangleSolid, SvgRv as Rv, SvgSailboat as Sailboat, SvgSewage as Sewage, SvgShelter as Shelter, SvgShieldCheck as ShieldCheck, SvgShieldCheckSolid as ShieldCheckSolid, SvgShieldSplash as ShieldSplash, SvgSignsPostSharpSolid as SignsPostSharpSolid, SvgSmallCurvedLine as SmallCurvedLine, SvgSpinner as Spinner, SvgSquare as Square, SvgSquareInfoSolid as SquareInfoSolid, SvgSquareParking as SquareParking, SvgSquareParkingSolid as SquareParkingSolid, SvgStar as Star, SvgStarRegular as StarRegular, SvgStarSolid as StarSolid, SvgStarSplash as StarSplash, SvgTablePicnic as TablePicnic, SvgTackle as Tackle, SvgTelescope as Telescope, SvgTent as Tent, SvgTentSolid as TentSolid, SvgThumbsDown as ThumbsDown, SvgThumbsDownSolid as ThumbsDownSolid, SvgThumbsUp as ThumbsUp, SvgThumbsUpSolid as ThumbsUpSolid, SvgTrash as Trash, SvgTrashSolid as TrashSolid, SvgTreeDecorated as TreeDecorated, SvgTreeStand as TreeStand, SvgTrees as Trees, SvgTurkey as Turkey, SvgUpland as Upland, SvgUsFlag as UsFlag, SvgUser as User, SvgUserSolid as UserSolid, SvgUsers as Users, SvgWater as Water, SvgWaterTap as WaterTap, SvgWaterfowl as Waterfowl, SvgWhitetail as Whitetail, SvgXmark as Xmark, SvgYoutubeSquare as YoutubeSquare };
|
|
1128
1129
|
}
|
|
1129
1130
|
|
|
1130
1131
|
type IconSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'xxxlarge';
|
|
@@ -1178,7 +1179,7 @@ type ButtonProps = {
|
|
|
1178
1179
|
/**
|
|
1179
1180
|
* Size variant of the button
|
|
1180
1181
|
*/
|
|
1181
|
-
size?: 'xs' | 'base' | 'sm' | 'lg';
|
|
1182
|
+
size?: 'xs' | 'base' | 'sm' | 'md' | 'lg';
|
|
1182
1183
|
/**
|
|
1183
1184
|
* Additional CSS class names
|
|
1184
1185
|
*/
|
|
@@ -1277,11 +1278,6 @@ type ChatWidgetProps = {
|
|
|
1277
1278
|
* Whether to show thinking indicator
|
|
1278
1279
|
*/
|
|
1279
1280
|
isThinking?: boolean;
|
|
1280
|
-
/**
|
|
1281
|
-
* Text to display in thinking state
|
|
1282
|
-
* @default "Thinking..."
|
|
1283
|
-
*/
|
|
1284
|
-
thinkingText?: string;
|
|
1285
1281
|
/**
|
|
1286
1282
|
* Messages to show when chat is empty
|
|
1287
1283
|
*/
|
|
@@ -1303,17 +1299,8 @@ type ChatWidgetProps = {
|
|
|
1303
1299
|
* @default "Other Helpful Topics"
|
|
1304
1300
|
*/
|
|
1305
1301
|
suggestedPromptsTitle?: string;
|
|
1306
|
-
/**
|
|
1307
|
-
* Number to display in notification badge on trigger button
|
|
1308
|
-
*/
|
|
1309
|
-
notificationCount?: number;
|
|
1310
|
-
/**
|
|
1311
|
-
* Whether to close the widget when clicking outside
|
|
1312
|
-
* @default true
|
|
1313
|
-
*/
|
|
1314
|
-
closeOnClickOutside?: boolean;
|
|
1315
1302
|
};
|
|
1316
|
-
declare const ChatWidget: ({ title, messages, onSubmit, placeholder, disabled, className, ariaLabel, panelWidth, expanded, defaultExpanded, onExpandedChange, isThinking,
|
|
1303
|
+
declare const ChatWidget: ({ title, messages, onSubmit, placeholder, disabled, className, ariaLabel, panelWidth, expanded, defaultExpanded, onExpandedChange, isThinking, emptyState, containerProps, suggestedPrompts, onPromptClick, suggestedPromptsTitle, }: ChatWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1317
1304
|
|
|
1318
1305
|
type DividerProps = React__default.HTMLAttributes<HTMLHRElement> & SpaceProps & {
|
|
1319
1306
|
/**
|
|
@@ -1327,7 +1314,7 @@ type FeatureListItemProps = {
|
|
|
1327
1314
|
/**
|
|
1328
1315
|
* Icon variant to display
|
|
1329
1316
|
*/
|
|
1330
|
-
iconVariant
|
|
1317
|
+
iconVariant?: IconVariantTypes$1;
|
|
1331
1318
|
/**
|
|
1332
1319
|
* Size of the icon
|
|
1333
1320
|
*/
|
|
@@ -1352,6 +1339,10 @@ type FeatureListItemProps = {
|
|
|
1352
1339
|
* Additional CSS class names
|
|
1353
1340
|
*/
|
|
1354
1341
|
className?: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* Whether the feature list item should be displayed inline
|
|
1344
|
+
*/
|
|
1345
|
+
isInline?: boolean;
|
|
1355
1346
|
};
|
|
1356
1347
|
|
|
1357
1348
|
type FeatureItem = Omit<FeatureListItemProps, 'className'>;
|
|
@@ -1703,6 +1694,84 @@ type HuntCardProps = {
|
|
|
1703
1694
|
};
|
|
1704
1695
|
declare const HuntCard: ({ backgroundImage, title, buttonLabel, onClick, className, ...rest }: HuntCardProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1705
1696
|
|
|
1697
|
+
type THeadingSize = 'xl' | 'lg' | 'md' | 'sm' | 'xs' | '2xs';
|
|
1698
|
+
type TTextSize = 'md' | 'sm' | 'xs' | '2xs';
|
|
1699
|
+
type TFontWeight = 'normal' | 'semibold' | 'bold' | 'extrabold';
|
|
1700
|
+
type TTextAlign = 'left' | 'center' | 'right' | 'justify' | 'start' | 'end';
|
|
1701
|
+
type TTextWrap = 'pretty' | 'balance' | 'nowrap' | 'wrap' | 'stable';
|
|
1702
|
+
|
|
1703
|
+
type HeadingProps = HTMLAttributes<HTMLElement> & {
|
|
1704
|
+
/**
|
|
1705
|
+
* Size variant of the heading
|
|
1706
|
+
*/
|
|
1707
|
+
size?: THeadingSize;
|
|
1708
|
+
/**
|
|
1709
|
+
* DOM element name to render as
|
|
1710
|
+
*/
|
|
1711
|
+
as?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* Additional CSS class names
|
|
1714
|
+
*/
|
|
1715
|
+
className?: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* Whether to transform text to uppercase
|
|
1718
|
+
*/
|
|
1719
|
+
uppercase?: boolean;
|
|
1720
|
+
/**
|
|
1721
|
+
* Font weight of the heading
|
|
1722
|
+
*/
|
|
1723
|
+
fontWeight?: TFontWeight;
|
|
1724
|
+
/**
|
|
1725
|
+
* Text alignment
|
|
1726
|
+
*/
|
|
1727
|
+
textAlign?: TTextAlign;
|
|
1728
|
+
/**
|
|
1729
|
+
* Text wrapping behavior
|
|
1730
|
+
*/
|
|
1731
|
+
textWrap?: TTextWrap;
|
|
1732
|
+
/**
|
|
1733
|
+
* Color token or CSS color value
|
|
1734
|
+
*/
|
|
1735
|
+
color?: string;
|
|
1736
|
+
};
|
|
1737
|
+
declare const Heading: FC<PropsWithChildren<HeadingProps>>;
|
|
1738
|
+
|
|
1739
|
+
type TextProps = HTMLAttributes<HTMLElement> & {
|
|
1740
|
+
/**
|
|
1741
|
+
* Size variant of the text
|
|
1742
|
+
*/
|
|
1743
|
+
size?: TTextSize;
|
|
1744
|
+
/**
|
|
1745
|
+
* DOM element name to render as
|
|
1746
|
+
*/
|
|
1747
|
+
as?: string;
|
|
1748
|
+
/**
|
|
1749
|
+
* Additional CSS class names
|
|
1750
|
+
*/
|
|
1751
|
+
className?: string;
|
|
1752
|
+
/**
|
|
1753
|
+
* Font weight of the text
|
|
1754
|
+
*/
|
|
1755
|
+
fontWeight?: TFontWeight;
|
|
1756
|
+
/**
|
|
1757
|
+
* Whether to transform text to uppercase
|
|
1758
|
+
*/
|
|
1759
|
+
uppercase?: boolean;
|
|
1760
|
+
/**
|
|
1761
|
+
* Text alignment
|
|
1762
|
+
*/
|
|
1763
|
+
textAlign?: TTextAlign;
|
|
1764
|
+
/**
|
|
1765
|
+
* Text wrapping behavior
|
|
1766
|
+
*/
|
|
1767
|
+
textWrap?: TTextWrap;
|
|
1768
|
+
/**
|
|
1769
|
+
* Color token or CSS color value
|
|
1770
|
+
*/
|
|
1771
|
+
color?: string;
|
|
1772
|
+
};
|
|
1773
|
+
declare const Text: FC<PropsWithChildren<TextProps>>;
|
|
1774
|
+
|
|
1706
1775
|
type IconLabelProps = {
|
|
1707
1776
|
/**
|
|
1708
1777
|
* Icon variant to display
|
|
@@ -1712,6 +1781,10 @@ type IconLabelProps = {
|
|
|
1712
1781
|
* Text label to display next to the icon
|
|
1713
1782
|
*/
|
|
1714
1783
|
label: string;
|
|
1784
|
+
/**
|
|
1785
|
+
* Size of the label text
|
|
1786
|
+
*/
|
|
1787
|
+
labelSize?: TTextSize;
|
|
1715
1788
|
/**
|
|
1716
1789
|
* Size of the icon
|
|
1717
1790
|
*/
|
|
@@ -1721,7 +1794,7 @@ type IconLabelProps = {
|
|
|
1721
1794
|
*/
|
|
1722
1795
|
className?: string;
|
|
1723
1796
|
};
|
|
1724
|
-
declare const IconLabel: ({ variant, label, iconSize, className, ...rest }: IconLabelProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1797
|
+
declare const IconLabel: ({ variant, label, iconSize, labelSize, className, ...rest }: IconLabelProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1725
1798
|
|
|
1726
1799
|
type InfoBoxProps = {
|
|
1727
1800
|
/**
|
|
@@ -2038,84 +2111,6 @@ type TagChipProps = HTMLAttributes<HTMLSpanElement> & {
|
|
|
2038
2111
|
};
|
|
2039
2112
|
declare const TagChip: FC<PropsWithChildren<TagChipProps>>;
|
|
2040
2113
|
|
|
2041
|
-
type THeadingSize = 'xl' | 'lg' | 'md' | 'sm' | 'xs' | '2xs';
|
|
2042
|
-
type TTextSize = 'md' | 'sm' | 'xs' | '2xs';
|
|
2043
|
-
type TFontWeight = 'normal' | 'semibold' | 'bold' | 'extrabold';
|
|
2044
|
-
type TTextAlign = 'left' | 'center' | 'right' | 'justify' | 'start' | 'end';
|
|
2045
|
-
type TTextWrap = 'pretty' | 'balance' | 'nowrap' | 'wrap' | 'stable';
|
|
2046
|
-
|
|
2047
|
-
type HeadingProps = HTMLAttributes<HTMLElement> & {
|
|
2048
|
-
/**
|
|
2049
|
-
* Size variant of the heading
|
|
2050
|
-
*/
|
|
2051
|
-
size?: THeadingSize;
|
|
2052
|
-
/**
|
|
2053
|
-
* DOM element name to render as
|
|
2054
|
-
*/
|
|
2055
|
-
as?: string;
|
|
2056
|
-
/**
|
|
2057
|
-
* Additional CSS class names
|
|
2058
|
-
*/
|
|
2059
|
-
className?: string;
|
|
2060
|
-
/**
|
|
2061
|
-
* Whether to transform text to uppercase
|
|
2062
|
-
*/
|
|
2063
|
-
uppercase?: boolean;
|
|
2064
|
-
/**
|
|
2065
|
-
* Font weight of the heading
|
|
2066
|
-
*/
|
|
2067
|
-
fontWeight?: TFontWeight;
|
|
2068
|
-
/**
|
|
2069
|
-
* Text alignment
|
|
2070
|
-
*/
|
|
2071
|
-
textAlign?: TTextAlign;
|
|
2072
|
-
/**
|
|
2073
|
-
* Text wrapping behavior
|
|
2074
|
-
*/
|
|
2075
|
-
textWrap?: TTextWrap;
|
|
2076
|
-
/**
|
|
2077
|
-
* Color token or CSS color value
|
|
2078
|
-
*/
|
|
2079
|
-
color?: string;
|
|
2080
|
-
};
|
|
2081
|
-
declare const Heading: FC<PropsWithChildren<HeadingProps>>;
|
|
2082
|
-
|
|
2083
|
-
type TextProps = HTMLAttributes<HTMLElement> & {
|
|
2084
|
-
/**
|
|
2085
|
-
* Size variant of the text
|
|
2086
|
-
*/
|
|
2087
|
-
size?: TTextSize;
|
|
2088
|
-
/**
|
|
2089
|
-
* DOM element name to render as
|
|
2090
|
-
*/
|
|
2091
|
-
as?: string;
|
|
2092
|
-
/**
|
|
2093
|
-
* Additional CSS class names
|
|
2094
|
-
*/
|
|
2095
|
-
className?: string;
|
|
2096
|
-
/**
|
|
2097
|
-
* Font weight of the text
|
|
2098
|
-
*/
|
|
2099
|
-
fontWeight?: TFontWeight;
|
|
2100
|
-
/**
|
|
2101
|
-
* Whether to transform text to uppercase
|
|
2102
|
-
*/
|
|
2103
|
-
uppercase?: boolean;
|
|
2104
|
-
/**
|
|
2105
|
-
* Text alignment
|
|
2106
|
-
*/
|
|
2107
|
-
textAlign?: TTextAlign;
|
|
2108
|
-
/**
|
|
2109
|
-
* Text wrapping behavior
|
|
2110
|
-
*/
|
|
2111
|
-
textWrap?: TTextWrap;
|
|
2112
|
-
/**
|
|
2113
|
-
* Color token or CSS color value
|
|
2114
|
-
*/
|
|
2115
|
-
color?: string;
|
|
2116
|
-
};
|
|
2117
|
-
declare const Text: FC<PropsWithChildren<TextProps>>;
|
|
2118
|
-
|
|
2119
2114
|
type UserCardProps = {
|
|
2120
2115
|
avatarSrc: string;
|
|
2121
2116
|
title: string;
|
|
@@ -2168,11 +2163,6 @@ type WidgetProps = {
|
|
|
2168
2163
|
* Additional props for the container
|
|
2169
2164
|
*/
|
|
2170
2165
|
containerProps?: BoxProps;
|
|
2171
|
-
/**
|
|
2172
|
-
* Whether to close the widget when clicking outside
|
|
2173
|
-
* @default true
|
|
2174
|
-
*/
|
|
2175
|
-
closeOnClickOutside?: boolean;
|
|
2176
2166
|
};
|
|
2177
2167
|
type WidgetTriggerProps = {
|
|
2178
2168
|
/**
|