@patternfly/react-table 6.3.0-prerelease.1 → 6.3.0-prerelease.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/components/package.json +1 -1
- package/deprecated/package.json +1 -1
- package/dist/dynamic/components/Table/package.json +1 -1
- package/dist/dynamic/components/Table/utils/decorators/package.json +1 -1
- package/dist/dynamic/components/Table/utils/package.json +1 -1
- package/dist/dynamic/deprecated/components/Table/base/package.json +1 -1
- package/dist/dynamic/deprecated/components/Table/package.json +1 -1
- package/dist/dynamic/deprecated/components/package.json +1 -1
- package/dist/esm/demos/DashboardWrapper.js +1 -1
- package/dist/esm/demos/DashboardWrapper.js.map +1 -1
- package/dist/js/demos/DashboardWrapper.js +1 -1
- package/dist/js/demos/DashboardWrapper.js.map +1 -1
- package/dist/umd/assets/{output-1dQkM85p.css → output-CLV1g6to.css} +1821 -1821
- package/package.json +3 -3
- package/src/demos/DashboardWrapper.tsx +2 -2
- package/src/demos/examples/TableBulkSelect.tsx +1 -1
- package/src/demos/examples/TableColumnManagement.tsx +1 -1
- package/src/demos/examples/TableColumnManagementWithDraggable.tsx +1 -1
- package/src/demos/examples/TableCompact.tsx +1 -1
- package/src/demos/examples/TableCompoundExpansion.tsx +1 -1
- package/src/demos/examples/TableEmptyStateDefault.tsx +1 -1
- package/src/demos/examples/TableEmptyStateError.tsx +1 -1
- package/src/demos/examples/TableEmptyStateLoading.tsx +1 -1
- package/src/demos/examples/TableExpandCollapseAll.tsx +1 -0
- package/src/demos/examples/TableSortableResponsive.tsx +3 -2
- package/src/demos/examples/TableStaticBottomPagination.tsx +1 -1
- package/src/demos/examples/TableStickyFirstColumn.tsx +5 -1
- package/src/demos/examples/TableStickyHeader.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "6.3.0-prerelease.
|
|
3
|
+
"version": "6.3.0-prerelease.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",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"subpaths": "node ../../scripts/exportSubpaths.mjs --config subpaths.config.json"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@patternfly/react-core": "^6.3.0-prerelease.
|
|
43
|
+
"@patternfly/react-core": "^6.3.0-prerelease.3",
|
|
44
44
|
"@patternfly/react-icons": "^6.3.0-prerelease.1",
|
|
45
45
|
"@patternfly/react-styles": "^6.3.0-prerelease.1",
|
|
46
46
|
"@patternfly/react-tokens": "^6.3.0-prerelease.1",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"react": "^17 || ^18 || ^19",
|
|
52
52
|
"react-dom": "^17 || ^18 || ^19"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "54485ae7a71e8b2703760e117d05f9ffaf5d83c0"
|
|
55
55
|
}
|
|
@@ -107,9 +107,9 @@ export const DashboardBreadcrumb = (
|
|
|
107
107
|
);
|
|
108
108
|
|
|
109
109
|
const PageTemplateTitle = (
|
|
110
|
-
<PageSection>
|
|
110
|
+
<PageSection aria-labelledby="main-title">
|
|
111
111
|
<Content>
|
|
112
|
-
<h1>Main title</h1>
|
|
112
|
+
<h1 id="main-title">Main title</h1>
|
|
113
113
|
<p>This is a full page demo.</p>
|
|
114
114
|
</Content>
|
|
115
115
|
</PageSection>
|
|
@@ -146,7 +146,7 @@ export const TableBulkSelect: React.FunctionComponent = () => {
|
|
|
146
146
|
|
|
147
147
|
return (
|
|
148
148
|
<DashboardWrapper hasPageTemplateTitle>
|
|
149
|
-
<PageSection isWidthLimited>
|
|
149
|
+
<PageSection isWidthLimited aria-label="Bulk select table data">
|
|
150
150
|
{toolbar}
|
|
151
151
|
<Table aria-label="Selectable table">
|
|
152
152
|
<Thead>
|
|
@@ -437,7 +437,7 @@ export const TableColumnManagement: React.FunctionComponent = () => {
|
|
|
437
437
|
return (
|
|
438
438
|
<Fragment>
|
|
439
439
|
<DashboardWrapper hasPageTemplateTitle>
|
|
440
|
-
<PageSection isFilled>
|
|
440
|
+
<PageSection isFilled aria-label="Column management table data">
|
|
441
441
|
{toolbarItems}
|
|
442
442
|
<Table variant="compact" aria-label="Column Management Table">
|
|
443
443
|
<Thead>
|
|
@@ -336,7 +336,7 @@ export const TableColumnManagement: React.FunctionComponent = () => {
|
|
|
336
336
|
return (
|
|
337
337
|
<Fragment>
|
|
338
338
|
<DashboardWrapper hasPageTemplateTitle>
|
|
339
|
-
<PageSection isFilled>
|
|
339
|
+
<PageSection isFilled aria-label="Draggable Column Management table data">
|
|
340
340
|
{toolbarItems}
|
|
341
341
|
<Table variant="compact" aria-label="Column Management Table">
|
|
342
342
|
<Thead>
|
|
@@ -129,7 +129,7 @@ export const TableCompact: React.FunctionComponent = () => {
|
|
|
129
129
|
return (
|
|
130
130
|
<Fragment>
|
|
131
131
|
<DashboardWrapper hasPageTemplateTitle>
|
|
132
|
-
<PageSection isFilled>
|
|
132
|
+
<PageSection isFilled aria-label="Compact table data">
|
|
133
133
|
<Card>
|
|
134
134
|
{tableToolbar}
|
|
135
135
|
<Table variant="compact" aria-label="Compact Table">
|
|
@@ -199,7 +199,7 @@ export const TableCompoundExpansion: React.FunctionComponent = () => {
|
|
|
199
199
|
|
|
200
200
|
return (
|
|
201
201
|
<DashboardWrapper hasPageTemplateTitle>
|
|
202
|
-
<PageSection padding={{ default: 'noPadding', xl: 'padding' }}>
|
|
202
|
+
<PageSection padding={{ default: 'noPadding', xl: 'padding' }} aria-label="Compound expandable table data ">
|
|
203
203
|
<Card>
|
|
204
204
|
{tableToolbar}
|
|
205
205
|
<Table aria-label="Compound expandable table">
|
|
@@ -15,7 +15,7 @@ import { DashboardWrapper } from '@patternfly/react-table/dist/esm/demos/Dashboa
|
|
|
15
15
|
|
|
16
16
|
export const TableEmptyStateDefault: React.FunctionComponent = () => (
|
|
17
17
|
<DashboardWrapper hasPageTemplateTitle>
|
|
18
|
-
<PageSection padding={{ default: 'noPadding', xl: 'padding' }}>
|
|
18
|
+
<PageSection padding={{ default: 'noPadding', xl: 'padding' }} aria-label="Empty state table data">
|
|
19
19
|
<Card component="div">
|
|
20
20
|
<Table aria-label="Empty state table">
|
|
21
21
|
<Thead>
|
|
@@ -5,7 +5,7 @@ import { DashboardWrapper } from '@patternfly/react-table/dist/esm/demos/Dashboa
|
|
|
5
5
|
|
|
6
6
|
export const TableEmptyStateError: React.FunctionComponent = () => (
|
|
7
7
|
<DashboardWrapper hasPageTemplateTitle>
|
|
8
|
-
<PageSection padding={{ default: 'noPadding', xl: 'padding' }}>
|
|
8
|
+
<PageSection padding={{ default: 'noPadding', xl: 'padding' }} aria-label="Empty state table with error">
|
|
9
9
|
<Card component="div">
|
|
10
10
|
<Table aria-label="Loading table demo">
|
|
11
11
|
<Thead>
|
|
@@ -4,7 +4,7 @@ import { DashboardWrapper } from '@patternfly/react-table/dist/esm/demos/Dashboa
|
|
|
4
4
|
|
|
5
5
|
export const TableEmptyStateLoading: React.FunctionComponent = () => (
|
|
6
6
|
<DashboardWrapper hasPageTemplateTitle>
|
|
7
|
-
<PageSection padding={{ default: 'noPadding', xl: 'padding' }}>
|
|
7
|
+
<PageSection padding={{ default: 'noPadding', xl: 'padding' }} aria-label="Empty state table loading">
|
|
8
8
|
<Card component="div">
|
|
9
9
|
<Table aria-label="Loading table demo">
|
|
10
10
|
<Thead>
|
|
@@ -229,9 +229,9 @@ export const TableSortableResponsive: React.FunctionComponent = () => {
|
|
|
229
229
|
return (
|
|
230
230
|
<Fragment>
|
|
231
231
|
<DashboardWrapper>
|
|
232
|
-
<PageSection isWidthLimited variant={PageSectionVariants.light}>
|
|
232
|
+
<PageSection isWidthLimited variant={PageSectionVariants.light} aria-labelledby="table-title">
|
|
233
233
|
<Content>
|
|
234
|
-
<h1>Table demos</h1>
|
|
234
|
+
<h1 id="table-title">Table demos</h1>
|
|
235
235
|
<p>
|
|
236
236
|
Below is an example of a responsive sortable table. When the screen size shrinks the table into a compact
|
|
237
237
|
form, the toolbar will display a dropdown menu containing sorting options.
|
|
@@ -243,6 +243,7 @@ export const TableSortableResponsive: React.FunctionComponent = () => {
|
|
|
243
243
|
default: 'noPadding',
|
|
244
244
|
xl: 'padding'
|
|
245
245
|
}}
|
|
246
|
+
aria-label="Sortable table data"
|
|
246
247
|
>
|
|
247
248
|
<Card component="div">
|
|
248
249
|
{tableToolbar}
|
|
@@ -142,7 +142,7 @@ export const TableStaticBottomPagination: React.FunctionComponent = () => {
|
|
|
142
142
|
return (
|
|
143
143
|
<Fragment>
|
|
144
144
|
<DashboardWrapper hasPageTemplateTitle>
|
|
145
|
-
<PageSection isFilled>
|
|
145
|
+
<PageSection isFilled aria-label="Paginated table data">
|
|
146
146
|
<Card>
|
|
147
147
|
{tableToolbar}
|
|
148
148
|
<Table variant="compact" aria-label="Paginated Table">
|
|
@@ -135,7 +135,11 @@ export const TableStickyFirstColumn = () => {
|
|
|
135
135
|
});
|
|
136
136
|
return (
|
|
137
137
|
<DashboardWrapper hasPageTemplateTitle>
|
|
138
|
-
<PageSection
|
|
138
|
+
<PageSection
|
|
139
|
+
isWidthLimited
|
|
140
|
+
padding={{ default: 'noPadding', xl: 'padding' }}
|
|
141
|
+
aria-label="Sticky column table data"
|
|
142
|
+
>
|
|
139
143
|
<Card component="div">
|
|
140
144
|
<InnerScrollContainer>
|
|
141
145
|
<Table aria-label="Sticky column table" gridBreakPoint="">
|
|
@@ -19,7 +19,7 @@ export const TableStickyHeader: React.FunctionComponent = () => {
|
|
|
19
19
|
|
|
20
20
|
return (
|
|
21
21
|
<DashboardWrapper hasPageTemplateTitle>
|
|
22
|
-
<PageSection padding={{ default: 'noPadding', xl: 'padding' }}>
|
|
22
|
+
<PageSection padding={{ default: 'noPadding', xl: 'padding' }} aria-label="Sticky header table data">
|
|
23
23
|
<Card component="div">
|
|
24
24
|
<Table aria-label="Sticky Header Table Demo" isStickyHeader>
|
|
25
25
|
<Thead>
|