randmarcomps 1.178.0 → 1.181.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 +17 -0
- package/dist/randmarcomps.js +35917 -35758
- package/dist/randmarcomps.umd.cjs +70 -65
- package/package.json +1 -1
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -129,6 +129,11 @@ export declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLA
|
|
|
129
129
|
|
|
130
130
|
export declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
131
131
|
|
|
132
|
+
declare interface ChatContextType {
|
|
133
|
+
sendMessage: (chatId: number, message: string) => boolean;
|
|
134
|
+
chatRef: default_2.RefObject<ChatLayoutHandle | null>;
|
|
135
|
+
}
|
|
136
|
+
|
|
132
137
|
export declare const ChatLayout: ForwardRefExoticComponent<ChatLayoutProps & RefAttributes<ChatLayoutHandle>>;
|
|
133
138
|
|
|
134
139
|
export declare interface ChatLayoutHandle {
|
|
@@ -142,6 +147,10 @@ export declare interface ChatLayoutProps {
|
|
|
142
147
|
inputRef?: React.RefObject<HTMLTextAreaElement | null>;
|
|
143
148
|
}
|
|
144
149
|
|
|
150
|
+
export declare const ChatProvider: default_2.FC<{
|
|
151
|
+
children: ReactNode;
|
|
152
|
+
}>;
|
|
153
|
+
|
|
145
154
|
export declare const Checkbox: React_2.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
146
155
|
|
|
147
156
|
export declare interface ConfirmationDialogProps {
|
|
@@ -233,6 +242,12 @@ export declare const DropdownMenuSubTrigger: React_2.ForwardRefExoticComponent<O
|
|
|
233
242
|
|
|
234
243
|
export declare const DropdownMenuTrigger: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
235
244
|
|
|
245
|
+
export declare function ExploreManufacturers({ appID, manufPath, withBot }: {
|
|
246
|
+
appID: string;
|
|
247
|
+
manufPath: (id: string) => string | undefined;
|
|
248
|
+
withBot: boolean;
|
|
249
|
+
}): JSX.Element;
|
|
250
|
+
|
|
236
251
|
export declare function GeneralDocumentCard({ document, loading }: GeneralDocumentCardProps): JSX.Element;
|
|
237
252
|
|
|
238
253
|
export declare interface GeneralDocumentCardProps {
|
|
@@ -656,6 +671,8 @@ export declare interface TopbarProps {
|
|
|
656
671
|
|
|
657
672
|
export declare const useApiKey: () => ApiKeyContextType;
|
|
658
673
|
|
|
674
|
+
export declare const useChat: () => ChatContextType;
|
|
675
|
+
|
|
659
676
|
export declare function useIsMobile(): boolean;
|
|
660
677
|
|
|
661
678
|
export declare function useSidebar(): SidebarContext;
|