sestek-component 1.0.0 → 1.0.2
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/index.cjs.js +48 -30
- package/dist/index.es.d.ts +34 -2
- package/dist/index.es.js +7049 -9011
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -150,7 +150,7 @@ declare interface ConversationSummaryProps {
|
|
|
150
150
|
summary: string;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
export declare const DefaultMoment: ({ id, title, message, timestamp, icon, askGenAITitle, askManagerTitle, }: DefaultMomentProps) => JSX.Element;
|
|
153
|
+
export declare const DefaultMoment: ({ id, title, message, timestamp, icon, askGenAITitle, askManagerTitle, showFeedbackArea, showThankYou, onClickSendFeedback, feedbackLoading, feddbackTitle, feedbackHelpfullButtonTitle, feedbackNotHelpfullButtonTitle, feedbackCommentPlaceholder, feedbackSubmitText, feedbackThankYouMessage, }: DefaultMomentProps) => JSX.Element;
|
|
154
154
|
|
|
155
155
|
export declare interface DefaultMomentProps {
|
|
156
156
|
id: string;
|
|
@@ -160,6 +160,16 @@ export declare interface DefaultMomentProps {
|
|
|
160
160
|
icon?: React.ReactNode;
|
|
161
161
|
askGenAITitle?: string;
|
|
162
162
|
askManagerTitle?: string;
|
|
163
|
+
showFeedbackArea?: boolean;
|
|
164
|
+
onClickSendFeedback?: (selectedFeedback: number | null, comment: string) => void;
|
|
165
|
+
showThankYou?: boolean;
|
|
166
|
+
feedbackLoading?: boolean;
|
|
167
|
+
feddbackTitle?: string;
|
|
168
|
+
feedbackHelpfullButtonTitle?: string;
|
|
169
|
+
feedbackNotHelpfullButtonTitle?: string;
|
|
170
|
+
feedbackCommentPlaceholder?: string;
|
|
171
|
+
feedbackSubmitText?: string;
|
|
172
|
+
feedbackThankYouMessage?: string;
|
|
163
173
|
}
|
|
164
174
|
|
|
165
175
|
export declare const GenAISupportMoment: ({ id, title, message, timestamp, askGenAITitle, askManagerTitle, }: GenAISupportMomentProps) => JSX.Element;
|
|
@@ -247,6 +257,9 @@ declare const icons: {
|
|
|
247
257
|
Available: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
248
258
|
Refresh: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
249
259
|
About: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
260
|
+
MsgEdit: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
261
|
+
LikeHand: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
262
|
+
DisLikeHand: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
250
263
|
};
|
|
251
264
|
|
|
252
265
|
declare interface IIcon extends SVGProps<SVGSVGElement> {
|
|
@@ -349,7 +362,7 @@ export declare interface ModalProps {
|
|
|
349
362
|
closeOnOutsideClick?: boolean;
|
|
350
363
|
}
|
|
351
364
|
|
|
352
|
-
export declare const Moment: ({ items, isDefaultOpen, isStandalone, resizableContent, title, }: MomentProps) => JSX.Element;
|
|
365
|
+
export declare const Moment: ({ items, isDefaultOpen, isStandalone, resizableContent, title, feddbackTitle, feedbackHelpfullButtonTitle, feedbackNotHelpfullButtonTitle, feedbackCommentPlaceholder, feedbackSubmitText, feedbackThankYouMessage, }: MomentProps) => JSX.Element;
|
|
353
366
|
|
|
354
367
|
export declare const MomentItem: ForwardRefExoticComponent<MomentItemProps & RefAttributes<HTMLDivElement>>;
|
|
355
368
|
|
|
@@ -367,6 +380,16 @@ export declare interface MomentItemProps {
|
|
|
367
380
|
className?: string;
|
|
368
381
|
askGenAITitle?: string;
|
|
369
382
|
askManagerTitle?: string;
|
|
383
|
+
showFeedbackArea?: boolean;
|
|
384
|
+
showThankYou?: boolean;
|
|
385
|
+
feedbackLoading?: boolean;
|
|
386
|
+
onClickSendFeedback?: (selectedFeedback: number | null, comment: string) => void;
|
|
387
|
+
feddbackTitle?: string;
|
|
388
|
+
feedbackHelpfullButtonTitle?: string;
|
|
389
|
+
feedbackNotHelpfullButtonTitle?: string;
|
|
390
|
+
feedbackCommentPlaceholder?: string;
|
|
391
|
+
feedbackSubmitText?: string;
|
|
392
|
+
feedbackThankYouMessage?: string;
|
|
370
393
|
}
|
|
371
394
|
|
|
372
395
|
export declare interface MomentItemType {
|
|
@@ -379,6 +402,9 @@ export declare interface MomentItemType {
|
|
|
379
402
|
showHelperButtons?: boolean;
|
|
380
403
|
onClickAskGenAI?: () => void;
|
|
381
404
|
onClickAskManager?: () => void;
|
|
405
|
+
showFeedbackArea?: boolean;
|
|
406
|
+
isSendFeedback?: boolean;
|
|
407
|
+
onClickSendFeedback?: () => void;
|
|
382
408
|
title?: string;
|
|
383
409
|
icon?: React.ReactNode;
|
|
384
410
|
}
|
|
@@ -389,6 +415,12 @@ export declare interface MomentProps {
|
|
|
389
415
|
isStandalone?: boolean;
|
|
390
416
|
resizableContent?: React.ReactNode;
|
|
391
417
|
title?: string;
|
|
418
|
+
feddbackTitle?: string;
|
|
419
|
+
feedbackHelpfullButtonTitle?: string;
|
|
420
|
+
feedbackNotHelpfullButtonTitle?: string;
|
|
421
|
+
feedbackCommentPlaceholder?: string;
|
|
422
|
+
feedbackSubmitText?: string;
|
|
423
|
+
feedbackThankYouMessage?: string;
|
|
392
424
|
}
|
|
393
425
|
|
|
394
426
|
declare type MomentType = "task-done" | "good-job" | "legal-thread" | "unhappy-customer" | "genai-support" | "default";
|