diff --git a/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailCardView.tsx b/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailCardView.tsx
index a40275e9481..916be574367 100644
--- a/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailCardView.tsx
+++ b/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailCardView.tsx
@@ -16,6 +16,7 @@ import {
DrawerContentBody,
DrawerHead,
DrawerPanelContent,
+ DrawerSection,
Dropdown,
DropdownItem,
DropdownList,
@@ -618,14 +619,19 @@ export const PrimaryDetailCardView: React.FunctionComponent = () => {
This is a demo that showcases Patternfly cards.
-
-
- {toolbarItems}
-
-
-
-
+
+
+
+ {toolbarItems}
+
+
+
{drawerContent}
diff --git a/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailContentPadding.tsx b/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailContentPadding.tsx
index 825f5841fd8..00aa9c1d466 100644
--- a/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailContentPadding.tsx
+++ b/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailContentPadding.tsx
@@ -1,4 +1,4 @@
-import { Fragment, useState } from 'react';
+import { useState } from 'react';
import {
Button,
ButtonVariant,
@@ -23,8 +23,10 @@ import {
DrawerHead,
DrawerPanelBody,
DrawerPanelContent,
+ DrawerSection,
Flex,
FlexItem,
+ Icon,
InputGroup,
InputGroupItem,
PageSection,
@@ -99,8 +101,8 @@ export const PrimaryDetailContentPadding: React.FunctionComponent = () => {
setSelectedDataListItemId('');
};
- const toggleGroupItems = (
-
+ const ToolbarItems = (
+ } breakpoint="xl" alignItems="center">
@@ -122,7 +124,7 @@ export const PrimaryDetailContentPadding: React.FunctionComponent = () => {
-
+
-
- );
-
- const ToolbarItems = (
- } breakpoint="xl">
- {toggleGroupItems}
);
@@ -212,211 +208,224 @@ export const PrimaryDetailContentPadding: React.FunctionComponent = () => {
);
const drawerContent = (
-
-
- {ToolbarItems}
-
-
+
+ ,
+
+
+
+
+
+
+
+
+
+
+ ]}
+ />
+
+
+
);
return (
@@ -433,6 +442,16 @@ export const PrimaryDetailContentPadding: React.FunctionComponent = () => {
+
+
+ {ToolbarItems}
+
+
+
{drawerContent}
diff --git a/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailDataListInCard.tsx b/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailDataListInCard.tsx
index f578d16d15d..e86594f6ce9 100644
--- a/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailDataListInCard.tsx
+++ b/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailDataListInCard.tsx
@@ -1,4 +1,4 @@
-import { Fragment, useState } from 'react';
+import { useState } from 'react';
import {
Card,
Content,
@@ -19,6 +19,7 @@ import {
DrawerHead,
DrawerPanelBody,
DrawerPanelContent,
+ DrawerSection,
Dropdown,
DropdownItem,
DropdownList,
@@ -88,95 +89,72 @@ export const PrimaryDetailDataListInCard: React.FunctionComponent = () => {
);
const drawerContent = (
-
-
-
-
- setIsDropdownOpen(isOpen)}
- toggle={(toggleRef) => (
-
- Dropdown
-
- )}
- >
-
- Option 1
- Option 2
-
-
-
-
-
-
-
-
-
- Node 1
- siemur/test-space
-
- ]}
- />
-
-
-
-
-
- Node 2
- siemur/test-space
-
- ]}
- />
-
-
-
-
-
- Node 3
- siemur/test-space
-
- ]}
- />
-
-
-
-
-
- Node 4
- siemur/test-space
-
- ]}
- />
-
-
-
-
-
- Node 5
- siemur/test-space
-
- ]}
- />
-
-
-
-
+
+
+
+
+ Node 1
+ siemur/test-space
+
+ ]}
+ />
+
+
+
+
+
+ Node 2
+ siemur/test-space
+
+ ]}
+ />
+
+
+
+
+
+ Node 3
+ siemur/test-space
+
+ ]}
+ />
+
+
+
+
+
+ Node 4
+ siemur/test-space
+
+ ]}
+ />
+
+
+
+
+
+ Node 5
+ siemur/test-space
+
+ ]}
+ />
+
+
+
);
return (
@@ -193,7 +171,35 @@ export const PrimaryDetailDataListInCard: React.FunctionComponent = () => {
-
+
+
+
+
+
+ setIsDropdownOpen(isOpen)}
+ toggle={(toggleRef) => (
+
+ Dropdown
+
+ )}
+ >
+
+ Option 1
+ Option 2
+
+
+
+
+
+
+
{drawerContent}
diff --git a/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailFullPage.tsx b/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailFullPage.tsx
index f16e350b27f..7054661f506 100644
--- a/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailFullPage.tsx
+++ b/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailFullPage.tsx
@@ -1,4 +1,4 @@
-import { Fragment, useState } from 'react';
+import { useState } from 'react';
import {
Button,
ButtonVariant,
@@ -23,8 +23,10 @@ import {
DrawerHead,
DrawerPanelBody,
DrawerPanelContent,
+ DrawerSection,
Flex,
FlexItem,
+ Icon,
InputGroup,
InputGroupItem,
PageSection,
@@ -99,8 +101,8 @@ export const PrimaryDetailFullPage: React.FunctionComponent = () => {
setSelectedDataListItemId('');
};
- const toggleGroupItems = (
-
+ const ToolbarItems = (
+ } breakpoint="xl" alignItems="center">
@@ -122,7 +124,7 @@ export const PrimaryDetailFullPage: React.FunctionComponent = () => {
-
+
-
- );
-
- const ToolbarItems = (
- } breakpoint="xl">
- {toggleGroupItems}
);
@@ -212,211 +208,224 @@ export const PrimaryDetailFullPage: React.FunctionComponent = () => {
);
const drawerContent = (
-
-
- {ToolbarItems}
-
-
-
-
-
-
+
+
+
+
+
+
+ patternfly
+
+ Working repo for PatternFly 5 https://pf5.patternfly.org/
+
+
+
+
+ 10
+
+
+ 4
+
- patternfly
-
- Working repo for PatternFly 5 https://pf5.patternfly.org/
-
+ 5
-
-
- 10
-
-
- 4
-
-
- 5
-
- Updated 2 days ago
-
+ Updated 2 days ago
- ,
-
-
-
-
-
-
-
-
-
-
- ]}
- />
-
-
-
-
-
-
+
+ ,
+
+
+
+
+
+
+
+
+
+
+ ]}
+ />
+
+
+
+
+
+
+
+ patternfly-elements
+ PatternFly elements
+
+
+
+ 10
+
+
+ 4
+
+
+ 5
+
+
+
+
+ {' '}
+ 7
+
+
+
+
+ {' '}
+ 5
+
- patternfly-elements
- PatternFly elements
+
+
+ {' '}
+ 5
-
-
- 10
-
-
- 4
-
-
- 5
-
-
- 7
-
-
- 5
-
-
- 5
-
- Updated 2 days ago
-
+ Updated 2 days ago
- ,
-
-
-
-
-
-
-
-
-
-
- ]}
- />
-
-
-
-
-
-
+
+ ,
+
+
+
+
+
+
+
+
+
+
+ ]}
+ />
+
+
+
+
+
+
+
+ patternfly
+
+ Working repo for PatternFly 5 https://pf5.patternfly.org/
+
+
+
+
+ 10
+
+
+ 4
+
- patternfly
-
- Working repo for PatternFly 5 https://pf5.patternfly.org/
-
+ 5
-
-
- 10
-
-
- 4
-
-
- 5
-
- Updated 2 days ago
-
+ Updated 2 days ago
- ,
-
-
-
-
-
-
-
-
-
-
- ]}
- />
-
-
-
-
-
-
+
+ ,
+
+
+
+
+
+
+
+
+
+
+ ]}
+ />
+
+
+
+
+
+
+
+ patternfly-elements
+ PatternFly elements
+
+
+
+ 10
+
- patternfly-elements
- PatternFly elements
+ 4
-
-
- 10
-
-
- 4
-
-
- 5
-
-
- 7
-
-
- 5
-
-
- 5
-
- Updated 2 days ago
-
+
+ 5
+
+
+
+
+ {' '}
+ 7
+
+
+
+
+ {' '}
+ 5
+
+
+
+
+ {' '}
+ 5
+
+ Updated 2 days ago
- ,
-
-
-
-
-
-
-
-
-
-
- ]}
- />
-
-
-
-
+
+ ,
+
+
+
+
+
+
+
+
+
+
+ ]}
+ />
+
+
+
);
return (
@@ -433,6 +442,16 @@ export const PrimaryDetailFullPage: React.FunctionComponent = () => {
+
+
+ {ToolbarItems}
+
+
+
{drawerContent}
diff --git a/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx b/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx
index 3a27fe17568..354a0c519ed 100644
--- a/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx
+++ b/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx
@@ -1,4 +1,4 @@
-import { Fragment, useState } from 'react';
+import { useState } from 'react';
import {
Button,
ButtonVariant,
@@ -23,8 +23,10 @@ import {
DrawerHead,
DrawerPanelBody,
DrawerPanelContent,
+ DrawerSection,
Flex,
FlexItem,
+ Icon,
InputGroup,
InputGroupItem,
PageSection,
@@ -98,8 +100,8 @@ export const PrimaryDetailInlineModifier: React.FunctionComponent = () => {
setSelectedDataListItemId('');
};
- const toggleGroupItems = (
-
+ const ToolbarItems = (
+ } breakpoint="xl" alignItems="center">
@@ -121,7 +123,7 @@ export const PrimaryDetailInlineModifier: React.FunctionComponent = () => {
-
+
-
- );
-
- const ToolbarItems = (
- } breakpoint="xl">
- {toggleGroupItems}
);
@@ -211,211 +207,224 @@ export const PrimaryDetailInlineModifier: React.FunctionComponent = () => {
);
const drawerContent = (
-
-
- {ToolbarItems}
-
-
-
-
-
-
+
+
+
+
+
+
+ patternfly
+
+ Working repo for PatternFly 5 https://pf5.patternfly.org/
+
+
+
+
+ 10
+
+
+ 4
+
- patternfly
-
- Working repo for PatternFly 5 https://pf5.patternfly.org/
-
+ 5
-
-
- 10
-
-
- 4
-
-
- 5
-
- Updated 2 days ago
-
+ Updated 2 days ago
- ,
-
-
-
-
-
-
-
-
-
-
- ]}
- />
-
-
-
-
-
-
+
+ ,
+
+
+
+
+
+
+
+
+
+
+ ]}
+ />
+
+
+
+
+
+
+
+ patternfly-elements
+ PatternFly elements
+
+
+
+ 10
+
+
+ 4
+
+
+ 5
+
+
+
+
+ {' '}
+ 7
+
+
+
+
+ {' '}
+ 5
+
- patternfly-elements
- PatternFly elements
+
+
+ {' '}
+ 5
-
-
- 10
-
-
- 4
-
-
- 5
-
-
- 7
-
-
- 5
-
-
- 5
-
- Updated 2 days ago
-
+ Updated 2 days ago
- ,
-
-
-
-
-
-
-
-
-
-
- ]}
- />
-
-
-
-
-
-
+
+ ,
+
+
+
+
+
+
+
+
+
+
+ ]}
+ />
+
+
+
+
+
+
+
+ patternfly
+
+ Working repo for PatternFly 5 https://pf5.patternfly.org/
+
+
+
+
+ 10
+
+
+ 4
+
- patternfly
-
- Working repo for PatternFly 5 https://pf5.patternfly.org/
-
+ 5
-
-
- 10
-
-
- 4
-
-
- 5
-
- Updated 2 days ago
-
+ Updated 2 days ago
- ,
-
-
-
-
-
-
-
-
-
-
- ]}
- />
-
-
-
-
-
-
+
+ ,
+
+
+
+
+
+
+
+
+
+
+ ]}
+ />
+
+
+
+
+
+
+
+ patternfly-elements
+ PatternFly elements
+
+
+
+ 10
+
- patternfly-elements
- PatternFly elements
+ 4
-
-
- 10
-
-
- 4
-
-
- 5
-
-
- 7
-
-
- 5
-
-
- 5
-
- Updated 2 days ago
-
+
+ 5
+
+
+
+
+ {' '}
+ 7
+
+
+
+
+ {' '}
+ 5
+
+
+
+
+ {' '}
+ 5
+
+ Updated 2 days ago
- ,
-
-
-
-
-
-
-
-
-
-
- ]}
- />
-
-
-
-
+
+ ,
+
+
+
+
+
+
+
+
+
+
+ ]}
+ />
+
+
+
);
return (
@@ -432,6 +441,16 @@ export const PrimaryDetailInlineModifier: React.FunctionComponent = () => {
+
+
+ {ToolbarItems}
+
+
+
{drawerContent}
diff --git a/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailSimpleListInCard.tsx b/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailSimpleListInCard.tsx
index 941944d8372..877e633486d 100644
--- a/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailSimpleListInCard.tsx
+++ b/packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailSimpleListInCard.tsx
@@ -102,7 +102,7 @@ export const PrimaryDetailSimpleListInCard: React.FunctionComponent = () => {
-
+
{drawerContent}