@@ -14,6 +14,7 @@ import { Controller, useWatch } from 'react-hook-form';
14
14
15
15
import { useDescribeWorkflow } from '@/views/workflow-page/hooks/use-describe-workflow' ;
16
16
17
+ import { overrides } from './workflow-action-reset-form.styles' ;
17
18
import { type Props } from './workflow-action-reset-form.types' ;
18
19
19
20
export default function WorkflowActionResetForm ( {
@@ -82,8 +83,12 @@ export default function WorkflowActionResetForm({
82
83
error = { Boolean ( fieldErrors . resetType ?. message ) }
83
84
align = { ALIGN . horizontal }
84
85
>
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 >
87
92
</ RadioGroup >
88
93
) }
89
94
/>
@@ -106,6 +111,7 @@ export default function WorkflowActionResetForm({
106
111
onBlur = { field . onBlur }
107
112
error = { Boolean ( getErrorMessage ( 'decisionFinishEventId' ) ) }
108
113
type = "number"
114
+ size = "compact"
109
115
placeholder = "Find Event ID"
110
116
/>
111
117
) }
@@ -136,6 +142,7 @@ export default function WorkflowActionResetForm({
136
142
error = { Boolean (
137
143
getErrorMessage ( 'binaryChecksumFirstDecisionCompletedId' )
138
144
) }
145
+ size = "compact"
139
146
placeholder = "Select binary checksum"
140
147
noResultsMsg = {
141
148
isError
@@ -156,6 +163,7 @@ export default function WorkflowActionResetForm({
156
163
render = { ( { field : { value, onChange, ref, ...field } } ) => (
157
164
< Checkbox
158
165
{ ...field }
166
+ overrides = { overrides . checkbox }
159
167
// @ts -expect-error - inputRef expects ref object while ref is a callback. It should support both.
160
168
inputRef = { ref }
161
169
checkmarkType = { CHECKBOX_STYLE_TYPE . toggle_round }
@@ -180,6 +188,7 @@ export default function WorkflowActionResetForm({
180
188
{ ...field }
181
189
// @ts -expect-error - inputRef expects ref object while ref is a callback. It should support both.
182
190
inputRef = { ref }
191
+ size = "compact"
183
192
onChange = { ( e ) => {
184
193
field . onChange ( e . target . value ) ;
185
194
} }
0 commit comments