@bitrise/bitkit 13.172.0 → 13.174.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.172.0",
4
+ "version": "13.174.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -9,6 +9,10 @@ const AccordionTheme: ComponentStyleConfig = {
9
9
  _active: {
10
10
  background: 'background/active',
11
11
  },
12
+ textStyle: 'body/lg/regular',
13
+ _expanded: {
14
+ textStyle: 'body/lg/semibold',
15
+ },
12
16
  alignItems: 'center',
13
17
  display: 'flex',
14
18
  justifyContent: 'space-between',
@@ -25,7 +29,9 @@ const AccordionTheme: ComponentStyleConfig = {
25
29
  borderTopColor: 'border/regular',
26
30
  },
27
31
  panel: {
28
- padding: '16',
32
+ paddingInline: '16',
33
+ paddingTop: '8',
34
+ paddingBottom: '24',
29
35
  },
30
36
  root: {
31
37
  borderBottom: '1px solid',
@@ -21,7 +21,7 @@ const EmptyStateTheme: ComponentStyleConfig = {
21
21
  '+ *': {
22
22
  marginTop: '16',
23
23
  },
24
- marginTop: '8',
24
+ marginTop: '4',
25
25
  maxWidth: maxContentWidth || '35rem',
26
26
  },
27
27
  title: {
@@ -17,11 +17,11 @@ const EmptyState = ({ children, description, iconName, maxContentWidth, title, .
17
17
  return (
18
18
  <Box __css={css.box} {...rest}>
19
19
  {iconName && <Icon aria-label={title} name={iconName} size="32" />}
20
- <Text as="h5" sx={css.title}>
20
+ <Text as="h4" textStyle="heading/h4" sx={css.title}>
21
21
  {title}
22
22
  </Text>
23
23
  {description && (
24
- <Text size="2" sx={css.description}>
24
+ <Text textStyle="body/md/regular" sx={css.description}>
25
25
  {description}
26
26
  </Text>
27
27
  )}
@@ -4,7 +4,7 @@ const FormTheme = {
4
4
  Form: {
5
5
  baseStyle: {
6
6
  helperText: {
7
- color: 'neutral.50',
7
+ color: 'input/text/helper',
8
8
  _disabled: {
9
9
  color: 'text/disabled',
10
10
  },
@@ -81,6 +81,7 @@ const Tabletheme = {
81
81
  paddingX: '16',
82
82
  paddingY: '12',
83
83
  textAlign: 'left',
84
+ textStyle: 'heading/h5',
84
85
  whiteSpace: 'nowrap',
85
86
  },
86
87
  thead: {
@@ -85,11 +85,11 @@ const NotificationCard = ({
85
85
  padding="12"
86
86
  paddingInlineEnd="16"
87
87
  display="flex"
88
- gap="12"
88
+ gap="24"
89
89
  justifyContent="space-between"
90
90
  alignItems="stretch"
91
91
  >
92
- <Box display="flex" flexDir="column" justifyContent="space-around">
92
+ <Box display="flex" flexDir="column" gap="4" justifyContent="space-around">
93
93
  {title && (
94
94
  <Text color={color as TextProps['color']} textStyle="body/lg/semibold">
95
95
  {title}