@brainfish-ai/components 0.34.4 → 0.35.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/alert-dialog.d.ts +5 -5
- package/dist/badge.d.ts +1 -1
- package/dist/breadcrumb.d.ts +3 -3
- package/dist/button.d.ts +1 -1
- package/dist/command.d.ts +35 -35
- package/dist/components/ui/resizable.d.ts +2 -0
- package/dist/components/ui/tabs.d.ts +2 -0
- package/dist/confirm-dialog.d.ts +2 -2
- package/dist/conversation.d.ts +18 -16
- package/dist/convos.d.ts +8 -9
- package/dist/div-button.d.ts +1 -1
- package/dist/dropdown-menu.d.ts +3 -3
- package/dist/esm/chunks/ChatSearch.D5EABw51.js.map +1 -1
- package/dist/esm/components/convos.js +1 -1
- package/dist/esm/components/convos.js.map +1 -1
- package/dist/esm/components/resizable.js +1 -0
- package/dist/esm/components/tabs.js +1 -0
- package/dist/esm/components/ui/resizable.js +5 -0
- package/dist/esm/components/ui/resizable.js.map +1 -0
- package/dist/esm/components/ui/tabs.js +2 -0
- package/dist/esm/components/ui/tabs.js.map +1 -0
- package/dist/esm/global.css +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/generating-star.d.ts +1 -1
- package/dist/index.d.ts +86 -66
- package/dist/item.d.ts +1 -1
- package/dist/popover.d.ts +1 -1
- package/dist/progress.d.ts +1 -1
- package/dist/resizable.d.ts +12 -0
- package/dist/stats.html +388 -33
- package/dist/tabs.d.ts +12 -0
- package/package.json +20 -18
package/dist/index.d.ts
CHANGED
|
@@ -5,12 +5,6 @@ import { ClassProp } from 'class-variance-authority/types';
|
|
|
5
5
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
6
6
|
import { ColumnDef } from '@tanstack/react-table';
|
|
7
7
|
import { ComponentProps } from 'react';
|
|
8
|
-
import { ConversationActionsProps } from './ConversationActions';
|
|
9
|
-
import { ConversationHeaderProps } from './ConversationHeader';
|
|
10
|
-
import { ConversationInputProps } from './ConversationInput';
|
|
11
|
-
import { ConversationMessagesProps } from './ConversationMessages';
|
|
12
|
-
import { ConversationStatusProps } from './ConversationStatus';
|
|
13
|
-
import { ConversationSuggestionsProps } from './ConversationSuggestions';
|
|
14
8
|
import { CSSProperties } from 'react';
|
|
15
9
|
import { DayPicker } from 'react-day-picker';
|
|
16
10
|
import { default as default_2 } from 'react';
|
|
@@ -29,11 +23,13 @@ import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
|
29
23
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
30
24
|
import * as React_2 from 'react';
|
|
31
25
|
import { ReactNode } from 'react';
|
|
26
|
+
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
32
27
|
import { Row } from '@tanstack/react-table';
|
|
33
28
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
34
29
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
35
30
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
36
31
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
32
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
37
33
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
38
34
|
import { VariantProps } from 'class-variance-authority';
|
|
39
35
|
|
|
@@ -261,23 +257,23 @@ export declare const AlertDescription: React_2.ForwardRefExoticComponent<Omit<Re
|
|
|
261
257
|
export declare const AlertDialog: React_2.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogProps & React_2.RefAttributes<never>>;
|
|
262
258
|
|
|
263
259
|
export declare const AlertDialogAction: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
264
|
-
variant?: "link" | "
|
|
260
|
+
variant?: "link" | "default" | "dark" | "destructive" | "success" | "outline" | "surface" | "secondary" | "suggestion" | "ghost" | null | undefined;
|
|
265
261
|
size?: "default" | "icon" | "xs" | "sm" | "lg" | null | undefined;
|
|
266
262
|
elevation?: "flat" | "shadow" | null | undefined;
|
|
267
263
|
disabled?: boolean | null | undefined;
|
|
268
264
|
} & ClassProp) | undefined) => string> & {
|
|
269
|
-
asChild?: boolean
|
|
265
|
+
asChild?: boolean;
|
|
270
266
|
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
271
267
|
|
|
272
268
|
export declare const AlertDialogCancel: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
273
|
-
variant?: "link" | "
|
|
269
|
+
variant?: "link" | "default" | "dark" | "destructive" | "success" | "outline" | "surface" | "secondary" | "suggestion" | "ghost" | null | undefined;
|
|
274
270
|
size?: "default" | "icon" | "xs" | "sm" | "lg" | null | undefined;
|
|
275
271
|
elevation?: "flat" | "shadow" | null | undefined;
|
|
276
272
|
disabled?: boolean | null | undefined;
|
|
277
273
|
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
278
274
|
|
|
279
275
|
export declare const AlertDialogContent: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
280
|
-
zIndex?: string
|
|
276
|
+
zIndex?: string;
|
|
281
277
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
282
278
|
|
|
283
279
|
export declare const AlertDialogDescription: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -293,7 +289,7 @@ export declare const AlertDialogHeader: {
|
|
|
293
289
|
};
|
|
294
290
|
|
|
295
291
|
export declare const AlertDialogOverlay: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
296
|
-
zIndex?: string
|
|
292
|
+
zIndex?: string;
|
|
297
293
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
298
294
|
|
|
299
295
|
export declare const AlertDialogPortal: React_2.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
@@ -433,7 +429,7 @@ export declare interface BadgeProps extends React_2.HTMLAttributes<HTMLSpanEleme
|
|
|
433
429
|
}
|
|
434
430
|
|
|
435
431
|
export declare const badgeVariants: (props?: ({
|
|
436
|
-
variant?: "
|
|
432
|
+
variant?: "disabled" | "default" | "destructive" | "success" | "warning" | null | undefined;
|
|
437
433
|
} & ClassProp) | undefined) => string;
|
|
438
434
|
|
|
439
435
|
declare type BaseEntity = {
|
|
@@ -631,7 +627,7 @@ export declare interface ButtonProps extends Omit<React_2.ButtonHTMLAttributes<H
|
|
|
631
627
|
}
|
|
632
628
|
|
|
633
629
|
export declare const buttonVariants: (props?: ({
|
|
634
|
-
variant?: "link" | "
|
|
630
|
+
variant?: "link" | "default" | "dark" | "destructive" | "success" | "outline" | "surface" | "secondary" | "suggestion" | "ghost" | null | undefined;
|
|
635
631
|
size?: "default" | "icon" | "xs" | "sm" | "lg" | null | undefined;
|
|
636
632
|
elevation?: "flat" | "shadow" | null | undefined;
|
|
637
633
|
disabled?: boolean | null | undefined;
|
|
@@ -880,19 +876,19 @@ export declare interface ComboboxRenderItemProps<T extends ComboboxItem = Combob
|
|
|
880
876
|
export declare const Command: React_2.ForwardRefExoticComponent<Omit<{
|
|
881
877
|
children?: React_2.ReactNode;
|
|
882
878
|
} & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
883
|
-
ref?: React_2.Ref<HTMLDivElement
|
|
879
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
884
880
|
} & {
|
|
885
|
-
asChild?: boolean
|
|
881
|
+
asChild?: boolean;
|
|
886
882
|
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
887
|
-
label?: string
|
|
888
|
-
shouldFilter?: boolean
|
|
889
|
-
filter?: (
|
|
890
|
-
defaultValue?: string
|
|
891
|
-
value?: string
|
|
892
|
-
onValueChange?: (
|
|
893
|
-
loop?: boolean
|
|
894
|
-
disablePointerSelection?: boolean
|
|
895
|
-
vimBindings?: boolean
|
|
883
|
+
label?: string;
|
|
884
|
+
shouldFilter?: boolean;
|
|
885
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
886
|
+
defaultValue?: string;
|
|
887
|
+
value?: string;
|
|
888
|
+
onValueChange?: (value: string) => void;
|
|
889
|
+
loop?: boolean;
|
|
890
|
+
disablePointerSelection?: boolean;
|
|
891
|
+
vimBindings?: boolean;
|
|
896
892
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
897
893
|
|
|
898
894
|
export declare const CommandDialog: ({ children, ...props }: DialogProps) => React_2.JSX.Element;
|
|
@@ -900,62 +896,62 @@ export declare const CommandDialog: ({ children, ...props }: DialogProps) => Rea
|
|
|
900
896
|
export declare const CommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
|
|
901
897
|
children?: React_2.ReactNode;
|
|
902
898
|
} & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
903
|
-
ref?: React_2.Ref<HTMLDivElement
|
|
899
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
904
900
|
} & {
|
|
905
|
-
asChild?: boolean
|
|
901
|
+
asChild?: boolean;
|
|
906
902
|
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
907
903
|
|
|
908
904
|
export declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
|
|
909
905
|
children?: React_2.ReactNode;
|
|
910
906
|
} & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
911
|
-
ref?: React_2.Ref<HTMLDivElement
|
|
907
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
912
908
|
} & {
|
|
913
|
-
asChild?: boolean
|
|
914
|
-
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild">, "
|
|
909
|
+
asChild?: boolean;
|
|
910
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
915
911
|
heading?: React_2.ReactNode;
|
|
916
|
-
value?: string
|
|
917
|
-
forceMount?: boolean
|
|
912
|
+
value?: string;
|
|
913
|
+
forceMount?: boolean;
|
|
918
914
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
919
915
|
|
|
920
916
|
export declare const CommandInput: React_2.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React_2.InputHTMLAttributes<HTMLInputElement>> & {
|
|
921
|
-
ref?: React_2.Ref<HTMLInputElement
|
|
917
|
+
ref?: React_2.Ref<HTMLInputElement>;
|
|
922
918
|
} & {
|
|
923
|
-
asChild?: boolean
|
|
919
|
+
asChild?: boolean;
|
|
924
920
|
}, "key" | "asChild" | keyof React_2.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
925
|
-
value?: string
|
|
926
|
-
onValueChange?: (
|
|
921
|
+
value?: string;
|
|
922
|
+
onValueChange?: (search: string) => void;
|
|
927
923
|
} & React_2.RefAttributes<HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
928
924
|
|
|
929
925
|
export declare const CommandItem: React_2.ForwardRefExoticComponent<Omit<{
|
|
930
926
|
children?: React_2.ReactNode;
|
|
931
927
|
} & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
932
|
-
ref?: React_2.Ref<HTMLDivElement
|
|
928
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
933
929
|
} & {
|
|
934
|
-
asChild?: boolean
|
|
930
|
+
asChild?: boolean;
|
|
935
931
|
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
936
|
-
disabled?: boolean
|
|
937
|
-
onSelect?: (
|
|
938
|
-
value?: string
|
|
939
|
-
keywords?: string[]
|
|
940
|
-
forceMount?: boolean
|
|
932
|
+
disabled?: boolean;
|
|
933
|
+
onSelect?: (value: string) => void;
|
|
934
|
+
value?: string;
|
|
935
|
+
keywords?: string[];
|
|
936
|
+
forceMount?: boolean;
|
|
941
937
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
942
938
|
|
|
943
939
|
export declare const CommandList: React_2.ForwardRefExoticComponent<Omit<{
|
|
944
940
|
children?: React_2.ReactNode;
|
|
945
941
|
} & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
946
|
-
ref?: React_2.Ref<HTMLDivElement
|
|
942
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
947
943
|
} & {
|
|
948
|
-
asChild?: boolean
|
|
944
|
+
asChild?: boolean;
|
|
949
945
|
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
950
|
-
label?: string
|
|
946
|
+
label?: string;
|
|
951
947
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
952
948
|
|
|
953
949
|
export declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
954
|
-
ref?: React_2.Ref<HTMLDivElement
|
|
950
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
955
951
|
} & {
|
|
956
|
-
asChild?: boolean
|
|
952
|
+
asChild?: boolean;
|
|
957
953
|
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
958
|
-
alwaysRender?: boolean
|
|
954
|
+
alwaysRender?: boolean;
|
|
959
955
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
960
956
|
|
|
961
957
|
export declare const CommandShortcut: {
|
|
@@ -1035,11 +1031,11 @@ export declare type ConversationAction = {
|
|
|
1035
1031
|
};
|
|
1036
1032
|
|
|
1037
1033
|
export declare const ConversationActions: {
|
|
1038
|
-
({ actions, onActionClick, className }:
|
|
1034
|
+
({ actions, onActionClick, className }: ConversationActionsProps): default_2.JSX.Element | null;
|
|
1039
1035
|
displayName: string;
|
|
1040
1036
|
};
|
|
1041
1037
|
|
|
1042
|
-
declare interface
|
|
1038
|
+
declare interface ConversationActionsProps {
|
|
1043
1039
|
actions: ConversationAction[];
|
|
1044
1040
|
onActionClick?: (action: ConversationAction) => void;
|
|
1045
1041
|
className?: string;
|
|
@@ -1071,12 +1067,20 @@ export declare interface ConversationContextValue {
|
|
|
1071
1067
|
reportScrolledFromTop?: (isScrolled: boolean) => void;
|
|
1072
1068
|
}
|
|
1073
1069
|
|
|
1070
|
+
declare interface ConversationHeaderProps {
|
|
1071
|
+
className?: string;
|
|
1072
|
+
children?: default_2.ReactNode;
|
|
1073
|
+
headerTitle?: string;
|
|
1074
|
+
showHistoryButton?: boolean;
|
|
1075
|
+
showBorder?: boolean;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1074
1078
|
export declare const ConversationInput: {
|
|
1075
|
-
({ placeholder, attachments, collections, pages, acceptedFileTypes, disabled, isElevated, className, }:
|
|
1079
|
+
({ placeholder, attachments, collections, pages, acceptedFileTypes, disabled, isElevated, className, }: ConversationInputProps): default_2.JSX.Element;
|
|
1076
1080
|
displayName: string;
|
|
1077
1081
|
};
|
|
1078
1082
|
|
|
1079
|
-
declare interface
|
|
1083
|
+
declare interface ConversationInputProps {
|
|
1080
1084
|
placeholder?: string;
|
|
1081
1085
|
attachments?: Attachment[];
|
|
1082
1086
|
collections?: Collection_2[];
|
|
@@ -1103,11 +1107,11 @@ declare interface ConversationMessageAssistantProps {
|
|
|
1103
1107
|
}
|
|
1104
1108
|
|
|
1105
1109
|
export declare const ConversationMessages: {
|
|
1106
|
-
({ className, bottomPadding, onContentBehind, onScrolledFromTop, }:
|
|
1110
|
+
({ className, bottomPadding, onContentBehind, onScrolledFromTop, }: ConversationMessagesProps): default_2.JSX.Element;
|
|
1107
1111
|
displayName: string;
|
|
1108
1112
|
};
|
|
1109
1113
|
|
|
1110
|
-
declare interface
|
|
1114
|
+
declare interface ConversationMessagesProps {
|
|
1111
1115
|
className?: string;
|
|
1112
1116
|
bottomPadding?: number;
|
|
1113
1117
|
onContentBehind?: (isBehind: boolean) => void;
|
|
@@ -1151,22 +1155,22 @@ declare interface ConversationProviderProps {
|
|
|
1151
1155
|
}
|
|
1152
1156
|
|
|
1153
1157
|
export declare const ConversationStatus: {
|
|
1154
|
-
({ className, children, variant, }:
|
|
1158
|
+
({ className, children, variant, }: ConversationStatusProps): default_2.JSX.Element;
|
|
1155
1159
|
displayName: string;
|
|
1156
1160
|
};
|
|
1157
1161
|
|
|
1158
|
-
declare interface
|
|
1162
|
+
declare interface ConversationStatusProps {
|
|
1159
1163
|
className?: string;
|
|
1160
1164
|
children?: default_2.ReactNode;
|
|
1161
1165
|
variant?: SweepTextVariant;
|
|
1162
1166
|
}
|
|
1163
1167
|
|
|
1164
1168
|
export declare const ConversationSuggestions: {
|
|
1165
|
-
({ items, className }:
|
|
1169
|
+
({ items, className }: ConversationSuggestionsProps): default_2.JSX.Element | null;
|
|
1166
1170
|
displayName: string;
|
|
1167
1171
|
};
|
|
1168
1172
|
|
|
1169
|
-
declare interface
|
|
1173
|
+
declare interface ConversationSuggestionsProps {
|
|
1170
1174
|
items: Suggestion[];
|
|
1171
1175
|
className?: string;
|
|
1172
1176
|
}
|
|
@@ -1227,7 +1231,7 @@ export declare interface DivButtonProps extends React_2.HTMLAttributes<HTMLDivEl
|
|
|
1227
1231
|
}
|
|
1228
1232
|
|
|
1229
1233
|
export declare const divButtonVariants: (props?: ({
|
|
1230
|
-
variant?: "link" | "
|
|
1234
|
+
variant?: "link" | "default" | "dark" | "destructive" | "outline" | "secondary" | "suggestion" | "ghost" | "shadow" | "shadowSurface" | null | undefined;
|
|
1231
1235
|
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
1232
1236
|
} & ClassProp) | undefined) => string;
|
|
1233
1237
|
|
|
@@ -1240,13 +1244,13 @@ export declare const DropdownMenuContent: React_2.ForwardRefExoticComponent<Omit
|
|
|
1240
1244
|
export declare const DropdownMenuGroup: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1241
1245
|
|
|
1242
1246
|
export declare const DropdownMenuItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1243
|
-
inset?: boolean
|
|
1247
|
+
inset?: boolean;
|
|
1244
1248
|
/** Optional second row (e.g. ID + copy); consumer supplies full content as ReactNode. */
|
|
1245
1249
|
secondaryRow?: React_2.ReactNode;
|
|
1246
1250
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
1247
1251
|
|
|
1248
1252
|
export declare const DropdownMenuLabel: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1249
|
-
inset?: boolean
|
|
1253
|
+
inset?: boolean;
|
|
1250
1254
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
1251
1255
|
|
|
1252
1256
|
export declare const DropdownMenuPortal: React_2.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
@@ -1267,7 +1271,7 @@ export declare const DropdownMenuSub: React_2.FC<DropdownMenuPrimitive.DropdownM
|
|
|
1267
1271
|
export declare const DropdownMenuSubContent: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1268
1272
|
|
|
1269
1273
|
export declare const DropdownMenuSubTrigger: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1270
|
-
inset?: boolean
|
|
1274
|
+
inset?: boolean;
|
|
1271
1275
|
/** Optional second row (e.g. ID + copy); consumer supplies full content as ReactNode. */
|
|
1272
1276
|
secondaryRow?: React_2.ReactNode;
|
|
1273
1277
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -1707,7 +1711,7 @@ export declare function ItemSeparator({ className, ...props }: React_2.Component
|
|
|
1707
1711
|
export declare function ItemTitle({ className, ...props }: React_2.ComponentProps<'div'>): React_2.JSX.Element;
|
|
1708
1712
|
|
|
1709
1713
|
declare const itemVariants: (props?: ({
|
|
1710
|
-
variant?: "
|
|
1714
|
+
variant?: "muted" | "default" | "outline" | null | undefined;
|
|
1711
1715
|
size?: "default" | "sm" | null | undefined;
|
|
1712
1716
|
} & ClassProp) | undefined) => string;
|
|
1713
1717
|
|
|
@@ -1915,7 +1919,7 @@ export declare const PopoverContent: React_2.ForwardRefExoticComponent<Omit<Popo
|
|
|
1915
1919
|
* When true (default), content is portaled to document.body.
|
|
1916
1920
|
* Set false to keep the dropdown in the DOM tree (e.g. inside a Dialog).
|
|
1917
1921
|
*/
|
|
1918
|
-
appendToBody?: boolean
|
|
1922
|
+
appendToBody?: boolean;
|
|
1919
1923
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
1920
1924
|
|
|
1921
1925
|
export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1927,7 +1931,7 @@ export declare interface ProcessingStep {
|
|
|
1927
1931
|
}
|
|
1928
1932
|
|
|
1929
1933
|
export declare const Progress: React_2.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1930
|
-
indicatorClassName?: string
|
|
1934
|
+
indicatorClassName?: string;
|
|
1931
1935
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
1932
1936
|
|
|
1933
1937
|
export declare interface Props {
|
|
@@ -1955,6 +1959,14 @@ declare type RedirectRule = {
|
|
|
1955
1959
|
destination: string;
|
|
1956
1960
|
};
|
|
1957
1961
|
|
|
1962
|
+
export declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
|
|
1963
|
+
withHandle?: boolean;
|
|
1964
|
+
}): default_2.JSX.Element;
|
|
1965
|
+
|
|
1966
|
+
export declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): default_2.JSX.Element;
|
|
1967
|
+
|
|
1968
|
+
export declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): default_2.JSX.Element;
|
|
1969
|
+
|
|
1958
1970
|
export declare function ResolvedConversationFooter({ onStartNewConversation, message, }: ResolvedConversationFooterProps): default_2.JSX.Element;
|
|
1959
1971
|
|
|
1960
1972
|
declare type ResolvedConversationFooterProps = {
|
|
@@ -2072,7 +2084,7 @@ declare interface SearchResult {
|
|
|
2072
2084
|
export declare const Select: React_2.FC<SelectPrimitive.SelectProps>;
|
|
2073
2085
|
|
|
2074
2086
|
export declare const SelectContent: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2075
|
-
appendToBody?: boolean
|
|
2087
|
+
appendToBody?: boolean;
|
|
2076
2088
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
2077
2089
|
|
|
2078
2090
|
export declare const SelectGroup: React_2.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -2410,6 +2422,14 @@ export declare const TableHeader: React_2.ForwardRefExoticComponent<React_2.HTML
|
|
|
2410
2422
|
|
|
2411
2423
|
export declare const TableRow: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableRowElement> & React_2.RefAttributes<HTMLTableRowElement>>;
|
|
2412
2424
|
|
|
2425
|
+
export declare const Tabs: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
2426
|
+
|
|
2427
|
+
export declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
2428
|
+
|
|
2429
|
+
export declare const TabsList: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
2430
|
+
|
|
2431
|
+
export declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
2432
|
+
|
|
2413
2433
|
export declare interface Tag {
|
|
2414
2434
|
label: string;
|
|
2415
2435
|
value: string;
|
package/dist/item.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare function ItemSeparator({ className, ...props }: React_2.Component
|
|
|
30
30
|
export declare function ItemTitle({ className, ...props }: React_2.ComponentProps<'div'>): React_2.JSX.Element;
|
|
31
31
|
|
|
32
32
|
declare const itemVariants: (props?: ({
|
|
33
|
-
variant?: "
|
|
33
|
+
variant?: "muted" | "default" | "outline" | null | undefined;
|
|
34
34
|
size?: "default" | "sm" | null | undefined;
|
|
35
35
|
} & ClassProp) | undefined) => string;
|
|
36
36
|
|
package/dist/popover.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare const PopoverContent: React_2.ForwardRefExoticComponent<Omit<Popo
|
|
|
10
10
|
* When true (default), content is portaled to document.body.
|
|
11
11
|
* Set false to keep the dropdown in the DOM tree (e.g. inside a Dialog).
|
|
12
12
|
*/
|
|
13
|
-
appendToBody?: boolean
|
|
13
|
+
appendToBody?: boolean;
|
|
14
14
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
15
15
|
|
|
16
16
|
export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
package/dist/progress.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
|
2
2
|
import * as React_2 from 'react';
|
|
3
3
|
|
|
4
4
|
export declare const Progress: React_2.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
5
|
-
indicatorClassName?: string
|
|
5
|
+
indicatorClassName?: string;
|
|
6
6
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
|
|
8
8
|
export { }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as default_2 } from 'react';
|
|
2
|
+
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
3
|
+
|
|
4
|
+
export declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
|
|
5
|
+
withHandle?: boolean;
|
|
6
|
+
}): default_2.JSX.Element;
|
|
7
|
+
|
|
8
|
+
export declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): default_2.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): default_2.JSX.Element;
|
|
11
|
+
|
|
12
|
+
export { }
|