@bitrise/bitkit 13.215.0 → 13.216.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.215.0",
4
+ "version": "13.216.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -58,7 +58,7 @@ const Tabletheme = {
58
58
  },
59
59
  },
60
60
  borderCollapse: 'separate',
61
- borderColor: 'pal.neutral.93',
61
+ borderColor: 'border/minimal',
62
62
  borderRadius: '4',
63
63
  borderSpacing: 0,
64
64
  borderStyle: 'solid',
@@ -103,10 +103,46 @@ const Tabletheme = {
103
103
  border: 'none',
104
104
  },
105
105
  td: {
106
- paddingX: '12',
106
+ _first: {
107
+ paddingLeft: '12',
108
+ },
109
+ _last: {
110
+ paddingRight: '12',
111
+ },
112
+ borderColor: 'border/regular',
107
113
  },
108
114
  th: {
109
- paddingX: '12',
115
+ _first: {
116
+ paddingLeft: '12',
117
+ },
118
+ _last: {
119
+ paddingRight: '12',
120
+ },
121
+ borderColor: 'border/regular',
122
+ },
123
+ thead: {
124
+ backgroundColor: 'transparent',
125
+ },
126
+ },
127
+ card: {
128
+ table: {
129
+ border: 'none',
130
+ },
131
+ td: {
132
+ _first: {
133
+ paddingLeft: '24',
134
+ },
135
+ _last: {
136
+ paddingRight: '24',
137
+ },
138
+ },
139
+ th: {
140
+ _first: {
141
+ paddingLeft: '24',
142
+ },
143
+ _last: {
144
+ paddingRight: '24',
145
+ },
110
146
  },
111
147
  thead: {
112
148
  backgroundColor: 'transparent',
@@ -3,7 +3,7 @@ import { forwardRef, Table as ChakraTable, TableProps as ChakraTableProps } from
3
3
  export interface TableProps extends ChakraTableProps {
4
4
  disableRowHover?: boolean;
5
5
  isFixed?: boolean;
6
- variant?: 'borderless' | 'default';
6
+ variant?: 'borderless' | 'default' | 'card';
7
7
  }
8
8
 
9
9
  /**