File tree Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -243,9 +243,13 @@ export const TableExpandedCellStyled = styled.td<{
243
243
244
244
export const TableEmptyExpandedContentRow = styled . div < { styles ?: TableRowStylesTypes } > `
245
245
width: ${ ( { styles } ) =>
246
- `calc(${ styles ?. accordionIcon ?. width } + (${ styles ?. accordionIconContainer ?. padding_left ?? '0%' } + ${ styles ?. accordionIconContainer ?. padding_right ?? '0%' } ))` } ;
246
+ `calc(${ styles ?. accordionIcon ?. width } + (${
247
+ styles ?. accordionIconContainer ?. padding_left ?? '0%'
248
+ } + ${ styles ?. accordionIconContainer ?. padding_right ?? '0%' } ))`} ;
247
249
height: ${ ( { styles } ) =>
248
- `calc(${ styles ?. accordionIcon ?. height } + (${ styles ?. accordionIconContainer ?. padding_top ?? '0%' } + ${ styles ?. accordionIconContainer ?. padding_bottom ?? '0%' } ))` } ;
250
+ `calc(${ styles ?. accordionIcon ?. height } + (${
251
+ styles ?. accordionIconContainer ?. padding_top ?? '0%'
252
+ } + ${ styles ?. accordionIconContainer ?. padding_bottom ?? '0%' } ))`} ;
249
253
` ;
250
254
251
255
export const TableExpandedButton = styled . button < { styles ?: TableRowStylesTypes } > `
Original file line number Diff line number Diff line change @@ -35,17 +35,17 @@ const ToggleThreePositionComponent = (
35
35
position === POSITIONS . CENTER
36
36
? inputValues . centerInputValue
37
37
: position === POSITIONS . RIGHT
38
- ? inputValues . rightInputValue ?? props . onIcon ?. altText
39
- : inputValues . leftInputValue ?? props . offIcon ?. altText ;
38
+ ? inputValues . rightInputValue ?? props . onIcon ?. altText
39
+ : inputValues . leftInputValue ?? props . offIcon ?. altText ;
40
40
41
41
const buildTextOrIcon = ( position : POSITIONS ) => {
42
42
return (
43
43
< >
44
44
{ position === POSITIONS . CENTER
45
45
? inputValues . centerInputValue
46
46
: position === POSITIONS . RIGHT
47
- ? props . onText ?. content
48
- : props . offText ?. content }
47
+ ? props . onText ?. content
48
+ : props . offText ?. content }
49
49
</ >
50
50
) ;
51
51
} ;
Original file line number Diff line number Diff line change @@ -148,9 +148,9 @@ export const useTooltip = <V>({
148
148
top : arrowY !== null ? `${ arrowY } px` : '' ,
149
149
right : '' ,
150
150
bottom : '' ,
151
- [ staticSide as string ] : `calc(${ styles . tooltipExternalContainer ?. [ DeviceBreakpointsType . DESKTOP ] ?. padding ?? 0 } - ${
152
- styles . arrowContainer ?. arrow_position ?? '0px'
153
- } / 2)`,
151
+ [ staticSide as string ] : `calc(${
152
+ styles . tooltipExternalContainer ?. [ DeviceBreakpointsType . DESKTOP ] ?. padding ?? 0
153
+ } - ${ styles . arrowContainer ?. arrow_position ?? '0px' } / 2)`,
154
154
} ;
155
155
156
156
if ( arrowElement && ( arrowElement as HTMLElement ) . style ) {
Original file line number Diff line number Diff line change
1
+ // eslint-disable-next-line node/no-extraneous-import
1
2
import ungapStructuredClone from '@ungap/structured-clone' ;
2
3
3
4
let structuredClone ;
You can’t perform that action at this time.
0 commit comments