-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[material-ui] Convert
CircularProgress
to support Pigment CSS (#41776)
- Loading branch information
1 parent
ae45647
commit 01aa929
Showing
5 changed files
with
282 additions
and
61 deletions.
There are no files selected for viewing
100 changes: 100 additions & 0 deletions
100
apps/pigment-css-next-app/src/app/material-ui/react-progress/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,100 @@ | ||
'use client'; | ||
import * as React from 'react'; | ||
import CircularColor from '../../../../../../docs/data/material/components/progress/CircularColor'; | ||
import CircularDeterminate from '../../../../../../docs/data/material/components/progress/CircularDeterminate'; | ||
import CircularIndeterminate from '../../../../../../docs/data/material/components/progress/CircularIndeterminate'; | ||
import CircularIntegration from '../../../../../../docs/data/material/components/progress/CircularIntegration'; | ||
import CircularUnderLoad from '../../../../../../docs/data/material/components/progress/CircularUnderLoad'; | ||
import CircularWithValueLabel from '../../../../../../docs/data/material/components/progress/CircularWithValueLabel'; | ||
import CustomizedProgressBars from '../../../../../../docs/data/material/components/progress/CustomizedProgressBars'; | ||
import DelayingAppearance from '../../../../../../docs/data/material/components/progress/DelayingAppearance'; | ||
import LinearBuffer from '../../../../../../docs/data/material/components/progress/LinearBuffer'; | ||
import LinearColor from '../../../../../../docs/data/material/components/progress/LinearColor'; | ||
import LinearDeterminate from '../../../../../../docs/data/material/components/progress/LinearDeterminate'; | ||
import LinearIndeterminate from '../../../../../../docs/data/material/components/progress/LinearIndeterminate'; | ||
import LinearWithValueLabel from '../../../../../../docs/data/material/components/progress/LinearWithValueLabel'; | ||
|
||
export default function Progress() { | ||
return ( | ||
<React.Fragment> | ||
<section> | ||
<h2> Circular Color</h2> | ||
<div className="demo-container"> | ||
<CircularColor /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Circular Determinate</h2> | ||
<div className="demo-container"> | ||
<CircularDeterminate /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Circular Indeterminate</h2> | ||
<div className="demo-container"> | ||
<CircularIndeterminate /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Circular Integration</h2> | ||
<div className="demo-container"> | ||
<CircularIntegration /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Circular Under Load</h2> | ||
<div className="demo-container"> | ||
<CircularUnderLoad /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Circular With Value Label</h2> | ||
<div className="demo-container"> | ||
<CircularWithValueLabel /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Customized Progress Bars</h2> | ||
<div className="demo-container"> | ||
<CustomizedProgressBars /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Delaying Appearance</h2> | ||
<div className="demo-container"> | ||
<DelayingAppearance /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Linear Buffer</h2> | ||
<div className="demo-container"> | ||
<LinearBuffer /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Linear Color</h2> | ||
<div className="demo-container"> | ||
<LinearColor /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Linear Determinate</h2> | ||
<div className="demo-container"> | ||
<LinearDeterminate /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Linear Indeterminate</h2> | ||
<div className="demo-container"> | ||
<LinearIndeterminate /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Linear With Value Label</h2> | ||
<div className="demo-container"> | ||
<LinearWithValueLabel /> | ||
</div> | ||
</section> | ||
</React.Fragment> | ||
); | ||
} |
101 changes: 101 additions & 0 deletions
101
apps/pigment-css-vite-app/src/pages/material-ui/react-progress.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,101 @@ | ||
import * as React from 'react'; | ||
import MaterialUILayout from '../../Layout'; | ||
import CircularColor from '../../../../../docs/data/material/components/progress/CircularColor.tsx'; | ||
import CircularDeterminate from '../../../../../docs/data/material/components/progress/CircularDeterminate.tsx'; | ||
import CircularIndeterminate from '../../../../../docs/data/material/components/progress/CircularIndeterminate.tsx'; | ||
import CircularIntegration from '../../../../../docs/data/material/components/progress/CircularIntegration.tsx'; | ||
import CircularUnderLoad from '../../../../../docs/data/material/components/progress/CircularUnderLoad.tsx'; | ||
import CircularWithValueLabel from '../../../../../docs/data/material/components/progress/CircularWithValueLabel.tsx'; | ||
import CustomizedProgressBars from '../../../../../docs/data/material/components/progress/CustomizedProgressBars.tsx'; | ||
import DelayingAppearance from '../../../../../docs/data/material/components/progress/DelayingAppearance.tsx'; | ||
import LinearBuffer from '../../../../../docs/data/material/components/progress/LinearBuffer.tsx'; | ||
import LinearColor from '../../../../../docs/data/material/components/progress/LinearColor.tsx'; | ||
import LinearDeterminate from '../../../../../docs/data/material/components/progress/LinearDeterminate.tsx'; | ||
import LinearIndeterminate from '../../../../../docs/data/material/components/progress/LinearIndeterminate.tsx'; | ||
import LinearWithValueLabel from '../../../../../docs/data/material/components/progress/LinearWithValueLabel.tsx'; | ||
|
||
export default function Progress() { | ||
return ( | ||
<MaterialUILayout> | ||
<h1>Progress</h1> | ||
<section> | ||
<h2> Circular Color</h2> | ||
<div className="demo-container"> | ||
<CircularColor /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Circular Determinate</h2> | ||
<div className="demo-container"> | ||
<CircularDeterminate /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Circular Indeterminate</h2> | ||
<div className="demo-container"> | ||
<CircularIndeterminate /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Circular Integration</h2> | ||
<div className="demo-container"> | ||
<CircularIntegration /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Circular Under Load</h2> | ||
<div className="demo-container"> | ||
<CircularUnderLoad /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Circular With Value Label</h2> | ||
<div className="demo-container"> | ||
<CircularWithValueLabel /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Customized Progress Bars</h2> | ||
<div className="demo-container"> | ||
<CustomizedProgressBars /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Delaying Appearance</h2> | ||
<div className="demo-container"> | ||
<DelayingAppearance /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Linear Buffer</h2> | ||
<div className="demo-container"> | ||
<LinearBuffer /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Linear Color</h2> | ||
<div className="demo-container"> | ||
<LinearColor /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Linear Determinate</h2> | ||
<div className="demo-container"> | ||
<LinearDeterminate /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Linear Indeterminate</h2> | ||
<div className="demo-container"> | ||
<LinearIndeterminate /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Linear With Value Label</h2> | ||
<div className="demo-container"> | ||
<LinearWithValueLabel /> | ||
</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