-
-
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.
Merge remote-tracking branch 'upstream/master' into renovate/eslint-p…
…lugin-react-7.x
- Loading branch information
Showing
437 changed files
with
1,419 additions
and
597 deletions.
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
10 changes: 4 additions & 6 deletions
10
docs/data/joy/customization/default-theme-viewer/default-theme-viewer.md
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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
# Default theme viewer | ||
|
||
<p class="description">Here's what the theme object looks like with the default values.</p> | ||
<p class="description">Check out how the theme object looks like with the default values.</p> | ||
|
||
:::warning | ||
This is a work in progress. We're still iterating on Joy UI's default theme. | ||
::: | ||
|
||
## Explore | ||
|
||
Explore the default theme: | ||
:::info | ||
To create your own theme, start by customizing the [theme colors](/joy-ui/customization/theme-colors/). | ||
::: | ||
|
||
{{"demo": "JoyDefaultTheme.js", "hideToolbar": true, "bg": "inline"}} | ||
|
||
To create your own theme, starts with customizing the [theme colors](/joy-ui/customization/theme-colors/). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import * as React from 'react'; | ||
import Skeleton from '@mui/material/Skeleton'; | ||
import Stack from '@mui/material/Stack'; | ||
|
||
export default function Shapes() { | ||
return ( | ||
<Stack spacing={1}> | ||
<Skeleton shape="circular" size="box" width={40} height={40} /> | ||
<Skeleton shape="rectangular" size="box" width={210} height={60} /> | ||
<Skeleton shape="rounded" size="box" width={210} height={60} /> | ||
</Stack> | ||
); | ||
} |
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,13 @@ | ||
import * as React from 'react'; | ||
import Skeleton from '@mui/material/Skeleton'; | ||
import Stack from '@mui/material/Stack'; | ||
|
||
export default function Shapes() { | ||
return ( | ||
<Stack spacing={1}> | ||
<Skeleton shape="circular" size="box" width={40} height={40} /> | ||
<Skeleton shape="rectangular" size="box" width={210} height={60} /> | ||
<Skeleton shape="rounded" size="box" width={210} height={60} /> | ||
</Stack> | ||
); | ||
} |
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,3 @@ | ||
<Skeleton shape="circular" size="box" width={40} height={40} /> | ||
<Skeleton shape="rectangular" size="box" width={210} height={60} /> | ||
<Skeleton shape="rounded" size="box" width={210} height={60} /> |
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,14 @@ | ||
import * as React from 'react'; | ||
import Skeleton from '@mui/material/Skeleton'; | ||
import Stack from '@mui/material/Stack'; | ||
|
||
export default function Sizes() { | ||
return ( | ||
<Stack spacing={1} width={210}> | ||
{/* For size="text", adjust the height via font-size */} | ||
<Skeleton size="text" sx={{ fontSize: '1rem' }} /> | ||
{/* For size="box", adjust height based on bounding box */} | ||
<Skeleton size="box" height={40} /> | ||
</Stack> | ||
); | ||
} |
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,14 @@ | ||
import * as React from 'react'; | ||
import Skeleton from '@mui/material/Skeleton'; | ||
import Stack from '@mui/material/Stack'; | ||
|
||
export default function Sizes() { | ||
return ( | ||
<Stack spacing={1} width={210}> | ||
{/* For size="text", adjust the height via font-size */} | ||
<Skeleton size="text" sx={{ fontSize: '1rem' }} /> | ||
{/* For size="box", adjust height based on bounding box */} | ||
<Skeleton size="box" height={40} /> | ||
</Stack> | ||
); | ||
} |
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,4 @@ | ||
{/* For size="text", adjust the height via font-size */} | ||
<Skeleton size="text" sx={{ fontSize: '1rem' }} /> | ||
{/* For size="box", adjust height based on bounding box */} | ||
<Skeleton size="box" height={40} /> |
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
3 changes: 2 additions & 1 deletion
3
docs/data/material/components/skeleton/SkeletonColor.tsx.preview
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<Skeleton | ||
sx={{ bgcolor: 'grey.900' }} | ||
variant="rectangular" | ||
shape="rectangular" | ||
size="box" | ||
width={210} | ||
height={118} | ||
/> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.