diff --git a/docs/data/material/components/accordion/accordion.md b/docs/data/material/components/accordion/accordion.md index c9fe4170bc5896..501439a56bc28e 100644 --- a/docs/data/material/components/accordion/accordion.md +++ b/docs/data/material/components/accordion/accordion.md @@ -5,6 +5,7 @@ components: Accordion, AccordionActions, AccordionDetails, AccordionSummary githubLabel: 'component: accordion' materialDesign: https://m1.material.io/components/expansion-panels.html waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/accordion/ +githubSource: packages/mui-material/src/Accordion --- # Accordion diff --git a/docs/data/material/components/alert/alert.md b/docs/data/material/components/alert/alert.md index 185b7013b709e9..5e986380ffcece 100644 --- a/docs/data/material/components/alert/alert.md +++ b/docs/data/material/components/alert/alert.md @@ -4,6 +4,7 @@ title: React Alert component components: Alert, AlertTitle githubLabel: 'component: alert' waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/alert/ +githubSource: packages/mui-material/src/Alert --- # Alert diff --git a/docs/data/material/components/app-bar/app-bar.md b/docs/data/material/components/app-bar/app-bar.md index ff2d55c92986b7..be622aedf2d67a 100644 --- a/docs/data/material/components/app-bar/app-bar.md +++ b/docs/data/material/components/app-bar/app-bar.md @@ -4,6 +4,7 @@ title: App Bar React component components: AppBar, Toolbar, Menu githubLabel: 'component: app bar' materialDesign: https://m2.material.io/components/app-bars-top +githubSource: packages/mui-material/src/AppBar --- # App Bar diff --git a/docs/data/material/components/autocomplete/autocomplete.md b/docs/data/material/components/autocomplete/autocomplete.md index f3783b8dfa7b84..02e05a5dfb0f73 100644 --- a/docs/data/material/components/autocomplete/autocomplete.md +++ b/docs/data/material/components/autocomplete/autocomplete.md @@ -4,6 +4,7 @@ title: React Autocomplete component components: TextField, Popper, Autocomplete githubLabel: 'component: autocomplete' waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/combobox/ +githubSource: packages/mui-material/src/Autocomplete --- # Autocomplete diff --git a/docs/data/material/components/avatars/avatars.md b/docs/data/material/components/avatars/avatars.md index 78d661da7bcdfe..08362acff64506 100644 --- a/docs/data/material/components/avatars/avatars.md +++ b/docs/data/material/components/avatars/avatars.md @@ -3,6 +3,7 @@ productId: material-ui title: React Avatar component components: Avatar, AvatarGroup, Badge githubLabel: 'component: avatar' +githubSource: packages/mui-material/src/Avatar --- # Avatar diff --git a/docs/data/material/components/backdrop/backdrop.md b/docs/data/material/components/backdrop/backdrop.md index 480cbb2176b18e..a61747829866f3 100644 --- a/docs/data/material/components/backdrop/backdrop.md +++ b/docs/data/material/components/backdrop/backdrop.md @@ -3,6 +3,7 @@ productId: material-ui title: Backdrop React Component components: Backdrop githubLabel: 'component: backdrop' +githubSource: packages/mui-material/src/Backdrop --- # Backdrop diff --git a/docs/data/material/components/badges/badges.md b/docs/data/material/components/badges/badges.md index afe2a11c2d73dc..99d9152dfc5279 100644 --- a/docs/data/material/components/badges/badges.md +++ b/docs/data/material/components/badges/badges.md @@ -4,6 +4,7 @@ title: React Badge component components: Badge githubLabel: 'component: badge' unstyled: /base-ui/react-badge/ +githubSource: packages/mui-material/src/Badge --- # Badge diff --git a/docs/data/material/components/bottom-navigation/bottom-navigation.md b/docs/data/material/components/bottom-navigation/bottom-navigation.md index 29e8ff56dfe66e..6f24ba4a427e36 100644 --- a/docs/data/material/components/bottom-navigation/bottom-navigation.md +++ b/docs/data/material/components/bottom-navigation/bottom-navigation.md @@ -4,6 +4,7 @@ title: Bottom Navigation React component components: BottomNavigation, BottomNavigationAction githubLabel: 'component: bottom navigation' materialDesign: https://m2.material.io/components/bottom-navigation +githubSource: packages/mui-material/src/BottomNavigation --- # Bottom Navigation diff --git a/docs/data/material/components/box/box.md b/docs/data/material/components/box/box.md index aa6a15236e62a1..bc1fc3cff2aeab 100644 --- a/docs/data/material/components/box/box.md +++ b/docs/data/material/components/box/box.md @@ -3,6 +3,7 @@ productId: material-ui title: React Box components: Box githubLabel: 'component: Box' +githubSource: packages/mui-material/src/Box --- diff --git a/docs/data/material/components/breadcrumbs/breadcrumbs.md b/docs/data/material/components/breadcrumbs/breadcrumbs.md index 3d31bebd8ed0d1..b26cfc1f0af654 100644 --- a/docs/data/material/components/breadcrumbs/breadcrumbs.md +++ b/docs/data/material/components/breadcrumbs/breadcrumbs.md @@ -4,6 +4,7 @@ title: React Breadcrumbs component components: Breadcrumbs, Link, Typography githubLabel: 'component: breadcrumbs' waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/ +githubSource: packages/mui-material/src/Breadcrumbs --- # Breadcrumbs diff --git a/docs/data/material/components/button-group/button-group.md b/docs/data/material/components/button-group/button-group.md index c5a1732e01635c..6cc23f74925aec 100644 --- a/docs/data/material/components/button-group/button-group.md +++ b/docs/data/material/components/button-group/button-group.md @@ -3,6 +3,7 @@ productId: material-ui title: React Button Group component components: Button, ButtonGroup, LoadingButton githubLabel: 'component: ButtonGroup' +githubSource: packages/mui-material/src/ButtonGroup --- # Button Group diff --git a/docs/data/material/components/buttons/buttons.md b/docs/data/material/components/buttons/buttons.md index 3b531ea2fa9318..4da25aa7e55f5f 100644 --- a/docs/data/material/components/buttons/buttons.md +++ b/docs/data/material/components/buttons/buttons.md @@ -6,6 +6,7 @@ materialDesign: https://m2.material.io/components/buttons githubLabel: 'component: button' waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/button/ unstyled: /base-ui/react-button/ +githubSource: packages/mui-material/src/Button --- # Button diff --git a/docs/data/material/components/cards/cards.md b/docs/data/material/components/cards/cards.md index 93b026b4890624..a72c5348a63178 100644 --- a/docs/data/material/components/cards/cards.md +++ b/docs/data/material/components/cards/cards.md @@ -4,6 +4,7 @@ title: React Card component components: Card, CardActionArea, CardActions, CardContent, CardHeader, CardMedia, Collapse, Paper githubLabel: 'component: card' materialDesign: https://m2.material.io/components/cards +githubSource: packages/mui-material/src/Card --- # Card diff --git a/docs/data/material/components/checkboxes/checkboxes.md b/docs/data/material/components/checkboxes/checkboxes.md index 8af3d4f249d28e..d0b1839573805b 100644 --- a/docs/data/material/components/checkboxes/checkboxes.md +++ b/docs/data/material/components/checkboxes/checkboxes.md @@ -5,6 +5,7 @@ components: Checkbox, FormControl, FormGroup, FormLabel, FormControlLabel materialDesign: https://m2.material.io/components/selection-controls#checkboxes githubLabel: 'component: checkbox' waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/ +githubSource: packages/mui-material/src/Checkbox --- # Checkbox diff --git a/docs/data/material/components/chips/chips.md b/docs/data/material/components/chips/chips.md index 3d44914c403a33..d226eaf58afa61 100644 --- a/docs/data/material/components/chips/chips.md +++ b/docs/data/material/components/chips/chips.md @@ -4,6 +4,7 @@ title: React Chip component components: Chip githubLabel: 'component: chip' materialDesign: https://m2.material.io/components/chips +githubSource: packages/mui-material/src/Chip --- # Chip diff --git a/docs/data/material/components/container/container.md b/docs/data/material/components/container/container.md index b1a51b2b96e629..33fc6f267572c7 100644 --- a/docs/data/material/components/container/container.md +++ b/docs/data/material/components/container/container.md @@ -3,6 +3,7 @@ productId: material-ui title: React Container component components: Container, PigmentContainer githubLabel: 'component: Container' +githubSource: packages/mui-material/src/Container --- # Container diff --git a/docs/data/material/components/css-baseline/css-baseline.md b/docs/data/material/components/css-baseline/css-baseline.md index 8842568bbd2d65..07fb5bad53f2c8 100644 --- a/docs/data/material/components/css-baseline/css-baseline.md +++ b/docs/data/material/components/css-baseline/css-baseline.md @@ -2,6 +2,7 @@ productId: material-ui components: CssBaseline, ScopedCssBaseline githubLabel: 'component: CssBaseline' +githubSource: packages/mui-material/src/CssBaseline --- # CSS Baseline diff --git a/docs/data/material/components/dialogs/dialogs.md b/docs/data/material/components/dialogs/dialogs.md index 476402e7718cd4..0a984a0c1e9c05 100644 --- a/docs/data/material/components/dialogs/dialogs.md +++ b/docs/data/material/components/dialogs/dialogs.md @@ -5,6 +5,7 @@ components: Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions githubLabel: 'component: dialog' materialDesign: https://m2.material.io/components/dialogs waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/ +githubSource: packages/mui-material/src/Dialog --- # Dialog diff --git a/docs/data/material/components/dividers/dividers.md b/docs/data/material/components/dividers/dividers.md index 1f346f3d05400d..90219c5801ade8 100644 --- a/docs/data/material/components/dividers/dividers.md +++ b/docs/data/material/components/dividers/dividers.md @@ -4,6 +4,7 @@ title: React Divider component components: Divider githubLabel: 'component: divider' materialDesign: https://m2.material.io/components/dividers +githubSource: packages/mui-material/src/Divider --- # Divider diff --git a/docs/data/material/components/drawers/drawers.md b/docs/data/material/components/drawers/drawers.md index 9e952e7056ad4d..7abe4cdab41354 100644 --- a/docs/data/material/components/drawers/drawers.md +++ b/docs/data/material/components/drawers/drawers.md @@ -4,6 +4,7 @@ title: React Drawer component components: Drawer, SwipeableDrawer githubLabel: 'component: drawer' materialDesign: https://m2.material.io/components/navigation-drawer +githubSource: packages/mui-material/src/Drawer --- # Drawer diff --git a/docs/data/material/components/floating-action-button/floating-action-button.md b/docs/data/material/components/floating-action-button/floating-action-button.md index e22b11bf0a7649..fa091854785b64 100644 --- a/docs/data/material/components/floating-action-button/floating-action-button.md +++ b/docs/data/material/components/floating-action-button/floating-action-button.md @@ -4,6 +4,7 @@ title: React Floating Action Button (FAB) component components: Fab githubLabel: 'component: Fab' materialDesign: https://m2.material.io/components/buttons-floating-action-button +githubSource: packages/mui-material/src/Fab --- # Floating Action Button diff --git a/docs/data/material/components/grid/grid.md b/docs/data/material/components/grid/grid.md index c8312242965e0a..bb540ea5f23d93 100644 --- a/docs/data/material/components/grid/grid.md +++ b/docs/data/material/components/grid/grid.md @@ -4,6 +4,7 @@ title: React Grid component components: Grid githubLabel: 'component: Grid' materialDesign: https://m2.material.io/design/layout/understanding-layout.html +githubSource: packages/mui-material/src/Grid --- # Grid diff --git a/docs/data/material/components/grid2/grid2.md b/docs/data/material/components/grid2/grid2.md index cea778689f5c90..0dfd5b6d8e1222 100644 --- a/docs/data/material/components/grid2/grid2.md +++ b/docs/data/material/components/grid2/grid2.md @@ -4,6 +4,7 @@ title: React Grid component components: PigmentGrid, Grid2 githubLabel: 'component: Grid' materialDesign: https://m2.material.io/design/layout/understanding-layout.html +githubSource: packages/mui-material/src/Grid2 --- # Grid version 2 diff --git a/docs/data/material/components/hidden/hidden.md b/docs/data/material/components/hidden/hidden.md index 767f500da24623..3eb3bdc0283156 100644 --- a/docs/data/material/components/hidden/hidden.md +++ b/docs/data/material/components/hidden/hidden.md @@ -4,6 +4,7 @@ title: React Hidden component description: The Hidden component is deprecated, check out the migration guide for more details. components: Hidden, PigmentHidden githubLabel: 'component: Hidden' +githubSource: packages/mui-material/src/Hidden --- # Hidden diff --git a/docs/data/material/components/image-list/image-list.md b/docs/data/material/components/image-list/image-list.md index e69a39e7e02463..ed8006db14c5b9 100644 --- a/docs/data/material/components/image-list/image-list.md +++ b/docs/data/material/components/image-list/image-list.md @@ -4,6 +4,7 @@ title: Image List React component components: ImageList, ImageListItem, ImageListItemBar materialDesign: https://m2.material.io/components/image-lists githubLabel: 'component: image list' +githubSource: packages/mui-material/src/ImageList --- # Image List diff --git a/docs/data/material/components/links/links.md b/docs/data/material/components/links/links.md index 1f342e8700eb92..a6ec8051cbba9a 100644 --- a/docs/data/material/components/links/links.md +++ b/docs/data/material/components/links/links.md @@ -3,6 +3,7 @@ productId: material-ui components: Link githubLabel: 'component: link' waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/link/ +githubSource: packages/mui-material/src/Link --- # Links diff --git a/docs/data/material/components/lists/lists.md b/docs/data/material/components/lists/lists.md index 70b2a98889aca3..3efd1930a22079 100644 --- a/docs/data/material/components/lists/lists.md +++ b/docs/data/material/components/lists/lists.md @@ -4,6 +4,7 @@ title: React List component components: Collapse, Divider, List, ListItem, ListItemButton, ListItemAvatar, ListItemIcon, ListItemSecondaryAction, ListItemText, ListSubheader githubLabel: 'component: list' materialDesign: https://m2.material.io/components/lists +githubSource: packages/mui-material/src/List --- # Lists diff --git a/docs/data/material/components/menus/menus.md b/docs/data/material/components/menus/menus.md index 259f1c68ead249..8bb3925e207ab2 100644 --- a/docs/data/material/components/menus/menus.md +++ b/docs/data/material/components/menus/menus.md @@ -6,6 +6,7 @@ githubLabel: 'component: menu' materialDesign: https://m2.material.io/components/menus waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/ unstyled: /base-ui/react-menu/ +githubSource: packages/mui-material/src/Menu --- # Menu diff --git a/docs/data/material/components/modal/modal.md b/docs/data/material/components/modal/modal.md index 4a8d2f040e20e4..aa0f6c75f912b3 100644 --- a/docs/data/material/components/modal/modal.md +++ b/docs/data/material/components/modal/modal.md @@ -5,6 +5,7 @@ components: Modal githubLabel: 'component: modal' waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/ unstyled: /base-ui/react-modal/ +githubSource: packages/mui-material/src/Modal --- # Modal diff --git a/docs/data/material/components/pagination/pagination.md b/docs/data/material/components/pagination/pagination.md index 2d5005cadb0f28..56413d6cba1be8 100644 --- a/docs/data/material/components/pagination/pagination.md +++ b/docs/data/material/components/pagination/pagination.md @@ -3,6 +3,7 @@ productId: material-ui title: React Pagination component components: Pagination, PaginationItem, TablePagination githubLabel: 'component: pagination' +githubSource: packages/mui-material/src/Pagination --- # Pagination diff --git a/docs/data/material/components/paper/paper.md b/docs/data/material/components/paper/paper.md index ffb71f3825ab99..c20f94c1412eac 100644 --- a/docs/data/material/components/paper/paper.md +++ b/docs/data/material/components/paper/paper.md @@ -4,6 +4,7 @@ title: React Paper component components: Paper githubLabel: 'component: Paper' materialDesign: https://m2.material.io/design/environment/elevation.html +githubSource: packages/mui-material/src/Paper --- # Paper diff --git a/docs/data/material/components/popover/popover.md b/docs/data/material/components/popover/popover.md index ef9801792a7320..9aceeb3c6dd248 100644 --- a/docs/data/material/components/popover/popover.md +++ b/docs/data/material/components/popover/popover.md @@ -3,6 +3,7 @@ productId: material-ui title: React Popover component components: Grow, Popover githubLabel: 'component: Popover' +githubSource: packages/mui-material/src/Popover --- # Popover diff --git a/docs/data/material/components/popper/popper.md b/docs/data/material/components/popper/popper.md index bd10fa395b0115..d88359dd7b90f0 100644 --- a/docs/data/material/components/popper/popper.md +++ b/docs/data/material/components/popper/popper.md @@ -4,6 +4,7 @@ title: React Popper component components: Popper githubLabel: 'component: Popper' unstyled: /base-ui/react-popper/ +githubSource: packages/mui-material/src/Popper --- # Popper diff --git a/docs/data/material/components/progress/progress.md b/docs/data/material/components/progress/progress.md index 963bbafed90f5d..73fdbe346fc33d 100644 --- a/docs/data/material/components/progress/progress.md +++ b/docs/data/material/components/progress/progress.md @@ -4,6 +4,7 @@ title: Circular, Linear progress React components components: CircularProgress, LinearProgress githubLabel: 'component: progress' materialDesign: https://m2.material.io/components/progress-indicators +githubSource: packages/mui-material/src/LinearProgress --- # Progress diff --git a/docs/data/material/components/radio-buttons/radio-buttons.md b/docs/data/material/components/radio-buttons/radio-buttons.md index 28a60256665262..128fdeaf733f9a 100644 --- a/docs/data/material/components/radio-buttons/radio-buttons.md +++ b/docs/data/material/components/radio-buttons/radio-buttons.md @@ -5,6 +5,7 @@ components: Radio, RadioGroup, FormControl, FormLabel, FormControlLabel githubLabel: 'component: radio' materialDesign: https://m2.material.io/components/selection-controls#radio-buttons waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/radio/ +githubSource: packages/mui-material/src/RadioGroup --- # Radio Group diff --git a/docs/data/material/components/rating/rating.md b/docs/data/material/components/rating/rating.md index fb2e134f954d67..163a8467202dc3 100644 --- a/docs/data/material/components/rating/rating.md +++ b/docs/data/material/components/rating/rating.md @@ -4,6 +4,7 @@ title: React Rating component components: Rating githubLabel: 'component: rating' waiAria: https://www.w3.org/WAI/tutorials/forms/custom-controls/#a-star-rating +githubSource: packages/mui-material/src/Rating --- # Rating diff --git a/docs/data/material/components/selects/selects.md b/docs/data/material/components/selects/selects.md index 10d6a7b198861b..4025b19b73751d 100644 --- a/docs/data/material/components/selects/selects.md +++ b/docs/data/material/components/selects/selects.md @@ -6,6 +6,7 @@ githubLabel: 'component: select' materialDesign: https://m2.material.io/components/menus#exposed-dropdown-menu waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/ unstyled: /base-ui/react-select/ +githubSource: packages/mui-material/src/Select --- # Select diff --git a/docs/data/material/components/skeleton/skeleton.md b/docs/data/material/components/skeleton/skeleton.md index 3a16a710d11297..4dc9dab063b988 100644 --- a/docs/data/material/components/skeleton/skeleton.md +++ b/docs/data/material/components/skeleton/skeleton.md @@ -3,6 +3,7 @@ productId: material-ui title: React Skeleton component components: Skeleton githubLabel: 'component: skeleton' +githubSource: packages/mui-material/src/Skeleton --- # Skeleton diff --git a/docs/data/material/components/slider/slider.md b/docs/data/material/components/slider/slider.md index ea682f7c11f500..6e3d6f0f387990 100644 --- a/docs/data/material/components/slider/slider.md +++ b/docs/data/material/components/slider/slider.md @@ -6,6 +6,7 @@ githubLabel: 'component: slider' materialDesign: https://m2.material.io/components/sliders waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/slider-multithumb/ unstyled: /base-ui/react-slider/ +githubSource: packages/mui-material/src/Slider --- # Slider diff --git a/docs/data/material/components/snackbars/snackbars.md b/docs/data/material/components/snackbars/snackbars.md index c3e53f8b347c65..1da7dc613216f8 100644 --- a/docs/data/material/components/snackbars/snackbars.md +++ b/docs/data/material/components/snackbars/snackbars.md @@ -5,6 +5,7 @@ components: Snackbar, SnackbarContent githubLabel: 'component: snackbar' materialDesign: https://m2.material.io/components/snackbars waiAria: https://www.w3.org/TR/wai-aria-1.1/#alert +githubSource: packages/mui-material/src/Snackbar --- # Snackbar diff --git a/docs/data/material/components/speed-dial/speed-dial.md b/docs/data/material/components/speed-dial/speed-dial.md index 8d9771c6c9911b..7b58695b8954c2 100644 --- a/docs/data/material/components/speed-dial/speed-dial.md +++ b/docs/data/material/components/speed-dial/speed-dial.md @@ -5,6 +5,7 @@ components: SpeedDial, SpeedDialAction, SpeedDialIcon githubLabel: 'component: speed dial' materialDesign: https://m2.material.io/components/buttons-floating-action-button#types-of-transitions waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/ +githubSource: packages/mui-material/src/SpeedDial --- # Speed Dial diff --git a/docs/data/material/components/stack/stack.md b/docs/data/material/components/stack/stack.md index c85249440829e6..53b0d0c092500b 100644 --- a/docs/data/material/components/stack/stack.md +++ b/docs/data/material/components/stack/stack.md @@ -3,6 +3,7 @@ productId: material-ui title: React Stack component components: Stack, PigmentStack githubLabel: 'component: Stack' +githubSource: packages/mui-material/src/Stack --- # Stack diff --git a/docs/data/material/components/steppers/steppers.md b/docs/data/material/components/steppers/steppers.md index 54772c5a93a53e..2bc2adacdd290d 100644 --- a/docs/data/material/components/steppers/steppers.md +++ b/docs/data/material/components/steppers/steppers.md @@ -4,6 +4,7 @@ title: React Stepper component components: MobileStepper, Step, StepButton, StepConnector, StepContent, StepIcon, StepLabel, Stepper githubLabel: 'component: stepper' materialDesign: https://m1.material.io/components/steppers.html +githubSource: packages/mui-material/src/Stepper --- # Stepper diff --git a/docs/data/material/components/switches/switches.md b/docs/data/material/components/switches/switches.md index ab7a8bf20c31b2..6f1ae3c042c4c7 100644 --- a/docs/data/material/components/switches/switches.md +++ b/docs/data/material/components/switches/switches.md @@ -5,6 +5,7 @@ components: Switch, FormControl, FormGroup, FormLabel, FormControlLabel githubLabel: 'component: switch' materialDesign: https://m2.material.io/components/selection-controls#switches unstyled: /base-ui/react-switch/ +githubSource: packages/mui-material/src/Switch --- # Switch diff --git a/docs/data/material/components/table/table.md b/docs/data/material/components/table/table.md index 83c752b3f3adc6..f3deeb522df77d 100644 --- a/docs/data/material/components/table/table.md +++ b/docs/data/material/components/table/table.md @@ -5,6 +5,7 @@ components: Table, TableBody, TableCell, TableContainer, TableFooter, TableHead, githubLabel: 'component: table' waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/table/ materialDesign: https://m2.material.io/components/data-tables +githubSource: packages/mui-material/src/Table --- # Table diff --git a/docs/data/material/components/tabs/tabs.md b/docs/data/material/components/tabs/tabs.md index 370b2450044f9c..de262969456ca8 100644 --- a/docs/data/material/components/tabs/tabs.md +++ b/docs/data/material/components/tabs/tabs.md @@ -6,6 +6,7 @@ githubLabel: 'component: tabs' materialDesign: https://m2.material.io/components/tabs waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/tabs/ unstyled: /base-ui/react-tabs/ +githubSource: packages/mui-material/src/Tabs --- # Tabs diff --git a/docs/data/material/components/text-fields/text-fields.md b/docs/data/material/components/text-fields/text-fields.md index 84658fd09de126..e4cc8f8137c676 100644 --- a/docs/data/material/components/text-fields/text-fields.md +++ b/docs/data/material/components/text-fields/text-fields.md @@ -5,6 +5,7 @@ components: FilledInput, FormControl, FormHelperText, Input, InputAdornment, Inp githubLabel: 'component: text field' materialDesign: https://m2.material.io/components/text-fields unstyled: /base-ui/react-input/ +githubSource: packages/mui-material/src/TextField --- # Text Field diff --git a/docs/data/material/components/toggle-button/toggle-button.md b/docs/data/material/components/toggle-button/toggle-button.md index ec6b514cbff27a..3dd7d233958903 100644 --- a/docs/data/material/components/toggle-button/toggle-button.md +++ b/docs/data/material/components/toggle-button/toggle-button.md @@ -4,6 +4,7 @@ title: Toggle Button React component components: ToggleButton, ToggleButtonGroup githubLabel: 'component: toggle button' materialDesign: https://m2.material.io/components/buttons#toggle-button +githubSource: packages/mui-material/src/ToggleButton --- # Toggle Button diff --git a/docs/data/material/components/tooltips/tooltips.md b/docs/data/material/components/tooltips/tooltips.md index 4cedae5a300099..f9ab7ac7f037f3 100644 --- a/docs/data/material/components/tooltips/tooltips.md +++ b/docs/data/material/components/tooltips/tooltips.md @@ -5,6 +5,7 @@ components: Tooltip githubLabel: 'component: tooltip' materialDesign: https://m2.material.io/components/tooltips waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/ +githubSource: packages/mui-material/src/Tooltip --- # Tooltip diff --git a/docs/data/material/components/transitions/transitions.md b/docs/data/material/components/transitions/transitions.md index de2a39939edd7f..7754a501daee05 100644 --- a/docs/data/material/components/transitions/transitions.md +++ b/docs/data/material/components/transitions/transitions.md @@ -3,6 +3,7 @@ productId: material-ui title: React Transition component components: Collapse, Fade, Grow, Slide, Zoom githubLabel: 'component: transitions' +githubSource: packages/mui-material/src/transitions --- # Transitions diff --git a/docs/data/material/components/typography/typography.md b/docs/data/material/components/typography/typography.md index 41de1743d51ad9..5e55cea5e7749e 100644 --- a/docs/data/material/components/typography/typography.md +++ b/docs/data/material/components/typography/typography.md @@ -4,6 +4,7 @@ title: React Typography component components: Typography githubLabel: 'component: Typography' materialDesign: https://m2.material.io/design/typography/the-type-system.html +githubSource: packages/mui-material/src/Typography --- # Typography diff --git a/docs/data/material/components/use-media-query/use-media-query.md b/docs/data/material/components/use-media-query/use-media-query.md index fd618904d9b36b..f5f7fc495f0483 100644 --- a/docs/data/material/components/use-media-query/use-media-query.md +++ b/docs/data/material/components/use-media-query/use-media-query.md @@ -2,6 +2,7 @@ productId: material-ui title: Media queries in React for responsive design githubLabel: 'hook: useMediaQuery' +githubSource: packages/mui-material/src/useMediaQuery --- # useMediaQuery diff --git a/packages/markdown/index.d.ts b/packages/markdown/index.d.ts index 1fcebbc23b6111..6c8d6ed32454c5 100644 --- a/packages/markdown/index.d.ts +++ b/packages/markdown/index.d.ts @@ -27,6 +27,7 @@ export interface MarkdownHeaders { tags?: string[]; authors?: string[]; date?: string; + githubSource?: string; } export function getHeaders(markdown: string): MarkdownHeaders; diff --git a/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx b/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx index 50e1a7f705af88..18ef4ad1ea7777 100644 --- a/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx +++ b/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx @@ -2,6 +2,7 @@ import * as React from 'react'; import Chip from '@mui/material/Chip'; import Tooltip from '@mui/material/Tooltip'; import ChatRounded from '@mui/icons-material/ChatRounded'; +import GitHubIcon from '@mui/icons-material/GitHub'; import { styled } from '@mui/material/styles'; import { MarkdownHeaders } from '@mui/internal-markdown'; import SketchIcon from '../svgIcons/SketchIcon'; @@ -97,6 +98,26 @@ export function ComponentLinkHeader(props: ComponentLinkHeaderProps) { /> + {headers.githubSource ? ( +