@stokr/components-library 2.3.58-beta.11 → 2.3.58-beta.12

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.
@@ -33,6 +33,7 @@ function ReactTable(props) {
33
33
  customRowHoverContent,
34
34
  customRowStyles,
35
35
  customTableStyles,
36
+ tableWrapStyles,
36
37
  getRowDataCy,
37
38
  // Function to generate data-cy attribute: (rowData, rowIndex) => string
38
39
 
@@ -84,7 +85,9 @@ function ReactTable(props) {
84
85
  }
85
86
  return cell.render('Cell');
86
87
  };
87
- return /*#__PURE__*/_react.default.createElement(_Table.Styles, null, /*#__PURE__*/_react.default.createElement(_Table.TableWrap, null, /*#__PURE__*/_react.default.createElement(_Table.StyledReactTable, _extends({}, getTableProps(), {
88
+ return /*#__PURE__*/_react.default.createElement(_Table.Styles, null, /*#__PURE__*/_react.default.createElement(_Table.TableWrap, {
89
+ tableWrapStyles: tableWrapStyles
90
+ }, /*#__PURE__*/_react.default.createElement(_Table.StyledReactTable, _extends({}, getTableProps(), {
88
91
  customTableStyles: customTableStyles
89
92
  }), /*#__PURE__*/_react.default.createElement("thead", null, headerGroups.map(headerGroup => /*#__PURE__*/_react.default.createElement(_Table.StyledReactTable.Tr, headerGroup.getHeaderGroupProps(), headerGroup.headers.map(column => {
90
93
  const cellStyles = customThStyles ? customThStyles(column) : {};
@@ -69,7 +69,7 @@ const StyledTd = exports.StyledTd = _styledComponents.default.td.withConfig({
69
69
  const StyledTr = exports.StyledTr = _styledComponents.default.tr.withConfig({
70
70
  displayName: "Tablestyles__StyledTr",
71
71
  componentId: "sc-pdcd6r-14"
72
- })(["", " ", ""], props => props.customRowStyles && (0, _styledComponents.css)(["", ""], props.customRowStyles(props.rowIndex, props.rowData)), props => props.customRowHoverStyles && (0, _styledComponents.css)(["&:hover{", "}"], props.customRowHoverStyles(props.rowIndex, props.rowData)));
72
+ })(["", " ", ""], props => props.customRowStyles && (0, _styledComponents.css)(["", ""], props.customRowStyles(props.rowIndex, props.rowData)), props => props.customRowHoverStyles && (0, _styledComponents.css)(["&:hover,&:focus,&:active{", "}"], props.customRowHoverStyles(props.rowIndex, props.rowData)));
73
73
  const StyledReactTable = exports.StyledReactTable = _styledComponents.default.table.withConfig({
74
74
  displayName: "Tablestyles__StyledReactTable",
75
75
  componentId: "sc-pdcd6r-15"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokr/components-library",
3
- "version": "2.3.58-beta.11",
3
+ "version": "2.3.58-beta.12",
4
4
  "description": "STOKR - Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "ajv": "^8.17.1",
34
- "axios": "^0.27.2",
34
+ "axios": "^0.30.2",
35
35
  "bignumber.js": "^9.1.1",
36
36
  "cross-env": "^10.1.0",
37
37
  "d3": "^7.8.3",