@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-table",
3
- "version": "6.2.0-prerelease.15",
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.14",
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": "d885c9f1b4b33197d643c3332593d11e717c09ef"
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
- <Button
112
+ <NotificationBadge
112
113
  aria-label="Notifications"
113
- variant={ButtonVariant.plain}
114
- icon={<BellIcon />}
114
+ variant={NotificationBadgeVariant.read}
115
115
  onClick={() => {}}
116
116
  />
117
117
  </ToolbarItem>