@bitrise/bitkit 13.135.0 → 13.137.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.137.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"@chakra-ui/theme": "^3.3.1",
|
|
34
34
|
"@chakra-ui/theme-tools": "^2.1.2",
|
|
35
35
|
"@chakra-ui/utils": "^2.0.15",
|
|
36
|
-
"@emotion/react": "^11.
|
|
37
|
-
"@emotion/styled": "^11.
|
|
36
|
+
"@emotion/react": "^11.13.0",
|
|
37
|
+
"@emotion/styled": "^11.13.0",
|
|
38
38
|
"@floating-ui/react-dom-interactions": "^0.8.1",
|
|
39
39
|
"@fontsource/figtree": "^5.0.20",
|
|
40
40
|
"@fontsource/source-code-pro": "^5.0.18",
|
|
41
|
-
"framer-motion": "^11.3.
|
|
42
|
-
"luxon": "^3.
|
|
41
|
+
"framer-motion": "^11.3.23",
|
|
42
|
+
"luxon": "^3.5.0",
|
|
43
43
|
"react": "^18.3.1",
|
|
44
44
|
"react-dom": "^18.3.1",
|
|
45
45
|
"react-focus-lock": "^2.12.1",
|
|
@@ -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.
|
|
54
|
+
"@babel/core": "^7.25.2",
|
|
55
|
+
"@babel/preset-env": "^7.25.3",
|
|
56
56
|
"@babel/preset-react": "^7.24.7",
|
|
57
57
|
"@babel/preset-typescript": "^7.24.7",
|
|
58
58
|
"@bitrise/eslint-plugin": "^2.12.0",
|
|
59
59
|
"@chakra-ui/cli": "^2.4.1",
|
|
60
60
|
"@google-cloud/storage": "^7.12.0",
|
|
61
|
-
"@storybook/addon-actions": "^8.2.
|
|
62
|
-
"@storybook/addon-essentials": "^8.2.
|
|
63
|
-
"@storybook/addon-interactions": "^8.2.
|
|
64
|
-
"@storybook/addon-links": "^8.2.
|
|
65
|
-
"@storybook/addon-webpack5-compiler-swc": "^1.0.
|
|
66
|
-
"@storybook/blocks": "^8.2.
|
|
67
|
-
"@storybook/react": "^8.2.
|
|
68
|
-
"@storybook/react-webpack5": "^8.2.
|
|
69
|
-
"@storybook/theming": "^8.2.
|
|
70
|
-
"@testing-library/dom": "^10.
|
|
71
|
-
"@testing-library/jest-dom": "^6.4.
|
|
61
|
+
"@storybook/addon-actions": "^8.2.8",
|
|
62
|
+
"@storybook/addon-essentials": "^8.2.8",
|
|
63
|
+
"@storybook/addon-interactions": "^8.2.8",
|
|
64
|
+
"@storybook/addon-links": "^8.2.8",
|
|
65
|
+
"@storybook/addon-webpack5-compiler-swc": "^1.0.5",
|
|
66
|
+
"@storybook/blocks": "^8.2.8",
|
|
67
|
+
"@storybook/react": "^8.2.8",
|
|
68
|
+
"@storybook/react-webpack5": "^8.2.8",
|
|
69
|
+
"@storybook/theming": "^8.2.8",
|
|
70
|
+
"@testing-library/dom": "^10.4.0",
|
|
71
|
+
"@testing-library/jest-dom": "^6.4.8",
|
|
72
72
|
"@testing-library/react": "^16.0.0",
|
|
73
73
|
"@testing-library/user-event": "^14.5.2",
|
|
74
74
|
"@types/jest": "^29.5.12",
|
|
75
75
|
"@types/luxon": "^3.4.2",
|
|
76
76
|
"@types/react": "^18.3.3",
|
|
77
77
|
"@types/react-dom": "^18.3.0",
|
|
78
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
79
|
-
"@typescript-eslint/parser": "^7.
|
|
80
|
-
"axios": "^1.7.
|
|
78
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
79
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
80
|
+
"axios": "^1.7.3",
|
|
81
81
|
"eslint": "^8.57.0",
|
|
82
82
|
"glob": "^11.0.0",
|
|
83
83
|
"jest": "^29.7.0",
|
|
84
84
|
"jest-environment-jsdom": "^29.7.0",
|
|
85
|
-
"jsdom": "^24.1.
|
|
85
|
+
"jsdom": "^24.1.1",
|
|
86
86
|
"lodash": "^4.17.21",
|
|
87
87
|
"prettier": "^3.3.3",
|
|
88
|
-
"react-hook-form": "^7.52.
|
|
88
|
+
"react-hook-form": "^7.52.2",
|
|
89
89
|
"release-it": "^17.6.0",
|
|
90
|
-
"storybook": "^8.2.
|
|
91
|
-
"ts-jest": "^29.2.
|
|
92
|
-
"typescript": "^5.5.
|
|
90
|
+
"storybook": "^8.2.8",
|
|
91
|
+
"ts-jest": "^29.2.4",
|
|
92
|
+
"typescript": "^5.5.4"
|
|
93
93
|
},
|
|
94
94
|
"files": [
|
|
95
95
|
"src",
|
|
@@ -29,15 +29,17 @@ export type NotificationCardProps = {
|
|
|
29
29
|
status: 'error';
|
|
30
30
|
statusIconName?: Extract<TypeIconName, 'ErrorCircleFilled' | 'CrossCircle'>;
|
|
31
31
|
}
|
|
32
|
-
)
|
|
32
|
+
) &
|
|
33
|
+
CardProps;
|
|
33
34
|
|
|
34
35
|
const NotificationCard = ({
|
|
35
36
|
action,
|
|
36
37
|
details,
|
|
37
38
|
status,
|
|
38
39
|
statusIconName,
|
|
39
|
-
message
|
|
40
|
+
message,
|
|
40
41
|
title,
|
|
42
|
+
...rest
|
|
41
43
|
}: NotificationCardProps) => {
|
|
42
44
|
const [isDetailsOpen, setIsDetailsOpen] = useState(false);
|
|
43
45
|
const { colorScheme, defaultIcon } = NOTIFICATION_STATUSES[status || 'info'];
|
|
@@ -65,6 +67,7 @@ const NotificationCard = ({
|
|
|
65
67
|
flexDirection="row"
|
|
66
68
|
minW="fit-content"
|
|
67
69
|
variant="outline"
|
|
70
|
+
{...rest}
|
|
68
71
|
>
|
|
69
72
|
<Box
|
|
70
73
|
alignItems="stretch"
|
|
@@ -93,7 +96,7 @@ const NotificationCard = ({
|
|
|
93
96
|
</Text>
|
|
94
97
|
)}
|
|
95
98
|
<Box textStyle="body/md/regular" color={title ? '' : (color as TextProps['color'])}>
|
|
96
|
-
<Text>{
|
|
99
|
+
<Text>{message}</Text>
|
|
97
100
|
{details && (
|
|
98
101
|
<>
|
|
99
102
|
<Collapse in={isDetailsOpen}>
|