randmarcomps 1.90.0 → 1.91.0
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/randmarcomps.d.ts +8 -4
- package/dist/randmarcomps.js +2468 -2434
- package/dist/randmarcomps.umd.cjs +53 -53
- package/package.json +1 -1
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
2
2
|
import { ButtonProps as ButtonProps_2 } from './button';
|
|
3
3
|
import { ClassProp } from 'class-variance-authority/types';
|
|
4
|
+
import { default as default_2 } from 'react';
|
|
4
5
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
5
6
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
6
7
|
import { FC } from 'react';
|
|
@@ -84,12 +85,13 @@ export declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLA
|
|
|
84
85
|
|
|
85
86
|
export declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
86
87
|
|
|
87
|
-
export declare function ChatLayout({ userId, userName, apiKey }: ChatLayoutProps): JSX.Element;
|
|
88
|
+
export declare function ChatLayout({ userId, userName, apiKey, inputRef: externalInputRef }: ChatLayoutProps): JSX.Element;
|
|
88
89
|
|
|
89
90
|
export declare interface ChatLayoutProps {
|
|
90
91
|
userId: string;
|
|
91
92
|
userName: string;
|
|
92
93
|
apiKey: string;
|
|
94
|
+
inputRef?: React.RefObject<HTMLInputElement | null>;
|
|
93
95
|
}
|
|
94
96
|
|
|
95
97
|
export declare interface ConfirmationDialogProps {
|
|
@@ -118,7 +120,9 @@ export declare const Dialog: {
|
|
|
118
120
|
|
|
119
121
|
export declare const DialogClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
120
122
|
|
|
121
|
-
export declare const DialogContent: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> &
|
|
123
|
+
export declare const DialogContent: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
124
|
+
animateExit?: boolean;
|
|
125
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
122
126
|
|
|
123
127
|
export declare const DialogDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
124
128
|
|
|
@@ -223,7 +227,7 @@ export declare function Navbar({ routes, footer, dashboardTitle, withRandmarAssi
|
|
|
223
227
|
declare interface NavbarProps {
|
|
224
228
|
routes: NavRoute[];
|
|
225
229
|
dashboardTitle?: string;
|
|
226
|
-
footer:
|
|
230
|
+
footer: default_2.ReactNode;
|
|
227
231
|
withRandmarAssistant?: boolean;
|
|
228
232
|
chatUserName?: string;
|
|
229
233
|
chatApiKey?: string;
|
|
@@ -233,7 +237,7 @@ export declare interface NavRoute {
|
|
|
233
237
|
key: string;
|
|
234
238
|
path: string;
|
|
235
239
|
label?: string;
|
|
236
|
-
icon?:
|
|
240
|
+
icon?: default_2.ComponentType<default_2.SVGProps<SVGSVGElement>>;
|
|
237
241
|
showInNav?: boolean;
|
|
238
242
|
}
|
|
239
243
|
|