@patternfly/react-table 6.2.0-prerelease.15 → 6.2.0-prerelease.17
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/DashboardHeader.d.ts.map +1 -1
- package/dist/esm/demos/DashboardHeader.js +2 -3
- package/dist/esm/demos/DashboardHeader.js.map +1 -1
- package/dist/js/demos/DashboardHeader.d.ts.map +1 -1
- package/dist/js/demos/DashboardHeader.js +1 -2
- package/dist/js/demos/DashboardHeader.js.map +1 -1
- package/dist/umd/assets/{output-DmQK9dKF.css → output-DfUC2MiK.css} +3194 -3194
- package/dist/umd/react-table.min.js +3 -3
- package/package.json +3 -3
- package/src/demos/DashboardHeader.tsx +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "6.2.0-prerelease.
|
|
3
|
+
"version": "6.2.0-prerelease.17",
|
|
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.2.0-prerelease.
|
|
43
|
+
"@patternfly/react-core": "^6.2.0-prerelease.16",
|
|
44
44
|
"@patternfly/react-icons": "^6.2.0-prerelease.2",
|
|
45
45
|
"@patternfly/react-styles": "^6.2.0-prerelease.2",
|
|
46
46
|
"@patternfly/react-tokens": "^6.2.0-prerelease.2",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"react": "^17 || ^18",
|
|
52
52
|
"react-dom": "^17 || ^18"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "fe3fa3883554e1e1ceb0618e9c4e0b6072d29d75"
|
|
55
55
|
}
|
|
@@ -16,6 +16,8 @@ import {
|
|
|
16
16
|
MastheadLogo,
|
|
17
17
|
MastheadContent,
|
|
18
18
|
MenuToggle,
|
|
19
|
+
NotificationBadge,
|
|
20
|
+
NotificationBadgeVariant,
|
|
19
21
|
Toolbar,
|
|
20
22
|
ToolbarContent,
|
|
21
23
|
ToolbarGroup,
|
|
@@ -26,7 +28,6 @@ import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
|
26
28
|
import CogIcon from '@patternfly/react-icons/dist/esm/icons/cog-icon';
|
|
27
29
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
28
30
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
29
|
-
import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
|
|
30
31
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
31
32
|
import imgAvatar from '@patternfly/react-table/src/demos/assets/avatarImg.svg';
|
|
32
33
|
import pfLogo from '@patternfly/react-table/src/demos/assets/pf-logo.svg';
|
|
@@ -108,10 +109,9 @@ export const DashboardHeader: React.FC<DashboardHeaderProps> = ({ notificationBa
|
|
|
108
109
|
>
|
|
109
110
|
{notificationBadge ?? (
|
|
110
111
|
<ToolbarItem>
|
|
111
|
-
<
|
|
112
|
+
<NotificationBadge
|
|
112
113
|
aria-label="Notifications"
|
|
113
|
-
variant={
|
|
114
|
-
icon={<BellIcon />}
|
|
114
|
+
variant={NotificationBadgeVariant.read}
|
|
115
115
|
onClick={() => {}}
|
|
116
116
|
/>
|
|
117
117
|
</ToolbarItem>
|