@bitrise/bitkit 13.243.0 → 13.245.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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitrise/bitkit",
|
|
3
3
|
"description": "Bitrise React component library",
|
|
4
|
-
"version": "13.
|
|
4
|
+
"version": "13.245.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"@emotion/react": "^11.14.0",
|
|
37
37
|
"@emotion/styled": "^11.14.0",
|
|
38
38
|
"@floating-ui/react-dom-interactions": "^0.8.1",
|
|
39
|
-
"@fontsource/figtree": "^5.2.
|
|
39
|
+
"@fontsource/figtree": "^5.2.8",
|
|
40
40
|
"@fontsource/source-code-pro": "^5.2.5",
|
|
41
41
|
"framer-motion": "^12.5.0",
|
|
42
|
-
"luxon": "^3.
|
|
42
|
+
"luxon": "^3.6.1",
|
|
43
43
|
"react": "^18.3.1",
|
|
44
44
|
"react-dom": "^18.3.1",
|
|
45
45
|
"react-focus-lock": "2.13.6",
|
|
@@ -51,45 +51,45 @@
|
|
|
51
51
|
"react-dom": "^18.2.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@babel/core": "^7.
|
|
55
|
-
"@babel/preset-env": "^7.
|
|
56
|
-
"@babel/preset-react": "^7.
|
|
57
|
-
"@babel/preset-typescript": "^7.
|
|
54
|
+
"@babel/core": "^7.27.1",
|
|
55
|
+
"@babel/preset-env": "^7.27.2",
|
|
56
|
+
"@babel/preset-react": "^7.27.1",
|
|
57
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
58
58
|
"@bitrise/eslint-plugin": "^2.12.0",
|
|
59
59
|
"@chakra-ui/cli": "^2.5.8",
|
|
60
|
-
"@google-cloud/storage": "^7.
|
|
61
|
-
"@storybook/addon-actions": "^8.6.
|
|
62
|
-
"@storybook/addon-essentials": "^8.6.
|
|
63
|
-
"@storybook/addon-interactions": "^8.6.
|
|
64
|
-
"@storybook/addon-links": "^8.6.
|
|
65
|
-
"@storybook/addon-webpack5-compiler-swc": "^
|
|
66
|
-
"@storybook/blocks": "^8.6.
|
|
67
|
-
"@storybook/react": "^8.6.
|
|
68
|
-
"@storybook/react-webpack5": "^8.6.
|
|
69
|
-
"@storybook/theming": "^8.6.
|
|
60
|
+
"@google-cloud/storage": "^7.16.0",
|
|
61
|
+
"@storybook/addon-actions": "^8.6.14",
|
|
62
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
63
|
+
"@storybook/addon-interactions": "^8.6.14",
|
|
64
|
+
"@storybook/addon-links": "^8.6.14",
|
|
65
|
+
"@storybook/addon-webpack5-compiler-swc": "^3.0.0",
|
|
66
|
+
"@storybook/blocks": "^8.6.14",
|
|
67
|
+
"@storybook/react": "^8.6.14",
|
|
68
|
+
"@storybook/react-webpack5": "^8.6.14",
|
|
69
|
+
"@storybook/theming": "^8.6.14",
|
|
70
70
|
"@testing-library/dom": "^10.4.0",
|
|
71
71
|
"@testing-library/jest-dom": "6.6.3",
|
|
72
|
-
"@testing-library/react": "16.
|
|
72
|
+
"@testing-library/react": "16.3.0",
|
|
73
73
|
"@testing-library/user-event": "^14.6.1",
|
|
74
74
|
"@types/jest": "^29.5.14",
|
|
75
|
-
"@types/luxon": "^3.
|
|
75
|
+
"@types/luxon": "^3.6.2",
|
|
76
76
|
"@types/react": "^18.3.18",
|
|
77
77
|
"@types/react-dom": "^18.3.5",
|
|
78
78
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
79
79
|
"@typescript-eslint/parser": "^7.18.0",
|
|
80
|
-
"axios": "^1.
|
|
80
|
+
"axios": "^1.9.0",
|
|
81
81
|
"eslint": "^8.57.1",
|
|
82
|
-
"glob": "^11.0.
|
|
82
|
+
"glob": "^11.0.2",
|
|
83
83
|
"jest": "^29.7.0",
|
|
84
84
|
"jest-environment-jsdom": "^29.7.0",
|
|
85
|
-
"jsdom": "
|
|
85
|
+
"jsdom": "26.1.0",
|
|
86
86
|
"lodash": "^4.17.21",
|
|
87
87
|
"prettier": "^3.5.3",
|
|
88
|
-
"react-hook-form": "^7.
|
|
89
|
-
"release-it": "^
|
|
90
|
-
"storybook": "^8.6.
|
|
91
|
-
"ts-jest": "^29.
|
|
92
|
-
"typescript": "^5.8.
|
|
88
|
+
"react-hook-form": "^7.56.4",
|
|
89
|
+
"release-it": "^19.0.2",
|
|
90
|
+
"storybook": "^8.6.14",
|
|
91
|
+
"ts-jest": "^29.3.4",
|
|
92
|
+
"typescript": "^5.8.3"
|
|
93
93
|
},
|
|
94
94
|
"files": [
|
|
95
95
|
"src",
|
|
@@ -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
|
|