randmarcomps 1.86.0 → 1.89.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 +41 -0
- package/dist/randmarcomps.js +33929 -16487
- package/dist/randmarcomps.umd.cjs +694 -116
- package/package.json +13 -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;
|
|
@@ -227,6 +244,14 @@ declare interface PartnerCardProps {
|
|
|
227
244
|
loading?: boolean;
|
|
228
245
|
}
|
|
229
246
|
|
|
247
|
+
export declare function Preloader({ text, color, className }: PreloaderProps): JSX.Element;
|
|
248
|
+
|
|
249
|
+
export declare interface PreloaderProps {
|
|
250
|
+
text?: string;
|
|
251
|
+
color?: "white" | "black";
|
|
252
|
+
className?: string;
|
|
253
|
+
}
|
|
254
|
+
|
|
230
255
|
export declare function ProductCard({ item, addToCart, syncToShopify, customAction, defaultOpportunityNumber, viewProductAction, addToCartAction, isAddToCartActionLoading, syncToShopifyAction, isSyncToShopifyActionLoading, }: ProductCardProps): JSX.Element;
|
|
231
256
|
|
|
232
257
|
export declare interface ProductCardProps {
|
|
@@ -261,6 +286,14 @@ declare interface ProductInventoryGridProps {
|
|
|
261
286
|
showBinLocation?: boolean;
|
|
262
287
|
}
|
|
263
288
|
|
|
289
|
+
export declare const ScrollArea: React_2.ForwardRefExoticComponent<ScrollAreaProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
290
|
+
|
|
291
|
+
export declare interface ScrollAreaProps extends React_2.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> {
|
|
292
|
+
orientation?: "vertical" | "horizontal";
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export declare const ScrollBar: React_2.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
296
|
+
|
|
264
297
|
export declare const Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
265
298
|
|
|
266
299
|
export declare const Sheet: React_2.FC<DialogPrimitive.DialogProps>;
|
|
@@ -384,6 +417,14 @@ export declare const SidebarTrigger: React_2.ForwardRefExoticComponent<Omit<Butt
|
|
|
384
417
|
|
|
385
418
|
export declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
386
419
|
|
|
420
|
+
export declare const Tabs: React_2.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
421
|
+
|
|
422
|
+
export declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
423
|
+
|
|
424
|
+
export declare const TabsList: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
425
|
+
|
|
426
|
+
export declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
427
|
+
|
|
387
428
|
export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
388
429
|
variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "warning" | "info" | null | undefined;
|
|
389
430
|
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLLIElement>>;
|