From 8ccd3574d6d45e4d7f4cc81d938f2ed5f11678eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-L=C3=A9o=20Bourbonnais?= Date: Fri, 12 Apr 2024 15:02:55 -0400 Subject: [PATCH] add more colors to button types the added colors are already present in the css --- packages/evolution-generator/src/types/inputTypes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/evolution-generator/src/types/inputTypes.ts b/packages/evolution-generator/src/types/inputTypes.ts index 5df23ba4..41645cc4 100644 --- a/packages/evolution-generator/src/types/inputTypes.ts +++ b/packages/evolution-generator/src/types/inputTypes.ts @@ -240,7 +240,7 @@ export type InputMultiselect = { /* InputButton widgetConfig Type */ export type InputButtonBase = { type: 'button'; - color: 'green' | 'red'; + color: 'green' | 'red' | 'blue' | 'grey'; hideWhenRefreshing: boolean; icon: any; // icon: IconProp | IconDefinition; @@ -255,7 +255,7 @@ export type InputButton = InputButtonBase & { shortname: string; content: Label; showConfirmButton?: boolean; - cancelButtonColor?: 'blue' | 'green'; + cancelButtonColor?: 'green' | 'red' | 'blue' | 'grey'; cancelButtonLabel?: Label; conditional?: Conditional; };