SSE: Add Classic conditions editor (#32256)

* moving expressions to components

* move expression type change to util

* rename gel to expressions

* add clasic condition component

* fix types

* incremental checkin

* button styling

* add range inputs

* some logic fixes and layout

* fix remove condition

* hide input if has no value

* typing fix
This commit is contained in:
Peter Holmberg
2021-04-09 14:46:24 +02:00
committed by GitHub
parent 13371493ae
commit 31a8413fd3
11 changed files with 528 additions and 196 deletions

View File

@@ -43,7 +43,7 @@ export const ButtonSelect = React.memo(<T,>(props: Props<T>) => {
};
return (
<>
<div className={styles.wrapper}>
<ToolbarButton
className={className}
isOpen={isOpen}
@@ -71,7 +71,7 @@ export const ButtonSelect = React.memo(<T,>(props: Props<T>) => {
</ClickOutsideWrapper>
</div>
)}
</>
</div>
);
});