tabler-react-2 0.1.127 → 0.1.128

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.
@@ -119,7 +119,9 @@ var Table = exports.Table = function Table(_ref4) {
119
119
  _ref4$showPagination = _ref4.showPagination,
120
120
  showPagination = _ref4$showPagination === void 0 ? false : _ref4$showPagination,
121
121
  _ref4$defaultRowsPerP = _ref4.defaultRowsPerPage,
122
- defaultRowsPerPage = _ref4$defaultRowsPerP === void 0 ? 10 : _ref4$defaultRowsPerP;
122
+ defaultRowsPerPage = _ref4$defaultRowsPerP === void 0 ? 10 : _ref4$defaultRowsPerP,
123
+ _ref4$tableClassName = _ref4.tableClassName,
124
+ tableClassName = _ref4$tableClassName === void 0 ? "" : _ref4$tableClassName;
123
125
  var _useState = (0, _react.useState)({
124
126
  key: null,
125
127
  direction: "asc"
@@ -189,7 +191,7 @@ var Table = exports.Table = function Table(_ref4) {
189
191
  return /*#__PURE__*/_react["default"].createElement("div", {
190
192
  className: "table-responsive ".concat(nowrap ? "table-nowrap" : "", " ").concat(className)
191
193
  }, /*#__PURE__*/_react["default"].createElement("table", {
192
- className: "table table-vcenter ".concat(stickyHeader ? "sticky-top" : "")
194
+ className: "table table-vcenter ".concat(stickyHeader ? "sticky-top" : "", " ").concat(tableClassName)
193
195
  }, /*#__PURE__*/_react["default"].createElement("thead", null, /*#__PURE__*/_react["default"].createElement("tr", null, columns.map(function (column, idx) {
194
196
  return /*#__PURE__*/_react["default"].createElement("th", {
195
197
  key: idx,
@@ -2,6 +2,10 @@
2
2
  title: Changelog
3
3
  ---
4
4
 
5
+ # 0.1.127
6
+
7
+ - Added support for `showPagination` and `defaultRowsPerPage` in the `Table` component.
8
+
5
9
  # 0.1.126
6
10
 
7
11
  - Added support for `disabled` in the `DropdownInput` component.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabler-react-2",
3
- "version": "0.1.127",
3
+ "version": "0.1.128",
4
4
  "description": "A react implementation of Tabler ui",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {