@nivaro/react 0.1.264 → 0.1.266

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +10 -0
  2. package/dist/index.js +21947 -21765
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -100,6 +100,16 @@ export declare function agingBucket(hours: number | null): string;
100
100
 
101
101
  export declare function AiAnalyticsView(): JSX.Element;
102
102
 
103
+ /**
104
+ * Thumbs up / down on one assistant answer, keyed by the chat request id the
105
+ * API returned. One rating per person per question (a second click replaces
106
+ * it). Renders nothing without a request id or a NivaroProvider.
107
+ */
108
+ export declare function AiFeedbackButtons({ requestId, className }: {
109
+ requestId?: string | null;
110
+ className?: string;
111
+ }): JSX.Element | null;
112
+
103
113
  export declare function AiMarkdown({ content, className, autolink }: {
104
114
  content: string;
105
115
  className?: string;