@landtrustinc/design-system 1.1.2 → 1.1.4-beta.1

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 CHANGED
@@ -524,32 +524,60 @@ declare namespace styles {
524
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 };
525
525
  }
526
526
 
527
- type Props$f = {
527
+ type AIResponseProps = {
528
+ /**
529
+ * Optional title for the AI response
530
+ */
528
531
  title?: string;
532
+ /**
533
+ * Whether to show disclaimer text
534
+ */
529
535
  showDisclaimer?: boolean;
536
+ /**
537
+ * Whether to show helpful feedback question
538
+ */
530
539
  showHelpfulQuestion?: boolean;
540
+ /**
541
+ * Additional CSS class names
542
+ */
531
543
  className?: string;
544
+ /**
545
+ * Content to display in the response
546
+ */
532
547
  children?: React__default.ReactNode;
548
+ /**
549
+ * Callback when user clicks "Yes" for helpful feedback
550
+ */
533
551
  onHelpfulYes?: () => void;
552
+ /**
553
+ * Callback when user clicks "No" for helpful feedback
554
+ */
534
555
  onHelpfulNo?: () => void;
556
+ /**
557
+ * Visual variant of the response
558
+ */
535
559
  variant?: 'default' | 'error';
560
+ /**
561
+ * Callback for retry button in error state
562
+ */
536
563
  onErrorRetry?: () => void;
564
+ /**
565
+ * Debounce time for helpful feedback in milliseconds
566
+ */
537
567
  helpfulDebounceMs?: number;
538
568
  };
539
- declare const AIResponse: ({ title, showDisclaimer, showHelpfulQuestion, className, children, onHelpfulYes, onHelpfulNo, variant, onErrorRetry, helpfulDebounceMs, }: Props$f) => _emotion_react_jsx_runtime.JSX.Element;
569
+ declare const AIResponse: ({ title, showDisclaimer, showHelpfulQuestion, className, children, onHelpfulYes, onHelpfulNo, variant, onErrorRetry, helpfulDebounceMs, }: AIResponseProps) => _emotion_react_jsx_runtime.JSX.Element;
540
570
 
541
571
  type AvailabilityChipVariant = 'primary' | 'error' | 'action' | 'warning';
542
- type AvailabilityChipProps$1 = HTMLAttributes<HTMLSpanElement> & {
543
- /** The visual variant of the chip */
544
- variant: AvailabilityChipVariant;
545
- /** Optional custom className */
546
- className?: string;
547
- };
548
572
 
549
573
  type AvailabilityChipProps = HTMLAttributes<HTMLSpanElement> & {
550
- /** The visual variant of the chip */
574
+ /**
575
+ * Visual variant of the chip
576
+ */
551
577
  variant: AvailabilityChipVariant;
552
- /** Optional custom className */
578
+ /**
579
+ * Additional CSS class names
580
+ */
553
581
  className?: string;
554
582
  };
555
583
  declare const AvailabilityChip: FC<PropsWithChildren<AvailabilityChipProps>>;
@@ -568,10 +596,10 @@ declare const Box: _emotion_styled.StyledComponent<{
568
596
  className?: string | undefined;
569
597
  }, React$1.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
570
598
 
571
- type Props$e = BoxProps & {
599
+ type Props = BoxProps & {
572
600
  isFullWidth?: boolean;
573
601
  };
574
- declare const Container: ({ children, className, isFullWidth, ...props }: Props$e) => _emotion_react_jsx_runtime.JSX.Element;
602
+ declare const Container: ({ children, className, isFullWidth, ...props }: Props) => _emotion_react_jsx_runtime.JSX.Element;
575
603
 
576
604
  declare const SvgAiMagic: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
577
605
 
@@ -966,7 +994,7 @@ declare namespace Icons {
966
994
  }
967
995
 
968
996
  type IconVariantTypes$1 = keyof typeof Icons;
969
- type Props$d = {
997
+ type IconProps = {
970
998
  variant: IconVariantTypes$1;
971
999
  size?: keyof typeof space;
972
1000
  className?: string;
@@ -974,149 +1002,323 @@ type Props$d = {
974
1002
  onClick?: () => void;
975
1003
  fill?: string;
976
1004
  };
977
- declare const Icon: ({ variant, size, className, setAutoHeight, fill, ...rest }: Props$d) => _emotion_react_jsx_runtime.JSX.Element;
1005
+ declare const Icon: ({ variant, size, className, setAutoHeight, fill, ...rest }: IconProps) => _emotion_react_jsx_runtime.JSX.Element;
978
1006
 
979
- type ButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'plus' | 'simple' | 'text' | 'text-underline' | 'topo';
1007
+ type ButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'plus' | 'simple' | 'text' | 'topo';
980
1008
 
981
1009
  type ButtonAndAnchorProps = React__default.HTMLProps<HTMLButtonElement> & React__default.HTMLProps<HTMLAnchorElement>;
982
- type Props$c = Omit<ButtonAndAnchorProps, 'size' | 'as' | 'onClick'> & {
1010
+ type ButtonProps = {
1011
+ /**
1012
+ * Element type to render as (button, a, etc.)
1013
+ */
983
1014
  as?: React__default.ElementType;
1015
+ /**
1016
+ * Visual style variant of the button
1017
+ */
984
1018
  variant?: ButtonVariants;
1019
+ /**
1020
+ * Whether the button should take full width
1021
+ */
985
1022
  fullWidth?: boolean;
1023
+ /**
1024
+ * Whether to show loading state
1025
+ */
986
1026
  isLoading?: boolean;
1027
+ /**
1028
+ * Whether the button is disabled
1029
+ */
987
1030
  disabled?: boolean;
1031
+ /**
1032
+ * Button content
1033
+ */
988
1034
  children?: React__default.ReactNode;
1035
+ /**
1036
+ * Button type attribute
1037
+ */
989
1038
  type?: 'submit' | 'button';
1039
+ /**
1040
+ * Size variant of the button
1041
+ */
990
1042
  size?: 'xs' | 'base' | 'sm' | 'lg';
1043
+ /**
1044
+ * Additional CSS class names
1045
+ */
991
1046
  className?: string;
1047
+ /**
1048
+ * Custom styles for the button label
1049
+ */
992
1050
  labelStyleOverrides?: Interpolation<Theme>;
1051
+ /**
1052
+ * Click event handler
1053
+ */
993
1054
  onClick?: React__default.MouseEventHandler<HTMLElement>;
1055
+ /**
1056
+ * Icon element to display in the button
1057
+ */
994
1058
  icon?: React__default.ReactElement<React__default.ComponentProps<typeof Icon>>;
995
- };
996
- declare const Button: React__default.ForwardRefExoticComponent<Omit<Props$c, "ref"> & React__default.RefAttributes<HTMLElement>>;
997
-
998
- type Variant = 'sent' | 'received';
999
- type Props$b = {
1000
- variant?: Variant;
1059
+ } & Omit<ButtonAndAnchorProps, 'size' | 'as' | 'onClick'>;
1060
+ declare const Button: React__default.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React__default.RefAttributes<HTMLElement>>;
1061
+
1062
+ type MessageBubbleVariant = 'sent' | 'received';
1063
+
1064
+ type MessageBubbleProps = {
1065
+ /**
1066
+ * Visual variant of the message bubble
1067
+ */
1068
+ variant?: MessageBubbleVariant;
1069
+ /**
1070
+ * Optional timestamp to display
1071
+ */
1001
1072
  timestamp?: string;
1073
+ /**
1074
+ * Additional CSS class names
1075
+ */
1002
1076
  className?: string;
1077
+ /**
1078
+ * Content to display in the message bubble
1079
+ */
1003
1080
  children?: React__default.ReactNode;
1004
1081
  };
1005
- declare const MessageBubble: ({ variant, timestamp, className, children, }: Props$b) => _emotion_react_jsx_runtime.JSX.Element;
1082
+ declare const MessageBubble: ({ variant, timestamp, className, children, }: MessageBubbleProps) => _emotion_react_jsx_runtime.JSX.Element;
1006
1083
 
1007
1084
  type ChatWidgetMessage = React__default.ReactElement<React__default.ComponentProps<typeof AIResponse>, typeof AIResponse> | React__default.ReactElement<React__default.ComponentProps<typeof MessageBubble>, typeof MessageBubble>;
1008
- type Props$a = {
1085
+ type ChatWidgetProps = {
1086
+ /**
1087
+ * Title displayed in the chat widget header
1088
+ */
1009
1089
  title: string;
1090
+ /**
1091
+ * Array of messages to display
1092
+ */
1010
1093
  messages: ChatWidgetMessage[];
1094
+ /**
1095
+ * Callback when user submits a message
1096
+ */
1011
1097
  onSubmit: (value: string) => void;
1098
+ /**
1099
+ * Placeholder text for the input field
1100
+ */
1012
1101
  placeholder?: string;
1102
+ /**
1103
+ * Whether the chat widget is disabled
1104
+ */
1013
1105
  disabled?: boolean;
1106
+ /**
1107
+ * Additional CSS class names
1108
+ */
1014
1109
  className?: string;
1110
+ /**
1111
+ * ARIA label for accessibility
1112
+ */
1015
1113
  ariaLabel?: string;
1114
+ /**
1115
+ * Width of the chat panel
1116
+ */
1016
1117
  panelWidth?: number | string;
1118
+ /**
1119
+ * Whether the widget is expanded (controlled)
1120
+ */
1017
1121
  expanded?: boolean;
1122
+ /**
1123
+ * Default expanded state (uncontrolled)
1124
+ */
1018
1125
  defaultExpanded?: boolean;
1126
+ /**
1127
+ * Callback when expanded state changes
1128
+ */
1019
1129
  onExpandedChange?: (expanded: boolean) => void;
1130
+ /**
1131
+ * Whether to show thinking indicator
1132
+ */
1020
1133
  isThinking?: boolean;
1134
+ /**
1135
+ * Messages to show when chat is empty
1136
+ */
1021
1137
  emptyState?: ChatWidgetMessage[];
1138
+ /**
1139
+ * Additional props for the container
1140
+ */
1022
1141
  containerProps?: BoxProps;
1023
1142
  };
1024
- declare const ChatWidget: ({ title, messages, onSubmit, placeholder, disabled, className, ariaLabel, panelWidth, expanded, defaultExpanded, onExpandedChange, isThinking, emptyState, containerProps, }: Props$a) => _emotion_react_jsx_runtime.JSX.Element;
1143
+ declare const ChatWidget: ({ title, messages, onSubmit, placeholder, disabled, className, ariaLabel, panelWidth, expanded, defaultExpanded, onExpandedChange, isThinking, emptyState, containerProps, }: ChatWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
1025
1144
 
1026
1145
  type DividerProps = React__default.HTMLAttributes<HTMLHRElement> & SpaceProps & {
1146
+ /**
1147
+ * Additional CSS class names
1148
+ */
1027
1149
  className?: string;
1028
1150
  };
1029
1151
  declare const Divider: React__default.FC<DividerProps>;
1030
1152
 
1031
- type Props$9 = {
1153
+ type FieldNoteCardProps = {
1154
+ /**
1155
+ * URL of the background image
1156
+ */
1032
1157
  backgroundImage: string;
1158
+ /**
1159
+ * Title text displayed on the card
1160
+ */
1033
1161
  title: string;
1162
+ /**
1163
+ * Text displayed on the action button
1164
+ */
1034
1165
  buttonLabel: string;
1166
+ /**
1167
+ * Callback when the card or button is clicked
1168
+ */
1035
1169
  onClick?: () => void;
1170
+ /**
1171
+ * Additional CSS class names
1172
+ */
1036
1173
  className?: string;
1037
1174
  };
1038
- declare const FieldNoteCard: ({ backgroundImage, title, buttonLabel, onClick, className, ...rest }: Props$9) => _emotion_react_jsx_runtime.JSX.Element;
1175
+ declare const FieldNoteCard: ({ backgroundImage, title, buttonLabel, onClick, className, ...rest }: FieldNoteCardProps) => _emotion_react_jsx_runtime.JSX.Element;
1176
+
1177
+ interface FormFieldProps {
1178
+ /**
1179
+ * Field label
1180
+ */
1181
+ label?: string;
1182
+ /**
1183
+ * Whether to hide the label visually
1184
+ */
1185
+ hideLabel?: boolean;
1186
+ /**
1187
+ * Whether the field is required
1188
+ */
1189
+ required?: boolean;
1190
+ /**
1191
+ * Error message
1192
+ */
1193
+ error?: string;
1194
+ /**
1195
+ * Success message
1196
+ */
1197
+ success?: string;
1198
+ /**
1199
+ * Help text
1200
+ */
1201
+ helpText?: string;
1202
+ /**
1203
+ * Field ID for accessibility
1204
+ */
1205
+ htmlFor?: string;
1206
+ /**
1207
+ * Children components
1208
+ */
1209
+ children: ReactNode;
1210
+ /**
1211
+ * Additional CSS class names
1212
+ */
1213
+ className?: string;
1214
+ }
1215
+ declare const FormField: React__default.FC<FormFieldProps>;
1039
1216
 
1040
1217
  type InputSize = 'sm' | 'md' | 'lg';
1041
1218
  type InputVariant = 'default' | 'error' | 'success';
1219
+
1042
1220
  interface BaseInputProps {
1043
- /** Size variant of the input */
1221
+ /**
1222
+ * Size variant of the input
1223
+ */
1044
1224
  size?: InputSize;
1045
- /** Visual variant of the input */
1225
+ /**
1226
+ * Visual variant of the input
1227
+ */
1046
1228
  variant?: InputVariant;
1047
- /** Whether the input is disabled */
1229
+ /**
1230
+ * Whether the input is disabled
1231
+ */
1048
1232
  disabled?: boolean;
1049
- /** Whether the input is required */
1233
+ /**
1234
+ * Whether the input is required
1235
+ */
1050
1236
  required?: boolean;
1051
- /** Whether the input is read-only */
1237
+ /**
1238
+ * Whether the input is read-only
1239
+ */
1052
1240
  readOnly?: boolean;
1053
- /** Help text displayed below the input */
1241
+ /**
1242
+ * Help text displayed below the input
1243
+ */
1054
1244
  helpText?: string;
1055
- /** Error message displayed below the input */
1245
+ /**
1246
+ * Error message displayed below the input
1247
+ */
1056
1248
  error?: string;
1057
- /** Success message displayed below the input */
1249
+ /**
1250
+ * Success message displayed below the input
1251
+ */
1058
1252
  success?: string;
1059
- /** Label text for the input */
1253
+ /**
1254
+ * Label text for the input
1255
+ */
1060
1256
  label?: string;
1061
- /** Whether to hide the label visually (for accessibility) */
1257
+ /**
1258
+ * Whether to hide the label visually (for accessibility)
1259
+ */
1062
1260
  hideLabel?: boolean;
1063
- /** Icon to display at the start of the input */
1261
+ /**
1262
+ * Icon to display at the start of the input
1263
+ */
1064
1264
  startIcon?: ReactNode;
1065
- /** Icon to display at the end of the input */
1265
+ /**
1266
+ * Icon to display at the end of the input
1267
+ */
1066
1268
  endIcon?: ReactNode;
1067
- /** Additional className */
1269
+ /**
1270
+ * Additional CSS class names
1271
+ */
1068
1272
  className?: string;
1069
- /** Placeholder text */
1273
+ /**
1274
+ * Placeholder text
1275
+ */
1070
1276
  placeholder?: string;
1071
1277
  }
1072
- interface InputProps extends BaseInputProps, Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
1073
- /** Input type */
1278
+ interface InputProps extends BaseInputProps, Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'size'> {
1279
+ /**
1280
+ * Input type
1281
+ */
1074
1282
  type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search';
1075
1283
  }
1284
+ declare const Input: React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<HTMLInputElement>>;
1285
+
1076
1286
  interface SelectOption {
1287
+ /**
1288
+ * Option value
1289
+ */
1077
1290
  value: string | number;
1291
+ /**
1292
+ * Option label text
1293
+ */
1078
1294
  label: string;
1295
+ /**
1296
+ * Whether the option is disabled
1297
+ */
1079
1298
  disabled?: boolean;
1080
1299
  }
1081
- interface SelectProps extends BaseInputProps, Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'size'> {
1082
- /** Select options */
1300
+ interface SelectProps extends BaseInputProps, Omit<React__default.SelectHTMLAttributes<HTMLSelectElement>, 'size'> {
1301
+ /**
1302
+ * Select options
1303
+ */
1083
1304
  options: SelectOption[];
1084
- /** Placeholder option text */
1305
+ /**
1306
+ * Placeholder option text
1307
+ */
1085
1308
  placeholderOption?: string;
1086
1309
  }
1087
- interface TextareaProps extends BaseInputProps, Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'> {
1088
- /** Number of visible text lines */
1310
+ declare const Select: React__default.ForwardRefExoticComponent<SelectProps & React__default.RefAttributes<HTMLSelectElement>>;
1311
+
1312
+ interface TextareaProps extends BaseInputProps, Omit<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'> {
1313
+ /**
1314
+ * Number of visible text lines
1315
+ */
1089
1316
  rows?: number;
1090
- /** Whether the textarea can be resized */
1317
+ /**
1318
+ * Whether the textarea can be resized
1319
+ */
1091
1320
  resize?: 'none' | 'both' | 'horizontal' | 'vertical';
1092
1321
  }
1093
- interface FormFieldProps {
1094
- /** Field label */
1095
- label?: string;
1096
- /** Whether to hide the label visually */
1097
- hideLabel?: boolean;
1098
- /** Whether the field is required */
1099
- required?: boolean;
1100
- /** Error message */
1101
- error?: string;
1102
- /** Success message */
1103
- success?: string;
1104
- /** Help text */
1105
- helpText?: string;
1106
- /** Field ID for accessibility */
1107
- htmlFor?: string;
1108
- /** Children components */
1109
- children: ReactNode;
1110
- /** Additional className */
1111
- className?: string;
1112
- }
1113
-
1114
- declare const FormField: React__default.FC<FormFieldProps>;
1115
-
1116
- declare const Input: React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<HTMLInputElement>>;
1117
-
1118
- declare const Select: React__default.ForwardRefExoticComponent<SelectProps & React__default.RefAttributes<HTMLSelectElement>>;
1119
-
1120
1322
  type ExtraProps = {
1121
1323
  autoExpand?: boolean;
1122
1324
  maxHeight?: number | string;
@@ -1128,6 +1330,7 @@ type ExtraProps = {
1128
1330
  };
1129
1331
  declare const TextArea: React__default.ForwardRefExoticComponent<TextareaProps & ExtraProps & React__default.RefAttributes<HTMLTextAreaElement>>;
1130
1332
 
1333
+ type GridBreakpoint = 'sm' | 'md' | 'lg' | 'xl';
1131
1334
  type ResponsiveValue<T> = T | {
1132
1335
  sm?: T;
1133
1336
  md?: T;
@@ -1135,56 +1338,101 @@ type ResponsiveValue<T> = T | {
1135
1338
  xl?: T;
1136
1339
  _?: T;
1137
1340
  };
1341
+
1342
+ interface ColumnProps extends BoxProps {
1343
+ /**
1344
+ * Column span at different breakpoints
1345
+ */
1346
+ span?: ResponsiveValue<number | 'auto'>;
1347
+ /**
1348
+ * Column start position
1349
+ */
1350
+ start?: ResponsiveValue<number>;
1351
+ /**
1352
+ * Column end position
1353
+ */
1354
+ end?: ResponsiveValue<number>;
1355
+ /**
1356
+ * Row position
1357
+ */
1358
+ row?: ResponsiveValue<number>;
1359
+ /**
1360
+ * Row span
1361
+ */
1362
+ rowSpan?: ResponsiveValue<number>;
1363
+ /**
1364
+ * Grid area name
1365
+ */
1366
+ area?: string;
1367
+ /**
1368
+ * Column children
1369
+ */
1370
+ children: ReactNode;
1371
+ }
1372
+ declare const Column: ({ span, start, end, row, rowSpan, area, children, ...props }: ColumnProps) => _emotion_react_jsx_runtime.JSX.Element;
1373
+
1138
1374
  interface GridProps extends Omit<BoxProps, 'display'> {
1139
- /** Number of columns at different breakpoints */
1375
+ /**
1376
+ * Number of columns at different breakpoints
1377
+ */
1140
1378
  columns?: ResponsiveValue<number>;
1141
- /** Gap between grid items using space tokens */
1379
+ /**
1380
+ * Gap between grid items using space tokens
1381
+ */
1142
1382
  gap?: ResponsiveValue<keyof typeof space>;
1143
- /** Row gap between grid items using space tokens */
1383
+ /**
1384
+ * Row gap between grid items using space tokens
1385
+ */
1144
1386
  rowGap?: ResponsiveValue<keyof typeof space>;
1145
- /** Column gap between grid items using space tokens */
1387
+ /**
1388
+ * Column gap between grid items using space tokens
1389
+ */
1146
1390
  columnGap?: ResponsiveValue<keyof typeof space>;
1147
- /** Size of auto-generated rows */
1391
+ /**
1392
+ * Size of auto-generated rows
1393
+ */
1148
1394
  autoRows?: string;
1149
- /** Size of auto-generated columns */
1395
+ /**
1396
+ * Size of auto-generated columns
1397
+ */
1150
1398
  autoColumns?: string;
1151
- /** Grid template areas for named layouts */
1399
+ /**
1400
+ * Grid template areas for named layouts
1401
+ */
1152
1402
  templateAreas?: ResponsiveValue<string>;
1153
- /** Align items in the grid */
1403
+ /**
1404
+ * Align items in the grid
1405
+ */
1154
1406
  alignItems?: ResponsiveValue<'start' | 'end' | 'center' | 'stretch'>;
1155
- /** Justify items in the grid */
1407
+ /**
1408
+ * Justify items in the grid
1409
+ */
1156
1410
  justifyItems?: ResponsiveValue<'start' | 'end' | 'center' | 'stretch'>;
1157
- /** Justify content in the grid */
1411
+ /**
1412
+ * Justify content in the grid
1413
+ */
1158
1414
  justifyContent?: ResponsiveValue<'start' | 'end' | 'center' | 'stretch' | 'space-between' | 'space-around' | 'space-evenly'>;
1415
+ /**
1416
+ * Grid children
1417
+ */
1159
1418
  children: ReactNode;
1160
1419
  }
1161
- interface ColumnProps extends BoxProps {
1162
- /** Column span at different breakpoints */
1163
- span?: ResponsiveValue<number | 'auto'>;
1164
- /** Column start position */
1165
- start?: ResponsiveValue<number>;
1166
- /** Column end position */
1167
- end?: ResponsiveValue<number>;
1168
- /** Row position */
1169
- row?: ResponsiveValue<number>;
1170
- /** Row span */
1171
- rowSpan?: ResponsiveValue<number>;
1172
- /** Grid area name */
1173
- area?: string;
1174
- children: ReactNode;
1175
- }
1420
+ declare const Grid: ({ columns, gap, rowGap, columnGap, autoRows, autoColumns, templateAreas, alignItems, justifyItems, justifyContent, children, ...props }: GridProps) => _emotion_react_jsx_runtime.JSX.Element;
1421
+
1176
1422
  interface GridContainerProps extends HTMLAttributes<HTMLDivElement> {
1177
- /** Maximum width constraint */
1423
+ /**
1424
+ * Maximum width constraint
1425
+ */
1178
1426
  maxWidth?: 'sm' | 'md' | 'lg' | 'xl' | 'content' | 'wide' | 'full' | string;
1427
+ /**
1428
+ * Container children
1429
+ */
1179
1430
  children: ReactNode;
1431
+ /**
1432
+ * Additional CSS class names
1433
+ */
1180
1434
  className?: string;
1181
1435
  }
1182
- type GridBreakpoint = 'sm' | 'md' | 'lg' | 'xl';
1183
-
1184
- declare const Column: ({ span, start, end, row, rowSpan, area, children, ...props }: ColumnProps) => _emotion_react_jsx_runtime.JSX.Element;
1185
-
1186
- declare const Grid: ({ columns, gap, rowGap, columnGap, autoRows, autoColumns, templateAreas, alignItems, justifyItems, justifyContent, children, ...props }: GridProps) => _emotion_react_jsx_runtime.JSX.Element;
1187
-
1188
1436
  declare const GridContainer: ({ maxWidth, children, className, ...props }: GridContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
1189
1437
 
1190
1438
  /**
@@ -1208,96 +1456,235 @@ declare const LayoutTokens: {
1208
1456
  };
1209
1457
  };
1210
1458
 
1211
- type Props$8 = {
1459
+ type HuntCardProps = {
1460
+ /**
1461
+ * URL of the background image
1462
+ */
1212
1463
  backgroundImage: string;
1464
+ /**
1465
+ * Title text displayed on the card
1466
+ */
1213
1467
  title: string;
1468
+ /**
1469
+ * Text displayed on the action button
1470
+ */
1214
1471
  buttonLabel: string;
1472
+ /**
1473
+ * Callback when the card or button is clicked
1474
+ */
1215
1475
  onClick?: () => void;
1476
+ /**
1477
+ * Additional CSS class names
1478
+ */
1216
1479
  className?: string;
1217
1480
  };
1218
- declare const HuntCard: ({ backgroundImage, title, buttonLabel, onClick, className, ...rest }: Props$8) => _emotion_react_jsx_runtime.JSX.Element;
1481
+ declare const HuntCard: ({ backgroundImage, title, buttonLabel, onClick, className, ...rest }: HuntCardProps) => _emotion_react_jsx_runtime.JSX.Element;
1219
1482
 
1220
- type Props$7 = {
1483
+ type IconLabelProps = {
1484
+ /**
1485
+ * Icon variant to display
1486
+ */
1221
1487
  variant: IconVariantTypes$1;
1488
+ /**
1489
+ * Text label to display next to the icon
1490
+ */
1222
1491
  label: string;
1492
+ /**
1493
+ * Size of the icon
1494
+ */
1223
1495
  iconSize?: keyof typeof space;
1496
+ /**
1497
+ * Additional CSS class names
1498
+ */
1224
1499
  className?: string;
1225
1500
  };
1226
- declare const IconLabel: ({ variant, label, iconSize, className, ...rest }: Props$7) => _emotion_react_jsx_runtime.JSX.Element;
1501
+ declare const IconLabel: ({ variant, label, iconSize, className, ...rest }: IconLabelProps) => _emotion_react_jsx_runtime.JSX.Element;
1227
1502
 
1228
- type Props$6 = {
1229
- /** Called when the user submits text. Receives the submitted string. */
1503
+ type ListingChatProps = {
1504
+ /**
1505
+ * Called when the user submits text
1506
+ */
1230
1507
  onSubmit: (value: string) => void;
1231
- /** Placeholder text for the input area */
1508
+ /**
1509
+ * Placeholder text for the input area
1510
+ */
1232
1511
  placeholder?: string;
1233
- /** Optional className */
1512
+ /**
1513
+ * Additional CSS class names
1514
+ */
1234
1515
  className?: string;
1235
- /** Optional label next to the AIMagic icon */
1516
+ /**
1517
+ * Optional label next to the AI Magic icon
1518
+ */
1236
1519
  title?: string;
1237
- /** Suggested tags the user can click to submit quickly */
1520
+ /**
1521
+ * Array of suggested tags/questions to display as chips
1522
+ */
1238
1523
  tags?: string[];
1239
- /** Disable the input and submit button */
1524
+ /**
1525
+ * Whether the input is disabled
1526
+ */
1240
1527
  disabled?: boolean;
1241
1528
  };
1242
- declare const ListingChat: ({ onSubmit, placeholder, className, title, tags, disabled, ...rest }: Props$6) => _emotion_react_jsx_runtime.JSX.Element;
1529
+ declare const ListingChat: ({ onSubmit, placeholder, className, title, tags, disabled, ...rest }: ListingChatProps) => _emotion_react_jsx_runtime.JSX.Element;
1243
1530
 
1244
1531
  type LogoVariant = 'standard' | 'plus';
1245
1532
  type LogoTheme = 'light' | 'dark';
1246
- type Props$5 = {
1533
+
1534
+ type LogoProps = {
1535
+ /**
1536
+ * Logo variant ('standard' or 'plus')
1537
+ */
1247
1538
  variant: LogoVariant;
1539
+ /**
1540
+ * Color theme ('light' or 'dark')
1541
+ */
1248
1542
  theme?: LogoTheme;
1543
+ /**
1544
+ * Size of the logo using space tokens
1545
+ */
1249
1546
  size?: keyof typeof space;
1547
+ /**
1548
+ * Additional CSS class names
1549
+ */
1250
1550
  className?: string;
1551
+ /**
1552
+ * Click event handler
1553
+ */
1251
1554
  onClick?: () => void;
1252
1555
  };
1253
- declare const Logo: ({ variant, theme, size, className, ...rest }: Props$5) => _emotion_react_jsx_runtime.JSX.Element;
1556
+ declare const Logo: ({ variant, theme, size, className, ...rest }: LogoProps) => _emotion_react_jsx_runtime.JSX.Element;
1254
1557
 
1255
1558
  type NavLink = {
1559
+ /**
1560
+ * Text label for the navigation link
1561
+ */
1256
1562
  label: string;
1563
+ /**
1564
+ * URL or path for the navigation link
1565
+ */
1257
1566
  href: string;
1567
+ /**
1568
+ * Optional click handler
1569
+ */
1258
1570
  onClick?: () => void;
1259
1571
  };
1260
- type Props$4 = {
1572
+ type NavigationProps = {
1573
+ /**
1574
+ * Callback when the mobile menu is toggled
1575
+ */
1261
1576
  onMenuToggle?: () => void;
1577
+ /**
1578
+ * Additional CSS class names
1579
+ */
1262
1580
  className?: string;
1581
+ /**
1582
+ * Logo variant
1583
+ */
1263
1584
  logoVariant?: 'standard' | 'plus';
1585
+ /**
1586
+ * Logo theme
1587
+ */
1264
1588
  logoTheme?: 'light' | 'dark';
1589
+ /**
1590
+ * Array of navigation links
1591
+ */
1265
1592
  navLinks?: NavLink[];
1593
+ /**
1594
+ * Callback when the avatar is clicked
1595
+ */
1266
1596
  onAvatarClick?: () => void;
1267
1597
  };
1268
- declare const Navigation: ({ onMenuToggle, className, logoVariant, logoTheme, navLinks, onAvatarClick, ...rest }: Props$4) => _emotion_react_jsx_runtime.JSX.Element;
1598
+ declare const Navigation: ({ onMenuToggle, className, logoVariant, logoTheme, navLinks, onAvatarClick, ...rest }: NavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
1269
1599
 
1270
- type Props$3 = {
1600
+ type PackageCardProps = {
1601
+ /**
1602
+ * Array of image URLs to display
1603
+ */
1271
1604
  images: string[];
1605
+ /**
1606
+ * Main title of the package
1607
+ */
1272
1608
  title: string;
1609
+ /**
1610
+ * Subtitle or description
1611
+ */
1273
1612
  subtitle: string;
1613
+ /**
1614
+ * Starting price text
1615
+ */
1274
1616
  startingPrice: string;
1617
+ /**
1618
+ * Number of trips remaining
1619
+ */
1275
1620
  tripsLeft?: number;
1621
+ /**
1622
+ * Whether the package is favorited
1623
+ */
1276
1624
  isFavorited?: boolean;
1625
+ /**
1626
+ * Callback when favorite button is clicked
1627
+ */
1277
1628
  onFavoriteClick?: () => void;
1629
+ /**
1630
+ * Callback when card is clicked
1631
+ */
1278
1632
  onClick?: () => void;
1633
+ /**
1634
+ * Additional CSS class names
1635
+ */
1279
1636
  className?: string;
1637
+ /**
1638
+ * Number of days for the package
1639
+ */
1280
1640
  days?: number;
1641
+ /**
1642
+ * Number of guests
1643
+ */
1281
1644
  guests?: number;
1645
+ /**
1646
+ * Whether lodging is included
1647
+ */
1282
1648
  hasLodging?: boolean;
1649
+ /**
1650
+ * Optional badge element to display
1651
+ */
1652
+ badge?: React__default.ReactNode;
1653
+ /**
1654
+ * Availability status text
1655
+ */
1656
+ availability?: string;
1283
1657
  };
1284
- declare const PackageCard: ({ images, title, subtitle, startingPrice, tripsLeft, isFavorited, onFavoriteClick, onClick, className, days, guests, hasLodging, ...rest }: Props$3) => _emotion_react_jsx_runtime.JSX.Element;
1658
+ declare const PackageCard: ({ images, title, subtitle, startingPrice, tripsLeft, isFavorited, onFavoriteClick, onClick, className, days, guests, hasLodging, ...rest }: PackageCardProps) => _emotion_react_jsx_runtime.JSX.Element;
1285
1659
 
1286
- type Props$2 = {
1660
+ type SpinnerProps = {
1661
+ /**
1662
+ * Size of the spinner using space tokens
1663
+ */
1287
1664
  size?: keyof typeof space;
1665
+ /**
1666
+ * Additional CSS class names
1667
+ */
1288
1668
  className?: string;
1669
+ /**
1670
+ * Fill color for the spinner
1671
+ */
1289
1672
  fill?: string;
1290
1673
  };
1291
- declare const Spinner: ({ size, className, fill }: Props$2) => _emotion_react_jsx_runtime.JSX.Element;
1674
+ declare const Spinner: ({ size, className, fill }: SpinnerProps) => _emotion_react_jsx_runtime.JSX.Element;
1292
1675
 
1293
1676
  type TagChipVariant = 'primary' | 'success' | 'warning' | 'error';
1677
+
1294
1678
  type TagChipProps = HTMLAttributes<HTMLSpanElement> & {
1295
- /** The visual variant of the chip */
1679
+ /**
1680
+ * Visual variant of the chip
1681
+ */
1296
1682
  variant?: TagChipVariant;
1297
- /** Optional custom className */
1683
+ /**
1684
+ * Additional CSS class names
1685
+ */
1298
1686
  className?: string;
1299
1687
  };
1300
-
1301
1688
  declare const TagChip: FC<PropsWithChildren<TagChipProps>>;
1302
1689
 
1303
1690
  type THeadingSize = 'xl' | 'lg' | 'md' | 'sm' | 'xs' | '2xs';
@@ -1306,74 +1693,146 @@ type TFontWeight = 'normal' | 'semibold' | 'bold' | 'extrabold';
1306
1693
  type TTextAlign = 'left' | 'center' | 'right' | 'justify' | 'start' | 'end';
1307
1694
  type TTextWrap = 'pretty' | 'balance' | 'nowrap' | 'wrap' | 'stable';
1308
1695
 
1309
- type Props$1 = HTMLAttributes<HTMLElement> & {
1696
+ type HeadingProps = HTMLAttributes<HTMLElement> & {
1697
+ /**
1698
+ * Size variant of the heading
1699
+ */
1310
1700
  size?: THeadingSize;
1311
- /** DOM element name that will be rendered */
1701
+ /**
1702
+ * DOM element name to render as
1703
+ */
1312
1704
  as?: string;
1313
- /** Optional custom className */
1705
+ /**
1706
+ * Additional CSS class names
1707
+ */
1314
1708
  className?: string;
1315
- /** Optional prop to set the uppercase */
1709
+ /**
1710
+ * Whether to transform text to uppercase
1711
+ */
1316
1712
  uppercase?: boolean;
1317
- /** Optional prop to set the font weight */
1713
+ /**
1714
+ * Font weight of the heading
1715
+ */
1318
1716
  fontWeight?: TFontWeight;
1319
- /** Optional prop to set the text align */
1717
+ /**
1718
+ * Text alignment
1719
+ */
1320
1720
  textAlign?: TTextAlign;
1321
- /** Optional prop to set the text wrap */
1721
+ /**
1722
+ * Text wrapping behavior
1723
+ */
1322
1724
  textWrap?: TTextWrap;
1323
- /** Color token (e.g., "gray.100") or CSS color value */
1725
+ /**
1726
+ * Color token or CSS color value
1727
+ */
1324
1728
  color?: string;
1325
1729
  };
1326
- declare const Heading: FC<PropsWithChildren<Props$1>>;
1730
+ declare const Heading: FC<PropsWithChildren<HeadingProps>>;
1327
1731
 
1328
- type Props = HTMLAttributes<HTMLElement> & {
1732
+ type TextProps = HTMLAttributes<HTMLElement> & {
1733
+ /**
1734
+ * Size variant of the text
1735
+ */
1329
1736
  size?: TTextSize;
1330
- /** DOM element name that will be rendered */
1737
+ /**
1738
+ * DOM element name to render as
1739
+ */
1331
1740
  as?: string;
1332
- /** Optional custom className */
1741
+ /**
1742
+ * Additional CSS class names
1743
+ */
1333
1744
  className?: string;
1334
- /** Optional prop to set the font weight */
1745
+ /**
1746
+ * Font weight of the text
1747
+ */
1335
1748
  fontWeight?: TFontWeight;
1336
- /** Optional prop to set the uppercase */
1749
+ /**
1750
+ * Whether to transform text to uppercase
1751
+ */
1337
1752
  uppercase?: boolean;
1338
- /** Optional prop to set the text align */
1753
+ /**
1754
+ * Text alignment
1755
+ */
1339
1756
  textAlign?: TTextAlign;
1340
- /** Optional prop to set the text wrap */
1757
+ /**
1758
+ * Text wrapping behavior
1759
+ */
1341
1760
  textWrap?: TTextWrap;
1342
- /** Color token (e.g., "gray.100") or CSS color value */
1761
+ /**
1762
+ * Color token or CSS color value
1763
+ */
1343
1764
  color?: string;
1344
1765
  };
1345
- declare const Text: FC<PropsWithChildren<Props>>;
1766
+ declare const Text: FC<PropsWithChildren<TextProps>>;
1346
1767
 
1347
1768
  type IconVariantTypes = Parameters<typeof Icon>[0]['variant'];
1348
1769
  type WidgetProps = {
1770
+ /**
1771
+ * ARIA label for accessibility
1772
+ */
1349
1773
  ariaLabel: string;
1774
+ /**
1775
+ * Icon to display when widget is collapsed
1776
+ */
1350
1777
  icon?: IconVariantTypes;
1778
+ /**
1779
+ * Icon to display when widget is expanded
1780
+ */
1351
1781
  expandedIcon?: IconVariantTypes;
1782
+ /**
1783
+ * Default expanded state (uncontrolled)
1784
+ */
1352
1785
  defaultExpanded?: boolean;
1786
+ /**
1787
+ * Expanded state (controlled)
1788
+ */
1353
1789
  expanded?: boolean;
1790
+ /**
1791
+ * Callback when expanded state changes
1792
+ */
1354
1793
  onExpandedChange?: (expanded: boolean) => void;
1794
+ /**
1795
+ * Width of the widget panel (defaults to 480)
1796
+ */
1355
1797
  panelWidth?: number | string;
1798
+ /**
1799
+ * Additional CSS class names
1800
+ */
1356
1801
  className?: string;
1802
+ /**
1803
+ * Widget content
1804
+ */
1357
1805
  children?: React__default.ReactNode;
1806
+ /**
1807
+ * Additional props for the container
1808
+ */
1358
1809
  containerProps?: BoxProps;
1359
1810
  };
1360
- declare const WidgetTrigger: React__default.FC<{
1811
+ type WidgetTriggerProps = {
1812
+ /**
1813
+ * Additional CSS class names
1814
+ */
1361
1815
  className?: string;
1362
- }>;
1363
- declare const WidgetPanel: React__default.FC<{
1816
+ };
1817
+ type WidgetPanelProps = {
1818
+ /**
1819
+ * Additional CSS class names
1820
+ */
1364
1821
  className?: string;
1365
- style?: React__default.CSSProperties;
1822
+ /**
1823
+ * Content to display within the widget panel
1824
+ */
1366
1825
  children?: React__default.ReactNode;
1826
+ };
1827
+ declare const WidgetTrigger: React__default.FC<WidgetTriggerProps>;
1828
+ declare const WidgetPanel: React__default.FC<WidgetPanelProps & {
1829
+ style?: React__default.CSSProperties;
1367
1830
  }>;
1368
1831
  declare const Widget: React__default.FC<WidgetProps> & {
1369
- Trigger: React__default.FC<{
1370
- className?: string | undefined;
1371
- }>;
1372
- Panel: React__default.FC<{
1373
- className?: string | undefined;
1832
+ Trigger: React__default.FC<WidgetTriggerProps>;
1833
+ Panel: React__default.FC<WidgetPanelProps & {
1374
1834
  style?: React__default.CSSProperties | undefined;
1375
- children?: React__default.ReactNode;
1376
1835
  }>;
1377
1836
  };
1378
1837
 
1379
- export { AIResponse, AvailabilityChip, type AvailabilityChipProps$1 as AvailabilityChipProps, type AvailabilityChipVariant, type BaseInputProps, Box, type BoxProps, Button, type ButtonVariants, ChatWidget, type ChatWidgetMessage, Column, type ColumnProps, Container, Divider, FieldNoteCard, FormField, type FormFieldProps, GlobalStyle, Grid, type GridBreakpoint, GridContainer, type GridContainerProps, type GridProps, Heading, HuntCard, Icon, IconLabel, type IconVariantTypes$1 as IconVariantTypes, Input, type InputProps, type InputSize, type InputVariant, LayoutTokens, ListingChat, Logo, type LogoTheme, type LogoVariant, MessageBubble, Navigation, PackageCard, type ResponsiveValue, Select, type SelectOption, type SelectProps, Spinner, TagChip, type TagChipProps, Text, TextArea, type TextareaProps, ThemeTokens, Widget, WidgetPanel, WidgetTrigger, globalStyles, styles };
1838
+ 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, 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 };