@bitrise/bitkit 13.136.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.136.0",
4
+ "version": "13.137.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -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: description,
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>{description}</Text>
99
+ <Text>{message}</Text>
97
100
  {details && (
98
101
  <>
99
102
  <Collapse in={isDetailsOpen}>