randmarcomps 1.87.0 → 1.90.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 +40 -1
- package/dist/randmarcomps.js +15784 -4492
- package/dist/randmarcomps.umd.cjs +403 -93
- package/package.json +12 -3
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
1
2
|
import { ButtonProps as ButtonProps_2 } from './button';
|
|
2
3
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
4
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
@@ -14,8 +15,10 @@ import { OTPInput } from 'input-otp';
|
|
|
14
15
|
import * as React_2 from 'react';
|
|
15
16
|
import { ReactNode } from 'react';
|
|
16
17
|
import { RefAttributes } from 'react';
|
|
18
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
17
19
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
18
20
|
import { SeparatorProps } from '@radix-ui/react-separator';
|
|
21
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
19
22
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
20
23
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
21
24
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -31,6 +34,10 @@ export declare interface AreaChartProps {
|
|
|
31
34
|
className?: string;
|
|
32
35
|
}
|
|
33
36
|
|
|
37
|
+
export declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
38
|
+
|
|
39
|
+
export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
40
|
+
|
|
34
41
|
export declare function AvatarFooter({ onClick, publicName, applicationName, partnerId }: AvatarFooterProps): JSX.Element;
|
|
35
42
|
|
|
36
43
|
export declare interface AvatarFooterProps {
|
|
@@ -40,6 +47,8 @@ export declare interface AvatarFooterProps {
|
|
|
40
47
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
41
48
|
}
|
|
42
49
|
|
|
50
|
+
export declare const AvatarImage: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React_2.RefAttributes<HTMLImageElement>, "ref"> & React_2.RefAttributes<HTMLImageElement>>;
|
|
51
|
+
|
|
43
52
|
export declare const Badge: React_2.ForwardRefExoticComponent<BadgeProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
44
53
|
|
|
45
54
|
export declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
@@ -75,6 +84,14 @@ export declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLA
|
|
|
75
84
|
|
|
76
85
|
export declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
77
86
|
|
|
87
|
+
export declare function ChatLayout({ userId, userName, apiKey }: ChatLayoutProps): JSX.Element;
|
|
88
|
+
|
|
89
|
+
export declare interface ChatLayoutProps {
|
|
90
|
+
userId: string;
|
|
91
|
+
userName: string;
|
|
92
|
+
apiKey: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
78
95
|
export declare interface ConfirmationDialogProps {
|
|
79
96
|
title: string;
|
|
80
97
|
content: React_2.ReactNode;
|
|
@@ -194,16 +211,22 @@ declare interface LayoutProps {
|
|
|
194
211
|
dashboardTitle?: string;
|
|
195
212
|
onSignOut?: () => void;
|
|
196
213
|
searchPlaceholder?: string;
|
|
214
|
+
withRandmarAssistant?: boolean;
|
|
215
|
+
chatUserName?: string;
|
|
216
|
+
chatApiKey?: string;
|
|
197
217
|
}
|
|
198
218
|
|
|
199
219
|
declare type MaskType = "phone" | "postal-code-ca" | "zip-code-us";
|
|
200
220
|
|
|
201
|
-
export declare function Navbar({ routes, footer, dashboardTitle }: NavbarProps): JSX.Element;
|
|
221
|
+
export declare function Navbar({ routes, footer, dashboardTitle, withRandmarAssistant, chatUserName, chatApiKey }: NavbarProps): JSX.Element;
|
|
202
222
|
|
|
203
223
|
declare interface NavbarProps {
|
|
204
224
|
routes: NavRoute[];
|
|
205
225
|
dashboardTitle?: string;
|
|
206
226
|
footer: React.ReactNode;
|
|
227
|
+
withRandmarAssistant?: boolean;
|
|
228
|
+
chatUserName?: string;
|
|
229
|
+
chatApiKey?: string;
|
|
207
230
|
}
|
|
208
231
|
|
|
209
232
|
export declare interface NavRoute {
|
|
@@ -269,6 +292,14 @@ declare interface ProductInventoryGridProps {
|
|
|
269
292
|
showBinLocation?: boolean;
|
|
270
293
|
}
|
|
271
294
|
|
|
295
|
+
export declare const ScrollArea: React_2.ForwardRefExoticComponent<ScrollAreaProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
296
|
+
|
|
297
|
+
export declare interface ScrollAreaProps extends React_2.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> {
|
|
298
|
+
orientation?: "vertical" | "horizontal";
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export declare const ScrollBar: React_2.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
302
|
+
|
|
272
303
|
export declare const Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
273
304
|
|
|
274
305
|
export declare const Sheet: React_2.FC<DialogPrimitive.DialogProps>;
|
|
@@ -392,6 +423,14 @@ export declare const SidebarTrigger: React_2.ForwardRefExoticComponent<Omit<Butt
|
|
|
392
423
|
|
|
393
424
|
export declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
394
425
|
|
|
426
|
+
export declare const Tabs: React_2.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
427
|
+
|
|
428
|
+
export declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
429
|
+
|
|
430
|
+
export declare const TabsList: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
431
|
+
|
|
432
|
+
export declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
433
|
+
|
|
395
434
|
export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
396
435
|
variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "warning" | "info" | null | undefined;
|
|
397
436
|
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLLIElement>>;
|