Skip to content

Commit 21aeb8f

Browse files
committed
remove primary intent option for testing reasons
1 parent 0798387 commit 21aeb8f

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/common/Intent/index.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ import { CLASSPREFIX as eccgui } from "../../configuration/constants";
44

55
/** @deprecated (v27) use `IntentBlueprint` instead */
66
export const DefinitionsBlueprint = BlueprintIntent;
7-
export const IntentBlueprint = BlueprintIntent;
8-
export type IntentBlueprint = BlueprintIntent;
7+
export const IntentBlueprint = {
8+
NONE: "none" as const,
9+
//PRIMARY: "primary" as const,
10+
SUCCESS: "success" as const,
11+
WARNING: "warning" as const,
12+
DANGER: "danger" as const,
13+
};
14+
export type IntentBlueprint = (typeof IntentBlueprint)[keyof typeof IntentBlueprint];
915

1016
export type IntentTypes = IntentBlueprint | "neutral" | "accent" | "info";
1117

0 commit comments

Comments
 (0)