@patternfly/react-table 6.6.0-prerelease.6 → 6.6.0-prerelease.8
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 +12 -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/components/Table/ActionsColumn.js +2 -2
- package/dist/esm/components/Table/ActionsColumn.js.map +1 -1
- package/dist/esm/components/Table/DraggableCell.js +2 -2
- package/dist/esm/components/Table/DraggableCell.js.map +1 -1
- package/dist/esm/components/Table/EditColumn.js +2 -2
- package/dist/esm/components/Table/EditColumn.js.map +1 -1
- package/dist/esm/components/Table/utils/decorators/treeRow.js +2 -2
- package/dist/esm/components/Table/utils/decorators/treeRow.js.map +1 -1
- package/dist/esm/demos/DashboardHeader.js +2 -2
- package/dist/esm/demos/DashboardHeader.js.map +1 -1
- package/dist/js/components/Table/ActionsColumn.js +2 -2
- package/dist/js/components/Table/ActionsColumn.js.map +1 -1
- package/dist/js/components/Table/DraggableCell.js +2 -2
- package/dist/js/components/Table/DraggableCell.js.map +1 -1
- package/dist/js/components/Table/EditColumn.js +2 -2
- package/dist/js/components/Table/EditColumn.js.map +1 -1
- package/dist/js/components/Table/utils/decorators/treeRow.js +2 -2
- package/dist/js/components/Table/utils/decorators/treeRow.js.map +1 -1
- package/dist/js/demos/DashboardHeader.js +2 -2
- package/dist/js/demos/DashboardHeader.js.map +1 -1
- package/dist/umd/assets/{output-DIYZoG2z.css → output-DQ9xDMCt.css} +6508 -6469
- package/dist/umd/react-table.min.js +2 -2
- package/package.json +6 -6
- package/src/components/Table/ActionsColumn.tsx +2 -2
- package/src/components/Table/DraggableCell.tsx +2 -2
- package/src/components/Table/EditColumn.tsx +2 -2
- package/src/components/Table/examples/Table.md +5 -5
- package/src/components/Table/examples/TableActionsOverflow.tsx +2 -2
- package/src/components/Table/examples/TableCompoundExpandable.tsx +4 -4
- package/src/components/Table/examples/TableEditable.tsx +2 -2
- package/src/components/Table/examples/TableSortableCustom.tsx +2 -2
- package/src/components/Table/utils/decorators/treeRow.tsx +2 -2
- package/src/demos/DashboardHeader.tsx +3 -3
- package/src/demos/Table.md +4 -4
- package/src/demos/examples/TableColumnManagement.tsx +2 -2
- package/src/demos/examples/TableColumnManagementWithDraggable.tsx +2 -2
- package/src/demos/examples/TableCompoundExpansion.tsx +4 -4
- package/src/demos/examples/TableSortableResponsive.tsx +8 -8
- package/src/deprecated/components/Table/__tests__/__snapshots__/Table.test.tsx.snap +84 -336
- package/src/deprecated/components/Table/examples/LegacyTableCompoundExpandable.tsx +4 -4
- package/src/deprecated/components/Table/examples/LegacyTableSortableCustom.tsx +2 -2
- package/src/deprecated/components/Table/examples/Table.md +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "6.6.0-prerelease.
|
|
3
|
+
"version": "6.6.0-prerelease.8",
|
|
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,10 +40,10 @@
|
|
|
40
40
|
"subpaths": "node ../../scripts/exportSubpaths.mjs --config subpaths.config.json"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@patternfly/react-core": "^6.6.0-prerelease.
|
|
44
|
-
"@patternfly/react-icons": "^6.6.0-prerelease.
|
|
45
|
-
"@patternfly/react-styles": "^6.6.0-prerelease.
|
|
46
|
-
"@patternfly/react-tokens": "^6.6.0-prerelease.
|
|
43
|
+
"@patternfly/react-core": "^6.6.0-prerelease.8",
|
|
44
|
+
"@patternfly/react-icons": "^6.6.0-prerelease.3",
|
|
45
|
+
"@patternfly/react-styles": "^6.6.0-prerelease.3",
|
|
46
|
+
"@patternfly/react-tokens": "^6.6.0-prerelease.3",
|
|
47
47
|
"lodash": "^4.18.1",
|
|
48
48
|
"tslib": "^2.8.1"
|
|
49
49
|
},
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"react": "^17 || ^18 || ^19",
|
|
52
52
|
"react-dom": "^17 || ^18 || ^19"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "6403b82a97c1ff1ec98902e3c6f1998233f88dbd"
|
|
55
55
|
}
|
|
@@ -4,7 +4,7 @@ import { Button } from '@patternfly/react-core/dist/esm/components/Button';
|
|
|
4
4
|
import { Divider } from '@patternfly/react-core/dist/esm/components/Divider';
|
|
5
5
|
import { MenuToggle } from '@patternfly/react-core/dist/esm/components/MenuToggle';
|
|
6
6
|
import { IAction, IExtraData, IRowData } from './TableTypes';
|
|
7
|
-
import
|
|
7
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
8
8
|
import { Tooltip } from '@patternfly/react-core/dist/esm/components/Tooltip';
|
|
9
9
|
|
|
10
10
|
export interface CustomActionsToggleProps {
|
|
@@ -105,7 +105,7 @@ const ActionsColumnBase: React.FunctionComponent<ActionsColumnProps> = ({
|
|
|
105
105
|
isExpanded={isOpen}
|
|
106
106
|
isDisabled={isDisabled}
|
|
107
107
|
variant="plain"
|
|
108
|
-
icon={<
|
|
108
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
109
109
|
/>
|
|
110
110
|
)
|
|
111
111
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import RhUiGripVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-grip-vertical-fill-icon';
|
|
2
2
|
import { Button } from '@patternfly/react-core/dist/esm/components/Button';
|
|
3
3
|
|
|
4
4
|
export interface DraggableCellProps {
|
|
@@ -23,7 +23,7 @@ export const DraggableCell: React.FunctionComponent<DraggableCellProps> = ({
|
|
|
23
23
|
aria-label={ariaLabel || `Draggable row draggable button`}
|
|
24
24
|
onClick={onClick}
|
|
25
25
|
{...props}
|
|
26
|
-
icon={<
|
|
26
|
+
icon={<RhUiGripVerticalFillIcon />}
|
|
27
27
|
/>
|
|
28
28
|
);
|
|
29
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment } from 'react';
|
|
2
2
|
import { Button } from '@patternfly/react-core/dist/esm/components/Button';
|
|
3
|
-
import
|
|
3
|
+
import RhUiEditFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-edit-fill-icon';
|
|
4
4
|
import CheckIcon from '@patternfly/react-icons/dist/esm/icons/check-icon';
|
|
5
5
|
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
6
6
|
import { OnRowEdit } from './TableTypes';
|
|
@@ -57,7 +57,7 @@ export const EditColumn: React.FunctionComponent<EditColumnProps> = ({
|
|
|
57
57
|
{...props}
|
|
58
58
|
onClick={(e) => onClick(e, 'edit')}
|
|
59
59
|
variant="plain"
|
|
60
|
-
icon={<
|
|
60
|
+
icon={<RhUiEditFillIcon />}
|
|
61
61
|
/>
|
|
62
62
|
</div>
|
|
63
63
|
</Fragment>
|
|
@@ -43,16 +43,16 @@ The documentation for the deprecated table implementation can be found under the
|
|
|
43
43
|
|
|
44
44
|
import { Fragment, isValidElement, useCallback, useEffect, useRef, useState, useLayoutEffect } from 'react';
|
|
45
45
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
46
|
-
import
|
|
47
|
-
import
|
|
46
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
47
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
48
48
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
49
49
|
import LeafIcon from '@patternfly/react-icons/dist/esm/icons/leaf-icon';
|
|
50
50
|
import FolderIcon from '@patternfly/react-icons/dist/esm/icons/folder-icon';
|
|
51
51
|
import FolderOpenIcon from '@patternfly/react-icons/dist/esm/icons/folder-open-icon';
|
|
52
|
-
import
|
|
52
|
+
import RhMicronsSortDownLargeToSmallIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-large-to-small-icon';
|
|
53
53
|
import RhUiBlueprintIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-blueprint-icon';
|
|
54
|
-
import
|
|
55
|
-
import
|
|
54
|
+
import RhUiEditFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-edit-fill-icon';
|
|
55
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
56
56
|
import CheckIcon from '@patternfly/react-icons/dist/esm/icons/check-icon';
|
|
57
57
|
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
58
58
|
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
DropdownList
|
|
13
13
|
} from '@patternfly/react-core';
|
|
14
14
|
import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
15
|
-
import
|
|
15
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
16
16
|
|
|
17
17
|
interface Repository {
|
|
18
18
|
name: string;
|
|
@@ -105,7 +105,7 @@ export const TableActions: React.FunctionComponent = () => {
|
|
|
105
105
|
setRepos(repos.map((r) => (r.name !== repo.name ? r : { ...r, isMenuOpen: !r.isMenuOpen })))
|
|
106
106
|
}
|
|
107
107
|
isExpanded={repo.isMenuOpen}
|
|
108
|
-
icon={<
|
|
108
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
109
109
|
/>
|
|
110
110
|
)}
|
|
111
111
|
isOpen={repo.isMenuOpen}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Table, Thead, Tr, Th, Tbody, Td, TdProps, ExpandableRowContent } from '@patternfly/react-table';
|
|
3
3
|
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
5
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
6
6
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
7
7
|
|
|
8
8
|
interface Repository {
|
|
@@ -83,14 +83,14 @@ export const TableCompoundExpandable: React.FunctionComponent = () => {
|
|
|
83
83
|
dataLabel={columnNames.branches}
|
|
84
84
|
compoundExpand={compoundExpandParams(repo, 'branches', rowIndex, 1)}
|
|
85
85
|
>
|
|
86
|
-
<
|
|
86
|
+
<RhUiBranchFillIcon key="icon" /> {repo.branches}
|
|
87
87
|
</Td>
|
|
88
88
|
<Td
|
|
89
89
|
width={10}
|
|
90
90
|
dataLabel={columnNames.prs}
|
|
91
91
|
compoundExpand={compoundExpandParams(repo, 'prs', rowIndex, 2)}
|
|
92
92
|
>
|
|
93
|
-
<
|
|
93
|
+
<RhUiCodeIcon key="icon" /> {repo.prs}
|
|
94
94
|
</Td>
|
|
95
95
|
<Td
|
|
96
96
|
width={10}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isValidElement, useRef, useState } from 'react';
|
|
2
2
|
import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
3
3
|
import { Button, Checkbox, Radio, TextInput, KeyTypes, getUniqueId } from '@patternfly/react-core';
|
|
4
|
-
import
|
|
4
|
+
import RhUiEditFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-edit-fill-icon';
|
|
5
5
|
import CheckIcon from '@patternfly/react-icons/dist/esm/icons/check-icon';
|
|
6
6
|
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
7
7
|
import inlineEditStyles from '@patternfly/react-styles/css/components/InlineEdit/inline-edit';
|
|
@@ -75,7 +75,7 @@ const EditButtonsCell: React.FunctionComponent<EditButtonsCellProps> = ({
|
|
|
75
75
|
onKeyDown={(event) => onKeyDown(event, 'edit')}
|
|
76
76
|
variant="plain"
|
|
77
77
|
>
|
|
78
|
-
<
|
|
78
|
+
<RhUiEditFillIcon />
|
|
79
79
|
</Button>
|
|
80
80
|
</Td>
|
|
81
81
|
</>
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
MenuToggle,
|
|
12
12
|
MenuToggleElement
|
|
13
13
|
} from '@patternfly/react-core';
|
|
14
|
-
import
|
|
14
|
+
import RhMicronsSortDownLargeToSmallIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-large-to-small-icon';
|
|
15
15
|
|
|
16
16
|
interface Repository {
|
|
17
17
|
name: string;
|
|
@@ -117,7 +117,7 @@ export const TableSortableCustom: React.FunctionComponent = () => {
|
|
|
117
117
|
isExpanded={isSortDropdownOpen}
|
|
118
118
|
variant="plain"
|
|
119
119
|
aria-label="Sort columns"
|
|
120
|
-
icon={<
|
|
120
|
+
icon={<RhMicronsSortDownLargeToSmallIcon />}
|
|
121
121
|
/>
|
|
122
122
|
)}
|
|
123
123
|
>
|
|
@@ -5,7 +5,7 @@ import stylesTreeView from '@patternfly/react-styles/css/components/Table/table-
|
|
|
5
5
|
import { Button } from '@patternfly/react-core/dist/esm/components/Button';
|
|
6
6
|
import { Checkbox } from '@patternfly/react-core/dist/esm/components/Checkbox';
|
|
7
7
|
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
8
|
-
import
|
|
8
|
+
import RhUiEllipsisHorizontalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-horizontal-fill-icon';
|
|
9
9
|
|
|
10
10
|
export const treeRow =
|
|
11
11
|
(onCollapse: OnTreeRowCollapse, onCheckChange?: OnCheckChange, onToggleRowDetails?: OnToggleRowDetails) =>
|
|
@@ -84,7 +84,7 @@ export const treeRow =
|
|
|
84
84
|
}
|
|
85
85
|
icon={
|
|
86
86
|
<span className={`${styles.table}__details-toggle-icon`}>
|
|
87
|
-
<
|
|
87
|
+
<RhUiEllipsisHorizontalFillIcon />
|
|
88
88
|
</span>
|
|
89
89
|
}
|
|
90
90
|
/>
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
27
27
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
28
28
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
29
|
-
import
|
|
29
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
30
30
|
import imgAvatar from '@patternfly/react-table/src/demos/assets/avatarImg.svg';
|
|
31
31
|
|
|
32
32
|
interface DashboardHeaderProps {
|
|
@@ -175,7 +175,7 @@ export const DashboardHeader: React.FC<DashboardHeaderProps> = ({ notificationBa
|
|
|
175
175
|
onClick={onKebabDropdownToggle}
|
|
176
176
|
variant="plain"
|
|
177
177
|
aria-label="Settings and help"
|
|
178
|
-
icon={<
|
|
178
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
179
179
|
/>
|
|
180
180
|
)}
|
|
181
181
|
>
|
|
@@ -195,7 +195,7 @@ export const DashboardHeader: React.FC<DashboardHeaderProps> = ({ notificationBa
|
|
|
195
195
|
onClick={onFullKebabToggle}
|
|
196
196
|
variant="plain"
|
|
197
197
|
aria-label="Toolbar menu"
|
|
198
|
-
icon={<
|
|
198
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
199
199
|
/>
|
|
200
200
|
)}
|
|
201
201
|
>
|
package/src/demos/Table.md
CHANGED
|
@@ -50,12 +50,12 @@ ModalFooter,
|
|
|
50
50
|
import { DragDropSort } from '@patternfly/react-drag-drop';
|
|
51
51
|
import CheckIcon from '@patternfly/react-icons/dist/esm/icons/check-icon';
|
|
52
52
|
import CloneIcon from '@patternfly/react-icons/dist/esm/icons/clone-icon';
|
|
53
|
-
import
|
|
54
|
-
import
|
|
53
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
54
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
55
55
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
56
56
|
import EditIcon from '@patternfly/react-icons/dist/esm/icons/edit-icon';
|
|
57
57
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
58
|
-
import
|
|
58
|
+
import RhMicronsSortDownLargeToSmallIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-large-to-small-icon';
|
|
59
59
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
60
60
|
import SyncIcon from '@patternfly/react-icons/dist/esm/icons/sync-icon';
|
|
61
61
|
import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
|
|
@@ -66,7 +66,7 @@ import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-mi
|
|
|
66
66
|
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
|
|
67
67
|
import RhUiBlueprintIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-blueprint-icon';
|
|
68
68
|
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
69
|
-
import
|
|
69
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
70
70
|
import { DashboardWrapper } from '@patternfly/react-table/dist/esm/demos/DashboardWrapper';
|
|
71
71
|
import { rows, columns } from '@patternfly/react-table/dist/esm/demos/sampleData';
|
|
72
72
|
import spacing from '@patternfly/react-styles/css/utilities/Spacing/spacing';
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from '@patternfly/react-core';
|
|
28
28
|
import { Table, TableText, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
29
29
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
30
|
-
import
|
|
30
|
+
import RhMicronsSortDownLargeToSmallIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-large-to-small-icon';
|
|
31
31
|
import { DashboardWrapper } from '@patternfly/react-table/dist/esm/demos/DashboardWrapper';
|
|
32
32
|
import { capitalize } from '@patternfly/react-table/src/components/Table/utils/utils';
|
|
33
33
|
import { rows, columns, SampleDataRow } from '@patternfly/react-table/dist/esm/demos/sampleData';
|
|
@@ -414,7 +414,7 @@ export const TableColumnManagement: React.FunctionComponent = () => {
|
|
|
414
414
|
<MenuToggle icon={<FilterIcon />}>Name</MenuToggle>
|
|
415
415
|
</OverflowMenuItem>
|
|
416
416
|
<OverflowMenuItem>
|
|
417
|
-
<MenuToggle variant="plain" aria-label="Sort columns" icon={<
|
|
417
|
+
<MenuToggle variant="plain" aria-label="Sort columns" icon={<RhMicronsSortDownLargeToSmallIcon />} />
|
|
418
418
|
</OverflowMenuItem>
|
|
419
419
|
<OverflowMenuGroup groupType="button" isPersistent>
|
|
420
420
|
<OverflowMenuItem>
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import { Table, TableText, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
28
28
|
import { DragDropSort } from '@patternfly/react-drag-drop';
|
|
29
29
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
30
|
-
import
|
|
30
|
+
import RhMicronsSortDownLargeToSmallIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-large-to-small-icon';
|
|
31
31
|
import { DashboardWrapper } from '@patternfly/react-table/dist/esm/demos/DashboardWrapper';
|
|
32
32
|
import { capitalize } from '@patternfly/react-table/src/components/Table/utils/utils';
|
|
33
33
|
import { rows, columns, SampleDataRow } from '@patternfly/react-table/dist/esm/demos/sampleData';
|
|
@@ -312,7 +312,7 @@ export const TableColumnManagement: React.FunctionComponent = () => {
|
|
|
312
312
|
<MenuToggle
|
|
313
313
|
variant="plain"
|
|
314
314
|
aria-label="Sort columns"
|
|
315
|
-
icon={<
|
|
315
|
+
icon={<RhMicronsSortDownLargeToSmallIcon aria-hidden="true" />}
|
|
316
316
|
/>
|
|
317
317
|
</OverflowMenuItem>
|
|
318
318
|
<OverflowMenuGroup groupType="button" isPersistent>
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
SelectOption,
|
|
17
17
|
PaginationVariant
|
|
18
18
|
} from '@patternfly/react-core';
|
|
19
|
-
import
|
|
20
|
-
import
|
|
19
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
20
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
21
21
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
22
22
|
import { DashboardWrapper } from '@patternfly/react-table/dist/esm/demos/DashboardWrapper';
|
|
23
23
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
@@ -226,7 +226,7 @@ export const TableCompoundExpansion: React.FunctionComponent = () => {
|
|
|
226
226
|
>
|
|
227
227
|
<Flex spaceItems={{ default: 'spaceItemsSm' }}>
|
|
228
228
|
<FlexItem>
|
|
229
|
-
<
|
|
229
|
+
<RhUiBranchFillIcon key="icon" />
|
|
230
230
|
</FlexItem>
|
|
231
231
|
<FlexItem>{repo.branches}</FlexItem>
|
|
232
232
|
</Flex>
|
|
@@ -234,7 +234,7 @@ export const TableCompoundExpansion: React.FunctionComponent = () => {
|
|
|
234
234
|
<Td dataLabel={columnNames.prs} compoundExpand={compoundExpandParams(repo, 'prs', rowIndex, 2)}>
|
|
235
235
|
<Flex spaceItems={{ default: 'spaceItemsSm' }}>
|
|
236
236
|
<FlexItem>
|
|
237
|
-
<
|
|
237
|
+
<RhUiCodeIcon key="icon" />
|
|
238
238
|
</FlexItem>
|
|
239
239
|
<FlexItem>{repo.prs}</FlexItem>
|
|
240
240
|
</Flex>{' '}
|
|
@@ -32,12 +32,12 @@ import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
|
|
|
32
32
|
import CloneIcon from '@patternfly/react-icons/dist/esm/icons/clone-icon';
|
|
33
33
|
import EditIcon from '@patternfly/react-icons/dist/esm/icons/edit-icon';
|
|
34
34
|
import SyncIcon from '@patternfly/react-icons/dist/esm/icons/sync-icon';
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
35
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
36
|
+
import RhMicronsSortDownLargeToSmallIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-large-to-small-icon';
|
|
37
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
38
38
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
39
39
|
import { DashboardWrapper } from '@patternfly/react-table/dist/esm/demos/DashboardWrapper';
|
|
40
|
-
import
|
|
40
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
41
41
|
import { rows, columns, SampleDataRow } from '@patternfly/react-table/dist/esm/demos/sampleData';
|
|
42
42
|
|
|
43
43
|
type Direction = 'asc' | 'desc' | undefined;
|
|
@@ -151,7 +151,7 @@ export const TableSortableResponsive: React.FunctionComponent = () => {
|
|
|
151
151
|
onClick={() => setIsSortDropdownOpen(!isSortDropdownOpen)}
|
|
152
152
|
isExpanded={isSortDropdownOpen}
|
|
153
153
|
variant="plain"
|
|
154
|
-
icon={<
|
|
154
|
+
icon={<RhMicronsSortDownLargeToSmallIcon />}
|
|
155
155
|
/>
|
|
156
156
|
)}
|
|
157
157
|
>
|
|
@@ -199,7 +199,7 @@ export const TableSortableResponsive: React.FunctionComponent = () => {
|
|
|
199
199
|
variant="plain"
|
|
200
200
|
onClick={() => setIsKebabDropdownOpen(!isKebabDropdownOpen)}
|
|
201
201
|
isExpanded={false}
|
|
202
|
-
icon={<
|
|
202
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
203
203
|
/>
|
|
204
204
|
)}
|
|
205
205
|
isOpen={isKebabDropdownOpen}
|
|
@@ -277,7 +277,7 @@ export const TableSortableResponsive: React.FunctionComponent = () => {
|
|
|
277
277
|
<Td dataLabel={columns[1]} width={10}>
|
|
278
278
|
<Flex spaceItems={{ default: 'spaceItemsSm' }}>
|
|
279
279
|
<FlexItem>
|
|
280
|
-
<
|
|
280
|
+
<RhUiBranchFillIcon key="icon" />
|
|
281
281
|
</FlexItem>
|
|
282
282
|
<FlexItem>{row.threads}</FlexItem>
|
|
283
283
|
</Flex>
|
|
@@ -285,7 +285,7 @@ export const TableSortableResponsive: React.FunctionComponent = () => {
|
|
|
285
285
|
<Td dataLabel={columns[2]} width={10}>
|
|
286
286
|
<Flex spaceItems={{ default: 'spaceItemsSm' }}>
|
|
287
287
|
<FlexItem>
|
|
288
|
-
<
|
|
288
|
+
<RhUiCodeIcon key="icon" />
|
|
289
289
|
</FlexItem>
|
|
290
290
|
<FlexItem>{row.applications}</FlexItem>
|
|
291
291
|
</Flex>
|