We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0798387 commit 21aeb8fCopy full SHA for 21aeb8f
1 file changed
src/common/Intent/index.ts
@@ -4,8 +4,14 @@ import { CLASSPREFIX as eccgui } from "../../configuration/constants";
4
5
/** @deprecated (v27) use `IntentBlueprint` instead */
6
export const DefinitionsBlueprint = BlueprintIntent;
7
-export const IntentBlueprint = BlueprintIntent;
8
-export type IntentBlueprint = BlueprintIntent;
+export const IntentBlueprint = {
+ 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];
15
16
export type IntentTypes = IntentBlueprint | "neutral" | "accent" | "info";
17
0 commit comments