@qodo/design-system 0.20.26 → 0.20.32

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;
@@ -152,19 +157,17 @@ declare type BaseSelectProps = {
152
157
  }) => ReactNode;
153
158
  size?: "xs" | "default";
154
159
  contentMaxWidth?: string;
160
+ contentAlign?: "start" | "center" | "end";
161
+ contentSide?: "top" | "right" | "bottom" | "left";
162
+ contentOffset?: number;
163
+ contentTopOffset?: number;
155
164
  error?: boolean;
156
165
  renderFooter?: (props: {
157
166
  onClose: () => void;
158
167
  }) => ReactNode;
168
+ onToggle?: (value: string, checked: boolean) => void;
159
169
  } & Omit<default_3.HTMLAttributes<HTMLDivElement>, "onSelect">;
160
170
 
161
- export declare const borderRadius: {
162
- readonly sm: "0.25rem";
163
- readonly md: "0.375rem";
164
- readonly lg: "0.5rem";
165
- readonly xl: "0.75rem";
166
- };
167
-
168
171
  export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
169
172
 
170
173
  export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -179,13 +182,36 @@ export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLBu
179
182
 
180
183
  declare const buttonVariants: (props?: ({
181
184
  variant?: "link" | "default" | "secondary" | "outline" | "ghost" | "danger" | null | undefined;
182
- 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;
183
186
  } & ClassProp) | undefined) => string;
184
187
 
185
188
  export declare function Card({ className, ...props }: React_2.ComponentProps<"div"> & {
186
189
  variant?: string;
187
190
  }): JSX_2.Element;
