diff --git a/frontend/src/Editor/Components/RadioButtonV2/RadioButtonV2.jsx b/frontend/src/Editor/Components/RadioButtonV2/RadioButtonV2.jsx index f1a5d171b4..866565252e 100644 --- a/frontend/src/Editor/Components/RadioButtonV2/RadioButtonV2.jsx +++ b/frontend/src/Editor/Components/RadioButtonV2/RadioButtonV2.jsx @@ -191,7 +191,7 @@ export const RadioButtonV2 = ({ data-cy={`label-${String(componentName).toLowerCase()} `} data-disabled={isDisabled} id={String(componentName)} - className={cx('radio-button,', 'd-flex', { + className={cx('radio-button', 'd-flex', { [alignment === 'top' && ((labelWidth != 0 && label?.length != 0) || (labelAutoWidth && labelWidth == 0 && label && label?.length != 0)) @@ -279,7 +279,7 @@ export const RadioButtonV2 = ({
{ + return ( + + + + ); +}; + +export default Moon; diff --git a/frontend/src/_ui/Icon/solidIcons/index.js b/frontend/src/_ui/Icon/solidIcons/index.js index 5daa4b7c91..2a7b801570 100644 --- a/frontend/src/_ui/Icon/solidIcons/index.js +++ b/frontend/src/_ui/Icon/solidIcons/index.js @@ -234,6 +234,7 @@ import NewTabSmall from './NewTabSmall.jsx'; import Code from './Code.jsx'; import WorkflowV3 from './WorkflowV3.jsx'; import WorkspaceV3 from './WorkspaceV3.jsx'; +import Moon from './Moon.jsx'; const Icon = (props) => { switch (props.name) { @@ -707,6 +708,8 @@ const Icon = (props) => { return ; case 'play01': return ; + case 'moon': + return ; default: return ; } diff --git a/frontend/src/components/ui/Input/EditableTitleInput/Index.jsx b/frontend/src/components/ui/Input/EditableTitleInput/Index.jsx index 62ae962970..0ca218e305 100644 --- a/frontend/src/components/ui/Input/EditableTitleInput/Index.jsx +++ b/frontend/src/components/ui/Input/EditableTitleInput/Index.jsx @@ -4,7 +4,7 @@ import { Input } from '../Input'; import { HelperMessage, ValidationMessage } from '../InputUtils/InputUtils'; import Tooltip from '../../Tooltip/Tooltip'; -const EditableTitleInput = ({ size, disabled, helperText, onChange, ...restProps }) => { +const EditableTitleInput = ({ size, disabled, helperText, onChange: change, readOnly, placeholder, ...restProps }) => { const inputRef = useRef(null); const [tooltipWidth, setTooltipWidth] = useState('auto'); const [isValid, setIsValid] = useState(null); @@ -17,7 +17,7 @@ const EditableTitleInput = ({ size, disabled, helperText, onChange, ...restProps setIsValid(validateObj.valid); setMessage(validateObj.message); } - onChange(e, validateObj); + change(e, validateObj); }; const inputStyle = `tw-border-transparent hover:tw-border-border-default tw-font-medium tw-pl-[12px] tw-pr-[12px] ${ @@ -35,7 +35,14 @@ const EditableTitleInput = ({ size, disabled, helperText, onChange, ...restProps return (
- + Color) - secondary?: Color; + placeholder?: Color; @IsOptional() @ValidateNested() @Type(() => Color) - tertiary?: Color; + disabled?: Color; } class Text { @@ -64,17 +64,17 @@ class BorderRadius { class BorderColors { @ValidateNested() @Type(() => Color) - primary: Color; + default: Color; @IsOptional() @ValidateNested() @Type(() => Color) - secondary?: Color; + weak?: Color; @IsOptional() @ValidateNested() @Type(() => Color) - tertiary?: Color; + disabled?: Color; } class Border { @@ -90,17 +90,17 @@ class Border { class SystemStatusColors { @ValidateNested() @Type(() => Color) - primary: Color; + success: Color; @IsOptional() @ValidateNested() @Type(() => Color) - secondary?: Color; + error?: Color; @IsOptional() @ValidateNested() @Type(() => Color) - tertiary?: Color; + warning?: Color; } class SystemStatus { @@ -121,6 +121,18 @@ class SurfaceColors { @ValidateNested() @Type(() => AppBackgroundColor) appBackground: AppBackgroundColor; + + @ValidateNested() + @Type(() => Color) + surface1: Color; + + @ValidateNested() + @Type(() => Color) + surface2: Color; + + @ValidateNested() + @Type(() => Color) + surface3: Color; } class Surface {