From b667663dff3fa5de60be2f86bad525273e070df9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dudak?= Date: Wed, 6 Sep 2023 10:24:58 +0200 Subject: [PATCH] Update the proptypes warning message --- packages/mui-base/src/Badge/Badge.tsx | 8 ++++---- packages/mui-base/src/Button/Button.tsx | 8 ++++---- .../src/ClickAwayListener/ClickAwayListener.tsx | 8 ++++---- packages/mui-base/src/Dropdown/Dropdown.tsx | 8 ++++---- packages/mui-base/src/FocusTrap/FocusTrap.tsx | 8 ++++---- packages/mui-base/src/FormControl/FormControl.tsx | 8 ++++---- packages/mui-base/src/Input/Input.tsx | 8 ++++---- packages/mui-base/src/Menu/Menu.tsx | 8 ++++---- packages/mui-base/src/MenuButton/MenuButton.tsx | 8 ++++---- packages/mui-base/src/MenuItem/MenuItem.tsx | 8 ++++---- packages/mui-base/src/Modal/Modal.tsx | 8 ++++---- packages/mui-base/src/NoSsr/NoSsr.tsx | 8 ++++---- packages/mui-base/src/OptionGroup/OptionGroup.tsx | 8 ++++---- packages/mui-base/src/Popper/Popper.tsx | 8 ++++---- packages/mui-base/src/Select/Select.tsx | 8 ++++---- packages/mui-base/src/Slider/Slider.tsx | 8 ++++---- packages/mui-base/src/Snackbar/Snackbar.tsx | 8 ++++---- packages/mui-base/src/Switch/Switch.tsx | 8 ++++---- packages/mui-base/src/Tab/Tab.tsx | 8 ++++---- packages/mui-base/src/TabPanel/TabPanel.tsx | 8 ++++---- .../mui-base/src/TablePagination/TablePagination.tsx | 8 ++++---- packages/mui-base/src/Tabs/Tabs.tsx | 8 ++++---- packages/mui-base/src/TabsList/TabsList.tsx | 8 ++++---- .../mui-base/src/Unstable_NumberInput/NumberInput.tsx | 8 ++++---- packages/mui-base/src/Unstable_Popup/Popup.tsx | 8 ++++---- packages/mui-joy/src/Accordion/Accordion.tsx | 8 ++++---- .../mui-joy/src/AccordionDetails/AccordionDetails.tsx | 8 ++++---- packages/mui-joy/src/AccordionGroup/AccordionGroup.tsx | 8 ++++---- .../mui-joy/src/AccordionSummary/AccordionSummary.tsx | 8 ++++---- packages/mui-joy/src/Alert/Alert.tsx | 8 ++++---- packages/mui-joy/src/AspectRatio/AspectRatio.tsx | 8 ++++---- packages/mui-joy/src/Autocomplete/Autocomplete.tsx | 8 ++++---- .../src/AutocompleteListbox/AutocompleteListbox.tsx | 8 ++++---- .../src/AutocompleteOption/AutocompleteOption.tsx | 8 ++++---- packages/mui-joy/src/Avatar/Avatar.tsx | 8 ++++---- packages/mui-joy/src/AvatarGroup/AvatarGroup.tsx | 8 ++++---- packages/mui-joy/src/Badge/Badge.tsx | 8 ++++---- packages/mui-joy/src/Breadcrumbs/Breadcrumbs.tsx | 8 ++++---- packages/mui-joy/src/Button/Button.tsx | 8 ++++---- packages/mui-joy/src/ButtonGroup/ButtonGroup.tsx | 8 ++++---- packages/mui-joy/src/Card/Card.tsx | 8 ++++---- packages/mui-joy/src/CardActions/CardActions.tsx | 8 ++++---- packages/mui-joy/src/CardContent/CardContent.tsx | 8 ++++---- packages/mui-joy/src/CardCover/CardCover.tsx | 8 ++++---- packages/mui-joy/src/CardOverflow/CardOverflow.tsx | 8 ++++---- packages/mui-joy/src/Checkbox/Checkbox.tsx | 8 ++++---- packages/mui-joy/src/Chip/Chip.tsx | 8 ++++---- packages/mui-joy/src/ChipDelete/ChipDelete.tsx | 8 ++++---- .../mui-joy/src/CircularProgress/CircularProgress.tsx | 8 ++++---- packages/mui-joy/src/Container/Container.tsx | 8 ++++---- packages/mui-joy/src/CssBaseline/CssBaseline.tsx | 8 ++++---- packages/mui-joy/src/Divider/Divider.tsx | 8 ++++---- packages/mui-joy/src/FormControl/FormControl.tsx | 8 ++++---- packages/mui-joy/src/FormHelperText/FormHelperText.tsx | 8 ++++---- packages/mui-joy/src/FormLabel/FormLabel.tsx | 8 ++++---- packages/mui-joy/src/Grid/Grid.tsx | 8 ++++---- packages/mui-joy/src/IconButton/IconButton.tsx | 8 ++++---- packages/mui-joy/src/Input/Input.tsx | 8 ++++---- packages/mui-joy/src/LinearProgress/LinearProgress.tsx | 8 ++++---- packages/mui-joy/src/Link/Link.tsx | 8 ++++---- packages/mui-joy/src/List/List.tsx | 8 ++++---- packages/mui-joy/src/ListDivider/ListDivider.tsx | 8 ++++---- packages/mui-joy/src/ListItem/ListItem.tsx | 8 ++++---- packages/mui-joy/src/ListItemButton/ListItemButton.tsx | 8 ++++---- .../mui-joy/src/ListItemContent/ListItemContent.tsx | 8 ++++---- .../src/ListItemDecorator/ListItemDecorator.tsx | 8 ++++---- packages/mui-joy/src/ListSubheader/ListSubheader.tsx | 8 ++++---- packages/mui-joy/src/Menu/Menu.tsx | 8 ++++---- packages/mui-joy/src/MenuButton/MenuButton.tsx | 8 ++++---- packages/mui-joy/src/MenuItem/MenuItem.tsx | 8 ++++---- packages/mui-joy/src/MenuList/MenuList.tsx | 8 ++++---- packages/mui-joy/src/Modal/Modal.tsx | 8 ++++---- packages/mui-joy/src/ModalClose/ModalClose.tsx | 8 ++++---- packages/mui-joy/src/ModalDialog/ModalDialog.tsx | 8 ++++---- packages/mui-joy/src/ModalOverflow/ModalOverflow.tsx | 8 ++++---- packages/mui-joy/src/Option/Option.tsx | 8 ++++---- packages/mui-joy/src/Radio/Radio.tsx | 8 ++++---- packages/mui-joy/src/RadioGroup/RadioGroup.tsx | 8 ++++---- .../src/ScopedCssBaseline/ScopedCssBaseline.tsx | 8 ++++---- packages/mui-joy/src/Select/Select.tsx | 8 ++++---- packages/mui-joy/src/Sheet/Sheet.tsx | 8 ++++---- packages/mui-joy/src/Skeleton/Skeleton.tsx | 8 ++++---- packages/mui-joy/src/Slider/Slider.tsx | 8 ++++---- packages/mui-joy/src/Stack/Stack.tsx | 8 ++++---- packages/mui-joy/src/SvgIcon/SvgIcon.tsx | 8 ++++---- packages/mui-joy/src/Switch/Switch.tsx | 8 ++++---- packages/mui-joy/src/Tab/Tab.tsx | 8 ++++---- packages/mui-joy/src/TabList/TabList.tsx | 8 ++++---- packages/mui-joy/src/TabPanel/TabPanel.tsx | 8 ++++---- packages/mui-joy/src/Table/Table.tsx | 8 ++++---- packages/mui-joy/src/Tabs/Tabs.tsx | 8 ++++---- packages/mui-joy/src/Textarea/Textarea.tsx | 8 ++++---- .../src/ToggleButtonGroup/ToggleButtonGroup.tsx | 8 ++++---- packages/mui-joy/src/Tooltip/Tooltip.tsx | 8 ++++---- packages/mui-joy/src/Typography/Typography.tsx | 8 ++++---- packages/mui-lab/src/LoadingButton/LoadingButton.js | 8 ++++---- packages/mui-lab/src/Masonry/Masonry.js | 8 ++++---- packages/mui-lab/src/TabContext/TabContext.js | 8 ++++---- packages/mui-lab/src/TabList/TabList.js | 8 ++++---- packages/mui-lab/src/TabPanel/TabPanel.js | 8 ++++---- .../mui-lab/src/TimelineConnector/TimelineConnector.js | 8 ++++---- .../mui-lab/src/TimelineContent/TimelineContent.js | 8 ++++---- packages/mui-lab/src/TimelineDot/TimelineDot.js | 8 ++++---- packages/mui-lab/src/TimelineItem/TimelineItem.js | 8 ++++---- .../TimelineOppositeContent/TimelineOppositeContent.js | 8 ++++---- .../mui-lab/src/TimelineSeparator/TimelineSeparator.js | 8 ++++---- packages/mui-lab/src/TreeItem/TreeItem.tsx | 8 ++++---- packages/mui-lab/src/TreeView/TreeView.tsx | 8 ++++---- packages/mui-material-next/src/Badge/Badge.tsx | 8 ++++---- packages/mui-material-next/src/Button/Button.tsx | 8 ++++---- .../mui-material-next/src/ButtonBase/ButtonBase.tsx | 8 ++++---- packages/mui-material-next/src/Chip/Chip.js | 8 ++++---- packages/mui-material-next/src/Input/Input.js | 8 ++++---- packages/mui-material-next/src/InputBase/InputBase.tsx | 8 ++++---- packages/mui-material-next/src/Slider/Slider.tsx | 8 ++++---- packages/mui-material-next/src/Tab/Tab.js | 8 ++++---- .../src/TabScrollButton/TabScrollButton.js | 8 ++++---- .../src/TablePagination/TablePagination.js | 8 ++++---- packages/mui-material-next/src/Tabs/Tabs.js | 8 ++++---- packages/mui-material/src/Accordion/Accordion.js | 8 ++++---- .../src/AccordionActions/AccordionActions.js | 8 ++++---- .../src/AccordionDetails/AccordionDetails.js | 8 ++++---- .../src/AccordionSummary/AccordionSummary.js | 8 ++++---- packages/mui-material/src/Alert/Alert.js | 8 ++++---- packages/mui-material/src/AlertTitle/AlertTitle.js | 8 ++++---- packages/mui-material/src/AppBar/AppBar.js | 8 ++++---- packages/mui-material/src/Autocomplete/Autocomplete.js | 8 ++++---- packages/mui-material/src/Avatar/Avatar.js | 8 ++++---- packages/mui-material/src/AvatarGroup/AvatarGroup.js | 8 ++++---- packages/mui-material/src/Backdrop/Backdrop.js | 8 ++++---- packages/mui-material/src/Badge/Badge.js | 8 ++++---- .../src/BottomNavigation/BottomNavigation.js | 8 ++++---- .../BottomNavigationAction/BottomNavigationAction.js | 8 ++++---- packages/mui-material/src/Box/Box.js | 8 ++++---- packages/mui-material/src/Breadcrumbs/Breadcrumbs.js | 8 ++++---- packages/mui-material/src/Button/Button.js | 8 ++++---- packages/mui-material/src/ButtonBase/ButtonBase.js | 8 ++++---- packages/mui-material/src/ButtonGroup/ButtonGroup.js | 8 ++++---- packages/mui-material/src/Card/Card.js | 8 ++++---- .../mui-material/src/CardActionArea/CardActionArea.js | 8 ++++---- packages/mui-material/src/CardActions/CardActions.js | 8 ++++---- packages/mui-material/src/CardContent/CardContent.js | 8 ++++---- packages/mui-material/src/CardHeader/CardHeader.js | 8 ++++---- packages/mui-material/src/CardMedia/CardMedia.js | 8 ++++---- packages/mui-material/src/Checkbox/Checkbox.js | 8 ++++---- packages/mui-material/src/Chip/Chip.js | 8 ++++---- .../src/CircularProgress/CircularProgress.js | 8 ++++---- packages/mui-material/src/Collapse/Collapse.js | 8 ++++---- packages/mui-material/src/Container/Container.js | 8 ++++---- packages/mui-material/src/CssBaseline/CssBaseline.js | 8 ++++---- packages/mui-material/src/Dialog/Dialog.js | 8 ++++---- .../mui-material/src/DialogActions/DialogActions.js | 8 ++++---- .../mui-material/src/DialogContent/DialogContent.js | 8 ++++---- .../src/DialogContentText/DialogContentText.js | 8 ++++---- packages/mui-material/src/DialogTitle/DialogTitle.js | 8 ++++---- packages/mui-material/src/Divider/Divider.js | 8 ++++---- packages/mui-material/src/Drawer/Drawer.js | 8 ++++---- packages/mui-material/src/Fab/Fab.js | 8 ++++---- packages/mui-material/src/Fade/Fade.js | 8 ++++---- packages/mui-material/src/FilledInput/FilledInput.js | 8 ++++---- packages/mui-material/src/FormControl/FormControl.js | 8 ++++---- .../src/FormControlLabel/FormControlLabel.js | 8 ++++---- packages/mui-material/src/FormGroup/FormGroup.js | 8 ++++---- .../mui-material/src/FormHelperText/FormHelperText.js | 8 ++++---- packages/mui-material/src/FormLabel/FormLabel.js | 8 ++++---- packages/mui-material/src/GlobalStyles/GlobalStyles.js | 8 ++++---- packages/mui-material/src/Grid/Grid.js | 8 ++++---- packages/mui-material/src/Grow/Grow.js | 8 ++++---- packages/mui-material/src/Hidden/Hidden.js | 8 ++++---- packages/mui-material/src/Icon/Icon.js | 8 ++++---- packages/mui-material/src/IconButton/IconButton.js | 8 ++++---- packages/mui-material/src/ImageList/ImageList.js | 8 ++++---- .../mui-material/src/ImageListItem/ImageListItem.js | 8 ++++---- .../src/ImageListItemBar/ImageListItemBar.js | 8 ++++---- packages/mui-material/src/Input/Input.js | 8 ++++---- .../mui-material/src/InputAdornment/InputAdornment.js | 8 ++++---- packages/mui-material/src/InputBase/InputBase.js | 8 ++++---- packages/mui-material/src/InputLabel/InputLabel.js | 8 ++++---- .../mui-material/src/LinearProgress/LinearProgress.js | 8 ++++---- packages/mui-material/src/Link/Link.js | 8 ++++---- packages/mui-material/src/List/List.js | 8 ++++---- packages/mui-material/src/ListItem/ListItem.js | 8 ++++---- .../mui-material/src/ListItemAvatar/ListItemAvatar.js | 8 ++++---- .../mui-material/src/ListItemButton/ListItemButton.js | 8 ++++---- packages/mui-material/src/ListItemIcon/ListItemIcon.js | 8 ++++---- .../ListItemSecondaryAction/ListItemSecondaryAction.js | 8 ++++---- packages/mui-material/src/ListItemText/ListItemText.js | 8 ++++---- .../mui-material/src/ListSubheader/ListSubheader.js | 8 ++++---- packages/mui-material/src/Menu/Menu.js | 8 ++++---- packages/mui-material/src/MenuItem/MenuItem.js | 8 ++++---- packages/mui-material/src/MenuList/MenuList.js | 8 ++++---- .../mui-material/src/MobileStepper/MobileStepper.js | 8 ++++---- packages/mui-material/src/Modal/Modal.js | 8 ++++---- packages/mui-material/src/NativeSelect/NativeSelect.js | 8 ++++---- .../mui-material/src/OutlinedInput/OutlinedInput.js | 8 ++++---- packages/mui-material/src/Pagination/Pagination.js | 8 ++++---- .../mui-material/src/PaginationItem/PaginationItem.js | 8 ++++---- packages/mui-material/src/Paper/Paper.js | 8 ++++---- packages/mui-material/src/Popover/Popover.js | 8 ++++---- packages/mui-material/src/Radio/Radio.js | 8 ++++---- packages/mui-material/src/RadioGroup/RadioGroup.js | 8 ++++---- packages/mui-material/src/Rating/Rating.js | 8 ++++---- .../src/ScopedCssBaseline/ScopedCssBaseline.js | 8 ++++---- packages/mui-material/src/Select/Select.js | 8 ++++---- packages/mui-material/src/Skeleton/Skeleton.js | 8 ++++---- packages/mui-material/src/Slide/Slide.js | 8 ++++---- packages/mui-material/src/Slider/Slider.js | 8 ++++---- packages/mui-material/src/Snackbar/Snackbar.js | 8 ++++---- .../src/SnackbarContent/SnackbarContent.js | 8 ++++---- packages/mui-material/src/SpeedDial/SpeedDial.js | 8 ++++---- .../src/SpeedDialAction/SpeedDialAction.js | 8 ++++---- .../mui-material/src/SpeedDialIcon/SpeedDialIcon.js | 8 ++++---- packages/mui-material/src/Stack/Stack.js | 8 ++++---- packages/mui-material/src/Step/Step.js | 8 ++++---- packages/mui-material/src/StepButton/StepButton.js | 8 ++++---- .../mui-material/src/StepConnector/StepConnector.js | 8 ++++---- packages/mui-material/src/StepContent/StepContent.js | 8 ++++---- packages/mui-material/src/StepIcon/StepIcon.js | 8 ++++---- packages/mui-material/src/StepLabel/StepLabel.js | 8 ++++---- packages/mui-material/src/Stepper/Stepper.js | 8 ++++---- packages/mui-material/src/SvgIcon/SvgIcon.js | 8 ++++---- .../src/SwipeableDrawer/SwipeableDrawer.js | 8 ++++---- packages/mui-material/src/Switch/Switch.js | 8 ++++---- packages/mui-material/src/Tab/Tab.js | 8 ++++---- .../src/TabScrollButton/TabScrollButton.js | 8 ++++---- packages/mui-material/src/Table/Table.js | 8 ++++---- packages/mui-material/src/TableBody/TableBody.js | 8 ++++---- packages/mui-material/src/TableCell/TableCell.js | 8 ++++---- .../mui-material/src/TableContainer/TableContainer.js | 8 ++++---- packages/mui-material/src/TableFooter/TableFooter.js | 8 ++++---- packages/mui-material/src/TableHead/TableHead.js | 8 ++++---- .../src/TablePagination/TablePagination.js | 8 ++++---- packages/mui-material/src/TableRow/TableRow.js | 8 ++++---- .../mui-material/src/TableSortLabel/TableSortLabel.js | 8 ++++---- packages/mui-material/src/Tabs/Tabs.js | 8 ++++---- packages/mui-material/src/TextField/TextField.js | 8 ++++---- packages/mui-material/src/ToggleButton/ToggleButton.js | 8 ++++---- .../src/ToggleButtonGroup/ToggleButtonGroup.js | 8 ++++---- packages/mui-material/src/Toolbar/Toolbar.js | 8 ++++---- packages/mui-material/src/Tooltip/Tooltip.js | 8 ++++---- packages/mui-material/src/Typography/Typography.js | 8 ++++---- packages/mui-material/src/Unstable_Grid2/Grid2.tsx | 8 ++++---- packages/mui-material/src/Zoom/Zoom.js | 8 ++++---- packages/mui-system/src/Box/Box.js | 8 ++++---- packages/mui-system/src/Container/Container.tsx | 8 ++++---- packages/mui-system/src/GlobalStyles/GlobalStyles.tsx | 8 ++++---- packages/mui-system/src/Stack/Stack.tsx | 8 ++++---- packages/mui-system/src/ThemeProvider/ThemeProvider.js | 8 ++++---- packages/mui-system/src/Unstable_Grid/Grid.tsx | 8 ++++---- scripts/generateProptypes.ts | 10 +++++----- 250 files changed, 1001 insertions(+), 1001 deletions(-) diff --git a/packages/mui-base/src/Badge/Badge.tsx b/packages/mui-base/src/Badge/Badge.tsx index b7fd5959e27e21..92b7863b79a0a8 100644 --- a/packages/mui-base/src/Badge/Badge.tsx +++ b/packages/mui-base/src/Badge/Badge.tsx @@ -94,10 +94,10 @@ const Badge = React.forwardRef(function Badge; Badge.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content rendered within the badge. */ diff --git a/packages/mui-base/src/Button/Button.tsx b/packages/mui-base/src/Button/Button.tsx index 88c8b5dfc862d8..8b3cdb1f779ef8 100644 --- a/packages/mui-base/src/Button/Button.tsx +++ b/packages/mui-base/src/Button/Button.tsx @@ -90,10 +90,10 @@ const Button = React.forwardRef(function Button; Button.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A ref for imperative actions. It currently only supports `focusVisible()` action. */ diff --git a/packages/mui-base/src/ClickAwayListener/ClickAwayListener.tsx b/packages/mui-base/src/ClickAwayListener/ClickAwayListener.tsx index 01e30357fa1a6a..dbdfcee7f097d1 100644 --- a/packages/mui-base/src/ClickAwayListener/ClickAwayListener.tsx +++ b/packages/mui-base/src/ClickAwayListener/ClickAwayListener.tsx @@ -216,10 +216,10 @@ function ClickAwayListener(props: ClickAwayListenerProps): JSX.Element { } ClickAwayListener.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The wrapped element. */ diff --git a/packages/mui-base/src/Dropdown/Dropdown.tsx b/packages/mui-base/src/Dropdown/Dropdown.tsx index 0aaf2853340477..0419a72ce3134a 100644 --- a/packages/mui-base/src/Dropdown/Dropdown.tsx +++ b/packages/mui-base/src/Dropdown/Dropdown.tsx @@ -28,10 +28,10 @@ function Dropdown(props: DropdownProps) { } Dropdown.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-base/src/FocusTrap/FocusTrap.tsx b/packages/mui-base/src/FocusTrap/FocusTrap.tsx index 919fe6559b520f..591a13aa7644c0 100644 --- a/packages/mui-base/src/FocusTrap/FocusTrap.tsx +++ b/packages/mui-base/src/FocusTrap/FocusTrap.tsx @@ -365,10 +365,10 @@ function FocusTrap(props: FocusTrapProps): JSX.Element { } FocusTrap.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A single child content element. */ diff --git a/packages/mui-base/src/FormControl/FormControl.tsx b/packages/mui-base/src/FormControl/FormControl.tsx index 7c89b7c564f6eb..8ce51dd2709445 100644 --- a/packages/mui-base/src/FormControl/FormControl.tsx +++ b/packages/mui-base/src/FormControl/FormControl.tsx @@ -166,10 +166,10 @@ const FormControl = React.forwardRef(function FormControl< }) as PolymorphicComponent; FormControl.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-base/src/Input/Input.tsx b/packages/mui-base/src/Input/Input.tsx index aad0f1a3ed60ea..36aea9bb4e0fc0 100644 --- a/packages/mui-base/src/Input/Input.tsx +++ b/packages/mui-base/src/Input/Input.tsx @@ -189,10 +189,10 @@ const Input = React.forwardRef(function Input; Input.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-base/src/Menu/Menu.tsx b/packages/mui-base/src/Menu/Menu.tsx index e4155d7df49044..e1dcc861489d50 100644 --- a/packages/mui-base/src/Menu/Menu.tsx +++ b/packages/mui-base/src/Menu/Menu.tsx @@ -99,10 +99,10 @@ const Menu = React.forwardRef(function Menu; Menu.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A ref with imperative actions that can be performed on the menu. */ diff --git a/packages/mui-base/src/MenuButton/MenuButton.tsx b/packages/mui-base/src/MenuButton/MenuButton.tsx index 8ed9b48466110f..d7893fface2032 100644 --- a/packages/mui-base/src/MenuButton/MenuButton.tsx +++ b/packages/mui-base/src/MenuButton/MenuButton.tsx @@ -76,10 +76,10 @@ const MenuButton = React.forwardRef(function MenuButton( }); MenuButton.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-base/src/MenuItem/MenuItem.tsx b/packages/mui-base/src/MenuItem/MenuItem.tsx index 6b38a47205d68f..17111e1744c2ff 100644 --- a/packages/mui-base/src/MenuItem/MenuItem.tsx +++ b/packages/mui-base/src/MenuItem/MenuItem.tsx @@ -66,10 +66,10 @@ const MenuItem = React.forwardRef(function MenuItem; MenuItem.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-base/src/Modal/Modal.tsx b/packages/mui-base/src/Modal/Modal.tsx index 94499ece4a6be0..4610eb44bd5dca 100644 --- a/packages/mui-base/src/Modal/Modal.tsx +++ b/packages/mui-base/src/Modal/Modal.tsx @@ -181,10 +181,10 @@ const Modal = React.forwardRef(function Modal; Modal.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A single child content element. */ diff --git a/packages/mui-base/src/NoSsr/NoSsr.tsx b/packages/mui-base/src/NoSsr/NoSsr.tsx index 7fa549c6fc2c0d..e2abe25adfb3fd 100644 --- a/packages/mui-base/src/NoSsr/NoSsr.tsx +++ b/packages/mui-base/src/NoSsr/NoSsr.tsx @@ -43,10 +43,10 @@ function NoSsr(props: NoSsrProps): JSX.Element { } NoSsr.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * You can wrap a node. */ diff --git a/packages/mui-base/src/OptionGroup/OptionGroup.tsx b/packages/mui-base/src/OptionGroup/OptionGroup.tsx index eebdf4f8eb21a9..3fb5814de498a6 100644 --- a/packages/mui-base/src/OptionGroup/OptionGroup.tsx +++ b/packages/mui-base/src/OptionGroup/OptionGroup.tsx @@ -80,10 +80,10 @@ const OptionGroup = React.forwardRef(function OptionGroup< }) as PolymorphicComponent; OptionGroup.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-base/src/Popper/Popper.tsx b/packages/mui-base/src/Popper/Popper.tsx index 187950f4de96ce..238f1bf1b10034 100644 --- a/packages/mui-base/src/Popper/Popper.tsx +++ b/packages/mui-base/src/Popper/Popper.tsx @@ -337,10 +337,10 @@ const Popper = React.forwardRef(function Popper; Popper.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/), * or a function that returns either. diff --git a/packages/mui-base/src/Select/Select.tsx b/packages/mui-base/src/Select/Select.tsx index 5cf881ccbff481..608759fdff51b0 100644 --- a/packages/mui-base/src/Select/Select.tsx +++ b/packages/mui-base/src/Select/Select.tsx @@ -224,10 +224,10 @@ const Select = React.forwardRef(function Select< }) as SelectType; Select.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A function used to determine if two options' values are equal. * By default, reference equality is used. diff --git a/packages/mui-base/src/Slider/Slider.tsx b/packages/mui-base/src/Slider/Slider.tsx index 3d7fde9dffff47..a3126f09b9b633 100644 --- a/packages/mui-base/src/Slider/Slider.tsx +++ b/packages/mui-base/src/Slider/Slider.tsx @@ -324,10 +324,10 @@ const Slider = React.forwardRef(function Slider; Slider.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The label of the slider. */ diff --git a/packages/mui-base/src/Snackbar/Snackbar.tsx b/packages/mui-base/src/Snackbar/Snackbar.tsx index 5618228a3ec50f..8c04b6b4f043ed 100644 --- a/packages/mui-base/src/Snackbar/Snackbar.tsx +++ b/packages/mui-base/src/Snackbar/Snackbar.tsx @@ -108,10 +108,10 @@ const Snackbar = React.forwardRef(function Snackbar; Snackbar.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The number of milliseconds to wait before automatically calling the * `onClose` function. `onClose` should then set the state of the `open` diff --git a/packages/mui-base/src/Switch/Switch.tsx b/packages/mui-base/src/Switch/Switch.tsx index 188490e88da2d6..b899c5cc2c2ce7 100644 --- a/packages/mui-base/src/Switch/Switch.tsx +++ b/packages/mui-base/src/Switch/Switch.tsx @@ -136,10 +136,10 @@ const Switch = React.forwardRef(function Switch; Switch.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * If `true`, the component is checked. */ diff --git a/packages/mui-base/src/Tab/Tab.tsx b/packages/mui-base/src/Tab/Tab.tsx index ad0548c2ab1a7b..1e87a3c1ec071e 100644 --- a/packages/mui-base/src/Tab/Tab.tsx +++ b/packages/mui-base/src/Tab/Tab.tsx @@ -80,10 +80,10 @@ const Tab = React.forwardRef(function Tab; Tab.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A ref for imperative actions. It currently only supports `focusVisible()` action. */ diff --git a/packages/mui-base/src/TabPanel/TabPanel.tsx b/packages/mui-base/src/TabPanel/TabPanel.tsx index 6a9464baf435b9..291b712291fbcb 100644 --- a/packages/mui-base/src/TabPanel/TabPanel.tsx +++ b/packages/mui-base/src/TabPanel/TabPanel.tsx @@ -65,10 +65,10 @@ const TabPanel = React.forwardRef(function TabPanel; TabPanel.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-base/src/TablePagination/TablePagination.tsx b/packages/mui-base/src/TablePagination/TablePagination.tsx index 455cafc46d60f9..f06db73e2b7a49 100644 --- a/packages/mui-base/src/TablePagination/TablePagination.tsx +++ b/packages/mui-base/src/TablePagination/TablePagination.tsx @@ -239,10 +239,10 @@ const TablePagination = React.forwardRef(function TablePagination< }) as PolymorphicComponent; TablePagination.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-base/src/Tabs/Tabs.tsx b/packages/mui-base/src/Tabs/Tabs.tsx index 5f26d44bfb17a8..ccf02e7f3dd7c7 100644 --- a/packages/mui-base/src/Tabs/Tabs.tsx +++ b/packages/mui-base/src/Tabs/Tabs.tsx @@ -76,10 +76,10 @@ const Tabs = React.forwardRef(function Tabs; Tabs.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-base/src/TabsList/TabsList.tsx b/packages/mui-base/src/TabsList/TabsList.tsx index d3b9da29526460..fa0d118174fe8a 100644 --- a/packages/mui-base/src/TabsList/TabsList.tsx +++ b/packages/mui-base/src/TabsList/TabsList.tsx @@ -70,10 +70,10 @@ const TabsList = React.forwardRef(function TabsList; TabsList.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-base/src/Unstable_NumberInput/NumberInput.tsx b/packages/mui-base/src/Unstable_NumberInput/NumberInput.tsx index e84ebb12c35a40..6ca8481f218a4e 100644 --- a/packages/mui-base/src/Unstable_NumberInput/NumberInput.tsx +++ b/packages/mui-base/src/Unstable_NumberInput/NumberInput.tsx @@ -181,10 +181,10 @@ const NumberInput = React.forwardRef(function NumberInput( }) as OverridableComponent; NumberInput.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-base/src/Unstable_Popup/Popup.tsx b/packages/mui-base/src/Unstable_Popup/Popup.tsx index 9cd8300ad50572..7bd367ef0bea31 100644 --- a/packages/mui-base/src/Unstable_Popup/Popup.tsx +++ b/packages/mui-base/src/Unstable_Popup/Popup.tsx @@ -154,10 +154,10 @@ const Popup = React.forwardRef(function Popup; Accordion.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The id to be used in the AccordionDetails which is controlled by the AccordionSummary. * If not provided, the id is autogenerated. diff --git a/packages/mui-joy/src/AccordionDetails/AccordionDetails.tsx b/packages/mui-joy/src/AccordionDetails/AccordionDetails.tsx index 66a1e23f2252e9..faa9ad8cb8292b 100644 --- a/packages/mui-joy/src/AccordionDetails/AccordionDetails.tsx +++ b/packages/mui-joy/src/AccordionDetails/AccordionDetails.tsx @@ -168,10 +168,10 @@ const AccordionDetails = React.forwardRef(function AccordionDetails(inProps, ref }) as OverridableComponent; AccordionDetails.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Used to render icon or text elements inside the AccordionDetails if `src` is not set. * This can be an element, or just a string. diff --git a/packages/mui-joy/src/AccordionGroup/AccordionGroup.tsx b/packages/mui-joy/src/AccordionGroup/AccordionGroup.tsx index 73733fd493be31..9d894b4eac8861 100644 --- a/packages/mui-joy/src/AccordionGroup/AccordionGroup.tsx +++ b/packages/mui-joy/src/AccordionGroup/AccordionGroup.tsx @@ -125,10 +125,10 @@ const AccordionGroup = React.forwardRef(function AccordionGroup(inProps, ref) { }) as OverridableComponent; AccordionGroup.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Used to render icon or text elements inside the AccordionGroup if `src` is not set. * This can be an element, or just a string. diff --git a/packages/mui-joy/src/AccordionSummary/AccordionSummary.tsx b/packages/mui-joy/src/AccordionSummary/AccordionSummary.tsx index 438933f69592ff..af4097e47f51b8 100644 --- a/packages/mui-joy/src/AccordionSummary/AccordionSummary.tsx +++ b/packages/mui-joy/src/AccordionSummary/AccordionSummary.tsx @@ -173,10 +173,10 @@ const AccordionSummary = React.forwardRef(function AccordionSummary(inProps, ref }) as OverridableComponent; AccordionSummary.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Used to render icon or text elements inside the AccordionSummary if `src` is not set. * This can be an element, or just a string. diff --git a/packages/mui-joy/src/Alert/Alert.tsx b/packages/mui-joy/src/Alert/Alert.tsx index da21c2be26427b..052251f321b7a4 100644 --- a/packages/mui-joy/src/Alert/Alert.tsx +++ b/packages/mui-joy/src/Alert/Alert.tsx @@ -197,10 +197,10 @@ const Alert = React.forwardRef(function Alert(inProps, ref) { }) as OverridableComponent; Alert.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-joy/src/AspectRatio/AspectRatio.tsx b/packages/mui-joy/src/AspectRatio/AspectRatio.tsx index ffa90345af1797..115f231c5f66ac 100644 --- a/packages/mui-joy/src/AspectRatio/AspectRatio.tsx +++ b/packages/mui-joy/src/AspectRatio/AspectRatio.tsx @@ -165,10 +165,10 @@ const AspectRatio = React.forwardRef(function AspectRatio(inProps, ref) { }) as OverridableComponent; AspectRatio.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Used to render icon or text elements inside the AspectRatio if `src` is not set. * This can be an element, or just a string. diff --git a/packages/mui-joy/src/Autocomplete/Autocomplete.tsx b/packages/mui-joy/src/Autocomplete/Autocomplete.tsx index a844295ee8547e..5bc4a43bff05c9 100644 --- a/packages/mui-joy/src/Autocomplete/Autocomplete.tsx +++ b/packages/mui-joy/src/Autocomplete/Autocomplete.tsx @@ -769,10 +769,10 @@ interface AutocompleteComponent { } Autocomplete.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Identifies the element (or elements) that describes the object. * @see aria-labelledby diff --git a/packages/mui-joy/src/AutocompleteListbox/AutocompleteListbox.tsx b/packages/mui-joy/src/AutocompleteListbox/AutocompleteListbox.tsx index 25e8fff5c3ee24..cc725cdd02919e 100644 --- a/packages/mui-joy/src/AutocompleteListbox/AutocompleteListbox.tsx +++ b/packages/mui-joy/src/AutocompleteListbox/AutocompleteListbox.tsx @@ -151,10 +151,10 @@ const AutocompleteListbox = React.forwardRef(function AutocompleteListbox(inProp }) as OverridableComponent; AutocompleteListbox.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-joy/src/AutocompleteOption/AutocompleteOption.tsx b/packages/mui-joy/src/AutocompleteOption/AutocompleteOption.tsx index 436fd6ffb55720..94e3b67bac8be9 100644 --- a/packages/mui-joy/src/AutocompleteOption/AutocompleteOption.tsx +++ b/packages/mui-joy/src/AutocompleteOption/AutocompleteOption.tsx @@ -101,10 +101,10 @@ const AutocompleteOption = React.forwardRef(function AutocompleteOption(inProps, }) as OverridableComponent; AutocompleteOption.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-joy/src/Avatar/Avatar.tsx b/packages/mui-joy/src/Avatar/Avatar.tsx index 2f04841d6cebb6..f855a3426e5fb8 100644 --- a/packages/mui-joy/src/Avatar/Avatar.tsx +++ b/packages/mui-joy/src/Avatar/Avatar.tsx @@ -238,10 +238,10 @@ const Avatar = React.forwardRef(function Avatar(inProps, ref) { }) as OverridableComponent; Avatar.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Used in combination with `src` or `srcSet` to * provide an alt attribute for the rendered `img` element. diff --git a/packages/mui-joy/src/AvatarGroup/AvatarGroup.tsx b/packages/mui-joy/src/AvatarGroup/AvatarGroup.tsx index b4eede7a013ae4..fdfbd949dcdd04 100644 --- a/packages/mui-joy/src/AvatarGroup/AvatarGroup.tsx +++ b/packages/mui-joy/src/AvatarGroup/AvatarGroup.tsx @@ -100,10 +100,10 @@ const AvatarGroup = React.forwardRef(function AvatarGroup(inProps, ref) { }) as OverridableComponent; AvatarGroup.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Used to render icon or text elements inside the AvatarGroup if `src` is not set. * This can be an element, or just a string. diff --git a/packages/mui-joy/src/Badge/Badge.tsx b/packages/mui-joy/src/Badge/Badge.tsx index af69e870c9e8f9..906eb91f9c9da3 100644 --- a/packages/mui-joy/src/Badge/Badge.tsx +++ b/packages/mui-joy/src/Badge/Badge.tsx @@ -228,10 +228,10 @@ const Badge = React.forwardRef(function Badge(inProps, ref) { }) as OverridableComponent; Badge.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The anchor of the badge. * @default { diff --git a/packages/mui-joy/src/Breadcrumbs/Breadcrumbs.tsx b/packages/mui-joy/src/Breadcrumbs/Breadcrumbs.tsx index 4c796dce4d3004..6acf3912409f11 100644 --- a/packages/mui-joy/src/Breadcrumbs/Breadcrumbs.tsx +++ b/packages/mui-joy/src/Breadcrumbs/Breadcrumbs.tsx @@ -187,10 +187,10 @@ const Breadcrumbs = React.forwardRef(function Breadcrumbs(inProps, ref) { }) as OverridableComponent; Breadcrumbs.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/Button/Button.tsx b/packages/mui-joy/src/Button/Button.tsx index 2f600217f2e6fd..7e011c582bbb2a 100644 --- a/packages/mui-joy/src/Button/Button.tsx +++ b/packages/mui-joy/src/Button/Button.tsx @@ -318,10 +318,10 @@ const Button = React.forwardRef(function Button(inProps, ref) { }) as ExtendButton; Button.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A ref for imperative actions. It currently only supports `focusVisible()` action. */ diff --git a/packages/mui-joy/src/ButtonGroup/ButtonGroup.tsx b/packages/mui-joy/src/ButtonGroup/ButtonGroup.tsx index eb1c282fd9bcdd..35dc676987a048 100644 --- a/packages/mui-joy/src/ButtonGroup/ButtonGroup.tsx +++ b/packages/mui-joy/src/ButtonGroup/ButtonGroup.tsx @@ -265,10 +265,10 @@ const ButtonGroup = React.forwardRef(function ButtonGroup(inProps, ref) { }) as OverridableComponent; ButtonGroup.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The flex value of the button. * @example buttonFlex={1} will set flex: '1 1 auto' on each button (stretch the button to equally fill the available space). diff --git a/packages/mui-joy/src/Card/Card.tsx b/packages/mui-joy/src/Card/Card.tsx index 1e5ad9fd602b15..664fd474b38178 100644 --- a/packages/mui-joy/src/Card/Card.tsx +++ b/packages/mui-joy/src/Card/Card.tsx @@ -189,10 +189,10 @@ const Card = React.forwardRef(function Card(inProps, ref) { }) as OverridableComponent; Card.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Used to render icon or text elements inside the Card if `src` is not set. * This can be an element, or just a string. diff --git a/packages/mui-joy/src/CardActions/CardActions.tsx b/packages/mui-joy/src/CardActions/CardActions.tsx index 07cb1a753fd9f2..d0944f96d56adc 100644 --- a/packages/mui-joy/src/CardActions/CardActions.tsx +++ b/packages/mui-joy/src/CardActions/CardActions.tsx @@ -113,10 +113,10 @@ const CardActions = React.forwardRef(function CardActions(inProps, ref) { }) as OverridableComponent; CardActions.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The CSS `flex` for the Button and its wrapper. */ diff --git a/packages/mui-joy/src/CardContent/CardContent.tsx b/packages/mui-joy/src/CardContent/CardContent.tsx index 60ef6e95766de4..932ea507fcb024 100644 --- a/packages/mui-joy/src/CardContent/CardContent.tsx +++ b/packages/mui-joy/src/CardContent/CardContent.tsx @@ -83,10 +83,10 @@ const CardContent = React.forwardRef(function CardContent(inProps, ref) { }) as OverridableComponent; CardContent.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Used to render icon or text elements inside the CardContent if `src` is not set. * This can be an element, or just a string. diff --git a/packages/mui-joy/src/CardCover/CardCover.tsx b/packages/mui-joy/src/CardCover/CardCover.tsx index 98ee6ef2951069..0a9d771b8016fe 100644 --- a/packages/mui-joy/src/CardCover/CardCover.tsx +++ b/packages/mui-joy/src/CardCover/CardCover.tsx @@ -96,10 +96,10 @@ const CardCover = React.forwardRef(function CardCover(inProps, ref) { }) as OverridableComponent; CardCover.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Used to render icon or text elements inside the CardCover if `src` is not set. * This can be an element, or just a string. diff --git a/packages/mui-joy/src/CardOverflow/CardOverflow.tsx b/packages/mui-joy/src/CardOverflow/CardOverflow.tsx index 63154c290ac58b..aaf23ccfa0f941 100644 --- a/packages/mui-joy/src/CardOverflow/CardOverflow.tsx +++ b/packages/mui-joy/src/CardOverflow/CardOverflow.tsx @@ -159,10 +159,10 @@ const CardOverflow = React.forwardRef(function CardOverflow(inProps, ref) { }) as OverridableComponent; CardOverflow.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Used to render icon or text elements inside the CardOverflow if `src` is not set. * This can be an element, or just a string. diff --git a/packages/mui-joy/src/Checkbox/Checkbox.tsx b/packages/mui-joy/src/Checkbox/Checkbox.tsx index 2e80b3bb3850d7..b3bbb82dbda96c 100644 --- a/packages/mui-joy/src/Checkbox/Checkbox.tsx +++ b/packages/mui-joy/src/Checkbox/Checkbox.tsx @@ -378,10 +378,10 @@ const Checkbox = React.forwardRef(function Checkbox(inProps, ref) { }) as OverridableComponent; Checkbox.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * If `true`, the component is checked. */ diff --git a/packages/mui-joy/src/Chip/Chip.tsx b/packages/mui-joy/src/Chip/Chip.tsx index 1209767f51335b..79b374169c91ef 100644 --- a/packages/mui-joy/src/Chip/Chip.tsx +++ b/packages/mui-joy/src/Chip/Chip.tsx @@ -331,10 +331,10 @@ const Chip = React.forwardRef(function Chip(inProps, ref) { }) as OverridableComponent; Chip.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/ChipDelete/ChipDelete.tsx b/packages/mui-joy/src/ChipDelete/ChipDelete.tsx index d0e565f3f33ddd..e3b1313010255e 100644 --- a/packages/mui-joy/src/ChipDelete/ChipDelete.tsx +++ b/packages/mui-joy/src/ChipDelete/ChipDelete.tsx @@ -142,10 +142,10 @@ const ChipDelete = React.forwardRef(function ChipDelete(inProps, ref) { }) as OverridableComponent; ChipDelete.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * If provided, it will replace the default icon. */ diff --git a/packages/mui-joy/src/CircularProgress/CircularProgress.tsx b/packages/mui-joy/src/CircularProgress/CircularProgress.tsx index 21a23f26a85c7d..ac3471c1f58c1a 100644 --- a/packages/mui-joy/src/CircularProgress/CircularProgress.tsx +++ b/packages/mui-joy/src/CircularProgress/CircularProgress.tsx @@ -296,10 +296,10 @@ const CircularProgress = React.forwardRef(function CircularProgress(inProps, ref }) as OverridableComponent; CircularProgress.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-joy/src/Container/Container.tsx b/packages/mui-joy/src/Container/Container.tsx index 8850e1067a02af..5364919b70a297 100644 --- a/packages/mui-joy/src/Container/Container.tsx +++ b/packages/mui-joy/src/Container/Container.tsx @@ -17,10 +17,10 @@ const Container = createContainer({ }) as OverridableComponent; Container.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-joy/src/CssBaseline/CssBaseline.tsx b/packages/mui-joy/src/CssBaseline/CssBaseline.tsx index 28c55788bd119e..34688782fa26ab 100644 --- a/packages/mui-joy/src/CssBaseline/CssBaseline.tsx +++ b/packages/mui-joy/src/CssBaseline/CssBaseline.tsx @@ -81,10 +81,10 @@ function CssBaseline(props: CssBaselineProps) { } CssBaseline.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * You can wrap a node. */ diff --git a/packages/mui-joy/src/Divider/Divider.tsx b/packages/mui-joy/src/Divider/Divider.tsx index 6331eea9716eed..f79be2e1452b62 100644 --- a/packages/mui-joy/src/Divider/Divider.tsx +++ b/packages/mui-joy/src/Divider/Divider.tsx @@ -149,10 +149,10 @@ const Divider = React.forwardRef(function Divider(inProps, ref) { }) as OverridableComponent; Divider.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/FormControl/FormControl.tsx b/packages/mui-joy/src/FormControl/FormControl.tsx index 539be8a1095c30..9b3ddddd7051b6 100644 --- a/packages/mui-joy/src/FormControl/FormControl.tsx +++ b/packages/mui-joy/src/FormControl/FormControl.tsx @@ -185,10 +185,10 @@ const FormControl = React.forwardRef(function FormControl(inProps, ref) { }) as OverridableComponent; FormControl.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/FormHelperText/FormHelperText.tsx b/packages/mui-joy/src/FormHelperText/FormHelperText.tsx index 2978fc53abb309..c0b47e67da6f62 100644 --- a/packages/mui-joy/src/FormHelperText/FormHelperText.tsx +++ b/packages/mui-joy/src/FormHelperText/FormHelperText.tsx @@ -89,10 +89,10 @@ const FormHelperText = React.forwardRef(function FormHelperText(inProps, ref) { }) as OverridableComponent; FormHelperText.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/FormLabel/FormLabel.tsx b/packages/mui-joy/src/FormLabel/FormLabel.tsx index b3be1ee9cb5ec5..7c41adeb002b99 100644 --- a/packages/mui-joy/src/FormLabel/FormLabel.tsx +++ b/packages/mui-joy/src/FormLabel/FormLabel.tsx @@ -103,10 +103,10 @@ const FormLabel = React.forwardRef(function FormLabel(inProps, ref) { }) as OverridableComponent; FormLabel.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/Grid/Grid.tsx b/packages/mui-joy/src/Grid/Grid.tsx index 16e8274f42a14b..b8d674ee58e0d0 100644 --- a/packages/mui-joy/src/Grid/Grid.tsx +++ b/packages/mui-joy/src/Grid/Grid.tsx @@ -15,10 +15,10 @@ const Grid = createGrid({ }) as OverridableComponent; Grid.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/IconButton/IconButton.tsx b/packages/mui-joy/src/IconButton/IconButton.tsx index 34ac015ac55bd4..827eea55525252 100644 --- a/packages/mui-joy/src/IconButton/IconButton.tsx +++ b/packages/mui-joy/src/IconButton/IconButton.tsx @@ -194,10 +194,10 @@ const IconButton = React.forwardRef(function IconButton(inProps, ref) { }) as ExtendIconButton; IconButton.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A ref for imperative actions. It currently only supports `focusVisible()` action. */ diff --git a/packages/mui-joy/src/Input/Input.tsx b/packages/mui-joy/src/Input/Input.tsx index dbf94495aad1a1..00380b24353b74 100644 --- a/packages/mui-joy/src/Input/Input.tsx +++ b/packages/mui-joy/src/Input/Input.tsx @@ -348,10 +348,10 @@ const Input = React.forwardRef(function Input(inProps, ref) { }) as OverridableComponent; Input.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-joy/src/LinearProgress/LinearProgress.tsx b/packages/mui-joy/src/LinearProgress/LinearProgress.tsx index f7dcd18cee29c2..f1f41748c9c6b2 100644 --- a/packages/mui-joy/src/LinearProgress/LinearProgress.tsx +++ b/packages/mui-joy/src/LinearProgress/LinearProgress.tsx @@ -223,10 +223,10 @@ const LinearProgress = React.forwardRef(function LinearProgress(inProps, ref) { }) as OverridableComponent; LinearProgress.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-joy/src/Link/Link.tsx b/packages/mui-joy/src/Link/Link.tsx index ccff15d1c17b2d..e523afdc670114 100644 --- a/packages/mui-joy/src/Link/Link.tsx +++ b/packages/mui-joy/src/Link/Link.tsx @@ -304,10 +304,10 @@ const Link = React.forwardRef(function Link(inProps, ref) { }) as OverridableComponent; Link.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/List/List.tsx b/packages/mui-joy/src/List/List.tsx index b51f0ad5fa28d5..d33ccc45716f35 100644 --- a/packages/mui-joy/src/List/List.tsx +++ b/packages/mui-joy/src/List/List.tsx @@ -244,10 +244,10 @@ const List = React.forwardRef(function List(inProps, ref) { }) as OverridableComponent; List.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/ListDivider/ListDivider.tsx b/packages/mui-joy/src/ListDivider/ListDivider.tsx index 92c99e6da3dd51..5b31ea9e9d9312 100644 --- a/packages/mui-joy/src/ListDivider/ListDivider.tsx +++ b/packages/mui-joy/src/ListDivider/ListDivider.tsx @@ -136,10 +136,10 @@ const ListDivider = React.forwardRef(function ListDivider(inProps, ref) { }) as OverridableComponent; ListDivider.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/ListItem/ListItem.tsx b/packages/mui-joy/src/ListItem/ListItem.tsx index 0e8b0665022c03..f78bd0364169f8 100644 --- a/packages/mui-joy/src/ListItem/ListItem.tsx +++ b/packages/mui-joy/src/ListItem/ListItem.tsx @@ -266,10 +266,10 @@ const ListItem = React.forwardRef(function ListItem(inProps, ref) { }) as OverridableComponent; ListItem.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/ListItemButton/ListItemButton.tsx b/packages/mui-joy/src/ListItemButton/ListItemButton.tsx index d6e4c02285f954..a6e5cf99a3b3d5 100644 --- a/packages/mui-joy/src/ListItemButton/ListItemButton.tsx +++ b/packages/mui-joy/src/ListItemButton/ListItemButton.tsx @@ -206,10 +206,10 @@ const ListItemButton = React.forwardRef(function ListItemButton(inProps, ref) { }) as ExtendListItemButton; ListItemButton.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A ref for imperative actions. It currently only supports `focusVisible()` action. */ diff --git a/packages/mui-joy/src/ListItemContent/ListItemContent.tsx b/packages/mui-joy/src/ListItemContent/ListItemContent.tsx index 021d587818d5b6..4641539d10e970 100644 --- a/packages/mui-joy/src/ListItemContent/ListItemContent.tsx +++ b/packages/mui-joy/src/ListItemContent/ListItemContent.tsx @@ -62,10 +62,10 @@ const ListItemContent = React.forwardRef(function ListItemContent(inProps, ref) }) as OverridableComponent; ListItemContent.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/ListItemDecorator/ListItemDecorator.tsx b/packages/mui-joy/src/ListItemDecorator/ListItemDecorator.tsx index 78f98f6d2d0c50..75793d6fff079f 100644 --- a/packages/mui-joy/src/ListItemDecorator/ListItemDecorator.tsx +++ b/packages/mui-joy/src/ListItemDecorator/ListItemDecorator.tsx @@ -75,10 +75,10 @@ const ListItemDecorator = React.forwardRef(function ListItemDecorator(inProps, r }) as OverridableComponent; ListItemDecorator.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/ListSubheader/ListSubheader.tsx b/packages/mui-joy/src/ListSubheader/ListSubheader.tsx index 6f1bd86d1145d4..4678634d078eb1 100644 --- a/packages/mui-joy/src/ListSubheader/ListSubheader.tsx +++ b/packages/mui-joy/src/ListSubheader/ListSubheader.tsx @@ -121,10 +121,10 @@ const ListSubheader = React.forwardRef(function ListSubheader(inProps, ref) { }) as OverridableComponent; ListSubheader.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/Menu/Menu.tsx b/packages/mui-joy/src/Menu/Menu.tsx index de241ae733a02b..a40310d7e0f413 100644 --- a/packages/mui-joy/src/Menu/Menu.tsx +++ b/packages/mui-joy/src/Menu/Menu.tsx @@ -201,10 +201,10 @@ const Menu = React.forwardRef(function Menu(inProps, ref: React.ForwardedRef; Menu.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A ref with imperative actions. * It allows to select the first or last menu item. diff --git a/packages/mui-joy/src/MenuButton/MenuButton.tsx b/packages/mui-joy/src/MenuButton/MenuButton.tsx index 743420ab9dcb3a..246b190d0167db 100644 --- a/packages/mui-joy/src/MenuButton/MenuButton.tsx +++ b/packages/mui-joy/src/MenuButton/MenuButton.tsx @@ -205,10 +205,10 @@ const MenuButton = React.forwardRef(function MenuButton( }) as OverridableComponent; MenuButton.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-joy/src/MenuItem/MenuItem.tsx b/packages/mui-joy/src/MenuItem/MenuItem.tsx index ca535ef95878e2..c622e9ffaa9db3 100644 --- a/packages/mui-joy/src/MenuItem/MenuItem.tsx +++ b/packages/mui-joy/src/MenuItem/MenuItem.tsx @@ -112,10 +112,10 @@ const MenuItem = React.forwardRef(function MenuItem(inProps, ref) { }) as ExtendMenuItem; MenuItem.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/MenuList/MenuList.tsx b/packages/mui-joy/src/MenuList/MenuList.tsx index fc8168955379c9..c5cd47cc9bd2ee 100644 --- a/packages/mui-joy/src/MenuList/MenuList.tsx +++ b/packages/mui-joy/src/MenuList/MenuList.tsx @@ -134,10 +134,10 @@ const MenuList = React.forwardRef(function MenuList(inProps, ref) { }) as OverridableComponent; MenuList.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A ref with imperative actions. * It allows to select the first or last menu item. diff --git a/packages/mui-joy/src/Modal/Modal.tsx b/packages/mui-joy/src/Modal/Modal.tsx index 708541216236df..93ff77f25a3e4b 100644 --- a/packages/mui-joy/src/Modal/Modal.tsx +++ b/packages/mui-joy/src/Modal/Modal.tsx @@ -171,10 +171,10 @@ const Modal = React.forwardRef(function Modal(inProps, ref) { }) as OverridableComponent; Modal.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A single child content element. */ diff --git a/packages/mui-joy/src/ModalClose/ModalClose.tsx b/packages/mui-joy/src/ModalClose/ModalClose.tsx index 2690b83469bad0..993e55c2ec635f 100644 --- a/packages/mui-joy/src/ModalClose/ModalClose.tsx +++ b/packages/mui-joy/src/ModalClose/ModalClose.tsx @@ -143,10 +143,10 @@ const ModalClose = React.forwardRef(function ModalClose(inProps, ref) { }) as OverridableComponent; ModalClose.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-joy/src/ModalDialog/ModalDialog.tsx b/packages/mui-joy/src/ModalDialog/ModalDialog.tsx index 62e1e06593dc20..d2c2895d0aaec1 100644 --- a/packages/mui-joy/src/ModalDialog/ModalDialog.tsx +++ b/packages/mui-joy/src/ModalDialog/ModalDialog.tsx @@ -194,10 +194,10 @@ const ModalDialog = React.forwardRef(function ModalDialog(inProps, ref) { }) as OverridableComponent; ModalDialog.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/ModalOverflow/ModalOverflow.tsx b/packages/mui-joy/src/ModalOverflow/ModalOverflow.tsx index e8d35237ea7b34..9582ba449480e4 100644 --- a/packages/mui-joy/src/ModalOverflow/ModalOverflow.tsx +++ b/packages/mui-joy/src/ModalOverflow/ModalOverflow.tsx @@ -101,10 +101,10 @@ const ModalOverflow = React.forwardRef(function ModalOverflow(inProps, ref) { }) as OverridableComponent; ModalOverflow.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-joy/src/Option/Option.tsx b/packages/mui-joy/src/Option/Option.tsx index b85b98e50e1d24..9e952593faec59 100644 --- a/packages/mui-joy/src/Option/Option.tsx +++ b/packages/mui-joy/src/Option/Option.tsx @@ -113,10 +113,10 @@ const Option = React.forwardRef(function Option(inProps, ref: React.ForwardedRef }) as ExtendOption; Option.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/Radio/Radio.tsx b/packages/mui-joy/src/Radio/Radio.tsx index 4d9469618acde5..1f37d463231d87 100644 --- a/packages/mui-joy/src/Radio/Radio.tsx +++ b/packages/mui-joy/src/Radio/Radio.tsx @@ -410,10 +410,10 @@ const Radio = React.forwardRef(function Radio(inProps, ref) { }) as OverridableComponent; Radio.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * If `true`, the component is checked. */ diff --git a/packages/mui-joy/src/RadioGroup/RadioGroup.tsx b/packages/mui-joy/src/RadioGroup/RadioGroup.tsx index ce31cd25988c73..fabd7e41b0e7ed 100644 --- a/packages/mui-joy/src/RadioGroup/RadioGroup.tsx +++ b/packages/mui-joy/src/RadioGroup/RadioGroup.tsx @@ -179,10 +179,10 @@ const RadioGroup = React.forwardRef(function RadioGroup(inProps, ref) { }) as OverridableComponent; RadioGroup.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-joy/src/ScopedCssBaseline/ScopedCssBaseline.tsx b/packages/mui-joy/src/ScopedCssBaseline/ScopedCssBaseline.tsx index da4d42dccfde10..f4567cc22036a7 100644 --- a/packages/mui-joy/src/ScopedCssBaseline/ScopedCssBaseline.tsx +++ b/packages/mui-joy/src/ScopedCssBaseline/ScopedCssBaseline.tsx @@ -107,10 +107,10 @@ const ScopedCssBaseline = React.forwardRef(function ScopedCssBaseline(inProps, r }) as OverridableComponent; ScopedCssBaseline.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * You can wrap a node. */ diff --git a/packages/mui-joy/src/Select/Select.tsx b/packages/mui-joy/src/Select/Select.tsx index e02113444bcaef..72fc894dfcca62 100644 --- a/packages/mui-joy/src/Select/Select.tsx +++ b/packages/mui-joy/src/Select/Select.tsx @@ -618,10 +618,10 @@ interface SelectComponent { } Select.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A ref for imperative actions. It currently only supports `focusVisible()` action. */ diff --git a/packages/mui-joy/src/Sheet/Sheet.tsx b/packages/mui-joy/src/Sheet/Sheet.tsx index a9806b76414c86..9550022a53d1f1 100644 --- a/packages/mui-joy/src/Sheet/Sheet.tsx +++ b/packages/mui-joy/src/Sheet/Sheet.tsx @@ -136,10 +136,10 @@ const Sheet = React.forwardRef(function Sheet(inProps, ref) { }) as OverridableComponent; Sheet.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/Skeleton/Skeleton.tsx b/packages/mui-joy/src/Skeleton/Skeleton.tsx index 1a264583674af6..8f091be0828ee9 100644 --- a/packages/mui-joy/src/Skeleton/Skeleton.tsx +++ b/packages/mui-joy/src/Skeleton/Skeleton.tsx @@ -336,10 +336,10 @@ const Skeleton = React.forwardRef(function Skeleton(inProps, ref) { }) as OverridableComponent; Skeleton.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The animation. * If `false` the animation effect is disabled. diff --git a/packages/mui-joy/src/Slider/Slider.tsx b/packages/mui-joy/src/Slider/Slider.tsx index 74eaa39767772f..52a2cf93d4de34 100644 --- a/packages/mui-joy/src/Slider/Slider.tsx +++ b/packages/mui-joy/src/Slider/Slider.tsx @@ -659,10 +659,10 @@ const Slider = React.forwardRef(function Slider(inProps, ref) { }) as OverridableComponent; Slider.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The label of the slider. */ diff --git a/packages/mui-joy/src/Stack/Stack.tsx b/packages/mui-joy/src/Stack/Stack.tsx index daa2db0558c0a0..42ac9875d8b495 100644 --- a/packages/mui-joy/src/Stack/Stack.tsx +++ b/packages/mui-joy/src/Stack/Stack.tsx @@ -26,10 +26,10 @@ const Stack = createStack({ }) as OverridableComponent; Stack.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/SvgIcon/SvgIcon.tsx b/packages/mui-joy/src/SvgIcon/SvgIcon.tsx index 30501361c43b51..07c7e8690c9065 100644 --- a/packages/mui-joy/src/SvgIcon/SvgIcon.tsx +++ b/packages/mui-joy/src/SvgIcon/SvgIcon.tsx @@ -141,10 +141,10 @@ const SvgIcon = React.forwardRef(function SvgIcon(inProps, ref) { }) as OverridableComponent; SvgIcon.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Node passed into the SVG element. */ diff --git a/packages/mui-joy/src/Switch/Switch.tsx b/packages/mui-joy/src/Switch/Switch.tsx index 1aa5f5a78c37ee..fac1b670065030 100644 --- a/packages/mui-joy/src/Switch/Switch.tsx +++ b/packages/mui-joy/src/Switch/Switch.tsx @@ -389,10 +389,10 @@ const Switch = React.forwardRef(function Switch(inProps, ref) { }) as OverridableComponent; Switch.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * If `true`, the component is checked. */ diff --git a/packages/mui-joy/src/Tab/Tab.tsx b/packages/mui-joy/src/Tab/Tab.tsx index 2344d2b04ded73..c59e142b00b3d2 100644 --- a/packages/mui-joy/src/Tab/Tab.tsx +++ b/packages/mui-joy/src/Tab/Tab.tsx @@ -208,10 +208,10 @@ const Tab = React.forwardRef(function Tab(inProps, ref) { }) as OverridableComponent; Tab.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A ref for imperative actions. It currently only supports `focusVisible()` action. */ diff --git a/packages/mui-joy/src/TabList/TabList.tsx b/packages/mui-joy/src/TabList/TabList.tsx index e3c68f1c457faf..a2d741deb40132 100644 --- a/packages/mui-joy/src/TabList/TabList.tsx +++ b/packages/mui-joy/src/TabList/TabList.tsx @@ -167,10 +167,10 @@ const TabList = React.forwardRef(function TabList(inProps, ref) { }) as OverridableComponent; TabList.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Used to render icon or text elements inside the TabList if `src` is not set. * This can be an element, or just a string. diff --git a/packages/mui-joy/src/TabPanel/TabPanel.tsx b/packages/mui-joy/src/TabPanel/TabPanel.tsx index 9e19c1098bfbaa..b6e5286643f5f4 100644 --- a/packages/mui-joy/src/TabPanel/TabPanel.tsx +++ b/packages/mui-joy/src/TabPanel/TabPanel.tsx @@ -115,10 +115,10 @@ const TabPanel = React.forwardRef(function TabPanel(inProps, ref) { }) as OverridableComponent; TabPanel.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/Table/Table.tsx b/packages/mui-joy/src/Table/Table.tsx index adbc91af082e45..34cfbd396f8a5e 100644 --- a/packages/mui-joy/src/Table/Table.tsx +++ b/packages/mui-joy/src/Table/Table.tsx @@ -349,10 +349,10 @@ const Table = React.forwardRef(function Table(inProps, ref) { }) as OverridableComponent; Table.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The axis to display a border on the table cell. * @default 'xBetween' diff --git a/packages/mui-joy/src/Tabs/Tabs.tsx b/packages/mui-joy/src/Tabs/Tabs.tsx index b98f91aa1078e3..6dad6b466ba2c3 100644 --- a/packages/mui-joy/src/Tabs/Tabs.tsx +++ b/packages/mui-joy/src/Tabs/Tabs.tsx @@ -150,10 +150,10 @@ const Tabs = React.forwardRef(function Tabs(inProps, ref) { }) as OverridableComponent; Tabs.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-joy/src/Textarea/Textarea.tsx b/packages/mui-joy/src/Textarea/Textarea.tsx index 23f5f34adbe3c1..ea5c2c398fddb4 100644 --- a/packages/mui-joy/src/Textarea/Textarea.tsx +++ b/packages/mui-joy/src/Textarea/Textarea.tsx @@ -322,10 +322,10 @@ const Textarea = React.forwardRef(function Textarea(inProps, ref) { }) as OverridableComponent; Textarea.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-joy/src/ToggleButtonGroup/ToggleButtonGroup.tsx b/packages/mui-joy/src/ToggleButtonGroup/ToggleButtonGroup.tsx index 94aa8d06a2389f..f4295ea927bcba 100644 --- a/packages/mui-joy/src/ToggleButtonGroup/ToggleButtonGroup.tsx +++ b/packages/mui-joy/src/ToggleButtonGroup/ToggleButtonGroup.tsx @@ -193,10 +193,10 @@ interface ToggleButtonGroupComponent { } ToggleButtonGroup.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The flex value of the button. * @example buttonFlex={1} will set flex: '1 1 auto' on each button (stretch the button to equally fill the available space). diff --git a/packages/mui-joy/src/Tooltip/Tooltip.tsx b/packages/mui-joy/src/Tooltip/Tooltip.tsx index 13548b79ddf21a..e7b109c3b5594b 100644 --- a/packages/mui-joy/src/Tooltip/Tooltip.tsx +++ b/packages/mui-joy/src/Tooltip/Tooltip.tsx @@ -648,10 +648,10 @@ const Tooltip = React.forwardRef(function Tooltip(inProps, ref) { }) as OverridableComponent; Tooltip.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * If `true`, adds an arrow to the tooltip. * @default false diff --git a/packages/mui-joy/src/Typography/Typography.tsx b/packages/mui-joy/src/Typography/Typography.tsx index 57143ae269ce7f..7f156aac6ed851 100644 --- a/packages/mui-joy/src/Typography/Typography.tsx +++ b/packages/mui-joy/src/Typography/Typography.tsx @@ -254,10 +254,10 @@ const Typography = React.forwardRef(function Typography(inProps, ref) { }) as OverridableComponent; Typography.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-lab/src/LoadingButton/LoadingButton.js b/packages/mui-lab/src/LoadingButton/LoadingButton.js index 8244e3da2d384e..463f3cbd80c7dd 100644 --- a/packages/mui-lab/src/LoadingButton/LoadingButton.js +++ b/packages/mui-lab/src/LoadingButton/LoadingButton.js @@ -186,10 +186,10 @@ const LoadingButton = React.forwardRef(function LoadingButton(inProps, ref) { }); LoadingButton.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-lab/src/Masonry/Masonry.js b/packages/mui-lab/src/Masonry/Masonry.js index 4d0d741edaff15..019e904bc4d5a0 100644 --- a/packages/mui-lab/src/Masonry/Masonry.js +++ b/packages/mui-lab/src/Masonry/Masonry.js @@ -331,10 +331,10 @@ const Masonry = React.forwardRef(function Masonry(inProps, ref) { }); Masonry.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-lab/src/TabContext/TabContext.js b/packages/mui-lab/src/TabContext/TabContext.js index 0f6f32e2adef3d..180491d55464a8 100644 --- a/packages/mui-lab/src/TabContext/TabContext.js +++ b/packages/mui-lab/src/TabContext/TabContext.js @@ -29,10 +29,10 @@ export default function TabContext(props) { } TabContext.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-lab/src/TabList/TabList.js b/packages/mui-lab/src/TabList/TabList.js index 11ef28f73e88db..f5a61725fa846b 100644 --- a/packages/mui-lab/src/TabList/TabList.js +++ b/packages/mui-lab/src/TabList/TabList.js @@ -29,10 +29,10 @@ const TabList = React.forwardRef(function TabList(props, ref) { }); TabList.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A list of `` elements. */ diff --git a/packages/mui-lab/src/TabPanel/TabPanel.js b/packages/mui-lab/src/TabPanel/TabPanel.js index 7fb9b61ae4bcf8..3a5f8b805e6051 100644 --- a/packages/mui-lab/src/TabPanel/TabPanel.js +++ b/packages/mui-lab/src/TabPanel/TabPanel.js @@ -59,10 +59,10 @@ const TabPanel = React.forwardRef(function TabPanel(inProps, ref) { }); TabPanel.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-lab/src/TimelineConnector/TimelineConnector.js b/packages/mui-lab/src/TimelineConnector/TimelineConnector.js index faab2530b65c78..adb135a9683f1d 100644 --- a/packages/mui-lab/src/TimelineConnector/TimelineConnector.js +++ b/packages/mui-lab/src/TimelineConnector/TimelineConnector.js @@ -50,10 +50,10 @@ const TimelineConnector = React.forwardRef(function TimelineConnector(inProps, r }); TimelineConnector.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-lab/src/TimelineContent/TimelineContent.js b/packages/mui-lab/src/TimelineContent/TimelineContent.js index 3e111f86b689f7..07b150592bf697 100644 --- a/packages/mui-lab/src/TimelineContent/TimelineContent.js +++ b/packages/mui-lab/src/TimelineContent/TimelineContent.js @@ -59,10 +59,10 @@ const TimelineContent = React.forwardRef(function TimelineContent(inProps, ref) }); TimelineContent.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-lab/src/TimelineDot/TimelineDot.js b/packages/mui-lab/src/TimelineDot/TimelineDot.js index 0f2884d08b1214..01830f27f99a4f 100644 --- a/packages/mui-lab/src/TimelineDot/TimelineDot.js +++ b/packages/mui-lab/src/TimelineDot/TimelineDot.js @@ -91,10 +91,10 @@ const TimelineDot = React.forwardRef(function TimelineDot(inProps, ref) { }); TimelineDot.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-lab/src/TimelineItem/TimelineItem.js b/packages/mui-lab/src/TimelineItem/TimelineItem.js index eeeae86d18c88e..bdb4c66542701e 100644 --- a/packages/mui-lab/src/TimelineItem/TimelineItem.js +++ b/packages/mui-lab/src/TimelineItem/TimelineItem.js @@ -99,10 +99,10 @@ const TimelineItem = React.forwardRef(function TimelineItem(inProps, ref) { }); TimelineItem.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-lab/src/TimelineOppositeContent/TimelineOppositeContent.js b/packages/mui-lab/src/TimelineOppositeContent/TimelineOppositeContent.js index e5aefa67b0d15d..c0f8bf5ee0c38b 100644 --- a/packages/mui-lab/src/TimelineOppositeContent/TimelineOppositeContent.js +++ b/packages/mui-lab/src/TimelineOppositeContent/TimelineOppositeContent.js @@ -60,10 +60,10 @@ const TimelineOppositeContent = React.forwardRef(function TimelineOppositeConten }); TimelineOppositeContent.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-lab/src/TimelineSeparator/TimelineSeparator.js b/packages/mui-lab/src/TimelineSeparator/TimelineSeparator.js index 698ffd758cb476..1c44bc71c45e11 100644 --- a/packages/mui-lab/src/TimelineSeparator/TimelineSeparator.js +++ b/packages/mui-lab/src/TimelineSeparator/TimelineSeparator.js @@ -49,10 +49,10 @@ const TimelineSeparator = React.forwardRef(function TimelineSeparator(inProps, r }); TimelineSeparator.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-lab/src/TreeItem/TreeItem.tsx b/packages/mui-lab/src/TreeItem/TreeItem.tsx index e5d20b68ac74a6..5fdaeab4567d3c 100644 --- a/packages/mui-lab/src/TreeItem/TreeItem.tsx +++ b/packages/mui-lab/src/TreeItem/TreeItem.tsx @@ -35,10 +35,10 @@ const TreeItem = React.forwardRef(function DeprecatedTreeItem( }); TreeItem.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-lab/src/TreeView/TreeView.tsx b/packages/mui-lab/src/TreeView/TreeView.tsx index f20d7a48d6d57f..64f26f26125070 100644 --- a/packages/mui-lab/src/TreeView/TreeView.tsx +++ b/packages/mui-lab/src/TreeView/TreeView.tsx @@ -35,10 +35,10 @@ const TreeView = React.forwardRef(function DeprecatedTreeView( }); TreeView.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material-next/src/Badge/Badge.tsx b/packages/mui-material-next/src/Badge/Badge.tsx index 96d79fa1ff02e0..c1e9bdc1625ebe 100644 --- a/packages/mui-material-next/src/Badge/Badge.tsx +++ b/packages/mui-material-next/src/Badge/Badge.tsx @@ -265,10 +265,10 @@ const Badge = React.forwardRef(function Badge< }) as OverridableComponent; Badge.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The anchor of the badge. * @default { diff --git a/packages/mui-material-next/src/Button/Button.tsx b/packages/mui-material-next/src/Button/Button.tsx index 5bbd73e7e8c516..0c484227ec3ad0 100644 --- a/packages/mui-material-next/src/Button/Button.tsx +++ b/packages/mui-material-next/src/Button/Button.tsx @@ -425,10 +425,10 @@ const Button = React.forwardRef(function Button< }) as ExtendButton; Button.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material-next/src/ButtonBase/ButtonBase.tsx b/packages/mui-material-next/src/ButtonBase/ButtonBase.tsx index 65d97101d13d03..fdd5360e6b40c7 100644 --- a/packages/mui-material-next/src/ButtonBase/ButtonBase.tsx +++ b/packages/mui-material-next/src/ButtonBase/ButtonBase.tsx @@ -205,10 +205,10 @@ const ButtonBase = React.forwardRef(function ButtonBase< }) as ExtendButtonBase; ButtonBase.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A ref for imperative actions. * It currently only supports `focusVisible()` action. diff --git a/packages/mui-material-next/src/Chip/Chip.js b/packages/mui-material-next/src/Chip/Chip.js index d069fb9cd7e416..756e11102b462e 100644 --- a/packages/mui-material-next/src/Chip/Chip.js +++ b/packages/mui-material-next/src/Chip/Chip.js @@ -469,10 +469,10 @@ const Chip = React.forwardRef(function Chip(inProps, ref) { }); Chip.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The Avatar element to display. */ diff --git a/packages/mui-material-next/src/Input/Input.js b/packages/mui-material-next/src/Input/Input.js index 4adb43d0b4f5bb..b6cb934a4ad942 100644 --- a/packages/mui-material-next/src/Input/Input.js +++ b/packages/mui-material-next/src/Input/Input.js @@ -339,10 +339,10 @@ const Input = React.forwardRef(function Input(inProps, ref) { }); Input.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-material-next/src/InputBase/InputBase.tsx b/packages/mui-material-next/src/InputBase/InputBase.tsx index 659899a3806a90..985caa515c37fe 100644 --- a/packages/mui-material-next/src/InputBase/InputBase.tsx +++ b/packages/mui-material-next/src/InputBase/InputBase.tsx @@ -528,10 +528,10 @@ const InputBase = React.forwardRef(function InputBase< }) as OverridableComponent; InputBase.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-material-next/src/Slider/Slider.tsx b/packages/mui-material-next/src/Slider/Slider.tsx index 862f53411c106f..2c5e2471a290f0 100644 --- a/packages/mui-material-next/src/Slider/Slider.tsx +++ b/packages/mui-material-next/src/Slider/Slider.tsx @@ -856,10 +856,10 @@ const Slider = React.forwardRef(function Slider< }); Slider.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit TypeScript types and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The label of the slider. */ diff --git a/packages/mui-material-next/src/Tab/Tab.js b/packages/mui-material-next/src/Tab/Tab.js index 3f5ba5663f360a..766c386b76ec5e 100644 --- a/packages/mui-material-next/src/Tab/Tab.js +++ b/packages/mui-material-next/src/Tab/Tab.js @@ -201,10 +201,10 @@ const Tab = React.forwardRef(function Tab(inProps, ref) { }); Tab.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * This prop isn't supported. * Use the `component` prop if you need to change the children structure. diff --git a/packages/mui-material-next/src/TabScrollButton/TabScrollButton.js b/packages/mui-material-next/src/TabScrollButton/TabScrollButton.js index ecdc9402c649eb..e154b58258adb9 100644 --- a/packages/mui-material-next/src/TabScrollButton/TabScrollButton.js +++ b/packages/mui-material-next/src/TabScrollButton/TabScrollButton.js @@ -76,10 +76,10 @@ const TabScrollButton = React.forwardRef(function TabScrollButton(inProps, ref) }); TabScrollButton.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material-next/src/TablePagination/TablePagination.js b/packages/mui-material-next/src/TablePagination/TablePagination.js index 86afe4d7de468a..8b2411adefdac5 100644 --- a/packages/mui-material-next/src/TablePagination/TablePagination.js +++ b/packages/mui-material-next/src/TablePagination/TablePagination.js @@ -252,10 +252,10 @@ const TablePagination = React.forwardRef(function TablePagination(inProps, ref) }); TablePagination.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The component used for displaying the actions. * Either a string to use a HTML element or a component. diff --git a/packages/mui-material-next/src/Tabs/Tabs.js b/packages/mui-material-next/src/Tabs/Tabs.js index 999b979fa8a930..ee0676a0010f2b 100644 --- a/packages/mui-material-next/src/Tabs/Tabs.js +++ b/packages/mui-material-next/src/Tabs/Tabs.js @@ -626,10 +626,10 @@ const Tabs = React.forwardRef(function Tabs(inProps, ref) { }); Tabs.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Callback fired when the component mounts. * This is useful when you want to trigger an action programmatically. diff --git a/packages/mui-material/src/Accordion/Accordion.js b/packages/mui-material/src/Accordion/Accordion.js index 8b987cbdd279d5..fbad1f1958f133 100644 --- a/packages/mui-material/src/Accordion/Accordion.js +++ b/packages/mui-material/src/Accordion/Accordion.js @@ -189,10 +189,10 @@ const Accordion = React.forwardRef(function Accordion(inProps, ref) { }); Accordion.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/AccordionActions/AccordionActions.js b/packages/mui-material/src/AccordionActions/AccordionActions.js index fcdf75220284b5..4189859a2b6d50 100644 --- a/packages/mui-material/src/AccordionActions/AccordionActions.js +++ b/packages/mui-material/src/AccordionActions/AccordionActions.js @@ -55,10 +55,10 @@ const AccordionActions = React.forwardRef(function AccordionActions(inProps, ref }); AccordionActions.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/AccordionDetails/AccordionDetails.js b/packages/mui-material/src/AccordionDetails/AccordionDetails.js index 1ee17b1b2b7f82..b9c7eefc67e1ef 100644 --- a/packages/mui-material/src/AccordionDetails/AccordionDetails.js +++ b/packages/mui-material/src/AccordionDetails/AccordionDetails.js @@ -42,10 +42,10 @@ const AccordionDetails = React.forwardRef(function AccordionDetails(inProps, ref }); AccordionDetails.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/AccordionSummary/AccordionSummary.js b/packages/mui-material/src/AccordionSummary/AccordionSummary.js index de750fb70cadcc..b40956653b9d0d 100644 --- a/packages/mui-material/src/AccordionSummary/AccordionSummary.js +++ b/packages/mui-material/src/AccordionSummary/AccordionSummary.js @@ -142,10 +142,10 @@ const AccordionSummary = React.forwardRef(function AccordionSummary(inProps, ref }); AccordionSummary.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/Alert/Alert.js b/packages/mui-material/src/Alert/Alert.js index d7c690fe6a2de4..b01989cdd6b59d 100644 --- a/packages/mui-material/src/Alert/Alert.js +++ b/packages/mui-material/src/Alert/Alert.js @@ -214,10 +214,10 @@ const Alert = React.forwardRef(function Alert(inProps, ref) { }); Alert.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The action to display. It renders after the message, at the end of the alert. */ diff --git a/packages/mui-material/src/AlertTitle/AlertTitle.js b/packages/mui-material/src/AlertTitle/AlertTitle.js index babaecde9e4d95..ab003a117e4f48 100644 --- a/packages/mui-material/src/AlertTitle/AlertTitle.js +++ b/packages/mui-material/src/AlertTitle/AlertTitle.js @@ -53,10 +53,10 @@ const AlertTitle = React.forwardRef(function AlertTitle(inProps, ref) { }); AlertTitle.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/AppBar/AppBar.js b/packages/mui-material/src/AppBar/AppBar.js index 3b53748fae9635..60c2d312059a50 100644 --- a/packages/mui-material/src/AppBar/AppBar.js +++ b/packages/mui-material/src/AppBar/AppBar.js @@ -176,10 +176,10 @@ const AppBar = React.forwardRef(function AppBar(inProps, ref) { }); AppBar.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/Autocomplete/Autocomplete.js b/packages/mui-material/src/Autocomplete/Autocomplete.js index 511a6e9331bd64..38d047166ec5c8 100644 --- a/packages/mui-material/src/Autocomplete/Autocomplete.js +++ b/packages/mui-material/src/Autocomplete/Autocomplete.js @@ -708,10 +708,10 @@ const Autocomplete = React.forwardRef(function Autocomplete(inProps, ref) { }); Autocomplete.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * If `true`, the portion of the selected suggestion that has not been typed by the user, * known as the completion string, appears inline after the input cursor in the textbox. diff --git a/packages/mui-material/src/Avatar/Avatar.js b/packages/mui-material/src/Avatar/Avatar.js index 23eab4adaac1ca..d61cbf3c3c75af 100644 --- a/packages/mui-material/src/Avatar/Avatar.js +++ b/packages/mui-material/src/Avatar/Avatar.js @@ -194,10 +194,10 @@ const Avatar = React.forwardRef(function Avatar(inProps, ref) { }); Avatar.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Used in combination with `src` or `srcSet` to * provide an alt attribute for the rendered `img` element. diff --git a/packages/mui-material/src/AvatarGroup/AvatarGroup.js b/packages/mui-material/src/AvatarGroup/AvatarGroup.js index 65bcf8020ef516..2eefc929a7b54e 100644 --- a/packages/mui-material/src/AvatarGroup/AvatarGroup.js +++ b/packages/mui-material/src/AvatarGroup/AvatarGroup.js @@ -158,10 +158,10 @@ const AvatarGroup = React.forwardRef(function AvatarGroup(inProps, ref) { }); AvatarGroup.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The avatars to stack. */ diff --git a/packages/mui-material/src/Backdrop/Backdrop.js b/packages/mui-material/src/Backdrop/Backdrop.js index 36da4e1cb374bc..8a8f4331409da8 100644 --- a/packages/mui-material/src/Backdrop/Backdrop.js +++ b/packages/mui-material/src/Backdrop/Backdrop.js @@ -87,10 +87,10 @@ const Backdrop = React.forwardRef(function Backdrop(inProps, ref) { }); Backdrop.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/Badge/Badge.js b/packages/mui-material/src/Badge/Badge.js index 579bfe5e792bfd..73a04a513b0537 100644 --- a/packages/mui-material/src/Badge/Badge.js +++ b/packages/mui-material/src/Badge/Badge.js @@ -299,10 +299,10 @@ const Badge = React.forwardRef(function Badge(inProps, ref) { }); Badge.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The anchor of the badge. * @default { diff --git a/packages/mui-material/src/BottomNavigation/BottomNavigation.js b/packages/mui-material/src/BottomNavigation/BottomNavigation.js index 87ebb4ae12c6e0..e62764d9f91099 100755 --- a/packages/mui-material/src/BottomNavigation/BottomNavigation.js +++ b/packages/mui-material/src/BottomNavigation/BottomNavigation.js @@ -87,10 +87,10 @@ const BottomNavigation = React.forwardRef(function BottomNavigation(inProps, ref }); BottomNavigation.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.js b/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.js index 57abe5d5d98d88..0274540aeaeefa 100644 --- a/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.js +++ b/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.js @@ -120,10 +120,10 @@ const BottomNavigationAction = React.forwardRef(function BottomNavigationAction( }); BottomNavigationAction.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * This prop isn't supported. * Use the `component` prop if you need to change the children structure. diff --git a/packages/mui-material/src/Box/Box.js b/packages/mui-material/src/Box/Box.js index af051efa36be4f..570aebb23988d5 100644 --- a/packages/mui-material/src/Box/Box.js +++ b/packages/mui-material/src/Box/Box.js @@ -15,10 +15,10 @@ const Box = createBox({ }); Box.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-material/src/Breadcrumbs/Breadcrumbs.js b/packages/mui-material/src/Breadcrumbs/Breadcrumbs.js index 65892827396d1c..cde6e6dbba8256 100644 --- a/packages/mui-material/src/Breadcrumbs/Breadcrumbs.js +++ b/packages/mui-material/src/Breadcrumbs/Breadcrumbs.js @@ -202,10 +202,10 @@ const Breadcrumbs = React.forwardRef(function Breadcrumbs(inProps, ref) { }); Breadcrumbs.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/Button/Button.js b/packages/mui-material/src/Button/Button.js index 3bc77782488593..5e128ab52ba4f8 100644 --- a/packages/mui-material/src/Button/Button.js +++ b/packages/mui-material/src/Button/Button.js @@ -366,10 +366,10 @@ const Button = React.forwardRef(function Button(inProps, ref) { }); Button.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/ButtonBase/ButtonBase.js b/packages/mui-material/src/ButtonBase/ButtonBase.js index 55449713699ab2..50c6e16c0d55c4 100644 --- a/packages/mui-material/src/ButtonBase/ButtonBase.js +++ b/packages/mui-material/src/ButtonBase/ButtonBase.js @@ -372,10 +372,10 @@ const ButtonBase = React.forwardRef(function ButtonBase(inProps, ref) { }); ButtonBase.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A ref for imperative actions. * It currently only supports `focusVisible()` action. diff --git a/packages/mui-material/src/ButtonGroup/ButtonGroup.js b/packages/mui-material/src/ButtonGroup/ButtonGroup.js index 772f984604ee29..6433ab36a8b637 100644 --- a/packages/mui-material/src/ButtonGroup/ButtonGroup.js +++ b/packages/mui-material/src/ButtonGroup/ButtonGroup.js @@ -258,10 +258,10 @@ const ButtonGroup = React.forwardRef(function ButtonGroup(inProps, ref) { }); ButtonGroup.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/Card/Card.js b/packages/mui-material/src/Card/Card.js index 01aa52b95808fa..26526533e02e24 100644 --- a/packages/mui-material/src/Card/Card.js +++ b/packages/mui-material/src/Card/Card.js @@ -53,10 +53,10 @@ const Card = React.forwardRef(function Card(inProps, ref) { }); Card.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/CardActionArea/CardActionArea.js b/packages/mui-material/src/CardActionArea/CardActionArea.js index 8d1afbe74debc8..b666d03ed7f4a8 100644 --- a/packages/mui-material/src/CardActionArea/CardActionArea.js +++ b/packages/mui-material/src/CardActionArea/CardActionArea.js @@ -81,10 +81,10 @@ const CardActionArea = React.forwardRef(function CardActionArea(inProps, ref) { }); CardActionArea.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/CardActions/CardActions.js b/packages/mui-material/src/CardActions/CardActions.js index 5f5563f79f82da..7832fcce698723 100644 --- a/packages/mui-material/src/CardActions/CardActions.js +++ b/packages/mui-material/src/CardActions/CardActions.js @@ -59,10 +59,10 @@ const CardActions = React.forwardRef(function CardActions(inProps, ref) { }); CardActions.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/CardContent/CardContent.js b/packages/mui-material/src/CardContent/CardContent.js index af64576b78302d..db30e846cca8e4 100644 --- a/packages/mui-material/src/CardContent/CardContent.js +++ b/packages/mui-material/src/CardContent/CardContent.js @@ -54,10 +54,10 @@ const CardContent = React.forwardRef(function CardContent(inProps, ref) { }); CardContent.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/CardHeader/CardHeader.js b/packages/mui-material/src/CardHeader/CardHeader.js index 8ac9976be8ddae..db9d6e6fbbe679 100644 --- a/packages/mui-material/src/CardHeader/CardHeader.js +++ b/packages/mui-material/src/CardHeader/CardHeader.js @@ -149,10 +149,10 @@ const CardHeader = React.forwardRef(function CardHeader(inProps, ref) { }); CardHeader.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The action to display in the card header. */ diff --git a/packages/mui-material/src/CardMedia/CardMedia.js b/packages/mui-material/src/CardMedia/CardMedia.js index 31b876e332b97b..16932d30316359 100644 --- a/packages/mui-material/src/CardMedia/CardMedia.js +++ b/packages/mui-material/src/CardMedia/CardMedia.js @@ -78,10 +78,10 @@ const CardMedia = React.forwardRef(function CardMedia(inProps, ref) { }); CardMedia.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/Checkbox/Checkbox.js b/packages/mui-material/src/Checkbox/Checkbox.js index 1e2b3f012bd24f..003450e5d5a6d6 100644 --- a/packages/mui-material/src/Checkbox/Checkbox.js +++ b/packages/mui-material/src/Checkbox/Checkbox.js @@ -132,10 +132,10 @@ const Checkbox = React.forwardRef(function Checkbox(inProps, ref) { }); Checkbox.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * If `true`, the component is checked. */ diff --git a/packages/mui-material/src/Chip/Chip.js b/packages/mui-material/src/Chip/Chip.js index 9f97f86fa0abdc..6c14857b3e0660 100644 --- a/packages/mui-material/src/Chip/Chip.js +++ b/packages/mui-material/src/Chip/Chip.js @@ -469,10 +469,10 @@ const Chip = React.forwardRef(function Chip(inProps, ref) { }); Chip.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The Avatar element to display. */ diff --git a/packages/mui-material/src/CircularProgress/CircularProgress.js b/packages/mui-material/src/CircularProgress/CircularProgress.js index cd1167230b2a09..25bca613c23501 100644 --- a/packages/mui-material/src/CircularProgress/CircularProgress.js +++ b/packages/mui-material/src/CircularProgress/CircularProgress.js @@ -198,10 +198,10 @@ const CircularProgress = React.forwardRef(function CircularProgress(inProps, ref }); CircularProgress.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Override or extend the styles applied to the component. */ diff --git a/packages/mui-material/src/Collapse/Collapse.js b/packages/mui-material/src/Collapse/Collapse.js index 4cf312ef831c7e..9b221cc9c11210 100644 --- a/packages/mui-material/src/Collapse/Collapse.js +++ b/packages/mui-material/src/Collapse/Collapse.js @@ -315,10 +315,10 @@ const Collapse = React.forwardRef(function Collapse(inProps, ref) { }); Collapse.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Add a custom transition end trigger. Called with the transitioning DOM * node and a done callback. Allows for more fine grained transition end diff --git a/packages/mui-material/src/Container/Container.js b/packages/mui-material/src/Container/Container.js index 52329af6b62c94..f6ba767d0fcf90 100644 --- a/packages/mui-material/src/Container/Container.js +++ b/packages/mui-material/src/Container/Container.js @@ -24,10 +24,10 @@ const Container = createContainer({ }); Container.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-material/src/CssBaseline/CssBaseline.js b/packages/mui-material/src/CssBaseline/CssBaseline.js index 83508c9f82fe72..12d16875e3f984 100644 --- a/packages/mui-material/src/CssBaseline/CssBaseline.js +++ b/packages/mui-material/src/CssBaseline/CssBaseline.js @@ -78,10 +78,10 @@ function CssBaseline(inProps) { } CssBaseline.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * You can wrap a node. */ diff --git a/packages/mui-material/src/Dialog/Dialog.js b/packages/mui-material/src/Dialog/Dialog.js index 66ecf16eba679e..93e2460f3475c0 100644 --- a/packages/mui-material/src/Dialog/Dialog.js +++ b/packages/mui-material/src/Dialog/Dialog.js @@ -285,10 +285,10 @@ const Dialog = React.forwardRef(function Dialog(inProps, ref) { }); Dialog.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The id(s) of the element(s) that describe the dialog. */ diff --git a/packages/mui-material/src/DialogActions/DialogActions.js b/packages/mui-material/src/DialogActions/DialogActions.js index 2dc6e51d5058bf..1fd633488aeb3d 100644 --- a/packages/mui-material/src/DialogActions/DialogActions.js +++ b/packages/mui-material/src/DialogActions/DialogActions.js @@ -59,10 +59,10 @@ const DialogActions = React.forwardRef(function DialogActions(inProps, ref) { }); DialogActions.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/DialogContent/DialogContent.js b/packages/mui-material/src/DialogContent/DialogContent.js index 15b7fff52d4fc8..9606dd07ad071f 100644 --- a/packages/mui-material/src/DialogContent/DialogContent.js +++ b/packages/mui-material/src/DialogContent/DialogContent.js @@ -66,10 +66,10 @@ const DialogContent = React.forwardRef(function DialogContent(inProps, ref) { }); DialogContent.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/DialogContentText/DialogContentText.js b/packages/mui-material/src/DialogContentText/DialogContentText.js index 74b2beb24c98c5..980b0de7d13604 100644 --- a/packages/mui-material/src/DialogContentText/DialogContentText.js +++ b/packages/mui-material/src/DialogContentText/DialogContentText.js @@ -50,10 +50,10 @@ const DialogContentText = React.forwardRef(function DialogContentText(inProps, r }); DialogContentText.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/DialogTitle/DialogTitle.js b/packages/mui-material/src/DialogTitle/DialogTitle.js index c935ebbabacf5d..a22ecde134baa8 100644 --- a/packages/mui-material/src/DialogTitle/DialogTitle.js +++ b/packages/mui-material/src/DialogTitle/DialogTitle.js @@ -54,10 +54,10 @@ const DialogTitle = React.forwardRef(function DialogTitle(inProps, ref) { }); DialogTitle.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/Divider/Divider.js b/packages/mui-material/src/Divider/Divider.js index 7867209fb16641..694cb383a77f24 100644 --- a/packages/mui-material/src/Divider/Divider.js +++ b/packages/mui-material/src/Divider/Divider.js @@ -222,10 +222,10 @@ const Divider = React.forwardRef(function Divider(inProps, ref) { Divider.muiSkipListHighlight = true; Divider.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Absolutely position the element. * @default false diff --git a/packages/mui-material/src/Drawer/Drawer.js b/packages/mui-material/src/Drawer/Drawer.js index 39038bd517121b..520c77e7286220 100644 --- a/packages/mui-material/src/Drawer/Drawer.js +++ b/packages/mui-material/src/Drawer/Drawer.js @@ -267,10 +267,10 @@ const Drawer = React.forwardRef(function Drawer(inProps, ref) { }); Drawer.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Side from which the drawer will appear. * @default 'left' diff --git a/packages/mui-material/src/Fab/Fab.js b/packages/mui-material/src/Fab/Fab.js index 866efdbf2f48b2..872cd88094d032 100644 --- a/packages/mui-material/src/Fab/Fab.js +++ b/packages/mui-material/src/Fab/Fab.js @@ -182,10 +182,10 @@ const Fab = React.forwardRef(function Fab(inProps, ref) { }); Fab.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/Fade/Fade.js b/packages/mui-material/src/Fade/Fade.js index 2a9999001a96e1..b659c8e77d9f9d 100644 --- a/packages/mui-material/src/Fade/Fade.js +++ b/packages/mui-material/src/Fade/Fade.js @@ -145,10 +145,10 @@ const Fade = React.forwardRef(function Fade(props, ref) { }); Fade.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Add a custom transition end trigger. Called with the transitioning DOM * node and a done callback. Allows for more fine grained transition end diff --git a/packages/mui-material/src/FilledInput/FilledInput.js b/packages/mui-material/src/FilledInput/FilledInput.js index fcfe92b3a59e5b..b5379a73ed456a 100644 --- a/packages/mui-material/src/FilledInput/FilledInput.js +++ b/packages/mui-material/src/FilledInput/FilledInput.js @@ -251,10 +251,10 @@ const FilledInput = React.forwardRef(function FilledInput(inProps, ref) { }); FilledInput.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm 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. diff --git a/packages/mui-material/src/FormControl/FormControl.js b/packages/mui-material/src/FormControl/FormControl.js index 92febdf9d2a230..022e74bfb24830 100644 --- a/packages/mui-material/src/FormControl/FormControl.js +++ b/packages/mui-material/src/FormControl/FormControl.js @@ -240,10 +240,10 @@ const FormControl = React.forwardRef(function FormControl(inProps, ref) { }); FormControl.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/FormControlLabel/FormControlLabel.js b/packages/mui-material/src/FormControlLabel/FormControlLabel.js index d353114f682ee6..6c47860eef2568 100644 --- a/packages/mui-material/src/FormControlLabel/FormControlLabel.js +++ b/packages/mui-material/src/FormControlLabel/FormControlLabel.js @@ -180,10 +180,10 @@ const FormControlLabel = React.forwardRef(function FormControlLabel(inProps, ref }); FormControlLabel.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * If `true`, the component appears selected. */ diff --git a/packages/mui-material/src/FormGroup/FormGroup.js b/packages/mui-material/src/FormGroup/FormGroup.js index 44fea482a12979..d8e42477b93eb2 100644 --- a/packages/mui-material/src/FormGroup/FormGroup.js +++ b/packages/mui-material/src/FormGroup/FormGroup.js @@ -69,10 +69,10 @@ const FormGroup = React.forwardRef(function FormGroup(inProps, ref) { }); FormGroup.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/FormHelperText/FormHelperText.js b/packages/mui-material/src/FormHelperText/FormHelperText.js index 3aa8dbd9464565..6c5c74afa4d19e 100644 --- a/packages/mui-material/src/FormHelperText/FormHelperText.js +++ b/packages/mui-material/src/FormHelperText/FormHelperText.js @@ -121,10 +121,10 @@ const FormHelperText = React.forwardRef(function FormHelperText(inProps, ref) { }); FormHelperText.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. * diff --git a/packages/mui-material/src/FormLabel/FormLabel.js b/packages/mui-material/src/FormLabel/FormLabel.js index 207152a8572c1a..d9bbff6ffd11b0 100644 --- a/packages/mui-material/src/FormLabel/FormLabel.js +++ b/packages/mui-material/src/FormLabel/FormLabel.js @@ -119,10 +119,10 @@ const FormLabel = React.forwardRef(function FormLabel(inProps, ref) { }); FormLabel.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/GlobalStyles/GlobalStyles.js b/packages/mui-material/src/GlobalStyles/GlobalStyles.js index a80e8390ddcc70..22d5c99be850cd 100644 --- a/packages/mui-material/src/GlobalStyles/GlobalStyles.js +++ b/packages/mui-material/src/GlobalStyles/GlobalStyles.js @@ -10,10 +10,10 @@ function GlobalStyles(props) { } GlobalStyles.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The styles you want to apply globally. */ diff --git a/packages/mui-material/src/Grid/Grid.js b/packages/mui-material/src/Grid/Grid.js index c8cfd3e9a520a8..4672813ffc6175 100644 --- a/packages/mui-material/src/Grid/Grid.js +++ b/packages/mui-material/src/Grid/Grid.js @@ -470,10 +470,10 @@ const Grid = React.forwardRef(function Grid(inProps, ref) { }); Grid.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/Grow/Grow.js b/packages/mui-material/src/Grow/Grow.js index 944475b4a73bd3..955e52d59f4047 100644 --- a/packages/mui-material/src/Grow/Grow.js +++ b/packages/mui-material/src/Grow/Grow.js @@ -212,10 +212,10 @@ const Grow = React.forwardRef(function Grow(props, ref) { }); Grow.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Add a custom transition end trigger. Called with the transitioning DOM * node and a done callback. Allows for more fine grained transition end diff --git a/packages/mui-material/src/Hidden/Hidden.js b/packages/mui-material/src/Hidden/Hidden.js index 5ee8fa426f1e95..a099e9060269e3 100644 --- a/packages/mui-material/src/Hidden/Hidden.js +++ b/packages/mui-material/src/Hidden/Hidden.js @@ -59,10 +59,10 @@ function Hidden(props) { } Hidden.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/Icon/Icon.js b/packages/mui-material/src/Icon/Icon.js index 0338fedd3f610a..84b69d746b56c3 100644 --- a/packages/mui-material/src/Icon/Icon.js +++ b/packages/mui-material/src/Icon/Icon.js @@ -105,10 +105,10 @@ const Icon = React.forwardRef(function Icon(inProps, ref) { }); Icon.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The base class applied to the icon. Defaults to 'material-icons', but can be changed to any * other base class that suits the icon font you're using (e.g. material-icons-rounded, fas, etc). diff --git a/packages/mui-material/src/IconButton/IconButton.js b/packages/mui-material/src/IconButton/IconButton.js index a07e5b9470de72..1fb3dc3d243d38 100644 --- a/packages/mui-material/src/IconButton/IconButton.js +++ b/packages/mui-material/src/IconButton/IconButton.js @@ -153,10 +153,10 @@ const IconButton = React.forwardRef(function IconButton(inProps, ref) { }); IconButton.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The icon to display. */ diff --git a/packages/mui-material/src/ImageList/ImageList.js b/packages/mui-material/src/ImageList/ImageList.js index 981b5adcb0f2a6..70da0435e7a0fb 100644 --- a/packages/mui-material/src/ImageList/ImageList.js +++ b/packages/mui-material/src/ImageList/ImageList.js @@ -102,10 +102,10 @@ const ImageList = React.forwardRef(function ImageList(inProps, ref) { }); ImageList.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component, normally `ImageListItem`s. */ diff --git a/packages/mui-material/src/ImageListItem/ImageListItem.js b/packages/mui-material/src/ImageListItem/ImageListItem.js index f9e3b0d3fd9ebb..f105b3e6ea1abd 100644 --- a/packages/mui-material/src/ImageListItem/ImageListItem.js +++ b/packages/mui-material/src/ImageListItem/ImageListItem.js @@ -136,10 +136,10 @@ const ImageListItem = React.forwardRef(function ImageListItem(inProps, ref) { }); ImageListItem.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component, normally an ``. */ diff --git a/packages/mui-material/src/ImageListItemBar/ImageListItemBar.js b/packages/mui-material/src/ImageListItemBar/ImageListItemBar.js index c2e1a9d1ab997f..53bdcce44953e3 100644 --- a/packages/mui-material/src/ImageListItemBar/ImageListItemBar.js +++ b/packages/mui-material/src/ImageListItemBar/ImageListItemBar.js @@ -182,10 +182,10 @@ const ImageListItemBar = React.forwardRef(function ImageListItemBar(inProps, ref }); ImageListItemBar.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * An IconButton element to be used as secondary action target * (primary action target is the item itself). diff --git a/packages/mui-material/src/Input/Input.js b/packages/mui-material/src/Input/Input.js index 057c3febd74c0b..a701f66563ab70 100644 --- a/packages/mui-material/src/Input/Input.js +++ b/packages/mui-material/src/Input/Input.js @@ -158,10 +158,10 @@ const Input = React.forwardRef(function Input(inProps, ref) { }); Input.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm 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. diff --git a/packages/mui-material/src/InputAdornment/InputAdornment.js b/packages/mui-material/src/InputAdornment/InputAdornment.js index 229198c77724bc..7f80baf3a880d0 100644 --- a/packages/mui-material/src/InputAdornment/InputAdornment.js +++ b/packages/mui-material/src/InputAdornment/InputAdornment.js @@ -139,10 +139,10 @@ const InputAdornment = React.forwardRef(function InputAdornment(inProps, ref) { }); InputAdornment.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component, normally an `IconButton` or string. */ diff --git a/packages/mui-material/src/InputBase/InputBase.js b/packages/mui-material/src/InputBase/InputBase.js index 03706499a4a0ba..04b8ade2303c2d 100644 --- a/packages/mui-material/src/InputBase/InputBase.js +++ b/packages/mui-material/src/InputBase/InputBase.js @@ -584,10 +584,10 @@ const InputBase = React.forwardRef(function InputBase(inProps, ref) { }); InputBase.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ diff --git a/packages/mui-material/src/InputLabel/InputLabel.js b/packages/mui-material/src/InputLabel/InputLabel.js index f1edaeadb75a25..0b81712edec43a 100644 --- a/packages/mui-material/src/InputLabel/InputLabel.js +++ b/packages/mui-material/src/InputLabel/InputLabel.js @@ -169,10 +169,10 @@ const InputLabel = React.forwardRef(function InputLabel(inProps, ref) { }); InputLabel.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/LinearProgress/LinearProgress.js b/packages/mui-material/src/LinearProgress/LinearProgress.js index 1726720defa5fa..b4fb67688a80d1 100644 --- a/packages/mui-material/src/LinearProgress/LinearProgress.js +++ b/packages/mui-material/src/LinearProgress/LinearProgress.js @@ -348,10 +348,10 @@ const LinearProgress = React.forwardRef(function LinearProgress(inProps, ref) { }); LinearProgress.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Override or extend the styles applied to the component. */ diff --git a/packages/mui-material/src/Link/Link.js b/packages/mui-material/src/Link/Link.js index 6e0b084b85b0ed..e23708341b4ec4 100644 --- a/packages/mui-material/src/Link/Link.js +++ b/packages/mui-material/src/Link/Link.js @@ -164,10 +164,10 @@ const Link = React.forwardRef(function Link(inProps, ref) { }); Link.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/List/List.js b/packages/mui-material/src/List/List.js index c9b71c76a62ed6..a8c6037163f5db 100644 --- a/packages/mui-material/src/List/List.js +++ b/packages/mui-material/src/List/List.js @@ -85,10 +85,10 @@ const List = React.forwardRef(function List(inProps, ref) { }); List.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/ListItem/ListItem.js b/packages/mui-material/src/ListItem/ListItem.js index 47e22622a2c1a7..9b31b6651b0352 100644 --- a/packages/mui-material/src/ListItem/ListItem.js +++ b/packages/mui-material/src/ListItem/ListItem.js @@ -322,10 +322,10 @@ const ListItem = React.forwardRef(function ListItem(inProps, ref) { }); ListItem.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Defines the `align-items` style property. * @default 'center' diff --git a/packages/mui-material/src/ListItemAvatar/ListItemAvatar.js b/packages/mui-material/src/ListItemAvatar/ListItemAvatar.js index b3297f6b6018cc..6bb8339ba8eec7 100644 --- a/packages/mui-material/src/ListItemAvatar/ListItemAvatar.js +++ b/packages/mui-material/src/ListItemAvatar/ListItemAvatar.js @@ -59,10 +59,10 @@ const ListItemAvatar = React.forwardRef(function ListItemAvatar(inProps, ref) { }); ListItemAvatar.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component, normally an `Avatar`. */ diff --git a/packages/mui-material/src/ListItemButton/ListItemButton.js b/packages/mui-material/src/ListItemButton/ListItemButton.js index dc8928480f5afc..2870684be5a99b 100644 --- a/packages/mui-material/src/ListItemButton/ListItemButton.js +++ b/packages/mui-material/src/ListItemButton/ListItemButton.js @@ -197,10 +197,10 @@ const ListItemButton = React.forwardRef(function ListItemButton(inProps, ref) { }); ListItemButton.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Defines the `align-items` style property. * @default 'center' diff --git a/packages/mui-material/src/ListItemIcon/ListItemIcon.js b/packages/mui-material/src/ListItemIcon/ListItemIcon.js index 1a4ea7fdf937d3..1b0ff52ff8ed5a 100644 --- a/packages/mui-material/src/ListItemIcon/ListItemIcon.js +++ b/packages/mui-material/src/ListItemIcon/ListItemIcon.js @@ -61,10 +61,10 @@ const ListItemIcon = React.forwardRef(function ListItemIcon(inProps, ref) { }); ListItemIcon.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component, normally `Icon`, `SvgIcon`, * or a `@mui/icons-material` SVG icon element. diff --git a/packages/mui-material/src/ListItemSecondaryAction/ListItemSecondaryAction.js b/packages/mui-material/src/ListItemSecondaryAction/ListItemSecondaryAction.js index 569f95be3531b1..cf9d7acfceefb0 100644 --- a/packages/mui-material/src/ListItemSecondaryAction/ListItemSecondaryAction.js +++ b/packages/mui-material/src/ListItemSecondaryAction/ListItemSecondaryAction.js @@ -57,10 +57,10 @@ const ListItemSecondaryAction = React.forwardRef(function ListItemSecondaryActio }); ListItemSecondaryAction.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component, normally an `IconButton` or selection control. */ diff --git a/packages/mui-material/src/ListItemText/ListItemText.js b/packages/mui-material/src/ListItemText/ListItemText.js index b007f423583694..6729dfb7bfc254 100644 --- a/packages/mui-material/src/ListItemText/ListItemText.js +++ b/packages/mui-material/src/ListItemText/ListItemText.js @@ -122,10 +122,10 @@ const ListItemText = React.forwardRef(function ListItemText(inProps, ref) { }); ListItemText.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Alias for the `primary` prop. */ diff --git a/packages/mui-material/src/ListSubheader/ListSubheader.js b/packages/mui-material/src/ListSubheader/ListSubheader.js index 327fbc014f34d0..48c01aa2fbdc5d 100644 --- a/packages/mui-material/src/ListSubheader/ListSubheader.js +++ b/packages/mui-material/src/ListSubheader/ListSubheader.js @@ -104,10 +104,10 @@ const ListSubheader = React.forwardRef(function ListSubheader(inProps, ref) { ListSubheader.muiSkipListHighlight = true; ListSubheader.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The content of the component. */ diff --git a/packages/mui-material/src/Menu/Menu.js b/packages/mui-material/src/Menu/Menu.js index fbbe913079336a..1e3af0d0b445e4 100644 --- a/packages/mui-material/src/Menu/Menu.js +++ b/packages/mui-material/src/Menu/Menu.js @@ -217,10 +217,10 @@ const Menu = React.forwardRef(function Menu(inProps, ref) { }); Menu.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * An HTML element, or a function that returns one. * It's used to set the position of the menu. diff --git a/packages/mui-material/src/MenuItem/MenuItem.js b/packages/mui-material/src/MenuItem/MenuItem.js index d8e34918695b99..64b5a079e820cf 100644 --- a/packages/mui-material/src/MenuItem/MenuItem.js +++ b/packages/mui-material/src/MenuItem/MenuItem.js @@ -217,10 +217,10 @@ const MenuItem = React.forwardRef(function MenuItem(inProps, ref) { }); MenuItem.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * If `true`, the list item is focused during the first mount. * Focus will also be triggered if the value changes from false to true. diff --git a/packages/mui-material/src/MenuList/MenuList.js b/packages/mui-material/src/MenuList/MenuList.js index 010e42c53fdcd7..c25b1ac6c4bdb6 100644 --- a/packages/mui-material/src/MenuList/MenuList.js +++ b/packages/mui-material/src/MenuList/MenuList.js @@ -285,10 +285,10 @@ const MenuList = React.forwardRef(function MenuList(props, ref) { }); MenuList.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * If `true`, will focus the `[role="menu"]` container and move into tab order. * @default false diff --git a/packages/mui-material/src/MobileStepper/MobileStepper.js b/packages/mui-material/src/MobileStepper/MobileStepper.js index 6f9febe787e8d2..4a9511714bc087 100644 --- a/packages/mui-material/src/MobileStepper/MobileStepper.js +++ b/packages/mui-material/src/MobileStepper/MobileStepper.js @@ -179,10 +179,10 @@ const MobileStepper = React.forwardRef(function MobileStepper(inProps, ref) { }); MobileStepper.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * Set the active step (zero based index). * Defines which dot is highlighted when the variant is 'dots'. diff --git a/packages/mui-material/src/Modal/Modal.js b/packages/mui-material/src/Modal/Modal.js index 07c0c437f7dacd..f14554c47e8235 100644 --- a/packages/mui-material/src/Modal/Modal.js +++ b/packages/mui-material/src/Modal/Modal.js @@ -218,10 +218,10 @@ const Modal = React.forwardRef(function Modal(inProps, ref) { }); Modal.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * A backdrop component. This prop enables custom backdrop rendering. * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version. diff --git a/packages/mui-material/src/NativeSelect/NativeSelect.js b/packages/mui-material/src/NativeSelect/NativeSelect.js index 78d65e4883e29f..674f0e6797b75c 100644 --- a/packages/mui-material/src/NativeSelect/NativeSelect.js +++ b/packages/mui-material/src/NativeSelect/NativeSelect.js @@ -73,10 +73,10 @@ const NativeSelect = React.forwardRef(function NativeSelect(inProps, ref) { }); NativeSelect.propTypes /* remove-proptypes */ = { - // ----------------------------- Warning -------------------------------- - // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the d.ts file and run "pnpm proptypes" | - // ---------------------------------------------------------------------- + // ┌────────────────────────────── Warning ──────────────────────────────┐ + // │ These PropTypes are generated from the TypeScript type definitions. │ + // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ + // └─────────────────────────────────────────────────────────────────────┘ /** * The option elements to populate the select with. * Can be some `