shineout 1.8.3 → 1.8.4

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.
@@ -83,7 +83,7 @@ function (_PureComponent) {
83
83
  disabled: disabled
84
84
  }), this.props.className);
85
85
 
86
- if (href) {
86
+ if (href && !disabled) {
87
87
  return _react.default.createElement("a", (0, _extends2.default)({
88
88
  href: href
89
89
  }, others, {
package/css/Menu/Item.js CHANGED
@@ -57,7 +57,9 @@ function (_PureComponent) {
57
57
 
58
58
  var key = _this.getKey(props);
59
59
 
60
- var _props$bindItem = props.bindItem(_this.id, _this.update.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this))), _this.updateOpen.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this))), _this.updateInPath.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)))),
60
+ var noop = function noop() {};
61
+
62
+ var _props$bindItem = props.bindItem(_this.id, noop, noop, noop),
61
63
  activeUpdate = _props$bindItem[0],
62
64
  openUpdate = _props$bindItem[1],
63
65
  inPathUpdate = _props$bindItem[2];
@@ -79,6 +81,12 @@ function (_PureComponent) {
79
81
 
80
82
  var _proto = Item.prototype;
81
83
 
84
+ _proto.componentDidMount = function componentDidMount() {
85
+ _PureComponent.prototype.componentDidMount.call(this);
86
+
87
+ this.props.bindItem(this.id, this.update.bind(this), this.updateOpen.bind(this), this.updateInPath.bind(this));
88
+ };
89
+
82
90
  _proto.componentWillUnmount = function componentWillUnmount() {
83
91
  _PureComponent.prototype.componentWillUnmount.call(this);
84
92
 
@@ -635,7 +635,8 @@ function (_PureComponent) {
635
635
  rowHeight = _this$props7.rowHeight,
636
636
  columnResizable = _this$props7.columnResizable,
637
637
  innerScrollAttr = _this$props7.innerScrollAttr,
638
- others = (0, _objectWithoutPropertiesLoose2.default)(_this$props7, ["data", "rowsInView", "columns", "width", "fixed", "rowHeight", "columnResizable", "innerScrollAttr"]);
638
+ bordered = _this$props7.bordered,
639
+ others = (0, _objectWithoutPropertiesLoose2.default)(_this$props7, ["data", "rowsInView", "columns", "width", "fixed", "rowHeight", "columnResizable", "innerScrollAttr", "bordered"]);
639
640
  var _this$state3 = this.state,
640
641
  colgroup = _this$state3.colgroup,
641
642
  scrollTop = _this$state3.scrollTop,
@@ -681,7 +682,7 @@ function (_PureComponent) {
681
682
  height: prevHeight
682
683
  }
683
684
  }), _react.default.createElement("table", {
684
- className: (0, _styles.tableClass)(!colgroup && minWidthSup && 'init'),
685
+ className: (0, _styles.tableClass)(!colgroup && minWidthSup && 'init', bordered && 'table-bordered'),
685
686
  style: {
686
687
  width: width
687
688
  },
@@ -724,7 +725,8 @@ function (_PureComponent) {
724
725
  style: {
725
726
  width: width
726
727
  },
727
- ref: this.bindThead
728
+ ref: this.bindThead,
729
+ className: (0, _styles.tableClass)('table-bordered')
728
730
  }, _react.default.createElement(_Colgroup.default, {
729
731
  colgroup: colgroup,
730
732
  columns: columns,
@@ -166,7 +166,8 @@ function (_PureComponent) {
166
166
  data = _this$props2.data,
167
167
  onResize = _this$props2.onResize,
168
168
  columnResizable = _this$props2.columnResizable,
169
- sticky = _this$props2.sticky;
169
+ sticky = _this$props2.sticky,
170
+ bordered = _this$props2.bordered;
170
171
  var _this$state = this.state,
171
172
  colgroup = _this$state.colgroup,
172
173
  scrollAble = _this$state.scrollAble;
@@ -174,7 +175,8 @@ function (_PureComponent) {
174
175
  var inner = _react.default.createElement("table", {
175
176
  style: {
176
177
  width: width
177
- }
178
+ },
179
+ className: (0, _styles.tableClass)(bordered && 'table-bordered')
178
180
  }, _react.default.createElement(_Colgroup.default, {
179
181
  colgroup: colgroup,
180
182
  columns: columns,
@@ -214,7 +216,8 @@ function (_PureComponent) {
214
216
  width = _this$props3.width,
215
217
  fixed = _this$props3.fixed,
216
218
  columnResizable = _this$props3.columnResizable,
217
- others = (0, _objectWithoutPropertiesLoose2.default)(_this$props3, ["columns", "width", "fixed", "columnResizable"]);
219
+ bordered = _this$props3.bordered,
220
+ others = (0, _objectWithoutPropertiesLoose2.default)(_this$props3, ["columns", "width", "fixed", "columnResizable", "bordered"]);
218
221
  var _this$state2 = this.state,
219
222
  colgroup = _this$state2.colgroup,
220
223
  resize = _this$state2.resize;
@@ -230,7 +233,7 @@ function (_PureComponent) {
230
233
  style: {
231
234
  width: width
232
235
  },
233
- className: (0, _styles.tableClass)(!colgroup && minWidthSup && 'init')
236
+ className: (0, _styles.tableClass)(!colgroup && minWidthSup && 'init', bordered && 'table-bordered')
234
237
  }, _react.default.createElement(_Colgroup.default, {
235
238
  colgroup: colgroup,
236
239
  columns: columns,
@@ -250,11 +253,13 @@ function (_PureComponent) {
250
253
  columns = _this$props4.columns,
251
254
  width = _this$props4.width,
252
255
  children = _this$props4.children,
253
- hideHeader = _this$props4.hideHeader;
256
+ hideHeader = _this$props4.hideHeader,
257
+ bordered = _this$props4.bordered;
254
258
  if (!columns || columns.length === 0) return _react.default.createElement("table", {
255
259
  style: {
256
260
  width: width
257
- }
261
+ },
262
+ className: (0, _styles.tableClass)(bordered && 'table-bordered')
258
263
  }, children);
259
264
  return [hideHeader ? null : this.renderHeader(), this.renderBody(), children];
260
265
  };
@@ -273,7 +278,8 @@ SimpleTable.propTypes = {
273
278
  dataChangeResize: _propTypes.default.bool,
274
279
  columnResizable: _propTypes.default.bool,
275
280
  sticky: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.bool]),
276
- hideHeader: _propTypes.default.bool
281
+ hideHeader: _propTypes.default.bool,
282
+ bordered: _propTypes.default.bool
277
283
  };
278
284
  SimpleTable.defaultProps = {
279
285
  data: undefined,
@@ -163,7 +163,9 @@ function (_Component) {
163
163
  className: className,
164
164
  ref: this.bindTable,
165
165
  style: newStyle
166
- }, events), _react.default.createElement(RenderTable, props), loading && _react.default.createElement("div", {
166
+ }, events), _react.default.createElement(RenderTable, (0, _extends2.default)({}, props, {
167
+ bordered: bordered
168
+ })), loading && _react.default.createElement("div", {
167
169
  className: (0, _styles.tableClass)('loading')
168
170
  }, typeof loading === 'boolean' ? _react.default.createElement(_Spin.default, {
169
171
  size: 40
@@ -237,19 +237,19 @@ table > thead > tr > th.so-table-condensed {
237
237
  .so-table-bordered .so-table-head table {
238
238
  border-bottom-width: 1px;
239
239
  }
240
- .so-table-bordered table > thead > tr > th,
241
- .so-table-bordered table > tbody > tr > th,
242
- .so-table-bordered table > tfoot > tr > th,
243
- .so-table-bordered table > thead > tr > td,
244
- .so-table-bordered table > tbody > tr > td,
245
- .so-table-bordered table > tfoot > tr > td {
240
+ .so-table-bordered .so-table-table-bordered > thead > tr > th,
241
+ .so-table-bordered .so-table-table-bordered > tbody > tr > th,
242
+ .so-table-bordered .so-table-table-bordered > tfoot > tr > th,
243
+ .so-table-bordered .so-table-table-bordered > thead > tr > td,
244
+ .so-table-bordered .so-table-table-bordered > tbody > tr > td,
245
+ .so-table-bordered .so-table-table-bordered > tfoot > tr > td {
246
246
  border-right: 1px solid var(--table-border-color, #ddd);
247
247
  border-bottom-width: 1px;
248
248
  }
249
- .so-table-bordered table > tbody > tr > td.so-table-ignore-bottom-border {
249
+ .so-table-bordered .so-table-table-bordered > tbody > tr > td.so-table-ignore-bottom-border {
250
250
  border-bottom: none;
251
251
  }
252
- .so-table-bordered table > thead + tbody > tr:first-child > td {
252
+ .so-table-bordered .so-table-table-bordered > thead + tbody > tr:first-child > td {
253
253
  border-top-width: 1px;
254
254
  }
255
255
  .so-table-bordered .so-table-body table {
package/css/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  import './styles/normalize.less'
3
3
  import * as utils from './utils'
4
4
 
5
- export default { utils, version: '1.8.3' }
5
+ export default { utils, version: '1.8.4' }
6
6
  export { utils }
7
7
  export { setLocale } from './locale'
8
8
  export { color, style } from './utils/expose'
package/css/index.js CHANGED
@@ -222,6 +222,6 @@ exports.Upload = _Upload.default;
222
222
  // Created by scripts/src-index.js.
223
223
  var _default = {
224
224
  utils: utils,
225
- version: '1.8.3'
225
+ version: '1.8.4'
226
226
  };
227
227
  exports.default = _default;
package/dist/shineout.js CHANGED
@@ -5654,7 +5654,7 @@ function (_PureComponent) {
5654
5654
  disabled: disabled
5655
5655
  }), this.props.className);
5656
5656
 
5657
- if (href) {
5657
+ if (href && !disabled) {
5658
5658
  return (
5659
5659
  /*#__PURE__*/
5660
5660
  react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement("a", Object.assign({
@@ -25890,7 +25890,9 @@ function (_PureComponent) {
25890
25890
 
25891
25891
  var key = _this.getKey(props);
25892
25892
 
25893
- var _props$bindItem = props.bindItem(_this.id, _this.update.bind(Object(_Users_10008649_Desktop_workspace_fe_shein_shineout_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__["default"])(_this)), _this.updateOpen.bind(Object(_Users_10008649_Desktop_workspace_fe_shein_shineout_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__["default"])(_this)), _this.updateInPath.bind(Object(_Users_10008649_Desktop_workspace_fe_shein_shineout_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__["default"])(_this))),
25893
+ var noop = function noop() {};
25894
+
25895
+ var _props$bindItem = props.bindItem(_this.id, noop, noop, noop),
25894
25896
  _props$bindItem2 = Object(_Users_10008649_Desktop_workspace_fe_shein_shineout_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__["default"])(_props$bindItem, 3),
25895
25897
  activeUpdate = _props$bindItem2[0],
25896
25898
  openUpdate = _props$bindItem2[1],
@@ -25912,6 +25914,13 @@ function (_PureComponent) {
25912
25914
  }
25913
25915
 
25914
25916
  Object(_Users_10008649_Desktop_workspace_fe_shein_shineout_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(Item, [{
25917
+ key: "componentDidMount",
25918
+ value: function componentDidMount() {
25919
+ Object(_Users_10008649_Desktop_workspace_fe_shein_shineout_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_4__["default"])(Object(_Users_10008649_Desktop_workspace_fe_shein_shineout_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_7__["default"])(Item.prototype), "componentDidMount", this).call(this);
25920
+
25921
+ this.props.bindItem(this.id, this.update.bind(this), this.updateOpen.bind(this), this.updateInPath.bind(this));
25922
+ }
25923
+ }, {
25915
25924
  key: "componentWillUnmount",
25916
25925
  value: function componentWillUnmount() {
25917
25926
  Object(_Users_10008649_Desktop_workspace_fe_shein_shineout_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_4__["default"])(Object(_Users_10008649_Desktop_workspace_fe_shein_shineout_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_7__["default"])(Item.prototype), "componentWillUnmount", this).call(this);
@@ -26101,7 +26110,7 @@ function (_PureComponent) {
26101
26110
  __self: this,
26102
26111
  __source: {
26103
26112
  fileName: _jsxFileName,
26104
- lineNumber: 182,
26113
+ lineNumber: 184,
26105
26114
  columnNumber: 9
26106
26115
  }
26107
26116
  }),
@@ -26114,7 +26123,7 @@ function (_PureComponent) {
26114
26123
  __self: this,
26115
26124
  __source: {
26116
26125
  fileName: _jsxFileName,
26117
- lineNumber: 183,
26126
+ lineNumber: 185,
26118
26127
  columnNumber: 11
26119
26128
  }
26120
26129
  }), item)
@@ -26127,7 +26136,7 @@ function (_PureComponent) {
26127
26136
  __self: this,
26128
26137
  __source: {
26129
26138
  fileName: _jsxFileName,
26130
- lineNumber: 190,
26139
+ lineNumber: 192,
26131
26140
  columnNumber: 7
26132
26141
  }
26133
26142
  }), item,
@@ -26140,7 +26149,7 @@ function (_PureComponent) {
26140
26149
  __self: this,
26141
26150
  __source: {
26142
26151
  fileName: _jsxFileName,
26143
- lineNumber: 192,
26152
+ lineNumber: 194,
26144
26153
  columnNumber: 9
26145
26154
  }
26146
26155
  }))
@@ -26200,7 +26209,7 @@ function (_PureComponent) {
26200
26209
  __self: this,
26201
26210
  __source: {
26202
26211
  fileName: _jsxFileName,
26203
- lineNumber: 250,
26212
+ lineNumber: 252,
26204
26213
  columnNumber: 7
26205
26214
  }
26206
26215
  }), this.renderItem(hasChilds, style), hasChilds &&
@@ -26226,7 +26235,7 @@ function (_PureComponent) {
26226
26235
  __self: this,
26227
26236
  __source: {
26228
26237
  fileName: _jsxFileName,
26229
- lineNumber: 253,
26238
+ lineNumber: 255,
26230
26239
  columnNumber: 11
26231
26240
  }
26232
26241
  }))
@@ -41885,7 +41894,8 @@ function (_PureComponent) {
41885
41894
  rowHeight = _this$props7.rowHeight,
41886
41895
  columnResizable = _this$props7.columnResizable,
41887
41896
  innerScrollAttr = _this$props7.innerScrollAttr,
41888
- others = Object(_Users_10008649_Desktop_workspace_fe_shein_shineout_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props7, ["data", "rowsInView", "columns", "width", "fixed", "rowHeight", "columnResizable", "innerScrollAttr"]);
41897
+ bordered = _this$props7.bordered,
41898
+ others = Object(_Users_10008649_Desktop_workspace_fe_shein_shineout_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props7, ["data", "rowsInView", "columns", "width", "fixed", "rowHeight", "columnResizable", "innerScrollAttr", "bordered"]);
41889
41899
 
41890
41900
  var _this$state3 = this.state,
41891
41901
  colgroup = _this$state3.colgroup,
@@ -41907,7 +41917,7 @@ function (_PureComponent) {
41907
41917
  __self: this,
41908
41918
  __source: {
41909
41919
  fileName: _jsxFileName,
41910
- lineNumber: 498,
41920
+ lineNumber: 499,
41911
41921
  columnNumber: 14
41912
41922
  }
41913
41923
  })
@@ -41936,7 +41946,7 @@ function (_PureComponent) {
41936
41946
  __self: this,
41937
41947
  __source: {
41938
41948
  fileName: _jsxFileName,
41939
- lineNumber: 511,
41949
+ lineNumber: 512,
41940
41950
  columnNumber: 7
41941
41951
  }
41942
41952
  },
@@ -41950,7 +41960,7 @@ function (_PureComponent) {
41950
41960
  __self: this,
41951
41961
  __source: {
41952
41962
  fileName: _jsxFileName,
41953
- lineNumber: 521,
41963
+ lineNumber: 522,
41954
41964
  columnNumber: 9
41955
41965
  }
41956
41966
  },
@@ -41962,13 +41972,13 @@ function (_PureComponent) {
41962
41972
  __self: this,
41963
41973
  __source: {
41964
41974
  fileName: _jsxFileName,
41965
- lineNumber: 522,
41975
+ lineNumber: 523,
41966
41976
  columnNumber: 11
41967
41977
  }
41968
41978
  }),
41969
41979
  /*#__PURE__*/
41970
41980
  react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("table", {
41971
- className: Object(_styles__WEBPACK_IMPORTED_MODULE_19__["tableClass"])(!colgroup && minWidthSup && 'init'),
41981
+ className: Object(_styles__WEBPACK_IMPORTED_MODULE_19__["tableClass"])(!colgroup && minWidthSup && 'init', bordered && 'table-bordered'),
41972
41982
  style: {
41973
41983
  width: width
41974
41984
  },
@@ -41976,7 +41986,7 @@ function (_PureComponent) {
41976
41986
  __self: this,
41977
41987
  __source: {
41978
41988
  fileName: _jsxFileName,
41979
- lineNumber: 523,
41989
+ lineNumber: 524,
41980
41990
  columnNumber: 11
41981
41991
  }
41982
41992
  },
@@ -41988,7 +41998,7 @@ function (_PureComponent) {
41988
41998
  __self: this,
41989
41999
  __source: {
41990
42000
  fileName: _jsxFileName,
41991
- lineNumber: 524,
42001
+ lineNumber: 529,
41992
42002
  columnNumber: 13
41993
42003
  }
41994
42004
  }),
@@ -42010,7 +42020,7 @@ function (_PureComponent) {
42010
42020
  __self: this,
42011
42021
  __source: {
42012
42022
  fileName: _jsxFileName,
42013
- lineNumber: 525,
42023
+ lineNumber: 530,
42014
42024
  columnNumber: 13
42015
42025
  }
42016
42026
  })))))
@@ -42035,7 +42045,7 @@ function (_PureComponent) {
42035
42045
  __self: this,
42036
42046
  __source: {
42037
42047
  fileName: _jsxFileName,
42038
- lineNumber: 552,
42048
+ lineNumber: 557,
42039
42049
  columnNumber: 7
42040
42050
  }
42041
42051
  },
@@ -42045,10 +42055,11 @@ function (_PureComponent) {
42045
42055
  width: width
42046
42056
  },
42047
42057
  ref: this.bindThead,
42058
+ className: Object(_styles__WEBPACK_IMPORTED_MODULE_19__["tableClass"])('table-bordered'),
42048
42059
  __self: this,
42049
42060
  __source: {
42050
42061
  fileName: _jsxFileName,
42051
- lineNumber: 553,
42062
+ lineNumber: 558,
42052
42063
  columnNumber: 9
42053
42064
  }
42054
42065
  },
@@ -42060,7 +42071,7 @@ function (_PureComponent) {
42060
42071
  __self: this,
42061
42072
  __source: {
42062
42073
  fileName: _jsxFileName,
42063
- lineNumber: 554,
42074
+ lineNumber: 559,
42064
42075
  columnNumber: 11
42065
42076
  }
42066
42077
  }),
@@ -42072,7 +42083,7 @@ function (_PureComponent) {
42072
42083
  __self: this,
42073
42084
  __source: {
42074
42085
  fileName: _jsxFileName,
42075
- lineNumber: 555,
42086
+ lineNumber: 560,
42076
42087
  columnNumber: 11
42077
42088
  }
42078
42089
  }))));
@@ -42088,7 +42099,7 @@ function (_PureComponent) {
42088
42099
  __self: this,
42089
42100
  __source: {
42090
42101
  fileName: _jsxFileName,
42091
- lineNumber: 563,
42102
+ lineNumber: 568,
42092
42103
  columnNumber: 9
42093
42104
  }
42094
42105
  }), header)
@@ -42130,7 +42141,7 @@ function (_PureComponent) {
42130
42141
  __self: this,
42131
42142
  __source: {
42132
42143
  fileName: _jsxFileName,
42133
- lineNumber: 593,
42144
+ lineNumber: 598,
42134
42145
  columnNumber: 7
42135
42146
  }
42136
42147
  }, this.renderBody(floatClass))];
@@ -42388,7 +42399,8 @@ function (_PureComponent) {
42388
42399
  data = _this$props2.data,
42389
42400
  onResize = _this$props2.onResize,
42390
42401
  columnResizable = _this$props2.columnResizable,
42391
- sticky = _this$props2.sticky;
42402
+ sticky = _this$props2.sticky,
42403
+ bordered = _this$props2.bordered;
42392
42404
  var _this$state = this.state,
42393
42405
  colgroup = _this$state.colgroup,
42394
42406
  scrollAble = _this$state.scrollAble;
@@ -42398,6 +42410,7 @@ function (_PureComponent) {
42398
42410
  style: {
42399
42411
  width: width
42400
42412
  },
42413
+ className: Object(_styles__WEBPACK_IMPORTED_MODULE_10__["tableClass"])(bordered && 'table-bordered'),
42401
42414
  __self: this,
42402
42415
  __source: {
42403
42416
  fileName: _jsxFileName,
@@ -42475,7 +42488,8 @@ function (_PureComponent) {
42475
42488
  width = _this$props3.width,
42476
42489
  fixed = _this$props3.fixed,
42477
42490
  columnResizable = _this$props3.columnResizable,
42478
- others = Object(_Users_10008649_Desktop_workspace_fe_shein_shineout_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__["default"])(_this$props3, ["columns", "width", "fixed", "columnResizable"]);
42491
+ bordered = _this$props3.bordered,
42492
+ others = Object(_Users_10008649_Desktop_workspace_fe_shein_shineout_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__["default"])(_this$props3, ["columns", "width", "fixed", "columnResizable", "bordered"]);
42479
42493
 
42480
42494
  var _this$state2 = this.state,
42481
42495
  colgroup = _this$state2.colgroup,
@@ -42502,7 +42516,7 @@ function (_PureComponent) {
42502
42516
  style: {
42503
42517
  width: width
42504
42518
  },
42505
- className: Object(_styles__WEBPACK_IMPORTED_MODULE_10__["tableClass"])(!colgroup && minWidthSup && 'init'),
42519
+ className: Object(_styles__WEBPACK_IMPORTED_MODULE_10__["tableClass"])(!colgroup && minWidthSup && 'init', bordered && 'table-bordered'),
42506
42520
  __self: this,
42507
42521
  __source: {
42508
42522
  fileName: _jsxFileName,
@@ -42518,7 +42532,7 @@ function (_PureComponent) {
42518
42532
  __self: this,
42519
42533
  __source: {
42520
42534
  fileName: _jsxFileName,
42521
- lineNumber: 139,
42535
+ lineNumber: 142,
42522
42536
  columnNumber: 11
42523
42537
  }
42524
42538
  }),
@@ -42534,7 +42548,7 @@ function (_PureComponent) {
42534
42548
  __self: this,
42535
42549
  __source: {
42536
42550
  fileName: _jsxFileName,
42537
- lineNumber: 140,
42551
+ lineNumber: 143,
42538
42552
  columnNumber: 11
42539
42553
  }
42540
42554
  }))))
@@ -42547,18 +42561,20 @@ function (_PureComponent) {
42547
42561
  columns = _this$props4.columns,
42548
42562
  width = _this$props4.width,
42549
42563
  children = _this$props4.children,
42550
- hideHeader = _this$props4.hideHeader;
42564
+ hideHeader = _this$props4.hideHeader,
42565
+ bordered = _this$props4.bordered;
42551
42566
  if (!columns || columns.length === 0) return (
42552
42567
  /*#__PURE__*/
42553
42568
  react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement("table", {
42554
42569
  style: {
42555
42570
  width: width
42556
42571
  },
42572
+ className: Object(_styles__WEBPACK_IMPORTED_MODULE_10__["tableClass"])(bordered && 'table-bordered'),
42557
42573
  __self: this,
42558
42574
  __source: {
42559
42575
  fileName: _jsxFileName,
42560
- lineNumber: 156,
42561
- columnNumber: 50
42576
+ lineNumber: 161,
42577
+ columnNumber: 9
42562
42578
  }
42563
42579
  }, children)
42564
42580
  );
@@ -42580,7 +42596,8 @@ SimpleTable.propTypes = {
42580
42596
  dataChangeResize: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.bool,
42581
42597
  columnResizable: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.bool,
42582
42598
  sticky: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.bool]),
42583
- hideHeader: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.bool
42599
+ hideHeader: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.bool,
42600
+ bordered: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.bool
42584
42601
  };
42585
42602
  SimpleTable.defaultProps = {
42586
42603
  data: undefined,
@@ -43021,6 +43038,7 @@ function (_Component) {
43021
43038
  }),
43022
43039
  /*#__PURE__*/
43023
43040
  react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(RenderTable, Object.assign({}, props, {
43041
+ bordered: bordered,
43024
43042
  __self: this,
43025
43043
  __source: {
43026
43044
  fileName: _jsxFileName,
@@ -60279,7 +60297,7 @@ __webpack_require__.r(__webpack_exports__);
60279
60297
 
60280
60298
  /* harmony default export */ __webpack_exports__["default"] = ({
60281
60299
  utils: _utils__WEBPACK_IMPORTED_MODULE_0__,
60282
- version: '1.8.3'
60300
+ version: '1.8.4'
60283
60301
  });
60284
60302
 
60285
60303