@patternfly/react-table 4.71.27 → 4.71.30

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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 4.71.30 (2022-04-13)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-table
9
+
10
+
11
+
12
+
13
+
14
+ ## 4.71.29 (2022-04-12)
15
+
16
+ **Note:** Version bump only for package @patternfly/react-table
17
+
18
+
19
+
20
+
21
+
22
+ ## 4.71.28 (2022-04-12)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **demo-app:** reorder css imports to load in dark theme correctly ([#7224](https://github.com/patternfly/patternfly-react/issues/7224)) ([1341c93](https://github.com/patternfly/patternfly-react/commit/1341c9396a25f6850bf4e961e40c9ddd182d9d3b))
28
+
29
+
30
+
31
+
32
+
6
33
  ## 4.71.27 (2022-04-12)
7
34
 
8
35
  **Note:** Version bump only for package @patternfly/react-table
@@ -2953,13 +2953,7 @@
2953
2953
  const [popperElement, setPopperElement] = React__namespace.useState(null);
2954
2954
  const [ready, setReady] = React__namespace.useState(false);
2955
2955
  const refOrTrigger = refElement || triggerElement;
2956
- const onDocumentClickCallback = React__namespace.useCallback(event => onDocumentClick(event, refOrTrigger, popperElement), [
2957
- isVisible,
2958
- triggerElement,
2959
- refElement,
2960
- popperElement,
2961
- onDocumentClick
2962
- ]);
2956
+ const onDocumentClickCallback = React__namespace.useCallback((event) => onDocumentClick(event, refOrTrigger, popperElement), [isVisible, triggerElement, refElement, popperElement, onDocumentClick]);
2963
2957
  React__namespace.useEffect(() => {
2964
2958
  setReady(true);
2965
2959
  }, []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-table",
3
- "version": "4.71.27",
3
+ "version": "4.71.30",
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.202.27",
35
- "@patternfly/react-icons": "^4.53.27",
36
- "@patternfly/react-styles": "^4.52.27",
37
- "@patternfly/react-tokens": "^4.54.27",
34
+ "@patternfly/react-core": "^4.202.30",
35
+ "@patternfly/react-icons": "^4.53.30",
36
+ "@patternfly/react-styles": "^4.52.30",
37
+ "@patternfly/react-tokens": "^4.54.30",
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": "8be1439250de481dc2d9bace0a97c0e108c74a1b"
49
+ "gitHead": "7154950167e076ddf7e1a596583caa434e7c30a9"
50
50
  }
@@ -34,6 +34,7 @@ propComponents:
34
34
  ]
35
35
  ouia: true
36
36
  ---
37
+ import { Link } from '@reach/router';
37
38
 
38
39
  # Table Composable
39
40
 
@@ -43,7 +44,7 @@ PatternFly has two implementations of a React table.
43
44
 
44
45
  The first is the newer `TableComposable` component. It takes a more explicit and declarative approach, and its implementation more closely mirrors that of an HTML table. Generally, updates and new feature requests are implemented in the `TableComposable`.
45
46
 
46
- The second is the original `Table` component. It is configuration based and takes a less declarative and more implicit approach about laying out the table structure, such as the rows and cells within it. Its documentation can be found <a href="/components/table/react-legacy">here</a>.
47
+ The second is the original `Table` component. It is configuration based and takes a less declarative and more implicit approach about laying out the table structure, such as the rows and cells within it. The documentation for the older table implementation can be found under the <Link to="/components/table/react-legacy">React legacy</Link> tab.
47
48
 
48
49
  **For most common use cases, we recommend using `TableComposable`. Both implementations are supported and fully maintained.**
49
50