17
17
18
18
import React , { createRef , useEffect , useRef , useState } from 'react'
19
19
20
- import { ReactComponent as ICArrowDown } from '../../../Assets/Icon/ic-arrow-down.svg'
20
+ import { ReactComponent as ICArrowDown } from '../../../Assets/Icon/ic-sort- arrow-down.svg'
21
21
import { ReactComponent as ICCross } from '../../../Assets/Icon/ic-cross.svg'
22
22
import { ResizableTagTextArea , SortingOrder , useStateFilters } from '../../../Common'
23
23
import { DEFAULT_SECRET_PLACEHOLDER } from '../../constants'
@@ -166,7 +166,7 @@ export const KeyValueTable = <K extends string>({
166
166
}
167
167
168
168
return (
169
- < div className = "dc__border br-4 w-100 bcn-0" >
169
+ < div className = "dc__border br-4 w-100 bcn-0 key-value " >
170
170
< div
171
171
className = { `key-value__row flexbox dc__align-items-center bcn-50 ${ ! isAdditionNotAllowed || updatedRows . length ? 'dc__border-bottom-n1' : '' } ` }
172
172
>
@@ -208,7 +208,7 @@ export const KeyValueTable = <K extends string>({
208
208
>
209
209
< textarea
210
210
ref = { key === firstHeaderKey ? inputRowRef : undefined }
211
- className = "key-value__row-input key-value__row-input--add placeholder-cn5 p-0 lh-20 fs-13 fw-4"
211
+ className = "key-value__row-input key-value__row-input--add placeholder-cn5 p-0 lh-20 fs-13 fw-4 dc__no-border-imp dc__no-border-radius "
212
212
value = ""
213
213
rows = { 1 }
214
214
placeholder = { placeholder [ key ] }
@@ -234,7 +234,7 @@ export const KeyValueTable = <K extends string>({
234
234
< >
235
235
< ResizableTagTextArea
236
236
{ ...row . data [ key ] }
237
- className = "key-value__row-input placeholder-cn5 py-8 px-0"
237
+ className = "key-value__row-input placeholder-cn5 py-8 px-0 dc__no-border-imp dc__no-border-radius "
238
238
minHeight = { 20 }
239
239
maxHeight = { 160 }
240
240
value = { row . data [ key ] . value }
@@ -254,15 +254,15 @@ export const KeyValueTable = <K extends string>({
254
254
disableOnBlurResizeToMinHeight
255
255
/>
256
256
{ row . data [ key ] . required && (
257
- < span className = "cr-5 fs-16 dc__align-self-start px-6" > *</ span >
257
+ < span className = "cr-5 fs-16 dc__align-self-start px-6 py-8 " > *</ span >
258
258
) }
259
259
</ >
260
260
) }
261
261
</ div >
262
262
) ) }
263
263
< button
264
264
type = "button"
265
- className = "dc__unset-button-styles dc__align-self-stretch dc__no-shrink flex py-10 px-8 dc__border-left-n1--important"
265
+ className = "dc__unset-button-styles dc__align-self-stretch dc__no-shrink flex py-10 px-8 dc__border-left-n1--important dc__hover-n50 "
266
266
onClick = { onRowDelete ( row ) }
267
267
>
268
268
< ICCross aria-label = "delete-row" className = "icon-dim-16 fcn-4 dc__align-self-start cursor" />
0 commit comments