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/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/components/Markdown.tsx
import * as React from 'react'; import ReactMarkdown from 'markdown-to-jsx'; import Box from '@mui/material/Box'; import Typography from '@mui/material/Typography'; import Link from '@mui/material/Link'; const options = { overrides: { h1: { component: Typography, props: { gutterBottom: true, variant: 'h4', }, }, h2: { component: Typography, props: { gutterBottom: true, variant: 'h6' }, }, h3: { component: Typography, props: { gutterBottom: true, variant: 'subtitle1' }, }, h4: { component: Typography, props: { gutterBottom: true, variant: 'caption', paragraph: true, }, }, p: { component: Typography, props: { paragraph: true }, }, a: { component: Link }, li: { component: (props: any) => ( <Box component="li" sx={{ mt: 1 }}> <Typography component="span" {...props} /> </Box> ), }, }, }; export default function Markdown(props: any) { return <ReactMarkdown options={options} {...props} />; }
5,400
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/components/Paper.js
import * as React from 'react'; import PropTypes from 'prop-types'; import MuiPaper from '@mui/material/Paper'; import { styled } from '@mui/material/styles'; const PaperRoot = styled(MuiPaper, { shouldForwardProp: (prop) => prop !== 'background' && prop !== 'padding', })(({ theme, background, padding }) => ({ backgroundColor: theme.palette.secondary[background], ...(padding && { padding: theme.spacing(1), }), })); function Paper(props) { const { background, classes, className, padding = false, ...other } = props; return ( <PaperRoot square elevation={0} background={background} padding={padding} className={className} {...other} /> ); } Paper.propTypes = { background: PropTypes.oneOf(['dark', 'light', 'main']).isRequired, /** * Override or extend the styles applied to the component. */ classes: PropTypes.object, className: PropTypes.string, padding: PropTypes.bool, }; export default Paper;
5,401
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/components/Paper.tsx
import * as React from 'react'; import MuiPaper, { PaperProps } from '@mui/material/Paper'; import { styled } from '@mui/material/styles'; interface ExtraPaperProps { background: 'light' | 'main' | 'dark'; padding?: boolean; } const PaperRoot = styled(MuiPaper, { shouldForwardProp: (prop) => prop !== 'background' && prop !== 'padding', })<ExtraPaperProps>(({ theme, background, padding }) => ({ backgroundColor: theme.palette.secondary[background], ...(padding && { padding: theme.spacing(1), }), })); export default function Paper(props: PaperProps & ExtraPaperProps) { const { background, classes, className, padding = false, ...other } = props; return ( <PaperRoot square elevation={0} background={background} padding={padding} className={className} {...other} /> ); }
5,402
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/components/Snackbar.js
import * as React from 'react'; import PropTypes from 'prop-types'; import { styled } from '@mui/material/styles'; import MuiSnackbar from '@mui/material/Snackbar'; import { snackbarContentClasses } from '@mui/material/SnackbarContent'; import Slide from '@mui/material/Slide'; import CloseIcon from '@mui/icons-material/Close'; import InfoIcon from '@mui/icons-material/Info'; import IconButton from '@mui/material/IconButton'; const styles = ({ theme }) => ({ [`& .${snackbarContentClasses.root}`]: { backgroundColor: theme.palette.secondary.light, color: theme.palette.text.primary, flexWrap: 'inherit', [theme.breakpoints.up('md')]: { borderTopLeftRadius: 0, borderTopRightRadius: 0, borderBottomRightRadius: 4, borderBottomLeftRadius: 4, }, }, [`& .${snackbarContentClasses.message}`]: { fontSize: 16, display: 'flex', alignItems: 'center', }, [`& .${snackbarContentClasses.action}`]: { paddingLeft: theme.spacing(2), }, '& .MuiSnackbarContent-info': { flexShrink: 0, marginRight: theme.spacing(2), }, '& .MuiSnackbarContent-close': { padding: theme.spacing(1), }, }); function Transition(props) { return <Slide {...props} direction="down" />; } function Snackbar(props) { const { message, closeFunc, ...other } = props; const classes = { info: 'MuiSnackbarContent-info', close: 'MuiSnackbarContent-close', }; return ( <MuiSnackbar anchorOrigin={{ vertical: 'top', horizontal: 'center' }} autoHideDuration={6000} TransitionComponent={Transition} message={ <React.Fragment> <InfoIcon className={classes.info} /> <span>{message}</span> </React.Fragment> } action={[ <IconButton key="close" aria-label="close" color="inherit" className={classes.close} onClick={() => closeFunc && closeFunc()} > <CloseIcon /> </IconButton>, ]} {...other} /> ); } Snackbar.propTypes = { closeFunc: PropTypes.func, /** * The message to display. */ message: PropTypes.node, }; export default styled(Snackbar)(styles);
5,403
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/components/Snackbar.tsx
import * as React from 'react'; import { Theme, styled } from '@mui/material/styles'; import MuiSnackbar, { SnackbarProps } from '@mui/material/Snackbar'; import { snackbarContentClasses } from '@mui/material/SnackbarContent'; import Slide from '@mui/material/Slide'; import CloseIcon from '@mui/icons-material/Close'; import InfoIcon from '@mui/icons-material/Info'; import IconButton from '@mui/material/IconButton'; import { TransitionProps } from '@mui/material/transitions/transition'; const styles = ({ theme }: { theme: Theme }) => ({ [`& .${snackbarContentClasses.root}`]: { backgroundColor: theme.palette.secondary.light, color: theme.palette.text.primary, flexWrap: 'inherit', [theme.breakpoints.up('md')]: { borderTopLeftRadius: 0, borderTopRightRadius: 0, borderBottomRightRadius: 4, borderBottomLeftRadius: 4, }, }, [`& .${snackbarContentClasses.message}`]: { fontSize: 16, display: 'flex', alignItems: 'center', }, [`& .${snackbarContentClasses.action}`]: { paddingLeft: theme.spacing(2), }, '& .MuiSnackbarContent-info': { flexShrink: 0, marginRight: theme.spacing(2), }, '& .MuiSnackbarContent-close': { padding: theme.spacing(1), }, } as const); function Transition( props: TransitionProps & { children: React.ReactElement<any, any> }, ) { return <Slide {...props} direction="down" />; } interface ExtraSnackbarProps { closeFunc?: () => void; } function Snackbar(props: SnackbarProps & ExtraSnackbarProps) { const { message, closeFunc, ...other } = props; const classes = { info: 'MuiSnackbarContent-info', close: 'MuiSnackbarContent-close', }; return ( <MuiSnackbar anchorOrigin={{ vertical: 'top', horizontal: 'center' }} autoHideDuration={6000} TransitionComponent={Transition} message={ <React.Fragment> <InfoIcon className={classes.info} /> <span>{message}</span> </React.Fragment> } action={[ <IconButton key="close" aria-label="close" color="inherit" className={classes.close} onClick={() => closeFunc && closeFunc()} > <CloseIcon /> </IconButton>, ]} {...other} /> ); } export default styled(Snackbar)(styles);
5,404
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/components/TextField.js
import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { styled } from '@mui/material/styles'; import MuiTextField from '@mui/material/TextField'; import { selectClasses } from '@mui/material/Select'; import { inputLabelClasses } from '@mui/material/InputLabel'; const inputStyleMappingClasses = { small: 'OnePirateTextField-inputSizeSmall', medium: 'OnePirateTextField-inputSizeMedium', large: 'OnePirateTextField-inputSizeLarge', xlarge: 'OnePirateTextField-inputSizeXLarge', }; const classes = { root: 'OnePirateTextField-root', input: 'OnePirateTextField-input', inputBorder: 'OnePirateTextField-inputBorder', }; const styles = ({ theme }) => ({ [`& .${classes.root}`]: { padding: 0, 'label + &': { marginTop: theme.spacing(3), }, }, [`& .${classes.input}`]: { minWidth: theme.spacing(6), backgroundColor: theme.palette.common.white, '&.Mui-disabled': { backgroundColor: theme.palette.divider, }, }, [`& .${classes.inputBorder}`]: { border: '1px solid #e9ddd0', '&:focus': { borderColor: theme.palette.secondary.main, }, }, [`& .${inputStyleMappingClasses.small}`]: { fontSize: 14, padding: theme.spacing(1), width: `calc(100% - ${theme.spacing(2)})`, }, [`& .${inputStyleMappingClasses.medium}`]: { fontSize: 16, padding: theme.spacing(2), width: `calc(100% - ${theme.spacing(4)})`, }, [`& .${inputStyleMappingClasses.large}`]: { fontSize: 18, padding: 20, width: `calc(100% - ${20 * 2}px)`, }, [`& .${inputStyleMappingClasses.xlarge}`]: { fontSize: 20, padding: 25, width: `calc(100% - ${25 * 2}px)`, }, [`& .${inputLabelClasses.root}`]: { fontSize: 18, }, [`& .${selectClasses.select}`]: { height: 'auto', borderRadius: 0, }, [`& .${selectClasses.icon}`]: { top: '50%', marginTop: -12, }, }); function TextField(props) { const { InputProps = {}, InputLabelProps, noBorder, size = 'medium', SelectProps, ...other } = props; const { classes: { input: InputPropsClassesInput, ...InputPropsClassesOther } = {}, ...InputPropsOther } = InputProps; return ( <MuiTextField InputProps={{ classes: { root: classes.root, input: clsx( classes.input, inputStyleMappingClasses[size], { [classes.inputBorder]: !noBorder, }, InputPropsClassesInput, ), ...InputPropsClassesOther, }, disableUnderline: true, ...InputPropsOther, }} InputLabelProps={{ ...InputLabelProps, shrink: true, }} SelectProps={SelectProps} {...other} /> ); } TextField.propTypes = { /** * Props applied to the [`InputLabel`](/material-ui/api/input-label/) element. * Pointer events like `onClick` are enabled if and only if `shrink` is `true`. */ InputLabelProps: PropTypes.object, /** * Props applied to the Input element. * It will be a [`FilledInput`](/material-ui/api/filled-input/), * [`OutlinedInput`](/material-ui/api/outlined-input/) or [`Input`](/material-ui/api/input/) * component depending on the `variant` prop value. */ InputProps: PropTypes.object, noBorder: PropTypes.bool, /** * Props applied to the [`Select`](/material-ui/api/select/) element. */ SelectProps: PropTypes.object, size: PropTypes.oneOf(['large', 'medium', 'small', 'xlarge']), }; export default styled(TextField)(styles);
5,405
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/components/TextField.tsx
import * as React from 'react'; import clsx from 'clsx'; import { styled, Theme } from '@mui/material/styles'; import MuiTextField, { FilledTextFieldProps, StandardTextFieldProps, } from '@mui/material/TextField'; import { selectClasses } from '@mui/material/Select'; import { inputLabelClasses } from '@mui/material/InputLabel'; const inputStyleMappingClasses = { small: 'OnePirateTextField-inputSizeSmall', medium: 'OnePirateTextField-inputSizeMedium', large: 'OnePirateTextField-inputSizeLarge', xlarge: 'OnePirateTextField-inputSizeXLarge', }; const classes = { root: 'OnePirateTextField-root', input: 'OnePirateTextField-input', inputBorder: 'OnePirateTextField-inputBorder', }; const styles = ({ theme }: { theme: Theme }) => ({ [`& .${classes.root}`]: { padding: 0, 'label + &': { marginTop: theme.spacing(3), }, }, [`& .${classes.input}`]: { minWidth: theme.spacing(6), backgroundColor: theme.palette.common.white, '&.Mui-disabled': { backgroundColor: theme.palette.divider, }, }, [`& .${classes.inputBorder}`]: { border: '1px solid #e9ddd0', '&:focus': { borderColor: theme.palette.secondary.main, }, }, [`& .${inputStyleMappingClasses.small}`]: { fontSize: 14, padding: theme.spacing(1), width: `calc(100% - ${theme.spacing(2)})`, }, [`& .${inputStyleMappingClasses.medium}`]: { fontSize: 16, padding: theme.spacing(2), width: `calc(100% - ${theme.spacing(4)})`, }, [`& .${inputStyleMappingClasses.large}`]: { fontSize: 18, padding: 20, width: `calc(100% - ${20 * 2}px)`, }, [`& .${inputStyleMappingClasses.xlarge}`]: { fontSize: 20, padding: 25, width: `calc(100% - ${25 * 2}px)`, }, [`& .${inputLabelClasses.root}`]: { fontSize: 18, }, [`& .${selectClasses.select}`]: { height: 'auto', borderRadius: 0, }, [`& .${selectClasses.icon}`]: { top: '50%', marginTop: -12, }, }); export interface OnePirateTextFieldProps extends Omit<FilledTextFieldProps | StandardTextFieldProps, 'size'> { noBorder?: boolean; size?: 'small' | 'medium' | 'large' | 'xlarge'; } function TextField(props: OnePirateTextFieldProps) { const { InputProps = {}, InputLabelProps, noBorder, size = 'medium', SelectProps, ...other } = props; const { classes: { input: InputPropsClassesInput, ...InputPropsClassesOther } = {}, ...InputPropsOther } = InputProps; return ( <MuiTextField InputProps={{ classes: { root: classes.root, input: clsx( classes.input, inputStyleMappingClasses[size], { [classes.inputBorder]: !noBorder, }, InputPropsClassesInput, ), ...InputPropsClassesOther, }, disableUnderline: true, ...InputPropsOther, }} InputLabelProps={{ ...InputLabelProps, shrink: true, }} SelectProps={SelectProps} {...other} /> ); } export default styled(TextField)(styles);
5,406
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/components/Toolbar.js
import { styled } from '@mui/material/styles'; import MuiToolbar from '@mui/material/Toolbar'; const Toolbar = styled(MuiToolbar)(({ theme }) => ({ height: 64, [theme.breakpoints.up('sm')]: { height: 70, }, })); export default Toolbar;
5,407
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/components/Toolbar.tsx
import { styled } from '@mui/material/styles'; import MuiToolbar from '@mui/material/Toolbar'; const Toolbar = styled(MuiToolbar)(({ theme }) => ({ height: 64, [theme.breakpoints.up('sm')]: { height: 70, }, })); export default Toolbar;
5,408
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/components/Typography.js
import * as React from 'react'; import PropTypes from 'prop-types'; import { styled } from '@mui/material/styles'; import MuiTypography from '@mui/material/Typography'; const markClassesMapping = { center: { h1: '', h2: 'OnePirateTypography-markedH2Center', h3: 'OnePirateTypography-markedH3Center', h4: 'OnePirateTypography-markedH4Center', h5: '', h6: '', }, left: { h1: '', h2: '', h3: '', h4: '', h5: '', h6: 'OnePirateTypography-markedH6Left', }, none: { h1: '', h2: '', h3: '', h4: '', h5: '', h6: '', }, }; const styles = ({ theme }) => ({ [`& .${markClassesMapping.center.h2}`]: { height: 4, width: 73, display: 'block', margin: `${theme.spacing(1)} auto 0`, backgroundColor: theme.palette.secondary.main, }, [`& .${markClassesMapping.center.h3}`]: { height: 4, width: 55, display: 'block', margin: `${theme.spacing(1)} auto 0`, backgroundColor: theme.palette.secondary.main, }, [`& .${markClassesMapping.center.h4}`]: { height: 4, width: 55, display: 'block', margin: `${theme.spacing(1)} auto 0`, backgroundColor: theme.palette.secondary.main, }, [`& .${markClassesMapping.left.h6}`]: { height: 2, width: 28, display: 'block', marginTop: theme.spacing(0.5), background: 'currentColor', }, }); const variantMapping = { h1: 'h1', h2: 'h1', h3: 'h1', h4: 'h1', h5: 'h3', h6: 'h2', subtitle1: 'h3', }; function Typography(props) { const { children, variant, marked = 'none', ...other } = props; let markedClassName = ''; if (variant && variant in markClassesMapping[marked]) { markedClassName = markClassesMapping[marked][variant]; } return ( <MuiTypography variantMapping={variantMapping} variant={variant} {...other}> {children} {markedClassName ? <span className={markedClassName} /> : null} </MuiTypography> ); } Typography.propTypes = { /** * The content of the component. */ children: PropTypes.node, marked: PropTypes.oneOf(['center', 'left', 'none']), /** * Applies the theme typography styles. * @default 'body1' */ variant: PropTypes.oneOf([ 'body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2', ]), }; export default styled(Typography)(styles);
5,409
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/components/Typography.tsx
import * as React from 'react'; import { styled, Theme } from '@mui/material/styles'; import MuiTypography, { TypographyProps } from '@mui/material/Typography'; const markClassesMapping: { [index: string]: { [subindex: string]: string }; } = { center: { h1: '', h2: 'OnePirateTypography-markedH2Center', h3: 'OnePirateTypography-markedH3Center', h4: 'OnePirateTypography-markedH4Center', h5: '', h6: '', }, left: { h1: '', h2: '', h3: '', h4: '', h5: '', h6: 'OnePirateTypography-markedH6Left', }, none: { h1: '', h2: '', h3: '', h4: '', h5: '', h6: '', }, }; const styles = ({ theme }: { theme: Theme }) => ({ [`& .${markClassesMapping.center.h2}`]: { height: 4, width: 73, display: 'block', margin: `${theme.spacing(1)} auto 0`, backgroundColor: theme.palette.secondary.main, }, [`& .${markClassesMapping.center.h3}`]: { height: 4, width: 55, display: 'block', margin: `${theme.spacing(1)} auto 0`, backgroundColor: theme.palette.secondary.main, }, [`& .${markClassesMapping.center.h4}`]: { height: 4, width: 55, display: 'block', margin: `${theme.spacing(1)} auto 0`, backgroundColor: theme.palette.secondary.main, }, [`& .${markClassesMapping.left.h6}`]: { height: 2, width: 28, display: 'block', marginTop: theme.spacing(0.5), background: 'currentColor', }, }); interface ExtraTypographyProps { marked?: 'center' | 'left' | 'none'; } const variantMapping = { h1: 'h1', h2: 'h1', h3: 'h1', h4: 'h1', h5: 'h3', h6: 'h2', subtitle1: 'h3', }; function Typography<C extends React.ElementType>( props: TypographyProps<C, { component?: C }> & ExtraTypographyProps, ) { const { children, variant, marked = 'none', ...other } = props; let markedClassName = ''; if (variant && variant in markClassesMapping[marked]) { markedClassName = markClassesMapping[marked][variant]; } return ( <MuiTypography variantMapping={variantMapping} variant={variant} {...other}> {children} {markedClassName ? <span className={markedClassName} /> : null} </MuiTypography> ); } export default styled(Typography)(styles);
5,410
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/form/FormButton.js
import * as React from 'react'; import PropTypes from 'prop-types'; import Button from '../components/Button'; import defer from './defer'; function FormButton(props) { const { disabled, mounted, ...others } = props; return ( <Button disabled={!mounted || !!disabled} type="submit" variant="contained" {...others} /> ); } FormButton.propTypes = { /** * If `true`, the component is disabled. */ disabled: PropTypes.bool, mounted: PropTypes.bool, }; export default defer(FormButton);
5,411
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/form/FormButton.tsx
import * as React from 'react'; import { ButtonProps } from '@mui/material'; import Button from '../components/Button'; import defer from './defer'; interface FormButtonProps { disabled?: boolean; mounted?: boolean; } function FormButton<C extends React.ElementType>( props: FormButtonProps & ButtonProps<C, { component?: C }>, ) { const { disabled, mounted, ...others } = props; return ( <Button disabled={!mounted || !!disabled} type="submit" variant="contained" {...(others as ButtonProps<C, { component?: C }>)} /> ); } export default defer(FormButton);
5,412
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/form/FormFeedback.js
import * as React from 'react'; import PropTypes from 'prop-types'; import { experimentalStyled as styled } from '@mui/material/styles'; import Box from '@mui/material/Box'; import Typography from '../components/Typography'; const BoxStyled = styled(Box, { shouldForwardProp: (prop) => prop !== 'error' && prop !== 'success', })(({ theme, error, success }) => ({ padding: theme.spacing(2), ...(error && { backgroundColor: theme.palette.error.light, color: theme.palette.error.dark, }), ...(success && { backgroundColor: theme.palette.success.light, color: theme.palette.success.dark, }), })); function FormFeedback(props) { const { className, children, error, success, ...others } = props; return ( <BoxStyled error={error} success={success} className={className} {...others}> <Typography color="inherit">{children}</Typography> </BoxStyled> ); } FormFeedback.propTypes = { children: PropTypes.node, className: PropTypes.string, error: PropTypes.bool, success: PropTypes.bool, }; export default FormFeedback;
5,413
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/form/FormFeedback.tsx
import * as React from 'react'; import { experimentalStyled as styled } from '@mui/material/styles'; import Box, { BoxProps as MuiBoxProps } from '@mui/material/Box'; import Typography from '../components/Typography'; interface FormFeedbackProps extends MuiBoxProps { error?: boolean; success?: boolean; } const BoxStyled = styled(Box, { shouldForwardProp: (prop) => prop !== 'error' && prop !== 'success', })<FormFeedbackProps>(({ theme, error, success }) => ({ padding: theme.spacing(2), ...(error && { backgroundColor: theme.palette.error.light, color: theme.palette.error.dark, }), ...(success && { backgroundColor: theme.palette.success.light, color: theme.palette.success.dark, }), })); function FormFeedback( props: React.HTMLAttributes<HTMLDivElement> & FormFeedbackProps, ) { const { className, children, error, success, ...others } = props; return ( <BoxStyled error={error} success={success} className={className} {...others}> <Typography color="inherit">{children}</Typography> </BoxStyled> ); } export default FormFeedback;
5,414
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/form/RFTextField.js
import * as React from 'react'; import PropTypes from 'prop-types'; import TextField from '../components/TextField'; function RFTextField(props) { const { autoComplete, input, InputProps, meta: { touched, error, submitError }, ...other } = props; return ( <TextField error={Boolean(!!touched && (error || submitError))} {...input} {...other} InputProps={{ inputProps: { autoComplete, }, ...InputProps, }} helperText={touched ? error || submitError : ''} variant="standard" /> ); } RFTextField.propTypes = { /** * This prop helps users to fill forms faster, especially on mobile devices. * The name can be confusing, as it's more like an autofill. * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill). */ autoComplete: PropTypes.string, input: PropTypes.shape({ checked: PropTypes.bool, multiple: PropTypes.bool, name: PropTypes.string.isRequired, onBlur: PropTypes.func.isRequired, onChange: PropTypes.func.isRequired, onFocus: PropTypes.func.isRequired, type: PropTypes.string, value: PropTypes.string.isRequired, }).isRequired, /** * Props applied to the Input element. * It will be a [`FilledInput`](/material-ui/api/filled-input/), * [`OutlinedInput`](/material-ui/api/outlined-input/) or [`Input`](/material-ui/api/input/) * component depending on the `variant` prop value. */ InputProps: PropTypes.object, meta: PropTypes.shape({ active: PropTypes.bool, data: PropTypes.object, dirty: PropTypes.bool, dirtySinceLastSubmit: PropTypes.bool, error: PropTypes.any, initial: PropTypes.string, invalid: PropTypes.bool, length: PropTypes.number, modified: PropTypes.bool, modifiedSinceLastSubmit: PropTypes.bool, pristine: PropTypes.bool, submitError: PropTypes.any, submitFailed: PropTypes.bool, submitSucceeded: PropTypes.bool, submitting: PropTypes.bool, touched: PropTypes.bool, valid: PropTypes.bool, validating: PropTypes.bool, visited: PropTypes.bool, }).isRequired, }; export default RFTextField;
5,415
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/form/RFTextField.tsx
import * as React from 'react'; import { FieldRenderProps } from 'react-final-form'; import TextField, { OnePirateTextFieldProps } from '../components/TextField'; function RFTextField( props: OnePirateTextFieldProps & FieldRenderProps<string, HTMLElement>, ) { const { autoComplete, input, InputProps, meta: { touched, error, submitError }, ...other } = props; return ( <TextField error={Boolean(!!touched && (error || submitError))} {...input} {...other} InputProps={{ inputProps: { autoComplete, }, ...InputProps, }} helperText={touched ? error || submitError : ''} variant="standard" /> ); } export default RFTextField;
5,416
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/form/defer.js
import * as React from 'react'; export default function defer(Component) { function Defer(props) { const [mounted, setMounted] = React.useState(false); React.useEffect(() => { setMounted(true); }, []); return <Component mounted={mounted} {...props} />; } return Defer; }
5,417
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/form/defer.tsx
import * as React from 'react'; export default function defer<P>(Component: React.ComponentType<P>) { function Defer(props: P) { const [mounted, setMounted] = React.useState(false); React.useEffect(() => { setMounted(true); }, []); return <Component mounted={mounted} {...props} />; } return Defer; }
5,418
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/form/validation.js
/** * This is a simplified logic. * Consider using `import isEmail from 'validator/lib/isEmail'` from * https://github.com/validatorjs/validator.js/blob/7376945b4ce028b65955ae57b8fccbbf3fe58467/src/lib/isEmail.js * for a more robust version. */ function isEmail(string) { const re = /^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i; return re.test(string); } export function email(value) { return value && !isEmail(value.trim()) ? 'Invalid email' : null; } function isDirty(value) { return value || value === 0; } export function required(requiredFields, values) { return requiredFields.reduce( (fields, field) => ({ ...fields, ...(isDirty(values[field]) ? undefined : { [field]: 'Required' }), }), {}, ); }
5,419
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/form/validation.ts
/** * This is a simplified logic. * Consider using `import isEmail from 'validator/lib/isEmail'` from * https://github.com/validatorjs/validator.js/blob/7376945b4ce028b65955ae57b8fccbbf3fe58467/src/lib/isEmail.js * for a more robust version. */ function isEmail(string: string) { const re = /^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i; return re.test(string); } export function email(value: string) { return value && !isEmail(value.trim()) ? 'Invalid email' : null; } function isDirty(value: string | number) { return value || value === 0; } export function required( requiredFields: readonly string[], values: Record<string, string>, ): Record<string, string> { return requiredFields.reduce( (fields, field) => ({ ...fields, ...(isDirty(values[field]) ? undefined : { [field]: 'Required' }), }), {}, ); }
5,420
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/AppAppBar.js
import * as React from 'react'; import Box from '@mui/material/Box'; import Link from '@mui/material/Link'; import AppBar from '../components/AppBar'; import Toolbar from '../components/Toolbar'; const rightLink = { fontSize: 16, color: 'common.white', ml: 3, }; function AppAppBar() { return ( <div> <AppBar position="fixed"> <Toolbar sx={{ justifyContent: 'space-between' }}> <Box sx={{ flex: 1 }} /> <Link variant="h6" underline="none" color="inherit" href="/premium-themes/onepirate/" sx={{ fontSize: 24 }} > {'onepirate'} </Link> <Box sx={{ flex: 1, display: 'flex', justifyContent: 'flex-end' }}> <Link color="inherit" variant="h6" underline="none" href="/premium-themes/onepirate/sign-in/" sx={rightLink} > {'Sign In'} </Link> <Link variant="h6" underline="none" href="/premium-themes/onepirate/sign-up/" sx={{ ...rightLink, color: 'secondary.main' }} > {'Sign Up'} </Link> </Box> </Toolbar> </AppBar> <Toolbar /> </div> ); } export default AppAppBar;
5,421
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/AppAppBar.tsx
import * as React from 'react'; import Box from '@mui/material/Box'; import Link from '@mui/material/Link'; import AppBar from '../components/AppBar'; import Toolbar from '../components/Toolbar'; const rightLink = { fontSize: 16, color: 'common.white', ml: 3, }; function AppAppBar() { return ( <div> <AppBar position="fixed"> <Toolbar sx={{ justifyContent: 'space-between' }}> <Box sx={{ flex: 1 }} /> <Link variant="h6" underline="none" color="inherit" href="/premium-themes/onepirate/" sx={{ fontSize: 24 }} > {'onepirate'} </Link> <Box sx={{ flex: 1, display: 'flex', justifyContent: 'flex-end' }}> <Link color="inherit" variant="h6" underline="none" href="/premium-themes/onepirate/sign-in/" sx={rightLink} > {'Sign In'} </Link> <Link variant="h6" underline="none" href="/premium-themes/onepirate/sign-up/" sx={{ ...rightLink, color: 'secondary.main' }} > {'Sign Up'} </Link> </Box> </Toolbar> </AppBar> <Toolbar /> </div> ); } export default AppAppBar;
5,422
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.js
import * as React from 'react'; import Box from '@mui/material/Box'; import Grid from '@mui/material/Grid'; import Link from '@mui/material/Link'; import Container from '@mui/material/Container'; import Typography from '../components/Typography'; import TextField from '../components/TextField'; function Copyright() { return ( <React.Fragment> {'© '} <Link color="inherit" href="https://mui.com/"> Your Website </Link>{' '} {new Date().getFullYear()} </React.Fragment> ); } const iconStyle = { width: 48, height: 48, display: 'flex', justifyContent: 'center', alignItems: 'center', backgroundColor: 'warning.main', mr: 1, '&:hover': { bgcolor: 'warning.dark', }, }; const LANGUAGES = [ { code: 'en-US', name: 'English', }, { code: 'fr-FR', name: 'Français', }, ]; export default function AppFooter() { return ( <Typography component="footer" sx={{ display: 'flex', bgcolor: 'secondary.light' }} > <Container sx={{ my: 8, display: 'flex' }}> <Grid container spacing={5}> <Grid item xs={6} sm={4} md={3}> <Grid container direction="column" justifyContent="flex-end" spacing={2} sx={{ height: 120 }} > <Grid item sx={{ display: 'flex' }}> <Box component="a" href="https://mui.com/" sx={iconStyle}> <img src="/static/themes/onepirate/appFooterFacebook.png" alt="Facebook" /> </Box> <Box component="a" href="https://twitter.com/MUI_hq" sx={iconStyle}> <img src="/static/themes/onepirate/appFooterTwitter.png" alt="Twitter" /> </Box> </Grid> <Grid item> <Copyright /> </Grid> </Grid> </Grid> <Grid item xs={6} sm={4} md={2}> <Typography variant="h6" marked="left" gutterBottom> Legal </Typography> <Box component="ul" sx={{ m: 0, listStyle: 'none', p: 0 }}> <Box component="li" sx={{ py: 0.5 }}> <Link href="/premium-themes/onepirate/terms/">Terms</Link> </Box> <Box component="li" sx={{ py: 0.5 }}> <Link href="/premium-themes/onepirate/privacy/">Privacy</Link> </Box> </Box> </Grid> <Grid item xs={6} sm={8} md={4}> <Typography variant="h6" marked="left" gutterBottom> Language </Typography> <TextField select size="medium" variant="standard" SelectProps={{ native: true, }} sx={{ mt: 1, width: 150 }} > {LANGUAGES.map((language) => ( <option value={language.code} key={language.code}> {language.name} </option> ))} </TextField> </Grid> <Grid item> <Typography variant="caption"> {'Icons made by '} <Link href="https://www.freepik.com" rel="sponsored" title="Freepik"> Freepik </Link> {' from '} <Link href="https://www.flaticon.com" rel="sponsored" title="Flaticon"> www.flaticon.com </Link> {' is licensed by '} <Link href="https://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank" rel="noopener noreferrer" > CC 3.0 BY </Link> </Typography> </Grid> </Grid> </Container> </Typography> ); }
5,423
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.tsx
import * as React from 'react'; import Box from '@mui/material/Box'; import Grid from '@mui/material/Grid'; import Link from '@mui/material/Link'; import Container from '@mui/material/Container'; import Typography from '../components/Typography'; import TextField from '../components/TextField'; function Copyright() { return ( <React.Fragment> {'© '} <Link color="inherit" href="https://mui.com/"> Your Website </Link>{' '} {new Date().getFullYear()} </React.Fragment> ); } const iconStyle = { width: 48, height: 48, display: 'flex', justifyContent: 'center', alignItems: 'center', backgroundColor: 'warning.main', mr: 1, '&:hover': { bgcolor: 'warning.dark', }, }; const LANGUAGES = [ { code: 'en-US', name: 'English', }, { code: 'fr-FR', name: 'Français', }, ]; export default function AppFooter() { return ( <Typography component="footer" sx={{ display: 'flex', bgcolor: 'secondary.light' }} > <Container sx={{ my: 8, display: 'flex' }}> <Grid container spacing={5}> <Grid item xs={6} sm={4} md={3}> <Grid container direction="column" justifyContent="flex-end" spacing={2} sx={{ height: 120 }} > <Grid item sx={{ display: 'flex' }}> <Box component="a" href="https://mui.com/" sx={iconStyle}> <img src="/static/themes/onepirate/appFooterFacebook.png" alt="Facebook" /> </Box> <Box component="a" href="https://twitter.com/MUI_hq" sx={iconStyle}> <img src="/static/themes/onepirate/appFooterTwitter.png" alt="Twitter" /> </Box> </Grid> <Grid item> <Copyright /> </Grid> </Grid> </Grid> <Grid item xs={6} sm={4} md={2}> <Typography variant="h6" marked="left" gutterBottom> Legal </Typography> <Box component="ul" sx={{ m: 0, listStyle: 'none', p: 0 }}> <Box component="li" sx={{ py: 0.5 }}> <Link href="/premium-themes/onepirate/terms/">Terms</Link> </Box> <Box component="li" sx={{ py: 0.5 }}> <Link href="/premium-themes/onepirate/privacy/">Privacy</Link> </Box> </Box> </Grid> <Grid item xs={6} sm={8} md={4}> <Typography variant="h6" marked="left" gutterBottom> Language </Typography> <TextField select size="medium" variant="standard" SelectProps={{ native: true, }} sx={{ mt: 1, width: 150 }} > {LANGUAGES.map((language) => ( <option value={language.code} key={language.code}> {language.name} </option> ))} </TextField> </Grid> <Grid item> <Typography variant="caption"> {'Icons made by '} <Link href="https://www.freepik.com" rel="sponsored" title="Freepik"> Freepik </Link> {' from '} <Link href="https://www.flaticon.com" rel="sponsored" title="Flaticon"> www.flaticon.com </Link> {' is licensed by '} <Link href="https://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank" rel="noopener noreferrer" > CC 3.0 BY </Link> </Typography> </Grid> </Grid> </Container> </Typography> ); }
5,424
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/AppForm.js
import * as React from 'react'; import PropTypes from 'prop-types'; import Container from '@mui/material/Container'; import Box from '@mui/material/Box'; import Paper from '../components/Paper'; function AppForm(props) { const { children } = props; return ( <Box sx={{ display: 'flex', backgroundImage: 'url(/static/onepirate/appCurvyLines.png)', backgroundRepeat: 'no-repeat', }} > <Container maxWidth="sm"> <Box sx={{ mt: 7, mb: 12 }}> <Paper background="light" sx={{ py: { xs: 4, md: 8 }, px: { xs: 3, md: 6 } }} > {children} </Paper> </Box> </Container> </Box> ); } AppForm.propTypes = { children: PropTypes.node, }; export default AppForm;
5,425
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/AppForm.tsx
import * as React from 'react'; import Container from '@mui/material/Container'; import Box from '@mui/material/Box'; import Paper from '../components/Paper'; export default function AppForm(props: React.HTMLAttributes<HTMLDivElement>) { const { children } = props; return ( <Box sx={{ display: 'flex', backgroundImage: 'url(/static/onepirate/appCurvyLines.png)', backgroundRepeat: 'no-repeat', }} > <Container maxWidth="sm"> <Box sx={{ mt: 7, mb: 12 }}> <Paper background="light" sx={{ py: { xs: 4, md: 8 }, px: { xs: 3, md: 6 } }} > {children} </Paper> </Box> </Container> </Box> ); }
5,426
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductCTA.js
import * as React from 'react'; import Box from '@mui/material/Box'; import Grid from '@mui/material/Grid'; import Container from '@mui/material/Container'; import Typography from '../components/Typography'; import TextField from '../components/TextField'; import Snackbar from '../components/Snackbar'; import Button from '../components/Button'; function ProductCTA() { const [open, setOpen] = React.useState(false); const handleSubmit = (event) => { event.preventDefault(); setOpen(true); }; const handleClose = () => { setOpen(false); }; return ( <Container component="section" sx={{ mt: 10, display: 'flex' }}> <Grid container> <Grid item xs={12} md={6} sx={{ zIndex: 1 }}> <Box sx={{ display: 'flex', justifyContent: 'center', bgcolor: 'warning.main', py: 8, px: 3, }} > <Box component="form" onSubmit={handleSubmit} sx={{ maxWidth: 400 }}> <Typography variant="h2" component="h2" gutterBottom> Receive offers </Typography> <Typography variant="h5"> Taste the holidays of the everyday close to home. </Typography> <TextField noBorder placeholder="Your email" variant="standard" sx={{ width: '100%', mt: 3, mb: 2 }} /> <Button type="submit" color="primary" variant="contained" sx={{ width: '100%' }} > Keep me updated </Button> </Box> </Box> </Grid> <Grid item xs={12} md={6} sx={{ display: { md: 'block', xs: 'none' }, position: 'relative' }} > <Box sx={{ position: 'absolute', top: -67, left: -67, right: 0, bottom: 0, width: '100%', background: 'url(/static/themes/onepirate/productCTAImageDots.png)', }} /> <Box component="img" src="https://images.unsplash.com/photo-1527853787696-f7be74f2e39a?auto=format&fit=crop&w=750" alt="call to action" sx={{ position: 'absolute', top: -28, left: -28, right: 0, bottom: 0, width: '100%', maxWidth: 600, }} /> </Grid> </Grid> <Snackbar open={open} closeFunc={handleClose} message="We will send you our best offers, once a week." /> </Container> ); } export default ProductCTA;
5,427
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductCTA.tsx
import * as React from 'react'; import Box from '@mui/material/Box'; import Grid from '@mui/material/Grid'; import Container from '@mui/material/Container'; import Typography from '../components/Typography'; import TextField from '../components/TextField'; import Snackbar from '../components/Snackbar'; import Button from '../components/Button'; function ProductCTA() { const [open, setOpen] = React.useState(false); const handleSubmit = (event: React.FormEvent<HTMLFormElement>) => { event.preventDefault(); setOpen(true); }; const handleClose = () => { setOpen(false); }; return ( <Container component="section" sx={{ mt: 10, display: 'flex' }}> <Grid container> <Grid item xs={12} md={6} sx={{ zIndex: 1 }}> <Box sx={{ display: 'flex', justifyContent: 'center', bgcolor: 'warning.main', py: 8, px: 3, }} > <Box component="form" onSubmit={handleSubmit} sx={{ maxWidth: 400 }}> <Typography variant="h2" component="h2" gutterBottom> Receive offers </Typography> <Typography variant="h5"> Taste the holidays of the everyday close to home. </Typography> <TextField noBorder placeholder="Your email" variant="standard" sx={{ width: '100%', mt: 3, mb: 2 }} /> <Button type="submit" color="primary" variant="contained" sx={{ width: '100%' }} > Keep me updated </Button> </Box> </Box> </Grid> <Grid item xs={12} md={6} sx={{ display: { md: 'block', xs: 'none' }, position: 'relative' }} > <Box sx={{ position: 'absolute', top: -67, left: -67, right: 0, bottom: 0, width: '100%', background: 'url(/static/themes/onepirate/productCTAImageDots.png)', }} /> <Box component="img" src="https://images.unsplash.com/photo-1527853787696-f7be74f2e39a?auto=format&fit=crop&w=750" alt="call to action" sx={{ position: 'absolute', top: -28, left: -28, right: 0, bottom: 0, width: '100%', maxWidth: 600, }} /> </Grid> </Grid> <Snackbar open={open} closeFunc={handleClose} message="We will send you our best offers, once a week." /> </Container> ); } export default ProductCTA;
5,428
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductCategories.js
import * as React from 'react'; import { styled } from '@mui/material/styles'; import Box from '@mui/material/Box'; import ButtonBase from '@mui/material/ButtonBase'; import Container from '@mui/material/Container'; import Typography from '../components/Typography'; const ImageBackdrop = styled('div')(({ theme }) => ({ position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, background: '#000', opacity: 0.5, transition: theme.transitions.create('opacity'), })); const ImageIconButton = styled(ButtonBase)(({ theme }) => ({ position: 'relative', display: 'block', padding: 0, borderRadius: 0, height: '40vh', [theme.breakpoints.down('md')]: { width: '100% !important', height: 100, }, '&:hover': { zIndex: 1, }, '&:hover .imageBackdrop': { opacity: 0.15, }, '&:hover .imageMarked': { opacity: 0, }, '&:hover .imageTitle': { border: '4px solid currentColor', }, '& .imageTitle': { position: 'relative', padding: `${theme.spacing(2)} ${theme.spacing(4)} 14px`, }, '& .imageMarked': { height: 3, width: 18, background: theme.palette.common.white, position: 'absolute', bottom: -2, left: 'calc(50% - 9px)', transition: theme.transitions.create('opacity'), }, })); const images = [ { url: 'https://images.unsplash.com/photo-1534081333815-ae5019106622?auto=format&fit=crop&w=400', title: 'Snorkeling', width: '40%', }, { url: 'https://images.unsplash.com/photo-1531299204812-e6d44d9a185c?auto=format&fit=crop&w=400', title: 'Massage', width: '20%', }, { url: 'https://images.unsplash.com/photo-1476480862126-209bfaa8edc8?auto=format&fit=crop&w=400', title: 'Hiking', width: '40%', }, { url: 'https://images.unsplash.com/photo-1453747063559-36695c8771bd?auto=format&fit=crop&w=400', title: 'Tour', width: '38%', }, { url: 'https://images.unsplash.com/photo-1523309996740-d5315f9cc28b?auto=format&fit=crop&w=400', title: 'Gastronomy', width: '38%', }, { url: 'https://images.unsplash.com/photo-1534452203293-494d7ddbf7e0?auto=format&fit=crop&w=400', title: 'Shopping', width: '24%', }, { url: 'https://images.unsplash.com/photo-1506941433945-99a2aa4bd50a?auto=format&fit=crop&w=400', title: 'Walking', width: '40%', }, { url: 'https://images.unsplash.com/photo-1533727937480-da3a97967e95?auto=format&fit=crop&w=400', title: 'Fitness', width: '20%', }, { url: 'https://images.unsplash.com/photo-1518136247453-74e7b5265980?auto=format&fit=crop&w=400', title: 'Reading', width: '40%', }, ]; export default function ProductCategories() { return ( <Container component="section" sx={{ mt: 8, mb: 4 }}> <Typography variant="h4" marked="center" align="center" component="h2"> For all tastes and all desires </Typography> <Box sx={{ mt: 8, display: 'flex', flexWrap: 'wrap' }}> {images.map((image) => ( <ImageIconButton key={image.title} style={{ width: image.width, }} > <Box sx={{ position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, backgroundSize: 'cover', backgroundPosition: 'center 40%', backgroundImage: `url(${image.url})`, }} /> <ImageBackdrop className="imageBackdrop" /> <Box sx={{ position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, display: 'flex', alignItems: 'center', justifyContent: 'center', color: 'common.white', }} > <Typography component="h3" variant="h6" color="inherit" className="imageTitle" > {image.title} <div className="imageMarked" /> </Typography> </Box> </ImageIconButton> ))} </Box> </Container> ); }
5,429
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductCategories.tsx
import * as React from 'react'; import { styled } from '@mui/material/styles'; import Box from '@mui/material/Box'; import ButtonBase from '@mui/material/ButtonBase'; import Container from '@mui/material/Container'; import Typography from '../components/Typography'; const ImageBackdrop = styled('div')(({ theme }) => ({ position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, background: '#000', opacity: 0.5, transition: theme.transitions.create('opacity'), })); const ImageIconButton = styled(ButtonBase)(({ theme }) => ({ position: 'relative', display: 'block', padding: 0, borderRadius: 0, height: '40vh', [theme.breakpoints.down('md')]: { width: '100% !important', height: 100, }, '&:hover': { zIndex: 1, }, '&:hover .imageBackdrop': { opacity: 0.15, }, '&:hover .imageMarked': { opacity: 0, }, '&:hover .imageTitle': { border: '4px solid currentColor', }, '& .imageTitle': { position: 'relative', padding: `${theme.spacing(2)} ${theme.spacing(4)} 14px`, }, '& .imageMarked': { height: 3, width: 18, background: theme.palette.common.white, position: 'absolute', bottom: -2, left: 'calc(50% - 9px)', transition: theme.transitions.create('opacity'), }, })); const images = [ { url: 'https://images.unsplash.com/photo-1534081333815-ae5019106622?auto=format&fit=crop&w=400', title: 'Snorkeling', width: '40%', }, { url: 'https://images.unsplash.com/photo-1531299204812-e6d44d9a185c?auto=format&fit=crop&w=400', title: 'Massage', width: '20%', }, { url: 'https://images.unsplash.com/photo-1476480862126-209bfaa8edc8?auto=format&fit=crop&w=400', title: 'Hiking', width: '40%', }, { url: 'https://images.unsplash.com/photo-1453747063559-36695c8771bd?auto=format&fit=crop&w=400', title: 'Tour', width: '38%', }, { url: 'https://images.unsplash.com/photo-1523309996740-d5315f9cc28b?auto=format&fit=crop&w=400', title: 'Gastronomy', width: '38%', }, { url: 'https://images.unsplash.com/photo-1534452203293-494d7ddbf7e0?auto=format&fit=crop&w=400', title: 'Shopping', width: '24%', }, { url: 'https://images.unsplash.com/photo-1506941433945-99a2aa4bd50a?auto=format&fit=crop&w=400', title: 'Walking', width: '40%', }, { url: 'https://images.unsplash.com/photo-1533727937480-da3a97967e95?auto=format&fit=crop&w=400', title: 'Fitness', width: '20%', }, { url: 'https://images.unsplash.com/photo-1518136247453-74e7b5265980?auto=format&fit=crop&w=400', title: 'Reading', width: '40%', }, ]; export default function ProductCategories() { return ( <Container component="section" sx={{ mt: 8, mb: 4 }}> <Typography variant="h4" marked="center" align="center" component="h2"> For all tastes and all desires </Typography> <Box sx={{ mt: 8, display: 'flex', flexWrap: 'wrap' }}> {images.map((image) => ( <ImageIconButton key={image.title} style={{ width: image.width, }} > <Box sx={{ position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, backgroundSize: 'cover', backgroundPosition: 'center 40%', backgroundImage: `url(${image.url})`, }} /> <ImageBackdrop className="imageBackdrop" /> <Box sx={{ position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, display: 'flex', alignItems: 'center', justifyContent: 'center', color: 'common.white', }} > <Typography component="h3" variant="h6" color="inherit" className="imageTitle" > {image.title} <div className="imageMarked" /> </Typography> </Box> </ImageIconButton> ))} </Box> </Container> ); }
5,430
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductHero.js
import * as React from 'react'; import Button from '../components/Button'; import Typography from '../components/Typography'; import ProductHeroLayout from './ProductHeroLayout'; const backgroundImage = 'https://images.unsplash.com/photo-1534854638093-bada1813ca19?auto=format&fit=crop&w=1400'; export default function ProductHero() { return ( <ProductHeroLayout sxBackground={{ backgroundImage: `url(${backgroundImage})`, backgroundColor: '#7fc7d9', // Average color of the background image. backgroundPosition: 'center', }} > {/* Increase the network loading priority of the background image. */} <img style={{ display: 'none' }} src={backgroundImage} alt="increase priority" /> <Typography color="inherit" align="center" variant="h2" marked="center"> Upgrade your Sundays </Typography> <Typography color="inherit" align="center" variant="h5" sx={{ mb: 4, mt: { xs: 4, sm: 10 } }} > Enjoy secret offers up to -70% off the best luxury hotels every Sunday. </Typography> <Button color="secondary" variant="contained" size="large" component="a" href="/premium-themes/onepirate/sign-up/" sx={{ minWidth: 200 }} > Register </Button> <Typography variant="body2" color="inherit" sx={{ mt: 2 }}> Discover the experience </Typography> </ProductHeroLayout> ); }
5,431
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductHero.tsx
import * as React from 'react'; import Button from '../components/Button'; import Typography from '../components/Typography'; import ProductHeroLayout from './ProductHeroLayout'; const backgroundImage = 'https://images.unsplash.com/photo-1534854638093-bada1813ca19?auto=format&fit=crop&w=1400'; export default function ProductHero() { return ( <ProductHeroLayout sxBackground={{ backgroundImage: `url(${backgroundImage})`, backgroundColor: '#7fc7d9', // Average color of the background image. backgroundPosition: 'center', }} > {/* Increase the network loading priority of the background image. */} <img style={{ display: 'none' }} src={backgroundImage} alt="increase priority" /> <Typography color="inherit" align="center" variant="h2" marked="center"> Upgrade your Sundays </Typography> <Typography color="inherit" align="center" variant="h5" sx={{ mb: 4, mt: { xs: 4, sm: 10 } }} > Enjoy secret offers up to -70% off the best luxury hotels every Sunday. </Typography> <Button color="secondary" variant="contained" size="large" component="a" href="/premium-themes/onepirate/sign-up/" sx={{ minWidth: 200 }} > Register </Button> <Typography variant="body2" color="inherit" sx={{ mt: 2 }}> Discover the experience </Typography> </ProductHeroLayout> ); }
5,432
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductHeroLayout.js
import * as React from 'react'; import PropTypes from 'prop-types'; import { styled } from '@mui/material/styles'; import Container from '@mui/material/Container'; import Box from '@mui/material/Box'; const ProductHeroLayoutRoot = styled('section')(({ theme }) => ({ color: theme.palette.common.white, position: 'relative', display: 'flex', alignItems: 'center', [theme.breakpoints.up('sm')]: { height: '80vh', minHeight: 500, maxHeight: 1300, }, })); const Background = styled(Box)({ position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, backgroundSize: 'cover', backgroundRepeat: 'no-repeat', zIndex: -2, }); function ProductHeroLayout(props) { const { sxBackground, children } = props; return ( <ProductHeroLayoutRoot> <Container sx={{ mt: 3, mb: 14, display: 'flex', flexDirection: 'column', alignItems: 'center', }} > <img src="/static/themes/onepirate/productHeroWonder.png" alt="wonder" width="147" height="80" /> {children} <Box sx={{ position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, backgroundColor: 'common.black', opacity: 0.5, zIndex: -1, }} /> <Background sx={sxBackground} /> <Box component="img" src="/static/themes/onepirate/productHeroArrowDown.png" height="16" width="12" alt="arrow down" sx={{ position: 'absolute', bottom: 32 }} /> </Container> </ProductHeroLayoutRoot> ); } ProductHeroLayout.propTypes = { children: PropTypes.node, sxBackground: PropTypes.oneOfType([ PropTypes.arrayOf( PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool]), ), PropTypes.func, PropTypes.object, ]), }; export default ProductHeroLayout;
5,433
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductHeroLayout.tsx
import * as React from 'react'; import { Theme, styled } from '@mui/material/styles'; import { SxProps } from '@mui/system'; import Container from '@mui/material/Container'; import Box from '@mui/material/Box'; const ProductHeroLayoutRoot = styled('section')(({ theme }) => ({ color: theme.palette.common.white, position: 'relative', display: 'flex', alignItems: 'center', [theme.breakpoints.up('sm')]: { height: '80vh', minHeight: 500, maxHeight: 1300, }, })); const Background = styled(Box)({ position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, backgroundSize: 'cover', backgroundRepeat: 'no-repeat', zIndex: -2, }); interface ProductHeroLayoutProps { sxBackground: SxProps<Theme>; } export default function ProductHeroLayout( props: React.HTMLAttributes<HTMLDivElement> & ProductHeroLayoutProps, ) { const { sxBackground, children } = props; return ( <ProductHeroLayoutRoot> <Container sx={{ mt: 3, mb: 14, display: 'flex', flexDirection: 'column', alignItems: 'center', }} > <img src="/static/themes/onepirate/productHeroWonder.png" alt="wonder" width="147" height="80" /> {children} <Box sx={{ position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, backgroundColor: 'common.black', opacity: 0.5, zIndex: -1, }} /> <Background sx={sxBackground} /> <Box component="img" src="/static/themes/onepirate/productHeroArrowDown.png" height="16" width="12" alt="arrow down" sx={{ position: 'absolute', bottom: 32 }} /> </Container> </ProductHeroLayoutRoot> ); }
5,434
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductHowItWorks.js
import * as React from 'react'; import Box from '@mui/material/Box'; import Grid from '@mui/material/Grid'; import Container from '@mui/material/Container'; import Button from '../components/Button'; import Typography from '../components/Typography'; const item = { display: 'flex', flexDirection: 'column', alignItems: 'center', px: 5, }; const number = { fontSize: 24, fontFamily: 'default', color: 'secondary.main', fontWeight: 'medium', }; const image = { height: 55, my: 4, }; function ProductHowItWorks() { return ( <Box component="section" sx={{ display: 'flex', bgcolor: 'secondary.light', overflow: 'hidden' }} > <Container sx={{ mt: 10, mb: 15, position: 'relative', display: 'flex', flexDirection: 'column', alignItems: 'center', }} > <Box component="img" src="/static/themes/onepirate/productCurvyLines.png" alt="curvy lines" sx={{ pointerEvents: 'none', position: 'absolute', top: -180, opacity: 0.7, }} /> <Typography variant="h4" marked="center" component="h2" sx={{ mb: 14 }}> How it works </Typography> <div> <Grid container spacing={5}> <Grid item xs={12} md={4}> <Box sx={item}> <Box sx={number}>1.</Box> <Box component="img" src="/static/themes/onepirate/productHowItWorks1.svg" alt="suitcase" sx={image} /> <Typography variant="h5" align="center"> Appointment every Wednesday 9am. </Typography> </Box> </Grid> <Grid item xs={12} md={4}> <Box sx={item}> <Box sx={number}>2.</Box> <Box component="img" src="/static/themes/onepirate/productHowItWorks2.svg" alt="graph" sx={image} /> <Typography variant="h5" align="center"> First come, first served. Our offers are in limited quantities, so be quick. </Typography> </Box> </Grid> <Grid item xs={12} md={4}> <Box sx={item}> <Box sx={number}>3.</Box> <Box component="img" src="/static/themes/onepirate/productHowItWorks3.svg" alt="clock" sx={image} /> <Typography variant="h5" align="center"> {'New offers every week. New experiences, new surprises. '} {'Your Sundays will no longer be alike.'} </Typography> </Box> </Grid> </Grid> </div> <Button color="secondary" size="large" variant="contained" component="a" href="/premium-themes/onepirate/sign-up/" sx={{ mt: 8 }} > Get started </Button> </Container> </Box> ); } export default ProductHowItWorks;
5,435
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductHowItWorks.tsx
import * as React from 'react'; import { Theme } from '@mui/material/styles'; import { SxProps } from '@mui/system'; import Box from '@mui/material/Box'; import Grid from '@mui/material/Grid'; import Container from '@mui/material/Container'; import Button from '../components/Button'; import Typography from '../components/Typography'; const item: SxProps<Theme> = { display: 'flex', flexDirection: 'column', alignItems: 'center', px: 5, }; const number = { fontSize: 24, fontFamily: 'default', color: 'secondary.main', fontWeight: 'medium', }; const image = { height: 55, my: 4, }; function ProductHowItWorks() { return ( <Box component="section" sx={{ display: 'flex', bgcolor: 'secondary.light', overflow: 'hidden' }} > <Container sx={{ mt: 10, mb: 15, position: 'relative', display: 'flex', flexDirection: 'column', alignItems: 'center', }} > <Box component="img" src="/static/themes/onepirate/productCurvyLines.png" alt="curvy lines" sx={{ pointerEvents: 'none', position: 'absolute', top: -180, opacity: 0.7, }} /> <Typography variant="h4" marked="center" component="h2" sx={{ mb: 14 }}> How it works </Typography> <div> <Grid container spacing={5}> <Grid item xs={12} md={4}> <Box sx={item}> <Box sx={number}>1.</Box> <Box component="img" src="/static/themes/onepirate/productHowItWorks1.svg" alt="suitcase" sx={image} /> <Typography variant="h5" align="center"> Appointment every Wednesday 9am. </Typography> </Box> </Grid> <Grid item xs={12} md={4}> <Box sx={item}> <Box sx={number}>2.</Box> <Box component="img" src="/static/themes/onepirate/productHowItWorks2.svg" alt="graph" sx={image} /> <Typography variant="h5" align="center"> First come, first served. Our offers are in limited quantities, so be quick. </Typography> </Box> </Grid> <Grid item xs={12} md={4}> <Box sx={item}> <Box sx={number}>3.</Box> <Box component="img" src="/static/themes/onepirate/productHowItWorks3.svg" alt="clock" sx={image} /> <Typography variant="h5" align="center"> {'New offers every week. New experiences, new surprises. '} {'Your Sundays will no longer be alike.'} </Typography> </Box> </Grid> </Grid> </div> <Button color="secondary" size="large" variant="contained" component="a" href="/premium-themes/onepirate/sign-up/" sx={{ mt: 8 }} > Get started </Button> </Container> </Box> ); } export default ProductHowItWorks;
5,436
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductSmokingHero.js
import * as React from 'react'; import Box from '@mui/material/Box'; import Button from '@mui/material/Button'; import Container from '@mui/material/Container'; import Typography from '../components/Typography'; function ProductSmokingHero() { return ( <Container component="section" sx={{ display: 'flex', flexDirection: 'column', alignItems: 'center', my: 9 }} > <Button sx={{ border: '4px solid currentColor', borderRadius: 0, height: 'auto', py: 2, px: 5, }} > <Typography variant="h4" component="span"> Got any questions? Need help? </Typography> </Button> <Typography variant="subtitle1" sx={{ my: 3 }}> We are here to help. Get in touch! </Typography> <Box component="img" src="/static/themes/onepirate/productBuoy.svg" alt="buoy" sx={{ width: 60 }} /> </Container> ); } export default ProductSmokingHero;
5,437
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductSmokingHero.tsx
import * as React from 'react'; import Box from '@mui/material/Box'; import Button from '@mui/material/Button'; import Container from '@mui/material/Container'; import Typography from '../components/Typography'; function ProductSmokingHero() { return ( <Container component="section" sx={{ display: 'flex', flexDirection: 'column', alignItems: 'center', my: 9 }} > <Button sx={{ border: '4px solid currentColor', borderRadius: 0, height: 'auto', py: 2, px: 5, }} > <Typography variant="h4" component="span"> Got any questions? Need help? </Typography> </Button> <Typography variant="subtitle1" sx={{ my: 3 }}> We are here to help. Get in touch! </Typography> <Box component="img" src="/static/themes/onepirate/productBuoy.svg" alt="buoy" sx={{ width: 60 }} /> </Container> ); } export default ProductSmokingHero;
5,438
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductValues.js
import * as React from 'react'; import Box from '@mui/material/Box'; import Grid from '@mui/material/Grid'; import Container from '@mui/material/Container'; import Typography from '../components/Typography'; const item = { display: 'flex', flexDirection: 'column', alignItems: 'center', px: 5, }; function ProductValues() { return ( <Box component="section" sx={{ display: 'flex', overflow: 'hidden', bgcolor: 'secondary.light' }} > <Container sx={{ mt: 15, mb: 30, display: 'flex', position: 'relative' }}> <Box component="img" src="/static/themes/onepirate/productCurvyLines.png" alt="curvy lines" sx={{ pointerEvents: 'none', position: 'absolute', top: -180 }} /> <Grid container spacing={5}> <Grid item xs={12} md={4}> <Box sx={item}> <Box component="img" src="/static/themes/onepirate/productValues1.svg" alt="suitcase" sx={{ height: 55 }} /> <Typography variant="h6" sx={{ my: 5 }}> The best luxury hotels </Typography> <Typography variant="h5"> { 'From the latest trendy boutique hotel to the iconic palace with XXL pool' } { ', go for a mini-vacation just a few subway stops away from your home.' } </Typography> </Box> </Grid> <Grid item xs={12} md={4}> <Box sx={item}> <Box component="img" src="/static/themes/onepirate/productValues2.svg" alt="graph" sx={{ height: 55 }} /> <Typography variant="h6" sx={{ my: 5 }}> New experiences </Typography> <Typography variant="h5"> { 'Privatize a pool, take a Japanese bath or wake up in 900m2 of garden… ' } {'your Sundays will not be alike.'} </Typography> </Box> </Grid> <Grid item xs={12} md={4}> <Box sx={item}> <Box component="img" src="/static/themes/onepirate/productValues3.svg" alt="clock" sx={{ height: 55 }} /> <Typography variant="h6" sx={{ my: 5 }}> Exclusive rates </Typography> <Typography variant="h5"> {'By registering, you will access specially negotiated rates '} {'that you will not find anywhere else.'} </Typography> </Box> </Grid> </Grid> </Container> </Box> ); } export default ProductValues;
5,439
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/ProductValues.tsx
import * as React from 'react'; import { Theme } from '@mui/material/styles'; import { SxProps } from '@mui/system'; import Box from '@mui/material/Box'; import Grid from '@mui/material/Grid'; import Container from '@mui/material/Container'; import Typography from '../components/Typography'; const item: SxProps<Theme> = { display: 'flex', flexDirection: 'column', alignItems: 'center', px: 5, }; function ProductValues() { return ( <Box component="section" sx={{ display: 'flex', overflow: 'hidden', bgcolor: 'secondary.light' }} > <Container sx={{ mt: 15, mb: 30, display: 'flex', position: 'relative' }}> <Box component="img" src="/static/themes/onepirate/productCurvyLines.png" alt="curvy lines" sx={{ pointerEvents: 'none', position: 'absolute', top: -180 }} /> <Grid container spacing={5}> <Grid item xs={12} md={4}> <Box sx={item}> <Box component="img" src="/static/themes/onepirate/productValues1.svg" alt="suitcase" sx={{ height: 55 }} /> <Typography variant="h6" sx={{ my: 5 }}> The best luxury hotels </Typography> <Typography variant="h5"> { 'From the latest trendy boutique hotel to the iconic palace with XXL pool' } { ', go for a mini-vacation just a few subway stops away from your home.' } </Typography> </Box> </Grid> <Grid item xs={12} md={4}> <Box sx={item}> <Box component="img" src="/static/themes/onepirate/productValues2.svg" alt="graph" sx={{ height: 55 }} /> <Typography variant="h6" sx={{ my: 5 }}> New experiences </Typography> <Typography variant="h5"> { 'Privatize a pool, take a Japanese bath or wake up in 900m2 of garden… ' } {'your Sundays will not be alike.'} </Typography> </Box> </Grid> <Grid item xs={12} md={4}> <Box sx={item}> <Box component="img" src="/static/themes/onepirate/productValues3.svg" alt="clock" sx={{ height: 55 }} /> <Typography variant="h6" sx={{ my: 5 }}> Exclusive rates </Typography> <Typography variant="h5"> {'By registering, you will access specially negotiated rates '} {'that you will not find anywhere else.'} </Typography> </Box> </Grid> </Grid> </Container> </Box> ); } export default ProductValues;
5,440
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/privacy.md
<!-- markdownlint-capture --> <!-- markdownlint-disable --> Last modified: October 7th, 2018. <!-- markdownlint-restore --> MUI is committed to protecting and respecting your privacy. This Privacy Policy sets out how we collect and process personal information about you when you visit the website mui.com, when you use our products and services (our "Services"), or when you otherwise do business or make contact with us. Please read this policy carefully to understand how we handle and treat your personal information. ## What information do we collect? We may collect and process the following personal information from you: - **Information you provide to us:** We collect personal information when you voluntarily provide us with such information in the course of using our website or Services. For example, when you register to use our Services, we will collect your name, email address and organization information. We also collect personal information from you when you subscribe to our newsletter, or respond to a survey. If you make an enquiry through our website, or contact us in any other way, we will keep a copy of your communications with us. - **Information we collect when you do business with us:** We may process your personal information when you do business with us – for example, as a customer or prospective customer, or as a vendor, supplier, consultant or other third party. For example, we may hold your business contact information and financial account information (if any) and other communications you have with us for the purposes of maintaining our business relations with you. - **Information we automatically collect:** We may also collect certain technical information by automatic means when you visit our website, such as IP address, browser type and operating system, referring URLs, your use of our website, and other clickstream data. We collect this information automatically through the use of various technologies, such as cookies. - **Personal information where we act as a data processor:** We also process personal information on behalf of our customers in the context of supporting our products and services. Where a customer subscribes to our Services for their website, game or app, they will be the ones who control what event data is collected and stored on our systems. For example, they may ask us to log basic user data (e.g. email address or username), device identifiers, IP addresses, event type, and related source code. In such cases, we are data processors acting in accordance with the instructions of our customers. You will need to refer to the privacy policies of our customers to find out more about how such information is handled by them. ## What do we use your information for? The personal information we collect from you may be used in one of the following ways: - To deal with your inquiries and requests - To create and administer records about any online account that you register with us - To provide you with information and access to resources that you have requested from us - To provide you with technical support (your information helps us to better respond to your individual needs) - To improve our website (we continually strive to improve our website offerings based on the information and feedback we receive from you), including to improve the navigation and content of our sites - For website and system administration and security - For general business purposes, including to improve customer service (your information helps us to more effectively respond to your customer service requests and support needs), to help us improve the content and functionality of our Services, to better understand our users, to protect against wrongdoing, to enforce our Terms of Service, and to generally manage our business - To process transactions and to provide Services to our customers and end-users - For recruitment purposes, where you apply for a job with us - To administer a contest, promotion, survey, or other site features - To send periodic emails. The email address you provide for order processing, will only be used to send you information and updates pertaining to your order. Where it is in accordance with your marketing preferences, we will send occasional marketing emails about our products and services, which you can unsubscribe from at any time using the link provided in the message. ## How do we protect your information? We implement a variety of security measures to maintain the safety of your personal information when you enter, submit, or access your personal information. We offer the use of a secure server. All supplied sensitive/credit information is transmitted via Secure Socket Layer (SSL) technology and then encrypted into our Payment gateway providers database only to be accessible by those authorized with special access rights to such systems, and are required to keep the information confidential. After a transaction, your private information (credit cards, social security numbers, financials, etc.) will not be stored on our servers. ## Do we use cookies? Yes. Cookies are small files that a site or its service provider transfers to your computers hard drive through your Web browser (if you allow) that enables the sites or service providers systems to recognize your browser and capture and remember certain information. We use cookies to understand and save your preferences for future visits, to advertise to you on other sites and compile aggregate data about site traffic and site interaction so that we can offer better site experiences and tools in the future. You may refuse to accept cookies by activating the setting on your browser which allows you to refuse the setting of cookies. You can find information on popular browsers and how to adjust your cookie preferences at the following websites: - Microsoft Internet Explorer - Mozilla Firefox - Google Chrome - Apple Safari However, if you choose to disable cookies, you may be unable to access certain parts of our site. Unless you have adjusted your browser setting so that it will refuse cookies, our system will issue cookies when you log on to our site. ## Do we disclose any information to outside parties? We will only share your information with third parties in certain circumstances: - We engage certain trusted third parties to perform functions and provide services to us, including cloud hosting services, off-site backups, email service providers, and customer support providers. We will only share your personal information with third parties to the extent necessary to perform these functions, in accordance with the purposes set out in this Privacy Policy and applicable laws. - In the event of a corporate sale, merger, reorganization, dissolution or similar event, your personal information may be sold, disposed of, transferred or otherwise disclosed as part of that transaction. - We may also disclose information about you to third parties where we believe it necessary or appropriate under law, for example: (1) to protect or defend our rights, interests or property or that of third parties; (2) to comply with legal process, judicial orders or subpoenas; (3) to respond to requests from public or government authorities, including for national security and law enforcement purposes; (4) to prevent or investigate possible wrongdoing in connection with the Services or to enforce our Terms of Service; (5) to protect the vital interests of our users, customers and other third parties. - We may use and share aggregated non-personal information with third parties for marketing, advertising and analytics purposes. We do not sell or trade your personal information to third parties. ## Third Party Links Occasionally, at our discretion, we may include or offer third party products or services on our website. If you access other websites using the links provided, the operators of these websites may collect information from you that will be used by them in accordance with their privacy policies. These third party sites have separate and independent privacy policies. We therefore have no responsibility or liability for the content and activities of these linked sites. Nonetheless, we seek to protect the integrity of our site and welcome any feedback about these sites. ## International Transfers If you are visiting our website or using our Services from outside the United States (US), please be aware that you are sending personal information to the US where our servers are located. The US may not have data protection laws that are as comprehensive or protective as those in your country of residence; however, our collection, storage and use of your personal information will at all times be in accordance with this Privacy Policy. ## Your Rights If you are from the EU, you may have the right to access a copy of the personal information we hold about you, or to request the correction, amendment or deletion of such information where it is inaccurate or processed in violation of the Privacy Shield Principles. To make such a request, please contact us at the contact details at the left. We will consider and respond to your request in accordance with the Privacy Shield Principles and applicable laws. Furthermore, we commit to giving you an opportunity to opt-out if your personal information is to be disclosed to any other independent third parties, or to be used for a purpose materially different from those that are set out in this Privacy Policy. Where sensitive personal information is involved, we will always obtain your express opt-in consent to do such things. If you otherwise wish to limit the use or disclosure of your personal information, please write to us at the contact details further below. You can also unsubscribe from our marketing communications at any time by following the instructions or unsubscribe mechanism in the email message itself. ## Data Retention We may retain your personal information as long as you continue to use the Services, have an account with us or for as long as is necessary to fulfil the purposes outlined in the policy. You can ask to close your account by contacting us at the details below and we will delete your personal information on request. We may however retain personal information for an additional period as is permitted or required under applicable laws, for legal, tax or regulatory reasons, or for legitimate and lawful business purposes. ## Changes to our Privacy Policy If we decide to change our privacy policy, we will post those changes on this page, and/or update the Privacy Policy modification date below.
5,441
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/onepirate/modules/views/terms.md
<!-- markdownlint-capture --> <!-- markdownlint-disable --> Last modified: October 7th, 2018. <!-- markdownlint-restore --> ## 1. Services - 1.1 These MUI Terms of Service (these "Terms") apply to the features and functions provided by Functional Software, Inc. ("MUI," "our," or "we") via mui.com (the "Site") (collectively, the "Services"). By accessing or using the Site or the Services, you agree to be bound by these Terms. If you do not agree to these Terms, you are not allowed to use the Site or the Services. The "Effective Date" of these Terms is the date you first use the Site, or access any of the Services. - 1.2 If you are using the Site or accessing the Services in your capacity as an employee, consultant or agent of a company or other entity, you represent that you are an employee, consultant or agent of that company or entity, and that you have the authority to bind that company or entity to these Terms. For the purpose of these Terms, you (and, if applicable, the company or entity that you represent) will be referred to as "Customer" or "you". - 1.3 MUI reserves the right to change or modify these Terms, or any of our other policies or guidelines, at any time upon notice to you. We may provide that notice in a variety of ways, including, without limitation, sending you an email, posting a notice on the Site, or posting the revised Terms on the Site and revising the date at the top of these Terms. Any changes or modifications will be effective after we provide notice that these Terms have been modified. You acknowledge that your continued use of the Site or any of the Services following such notice constitutes your acceptance of the modified Terms. - 1.4 MUI reserves the right – at any time, and without notice or liability to you – to modify the Site or the Services, or any part of them, temporarily or permanently. We may modify the Services for a variety of reasons, including, without limitation, for the purpose of providing new features, implementing new protocols, maintaining compatibility with emerging standards, or complying with regulatory requirements. - 1.5 These Terms form a binding agreement between you and MUI. Violation of any of the Terms below will result in the termination of your account(s). ## 2. Privacy Please see MUI' privacy policy at www.mui.com/privacy for information about how we collect, use, and disclose information about users of the Site and the Services. By using the Site and the Services, you consent to our collection, use, and disclosure of information as set forth in our privacy policy, as we may update that policy from time to time. ## 3. Registration - 3.1 In order to use many aspects of the Services, you must first complete the MUI registration process via the Site. During the registration process, you will be asked to select a package to access the Services (each, a "Plan"), which includes: (a) the period during which you can access the Services (the "Subscription Period"); and (b) the fee you must pay to MUI in exchange for your right to access the Services (the "Subscription Fees"). All such information is incorporated into these Terms by reference. We have several different types of paid Plans, as well as a free Plan, for which there are no Subscription Fees. One person or legal entity may not sign up for more than one free Plan. - 3.2 You agree: (a) to provide accurate, current and complete information about you as part of the registration process ("Registration Data"); (b) to maintain the security of your password(s); (c) to maintain and promptly update your Registration Data, and any other information you provide to MUI, and to keep it accurate, current and complete; (d) to accept all risks of unauthorized access to your Registration Data, and any other information you provide to MUI, via your account(s) or password(s); (e) that you are responsible for maintaining the security of your account and safeguarding your password(s), and (f) that you will be fully responsible for any activities or transactions that take place using your account(s) or password(s), even if you were not aware of them. ## 4. Access to services Subject to your continued compliance with these Terms, MUI grants you a limited, non-transferable, non-exclusive, revocable right and license to: (i) access and use the Services and its associated documentation, solely for your own internal business purposes, for the Subscription Period for which you have paid the applicable Subscription Fees; and (ii) access and use any data or reports that we provide or make available to you as part of your access and use of the Services (collectively, "Reports"), solely in conjunction with your use of the Services. Reports are considered part of the applicable Services, for the purpose of the license granted above. You understand that MUI uses third-party vendors and hosting partners to provide the necessary hardware, software, networking, storage, and related technology required to provide the Services, and you agree that MUI is not and will not be liable or responsible for the acts or omissions of such third-party vendors or hosting partners. ## 5. Restrictions Except as expressly authorized by these Terms, you may not: (a) modify, disclose, alter, translate or create derivative works of the Site or the Services; (b) license, sublicense, resell, distribute, lease, rent, lend, transfer, assign or otherwise dispose of the Services or any Report (or any components thereof); (c) offer any part of the Services (including, without limitation, any Report) on a timeshare or service bureau basis; (c) allow or permit any third party to access or use the Services; (d) use the Site or the Services to store or transmit any viruses, software routines, or other code designed to permit anyone to access in an unauthorized manner, disable, erase or otherwise harm software, hardware, or data, or to perform any other harmful actions; (e) build a competitive product or service, or copy any features or functions of the Site or the Services (including, without limitation, the look-and-feel of the Site or the Services); (f) interfere with or disrupt the integrity or performance of the Site or the Services;&nbsp;(g) disclose to any third party any performance information or analysis relating to the Site or the Services; (h) remove, alter or obscure any proprietary notices in or on the Site or the Services, including copyright notices; (i) use the Site or the Services or any product thereof for any illegal or unauthorized purpose, or in a manner which violates any laws or regulations in your jurisdiction; (j) reverse engineer, decompile, disassemble, or otherwise attempt to discover the source code, object code, or underlying structure, ideas, or algorithms that make up the Services or any software, documentation, or data relating to the Services, except to the limited extent that applicable law prohibits such a restriction; or (k) cause or permit any third party to do any of the foregoing. ## 6. Content - 6.1 If you publish or upload data, images, code or content, or otherwise make (or allow any third party to make) material available by means of the Site or the Services (collectively, "Content"), you agree that you are entirely responsible for such Content, and for any harm or liability resulting from or arising out of that Content. Your responsibility applies whether or not the Content in question constitutes text, graphics, audio files, video files, computer software, or any other type of content, and whether or not you were the original creator or owner of the Content. You agree that you will be responsible for all Content on your account(s), even if placed there by third parties. By publishing or uploading Content to the Site or the Services, you represent and warrant that: - a. the Content does not and will not infringe, violate or misappropriate the Intellectual Property Rights of any third party (where "Intellectual Property Rights" are defined as any patents, copyrights, moral rights, trademarks, trade secrets, or any other form of intellectual property rights recognized in any jurisdiction in the world, including applications and registrations for any of the foregoing); - b. you have obtained all rights and permissions necessary to publish and/or use the Content in the manner in which you have published and/or used it; - c. MUI's use of the Content for the purpose of providing the Services (including, without limitation, downloading, copying, processing, or creating aggregations of the Content) does not and will not (i) violate any applicable laws or regulations, or (ii) infringe, violate, or misappropriate the Intellectual Property Rights of any third party; - d. you have fully complied with any third-party licenses relating to the Content; - e. the Content does not contain or install any viruses, worms, malware, Trojan horses or other harmful or destructive code; - f. the Content does not and will not include any: (i) "personal health information," as defined under the Health Insurance Portability and Accountability Act, unless you have entered into a separate agreement with us relating to the processing of such data; (ii) government issued identification numbers, including Social Security numbers, drivers' license numbers or other state-issued identification numbers; (iii) financial account information, including bank account numbers; (iv) payment card data, including credit card or debit card numbers; or (iv) "sensitive" personal data, as defined under Directive 95/46/EC of the European Parliament ("EU Directive") and any national laws adopted pursuant to the EU Directive, about residents of Switzerland and any member country of the European Union, including racial or ethnic origin, political opinions, religious beliefs, trade union membership, physical or mental health or condition, sexual life, or the commission or alleged commission any crime or offense; - g. the Content is not spam, is not randomly-generated, and does not contain unethical or unwanted commercial content designed to drive traffic to third party sites or boost the search engine rankings of third party sites, or for any other unlawful acts (such as phishing), or for misleading recipients as to the source of the material (such as spoofing); - h. the Content does not contain threats or incitement to violence, and does not violate the privacy or publicity rights of any third party; - i. the Content is not being advertised via unwanted electronic messages (such as, by way of example, spam links on newsgroups, email lists, other blogs and web sites, and similar unsolicited promotional methods); - j. the Content is not named in a manner that misleads (or could mislead) third parties into thinking that you are another person or company (by way of example, your Content's URL or name should not be confusingly similar to the name of another person or entity); and - k. you have, in the case of Content that includes computer code, accurately categorized and/or described the type, nature, uses and effects of the materials, whether requested to do so by the Services or otherwise. - 6.2 By submitting or uploading Content to the Services, you grant MUI a worldwide, royalty-free, and non-exclusive license (i) to use, reproduce, modify, adapt and publish that Content solely for the purpose of providing the Services to you; and (ii) to create aggregations and summaries of the Content or portions thereof and to use, disclose, and distribute such aggregations publicly to any third party in support of our business (both during the period that these Terms are in effect, and thereafter), provided that such aggregations and summaries do not directly or indirectly identify you or your Content. If you delete Content, MUI will use reasonable efforts to remove it from the Services. You acknowledge, however, that cached copies or other references to the Content may still be available. - 6.3 Without limiting any of your representations or warranties with respect to the Content, MUI has the right (but not the obligation) to reject or remove any Content, without liability or notice to you, that MUI believes, in MUI' sole discretion: (i) violates these Terms or any MUI policy, (ii) violates or misappropriates the Intellectual Property Rights of any third party, or (iii) is in any way harmful or objectionable. ## 7. Fee and payment terms; Plan upgrade/downgrade/cancellation; Pricing changes - 7.1 In exchange for your rights to access the Site and use the Services during the Subscription Period, you agree to pay the applicable Subscription Fees to MUI. The Subscription Fees do not include taxes; you will be responsible for, and will promptly pay, all taxes associated with your use of the Site and the Services, other than taxes based on our net income. Subscription Fees are payable in full, in advance, in accordance with your Plan, and are non-refundable and non-creditable. You agree to make all payments in U.S. Dollars. - 7.2 You can cancel your account(s)/subscription(s) via the process set forth in the "Cancel Subscription" section of your Account Settings on the Site. An email or phone request to cancel your account is not considered cancellation. No refunds will be issued, unless expressly stated otherwise. All of your Content will be deleted from the Services within a reasonable time period from when you cancel your account/subscription. Deleted Content cannot be recovered once your account/subscription is cancelled. - 7.3 If you upgrade from the free Plan to any paid Plan, we will immediately bill you for the applicable Subscription Fees. There will be no refunds or credits for partial months of service, upgrade/downgrade refunds, or refunds for months unused with an open account. - 7.4 Downgrading your account(s) may cause the loss of Content, features, or capacity of your account(s). We do not accept any liability for such loss. - 7.5 Each Subscription Period will automatically renew (and we may automatically invoice you) for additional Subscription Periods of equivalent length, unless and until one party provides written notice to the other at least thirty (30) days prior to the expiration of the then-current Subscription Period that it wishes to terminate the subscription at the end of the then-current Subscription Period. We reserve the right to modify the fees for the Services at any time upon thirty (30) days' prior notice to you, provided that the modified fees will not apply until the next Subscription Period. - 7.6 Interest on any late payments will accrue at the rate of 1.5% per month, or the highest rate permitted by law, whichever is lower, from the date the amount is due until the date the amount is paid in full. If you are late in paying us, you also agree that, in addition to our rights to suspend your access to the Services, terminate your account(s), downgrade you to a free Plan, and/or pursue any other rights or remedies available to us at law or in equity, you are responsible to reimburse us for any costs that we incur while attempting to collect such late payments. ## 8. DISCLAIMER YOU ACKNOWLEDGE THAT THE SITE AND THE SERVICES ARE PROVIDED ON AN "AS IS", "AS AVAILABLE" BASIS, WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, AND THAT YOUR USE OF THE SITE AND THE SERVICES IS AT YOUR SOLE RISK. ARGOS DOES NOT WARRANT: (I) THAT THE SITE OR THE SERVICES WILL MEET YOUR SPECIFIC REQUIREMENTS, (II) THAT THE SITE OR THE SERVICES WILL BE UNINTERRUPTED, TIMELY, SECURE, OR ERROR-FREE, (III) THAT THE RESULTS THAT MAY BE OBTAINED FROM THE USE OF THE SERVICES WILL BE ACCURATE OR RELIABLE, (IV) THAT THE QUALITY OF ANY PRODUCTS, SERVICES, INFORMATION, OR OTHER MATERIAL THAT YOU PURCHASE OR OBTAIN THROUGH THE SITE OR THE SERVICES WILL MEET YOUR EXPECTATIONS, OR (V) THAT ANY ERRORS IN THE SITE OR THE SERVICES WILL BE CORRECTED. ARGOS SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT. ## 9. Indemnification obligations You agree, at your sole expense, to defend, indemnify and hold MUI (and its directors, officers, employees, consultants and agents) harmless from and against any and all actual or threatened suits, actions, proceedings (whether at law or in equity), claims, damages, payments, deficiencies, fines, judgments, settlements, liabilities, losses, costs and expenses (including, without limitation, reasonable attorneys' fees, costs, penalties, interest and disbursements) arising out of or relating to (i) your Content; (ii) your use of the Site or the Services; (iii) your failure to pay any taxes that you owe under these Terms; and (iv) any other actual or alleged breach of any of your obligations under these Terms (including, among other things, any actual or alleged breach of any of your representations or warranties as set forth herein). You will not settle any such claim in any manner that would require MUI to pay money or admit wrongdoing of any kind without our prior written consent, which we may withhold in our sole discretion. ## 10. LIMITATION OF LIABILITY - 10.1 IN NO EVENT WILL ARGOS'S TOTAL, AGGREGATE LIABILITY TO YOU OR TO ANY THIRD PARTY ARISING OUT OF OR RELATED TO THESE TERMS OR YOUR USE OF (OR INABILITY TO USE) ANY PART OF THE SITE OR THE SERVICES EXCEED THE TOTAL AMOUNT YOU ACTUALLY PAID TO ARGOS IN SUBSCRIPTION FEES FOR THE SERVICES DURING THE TWELVE (12) MONTHS IMMEDIATELY PRIOR TO THE ACCRUAL OF THE FIRST CLAIM. MULTIPLE CLAIMS WILL NOT EXPAND THIS LIMITATION. - 10.2 IN NO EVENT WILL ARGOS BE LIABLE TO YOU OR TO ANY THIRD PARTY FOR ANY LOSS OF PROFITS, LOSS OF USE, LOSS OF REVENUE, LOSS OF GOODWILL, INTERRUPTION OF BUSINESS, LOSS OF DATA, OR ANY INDIRECT, SPECIAL, INCIDENTAL, EXEMPLARY, PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND ARISING OUT OF, OR IN CONNECTION WITH THESE TERMS OR YOUR USE (OR INABILITY TO USE) ANY PART OF THE SITE OR THE SERVICES, WHETHER IN CONTRACT, TORT, STRICT LIABILITY OR OTHERWISE, EVEN IF WE HAVE BEEN ADVISED OR ARE OTHERWISE AWARE OF THE POSSIBILITY OF SUCH DAMAGES. - 10.3 THIS SECTION (LIMITATION OF LIABILITY) WILL BE GIVEN FULL EFFECT EVEN IF ANY REMEDY SPECIFIED IN THESE TERMS IS DEEMED TO HAVE FAILED OF ITS ESSENTIAL PURPOSE. ## 11. Ownership; Reservation of rights - 11.1 As between the parties: (i) you own all right, title and interest in and to your Content; and (ii) MUI owns all right, title and interest in and to the Site and the Services, and all Intellectual Property Rights therein. The look and feel of the Site and the Services, including any custom graphics, button icons, and scripts are also the property of MUI, and you may not copy, imitate, or use them, in whole or in part, without MUI' prior written consent. MUI reserves all rights not expressly granted to you in these Terms, and MUI does not grant any licenses to you or to any other party under these Terms, whether by implication, estoppel or otherwise, except as expressly set forth herein. - 11.2 You acknowledge that any suggestions, comments, or other feedback that you provide to MUI with respect to the Site, the Services, or any other MUI product or service (collectively, "Feedback") will be owned by MUI, including all Intellectual Property Rights therein, and will be and become MUI' Confidential Information (as defined below). You acknowledge and agree that MUI will be free to use, disclose, reproduce, license, and otherwise distribute and exploit the Feedback as MUI sees fit, without obligation or restriction of any kind. At our request and expense, you agree to execute documents or take such further actions as we may reasonably request to help us acquire, perfect, and maintain our rights in the Feedback. ## 12 Term, termination, and effect of termination - 12.1 These Terms will apply to you starting on the Effective Date, and will continue for as long as you are accessing or using the Site or the Services. - 12.2 MUI, in its sole discretion, has the right to suspend your ability to access the Services, without liability, under the following circumstances: (i) for scheduled or emergency maintenance to the Site or the Services, or any part thereof; (ii) if MUI believes that you are using the Site or Services in violation of these Terms or applicable law; (iii) if MUI believes that your use of the Site or the Services poses a security risk to us or to any third party; (iv) if required by law enforcement or government agency, or otherwise in order to comply with applicable law or regulation; or (v) if you fail to fulfill your payment obligations hereunder. MUI also reserves the right to temporarily or permanently suspend your ability to access the Services, without liability, if MUI determines, in its sole discretion, that you are engaging in abusive or excessively frequent use of the Services. - 12.3 Either of us can terminate these Terms upon notice to the other if the other party breaches any of these Terms and fails to cure the breach within fifteen (15) days of receiving written notice of it from the non-breaching party. We reserve the right to terminate these Terms for cause immediately upon notice to you, and without giving you a cure period, if you breach any of these Terms relating to our intellectual property (including your compliance with the access grant and any restrictions) or our Confidential Information (defined below). - 12.4 We can terminate any free Plan that you have subscribed to, at any time and for any reason, without notice or liability to you. We can terminate any paid Plan that you have subscribed to, for any reason and without liability, by providing notice to you that we intend to terminate your Plan at the end of the then-current Subscription Period. - 12.5 When these Terms terminate or expire: (i) you will no longer have the right to use or access the Site or the Services as of the date of termination/expiration; (ii) if you owed us any fees prior to such termination/expiration, you will pay those fees immediately; and (iii) each of us will promptly return to the other (or, if the other party requests it, destroy) all Confidential Information belonging to the other. Sections 1, 2, 4 through 10, 11, and 13 through 15 will survive the termination or expiration of these Terms for any reason. ## 13. Support - 13.1 If you are subscribed to a paid Plan, MUI will provide you with email-based support – just write to our support desk at [[email protected]](mailto:[email protected]). While we work hard to respond to you and resolve your issues quickly, we do not warrant that we will respond within any particular timeframe, or that we will be able to resolve your issue. If you are subscribed to a free Plan, while you are welcome to email us your questions, we encourage you to visit our community forum which can provide valuable information to help answer your questions. ## 14. Confidential information - 14.1 For the purposes of these Terms, "Confidential Information" means any technical or business information disclosed by one party to the other that: (i) if disclosed in writing, is marked "confidential" or "proprietary" at the time of disclosure; (ii) if disclosed orally, is identified as confidential or proprietary at the time of such disclosure, and is summarized in a writing sent by the disclosing Party to the receiving Party within thirty (30) days of the disclosure. For the purposes of these Terms you agree that the Feedback, any Reports we provide to you, and any non-public elements of the Site or the Services (including, without limitation, the source code of any MUI-proprietary software), will be deemed to be MUI's Confidential Information, regardless of whether it is marked as such. - 14.2 Neither of us will use the other party's Confidential Information, except as permitted by these Terms. Each of us agrees to maintain in confidence and protect the other party's Confidential Information using at least the same degree of care as it uses for its own information of a similar nature, but in all events at least a reasonable degree of care. Each of us agrees to take all reasonable precautions to prevent any unauthorized disclosure of the other party's Confidential Information, including, without limitation, disclosing Confidential Information only to its employees, independent contractors, consultants, and legal and financial advisors (collectively, "Representatives"): (i) with a need to know such information, (ii) who are parties to appropriate agreements sufficient to comply with this Section 13, and (iii) who are informed of the nondisclosure obligations imposed by this Section 13. Each party will be responsible for all acts and omissions of its Representatives. The foregoing obligations will not restrict either party from disclosing Confidential Information of the other party pursuant to the order or requirement of a court, administrative agency, or other governmental body, provided that the party required to make such a disclosure gives reasonable notice to the other party to enable them to contest such order or requirement. - 14.3 The restrictions set forth in Section 13 will not apply with respect to any Confidential Information that: (i) was or becomes publicly known through no fault of the receiving party; (ii) was rightfully known or becomes rightfully known to the receiving party without confidential or proprietary restriction from a source other than the disclosing party who has a right to disclose it; (iii) is approved by the disclosing party for disclosure without restriction in a written document which is signed by a duly authorized officer of such disclosing party; or (iv) the receiving party independently develops without access to or use of the other party's Confidential Information. ## 15. Trademarks You acknowledge and agree that any MUI names, trademarks, service marks, logos, trade dress, or other branding included on the Site or as part of the Services (collectively, the "Marks") are owned by MUI and may not be copied, imitated, or used (in whole or in part) without MUI's prior written consent. All other trademarks, names, or logos referenced on the Site or the Services (collectively, "Third-Party Trademarks") are the property of their respective owners, and the use of such Third-Party Trademarks inure to the benefit of their respective owners. The use of such Third-Party Trademarks is intended to denote interoperability, and does not constitute an affiliation by MUI or its licensors with any company or an endorsement or approval by that company of MUI, its licensors, or their respective products or services. ## 16. General provisions - 16.1 These Terms, together with any policies incorporated into these Terms by reference, are the complete and exclusive understanding of the parties with respect to MUI's provision of, and your use of and access to, the Site and the Services, and supersede all previous or contemporaneous agreements or communications, whether written or oral, relating to the subject matter of these Terms (including, without limitation, prior versions of these Terms). Any terms or conditions that you send to MUI that are inconsistent with or in addition to these Terms are hereby rejected by MUI, and will be deemed void and of no effect. - 16.2 These Terms will be governed by and construed in accordance with the laws of the State of California, without regard to that State's conflict of law principles. Any legal action or proceeding arising under, related to or connected with these Terms will be brought exclusively in the federal (if they have jurisdiction) or state courts located in San Francisco, California, and the parties irrevocably consent to the personal jurisdiction and venue of such court(s). The United Nations Convention on Contracts for the International Sale of Goods and the Uniform Computer Information Transactions Act will not apply to these Terms. If a party initiates any proceeding regarding these Terms, the prevailing party to such proceeding is entitled to reasonable attorneys' fees and costs. - 16.3 You agree that MUI has the right to use your name and logo on the Site or other MUI websites or marketing materials, for the purposes of identifying you as a MUI customer and describing your use of the Services. You also agree that MUI may (but is under no obligation to): (i) issue a press release identifying you as a MUI customer; (ii) inform other potential customers that you are a user of the Services; and (iii) identify you as a customer in other forms of publicity (including, without limitation, case studies, blog posts, and the like. - 16.4 You may not assign these Terms, in whole or in part, by operation of law or otherwise, without the prior written consent of MUI, and any attempted transfer, assignment or delegation without such consent will be void and of no effect. MUI may freely transfer, assign or delegate these Terms, or its rights and duties under these Terms, without notice to you. Subject to the foregoing, these Terms will be binding upon and will inure to the benefit of the parties and their respective representatives, heirs, administrators, successors and permitted assigns. - 16.5 Except as expressly set forth in these Terms, the exercise by either party of any of its remedies will be without prejudice to its other remedies under these Terms or otherwise. The failure by a party to enforce any part of these Terms will not constitute a waiver of future enforcement of that or any other provision. Any waiver of any provision of these Terms will be effective only if in writing and signed by an authorized representative of the waiving party. - 16.6 You agree that any notice that MUI is required to provide pursuant to these Terms can be given electronically, which may include an email to the email address you provide to MUI as part of your Registration Data. These notices can be about a wide variety of things, including responding to your questions, requests for additional information, and legal notices. You agree that such electronic notices satisfy any legal requirement that such communications be in writing. An electronic notice will be deemed to have been received on the day the email is sent to you, provided that the email is the same as the email address you provided as part of your Registration Data. - 16.7 You acknowledge that you are responsible for complying with all applicable laws and regulations associated with your access and use of the Site and Services, including, without limitation, all applicable export control laws and regulations. - 16.8 We do not develop any technical data or computer software pursuant to these Terms. The Site and the Services have been developed solely with private funds, are considered "Commercial Computer Software" and "Commercial Computer Software Documentation" as described in FAR 12.212, FAR 27.405-3, and DFARS 227.7202-3, and access is provided to U.S. Government end users as restricted computer software and limited rights data. Any use, disclosure, modification, distribution, or reproduction of the Site or the Services by the U.S. Government, its end users or contractors is subject to the restrictions set forth in these Terms. - 16.9 If any portion of these Terms is held to be unenforceable or invalid, that portion will be enforced to the maximum extent possible, and all other provisions will remain in full force and effect. - 16.10 Except for payments due under these Terms, neither party will be responsible for any delay or failure to perform that is attributable in whole or in part to any cause beyond its reasonable control, including, without limitation, acts of God (fire, storm, floods, earthquakes, etc.); civil disturbances; disruption of telecommunications, power or other essential services; interruption or termination of service by any service providers used by MUI to host the Services or to link its servers to the Internet; labor disturbances; vandalism; cable cut; computer viruses or other similar occurrences; or any malicious or unlawful acts of any third party. - 16.11 We are each independent contractors with respect to the subject matter of these Terms. Nothing contained in these Terms will be deemed or construed in any manner whatsoever to create a partnership, joint venture, employment, agency, fiduciary, or other similar relationship between us, and neither of us can bind the other contractually.
5,442
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/paperbase/Content.js
import * as React from 'react'; import AppBar from '@mui/material/AppBar'; import Toolbar from '@mui/material/Toolbar'; import Typography from '@mui/material/Typography'; import Paper from '@mui/material/Paper'; import Grid from '@mui/material/Grid'; import Button from '@mui/material/Button'; import TextField from '@mui/material/TextField'; import Tooltip from '@mui/material/Tooltip'; import IconButton from '@mui/material/IconButton'; import SearchIcon from '@mui/icons-material/Search'; import RefreshIcon from '@mui/icons-material/Refresh'; export default function Content() { return ( <Paper sx={{ maxWidth: 936, margin: 'auto', overflow: 'hidden' }}> <AppBar position="static" color="default" elevation={0} sx={{ borderBottom: '1px solid rgba(0, 0, 0, 0.12)' }} > <Toolbar> <Grid container spacing={2} alignItems="center"> <Grid item> <SearchIcon color="inherit" sx={{ display: 'block' }} /> </Grid> <Grid item xs> <TextField fullWidth placeholder="Search by email address, phone number, or user UID" InputProps={{ disableUnderline: true, sx: { fontSize: 'default' }, }} variant="standard" /> </Grid> <Grid item> <Button variant="contained" sx={{ mr: 1 }}> Add user </Button> <Tooltip title="Reload"> <IconButton> <RefreshIcon color="inherit" sx={{ display: 'block' }} /> </IconButton> </Tooltip> </Grid> </Grid> </Toolbar> </AppBar> <Typography sx={{ my: 5, mx: 2 }} color="text.secondary" align="center"> No users for this project yet </Typography> </Paper> ); }
5,443
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/paperbase/Content.tsx
import * as React from 'react'; import AppBar from '@mui/material/AppBar'; import Toolbar from '@mui/material/Toolbar'; import Typography from '@mui/material/Typography'; import Paper from '@mui/material/Paper'; import Grid from '@mui/material/Grid'; import Button from '@mui/material/Button'; import TextField from '@mui/material/TextField'; import Tooltip from '@mui/material/Tooltip'; import IconButton from '@mui/material/IconButton'; import SearchIcon from '@mui/icons-material/Search'; import RefreshIcon from '@mui/icons-material/Refresh'; export default function Content() { return ( <Paper sx={{ maxWidth: 936, margin: 'auto', overflow: 'hidden' }}> <AppBar position="static" color="default" elevation={0} sx={{ borderBottom: '1px solid rgba(0, 0, 0, 0.12)' }} > <Toolbar> <Grid container spacing={2} alignItems="center"> <Grid item> <SearchIcon color="inherit" sx={{ display: 'block' }} /> </Grid> <Grid item xs> <TextField fullWidth placeholder="Search by email address, phone number, or user UID" InputProps={{ disableUnderline: true, sx: { fontSize: 'default' }, }} variant="standard" /> </Grid> <Grid item> <Button variant="contained" sx={{ mr: 1 }}> Add user </Button> <Tooltip title="Reload"> <IconButton> <RefreshIcon color="inherit" sx={{ display: 'block' }} /> </IconButton> </Tooltip> </Grid> </Grid> </Toolbar> </AppBar> <Typography sx={{ my: 5, mx: 2 }} color="text.secondary" align="center"> No users for this project yet </Typography> </Paper> ); }
5,444
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/paperbase/Header.js
import * as React from 'react'; import PropTypes from 'prop-types'; import AppBar from '@mui/material/AppBar'; import Avatar from '@mui/material/Avatar'; import Button from '@mui/material/Button'; import Grid from '@mui/material/Grid'; import HelpIcon from '@mui/icons-material/Help'; import IconButton from '@mui/material/IconButton'; import Link from '@mui/material/Link'; import MenuIcon from '@mui/icons-material/Menu'; import NotificationsIcon from '@mui/icons-material/Notifications'; import Tab from '@mui/material/Tab'; import Tabs from '@mui/material/Tabs'; import Toolbar from '@mui/material/Toolbar'; import Tooltip from '@mui/material/Tooltip'; import Typography from '@mui/material/Typography'; const lightColor = 'rgba(255, 255, 255, 0.7)'; function Header(props) { const { onDrawerToggle } = props; return ( <React.Fragment> <AppBar color="primary" position="sticky" elevation={0}> <Toolbar> <Grid container spacing={1} alignItems="center"> <Grid sx={{ display: { sm: 'none', xs: 'block' } }} item> <IconButton color="inherit" aria-label="open drawer" onClick={onDrawerToggle} edge="start" > <MenuIcon /> </IconButton> </Grid> <Grid item xs /> <Grid item> <Link href="/" variant="body2" sx={{ textDecoration: 'none', color: lightColor, '&:hover': { color: 'common.white', }, }} rel="noopener noreferrer" target="_blank" > Go to docs </Link> </Grid> <Grid item> <Tooltip title="Alerts • No alerts"> <IconButton color="inherit"> <NotificationsIcon /> </IconButton> </Tooltip> </Grid> <Grid item> <IconButton color="inherit" sx={{ p: 0.5 }}> <Avatar src="/static/images/avatar/1.jpg" alt="My Avatar" /> </IconButton> </Grid> </Grid> </Toolbar> </AppBar> <AppBar component="div" color="primary" position="static" elevation={0} sx={{ zIndex: 0 }} > <Toolbar> <Grid container alignItems="center" spacing={1}> <Grid item xs> <Typography color="inherit" variant="h5" component="h1"> Authentication </Typography> </Grid> <Grid item> <Button sx={{ borderColor: lightColor }} variant="outlined" color="inherit" size="small" > Web setup </Button> </Grid> <Grid item> <Tooltip title="Help"> <IconButton color="inherit"> <HelpIcon /> </IconButton> </Tooltip> </Grid> </Grid> </Toolbar> </AppBar> <AppBar component="div" position="static" elevation={0} sx={{ zIndex: 0 }}> <Tabs value={0} textColor="inherit"> <Tab label="Users" /> <Tab label="Sign-in method" /> <Tab label="Templates" /> <Tab label="Usage" /> </Tabs> </AppBar> </React.Fragment> ); } Header.propTypes = { onDrawerToggle: PropTypes.func.isRequired, }; export default Header;
5,445
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/paperbase/Header.tsx
import * as React from 'react'; import AppBar from '@mui/material/AppBar'; import Avatar from '@mui/material/Avatar'; import Button from '@mui/material/Button'; import Grid from '@mui/material/Grid'; import HelpIcon from '@mui/icons-material/Help'; import IconButton from '@mui/material/IconButton'; import Link from '@mui/material/Link'; import MenuIcon from '@mui/icons-material/Menu'; import NotificationsIcon from '@mui/icons-material/Notifications'; import Tab from '@mui/material/Tab'; import Tabs from '@mui/material/Tabs'; import Toolbar from '@mui/material/Toolbar'; import Tooltip from '@mui/material/Tooltip'; import Typography from '@mui/material/Typography'; const lightColor = 'rgba(255, 255, 255, 0.7)'; interface HeaderProps { onDrawerToggle: () => void; } export default function Header(props: HeaderProps) { const { onDrawerToggle } = props; return ( <React.Fragment> <AppBar color="primary" position="sticky" elevation={0}> <Toolbar> <Grid container spacing={1} alignItems="center"> <Grid sx={{ display: { sm: 'none', xs: 'block' } }} item> <IconButton color="inherit" aria-label="open drawer" onClick={onDrawerToggle} edge="start" > <MenuIcon /> </IconButton> </Grid> <Grid item xs /> <Grid item> <Link href="/" variant="body2" sx={{ textDecoration: 'none', color: lightColor, '&:hover': { color: 'common.white', }, }} rel="noopener noreferrer" target="_blank" > Go to docs </Link> </Grid> <Grid item> <Tooltip title="Alerts • No alerts"> <IconButton color="inherit"> <NotificationsIcon /> </IconButton> </Tooltip> </Grid> <Grid item> <IconButton color="inherit" sx={{ p: 0.5 }}> <Avatar src="/static/images/avatar/1.jpg" alt="My Avatar" /> </IconButton> </Grid> </Grid> </Toolbar> </AppBar> <AppBar component="div" color="primary" position="static" elevation={0} sx={{ zIndex: 0 }} > <Toolbar> <Grid container alignItems="center" spacing={1}> <Grid item xs> <Typography color="inherit" variant="h5" component="h1"> Authentication </Typography> </Grid> <Grid item> <Button sx={{ borderColor: lightColor }} variant="outlined" color="inherit" size="small" > Web setup </Button> </Grid> <Grid item> <Tooltip title="Help"> <IconButton color="inherit"> <HelpIcon /> </IconButton> </Tooltip> </Grid> </Grid> </Toolbar> </AppBar> <AppBar component="div" position="static" elevation={0} sx={{ zIndex: 0 }}> <Tabs value={0} textColor="inherit"> <Tab label="Users" /> <Tab label="Sign-in method" /> <Tab label="Templates" /> <Tab label="Usage" /> </Tabs> </AppBar> </React.Fragment> ); }
5,446
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/paperbase/Navigator.js
import * as React from 'react'; import Divider from '@mui/material/Divider'; import Drawer from '@mui/material/Drawer'; import List from '@mui/material/List'; import Box from '@mui/material/Box'; import ListItem from '@mui/material/ListItem'; import ListItemButton from '@mui/material/ListItemButton'; import ListItemIcon from '@mui/material/ListItemIcon'; import ListItemText from '@mui/material/ListItemText'; import HomeIcon from '@mui/icons-material/Home'; import PeopleIcon from '@mui/icons-material/People'; import DnsRoundedIcon from '@mui/icons-material/DnsRounded'; import PermMediaOutlinedIcon from '@mui/icons-material/PhotoSizeSelectActual'; import PublicIcon from '@mui/icons-material/Public'; import SettingsEthernetIcon from '@mui/icons-material/SettingsEthernet'; import SettingsInputComponentIcon from '@mui/icons-material/SettingsInputComponent'; import TimerIcon from '@mui/icons-material/Timer'; import SettingsIcon from '@mui/icons-material/Settings'; import PhonelinkSetupIcon from '@mui/icons-material/PhonelinkSetup'; const categories = [ { id: 'Build', children: [ { id: 'Authentication', icon: <PeopleIcon />, active: true, }, { id: 'Database', icon: <DnsRoundedIcon /> }, { id: 'Storage', icon: <PermMediaOutlinedIcon /> }, { id: 'Hosting', icon: <PublicIcon /> }, { id: 'Functions', icon: <SettingsEthernetIcon /> }, { id: 'Machine learning', icon: <SettingsInputComponentIcon />, }, ], }, { id: 'Quality', children: [ { id: 'Analytics', icon: <SettingsIcon /> }, { id: 'Performance', icon: <TimerIcon /> }, { id: 'Test Lab', icon: <PhonelinkSetupIcon /> }, ], }, ]; const item = { py: '2px', px: 3, color: 'rgba(255, 255, 255, 0.7)', '&:hover, &:focus': { bgcolor: 'rgba(255, 255, 255, 0.08)', }, }; const itemCategory = { boxShadow: '0 -1px 0 rgb(255,255,255,0.1) inset', py: 1.5, px: 3, }; export default function Navigator(props) { const { ...other } = props; return ( <Drawer variant="permanent" {...other}> <List disablePadding> <ListItem sx={{ ...item, ...itemCategory, fontSize: 22, color: '#fff' }}> Paperbase </ListItem> <ListItem sx={{ ...item, ...itemCategory }}> <ListItemIcon> <HomeIcon /> </ListItemIcon> <ListItemText>Project Overview</ListItemText> </ListItem> {categories.map(({ id, children }) => ( <Box key={id} sx={{ bgcolor: '#101F33' }}> <ListItem sx={{ py: 2, px: 3 }}> <ListItemText sx={{ color: '#fff' }}>{id}</ListItemText> </ListItem> {children.map(({ id: childId, icon, active }) => ( <ListItem disablePadding key={childId}> <ListItemButton selected={active} sx={item}> <ListItemIcon>{icon}</ListItemIcon> <ListItemText>{childId}</ListItemText> </ListItemButton> </ListItem> ))} <Divider sx={{ mt: 2 }} /> </Box> ))} </List> </Drawer> ); }
5,447
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/paperbase/Navigator.tsx
import * as React from 'react'; import Divider from '@mui/material/Divider'; import Drawer, { DrawerProps } from '@mui/material/Drawer'; import List from '@mui/material/List'; import Box from '@mui/material/Box'; import ListItem from '@mui/material/ListItem'; import ListItemButton from '@mui/material/ListItemButton'; import ListItemIcon from '@mui/material/ListItemIcon'; import ListItemText from '@mui/material/ListItemText'; import HomeIcon from '@mui/icons-material/Home'; import PeopleIcon from '@mui/icons-material/People'; import DnsRoundedIcon from '@mui/icons-material/DnsRounded'; import PermMediaOutlinedIcon from '@mui/icons-material/PhotoSizeSelectActual'; import PublicIcon from '@mui/icons-material/Public'; import SettingsEthernetIcon from '@mui/icons-material/SettingsEthernet'; import SettingsInputComponentIcon from '@mui/icons-material/SettingsInputComponent'; import TimerIcon from '@mui/icons-material/Timer'; import SettingsIcon from '@mui/icons-material/Settings'; import PhonelinkSetupIcon from '@mui/icons-material/PhonelinkSetup'; const categories = [ { id: 'Build', children: [ { id: 'Authentication', icon: <PeopleIcon />, active: true, }, { id: 'Database', icon: <DnsRoundedIcon /> }, { id: 'Storage', icon: <PermMediaOutlinedIcon /> }, { id: 'Hosting', icon: <PublicIcon /> }, { id: 'Functions', icon: <SettingsEthernetIcon /> }, { id: 'Machine learning', icon: <SettingsInputComponentIcon />, }, ], }, { id: 'Quality', children: [ { id: 'Analytics', icon: <SettingsIcon /> }, { id: 'Performance', icon: <TimerIcon /> }, { id: 'Test Lab', icon: <PhonelinkSetupIcon /> }, ], }, ]; const item = { py: '2px', px: 3, color: 'rgba(255, 255, 255, 0.7)', '&:hover, &:focus': { bgcolor: 'rgba(255, 255, 255, 0.08)', }, }; const itemCategory = { boxShadow: '0 -1px 0 rgb(255,255,255,0.1) inset', py: 1.5, px: 3, }; export default function Navigator(props: DrawerProps) { const { ...other } = props; return ( <Drawer variant="permanent" {...other}> <List disablePadding> <ListItem sx={{ ...item, ...itemCategory, fontSize: 22, color: '#fff' }}> Paperbase </ListItem> <ListItem sx={{ ...item, ...itemCategory }}> <ListItemIcon> <HomeIcon /> </ListItemIcon> <ListItemText>Project Overview</ListItemText> </ListItem> {categories.map(({ id, children }) => ( <Box key={id} sx={{ bgcolor: '#101F33' }}> <ListItem sx={{ py: 2, px: 3 }}> <ListItemText sx={{ color: '#fff' }}>{id}</ListItemText> </ListItem> {children.map(({ id: childId, icon, active }) => ( <ListItem disablePadding key={childId}> <ListItemButton selected={active} sx={item}> <ListItemIcon>{icon}</ListItemIcon> <ListItemText>{childId}</ListItemText> </ListItemButton> </ListItem> ))} <Divider sx={{ mt: 2 }} /> </Box> ))} </List> </Drawer> ); }
5,448
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/paperbase/Paperbase.js
import * as React from 'react'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import useMediaQuery from '@mui/material/useMediaQuery'; import CssBaseline from '@mui/material/CssBaseline'; import Box from '@mui/material/Box'; import Typography from '@mui/material/Typography'; import Link from '@mui/material/Link'; import Navigator from './Navigator'; import Content from './Content'; import Header from './Header'; function Copyright() { return ( <Typography variant="body2" color="text.secondary" align="center"> {'Copyright © '} <Link color="inherit" href="https://mui.com/"> Your Website </Link>{' '} {new Date().getFullYear()}. </Typography> ); } let theme = createTheme({ palette: { primary: { light: '#63ccff', main: '#009be5', dark: '#006db3', }, }, typography: { h5: { fontWeight: 500, fontSize: 26, letterSpacing: 0.5, }, }, shape: { borderRadius: 8, }, components: { MuiTab: { defaultProps: { disableRipple: true, }, }, }, mixins: { toolbar: { minHeight: 48, }, }, }); theme = { ...theme, components: { MuiDrawer: { styleOverrides: { paper: { backgroundColor: '#081627', }, }, }, MuiButton: { styleOverrides: { root: { textTransform: 'none', }, contained: { boxShadow: 'none', '&:active': { boxShadow: 'none', }, }, }, }, MuiTabs: { styleOverrides: { root: { marginLeft: theme.spacing(1), }, indicator: { height: 3, borderTopLeftRadius: 3, borderTopRightRadius: 3, backgroundColor: theme.palette.common.white, }, }, }, MuiTab: { styleOverrides: { root: { textTransform: 'none', margin: '0 16px', minWidth: 0, padding: 0, [theme.breakpoints.up('md')]: { padding: 0, minWidth: 0, }, }, }, }, MuiIconButton: { styleOverrides: { root: { padding: theme.spacing(1), }, }, }, MuiTooltip: { styleOverrides: { tooltip: { borderRadius: 4, }, }, }, MuiDivider: { styleOverrides: { root: { backgroundColor: 'rgb(255,255,255,0.15)', }, }, }, MuiListItemButton: { styleOverrides: { root: { '&.Mui-selected': { color: '#4fc3f7', }, }, }, }, MuiListItemText: { styleOverrides: { primary: { fontSize: 14, fontWeight: theme.typography.fontWeightMedium, }, }, }, MuiListItemIcon: { styleOverrides: { root: { color: 'inherit', minWidth: 'auto', marginRight: theme.spacing(2), '& svg': { fontSize: 20, }, }, }, }, MuiAvatar: { styleOverrides: { root: { width: 32, height: 32, }, }, }, }, }; const drawerWidth = 256; export default function Paperbase() { const [mobileOpen, setMobileOpen] = React.useState(false); const isSmUp = useMediaQuery(theme.breakpoints.up('sm')); const handleDrawerToggle = () => { setMobileOpen(!mobileOpen); }; return ( <ThemeProvider theme={theme}> <Box sx={{ display: 'flex', minHeight: '100vh' }}> <CssBaseline /> <Box component="nav" sx={{ width: { sm: drawerWidth }, flexShrink: { sm: 0 } }} > {isSmUp ? null : ( <Navigator PaperProps={{ style: { width: drawerWidth } }} variant="temporary" open={mobileOpen} onClose={handleDrawerToggle} /> )} <Navigator PaperProps={{ style: { width: drawerWidth } }} sx={{ display: { sm: 'block', xs: 'none' } }} /> </Box> <Box sx={{ flex: 1, display: 'flex', flexDirection: 'column' }}> <Header onDrawerToggle={handleDrawerToggle} /> <Box component="main" sx={{ flex: 1, py: 6, px: 4, bgcolor: '#eaeff1' }}> <Content /> </Box> <Box component="footer" sx={{ p: 2, bgcolor: '#eaeff1' }}> <Copyright /> </Box> </Box> </Box> </ThemeProvider> ); }
5,449
0
petrpan-code/mui/material-ui/docs/src/pages/premium-themes
petrpan-code/mui/material-ui/docs/src/pages/premium-themes/paperbase/Paperbase.tsx
import * as React from 'react'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import useMediaQuery from '@mui/material/useMediaQuery'; import CssBaseline from '@mui/material/CssBaseline'; import Box from '@mui/material/Box'; import Typography from '@mui/material/Typography'; import Link from '@mui/material/Link'; import Navigator from './Navigator'; import Content from './Content'; import Header from './Header'; function Copyright() { return ( <Typography variant="body2" color="text.secondary" align="center"> {'Copyright © '} <Link color="inherit" href="https://mui.com/"> Your Website </Link>{' '} {new Date().getFullYear()}. </Typography> ); } let theme = createTheme({ palette: { primary: { light: '#63ccff', main: '#009be5', dark: '#006db3', }, }, typography: { h5: { fontWeight: 500, fontSize: 26, letterSpacing: 0.5, }, }, shape: { borderRadius: 8, }, components: { MuiTab: { defaultProps: { disableRipple: true, }, }, }, mixins: { toolbar: { minHeight: 48, }, }, }); theme = { ...theme, components: { MuiDrawer: { styleOverrides: { paper: { backgroundColor: '#081627', }, }, }, MuiButton: { styleOverrides: { root: { textTransform: 'none', }, contained: { boxShadow: 'none', '&:active': { boxShadow: 'none', }, }, }, }, MuiTabs: { styleOverrides: { root: { marginLeft: theme.spacing(1), }, indicator: { height: 3, borderTopLeftRadius: 3, borderTopRightRadius: 3, backgroundColor: theme.palette.common.white, }, }, }, MuiTab: { styleOverrides: { root: { textTransform: 'none', margin: '0 16px', minWidth: 0, padding: 0, [theme.breakpoints.up('md')]: { padding: 0, minWidth: 0, }, }, }, }, MuiIconButton: { styleOverrides: { root: { padding: theme.spacing(1), }, }, }, MuiTooltip: { styleOverrides: { tooltip: { borderRadius: 4, }, }, }, MuiDivider: { styleOverrides: { root: { backgroundColor: 'rgb(255,255,255,0.15)', }, }, }, MuiListItemButton: { styleOverrides: { root: { '&.Mui-selected': { color: '#4fc3f7', }, }, }, }, MuiListItemText: { styleOverrides: { primary: { fontSize: 14, fontWeight: theme.typography.fontWeightMedium, }, }, }, MuiListItemIcon: { styleOverrides: { root: { color: 'inherit', minWidth: 'auto', marginRight: theme.spacing(2), '& svg': { fontSize: 20, }, }, }, }, MuiAvatar: { styleOverrides: { root: { width: 32, height: 32, }, }, }, }, }; const drawerWidth = 256; export default function Paperbase() { const [mobileOpen, setMobileOpen] = React.useState(false); const isSmUp = useMediaQuery(theme.breakpoints.up('sm')); const handleDrawerToggle = () => { setMobileOpen(!mobileOpen); }; return ( <ThemeProvider theme={theme}> <Box sx={{ display: 'flex', minHeight: '100vh' }}> <CssBaseline /> <Box component="nav" sx={{ width: { sm: drawerWidth }, flexShrink: { sm: 0 } }} > {isSmUp ? null : ( <Navigator PaperProps={{ style: { width: drawerWidth } }} variant="temporary" open={mobileOpen} onClose={handleDrawerToggle} /> )} <Navigator PaperProps={{ style: { width: drawerWidth } }} sx={{ display: { sm: 'block', xs: 'none' } }} /> </Box> <Box sx={{ flex: 1, display: 'flex', flexDirection: 'column' }}> <Header onDrawerToggle={handleDrawerToggle} /> <Box component="main" sx={{ flex: 1, py: 6, px: 4, bgcolor: '#eaeff1' }}> <Content /> </Box> <Box component="footer" sx={{ p: 2, bgcolor: '#eaeff1' }}> <Copyright /> </Box> </Box> </Box> </ThemeProvider> ); }
5,450
0
petrpan-code/mui/material-ui/docs/src/pages
petrpan-code/mui/material-ui/docs/src/pages/production-error/ErrorDecoder.js
import * as React from 'react'; import { useRouter } from 'next/router'; import Link from '@mui/material/Link'; import Typography from '@mui/material/Typography'; import { styled } from '@mui/material/styles'; import { renderMarkdown } from '@mui/markdown'; import MarkdownElement from 'docs/src/modules/components/MarkdownElement'; const ErrorMessageSection = styled('div')({ // reset display: block from Demo display: 'block', }); const ErrorMessageMarkdown = styled(MarkdownElement)(({ theme }) => ({ boxShadow: theme.shadows['2'], color: theme.palette.error.main, padding: theme.spacing(1, 2), })); export default function ErrorDecoder() { const { query: { code, ...query }, } = useRouter(); const queryArgs = query['args[]']; const args = React.useMemo( () => (Array.isArray(queryArgs) ? queryArgs : [queryArgs]), [queryArgs], ); const [data, dispatch] = React.useReducer( (previousState, action) => { switch (action.type) { case 'rejected': return { errorCodes: null, state: 'rejected' }; case 'resolved': return { errorCodes: action.payload, state: 'resolved', }; default: throw new Error(`We made a mistake passing an unknown action.`); } }, { errorCodes: null, state: 'loading' }, ); React.useEffect(() => { let cancelled = false; fetch('/static/error-codes.json') .then((response) => { return response.json(); }) .then((json) => { if (cancelled === false) { dispatch({ type: 'resolved', payload: json }); } }) .catch(() => { dispatch({ type: 'rejected' }); }); return () => { cancelled = true; }; }, []); const errorMessage = React.useMemo(() => { const rawMessage = data.errorCodes?.[code]; if (rawMessage === undefined) { return undefined; } let replacementIndex = -1; const readableMessage = rawMessage.replace(/%s/g, () => { replacementIndex += 1; const dangerousArgument = args[replacementIndex]; if (dangerousArgument === undefined) { return '[missing argument]'; } // String will be injected into innerHTML. // We need to escape first // https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML#Security_considerations const div = document.createElement('div'); div.innerText = dangerousArgument; return div.innerHTML; }); return renderMarkdown(readableMessage); }, [args, code, data.errorCodes]); if (data.state === 'loading') { return <Typography>Loading error codes</Typography>; } if (data.state === 'rejected') { return ( <Typography color="error"> Seems like we&apos;re having some issues loading the original message. Try reloading the page. If the error persists please report this issue on our{' '} <Link href="https://github.com/mui/material-ui/issues/new?template=1.bug.md" target="_blank" > issue tracker </Link> . </Typography> ); } if (errorMessage === undefined) { return ( <Typography> When you encounter an error, you&apos;ll receive a link to this page for that specific error and we&apos;ll show you the full error text. </Typography> ); } return ( <ErrorMessageSection> <p>The original text of the error you encountered:</p> <ErrorMessageMarkdown renderedMarkdown={errorMessage} /> </ErrorMessageSection> ); }
5,451
0
petrpan-code/mui/material-ui/docs/src/pages
petrpan-code/mui/material-ui/docs/src/pages/production-error/index.md
# Production error <p class="description">In the production build of MUI error messages are minified to reduce the size of your application.</p> We recommend using the development build when debugging this error. It will include additional warnings about potential problems. If you encounter an exception while using the production build, this page will reassemble the original text of the error. {{"demo": "pages/production-error/ErrorDecoder.js", "hideToolbar": true, "bg": "inline"}}
5,452
0
petrpan-code/mui/material-ui/docs/src/pages
petrpan-code/mui/material-ui/docs/src/pages/versions/LatestVersions.js
import * as React from 'react'; import Box from '@mui/material/Box'; import Table from '@mui/material/Table'; import TableBody from '@mui/material/TableBody'; import TableCell from '@mui/material/TableCell'; import TableRow from '@mui/material/TableRow'; import Typography from '@mui/material/Typography'; import Link from 'docs/src/modules/components/Link'; function LatestVersions() { return ( <Box sx={{ width: '100%' }}> <Table> <TableBody> <TableRow> <TableCell> <Typography variant="body2">master branch</Typography> </TableCell> <TableCell> <Link variant="body2" rel="nofollow" href="https://material-ui.netlify.app/" > Documentation </Link> </TableCell> <TableCell> <Link variant="body2" href="https://github.com/mui/material-ui/tree/master" > Source code </Link> </TableCell> </TableRow> <TableRow> <TableCell> <Typography variant="body2">next branch</Typography> </TableCell> <TableCell> <Link variant="body2" rel="nofollow" href="https://next--material-ui.netlify.app/" > Documentation </Link> </TableCell> <TableCell> <Link variant="body2" href="https://github.com/mui/material-ui/tree/next" > Source code </Link> </TableCell> </TableRow> </TableBody> </Table> </Box> ); } export default LatestVersions;
5,453
0
petrpan-code/mui/material-ui/docs/src/pages
petrpan-code/mui/material-ui/docs/src/pages/versions/ReleasedVersions.js
import * as React from 'react'; import Box from '@mui/material/Box'; import Table from '@mui/material/Table'; import TableBody from '@mui/material/TableBody'; import TableCell from '@mui/material/TableCell'; import TableRow from '@mui/material/TableRow'; import Typography from '@mui/material/Typography'; import Link from 'docs/src/modules/components/Link'; import VersionsContext from './VersionsContext'; const GITHUB_RELEASE_BASE_URL = 'https://github.com/mui/material-ui/releases/tag/'; function ReleasedVersions() { const versions = React.useContext(VersionsContext); return ( <Box sx={{ minHeight: 33 * 11, overflow: 'auto', width: '100%' }}> <Table> <TableBody> {versions.map((doc) => ( <TableRow key={doc.version}> <TableCell> <Typography variant="body2"> {doc.version} {doc.version === `v${process.env.LIB_VERSION}` ? ' ✓' : ''} </Typography> </TableCell> <TableCell> <Link variant="body2" rel="nofollow" href={doc.url}> Documentation </Link> </TableCell> <TableCell> {doc.version.length >= 6 && doc.version.indexOf('pre-release') === -1 ? ( <Link variant="body2" rel="nofollow" href={`${GITHUB_RELEASE_BASE_URL}${doc.version}`} > Release notes </Link> ) : null} </TableCell> </TableRow> ))} </TableBody> </Table> </Box> ); } export default ReleasedVersions;
5,454
0
petrpan-code/mui/material-ui/docs/src/pages
petrpan-code/mui/material-ui/docs/src/pages/versions/VersionsContext.js
import * as React from 'react'; /** * @typedef {Array<{ version: string; url: string }>} VersionsContextValue */ /** * @type {React.Context<VersionsContextValue} */ const VersionsContext = React.createContext(null); if (process.env.NODE_ENV !== 'production') { VersionsContext.displayName = 'VersionsContext'; } export default VersionsContext;
5,455
0
petrpan-code/mui/material-ui/docs/src/pages
petrpan-code/mui/material-ui/docs/src/pages/versions/versions.md
# MUI Versions <p class="description">You can come back to this page and switch the version of the docs you're reading at any time.</p> ## Released versions The most recent stable version (✓) is recommended for use in production. {{"demo": "pages/versions/ReleasedVersions.js", "hideToolbar": true, "bg": "inline"}} ## Latest versions Here you can find the latest unreleased documentation and code. You can use it to see what changes are coming and provide better feedback to MUI contributors. {{"demo": "pages/versions/LatestVersions.js", "hideToolbar": true, "bg": "inline"}} ## Versioning strategy Stability ensures that reusable components and libraries, tutorials, tools, and learned practices don't become obsolete unexpectedly. Stability is essential for the ecosystem around MUI to thrive. This document contains the practices that are followed to provide you with a leading-edge UI library, balanced with stability, ensuring that future changes are always introduced predictably. MUI follows [Semantic Versioning 2.0.0](https://semver.org/). MUI version numbers have three parts: `major.minor.patch`. The version number is incremented based on the level of change included in the release. - **Major releases** contain significant new features, some developer assistance is expected during the update. These releases include [breaking changes](#what-doesnt-count-as-a-breaking-change). When updating to a new major release, you may need to run update scripts, refactor code, run additional tests, and learn new APIs. - **Minor releases** contain important new features. Minor releases are fully backward-compatible; no developer assistance is expected during the update, but you can optionally modify your apps and libraries to begin using new APIs, features, and capabilities that were added in the release. - **Patch releases** are low risk, contain bug fixes and small new features. No developer assistance is expected during the update. ## What doesn't count as a breaking change? We call "breaking changes" those that require updating your codebase when upgrading to a new version, with the exception of: - **APIs starting with "unstable\_"**. These are provided as experimental features whose APIs we are not yet confident in. By releasing these with an `unstable_` prefix, we can iterate faster and get to a stable API sooner, or simply learn that we don't need the API/feature in the first place. - **APIs documented as experimental**. Same as the above. - **Undocumented APIs and internal data structures**. If you access internal properties, there is no warranty. You are on your own. - **Development warnings**. Since these don't affect production behavior, we may add new warnings or modify existing warnings in between major versions. In fact, this is what allows us to reliably warn about upcoming breaking changes. - **Pre-releases versions**. We provide pre-release versions as a way to test new features early, but we need the flexibility to make changes based on what we learn in the pre-release period. If you use these versions, note that APIs may change before the stable release. - **Small CSS changes**. Visual design changes that have a very low probability of negatively impacting your UI are not considered breaking. ## Release frequency A regular schedule of releases helps you plan and coordinate your updates with the continuing evolution of MUI. In general, you can expect the following release cycle: - A **major** release every 12 months. - 1-3 **minor** releases for each major release. - A **patch** release every week (anytime for an urgent bug fix). ## Release schedule | Date | Version | Status | | :------------- | :------ | :--------------- | | TBA | v6.0.0 | Work not started | | September 2021 | v5.0.0 | Released | | May 2019 | v4.0.0 | Released | | September 2018 | v3.0.0 | Released | | May 2018 | v1.0.0 | Released | You can follow the [milestones](https://github.com/mui/material-ui/milestones) for a more detailed overview. :::warning **Disclaimer**: We operate in a dynamic environment, and things are subject to change. The information provided is intended to outline the general framework direction, for informational purposes only. We may decide to add or remove new items at any time, depending on our capability to deliver while meeting our quality standards. The development, releases, and timing of any features or functionality remain at the sole discretion of MUI. The roadmap does not represent a commitment, obligation, or promise to deliver at any time. ::: ## Supported versions MUI Core has been open-source ([MIT](https://tldrlegal.com/license/mit-license)) since the very beginning, and always will be. Developers can ensure MUI is the right choice for their React applications through MUI's community maintenance strategy. The MUI team regularly ships new releases, bug fixes, and is very welcoming to community pull requests. Given the reality of time and resource constraints, as well as the desire to keep innovating, over time it becomes necessary to shift focus to newer versions of the framework ([our release schedule](#release-frequency)), while making the transition to newer versions as smooth as possible, including publishing migration guides such as [this one for v5](/material-ui/migration/migration-v4/). The open-source community is always welcome to submit new features and bug fixes as well. The current status of each MUI version is as follows: - MUI Core v5: ✅ Active development and continuous support. - [Material UI v4](https://v4.mui.com/): ⚠️ Guaranteed Support for security issues and regressions. - [Material UI v3](https://v3.mui.com/): 🅧 No longer supported. - Material UI v2: 🅧 Never existed. - [Material UI v1](https://v1.mui.com/): 🅧 No longer supported. - [Material UI v0.x](https://v0.mui.com/#/): 🅧 No longer supported. For teams and organizations that require additional support for older versions, MUI has [options available](/material-ui/getting-started/support/#paid-support). ### Long-term support (LTS) MUI will continue to provide security updates and support for regressions for one version prior to the current major version, for example regressions caused by external factors such as browser updates, or changes to upstream dependencies. ## Deprecation practices Sometimes "breaking changes", such as the removal of support for select APIs and features, are necessary. To make these transitions as easy as possible: - The number of breaking changes is minimized, and migration tools are provided when possible (e.g. codemods). - The deprecation policy described below is followed so that you have time to update your apps to the latest APIs and best practices. ### Deprecation policy - Deprecated features are announced in the changelog, and when possible, with warnings at runtime. - When a deprecation is announced, recommended update path is provided. - Existing use of a stable API during the deprecation period is supported, so your code will keep working during that period.
5,456
0
petrpan-code/mui/material-ui/docs
petrpan-code/mui/material-ui/docs/translations/translations.json
{ "adblock": "If you don't mind tech-related ads (no tracking or remarketing), and want to keep us running, please whitelist MUI in your blocker.", "api-docs": { "componentName": "Component name", "componentsApi": "Components API", "themeDefaultProps": "Theme default props", "themeDefaultPropsDescription": "You can use <code>{{muiName}}</code> to change the default props of this component <a href={{defaultPropsLink}}>with the theme</a>.", "classes": "CSS classes", "classesDescription": "These class names are useful for styling with CSS. They are applied to the root slot when specific states are triggered.", "cssDescription": "The following class names are useful for styling with CSS (the <a href=\"/material-ui/customization/how-to-customize/#state-classes\">state classes</a> are marked). <br /> To learn more, visit the <a href=\"/material-ui/customization/theme-components/\">component customization</a> page.", "css": "CSS", "cssComponent": "As a CSS utility, the {{name}} component also supports all <a href=\"/system/properties/\"><code>system</code></a> properties. You can use them as props directly on the component.", "default": "Default", "defaultValue": "Default value", "defaultHTMLTag": "Default HTML tag", "demos": "Component demos", "deprecated": "Deprecated", "description": "Description", "globalClass": "Global class", "defaultClass": "Default class", "hookName": "Hook name", "hooksApi": "Hooks API", "hooksNoParameters": "This hook does not accept any input parameters.", "hooksPageDescription": "API reference docs for the {{name}} hook. Learn about the input parameters and other APIs of this exported module.", "import": "Import", "importDifference": "Learn about the difference by <a href=\"/material-ui/guides/minimizing-bundle-size/\">reading this guide on minimizing bundle size</a>.", "inheritance": "Inheritance", "inheritanceDescription": "While not explicitly documented above, the props of the <a href=\"{{pathname}}\">{{component}}</a> component{{suffix}} are also available in {{name}}. You can take advantage of this to <a href=\"/material-ui/guides/api/#spread\">target nested components</a>.", "inheritanceSuffixTransition": " from react-transition-group", "name": "Name", "nativeElement": "native", "overrideStyles": "You can override the style of the component using one of these customization options:\n", "overrideStylesStyledComponent": "<ul>\n<li>With a <a href=\"/material-ui/guides/interoperability/#global-css\">global class name</a>.</li>\n<li>With a rule name as part of the component's <a href=\"{{styleOverridesLink}}\"><code>styleOverrides</code> property</a> in a custom theme.</li>\n</ul>", "pageDescription": "API reference docs for the React {{name}} component. Learn about the props, CSS, and other APIs of this exported module.", "props": "Props", "parameters": "Parameters", "requires-ref": "This <a href=\"/material-ui/guides/composition/#caveat-with-refs\">needs to be able to hold a ref</a>.", "returns": "Returns: ", "returnValue": "Return value", "refNotHeld": "The component cannot hold a ref.", "refRootElement": "The <code>ref</code> is forwarded to the root element.", "ruleName": "Rule name", "signature": "Signature", "slots": "Slots", "spreadHint": "Props of the {{spreadHintElement}} component are also available.", "state": "STATE", "styleOverrides": "The name <code>{{componentStyles.name}}</code> can be used when providing <a href={{defaultPropsLink}}>default props</a> or <a href={{styleOverridesLink}}>style overrides</a> in the theme.", "slotDescription": "To learn how to customize the slot, check out the <a href={{slotGuideLink}}>Overriding component structure</a> guide.", "type": "Type", "additional-info": { "cssApi": "See <a href='#css'>CSS API</a> below for more details.", "sx": "See the <a href='/system/getting-started/the-sx-prop/'>`sx` page</a> for more details.", "slotsApi": "See <a href='#slots'>Slots API</a> below for more details.", "joy-size": "To learn how to add custom sizes to the component, check out <a href='/joy-ui/customization/themed-components/#extend-sizes'>Themed components—Extend sizes</a>.", "joy-color": "To learn how to add your own colors, check out <a href='/joy-ui/customization/themed-components/#extend-colors'>Themed components—Extend colors</a>.", "joy-variant": "To learn how to add your own variants, check out <a href='/joy-ui/customization/themed-components/#extend-variants'>Themed components—Extend variants</a>." } }, "albumDescr": "A responsive album / gallery page layout with a hero unit and footer.", "albumTitle": "Album", "algoliaSearch": "Search", "appFrame": { "changeLanguage": "Change language", "github": "GitHub repository", "helpToTranslate": "Help to translate", "openDrawer": "Open main navigation", "skipToContent": "Skip to content", "toggleSettings": "Toggle settings drawer" }, "backToTop": "Scroll back to top", "blogDescr": "A sophisticated blog page layout. Markdown support is courtesy of markdown-to-jsx.", "blogTitle": "Blog", "bundleSize": "Bundle size", "bundleSizeTooltip": "Scroll down to 'Exports Analysis' for a more detailed report.", "cancel": "Cancel", "cdn": "or use a CDN.", "checkoutDescr": "A step-by-step checkout page layout. Adapt the number of steps to suit your needs, or make steps optional.", "checkoutTitle": "Checkout", "clickToCopy": "Click to copy", "close": "Close", "codesandbox": "Edit in CodeSandbox", "copied": "Copied", "copiedSource": "The source code has been copied to your clipboard.", "copiedSourceLink": "Link to the source code has been copied to your clipboard.", "copySource": "Copy the source", "copySourceLinkJS": "Copy link to JavaScript source", "copySourceLinkTS": "Copy link to TypeScript source", "dashboardDescr": "Contains a taskbar and a mini variant drawer. The chart is courtesy of Recharts.", "dashboardTitle": "Dashboard", "decreaseSpacing": "decrease spacing", "demoToolbarLabel": "demo source", "demoStylingSelectSystem": "MUI System", "demoStylingSelectTailwind": "Tailwind CSS", "demoStylingSelectCSS": "Plain CSS", "diamondSponsors": "Diamond sponsors", "becomeADiamondSponsor": "Become a Diamond sponsor", "diamondSponsorVacancies": "One spot left!", "editorHint": "Press <kbd>Enter</kbd> to start editing", "editPage": "Edit this page", "emojiLove": "Love", "emojiWarning": "Warning", "expandAll": "Expand all", "feedbackCommentLabel": "Comment", "feedbackFailed": "Couldn't submit feedback. Please try again later.", "feedbackMessage": "Was this page helpful?", "feedbackMessageDown": "How can we improve this page? (optional)", "feedbackMessageUp": "What did you like about this page? (optional)", "feedbackSectionSpecific": "How can we improve the <strong>{{sectionName}}</strong> section? (optional)", "feedbackMessageToGitHub": { "usecases": "If something is broken or if you need a reply to a problem you've encountered, please", "reasonWhy": "Otherwise, the team won't be able to answer back or ask for more information.", "callToAction": { "link": "open an issue instead." } }, "feedbackNo": "No", "feedbackSubmitted": "Feedback submitted", "feedbackYes": "Yes", "footerCompany": "Company", "goToHome": "go to homepage", "getProfessionalSupport": "Get Professional Support", "getStarted": "Get Started", "githubLabel": "Feedback", "headTitle": "MUI: A popular React UI framework", "hideFullSource": "Collapse code", "hideSource": "Hide code", "homeQuickWord": "A quick word from our sponsors:", "increaseSpacing": "increase spacing", "initialFocusLabel": "A generic container that is programmatically focused to test keyboard navigation of our components.", "installation": "Installation", "installButton": "Read installation docs", "installDescr": "Install MUI's source files via npm. We take care of injecting the CSS needed.", "joinThese": "Join these and other great organizations!", "JS": "JavaScript", "letUsKnow": "Let us know!", "likeMui": "Help us keep running", "loadFont": "Load the default Roboto font.", "mainNavigation": "documentation", "newest": "Newest", "openDrawer": "Open documentation navigation", "or": "or", "pageTOC": "Page table of contents", "praise": "Praise for MUI", "praiseDescr": "Here's what some of our users are saying.", "pricingDescr": "Quickly build an effective pricing table for your potential customers.", "pricingTitle": "Pricing", "resetDemo": "Reset demo", "resetDensity": "Reset density", "resetFocus": "Reset focus to test keyboard navigation", "searchIcons": { "learnMore": "Learn more about the import" }, "seeMore": "See more", "settings": { "color": "Color", "dark": "Dark", "direction": "Direction", "editWebsiteColors": "Edit website colors", "light": "Light", "ltr": "Left to right", "mode": "Mode", "rtl": "Right to left", "settings": "Settings", "system": "System", "language": "Language" }, "showFullSource": "Expand code", "showJSSource": "Show JavaScript source", "showSource": "Show code", "showTSSource": "Show TypeScript source", "signInDescr": "A simple sign-in page using text fields, buttons, checkboxes, links, and more.", "signInSideDescr": "A simple sign-in page with a two-column layout using text fields, buttons, and more.", "signInSideTitle": "Sign-in side", "signInTitle": "Sign-in", "signUpDescr": "A simple sign-up page using text fields, buttons, checkboxes, links, and more.", "signUpTitle": "Sign-up", "sourceCode": "Source code", "spacingUnit": "Spacing unit", "stackblitz": "Edit in StackBlitz", "stars": "GitHub stars", "stickyFooterDescr": "Attach a footer to the bottom of the viewport when page content is short.", "stickyFooterTitle": "Sticky footer", "strapline": "MUI provides a simple, customizable, and accessible library of React components. Follow your own design system, or start with Material Design.", "submit": "Submit", "tableOfContents": "Contents", "thanks": "Thank you!", "themes": "Premium themes", "themesButton": "Browse themes", "themesDescr": "Take your project to the next level with premium themes from our store – all built on MUI.", "toggleNotifications": "Toggle notifications panel", "toggleRTL": "Toggle right-to-left/left-to-right", "traffic": "Traffic", "TS": "TypeScript", "v5IsOut": "🎉 v5 release candidate is out! Head to the", "v5docsLink": "v5 documentation", "v5startAdoption": "to get started.", "unreadNotifications": "unread notifications", "usage": "Usage", "usageButton": "Explore the docs", "usageDescr": "MUI components work without any additional setup, and don't pollute the global scope.", "useDarkTheme": "Use dark theme", "useHighDensity": "Apply higher density via props", "usingMui": "Are you using MUI?", "viewGitHub": "View the source on GitHub", "visit": "Visit the website", "whosUsing": "Who's using MUI?", "pages": { "/system/getting-started-group": "Getting started", "/system/getting-started": "Overview", "/system/getting-started/installation": "Installation", "/system/getting-started/usage": "Usage", "/system/getting-started/the-sx-prop": "The sx prop", "/system/getting-started/custom-components": "Custom components", "/style-utilities": "Style utilities", "/system/properties": "Properties", "/system/borders": "Borders", "/system/display": "Display", "/system/flexbox": "Flexbox", "/system/grid": "Grid", "/system/palette": "Palette", "/system/positions": "Positions", "/system/shadows": "Shadows", "/system/sizing": "Sizing", "/system/spacing": "Spacing", "/system/screen-readers": "Screen readers", "/system/typography": "Typography", "/system/styled": "styled", "/system/react-": "Components", "/system/react-box": "Box", "/system/react-container": "Container", "/system/react-grid": "Grid", "/system/react-stack": "Stack", "/system/experimental-api": "Experimental APIs", "/system/experimental-api/configure-the-sx-prop": "Configure the sx prop", "/system/experimental-api/css-theme-variables": "CSS Theme Variables", "/system/styles": "Styles", "/system/styles/basics": "Basics", "/system/styles/advanced": "Advanced", "/base-ui/getting-started-group": "Getting started", "/base-ui/getting-started": "Overview", "/base-ui/getting-started/quickstart": "Quickstart", "/base-ui/getting-started/usage": "Usage", "/base-ui/getting-started/customization": "Customization", "/base-ui/getting-started/accessibility": "Accessibility", "/base-ui/react-": "Components", "/base-ui/all-components": "All components", "inputs": "Inputs", "/base-ui/react-autocomplete": "Autocomplete", "/base-ui/react-button": "Button", "/base-ui/react-checkbox": "Checkbox", "/base-ui/react-input": "Input", "/base-ui/react-number-input": "Number Input", "/base-ui/react-radio-button": "Radio Button", "/base-ui/react-rating": "Rating", "/base-ui/react-select": "Select", "/base-ui/react-slider": "Slider", "/base-ui/react-switch": "Switch", "/base-ui/react-toggle-button-group": "Toggle Button Group", "data-display": "Data display", "/base-ui/react-badge": "Badge", "/base-ui/react-tooltip": "Tooltip", "feedback": "Feedback", "/base-ui/react-snackbar": "Snackbar", "surfaces": "Surfaces", "/base-ui/react-accordion": "Accordion", "navigation": "Navigation", "/base-ui/react-drawer": "Drawer", "/base-ui/react-menu": "Menu", "/base-ui/react-pagination": "Pagination", "/base-ui/react-table-pagination": "Table Pagination", "/base-ui/react-tabs": "Tabs", "utils": "Utils", "/base-ui/react-click-away-listener": "Click-Away Listener", "/base-ui/react-focus-trap": "Focus Trap", "/base-ui/react-form-control": "Form Control", "/base-ui/react-modal": "Modal", "/base-ui/react-no-ssr": "No-SSR", "/base-ui/react-popper": "Popper", "/base-ui/react-popup": "Popup", "/base-ui/react-portal": "Portal", "/base-ui/react-textarea-autosize": "Textarea Autosize", "/base-ui/react-badge/components-api/#badge": "Badge", "/base-ui/react-button/components-api/#button": "Button", "/base-ui/react-click-away-listener/components-api/#click-away-listener": "ClickAwayListener", "/base-ui/react-menu/components-api/#dropdown": "Dropdown", "/base-ui/react-focus-trap/components-api/#focus-trap": "FocusTrap", "/base-ui/react-form-control/components-api/#form-control": "FormControl", "/base-ui/react-input/components-api/#input": "Input", "/base-ui/react-menu/components-api/#menu": "Menu", "/base-ui/react-menu/components-api/#menu-button": "MenuButton", "/base-ui/react-menu/components-api/#menu-item": "MenuItem", "/base-ui/react-modal/components-api/#modal": "Modal", "/base-ui/react-no-ssr/components-api/#no-ssr": "NoSsr", "/base-ui/react-number-input/components-api/#number-input": "NumberInput", "/base-ui/react-select/components-api/#option": "Option", "/base-ui/react-select/components-api/#option-group": "OptionGroup", "/base-ui/react-popper/components-api/#popper": "Popper", "/base-ui/react-popup/components-api/#popup": "Popup", "/base-ui/react-portal/components-api/#portal": "Portal", "/base-ui/react-select/components-api/#select": "Select", "/base-ui/react-slider/components-api/#slider": "Slider", "/base-ui/react-snackbar/components-api/#snackbar": "Snackbar", "/base-ui/react-switch/components-api/#switch": "Switch", "/base-ui/react-tabs/components-api/#tab": "Tab", "/base-ui/react-tabs/components-api/#tab-panel": "TabPanel", "/base-ui/react-table-pagination/components-api/#table-pagination": "TablePagination", "/base-ui/react-tabs/components-api/#tabs": "Tabs", "/base-ui/react-tabs/components-api/#tabs-list": "TabsList", "/base-ui/react-textarea-autosize/components-api/#textarea-autosize": "TextareaAutosize", "/base-ui/react-autocomplete/hooks-api/#use-autocomplete": "useAutocomplete", "/base-ui/react-badge/hooks-api/#use-badge": "useBadge", "/base-ui/react-button/hooks-api/#use-button": "useButton", "/base-ui/react-menu/hooks-api/#use-dropdown": "useDropdown", "/base-ui/react-form-control/hooks-api/#use-form-control-context": "useFormControlContext", "/base-ui/react-input/hooks-api/#use-input": "useInput", "/base-ui/react-menu/hooks-api/#use-menu": "useMenu", "/base-ui/react-menu/hooks-api/#use-menu-button": "useMenuButton", "/base-ui/react-menu/hooks-api/#use-menu-item": "useMenuItem", "/base-ui/react-menu/hooks-api/#use-menu-item-context-stabilizer": "useMenuItemContextStabilizer", "/base-ui/react-modal/hooks-api/#use-modal": "useModal", "/base-ui/react-number-input/hooks-api/#use-number-input": "useNumberInput", "/base-ui/react-select/hooks-api/#use-option": "useOption", "/base-ui/react-select/hooks-api/#use-option-context-stabilizer": "useOptionContextStabilizer", "/base-ui/react-select/hooks-api/#use-select": "useSelect", "/base-ui/react-slider/hooks-api/#use-slider": "useSlider", "/base-ui/react-snackbar/hooks-api/#use-snackbar": "useSnackbar", "/base-ui/react-switch/hooks-api/#use-switch": "useSwitch", "/base-ui/react-tabs/hooks-api/#use-tab": "useTab", "/base-ui/react-tabs/hooks-api/#use-tab-panel": "useTabPanel", "/base-ui/react-tabs/hooks-api/#use-tabs": "useTabs", "/base-ui/react-tabs/hooks-api/#use-tabs-list": "useTabsList", "/base-ui/guides": "How-to guides", "/base-ui/guides/working-with-tailwind-css": "Working with Tailwind CSS", "/base-ui/guides/overriding-component-structure": "Overriding component structure", "/base-ui/guides/next-js-app-router": "Next.js App Router", "/material-ui/getting-started-group": "Getting started", "/material-ui/getting-started": "Overview", "/material-ui/getting-started/installation": "Installation", "/material-ui/getting-started/usage": "Usage", "/material-ui/getting-started/example-projects": "Example projects", "/material-ui/getting-started/templates": "Templates", "/material-ui/getting-started/learn": "Learn", "/material-ui/getting-started/design-resources": "Design resources", "/material-ui/getting-started/faq": "FAQs", "/material-ui/getting-started/supported-components": "Supported components", "/material-ui/getting-started/supported-platforms": "Supported platforms", "/material-ui/getting-started/support": "Support", "/material-ui/react-": "Components", "/material-ui/react-autocomplete": "Autocomplete", "/material-ui/react-button": "Button", "/material-ui/react-button-group": "Button Group", "/material-ui/react-checkbox": "Checkbox", "/material-ui/react-floating-action-button": "Floating Action Button", "/material-ui/react-radio-button": "Radio Group", "/material-ui/react-rating": "Rating", "/material-ui/react-select": "Select", "/material-ui/react-slider": "Slider", "/material-ui/react-switch": "Switch", "/material-ui/react-text-field": "Text Field", "/material-ui/react-transfer-list": "Transfer List", "/material-ui/react-toggle-button": "Toggle Button", "/material-ui/react-avatar": "Avatar", "/material-ui/react-badge": "Badge", "/material-ui/react-chip": "Chip", "/material-ui/react-divider": "Divider", "/material-ui/icons": "Icons", "/material-ui/material-icons": "Material Icons", "/material-ui/react-list": "List", "/material-ui/react-table": "Table", "/material-ui/react-tooltip": "Tooltip", "/material-ui/react-typography": "Typography", "/material-ui/react-alert": "Alert", "/material-ui/react-backdrop": "Backdrop", "/material-ui/react-dialog": "Dialog", "/material-ui/react-progress": "Progress", "/material-ui/react-skeleton": "Skeleton", "/material-ui/react-snackbar": "Snackbar", "/material-ui/react-accordion": "Accordion", "/material-ui/react-app-bar": "App Bar", "/material-ui/react-card": "Card", "/material-ui/react-paper": "Paper", "/material-ui/react-bottom-navigation": "Bottom Navigation", "/material-ui/react-breadcrumbs": "Breadcrumbs", "/material-ui/react-drawer": "Drawer", "/material-ui/react-link": "Link", "/material-ui/react-menu": "Menu", "/material-ui/react-pagination": "Pagination", "/material-ui/react-speed-dial": "Speed Dial", "/material-ui/react-stepper": "Stepper", "/material-ui/react-tabs": "Tabs", "layout": "Layout", "/material-ui/react-box": "Box", "/material-ui/react-container": "Container", "/material-ui/react-grid": "Grid", "/material-ui/react-grid2": "Grid v2", "/material-ui/react-stack": "Stack", "/material-ui/react-image-list": "Image List", "/material-ui/react-hidden": "Hidden", "/material-ui/react-click-away-listener": "Click-Away Listener", "/material-ui/react-css-baseline": "CSS Baseline", "/material-ui/react-modal": "Modal", "/material-ui/react-no-ssr": "No SSR", "/material-ui/react-popover": "Popover", "/material-ui/react-popper": "Popper", "/material-ui/react-portal": "Portal", "/material-ui/react-textarea-autosize": "Textarea Autosize", "/material-ui/transitions": "Transitions", "/material-ui/react-use-media-query": "useMediaQuery", "MUI X": "MUI X", "lab": "Lab", "/material-ui/about-the-lab": "About the lab 🧪", "/material-ui/react-masonry": "Masonry", "/material-ui/react-timeline": "Timeline", "/material-ui/customization": "Customization", "/material-ui/customization/theme": "Theme", "/material-ui/customization/theming": "Theming", "/material-ui/customization/palette": "Palette", "/material-ui/customization/dark-mode": "Dark mode", "/material-ui/customization/typography": "Typography", "/material-ui/customization/spacing": "Spacing", "/material-ui/customization/breakpoints": "Breakpoints", "/material-ui/customization/density": "Density", "/material-ui/customization/z-index": "z-index", "/material-ui/customization/transitions": "Transitions", "/material-ui/customization/theme-components": "Components", "/material-ui/customization/default-theme": "Default theme viewer", "/material-ui/customization/how-to-customize": "How to customize", "/material-ui/customization/color": "Color", "/material-ui/guides": "How-to guides", "/material-ui/guides/creating-themed-components": "Creating themed components", "/material-ui/guides/understand-mui-packages": "Understand MUI packages", "/material-ui/guides/typescript": "TypeScript", "/material-ui/guides/interoperability": "Style library interoperability", "/material-ui/guides/styled-components": "Using styled-components", "/material-ui/guides/theme-scoping": "Theme scoping", "/material-ui/guides/minimizing-bundle-size": "Minimizing bundle size", "/material-ui/guides/composition": "Composition", "/material-ui/guides/routing": "Routing", "/material-ui/guides/server-rendering": "Server rendering", "/material-ui/guides/responsive-ui": "Responsive UI", "/material-ui/guides/pickers-migration": "Migration from @material-ui/pickers", "/material-ui/guides/testing": "Testing", "/material-ui/guides/localization": "Localization", "/material-ui/guides/content-security-policy": "Content Security Policy", "/material-ui/guides/right-to-left": "Right-to-left", "/material-ui/guides/shadow-dom": "Shadow DOM", "/material-ui/guides/next-js-app-router": "Next.js App Router", "/material-ui/experimental-api": "Experimental APIs", "/material-ui/experimental-api/classname-generator": "ClassName generator", "CSS theme variables": "CSS theme variables", "/material-ui/experimental-api/css-theme-variables/overview": "Overview", "/material-ui/experimental-api/css-theme-variables/usage": "Usage", "/material-ui/experimental-api/css-theme-variables/customization": "Customization", "/material-ui/experimental-api/css-theme-variables/migration": "Migrating to CSS variables", "/material-ui/discover-more": "Discover more", "/material-ui/discover-more/showcase": "Showcase", "/material-ui/discover-more/related-projects": "Related projects", "/material-ui/discover-more/design-kits": "Design kits", "/material-ui/discover-more/roadmap": "Roadmap", "/material-ui/discover-more/backers": "Sponsors and Backers", "/material-ui/discover-more/vision": "Vision", "/material-ui/discover-more/changelog": "Changelog", "/material-ui/migration": "Migration", "/material-ui/migration/migration-grid-v2": "Migrating to Grid v2", "Upgrade to v5": "Upgrade to v5", "/material-ui/migration/migration-v4": "Migrating to v5: getting started", "/material-ui/migration/v5-style-changes": "Breaking changes: style and theme", "/material-ui/migration/v5-component-changes": "Breaking changes: components", "/material-ui/migration/migrating-from-jss": "Migrating from JSS (optional)", "/material-ui/migration/troubleshooting": "Troubleshooting", "Earlier versions": "Earlier versions", "/material-ui/migration/migration-v3": "Migration from v3 to v4", "/material-ui/migration/migration-v0x": "Migration from v0.x to v1", "https://mui.com/store/?utm_source=docs&utm_medium=referral&utm_campaign=sidenav": "Templates", "/joy-ui/getting-started-group": "Getting started", "/joy-ui/getting-started": "Overview", "/joy-ui/getting-started/installation": "Installation", "/joy-ui/getting-started/usage": "Usage", "/joy-ui/getting-started/tutorial": "Tutorial", "/joy-ui/getting-started/templates": "Templates", "/joy-ui/getting-started/roadmap": "Roadmap", "main-features": "Main features", "/joy-ui/main-features/global-variants": "Global variants", "/joy-ui/main-features/color-inversion": "Color inversion", "/joy-ui/main-features/automatic-adjustment": "Automatic adjustment", "/joy-ui/main-features/dark-mode-optimization": "Dark mode optimization", "/joy-ui/react-": "Components", "/joy-ui/react-autocomplete": "Autocomplete", "/joy-ui/react-button": "Button", "/joy-ui/react-button-group": "Button Group", "/joy-ui/react-checkbox": "Checkbox", "/joy-ui/react-input": "Input", "/joy-ui/react-radio-button": "Radio Button", "/joy-ui/react-select": "Select", "/joy-ui/react-slider": "Slider", "/joy-ui/react-switch": "Switch", "/joy-ui/react-textarea": "Textarea", "/joy-ui/react-text-field": "Text Field", "/joy-ui/react-toggle-button-group": "Toggle Button Group", "/joy-ui/react-aspect-ratio": "Aspect Ratio", "/joy-ui/react-avatar": "Avatar", "/joy-ui/react-badge": "Badge", "/joy-ui/react-chip": "Chip", "/joy-ui/react-divider": "Divider", "/joy-ui/react-list": "List", "/joy-ui/react-table": "Table", "/joy-ui/react-tooltip": "Tooltip", "/joy-ui/react-typography": "Typography", "/joy-ui/react-alert": "Alert", "/joy-ui/react-circular-progress": "Circular Progress", "/joy-ui/react-linear-progress": "Linear Progress", "/joy-ui/react-modal": "Modal", "/joy-ui/react-skeleton": "Skeleton", "/joy-ui/react-snackbar": "Snackbar", "/joy-ui/react-accordion": "Accordion", "/joy-ui/react-card": "Card", "/joy-ui/react-sheet": "Sheet", "/joy-ui/react-breadcrumbs": "Breadcrumbs", "/joy-ui/react-drawer": "Drawer", "/joy-ui/react-link": "Link", "/joy-ui/react-menu": "Menu", "/joy-ui/react-stepper": "Stepper", "/joy-ui/react-tabs": "Tabs", "/joy-ui/react-box": "Box", "/joy-ui/react-grid": "Grid", "/joy-ui/react-stack": "Stack", "/joy-ui/react-css-baseline": "CSS Baseline", "/joy-ui/customization": "Customization", "/joy-ui/customization/approaches": "Approaches", "Theme": "Theme", "/joy-ui/customization/theme-colors": "Colors", "/joy-ui/customization/theme-shadow": "Shadow", "/joy-ui/customization/theme-typography": "Typography", "/joy-ui/customization/themed-components": "Components", "Guides": "Guides", "/joy-ui/customization/dark-mode": "Dark mode", "/joy-ui/customization/using-css-variables": "Using CSS variables", "/joy-ui/customization/creating-themed-components": "Creating themed components", "/joy-ui/customization/overriding-component-structure": "Overriding the component structure", "Tools": "Tools", "/joy-ui/customization/default-theme-viewer": "Default theme viewer", "/joy-ui/customization/theme-builder": "Theme builder", "/joy-ui/integrations": "Integrations", "/joy-ui/integrations/next-js-app-router": "Next.js App Router", "/joy-ui/integrations/material-ui": "Usage with Material UI", "/joy-ui/integrations/icon-libraries": "Using other icon libraries", "/joy-ui/migration": "Migration", "/joy-ui/migration/migrating-default-theme": "Migrating the default theme" } }
5,457
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/badge/badge.json
{ "componentDescription": "", "propDescriptions": { "badgeContent": { "description": "The content rendered within the badge." }, "children": { "description": "The badge will be added relative to this node." }, "invisible": { "description": "If <code>true</code>, the badge is invisible." }, "max": { "description": "Max count to show." }, "showZero": { "description": "Controls whether the badge is hidden when <code>badgeContent</code> is zero." }, "slotProps": { "description": "The props used for each slot inside the Badge." }, "slots": { "description": "The components used for each slot inside the Badge. Either a string to use a HTML element or a component." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "badge": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the badge <code>span</code> element" }, "invisible": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>invisible={true}</code>" } }, "slotDescriptions": { "root": "The component that renders the root.", "badge": "The component that renders the badge." } }
5,458
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/button/button.json
{ "componentDescription": "The foundation for building custom-styled buttons.", "propDescriptions": { "action": { "description": "A ref for imperative actions. It currently only supports <code>focusVisible()</code> action." }, "disabled": { "description": "If <code>true</code>, the component is disabled." }, "focusableWhenDisabled": { "description": "If <code>true</code>, allows a disabled button to receive focus." }, "slotProps": { "description": "The props used for each slot inside the Button." }, "slots": { "description": "The components used for each slot inside the Button. Either a string to use a HTML element or a component." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "active": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>button</code> element", "conditions": "<code>active={true}</code>" }, "disabled": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>button</code> element", "conditions": "<code>disabled={true}</code>" }, "focusVisible": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>button</code> element", "conditions": "<code>focusVisible={true}</code>" } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,459
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/click-away-listener/click-away-listener.json
{ "componentDescription": "Listen for click events that occur somewhere in the document, outside of the element itself.\nFor instance, if you need to hide a menu when people click anywhere else on your page.", "propDescriptions": { "children": { "description": "The wrapped element.", "requiresRef": true }, "disableReactTree": { "description": "If <code>true</code>, the React tree is ignored and only the DOM tree is considered. This prop changes how portaled elements are handled." }, "mouseEvent": { "description": "The mouse event to listen to. You can disable the listener by providing <code>false</code>." }, "onClickAway": { "description": "Callback fired when a &quot;click away&quot; event is detected." }, "touchEvent": { "description": "The touch event to listen to. You can disable the listener by providing <code>false</code>." } }, "classDescriptions": {} }
5,460
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/dropdown-menu/dropdown-menu.json
{ "componentDescription": "", "propDescriptions": { "defaultOpen": "If <code>true</code>, the menu is initially open.", "onOpenChange": "Callback fired when the component requests to be opened or closed.", "open": "Allows to control whether the menu is open. This is a controlled counterpart of <code>defaultOpen</code>." }, "classDescriptions": {} }
5,461
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/dropdown/dropdown.json
{ "componentDescription": "", "propDescriptions": { "defaultOpen": { "description": "If <code>true</code>, the dropdown is initially open." }, "onOpenChange": { "description": "Callback fired when the component requests to be opened or closed." }, "open": { "description": "Allows to control whether the dropdown is open. This is a controlled counterpart of <code>defaultOpen</code>." } }, "classDescriptions": {} }
5,462
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/focus-trap/focus-trap.json
{ "componentDescription": "Utility component that locks focus inside the component.", "propDescriptions": { "children": { "description": "A single child content element.", "requiresRef": true }, "disableAutoFocus": { "description": "If <code>true</code>, the focus trap will not automatically shift focus to itself when it opens, and replace it to the last focused element when it closes. This also works correctly with any focus trap children that have the <code>disableAutoFocus</code> prop.<br>Generally this should never be set to <code>true</code> as it makes the focus trap less accessible to assistive technologies, like screen readers." }, "disableEnforceFocus": { "description": "If <code>true</code>, the focus trap will not prevent focus from leaving the focus trap while open.<br>Generally this should never be set to <code>true</code> as it makes the focus trap less accessible to assistive technologies, like screen readers." }, "disableRestoreFocus": { "description": "If <code>true</code>, the focus trap will not restore focus to previously focused element once focus trap is hidden or unmounted." }, "getTabbable": { "description": "Returns an array of ordered tabbable nodes (i.e. in tab order) within the root. For instance, you can provide the &quot;tabbable&quot; npm dependency." }, "isEnabled": { "description": "This prop extends the <code>open</code> prop. It allows to toggle the open state without having to wait for a rerender when changing the <code>open</code> prop. This prop should be memoized. It can be used to support multiple focus trap mounted at the same time." }, "open": { "description": "If <code>true</code>, focus is locked." } }, "classDescriptions": {} }
5,463
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/form-control/form-control.json
{ "componentDescription": "Provides context such as filled/focused/error/required for form inputs.\nRelying on the context provides high flexibility and ensures that the state always stays\nconsistent across the children of the `FormControl`.\nThis context is used by the following components:\n\n* FormLabel\n* FormHelperText\n* Input\n* InputLabel\n\nYou can find one composition example below and more going to [the demos](https://mui.com/material-ui/react-text-field/#components).\n\n```jsx\n<FormControl>\n <InputLabel htmlFor=\"my-input\">Email address</InputLabel>\n <Input id=\"my-input\" aria-describedby=\"my-helper-text\" />\n <FormHelperText id=\"my-helper-text\">We'll never share your email.</FormHelperText>\n</FormControl>\n```\n\n⚠️ Only one `Input` can be used within a FormControl because it create visual inconsistencies.\nFor instance, only one input can be focused at the same time, the state shouldn't be shared.", "propDescriptions": { "children": { "description": "The content of the component." }, "className": { "description": "Class name applied to the root element." }, "disabled": { "description": "If <code>true</code>, the label, input and helper text should be displayed in a disabled state." }, "error": { "description": "If <code>true</code>, the label is displayed in an error state." }, "onChange": { "description": "Callback fired when the form element&#39;s value is modified." }, "required": { "description": "If <code>true</code>, the label will indicate that the <code>input</code> is required." }, "slotProps": { "description": "The props used for each slot inside the FormControl." }, "slots": { "description": "The components used for each slot inside the FormControl. Either a string to use a HTML element or a component." }, "value": { "description": "The value of the form element." } }, "classDescriptions": { "root": { "description": "Class applied to the root element." }, "disabled": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>disabled={true}</code>" }, "error": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>error={true}</code>" }, "filled": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "the inner input has value" }, "focused": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "the inner input is focused" }, "required": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>required={true}</code>" } } }
5,464
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/input/input.json
{ "componentDescription": "", "propDescriptions": { "autoComplete": { "description": "This prop helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it&#39;s more like an autofill. You can learn more about it <a href=\"https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill\">following the specification</a>." }, "autoFocus": { "description": "If <code>true</code>, the <code>input</code> element is focused during the first mount." }, "className": { "description": "Class name applied to the root element." }, "defaultValue": { "description": "The default value. Use when the component is not controlled." }, "disabled": { "description": "If <code>true</code>, the component is disabled. The prop defaults to the value (<code>false</code>) inherited from the parent FormControl component." }, "endAdornment": { "description": "Trailing adornment for this input." }, "error": { "description": "If <code>true</code>, the <code>input</code> will indicate an error by setting the <code>aria-invalid</code> attribute on the input and the <code>Mui-error</code> class on the root element. The prop defaults to the value (<code>false</code>) inherited from the parent FormControl component." }, "id": { "description": "The id of the <code>input</code> element." }, "maxRows": { "description": "Maximum number of rows to display when multiline option is set to true." }, "minRows": { "description": "Minimum number of rows to display when multiline option is set to true." }, "multiline": { "description": "If <code>true</code>, a <code>textarea</code> element is rendered." }, "name": { "description": "Name attribute of the <code>input</code> element." }, "placeholder": { "description": "The short hint displayed in the <code>input</code> before the user enters a value." }, "readOnly": { "description": "It prevents the user from changing the value of the field (not from interacting with the field)." }, "required": { "description": "If <code>true</code>, the <code>input</code> element is required. The prop defaults to the value (<code>false</code>) inherited from the parent FormControl component." }, "rows": { "description": "Number of rows to display when multiline option is set to true." }, "slotProps": { "description": "The props used for each slot inside the Input." }, "slots": { "description": "The components used for each slot inside the InputBase. Either a string to use a HTML element or a component." }, "startAdornment": { "description": "Leading adornment for this input." }, "type": { "description": "Type of the <code>input</code> element. It should be <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types\">a valid HTML5 input type</a>." }, "value": { "description": "The value of the <code>input</code> element, required for a controlled component." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "formControl": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "the component is a descendant of <code>FormControl</code>" }, "adornedStart": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>startAdornment</code> is provided" }, "adornedEnd": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>endAdornment</code> is provided" }, "focused": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "the component is focused" }, "disabled": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>disabled={true}</code>" }, "error": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>error={true}</code>" }, "multiline": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>multiline={true}</code>" }, "input": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the input element" }, "inputMultiline": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the input element", "conditions": "<code>multiline={true}</code>" }, "inputTypeSearch": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the input element", "conditions": "<code>type=\"search\"</code>" } }, "slotDescriptions": { "root": "The component that renders the root.", "input": "The component that renders the input.", "textarea": "The component that renders the textarea." } }
5,465
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/menu-button/menu-button.json
{ "componentDescription": "", "propDescriptions": { "className": { "description": "Class name applied to the root element." }, "disabled": { "description": "If <code>true</code>, the component is disabled." }, "focusableWhenDisabled": { "description": "If <code>true</code>, allows a disabled button to receive focus." }, "label": { "description": "Label of the button" }, "slotProps": { "description": "The components used for each slot inside the MenuButton. Either a string to use a HTML element or a component." }, "slots": { "description": "The props used for each slot inside the MenuButton." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "active": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>active={true}</code>" }, "disabled": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>disabled={true}</code>" }, "expanded": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "the associated menu is open" } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,466
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/menu-item/menu-item.json
{ "componentDescription": "An unstyled menu item to be used within a Menu.", "propDescriptions": { "disabled": { "description": "If <code>true</code>, the menu item will be disabled." }, "label": { "description": "A text representation of the menu item&#39;s content. Used for keyboard text navigation matching." }, "slotProps": { "description": "The props used for each slot inside the MenuItem." }, "slots": { "description": "The components used for each slot inside the MenuItem. Either a string to use a HTML element or a component." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "disabled": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>button</code> element", "conditions": "<code>disabled={true}</code>" }, "focusVisible": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>button</code> element", "conditions": "<code>focusVisible={true}</code>" } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,467
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/menu/menu.json
{ "componentDescription": "", "propDescriptions": { "actions": { "description": "A ref with imperative actions that can be performed on the menu." }, "anchor": { "description": "The element based on which the menu is positioned." }, "onItemsChange": { "description": "Function called when the items displayed in the menu change." }, "slotProps": { "description": "The props used for each slot inside the Menu." }, "slots": { "description": "The components used for each slot inside the Menu. Either a string to use a HTML element or a component." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "listbox": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the listbox element" }, "expanded": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>open={true}</code>" } }, "slotDescriptions": { "root": "The component that renders the popup element.", "listbox": "The component that renders the listbox." } }
5,468
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/modal/modal.json
{ "componentDescription": "Modal is a lower-level construct that is leveraged by the following components:\n\n* [Dialog](https://mui.com/material-ui/api/dialog/)\n* [Drawer](https://mui.com/material-ui/api/drawer/)\n* [Menu](https://mui.com/material-ui/api/menu/)\n* [Popover](https://mui.com/material-ui/api/popover/)\n\nIf you are creating a modal dialog, you probably want to use the [Dialog](https://mui.com/material-ui/api/dialog/) component\nrather than directly using Modal.\n\nThis component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals).", "propDescriptions": { "children": { "description": "A single child content element.", "requiresRef": true }, "closeAfterTransition": { "description": "When set to true the Modal waits until a nested Transition is completed before closing." }, "container": { "description": "An HTML element or function that returns one. The <code>container</code> will have the portal children appended to it.<br>By default, it uses the body of the top-level document object, so it&#39;s simply <code>document.body</code> most of the time." }, "disableAutoFocus": { "description": "If <code>true</code>, the modal will not automatically shift focus to itself when it opens, and replace it to the last focused element when it closes. This also works correctly with any modal children that have the <code>disableAutoFocus</code> prop.<br>Generally this should never be set to <code>true</code> as it makes the modal less accessible to assistive technologies, like screen readers." }, "disableEnforceFocus": { "description": "If <code>true</code>, the modal will not prevent focus from leaving the modal while open.<br>Generally this should never be set to <code>true</code> as it makes the modal less accessible to assistive technologies, like screen readers." }, "disableEscapeKeyDown": { "description": "If <code>true</code>, hitting escape will not fire the <code>onClose</code> callback." }, "disablePortal": { "description": "The <code>children</code> will be under the DOM hierarchy of the parent component." }, "disableRestoreFocus": { "description": "If <code>true</code>, the modal will not restore focus to previously focused element once modal is hidden or unmounted." }, "disableScrollLock": { "description": "Disable the scroll lock behavior." }, "hideBackdrop": { "description": "If <code>true</code>, the backdrop is not rendered." }, "keepMounted": { "description": "Always keep the children in the DOM. This prop can be useful in SEO situation or when you want to maximize the responsiveness of the Modal." }, "onBackdropClick": { "description": "Callback fired when the backdrop is clicked." }, "onClose": { "description": "Callback fired when the component requests to be closed. The <code>reason</code> parameter can optionally be used to control the response to <code>onClose</code>.", "typeDescriptions": { "event": "The event source of the callback.", "reason": "Can be: <code>&quot;escapeKeyDown&quot;</code>, <code>&quot;backdropClick&quot;</code>." } }, "onTransitionEnter": { "description": "A function called when a transition enters." }, "onTransitionExited": { "description": "A function called when a transition has exited." }, "open": { "description": "If <code>true</code>, the component is shown." }, "slotProps": { "description": "The props used for each slot inside the Modal." }, "slots": { "description": "The components used for each slot inside the Modal. Either a string to use a HTML element or a component." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "hidden": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "the <code>Modal</code> has exited" }, "backdrop": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the backdrop element" } }, "slotDescriptions": { "root": "The component that renders the root.", "backdrop": "The component that renders the backdrop." } }
5,469
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/no-ssr/no-ssr.json
{ "componentDescription": "NoSsr purposely removes components from the subject of Server Side Rendering (SSR).\n\nThis component can be useful in a variety of situations:\n\n* Escape hatch for broken dependencies not supporting SSR.\n* Improve the time-to-first paint on the client by only rendering above the fold.\n* Reduce the rendering time on the server.\n* Under too heavy server load, you can turn on service degradation.", "propDescriptions": { "children": { "description": "You can wrap a node." }, "defer": { "description": "If <code>true</code>, the component will not only prevent server-side rendering. It will also defer the rendering of the children into a different screen frame." }, "fallback": { "description": "The fallback content to display." } }, "classDescriptions": {} }
5,470
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/number-input-unstyled/number-input-unstyled.json
{ "componentDescription": "", "propDescriptions": { "component": "The component used for the root node. Either a string to use a HTML element or a component.", "defaultValue": "The default value. Use when the component is not controlled.", "disabled": "If <code>true</code>, the component is disabled. The prop defaults to the value (<code>false</code>) inherited from the parent FormControl component.", "error": "If <code>true</code>, the <code>input</code> will indicate an error by setting the <code>aria-invalid</code> attribute on the input and the <code>Mui-error</code> class on the root element.", "id": "The id of the <code>input</code> element.", "max": "The maximum value.", "min": "The minimum value.", "onValueChange": "Callback fired after the value is clamped and changes. Called with <code>undefined</code> when the value is unset.", "required": "If <code>true</code>, the <code>input</code> element is required. The prop defaults to the value (<code>false</code>) inherited from the parent FormControl component.", "slotProps": "The props used for each slot inside the NumberInput.", "slots": "The components used for each slot inside the InputBase. Either a string to use a HTML element or a component. See <a href=\"#slots\">Slots API</a> below for more details.", "step": "The amount that the value changes on each increment or decrement.", "value": "The current value. Use when the component is controlled." }, "classDescriptions": {} }
5,471
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/number-input/number-input.json
{ "componentDescription": "", "propDescriptions": { "defaultValue": { "description": "The default value. Use when the component is not controlled." }, "disabled": { "description": "If <code>true</code>, the component is disabled. The prop defaults to the value (<code>false</code>) inherited from the parent FormControl component." }, "endAdornment": { "description": "Trailing adornment for this input." }, "error": { "description": "If <code>true</code>, the <code>input</code> will indicate an error by setting the <code>aria-invalid</code> attribute on the input and the <code>Mui-error</code> class on the root element." }, "id": { "description": "The id of the <code>input</code> element." }, "max": { "description": "The maximum value." }, "min": { "description": "The minimum value." }, "onChange": { "description": "Callback fired after the value is clamped and changes - when the <code>input</code> is blurred or when the stepper buttons are triggered. Called with <code>undefined</code> when the value is unset.", "typeDescriptions": { "event": "The event source of the callback", "value": "The new value of the component" } }, "onInputChange": { "description": "Callback fired when the <code>input</code> value changes after each keypress, before clamping is applied. Note that <code>event.target.value</code> may contain values that fall outside of <code>min</code> and <code>max</code> or are otherwise &quot;invalid&quot;.", "typeDescriptions": { "event": "The event source of the callback." } }, "readOnly": { "description": "If <code>true</code>, the <code>input</code> element becomes read-only. The stepper buttons remain active, with the addition that they are now keyboard focusable." }, "required": { "description": "If <code>true</code>, the <code>input</code> element is required. The prop defaults to the value (<code>false</code>) inherited from the parent FormControl component." }, "shiftMultiplier": { "description": "Multiplier applied to <code>step</code> if the shift key is held while incrementing or decrementing the value. Defaults to <code>10</code>." }, "slotProps": { "description": "The props used for each slot inside the NumberInput." }, "slots": { "description": "The components used for each slot inside the InputBase. Either a string to use a HTML element or a component." }, "startAdornment": { "description": "Leading adornment for this input." }, "step": { "description": "The amount that the value changes on each increment or decrement." }, "value": { "description": "The current value. Use when the component is controlled." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "formControl": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "the component is a descendant of <code>FormControl</code>" }, "adornedStart": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>startAdornment</code> is provided" }, "adornedEnd": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>endAdornment</code> is provided" }, "focused": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "the component is focused" }, "disabled": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>disabled={true}</code>" }, "readOnly": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>readOnly={true}</code>" }, "error": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>error={true}</code>" }, "input": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the input element" }, "incrementButton": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the increment button element" }, "decrementButton": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the decrement button element" } }, "slotDescriptions": { "root": "The component that renders the root.", "input": "The component that renders the input.", "incrementButton": "The component that renders the increment button.", "decrementButton": "The component that renders the decrement button." } }
5,472
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/option-group/option-group.json
{ "componentDescription": "An unstyled option group to be used within a Select.", "propDescriptions": { "disabled": { "description": "If <code>true</code> all the options in the group will be disabled." }, "label": { "description": "The human-readable description of the group." }, "slotProps": { "description": "The props used for each slot inside the Input." }, "slots": { "description": "The components used for each slot inside the OptionGroup. Either a string to use a HTML element or a component." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "disabled": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>li</code> element", "conditions": "<code>disabled={true}</code>" }, "label": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the label element" }, "list": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the list element" } }, "slotDescriptions": { "root": "The component that renders the root.", "label": "The component that renders the label.", "list": "The component that renders the list." } }
5,473
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/option/option.json
{ "componentDescription": "An unstyled option to be used within a Select.", "propDescriptions": { "disabled": { "description": "If <code>true</code>, the option will be disabled." }, "label": { "description": "A text representation of the option&#39;s content. Used for keyboard text navigation matching." }, "slotProps": { "description": "The props used for each slot inside the Option." }, "slots": { "description": "The components used for each slot inside the Option. Either a string to use a HTML element or a component." }, "value": { "description": "The value of the option." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "disabled": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>li</code> element", "conditions": "<code>disabled={true}</code>" }, "selected": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>li</code> element", "conditions": "<code>selected={true}</code>" }, "highlighted": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>li</code> element", "conditions": "<code>highlighted={true}</code>" } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,474
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/popper/popper.json
{ "componentDescription": "Poppers rely on the 3rd party library [Popper.js](https://popper.js.org/docs/v2/) for positioning.", "propDescriptions": { "anchorEl": { "description": "An HTML element, <a href=\"https://popper.js.org/docs/v2/virtual-elements/\">virtualElement</a>, or a function that returns either. It&#39;s used to set the position of the popper. The return value will passed as the reference object of the Popper instance." }, "children": { "description": "Popper render function or node." }, "container": { "description": "An HTML element or function that returns one. The <code>container</code> will have the portal children appended to it.<br>By default, it uses the body of the top-level document object, so it&#39;s simply <code>document.body</code> most of the time." }, "direction": { "description": "Direction of the text." }, "disablePortal": { "description": "The <code>children</code> will be under the DOM hierarchy of the parent component." }, "keepMounted": { "description": "Always keep the children in the DOM. This prop can be useful in SEO situation or when you want to maximize the responsiveness of the Popper." }, "modifiers": { "description": "Popper.js is based on a &quot;plugin-like&quot; architecture, most of its features are fully encapsulated &quot;modifiers&quot;.<br>A modifier is a function that is called each time Popper.js needs to compute the position of the popper. For this reason, modifiers should be very performant to avoid bottlenecks. To learn how to create a modifier, <a href=\"https://popper.js.org/docs/v2/modifiers/\">read the modifiers documentation</a>." }, "open": { "description": "If <code>true</code>, the component is shown." }, "placement": { "description": "Popper placement." }, "popperOptions": { "description": "Options provided to the <a href=\"https://popper.js.org/docs/v2/constructors/#options\"><code>Popper.js</code></a> instance." }, "popperRef": { "description": "A ref that points to the used popper instance." }, "slotProps": { "description": "The props used for each slot inside the Popper." }, "slots": { "description": "The components used for each slot inside the Popper. Either a string to use a HTML element or a component." }, "transition": { "description": "Help supporting a react-transition-group/Transition component." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." } } }
5,475
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/popup/popup.json
{ "componentDescription": "", "propDescriptions": { "anchor": { "description": "An HTML element, <a href=\"https://floating-ui.com/docs/virtual-elements\">virtual element</a>, or a function that returns either. It&#39;s used to set the position of the popup." }, "container": { "description": "An HTML element or function that returns one. The container will have the portal children appended to it. By default, it uses the body of the top-level document object, so it&#39;s <code>document.body</code> in these cases." }, "disablePortal": { "description": "If <code>true</code>, the popup will be rendered where it is defined, without the use of portals." }, "keepMounted": { "description": "If <code>true</code>, the popup will exist in the DOM even if it&#39;s closed. Its visibility will be controlled by the <code>display</code> CSS property.<br>Otherwise, a closed popup will be removed from the DOM." }, "middleware": { "description": "Collection of Floating UI middleware to use when positioning the popup. If not provided, the <a href=\"https://floating-ui.com/docs/offset\"><code>offset</code></a> and <a href=\"https://floating-ui.com/docs/flip\"><code>flip</code></a> functions will be used." }, "offset": { "description": "Distance between a popup and the trigger element. This prop is ignored when custom <code>middleware</code> is provided." }, "open": { "description": "If <code>true</code>, the popup is visible." }, "placement": { "description": "Determines where to place the popup relative to the trigger element." }, "slotProps": { "description": "The props used for each slot inside the Popup." }, "slots": { "description": "The components used for each slot inside the Popup. Either a string to use a HTML element or a component." }, "strategy": { "description": "The type of CSS position property to use (absolute or fixed)." }, "withTransition": { "description": "If <code>true</code>, the popup will not disappear immediately when it needs to be closed but wait until the exit transition has finished. In such a case, a function form of <code>children</code> must be used and <code>onExited</code> callback function must be called when the transition or animation finish." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "open": { "description": "Class name applied to {{nodeName}} when {{conditions}}.", "nodeName": "the root element", "conditions": "the popup is open" } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,476
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/portal/portal.json
{ "componentDescription": "Portals provide a first-class way to render children into a DOM node\nthat exists outside the DOM hierarchy of the parent component.", "propDescriptions": { "children": { "description": "The children to render into the <code>container</code>." }, "container": { "description": "An HTML element or function that returns one. The <code>container</code> will have the portal children appended to it.<br>By default, it uses the body of the top-level document object, so it&#39;s simply <code>document.body</code> most of the time." }, "disablePortal": { "description": "The <code>children</code> will be under the DOM hierarchy of the parent component." } }, "classDescriptions": {} }
5,477
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/select/select.json
{ "componentDescription": "The foundation for building custom-styled select components.", "propDescriptions": { "areOptionsEqual": { "description": "A function used to determine if two options&#39; values are equal. By default, reference equality is used.<br>There is a performance impact when using the <code>areOptionsEqual</code> prop (proportional to the number of options). Therefore, it&#39;s recommented to use the default reference equality comparison whenever possible." }, "autoComplete": { "description": "This prop helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it&#39;s more like an autofill. You can learn more about it <a href=\"https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill\">following the specification</a>." }, "autoFocus": { "description": "If <code>true</code>, the select element is focused during the first mount" }, "defaultListboxOpen": { "description": "If <code>true</code>, the select will be initially open." }, "defaultValue": { "description": "The default selected value. Use when the component is not controlled." }, "disabled": { "description": "If <code>true</code>, the select is disabled." }, "getOptionAsString": { "description": "A function used to convert the option label to a string. It&#39;s useful when labels are elements and need to be converted to plain text to enable navigation using character keys on a keyboard." }, "getSerializedValue": { "description": "A function to convert the currently selected value to a string. Used to set a value of a hidden input associated with the select, so that the selected value can be posted with a form." }, "listboxId": { "description": "<code>id</code> attribute of the listbox element." }, "listboxOpen": { "description": "Controls the open state of the select&#39;s listbox." }, "multiple": { "description": "If <code>true</code>, selecting multiple values is allowed. This affects the type of the <code>value</code>, <code>defaultValue</code>, and <code>onChange</code> props." }, "name": { "description": "Name of the element. For example used by the server to identify the fields in form submits. If the name is provided, the component will render a hidden input element that can be submitted to a server." }, "onChange": { "description": "Callback fired when an option is selected." }, "onListboxOpenChange": { "description": "Callback fired when the component requests to be opened. Use in controlled mode (see listboxOpen)." }, "placeholder": { "description": "Text to show when there is no selected value." }, "renderValue": { "description": "Function that customizes the rendering of the selected value." }, "required": { "description": "If <code>true</code>, the Select cannot be empty when submitting form." }, "slotProps": { "description": "The props used for each slot inside the Input." }, "slots": { "description": "The components used for each slot inside the Select. Either a string to use a HTML element or a component." }, "value": { "description": "The selected value. Set to <code>null</code> to deselect all options." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "listbox": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the listbox element" }, "popper": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the popper element" }, "active": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>button</code> element", "conditions": "<code>active={true}</code>" }, "expanded": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>button</code> element", "conditions": "<code>expanded={true}</code>" }, "disabled": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>button</code> element and the listbox &#39;ul&#39; element", "conditions": "<code>disabled={true}</code>" }, "focusVisible": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>button</code> element", "conditions": "<code>focusVisible={true}</code>" } }, "slotDescriptions": { "root": "The component that renders the root.", "listbox": "The component that renders the listbox.", "popper": "The component that renders the popper." } }
5,478
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/slider/slider.json
{ "componentDescription": "", "propDescriptions": { "aria-label": { "description": "The label of the slider." }, "aria-labelledby": { "description": "The id of the element containing a label for the slider." }, "aria-valuetext": { "description": "A string value that provides a user-friendly name for the current value of the slider." }, "defaultValue": { "description": "The default value. Use when the component is not controlled." }, "disabled": { "description": "If <code>true</code>, the component is disabled." }, "disableSwap": { "description": "If <code>true</code>, the active thumb doesn&#39;t swap when moving pointer over a thumb while dragging another thumb." }, "getAriaLabel": { "description": "Accepts a function which returns a string value that provides a user-friendly name for the thumb labels of the slider. This is important for screen reader users.", "typeDescriptions": { "index": "The thumb label&#39;s index to format." } }, "getAriaValueText": { "description": "Accepts a function which returns a string value that provides a user-friendly name for the current value of the slider. This is important for screen reader users.", "typeDescriptions": { "value": "The thumb label&#39;s value to format.", "index": "The thumb label&#39;s index to format." } }, "isRtl": { "description": "If <code>true</code> the Slider will be rendered right-to-left (with the lowest value on the right-hand side)." }, "marks": { "description": "Marks indicate predetermined values to which the user can move the slider. If <code>true</code> the marks are spaced according the value of the <code>step</code> prop. If an array, it should contain objects with <code>value</code> and an optional <code>label</code> keys." }, "max": { "description": "The maximum allowed value of the slider. Should not be equal to min." }, "min": { "description": "The minimum allowed value of the slider. Should not be equal to max." }, "name": { "description": "Name attribute of the hidden <code>input</code> element." }, "onChange": { "description": "Callback function that is fired when the slider&#39;s value changed.", "typeDescriptions": { "event": "The event source of the callback. You can pull out the new value by accessing <code>event.target.value</code> (any). <strong>Warning</strong>: This is a generic event not a change event.", "value": "The new value.", "activeThumb": "Index of the currently moved thumb." } }, "onChangeCommitted": { "description": "Callback function that is fired when the <code>mouseup</code> is triggered.", "typeDescriptions": { "event": "The event source of the callback. <strong>Warning</strong>: This is a generic event not a change event.", "value": "The new value." } }, "orientation": { "description": "The component orientation." }, "scale": { "description": "A transformation function, to change the scale of the slider." }, "slotProps": { "description": "The props used for each slot inside the Slider." }, "slots": { "description": "The components used for each slot inside the Slider. Either a string to use a HTML element or a component." }, "step": { "description": "The granularity with which the slider can step through values. (A &quot;discrete&quot; slider.) The <code>min</code> prop serves as the origin for the valid values. We recommend (max - min) to be evenly divisible by the step.<br>When step is <code>null</code>, the thumb can only be slid onto marks provided with the <code>marks</code> prop." }, "tabIndex": { "description": "Tab index attribute of the hidden <code>input</code> element." }, "track": { "description": "<p>The track presentation:</p>\n<ul>\n<li><code>normal</code> the track will render a bar representing the slider value.</li>\n<li><code>inverted</code> the track will render a bar representing the remaining slider value.</li>\n<li><code>false</code> the track will render without a bar.</li>\n</ul>\n" }, "value": { "description": "The value of the slider. For ranged sliders, provide an array with two values." }, "valueLabelFormat": { "description": "The format function the value label&#39;s value.<br>When a function is provided, it should have the following signature:<br>- {number} value The value label&#39;s value to format - {number} index The value label&#39;s index to format" } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "marked": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>marks</code> is provided with at least one label" }, "vertical": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>orientation=\"vertical\"</code>" }, "disabled": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root and thumb element", "conditions": "<code>disabled={true}</code>" }, "dragging": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root", "conditions": "a thumb is being dragged" }, "rail": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the rail element" }, "track": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the track element" }, "trackFalse": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>track={false}</code>" }, "trackInverted": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>track=\"inverted\"</code>" }, "thumb": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the thumb element" }, "active": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the thumb element", "conditions": "it&#39;s active" }, "focusVisible": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the thumb element", "conditions": "keyboard focused" }, "mark": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the mark element" }, "markActive": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the mark element", "conditions": "active (depending on the value)" }, "markLabel": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the mark label element" }, "markLabelActive": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the mark label element", "conditions": "active (depending on the value)" } }, "slotDescriptions": { "root": "The component that renders the root.", "track": "The component that renders the track.", "rail": "The component that renders the rail.", "thumb": "The component that renders the thumb.", "mark": "The component that renders the mark.", "markLabel": "The component that renders the mark label.", "valueLabel": "The component that renders the value label.", "input": "The component that renders the input." } }
5,479
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/snackbar/snackbar.json
{ "componentDescription": "", "propDescriptions": { "autoHideDuration": { "description": "The number of milliseconds to wait before automatically calling the <code>onClose</code> function. <code>onClose</code> should then set the state of the <code>open</code> prop to hide the Snackbar. This behavior is disabled by default with the <code>null</code> value." }, "disableWindowBlurListener": { "description": "If <code>true</code>, the <code>autoHideDuration</code> timer will expire even if the window is not focused." }, "exited": { "description": "The prop used to handle exited transition and unmount the component." }, "onClose": { "description": "Callback fired when the component requests to be closed. Typically <code>onClose</code> is used to set state in the parent component, which is used to control the <code>Snackbar</code> <code>open</code> prop. The <code>reason</code> parameter can optionally be used to control the response to <code>onClose</code>, for example ignoring <code>clickaway</code>.", "typeDescriptions": { "event": "The event source of the callback.", "reason": "Can be: <code>&quot;timeout&quot;</code> (<code>autoHideDuration</code> expired), <code>&quot;clickaway&quot;</code>, or <code>&quot;escapeKeyDown&quot;</code>." } }, "open": { "description": "If <code>true</code>, the component is shown." }, "resumeHideDuration": { "description": "The number of milliseconds to wait before dismissing after user interaction. If <code>autoHideDuration</code> prop isn&#39;t specified, it does nothing. If <code>autoHideDuration</code> prop is specified but <code>resumeHideDuration</code> isn&#39;t, we default to <code>autoHideDuration / 2</code> ms." }, "slotProps": { "description": "The props used for each slot inside the Snackbar." }, "slots": { "description": "The components used for each slot inside the Snackbar. Either a string to use a HTML element or a component." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,480
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/switch/switch.json
{ "componentDescription": "The foundation for building custom-styled switches.", "propDescriptions": { "checked": { "description": "If <code>true</code>, the component is checked." }, "className": { "description": "Class name applied to the root element." }, "defaultChecked": { "description": "The default checked state. Use when the component is not controlled." }, "disabled": { "description": "If <code>true</code>, the component is disabled." }, "onChange": { "description": "Callback fired when the state is changed.", "typeDescriptions": { "event": "The event source of the callback. You can pull out the new value by accessing <code>event.target.value</code> (string). You can pull out the new checked state by accessing <code>event.target.checked</code> (boolean)." } }, "readOnly": { "description": "If <code>true</code>, the component is read only." }, "required": { "description": "If <code>true</code>, the <code>input</code> element is required." }, "slotProps": { "description": "The props used for each slot inside the Switch." }, "slots": { "description": "The components used for each slot inside the Switch. Either a string to use a HTML element or a component." } }, "classDescriptions": { "root": { "description": "Class applied to the root element." }, "input": { "description": "Class applied to the internal input element" }, "track": { "description": "Class applied to the track element" }, "thumb": { "description": "Class applied to the thumb element" }, "checked": { "description": "State class applied to the root element if the switch is checked" }, "disabled": { "description": "State class applied to the root element if the switch is disabled" }, "focusVisible": { "description": "State class applied to the root element if the switch has visible focus" }, "readOnly": { "description": "Class applied to the root element if the switch is read-only" } }, "slotDescriptions": { "root": "The component that renders the root.", "input": "The component that renders the input.", "thumb": "The component that renders the thumb.", "track": "The component that renders the track." } }
5,481
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/tab-panel/tab-panel.json
{ "componentDescription": "", "propDescriptions": { "children": { "description": "The content of the component." }, "slotProps": { "description": "The props used for each slot inside the TabPanel." }, "slots": { "description": "The components used for each slot inside the TabPanel. Either a string to use a HTML element or a component." }, "value": { "description": "The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected. If not provided, it will fall back to the index of the panel. It is recommended to explicitly provide it, as it&#39;s required for the tab panel to be rendered on the server." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "hidden": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>div</code> element", "conditions": "<code>hidden={true}</code>" } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,482
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/tab/tab.json
{ "componentDescription": "", "propDescriptions": { "action": { "description": "A ref for imperative actions. It currently only supports <code>focusVisible()</code> action." }, "disabled": { "description": "If <code>true</code>, the component is disabled." }, "onChange": { "description": "Callback invoked when new value is being set." }, "slotProps": { "description": "The props used for each slot inside the Tab." }, "slots": { "description": "The components used for each slot inside the Tab. Either a string to use a HTML element or a component." }, "value": { "description": "You can provide your own value. Otherwise, it falls back to the child position index." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "selected": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>button</code> element", "conditions": "<code>selected={true}</code>" }, "disabled": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root <code>button</code> element", "conditions": "<code>disabled={true}</code>" } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,483
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/table-pagination/table-pagination.json
{ "componentDescription": "A pagination for tables.", "propDescriptions": { "count": { "description": "The total number of rows.<br>To enable server side pagination for an unknown number of items, provide -1." }, "getItemAriaLabel": { "description": "Accepts a function which returns a string value that provides a user-friendly name for the current page. This is important for screen reader users.<br>For localization purposes, you can use the provided <a href=\"/material-ui/guides/localization/\">translations</a>.", "typeDescriptions": { "type": "The link or button type to format (&#39;first&#39; | &#39;last&#39; | &#39;next&#39; | &#39;previous&#39;)." } }, "labelDisplayedRows": { "description": "Customize the displayed rows label. Invoked with a <code>{ from, to, count, page }</code> object.<br>For localization purposes, you can use the provided <a href=\"/material-ui/guides/localization/\">translations</a>." }, "labelId": { "description": "Id of the label element within the pagination." }, "labelRowsPerPage": { "description": "Customize the rows per page label.<br>For localization purposes, you can use the provided <a href=\"/material-ui/guides/localization/\">translations</a>." }, "onPageChange": { "description": "Callback fired when the page is changed.", "typeDescriptions": { "event": "The event source of the callback.", "page": "The page selected." } }, "onRowsPerPageChange": { "description": "Callback fired when the number of rows per page is changed.", "typeDescriptions": { "event": "The event source of the callback." } }, "page": { "description": "The zero-based index of the current page." }, "rowsPerPage": { "description": "The number of rows per page.<br>Set -1 to display all the rows." }, "rowsPerPageOptions": { "description": "Customizes the options of the rows per page select field. If less than two options are available, no select field will be displayed. Use -1 for the value with a custom label to show all the rows." }, "selectId": { "description": "Id of the select element within the pagination." }, "slotProps": { "description": "The props used for each slot inside the TablePagination." }, "slots": { "description": "The components used for each slot inside the TablePagination. Either a string to use a HTML element or a component." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "toolbar": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the Toolbar component" }, "spacer": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the spacer element" }, "selectLabel": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the select label Typography element" }, "selectRoot": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the Select component <code>root</code> element" }, "select": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the Select component <code>select</code> class" }, "selectIcon": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the Select component <code>icon</code> class" }, "input": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the Select component <code>root</code> element" }, "menuItem": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the MenuItem component" }, "displayedRows": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the displayed rows Typography element" }, "actions": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the internal <code>TablePaginationActions</code> component" } }, "slotDescriptions": { "root": "The component that renders the root.", "actions": "The component that renders the actions.", "select": "The component that renders the select.", "selectLabel": "The component that renders the select label.", "menuItem": "The component that renders the menu item.", "displayedRows": "The component that renders the displayed rows.", "toolbar": "The component that renders the toolbar.", "spacer": "The component that renders the spacer." } }
5,484
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/tabs-list/tabs-list.json
{ "componentDescription": "", "propDescriptions": { "children": { "description": "The content of the component." }, "slotProps": { "description": "The props used for each slot inside the TabsList." }, "slots": { "description": "The components used for each slot inside the TabsList. Either a string to use a HTML element or a component." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "horizontal": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>orientation='horizontal'</code>" }, "vertical": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>orientation='vertical'</code>" } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,485
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/tabs/tabs.json
{ "componentDescription": "", "propDescriptions": { "children": { "description": "The content of the component." }, "defaultValue": { "description": "The default value. Use when the component is not controlled." }, "direction": { "description": "The direction of the text." }, "onChange": { "description": "Callback invoked when new value is being set." }, "orientation": { "description": "The component orientation (layout flow direction)." }, "selectionFollowsFocus": { "description": "If <code>true</code> the selected tab changes on focus. Otherwise it only changes on activation." }, "slotProps": { "description": "The props used for each slot inside the Tabs." }, "slots": { "description": "The components used for each slot inside the Tabs. Either a string to use a HTML element or a component." }, "value": { "description": "The value of the currently selected <code>Tab</code>. If you don&#39;t want any selected <code>Tab</code>, you can set this prop to <code>null</code>." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "horizontal": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>orientation='horizontal'</code>" }, "vertical": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>orientation='vertical'</code>" } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,486
0
petrpan-code/mui/material-ui/docs/translations/api-docs-base
petrpan-code/mui/material-ui/docs/translations/api-docs-base/textarea-autosize/textarea-autosize.json
{ "componentDescription": "", "propDescriptions": { "maxRows": { "description": "Maximum number of rows to display." }, "minRows": { "description": "Minimum number of rows to display." } }, "classDescriptions": {} }
5,487
0
petrpan-code/mui/material-ui/docs/translations/api-docs-joy
petrpan-code/mui/material-ui/docs/translations/api-docs-joy/accordion-details/accordion-details.json
{ "componentDescription": "", "propDescriptions": { "children": { "description": "Used to render icon or text elements inside the AccordionDetails if <code>src</code> is not set. This can be an element, or just a string." }, "color": { "description": "The color of the component. It supports those theme colors that make sense for this component." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "variant": { "description": "The <a href=\"https://mui.com/joy-ui/main-features/global-variants/\">global variant</a> to use." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "content": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the content element" }, "expanded": { "description": "Class name applied to {{nodeName}} when {{conditions}}.", "nodeName": "the root element", "conditions": "expanded" } }, "slotDescriptions": { "root": "The component that renders the root.", "content": "The component that renders the content." } }
5,488
0
petrpan-code/mui/material-ui/docs/translations/api-docs-joy
petrpan-code/mui/material-ui/docs/translations/api-docs-joy/accordion-group/accordion-group.json
{ "componentDescription": "", "propDescriptions": { "children": { "description": "Used to render icon or text elements inside the AccordionGroup if <code>src</code> is not set. This can be an element, or just a string." }, "color": { "description": "The color of the component. It supports those theme colors that make sense for this component." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "disableDivider": { "description": "If <code>true</code>, the divider between accordions will be hidden." }, "size": { "description": "The size of the component (affect other nested list* components)." }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "transition": { "description": "The CSS transition for the Accordion details." }, "variant": { "description": "The <a href=\"https://mui.com/joy-ui/main-features/global-variants/\">global variant</a> to use." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "colorPrimary": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"primary\"</code>" }, "colorNeutral": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"neutral\"</code>" }, "colorDanger": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"danger\"</code>" }, "colorSuccess": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"success\"</code>" }, "colorWarning": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"warning\"</code>" }, "colorContext": { "description": "Class name applied to {{nodeName}} when {{conditions}}.", "nodeName": "the root element", "conditions": "color inversion is triggered" }, "variantPlain": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"plain\"</code>" }, "variantOutlined": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"outlined\"</code>" }, "variantSoft": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"soft\"</code>" }, "variantSolid": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"solid\"</code>" }, "sizeSm": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"sm\"</code>" }, "sizeMd": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"md\"</code>" }, "sizeLg": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"lg\"</code>" } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,489
0
petrpan-code/mui/material-ui/docs/translations/api-docs-joy
petrpan-code/mui/material-ui/docs/translations/api-docs-joy/accordion-summary/accordion-summary.json
{ "componentDescription": "", "propDescriptions": { "children": { "description": "Used to render icon or text elements inside the AccordionSummary if <code>src</code> is not set. This can be an element, or just a string." }, "color": { "description": "The color of the component. It supports those theme colors that make sense for this component." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "indicator": { "description": "The indicator element to display." }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "variant": { "description": "The <a href=\"https://mui.com/joy-ui/main-features/global-variants/\">global variant</a> to use." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "button": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the button element" }, "indicator": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the indicator element" }, "disabled": { "description": "Class name applied when the accordion is disabled." }, "expanded": { "description": "Class name applied when the accordion is expanded." } }, "slotDescriptions": { "root": "The component that renders the root.", "button": "The component that renders the button.", "indicator": "The component that renders the indicator." } }
5,490
0
petrpan-code/mui/material-ui/docs/translations/api-docs-joy
petrpan-code/mui/material-ui/docs/translations/api-docs-joy/accordion/accordion.json
{ "componentDescription": "", "propDescriptions": { "accordionId": { "description": "The id to be used in the AccordionDetails which is controlled by the AccordionSummary. If not provided, the id is autogenerated." }, "children": { "description": "Used to render icon or text elements inside the Accordion if <code>src</code> is not set. This can be an element, or just a string." }, "color": { "description": "The color of the component. It supports those theme colors that make sense for this component." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "defaultExpanded": { "description": "If <code>true</code>, expands the accordion by default." }, "disabled": { "description": "If <code>true</code>, the component is disabled." }, "expanded": { "description": "If <code>true</code>, expands the accordion, otherwise collapse it. Setting this prop enables control over the accordion." }, "onChange": { "description": "Callback fired when the expand/collapse state is changed.", "typeDescriptions": { "event": "The event source of the callback. <strong>Warning</strong>: This is a generic event not a change event.", "expanded": "The <code>expanded</code> state of the accordion." } }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "variant": { "description": "The <a href=\"https://mui.com/joy-ui/main-features/global-variants/\">global variant</a> to use." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "expanded": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>expanded</code> is true" }, "disabled": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>disabled</code> is true" } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,491
0
petrpan-code/mui/material-ui/docs/translations/api-docs-joy
petrpan-code/mui/material-ui/docs/translations/api-docs-joy/alert/alert.json
{ "componentDescription": "", "propDescriptions": { "color": { "description": "The color of the component. It supports those theme colors that make sense for this component." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "endDecorator": { "description": "Element placed after the children." }, "invertedColors": { "description": "If <code>true</code>, the children with an implicit color prop invert their colors to match the component&#39;s variant and color." }, "role": { "description": "The ARIA role attribute of the element." }, "size": { "description": "The size of the component." }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "startDecorator": { "description": "Element placed before the children." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "variant": { "description": "The <a href=\"https://mui.com/joy-ui/main-features/global-variants/\">global variant</a> to use." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "colorPrimary": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"primary\"</code>" }, "colorDanger": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"danger\"</code>" }, "colorNeutral": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"neutral\"</code>" }, "colorSuccess": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"success\"</code>" }, "colorWarning": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"warning\"</code>" }, "colorContext": { "description": "Class name applied to {{nodeName}} when {{conditions}}.", "nodeName": "the root element", "conditions": "color inversion is triggered" }, "endDecorator": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the endDecorator element", "conditions": "supplied" }, "sizeSm": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"sm\"</code>" }, "sizeMd": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"md\"</code>" }, "sizeLg": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"lg\"</code>" }, "startDecorator": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the startDecorator element", "conditions": "supplied" }, "variantPlain": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"plain\"</code>" }, "variantOutlined": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"outlined\"</code>" }, "variantSoft": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"soft\"</code>" }, "variantSolid": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"solid\"</code>" } }, "slotDescriptions": { "root": "The component that renders the root.", "startDecorator": "The component that renders the start decorator.", "endDecorator": "The component that renders the end decorator." } }
5,492
0
petrpan-code/mui/material-ui/docs/translations/api-docs-joy
petrpan-code/mui/material-ui/docs/translations/api-docs-joy/aspect-ratio/aspect-ratio.json
{ "componentDescription": "", "propDescriptions": { "children": { "description": "Used to render icon or text elements inside the AspectRatio if <code>src</code> is not set. This can be an element, or just a string." }, "color": { "description": "The color of the component. It supports those theme colors that make sense for this component." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "flex": { "description": "By default, the AspectRatio will maintain the aspect ratio of its content. Set this prop to <code>true</code> when the container is a flex row and you want the AspectRatio to fill the height of its container." }, "maxHeight": { "description": "The maximum calculated height of the element (not the CSS height)." }, "minHeight": { "description": "The minimum calculated height of the element (not the CSS height)." }, "objectFit": { "description": "The CSS object-fit value of the first-child." }, "ratio": { "description": "The aspect-ratio of the element. The current implementation uses padding instead of the CSS aspect-ratio due to browser support. <a href=\"https://caniuse.com/?search=aspect-ratio\">https://caniuse.com/?search=aspect-ratio</a>" }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "variant": { "description": "The <a href=\"https://mui.com/joy-ui/main-features/global-variants/\">global variant</a> to use." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "content": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the content element" }, "colorPrimary": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the content element", "conditions": "<code>color=\"primary\"</code>" }, "colorNeutral": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the content element", "conditions": "<code>color=\"neutral\"</code>" }, "colorDanger": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the content element", "conditions": "<code>color=\"danger\"</code>" }, "colorSuccess": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the content element", "conditions": "<code>color=\"success\"</code>" }, "colorWarning": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the content element", "conditions": "<code>color=\"warning\"</code>" }, "colorContext": { "description": "Class name applied to {{nodeName}} when {{conditions}}.", "nodeName": "the root element", "conditions": "color inversion is triggered" }, "variantPlain": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the content element", "conditions": "<code>variant=\"plain\"</code>" }, "variantOutlined": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the content element", "conditions": "<code>variant=\"outlined\"</code>" }, "variantSoft": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the content element", "conditions": "<code>variant=\"soft\"</code>" }, "variantSolid": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the content element", "conditions": "<code>variant=\"solid\"</code>" } }, "slotDescriptions": { "root": "The component that renders the root.", "content": "The component that renders the content." } }
5,493
0
petrpan-code/mui/material-ui/docs/translations/api-docs-joy
petrpan-code/mui/material-ui/docs/translations/api-docs-joy/autocomplete-listbox/autocomplete-listbox.json
{ "componentDescription": "", "propDescriptions": { "color": { "description": "The color of the component. It supports those theme colors that make sense for this component." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "size": { "description": "The size of the component (affect other nested list* components)." }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "variant": { "description": "The <a href=\"https://mui.com/joy-ui/main-features/global-variants/\">global variant</a> to use." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "sizeSm": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"sm\"</code>" }, "sizeMd": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"md\"</code>" }, "sizeLg": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"lg\"</code>" }, "colorPrimary": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"primary\"</code>" }, "colorNeutral": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"neutral\"</code>" }, "colorDanger": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"danger\"</code>" }, "colorSuccess": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"success\"</code>" }, "colorWarning": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"warning\"</code>" }, "colorContext": { "description": "Class name applied to {{nodeName}} when {{conditions}}.", "nodeName": "the root element", "conditions": "color inversion is triggered" }, "variantPlain": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"plain\"</code>" }, "variantOutlined": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"outlined\"</code>" }, "variantSoft": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"soft\"</code>" }, "variantSolid": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"solid\"</code>" } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,494
0
petrpan-code/mui/material-ui/docs/translations/api-docs-joy
petrpan-code/mui/material-ui/docs/translations/api-docs-joy/autocomplete-option/autocomplete-option.json
{ "componentDescription": "", "propDescriptions": { "color": { "description": "The color of the component. It supports those theme colors that make sense for this component." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "variant": { "description": "The <a href=\"https://mui.com/joy-ui/main-features/global-variants/\">global variant</a> to use." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "focused": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "focused" }, "focusVisible": { "description": "State class applied to {{nodeName}}.", "nodeName": "the <code>component</code>&#39;s <code>focusVisibleClassName</code> prop" }, "colorPrimary": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"primary\"</code>" }, "colorNeutral": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"neutral\"</code>" }, "colorDanger": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"danger\"</code>" }, "colorSuccess": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"success\"</code>" }, "colorWarning": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"warning\"</code>" }, "colorContext": { "description": "Class name applied to {{nodeName}} when {{conditions}}.", "nodeName": "the root element", "conditions": "color inversion is triggered" }, "variantPlain": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"plain\"</code>" }, "variantSoft": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"soft\"</code>" }, "variantOutlined": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"outlined\"</code>" }, "variantSolid": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"solid\"</code>" } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,495
0
petrpan-code/mui/material-ui/docs/translations/api-docs-joy
petrpan-code/mui/material-ui/docs/translations/api-docs-joy/autocomplete/autocomplete.json
{ "componentDescription": "", "propDescriptions": { "aria-describedby": { "description": "Identifies the element (or elements) that describes the object." }, "aria-label": { "description": "Defines a string value that labels the current element." }, "aria-labelledby": { "description": "Identifies the element (or elements) that labels the current element." }, "autoFocus": { "description": "If <code>true</code>, the <code>input</code> element is focused during the first mount." }, "clearIcon": { "description": "The icon to display in place of the default clear icon." }, "clearText": { "description": "Override the default text for the <em>clear</em> icon button.<br>For localization purposes, you can use the provided <a href=\"/material-ui/guides/localization/\">translations</a>." }, "closeText": { "description": "Override the default text for the <em>close popup</em> icon button.<br>For localization purposes, you can use the provided <a href=\"/material-ui/guides/localization/\">translations</a>." }, "color": { "description": "The color of the component. It supports those theme colors that make sense for this component." }, "defaultValue": { "description": "The default value. Use when the component is not controlled." }, "disableClearable": { "description": "If <code>true</code>, the input can&#39;t be cleared." }, "disabled": { "description": "If <code>true</code>, the component is disabled." }, "endDecorator": { "description": "Trailing adornment for this input." }, "error": { "description": "If <code>true</code>, the <code>input</code> will indicate an error. The prop defaults to the value (<code>false</code>) inherited from the parent FormControl component." }, "filterOptions": { "description": "A function that determines the filtered options to be rendered on search.", "typeDescriptions": { "options": "The options to render.", "state": "The state of the component." } }, "forcePopupIcon": { "description": "Force the visibility display of the popup icon." }, "freeSolo": { "description": "If <code>true</code>, the Autocomplete is free solo, meaning that the user input is not bound to provided options." }, "getLimitTagsText": { "description": "The label to display when the tags are truncated (<code>limitTags</code>).", "typeDescriptions": { "more": "The number of truncated tags." } }, "getOptionDisabled": { "description": "Used to determine the disabled state for a given option.", "typeDescriptions": { "option": "The option to test." } }, "getOptionLabel": { "description": "Used to determine the string value for a given option. It&#39;s used to fill the input (and the list box options if <code>renderOption</code> is not provided).<br>If used in free solo mode, it must accept both the type of the options and a string." }, "groupBy": { "description": "If provided, the options will be grouped under the returned string. The groupBy value is also used as the text for group headings when <code>renderGroup</code> is not provided.", "typeDescriptions": { "options": "The options to group." } }, "id": { "description": "This prop is used to help implement the accessibility logic. If you don&#39;t provide an id it will fall back to a randomly generated one." }, "inputValue": { "description": "The input value." }, "isOptionEqualToValue": { "description": "Used to determine if the option represents the given value. Uses strict equality by default. ⚠️ Both arguments need to be handled, an option can only match with one value.", "typeDescriptions": { "option": "The option to test.", "value": "The value to test against." } }, "limitTags": { "description": "The maximum number of tags that will be visible when not focused. Set <code>-1</code> to disable the limit." }, "loading": { "description": "If <code>true</code>, the component is in a loading state. This shows the <code>loadingText</code> in place of suggestions (only if there are no suggestions to show, e.g. <code>options</code> are empty)." }, "loadingText": { "description": "Text to display when in a loading state.<br>For localization purposes, you can use the provided <a href=\"/material-ui/guides/localization/\">translations</a>." }, "multiple": { "description": "If <code>true</code>, <code>value</code> must be an array and the menu will support multiple selections." }, "name": { "description": "Name attribute of the <code>input</code> element." }, "noOptionsText": { "description": "Text to display when there are no options.<br>For localization purposes, you can use the provided <a href=\"/material-ui/guides/localization/\">translations</a>." }, "onChange": { "description": "Callback fired when the value changes.", "typeDescriptions": { "event": "The event source of the callback.", "value": "The new value of the component.", "reason": "One of &quot;createOption&quot;, &quot;selectOption&quot;, &quot;removeOption&quot;, &quot;blur&quot; or &quot;clear&quot;." } }, "onClose": { "description": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", "typeDescriptions": { "event": "The event source of the callback.", "reason": "Can be: <code>&quot;toggleInput&quot;</code>, <code>&quot;escape&quot;</code>, <code>&quot;selectOption&quot;</code>, <code>&quot;removeOption&quot;</code>, <code>&quot;blur&quot;</code>." } }, "onHighlightChange": { "description": "Callback fired when the highlight option changes.", "typeDescriptions": { "event": "The event source of the callback.", "option": "The highlighted option.", "reason": "Can be: <code>&quot;keyboard&quot;</code>, <code>&quot;auto&quot;</code>, <code>&quot;mouse&quot;</code>, <code>&quot;touch&quot;</code>." } }, "onInputChange": { "description": "Callback fired when the input value changes.", "typeDescriptions": { "event": "The event source of the callback.", "value": "The new value of the text input.", "reason": "Can be: <code>&quot;input&quot;</code> (user input), <code>&quot;reset&quot;</code> (programmatic change), <code>&quot;clear&quot;</code>." } }, "onOpen": { "description": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", "typeDescriptions": { "event": "The event source of the callback." } }, "open": { "description": "If <code>true</code>, the component is shown." }, "openText": { "description": "Override the default text for the <em>open popup</em> icon button.<br>For localization purposes, you can use the provided <a href=\"/material-ui/guides/localization/\">translations</a>." }, "options": { "description": "Array of options." }, "placeholder": { "description": "The input placeholder" }, "popupIcon": { "description": "The icon to display in place of the default popup icon." }, "readOnly": { "description": "If <code>true</code>, the component becomes readonly. It is also supported for multiple tags where the tag cannot be deleted." }, "renderGroup": { "description": "Render the group.", "typeDescriptions": { "params": "The group to render." } }, "renderOption": { "description": "Render the option, use <code>getOptionLabel</code> by default.", "typeDescriptions": { "props": "The props to apply on the li element.", "option": "The option to render.", "state": "The state of the component." } }, "renderTags": { "description": "Render the selected value.", "typeDescriptions": { "value": "The <code>value</code> provided to the component.", "getTagProps": "A tag props getter.", "ownerState": "The state of the Autocomplete component." } }, "required": { "description": "If <code>true</code>, the <code>input</code> element is required. The prop defaults to the value (<code>false</code>) inherited from the parent FormControl component." }, "size": { "description": "The size of the component." }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "startDecorator": { "description": "Leading adornment for this input." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "type": { "description": "Type of the <code>input</code> element. It should be <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types\">a valid HTML5 input type</a>." }, "value": { "description": "The value of the autocomplete.<br>The value must have reference equality with the option in order to be selected. You can customize the equality behavior with the <code>isOptionEqualToValue</code> prop." }, "variant": { "description": "The <a href=\"https://mui.com/joy-ui/main-features/global-variants/\">global variant</a> to use." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "wrapper": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the wrapper element" }, "input": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the input element" }, "startDecorator": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the startDecorator element" }, "endDecorator": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the endDecorator element" }, "formControl": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "the component is a descendant of <code>FormControl</code>" }, "focused": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "the component is focused" }, "disabled": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>disabled={true}</code>" }, "error": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>error={true}</code>" }, "multiple": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the wrapper element", "conditions": "<code>multiple={true}</code>" }, "limitTag": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the limitTag element" }, "hasPopupIcon": { "description": "Class name applied when the popup icon is rendered." }, "hasClearIcon": { "description": "Class name applied when the clear icon is rendered." }, "clearIndicator": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the clear indicator" }, "popupIndicator": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the popup indicator" }, "popupIndicatorOpen": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the popup indicator", "conditions": "the popup is open" }, "listbox": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the listbox component" }, "option": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the option component" }, "loading": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the loading wrapper" }, "noOptions": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the no option wrapper" }, "colorPrimary": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"primary\"</code>" }, "colorNeutral": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"neutral\"</code>" }, "colorDanger": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"danger\"</code>" }, "colorSuccess": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"success\"</code>" }, "colorWarning": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"warning\"</code>" }, "colorContext": { "description": "Class name applied to {{nodeName}} when {{conditions}}.", "nodeName": "the root element", "conditions": "color inversion is triggered" }, "sizeSm": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"sm\"</code>" }, "sizeMd": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"md\"</code>" }, "sizeLg": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"lg\"</code>" }, "variantPlain": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"plain\"</code>" }, "variantOutlined": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"outlined\"</code>" }, "variantSoft": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"soft\"</code>" }, "variantSolid": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"solid\"</code>" } }, "slotDescriptions": { "root": "The component that renders the root.", "wrapper": "The component that renders the wrapper.", "input": "The component that renders the input.", "startDecorator": "The component that renders the start decorator.", "endDecorator": "The component that renders the end decorator.", "clearIndicator": "The component that renders the clear indicator.", "popupIndicator": "The component that renders the popup indicator.", "listbox": "The component that renders the listbox.", "option": "The component that renders the option.", "loading": "The component that renders the loading.", "noOptions": "The component that renders the no-options.", "limitTag": "The component that renders the limit tag." } }
5,496
0
petrpan-code/mui/material-ui/docs/translations/api-docs-joy
petrpan-code/mui/material-ui/docs/translations/api-docs-joy/avatar-group/avatar-group.json
{ "componentDescription": "", "propDescriptions": { "children": { "description": "Used to render icon or text elements inside the AvatarGroup if <code>src</code> is not set. This can be an element, or just a string." }, "color": { "description": "The color of the component. It supports those theme colors that make sense for this component." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "size": { "description": "The size of the component. It accepts theme values between &#39;sm&#39; and &#39;lg&#39;." }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "variant": { "description": "The <a href=\"https://mui.com/joy-ui/main-features/global-variants/\">global variant</a> to use." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." } }, "slotDescriptions": { "root": "The component that renders the root." } }
5,497
0
petrpan-code/mui/material-ui/docs/translations/api-docs-joy
petrpan-code/mui/material-ui/docs/translations/api-docs-joy/avatar/avatar.json
{ "componentDescription": "", "propDescriptions": { "alt": { "description": "Used in combination with <code>src</code> or <code>srcSet</code> to provide an alt attribute for the rendered <code>img</code> element." }, "children": { "description": "Used to render icon or text elements inside the Avatar if <code>src</code> is not set. This can be an element, or just a string." }, "color": { "description": "The color of the component. It supports those theme colors that make sense for this component." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "size": { "description": "The size of the component. It accepts theme values between &#39;sm&#39; and &#39;lg&#39;." }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "src": { "description": "The <code>src</code> attribute for the <code>img</code> element." }, "srcSet": { "description": "The <code>srcSet</code> attribute for the <code>img</code> element. Use this attribute for responsive image display." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "variant": { "description": "The <a href=\"https://mui.com/joy-ui/main-features/global-variants/\">global variant</a> to use." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "colorPrimary": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"primary\"</code>" }, "colorNeutral": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"neutral\"</code>" }, "colorDanger": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"danger\"</code>" }, "colorSuccess": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"success\"</code>" }, "colorWarning": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>color=\"warning\"</code>" }, "colorContext": { "description": "Class name applied to {{nodeName}} when {{conditions}}.", "nodeName": "the root element", "conditions": "color inversion is triggered" }, "fallback": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the fallback icon" }, "sizeSm": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"sm\"</code>" }, "sizeMd": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"md\"</code>" }, "sizeLg": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>size=\"lg\"</code>" }, "img": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the img element", "conditions": "either <code>src</code> or <code>srcSet</code> is defined" }, "variantOutlined": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"outlined\"</code>" }, "variantSoft": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"soft\"</code>" }, "variantSolid": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"solid\"</code>" } }, "slotDescriptions": { "root": "The component that renders the root.", "img": "The component that renders the img.", "fallback": "The component that renders the fallback." } }
5,498
0
petrpan-code/mui/material-ui/docs/translations/api-docs-joy
petrpan-code/mui/material-ui/docs/translations/api-docs-joy/badge/badge.json
{ "componentDescription": "", "propDescriptions": { "anchorOrigin": { "description": "The anchor of the badge." }, "badgeContent": { "description": "The content rendered within the badge." }, "badgeInset": { "description": "The inset of the badge. Support shorthand syntax as described in <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/inset\">https://developer.mozilla.org/en-US/docs/Web/CSS/inset</a>." }, "children": { "description": "The badge will be added relative to this node." }, "color": { "description": "The color of the component. It supports those theme colors that make sense for this component." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "invisible": { "description": "If <code>true</code>, the badge is invisible." }, "max": { "description": "Max count to show." }, "showZero": { "description": "Controls whether the badge is hidden when <code>badgeContent</code> is zero." }, "size": { "description": "The size of the component." }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "variant": { "description": "The <a href=\"https://mui.com/joy-ui/main-features/global-variants/\">global variant</a> to use." } }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, "badge": { "description": "Class name applied to {{nodeName}}.", "nodeName": "the badge <code>span</code> element" }, "anchorOriginTopRight": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>anchorOrigin={{ 'top', 'right' }}</code>" }, "anchorOriginBottomRight": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>anchorOrigin={{ 'bottom', 'right' }}</code>" }, "anchorOriginTopLeft": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>anchorOrigin={{ 'top', 'left' }}</code>" }, "anchorOriginBottomLeft": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>anchorOrigin={{ 'bottom', 'left' }}</code>" }, "colorPrimary": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>color=\"primary\"</code>" }, "colorDanger": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>color=\"danger\"</code>" }, "colorNeutral": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>color=\"neutral\"</code>" }, "colorSuccess": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>color=\"success\"</code>" }, "colorWarning": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>color=\"warning\"</code>" }, "colorContext": { "description": "Class name applied to {{nodeName}} when {{conditions}}.", "nodeName": "the root element", "conditions": "color inversion is triggered" }, "invisible": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>invisible={true}</code>" }, "locationInside": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>location=\"inside\"</code>" }, "locationOutside": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>location=\"outside\"</code>" }, "sizeSm": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>size=\"sm\"</code>" }, "sizeMd": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>size=\"md\"</code>" }, "sizeLg": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>size=\"lg\"</code>" }, "variantPlain": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"plain\"</code>" }, "variantOutlined": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>variant=\"outlined\"</code>" }, "variantSoft": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>variant=\"soft\"</code>" }, "variantSolid": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the badge <code>span</code> element", "conditions": "<code>variant=\"solid\"</code>" } }, "slotDescriptions": { "root": "The component that renders the root.", "badge": "The component that renders the badge." } }
5,499