randmarcomps 1.331.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 +16 -0
- package/dist/randmarcomps.js +2096 -1962
- package/dist/randmarcomps.umd.cjs +112 -84
- 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>>;
|