@patternfly/react-table 6.5.0-prerelease.64 → 6.5.0-prerelease.65
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/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/utils/decorators/sortable.js +2 -2
- package/dist/esm/components/Table/utils/decorators/sortable.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/utils/decorators/sortable.js +2 -2
- package/dist/js/components/Table/utils/decorators/sortable.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-iWEQIQSb.css → output-B1PgiQNd.css} +3787 -3787
- package/dist/umd/react-table.min.js +2 -2
- package/package.json +4 -4
- package/src/components/Table/examples/Table.md +1 -1
- package/src/components/Table/examples/TableMultipleStickyColumns.tsx +2 -2
- package/src/components/Table/examples/TableStickyColumnsAndHeader.tsx +2 -2
- package/src/components/Table/examples/TableStickyHeaderDynamic.tsx +2 -2
- package/src/components/Table/utils/decorators/sortable.tsx +2 -2
- package/src/demos/DashboardHeader.tsx +2 -2
- package/src/demos/Table.md +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "6.5.0-prerelease.
|
|
3
|
+
"version": "6.5.0-prerelease.65",
|
|
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,8 +40,8 @@
|
|
|
40
40
|
"subpaths": "node ../../scripts/exportSubpaths.mjs --config subpaths.config.json"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@patternfly/react-core": "^6.5.0-prerelease.
|
|
44
|
-
"@patternfly/react-icons": "^6.5.0-prerelease.
|
|
43
|
+
"@patternfly/react-core": "^6.5.0-prerelease.62",
|
|
44
|
+
"@patternfly/react-icons": "^6.5.0-prerelease.27",
|
|
45
45
|
"@patternfly/react-styles": "^6.5.0-prerelease.20",
|
|
46
46
|
"@patternfly/react-tokens": "^6.5.0-prerelease.19",
|
|
47
47
|
"lodash": "^4.18.1",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"react": "^17 || ^18 || ^19",
|
|
52
52
|
"react-dom": "^17 || ^18 || ^19"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "be84c3eebc2aeff7b86dc28b4a553ad140553c3a"
|
|
55
55
|
}
|
|
@@ -50,7 +50,7 @@ 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
52
|
import SortAmountDownIcon from '@patternfly/react-icons/dist/esm/icons/sort-amount-down-icon';
|
|
53
|
-
import
|
|
53
|
+
import RhUiBlueprintIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-blueprint-icon';
|
|
54
54
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
55
55
|
import PencilAltIcon from '@patternfly/react-icons/dist/esm/icons/pencil-alt-icon';
|
|
56
56
|
import CheckIcon from '@patternfly/react-icons/dist/esm/icons/check-icon';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Table, Thead, Tr, Th, Tbody, Td, InnerScrollContainer, ThProps } from '@patternfly/react-table';
|
|
3
|
-
import
|
|
3
|
+
import RhUiBlueprintIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-blueprint-icon';
|
|
4
4
|
|
|
5
5
|
interface Fact {
|
|
6
6
|
name: string;
|
|
@@ -120,7 +120,7 @@ export const TableMultipleStickyColumns: React.FunctionComponent = () => {
|
|
|
120
120
|
{fact.name}
|
|
121
121
|
</Th>
|
|
122
122
|
<Th isStickyColumn stickyMinWidth="120px" stickyLeftOffset="120px" modifier="truncate" hasRightBorder>
|
|
123
|
-
<
|
|
123
|
+
<RhUiBlueprintIcon />
|
|
124
124
|
{` ${fact.state}`}
|
|
125
125
|
</Th>
|
|
126
126
|
<Td modifier="nowrap" dataLabel={columnNames.header3}>
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ThProps,
|
|
12
12
|
ISortBy
|
|
13
13
|
} from '@patternfly/react-table';
|
|
14
|
-
import
|
|
14
|
+
import RhUiBlueprintIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-blueprint-icon';
|
|
15
15
|
|
|
16
16
|
interface Fact {
|
|
17
17
|
name: string;
|
|
@@ -133,7 +133,7 @@ export const TableStickyColumnsAndHeader: React.FunctionComponent = () => {
|
|
|
133
133
|
{fact.name}
|
|
134
134
|
</Th>
|
|
135
135
|
<Th isStickyColumn stickyMinWidth="120px" stickyLeftOffset="120px" modifier="truncate" hasRightBorder>
|
|
136
|
-
<
|
|
136
|
+
<RhUiBlueprintIcon />
|
|
137
137
|
{` ${fact.state}`}
|
|
138
138
|
</Th>
|
|
139
139
|
<Td modifier="nowrap" dataLabel={columnNames.header3}>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useLayoutEffect, useRef, useState } from 'react';
|
|
2
2
|
import { Table, Thead, Tr, Th, Tbody, Td, InnerScrollContainer } from '@patternfly/react-table';
|
|
3
|
-
import
|
|
3
|
+
import RhUiBlueprintIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-blueprint-icon';
|
|
4
4
|
|
|
5
5
|
interface Fact {
|
|
6
6
|
name: string;
|
|
@@ -106,7 +106,7 @@ export const TableStickyHeaderDynamic: React.FunctionComponent = () => {
|
|
|
106
106
|
{fact.name}
|
|
107
107
|
</Td>
|
|
108
108
|
<Td modifier="nowrap" dataLabel={columnNames.state}>
|
|
109
|
-
<
|
|
109
|
+
<RhUiBlueprintIcon />
|
|
110
110
|
{` ${fact.state}`}
|
|
111
111
|
</Td>
|
|
112
112
|
<Td modifier="nowrap" dataLabel={columnNames.header3}>
|
|
@@ -2,10 +2,10 @@ import { css } from '@patternfly/react-styles';
|
|
|
2
2
|
import styles from '@patternfly/react-styles/css/components/Table/table';
|
|
3
3
|
import { IExtra, IFormatterValueType, ITransform } from '../../TableTypes';
|
|
4
4
|
import { SortColumn, SortByDirection } from '../../SortColumn';
|
|
5
|
-
import
|
|
5
|
+
import RhUiStarFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-star-fill-icon';
|
|
6
6
|
|
|
7
7
|
export const sortableFavorites = (sort: any) => () =>
|
|
8
|
-
sortable(<
|
|
8
|
+
sortable(<RhUiStarFillIcon />, {
|
|
9
9
|
columnIndex: sort.columnIndex,
|
|
10
10
|
className: styles.tableFavorite,
|
|
11
11
|
ariaLabel: sort.ariaLabel ?? 'Sort favorites',
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from '@patternfly/react-core';
|
|
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
|
-
import
|
|
28
|
+
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
29
29
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
30
30
|
import imgAvatar from '@patternfly/react-table/src/demos/assets/avatarImg.svg';
|
|
31
31
|
|
|
@@ -159,7 +159,7 @@ export const DashboardHeader: React.FC<DashboardHeaderProps> = ({ notificationBa
|
|
|
159
159
|
<Button aria-label="Settings" isSettings variant="plain" />
|
|
160
160
|
</ToolbarItem>
|
|
161
161
|
<ToolbarItem>
|
|
162
|
-
<Button aria-label="Help" variant={ButtonVariant.plain} icon={<
|
|
162
|
+
<Button aria-label="Help" variant={ButtonVariant.plain} icon={<RhUiQuestionMarkCircleFillIcon />} />
|
|
163
163
|
</ToolbarItem>
|
|
164
164
|
</ToolbarGroup>
|
|
165
165
|
<ToolbarItem visibility={{ default: 'hidden', md: 'visible', lg: 'hidden' }}>
|
package/src/demos/Table.md
CHANGED
|
@@ -61,11 +61,11 @@ 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';
|
|
62
62
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
63
63
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
64
|
-
import
|
|
64
|
+
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
65
65
|
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
66
66
|
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
|
|
67
67
|
import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
68
|
-
import
|
|
68
|
+
import RhUiBlueprintIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-blueprint-icon';
|
|
69
69
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-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';
|