@patternfly/react-core 5.0.0-alpha.52 → 5.0.0-alpha.53
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/package.json +2 -2
- package/src/demos/CardDemos.md +4 -4
- package/src/demos/Filters/FilterDemos.md +1 -1
- package/src/demos/Filters/examples/FilterAttributeSearch.tsx +3 -3
- package/src/demos/Filters/examples/FilterCheckboxSelect.tsx +3 -3
- package/src/demos/Filters/examples/FilterFaceted.tsx +3 -3
- package/src/demos/Filters/examples/FilterMixedSelectGroup.tsx +3 -3
- package/src/demos/Filters/examples/FilterSameSelectGroup.tsx +3 -3
- package/src/demos/Filters/examples/FilterSearchInput.tsx +3 -3
- package/src/demos/Filters/examples/FilterSingleSelect.tsx +3 -3
- package/src/demos/examples/Tabs/TabsAndTable.tsx +5 -5
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.53](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.0.0-alpha.52...@patternfly/react-core@5.0.0-alpha.53) (2023-04-05)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/react-core
|
|
9
|
+
|
|
6
10
|
# [5.0.0-alpha.52](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.0.0-alpha.51...@patternfly/react-core@5.0.0-alpha.52) (2023-04-04)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @patternfly/react-core
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.53",
|
|
4
4
|
"description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"react": "^17 || ^18",
|
|
71
71
|
"react-dom": "^17 || ^18"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "c4f0e8983765fbf06c61c96ff4ed29731087355f"
|
|
74
74
|
}
|
package/src/demos/CardDemos.md
CHANGED
|
@@ -8,7 +8,7 @@ import InfoCircleIcon from '@patternfly/react-icons/dist/js/icons/info-circle-ic
|
|
|
8
8
|
import ArrowRightIcon from '@patternfly/react-icons/dist/js/icons/arrow-right-icon';
|
|
9
9
|
import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
10
10
|
import { CheckCircleIcon, ExclamationCircleIcon, ExclamationTriangleIcon, TimesCircleIcon, BellIcon } from '@patternfly/react-icons';
|
|
11
|
-
import {
|
|
11
|
+
import { Table, Thead, Tbody, Tr, Th, Td, ExpandableRowContent } from '@patternfly/react-table';
|
|
12
12
|
import { Chart, ChartAxis, ChartGroup, ChartVoronoiContainer, ChartStack, ChartBar, ChartTooltip, ChartDonutThreshold, ChartDonutUtilization, ChartArea, ChartContainer, ChartLabel } from '@patternfly/react-charts';
|
|
13
13
|
import chart_color_gold_100 from '@patternfly/react-tokens/dist/esm/chart_color_gold_100';
|
|
14
14
|
import chart_color_gold_300 from '@patternfly/react-tokens/dist/esm/chart_color_gold_300';
|
|
@@ -655,7 +655,7 @@ import {
|
|
|
655
655
|
Popover,
|
|
656
656
|
Title
|
|
657
657
|
} from '@patternfly/react-core';
|
|
658
|
-
import {
|
|
658
|
+
import { Table, Thead, Tbody, Tr, Th, Td, ExpandableRowContent } from '@patternfly/react-table';
|
|
659
659
|
import BellIcon from '@patternfly/react-icons/dist/js/icons/bell-icon';
|
|
660
660
|
import CheckCircleIcon from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
661
661
|
import ExclamationCircleIcon from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
@@ -723,7 +723,7 @@ const StatusPlain: React.FunctionComponent = () => {
|
|
|
723
723
|
<div>
|
|
724
724
|
Components of the Control Panel are responsible for maintaining and reconciling the state of the cluster.
|
|
725
725
|
</div>
|
|
726
|
-
<
|
|
726
|
+
<Table variant="compact">
|
|
727
727
|
<Thead>
|
|
728
728
|
<Tr>
|
|
729
729
|
<Th />
|
|
@@ -762,7 +762,7 @@ const StatusPlain: React.FunctionComponent = () => {
|
|
|
762
762
|
</Tbody>
|
|
763
763
|
);
|
|
764
764
|
})}
|
|
765
|
-
</
|
|
765
|
+
</Table>
|
|
766
766
|
</>
|
|
767
767
|
);
|
|
768
768
|
|
|
@@ -32,7 +32,7 @@ ToolbarToggleGroup
|
|
|
32
32
|
} from '@patternfly/react-core';
|
|
33
33
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
34
34
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
35
|
-
import {
|
|
35
|
+
import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
36
36
|
|
|
37
37
|
## Filtering demos
|
|
38
38
|
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
EmptyStateActions,
|
|
26
26
|
EmptyStateIcon
|
|
27
27
|
} from '@patternfly/react-core';
|
|
28
|
-
import {
|
|
28
|
+
import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
29
29
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
30
30
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
31
31
|
|
|
@@ -649,7 +649,7 @@ export const FilterAttributeSearch: React.FunctionComponent = () => {
|
|
|
649
649
|
return (
|
|
650
650
|
<React.Fragment>
|
|
651
651
|
{toolbar}
|
|
652
|
-
<
|
|
652
|
+
<Table aria-label="Selectable table">
|
|
653
653
|
<Thead>
|
|
654
654
|
<Tr>
|
|
655
655
|
<Th />
|
|
@@ -701,7 +701,7 @@ export const FilterAttributeSearch: React.FunctionComponent = () => {
|
|
|
701
701
|
</Tr>
|
|
702
702
|
)}
|
|
703
703
|
</Tbody>
|
|
704
|
-
</
|
|
704
|
+
</Table>
|
|
705
705
|
</React.Fragment>
|
|
706
706
|
);
|
|
707
707
|
};
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
Badge,
|
|
16
16
|
Pagination
|
|
17
17
|
} from '@patternfly/react-core';
|
|
18
|
-
import {
|
|
18
|
+
import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
19
19
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
20
20
|
|
|
21
21
|
interface Repository {
|
|
@@ -375,7 +375,7 @@ export const FilterCheckboxSelect: React.FunctionComponent = () => {
|
|
|
375
375
|
return (
|
|
376
376
|
<React.Fragment>
|
|
377
377
|
{toolbar}
|
|
378
|
-
<
|
|
378
|
+
<Table aria-label="Selectable table">
|
|
379
379
|
<Thead>
|
|
380
380
|
<Tr>
|
|
381
381
|
<Th />
|
|
@@ -419,7 +419,7 @@ export const FilterCheckboxSelect: React.FunctionComponent = () => {
|
|
|
419
419
|
</Tr>
|
|
420
420
|
))}
|
|
421
421
|
</Tbody>
|
|
422
|
-
</
|
|
422
|
+
</Table>
|
|
423
423
|
</React.Fragment>
|
|
424
424
|
);
|
|
425
425
|
};
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
EmptyStateIcon,
|
|
25
25
|
EmptyStateActions
|
|
26
26
|
} from '@patternfly/react-core';
|
|
27
|
-
import {
|
|
27
|
+
import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
28
28
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
29
29
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
30
30
|
|
|
@@ -465,7 +465,7 @@ export const FilterFaceted: React.FunctionComponent = () => {
|
|
|
465
465
|
return (
|
|
466
466
|
<React.Fragment>
|
|
467
467
|
{toolbar}
|
|
468
|
-
<
|
|
468
|
+
<Table aria-label="Selectable table">
|
|
469
469
|
<Thead>
|
|
470
470
|
<Tr>
|
|
471
471
|
<Th />
|
|
@@ -517,7 +517,7 @@ export const FilterFaceted: React.FunctionComponent = () => {
|
|
|
517
517
|
</Tr>
|
|
518
518
|
)}
|
|
519
519
|
</Tbody>
|
|
520
|
-
</
|
|
520
|
+
</Table>
|
|
521
521
|
</React.Fragment>
|
|
522
522
|
);
|
|
523
523
|
};
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
EmptyStateIcon,
|
|
24
24
|
EmptyStateActions
|
|
25
25
|
} from '@patternfly/react-core';
|
|
26
|
-
import {
|
|
26
|
+
import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
27
27
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
28
28
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
29
29
|
|
|
@@ -515,7 +515,7 @@ export const FilterMixedSelectGroup: React.FunctionComponent = () => {
|
|
|
515
515
|
return (
|
|
516
516
|
<React.Fragment>
|
|
517
517
|
{toolbar}
|
|
518
|
-
<
|
|
518
|
+
<Table aria-label="Selectable table">
|
|
519
519
|
<Thead>
|
|
520
520
|
<Tr>
|
|
521
521
|
<Th />
|
|
@@ -567,7 +567,7 @@ export const FilterMixedSelectGroup: React.FunctionComponent = () => {
|
|
|
567
567
|
</Tr>
|
|
568
568
|
)}
|
|
569
569
|
</Tbody>
|
|
570
|
-
</
|
|
570
|
+
</Table>
|
|
571
571
|
</React.Fragment>
|
|
572
572
|
);
|
|
573
573
|
};
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
EmptyStateIcon,
|
|
22
22
|
EmptyStateActions
|
|
23
23
|
} from '@patternfly/react-core';
|
|
24
|
-
import {
|
|
24
|
+
import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
25
25
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
26
26
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
27
27
|
|
|
@@ -488,7 +488,7 @@ export const FilterSameSelectGroup: React.FunctionComponent = () => {
|
|
|
488
488
|
return (
|
|
489
489
|
<React.Fragment>
|
|
490
490
|
{toolbar}
|
|
491
|
-
<
|
|
491
|
+
<Table aria-label="Selectable table">
|
|
492
492
|
<Thead>
|
|
493
493
|
<Tr>
|
|
494
494
|
<Th />
|
|
@@ -540,7 +540,7 @@ export const FilterSameSelectGroup: React.FunctionComponent = () => {
|
|
|
540
540
|
</Tr>
|
|
541
541
|
)}
|
|
542
542
|
</Tbody>
|
|
543
|
-
</
|
|
543
|
+
</Table>
|
|
544
544
|
</React.Fragment>
|
|
545
545
|
);
|
|
546
546
|
};
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
EmptyStateIcon,
|
|
22
22
|
EmptyStateActions
|
|
23
23
|
} from '@patternfly/react-core';
|
|
24
|
-
import {
|
|
24
|
+
import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
25
25
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
26
26
|
|
|
27
27
|
interface Repository {
|
|
@@ -296,7 +296,7 @@ export const FilterSearchInput: React.FunctionComponent = () => {
|
|
|
296
296
|
return (
|
|
297
297
|
<React.Fragment>
|
|
298
298
|
{toolbar}
|
|
299
|
-
<
|
|
299
|
+
<Table aria-label="Selectable table">
|
|
300
300
|
<Thead>
|
|
301
301
|
<Tr>
|
|
302
302
|
<Th />
|
|
@@ -348,7 +348,7 @@ export const FilterSearchInput: React.FunctionComponent = () => {
|
|
|
348
348
|
</Tr>
|
|
349
349
|
)}
|
|
350
350
|
</Tbody>
|
|
351
|
-
</
|
|
351
|
+
</Table>
|
|
352
352
|
</React.Fragment>
|
|
353
353
|
);
|
|
354
354
|
};
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
ToolbarItem,
|
|
13
13
|
Pagination
|
|
14
14
|
} from '@patternfly/react-core';
|
|
15
|
-
import {
|
|
15
|
+
import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
16
16
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
17
17
|
|
|
18
18
|
interface Repository {
|
|
@@ -360,7 +360,7 @@ export const FilterSingleSelect: React.FunctionComponent = () => {
|
|
|
360
360
|
return (
|
|
361
361
|
<React.Fragment>
|
|
362
362
|
{toolbar}
|
|
363
|
-
<
|
|
363
|
+
<Table aria-label="Selectable table">
|
|
364
364
|
<Thead>
|
|
365
365
|
<Tr>
|
|
366
366
|
<Th />
|
|
@@ -404,7 +404,7 @@ export const FilterSingleSelect: React.FunctionComponent = () => {
|
|
|
404
404
|
</Tr>
|
|
405
405
|
))}
|
|
406
406
|
</Tbody>
|
|
407
|
-
</
|
|
407
|
+
</Table>
|
|
408
408
|
</React.Fragment>
|
|
409
409
|
);
|
|
410
410
|
};
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
ToolbarToggleGroup
|
|
42
42
|
} from '@patternfly/react-core';
|
|
43
43
|
import {
|
|
44
|
-
|
|
44
|
+
Table,
|
|
45
45
|
Thead,
|
|
46
46
|
Tbody,
|
|
47
47
|
Tr,
|
|
@@ -209,8 +209,8 @@ export const TablesAndTabs = () => {
|
|
|
209
209
|
</Toolbar>
|
|
210
210
|
);
|
|
211
211
|
|
|
212
|
-
const
|
|
213
|
-
<
|
|
212
|
+
const table = (
|
|
213
|
+
<Table aria-label="`Composable` table">
|
|
214
214
|
<Thead noWrap>
|
|
215
215
|
<Tr>
|
|
216
216
|
<Th
|
|
@@ -284,7 +284,7 @@ export const TablesAndTabs = () => {
|
|
|
284
284
|
</Tr>
|
|
285
285
|
))}
|
|
286
286
|
</Tbody>
|
|
287
|
-
</
|
|
287
|
+
</Table>
|
|
288
288
|
);
|
|
289
289
|
|
|
290
290
|
const panelContent = (
|
|
@@ -375,7 +375,7 @@ export const TablesAndTabs = () => {
|
|
|
375
375
|
const tabContent = (
|
|
376
376
|
<Drawer isExpanded={isExpanded} isInline>
|
|
377
377
|
<DrawerContent panelContent={panelContent}>
|
|
378
|
-
<DrawerContentBody>{
|
|
378
|
+
<DrawerContentBody>{table}</DrawerContentBody>
|
|
379
379
|
</DrawerContent>
|
|
380
380
|
</Drawer>
|
|
381
381
|
);
|