Skip to content
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

[blog] Add post to introduce the Connect plugin (@danilo-leal) #41929

Merged
merged 7 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/data/joy/components/accordion/AccordionTransition.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Radio from '@mui/joy/Radio';
import Stack from '@mui/joy/Stack';
import Typography from '@mui/joy/Typography';
import HighlightedCode from 'docs/src/modules/components/HighlightedCode';
import BrandingProvider from 'docs/src/BrandingProvider';
import { BrandingProvider } from '@mui/docs/branding';

export default function AccordionTransition() {
const [transition, setTransition] = React.useState('0.2s ease');
Expand Down
2 changes: 1 addition & 1 deletion docs/data/joy/components/badge/BadgeAlignment.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import IconButton from '@mui/joy/IconButton';
import ArrowUpward from '@mui/icons-material/ArrowUpward';
import ArrowDownward from '@mui/icons-material/ArrowDownward';
import HighlightedCode from 'docs/src/modules/components/HighlightedCode';
import BrandingProvider from 'docs/src/BrandingProvider';
import { BrandingProvider } from '@mui/docs/branding';

export default function BadgeAlignment() {
const [anchorOrigin, setAnchorOrigin] = React.useState({
Expand Down
2 changes: 1 addition & 1 deletion docs/data/joy/components/badge/BadgeAlignment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import IconButton from '@mui/joy/IconButton';
import ArrowUpward from '@mui/icons-material/ArrowUpward';
import ArrowDownward from '@mui/icons-material/ArrowDownward';
import HighlightedCode from 'docs/src/modules/components/HighlightedCode';
import BrandingProvider from 'docs/src/BrandingProvider';
import { BrandingProvider } from '@mui/docs/branding';

export default function BadgeAlignment() {
const [anchorOrigin, setAnchorOrigin] = React.useState<BadgeProps['anchorOrigin']>(
Expand Down
2 changes: 1 addition & 1 deletion docs/data/joy/components/grid/InteractiveGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import RadioGroup from '@mui/joy/RadioGroup';
import Radio from '@mui/joy/Radio';
import Sheet from '@mui/joy/Sheet';

import BrandingProvider from 'docs/src/BrandingProvider';
import { BrandingProvider } from '@mui/docs/branding';
import HighlightedCode from 'docs/src/modules/components/HighlightedCode';

export default function InteractiveGrid() {
Expand Down
2 changes: 1 addition & 1 deletion docs/data/joy/components/grid/InteractiveGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import RadioGroup from '@mui/joy/RadioGroup';
import Radio from '@mui/joy/Radio';
import Sheet from '@mui/joy/Sheet';
import { GridDirection } from '@mui/system';
import BrandingProvider from 'docs/src/BrandingProvider';
import { BrandingProvider } from '@mui/docs/branding';
import HighlightedCode from 'docs/src/modules/components/HighlightedCode';

type GridItemsAlignment =
Expand Down
2 changes: 1 addition & 1 deletion docs/data/joy/components/grid/SpacingGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import RadioGroup from '@mui/joy/RadioGroup';
import Radio from '@mui/joy/Radio';
import Sheet from '@mui/joy/Sheet';
import HighlightedCode from 'docs/src/modules/components/HighlightedCode';
import BrandingProvider from 'docs/src/BrandingProvider';
import { BrandingProvider } from '@mui/docs/branding';

export default function SpacingGrid() {
const [spacing, setSpacing] = React.useState(2);
Expand Down
2 changes: 1 addition & 1 deletion docs/data/joy/components/grid/SpacingGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import RadioGroup from '@mui/joy/RadioGroup';
import Radio from '@mui/joy/Radio';
import Sheet from '@mui/joy/Sheet';
import HighlightedCode from 'docs/src/modules/components/HighlightedCode';
import BrandingProvider from 'docs/src/BrandingProvider';
import { BrandingProvider } from '@mui/docs/branding';

export default function SpacingGrid() {
const [spacing, setSpacing] = React.useState(2);
Expand Down
2 changes: 1 addition & 1 deletion docs/data/joy/components/stack/InteractiveStack.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Radio from '@mui/joy/Radio';
import Stack from '@mui/joy/Stack';
import { styled } from '@mui/joy/styles';
import HighlightedCode from 'docs/src/modules/components/HighlightedCode';
import BrandingProvider from 'docs/src/BrandingProvider';
import { BrandingProvider } from '@mui/docs/branding';

const Item = styled(Sheet)(({ theme }) => ({
...theme.typography['body-sm'],
Expand Down
2 changes: 1 addition & 1 deletion docs/data/joy/components/stack/InteractiveStack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Radio from '@mui/joy/Radio';
import Stack, { StackProps } from '@mui/joy/Stack';
import { styled } from '@mui/joy/styles';
import HighlightedCode from 'docs/src/modules/components/HighlightedCode';
import BrandingProvider from 'docs/src/BrandingProvider';
import { BrandingProvider } from '@mui/docs/branding';

const Item = styled(Sheet)(({ theme }) => ({
...theme.typography['body-sm'],
Expand Down
2 changes: 1 addition & 1 deletion docs/data/joy/customization/approaches/ButtonThemes.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import FormLabel from '@mui/joy/FormLabel';
import Select from '@mui/joy/Select';
import Option from '@mui/joy/Option';
import HighlightedCode from 'docs/src/modules/components/HighlightedCode';
import BrandingProvider from 'docs/src/BrandingProvider';
import { BrandingProvider } from '@mui/docs/branding';

const githubTheme = extendTheme({
cssVarPrefix: 'gh',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Option from '@mui/joy/Option';
import ArticleRoundedIcon from '@mui/icons-material/ArticleRounded';
import ToggleOffRoundedIcon from '@mui/icons-material/ToggleOffRounded';
import HighlightedCode from 'docs/src/modules/components/HighlightedCode';
import BrandingProvider from 'docs/src/BrandingProvider';
import { BrandingProvider } from '@mui/docs/branding';

export default function ListThemes() {
const [preset, setPreset] = React.useState('');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useTranslate } from '@mui/docs/i18n';
import ThemeViewer, {
useNodeIdsLazy,
} from 'docs/src/modules/components/ThemeViewer';
import { blue, grey } from 'docs/src/modules/brandingTheme';
import { blue, grey } from '@mui/docs/branding';

const StyledSwitch = styled(Switch)(({ theme }) => [
{
Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/design-resources/connect/connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ After you've added your custom tokens, click on **Regenerate theme** to include
Connect can also generate theme styles for customized components, enabling you to completely change their look and feel and create your custom design system from within Figma.

:::info
This feature is currently limited to the Button and Switch components.
This feature is currently limited to the Button, Switch, and Typography components.
Support for more components is coming soon.
:::

Expand Down
1 change: 1 addition & 0 deletions docs/lib/sourcing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const ALLOWED_TAGS = [
'MUI X',
'MUI System',
'Toolpad',
'Connect',
];

export const getAllBlogPosts = () => {
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { getInitColorSchemeScript as getMuiInitColorSchemeScript } from '@mui/ma
import { getInitColorSchemeScript as getJoyInitColorSchemeScript } from '@mui/joy/styles';
import { pathnameToLanguage } from 'docs/src/modules/utils/helpers';
import createEmotionCache from 'docs/src/createEmotionCache';
import { getMetaThemeColor } from 'docs/src/modules/brandingTheme';
import { getMetaThemeColor } from '@mui/docs/branding';

// You can find a benchmark of the available CSS minifiers under
// https://github.com/GoalSmashers/css-minification-benchmark
Expand Down
Loading
Loading