glints-aries 4.0.315 → 4.0.316

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.
@@ -31,7 +31,7 @@ var DataTableComponent = /*#__PURE__*/React.forwardRef(function DataTable(_ref,
31
31
  defaultSortDirection = heading.defaultSortDirection,
32
32
  align = heading.align;
33
33
  var key = "table-header-heading-" + title + "-" + index;
34
- if (handleSortChanged && typeof title !== 'string' && !id) console.warn("Warning: If the title in TableHeading is of type ReactNode and you require sorting functionality, please make sure to provide 'id' for the TableHeading.");
34
+ if (onSortChanged && typeof title !== 'string' && !id) console.warn("Warning: If the title in TableHeading is of type ReactNode and you require sorting functionality, please make sure to provide 'id' for the TableHeading.");
35
35
  return /*#__PURE__*/React.createElement(TableHeader, {
36
36
  key: key,
37
37
  title: title,
@@ -81,7 +81,9 @@ var DataTableComponent = /*#__PURE__*/React.forwardRef(function DataTable(_ref,
81
81
  variant: "subtitle1"
82
82
  }, loadingLabel))));
83
83
  };
84
- return /*#__PURE__*/React.createElement(StyledDataTableContainer, null, /*#__PURE__*/React.createElement(StyledTable, _extends({
84
+ return /*#__PURE__*/React.createElement(StyledDataTableContainer, {
85
+ className: "data-table-container"
86
+ }, /*#__PURE__*/React.createElement(StyledTable, _extends({
85
87
  ref: ref,
86
88
  "data-loading": loading,
87
89
  "data-has-footer": showFooter
@@ -36,7 +36,7 @@ var DataTableComponent = /*#__PURE__*/_react["default"].forwardRef(function Data
36
36
  defaultSortDirection = heading.defaultSortDirection,
37
37
  align = heading.align;
38
38
  var key = "table-header-heading-" + title + "-" + index;
39
- if (handleSortChanged && typeof title !== 'string' && !id) console.warn("Warning: If the title in TableHeading is of type ReactNode and you require sorting functionality, please make sure to provide 'id' for the TableHeading.");
39
+ if (onSortChanged && typeof title !== 'string' && !id) console.warn("Warning: If the title in TableHeading is of type ReactNode and you require sorting functionality, please make sure to provide 'id' for the TableHeading.");
40
40
  return /*#__PURE__*/_react["default"].createElement(_TableHeader.TableHeader, {
41
41
  key: key,
42
42
  title: title,
@@ -86,7 +86,9 @@ var DataTableComponent = /*#__PURE__*/_react["default"].forwardRef(function Data
86
86
  variant: "subtitle1"
87
87
  }, loadingLabel))));
88
88
  };
89
- return /*#__PURE__*/_react["default"].createElement(_DataTableStyle.StyledDataTableContainer, null, /*#__PURE__*/_react["default"].createElement(_DataTableStyle.StyledTable, (0, _extends2["default"])({
89
+ return /*#__PURE__*/_react["default"].createElement(_DataTableStyle.StyledDataTableContainer, {
90
+ className: "data-table-container"
91
+ }, /*#__PURE__*/_react["default"].createElement(_DataTableStyle.StyledTable, (0, _extends2["default"])({
90
92
  ref: ref,
91
93
  "data-loading": loading,
92
94
  "data-has-footer": showFooter
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glints-aries",
3
- "version": "4.0.315",
3
+ "version": "4.0.316",
4
4
  "description": "Glints ui-kit for frontend",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./es/index.js",