rsuite-table
Advanced tools
Comparing version 5.0.0-alpha.7 to 5.0.0-alpha.8
@@ -75,2 +75,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
var paddingKey = rtl ? 'paddingRight' : 'paddingLeft'; | ||
var contentStyles = _extends({}, style, (_extends3 = { | ||
@@ -80,3 +82,3 @@ width: width, | ||
textAlign: align | ||
}, _extends3[rtl ? 'paddingRight' : 'paddingLeft'] = isTreeCol ? depth * LAYER_WIDTH + 10 : null, _extends3)); | ||
}, _extends3[paddingKey] = isTreeCol ? depth * LAYER_WIDTH + 10 : (style === null || style === void 0 ? void 0 : style[paddingKey]) || (style === null || style === void 0 ? void 0 : style.padding), _extends3)); | ||
@@ -83,0 +85,0 @@ if (verticalAlign) { |
@@ -94,2 +94,3 @@ "use strict"; | ||
}, _extends2[rtl ? 'right' : 'left'] = left, _extends2)); | ||
var paddingKey = rtl ? 'paddingRight' : 'paddingLeft'; | ||
var contentStyles = (0, _extends4["default"])({}, style, (_extends3 = { | ||
@@ -99,3 +100,3 @@ width: width, | ||
textAlign: align | ||
}, _extends3[rtl ? 'paddingRight' : 'paddingLeft'] = isTreeCol ? depth * _constants.LAYER_WIDTH + 10 : null, _extends3)); | ||
}, _extends3[paddingKey] = isTreeCol ? depth * _constants.LAYER_WIDTH + 10 : (style === null || style === void 0 ? void 0 : style[paddingKey]) || (style === null || style === void 0 ? void 0 : style.padding), _extends3)); | ||
@@ -102,0 +103,0 @@ if (verticalAlign) { |
{ | ||
"name": "rsuite-table", | ||
"version": "5.0.0-alpha.7", | ||
"version": "5.0.0-alpha.8", | ||
"description": "A React table component", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -159,9 +159,9 @@ # rsuite-table | ||
| Property | Type `(Default)` | Description | | ||
| ----------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | | ||
| align | enum: 'left','center','right' | Alignment | | ||
| fixed | boolean, 'left', 'right' | Fixed column | | ||
| groupHeaderHeight | number | The height of the header of the merged cell group. The default value is the square value of the table `headerHeight` value. | | ||
| header | React.ReactNode | Group header | | ||
| verticalAlign | enum: 'top', 'middle', 'bottom' | Vertical alignment | | ||
| Property | Type `(Default)` | Description | | ||
| ----------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------- | | ||
| align | enum: 'left','center','right' | Alignment | | ||
| fixed | boolean, 'left', 'right' | Fixed column | | ||
| groupHeaderHeight | number | The height of the header of the merged cell group. The default value is 50% of the table `headerHeight` | | ||
| header | React.ReactNode | Group header | | ||
| verticalAlign | enum: 'top', 'middle', 'bottom' | Vertical alignment | | ||
@@ -168,0 +168,0 @@ ### `<Cell>` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
506091
11291