@patternfly/react-table 4.105.2 → 4.105.3
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 +8 -0
- package/dist/umd/react-table.css +12193 -12193
- package/dist/umd/react-table.min.css +1400 -1400
- package/package.json +6 -6
- package/src/components/TableComposable/examples/ComposableTable.md +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "4.105.
|
|
3
|
+
"version": "4.105.3",
|
|
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.
|
|
35
|
-
"@patternfly/react-icons": "^4.87.
|
|
36
|
-
"@patternfly/react-styles": "^4.86.
|
|
37
|
-
"@patternfly/react-tokens": "^4.88.
|
|
34
|
+
"@patternfly/react-core": "^4.236.3",
|
|
35
|
+
"@patternfly/react-icons": "^4.87.3",
|
|
36
|
+
"@patternfly/react-styles": "^4.86.3",
|
|
37
|
+
"@patternfly/react-tokens": "^4.88.3",
|
|
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": "
|
|
49
|
+
"gitHead": "07d9fc8ea68e953640e5d48c8693ec6865851bf1"
|
|
50
50
|
}
|
|
@@ -315,6 +315,8 @@ To make a row draggable:
|
|
|
315
315
|
|
|
316
316
|
## Sticky table modifiers
|
|
317
317
|
|
|
318
|
+
To make certain columns and the header sticky, the table must be wrapped in a combination of `OuterScrollContainer` and `InnerScrollContainer`. For sticky columns, only `InnerScrollContainer` is required. For sticky headers, and sticky headers with sticky columns, both containers are required to ensure the sticky behavior behaves correctly.
|
|
319
|
+
|
|
318
320
|
**Note:** Sticky table headers and columns have a higher `z-index` than the `z-index` used for menus (dropdown, select, etc). The intent is that the contents of a scrollable table will scroll under the sticky header/column, including any expanded menus. However, there may be use cases where a menu needs to appear on top of a sticky header/column, such as an expanded menu in a toolbar above a table with a sticky header.
|
|
319
321
|
|
|
320
322
|
There are a few ways this can be handled:
|
|
@@ -339,7 +341,7 @@ To make multiple columns sticky, wrap `TableComposable` with `InnerScrollContain
|
|
|
339
341
|
|
|
340
342
|
### Composable: Sticky columns and header
|
|
341
343
|
|
|
342
|
-
To maintain proper sticky behavior across sticky columns and header, `TableComposable` must be wrapped with `OuterScrollContainer` and `InnerScrollContainer
|
|
344
|
+
To maintain proper sticky behavior across sticky columns and header, `TableComposable` must be wrapped with `OuterScrollContainer` and `InnerScrollContainer`.
|
|
343
345
|
|
|
344
346
|
```ts file="ComposableTableStickyColumnsAndHeader.tsx"
|
|
345
347
|
```
|