@risalabs_frontend_org/oasis-ui-kit 0.85.0 → 0.88.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.
|
@@ -3,7 +3,7 @@ import "./criterion-card.scss";
|
|
|
3
3
|
export type CriterionStatus = "met" | "not-met";
|
|
4
4
|
export type ConfidenceColor = "low" | "medium" | "high" | "neutral";
|
|
5
5
|
export interface CriterionCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
6
|
-
variant?: "default";
|
|
6
|
+
variant?: "default" | "root";
|
|
7
7
|
id?: string;
|
|
8
8
|
className?: string;
|
|
9
9
|
text: string;
|
|
@@ -36,6 +36,6 @@ export interface CriterionCardProps extends Omit<React.HTMLAttributes<HTMLDivEle
|
|
|
36
36
|
thumbsUpDisabled?: boolean;
|
|
37
37
|
thumbsDownDisabled?: boolean;
|
|
38
38
|
}
|
|
39
|
-
declare const CriterionCard: ({ variant
|
|
39
|
+
declare const CriterionCard: ({ variant, id, className, text, status, textClassName, textStyle, contentClassName, contentStyle, children, statusBadge, documentIcon, thumbsUpIcon, thumbsDownIcon, thumbsDownIconFilled, showDocumentCount, documentCount, documentLabel, onDocumentClick, documentCountAriaLabel, showConfidence, confidence, confidenceLabel, confidenceColor: confidenceColorProp, showAiFeedback, aiFeedbackLabel, onThumbsUp, onThumbsDown, thumbsUpActive, thumbsDownActive, thumbsUpDisabled, thumbsDownDisabled, ...rest }: CriterionCardProps) => React.JSX.Element;
|
|
40
40
|
export { CriterionCard };
|
|
41
41
|
export default CriterionCard;
|