@@ -14,6 +14,7 @@ import { Controller, useWatch } from 'react-hook-form';
1414
1515import { useDescribeWorkflow } from '@/views/workflow-page/hooks/use-describe-workflow' ;
1616
17+ import { overrides } from './workflow-action-reset-form.styles' ;
1718import { type Props } from './workflow-action-reset-form.types' ;
1819
1920export default function WorkflowActionResetForm ( {
@@ -82,8 +83,12 @@ export default function WorkflowActionResetForm({
8283 error = { Boolean ( fieldErrors . resetType ?. message ) }
8384 align = { ALIGN . horizontal }
8485 >
85- < Radio value = "EventId" > Event ID</ Radio >
86- < Radio value = "BinaryChecksum" > Binary Checksum</ Radio >
86+ < Radio overrides = { overrides . radio } value = "EventId" >
87+ Event ID
88+ </ Radio >
89+ < Radio overrides = { overrides . radio } value = "BinaryChecksum" >
90+ Binary Checksum
91+ </ Radio >
8792 </ RadioGroup >
8893 ) }
8994 />
@@ -106,6 +111,7 @@ export default function WorkflowActionResetForm({
106111 onBlur = { field . onBlur }
107112 error = { Boolean ( getErrorMessage ( 'decisionFinishEventId' ) ) }
108113 type = "number"
114+ size = "compact"
109115 placeholder = "Find Event ID"
110116 />
111117 ) }
@@ -136,6 +142,7 @@ export default function WorkflowActionResetForm({
136142 error = { Boolean (
137143 getErrorMessage ( 'binaryChecksumFirstDecisionCompletedId' )
138144 ) }
145+ size = "compact"
139146 placeholder = "Select binary checksum"
140147 noResultsMsg = {
141148 isError
@@ -156,6 +163,7 @@ export default function WorkflowActionResetForm({
156163 render = { ( { field : { value, onChange, ref, ...field } } ) => (
157164 < Checkbox
158165 { ...field }
166+ overrides = { overrides . checkbox }
159167 // @ts -expect-error - inputRef expects ref object while ref is a callback. It should support both.
160168 inputRef = { ref }
161169 checkmarkType = { CHECKBOX_STYLE_TYPE . toggle_round }
@@ -180,6 +188,7 @@ export default function WorkflowActionResetForm({
180188 { ...field }
181189 // @ts -expect-error - inputRef expects ref object while ref is a callback. It should support both.
182190 inputRef = { ref }
191+ size = "compact"
183192 onChange = { ( e ) => {
184193 field . onChange ( e . target . value ) ;
185194 } }
0 commit comments