@patternfly/react-table 4.105.12 → 4.106.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-table",
3
- "version": "4.105.12",
3
+ "version": "4.106.0",
4
4
  "description": "This library provides a set of React table components for use with the PatternFly 4",
5
5
  "main": "dist/js/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -31,10 +31,10 @@
31
31
  "clean": "rimraf dist"
32
32
  },
33
33
  "dependencies": {
34
- "@patternfly/react-core": "^4.236.12",
35
- "@patternfly/react-icons": "^4.87.12",
36
- "@patternfly/react-styles": "^4.86.12",
37
- "@patternfly/react-tokens": "^4.88.12",
34
+ "@patternfly/react-core": "^4.237.0",
35
+ "@patternfly/react-icons": "^4.88.0",
36
+ "@patternfly/react-styles": "^4.87.0",
37
+ "@patternfly/react-tokens": "^4.89.0",
38
38
  "lodash": "^4.17.19",
39
39
  "tslib": "^2.0.0"
40
40
  },
@@ -46,5 +46,5 @@
46
46
  "react": "^16.8.0 || ^17.0.0",
47
47
  "react-dom": "^16.8.0 || ^17.0.0"
48
48
  },
49
- "gitHead": "ef7593c96a44bb5c01f44c79d05ac667ada3b575"
49
+ "gitHead": "cd1d1c0a95c7a848754272964ee52c5575554829"
50
50
  }
@@ -3,7 +3,7 @@ import { Card, Label, PageSection, Table, TableHeader, TableBody, expandable } f
3
3
  import DashboardWrapper from '@patternfly/react-core/src/demos/examples/DashboardWrapper';
4
4
  import { TextVariants } from '@patternfly/react-core';
5
5
 
6
- const columns = [
6
+ const expandableColumns = [
7
7
  {
8
8
  title: 'Servers',
9
9
  cellFormatters: [expandable]
@@ -202,7 +202,7 @@ class ExpandCollapseAllTableDemo extends React.Component {
202
202
  aria-label="Collapsible table"
203
203
  onCollapse={onCollapse}
204
204
  rows={rows}
205
- cells={columns}
205
+ cells={expandableColumns}
206
206
  canCollapseAll={true}
207
207
  collapseAllAriaLabel={collapseAllAriaLabel}
208
208
  expandId="expand-collapse-all-demo"