index
int64
0
0
repo_id
stringlengths
16
181
file_path
stringlengths
28
270
content
stringlengths
1
11.6M
__index_level_0__
int64
0
10k
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/theme-provider.test/actual.js
import { createTheme, MuiThemeProvider, Theme } from '@material-ui/core/styles'; function App() { return ( <MuiThemeProvider theme={createTheme()}> <div data-testid="foo" /> </MuiThemeProvider> ); }
6,800
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/theme-provider.test/core-import.actual.js
import { createTheme, MuiThemeProvider, Theme } from '@material-ui/core'; function App() { return ( <MuiThemeProvider theme={createTheme()}> <div data-testid="foo" /> </MuiThemeProvider> ); }
6,801
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/theme-provider.test/core-import.expected.js
import { createTheme, ThemeProvider, Theme } from '@material-ui/core'; function App() { return ( <ThemeProvider theme={createTheme()}> <div data-testid="foo" /> </ThemeProvider> ); }
6,802
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/theme-provider.test/expected.js
import { createTheme, ThemeProvider, Theme } from '@material-ui/core/styles'; function App() { return ( <ThemeProvider theme={createTheme()}> <div data-testid="foo" /> </ThemeProvider> ); }
6,803
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/theme-spacing.test/actual.js
`${theme.spacing(2)}px` `${spacing(2)}px` `${theme.spacing(1/2)}px` `${theme.spacing(0.5)}px` `${theme.spacing(1/2)}px ${theme.spacing(4)}px` theme.spacing(gap) + 'px' spacing(gap) + 'px' theme.spacing(gap) + "px" spacing(gap) + "px" `calc(100% - ${spacing(itemHorzPadding * 2)}px)` `calc(100% - ${theme.spacing(itemHorzPadding * 2)}px)` padding: `${theme.spacing(2) - 1}px 0` `calc(100% - ${theme.spacing(itemHorzPadding) * 0.3}px)` `${-theme.spacing(1)}px` `-${theme.spacing(1)}px` `${theme.spacing(2)}px ${theme.spacing(1)}px ${theme.spacing(2)}px ${theme.spacing( 2 )}px`
6,804
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/theme-spacing.test/expected.js
theme.spacing(2) spacing(2) theme.spacing(1/2) theme.spacing(0.5) `${theme.spacing(1/2)} ${theme.spacing(4)}` theme.spacing(gap) spacing(gap) theme.spacing(gap) spacing(gap) `calc(100% - ${spacing(itemHorzPadding * 2)})` `calc(100% - ${theme.spacing(itemHorzPadding * 2)})` padding: `calc(${theme.spacing(2)} - 1px) 0` `calc(100% - calc(${theme.spacing(itemHorzPadding)} * 0.3))` theme.spacing(-1) theme.spacing(-1) `${theme.spacing(2)} ${theme.spacing(1)} ${theme.spacing(2)} ${theme.spacing( 2 )}`
6,805
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/theme-spacing.test/large-actual.js
import * as React from 'react'; import { createPortal } from 'react-dom'; import { pathnameToLanguage } from 'docs/src/modules/utils/helpers'; import * as ReactDOMServer from 'react-dom/server'; import PropTypes from 'prop-types'; import NextLink from 'next/link'; import { useRouter } from 'next/router'; import { DocSearchModal, useDocSearchKeyboardEvents } from '@docsearch/react'; import Chip from '@mui/material/Chip'; import ArticleRoundedIcon from '@mui/icons-material/ArticleRounded'; import ToggleOffRoundedIcon from '@mui/icons-material/ToggleOffRounded'; import EditRoundedIcon from '@mui/icons-material/EditRounded'; import HandymanRoundedIcon from '@mui/icons-material/HandymanRounded'; import KeyboardArrowRightRounded from '@mui/icons-material/KeyboardArrowRightRounded'; import SearchIcon from '@mui/icons-material/Search'; import GlobalStyles from '@mui/material/GlobalStyles'; import { alpha, styled } from '@mui/material/styles'; import { LANGUAGES_SSR } from 'docs/config'; import Link from 'docs/src/modules/components/Link'; import { useTranslate, useUserLanguage } from 'docs/src/modules/utils/i18n'; import useLazyCSS from 'docs/src/modules/utils/useLazyCSS'; import getUrlProduct from 'docs/src/modules/utils/getUrlProduct'; const SearchButton = styled('button')(({ theme }) => { return { minHeight: 34, display: 'flex', alignItems: 'center', paddingLeft: `${theme.spacing(1)}px`, [theme.breakpoints.only('xs')]: { backgroundColor: 'transparent', padding: 0, minWidth: 34, justifyContent: 'center', '& > *:not(.MuiSvgIcon-root)': { display: 'none', }, }, [theme.breakpoints.up('sm')]: { minWidth: 200, }, fontFamily: theme.typography.fontFamily, position: 'relative', backgroundColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[900] : theme.palette.grey[50], color: theme.palette.text.secondary, fontSize: theme.typography.pxToRem(14), border: `1px solid ${ theme.palette.mode === 'dark' ? theme.palette.primaryDark[700] : theme.palette.grey[200] }`, borderRadius: 10, cursor: 'pointer', transitionProperty: 'all', transitionDuration: '150ms', '&:hover': { background: theme.palette.mode === 'dark' ? alpha(theme.palette.primaryDark[700], 0.4) : alpha(theme.palette.grey[100], 0.7), borderColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[600] : theme.palette.grey[300], }, }; }); const SearchLabel = styled('span')(({ theme }) => { return { marginLeft: `${theme.spacing(1)}px`, marginRight: 'auto', }; }); const Shortcut = styled('div')(({ theme }) => { return { fontSize: theme.typography.pxToRem(12), fontWeight: 700, lineHeight: '20px', marginLeft: `${theme.spacing(0.5)}px`, border: `1px solid ${ theme.palette.mode === 'dark' ? theme.palette.primaryDark[500] : theme.palette.grey[200] }`, backgroundColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[800] : '#FFF', padding: `${theme.spacing(0, 0.8)}px`, borderRadius: 5, }; }); const NewStartScreen = () => { const startScreenOptions = [ { category: { name: 'Getting started', icon: <ArticleRoundedIcon className="DocSearch-NewStartScreenTitleIcon" />, }, items: [ { name: 'Installation', href: '/material-ui/getting-started/installation/' }, { name: 'Usage', href: '/material-ui/getting-started/usage/' }, { name: 'Learn', href: '/material-ui/getting-started/learn/' }, ], }, { category: { name: 'Popular searches', icon: <ToggleOffRoundedIcon className="DocSearch-NewStartScreenTitleIcon" />, }, items: [ { name: 'Material Icons', href: '/material-ui/material-icons/' }, { name: 'Text field', href: '/material-ui/react-text-field/' }, { name: 'Button', href: '/material-ui/react-button/' }, ], }, { category: { name: 'Customization', icon: <EditRoundedIcon className="DocSearch-NewStartScreenTitleIcon" />, }, items: [ { name: 'How to customize', href: '/material-ui/customization/how-to-customize/' }, { name: 'Theming', href: '/material-ui/customization/theming/' }, { name: 'Default Theme', href: '/material-ui/customization/default-theme/' }, ], }, { category: { name: 'System', icon: <HandymanRoundedIcon className="DocSearch-NewStartScreenTitleIcon" />, }, items: [ { name: 'Basics', href: '/system/basics/' }, { name: 'Properties', href: '/system/properties/' }, { name: 'The sx prop', href: '/system/the-sx-prop/' }, ], }, ]; return ( <div className="DocSearch-NewStartScreen"> {startScreenOptions.map(({ category, items }) => ( <div key={category.name} className="DocSearch-NewStartScreenCategory"> <div className="DocSearch-NewStartScreenTitle"> {category.icon} {category.name} </div> {items.map(({ name, href }) => ( <NextLink key={name} href={href}> <a href={href} className="DocSearch-NewStartScreenItem"> {name} <KeyboardArrowRightRounded className="DocSearch-NewStartScreenItemIcon" /> </a> </NextLink> ))} </div> ))} </div> ); }; function DocSearchHit(props) { const { children, hit } = props; function displayTag(pathname) { // does not need to show product label for MUI X because they are grouped by the product name in the search // i.e. Data Grid, Date Picker if (!pathname.match(/^\/(material-ui|joy-ui|base)\//)) { return null; } let text = ''; if (pathname.startsWith('/material-ui/')) { text = 'Material UI'; } if (pathname.startsWith('/joy-ui/')) { text = 'Joy UI'; } if (pathname.startsWith('/base/')) { text = 'Base UI'; } return <Chip label={text} size="small" variant="outlined" sx={{ mr: 1 }} />; } if (hit.pathname) { return ( <Link href={hit.pathname} as={hit.as} sx={{ display: 'flex !important', '& .DocSearch-Hit-Container': { flex: 1, minWidth: 0 } }} > {children} {displayTag(hit.pathname)} </Link> ); } // DocSearch stores the old results in its cache // hit.pathname won't be defined for them. return <Link href={hit.url}>{children}</Link>; } DocSearchHit.propTypes = { children: PropTypes.node, hit: PropTypes.object.isRequired, }; export default function AppSearch() { useLazyCSS( 'https://cdn.jsdelivr.net/npm/@docsearch/[email protected]/dist/style.min.css', '#app-search', ); const FADE_DURATION = 100; // ms const t = useTranslate(); const userLanguage = useUserLanguage(); const searchButtonRef = React.useRef(null); const [isOpen, setIsOpen] = React.useState(false); const [initialQuery, setInitialQuery] = React.useState(undefined); const facetFilterLanguage = LANGUAGES_SSR.indexOf(userLanguage) !== -1 ? `language:${userLanguage}` : `language:en`; const macOS = window.navigator.platform.toUpperCase().indexOf('MAC') >= 0; const onOpen = React.useCallback(() => { setIsOpen(true); }, [setIsOpen]); const router = useRouter(); const productSpace = getUrlProduct(router.asPath); const keyboardNavigator = { navigate({ item }) { const as = item.userLanguage !== 'en' ? `/${item.userLanguage}${item.as}` : item.as; router.push(item.pathname, as); }, }; const onClose = React.useCallback(() => { const modal = document.querySelector('.DocSearch-Container'); if (modal) { // fade out transition modal.style.opacity = 0; } setIsOpen(false); // DO NOT call setIsOpen inside a timeout (it causes scroll issue). }, [setIsOpen]); const onInput = React.useCallback( (event) => { setIsOpen(true); setInitialQuery(event.key); }, [setIsOpen, setInitialQuery], ); useDocSearchKeyboardEvents({ isOpen, onOpen, onClose, onInput, searchButtonRef, }); React.useEffect(() => { const addStartScreen = () => { const dropDown = document.querySelector('.DocSearch-Dropdown'); const isExisting = document.querySelector('.DocSearch-NewStartScreen'); if (dropDown && !isExisting) { dropDown.insertAdjacentHTML( 'beforeend', ReactDOMServer.renderToStaticMarkup(<NewStartScreen />), ); } }; // add transition to Modal if (isOpen) { const modal = document.querySelector('.DocSearch-Container'); const searchInput = document.querySelector('.DocSearch-Input'); if (modal) { modal.style.opacity = 1; addStartScreen(); } if (searchInput) { const handleInput = (event) => { const newStartScreen = document.querySelector('.DocSearch-NewStartScreen'); if (newStartScreen) { newStartScreen.style.display = event.target.value !== '' ? 'none' : 'grid'; } }; searchInput.addEventListener('input', handleInput); return () => { searchInput.removeEventListener('input', handleInput); }; } } return () => {}; }, [isOpen]); const search = `${t('algoliaSearch')}…`; return ( <React.Fragment> <SearchButton ref={searchButtonRef} onClick={onOpen}> <SearchIcon fontSize="small" sx={{ color: (theme) => theme.palette.mode === 'dark' ? theme.palette.primary[300] : theme.palette.primary[500], }} /> <SearchLabel>{search}</SearchLabel> <Shortcut> {/* eslint-disable-next-line material-ui/no-hardcoded-labels */} {macOS ? '⌘' : 'Ctrl+'}K </Shortcut> </SearchButton> {isOpen && createPortal( <DocSearchModal initialQuery={initialQuery} appId={'TZGZ85B9TB'} apiKey={'8177dfb3e2be72b241ffb8c5abafa899'} indexName="material-ui" searchParameters={{ facetFilters: ['version:master', facetFilterLanguage], optionalFilters: [`product:${productSpace}`], hitsPerPage: 40, }} placeholder={search} transformItems={(items) => { return items.map((item) => { // `url` contains the domain // but we want to link to the current domain e.g. deploy-preview-1--material-ui.netlify.app const parseUrl = document.createElement('a'); parseUrl.href = item.url; const { canonicalAs, canonicalPathname } = pathnameToLanguage( `${parseUrl.pathname}${parseUrl.hash}`, ); return { ...item, pathname: canonicalPathname, as: canonicalAs, userLanguage, }; }); }} hitComponent={DocSearchHit} initialScrollY={typeof window !== 'undefined' ? window.scrollY : undefined} onClose={onClose} navigator={keyboardNavigator} />, document.body, )} <GlobalStyles styles={(theme) => ({ html: { ':root': { '--docsearch-primary-color': theme.palette.mode === 'dark' ? theme.palette.primaryDark[300] : theme.palette.primary[500], '--docsearch-text-color': theme.palette.text.primary, '--docsearch-muted-color': theme.palette.grey[600], '--docsearch-searchbox-shadow': 0, '--docsearch-hit-shadow': 0, '--docsearch-footer-shadow': 0, '--docsearch-spacing': `${theme.spacing(1.5)}px`, '--docsearch-hit-active-color': theme.palette.mode === 'dark' ? theme.palette.primary[300] : theme.palette.primary[600], '--docsearch-logo-color': theme.palette.grey[600], '--docsearch-searchbox-focus-background': 'unset', '--docsearch-footer-background': 'unset', '--docsearch-modal-background': theme.palette.background.paper, }, }, body: { '.DocSearch-Container': { transition: `opacity ${FADE_DURATION}ms`, opacity: 0, zIndex: theme.zIndex.tooltip + 100, backgroundColor: theme.palette.mode === 'dark' ? alpha(theme.palette.grey[900], 0.7) : alpha(theme.palette.grey[600], 0.2), backdropFilter: 'blur(4px)', }, '& .DocSearch-StartScreen': { display: 'none', }, '& .DocSearch-NewStartScreen': { display: 'grid', gridTemplateColumns: 'repeat(2, 1fr)', gap: `${theme.spacing(2)}px`, padding: `${theme.spacing(2, 1)}px`, }, '& .DocSearch-NewStartScreenCategory': { display: 'flex', flexDirection: 'column', }, '& .DocSearch-NewStartScreenTitle': { display: 'flex', alignItems: 'center', padding: `${theme.spacing(1, 1)}px`, fontSize: theme.typography.pxToRem(14), color: theme.palette.text.secondary, }, '& .DocSearch-NewStartScreenTitleIcon': { color: theme.palette.mode === 'dark' ? theme.palette.primaryDark[300] : theme.palette.primary[500], marginRight: `${theme.spacing(1.5)}px`, fontSize: theme.typography.pxToRem(16), }, '& .DocSearch-NewStartScreenItem': { display: 'flex', alignItems: 'center', cursor: 'pointer', width: '100%', padding: `${theme.spacing(0.5, 4.6)}px`, color: theme.palette.mode === 'dark' ? theme.palette.primaryDark[300] : theme.palette.primary[500], fontWeight: 500, fontSize: theme.typography.pxToRem(14), '&:hover, &:focus': { '.DocSearch-NewStartScreenItemIcon': { marginLeft: `${theme.spacing(1)}px`, }, }, }, '& .DocSearch-NewStartScreenItemIcon': { marginLeft: `${theme.spacing(0.5)}px`, transition: 'margin 0.2s', fontSize: theme.typography.pxToRem(16), }, '& .DocSearch-Modal': { maxWidth: '700px', boxShadow: `0px 4px 20px ${ theme.palette.mode === 'dark' ? alpha(theme.palette.background.paper, 0.7) : alpha(theme.palette.grey[700], 0.2) }`, ...(theme.palette.mode === 'dark' && { border: '1px solid', borderColor: theme.palette.primaryDark[700], }), // docsearch.css: <= 750px will be full screen modal borderRadius: `clamp(0px, (100vw - 750px) * 9999, ${theme.shape.borderRadius}px)`, }, '& .DocSearch-SearchBar': { borderBottom: '1px solid', borderColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[700] : theme.palette.grey[200], padding: `${theme.spacing(1)}px`, }, '& .DocSearch-Form': { '& .DocSearch-Reset': { display: 'none', }, '& .DocSearch-Input': { paddingLeft: `${theme.spacing(2.5)}px`, }, '& .DocSearch-Search-Icon': { width: '20px', height: '20px', }, }, '& .DocSearch-Cancel': { display: 'block', alignSelf: 'center', height: '1.5rem', marginRight: `${theme.spacing(1)}px`, padding: `${theme.spacing(0.3, 0.8, 0.6, 0.8)}px`, fontSize: 0, borderRadius: 5, backgroundColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[800] : theme.palette.grey[50], border: '1px solid', borderColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[600] : theme.palette.grey[300], '&::before': { content: '"esc"', fontSize: theme.typography.pxToRem(12), letterSpacing: '.08rem', fontWeight: 700, color: theme.palette.text.secondary, }, }, '& .DocSearch-Dropdown': { minHeight: 384, // = StartScreen height, to prevent layout shift when first char '&::-webkit-scrollbar-thumb': { borderColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[900] : theme.palette.background.paper, backgroundColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[700] : theme.palette.grey[500], }, '&::-webkit-scrollbar-track': { backgroundColor: theme.palette.background.paper, }, }, '& .DocSearch-Dropdown-Container': { '& .DocSearch-Hits:first-of-type': { '& .DocSearch-Hit-source': { paddingTop: `${theme.spacing(1)}px`, }, }, }, '& .DocSearch-Hit-source': { top: 'initial', paddingTop: `${theme.spacing(2)}px`, background: theme.palette.background.paper, fontSize: theme.typography.pxToRem(13), fontWeight: 500, color: theme.palette.text.secondary, }, '& .DocSearch-Hit': { paddingBottom: 0, '&:not(:first-of-type)': { marginTop: -1, }, }, '& .DocSearch-Hit a': { backgroundColor: 'transparent', padding: `${theme.spacing(0.25, 0)}px`, paddingLeft: `${theme.spacing(2)}px`, border: '1px solid transparent', borderBottomColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[700] : theme.palette.grey[100], }, '& .DocSearch-Hit-content-wrapper': { paddingLeft: `${theme.spacing(2)}px`, }, '& .DocSearch-Hit-title': { fontSize: theme.typography.pxToRem(14), color: `${theme.palette.text.primary}`, }, '& .DocSearch-Hit-path': { fontSize: theme.typography.pxToRem(12), color: `${theme.palette.text.secondary}`, }, '& .DocSearch-Hit-Select-Icon': { height: '15px', width: '15px', }, '& .DocSearch-Hit[aria-selected="true"] a': { backgroundColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[800] : theme.palette.primary[50], borderColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[400] : theme.palette.primary[500], borderRadius: theme.shape.borderRadius, }, '& .DocSearch-Hit-action, & .DocSearch-Hits mark': { color: `${ theme.palette.mode === 'dark' ? theme.palette.primary[400] : theme.palette.primary[500] }`, }, '& .DocSearch-Footer': { borderTop: '1px solid', borderColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[700] : theme.palette.grey[200], '& .DocSearch-Commands': { display: 'none', }, }, }, })} /> </React.Fragment> ); }
6,806
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/theme-spacing.test/large-expected.js
import * as React from 'react'; import { createPortal } from 'react-dom'; import { pathnameToLanguage } from 'docs/src/modules/utils/helpers'; import * as ReactDOMServer from 'react-dom/server'; import PropTypes from 'prop-types'; import NextLink from 'next/link'; import { useRouter } from 'next/router'; import { DocSearchModal, useDocSearchKeyboardEvents } from '@docsearch/react'; import Chip from '@mui/material/Chip'; import ArticleRoundedIcon from '@mui/icons-material/ArticleRounded'; import ToggleOffRoundedIcon from '@mui/icons-material/ToggleOffRounded'; import EditRoundedIcon from '@mui/icons-material/EditRounded'; import HandymanRoundedIcon from '@mui/icons-material/HandymanRounded'; import KeyboardArrowRightRounded from '@mui/icons-material/KeyboardArrowRightRounded'; import SearchIcon from '@mui/icons-material/Search'; import GlobalStyles from '@mui/material/GlobalStyles'; import { alpha, styled } from '@mui/material/styles'; import { LANGUAGES_SSR } from 'docs/config'; import Link from 'docs/src/modules/components/Link'; import { useTranslate, useUserLanguage } from 'docs/src/modules/utils/i18n'; import useLazyCSS from 'docs/src/modules/utils/useLazyCSS'; import getUrlProduct from 'docs/src/modules/utils/getUrlProduct'; const SearchButton = styled('button')(({ theme }) => { return { minHeight: 34, display: 'flex', alignItems: 'center', paddingLeft: theme.spacing(1), [theme.breakpoints.only('xs')]: { backgroundColor: 'transparent', padding: 0, minWidth: 34, justifyContent: 'center', '& > *:not(.MuiSvgIcon-root)': { display: 'none', }, }, [theme.breakpoints.up('sm')]: { minWidth: 200, }, fontFamily: theme.typography.fontFamily, position: 'relative', backgroundColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[900] : theme.palette.grey[50], color: theme.palette.text.secondary, fontSize: theme.typography.pxToRem(14), border: `1px solid ${ theme.palette.mode === 'dark' ? theme.palette.primaryDark[700] : theme.palette.grey[200] }`, borderRadius: 10, cursor: 'pointer', transitionProperty: 'all', transitionDuration: '150ms', '&:hover': { background: theme.palette.mode === 'dark' ? alpha(theme.palette.primaryDark[700], 0.4) : alpha(theme.palette.grey[100], 0.7), borderColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[600] : theme.palette.grey[300], }, }; }); const SearchLabel = styled('span')(({ theme }) => { return { marginLeft: theme.spacing(1), marginRight: 'auto', }; }); const Shortcut = styled('div')(({ theme }) => { return { fontSize: theme.typography.pxToRem(12), fontWeight: 700, lineHeight: '20px', marginLeft: theme.spacing(0.5), border: `1px solid ${ theme.palette.mode === 'dark' ? theme.palette.primaryDark[500] : theme.palette.grey[200] }`, backgroundColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[800] : '#FFF', padding: theme.spacing(0, 0.8), borderRadius: 5, }; }); const NewStartScreen = () => { const startScreenOptions = [ { category: { name: 'Getting started', icon: <ArticleRoundedIcon className="DocSearch-NewStartScreenTitleIcon" />, }, items: [ { name: 'Installation', href: '/material-ui/getting-started/installation/' }, { name: 'Usage', href: '/material-ui/getting-started/usage/' }, { name: 'Learn', href: '/material-ui/getting-started/learn/' }, ], }, { category: { name: 'Popular searches', icon: <ToggleOffRoundedIcon className="DocSearch-NewStartScreenTitleIcon" />, }, items: [ { name: 'Material Icons', href: '/material-ui/material-icons/' }, { name: 'Text field', href: '/material-ui/react-text-field/' }, { name: 'Button', href: '/material-ui/react-button/' }, ], }, { category: { name: 'Customization', icon: <EditRoundedIcon className="DocSearch-NewStartScreenTitleIcon" />, }, items: [ { name: 'How to customize', href: '/material-ui/customization/how-to-customize/' }, { name: 'Theming', href: '/material-ui/customization/theming/' }, { name: 'Default Theme', href: '/material-ui/customization/default-theme/' }, ], }, { category: { name: 'System', icon: <HandymanRoundedIcon className="DocSearch-NewStartScreenTitleIcon" />, }, items: [ { name: 'Basics', href: '/system/basics/' }, { name: 'Properties', href: '/system/properties/' }, { name: 'The sx prop', href: '/system/the-sx-prop/' }, ], }, ]; return ( <div className="DocSearch-NewStartScreen"> {startScreenOptions.map(({ category, items }) => ( <div key={category.name} className="DocSearch-NewStartScreenCategory"> <div className="DocSearch-NewStartScreenTitle"> {category.icon} {category.name} </div> {items.map(({ name, href }) => ( <NextLink key={name} href={href}> <a href={href} className="DocSearch-NewStartScreenItem"> {name} <KeyboardArrowRightRounded className="DocSearch-NewStartScreenItemIcon" /> </a> </NextLink> ))} </div> ))} </div> ); }; function DocSearchHit(props) { const { children, hit } = props; function displayTag(pathname) { // does not need to show product label for MUI X because they are grouped by the product name in the search // i.e. Data Grid, Date Picker if (!pathname.match(/^\/(material-ui|joy-ui|base)\//)) { return null; } let text = ''; if (pathname.startsWith('/material-ui/')) { text = 'Material UI'; } if (pathname.startsWith('/joy-ui/')) { text = 'Joy UI'; } if (pathname.startsWith('/base/')) { text = 'Base UI'; } return <Chip label={text} size="small" variant="outlined" sx={{ mr: 1 }} />; } if (hit.pathname) { return ( <Link href={hit.pathname} as={hit.as} sx={{ display: 'flex !important', '& .DocSearch-Hit-Container': { flex: 1, minWidth: 0 } }} > {children} {displayTag(hit.pathname)} </Link> ); } // DocSearch stores the old results in its cache // hit.pathname won't be defined for them. return <Link href={hit.url}>{children}</Link>; } DocSearchHit.propTypes = { children: PropTypes.node, hit: PropTypes.object.isRequired, }; export default function AppSearch() { useLazyCSS( 'https://cdn.jsdelivr.net/npm/@docsearch/[email protected]/dist/style.min.css', '#app-search', ); const FADE_DURATION = 100; // ms const t = useTranslate(); const userLanguage = useUserLanguage(); const searchButtonRef = React.useRef(null); const [isOpen, setIsOpen] = React.useState(false); const [initialQuery, setInitialQuery] = React.useState(undefined); const facetFilterLanguage = LANGUAGES_SSR.indexOf(userLanguage) !== -1 ? `language:${userLanguage}` : `language:en`; const macOS = window.navigator.platform.toUpperCase().indexOf('MAC') >= 0; const onOpen = React.useCallback(() => { setIsOpen(true); }, [setIsOpen]); const router = useRouter(); const productSpace = getUrlProduct(router.asPath); const keyboardNavigator = { navigate({ item }) { const as = item.userLanguage !== 'en' ? `/${item.userLanguage}${item.as}` : item.as; router.push(item.pathname, as); }, }; const onClose = React.useCallback(() => { const modal = document.querySelector('.DocSearch-Container'); if (modal) { // fade out transition modal.style.opacity = 0; } setIsOpen(false); // DO NOT call setIsOpen inside a timeout (it causes scroll issue). }, [setIsOpen]); const onInput = React.useCallback( (event) => { setIsOpen(true); setInitialQuery(event.key); }, [setIsOpen, setInitialQuery], ); useDocSearchKeyboardEvents({ isOpen, onOpen, onClose, onInput, searchButtonRef, }); React.useEffect(() => { const addStartScreen = () => { const dropDown = document.querySelector('.DocSearch-Dropdown'); const isExisting = document.querySelector('.DocSearch-NewStartScreen'); if (dropDown && !isExisting) { dropDown.insertAdjacentHTML( 'beforeend', ReactDOMServer.renderToStaticMarkup(<NewStartScreen />), ); } }; // add transition to Modal if (isOpen) { const modal = document.querySelector('.DocSearch-Container'); const searchInput = document.querySelector('.DocSearch-Input'); if (modal) { modal.style.opacity = 1; addStartScreen(); } if (searchInput) { const handleInput = (event) => { const newStartScreen = document.querySelector('.DocSearch-NewStartScreen'); if (newStartScreen) { newStartScreen.style.display = event.target.value !== '' ? 'none' : 'grid'; } }; searchInput.addEventListener('input', handleInput); return () => { searchInput.removeEventListener('input', handleInput); }; } } return () => {}; }, [isOpen]); const search = `${t('algoliaSearch')}…`; return ( <React.Fragment> <SearchButton ref={searchButtonRef} onClick={onOpen}> <SearchIcon fontSize="small" sx={{ color: (theme) => theme.palette.mode === 'dark' ? theme.palette.primary[300] : theme.palette.primary[500], }} /> <SearchLabel>{search}</SearchLabel> <Shortcut> {/* eslint-disable-next-line material-ui/no-hardcoded-labels */} {macOS ? '⌘' : 'Ctrl+'}K </Shortcut> </SearchButton> {isOpen && createPortal( <DocSearchModal initialQuery={initialQuery} appId={'TZGZ85B9TB'} apiKey={'8177dfb3e2be72b241ffb8c5abafa899'} indexName="material-ui" searchParameters={{ facetFilters: ['version:master', facetFilterLanguage], optionalFilters: [`product:${productSpace}`], hitsPerPage: 40, }} placeholder={search} transformItems={(items) => { return items.map((item) => { // `url` contains the domain // but we want to link to the current domain e.g. deploy-preview-1--material-ui.netlify.app const parseUrl = document.createElement('a'); parseUrl.href = item.url; const { canonicalAs, canonicalPathname } = pathnameToLanguage( `${parseUrl.pathname}${parseUrl.hash}`, ); return { ...item, pathname: canonicalPathname, as: canonicalAs, userLanguage, }; }); }} hitComponent={DocSearchHit} initialScrollY={typeof window !== 'undefined' ? window.scrollY : undefined} onClose={onClose} navigator={keyboardNavigator} />, document.body, )} <GlobalStyles styles={(theme) => ({ html: { ':root': { '--docsearch-primary-color': theme.palette.mode === 'dark' ? theme.palette.primaryDark[300] : theme.palette.primary[500], '--docsearch-text-color': theme.palette.text.primary, '--docsearch-muted-color': theme.palette.grey[600], '--docsearch-searchbox-shadow': 0, '--docsearch-hit-shadow': 0, '--docsearch-footer-shadow': 0, '--docsearch-spacing': theme.spacing(1.5), '--docsearch-hit-active-color': theme.palette.mode === 'dark' ? theme.palette.primary[300] : theme.palette.primary[600], '--docsearch-logo-color': theme.palette.grey[600], '--docsearch-searchbox-focus-background': 'unset', '--docsearch-footer-background': 'unset', '--docsearch-modal-background': theme.palette.background.paper, }, }, body: { '.DocSearch-Container': { transition: `opacity ${FADE_DURATION}ms`, opacity: 0, zIndex: theme.zIndex.tooltip + 100, backgroundColor: theme.palette.mode === 'dark' ? alpha(theme.palette.grey[900], 0.7) : alpha(theme.palette.grey[600], 0.2), backdropFilter: 'blur(4px)', }, '& .DocSearch-StartScreen': { display: 'none', }, '& .DocSearch-NewStartScreen': { display: 'grid', gridTemplateColumns: 'repeat(2, 1fr)', gap: theme.spacing(2), padding: theme.spacing(2, 1), }, '& .DocSearch-NewStartScreenCategory': { display: 'flex', flexDirection: 'column', }, '& .DocSearch-NewStartScreenTitle': { display: 'flex', alignItems: 'center', padding: theme.spacing(1, 1), fontSize: theme.typography.pxToRem(14), color: theme.palette.text.secondary, }, '& .DocSearch-NewStartScreenTitleIcon': { color: theme.palette.mode === 'dark' ? theme.palette.primaryDark[300] : theme.palette.primary[500], marginRight: theme.spacing(1.5), fontSize: theme.typography.pxToRem(16), }, '& .DocSearch-NewStartScreenItem': { display: 'flex', alignItems: 'center', cursor: 'pointer', width: '100%', padding: theme.spacing(0.5, 4.6), color: theme.palette.mode === 'dark' ? theme.palette.primaryDark[300] : theme.palette.primary[500], fontWeight: 500, fontSize: theme.typography.pxToRem(14), '&:hover, &:focus': { '.DocSearch-NewStartScreenItemIcon': { marginLeft: theme.spacing(1), }, }, }, '& .DocSearch-NewStartScreenItemIcon': { marginLeft: theme.spacing(0.5), transition: 'margin 0.2s', fontSize: theme.typography.pxToRem(16), }, '& .DocSearch-Modal': { maxWidth: '700px', boxShadow: `0px 4px 20px ${ theme.palette.mode === 'dark' ? alpha(theme.palette.background.paper, 0.7) : alpha(theme.palette.grey[700], 0.2) }`, ...(theme.palette.mode === 'dark' && { border: '1px solid', borderColor: theme.palette.primaryDark[700], }), // docsearch.css: <= 750px will be full screen modal borderRadius: `clamp(0px, (100vw - 750px) * 9999, ${theme.shape.borderRadius}px)`, }, '& .DocSearch-SearchBar': { borderBottom: '1px solid', borderColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[700] : theme.palette.grey[200], padding: theme.spacing(1), }, '& .DocSearch-Form': { '& .DocSearch-Reset': { display: 'none', }, '& .DocSearch-Input': { paddingLeft: theme.spacing(2.5), }, '& .DocSearch-Search-Icon': { width: '20px', height: '20px', }, }, '& .DocSearch-Cancel': { display: 'block', alignSelf: 'center', height: '1.5rem', marginRight: theme.spacing(1), padding: theme.spacing(0.3, 0.8, 0.6, 0.8), fontSize: 0, borderRadius: 5, backgroundColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[800] : theme.palette.grey[50], border: '1px solid', borderColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[600] : theme.palette.grey[300], '&::before': { content: '"esc"', fontSize: theme.typography.pxToRem(12), letterSpacing: '.08rem', fontWeight: 700, color: theme.palette.text.secondary, }, }, '& .DocSearch-Dropdown': { minHeight: 384, // = StartScreen height, to prevent layout shift when first char '&::-webkit-scrollbar-thumb': { borderColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[900] : theme.palette.background.paper, backgroundColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[700] : theme.palette.grey[500], }, '&::-webkit-scrollbar-track': { backgroundColor: theme.palette.background.paper, }, }, '& .DocSearch-Dropdown-Container': { '& .DocSearch-Hits:first-of-type': { '& .DocSearch-Hit-source': { paddingTop: theme.spacing(1), }, }, }, '& .DocSearch-Hit-source': { top: 'initial', paddingTop: theme.spacing(2), background: theme.palette.background.paper, fontSize: theme.typography.pxToRem(13), fontWeight: 500, color: theme.palette.text.secondary, }, '& .DocSearch-Hit': { paddingBottom: 0, '&:not(:first-of-type)': { marginTop: -1, }, }, '& .DocSearch-Hit a': { backgroundColor: 'transparent', padding: theme.spacing(0.25, 0), paddingLeft: theme.spacing(2), border: '1px solid transparent', borderBottomColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[700] : theme.palette.grey[100], }, '& .DocSearch-Hit-content-wrapper': { paddingLeft: theme.spacing(2), }, '& .DocSearch-Hit-title': { fontSize: theme.typography.pxToRem(14), color: `${theme.palette.text.primary}`, }, '& .DocSearch-Hit-path': { fontSize: theme.typography.pxToRem(12), color: `${theme.palette.text.secondary}`, }, '& .DocSearch-Hit-Select-Icon': { height: '15px', width: '15px', }, '& .DocSearch-Hit[aria-selected="true"] a': { backgroundColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[800] : theme.palette.primary[50], borderColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[400] : theme.palette.primary[500], borderRadius: theme.shape.borderRadius, }, '& .DocSearch-Hit-action, & .DocSearch-Hits mark': { color: `${ theme.palette.mode === 'dark' ? theme.palette.primary[400] : theme.palette.primary[500] }`, }, '& .DocSearch-Footer': { borderTop: '1px solid', borderColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[700] : theme.palette.grey[200], '& .DocSearch-Commands': { display: 'none', }, }, }, })} /> </React.Fragment> ); }
6,807
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/theme-typography-round.test/actual.js
theme.typography.round(12.5) `${typography.round(0.6432)}rem`
6,808
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/theme-typography-round.test/expected.js
Math.round(12.5 * 1e5) / 1e5 `${Math.round(0.6432 * 1e5) / 1e5}rem`
6,809
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/top-level-imports.test/actual.js
import * as React from 'react'; import { withStyles } from '@mui/styles'; import { ThemeProvider } from '@mui/material'; import { createTheme } from '@mui/material/styles'; import MenuItem from '@mui/material/MenuItem'; import Tab from '@mui/material/Tab'; import MuiTabs from '@mui/material/Tabs'; import BottomNavigationAction from '@mui/material/BottomNavigationAction'; import BottomNavigation from '@mui/material/BottomNavigation'; import CardContent from '@mui/material/CardContent'; import CardActions from '@mui/material/CardActions'; import Card from '@mui/material/Card'; import CardMedia from '@mui/material/CardMedia'; import CardHeader from '@mui/material/CardHeader'; import MuiCollapse from '@mui/material/Collapse'; import ListItemSecondaryAction from '@mui/material/ListItemSecondaryAction'; import ListItemText from '@mui/material/ListItemText'; import ListItemAvatar from '@mui/material/ListItemAvatar'; import ListItem from '@mui/material/ListItem'; import ListItemIcon from '@mui/material/ListItemIcon'; import List from '@mui/material/List'; import DialogTitle from '@mui/material/DialogTitle'; import Dialog from '@mui/material/Dialog'; import DialogContentText from '@mui/material/DialogContentText'; import DialogContent from '@mui/material/DialogContent'; import DialogActions from '@mui/material/DialogActions'; import Slide from '@mui/material/Slide'; import RadioGroup from '@mui/material/RadioGroup'; import Radio from '@mui/material/Radio'; import FormControlLabel from '@mui/material/FormControlLabel'; import AccordionActions from '@mui/material/AccordionActions'; import AccordionDetails from '@mui/material/AccordionDetails'; import AccordionSummary from '@mui/material/AccordionSummary'; import Accordion from '@mui/material/Accordion'; import CircularProgress from '@mui/material/CircularProgress'; import MuiLinearProgress from '@mui/material/LinearProgress'; import FormHelperText from '@mui/material/FormHelperText'; import FormGroup from '@mui/material/FormGroup'; import FormControl from '@mui/material/FormControl'; import FormLabel from '@mui/material/FormLabel'; import Fade from '@mui/material/Fade'; import StepContent from '@mui/material/StepContent'; import StepButton from '@mui/material/StepButton'; import Step from '@mui/material/Step'; import Stepper from '@mui/material/Stepper'; import TableRow from '@mui/material/TableRow'; import TablePagination from '@mui/material/TablePagination'; import TableCell from '@mui/material/TableCell'; import TableBody from '@mui/material/TableBody'; import Table from '@mui/material/Table'; import TableHead from '@mui/material/TableHead'; import InputLabel from '@mui/material/InputLabel'; import Input from '@mui/material/Input'; import Grow from '@mui/material/Grow'; import TableFooter from '@mui/material/TableFooter'; import Zoom from '@mui/material/Zoom'; import ClickAwayListener from '@mui/material/ClickAwayListener'; import ListSubheader from '@mui/material/ListSubheader';
6,810
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/top-level-imports.test/expected.js
import * as React from 'react'; import { withStyles } from '@mui/styles'; import { ThemeProvider, createTheme, MenuItem, Tab, Tabs as MuiTabs, BottomNavigationAction, BottomNavigation, CardContent, CardActions, Card, CardMedia, CardHeader, Collapse as MuiCollapse, ListItemSecondaryAction, ListItemText, ListItemAvatar, ListItem, ListItemIcon, List, DialogTitle, Dialog, DialogContentText, DialogContent, DialogActions, Slide, RadioGroup, Radio, FormControlLabel, AccordionActions, AccordionDetails, AccordionSummary, Accordion, CircularProgress, LinearProgress as MuiLinearProgress, FormHelperText, FormGroup, FormControl, FormLabel, Fade, StepContent, StepButton, Step, Stepper, TableRow, TablePagination, TableCell, TableBody, Table, TableHead, InputLabel, Input, Grow, TableFooter, Zoom, ClickAwayListener, ListSubheader, } from '@mui/material';
6,811
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/transitions.test/actual.js
import transitions, { Easing, Duration as TransitionDuration, } from '@material-ui/core/styles/transitions'; // type A = TransitionDuration | Easing export const MuiButtonBaseStyleOverrides = { root: { '&.MuiButton-root': { fontFamily: '"Nunito", Avenir, sans-serif', boxSizing: 'border-box', transition: transitions.create(['background-color', 'box-shadow', 'border'], { duration: transitions.duration.short, }), }, }, };
6,812
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/transitions.test/expected.js
import createTransitions, { Easing, Duration as TransitionDuration, } from '@material-ui/core/styles/createTransitions'; const transitions = createTransitions({}); // type A = TransitionDuration | Easing export const MuiButtonBaseStyleOverrides = { root: { '&.MuiButton-root': { fontFamily: '"Nunito", Avenir, sans-serif', boxSizing: 'border-box', transition: transitions.create(['background-color', 'box-shadow', 'border'], { duration: transitions.duration.short, }), }, }, };
6,813
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/tree-view-moved-to-x.test/actual-root.js
import { TreeView, treeViewClasses, TreeViewClasses, TreeViewClassKey, getTreeViewUtilityClass, TreeViewPropsBase, TreeViewProps, SingleSelectTreeViewProps, MultiSelectTreeViewProps, TreeItem, useTreeItem, treeItemClasses, TreeItemClasses, TreeItemClassKey, getTreeItemUtilityClass, TreeItemProps, TreeItemContentProps, treeViewClasses as classes, Timeline, } from '@mui/lab'
6,814
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/tree-view-moved-to-x.test/actual-sub-module.js
import TreeView, { treeViewClasses, TreeViewClasses, TreeViewClassKey, getTreeViewUtilityClass, TreeViewPropsBase, TreeViewProps, SingleSelectTreeViewProps, MultiSelectTreeViewProps, treeViewClasses as classes, } from '@mui/lab/TreeView'; import TreeItem, { useTreeItem, treeItemClasses, TreeItemClasses, TreeItemClassKey, getTreeItemUtilityClass, TreeItemProps, TreeItemContentProps, } from '@mui/lab/TreeItem'; import AliasTreeV from '@mui/lab/TreeItem' import Timeline from '@mui/lab/Timeline';
6,815
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/tree-view-moved-to-x.test/expected-root.js
import { TreeView, treeViewClasses, TreeViewClasses, TreeViewClassKey, getTreeViewUtilityClass, TreeViewPropsBase, TreeViewProps, SingleSelectTreeViewProps, MultiSelectTreeViewProps, TreeItem, useTreeItem, treeItemClasses, TreeItemClasses, TreeItemClassKey, getTreeItemUtilityClass, TreeItemProps, TreeItemContentProps, treeViewClasses as classes, } from '@mui/x-tree-view'; import { Timeline } from '@mui/lab';
6,816
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/tree-view-moved-to-x.test/expected-sub-module.js
import { TreeView, treeViewClasses, TreeViewClasses, TreeViewClassKey, getTreeViewUtilityClass, TreeViewPropsBase, TreeViewProps, SingleSelectTreeViewProps, MultiSelectTreeViewProps, treeViewClasses as classes, } from '@mui/x-tree-view/TreeView'; import { TreeItem, useTreeItem, treeItemClasses, TreeItemClasses, TreeItemClassKey, getTreeItemUtilityClass, TreeItemProps, TreeItemContentProps, } from '@mui/x-tree-view/TreeItem'; import { TreeItem as AliasTreeV } from '@mui/x-tree-view/TreeItem'; import Timeline from '@mui/lab/Timeline';
6,817
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/use-autocomplete.test/actual.js
/* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable no-restricted-imports */ import { FilterOptionsState as MuiFilterOptionsState, createFilterOptions, Skeleton, useAutocomplete, CreateFilterOptionsConfig, AutocompleteFreeSoloValueMapping, Value as AutocompleteValue, UseAutocompleteProps, AutocompleteHighlightChangeReason, AutocompleteInputChangeReason, } from '@material-ui/lab'; import { AutocompleteChangeReason as ChangeReason, AutocompleteCloseReason, } from '@material-ui/lab/useAutocomplete';
6,818
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/use-autocomplete.test/expected.js
/* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable no-restricted-imports */ import { Skeleton } from '@material-ui/lab'; import useAutocomplete, { FilterOptionsState as MuiFilterOptionsState, createFilterOptions, CreateFilterOptionsConfig, AutocompleteFreeSoloValueMapping, Value as AutocompleteValue, UseAutocompleteProps, AutocompleteHighlightChangeReason, AutocompleteInputChangeReason, AutocompleteChangeReason as ChangeReason, AutocompleteCloseReason, } from '@material-ui/core/useAutocomplete';
6,819
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/use-transitionprops.test/actual.js
<div> <Dialog onEnter={onEnter} onEntered={onEntered} onEntering={onEntering} onExit={onExit} onExited={onExited} onExiting={myOnExiting} /> <Menu onEnter={onEnter} onEntered={onEntered} onEntering={onEntering} onExit={onExit} onExited={onExited} onExiting={myOnExiting} /> <Popover onEnter={onEnter} onEntered={onEntered} onEntering={onEntering} onExit={onExit} onExited={onExited} onExiting={myOnExiting} /> <Snackbar onEnter={onEnter} onEntered={onEntered} onEntering={onEntering} onExit={onExit} onExited={onExited} onExiting={myOnExiting} /> </div>
6,820
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/use-transitionprops.test/expected.js
<div> <Dialog TransitionProps={{ onEnter, onEntered, onEntering, onExit, onExited, onExiting: myOnExiting }} /> <Menu TransitionProps={{ onEnter, onEntered, onEntering, onExit, onExited, onExiting: myOnExiting }} /> <Popover TransitionProps={{ onEnter, onEntered, onEntering, onExit, onExited, onExiting: myOnExiting }} /> <Snackbar TransitionProps={{ onEnter, onEntered, onEntering, onExit, onExited, onExiting: myOnExiting }} /> </div>
6,821
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/variant-prop.test/actual.js
import * as React from 'react'; import TextField from '@material-ui/core/TextField'; import Select from '@material-ui/core/Select'; import FormControl from '@material-ui/core/FormControl'; import MuiTextField2 from '@mui/material/TextField'; import MuiSelect2 from '@mui/material/Select'; import { FormControl as MuiFormControl2 } from '@mui/material'; const Select2 = () => <MuiSelect2 />; export default function TextFieldComponent(props) { return ( <div> <TextField {...props} /> <TextField variant="outlined" /> <TextField variant="standard" /> <TextField variant="filled" /> <Select {...props} /> <Select variant="outlined" /> <Select variant="standard" /> <Select variant="filled" /> <FormControl {...props} /> <FormControl variant="outlined" /> <FormControl variant="standard" /> <FormControl variant="filled" /> <Autocomplete options={[]} getOptionLabel={(option) => option.title} renderInput={(params) => <TextField {...params} label="Combo box" variant="outlined" />} /> <CustomSelect /> <SelectedRoute /> <FromToSelect /> <FromToSelectDrawer /> <MuiTextField2 /> <Select2 /> <MuiFormControl2 /> </div> ); }
6,822
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/variant-prop.test/expected.js
import * as React from 'react'; import TextField from '@material-ui/core/TextField'; import Select from '@material-ui/core/Select'; import FormControl from '@material-ui/core/FormControl'; import MuiTextField2 from '@mui/material/TextField'; import MuiSelect2 from '@mui/material/Select'; import { FormControl as MuiFormControl2 } from '@mui/material'; const Select2 = () => <MuiSelect2 variant="standard" />; export default function TextFieldComponent(props) { return ( <div> <TextField variant="standard" {...props} /> <TextField variant="outlined" /> <TextField variant="standard" /> <TextField variant="filled" /> <Select variant="standard" {...props} /> <Select variant="outlined" /> <Select variant="standard" /> <Select variant="filled" /> <FormControl variant="standard" {...props} /> <FormControl variant="outlined" /> <FormControl variant="standard" /> <FormControl variant="filled" /> <Autocomplete options={[]} getOptionLabel={(option) => option.title} renderInput={(params) => <TextField {...params} label="Combo box" variant="outlined" />} /> <CustomSelect /> <SelectedRoute /> <FromToSelect /> <FromToSelectDrawer /> <MuiTextField2 variant="standard" /> <Select2 /> <MuiFormControl2 variant="standard" /> </div> ); }
6,823
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/with-mobile-dialog.test/actual.js
import withMobileDialog from '@material-ui/core/withMobileDialog'; import { withMobileDialog as withMuiMobileDialog } from '@material-ui/core'; import Button from '@material-ui/core/Button'; const A = withMobileDialog()((props) => { return <div>{props.width}</div>; }); function MobileDialogComponent(props) { const { width } = props; const Component = components[width] || 'span'; return ( <Typography> <Component>{`Current width: ${width}`}</Component> </Typography> ); } export default withMuiMobileDialog()(MobileDialogComponent);
6,824
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/with-mobile-dialog.test/expected.js
import Button from '@material-ui/core/Button'; // FIXME checkout https://mui.com/components/use-media-query/#using-material-uis-breakpoint-helpers const withMuiMobileDialog = () => (WrappedComponent) => (props) => <WrappedComponent {...props} width="lg" fullScreen={false} />; // FIXME checkout https://mui.com/components/use-media-query/#using-material-uis-breakpoint-helpers const withMobileDialog = () => (WrappedComponent) => (props) => <WrappedComponent {...props} width="lg" fullScreen={false} />; const A = withMobileDialog()((props) => { return <div>{props.width}</div>; }); function MobileDialogComponent(props) { const { width } = props; const Component = components[width] || 'span'; return ( <Typography> <Component>{`Current width: ${width}`}</Component> </Typography> ); } export default withMuiMobileDialog()(MobileDialogComponent);
6,825
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/with-mobile-dialog.test/no-withwidth.actual.js
import { Button } from '@material-ui/core';
6,826
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/with-mobile-dialog.test/no-withwidth.expected.js
import { Button } from '@material-ui/core';
6,827
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/with-width.test/actual.js
import withWidth from '@material-ui/core/withWidth'; import { withWidth as withMuiWidth } from '@material-ui/core'; import Button from '@material-ui/core/Button'; const A = withWidth()((props) => { return <div>{props.width}</div>; }); function WithWidthComponent(props) { const { width } = props; const Component = components[width] || 'span'; return ( <Typography> <Component>{`Current width: ${width}`}</Component> </Typography> ); } export default withMuiWidth()(WithWidth);
6,828
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/with-width.test/expected.js
import Button from '@material-ui/core/Button'; // FIXME checkout https://mui.com/components/use-media-query/#migrating-from-withwidth const withMuiWidth = () => (WrappedComponent) => (props) => <WrappedComponent {...props} width="xs" />; // FIXME checkout https://mui.com/components/use-media-query/#migrating-from-withwidth const withWidth = () => (WrappedComponent) => (props) => <WrappedComponent {...props} width="xs" />; const A = withWidth()((props) => { return <div>{props.width}</div>; }); function WithWidthComponent(props) { const { width } = props; const Component = components[width] || 'span'; return ( <Typography> <Component>{`Current width: ${width}`}</Component> </Typography> ); } export default withMuiWidth()(WithWidth);
6,829
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/with-width.test/no-withwidth.actual.js
import { Button } from '@material-ui/core';
6,830
0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0
petrpan-code/mui/material-ui/packages/mui-codemod/src/v5.0.0/with-width.test/no-withwidth.expected.js
import { Button } from '@material-ui/core';
6,831
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-core-downloads-tracker/README.md
# @mui/core-downloads-tracker This package does not contain any code. It is used solely to track number of downloads of @mui/material and @mui/joy (the only packages that depend on it) and help us determine the number of users of @mui/base. Counting downloads is done by npm (as for every other package).
6,832
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-core-downloads-tracker/package.json
{ "name": "@mui/core-downloads-tracker", "version": "5.14.18", "private": false, "author": "MUI Team", "description": "Internal package to track number of downloads of our design system libraries", "files": [], "repository": { "type": "git", "url": "https://github.com/mui/material-ui.git", "directory": "packages/core-downloads-tracker" }, "license": "MIT", "bugs": { "url": "https://github.com/mui/material-ui/issues" }, "homepage": "https://mui.com/", "funding": { "type": "opencollective", "url": "https://opencollective.com/mui-org" }, "scripts": { "build": "mkdir build && yarn build:copy-files", "build:copy-files": "node ../../scripts/copyFiles.mjs", "prebuild": "rimraf build", "release": "yarn build && npm publish build" }, "publishConfig": { "access": "public" } }
6,833
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-docs/README.md
# @mui/docs This package hosts the documentation building blocks. ## Installation Install the package in your project directory with: ```bash npm install @mui/docs ``` The docs has a peer dependency on the core components. If you are not already using MUI in your project, you can add it with: ```bash npm install @mui/material ``` ## Documentation We have no documentation for these components.
6,834
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-docs/package.json
{ "name": "@mui/docs", "version": "5.14.18", "private": false, "author": "MUI Team", "description": "MUI Docs - Documentation building blocks.", "main": "./src/index.js", "keywords": [ "react", "react-component", "material-ui", "material design", "docs" ], "repository": { "type": "git", "url": "https://github.com/mui/material-ui.git", "directory": "packages/mui-docs" }, "license": "MIT", "bugs": { "url": "https://github.com/mui/material-ui/issues" }, "homepage": "https://github.com/mui/material-ui/tree/master/packages/mui-docs", "scripts": { "build": "yarn build:legacy && yarn build:modern && yarn build:node && yarn build:stable && yarn build:copy-files", "build:legacy": "node ../../scripts/build.mjs legacy", "build:modern": "echo 'Skip modern build'", "build:node": "node ../../scripts/build.mjs node", "build:stable": "node ../../scripts/build.mjs stable", "build:copy-files": "node ../../scripts/copyFiles.mjs", "prebuild": "rimraf build", "release": "yarn build && npm publish build", "test": "exit 0" }, "dependencies": { "@babel/runtime": "^7.23.2", "@mui/base": "5.0.0-beta.24", "@mui/utils": "^5.14.18", "nprogress": "^0.2.0", "prop-types": "^15.8.1" }, "devDependencies": { "@types/react": "^18.2.37", "react": "^18.2.0" }, "peerDependencies": { "@mui/material": "^5.0.0", "@types/react": "^17.0.0 || ^18.0.0", "react": "^17.0.0 || ^18.0.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true } }, "publishConfig": { "access": "public" }, "engines": { "node": ">=12.0.0" } }
6,835
0
petrpan-code/mui/material-ui/packages/mui-docs
petrpan-code/mui/material-ui/packages/mui-docs/src/index.js
export { default as FileDownload } from './svgIcons/FileDownload'; export { default as JavaScript } from './svgIcons/JavaScript'; export { default as NProgressBar } from './NProgressBar'; export { default as TypeScript } from './svgIcons/TypeScript';
6,836
0
petrpan-code/mui/material-ui/packages/mui-docs/src
petrpan-code/mui/material-ui/packages/mui-docs/src/NProgressBar/NProgressBar.d.ts
import * as React from 'react'; export interface NProgressBarProps { children?: React.ReactNode; } declare const NProgressBar: React.FunctionComponent<NProgressBarProps>; export default NProgressBar;
6,837
0
petrpan-code/mui/material-ui/packages/mui-docs/src
petrpan-code/mui/material-ui/packages/mui-docs/src/NProgressBar/NProgressBar.js
import * as React from 'react'; import PropTypes from 'prop-types'; import NProgress from 'nprogress'; import { NoSsr } from '@mui/base/NoSsr'; import { exactProp } from '@mui/utils'; import GlobalStyles from '@mui/material/GlobalStyles'; import { keyframes } from '@mui/material/styles'; NProgress.configure({ barSelector: '.nprogress-bar', template: ` <div class="nprogress-bar"> <div></div> <div></div> </div> `, }); const muiNProgressPulse = keyframes` 30% { opacity: 0.6; } 60% { opacity: 0; } to { opacity: 0.6; } `; /** * Elegant and ready-to-use wrapper on top of https://github.com/rstacruz/nprogress/. * The implementation is highly inspired by the YouTube one. */ function NProgressBar(props) { return ( <NoSsr> {props.children} <GlobalStyles styles={(theme) => ({ '#nprogress': { direction: 'ltr', pointerEvents: 'none', position: 'fixed', top: 0, left: 0, right: 0, height: 2, zIndex: (theme.vars || theme).zIndex.tooltip, backgroundColor: (theme.vars || theme).palette.primary[200], ...theme.applyDarkStyles({ backgroundColor: (theme.vars || theme).palette.primary[700], }), '& .nprogress-bar': { position: 'fixed', backgroundColor: (theme.vars || theme).palette.primary.main, top: 0, left: 0, right: 0, height: 2, }, '& .nprogress-bar > div': { position: 'absolute', top: 0, height: 2, boxShadow: `${(theme.vars || theme).palette.primary.main} 1px 0 6px 1px`, borderRadius: '100%', animation: `${muiNProgressPulse} 2s ease-out 0s infinite`, }, '& .nprogress-bar > div:first-of-type': { opacity: 0.6, width: 20, right: 0, clip: 'rect(-6px,22px,14px,10px)', }, '& .nprogress-bar > div:last-of-type': { opacity: 0.6, width: 180, right: -80, clip: 'rect(-6px,90px,14px,-6px)', }, }, })} /> </NoSsr> ); } NProgressBar.propTypes = { children: PropTypes.node, }; if (process.env.NODE_ENV !== 'production') { NProgressBar.propTypes = exactProp(NProgressBar.propTypes); } export default NProgressBar;
6,838
0
petrpan-code/mui/material-ui/packages/mui-docs/src
petrpan-code/mui/material-ui/packages/mui-docs/src/NProgressBar/index.d.ts
export { default } from './NProgressBar'; export * from './NProgressBar';
6,839
0
petrpan-code/mui/material-ui/packages/mui-docs/src
petrpan-code/mui/material-ui/packages/mui-docs/src/NProgressBar/index.js
export { default } from './NProgressBar';
6,840
0
petrpan-code/mui/material-ui/packages/mui-docs/src
petrpan-code/mui/material-ui/packages/mui-docs/src/svgIcons/FileDownload.js
import * as React from 'react'; import SvgIcon from '@mui/material/SvgIcon'; function FileDownload(props) { return ( <SvgIcon {...props}> <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" /> </SvgIcon> ); } FileDownload.muiName = 'SvgIcon'; export default FileDownload;
6,841
0
petrpan-code/mui/material-ui/packages/mui-docs/src
petrpan-code/mui/material-ui/packages/mui-docs/src/svgIcons/JavaScript.js
import * as React from 'react'; import SvgIcon from '@mui/material/SvgIcon'; function JavaScript(props) { return ( <SvgIcon {...props}> <path d="M3,3H21V21H3V3M7.73,18.04C8.13,18.89 8.92,19.59 10.27,19.59C11.77,19.59 12.8,18.79 12.8,17.04V11.26H11.1V17C11.1,17.86 10.75,18.08 10.2,18.08C9.62,18.08 9.38,17.68 9.11,17.21L7.73,18.04M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86Z" /> </SvgIcon> ); } JavaScript.muiName = 'SvgIcon'; export default JavaScript;
6,842
0
petrpan-code/mui/material-ui/packages/mui-docs/src
petrpan-code/mui/material-ui/packages/mui-docs/src/svgIcons/TypeScript.js
import * as React from 'react'; import SvgIcon from '@mui/material/SvgIcon'; function TypeScript(props) { return ( <SvgIcon {...props}> <path d="M3,3H21V21H3V3M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86M13,11.25H8V12.75H9.5V20H11.25V12.75H13V11.25Z" /> </SvgIcon> ); } TypeScript.muiName = 'SvgIcon'; export default TypeScript;
6,843
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-envinfo/README.md
# @mui/envinfo Prints information about the current environment relevant to MUI packages to the console. Please use this package if you report [issues to MUI](https://github.com/mui/material-ui/issues). ## Usage ```bash $ npx @mui/envinfo System: OS: Linux 5.4 Ubuntu 20.04.1 LTS (Focal Fossa) Binaries: Node: 12.20.0 - ~/.nvm/versions/node/v12.20.0/bin/node Yarn: 1.22.4 - /usr/bin/yarn npm: 6.14.8 - ~/.nvm/versions/node/v12.20.0/bin/npm Browsers: Chrome: 87.0.4280.66 Firefox: 83.0 npmPackages: @emotion/react: ^11.0.0 => 11.1.1 @emotion/styled: ^11.0.0 => 11.0.0 @mui/codemod: 5.0.0-alpha.17 @mui/material: 5.0.0-alpha.18 @mui/docs: 5.0.0-alpha.1 @mui/envinfo: 2.0.0 @mui/icons-material: 5.0.0-alpha.15 @mui/lab: 5.0.0-alpha.18 @mui/styled-engine: 5.0.0-alpha.18 @mui/styled-engine-sc: 5.0.0-alpha.18 @mui/styles: 5.0.0-alpha.18 @mui/system: 5.0.0-alpha.18 @mui/types: 5.1.0 @mui/base: 5.0.0-alpha.18 @mui/utils: 5.0.0-alpha.18 @types/react: ^17.0.0 => 17.0.0 react: ^16.14.0 => 16.14.0 react-dom: ^16.14.0 => 16.14.0 styled-components: 5.2.1 typescript: ^4.0.2 => 4.0.5 ```
6,844
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-envinfo/envinfo.js
#!/usr/bin/env node const envinfo = require('envinfo'); const json = process.argv.indexOf('--json') !== -1; envinfo .run( { npmPackages: `{${[ '@mui/*', // Peer dependencies 'react', 'react-dom', // optional peer deps '@emotion/react', '@emotion/styled', 'styled-components', '@types/react', // auxiliary libraries 'typescript', ]}}`, Binaries: ['Node', 'Yarn', 'npm'], System: ['OS'], Browsers: ['Chrome', 'Firefox', 'Safari', 'Edge'], }, { // `markdown: true` uses level 2 headings. It doesn't necessarily fit our issue template json, duplicates: true, // include transitive dependencies and important packages that are transitive dependencies (e.g. `jsdom` is usually a transitive dependency inside jest) fullTree: true, showNotFound: true, }, ) .then((output) => { // eslint-disable-next-line no-console console.log(output); });
6,845
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-envinfo/envinfo.test.js
const { execFileSync } = require('child_process'); const path = require('path'); const { expect } = require('chai'); const isRunningOnWindows = process.platform === 'win32'; describe('@mui/envinfo', () => { const packagePath = __dirname; before(function beforeHook() { // only run in node if (!/jsdom/.test(window.navigator.userAgent)) { this.skip(); } // Building might take some time this.timeout(10000); execFileSync(isRunningOnWindows ? 'yarn.cmd' : 'yarn', ['build'], { cwd: packagePath, stdio: 'pipe', }); }); function execEnvinfo(args) { const buildPath = path.resolve(packagePath, 'build'); return execFileSync( isRunningOnWindows ? 'npx.cmd' : 'npx', ['--package', buildPath, 'envinfo', ...args], { encoding: 'utf8', stdio: 'pipe', }, ); } it('includes info about the environment relevant to MUI', function test() { // Need more time to download packages this.timeout(10000); const envinfoJSON = execEnvinfo(['--json']); const envinfo = JSON.parse(envinfoJSON); // chai doesn't have expect.any(String) like jest so we have to use what's available // We basically want to test like https://github.com/eps1lon/testing-library-envinfo/blob/2543092f4e4af02d79e306ec6546a9c12b258675/index.test.js#L20-L68 // The specific versions change over time so we can't use snapshots. expect(envinfo).to.have.nested.property('Binaries.Node'); expect(envinfo).to.have.nested.property('Binaries.Yarn'); expect(envinfo).to.have.nested.property('Binaries.npm'); // CI doesn't install all the covered browsers. Simply asserting that it does print browsers. expect(envinfo).to.have.nested.property('Browsers'); expect(envinfo).to.have.nested.property('npmPackages.@emotion/react'); expect(envinfo).to.have.nested.property('npmPackages.@emotion/styled'); // Non-exhaustive list of `@mui/*` packages expect(envinfo).to.have.nested.property('npmPackages.@mui/material'); expect(envinfo).to.have.nested.property('npmPackages.@mui/lab'); expect(envinfo).to.have.nested.property('npmPackages.react'); expect(envinfo).to.have.nested.property('npmPackages.react-dom'); expect(envinfo).to.have.nested.property('npmPackages.styled-components'); expect(envinfo).to.have.nested.property('npmPackages.typescript'); }); });
6,846
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-envinfo/package.json
{ "name": "@mui/envinfo", "version": "2.0.13", "private": false, "author": "MUI Team", "description": "Logs infos about the environment relevant to @mui/*", "bin": "./envinfo.js", "repository": { "type": "git", "url": "https://github.com/mui/material-ui", "directory": "packages/mui-envinfo" }, "license": "MIT", "bugs": { "url": "https://github.com/mui/material-ui/issues" }, "homepage": "https://github.com/mui/material-ui/tree/HEAD/packages/mui-envinfo", "files": [], "scripts": { "build": "node scripts/build" }, "dependencies": { "envinfo": "^7.11.0" }, "devDependencies": { "@types/chai": "^4.3.10", "chai": "^4.3.10", "fs-extra": "^11.1.1" }, "publishConfig": { "access": "public" } }
6,847
0
petrpan-code/mui/material-ui/packages/mui-envinfo
petrpan-code/mui/material-ui/packages/mui-envinfo/scripts/build.js
const childProcess = require('child_process'); const path = require('path'); const fse = require('fs-extra'); const { promisify } = require('util'); const packageRoot = path.resolve(__dirname, '../'); const buildDirectory = path.join(packageRoot, 'build'); const exec = promisify(childProcess.exec); /** * Moves published files to `/build`. * We publish from `/build` by convention. */ async function main() { // clean await fse.remove(buildDirectory); const { stdout: filenames } = await exec('npm pack', { cwd: packageRoot }); const packageTgzPath = path.join( packageRoot, // https://docs.npmjs.com/cli/v6/commands/npm-pack // "and then write the filenames out to stdout" // which means they're separated by a newline filenames.split(/\r?\n/)[0], ); // hardcoded by npm const untarDestination = path.join(packageRoot, 'package'); try { await exec( [ 'tar', '-xzf', // absolute paths are not interpreted as local files // `--force-local` is not available in BSD tar (macOS) path.relative(packageRoot, packageTgzPath), ].join(' '), { cwd: packageRoot, }, ); await fse.move(untarDestination, buildDirectory); } finally { await fse.remove(untarDestination); } } main().catch((error) => { console.error(error); process.exit(1); });
6,848
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-icons-material/.eslintrc.js
module.exports = { rules: { // needed for mustache and temp 'import/no-unresolved': 'off', 'import/extensions': 'off', }, };
6,849
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-icons-material/README.md
# @mui/icons-material This package provides the Google [Material Icons](https://fonts.google.com/icons?icon.set=Material+Icons) converted to [`SvgIcon`](https://mui.com/material-ui/api/svg-icon/) components. ## Installation Install the package in your project directory with: <!-- #default-branch-switch --> ```bash npm install @mui/icons-material ``` <!-- #default-branch-switch --> These components use the Material UI's [SvgIcon](https://mui.com/material-ui/api/svg-icon) component to render the SVG path for each icon. If you are not already using Material UI in your project, you can add it with: ```bash npm install @mui/material ``` ## Documentation <!-- #default-branch-switch --> - [The SvgIcon documentation](https://mui.com/material-ui/icons/#svgicon) - [The Material Design icons search](https://mui.com/material-ui/material-icons/) ## Contributing This icon set is meant to be in sync with Google's Material Icons. Therefore, we don't accept fixes, additions, or any other contributions that would make this package diverge from the source. To synchronize with Material Icons, do the following: 1. Inside this workspace run `yarn src:download` 2. Inside this workspace run `yarn src:icons` 3. Inside the root run `yarn docs:mdicons:synonyms` 4. If the number of icons changes significantly, edit the icons/icons.md and material-icons/material-icons.md under docs/data/material/components and update the numbers.
6,850
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-icons-material/builder.md
# @mui/icons-material-builder This tool generates MUI SvgIcon components for a set of svg icons. ## Running the build The build script downloads and builds the Material Design Icons. ```bash yarn install yarn build cd build yarn publish ``` ## Generated folders The build script downloads Material Design SVG icons to the `material-icons` folder, generates the appropriate `.js` files in the `build` folder, and creates a `package.json`. ## Advanced usage and Custom builds `node build.js --help` can be used to display the options available for building. You can build your own SVG icons as well as collections like [game-icons](https://game-icons.net/) through command line options. - `--output-dir` - Directory to output generated components. - `--svg-dir` - Directory containing the source SVG icons. - `--inner-path` - "Reach into" subdirs, since libraries like material-design-icons use arbitrary build directories to organize icons, e.g. "action/svg/production/". - `--file-suffix` - Process only files ending with the specified suffix/ - `--rename-filter` - Apply a custom filter to rename the generated icons. The default and Material Design filters can be found in `filters/rename`. If you experience any issues building icons or would like a feature added, [file an issue](https://github.com/mui/material-ui/issues) and let us know.
6,851
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-icons-material/builder.mjs
import path from 'path'; import fse from 'fs-extra'; import yargs from 'yargs'; import { rimrafSync } from 'rimraf'; import Mustache from 'mustache'; import globAsync from 'fast-glob'; import * as svgo from 'svgo'; import { fileURLToPath } from 'url'; import intersection from 'lodash/intersection.js'; import { Queue } from '@mui/internal-waterfall'; const currentDirectory = fileURLToPath(new URL('.', import.meta.url)); export const RENAME_FILTER_DEFAULT = './renameFilters/default.mjs'; export const RENAME_FILTER_MUI = './renameFilters/material-design-icons.mjs'; /** * Converts directory separators to slashes, so the path can be used in fast-glob. * @param {string} pathToNormalize * @returns */ function normalizePath(pathToNormalize) { return pathToNormalize.replace(/\\/g, '/'); } /** * Return Pascal-Cased component name. * @param {string} destPath * @returns {string} class name */ export function getComponentName(destPath) { const splitregex = new RegExp(`[\\${path.sep}-]+`); const parts = destPath .replace('.js', '') .split(splitregex) .map((part) => part.charAt(0).toUpperCase() + part.substring(1)); return parts.join(''); } async function generateIndex(options) { const files = await globAsync(normalizePath(path.join(options.outputDir, '*.js'))); const index = files .map((file) => { const typename = path.basename(file).replace('.js', ''); return `export { default as ${typename} } from './${typename}';\n`; }) .sort() .join(''); await fse.writeFile(path.join(options.outputDir, 'index.js'), index); } // Noise introduced by Google by mistake const noises = [ ['="M0 0h24v24H0V0zm0 0h24v24H0V0z', '="'], ['="M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z', '="'], ]; function removeNoise(input, prevInput = null) { if (input === prevInput) { return input; } let output = input; noises.forEach(([search, replace]) => { if (output.indexOf(search) !== -1) { output = output.replace(search, replace); } }); return removeNoise(output, input); } export function cleanPaths({ svgPath, data }) { // Remove hardcoded color fill before optimizing so that empty groups are removed const input = data .replace(/ fill="#010101"/g, '') .replace(/<rect fill="none" width="24" height="24"\/>/g, '') .replace(/<rect id="SVGID_1_" width="24" height="24"\/>/g, ''); const result = svgo.optimize(input, { floatPrecision: 4, multipass: true, plugins: [ { name: 'cleanupAttrs' }, { name: 'removeDoctype' }, { name: 'removeXMLProcInst' }, { name: 'removeComments' }, { name: 'removeMetadata' }, { name: 'removeTitle' }, { name: 'removeDesc' }, { name: 'removeUselessDefs' }, { name: 'removeEditorsNSData' }, { name: 'removeEmptyAttrs' }, { name: 'removeHiddenElems' }, { name: 'removeEmptyText' }, { name: 'removeViewBox' }, { name: 'cleanupEnableBackground' }, { name: 'minifyStyles' }, { name: 'convertStyleToAttrs' }, { name: 'convertColors' }, { name: 'convertPathData' }, { name: 'convertTransform' }, { name: 'removeUnknownsAndDefaults' }, { name: 'removeNonInheritableGroupAttrs' }, { name: 'removeUselessStrokeAndFill', params: { // https://github.com/svg/svgo/issues/727#issuecomment-303115276 removeNone: true, }, }, { name: 'removeUnusedNS' }, { name: 'cleanupIds' }, { name: 'cleanupNumericValues' }, { name: 'cleanupListOfValues' }, { name: 'moveElemsAttrsToGroup' }, { name: 'moveGroupAttrsToElems' }, { name: 'collapseGroups' }, { name: 'removeRasterImages' }, { name: 'mergePaths' }, { name: 'convertShapeToPath' }, { name: 'sortAttrs' }, { name: 'removeDimensions' }, { name: 'removeElementsByAttr' }, { name: 'removeStyleElement' }, { name: 'removeScriptElement' }, { name: 'removeEmptyContainers' }, ], }); // True if the svg has multiple children let childrenAsArray = false; const jsxResult = svgo.optimize(result.data, { plugins: [ { name: 'svgAsReactFragment', fn: () => { return { root: { enter(root) { const [svg, ...rootChildren] = root.children; if (rootChildren.length > 0) { throw new Error('Expected a single child of the root'); } if (svg.type !== 'element' || svg.name !== 'svg') { throw new Error('Expected an svg element as the root child'); } if (svg.children.length > 1) { childrenAsArray = true; svg.children.forEach((svgChild, index) => { svgChild.attributes.key = index; // Original name will be restored later // We just need a mechanism to convert the resulting // svg string into an array of JSX elements svgChild.name = `SVGChild:${svgChild.name}`; }); } root.children = svg.children; }, }, }; }, }, ], }); // Extract the paths from the svg string // Clean xml paths // TODO: Implement as svgo plugins instead let paths = jsxResult.data .replace(/"\/>/g, '" />') .replace(/fill-opacity=/g, 'fillOpacity=') .replace(/xlink:href=/g, 'xlinkHref=') .replace(/clip-rule=/g, 'clipRule=') .replace(/fill-rule=/g, 'fillRule=') .replace(/ clip-path=".+?"/g, '') // Fix visibility issue and save some bytes. .replace(/<clipPath.+?<\/clipPath>/g, ''); // Remove unused definitions const sizeMatch = svgPath.match(/^.*_([0-9]+)px.svg$/); const size = sizeMatch ? Number(sizeMatch[1]) : null; if (size !== 24) { const scale = Math.round((24 / size) * 100) / 100; // Keep a maximum of 2 decimals paths = paths.replace('clipPath="url(#b)" ', ''); paths = paths.replace(/<path /g, `<path transform="scale(${scale}, ${scale})" `); } paths = removeNoise(paths); if (childrenAsArray) { const pathsCommaSeparated = paths // handle self-closing tags .replace(/key="\d+" \/>/g, '$&,') // handle the rest .replace(/<\/SVGChild:(\w+)>/g, '</$1>,'); paths = `[${pathsCommaSeparated}]`; } paths = paths.replace(/SVGChild:/g, ''); return paths; } async function worker({ progress, svgPath, options, renameFilter, template }) { progress(); const normalizedSvgPath = path.normalize(svgPath); const svgPathObj = path.parse(normalizedSvgPath); const innerPath = path .dirname(normalizedSvgPath) .replace(options.svgDir, '') .replace(path.relative(process.cwd(), options.svgDir), ''); // for relative dirs const destPath = renameFilter(svgPathObj, innerPath, options); const outputFileDir = path.dirname(path.join(options.outputDir, destPath)); await fse.ensureDir(outputFileDir); const data = await fse.readFile(svgPath, { encoding: 'utf8' }); const paths = cleanPaths({ svgPath, data }); const componentName = getComponentName(destPath); const fileString = Mustache.render(template, { paths, componentName, }); const absDestPath = path.join(options.outputDir, destPath); await fse.writeFile(absDestPath, fileString); } export async function handler(options) { const progress = options.disableLog ? () => {} : () => process.stdout.write('.'); rimrafSync(`${options.outputDir}/*.js`, { glob: true }); // Clean old files let renameFilter = options.renameFilter; if (typeof renameFilter === 'string') { const renameFilterModule = await import(renameFilter); renameFilter = renameFilterModule.default; } if (typeof renameFilter !== 'function') { throw Error('renameFilter must be a function'); } await fse.ensureDir(options.outputDir); const [svgPaths, template] = await Promise.all([ globAsync(normalizePath(path.join(options.svgDir, options.glob))), fse.readFile(path.join(currentDirectory, 'templateSvgIcon.js'), { encoding: 'utf8', }), ]); const queue = new Queue( (svgPath) => worker({ progress, svgPath, options, renameFilter, template, }), { concurrency: 8 }, ); queue.push(svgPaths); await queue.wait({ empty: true }); let legacyFiles = await globAsync(normalizePath(path.join(currentDirectory, '/legacy', '*.js'))); legacyFiles = legacyFiles.map((file) => path.basename(file)); let generatedFiles = await globAsync(normalizePath(path.join(options.outputDir, '*.js'))); generatedFiles = generatedFiles.map((file) => path.basename(file)); const duplicatedIconsLegacy = intersection(legacyFiles, generatedFiles); if (duplicatedIconsLegacy.length > 0) { throw new Error( `Duplicated icons in legacy folder. Either \n` + `1. Remove these from the /legacy folder\n` + `2. Add them to the blacklist to keep the legacy version\n` + `The following icons are duplicated: \n${duplicatedIconsLegacy.join('\n')}`, ); } await fse.copy(path.join(currentDirectory, '/legacy'), options.outputDir); await fse.copy(path.join(currentDirectory, '/custom'), options.outputDir); await generateIndex(options); } const nodePath = path.resolve(process.argv[1]); const modulePath = path.resolve(fileURLToPath(import.meta.url)); const isRunningDirectlyViaCLI = nodePath === modulePath; if (isRunningDirectlyViaCLI) { yargs(process.argv.slice(2)) .command({ command: '$0>', description: "Build JSX components from SVG's.", handler, builder: (command) => { command .option('output-dir', { required: true, type: 'string', describe: 'Directory to output jsx components', }) .option('svg-dir', { required: true, type: 'string', describe: 'Directory to output jsx components', }) .option('glob', { type: 'string', describe: 'Glob to match inside of --svg-dir', default: '**/*.svg', }) .option('inner-path', { type: 'string', describe: '"Reach into" subdirs, since libraries like material-design-icons' + ' use arbitrary build directories to organize icons' + ' e.g. "action/svg/production/icon_3d_rotation_24px.svg"', default: '', }) .option('file-suffix', { type: 'string', describe: 'Filter only files ending with a suffix (pretty much only for @mui/icons-material)', }) .option('rename-filter', { type: 'string', describe: 'Path to JS module used to rename destination filename and path.', default: RENAME_FILTER_DEFAULT, }) .option('disable-log', { type: 'boolean', describe: 'If true, does not produce any output in STDOUT.', default: false, }); }, }) .help() .strict(true) .version(false) .parse(); }
6,852
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-icons-material/builder.test.mjs
import { expect } from 'chai'; import fs from 'fs'; import os from 'os'; import path from 'path'; import { fileURLToPath } from 'url'; import fse from 'fs-extra'; import { RENAME_FILTER_MUI, RENAME_FILTER_DEFAULT, getComponentName, handler } from './builder.mjs'; const currentDirectory = fileURLToPath(new URL('.', import.meta.url)); const DISABLE_LOG = true; // To cut down on test time, use fixtures instead of node_modules // const MUI_ICONS_ROOT = path.join(currentDirectory, '../node_modules/material-design-icons/'); const MUI_ICONS_ROOT = path.join(currentDirectory, './fixtures/material-design-icons/'); const MUI_ICONS_SVG_DIR = path.join(MUI_ICONS_ROOT, 'svg'); const GAME_ICONS_ROOT = path.join(currentDirectory, './fixtures/game-icons/'); const GAME_ICONS_SVG_DIR = path.join(GAME_ICONS_ROOT, 'svg/icons/'); describe('builder', () => { describe('#getComponentName', () => { it('should change capitalize dashes', () => { expect(getComponentName('hi-world')).to.equal('HiWorld'); }); it('should capitalize based on environment path.sep', () => { expect(getComponentName(`this${path.sep}dir`)).to.equal('ThisDir'); }); }); it('should have icons to test with', () => { expect(fs.lstatSync(MUI_ICONS_SVG_DIR).isDirectory()).to.equal(true); }); describe('--output-dir', () => { const options = { svgDir: MUI_ICONS_SVG_DIR, innerPath: '/svg/production/', glob: '/**/production/*_24px.svg', renameFilter: RENAME_FILTER_MUI, disableLog: DISABLE_LOG, outputDir: null, }; beforeEach(async function beforeEachHook() { // DON'T CLEAN UP TO MAKE TEST INSPECTABLE options.outputDir = path.join( os.tmpdir(), 'material-ui-icons-builder-test', this.currentTest.fullTitle(), ); await fse.emptyDir(options.outputDir); }); it('script outputs to directory', async () => { await handler(options); expect(fs.lstatSync(options.outputDir).isDirectory()).to.equal(true); expect(fs.lstatSync(path.join(options.outputDir, 'index.js')).isFile()).to.equal(true); }); }); describe('--svg-dir, --innerPath, --fileSuffix', () => { const options = { svgDir: GAME_ICONS_SVG_DIR, glob: '**/*.svg', innerPath: '/dice/svg/000000/transparent/', renameFilter: RENAME_FILTER_DEFAULT, disableLog: false, outputDir: null, }; beforeEach(async function beforeEachHook() { // DON'T CLEAN UP TO MAKE TEST INSPECTABLE options.outputDir = path.join( os.tmpdir(), 'material-ui-icons-builder-test', this.currentTest.fullTitle(), ); await fse.emptyDir(options.outputDir); }); it('script outputs to directory', async () => { await handler(options); expect(fs.lstatSync(options.outputDir).isDirectory()).to.equal(true); expect(fs.lstatSync(path.join(options.outputDir, 'delapouite')).isDirectory()).to.equal(true); const actualFilePath = path.join( options.outputDir, 'delapouite', 'dice', 'svg', '000000', 'transparent', 'Dice-six-faces-four.js', ); expect(fs.existsSync(actualFilePath)).to.equal(true); const actualFileData = fs.readFileSync(actualFilePath, { encoding: 'utf8' }); expect(actualFileData).to.include("import createSvgIcon from './utils/createSvgIcon'"); }); }); describe('Template rendering', () => { const options = { svgDir: MUI_ICONS_SVG_DIR, innerPath: '/svg/', glob: '/*_24px.svg', renameFilter: RENAME_FILTER_MUI, disableLog: DISABLE_LOG, outputDir: null, }; beforeEach(async function beforeEachHook() { // DON'T CLEAN UP TO MAKE TEST INSPECTABLE options.outputDir = path.join( os.tmpdir(), 'material-ui-icons-builder-test', this.currentTest.fullTitle(), ); await fse.emptyDir(options.outputDir); }); it('should produce the expected output', async () => { await handler(options); expect(fs.lstatSync(options.outputDir).isDirectory()).to.equal(true); const cases = [ 'Accessibility.js', 'StarRounded.js', 'QueueMusicOutlined.js', 'AccessAlarms.js', 'TimesOneMobiledata.js', 'ThirtyFps.js', 'SixtyFps.js', 'FiveMp.js', 'ElevenMp.js', 'TwentyFourMp.js', 'AccessAlarmsTwoTone.js', 'RecordVoiceOverTwoTone.js', ]; cases.forEach((name) => { const actual = fs.readFileSync(path.join(options.outputDir, name), { encoding: 'utf8' }); // Update the snapshots // fs.writeFileSync(path.join(MUI_ICONS_ROOT, 'expected', name), actual, { encoding: 'utf8' }); const expected = fs.readFileSync(path.join(MUI_ICONS_ROOT, 'expected', name), { encoding: 'utf8', }); expect(actual).to.equal(expected); }); }); }); });
6,853
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-icons-material/package.json
{ "name": "@mui/icons-material", "version": "5.14.18", "private": false, "author": "MUI Team", "description": "Material Design icons distributed as SVG React components.", "main": "./src/index.js", "keywords": [ "react", "react-component", "mui", "material-ui", "material design", "icons" ], "repository": { "type": "git", "url": "https://github.com/mui/material-ui.git", "directory": "packages/mui-icons-material" }, "license": "MIT", "bugs": { "url": "https://github.com/mui/material-ui/issues" }, "homepage": "https://mui.com/material-ui/material-icons/", "funding": { "type": "opencollective", "url": "https://opencollective.com/mui-org" }, "scripts": { "build": "shx cp -r lib/ build/ && yarn build:typings && yarn build:copy-files", "build:lib": "yarn build:node && yarn build:stable", "build:lib:clean": "rimraf lib/ && yarn build:lib", "build:legacy": "echo 'Skip legacy build'", "build:modern": "echo 'Skip modern build'", "build:node": "node ../../scripts/build.mjs node --largeFiles --outDir lib", "build:stable": "node ../../scripts/build.mjs stable --largeFiles --outDir lib", "build:copy-files": "node ../../scripts/copyFiles.mjs", "build:typings": "node ./scripts/create-typings.mjs", "prebuild": "rimraf build", "release": "yarn build && npm publish build", "src:download": "node ./scripts/download.mjs", "src:icons": "cross-env UV_THREADPOOL_SIZE=64 node ./builder.mjs --output-dir src --svg-dir material-icons --renameFilter ./renameFilters/material-design-icons.mjs && yarn build:lib:clean", "test": "cd ../../ && cross-env NODE_ENV=test mocha 'packages/mui-icons-material/**/*.test.{mjs,js,ts,tsx}'", "test:built-typings": "tslint -p test/generated-types/tsconfig.json \"test/generated-types/*.{ts,tsx}\"", "typescript": "tslint -p tsconfig.json \"src/**/*.{ts,tsx}\"" }, "dependencies": { "@babel/runtime": "^7.23.2" }, "devDependencies": { "@mui/internal-waterfall": "^1.0.0", "@types/chai": "^4.3.10", "@types/react": "^18.2.37", "chai": "^4.3.10", "chalk": "^5.3.0", "cross-fetch": "^4.0.0", "fast-glob": "^3.3.2", "fs-extra": "^11.1.1", "lodash": "^4.17.21", "mustache": "^4.2.0", "react": "^18.2.0", "rimraf": "^5.0.5", "shx": "^0.3.4", "svgo": "^3.0.4", "yargs": "^17.7.2" }, "peerDependencies": { "@mui/material": "^5.0.0", "@types/react": "^17.0.0 || ^18.0.0", "react": "^17.0.0 || ^18.0.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true } }, "sideEffects": false, "publishConfig": { "access": "public" }, "engines": { "node": ">=12.0.0" } }
6,854
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-icons-material/templateSvgIcon.js
"use client"; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( {{{paths}}} , '{{componentName}}');
6,855
0
petrpan-code/mui/material-ui/packages
petrpan-code/mui/material-ui/packages/mui-icons-material/tsconfig.json
{ "extends": "../../tsconfig.json" }
6,856
0
petrpan-code/mui/material-ui/packages/mui-icons-material
petrpan-code/mui/material-ui/packages/mui-icons-material/custom/Apple.js
'use client'; import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z" />, 'Apple', );
6,857
0
petrpan-code/mui/material-ui/packages/mui-icons-material
petrpan-code/mui/material-ui/packages/mui-icons-material/custom/Facebook.js
'use client'; import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m13 2h-2.5A3.5 3.5 0 0 0 12 8.5V11h-2v3h2v7h3v-7h3v-3h-3V9a1 1 0 0 1 1-1h2V5z" />, 'Facebook', );
6,858
0
petrpan-code/mui/material-ui/packages/mui-icons-material
petrpan-code/mui/material-ui/packages/mui-icons-material/custom/GitHub.js
'use client'; import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27" />, 'GitHub', );
6,859
0
petrpan-code/mui/material-ui/packages/mui-icons-material
petrpan-code/mui/material-ui/packages/mui-icons-material/custom/Google.js
'use client'; import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12.545,10.239v3.821h5.445c-0.712,2.315-2.647,3.972-5.445,3.972c-3.332,0-6.033-2.701-6.033-6.032s2.701-6.032,6.033-6.032c1.498,0,2.866,0.549,3.921,1.453l2.814-2.814C17.503,2.988,15.139,2,12.545,2C7.021,2,2.543,6.477,2.543,12s4.478,10,10.002,10c8.396,0,10.249-7.85,9.426-11.748L12.545,10.239z" />, 'Google', );
6,860
0
petrpan-code/mui/material-ui/packages/mui-icons-material
petrpan-code/mui/material-ui/packages/mui-icons-material/custom/Instagram.js
'use client'; import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z" />, 'Instagram', );
6,861
0
petrpan-code/mui/material-ui/packages/mui-icons-material
petrpan-code/mui/material-ui/packages/mui-icons-material/custom/LinkedIn.js
'use client'; import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z" />, 'LinkedIn', );
6,862
0
petrpan-code/mui/material-ui/packages/mui-icons-material
petrpan-code/mui/material-ui/packages/mui-icons-material/custom/Microsoft.js
'use client'; import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M2 3h9v9H2V3m9 19H2v-9h9v9M21 3v9h-9V3h9m0 19h-9v-9h9v9Z" />, 'Microsoft', );
6,863
0
petrpan-code/mui/material-ui/packages/mui-icons-material
petrpan-code/mui/material-ui/packages/mui-icons-material/custom/Pinterest.js
'use client'; import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M9.04 21.54c.96.29 1.93.46 2.96.46a10 10 0 0 0 10-10A10 10 0 0 0 12 2 10 10 0 0 0 2 12c0 4.25 2.67 7.9 6.44 9.34-.09-.78-.18-2.07 0-2.96l1.15-4.94s-.29-.58-.29-1.5c0-1.38.86-2.41 1.84-2.41.86 0 1.26.63 1.26 1.44 0 .86-.57 2.09-.86 3.27-.17.98.52 1.84 1.52 1.84 1.78 0 3.16-1.9 3.16-4.58 0-2.4-1.72-4.04-4.19-4.04-2.82 0-4.48 2.1-4.48 4.31 0 .86.28 1.73.74 2.3.09.06.09.14.06.29l-.29 1.09c0 .17-.11.23-.28.11-1.28-.56-2.02-2.38-2.02-3.85 0-3.16 2.24-6.03 6.56-6.03 3.44 0 6.12 2.47 6.12 5.75 0 3.44-2.13 6.2-5.18 6.2-.97 0-1.92-.52-2.26-1.13l-.67 2.37c-.23.86-.86 2.01-1.29 2.7v-.03z" />, 'Pinterest', );
6,864
0
petrpan-code/mui/material-ui/packages/mui-icons-material
petrpan-code/mui/material-ui/packages/mui-icons-material/custom/Reddit.js
'use client'; import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M22 12.14a2.19 2.19 0 0 0-3.71-1.57 10.93 10.93 0 0 0-5.86-1.87l1-4.7 3.27.71a1.56 1.56 0 1 0 .16-.76l-3.64-.77c-.11-.02-.22 0-.29.06-.09.05-.14.14-.16.26l-1.11 5.22c-2.33.07-4.43.78-5.95 1.86A2.2 2.2 0 0 0 4.19 10a2.16 2.16 0 0 0-.9 4.15 3.6 3.6 0 0 0-.05.66c0 3.37 3.92 6.12 8.76 6.12s8.76-2.73 8.76-6.12c0-.21-.01-.44-.05-.66A2.21 2.21 0 0 0 22 12.14M7 13.7c0-.86.68-1.56 1.54-1.56s1.56.7 1.56 1.56a1.56 1.56 0 0 1-1.56 1.56c-.86.02-1.54-.7-1.54-1.56m8.71 4.14C14.63 18.92 12.59 19 12 19c-.61 0-2.65-.1-3.71-1.16a.4.4 0 0 1 0-.57.4.4 0 0 1 .57 0c.68.68 2.14.91 3.14.91s2.47-.23 3.14-.91a.4.4 0 0 1 .57 0c.14.16.14.41 0 .57m-.29-2.56c-.86 0-1.56-.7-1.56-1.56a1.56 1.56 0 0 1 1.56-1.56c.86 0 1.58.7 1.58 1.56a1.6 1.6 0 0 1-1.58 1.56z" />, 'Reddit', );
6,865
0
petrpan-code/mui/material-ui/packages/mui-icons-material
petrpan-code/mui/material-ui/packages/mui-icons-material/custom/Telegram.js
'use client'; import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z" />, 'Telegram', );
6,866
0
petrpan-code/mui/material-ui/packages/mui-icons-material
petrpan-code/mui/material-ui/packages/mui-icons-material/custom/Twitter.js
'use client'; import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23z" />, 'Twitter', );
6,867
0
petrpan-code/mui/material-ui/packages/mui-icons-material
petrpan-code/mui/material-ui/packages/mui-icons-material/custom/WhatsApp.js
'use client'; import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M16.75 13.96c.25.13.41.2.46.3.06.11.04.61-.21 1.18-.2.56-1.24 1.1-1.7 1.12-.46.02-.47.36-2.96-.73-2.49-1.09-3.99-3.75-4.11-3.92-.12-.17-.96-1.38-.92-2.61.05-1.22.69-1.8.95-2.04.24-.26.51-.29.68-.26h.47c.15 0 .36-.06.55.45l.69 1.87c.06.13.1.28.01.44l-.27.41-.39.42c-.12.12-.26.25-.12.5.12.26.62 1.09 1.32 1.78.91.88 1.71 1.17 1.95 1.3.24.14.39.12.54-.04l.81-.94c.19-.25.35-.19.58-.11l1.67.88M12 2a10 10 0 0 1 10 10 10 10 0 0 1-10 10c-1.97 0-3.8-.57-5.35-1.55L2 22l1.55-4.65A9.969 9.969 0 0 1 2 12 10 10 0 0 1 12 2m0 2a8 8 0 0 0-8 8c0 1.72.54 3.31 1.46 4.61L4.5 19.5l2.89-.96A7.95 7.95 0 0 0 12 20a8 8 0 0 0 8-8 8 8 0 0 0-8-8z" />, 'WhatsApp', );
6,868
0
petrpan-code/mui/material-ui/packages/mui-icons-material
petrpan-code/mui/material-ui/packages/mui-icons-material/custom/YouTube.js
'use client'; import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M10 15l5.19-3L10 9v6m11.56-7.83c.13.47.22 1.1.28 1.9.07.8.1 1.49.1 2.09L22 12c0 2.19-.16 3.8-.44 4.83-.25.9-.83 1.48-1.73 1.73-.47.13-1.33.22-2.65.28-1.3.07-2.49.1-3.59.1L12 19c-4.19 0-6.8-.16-7.83-.44-.9-.25-1.48-.83-1.73-1.73-.13-.47-.22-1.1-.28-1.9-.07-.8-.1-1.49-.1-2.09L2 12c0-2.19.16-3.8.44-4.83.25-.9.83-1.48 1.73-1.73.47-.13 1.33-.22 2.65-.28 1.3-.07 2.49-.1 3.59-.1L12 5c4.19 0 6.8.16 7.83.44.9.25 1.48.83 1.73 1.73z" />, 'YouTube', );
6,869
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/README.md
Game Icons Test Fixtures ======================== Source: https://game-icons.net/ Date: July 7, 2015 License: CC BY 3.0 Extracted from SVG (B/T) set. Layout: ``svg/`` - follows structure of unzipped game-icons assets.
6,870
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/delapouite/dice/svg/000000
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/delapouite/dice/svg/000000/transparent/dice-six-faces-five.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M74.5 36A38.5 38.5 0 0 0 36 74.5v363A38.5 38.5 0 0 0 74.5 476h363a38.5 38.5 0 0 0 38.5-38.5v-363A38.5 38.5 0 0 0 437.5 36h-363zm48.97 36.03A50 50 0 0 1 172 122a50 50 0 0 1-100 0 50 50 0 0 1 51.47-49.97zm268 0A50 50 0 0 1 440 122a50 50 0 0 1-100 0 50 50 0 0 1 51.47-49.97zM256 206a50 50 0 0 1 0 100 50 50 0 0 1 0-100zM123.47 340.03A50 50 0 0 1 172 390a50 50 0 0 1-100 0 50 50 0 0 1 51.47-49.97zm268 0A50 50 0 0 1 440 390a50 50 0 0 1-100 0 50 50 0 0 1 51.47-49.97z" /></svg>
6,871
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/delapouite/dice/svg/000000
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/delapouite/dice/svg/000000/transparent/dice-six-faces-four.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M74.5 36A38.5 38.5 0 0 0 36 74.5v363A38.5 38.5 0 0 0 74.5 476h363a38.5 38.5 0 0 0 38.5-38.5v-363A38.5 38.5 0 0 0 437.5 36h-363zm48.97 36.03A50 50 0 0 1 172 122a50 50 0 0 1-100 0 50 50 0 0 1 51.47-49.97zm268 0A50 50 0 0 1 440 122a50 50 0 0 1-100 0 50 50 0 0 1 51.47-49.97zm-268 268A50 50 0 0 1 172 390a50 50 0 0 1-100 0 50 50 0 0 1 51.47-49.97zm268 0A50 50 0 0 1 440 390a50 50 0 0 1-100 0 50 50 0 0 1 51.47-49.97z" /></svg>
6,872
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/delapouite/dice/svg/000000
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/delapouite/dice/svg/000000/transparent/perspective-dice-six-faces-random.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M255.76 44.764c-6.176 0-12.353 1.384-17.137 4.152L85.87 137.276c-9.57 5.536-9.57 14.29 0 19.826l152.753 88.36c9.57 5.536 24.703 5.536 34.272 0l152.753-88.36c9.57-5.535 9.57-14.29 0-19.825l-152.753-88.36c-4.785-2.77-10.96-4.153-17.135-4.153zm-.824 53.11c9.013.097 17.117 2.162 24.31 6.192 4.92 2.758 8.143 5.903 9.666 9.438 1.473 3.507 1.56 8.13.26 13.865l-1.6 5.706c-1.06 4.083-1.28 7.02-.66 8.81.57 1.764 1.983 3.278 4.242 4.544l3.39 1.898-33.235 18.62-3.693-2.067c-4.118-2.306-6.744-4.912-7.883-7.82-1.188-2.935-.99-7.603.594-14.005l1.524-5.748c.887-3.423.973-6.23.26-8.418-.653-2.224-2.134-3.983-4.444-5.277-3.515-1.97-7.726-2.676-12.63-2.123-4.956.526-10.072 2.268-15.35 5.225-4.972 2.785-9.487 6.272-13.55 10.46-4.112 4.162-7.64 8.924-10.587 14.288L171.9 138.21c5.318-5.34 10.543-10.01 15.676-14.013 5.134-4 10.554-7.6 16.262-10.8 14.976-8.39 28.903-13.38 41.78-14.967 3.208-.404 6.315-.59 9.32-.557zm50.757 56.7l26.815 15.024-33.235 18.62-26.816-15.023 33.236-18.62zM75.67 173.84c-5.753-.155-9.664 4.336-9.664 12.28v157.696c0 11.052 7.57 24.163 17.14 29.69l146.93 84.848c9.57 5.526 17.14 1.156 17.14-9.895V290.76c0-11.052-7.57-24.16-17.14-29.688l-146.93-84.847c-2.69-1.555-5.225-2.327-7.476-2.387zm360.773.002c-2.25.06-4.783.83-7.474 2.385l-146.935 84.847c-9.57 5.527-17.14 18.638-17.14 29.69v157.7c0 11.05 7.57 15.418 17.14 9.89L428.97 373.51c9.57-5.527 17.137-18.636 17.137-29.688v-157.7c0-7.942-3.91-12.432-9.664-12.278zm-321.545 63.752c6.553 1.366 12.538 3.038 17.954 5.013 5.415 1.976 10.643 4.417 15.68 7.325 13.213 7.63 23.286 16.324 30.218 26.082 6.932 9.7 10.398 20.046 10.398 31.04 0 5.64-1.055 10.094-3.168 13.364-2.112 3.212-5.714 5.91-10.804 8.094l-5.2 1.92c-3.682 1.442-6.093 2.928-7.23 4.46-1.137 1.472-1.705 3.502-1.705 6.092v3.885l-29.325-16.933v-4.23c0-4.72.892-8.376 2.68-10.97 1.787-2.652 5.552-5.14 11.292-7.467l5.2-2.006c3.087-1.21 5.334-2.732 6.742-4.567 1.46-1.803 2.192-4.028 2.192-6.676 0-4.027-1.3-7.915-3.9-11.66-2.6-3.804-6.227-7.05-10.885-9.74-4.387-2.532-9.126-4.29-14.217-5.272-5.09-1.04-10.398-1.254-15.922-.645v-27.11zm269.54 8.607c1.522 0 2.932.165 4.232.493 6.932 1.696 10.398 8.04 10.398 19.034 0 5.64-1.056 11.314-3.168 17.023-2.112 5.65-5.714 12.507-10.804 20.568l-5.2 7.924c-3.682 5.695-6.093 9.963-7.23 12.807-1.137 2.785-1.705 5.473-1.705 8.063v3.885l-29.325 16.932v-4.23c0-4.72.894-9.41 2.68-14.067 1.79-4.715 5.552-11.55 11.292-20.504l5.2-8.01c3.087-4.776 5.334-8.894 6.742-12.354 1.46-3.492 2.192-6.562 2.192-9.21 0-4.028-1.3-6.414-3.898-7.158-2.6-.8-6.23.142-10.887 2.83-4.387 2.533-9.124 6.25-14.215 11.145-5.09 4.84-10.398 10.752-15.922 17.74v-27.11c6.553-6.2 12.536-11.44 17.95-15.718 5.417-4.278 10.645-7.87 15.68-10.777 10.738-6.2 19.4-9.302 25.99-9.307zm-252.723 94.515l29.326 16.93v30.736l-29.325-16.93v-30.735zm239.246 8.06v30.735l-29.325 16.93v-30.733l29.326-16.932z" /></svg>
6,873
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/delapouite/dice/svg/000000
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/delapouite/dice/svg/000000/transparent/perspective-dice-six-faces-six.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M255.76 44.764c-6.176 0-12.353 1.384-17.137 4.152L85.87 137.276c-9.57 5.536-9.57 14.29 0 19.826l152.753 88.36c9.57 5.536 24.703 5.536 34.272 0l152.753-88.36c9.57-5.535 9.57-14.29 0-19.825l-152.753-88.36c-4.785-2.77-10.96-4.153-17.135-4.153zm1.86 12.423a31.953 18.96 0 0 1 21.194 5.536 31.953 18.96 0 0 1-45.187 26.812 31.953 18.96 0 0 1 23.992-32.347zm58.43 35.208a31.953 18.96 0 0 1 22.13 32.363 31.953 18.96 0 0 1-45.19-26.813 31.953 18.96 0 0 1 23.06-5.55zm-177.603 34.98a31.953 18.96 0 0 1 .002 0 31.953 18.96 0 0 1 21.195 5.535 31.953 18.96 0 0 1-45.19 26.813 31.953 18.96 0 0 1 23.992-32.348zm237.903.26a31.953 18.96 0 0 1 .002 0 31.953 18.96 0 0 1 21.195 5.535 31.953 18.96 0 0 1-45.19 26.812 31.953 18.96 0 0 1 23.993-32.347zm-179.03 35.21a31.953 18.96 0 0 1 22.127 32.362 31.953 18.96 0 1 1-45.187-26.812 31.953 18.96 0 0 1 23.06-5.55zM75.67 173.84c-5.753-.155-9.664 4.336-9.664 12.28v157.696c0 11.052 7.57 24.163 17.14 29.69l146.93 84.848c9.57 5.526 17.14 1.156 17.14-9.895V290.76c0-11.052-7.57-24.16-17.14-29.688l-146.93-84.847c-2.69-1.555-5.225-2.327-7.476-2.387zm360.773.002c-2.25.06-4.783.83-7.474 2.385l-146.935 84.847c-9.57 5.527-17.14 18.638-17.14 29.69v157.7c0 11.05 7.57 15.418 17.14 9.89L428.97 373.51c9.57-5.527 17.137-18.636 17.137-29.688v-157.7c0-7.942-3.91-12.432-9.664-12.278zM89.297 195.77a31.236 18.008 58.094 0 1 33.818 41.183 31.236 18.008 58.094 1 1-45-25.98 31.236 18.008 58.094 0 1 11.182-15.203zm333.52 0A18.008 31.236 31.906 0 1 434 210.973a18.008 31.236 31.906 0 1-45 25.98 18.008 31.236 31.906 0 1 33.818-41.183zm-165.198 2.314a31.953 18.96 0 0 1 21.194 5.535 31.953 18.96 0 0 1-45.187 26.812 31.953 18.96 0 0 1 23.992-32.348zm-56.323 62.35a31.236 18.008 58.094 0 1 33.818 41.183 31.236 18.008 58.094 1 1-45-25.98 31.236 18.008 58.094 0 1 11.182-15.203zm109.52 0A18.008 31.236 31.906 0 1 322 275.637a18.008 31.236 31.906 0 1-45 25.98 18.008 31.236 31.906 0 1 33.818-41.183zM145.296 289.1a31.236 18.008 58.094 0 1 33.818 41.183 31.236 18.008 58.094 0 1-45-25.98 31.236 18.008 58.094 0 1 11.182-15.203zm-55.998 29.38a31.236 18.008 58.094 0 1 33.818 41.184 31.236 18.008 58.094 1 1-45-25.98 31.236 18.008 58.094 0 1 11.182-15.204zm333.52 0A18.008 31.236 31.906 0 1 434 333.684a18.008 31.236 31.906 0 1-45 25.98 18.008 31.236 31.906 0 1 33.818-41.184zm-221.52 64.663a31.236 18.008 58.094 0 1 33.818 41.183 31.236 18.008 58.094 1 1-45-25.98 31.236 18.008 58.094 0 1 11.182-15.203zm109.52 0A18.008 31.236 31.906 0 1 322 398.346a18.008 31.236 31.906 0 1-45 25.98 18.008 31.236 31.906 0 1 33.818-41.183z" /></svg>
6,874
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/john-colburn/originals/svg/000000
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/john-colburn/originals/svg/000000/transparent/pistol-gun.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M79.238 115.768l-28.51 67.863h406.15l-.273-67.862h-263.83v55.605h-15v-55.605h-16.68v55.605H146.1v-55.605h-17.434v55.605h-15v-55.605H79.238zm387.834 15.96v40.66h18.688v-40.66h-18.688zM56.768 198.63l20.566 32.015L28.894 406.5l101.68 7.174 21.54-97.996h115.74l14.664-80.252 174.55-3.873-.13-32.922H56.767zM263.44 235.85l-11.17 61.142h-96.05l12.98-59.05 12.53-.278-2.224 35.5 14.262 13.576 1.003-33.65 24.69-16.264 43.98-.976z" /></svg>
6,875
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/lorc/originals/svg/000000
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/lorc/originals/svg/000000/transparent/ace.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M245.594 20.78c-.507.013-1.026.034-1.53.064-2.695.16-5.362.59-7.94 1.28-10.308 2.763-19.663 9.946-25 19.189L46.75 326.03c-5.336 9.244-6.887 20.974-4.125 31.283 2.762 10.308 9.945 19.663 19.188 25L247.53 489.53c9.244 5.338 20.974 6.89 31.282 4.126 10.31-2.762 19.695-9.944 25.032-19.187L468.22 189.75c5.335-9.243 6.855-20.972 4.092-31.28-2.762-10.31-9.944-19.696-19.187-25.032l-185.72-107.22c-6.498-3.75-14.213-5.615-21.81-5.437zm9.844 28.564c3.917-.088 7.89.866 11.53 2.968 10.595 6.117 14.242 19.658 8.126 30.25-2.82 4.883-7.23 8.286-12.188 9.938l-1.625 39.625-18.655-.78 1.625-39.814-33.688 21.314-10-15.78 33.625-21.283c-1.005-5.078-.26-10.506 2.532-15.343 4.013-6.952 11.238-10.926 18.718-11.093zm70.968 88l.188 19.125c-1 3.73.01 12.74 3.312 23.905 3.302 11.164 8.36 24.527 12.875 38.656 9.032 28.26 16.794 60.82.25 87.5-15.642 25.232-42.36 33.737-64.592 26.783-14.434-4.516-26.79-15.427-33.72-30.657l-2.343 57.094-65.563-37.875 48.407-30.656c-16.727 1.395-32.68-4.01-44.157-14.19-17.73-15.725-24.233-43.607-8.22-69.405 16.875-27.184 48.38-36.36 76.626-42.344 14.122-2.99 27.74-5.21 38.78-7.968 11.04-2.758 18.543-7.15 22.72-9.875l15.436-10.093zm-18.28 32.844L253.53 211.03l15.157 8.75-15.843 27.44c-27.918 4.816-52.84-22.152-35.28-50.44.752-1.212 1.554-2.358 2.405-3.468-13.226 5.49-24.335 13.015-31.25 24.157-11.946 19.242-7.024 35.15 4.75 45.593 11.77 10.442 30.965 14.336 49.843 3.437l14-8.094v16.188c0 22.673 12.26 36.352 26.718 40.875 14.46 4.522 31.303.288 43.126-18.783 6.682-10.776 7.695-24.474 5.656-39.437-.696 1.596-1.53 3.144-2.468 4.656-17.294 27.896-52.04 21.52-61.344-5.28l15.875-27.5 15.156 8.75 8.095-67.69zm-55.563 215.406l18.656.75-1.626 39.812 33.687-21.312 10 15.78-33.624 21.313c.995 5.07.255 10.52-2.53 15.344-6.117 10.594-19.688 14.212-30.282 8.095-10.595-6.117-14.21-19.655-8.094-30.25 2.82-4.883 7.23-8.286 12.188-9.938l1.625-39.593z" /></svg>
6,876
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/lorc/originals/svg/000000
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/lorc/originals/svg/000000/transparent/acid-blob.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M255.125 99.406c-65.804 0-124.928 29.754-167.656 69.875-42.73 40.122-69.75 90.556-69.75 135.126 0 44.57 29.306 75.8 72.56 93.78 43.257 17.983 101.178 24.845 164.845 24.845s121.588-6.86 164.844-24.842c43.254-17.982 72.53-49.212 72.53-93.782 0-44.57-26.99-95.004-69.72-135.125-42.727-40.12-101.85-69.874-167.655-69.874zm0 18.688c60.148 0 115.033 27.43 154.844 64.812 39.81 37.382 63.842 84.752 63.842 121.5 0 36.748-21.747 60.17-61.03 76.5-39.285 16.33-95.373 23.438-157.657 23.438-62.284 0-118.404-7.107-157.688-23.438-39.283-16.33-61.03-39.752-61.03-76.5s24.032-84.118 63.843-121.5c39.81-37.38 94.727-64.812 154.875-64.812zm-54.72 38.594c-3.344-.012-7.06.508-11.124 1.656-20.917 5.907-33.254 41.475-55.06 62.28-24.13 23.022-62.7 40.588-67.907 72.657-3.98 18.225 7.183 36.783 25.374 41.658 18.726 5.017 38.233-6.243 43.25-24.97.723-2.695 1.083-5.41 1.157-8.093h.156c-1.697-38.35 7.258-90.663 56.03-93.5 39.072-2.273 40.46-51.575 8.126-51.688zm87.345 5.218c-11.417.332-23.452 6.93-23.188 18 .53 22.14 37.174 29.432 42.657 1.53 2.74-13.95-8.053-19.862-19.47-19.53zm60 19.438c-18.423.31-18.102 16.73-8.47 23.062 49.25 32.365 8.474 45.84-16.686 32.03-23.675-12.998-87.44-19.36-111.47 3.94-19.138 18.553-3.26 53.928 26.407 32.78 49.634-35.375 94.1-15.667 113.5 28.78l.064-.03c9.498 21.795 33.91 34.08 57.53 27.75 26.004-6.967 41.594-33.934 34.626-59.937-1.334-4.978-3.41-9.56-6.063-13.69-11.404-37.086-37.062-62.783-77.218-73.03-4.758-1.214-8.808-1.713-12.22-1.656zm47.78 70.75c13.585-.253 25.967 8.665 29.658 22.437 4.353 16.248-5.16 32.71-21.407 37.064-16.247 4.354-32.677-5.128-37.03-21.375-4.353-16.248 5.127-32.71 21.375-37.064 2.03-.544 4.08-.875 6.094-1 .44-.027.873-.054 1.31-.062zm-295.186 32.094c.48-.012.952 0 1.437.03 1.11.072 2.224.263 3.345.563 8.97 2.405 14.153 11.376 11.75 20.345-2.404 8.97-11.374 14.153-20.344 11.75-8.97-2.403-14.152-11.373-11.75-20.344 1.973-7.358 8.378-12.178 15.564-12.342zm179.53 10.562c-15.81.215-34.724 5.274-47.468 12.97-14.87 5.774-25.5 20.262-25.5 37.092 0 21.845 17.907 39.75 39.75 39.75.43 0 .854-.017 1.28-.03 32.518 2.444 76.975-14.784 76.47-31.813-.573-19.364-36.953-.27-38-21.876-.47-9.746 27.4-11.914 21.03-25.5-3.588-7.66-14.52-10.77-27.56-10.594zm-33.218 28.97c11.743 0 21.094 9.35 21.094 21.092 0 11.745-9.35 21.063-21.094 21.063-11.743 0-21.062-9.318-21.062-21.063 0-11.744 9.32-21.093 21.062-21.093z" /></svg>
6,877
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/lorc/originals/svg/000000
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/lorc/originals/svg/000000/transparent/acorn.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M422.625 18.28c-24.68.13-51.932 15.455-74.094 36.907 1.868 1.036 3.742 2.07 5.626 3.157 8.05 4.642 15.615 9.363 22.72 14.125 25.19-9.583 55.47-14.465 103.437-2.97-12.036-37.07-33.633-51.345-57.688-51.22zM237.78 40.22l28.97 94.25c12.57 6.443 24.827 13.41 36.813 20.843l-36.625-111.97c-8.476-1.68-16.657-2.662-24.563-3-1.54-.065-3.074-.108-4.594-.124zm-19.218 1.124c-1.602.206-3.202.427-4.78.687-8.815 1.454-17.338 3.755-25.595 6.876l15.688 58.625c13.62 4.75 26.922 10.064 39.906 15.907l-25.218-82.093zm69.875 7.593l40.157 122.876c15.922 11.124 31.32 23.128 46.25 35.906L325.906 64.374c-13.092-6.527-25.568-11.643-37.47-15.438zm-117.5 7.844c-14.657 7.857-28.523 18.348-41.875 31.095 18.42 3.334 36.298 7.632 53.657 12.813L170.937 56.78zm179.25 20.907l53.282 155.97c10.798 10.382 21.322 21.187 31.624 32.374.395-1.174.75-2.332 1.125-3.5L379.843 97.407c-8.84-6.63-18.706-13.185-29.656-19.72zM136.595 108.25c-17.05 11.436-32.43 27.876-45.344 50.22-42.303 73.19-61.83 198.325-24.53 265.717l-.064-.062c.752 23.392-7.597 45.63-17.812 67.594 27.268-12.192 54.897-17.815 82.687-20.783l-.468-.343c87.895 19.01 212.87-49.42 260.688-132.156 13.547-23.44 20.606-46.14 22.28-67.72-77.218-81.572-166.868-139.912-277.436-162.468zm271.469 14L444.188 228c2.638-20.573.96-39.855-5.688-58.25-5.856-16.202-15.717-32.01-30.438-47.5z" /></svg>
6,878
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/lorc/originals/svg/000000
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/game-icons/svg/icons/lorc/originals/svg/000000/transparent/alien-skull.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M257.656 19.625c-65.485.31-130.968 43.688-156.375 129.563C177.4 179.51 212.086 215.23 208.47 236v.063c-2.34 13.46-20.787 20.62-54.47 16.093-6.255-.098-12.713-1.27-19.094-3.5-11.202-2.527-23.665-6.108-37.344-10.844 24.63 22.796 53.14 39.59 83.47 50.125 5.516 101.8 24.05 168.38 46.437 199.407.95-143.2 15.592-215.647 30.186-216.063 14.642-.425 29.205 71.648 30.063 217.314 22.446-30.322 40.966-96.94 46.436-200.28 28.115-9.725 54.978-25.102 79.03-46.345-9.928 3.08-19.13 5.504-27.592 7.31-5.366 1.7-10.762 2.68-16.03 2.876-33.8 4.578-52.314-2.61-54.658-16.094V236c-2.255-12.955 10.413-31.72 38.72-51.375 15.652-10.87 36.077-22.02 61.437-32.594-24.647-88.774-91.028-132.72-157.407-132.405zM132.47 191.655c-.922.003-1.822.05-2.69.126-6.93.6-11.378 3.226-13.436 6.564-2.058 3.337-2.198 7.545.562 13.156 2.76 5.61 8.615 11.848 16.875 16.313 8.26 4.464 17.1 6.16 24.032 5.562 6.933-.598 11.38-3.225 13.438-6.563 2.058-3.337 2.167-7.545-.594-13.156-2.76-5.61-8.583-11.816-16.844-16.28-7.227-3.908-14.895-5.73-21.343-5.72zm257.467 0c-.924.002-1.877.053-2.843.126-5.796.44-12.305 2.246-18.5 5.595-8.26 4.465-14.115 10.67-16.875 16.28-2.762 5.612-2.622 9.82-.564 13.157 2.058 3.338 6.506 5.965 13.438 6.563 6.932.598 15.77-1.098 24.03-5.563 8.26-4.464 14.084-10.7 16.845-16.312 2.76-5.61 2.65-9.82.592-13.156-2.058-3.338-6.505-5.965-13.437-6.563-.867-.074-1.763-.124-2.688-.124z" fill-rule="evenodd"/></svg>
6,879
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/expected/AccessAlarms.js
import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="m22 5.7-4.6-3.9-1.3 1.5 4.6 3.9L22 5.7zM7.9 3.4 6.6 1.9 2 5.7l1.3 1.5 4.6-3.8zM12.5 8H11v6l4.7 2.9.8-1.2-4-2.4V8zM12 4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z" /> , 'AccessAlarms');
6,880
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/expected/AccessAlarmsTwoTone.js
import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( [<path d="M12 6c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm3.7 10.9L11 14V8h1.5v5.3l4 2.4-.8 1.2z" opacity=".3" key="0" />,<path d="m22 5.7-4.6-3.9-1.3 1.5 4.6 3.9zM12.5 8H11v6l4.7 2.9.8-1.2-4-2.4zM12 4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zM7.9 3.4 6.6 1.9 2 5.7l1.3 1.5z" key="1" />,] , 'AccessAlarmsTwoTone');
6,881
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/expected/Accessibility.js
import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 7h-6v13h-2v-6h-2v6H9V9H3V7h18v2z" /> , 'Accessibility');
6,882
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/expected/ElevenMp.js
import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 15.5h-1.5V14h-1v3H8v-3H7v4.5H5.5v-5c0-.55.45-1 1-1H11c.55 0 1 .45 1 1v5zm3.5 0H14v-6h3.5c.55 0 1 .45 1 1V16c0 .55-.45 1-1 1h-2v1.5zM11 5.5v6H9.5V7H8V5.5h3zm5 0v6h-1.5V7H13V5.5h3zm-.5 8.5H17v1.5h-1.5z" /> , 'ElevenMp');
6,883
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/expected/FiveMp.js
import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 15.5h-1.5V14h-1v3H8v-3H7v4.5H5.5v-5c0-.55.45-1 1-1H11c.55 0 1 .45 1 1v5zm3.5 0H14v-6h3.5c.55 0 1 .45 1 1V16c0 .55-.45 1-1 1h-2v1.5zM14.5 7h-3v1h2c.55 0 1 .45 1 1v1.5c0 .55-.45 1-1 1H10V10h3V9h-3V5.5h4.5V7zm1 7H17v1.5h-1.5z" /> , 'FiveMp');
6,884
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/expected/QueueMusicOutlined.js
import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="m22 6h-5v8.18c-.31-.11-.65-.18-1-.18-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3V8h3V6zm-7 0H3v2h12V6zm0 4H3v2h12v-2zm-4 4H3v2h8v-2zm4 3c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1z" /> , 'QueueMusicOutlined');
6,885
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/expected/RecordVoiceOverTwoTone.js
import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( [<g opacity=".3" key="0"><circle cx="9" cy="9" r="2" /><path d="M9 17c-2.69 0-5.77 1.28-6 2h12c-.2-.71-3.3-2-6-2z" /></g>,<path d="M9 13c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm0 8c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zm-6 4c.22-.72 3.31-2 6-2 2.7 0 5.8 1.29 6 2H3zM16.76 5.36l-1.68 1.69c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27zM20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14z" key="1" />,] , 'RecordVoiceOverTwoTone');
6,886
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/expected/SixtyFps.js
import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19 8v8h-4V8h4m0-3h-4c-1.66 0-3 1.34-3 3v8c0 1.66 1.34 3 3 3h4c1.66 0 3-1.34 3-3V8c0-1.66-1.34-3-3-3zm-9 3V5H5C3.34 5 2 6.34 2 8v8c0 1.66 1.34 3 3 3h3c1.66 0 3-1.34 3-3v-3c0-1.66-1.34-3-3-3H5V8h5zm-2 5v3H5v-3h3z" /> , 'SixtyFps');
6,887
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/expected/StarRounded.js
import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="m12 17.27 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5z" /> , 'StarRounded');
6,888
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/expected/ThirtyFps.js
import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M2 5v3h6v2.5H3v3h5V16H2v3h6c1.66 0 3-1.34 3-3v-1.9c0-1.16-.94-2.1-2.1-2.1 1.16 0 2.1-.94 2.1-2.1V8c0-1.66-1.34-3-3-3H2zm17 3v8h-4V8h4m0-3h-4c-1.66 0-3 1.34-3 3v8c0 1.66 1.34 3 3 3h4c1.66 0 3-1.34 3-3V8c0-1.66-1.34-3-3-3z" /> , 'ThirtyFps');
6,889
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/expected/TimesOneMobiledata.js
import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M4 7h4v10H6V9H4V7zm11.83 4.72L18.66 7h-2.33l-1.66 2.77L13 7h-2.33l2.83 4.72L10.33 17h2.33l2-3.34 2 3.34H19l-3.17-5.28z" /> , 'TimesOneMobiledata');
6,890
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/expected/TwentyFourMp.js
import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 15.5h-1.5V14h-1v3H8v-3H7v4.5H5.5v-5c0-.55.45-1 1-1H11c.55 0 1 .45 1 1v5zm3.5 0H14v-6h3.5c.55 0 1 .45 1 1V16c0 .55-.45 1-1 1h-2v1.5zM10 9H8v1h3v1.5H6.5V9c0-.55.45-1 1-1h2V7h-3V5.5H10c.55 0 1 .45 1 1V8c0 .55-.45 1-1 1zm8.5 1h-1v1.5H16V10h-3V5.5h1.5v3H16v-3h1.5v3h1V10zm-3 4H17v1.5h-1.5z" /> , 'TwentyFourMp');
6,891
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/svg/11mp_24px.svg
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 15.5h-1.5V14h-1v3H8v-3H7v4.5H5.5v-5c0-.55.45-1 1-1H11c.55 0 1 .45 1 1v5zm3.5 0H14v-6h3.5c.55 0 1 .45 1 1V16c0 .55-.45 1-1 1h-2v1.5zM11 5.5v6H9.5V7H8V5.5h3zm5 0v6h-1.5V7H13V5.5h3zm-.5 8.5H17v1.5h-1.5z"/></svg>
6,892
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/svg/1x_mobiledata_24px.svg
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><path d="M0,0h24v24H0V0z" fill="none"/></g><g><g><path d="M4,7h4v10H6V9H4V7z M15.83,11.72L18.66,7h-2.33l-1.66,2.77L13,7h-2.33l2.83,4.72L10.33,17h2.33l2-3.34l2,3.34H19 L15.83,11.72z"/></g></g></svg>
6,893
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/svg/24mp_24px.svg
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 15.5h-1.5V14h-1v3H8v-3H7v4.5H5.5v-5c0-.55.45-1 1-1H11c.55 0 1 .45 1 1v5zm3.5 0H14v-6h3.5c.55 0 1 .45 1 1V16c0 .55-.45 1-1 1h-2v1.5zM10 9H8v1h3v1.5H6.5V9c0-.55.45-1 1-1h2V7h-3V5.5H10c.55 0 1 .45 1 1V8c0 .55-.45 1-1 1zm8.5 1h-1v1.5H16V10h-3V5.5h1.5v3H16v-3h1.5v3h1V10zm-3 4H17v1.5h-1.5z"/></svg>
6,894
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/svg/30fps_24px.svg
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><path d="M0,0h24v24H0V0z" fill="none"/></g><g><g><path d="M2,5v3h6v2.5H3v3h5V16H2v3h6c1.66,0,3-1.34,3-3v-1.9c0-1.16-0.94-2.1-2.1-2.1c1.16,0,2.1-0.94,2.1-2.1V8 c0-1.66-1.34-3-3-3H2z M19,8v8h-4V8H19 M19,5h-4c-1.66,0-3,1.34-3,3v8c0,1.66,1.34,3,3,3h4c1.66,0,3-1.34,3-3V8 C22,6.34,20.66,5,19,5z"/></g></g></svg>
6,895
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/svg/5mp_24px.svg
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 15.5h-1.5V14h-1v3H8v-3H7v4.5H5.5v-5c0-.55.45-1 1-1H11c.55 0 1 .45 1 1v5zm3.5 0H14v-6h3.5c.55 0 1 .45 1 1V16c0 .55-.45 1-1 1h-2v1.5zM14.5 7h-3v1h2c.55 0 1 .45 1 1v1.5c0 .55-.45 1-1 1H10V10h3V9h-3V5.5h4.5V7zm1 7H17v1.5h-1.5z"/></svg>
6,896
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/svg/60fps_24px.svg
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><path d="M0,0h24v24H0V0z" fill="none"/></g><g><g><path d="M19,8v8h-4V8H19 M19,5h-4c-1.66,0-3,1.34-3,3v8c0,1.66,1.34,3,3,3h4c1.66,0,3-1.34,3-3V8C22,6.34,20.66,5,19,5z M10,8V5H5 C3.34,5,2,6.34,2,8v8c0,1.66,1.34,3,3,3h3c1.66,0,3-1.34,3-3v-3c0-1.66-1.34-3-3-3H5V8H10z M8,13v3H5v-3H8z"/></g></g></svg>
6,897
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/svg/access_alarms_24px.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M-618-568H782v3600H-618zM0 0h24v24H0z" fill="none"/><path d="M22 5.7l-4.6-3.9-1.3 1.5 4.6 3.9L22 5.7zM7.9 3.4L6.6 1.9 2 5.7l1.3 1.5 4.6-3.8zM12.5 8H11v6l4.7 2.9.8-1.2-4-2.4V8zM12 4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z"/></svg>
6,898
0
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons
petrpan-code/mui/material-ui/packages/mui-icons-material/fixtures/material-design-icons/svg/access_alarms_two_tone_24px.svg
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 6c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm3.7 10.9L11 14V8h1.5v5.3l4 2.4-.8 1.2z" opacity=".3"/><path d="M22 5.7l-4.6-3.9-1.3 1.5 4.6 3.9zM12.5 8H11v6l4.7 2.9.8-1.2-4-2.4zM12 4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zM7.9 3.4L6.6 1.9 2 5.7l1.3 1.5z"/></svg>
6,899