-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[pigment-css] Add stringifyTheme
for Pigment CSS integration
#42476
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
7d70305
export stringifyTheme
siriwatknp eaa46fd
Merge branch 'next' of https://github.com/mui/material-ui into pigmen…
siriwatknp 0eb8b00
use `toRuntimeSource` with test
siriwatknp 8ad6741
Merge branch 'next' of https://github.com/mui/material-ui into pigmen…
siriwatknp 3666d86
Merge branch 'next' of https://github.com/mui/material-ui into pigmen…
siriwatknp 167d5fd
set toRuntimeSource
siriwatknp 5145581
move useTheme to zero-styled
siriwatknp 042c4b8
Merge branch 'next' of https://github.com/mui/material-ui into pigmen…
siriwatknp d4b1215
add react-tooltip page
siriwatknp 6a633bd
add react-paper demo
siriwatknp 4c8f45f
Merge branch 'next' of https://github.com/mui/material-ui into pigmen…
siriwatknp 72bea2d
update pigment to 0.0.13
siriwatknp d55f3e6
add tabs page
siriwatknp f8f21c4
fix esm import
siriwatknp 06db99f
Merge branch 'next' of https://github.com/mui/material-ui into pigmen…
siriwatknp 83aa481
Merge branch 'next' of https://github.com/mui/material-ui into pigmen…
siriwatknp 045a47c
fix test
siriwatknp a2f90d5
Merge branch 'next' of https://github.com/mui/material-ui into pigmen…
siriwatknp e3790cc
update nextjs-plugin
siriwatknp 6524424
run pnpm dedupe
siriwatknp 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
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
37 changes: 37 additions & 0 deletions
37
apps/pigment-css-next-app/src/app/material-ui/react-paper/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,37 @@ | ||
'use client'; | ||
import * as React from 'react'; | ||
import Elevation from '../../../../../../docs/data/material/components/paper/Elevation'; | ||
import SimplePaper from '../../../../../../docs/data/material/components/paper/SimplePaper'; | ||
import SquareCorners from '../../../../../../docs/data/material/components/paper/SquareCorners'; | ||
import Variants from '../../../../../../docs/data/material/components/paper/Variants'; | ||
|
||
export default function Paper() { | ||
return ( | ||
<React.Fragment> | ||
<section> | ||
<h2> Elevation</h2> | ||
<div className="demo-container"> | ||
<Elevation /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Simple Paper</h2> | ||
<div className="demo-container"> | ||
<SimplePaper /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Square Corners</h2> | ||
<div className="demo-container"> | ||
<SquareCorners /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Variants</h2> | ||
<div className="demo-container"> | ||
<Variants /> | ||
</div> | ||
</section> | ||
</React.Fragment> | ||
); | ||
} |
142 changes: 142 additions & 0 deletions
142
apps/pigment-css-next-app/src/app/material-ui/react-tabs/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,142 @@ | ||
'use client'; | ||
import * as React from 'react'; | ||
import AccessibleTabs1 from '../../../../../../docs/data/material/components/tabs/AccessibleTabs1'; | ||
import AccessibleTabs2 from '../../../../../../docs/data/material/components/tabs/AccessibleTabs2'; | ||
import BasicTabs from '../../../../../../docs/data/material/components/tabs/BasicTabs'; | ||
import CenteredTabs from '../../../../../../docs/data/material/components/tabs/CenteredTabs'; | ||
import ColorTabs from '../../../../../../docs/data/material/components/tabs/ColorTabs'; | ||
import CustomizedTabs from '../../../../../../docs/data/material/components/tabs/CustomizedTabs'; | ||
import DisabledTabs from '../../../../../../docs/data/material/components/tabs/DisabledTabs'; | ||
import FullWidthTabs from '../../../../../../docs/data/material/components/tabs/FullWidthTabs'; | ||
import IconLabelTabs from '../../../../../../docs/data/material/components/tabs/IconLabelTabs'; | ||
import IconPositionTabs from '../../../../../../docs/data/material/components/tabs/IconPositionTabs'; | ||
import IconTabs from '../../../../../../docs/data/material/components/tabs/IconTabs'; | ||
import LabTabs from '../../../../../../docs/data/material/components/tabs/LabTabs'; | ||
import NavTabs from '../../../../../../docs/data/material/components/tabs/NavTabs'; | ||
import ScrollableTabsButtonAuto from '../../../../../../docs/data/material/components/tabs/ScrollableTabsButtonAuto'; | ||
import ScrollableTabsButtonForce from '../../../../../../docs/data/material/components/tabs/ScrollableTabsButtonForce'; | ||
import ScrollableTabsButtonPrevent from '../../../../../../docs/data/material/components/tabs/ScrollableTabsButtonPrevent'; | ||
import ScrollableTabsButtonVisible from '../../../../../../docs/data/material/components/tabs/ScrollableTabsButtonVisible'; | ||
import TabsWrappedLabel from '../../../../../../docs/data/material/components/tabs/TabsWrappedLabel'; | ||
import VerticalTabs from '../../../../../../docs/data/material/components/tabs/VerticalTabs'; | ||
|
||
export default function Tabs() { | ||
return ( | ||
<React.Fragment> | ||
<section> | ||
<h2> Accessible Tabs1</h2> | ||
<div className="demo-container"> | ||
<AccessibleTabs1 /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Accessible Tabs2</h2> | ||
<div className="demo-container"> | ||
<AccessibleTabs2 /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Basic Tabs</h2> | ||
<div className="demo-container"> | ||
<BasicTabs /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Centered Tabs</h2> | ||
<div className="demo-container"> | ||
<CenteredTabs /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Color Tabs</h2> | ||
<div className="demo-container"> | ||
<ColorTabs /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Customized Tabs</h2> | ||
<div className="demo-container"> | ||
<CustomizedTabs /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Disabled Tabs</h2> | ||
<div className="demo-container"> | ||
<DisabledTabs /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Full Width Tabs</h2> | ||
<div className="demo-container"> | ||
<FullWidthTabs /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Icon Label Tabs</h2> | ||
<div className="demo-container"> | ||
<IconLabelTabs /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Icon Position Tabs</h2> | ||
<div className="demo-container"> | ||
<IconPositionTabs /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Icon Tabs</h2> | ||
<div className="demo-container"> | ||
<IconTabs /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Lab Tabs</h2> | ||
<div className="demo-container"> | ||
<LabTabs /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Nav Tabs</h2> | ||
<div className="demo-container"> | ||
<NavTabs /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Scrollable Tabs Button Auto</h2> | ||
<div className="demo-container"> | ||
<ScrollableTabsButtonAuto /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Scrollable Tabs Button Force</h2> | ||
<div className="demo-container"> | ||
<ScrollableTabsButtonForce /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Scrollable Tabs Button Prevent</h2> | ||
<div className="demo-container"> | ||
<ScrollableTabsButtonPrevent /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Scrollable Tabs Button Visible</h2> | ||
<div className="demo-container"> | ||
<ScrollableTabsButtonVisible /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Tabs Wrapped Label</h2> | ||
<div className="demo-container"> | ||
<TabsWrappedLabel /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Vertical Tabs</h2> | ||
<div className="demo-container"> | ||
<VerticalTabs /> | ||
</div> | ||
</section> | ||
</React.Fragment> | ||
); | ||
} |
121 changes: 121 additions & 0 deletions
121
apps/pigment-css-next-app/src/app/material-ui/react-tooltip/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,121 @@ | ||
'use client'; | ||
import * as React from 'react'; | ||
import AccessibilityTooltips from '../../../../../../docs/data/material/components/tooltips/AccessibilityTooltips'; | ||
import AnchorElTooltips from '../../../../../../docs/data/material/components/tooltips/AnchorElTooltips'; | ||
import ArrowTooltips from '../../../../../../docs/data/material/components/tooltips/ArrowTooltips'; | ||
import BasicTooltip from '../../../../../../docs/data/material/components/tooltips/BasicTooltip'; | ||
import ControlledTooltips from '../../../../../../docs/data/material/components/tooltips/ControlledTooltips'; | ||
import CustomizedTooltips from '../../../../../../docs/data/material/components/tooltips/CustomizedTooltips'; | ||
import DelayTooltips from '../../../../../../docs/data/material/components/tooltips/DelayTooltips'; | ||
import DisabledTooltips from '../../../../../../docs/data/material/components/tooltips/DisabledTooltips'; | ||
import FollowCursorTooltips from '../../../../../../docs/data/material/components/tooltips/FollowCursorTooltips'; | ||
import NonInteractiveTooltips from '../../../../../../docs/data/material/components/tooltips/NonInteractiveTooltips'; | ||
import PositionedTooltips from '../../../../../../docs/data/material/components/tooltips/PositionedTooltips'; | ||
import TooltipMargin from '../../../../../../docs/data/material/components/tooltips/TooltipMargin'; | ||
import TooltipOffset from '../../../../../../docs/data/material/components/tooltips/TooltipOffset'; | ||
import TransitionsTooltips from '../../../../../../docs/data/material/components/tooltips/TransitionsTooltips'; | ||
import TriggersTooltips from '../../../../../../docs/data/material/components/tooltips/TriggersTooltips'; | ||
import VariableWidth from '../../../../../../docs/data/material/components/tooltips/VariableWidth'; | ||
|
||
export default function Tooltips() { | ||
return ( | ||
<React.Fragment> | ||
<section> | ||
<h2> Accessibility Tooltips</h2> | ||
<div className="demo-container"> | ||
<AccessibilityTooltips /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Anchor El Tooltips</h2> | ||
<div className="demo-container"> | ||
<AnchorElTooltips /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Arrow Tooltips</h2> | ||
<div className="demo-container"> | ||
<ArrowTooltips /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Basic Tooltip</h2> | ||
<div className="demo-container"> | ||
<BasicTooltip /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Controlled Tooltips</h2> | ||
<div className="demo-container"> | ||
<ControlledTooltips /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Customized Tooltips</h2> | ||
<div className="demo-container"> | ||
<CustomizedTooltips /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Delay Tooltips</h2> | ||
<div className="demo-container"> | ||
<DelayTooltips /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Disabled Tooltips</h2> | ||
<div className="demo-container"> | ||
<DisabledTooltips /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Follow Cursor Tooltips</h2> | ||
<div className="demo-container"> | ||
<FollowCursorTooltips /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Non Interactive Tooltips</h2> | ||
<div className="demo-container"> | ||
<NonInteractiveTooltips /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Positioned Tooltips</h2> | ||
<div className="demo-container"> | ||
<PositionedTooltips /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Tooltip Margin</h2> | ||
<div className="demo-container"> | ||
<TooltipMargin /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Tooltip Offset</h2> | ||
<div className="demo-container"> | ||
<TooltipOffset /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Transitions Tooltips</h2> | ||
<div className="demo-container"> | ||
<TransitionsTooltips /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Triggers Tooltips</h2> | ||
<div className="demo-container"> | ||
<TriggersTooltips /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Variable Width</h2> | ||
<div className="demo-container"> | ||
<VariableWidth /> | ||
</div> | ||
</section> | ||
</React.Fragment> | ||
); | ||
} |
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.
same
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.
The latest for
@pigment/react
is0.0.13
. Only@pigment-css/nextjs-plugin
that's get updated in0.0.14
.Is that what you mean?