@patternfly/react-core 6.0.0-alpha.101 → 6.0.0-alpha.102
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 +6 -0
- package/components/package.json +1 -1
- package/deprecated/package.json +1 -1
- package/dist/dynamic/components/AboutModal/package.json +1 -1
- package/dist/dynamic/components/Accordion/package.json +1 -1
- package/dist/dynamic/components/ActionList/package.json +1 -1
- package/dist/dynamic/components/Alert/package.json +1 -1
- package/dist/dynamic/components/Avatar/package.json +1 -1
- package/dist/dynamic/components/BackToTop/package.json +1 -1
- package/dist/dynamic/components/Backdrop/package.json +1 -1
- package/dist/dynamic/components/BackgroundImage/package.json +1 -1
- package/dist/dynamic/components/Badge/package.json +1 -1
- package/dist/dynamic/components/Banner/package.json +1 -1
- package/dist/dynamic/components/Brand/package.json +1 -1
- package/dist/dynamic/components/Breadcrumb/package.json +1 -1
- package/dist/dynamic/components/Button/package.json +1 -1
- package/dist/dynamic/components/CalendarMonth/package.json +1 -1
- package/dist/dynamic/components/Card/package.json +1 -1
- package/dist/dynamic/components/Checkbox/package.json +1 -1
- package/dist/dynamic/components/ClipboardCopy/package.json +1 -1
- package/dist/dynamic/components/CodeBlock/package.json +1 -1
- package/dist/dynamic/components/Content/package.json +1 -1
- package/dist/dynamic/components/DataList/package.json +1 -1
- package/dist/dynamic/components/DatePicker/package.json +1 -1
- package/dist/dynamic/components/DescriptionList/package.json +1 -1
- package/dist/dynamic/components/Divider/package.json +1 -1
- package/dist/dynamic/components/Drawer/package.json +1 -1
- package/dist/dynamic/components/Dropdown/package.json +1 -1
- package/dist/dynamic/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/components/EmptyState/package.json +1 -1
- package/dist/dynamic/components/ExpandableSection/package.json +1 -1
- package/dist/dynamic/components/FileUpload/package.json +1 -1
- package/dist/dynamic/components/Form/package.json +1 -1
- package/dist/dynamic/components/FormSelect/package.json +1 -1
- package/dist/dynamic/components/HelperText/package.json +1 -1
- package/dist/dynamic/components/Hint/package.json +1 -1
- package/dist/dynamic/components/Icon/package.json +1 -1
- package/dist/dynamic/components/InputGroup/package.json +1 -1
- package/dist/dynamic/components/JumpLinks/package.json +1 -1
- package/dist/dynamic/components/Label/package.json +1 -1
- package/dist/dynamic/components/List/package.json +1 -1
- package/dist/dynamic/components/LoginPage/package.json +1 -1
- package/dist/dynamic/components/Masthead/package.json +1 -1
- package/dist/dynamic/components/Menu/package.json +1 -1
- package/dist/dynamic/components/MenuToggle/package.json +1 -1
- package/dist/dynamic/components/Modal/package.json +1 -1
- package/dist/dynamic/components/MultipleFileUpload/package.json +1 -1
- package/dist/dynamic/components/Nav/package.json +1 -1
- package/dist/dynamic/components/NotificationBadge/package.json +1 -1
- package/dist/dynamic/components/NotificationDrawer/package.json +1 -1
- package/dist/dynamic/components/NumberInput/package.json +1 -1
- package/dist/dynamic/components/OverflowMenu/package.json +1 -1
- package/dist/dynamic/components/Page/package.json +1 -1
- package/dist/dynamic/components/Pagination/package.json +1 -1
- package/dist/dynamic/components/Panel/package.json +1 -1
- package/dist/dynamic/components/Popover/package.json +1 -1
- package/dist/dynamic/components/Progress/package.json +1 -1
- package/dist/dynamic/components/ProgressStepper/package.json +1 -1
- package/dist/dynamic/components/Radio/package.json +1 -1
- package/dist/dynamic/components/SearchInput/package.json +1 -1
- package/dist/dynamic/components/Select/package.json +1 -1
- package/dist/dynamic/components/Sidebar/package.json +1 -1
- package/dist/dynamic/components/SimpleList/package.json +1 -1
- package/dist/dynamic/components/Skeleton/package.json +1 -1
- package/dist/dynamic/components/SkipToContent/package.json +1 -1
- package/dist/dynamic/components/Slider/package.json +1 -1
- package/dist/dynamic/components/Spinner/package.json +1 -1
- package/dist/dynamic/components/Switch/package.json +1 -1
- package/dist/dynamic/components/Tabs/package.json +1 -1
- package/dist/dynamic/components/TextArea/package.json +1 -1
- package/dist/dynamic/components/TextInput/package.json +1 -1
- package/dist/dynamic/components/TextInputGroup/package.json +1 -1
- package/dist/dynamic/components/Tile/package.json +1 -1
- package/dist/dynamic/components/TimePicker/package.json +1 -1
- package/dist/dynamic/components/Timestamp/package.json +1 -1
- package/dist/dynamic/components/Title/package.json +1 -1
- package/dist/dynamic/components/ToggleGroup/package.json +1 -1
- package/dist/dynamic/components/Toolbar/package.json +1 -1
- package/dist/dynamic/components/Tooltip/package.json +1 -1
- package/dist/dynamic/components/TreeView/package.json +1 -1
- package/dist/dynamic/components/Truncate/package.json +1 -1
- package/dist/dynamic/components/Wizard/hooks/package.json +1 -1
- package/dist/dynamic/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/Chip/package.json +1 -1
- package/dist/dynamic/deprecated/components/DragDrop/package.json +1 -1
- package/dist/dynamic/deprecated/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/deprecated/components/Modal/package.json +1 -1
- package/dist/dynamic/deprecated/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/package.json +1 -1
- package/dist/dynamic/helpers/FocusTrap/FocusTrap/package.json +1 -1
- package/dist/dynamic/helpers/GenerateId/GenerateId/package.json +1 -1
- package/dist/dynamic/helpers/KeyboardHandler/package.json +1 -1
- package/dist/dynamic/helpers/OUIA/ouia/package.json +1 -1
- package/dist/dynamic/helpers/Popper/Popper/package.json +1 -1
- package/dist/dynamic/helpers/constants/package.json +1 -1
- package/dist/dynamic/helpers/datetimeUtils/package.json +1 -1
- package/dist/dynamic/helpers/fileUtils/package.json +1 -1
- package/dist/dynamic/helpers/htmlConstants/package.json +1 -1
- package/dist/dynamic/helpers/package.json +1 -1
- package/dist/dynamic/helpers/resizeObserver/package.json +1 -1
- package/dist/dynamic/helpers/typeUtils/package.json +1 -1
- package/dist/dynamic/helpers/useInterval/package.json +1 -1
- package/dist/dynamic/helpers/useIsomorphicLayout/package.json +1 -1
- package/dist/dynamic/helpers/useUnmountEffect/package.json +1 -1
- package/dist/dynamic/helpers/util/package.json +1 -1
- package/dist/dynamic/layouts/Bullseye/package.json +1 -1
- package/dist/dynamic/layouts/Flex/package.json +1 -1
- package/dist/dynamic/layouts/Gallery/package.json +1 -1
- package/dist/dynamic/layouts/Grid/package.json +1 -1
- package/dist/dynamic/layouts/Level/package.json +1 -1
- package/dist/dynamic/layouts/Split/package.json +1 -1
- package/dist/dynamic/layouts/Stack/package.json +1 -1
- package/dist/dynamic/styles/package.json +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItemHeader.d.ts +2 -0
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItemHeader.d.ts.map +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItemHeader.js +2 -2
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItemHeader.js.map +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItemHeader.d.ts +2 -0
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItemHeader.d.ts.map +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItemHeader.js +2 -2
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItemHeader.js.map +1 -1
- package/dist/umd/assets/{output-RbvW58uu.css → output-DDZmdp2b.css} +2867 -2867
- package/dist/umd/react-core.min.js +3 -3
- package/helpers/package.json +1 -1
- package/layouts/package.json +1 -1
- package/next/package.json +1 -1
- package/package.json +2 -2
- package/src/components/NotificationDrawer/NotificationDrawerListItemHeader.tsx +8 -1
- package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItemHeader.test.tsx +24 -0
- package/src/components/NotificationDrawer/examples/NotificationDrawerBasic.tsx +14 -21
- package/src/components/NotificationDrawer/examples/NotificationDrawerGroups.tsx +18 -27
package/helpers/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"6.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"6.0.0-alpha.101","private":true}
|
package/layouts/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"6.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"6.0.0-alpha.101","private":true}
|
package/next/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"6.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"6.0.0-alpha.101","private":true}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.102",
|
|
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",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"react": "^17 || ^18",
|
|
65
65
|
"react-dom": "^17 || ^18"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "065953356048e1ee3036f266aaf16e479e94bc5e"
|
|
68
68
|
}
|
|
@@ -53,6 +53,8 @@ export interface NotificationDrawerListItemHeaderProps extends React.HTMLProps<H
|
|
|
53
53
|
| 'right-end';
|
|
54
54
|
/** Sets the heading level to use for the list item header title. Default is h2. */
|
|
55
55
|
headingLevel?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
56
|
+
/** Removes the offset of the notification drawer actions. */
|
|
57
|
+
actionHasNoOffset?: boolean;
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
export const NotificationDrawerListItemHeader: React.FunctionComponent<NotificationDrawerListItemHeaderProps> = ({
|
|
@@ -65,6 +67,7 @@ export const NotificationDrawerListItemHeader: React.FunctionComponent<Notificat
|
|
|
65
67
|
truncateTitle = 0,
|
|
66
68
|
tooltipPosition,
|
|
67
69
|
headingLevel: HeadingLevel = 'h2',
|
|
70
|
+
actionHasNoOffset = false,
|
|
68
71
|
...props
|
|
69
72
|
}: NotificationDrawerListItemHeaderProps) => {
|
|
70
73
|
const titleRef = React.useRef(null);
|
|
@@ -103,7 +106,11 @@ export const NotificationDrawerListItemHeader: React.FunctionComponent<Notificat
|
|
|
103
106
|
Title
|
|
104
107
|
)}
|
|
105
108
|
</div>
|
|
106
|
-
{children &&
|
|
109
|
+
{children && (
|
|
110
|
+
<div className={css(styles.notificationDrawerListItemAction, actionHasNoOffset && styles.modifiers.noOffset)}>
|
|
111
|
+
{children}
|
|
112
|
+
</div>
|
|
113
|
+
)}
|
|
107
114
|
</React.Fragment>
|
|
108
115
|
);
|
|
109
116
|
};
|
package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItemHeader.test.tsx
CHANGED
|
@@ -5,6 +5,7 @@ import '@testing-library/jest-dom';
|
|
|
5
5
|
|
|
6
6
|
import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
|
|
7
7
|
import { NotificationDrawerListItemHeader } from '../NotificationDrawerListItemHeader';
|
|
8
|
+
import styles from '@patternfly/react-styles/css/components/NotificationDrawer/notification-drawer';
|
|
8
9
|
|
|
9
10
|
describe('NotificationDrawerListItemHeader', () => {
|
|
10
11
|
test('renders with PatternFly Core styles', () => {
|
|
@@ -48,4 +49,27 @@ describe('NotificationDrawerListItemHeader', () => {
|
|
|
48
49
|
|
|
49
50
|
expect(screen.getByText('Pod quit unexpectedly')).toHaveClass('pf-m-truncate');
|
|
50
51
|
});
|
|
52
|
+
|
|
53
|
+
test(`renders with ${styles.modifiers.noOffset} if actionHasNoOffset={true} is passed`, () => {
|
|
54
|
+
render(
|
|
55
|
+
<NotificationDrawerListItemHeader title="Pod quit unexpectedly" actionHasNoOffset>
|
|
56
|
+
test
|
|
57
|
+
</NotificationDrawerListItemHeader>
|
|
58
|
+
);
|
|
59
|
+
expect(screen.getByText('test')).toHaveClass(styles.modifiers.noOffset);
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
test(`does not render with ${styles.modifiers.noOffset} if actionHasNoOffset={false} is passed`, () => {
|
|
63
|
+
render(
|
|
64
|
+
<NotificationDrawerListItemHeader title="Pod quit unexpectedly" actionHasNoOffset={false}>
|
|
65
|
+
test
|
|
66
|
+
</NotificationDrawerListItemHeader>
|
|
67
|
+
);
|
|
68
|
+
expect(screen.getByText('test')).not.toHaveClass(styles.modifiers.noOffset);
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
test(`does not render with ${styles.modifiers.noOffset} if actionHasNoOffset is not passed`, () => {
|
|
72
|
+
render(<NotificationDrawerListItemHeader title="Pod quit unexpectedly">test</NotificationDrawerListItemHeader>);
|
|
73
|
+
expect(screen.getByText('test')).not.toHaveClass(styles.modifiers.noOffset);
|
|
74
|
+
});
|
|
51
75
|
});
|
|
@@ -64,9 +64,8 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
64
64
|
onClick={onToggle(0)}
|
|
65
65
|
variant="plain"
|
|
66
66
|
aria-label={`Basic example header kebab toggle`}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
</MenuToggle>
|
|
67
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
68
|
+
/>
|
|
70
69
|
)}
|
|
71
70
|
>
|
|
72
71
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -92,9 +91,8 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
92
91
|
onClick={onToggle(1)}
|
|
93
92
|
variant="plain"
|
|
94
93
|
aria-label={`Basic example notification 1 kebab toggle`}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
</MenuToggle>
|
|
94
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
95
|
+
/>
|
|
98
96
|
)}
|
|
99
97
|
>
|
|
100
98
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -122,9 +120,8 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
122
120
|
onClick={onToggle(2)}
|
|
123
121
|
variant="plain"
|
|
124
122
|
aria-label={`Basic example notification 2 kebab toggle`}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
</MenuToggle>
|
|
123
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
124
|
+
/>
|
|
128
125
|
)}
|
|
129
126
|
>
|
|
130
127
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -154,9 +151,8 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
154
151
|
onClick={onToggle(3)}
|
|
155
152
|
variant="plain"
|
|
156
153
|
aria-label={`Basic example notification 3 kebab toggle`}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
</MenuToggle>
|
|
154
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
155
|
+
/>
|
|
160
156
|
)}
|
|
161
157
|
>
|
|
162
158
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -185,9 +181,8 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
185
181
|
onClick={onToggle(4)}
|
|
186
182
|
variant="plain"
|
|
187
183
|
aria-label={`Basic example notification 4 kebab toggle`}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
</MenuToggle>
|
|
184
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
185
|
+
/>
|
|
191
186
|
)}
|
|
192
187
|
>
|
|
193
188
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -215,9 +210,8 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
215
210
|
onClick={onToggle(5)}
|
|
216
211
|
variant="plain"
|
|
217
212
|
aria-label={`Basic example notification 5 kebab toggle`}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
</MenuToggle>
|
|
213
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
214
|
+
/>
|
|
221
215
|
)}
|
|
222
216
|
>
|
|
223
217
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -241,9 +235,8 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
241
235
|
onClick={onToggle(6)}
|
|
242
236
|
variant="plain"
|
|
243
237
|
aria-label={`Basic example notification 6 kebab toggle`}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
</MenuToggle>
|
|
238
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
239
|
+
/>
|
|
247
240
|
)}
|
|
248
241
|
>
|
|
249
242
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -89,9 +89,8 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
|
|
|
89
89
|
onClick={() => onToggle('groups-kebab-toggle-1')}
|
|
90
90
|
variant="plain"
|
|
91
91
|
aria-label={`Groups example header kebab toggle`}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
</MenuToggle>
|
|
92
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
93
|
+
/>
|
|
95
94
|
)}
|
|
96
95
|
>
|
|
97
96
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -125,9 +124,8 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
|
|
|
125
124
|
onClick={() => onToggle('groups-kebab-toggle-2')}
|
|
126
125
|
variant="plain"
|
|
127
126
|
aria-label={`Groups example group 1 notification 1 kebab toggle`}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
</MenuToggle>
|
|
127
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
128
|
+
/>
|
|
131
129
|
)}
|
|
132
130
|
>
|
|
133
131
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -156,9 +154,8 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
|
|
|
156
154
|
onClick={() => onToggle('groups-kebab-toggle-3')}
|
|
157
155
|
variant="plain"
|
|
158
156
|
aria-label={`Groups example group 1 notification 2 kebab toggle`}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
</MenuToggle>
|
|
157
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
158
|
+
/>
|
|
162
159
|
)}
|
|
163
160
|
>
|
|
164
161
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -188,9 +185,8 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
|
|
|
188
185
|
onClick={() => onToggle('groups-kebab-toggle-4')}
|
|
189
186
|
variant="plain"
|
|
190
187
|
aria-label={`Groups example group 1 notification 3 kebab toggle`}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
</MenuToggle>
|
|
188
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
189
|
+
/>
|
|
194
190
|
)}
|
|
195
191
|
>
|
|
196
192
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -219,9 +215,8 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
|
|
|
219
215
|
onClick={() => onToggle('groups-kebab-toggle-5')}
|
|
220
216
|
variant="plain"
|
|
221
217
|
aria-label={`Groups example group 1 notification 4 kebab toggle`}
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
</MenuToggle>
|
|
218
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
219
|
+
/>
|
|
225
220
|
)}
|
|
226
221
|
>
|
|
227
222
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -259,9 +254,8 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
|
|
|
259
254
|
onClick={() => onToggle('groups-kebab-toggle-6')}
|
|
260
255
|
variant="plain"
|
|
261
256
|
aria-label={`Groups example group 2 notification 1 kebab toggle`}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
</MenuToggle>
|
|
257
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
258
|
+
/>
|
|
265
259
|
)}
|
|
266
260
|
>
|
|
267
261
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -290,9 +284,8 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
|
|
|
290
284
|
onClick={() => onToggle('groups-kebab-toggle-7')}
|
|
291
285
|
variant="plain"
|
|
292
286
|
aria-label={`Groups example group 2 notification 2 kebab toggle`}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
</MenuToggle>
|
|
287
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
288
|
+
/>
|
|
296
289
|
)}
|
|
297
290
|
>
|
|
298
291
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -322,9 +315,8 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
|
|
|
322
315
|
onClick={() => onToggle('groups-kebab-toggle-8')}
|
|
323
316
|
variant="plain"
|
|
324
317
|
aria-label={`Groups example group 2 notification 3 kebab toggle`}
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
</MenuToggle>
|
|
318
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
319
|
+
/>
|
|
328
320
|
)}
|
|
329
321
|
>
|
|
330
322
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -353,9 +345,8 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
|
|
|
353
345
|
onClick={() => onToggle('groups-kebab-toggle-9')}
|
|
354
346
|
variant="plain"
|
|
355
347
|
aria-label={`Groups example group 2 notification 4 kebab toggle`}
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
</MenuToggle>
|
|
348
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
349
|
+
/>
|
|
359
350
|
)}
|
|
360
351
|
>
|
|
361
352
|
<DropdownList>{dropdownItems}</DropdownList>
|