@qodo/design-system 0.20.27 → 0.20.33

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
@@ -3,6 +3,7 @@ import { ClassProp } from 'class-variance-authority/types';
3
3
  import { ClassValue } from 'clsx';
4
4
  import { Column } from '@tanstack/react-table';
5
5
  import { Control } from 'react-hook-form';
6
+ import { DateRange } from 'react-day-picker';
6
7
  import { default as default_2 } from 'embla-carousel-react';
7
8
  import { default as default_3 } from 'react';
8
9
  import * as DialogPrimitive from '@radix-ui/react-dialog';
@@ -13,6 +14,7 @@ import { FieldValues } from 'react-hook-form';
13
14
  import { FormState } from 'react-hook-form';
14
15
  import { ForwardRefExoticComponent } from 'react';
15
16
  import { FunctionComponent } from 'react';
17
+ import { Header } from '@tanstack/react-table';
16
18
  import { HTMLAttributes } from 'react';
17
19
  import { IconType } from 'react-icons';
18
20
  import { JSX as JSX_2 } from 'react/jsx-runtime';
@@ -49,6 +51,7 @@ import { UseFormReturn } from 'react-hook-form';
49
51
  import { UseFormSetError } from 'react-hook-form';
50
52
  import { UseFormSetFocus } from 'react-hook-form';
51
53
  import { UseFormSetValue } from 'react-hook-form';
54
+ import { UseFormSetValues } from 'react-hook-form';
52
55
  import { UseFormSubscribe } from 'react-hook-form';
53
56
  import { UseFormTrigger } from 'react-hook-form';
54
57
  import { UseFormUnregister } from 'react-hook-form';
@@ -92,7 +95,7 @@ export declare type ActionsCellProps = OmittedDropdownProps & {
92
95
  showOnHover?: boolean;
93
96
  };
94
97
 
95
- export declare function Badge({ className, variant, size, disabled, active, ...props }: BadgeProps): JSX_2.Element;
98
+ export declare function Badge({ className, variant, size, disabled, active, isClickable, ...props }: BadgeProps): JSX_2.Element;
96
99
 
97
100
  export declare const BadgeCell: (props: BadgeCellProps) => JSX_2.Element;
98
101
 
@@ -101,11 +104,12 @@ export declare type BadgeCellProps = BaseCellProps & BadgeProps;
101
104
  declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
102
105
  disabled?: boolean;
103
106
  active?: boolean;
107
+ isClickable?: boolean;
104
108
  }
105
109
 
106
110
  declare const badgeVariants: (props?: ({
107
- variant?: "text" | "default" | "secondary" | "outline" | "success" | "warning" | "destructive" | "error" | "primary" | "pending" | null | undefined;
108
- size?: "xs" | "sm" | "lg" | "md" | null | undefined;
111
+ variant?: "text" | "danger" | "success" | "warning" | "emphasis" | "neutral" | null | undefined;
112
+ size?: "sm" | "lg" | null | undefined;
109
113
  } & ClassProp) | undefined) => string;
110
114
 
111
115
  export declare const BaseCell: (props: BaseCellProps) => JSX_2.Element;
