Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/react-core/src/demos/examples/Wizard/InModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export const WizardInModalDemo: React.FunctionComponent = () => (
closeButtonAriaLabel="Close wizard"
/>
}
height={400}
>
<WizardStep name="Information" id="wizard-step-1">
<p>Step 1 content</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
Drawer,
DrawerContent,
DrawerPanelContent,
DrawerColorVariant,
DrawerHead,
DrawerActions,
DrawerCloseButton,
Expand Down Expand Up @@ -38,7 +37,7 @@ export const WizardModalWithDrawerDemo: React.FunctionComponent = () => {
<Drawer isInline isExpanded={isDrawerExpanded} onExpand={onExpand}>
<DrawerContent
panelContent={
<DrawerPanelContent widths={{ default: 'width_33' }} colorVariant={DrawerColorVariant.secondary}>
<DrawerPanelContent widths={{ default: 'width_33' }}>
<DrawerHead>
<span tabIndex={isDrawerExpanded ? 0 : -1} ref={drawerRef}>
Drawer content: {stepName}
Expand Down Expand Up @@ -86,7 +85,6 @@ export const WizardModalWithDrawerDemo: React.FunctionComponent = () => {
descriptionId="wiz-modal-demo-description"
/>
}
height={400}
>
<WizardStep body={{ hasNoPadding: true }} name="Information" id="wizard-step-1">
{createStepContentWithDrawer('Information step')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
DrawerCloseButton,
DrawerContent,
DrawerPanelContent,
DrawerColorVariant,
DrawerHead,
Flex,
Modal,
Expand Down Expand Up @@ -39,7 +38,7 @@ export const WizardModalWithDrawerInfoStepDemo: React.FunctionComponent = () =>
<Drawer isInline isExpanded={isDrawerExpanded} onExpand={onExpand}>
<DrawerContent
panelContent={
<DrawerPanelContent widths={{ default: 'width_33' }} colorVariant={DrawerColorVariant.secondary}>
<DrawerPanelContent widths={{ default: 'width_33' }}>
<DrawerHead>
<span tabIndex={isDrawerExpanded ? 0 : -1} ref={drawerRef}>
Drawer content: {stepName}
Expand Down Expand Up @@ -91,7 +90,6 @@ export const WizardModalWithDrawerInfoStepDemo: React.FunctionComponent = () =>
descriptionId="wiz-modal-demo-description"
/>
}
height={400}
>
<WizardStep body={{ hasNoPadding: true }} name="Information" id="wizard-step-1">
{createStepContentWithDrawer('Information step')}
Expand Down
2 changes: 1 addition & 1 deletion packages/react-core/src/demos/examples/Wizard/InPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { DashboardWrapper } from '@patternfly/react-core/src/demos/DashboardWrap
export const WizardFullPage: React.FunctionComponent = () => (
<React.Fragment>
<DashboardWrapper hasPageTemplateTitle>
<PageSection type={PageSectionTypes.wizard}>
<PageSection hasBodyWrapper={false} type={PageSectionTypes.wizard}>
<Wizard>
<WizardStep name="Information" id="wizard-step-1">
<p>Step 1 content</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
DrawerCloseButton,
DrawerContent,
DrawerPanelContent,
DrawerColorVariant,
DrawerHead,
Flex,
Nav,
Expand Down Expand Up @@ -135,7 +134,7 @@ export const WizardFullPageWithDrawerDemo: React.FunctionComponent = () => {
<Drawer isInline isExpanded={isDrawerExpanded} onExpand={onExpand}>
<DrawerContent
panelContent={
<DrawerPanelContent widths={{ default: 'width_33' }} colorVariant={DrawerColorVariant.secondary}>
<DrawerPanelContent widths={{ default: 'width_33' }}>
<DrawerHead>
<span tabIndex={isDrawerExpanded ? 0 : -1} ref={drawerRef}>
Drawer content: {stepName}
Expand Down Expand Up @@ -180,7 +179,7 @@ export const WizardFullPageWithDrawerDemo: React.FunctionComponent = () => {
<p>A demo of a wizard in a page.</p>
</Content>
</PageSection>
<PageSection type={PageSectionTypes.wizard}>
<PageSection hasBodyWrapper={false} type={PageSectionTypes.wizard}>
<Wizard>
<WizardStep body={{ hasNoPadding: true }} name="Information" id="wizard-step-1">
{createStepContentWithDrawer('Information step')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
DrawerContent,
DrawerHead,
DrawerPanelContent,
DrawerColorVariant,
Flex,
Nav,
NavItem,
Expand Down Expand Up @@ -135,7 +134,7 @@ export const WizardFullPageWithDrawerInfoStepDemo: React.FunctionComponent = ()
<Drawer isInline isExpanded={isDrawerExpanded} onExpand={onExpand}>
<DrawerContent
panelContent={
<DrawerPanelContent widths={{ default: 'width_33' }} colorVariant={DrawerColorVariant.secondary}>
<DrawerPanelContent widths={{ default: 'width_33' }}>
<DrawerHead>
<span tabIndex={isDrawerExpanded ? 0 : -1} ref={drawerRef}>
Drawer content: {stepName}
Expand Down Expand Up @@ -184,7 +183,7 @@ export const WizardFullPageWithDrawerInfoStepDemo: React.FunctionComponent = ()
<p>A demo of a wizard in a page.</p>
</Content>
</PageSection>
<PageSection type={PageSectionTypes.wizard} ß>
<PageSection hasBodyWrapper={false} type={PageSectionTypes.wizard} ß>
<Wizard>
<WizardStep body={{ hasNoPadding: true }} name="Information" id="wizard-step-1">
{createStepContentWithDrawer('Information step')}
Expand Down
Loading