@patternfly/react-table 5.0.0-alpha.22 → 5.0.0-alpha.23
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 +4 -0
- package/deprecated/components/Table/index.d.ts +2 -0
- package/deprecated/components/Table/index.d.ts.map +1 -0
- package/deprecated/components/Table/index.js +2 -0
- package/deprecated/components/Table/index.js.map +1 -0
- package/dist/esm/deprecated/components/Table/index.d.ts +2 -0
- package/dist/esm/deprecated/components/Table/index.d.ts.map +1 -0
- package/dist/esm/deprecated/components/Table/index.js +2 -0
- package/dist/esm/deprecated/components/Table/index.js.map +1 -0
- package/dist/js/deprecated/components/Table/index.d.ts +2 -0
- package/dist/js/deprecated/components/Table/index.d.ts.map +1 -0
- package/dist/js/deprecated/components/Table/index.js +5 -0
- package/dist/js/deprecated/components/Table/index.js.map +1 -0
- package/package.json +3 -3
- package/src/components/TableComposable/examples/ComposableTable.md +2 -6
- package/src/{components → deprecated/components}/Table/examples/Table.md +2 -8
- package/src/deprecated/components/Table/index.ts +1 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableActions.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableBasic.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableCellWidth.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableCompoundExpandable.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableControllingText.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableEmptyState.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableExpandable.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableFavoritable.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableHoverable.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableMisc.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableSelectable.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableSelectableRadio.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableSortable.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableSortableCustom.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableStriped.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableStripedCustomTr.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableStripedExpandable.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableTextModifiers.tsx +0 -0
- /package/src/{components → deprecated/components}/Table/examples/LegacyTableTree.tsx +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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
|
+
# [5.0.0-alpha.23](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.0.0-alpha.22...@patternfly/react-table@5.0.0-alpha.23) (2023-03-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
9
|
+
|
|
6
10
|
# [5.0.0-alpha.22](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.0.0-alpha.21...@patternfly/react-table@5.0.0-alpha.22) (2023-03-02)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/deprecated/components/Table/index.ts"],"names":[],"mappings":"AAAA,cAAc,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/deprecated/components/Table/index.ts"],"names":[],"mappings":"AAAA,cAAc,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/deprecated/components/Table/index.ts"],"names":[],"mappings":"AAAA,cAAc,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/deprecated/components/Table/index.ts"],"names":[],"mappings":"AAAA,cAAc,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/deprecated/components/Table/index.ts"],"names":[],"mappings":"AAAA,cAAc,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/deprecated/components/Table/index.ts"],"names":[],"mappings":";;;AAAA,6CAAmB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.23",
|
|
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",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"subpaths": "node scripts/copySubpaths.js"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@patternfly/react-core": "^5.0.0-alpha.
|
|
42
|
+
"@patternfly/react-core": "^5.0.0-alpha.23",
|
|
43
43
|
"@patternfly/react-icons": "^5.0.0-alpha.4",
|
|
44
44
|
"@patternfly/react-styles": "^5.0.0-alpha.4",
|
|
45
45
|
"@patternfly/react-tokens": "^5.0.0-alpha.4",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"react": "^16.8 || ^17 || ^18",
|
|
55
55
|
"react-dom": "^16.8 || ^17 || ^18"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "47ec39c169e68ca9dee8ba1b550f4328d6fb705e"
|
|
58
58
|
}
|
|
@@ -40,13 +40,9 @@ ouia: true
|
|
|
40
40
|
|
|
41
41
|
Note: Table lives in its own package at [@patternfly/react-table](https://www.npmjs.com/package/@patternfly/react-table)!
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
The `TableComposable` component takes an explicit and declarative approach, and its implementation closely mirrors that of an HTML table.
|
|
44
44
|
|
|
45
|
-
The
|
|
46
|
-
|
|
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 [React legacy](/components/table/react-legacy) tab.
|
|
48
|
-
|
|
49
|
-
**For most common use cases, we recommend using `TableComposable`. Both implementations are supported and fully maintained.**
|
|
45
|
+
The documentation for the deprecated table implementation can be found under the [React deprecated](/components/table/react-deprecated) tab. It is configuration based and takes a less declarative and more implicit approach to laying out the table structure, such as the rows and cells within it.
|
|
50
46
|
|
|
51
47
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
52
48
|
import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
|
|
@@ -6,17 +6,11 @@ propComponents: ['Table', 'TableHeader', 'TableBody', 'ISortBy']
|
|
|
6
6
|
ouia: true
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# Legacy Table
|
|
10
|
-
|
|
11
9
|
Note: Table lives in its own package at [@patternfly/react-table](https://www.npmjs.com/package/@patternfly/react-table)!
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
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 `ComposableTable`.
|
|
16
|
-
|
|
17
|
-
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.
|
|
11
|
+
**This implementation of `Table` has been deprecated. It is no longer supported or maintained.**
|
|
18
12
|
|
|
19
|
-
|
|
13
|
+
This deprecated `Table` component is configuration-based and takes a less declarative and more implicit approach to laying out the table structure, such as the rows and cells within it.
|
|
20
14
|
|
|
21
15
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
22
16
|
import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/{components → deprecated/components}/Table/examples/LegacyTableCompoundExpandable.tsx
RENAMED
|
File without changes
|
/package/src/{components → deprecated/components}/Table/examples/LegacyTableControllingText.tsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/{components → deprecated/components}/Table/examples/LegacyTableSelectableRadio.tsx
RENAMED
|
File without changes
|
|
File without changes
|
/package/src/{components → deprecated/components}/Table/examples/LegacyTableSortableCustom.tsx
RENAMED
|
File without changes
|
|
File without changes
|
/package/src/{components → deprecated/components}/Table/examples/LegacyTableStripedCustomTr.tsx
RENAMED
|
File without changes
|
/package/src/{components → deprecated/components}/Table/examples/LegacyTableStripedExpandable.tsx
RENAMED
|
File without changes
|
/package/src/{components → deprecated/components}/Table/examples/LegacyTableTextModifiers.tsx
RENAMED
|
File without changes
|
|
File without changes
|