@@ -139,6 +143,7 @@ declare type BaseSelectProps = {
139
143
  inputPlaceholder?: string;
140
144
  badgeVariant?: BadgeProps["variant"];
141
145
  searchable?: boolean;
146
+ shouldFilter?: boolean;
142
147
  toggleIcon?: ReactNode;
143
148
  emptyState?: ReactNode;
144
149
  dir?: string;
@@ -153,19 +158,16 @@ declare type BaseSelectProps = {
153
158
  size?: "xs" | "default";
154
159
  contentMaxWidth?: string;
155
160
  contentAlign?: "start" | "center" | "end";
161
+ contentSide?: "top" | "right" | "bottom" | "left";
162
+ contentOffset?: number;
163
+ contentTopOffset?: number;
156
164
  error?: boolean;
157
165
  renderFooter?: (props: {
158
166
  onClose: () => void;
159
167
  }) => ReactNode;
168
+ onToggle?: (value: string, checked: boolean) => void;
160
169
  } & Omit<default_3.HTMLAttributes<HTMLDivElement>, "onSelect">;
161
170
 
162
- export declare const borderRadius: {
163
- readonly sm: "0.25rem";
164
- readonly md: "0.375rem";
165
- readonly lg: "0.5rem";
166
- readonly xl: "0.75rem";
167
- };
168
-
169
171
  export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
170
172
 
171
173
  export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -180,13 +182,36 @@ export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLBu
180
182
 
181
183
  declare const buttonVariants: (props?: ({
182
184
  variant?: "link" | "default" | "secondary" | "outline" | "ghost" | "danger" | null | undefined;
183
- size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-sm" | "icon-md" | "icon-lg" | null | undefined;
185
+ size?: "default" | "xxs" | "xs" | "sm" | "lg" | "icon" | "icon-sm" | "icon-md" | "icon-lg" | null | undefined;
184
186
  } & ClassProp) | undefined) => string;
185
187
 
186
188
  export declare function Card({ className, ...props }: React_2.ComponentProps<"div"> & {
187
189
  variant?: string;
188
190
  }): JSX_2.Element;
189
191
 
192
+ export declare const CardAccordion: ({ icon, title, description, action, children, defaultOpen, open, onOpenChange, className, iconClassName: propsIconClassName, }: CardAccordionProps) => JSX_2.Element;
193
+
194
+ export declare type CardAccordionProps = {
195
+ /** Icon element rendered inside the coloured square */
196
+ icon?: ReactNode;
197
+ /** Primary label */
198
+ title: ReactNode;
199
+ /** Secondary line below the title */
200
+ description?: ReactNode;
201
+ /** Slot rendered at the far right (button, badge, etc.) */
202
+ action?: ReactNode;
203
+ className?: string;
204
+ iconClassName?: string;
205
+ /** Content revealed when the accordion is open */
206
+ children?: ReactNode;
207
+ /** Uncontrolled initial open state */
208
+ defaultOpen?: boolean;
209
+ /** Controlled open state */
210
+ open?: boolean;
211
+ /** Called when the open state changes */
212
+ onOpenChange?: (open: boolean) => void;
213
+ };
214
+
190
215
  export declare function CardAction({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
191
216
 
192
217
  export declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
@@ -275,7 +300,7 @@ export declare interface CheckboxProps {
275
300
  error?: boolean;
276
301
  checked?: boolean;
277
302
  onCheckedChange?: (checked: boolean) => void;
278
- label: string;
303
+ label: React.ReactNode;
279
304
  description?: React.ReactNode;
280
305
  labelWrapperClassName?: string;
281
306
  labelClassName?: string;
@@ -299,31 +324,11 @@ export declare function ClassHelper(styles: any, props: any, debug: boolean): st
299
324
 
300
325
  export declare function cn(...inputs: ClassValue[]): string;
301
326
 
302
- export declare const colors: {
303
- readonly primary: {
304
- readonly 50: "#eff6ff";
305
- readonly 100: "#dbeafe";
306
- readonly 500: "#3b82f6";
307
- readonly 600: "#2563eb";
308
- readonly 900: "#1e3a8a";
309
- };
310
- readonly secondary: {
311
- readonly 50: "#f8fafc";
312
- readonly 100: "#f1f5f9";
313
- readonly 500: "#64748b";
314
- readonly 600: "#475569";
315
- readonly 900: "#0f172a";
316
- };
317
- readonly success: {
318
- readonly 50: "#f0fdf4";
319
- readonly 500: "#22c55e";
320
- readonly 600: "#16a34a";
321
- };
322
- readonly error: {
323
- readonly 50: "#fef2f2";
324
- readonly 500: "#ef4444";
325
- readonly 600: "#dc2626";
326
- };
327
+ export declare const ColumnResizer: <T extends RowData>({ header, className, }: ColumnResizerProps<T>) => JSX_2.Element;
328
+
329
+ declare type ColumnResizerProps<T extends RowData> = {
330
+ header: Header<T, unknown>;
331
+ className?: string;
327
332
  };
328
333
 
329
334
  export declare const Combobox: React_2.ForwardRefExoticComponent<ComboboxProps & React_2.RefAttributes<HTMLButtonElement>>;
@@ -353,6 +358,54 @@ export declare interface ComboboxProps {
353
358
  declare interface ComboboxProps_2 extends ComboboxProps, FieldBaseProps {
354
359
  }
355
360
 
361
+ export declare const DatePicker: ({ value, onChange, presets, selectPresetPlaceholder, className, }: DatePickerProps) => JSX_2.Element;
362
+
363
+ export declare const DatePickerMenu: ({ value, onChange, presets, selectPresetPlaceholder, className, }: DatePickerMenuProps) => JSX_2.Element;
364
+
365
+ declare type DatePickerMenuProps = {
366
+ value?: Date;
367
+ onChange?: (date: Date | undefined) => void;
368
+ presets?: DatePickerPreset[];
369
+ selectPresetPlaceholder?: string;
370
+ className?: string;
371
+ };
372
+
373
+ export declare type DatePickerPreset = {
374
+ label: string;
375
+ value: string;
376
+ getDate: () => Date;
377
+ };
378
+
379
+ export declare type DatePickerProps = {
380
+ value?: Date;
381
+ onChange?: (date: Date | undefined) => void;
382
+ presets?: DatePickerPreset[];
383
+ selectPresetPlaceholder?: string;
384
+ className?: string;
385
+ };
386
+
387
+ export { DateRange }
388
+
389
+ export declare const DateRangePicker: ({ value, onChange, className, }: DateRangePickerProps) => JSX_2.Element;
390
+
391
+ /**
392
+ * Two-month side-by-side range calendar panel.
393
+ * Use inside a Popover or inline — no trigger included.
394
+ */
395
+ export declare const DateRangePickerMenu: ({ value, onChange, className, }: DateRangePickerMenuProps) => JSX_2.Element;
396
+
397
+ declare type DateRangePickerMenuProps = {
398
+ value?: DateRange;
399
+ onChange?: (range: DateRange) => void;
400
+ className?: string;
401
+ };
402
+
403
+ export declare type DateRangePickerProps = {
404
+ value?: DateRange;
405
+ onChange?: (range: DateRange) => void;
406
+ className?: string;
407
+ };
408
+
356
409
  export declare function Dialog({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX_2.Element;
357
410
 
358
411
  export declare function DialogClose({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Close>): JSX_2.Element;
@@ -457,6 +510,121 @@ declare interface FieldBaseProps extends React.HTMLAttributes<HTMLDivElement> {
457
510
  disabled?: boolean;
458
511
  }
459
512
 
513
+ /**
514
+ * A horizontal flex container for active filter chips.
515
+ * Renders children (FilterSelectChip / FilterInputChip) in a wrapping row.
516
+ */
517
+ export declare const FilterChipsBar: ({ children, className: propsClassName, }: FilterChipsBarProps) => JSX_2.Element;
518
+
519
+ declare type FilterChipsBarProps = {
520
+ children: ReactNode;
521
+ className?: string;
522
+ };
523
+
524
+ /**
525
+ * An active-filter chip backed by a DatePickerMenu popover.
526
+ * Shows icon + label + current date; clicking opens the calendar, the X clears the filter.
527
+ * Mirrors the FilterSelectChip pattern but for date values.
528
+ */
529
+ export declare const FilterDateChip: ({ icon, label, value, onChange, presets, }: FilterDateChipProps) => JSX_2.Element;
530
+
531
+ declare type FilterDateChipProps = {
532
+ icon: ReactNode;
533
+ label: string;
534
+ value: Date | undefined;
535
+ onChange: (date: Date | undefined) => void;
536
+ presets?: DatePickerPreset[];
537
+ };
538
+
539
+ /**
540
+ * A free-text filter row designed for use inside FiltersDropdown.
541
+ * The trigger shows the label and a ChevronRight; a panel opens to the right
542
+ * with a search input and apply/cancel/clear actions.
543
+ */
544
+ export declare const FilterDropdownInputItem: ({ icon, label, value, onValueChange, searchPlaceholder, clearLabel, cancelLabel, applyLabel, className: propsClassName, }: FilterDropdownInputItemProps) => JSX_2.Element;
545
+
546
+ declare type FilterDropdownInputItemProps = {
547
+ icon?: ReactNode;
548
+ label: string;
549
+ value: string | undefined;
550
+ onValueChange: (value: string | undefined) => void;
551
+ searchPlaceholder: string;
552
+ clearLabel: string;
553
+ cancelLabel: string;
554
+ applyLabel: string;
555
+ className?: string;
556
+ };
557
+
558
+ /**
559
+ * A Select-based filter row designed for use inside FiltersDropdown.
560
+ * The trigger shows the label and a ChevronRight; the select panel opens to the right.
561
+ */
562
+ export declare const FilterDropdownSelectItem: ({ icon, label, className: propsClassName, ...selectProps }: FilterDropdownSelectItemProps) => JSX_2.Element;
563
+
564
+ declare type FilterDropdownSelectItemProps = {
565
+ icon?: ReactNode;
566
+ label: string;
567
+ className?: string;
568
+ } & Omit<SelectProps, PlacementControlledKeys>;
569
+
570
+ /**
571
+ * An active-filter chip backed by a free-text input dropdown.
572
+ * Shows icon + label + current value; clicking opens an input panel, the X clears the filter.
573
+ */
574
+ export declare const FilterInputChip: ({ icon, label, value, onValueChange, searchPlaceholder, clearLabel, cancelLabel, applyLabel, }: FilterInputChipProps) => JSX_2.Element;
575
+
576
+ declare type FilterInputChipProps = {
577
+ icon: ReactNode;
578
+ label: string;
579
+ value: string | undefined;
580
+ onValueChange: (value: string | undefined) => void;
581
+ searchPlaceholder: string;
582
+ clearLabel: string;
583
+ cancelLabel: string;
584
+ applyLabel: string;
585
+ };
586
+
587
+ /**
588
+ * A popover-based filter panel trigger.
589
+ * Renders a ghost button with title + optional icon; children populate the popover content.
590
+ */
591
+ export declare const FiltersDropdown: ({ title, icon, children, className: propsClassName, open, onOpenChange, }: FiltersDropdownProps) => JSX_2.Element;
592
+
593
+ declare type FiltersDropdownProps = {
594
+ title?: string;
595
+ icon?: ReactNode;
596
+ children: ReactNode;
597
+ className?: string;
598
+ open?: boolean;
599
+ onOpenChange?: (open: boolean) => void;
600
+ };
601
+
602
+ /**
603
+ * An active-filter chip backed by a Select dropdown.
604
+ * Shows icon + label + current value; clicking opens the select, the X clears the filter.
605
+ */
606
+ export declare const FilterSelectChip: ({ icon, label, activeValue, onClear, ...selectProps }: FilterSelectChipProps) => JSX_2.Element;
607
+
608
+ declare type FilterSelectChipProps = {
609
+ icon: ReactNode;
610
+ label: string;
611
+ activeValue: ReactNode;
612
+ onClear: () => void;
613
+ } & Omit<SelectProps, PlacementControlledKeys_2>;
614
+
615
+ /**
616
+ * A read-only filter chip — shows icon + label: value with an X to clear.
617
+ * The chip body is non-interactive; only the X button is clickable.
618
+ */
619
+ export declare const FilterStaticChip: ({ icon, label, value, onClear, }: FilterStaticChipProps) => JSX_2.Element;
620
+
621
+ declare type FilterStaticChipProps = {
622
+ icon: ReactNode;
623
+ label: string;
624
+ value: ReactNode;
625
+ onClear: () => void;
626
+ };
627
+
460
628
  declare interface FooterItemType extends BaseMenuItemType {
461
629
  action?: () => void;
462
630
  }
@@ -553,6 +721,8 @@ export declare const Input: React_2.ForwardRefExoticComponent<Omit<InputProps, "
553
721
 
554
722
  export declare interface InputProps extends React_2.ComponentProps<"input">, VariantProps<typeof inputVariants> {
555
723
  error?: boolean;
724
+ startIcon?: React_2.ReactNode;
725
+ endIcon?: React_2.ReactNode;
556
726
  }
557
727
 
558
728
  declare type InputProps_2 = InputProps & FieldBaseProps;
@@ -593,6 +763,8 @@ export declare type InsightCardProps = {
593
763
  export declare type LoadingSkeletonProps = {
594
764
  columnsCount: number;
595
765
  rowsCount?: number;
766
+ columnSizes?: React.CSSProperties[];
767
+ columnClassNames?: string[];
596
768
  };
597
769
 
598
770
  declare interface MenuLabelType extends TypeGuard<"MenuLabel"> {
@@ -620,6 +792,7 @@ declare type Option_2 = {
620
792
  disabled?: boolean;
621
793
  description?: string;
622
794
  disableChildrenOnParentSelect?: boolean;
795
+ showIndeterminateCheckbox?: boolean;
623
796
  };
624
797
  export { Option_2 as Option }
625
798
 
@@ -641,6 +814,10 @@ export declare type PaginationStepperProps<T extends RowData> = {
641
814
  isLoading?: boolean;
642
815
  };
643
816
 
817
+ declare type PlacementControlledKeys = "className" | "toggleIcon" | "renderValue" | "contentAlign" | "contentSide";
818
+
819
+ declare type PlacementControlledKeys_2 = "className" | "toggleIcon" | "renderValue" | "contentAlign" | "contentSide";
820
+
644
821
  export declare function Progress({ className, value, ...props }: React_2.ComponentProps<typeof ProgressPrimitive.Root>): JSX_2.Element;
645
822
 
646
823
  export declare const RadioGroup: default_3.ForwardRefExoticComponent<RadioGroupProps & default_3.RefAttributes<HTMLDivElement>>;
@@ -704,12 +881,24 @@ export declare type RadioOption = {
704
881
  tooltip?: string;
705
882
  };
706
883
 
707
- export declare const SearchInput: ({ containerClassName, className: propsClassName, searchSize, disabled, disableFilterIcon, ...rest }: SearchInputProps) => JSX_2.Element;
884
+ export declare const ResizableHeader: <T extends RowData>({ header, children, resizerClassName, }: ResizableHeaderProps<T>) => JSX_2.Element;
885
+
886
+ declare type ResizableHeaderProps<T extends RowData> = {
887
+ header: Header<T, unknown>;
888
+ children: React.ReactNode;
889
+ resizerClassName?: string;
890
+ };
891
+
892
+ export declare const SearchInput: ({ containerClassName, className: propsClassName, searchSize, disabled, disableFilterIcon, debounceMs, onDebouncedChange, onChange, ...rest }: SearchInputProps) => JSX_2.Element;
708
893
 
709
894
  export declare interface SearchInputProps extends InputProps {
710
895
  containerClassName?: string;
711
896
  searchSize?: (typeof SearchSize)[keyof typeof SearchSize];
712
897
  disableFilterIcon?: boolean;
898
+ /** Fires with the input's string value after the debounce delay. */
899
+ onDebouncedChange?: (value: string) => void;
900
+ /** Debounce delay in ms for `onDebouncedChange`. Defaults to 300. */
901
+ debounceMs?: number;
713
902
  }
714
903
 
715
904
  declare const SearchSize: {
@@ -717,7 +906,7 @@ declare const SearchSize: {
717
906
  LARGE: string;
718
907
  };
719
908
 
720
- export declare function Select({ value, options, onSelect: propsOnSelect, disabled, readOnly, mode, placeholder, inputPlaceholder, emptyState, triggerClassName, triggerWrapperClassName, badgeClassName, badgeVariant, searchable, toggleIcon, dir, variant, iconPosition, selectionIndicator, onSearchChange, renderValue, size, contentMaxWidth, contentAlign, error, renderFooter, ...rest }: SelectProps): JSX_2.Element;
909
+ export declare function Select({ value, options, onSelect: propsOnSelect, disabled, readOnly, mode, placeholder, inputPlaceholder, emptyState, triggerClassName, triggerWrapperClassName, badgeClassName, badgeVariant, searchable, shouldFilter, toggleIcon, dir, variant, iconPosition, selectionIndicator, onSearchChange, renderValue, size, contentMaxWidth, contentAlign, contentSide, contentOffset, contentTopOffset, error, renderFooter, ...rest }: SelectProps): JSX_2.Element;
721
910
 
722
911
  declare const SELECT_MODE: {
723
912
  SINGLE: string;
@@ -741,7 +930,7 @@ export declare const SelectLabel: React_2.ForwardRefExoticComponent<Omit<SelectP
741
930
 
742
931
  export declare type SelectProps = SingleSelectProps | MultipleSelectProps;
743
932
 
744
- declare interface SelectProps_2 extends Omit<SelectProps, "value" | "onSelect" | "dir">, FieldBaseProps {
933
+ declare interface SelectProps_2 extends Omit<SelectProps, "value" | "onSelect" | "dir" | "children">, FieldBaseProps {
745
934
  options: Option_2[];
746
935
  value?: string[];
747
936
  readOnly?: boolean;
@@ -783,15 +972,6 @@ declare type SortableHeaderCellProps<T extends RowData> = {
783
972
  tooltipContent?: string;
784
973
  };
785
974
 
786
- export declare const spacing: {
787
- readonly xs: "0.25rem";
788
- readonly sm: "0.5rem";
789
- readonly md: "1rem";
790
- readonly lg: "1.5rem";
791
- readonly xl: "2rem";
792
- readonly "2xl": "3rem";
793
- };
794
-
795
975
  export declare const Steps: {
796
976
  Root: ({ className: propsClassName, step, ...rest }: React.ComponentProps<typeof Steps_2.Root>) => JSX_2.Element;
797
977
  List: ({ className: propsClassName, ...rest }: React.ComponentProps<typeof Steps_2.List>) => JSX_2.Element;
@@ -819,7 +999,7 @@ declare const switchVariants: (props?: ({
819
999
  size?: "small" | "large" | null | undefined;
820
1000
  } & ClassProp) | undefined) => string;
821
1001
 
822
- export declare const Table: <T extends RowData>({ table, emptyStateComponent, noResultsComponent, errorComponent, isLoading, isError, hasActiveFilter, onRowClick, emptyStateTitle, emptyStateDescription, noResultsTitle, wrapperClassName, loadingRowsCount, activeRowId, paginationMode, onLoadMore, hasMore, loadMoreThreshold, endOfResultsMessage, className: propsClassName, ...restTableProps }: TableProps<T & WithId>) => JSX_2.Element;
1002
+ export declare const Table: <T extends RowData>({ table, emptyStateComponent, noResultsComponent, errorComponent, isLoading, isError, hasActiveFilter, onRowClick, emptyStateTitle, emptyStateDescription, noResultsTitle, wrapperClassName, rowClassName, loadingRowsCount, activeRowId, paginationMode, onLoadMore, hasMore, loadMoreThreshold, endOfResultsMessage, className: propsClassName, ...restTableProps }: TableProps<T & WithId>) => JSX_2.Element;
823
1003
 
824
1004
  declare const Table_2: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableElement> & {
825
1005
  wrapperClassName?: string;
@@ -838,6 +1018,7 @@ export declare type TableProps<T extends RowData> = {
838
1018
  emptyStateDescription?: string;
839
1019
  noResultsTitle?: string;
840
1020
  wrapperClassName?: string;
1021
+ rowClassName?: string;
841
1022
  loadingRowsCount?: number;
842
1023
  activeRowId?: number | string;
843
1024
  } & PaginationModeProps & React.ComponentPropsWithoutRef<typeof Table_2>;
@@ -954,27 +1135,12 @@ declare type TypeGuard<T> = {
954
1135
 
955
1136
  export declare const Typography: React_2.ForwardRefExoticComponent<TypographyProps & React_2.RefAttributes<HTMLElement>>;
956
1137
 
957
- export declare const typography: {
958
- readonly fontFamily: {
959
- readonly sans: readonly ["Inter", "system-ui", "sans-serif"];
960
- readonly mono: readonly ["JetBrains Mono", "monospace"];
961
- };
962
- readonly fontSize: {
963
- readonly xs: "0.75rem";
964
- readonly sm: "0.875rem";
965
- readonly base: "1rem";
966
- readonly lg: "1.125rem";
967
- readonly xl: "1.25rem";
968
- readonly "2xl": "1.5rem";
969
- };
970
- };
971
-
972
1138
  export declare interface TypographyProps extends React_2.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
973
1139
  as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "div" | "blockquote" | "ul" | "ol" | "code" | "pre";
974
1140
  }
975
1141
 
976
1142
  export declare const typographyVariants: (props?: ({
977
- variant?: "blockquote" | "body" | "caption" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "small" | "list" | "muted" | "large" | "lead" | "code-inline" | "code-block" | "list-ordered" | null | undefined;
1143
+ variant?: "blockquote" | "body" | "caption" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "small" | "list" | "muted" | "large" | "lead" | "mono-body" | "mono-small" | "code-inline" | "code-block" | "list-ordered" | null | undefined;
978
1144
  } & ClassProp) | undefined) => string;
979
1145
 
980
1146
  declare type UseCarouselParameters = Parameters<typeof default_2>;
@@ -990,6 +1156,7 @@ export declare const useFormContext: () => {
990
1156
  setError: UseFormSetError<FieldValues>;
991
1157
  clearErrors: UseFormClearErrors<FieldValues>;
992
1158
  setValue: UseFormSetValue<FieldValues>;
1159
+ setValues: UseFormSetValues<FieldValues>;
993
1160
  trigger: UseFormTrigger<FieldValues>;
994
1161
  formState: FormState<FieldValues>;
995
1162
  resetField: UseFormResetField<FieldValues>;