This repository was archived by the owner on Mar 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
packages/core/src/SimpleTable Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ exports[`SimpleTable SimpleTable 1`] = `
7878 width : 100 % ;
7979 height : 56px ;
8080 text - align : left ;
81- - webkit - transition : all 200ms ;
82- transition : all 200ms ;
81+ - webkit - transition : box - shadow 200ms ;
82+ transition : box - shadow 200ms ;
8383 cursor : pointer ;
8484}
8585
@@ -105,8 +105,8 @@ exports[`SimpleTable SimpleTable 1`] = `
105105 width : 100 % ;
106106 height : 56px ;
107107 text - align : left ;
108- - webkit - transition : all 200ms ;
109- transition : all 200ms ;
108+ - webkit - transition : box - shadow 200ms ;
109+ transition : box - shadow 200ms ;
110110 opacity : 0.48 ;
111111 pointer - events : none ;
112112 cursor : unset ;
Original file line number Diff line number Diff line change @@ -96,9 +96,6 @@ const SimpleTableHeader: React.FC<SimpleTableHeaderProps> = ({
9696 * SimpleTableRow
9797 *
9898 * A single row in the table used to group cells.
99- * Note that there is no div associated with this,
100- * it is just a convenience component to pass proper
101- * keys to the grid cells.
10299 */
103100
104101const TableRow = styled . tr < {
@@ -115,7 +112,7 @@ const TableRow = styled.tr<{
115112
116113 text-align: left;
117114
118- transition: all 200ms;
115+ transition: box-shadow 200ms;
119116
120117 &:nth-child(odd) {
121118 background-color: ${ ( { theme } ) => theme . color . background03 ( ) } ;
@@ -246,7 +243,6 @@ interface SimpleTableProps extends BaseProps {
246243 readonly maxHeight : number
247244 /**
248245 * Override theme's default setting for `compact` if set.
249-
250246 */
251247 readonly compact ?: boolean
252248 /**
You can’t perform that action at this time.
0 commit comments