-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AppBar] Convert to support CSS extraction #41247
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
4cd3877
[AppBar] Convert to support zero-runtime
mnajdova 84d4201
transparent fix
mnajdova ecf8547
Merge branch 'master' into appbar/convert-to-zero-runtime
mnajdova ae17100
add demos, verious fixes
mnajdova e4144ae
fix readme, run pnpm install
mnajdova ad6e7df
use pascalCase
mnajdova 5bc44c0
Update apps/pigment-next-app/README.md
mnajdova 52064ec
Update apps/pigment-next-app/README.md
mnajdova 4d880d4
revert pnpm-lock.yaml changes
mnajdova fbe01cf
Merge branch 'master' into appbar/convert-to-zero-runtime
mnajdova cdf15f4
Merge branch 'next' of https://github.com/mui/material-ui into appbar…
siriwatknp 6f7a349
regenerate pages
mnajdova 80004ff
Merge branch 'next' into appbar/convert-to-zero-runtime
mnajdova 1da33c9
fix style bug, simplify styles
mnajdova feb064a
prettier
mnajdova File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
100 changes: 100 additions & 0 deletions
100
apps/pigment-css-next-app/src/app/material-ui/react-app-bar/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 BackToTop from '../../../../../../docs/data/material/components/app-bar/BackToTop'; | ||
import BottomAppBar from '../../../../../../docs/data/material/components/app-bar/BottomAppBar'; | ||
import ButtonAppBar from '../../../../../../docs/data/material/components/app-bar/ButtonAppBar'; | ||
import DenseAppBar from '../../../../../../docs/data/material/components/app-bar/DenseAppBar'; | ||
import DrawerAppBar from '../../../../../../docs/data/material/components/app-bar/DrawerAppBar'; | ||
import ElevateAppBar from '../../../../../../docs/data/material/components/app-bar/ElevateAppBar'; | ||
import EnableColorOnDarkAppBar from '../../../../../../docs/data/material/components/app-bar/EnableColorOnDarkAppBar'; | ||
import HideAppBar from '../../../../../../docs/data/material/components/app-bar/HideAppBar'; | ||
import MenuAppBar from '../../../../../../docs/data/material/components/app-bar/MenuAppBar'; | ||
import PrimarySearchAppBar from '../../../../../../docs/data/material/components/app-bar/PrimarySearchAppBar'; | ||
import ProminentAppBar from '../../../../../../docs/data/material/components/app-bar/ProminentAppBar'; | ||
import ResponsiveAppBar from '../../../../../../docs/data/material/components/app-bar/ResponsiveAppBar'; | ||
import SearchAppBar from '../../../../../../docs/data/material/components/app-bar/SearchAppBar'; | ||
|
||
export default function AppBar() { | ||
return ( | ||
<React.Fragment> | ||
<section> | ||
<h2> Back To Top</h2> | ||
<div className="demo-container"> | ||
<BackToTop /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Bottom App Bar</h2> | ||
<div className="demo-container"> | ||
<BottomAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Button App Bar</h2> | ||
<div className="demo-container"> | ||
<ButtonAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Dense App Bar</h2> | ||
<div className="demo-container"> | ||
<DenseAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Drawer App Bar</h2> | ||
<div className="demo-container"> | ||
<DrawerAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Elevate App Bar</h2> | ||
<div className="demo-container"> | ||
<ElevateAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Enable Color On Dark App Bar</h2> | ||
<div className="demo-container"> | ||
<EnableColorOnDarkAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Hide App Bar</h2> | ||
<div className="demo-container"> | ||
<HideAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Menu App Bar</h2> | ||
<div className="demo-container"> | ||
<MenuAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Primary Search App Bar</h2> | ||
<div className="demo-container"> | ||
<PrimarySearchAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Prominent App Bar</h2> | ||
<div className="demo-container"> | ||
<ProminentAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Responsive App Bar</h2> | ||
<div className="demo-container"> | ||
<ResponsiveAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Search App Bar</h2> | ||
<div className="demo-container"> | ||
<SearchAppBar /> | ||
</div> | ||
</section> | ||
</React.Fragment> | ||
); | ||
} |
101 changes: 101 additions & 0 deletions
101
apps/pigment-css-vite-app/src/pages/material-ui/react-app-bar.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 BackToTop from '../../../../../docs/data/material/components/app-bar/BackToTop.tsx'; | ||
import BottomAppBar from '../../../../../docs/data/material/components/app-bar/BottomAppBar.tsx'; | ||
import ButtonAppBar from '../../../../../docs/data/material/components/app-bar/ButtonAppBar.tsx'; | ||
import DenseAppBar from '../../../../../docs/data/material/components/app-bar/DenseAppBar.tsx'; | ||
import DrawerAppBar from '../../../../../docs/data/material/components/app-bar/DrawerAppBar.tsx'; | ||
import ElevateAppBar from '../../../../../docs/data/material/components/app-bar/ElevateAppBar.tsx'; | ||
import EnableColorOnDarkAppBar from '../../../../../docs/data/material/components/app-bar/EnableColorOnDarkAppBar.tsx'; | ||
import HideAppBar from '../../../../../docs/data/material/components/app-bar/HideAppBar.tsx'; | ||
import MenuAppBar from '../../../../../docs/data/material/components/app-bar/MenuAppBar.tsx'; | ||
import PrimarySearchAppBar from '../../../../../docs/data/material/components/app-bar/PrimarySearchAppBar.tsx'; | ||
import ProminentAppBar from '../../../../../docs/data/material/components/app-bar/ProminentAppBar.tsx'; | ||
import ResponsiveAppBar from '../../../../../docs/data/material/components/app-bar/ResponsiveAppBar.tsx'; | ||
import SearchAppBar from '../../../../../docs/data/material/components/app-bar/SearchAppBar.tsx'; | ||
|
||
export default function AppBar() { | ||
return ( | ||
<MaterialUILayout> | ||
<h1>AppBar</h1> | ||
<section> | ||
<h2> Back To Top</h2> | ||
<div className="demo-container"> | ||
<BackToTop /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Bottom App Bar</h2> | ||
<div className="demo-container"> | ||
<BottomAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Button App Bar</h2> | ||
<div className="demo-container"> | ||
<ButtonAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Dense App Bar</h2> | ||
<div className="demo-container"> | ||
<DenseAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Drawer App Bar</h2> | ||
<div className="demo-container"> | ||
<DrawerAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Elevate App Bar</h2> | ||
<div className="demo-container"> | ||
<ElevateAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Enable Color On Dark App Bar</h2> | ||
<div className="demo-container"> | ||
<EnableColorOnDarkAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Hide App Bar</h2> | ||
<div className="demo-container"> | ||
<HideAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Menu App Bar</h2> | ||
<div className="demo-container"> | ||
<MenuAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Primary Search App Bar</h2> | ||
<div className="demo-container"> | ||
<PrimarySearchAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Prominent App Bar</h2> | ||
<div className="demo-container"> | ||
<ProminentAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Responsive App Bar</h2> | ||
<div className="demo-container"> | ||
<ResponsiveAppBar /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Search App Bar</h2> | ||
<div className="demo-container"> | ||
<SearchAppBar /> | ||
</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
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Converted the demos to not require children.