File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @netdata/netdata-ui" ,
3- "version" : " 5.0.65 " ,
3+ "version" : " 5.0.66 " ,
44 "description" : " netdata UI kit" ,
55 "main" : " dist/index.js" ,
66 "module" : " dist/es6/index.js" ,
Original file line number Diff line number Diff line change @@ -36,17 +36,12 @@ export const Checkbox = (
3636 alignItems = "center"
3737 gap = { 1 }
3838 cursor = { disabled ? "auto" : "pointer" }
39- rowReverse = { labelPosition === "right " }
39+ rowReverse = { labelPosition === "left " }
4040 data-testid = "checkbox"
4141 disabled = { disabled }
4242 { ...rest }
4343 onClick = { onClick }
4444 >
45- { label && (
46- < Text as = { Label } opacity = { disabled ? 0.4 : 1 } { ...labelProps } >
47- { label }
48- </ Text >
49- ) }
5045 < Box width = "16px" height = "16px" >
5146 < HiddenCheckboxInput
5247 data-testid = "checkbox-input"
@@ -69,6 +64,11 @@ export const Checkbox = (
6964 ) }
7065 </ StyledCheckbox >
7166 </ Box >
67+ { label && (
68+ < Text as = { Label } opacity = { disabled ? 0.4 : 1 } { ...labelProps } >
69+ { label }
70+ </ Text >
71+ ) }
7272 </ Flex >
7373 )
7474}
You can’t perform that action at this time.
0 commit comments