@brainfish-ai/components 0.34.4 → 0.34.5
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/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/generating-star.d.ts +1 -1
- package/dist/index.d.ts +68 -66
- package/dist/item.d.ts +1 -1
- package/dist/popover.d.ts +1 -1
- package/dist/progress.d.ts +1 -1
- package/dist/stats.html +388 -33
- package/package.json +18 -18
|
@@ -8,7 +8,7 @@ export declare interface GeneratingStarProps extends default_2.HTMLAttributes<SV
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export declare const generatingStarVariants: (props?: ({
|
|
11
|
-
variant?: "
|
|
11
|
+
variant?: "disabled" | "default" | "gradient" | null | undefined;
|
|
12
12
|
loading?: boolean | null | undefined;
|
|
13
13
|
} & ClassProp) | undefined) => string;
|
|
14
14
|
|
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';
|
|
@@ -261,23 +255,23 @@ export declare const AlertDescription: React_2.ForwardRefExoticComponent<Omit<Re
|
|
|
261
255
|
export declare const AlertDialog: React_2.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogProps & React_2.RefAttributes<never>>;
|
|
262
256
|
|
|
263
257
|
export declare const AlertDialogAction: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
264
|
-
variant?: "link" | "
|
|
258
|
+
variant?: "link" | "default" | "dark" | "destructive" | "success" | "outline" | "surface" | "secondary" | "suggestion" | "ghost" | null | undefined;
|
|
265
259
|
size?: "default" | "icon" | "xs" | "sm" | "lg" | null | undefined;
|
|
266
260
|
elevation?: "flat" | "shadow" | null | undefined;
|
|
267
261
|
disabled?: boolean | null | undefined;
|
|
268
262
|
} & ClassProp) | undefined) => string> & {
|
|
269
|
-
asChild?: boolean
|
|
263
|
+
asChild?: boolean;
|
|
270
264
|
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
271
265
|
|
|
272
266
|
export declare const AlertDialogCancel: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
273
|
-
variant?: "link" | "
|
|
267
|
+
variant?: "link" | "default" | "dark" | "destructive" | "success" | "outline" | "surface" | "secondary" | "suggestion" | "ghost" | null | undefined;
|
|
274
268
|
size?: "default" | "icon" | "xs" | "sm" | "lg" | null | undefined;
|
|
275
269
|
elevation?: "flat" | "shadow" | null | undefined;
|
|
276
270
|
disabled?: boolean | null | undefined;
|
|
277
271
|
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
278
272
|
|
|
279
273
|
export declare const AlertDialogContent: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
280
|
-
zIndex?: string
|
|
274
|
+
zIndex?: string;
|
|
281
275
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
282
276
|
|
|
283
277
|
export declare const AlertDialogDescription: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -293,7 +287,7 @@ export declare const AlertDialogHeader: {
|
|
|
293
287
|
};
|
|
294
288
|
|
|
295
289
|
export declare const AlertDialogOverlay: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
296
|
-
zIndex?: string
|
|
290
|
+
zIndex?: string;
|
|
297
291
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
298
292
|
|
|
299
293
|
export declare const AlertDialogPortal: React_2.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
@@ -433,7 +427,7 @@ export declare interface BadgeProps extends React_2.HTMLAttributes<HTMLSpanEleme
|
|
|
433
427
|
}
|
|
434
428
|
|
|
435
429
|
export declare const badgeVariants: (props?: ({
|
|
436
|
-
variant?: "
|
|
430
|
+
variant?: "disabled" | "default" | "destructive" | "success" | "warning" | null | undefined;
|
|
437
431
|
} & ClassProp) | undefined) => string;
|
|
438
432
|
|
|
439
433
|
declare type BaseEntity = {
|
|
@@ -631,7 +625,7 @@ export declare interface ButtonProps extends Omit<React_2.ButtonHTMLAttributes<H
|
|
|
631
625
|
}
|
|
632
626
|
|
|
633
627
|
export declare const buttonVariants: (props?: ({
|
|
634
|
-
variant?: "link" | "
|
|
628
|
+
variant?: "link" | "default" | "dark" | "destructive" | "success" | "outline" | "surface" | "secondary" | "suggestion" | "ghost" | null | undefined;
|
|
635
629
|
size?: "default" | "icon" | "xs" | "sm" | "lg" | null | undefined;
|
|
636
630
|
elevation?: "flat" | "shadow" | null | undefined;
|
|
637
631
|
disabled?: boolean | null | undefined;
|
|
@@ -880,19 +874,19 @@ export declare interface ComboboxRenderItemProps<T extends ComboboxItem = Combob
|
|
|
880
874
|
export declare const Command: React_2.ForwardRefExoticComponent<Omit<{
|
|
881
875
|
children?: React_2.ReactNode;
|
|
882
876
|
} & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
883
|
-
ref?: React_2.Ref<HTMLDivElement
|
|
877
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
884
878
|
} & {
|
|
885
|
-
asChild?: boolean
|
|
879
|
+
asChild?: boolean;
|
|
886
880
|
}, "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
|
|
881
|
+
label?: string;
|
|
882
|
+
shouldFilter?: boolean;
|
|
883
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
884
|
+
defaultValue?: string;
|
|
885
|
+
value?: string;
|
|
886
|
+
onValueChange?: (value: string) => void;
|
|
887
|
+
loop?: boolean;
|
|
888
|
+
disablePointerSelection?: boolean;
|
|
889
|
+
vimBindings?: boolean;
|
|
896
890
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
897
891
|
|
|
898
892
|
export declare const CommandDialog: ({ children, ...props }: DialogProps) => React_2.JSX.Element;
|
|
@@ -900,62 +894,62 @@ export declare const CommandDialog: ({ children, ...props }: DialogProps) => Rea
|
|
|
900
894
|
export declare const CommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
|
|
901
895
|
children?: React_2.ReactNode;
|
|
902
896
|
} & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
903
|
-
ref?: React_2.Ref<HTMLDivElement
|
|
897
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
904
898
|
} & {
|
|
905
|
-
asChild?: boolean
|
|
899
|
+
asChild?: boolean;
|
|
906
900
|
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
907
901
|
|
|
908
902
|
export declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
|
|
909
903
|
children?: React_2.ReactNode;
|
|
910
904
|
} & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
911
|
-
ref?: React_2.Ref<HTMLDivElement
|
|
905
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
912
906
|
} & {
|
|
913
|
-
asChild?: boolean
|
|
914
|
-
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild">, "
|
|
907
|
+
asChild?: boolean;
|
|
908
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
915
909
|
heading?: React_2.ReactNode;
|
|
916
|
-
value?: string
|
|
917
|
-
forceMount?: boolean
|
|
910
|
+
value?: string;
|
|
911
|
+
forceMount?: boolean;
|
|
918
912
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
919
913
|
|
|
920
914
|
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
|
|
915
|
+
ref?: React_2.Ref<HTMLInputElement>;
|
|
922
916
|
} & {
|
|
923
|
-
asChild?: boolean
|
|
917
|
+
asChild?: boolean;
|
|
924
918
|
}, "key" | "asChild" | keyof React_2.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
925
|
-
value?: string
|
|
926
|
-
onValueChange?: (
|
|
919
|
+
value?: string;
|
|
920
|
+
onValueChange?: (search: string) => void;
|
|
927
921
|
} & React_2.RefAttributes<HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
928
922
|
|
|
929
923
|
export declare const CommandItem: React_2.ForwardRefExoticComponent<Omit<{
|
|
930
924
|
children?: React_2.ReactNode;
|
|
931
925
|
} & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
932
|
-
ref?: React_2.Ref<HTMLDivElement
|
|
926
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
933
927
|
} & {
|
|
934
|
-
asChild?: boolean
|
|
928
|
+
asChild?: boolean;
|
|
935
929
|
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
936
|
-
disabled?: boolean
|
|
937
|
-
onSelect?: (
|
|
938
|
-
value?: string
|
|
939
|
-
keywords?: string[]
|
|
940
|
-
forceMount?: boolean
|
|
930
|
+
disabled?: boolean;
|
|
931
|
+
onSelect?: (value: string) => void;
|
|
932
|
+
value?: string;
|
|
933
|
+
keywords?: string[];
|
|
934
|
+
forceMount?: boolean;
|
|
941
935
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
942
936
|
|
|
943
937
|
export declare const CommandList: React_2.ForwardRefExoticComponent<Omit<{
|
|
944
938
|
children?: React_2.ReactNode;
|
|
945
939
|
} & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
946
|
-
ref?: React_2.Ref<HTMLDivElement
|
|
940
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
947
941
|
} & {
|
|
948
|
-
asChild?: boolean
|
|
942
|
+
asChild?: boolean;
|
|
949
943
|
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
950
|
-
label?: string
|
|
944
|
+
label?: string;
|
|
951
945
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
952
946
|
|
|
953
947
|
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
|
|
948
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
955
949
|
} & {
|
|
956
|
-
asChild?: boolean
|
|
950
|
+
asChild?: boolean;
|
|
957
951
|
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
958
|
-
alwaysRender?: boolean
|
|
952
|
+
alwaysRender?: boolean;
|
|
959
953
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
960
954
|
|
|
961
955
|
export declare const CommandShortcut: {
|
|
@@ -1035,11 +1029,11 @@ export declare type ConversationAction = {
|
|
|
1035
1029
|
};
|
|
1036
1030
|
|
|
1037
1031
|
export declare const ConversationActions: {
|
|
1038
|
-
({ actions, onActionClick, className }:
|
|
1032
|
+
({ actions, onActionClick, className }: ConversationActionsProps): default_2.JSX.Element | null;
|
|
1039
1033
|
displayName: string;
|
|
1040
1034
|
};
|
|
1041
1035
|
|
|
1042
|
-
declare interface
|
|
1036
|
+
declare interface ConversationActionsProps {
|
|
1043
1037
|
actions: ConversationAction[];
|
|
1044
1038
|
onActionClick?: (action: ConversationAction) => void;
|
|
1045
1039
|
className?: string;
|
|
@@ -1071,12 +1065,20 @@ export declare interface ConversationContextValue {
|
|
|
1071
1065
|
reportScrolledFromTop?: (isScrolled: boolean) => void;
|
|
1072
1066
|
}
|
|
1073
1067
|
|
|
1068
|
+
declare interface ConversationHeaderProps {
|
|
1069
|
+
className?: string;
|
|
1070
|
+
children?: default_2.ReactNode;
|
|
1071
|
+
headerTitle?: string;
|
|
1072
|
+
showHistoryButton?: boolean;
|
|
1073
|
+
showBorder?: boolean;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1074
1076
|
export declare const ConversationInput: {
|
|
1075
|
-
({ placeholder, attachments, collections, pages, acceptedFileTypes, disabled, isElevated, className, }:
|
|
1077
|
+
({ placeholder, attachments, collections, pages, acceptedFileTypes, disabled, isElevated, className, }: ConversationInputProps): default_2.JSX.Element;
|
|
1076
1078
|
displayName: string;
|
|
1077
1079
|
};
|
|
1078
1080
|
|
|
1079
|
-
declare interface
|
|
1081
|
+
declare interface ConversationInputProps {
|
|
1080
1082
|
placeholder?: string;
|
|
1081
1083
|
attachments?: Attachment[];
|
|
1082
1084
|
collections?: Collection_2[];
|
|
@@ -1103,11 +1105,11 @@ declare interface ConversationMessageAssistantProps {
|
|
|
1103
1105
|
}
|
|
1104
1106
|
|
|
1105
1107
|
export declare const ConversationMessages: {
|
|
1106
|
-
({ className, bottomPadding, onContentBehind, onScrolledFromTop, }:
|
|
1108
|
+
({ className, bottomPadding, onContentBehind, onScrolledFromTop, }: ConversationMessagesProps): default_2.JSX.Element;
|
|
1107
1109
|
displayName: string;
|
|
1108
1110
|
};
|
|
1109
1111
|
|
|
1110
|
-
declare interface
|
|
1112
|
+
declare interface ConversationMessagesProps {
|
|
1111
1113
|
className?: string;
|
|
1112
1114
|
bottomPadding?: number;
|
|
1113
1115
|
onContentBehind?: (isBehind: boolean) => void;
|
|
@@ -1151,22 +1153,22 @@ declare interface ConversationProviderProps {
|
|
|
1151
1153
|
}
|
|
1152
1154
|
|
|
1153
1155
|
export declare const ConversationStatus: {
|
|
1154
|
-
({ className, children, variant, }:
|
|
1156
|
+
({ className, children, variant, }: ConversationStatusProps): default_2.JSX.Element;
|
|
1155
1157
|
displayName: string;
|
|
1156
1158
|
};
|
|
1157
1159
|
|
|
1158
|
-
declare interface
|
|
1160
|
+
declare interface ConversationStatusProps {
|
|
1159
1161
|
className?: string;
|
|
1160
1162
|
children?: default_2.ReactNode;
|
|
1161
1163
|
variant?: SweepTextVariant;
|
|
1162
1164
|
}
|
|
1163
1165
|
|
|
1164
1166
|
export declare const ConversationSuggestions: {
|
|
1165
|
-
({ items, className }:
|
|
1167
|
+
({ items, className }: ConversationSuggestionsProps): default_2.JSX.Element | null;
|
|
1166
1168
|
displayName: string;
|
|
1167
1169
|
};
|
|
1168
1170
|
|
|
1169
|
-
declare interface
|
|
1171
|
+
declare interface ConversationSuggestionsProps {
|
|
1170
1172
|
items: Suggestion[];
|
|
1171
1173
|
className?: string;
|
|
1172
1174
|
}
|
|
@@ -1227,7 +1229,7 @@ export declare interface DivButtonProps extends React_2.HTMLAttributes<HTMLDivEl
|
|
|
1227
1229
|
}
|
|
1228
1230
|
|
|
1229
1231
|
export declare const divButtonVariants: (props?: ({
|
|
1230
|
-
variant?: "link" | "
|
|
1232
|
+
variant?: "link" | "default" | "dark" | "destructive" | "outline" | "secondary" | "suggestion" | "ghost" | "shadow" | "shadowSurface" | null | undefined;
|
|
1231
1233
|
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
1232
1234
|
} & ClassProp) | undefined) => string;
|
|
1233
1235
|
|
|
@@ -1240,13 +1242,13 @@ export declare const DropdownMenuContent: React_2.ForwardRefExoticComponent<Omit
|
|
|
1240
1242
|
export declare const DropdownMenuGroup: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1241
1243
|
|
|
1242
1244
|
export declare const DropdownMenuItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1243
|
-
inset?: boolean
|
|
1245
|
+
inset?: boolean;
|
|
1244
1246
|
/** Optional second row (e.g. ID + copy); consumer supplies full content as ReactNode. */
|
|
1245
1247
|
secondaryRow?: React_2.ReactNode;
|
|
1246
1248
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
1247
1249
|
|
|
1248
1250
|
export declare const DropdownMenuLabel: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1249
|
-
inset?: boolean
|
|
1251
|
+
inset?: boolean;
|
|
1250
1252
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
1251
1253
|
|
|
1252
1254
|
export declare const DropdownMenuPortal: React_2.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
@@ -1267,7 +1269,7 @@ export declare const DropdownMenuSub: React_2.FC<DropdownMenuPrimitive.DropdownM
|
|
|
1267
1269
|
export declare const DropdownMenuSubContent: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1268
1270
|
|
|
1269
1271
|
export declare const DropdownMenuSubTrigger: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1270
|
-
inset?: boolean
|
|
1272
|
+
inset?: boolean;
|
|
1271
1273
|
/** Optional second row (e.g. ID + copy); consumer supplies full content as ReactNode. */
|
|
1272
1274
|
secondaryRow?: React_2.ReactNode;
|
|
1273
1275
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -1707,7 +1709,7 @@ export declare function ItemSeparator({ className, ...props }: React_2.Component
|
|
|
1707
1709
|
export declare function ItemTitle({ className, ...props }: React_2.ComponentProps<'div'>): React_2.JSX.Element;
|
|
1708
1710
|
|
|
1709
1711
|
declare const itemVariants: (props?: ({
|
|
1710
|
-
variant?: "
|
|
1712
|
+
variant?: "muted" | "default" | "outline" | null | undefined;
|
|
1711
1713
|
size?: "default" | "sm" | null | undefined;
|
|
1712
1714
|
} & ClassProp) | undefined) => string;
|
|
1713
1715
|
|
|
@@ -1915,7 +1917,7 @@ export declare const PopoverContent: React_2.ForwardRefExoticComponent<Omit<Popo
|
|
|
1915
1917
|
* When true (default), content is portaled to document.body.
|
|
1916
1918
|
* Set false to keep the dropdown in the DOM tree (e.g. inside a Dialog).
|
|
1917
1919
|
*/
|
|
1918
|
-
appendToBody?: boolean
|
|
1920
|
+
appendToBody?: boolean;
|
|
1919
1921
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
1920
1922
|
|
|
1921
1923
|
export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1927,7 +1929,7 @@ export declare interface ProcessingStep {
|
|
|
1927
1929
|
}
|
|
1928
1930
|
|
|
1929
1931
|
export declare const Progress: React_2.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1930
|
-
indicatorClassName?: string
|
|
1932
|
+
indicatorClassName?: string;
|
|
1931
1933
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
1932
1934
|
|
|
1933
1935
|
export declare interface Props {
|
|
@@ -2072,7 +2074,7 @@ declare interface SearchResult {
|
|
|
2072
2074
|
export declare const Select: React_2.FC<SelectPrimitive.SelectProps>;
|
|
2073
2075
|
|
|
2074
2076
|
export declare const SelectContent: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2075
|
-
appendToBody?: boolean
|
|
2077
|
+
appendToBody?: boolean;
|
|
2076
2078
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
2077
2079
|
|
|
2078
2080
|
export declare const SelectGroup: React_2.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
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 { }
|