randmarcomps 1.330.0 → 1.332.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.css +1 -0
- package/dist/randmarcomps.d.ts +28 -0
- package/dist/randmarcomps.js +989 -738
- package/dist/randmarcomps.umd.cjs +187 -154
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@keyframes chat-bubble-in{0%{opacity:0;transform:translate(-20px) scale(.95)}to{opacity:1;transform:translate(0) scale(1)}}.chat-bubble-in-animation{animation:chat-bubble-in .5s ease-out forwards}
|
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -125,6 +125,22 @@ declare interface AssistantChatProps {
|
|
|
125
125
|
initialPrompt?: string;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
/**
|
|
129
|
+
* A reusable component that displays an animated AI icon and thinking text
|
|
130
|
+
* while fetching a text-based insight, then animates the response in.
|
|
131
|
+
* It caches responses and prevents concurrent requests for the same prompt.
|
|
132
|
+
*/
|
|
133
|
+
export declare function AssistantInsight({ prompt, smartAndSlow, thinkingPlaceholderText, }: AssistantInsightProps): JSX.Element;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Props for the AssistantInsight component.
|
|
137
|
+
*/
|
|
138
|
+
declare interface AssistantInsightProps {
|
|
139
|
+
prompt: string;
|
|
140
|
+
smartAndSlow?: boolean;
|
|
141
|
+
thinkingPlaceholderText?: string;
|
|
142
|
+
}
|
|
143
|
+
|
|
128
144
|
export declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
129
145
|
|
|
130
146
|
export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
@@ -396,6 +412,18 @@ export declare function ExploreManufacturers({ appID, manufPath, withBot }: {
|
|
|
396
412
|
withBot: boolean;
|
|
397
413
|
}): JSX.Element;
|
|
398
414
|
|
|
415
|
+
/**
|
|
416
|
+
* A card component to display an external product with a responsive layout.
|
|
417
|
+
* It shows a compact view with badges on mobile and a detailed grid on desktop.
|
|
418
|
+
* Includes a skeleton loader state for asynchronous data fetching.
|
|
419
|
+
*/
|
|
420
|
+
export declare function ExternalProductCard({ product, viewProductLink }: ExternalProductCardProps): JSX.Element;
|
|
421
|
+
|
|
422
|
+
declare interface ExternalProductCardProps {
|
|
423
|
+
product?: Product;
|
|
424
|
+
viewProductLink?: string;
|
|
425
|
+
}
|
|
426
|
+
|
|
399
427
|
/**
|
|
400
428
|
* Formats a number as Canadian dollars (CAD) for an English (Canada) locale.
|
|
401
429
|
*
|