-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[material-ui][Stepper] Convert to support CSS extraction (#41546)
- Loading branch information
Showing
9 changed files
with
299 additions
and
81 deletions.
There are no files selected for viewing
79 changes: 79 additions & 0 deletions
79
apps/pigment-css-next-app/src/app/material-ui/react-stepper/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
'use client'; | ||
import * as React from 'react'; | ||
import CustomizedSteppers from '../../../../../../docs/data/material/components/steppers/CustomizedSteppers'; | ||
import DotsMobileStepper from '../../../../../../docs/data/material/components/steppers/DotsMobileStepper'; | ||
import HorizontalLinearAlternativeLabelStepper from '../../../../../../docs/data/material/components/steppers/HorizontalLinearAlternativeLabelStepper'; | ||
import HorizontalLinearStepper from '../../../../../../docs/data/material/components/steppers/HorizontalLinearStepper'; | ||
import HorizontalNonLinearStepper from '../../../../../../docs/data/material/components/steppers/HorizontalNonLinearStepper'; | ||
import HorizontalStepperWithError from '../../../../../../docs/data/material/components/steppers/HorizontalStepperWithError'; | ||
import ProgressMobileStepper from '../../../../../../docs/data/material/components/steppers/ProgressMobileStepper'; | ||
import SwipeableTextMobileStepper from '../../../../../../docs/data/material/components/steppers/SwipeableTextMobileStepper'; | ||
import TextMobileStepper from '../../../../../../docs/data/material/components/steppers/TextMobileStepper'; | ||
import VerticalLinearStepper from '../../../../../../docs/data/material/components/steppers/VerticalLinearStepper'; | ||
|
||
export default function Steppers() { | ||
return ( | ||
<React.Fragment> | ||
<section> | ||
<h2> Customized Steppers</h2> | ||
<div className="demo-container"> | ||
<CustomizedSteppers /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Dots Mobile Stepper</h2> | ||
<div className="demo-container"> | ||
<DotsMobileStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Horizontal Linear Alternative Label Stepper</h2> | ||
<div className="demo-container"> | ||
<HorizontalLinearAlternativeLabelStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Horizontal Linear Stepper</h2> | ||
<div className="demo-container"> | ||
<HorizontalLinearStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Horizontal Non Linear Stepper</h2> | ||
<div className="demo-container"> | ||
<HorizontalNonLinearStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Horizontal Stepper With Error</h2> | ||
<div className="demo-container"> | ||
<HorizontalStepperWithError /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Progress Mobile Stepper</h2> | ||
<div className="demo-container"> | ||
<ProgressMobileStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Swipeable Text Mobile Stepper</h2> | ||
<div className="demo-container"> | ||
<SwipeableTextMobileStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Text Mobile Stepper</h2> | ||
<div className="demo-container"> | ||
<TextMobileStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Vertical Linear Stepper</h2> | ||
<div className="demo-container"> | ||
<VerticalLinearStepper /> | ||
</div> | ||
</section> | ||
</React.Fragment> | ||
); | ||
} |
80 changes: 80 additions & 0 deletions
80
apps/pigment-css-vite-app/src/pages/material-ui/react-stepper.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
import * as React from 'react'; | ||
import MaterialUILayout from '../../Layout'; | ||
import CustomizedSteppers from '../../../../../docs/data/material/components/steppers/CustomizedSteppers.tsx'; | ||
import DotsMobileStepper from '../../../../../docs/data/material/components/steppers/DotsMobileStepper.tsx'; | ||
import HorizontalLinearAlternativeLabelStepper from '../../../../../docs/data/material/components/steppers/HorizontalLinearAlternativeLabelStepper.tsx'; | ||
import HorizontalLinearStepper from '../../../../../docs/data/material/components/steppers/HorizontalLinearStepper.tsx'; | ||
import HorizontalNonLinearStepper from '../../../../../docs/data/material/components/steppers/HorizontalNonLinearStepper.tsx'; | ||
import HorizontalStepperWithError from '../../../../../docs/data/material/components/steppers/HorizontalStepperWithError.tsx'; | ||
import ProgressMobileStepper from '../../../../../docs/data/material/components/steppers/ProgressMobileStepper.tsx'; | ||
import SwipeableTextMobileStepper from '../../../../../docs/data/material/components/steppers/SwipeableTextMobileStepper.tsx'; | ||
import TextMobileStepper from '../../../../../docs/data/material/components/steppers/TextMobileStepper.tsx'; | ||
import VerticalLinearStepper from '../../../../../docs/data/material/components/steppers/VerticalLinearStepper.tsx'; | ||
|
||
export default function Steppers() { | ||
return ( | ||
<MaterialUILayout> | ||
<h1>Steppers</h1> | ||
<section> | ||
<h2> Customized Steppers</h2> | ||
<div className="demo-container"> | ||
<CustomizedSteppers /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Dots Mobile Stepper</h2> | ||
<div className="demo-container"> | ||
<DotsMobileStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Horizontal Linear Alternative Label Stepper</h2> | ||
<div className="demo-container"> | ||
<HorizontalLinearAlternativeLabelStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Horizontal Linear Stepper</h2> | ||
<div className="demo-container"> | ||
<HorizontalLinearStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Horizontal Non Linear Stepper</h2> | ||
<div className="demo-container"> | ||
<HorizontalNonLinearStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Horizontal Stepper With Error</h2> | ||
<div className="demo-container"> | ||
<HorizontalStepperWithError /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Progress Mobile Stepper</h2> | ||
<div className="demo-container"> | ||
<ProgressMobileStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Swipeable Text Mobile Stepper</h2> | ||
<div className="demo-container"> | ||
<SwipeableTextMobileStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Text Mobile Stepper</h2> | ||
<div className="demo-container"> | ||
<TextMobileStepper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Vertical Linear Stepper</h2> | ||
<div className="demo-container"> | ||
<VerticalLinearStepper /> | ||
</div> | ||
</section> | ||
</MaterialUILayout> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.