@bitrise/bitkit 13.122.0 → 13.123.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.122.0",
4
+ "version": "13.123.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -40,7 +40,13 @@ const NotificationCard = ({ action, status, message: description, title }: Notif
40
40
  }
41
41
 
42
42
  return (
43
- <Card borderColor={borderColor as BoxProps['borderColor']} display="flex" flexDirection="row" variant="outline">
43
+ <Card
44
+ borderColor={borderColor as BoxProps['borderColor']}
45
+ display="flex"
46
+ flexDirection="row"
47
+ minW="fit-content"
48
+ variant="outline"
49
+ >
44
50
  <Box
45
51
  alignItems="stretch"
46
52
  borderLeftRadius={borderRadius as CardProps['borderRadius']}
@@ -59,17 +65,19 @@ const NotificationCard = ({ action, status, message: description, title }: Notif
59
65
  display="flex"
60
66
  gap="12"
61
67
  justifyContent="space-between"
62
- alignItems="center"
68
+ alignItems="stretch"
63
69
  >
64
- <Box display="flex" flexDir="column">
65
- <Text color={color as TextProps['color']} textStyle="body/lg/semibold">
66
- {title}
67
- </Text>
70
+ <Box display="flex" flexDir="column" justifyContent="space-around">
71
+ {title && (
72
+ <Text color={color as TextProps['color']} textStyle="body/lg/semibold">
73
+ {title}
74
+ </Text>
75
+ )}
68
76
  <Text textStyle="body/md/regular" color={title ? '' : (color as TextProps['color'])}>
69
77
  {description}
70
78
  </Text>
71
79
  </Box>
72
- {actionButton}
80
+ {actionButton && <Box paddingBlock="4">{actionButton}</Box>}
73
81
  </Box>
74
82
  </Card>
75
83
  );