@bitrise/bitkit 13.243.0 → 13.244.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ export interface CheckableRowProps extends RowProps {
|
|
|
10
10
|
isDisabled?: boolean;
|
|
11
11
|
label: ReactNode;
|
|
12
12
|
name: string;
|
|
13
|
-
tooltipProps?: Omit<TooltipProps, 'children'>;
|
|
13
|
+
tooltipProps?: Omit<TooltipProps, 'children' | 'shouldWrapChildren'>;
|
|
14
14
|
value: string;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -18,34 +18,34 @@ const CheckableRow = (props: CheckableRowProps) => {
|
|
|
18
18
|
const { children, id, isDisabled, label, name, tooltipProps, value, ...rest } = props;
|
|
19
19
|
|
|
20
20
|
return (
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
<
|
|
21
|
+
<Tooltip isDisabled={!tooltipProps} placement="right" {...tooltipProps}>
|
|
22
|
+
<LinkBox
|
|
23
|
+
_hover={{
|
|
24
|
+
':has(input:checked)': {
|
|
25
|
+
td: { background: 'purple.93' },
|
|
26
|
+
},
|
|
27
|
+
td: { background: 'neutral.95' },
|
|
28
|
+
}}
|
|
29
|
+
as={Tr}
|
|
30
|
+
sx={{
|
|
31
|
+
':has(input:checked)': {
|
|
32
|
+
td: { background: 'purple.95' },
|
|
33
|
+
},
|
|
34
|
+
}}
|
|
35
|
+
transform="scale(1)"
|
|
36
|
+
{...rest}
|
|
37
|
+
>
|
|
38
|
+
<Td>
|
|
39
39
|
<Checkbox id={id} isDisabled={isDisabled} name={name} value={value} zIndex="1" />
|
|
40
|
-
</
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
</
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</
|
|
40
|
+
</Td>
|
|
41
|
+
<Td>
|
|
42
|
+
<LinkOverlay as="label" cursor={isDisabled ? 'not-allowed' : 'pointer'} htmlFor={id}>
|
|
43
|
+
{label}
|
|
44
|
+
</LinkOverlay>
|
|
45
|
+
</Td>
|
|
46
|
+
{children}
|
|
47
|
+
</LinkBox>
|
|
48
|
+
</Tooltip>
|
|
49
49
|
);
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -9,7 +9,7 @@ export interface SelectableRowProps extends RowProps {
|
|
|
9
9
|
id: string;
|
|
10
10
|
isDisabled?: boolean;
|
|
11
11
|
label: ReactNode;
|
|
12
|
-
tooltipProps?: Omit<TooltipProps, 'children'>;
|
|
12
|
+
tooltipProps?: Omit<TooltipProps, 'children' | 'shouldWrapChildren'>;
|
|
13
13
|
value: string;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -17,34 +17,34 @@ const SelectableRow = (props: SelectableRowProps) => {
|
|
|
17
17
|
const { children, id, isDisabled, label, tooltipProps, value, ...rest } = props;
|
|
18
18
|
|
|
19
19
|
return (
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
<
|
|
20
|
+
<Tooltip isDisabled={!tooltipProps} placement="right" {...tooltipProps}>
|
|
21
|
+
<LinkBox
|
|
22
|
+
_hover={{
|
|
23
|
+
':has(input:checked)': {
|
|
24
|
+
td: { background: 'purple.93' },
|
|
25
|
+
},
|
|
26
|
+
td: { background: 'neutral.95' },
|
|
27
|
+
}}
|
|
28
|
+
as={Tr}
|
|
29
|
+
sx={{
|
|
30
|
+
':has(input:checked)': {
|
|
31
|
+
td: { background: 'purple.95' },
|
|
32
|
+
},
|
|
33
|
+
}}
|
|
34
|
+
transform="scale(1)"
|
|
35
|
+
{...rest}
|
|
36
|
+
>
|
|
37
|
+
<Td>
|
|
38
38
|
<Radio id={id} isDisabled={isDisabled} value={value} zIndex="1" />
|
|
39
|
-
</
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</
|
|
39
|
+
</Td>
|
|
40
|
+
<Td>
|
|
41
|
+
<LinkOverlay as="label" cursor={isDisabled ? 'not-allowed' : 'pointer'} htmlFor={id}>
|
|
42
|
+
{label}
|
|
43
|
+
</LinkOverlay>
|
|
44
|
+
</Td>
|
|
45
|
+
{children}
|
|
46
|
+
</LinkBox>
|
|
47
|
+
</Tooltip>
|
|
48
48
|
);
|
|
49
49
|
};
|
|
50
50
|
|