formica-ui-lib 1.0.239 → 1.0.240

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.
@@ -0,0 +1,15 @@
1
+ export interface DataHealthSummaryCardLinkClickPayload {
2
+ label: string;
3
+ }
4
+ export type DataHealthSummaryCardStatus = "good" | "warning" | "critical";
5
+ export interface DataHealthSummaryCardProps {
6
+ title: string;
7
+ score: number;
8
+ scoreLabel: string;
9
+ status?: DataHealthSummaryCardStatus;
10
+ summary: string;
11
+ detail?: string;
12
+ linkLabel?: string;
13
+ ariaLabel?: string;
14
+ onLinkClick?: (payload: DataHealthSummaryCardLinkClickPayload) => void;
15
+ }
@@ -0,0 +1,27 @@
1
+ export type DataIssueActionCardStatus = "safe" | "warning" | "error" | "review" | "resolved";
2
+ export type DataIssueActionCardConfidenceTone = "success" | "warning" | "error" | "neutral";
3
+ export type DataIssueActionCardActionVariant = "solid" | "outline";
4
+ export interface DataIssueActionCardActionPayload {
5
+ issueId: string;
6
+ }
7
+ export interface DataIssueActionCardProps {
8
+ id: string;
9
+ title: string;
10
+ groupCountLabel: string;
11
+ description: string;
12
+ status: DataIssueActionCardStatus;
13
+ recommendedActionTitle?: string;
14
+ recommendedActions: string[];
15
+ confidenceLabel?: string;
16
+ confidenceTone?: DataIssueActionCardConfidenceTone;
17
+ estimatedRuntimeLabel?: string;
18
+ primaryActionLabel?: string;
19
+ primaryActionIconName?: string;
20
+ primaryActionVariant?: DataIssueActionCardActionVariant;
21
+ secondaryActionLabel?: string;
22
+ secondaryActionIconName?: string;
23
+ ariaLabel?: string;
24
+ onPrimaryActionClick?: (payload: DataIssueActionCardActionPayload) => void;
25
+ onSecondaryActionClick?: (payload: DataIssueActionCardActionPayload) => void;
26
+ onExpandClick?: (payload: DataIssueActionCardActionPayload) => void;
27
+ }
@@ -0,0 +1,11 @@
1
+ import type { FaTypeClass } from "../../../atoms/icon/IconProps";
2
+ export interface DataIssueMetricCardProps {
3
+ value: string;
4
+ label: string;
5
+ detail?: string;
6
+ iconName: string;
7
+ iconType?: FaTypeClass;
8
+ iconAlt?: string;
9
+ tone?: "primary" | "blue" | "purple" | "green" | "red" | "gray";
10
+ ariaLabel?: string;
11
+ }
@@ -0,0 +1,15 @@
1
+ export type IssueTypeBreakdownItemTone = "green" | "yellow" | "orange" | "red" | "purple" | "gray" | "blue";
2
+ export interface IssueTypeBreakdownItem {
3
+ id: string;
4
+ label: string;
5
+ groupCount: string;
6
+ recordCount: string;
7
+ tone: IssueTypeBreakdownItemTone;
8
+ }
9
+ export interface IssueTypeBreakdownCardProps {
10
+ title: string;
11
+ groupColumnLabel?: string;
12
+ recordColumnLabel?: string;
13
+ items: IssueTypeBreakdownItem[];
14
+ ariaLabel?: string;
15
+ }
@@ -0,0 +1,12 @@
1
+ export interface RecommendedNextStepCardActionPayload {
2
+ actionId: "primary" | "secondary";
3
+ }
4
+ export interface RecommendedNextStepCardProps {
5
+ title: string;
6
+ description: string;
7
+ primaryActionLabel?: string;
8
+ secondaryActionLabel?: string;
9
+ ariaLabel?: string;
10
+ onPrimaryActionClick?: (payload: RecommendedNextStepCardActionPayload) => void;
11
+ onSecondaryActionClick?: (payload: RecommendedNextStepCardActionPayload) => void;
12
+ }
@@ -3,11 +3,9 @@ export interface StatusFlowActionCardProps {
3
3
  totalCheckpointCount: number;
4
4
  summary: string;
5
5
  detail?: string;
6
- runSyncLabel?: string;
7
- syncForwardLabel?: string;
8
- detailsLabel?: string;
6
+ syncLabel?: string;
7
+ refreshLabel?: string;
9
8
  ariaLabel?: string;
10
- onRunSyncCheck?: () => void;
11
- onSyncForwardClick?: () => void;
12
- onViewDetailsClick?: () => void;
9
+ onSyncClick?: () => void;
10
+ onRefreshClick?: () => void;
13
11
  }
@@ -1,5 +1,6 @@
1
1
  import type { ReactNode } from "react";
2
2
  import type { FaTypeClass } from "../../../atoms/icon/IconProps";
3
+ import type { StatusFlowActionCardProps } from "../../../molecules/cards/statusflowactioncard/StatusFlowActionCardProps";
3
4
  export type StatusFlowPanelState = "idle" | "loading" | "ready" | "error";
4
5
  export interface StatusFlowPanelProps {
5
6
  title: string;
@@ -13,5 +14,6 @@ export interface StatusFlowPanelProps {
13
14
  errorMessage?: string;
14
15
  diagram: ReactNode;
15
16
  legend: ReactNode;
16
- actions: ReactNode;
17
+ actionCardProps?: StatusFlowActionCardProps;
18
+ actions?: ReactNode;
17
19
  }