formica-ui-lib 1.0.235 → 1.0.236
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/componentProps/molecules/cards/statussummarycard/StatusSummaryCardProps.d.ts +2 -1
- package/dist/componentProps/molecules/statusflowconnector/StatusFlowConnectorProps.d.ts +2 -0
- package/dist/componentProps/organisms/navigation/AdminSideNavProps.d.ts +5 -0
- package/dist/componentProps/organisms/sections/statusflowgroup/StatusFlowGroupProps.d.ts +2 -0
- package/dist/componentProps/organisms/sections/statusflowpanel/StatusFlowPanelProps.d.ts +4 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +450 -362
- package/dist/tailwind.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { FaTypeClass } from "../../../atoms/icon/IconProps";
|
|
2
2
|
export type StatusSummaryCardStatus = "ok" | "warning" | "error" | "info" | "unknown";
|
|
3
3
|
export type StatusSummaryCardLayoutVariant = "default" | "compact";
|
|
4
|
+
export type StatusSummaryCardVariant = "default" | "skeleton";
|
|
4
5
|
export interface StatusSummaryCardClickPayload {
|
|
5
6
|
id?: string;
|
|
6
7
|
title: string;
|
|
@@ -17,7 +18,7 @@ export interface StatusSummaryCardProps {
|
|
|
17
18
|
iconAlt?: string;
|
|
18
19
|
status: StatusSummaryCardStatus;
|
|
19
20
|
statusLabel: string;
|
|
21
|
+
variant?: StatusSummaryCardVariant;
|
|
20
22
|
layoutVariant?: StatusSummaryCardLayoutVariant;
|
|
21
|
-
mediaAssetCount?: number;
|
|
22
23
|
onCardClick?: (payload: StatusSummaryCardClickPayload) => void;
|
|
23
24
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export type StatusFlowConnectorState = "active" | "degraded" | "failed";
|
|
2
2
|
export type StatusFlowConnectorSize = "default" | "compact";
|
|
3
3
|
export type StatusFlowConnectorLineVariant = "solid" | "dotted";
|
|
4
|
+
export type StatusFlowConnectorVariant = "default" | "skeleton";
|
|
4
5
|
export type StatusFlowCheckpointStatus = "ok" | "warning" | "error" | "info" | "unknown";
|
|
5
6
|
export interface StatusFlowConnectorProps {
|
|
7
|
+
variant?: StatusFlowConnectorVariant;
|
|
6
8
|
state?: StatusFlowConnectorState;
|
|
7
9
|
checkpointStatus?: StatusFlowCheckpointStatus;
|
|
8
10
|
checkpointLabel?: string;
|
|
@@ -8,10 +8,15 @@ export interface AdminSideNavItem {
|
|
|
8
8
|
export interface AdminSideNavItemClickPayload {
|
|
9
9
|
item: AdminSideNavItem;
|
|
10
10
|
}
|
|
11
|
+
export interface AdminSideNavLogo {
|
|
12
|
+
imageUrl: string;
|
|
13
|
+
altText: string;
|
|
14
|
+
}
|
|
11
15
|
export interface AdminSideNavProps {
|
|
12
16
|
items: AdminSideNavItem[];
|
|
13
17
|
activeItemId?: string;
|
|
14
18
|
ariaLabel?: string;
|
|
19
|
+
logo?: AdminSideNavLogo;
|
|
15
20
|
menuLabel?: string;
|
|
16
21
|
logoutLabel?: string;
|
|
17
22
|
onMenuClick?: () => void;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import type { FaTypeClass } from "../../../atoms/icon/IconProps";
|
|
3
|
+
export type StatusFlowGroupVariant = "default" | "skeleton";
|
|
3
4
|
export interface StatusFlowGroupProps {
|
|
4
5
|
title: string;
|
|
5
6
|
description?: string;
|
|
6
7
|
iconName: string;
|
|
7
8
|
iconType?: FaTypeClass;
|
|
8
9
|
iconAlt?: string;
|
|
10
|
+
variant?: StatusFlowGroupVariant;
|
|
9
11
|
mediaAssetCount?: number;
|
|
10
12
|
children: ReactNode;
|
|
11
13
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import type { FaTypeClass } from "../../../atoms/icon/IconProps";
|
|
3
|
+
export type StatusFlowPanelState = "idle" | "loading" | "ready" | "error";
|
|
3
4
|
export interface StatusFlowPanelProps {
|
|
4
5
|
title: string;
|
|
5
6
|
description?: string;
|
|
@@ -8,6 +9,9 @@ export interface StatusFlowPanelProps {
|
|
|
8
9
|
iconAlt?: string;
|
|
9
10
|
lastCheckedLabel?: string;
|
|
10
11
|
runSyncLabel?: string;
|
|
12
|
+
state?: StatusFlowPanelState;
|
|
13
|
+
startupMessage?: string;
|
|
14
|
+
errorMessage?: string;
|
|
11
15
|
diagram: ReactNode;
|
|
12
16
|
legend: ReactNode;
|
|
13
17
|
actions: ReactNode;
|