@patternfly/react-core 6.1.0-prerelease.3 → 6.1.0-prerelease.4
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/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/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/Tile/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/demos/DashboardHeader.d.ts.map +1 -1
- package/dist/esm/demos/DashboardHeader.js +2 -4
- 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 +2 -4
- package/dist/js/demos/DashboardHeader.js.map +1 -1
- package/dist/umd/assets/{output-uqCsXGKn.css → output-BhrUOf5o.css} +18884 -18885
- 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/ActionList/examples/ActionListSingleGroup.tsx +2 -3
- package/src/components/Card/examples/CardExpandable.tsx +2 -3
- package/src/components/Card/examples/CardExpandableWithIcon.tsx +2 -3
- package/src/components/Card/examples/CardHeaderInCardHead.tsx +2 -3
- package/src/components/Card/examples/CardOnlyActionsInCardHead.tsx +2 -3
- package/src/components/Card/examples/CardWithImageAndActions.tsx +2 -3
- package/src/components/DataList/examples/DataListActions.tsx +2 -3
- package/src/components/DataList/examples/DataListCheckboxes.tsx +6 -9
- package/src/components/DataList/examples/DataListClickableRows.tsx +4 -6
- package/src/components/DataList/examples/DataListExpandable.tsx +6 -9
- package/src/components/DataList/examples/DataListMixedExpandable.tsx +6 -9
- package/src/components/DataList/examples/DataListWidthModifiers.tsx +4 -6
- package/src/components/Dropdown/examples/DropdownWithKebabToggle.tsx +2 -3
- package/src/components/DualListSelector/examples/DualListSelectorComplexOptionsActions.tsx +4 -6
- package/src/components/Hint/examples/HintBasicWithTitle.tsx +2 -3
- package/src/components/Hint/examples/HintBasicWithoutTitle.tsx +2 -3
- package/src/components/Label/examples/LabelGroupEditableAddModal.tsx +2 -2
- package/src/components/MenuToggle/examples/MenuToggle.md +4 -16
- package/src/components/OverflowMenu/examples/OverflowMenuBreakpointOnContainer.tsx +2 -3
- package/src/components/OverflowMenu/examples/OverflowMenuGroupTypes.tsx +2 -3
- package/src/components/OverflowMenu/examples/OverflowMenuMultiGroup.tsx +2 -3
- package/src/components/OverflowMenu/examples/OverflowMenuPersistent.tsx +2 -3
- package/src/components/OverflowMenu/examples/OverflowMenuSimple.tsx +2 -3
- package/src/components/Toolbar/examples/ToolbarStacked.tsx +2 -3
- package/src/components/Toolbar/examples/ToolbarWithFilters.tsx +2 -3
- package/src/components/TreeView/examples/TreeViewWithActionItems.tsx +2 -3
- package/src/demos/CardView/examples/CardView.tsx +4 -6
- package/src/demos/CustomMenus/examples/ApplicationLauncherDemo.tsx +2 -3
- package/src/demos/DashboardHeader.tsx +4 -6
- package/src/demos/DataList/examples/DataListBasic.tsx +1 -3
- package/src/demos/DataList/examples/DataListExpandableControlInToolbar.tsx +7 -10
- package/src/demos/NotificationDrawer/examples/NotificationDrawerBasic.tsx +12 -18
- package/src/demos/NotificationDrawer/examples/NotificationDrawerGrouped.tsx +20 -30
- package/src/demos/RTL/examples/PaginatedTable.jsx +4 -6
- package/src/demos/RTL/examples/PaginatedTable.tsx +4 -6
- package/src/demos/examples/AlertGroup/AlertGroupToastWithNotificationDrawer.tsx +4 -6
- package/src/demos/examples/Card/CardHorizontalGrid.tsx +2 -3
- package/src/demos/examples/Masthead/MastheadWithHorizontalNav.tsx +4 -6
- package/src/demos/examples/Masthead/MastheadWithUtilitiesAndUserDropdownMenu.tsx +6 -9
- package/src/demos/examples/Nav/NavFlyout.tsx +4 -6
- package/src/demos/examples/Nav/NavHorizontal.tsx +4 -6
- package/src/demos/examples/Nav/NavHorizontalWithSubnav.tsx +4 -6
- package/src/demos/examples/Nav/NavManual.tsx +4 -6
- package/src/demos/examples/Page/PageContextSelector.tsx +4 -6
- package/src/demos/examples/Page/PageStickySectionBreadcrumb.tsx +4 -6
- package/src/demos/examples/Page/PageStickySectionGroup.tsx +4 -6
- package/src/demos/examples/Page/PageStickySectionGroupAlternate.tsx +4 -6
- package/src/demos/examples/PrimaryDetail/PrimaryDetailCardView.tsx +4 -6
- package/src/demos/examples/Tabs/TabsAndTable.tsx +2 -3
|
@@ -221,9 +221,8 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
221
221
|
onClick={onKebabDropdownToggle}
|
|
222
222
|
variant="plain"
|
|
223
223
|
aria-label="Settings and help"
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
</MenuToggle>
|
|
224
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
225
|
+
/>
|
|
227
226
|
)}
|
|
228
227
|
>
|
|
229
228
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -341,9 +340,8 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
341
340
|
variant="plain"
|
|
342
341
|
onClick={() => onToggle('toggle-id-0')}
|
|
343
342
|
isExpanded={isActionsMenuOpen['toggle-id-0'] || false}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
</MenuToggle>
|
|
343
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
344
|
+
/>
|
|
347
345
|
)}
|
|
348
346
|
>
|
|
349
347
|
<DropdownList>{notificationDrawerActions}</DropdownList>
|
|
@@ -376,9 +374,8 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
376
374
|
variant="plain"
|
|
377
375
|
onClick={() => onToggle('toggle-id-1')}
|
|
378
376
|
isExpanded={isActionsMenuOpen['toggle-id-1'] || false}
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
</MenuToggle>
|
|
377
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
378
|
+
/>
|
|
382
379
|
)}
|
|
383
380
|
>
|
|
384
381
|
<DropdownList>{notificationDrawerDropdownItems}</DropdownList>
|
|
@@ -412,9 +409,8 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
412
409
|
variant="plain"
|
|
413
410
|
onClick={() => onToggle('toggle-id-2')}
|
|
414
411
|
isExpanded={isActionsMenuOpen['toggle-id-2'] || false}
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
</MenuToggle>
|
|
412
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
413
|
+
/>
|
|
418
414
|
)}
|
|
419
415
|
>
|
|
420
416
|
<DropdownList>{notificationDrawerDropdownItems}</DropdownList>
|
|
@@ -449,9 +445,8 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
449
445
|
variant="plain"
|
|
450
446
|
onClick={() => onToggle('toggle-id-3')}
|
|
451
447
|
isExpanded={isActionsMenuOpen['toggle-id-3'] || false}
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
</MenuToggle>
|
|
448
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
449
|
+
/>
|
|
455
450
|
)}
|
|
456
451
|
>
|
|
457
452
|
<DropdownList>{notificationDrawerDropdownItems}</DropdownList>
|
|
@@ -485,9 +480,8 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
485
480
|
variant="plain"
|
|
486
481
|
onClick={() => onToggle('toggle-id-4')}
|
|
487
482
|
isExpanded={isActionsMenuOpen['toggle-id-4'] || false}
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
</MenuToggle>
|
|
483
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
484
|
+
/>
|
|
491
485
|
)}
|
|
492
486
|
>
|
|
493
487
|
<DropdownList>{notificationDrawerDropdownItems}</DropdownList>
|
|
@@ -271,9 +271,8 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
271
271
|
onClick={onKebabDropdownToggle}
|
|
272
272
|
variant="plain"
|
|
273
273
|
aria-label="Settings and help"
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
</MenuToggle>
|
|
274
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
275
|
+
/>
|
|
277
276
|
)}
|
|
278
277
|
>
|
|
279
278
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -392,9 +391,8 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
392
391
|
variant="plain"
|
|
393
392
|
onClick={() => onToggle('toggle-id-0')}
|
|
394
393
|
isExpanded={isActionsMenuOpen['toggle-id-0'] || false}
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
</MenuToggle>
|
|
394
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
395
|
+
/>
|
|
398
396
|
)}
|
|
399
397
|
>
|
|
400
398
|
<DropdownList>{notificationDrawerActions}</DropdownList>
|
|
@@ -434,9 +432,8 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
434
432
|
variant="plain"
|
|
435
433
|
onClick={() => onToggle('toggle-id-5')}
|
|
436
434
|
isExpanded={isActionsMenuOpen['toggle-id-5'] || false}
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
</MenuToggle>
|
|
435
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
436
|
+
/>
|
|
440
437
|
)}
|
|
441
438
|
>
|
|
442
439
|
<DropdownList>{notificationDrawerDropdownItems}</DropdownList>
|
|
@@ -470,9 +467,8 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
470
467
|
variant="plain"
|
|
471
468
|
onClick={() => onToggle('toggle-id-6')}
|
|
472
469
|
isExpanded={isActionsMenuOpen['toggle-id-6'] || false}
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
</MenuToggle>
|
|
470
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
471
|
+
/>
|
|
476
472
|
)}
|
|
477
473
|
>
|
|
478
474
|
<DropdownList>{notificationDrawerDropdownItems}</DropdownList>
|
|
@@ -507,9 +503,8 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
507
503
|
variant="plain"
|
|
508
504
|
onClick={() => onToggle('toggle-id-7')}
|
|
509
505
|
isExpanded={isActionsMenuOpen['toggle-id-7'] || false}
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
</MenuToggle>
|
|
506
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
507
|
+
/>
|
|
513
508
|
)}
|
|
514
509
|
>
|
|
515
510
|
<DropdownList>{notificationDrawerDropdownItems}</DropdownList>
|
|
@@ -543,9 +538,8 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
543
538
|
variant="plain"
|
|
544
539
|
onClick={() => onToggle('toggle-id-8')}
|
|
545
540
|
isExpanded={isActionsMenuOpen['toggle-id-8'] || false}
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
</MenuToggle>
|
|
541
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
542
|
+
/>
|
|
549
543
|
)}
|
|
550
544
|
>
|
|
551
545
|
<DropdownList>{notificationDrawerDropdownItems}</DropdownList>
|
|
@@ -588,9 +582,8 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
588
582
|
variant="plain"
|
|
589
583
|
onClick={() => onToggle('toggle-id-9')}
|
|
590
584
|
isExpanded={isActionsMenuOpen['toggle-id-9'] || false}
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
</MenuToggle>
|
|
585
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
586
|
+
/>
|
|
594
587
|
)}
|
|
595
588
|
>
|
|
596
589
|
<DropdownList>{notificationDrawerDropdownItems}</DropdownList>
|
|
@@ -624,9 +617,8 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
624
617
|
variant="plain"
|
|
625
618
|
onClick={() => onToggle('toggle-id-10')}
|
|
626
619
|
isExpanded={isActionsMenuOpen['toggle-id-10'] || false}
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
</MenuToggle>
|
|
620
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
621
|
+
/>
|
|
630
622
|
)}
|
|
631
623
|
>
|
|
632
624
|
<DropdownList>{notificationDrawerDropdownItems}</DropdownList>
|
|
@@ -661,9 +653,8 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
661
653
|
variant="plain"
|
|
662
654
|
onClick={() => onToggle('toggle-id-11')}
|
|
663
655
|
isExpanded={isActionsMenuOpen['toggle-id-11'] || false}
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
</MenuToggle>
|
|
656
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
657
|
+
/>
|
|
667
658
|
)}
|
|
668
659
|
>
|
|
669
660
|
<DropdownList>{notificationDrawerDropdownItems}</DropdownList>
|
|
@@ -697,9 +688,8 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
697
688
|
variant="plain"
|
|
698
689
|
onClick={() => onToggle('toggle-id-12')}
|
|
699
690
|
isExpanded={isActionsMenuOpen['toggle-id-12'] || false}
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
</MenuToggle>
|
|
691
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
692
|
+
/>
|
|
703
693
|
)}
|
|
704
694
|
>
|
|
705
695
|
<DropdownList>{notificationDrawerDropdownItems}</DropdownList>
|
|
@@ -374,9 +374,8 @@ export const PaginatedTableAction = () => {
|
|
|
374
374
|
onClick={onKebabDropdownToggle}
|
|
375
375
|
variant="plain"
|
|
376
376
|
aria-label={translation.kebabDropdown.settingsAndHelp}
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
</MenuToggle>
|
|
377
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
378
|
+
/>
|
|
380
379
|
)}
|
|
381
380
|
>
|
|
382
381
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -395,9 +394,8 @@ export const PaginatedTableAction = () => {
|
|
|
395
394
|
onClick={onFullKebabToggle}
|
|
396
395
|
variant="plain"
|
|
397
396
|
aria-label={translation.kebabAndUserDropdown.toolbarMenuAriaLabel}
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
</MenuToggle>
|
|
397
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
398
|
+
/>
|
|
401
399
|
)}
|
|
402
400
|
>
|
|
403
401
|
<DropdownGroup key="group 2" aria-label={translation.kebabAndUserDropdown.groupAriaLabel}>
|
|
@@ -398,9 +398,8 @@ export const PaginatedTableAction: React.FunctionComponent = () => {
|
|
|
398
398
|
onClick={onKebabDropdownToggle}
|
|
399
399
|
variant="plain"
|
|
400
400
|
aria-label={translation.kebabDropdown.settingsAndHelp}
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
</MenuToggle>
|
|
401
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
402
|
+
/>
|
|
404
403
|
)}
|
|
405
404
|
>
|
|
406
405
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -419,9 +418,8 @@ export const PaginatedTableAction: React.FunctionComponent = () => {
|
|
|
419
418
|
onClick={onFullKebabToggle}
|
|
420
419
|
variant="plain"
|
|
421
420
|
aria-label={translation.kebabAndUserDropdown.toolbarMenuAriaLabel}
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
</MenuToggle>
|
|
421
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
422
|
+
/>
|
|
425
423
|
)}
|
|
426
424
|
>
|
|
427
425
|
<DropdownGroup key="group 2" aria-label={translation.kebabAndUserDropdown.groupAriaLabel}>
|
|
@@ -248,9 +248,8 @@ export const AlertGroupToastWithNotificationDrawer: React.FunctionComponent = ()
|
|
|
248
248
|
variant="plain"
|
|
249
249
|
onClick={() => onDropdownToggle('dropdown-toggle-id-0')}
|
|
250
250
|
aria-label="Notification drawer actions"
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
</MenuToggle>
|
|
251
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
252
|
+
/>
|
|
254
253
|
)}
|
|
255
254
|
>
|
|
256
255
|
<DropdownList>{notificationDrawerActions}</DropdownList>
|
|
@@ -280,9 +279,8 @@ export const AlertGroupToastWithNotificationDrawer: React.FunctionComponent = ()
|
|
|
280
279
|
variant="plain"
|
|
281
280
|
onClick={() => onDropdownToggle(key)}
|
|
282
281
|
aria-label={`Notification ${index + 1} actions`}
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
</MenuToggle>
|
|
282
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
283
|
+
/>
|
|
286
284
|
)}
|
|
287
285
|
>
|
|
288
286
|
<DropdownList>{notificationDrawerDropdownItems(key)}</DropdownList>
|
|
@@ -63,9 +63,8 @@ export const CardHorizontalGrid: React.FunctionComponent = () => {
|
|
|
63
63
|
onClick={onActionToggle}
|
|
64
64
|
variant="plain"
|
|
65
65
|
aria-label="Horizontal card grid demo kebab toggle"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
</MenuToggle>
|
|
66
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
67
|
+
/>
|
|
69
68
|
)}
|
|
70
69
|
>
|
|
71
70
|
<DropdownList>{dropdownItems}</DropdownList>
|
|
@@ -211,9 +211,8 @@ export const MastheadWithHorizontalNav: React.FunctionComponent = () => {
|
|
|
211
211
|
isExpanded={isKebabDropdownOpen}
|
|
212
212
|
variant="plain"
|
|
213
213
|
aria-label="Settings and help"
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
</MenuToggle>
|
|
214
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
215
|
+
/>
|
|
217
216
|
)}
|
|
218
217
|
>
|
|
219
218
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -232,9 +231,8 @@ export const MastheadWithHorizontalNav: React.FunctionComponent = () => {
|
|
|
232
231
|
isExpanded={isFullKebabDropdownOpen}
|
|
233
232
|
variant="plain"
|
|
234
233
|
aria-label="Toolbar menu"
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
</MenuToggle>
|
|
234
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
235
|
+
/>
|
|
238
236
|
)}
|
|
239
237
|
>
|
|
240
238
|
<DropdownGroup key="group 2" aria-label="User actions">
|
|
@@ -156,9 +156,8 @@ export const MastheadWithUtilitiesAndUserDropdownMenu: React.FunctionComponent =
|
|
|
156
156
|
onClick={onToggleClick}
|
|
157
157
|
isExpanded={isOpen}
|
|
158
158
|
style={{ width: 'auto' }}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
</MenuToggle>
|
|
159
|
+
icon={<ThIcon />}
|
|
160
|
+
/>
|
|
162
161
|
);
|
|
163
162
|
|
|
164
163
|
const menuItems = [
|
|
@@ -412,9 +411,8 @@ export const MastheadWithUtilitiesAndUserDropdownMenu: React.FunctionComponent =
|
|
|
412
411
|
isExpanded={isKebabDropdownOpen}
|
|
413
412
|
variant="plain"
|
|
414
413
|
aria-label="Settings and help"
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
</MenuToggle>
|
|
414
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
415
|
+
/>
|
|
418
416
|
)}
|
|
419
417
|
>
|
|
420
418
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -433,9 +431,8 @@ export const MastheadWithUtilitiesAndUserDropdownMenu: React.FunctionComponent =
|
|
|
433
431
|
isExpanded={isFullKebabDropdownOpen}
|
|
434
432
|
variant="plain"
|
|
435
433
|
aria-label="Toolbar menu"
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
</MenuToggle>
|
|
434
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
435
|
+
/>
|
|
439
436
|
)}
|
|
440
437
|
>
|
|
441
438
|
<DropdownGroup key="group 2" aria-label="User actions">
|
|
@@ -157,9 +157,8 @@ export const NavFlyout: React.FunctionComponent = () => {
|
|
|
157
157
|
onClick={onKebabDropdownToggle}
|
|
158
158
|
variant="plain"
|
|
159
159
|
aria-label="Settings and help"
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
</MenuToggle>
|
|
160
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
161
|
+
/>
|
|
163
162
|
)}
|
|
164
163
|
>
|
|
165
164
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -178,9 +177,8 @@ export const NavFlyout: React.FunctionComponent = () => {
|
|
|
178
177
|
onClick={onFullKebabToggle}
|
|
179
178
|
variant="plain"
|
|
180
179
|
aria-label="Toolbar menu"
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
</MenuToggle>
|
|
180
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
181
|
+
/>
|
|
184
182
|
)}
|
|
185
183
|
>
|
|
186
184
|
<DropdownGroup key="group 2" aria-label="User actions">
|
|
@@ -135,9 +135,8 @@ export const NavHorizontal: React.FunctionComponent = () => {
|
|
|
135
135
|
onClick={onKebabDropdownToggle}
|
|
136
136
|
variant="plain"
|
|
137
137
|
aria-label="Settings and help"
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
</MenuToggle>
|
|
138
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
139
|
+
/>
|
|
141
140
|
)}
|
|
142
141
|
>
|
|
143
142
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -156,9 +155,8 @@ export const NavHorizontal: React.FunctionComponent = () => {
|
|
|
156
155
|
onClick={onFullKebabToggle}
|
|
157
156
|
variant="plain"
|
|
158
157
|
aria-label="Toolbar menu"
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
</MenuToggle>
|
|
158
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
159
|
+
/>
|
|
162
160
|
)}
|
|
163
161
|
>
|
|
164
162
|
<DropdownGroup key="group 2" aria-label="User actions">
|
|
@@ -184,9 +184,8 @@ export const NavHorizontalWithSubnav: React.FunctionComponent = () => {
|
|
|
184
184
|
onClick={onKebabDropdownToggle}
|
|
185
185
|
variant="plain"
|
|
186
186
|
aria-label="Settings and help"
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
</MenuToggle>
|
|
187
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
188
|
+
/>
|
|
190
189
|
)}
|
|
191
190
|
>
|
|
192
191
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -205,9 +204,8 @@ export const NavHorizontalWithSubnav: React.FunctionComponent = () => {
|
|
|
205
204
|
onClick={onFullKebabToggle}
|
|
206
205
|
variant="plain"
|
|
207
206
|
aria-label="Toolbar menu"
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
</MenuToggle>
|
|
207
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
208
|
+
/>
|
|
211
209
|
)}
|
|
212
210
|
>
|
|
213
211
|
<DropdownGroup key="group 2" aria-label="User actions">
|
|
@@ -151,9 +151,8 @@ export const NavManual: React.FunctionComponent = () => {
|
|
|
151
151
|
onClick={onKebabDropdownToggle}
|
|
152
152
|
variant="plain"
|
|
153
153
|
aria-label="Settings and help"
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
</MenuToggle>
|
|
154
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
155
|
+
/>
|
|
157
156
|
)}
|
|
158
157
|
>
|
|
159
158
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -172,9 +171,8 @@ export const NavManual: React.FunctionComponent = () => {
|
|
|
172
171
|
onClick={onFullKebabToggle}
|
|
173
172
|
variant="plain"
|
|
174
173
|
aria-label="Toolbar menu"
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
</MenuToggle>
|
|
174
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
175
|
+
/>
|
|
178
176
|
)}
|
|
179
177
|
>
|
|
180
178
|
<DropdownGroup key="group 2" aria-label="User actions">
|
|
@@ -164,9 +164,8 @@ export const PageStickySectionBreadcrumb: React.FunctionComponent = () => {
|
|
|
164
164
|
isExpanded={isKebabDropdownOpen}
|
|
165
165
|
variant="plain"
|
|
166
166
|
aria-label="Settings and help"
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
</MenuToggle>
|
|
167
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
168
|
+
/>
|
|
170
169
|
)}
|
|
171
170
|
>
|
|
172
171
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -185,9 +184,8 @@ export const PageStickySectionBreadcrumb: React.FunctionComponent = () => {
|
|
|
185
184
|
isExpanded={isFullKebabDropdownOpen}
|
|
186
185
|
variant="plain"
|
|
187
186
|
aria-label="Toolbar menu"
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
</MenuToggle>
|
|
187
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
188
|
+
/>
|
|
191
189
|
)}
|
|
192
190
|
>
|
|
193
191
|
<DropdownGroup key="group 2" aria-label="User actions">
|
|
@@ -147,9 +147,8 @@ export const PageStickySectionBreadcrumb: React.FunctionComponent = () => {
|
|
|
147
147
|
isExpanded={isKebabDropdownOpen}
|
|
148
148
|
variant="plain"
|
|
149
149
|
aria-label="Settings and help"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
</MenuToggle>
|
|
150
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
151
|
+
/>
|
|
153
152
|
)}
|
|
154
153
|
>
|
|
155
154
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -168,9 +167,8 @@ export const PageStickySectionBreadcrumb: React.FunctionComponent = () => {
|
|
|
168
167
|
isExpanded={isFullKebabDropdownOpen}
|
|
169
168
|
variant="plain"
|
|
170
169
|
aria-label="Toolbar menu"
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
</MenuToggle>
|
|
170
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
171
|
+
/>
|
|
174
172
|
)}
|
|
175
173
|
>
|
|
176
174
|
<DropdownGroup key="group 2" aria-label="User actions">
|
|
@@ -147,9 +147,8 @@ export const PageStickySectionGroup: React.FunctionComponent = () => {
|
|
|
147
147
|
isExpanded={isKebabDropdownOpen}
|
|
148
148
|
variant="plain"
|
|
149
149
|
aria-label="Settings and help"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
</MenuToggle>
|
|
150
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
151
|
+
/>
|
|
153
152
|
)}
|
|
154
153
|
>
|
|
155
154
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -168,9 +167,8 @@ export const PageStickySectionGroup: React.FunctionComponent = () => {
|
|
|
168
167
|
isExpanded={isFullKebabDropdownOpen}
|
|
169
168
|
variant="plain"
|
|
170
169
|
aria-label="Toolbar menu"
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
</MenuToggle>
|
|
170
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
171
|
+
/>
|
|
174
172
|
)}
|
|
175
173
|
>
|
|
176
174
|
<DropdownGroup key="group 2" aria-label="User actions">
|
|
@@ -139,9 +139,8 @@ export const PageStickySectionGroupAlternate: React.FunctionComponent = () => {
|
|
|
139
139
|
isExpanded={isKebabDropdownOpen}
|
|
140
140
|
variant="plain"
|
|
141
141
|
aria-label="Settings and help"
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
</MenuToggle>
|
|
142
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
143
|
+
/>
|
|
145
144
|
)}
|
|
146
145
|
>
|
|
147
146
|
<DropdownList>{kebabDropdownItems}</DropdownList>
|
|
@@ -160,9 +159,8 @@ export const PageStickySectionGroupAlternate: React.FunctionComponent = () => {
|
|
|
160
159
|
isExpanded={isFullKebabDropdownOpen}
|
|
161
160
|
variant="plain"
|
|
162
161
|
aria-label="Toolbar menu"
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
</MenuToggle>
|
|
162
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
163
|
+
/>
|
|
166
164
|
)}
|
|
167
165
|
>
|
|
168
166
|
<DropdownGroup key="group 2" aria-label="User actions">
|
|
@@ -467,9 +467,8 @@ export const PrimaryDetailCardView: React.FunctionComponent = () => {
|
|
|
467
467
|
variant="plain"
|
|
468
468
|
onClick={onToolbarKebabDropdownToggle}
|
|
469
469
|
aria-label="Toolbar actions"
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
</MenuToggle>
|
|
470
|
+
icon={<EllipsisVIcon aria-hidden="true" />}
|
|
471
|
+
/>
|
|
473
472
|
)}
|
|
474
473
|
>
|
|
475
474
|
<DropdownList>{toolbarKebabDropdownItems}</DropdownList>
|
|
@@ -526,9 +525,8 @@ export const PrimaryDetailCardView: React.FunctionComponent = () => {
|
|
|
526
525
|
onCardKebabDropdownToggle(e, key.toString());
|
|
527
526
|
}}
|
|
528
527
|
isExpanded={!!state[key]}
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
</MenuToggle>
|
|
528
|
+
icon={<EllipsisVIcon />}
|
|
529
|
+
/>
|
|
532
530
|
)}
|
|
533
531
|
>
|
|
534
532
|
<DropdownList>
|