File tree Expand file tree Collapse file tree 6 files changed +7
-14
lines changed
packages/react-core/src/demos/examples/Wizard Expand file tree Collapse file tree 6 files changed +7
-14
lines changed Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change 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' ) }
Original file line number Diff line number Diff line change 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' ) }
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { DashboardWrapper } from '@patternfly/react-core/src/demos/DashboardWrap
55export const WizardFullPage : React . FunctionComponent = ( ) => (
66 < React . Fragment >
77 < DashboardWrapper hasPageTemplateTitle >
8- < PageSection type = { PageSectionTypes . wizard } >
8+ < PageSection hasBodyWrapper = { false } type = { PageSectionTypes . wizard } >
99 < Wizard >
1010 < WizardStep name = "Information" id = "wizard-step-1" >
1111 < p > Step 1 content</ p >
Original file line number Diff line number Diff 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 }
@@ -180,7 +179,7 @@ export const WizardFullPageWithDrawerDemo: React.FunctionComponent = () => {
180179 < p > A demo of a wizard in a page.</ p >
181180 </ Content >
182181 </ PageSection >
183- < PageSection type = { PageSectionTypes . wizard } >
182+ < PageSection hasBodyWrapper = { false } type = { PageSectionTypes . wizard } >
184183 < Wizard >
185184 < WizardStep body = { { hasNoPadding : true } } name = "Information" id = "wizard-step-1" >
186185 { createStepContentWithDrawer ( 'Information step' ) }
Original file line number Diff line number Diff 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 }
@@ -184,7 +183,7 @@ export const WizardFullPageWithDrawerInfoStepDemo: React.FunctionComponent = ()
184183 < p > A demo of a wizard in a page.</ p >
185184 </ Content >
186185 </ PageSection >
187- < PageSection type = { PageSectionTypes . wizard } ß >
186+ < PageSection hasBodyWrapper = { false } type = { PageSectionTypes . wizard } ß >
188187 < Wizard >
189188 < WizardStep body = { { hasNoPadding : true } } name = "Information" id = "wizard-step-1" >
190189 { createStepContentWithDrawer ( 'Information step' ) }
You can’t perform that action at this time.
0 commit comments