Skip to content

Commit 3ce4b8f

Browse files
author
Eric Olkowski
committed
chore(Wizard): updated demos per design
1 parent af8cfad commit 3ce4b8f

File tree

5 files changed

+4
-11
lines changed

5 files changed

+4
-11
lines changed

packages/react-core/src/demos/examples/Wizard/InModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ export const WizardInModalDemo: React.FunctionComponent = () => (
4646
closeButtonAriaLabel="Close wizard"
4747
/>
4848
}
49-
height={400}
5049
>
5150
<WizardStep name="Information" id="wizard-step-1">
5251
<p>Step 1 content</p>

packages/react-core/src/demos/examples/Wizard/InModalWithDrawer.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
Drawer,
55
DrawerContent,
66
DrawerPanelContent,
7-
DrawerColorVariant,
87
DrawerHead,
98
DrawerActions,
109
DrawerCloseButton,
@@ -38,7 +37,7 @@ export const WizardModalWithDrawerDemo: React.FunctionComponent = () => {
3837
<Drawer isInline isExpanded={isDrawerExpanded} onExpand={onExpand}>
3938
<DrawerContent
4039
panelContent={
41-
<DrawerPanelContent widths={{ default: 'width_33' }} colorVariant={DrawerColorVariant.secondary}>
40+
<DrawerPanelContent widths={{ default: 'width_33' }}>
4241
<DrawerHead>
4342
<span tabIndex={isDrawerExpanded ? 0 : -1} ref={drawerRef}>
4443
Drawer content: {stepName}
@@ -86,7 +85,6 @@ export const WizardModalWithDrawerDemo: React.FunctionComponent = () => {
8685
descriptionId="wiz-modal-demo-description"
8786
/>
8887
}
89-
height={400}
9088
>
9189
<WizardStep body={{ hasNoPadding: true }} name="Information" id="wizard-step-1">
9290
{createStepContentWithDrawer('Information step')}

packages/react-core/src/demos/examples/Wizard/InModalWithDrawerInformationalStep.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
DrawerCloseButton,
88
DrawerContent,
99
DrawerPanelContent,
10-
DrawerColorVariant,
1110
DrawerHead,
1211
Flex,
1312
Modal,
@@ -39,7 +38,7 @@ export const WizardModalWithDrawerInfoStepDemo: React.FunctionComponent = () =>
3938
<Drawer isInline isExpanded={isDrawerExpanded} onExpand={onExpand}>
4039
<DrawerContent
4140
panelContent={
42-
<DrawerPanelContent widths={{ default: 'width_33' }} colorVariant={DrawerColorVariant.secondary}>
41+
<DrawerPanelContent widths={{ default: 'width_33' }}>
4342
<DrawerHead>
4443
<span tabIndex={isDrawerExpanded ? 0 : -1} ref={drawerRef}>
4544
Drawer content: {stepName}
@@ -91,7 +90,6 @@ export const WizardModalWithDrawerInfoStepDemo: React.FunctionComponent = () =>
9190
descriptionId="wiz-modal-demo-description"
9291
/>
9392
}
94-
height={400}
9593
>
9694
<WizardStep body={{ hasNoPadding: true }} name="Information" id="wizard-step-1">
9795
{createStepContentWithDrawer('Information step')}

packages/react-core/src/demos/examples/Wizard/InPageWithDrawer.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
DrawerCloseButton,
1111
DrawerContent,
1212
DrawerPanelContent,
13-
DrawerColorVariant,
1413
DrawerHead,
1514
Flex,
1615
Nav,
@@ -135,7 +134,7 @@ export const WizardFullPageWithDrawerDemo: React.FunctionComponent = () => {
135134
<Drawer isInline isExpanded={isDrawerExpanded} onExpand={onExpand}>
136135
<DrawerContent
137136
panelContent={
138-
<DrawerPanelContent widths={{ default: 'width_33' }} colorVariant={DrawerColorVariant.secondary}>
137+
<DrawerPanelContent widths={{ default: 'width_33' }}>
139138
<DrawerHead>
140139
<span tabIndex={isDrawerExpanded ? 0 : -1} ref={drawerRef}>
141140
Drawer content: {stepName}

packages/react-core/src/demos/examples/Wizard/InPageWithDrawerInformationalStep.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
DrawerContent,
1212
DrawerHead,
1313
DrawerPanelContent,
14-
DrawerColorVariant,
1514
Flex,
1615
Nav,
1716
NavItem,
@@ -135,7 +134,7 @@ export const WizardFullPageWithDrawerInfoStepDemo: React.FunctionComponent = ()
135134
<Drawer isInline isExpanded={isDrawerExpanded} onExpand={onExpand}>
136135
<DrawerContent
137136
panelContent={
138-
<DrawerPanelContent widths={{ default: 'width_33' }} colorVariant={DrawerColorVariant.secondary}>
137+
<DrawerPanelContent widths={{ default: 'width_33' }}>
139138
<DrawerHead>
140139
<span tabIndex={isDrawerExpanded ? 0 : -1} ref={drawerRef}>
141140
Drawer content: {stepName}

0 commit comments

Comments
 (0)