sestek-component 0.0.59 → 1.0.1
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 +7356 -9331
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ export declare type AuthButtonProps = {
|
|
|
84
84
|
className?: string;
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
-
export declare const AuthProgress: ({ text, percentage, className, integratedProject }: AuthProgressProps) => JSX.Element;
|
|
87
|
+
export declare const AuthProgress: ({ text, percentage, className, integratedProject, }: AuthProgressProps) => JSX.Element;
|
|
88
88
|
|
|
89
89
|
export declare type AuthProgressProps = {
|
|
90
90
|
text: string;
|
|
@@ -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> {
|
|
@@ -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,15 @@ export declare interface MomentItemType {
|
|
|
379
402
|
showHelperButtons?: boolean;
|
|
380
403
|
onClickAskGenAI?: () => void;
|
|
381
404
|
onClickAskManager?: () => void;
|
|
405
|
+
showFeedbackArea?: boolean;
|
|
406
|
+
isSendFeedback?: boolean;
|
|
407
|
+
feddbackTitle?: string;
|
|
408
|
+
feedbackHelpfullButtonTitle?: string;
|
|
409
|
+
feedbackNotHelpfullButtonTitle?: string;
|
|
410
|
+
feedbackCommentPlaceholder?: string;
|
|
411
|
+
feedbackSubmitText?: string;
|
|
412
|
+
feedbackThankYouMessage?: string;
|
|
413
|
+
onClickSendFeedback?: () => void;
|
|
382
414
|
title?: string;
|
|
383
415
|
icon?: React.ReactNode;
|
|
384
416
|
}
|