188
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
+
189
215
  export declare function CardAction({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
190
216
 
191
217
  export declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
@@ -274,7 +300,7 @@ export declare interface CheckboxProps {
274
300
  error?: boolean;
275
301
  checked?: boolean;
276
302
  onCheckedChange?: (checked: boolean) => void;
277
- label: string;
303
+ label: React.ReactNode;
278
304
  description?: React.ReactNode;
279
305
  labelWrapperClassName?: string;
280
306
  labelClassName?: string;
@@ -298,31 +324,11 @@ export declare function ClassHelper(styles: any, props: any, debug: boolean): st
298
324
 
299
325
  export declare function cn(...inputs: ClassValue[]): string;
300
326
 
301
- export declare const colors: {
302
- readonly primary: {
303
- readonly 50: "#eff6ff";
304
- readonly 100: "#dbeafe";
305
- readonly 500: "#3b82f6";
306
- readonly 600: "#2563eb";
307
- readonly 900: "#1e3a8a";
308
- };
309
- readonly secondary: {
310
- readonly 50: "#f8fafc";
311
- readonly 100: "#f1f5f9";
312
- readonly 500: "#64748b";
313
- readonly 600: "#475569";
314
- readonly 900: "#0f172a";
315
- };
316
- readonly success: {
317
- readonly 50: "#f0fdf4";
318
- readonly 500: "#22c55e";
319
- readonly 600: "#16a34a";
320
- };
321
- readonly error: {
322
- readonly 50: "#fef2f2";
323
- readonly 500: "#ef4444";
324
- readonly 600: "#dc2626";
325
- };
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;
326
332
  };
327
333
 
328
334
  export declare const Combobox: React_2.ForwardRefExoticComponent<ComboboxProps & React_2.RefAttributes<HTMLButtonElement>>;
@@ -352,6 +358,54 @@ export declare interface ComboboxProps {
352
358
  declare interface ComboboxProps_2 extends ComboboxProps, FieldBaseProps {
353
359
  }
354
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
+
355
409
  export declare function Dialog({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX_2.Element;
356
410
 
357
411
  export declare function DialogClose({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Close>): JSX_2.Element;
@@ -456,6 +510,121 @@ declare interface FieldBaseProps extends React.HTMLAttributes<HTMLDivElement> {
456
510
  disabled?: boolean;
457
511
  }
458
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
+
459
628
  declare interface FooterItemType extends BaseMenuItemType {
460
629
  action?: () => void;
461
630
  }
@@ -552,6 +721,8 @@ export declare const Input: React_2.ForwardRefExoticComponent<Omit<InputProps, "
552
721
 
553
722
  export declare interface InputProps extends React_2.ComponentProps<"input">, VariantProps<typeof inputVariants> {
554
723
  error?: boolean;
724
+ startIcon?: React_2.ReactNode;
725
+ endIcon?: React_2.ReactNode;
555
726
  }
556
727
 
557
728
  declare type InputProps_2 = InputProps & FieldBaseProps;
@@ -592,6 +763,8 @@ export declare type InsightCardProps = {
592
763
  export declare type LoadingSkeletonProps = {
593
764
  columnsCount: number;
594
765
  rowsCount?: number;
766
+ columnSizes?: React.CSSProperties[];
767
+ columnClassNames?: string[];
595
768
  };
596
769
 
597
770
  declare interface MenuLabelType extends TypeGuard<"MenuLabel"> {
@@ -619,6 +792,7 @@ declare type Option_2 = {
619
792
  disabled?: boolean;
620
793
  description?: string;
621
794
  disableChildrenOnParentSelect?: boolean;
795
+ showIndeterminateCheckbox?: boolean;
622
796
  };
623
797
  export { Option_2 as Option }
624
798
 
@@ -640,6 +814,10 @@ export declare type PaginationStepperProps<T extends RowData> = {
640
814
  isLoading?: boolean;
641
815
  };
642
816
 
817
+ declare type PlacementControlledKeys = "className" | "toggleIcon" | "renderValue" | "contentAlign" | "contentSide";
818
+
819
+ declare type PlacementControlledKeys_2 = "className" | "toggleIcon" | "renderValue" | "contentAlign" | "contentSide";
820
+
643
821
  export declare function Progress({ className, value, ...props }: React_2.ComponentProps<typeof ProgressPrimitive.Root>): JSX_2.Element;
644
822
 
645
823
  export declare const RadioGroup: default_3.ForwardRefExoticComponent<RadioGroupProps & default_3.RefAttributes<HTMLDivElement>>;
@@ -703,12 +881,24 @@ export declare type RadioOption = {
703
881
  tooltip?: string;
704
882
  };
705
883
 
706
- 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;
707
893
 
708
894
  export declare interface SearchInputProps extends InputProps {
709
895
  containerClassName?: string;
710
896
  searchSize?: (typeof SearchSize)[keyof typeof SearchSize];
711
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;
712
902
  }
713
903
 
714
904
  declare const SearchSize: {
@@ -716,7 +906,7 @@ declare const SearchSize: {
716
906
  LARGE: string;
717
907
  };
718
908
 
719
- 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, 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;
720
910
 
721
911
  declare const SELECT_MODE: {
722
912
  SINGLE: string;
@@ -740,7 +930,7 @@ export declare const SelectLabel: React_2.ForwardRefExoticComponent<Omit<SelectP
740
930
 
741
931
  export declare type SelectProps = SingleSelectProps | MultipleSelectProps;
742
932
 
743
- declare interface SelectProps_2 extends Omit<SelectProps, "value" | "onSelect" | "dir">, FieldBaseProps {
933
+ declare interface SelectProps_2 extends Omit<SelectProps, "value" | "onSelect" | "dir" | "children">, FieldBaseProps {
744
934
  options: Option_2[];
745
935
  value?: string[];
746
936
  readOnly?: boolean;
@@ -782,15 +972,6 @@ declare type SortableHeaderCellProps<T extends RowData> = {
782
972
  tooltipContent?: string;
783
973
  };
784
974
 
785
- export declare const spacing: {
786
- readonly xs: "0.25rem";
787
- readonly sm: "0.5rem";
788
- readonly md: "1rem";
789
- readonly lg: "1.5rem";
790
- readonly xl: "2rem";
791
- readonly "2xl": "3rem";
792
- };
793
-
794
975
  export declare const Steps: {
795
976
  Root: ({ className: propsClassName, step, ...rest }: React.ComponentProps<typeof Steps_2.Root>) => JSX_2.Element;
796
977
  List: ({ className: propsClassName, ...rest }: React.ComponentProps<typeof Steps_2.List>) => JSX_2.Element;
@@ -818,7 +999,7 @@ declare const switchVariants: (props?: ({
818
999
  size?: "small" | "large" | null | undefined;
819
1000
  } & ClassProp) | undefined) => string;
820
1001
 
821
- 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;
822
1003
 
823
1004
  declare const Table_2: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableElement> & {
824
1005
  wrapperClassName?: string;
@@ -837,6 +1018,7 @@ export declare type TableProps<T extends RowData> = {
837
1018
  emptyStateDescription?: string;
838
1019
  noResultsTitle?: string;
839
1020
  wrapperClassName?: string;
1021
+ rowClassName?: string;
840
1022
  loadingRowsCount?: number;
841
1023
  activeRowId?: number | string;
842
1024
  } & PaginationModeProps & React.ComponentPropsWithoutRef<typeof Table_2>;
@@ -953,27 +1135,12 @@ declare type TypeGuard<T> = {
953
1135
 
954
1136
  export declare const Typography: React_2.ForwardRefExoticComponent<TypographyProps & React_2.RefAttributes<HTMLElement>>;
955
1137
 
956
- export declare const typography: {
957
- readonly fontFamily: {
958
- readonly sans: readonly ["Inter", "system-ui", "sans-serif"];
959
- readonly mono: readonly ["JetBrains Mono", "monospace"];
960
- };
961
- readonly fontSize: {
962
- readonly xs: "0.75rem";
963
- readonly sm: "0.875rem";
964
- readonly base: "1rem";
965
- readonly lg: "1.125rem";
966
- readonly xl: "1.25rem";
967
- readonly "2xl": "1.5rem";
968
- };
969
- };
970
-
971
1138
  export declare interface TypographyProps extends React_2.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
972
1139
  as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "div" | "blockquote" | "ul" | "ol" | "code" | "pre";
973
1140
  }
974
1141
 
975
1142
  export declare const typographyVariants: (props?: ({
976
- 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;
977
1144
  } & ClassProp) | undefined) => string;
978
1145
 
979
1146
  declare type UseCarouselParameters = Parameters<typeof default_2>;
@@ -989,6 +1156,7 @@ export declare const useFormContext: () => {
989
1156
  setError: UseFormSetError<FieldValues>;
990
1157
  clearErrors: UseFormClearErrors<FieldValues>;
991
1158
  setValue: UseFormSetValue<FieldValues>;
1159
+ setValues: UseFormSetValues<FieldValues>;
992
1160
  trigger: UseFormTrigger<FieldValues>;
993
1161
  formState: FormState<FieldValues>;
994
1162
  resetField: UseFormResetField<FieldValues>;