From 2b906deac4ff885c231563442a7bf3545c82930c Mon Sep 17 00:00:00 2001 From: Jay-Karia Date: Thu, 8 Aug 2024 10:55:54 +0530 Subject: [PATCH 01/12] chore(docs): add github chip in component header --- .../ComponentLinkHeader.tsx | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx b/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx index 50e1a7f705af88..d511da7bd87384 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'; @@ -194,6 +195,26 @@ export function ComponentLinkHeader(props: ComponentLinkHeaderProps) { )} )} + {headers.githubSource ? ( +
  • + } + data-ga-event-category="ComponentLinkHeader" + data-ga-event-action="click" + data-ga-event-label="Source" + data-ga-event-split="0.1" + label="Source" + target="_blank" + /> +
  • + ) : null} ); } From 10d1cc5edf41db56043ab217dbbd192ded0338e3 Mon Sep 17 00:00:00 2001 From: Jay-Karia Date: Thu, 8 Aug 2024 10:57:36 +0530 Subject: [PATCH 02/12] fix: formatting --- .../mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx b/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx index d511da7bd87384..8cf15988a6e071 100644 --- a/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx +++ b/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx @@ -195,7 +195,7 @@ export function ComponentLinkHeader(props: ComponentLinkHeaderProps) { )} )} - {headers.githubSource ? ( + {headers.githubSource ? (
  • ) : null} From eb7ac02e280d5534cc9ff02b2bbd5a69469e1620 Mon Sep 17 00:00:00 2001 From: Jay-Karia Date: Thu, 8 Aug 2024 11:17:54 +0530 Subject: [PATCH 03/12] chore(docs): add source links to input components --- docs/data/material/components/autocomplete/autocomplete.md | 1 + docs/data/material/components/button-group/button-group.md | 1 + docs/data/material/components/buttons/buttons.md | 1 + docs/data/material/components/checkboxes/checkboxes.md | 1 + .../components/floating-action-button/floating-action-button.md | 1 + docs/data/material/components/radio-buttons/radio-buttons.md | 1 + docs/data/material/components/rating/rating.md | 1 + docs/data/material/components/selects/selects.md | 1 + docs/data/material/components/slider/slider.md | 1 + docs/data/material/components/switches/switches.md | 1 + docs/data/material/components/text-fields/text-fields.md | 1 + docs/data/material/components/toggle-button/toggle-button.md | 1 + 12 files changed, 12 insertions(+) diff --git a/docs/data/material/components/autocomplete/autocomplete.md b/docs/data/material/components/autocomplete/autocomplete.md index 8fe8e978b255fb..a14df10277d094 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Autocomplete --- # Autocomplete diff --git a/docs/data/material/components/button-group/button-group.md b/docs/data/material/components/button-group/button-group.md index c5a1732e01635c..eb11967461644d 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: https://github.com/mui/material-ui/tree/next/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..601c116a239b01 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Button --- # Button diff --git a/docs/data/material/components/checkboxes/checkboxes.md b/docs/data/material/components/checkboxes/checkboxes.md index 8af3d4f249d28e..2077c2400416c1 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Checkbox --- # Checkbox 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..84be3bd2804990 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Fab --- # Floating Action Button diff --git a/docs/data/material/components/radio-buttons/radio-buttons.md b/docs/data/material/components/radio-buttons/radio-buttons.md index 28a60256665262..9b79b6654c2d7b 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: https://github.com/mui/material-ui/tree/next/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..052867c092919b 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: https://github.com/mui/material-ui/tree/next/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..3fac72741d2347 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Select --- # Select diff --git a/docs/data/material/components/slider/slider.md b/docs/data/material/components/slider/slider.md index ea682f7c11f500..a579541e610444 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Slider --- # Slider diff --git a/docs/data/material/components/switches/switches.md b/docs/data/material/components/switches/switches.md index ab7a8bf20c31b2..fb0e042d990658 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Switch --- # Switch diff --git a/docs/data/material/components/text-fields/text-fields.md b/docs/data/material/components/text-fields/text-fields.md index 84658fd09de126..27db089cd3b714 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: https://github.com/mui/material-ui/tree/next/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..1f261dae1302f8 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/ToggleButton --- # Toggle Button From 97a383234aa8d2a9cd3e989c86cae39a51e705a0 Mon Sep 17 00:00:00 2001 From: Jay-Karia Date: Thu, 8 Aug 2024 11:34:25 +0530 Subject: [PATCH 04/12] chore(docs): add source links to data display components --- docs/data/material/components/avatars/avatars.md | 1 + docs/data/material/components/badges/badges.md | 1 + docs/data/material/components/chips/chips.md | 1 + docs/data/material/components/dividers/dividers.md | 1 + docs/data/material/components/lists/lists.md | 1 + docs/data/material/components/table/table.md | 1 + docs/data/material/components/tooltips/tooltips.md | 1 + docs/data/material/components/typography/typography.md | 1 + 8 files changed, 8 insertions(+) diff --git a/docs/data/material/components/avatars/avatars.md b/docs/data/material/components/avatars/avatars.md index 78d661da7bcdfe..e225f215ce34ab 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Avatar --- # Avatar diff --git a/docs/data/material/components/badges/badges.md b/docs/data/material/components/badges/badges.md index afe2a11c2d73dc..85ae62d647e783 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Badge --- # Badge diff --git a/docs/data/material/components/chips/chips.md b/docs/data/material/components/chips/chips.md index 3d44914c403a33..4cde87627a6b98 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Chip --- # Chip diff --git a/docs/data/material/components/dividers/dividers.md b/docs/data/material/components/dividers/dividers.md index cc755df9900e29..e55981831291f1 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Divider --- # Divider diff --git a/docs/data/material/components/lists/lists.md b/docs/data/material/components/lists/lists.md index 70b2a98889aca3..fa30acec625f0c 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/List --- # Lists diff --git a/docs/data/material/components/table/table.md b/docs/data/material/components/table/table.md index 83c752b3f3adc6..66226720d4df99 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Table --- # Table diff --git a/docs/data/material/components/tooltips/tooltips.md b/docs/data/material/components/tooltips/tooltips.md index 4cedae5a300099..f073f43a858b53 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Tooltip --- # Tooltip diff --git a/docs/data/material/components/typography/typography.md b/docs/data/material/components/typography/typography.md index 41de1743d51ad9..987ec71974015d 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Typography --- # Typography From 4d0e860422ee99ba5003635cea54ef566e38ed94 Mon Sep 17 00:00:00 2001 From: Jay-Karia Date: Thu, 8 Aug 2024 11:44:31 +0530 Subject: [PATCH 05/12] chore(docs): add source links to feedback components --- docs/data/material/components/alert/alert.md | 1 + docs/data/material/components/backdrop/backdrop.md | 1 + docs/data/material/components/dialogs/dialogs.md | 1 + docs/data/material/components/progress/progress.md | 1 + docs/data/material/components/skeleton/skeleton.md | 1 + docs/data/material/components/snackbars/snackbars.md | 1 + 6 files changed, 6 insertions(+) diff --git a/docs/data/material/components/alert/alert.md b/docs/data/material/components/alert/alert.md index 185b7013b709e9..5bd27928039034 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Alert --- # Alert diff --git a/docs/data/material/components/backdrop/backdrop.md b/docs/data/material/components/backdrop/backdrop.md index 480cbb2176b18e..b431dfbb4c0605 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Backdrop --- # Backdrop diff --git a/docs/data/material/components/dialogs/dialogs.md b/docs/data/material/components/dialogs/dialogs.md index 476402e7718cd4..ef99a1fe335775 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Dialog --- # Dialog diff --git a/docs/data/material/components/progress/progress.md b/docs/data/material/components/progress/progress.md index 963bbafed90f5d..1b5ae4eb58133a 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/LinearProgress --- # Progress diff --git a/docs/data/material/components/skeleton/skeleton.md b/docs/data/material/components/skeleton/skeleton.md index 3a16a710d11297..c85e1a14c4353a 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Skeleton --- # Skeleton diff --git a/docs/data/material/components/snackbars/snackbars.md b/docs/data/material/components/snackbars/snackbars.md index c3e53f8b347c65..d375e24780082b 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Snackbar --- # Snackbar From 87166b30573cc55c8318b92accb7ffad93b5e42c Mon Sep 17 00:00:00 2001 From: Jay-Karia Date: Thu, 8 Aug 2024 15:29:55 +0530 Subject: [PATCH 06/12] chore(docs): add source links to surface components --- docs/data/material/components/accordion/accordion.md | 1 + docs/data/material/components/app-bar/app-bar.md | 1 + docs/data/material/components/cards/cards.md | 1 + docs/data/material/components/paper/paper.md | 1 + 4 files changed, 4 insertions(+) diff --git a/docs/data/material/components/accordion/accordion.md b/docs/data/material/components/accordion/accordion.md index c9fe4170bc5896..6f388e9722a4ef 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Accordion --- # Accordion diff --git a/docs/data/material/components/app-bar/app-bar.md b/docs/data/material/components/app-bar/app-bar.md index ff2d55c92986b7..500be83ede0a37 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/AppBar --- # App Bar diff --git a/docs/data/material/components/cards/cards.md b/docs/data/material/components/cards/cards.md index 93b026b4890624..5743394f6307b3 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Card --- # Card diff --git a/docs/data/material/components/paper/paper.md b/docs/data/material/components/paper/paper.md index ffb71f3825ab99..1e1295aeb98ee9 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Paper --- # Paper From b6dd1befa8640c156431d261aa5deae9e50e5055 Mon Sep 17 00:00:00 2001 From: Jay-Karia Date: Thu, 8 Aug 2024 15:41:39 +0530 Subject: [PATCH 07/12] chore(docs): add source links to navigation components --- .../material/components/bottom-navigation/bottom-navigation.md | 1 + docs/data/material/components/breadcrumbs/breadcrumbs.md | 1 + docs/data/material/components/drawers/drawers.md | 1 + docs/data/material/components/links/links.md | 1 + docs/data/material/components/menus/menus.md | 1 + docs/data/material/components/pagination/pagination.md | 1 + docs/data/material/components/speed-dial/speed-dial.md | 1 + docs/data/material/components/steppers/steppers.md | 1 + docs/data/material/components/tabs/tabs.md | 1 + 9 files changed, 9 insertions(+) diff --git a/docs/data/material/components/bottom-navigation/bottom-navigation.md b/docs/data/material/components/bottom-navigation/bottom-navigation.md index 29e8ff56dfe66e..d9b83101e682fb 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/BottomNavigation --- # Bottom Navigation diff --git a/docs/data/material/components/breadcrumbs/breadcrumbs.md b/docs/data/material/components/breadcrumbs/breadcrumbs.md index 3d31bebd8ed0d1..c9a4dcf1b44420 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Breadcrumbs --- # Breadcrumbs diff --git a/docs/data/material/components/drawers/drawers.md b/docs/data/material/components/drawers/drawers.md index 9e952e7056ad4d..0f0ea72fa73cb3 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Drawer --- # Drawer diff --git a/docs/data/material/components/links/links.md b/docs/data/material/components/links/links.md index 1f342e8700eb92..20e7e61a36c79f 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Link --- # Links diff --git a/docs/data/material/components/menus/menus.md b/docs/data/material/components/menus/menus.md index 259f1c68ead249..621cc7eee4ff6e 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Menu --- # Menu diff --git a/docs/data/material/components/pagination/pagination.md b/docs/data/material/components/pagination/pagination.md index 2d5005cadb0f28..efa68788c89579 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Pagination --- # Pagination diff --git a/docs/data/material/components/speed-dial/speed-dial.md b/docs/data/material/components/speed-dial/speed-dial.md index 8d9771c6c9911b..c4c5aa2f78e153 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/SpeedDial --- # Speed Dial diff --git a/docs/data/material/components/steppers/steppers.md b/docs/data/material/components/steppers/steppers.md index 54772c5a93a53e..89526adc26e8b4 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Stepper --- # Stepper diff --git a/docs/data/material/components/tabs/tabs.md b/docs/data/material/components/tabs/tabs.md index 370b2450044f9c..8dd89367e89a3a 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Tabs --- # Tabs From d263b4d48d906d7d63c0eaead8d3d72fd8eabe72 Mon Sep 17 00:00:00 2001 From: Jay-Karia Date: Thu, 8 Aug 2024 15:56:06 +0530 Subject: [PATCH 08/12] chore(docs): add source links to layout components --- docs/data/material/components/box/box.md | 1 + docs/data/material/components/container/container.md | 1 + docs/data/material/components/grid/grid.md | 1 + docs/data/material/components/grid2/grid2.md | 1 + docs/data/material/components/hidden/hidden.md | 1 + docs/data/material/components/image-list/image-list.md | 1 + docs/data/material/components/stack/stack.md | 1 + 7 files changed, 7 insertions(+) diff --git a/docs/data/material/components/box/box.md b/docs/data/material/components/box/box.md index aa6a15236e62a1..512da07cab4e89 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Box --- diff --git a/docs/data/material/components/container/container.md b/docs/data/material/components/container/container.md index b1a51b2b96e629..db1727083e914c 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Container --- # Container diff --git a/docs/data/material/components/grid/grid.md b/docs/data/material/components/grid/grid.md index 3e1898118b6ba7..41617ffcc6b0d4 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: https://github.com/mui/material-ui/tree/next/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..04beea0e9cd074 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: https://github.com/mui/material-ui/tree/next/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..aa0e37a5a0c92d 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: https://github.com/mui/material-ui/tree/next/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..d7ff45277ef466 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/ImageList --- # Image List diff --git a/docs/data/material/components/stack/stack.md b/docs/data/material/components/stack/stack.md index c85249440829e6..7b9b17be09b00b 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Stack --- # Stack From 874ecccf828980bfdf15ebb84bdd8c12e535d2ee Mon Sep 17 00:00:00 2001 From: Jay-Karia Date: Thu, 8 Aug 2024 16:07:43 +0530 Subject: [PATCH 09/12] chore(docs): add source links to utility components --- docs/data/material/components/css-baseline/css-baseline.md | 1 + docs/data/material/components/modal/modal.md | 1 + docs/data/material/components/popover/popover.md | 1 + docs/data/material/components/popper/popper.md | 1 + docs/data/material/components/transitions/transitions.md | 1 + docs/data/material/components/use-media-query/use-media-query.md | 1 + 6 files changed, 6 insertions(+) diff --git a/docs/data/material/components/css-baseline/css-baseline.md b/docs/data/material/components/css-baseline/css-baseline.md index 8842568bbd2d65..59ebf8a5139890 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/CssBaseline --- # CSS Baseline diff --git a/docs/data/material/components/modal/modal.md b/docs/data/material/components/modal/modal.md index 4a8d2f040e20e4..3f2cb3f8a6cf56 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Modal --- # Modal diff --git a/docs/data/material/components/popover/popover.md b/docs/data/material/components/popover/popover.md index 5379cf0ecf4176..adfb6d2f1f7162 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: https://github.com/mui/material-ui/tree/next/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..26f43c16f5bb31 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Popper --- # Popper diff --git a/docs/data/material/components/transitions/transitions.md b/docs/data/material/components/transitions/transitions.md index de2a39939edd7f..ebd01df034969c 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/transitions --- # Transitions 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 982c854e4ff9d6..aecd5f48a6f9f9 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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/useMediaQuery --- # useMediaQuery From a53d9b1123bff041dd74eef0c7e46e99ff3b6c67 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 19 Aug 2024 09:14:02 +0200 Subject: [PATCH 10/12] Fix TS error --- packages/markdown/index.d.ts | 1 + 1 file changed, 1 insertion(+) 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; From d734e303f401e6d142f33bb91238a8f524243cc7 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 19 Aug 2024 09:15:23 +0200 Subject: [PATCH 11/12] Make the url more robust to main branch modification --- docs/data/material/components/accordion/accordion.md | 2 +- docs/data/material/components/alert/alert.md | 2 +- docs/data/material/components/app-bar/app-bar.md | 2 +- docs/data/material/components/autocomplete/autocomplete.md | 2 +- docs/data/material/components/avatars/avatars.md | 2 +- docs/data/material/components/backdrop/backdrop.md | 2 +- docs/data/material/components/badges/badges.md | 2 +- .../material/components/bottom-navigation/bottom-navigation.md | 2 +- docs/data/material/components/box/box.md | 2 +- docs/data/material/components/breadcrumbs/breadcrumbs.md | 2 +- docs/data/material/components/button-group/button-group.md | 2 +- docs/data/material/components/buttons/buttons.md | 2 +- docs/data/material/components/cards/cards.md | 2 +- docs/data/material/components/checkboxes/checkboxes.md | 2 +- docs/data/material/components/chips/chips.md | 2 +- docs/data/material/components/container/container.md | 2 +- docs/data/material/components/css-baseline/css-baseline.md | 2 +- docs/data/material/components/dialogs/dialogs.md | 2 +- docs/data/material/components/dividers/dividers.md | 2 +- docs/data/material/components/drawers/drawers.md | 2 +- .../components/floating-action-button/floating-action-button.md | 2 +- docs/data/material/components/grid/grid.md | 2 +- docs/data/material/components/grid2/grid2.md | 2 +- docs/data/material/components/hidden/hidden.md | 2 +- docs/data/material/components/image-list/image-list.md | 2 +- docs/data/material/components/links/links.md | 2 +- docs/data/material/components/lists/lists.md | 2 +- docs/data/material/components/menus/menus.md | 2 +- docs/data/material/components/modal/modal.md | 2 +- docs/data/material/components/pagination/pagination.md | 2 +- docs/data/material/components/paper/paper.md | 2 +- docs/data/material/components/popover/popover.md | 2 +- docs/data/material/components/popper/popper.md | 2 +- docs/data/material/components/progress/progress.md | 2 +- docs/data/material/components/radio-buttons/radio-buttons.md | 2 +- docs/data/material/components/rating/rating.md | 2 +- docs/data/material/components/selects/selects.md | 2 +- docs/data/material/components/skeleton/skeleton.md | 2 +- docs/data/material/components/slider/slider.md | 2 +- docs/data/material/components/snackbars/snackbars.md | 2 +- docs/data/material/components/speed-dial/speed-dial.md | 2 +- docs/data/material/components/stack/stack.md | 2 +- docs/data/material/components/steppers/steppers.md | 2 +- docs/data/material/components/switches/switches.md | 2 +- docs/data/material/components/table/table.md | 2 +- docs/data/material/components/tabs/tabs.md | 2 +- docs/data/material/components/text-fields/text-fields.md | 2 +- docs/data/material/components/toggle-button/toggle-button.md | 2 +- docs/data/material/components/tooltips/tooltips.md | 2 +- docs/data/material/components/transitions/transitions.md | 2 +- docs/data/material/components/typography/typography.md | 2 +- .../data/material/components/use-media-query/use-media-query.md | 2 +- .../mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx | 2 +- 53 files changed, 53 insertions(+), 53 deletions(-) diff --git a/docs/data/material/components/accordion/accordion.md b/docs/data/material/components/accordion/accordion.md index 6f388e9722a4ef..501439a56bc28e 100644 --- a/docs/data/material/components/accordion/accordion.md +++ b/docs/data/material/components/accordion/accordion.md @@ -5,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 5bd27928039034..5e986380ffcece 100644 --- a/docs/data/material/components/alert/alert.md +++ b/docs/data/material/components/alert/alert.md @@ -4,7 +4,7 @@ title: React Alert component components: Alert, AlertTitle githubLabel: 'component: alert' waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/alert/ -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 500be83ede0a37..be622aedf2d67a 100644 --- a/docs/data/material/components/app-bar/app-bar.md +++ b/docs/data/material/components/app-bar/app-bar.md @@ -4,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/AppBar +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 067679aa8aed88..02e05a5dfb0f73 100644 --- a/docs/data/material/components/autocomplete/autocomplete.md +++ b/docs/data/material/components/autocomplete/autocomplete.md @@ -4,7 +4,7 @@ title: React Autocomplete component components: TextField, Popper, Autocomplete githubLabel: 'component: autocomplete' waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/combobox/ -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Autocomplete +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 e225f215ce34ab..08362acff64506 100644 --- a/docs/data/material/components/avatars/avatars.md +++ b/docs/data/material/components/avatars/avatars.md @@ -3,7 +3,7 @@ productId: material-ui title: React Avatar component components: Avatar, AvatarGroup, Badge githubLabel: 'component: avatar' -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 b431dfbb4c0605..a61747829866f3 100644 --- a/docs/data/material/components/backdrop/backdrop.md +++ b/docs/data/material/components/backdrop/backdrop.md @@ -3,7 +3,7 @@ productId: material-ui title: Backdrop React Component components: Backdrop githubLabel: 'component: backdrop' -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 85ae62d647e783..99d9152dfc5279 100644 --- a/docs/data/material/components/badges/badges.md +++ b/docs/data/material/components/badges/badges.md @@ -4,7 +4,7 @@ title: React Badge component components: Badge githubLabel: 'component: badge' unstyled: /base-ui/react-badge/ -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 d9b83101e682fb..6f24ba4a427e36 100644 --- a/docs/data/material/components/bottom-navigation/bottom-navigation.md +++ b/docs/data/material/components/bottom-navigation/bottom-navigation.md @@ -4,7 +4,7 @@ title: Bottom Navigation React component components: BottomNavigation, BottomNavigationAction githubLabel: 'component: bottom navigation' materialDesign: https://m2.material.io/components/bottom-navigation -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/BottomNavigation +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 512da07cab4e89..bc1fc3cff2aeab 100644 --- a/docs/data/material/components/box/box.md +++ b/docs/data/material/components/box/box.md @@ -3,7 +3,7 @@ productId: material-ui title: React Box components: Box githubLabel: 'component: Box' -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 c9a4dcf1b44420..b26cfc1f0af654 100644 --- a/docs/data/material/components/breadcrumbs/breadcrumbs.md +++ b/docs/data/material/components/breadcrumbs/breadcrumbs.md @@ -4,7 +4,7 @@ title: React Breadcrumbs component components: Breadcrumbs, Link, Typography githubLabel: 'component: breadcrumbs' waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/ -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Breadcrumbs +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 eb11967461644d..6cc23f74925aec 100644 --- a/docs/data/material/components/button-group/button-group.md +++ b/docs/data/material/components/button-group/button-group.md @@ -3,7 +3,7 @@ productId: material-ui title: React Button Group component components: Button, ButtonGroup, LoadingButton githubLabel: 'component: ButtonGroup' -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 601c116a239b01..4da25aa7e55f5f 100644 --- a/docs/data/material/components/buttons/buttons.md +++ b/docs/data/material/components/buttons/buttons.md @@ -6,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 5743394f6307b3..a72c5348a63178 100644 --- a/docs/data/material/components/cards/cards.md +++ b/docs/data/material/components/cards/cards.md @@ -4,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Card +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 2077c2400416c1..d0b1839573805b 100644 --- a/docs/data/material/components/checkboxes/checkboxes.md +++ b/docs/data/material/components/checkboxes/checkboxes.md @@ -5,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 4cde87627a6b98..d226eaf58afa61 100644 --- a/docs/data/material/components/chips/chips.md +++ b/docs/data/material/components/chips/chips.md @@ -4,7 +4,7 @@ title: React Chip component components: Chip githubLabel: 'component: chip' materialDesign: https://m2.material.io/components/chips -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Chip +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 db1727083e914c..33fc6f267572c7 100644 --- a/docs/data/material/components/container/container.md +++ b/docs/data/material/components/container/container.md @@ -3,7 +3,7 @@ productId: material-ui title: React Container component components: Container, PigmentContainer githubLabel: 'component: Container' -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 59ebf8a5139890..07fb5bad53f2c8 100644 --- a/docs/data/material/components/css-baseline/css-baseline.md +++ b/docs/data/material/components/css-baseline/css-baseline.md @@ -2,7 +2,7 @@ productId: material-ui components: CssBaseline, ScopedCssBaseline githubLabel: 'component: CssBaseline' -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 ef99a1fe335775..0a984a0c1e9c05 100644 --- a/docs/data/material/components/dialogs/dialogs.md +++ b/docs/data/material/components/dialogs/dialogs.md @@ -5,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Dialog +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 b9755729f02897..90219c5801ade8 100644 --- a/docs/data/material/components/dividers/dividers.md +++ b/docs/data/material/components/dividers/dividers.md @@ -4,7 +4,7 @@ title: React Divider component components: Divider githubLabel: 'component: divider' materialDesign: https://m2.material.io/components/dividers -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Divider +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 0f0ea72fa73cb3..7abe4cdab41354 100644 --- a/docs/data/material/components/drawers/drawers.md +++ b/docs/data/material/components/drawers/drawers.md @@ -4,7 +4,7 @@ title: React Drawer component components: Drawer, SwipeableDrawer githubLabel: 'component: drawer' materialDesign: https://m2.material.io/components/navigation-drawer -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 84be3bd2804990..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,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Fab +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 e16679696d0d61..bb540ea5f23d93 100644 --- a/docs/data/material/components/grid/grid.md +++ b/docs/data/material/components/grid/grid.md @@ -4,7 +4,7 @@ title: React Grid component components: Grid githubLabel: 'component: Grid' materialDesign: https://m2.material.io/design/layout/understanding-layout.html -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Grid +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 04beea0e9cd074..0dfd5b6d8e1222 100644 --- a/docs/data/material/components/grid2/grid2.md +++ b/docs/data/material/components/grid2/grid2.md @@ -4,7 +4,7 @@ title: React Grid component components: PigmentGrid, Grid2 githubLabel: 'component: Grid' materialDesign: https://m2.material.io/design/layout/understanding-layout.html -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Grid2 +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 aa0e37a5a0c92d..3eb3bdc0283156 100644 --- a/docs/data/material/components/hidden/hidden.md +++ b/docs/data/material/components/hidden/hidden.md @@ -4,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 d7ff45277ef466..ed8006db14c5b9 100644 --- a/docs/data/material/components/image-list/image-list.md +++ b/docs/data/material/components/image-list/image-list.md @@ -4,7 +4,7 @@ title: Image List React component components: ImageList, ImageListItem, ImageListItemBar materialDesign: https://m2.material.io/components/image-lists githubLabel: 'component: image list' -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/ImageList +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 20e7e61a36c79f..a6ec8051cbba9a 100644 --- a/docs/data/material/components/links/links.md +++ b/docs/data/material/components/links/links.md @@ -3,7 +3,7 @@ productId: material-ui components: Link githubLabel: 'component: link' waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/link/ -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 fa30acec625f0c..3efd1930a22079 100644 --- a/docs/data/material/components/lists/lists.md +++ b/docs/data/material/components/lists/lists.md @@ -4,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/List +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 621cc7eee4ff6e..8bb3925e207ab2 100644 --- a/docs/data/material/components/menus/menus.md +++ b/docs/data/material/components/menus/menus.md @@ -6,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 3f2cb3f8a6cf56..aa0f6c75f912b3 100644 --- a/docs/data/material/components/modal/modal.md +++ b/docs/data/material/components/modal/modal.md @@ -5,7 +5,7 @@ components: Modal githubLabel: 'component: modal' waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/ unstyled: /base-ui/react-modal/ -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 efa68788c89579..56413d6cba1be8 100644 --- a/docs/data/material/components/pagination/pagination.md +++ b/docs/data/material/components/pagination/pagination.md @@ -3,7 +3,7 @@ productId: material-ui title: React Pagination component components: Pagination, PaginationItem, TablePagination githubLabel: 'component: pagination' -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 1e1295aeb98ee9..c20f94c1412eac 100644 --- a/docs/data/material/components/paper/paper.md +++ b/docs/data/material/components/paper/paper.md @@ -4,7 +4,7 @@ title: React Paper component components: Paper githubLabel: 'component: Paper' materialDesign: https://m2.material.io/design/environment/elevation.html -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Paper +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 a9afc806f5ef1f..9aceeb3c6dd248 100644 --- a/docs/data/material/components/popover/popover.md +++ b/docs/data/material/components/popover/popover.md @@ -3,7 +3,7 @@ productId: material-ui title: React Popover component components: Grow, Popover githubLabel: 'component: Popover' -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 26f43c16f5bb31..d88359dd7b90f0 100644 --- a/docs/data/material/components/popper/popper.md +++ b/docs/data/material/components/popper/popper.md @@ -4,7 +4,7 @@ title: React Popper component components: Popper githubLabel: 'component: Popper' unstyled: /base-ui/react-popper/ -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 1b5ae4eb58133a..73fdbe346fc33d 100644 --- a/docs/data/material/components/progress/progress.md +++ b/docs/data/material/components/progress/progress.md @@ -4,7 +4,7 @@ title: Circular, Linear progress React components components: CircularProgress, LinearProgress githubLabel: 'component: progress' materialDesign: https://m2.material.io/components/progress-indicators -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/LinearProgress +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 9b79b6654c2d7b..128fdeaf733f9a 100644 --- a/docs/data/material/components/radio-buttons/radio-buttons.md +++ b/docs/data/material/components/radio-buttons/radio-buttons.md @@ -5,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/RadioGroup +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 052867c092919b..163a8467202dc3 100644 --- a/docs/data/material/components/rating/rating.md +++ b/docs/data/material/components/rating/rating.md @@ -4,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 3fac72741d2347..4025b19b73751d 100644 --- a/docs/data/material/components/selects/selects.md +++ b/docs/data/material/components/selects/selects.md @@ -6,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 c85e1a14c4353a..4dc9dab063b988 100644 --- a/docs/data/material/components/skeleton/skeleton.md +++ b/docs/data/material/components/skeleton/skeleton.md @@ -3,7 +3,7 @@ productId: material-ui title: React Skeleton component components: Skeleton githubLabel: 'component: skeleton' -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 a579541e610444..6e3d6f0f387990 100644 --- a/docs/data/material/components/slider/slider.md +++ b/docs/data/material/components/slider/slider.md @@ -6,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 d375e24780082b..1da7dc613216f8 100644 --- a/docs/data/material/components/snackbars/snackbars.md +++ b/docs/data/material/components/snackbars/snackbars.md @@ -5,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Snackbar +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 c4c5aa2f78e153..7b58695b8954c2 100644 --- a/docs/data/material/components/speed-dial/speed-dial.md +++ b/docs/data/material/components/speed-dial/speed-dial.md @@ -5,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/SpeedDial +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 7b9b17be09b00b..53b0d0c092500b 100644 --- a/docs/data/material/components/stack/stack.md +++ b/docs/data/material/components/stack/stack.md @@ -3,7 +3,7 @@ productId: material-ui title: React Stack component components: Stack, PigmentStack githubLabel: 'component: Stack' -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 89526adc26e8b4..2bc2adacdd290d 100644 --- a/docs/data/material/components/steppers/steppers.md +++ b/docs/data/material/components/steppers/steppers.md @@ -4,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Stepper +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 fb0e042d990658..6f1ae3c042c4c7 100644 --- a/docs/data/material/components/switches/switches.md +++ b/docs/data/material/components/switches/switches.md @@ -5,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 66226720d4df99..f3deeb522df77d 100644 --- a/docs/data/material/components/table/table.md +++ b/docs/data/material/components/table/table.md @@ -5,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Table +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 8dd89367e89a3a..de262969456ca8 100644 --- a/docs/data/material/components/tabs/tabs.md +++ b/docs/data/material/components/tabs/tabs.md @@ -6,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 27db089cd3b714..e4cc8f8137c676 100644 --- a/docs/data/material/components/text-fields/text-fields.md +++ b/docs/data/material/components/text-fields/text-fields.md @@ -5,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/TextField +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 1f261dae1302f8..3dd7d233958903 100644 --- a/docs/data/material/components/toggle-button/toggle-button.md +++ b/docs/data/material/components/toggle-button/toggle-button.md @@ -4,7 +4,7 @@ title: Toggle Button React component components: ToggleButton, ToggleButtonGroup githubLabel: 'component: toggle button' materialDesign: https://m2.material.io/components/buttons#toggle-button -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/ToggleButton +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 f073f43a858b53..f9ab7ac7f037f3 100644 --- a/docs/data/material/components/tooltips/tooltips.md +++ b/docs/data/material/components/tooltips/tooltips.md @@ -5,7 +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: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 ebd01df034969c..7754a501daee05 100644 --- a/docs/data/material/components/transitions/transitions.md +++ b/docs/data/material/components/transitions/transitions.md @@ -3,7 +3,7 @@ productId: material-ui title: React Transition component components: Collapse, Fade, Grow, Slide, Zoom githubLabel: 'component: transitions' -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/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 987ec71974015d..5e55cea5e7749e 100644 --- a/docs/data/material/components/typography/typography.md +++ b/docs/data/material/components/typography/typography.md @@ -4,7 +4,7 @@ title: React Typography component components: Typography githubLabel: 'component: Typography' materialDesign: https://m2.material.io/design/typography/the-type-system.html -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/Typography +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 285c749a0067a3..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,7 +2,7 @@ productId: material-ui title: Media queries in React for responsive design githubLabel: 'hook: useMediaQuery' -githubSource: https://github.com/mui/material-ui/tree/next/packages/mui-material/src/useMediaQuery +githubSource: packages/mui-material/src/useMediaQuery --- # useMediaQuery diff --git a/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx b/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx index 8cf15988a6e071..a94fd70ea6af5f 100644 --- a/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx +++ b/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx @@ -204,7 +204,7 @@ export function ComponentLinkHeader(props: ComponentLinkHeaderProps) { size="small" variant="outlined" rel="nofollow" - href={headers.githubSource} + href={`${process.env.SOURCE_CODE_REPO}/tree/${process.env.SOURCE_GITHUB_BRANCH}/${headers.githubSource}`} icon={} data-ga-event-category="ComponentLinkHeader" data-ga-event-action="click" From 5e404a1e1aec56cfb664e0d35803a120e80132bc Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 19 Aug 2024 10:38:23 +0200 Subject: [PATCH 12/12] move to upper position --- .../ComponentLinkHeader.tsx | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx b/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx index a94fd70ea6af5f..18ef4ad1ea7777 100644 --- a/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx +++ b/packages/mui-docs/src/ComponentLinkHeader/ComponentLinkHeader.tsx @@ -98,6 +98,26 @@ export function ComponentLinkHeader(props: ComponentLinkHeaderProps) { /> + {headers.githubSource ? ( +
  • + } + data-ga-event-category="ComponentLinkHeader" + data-ga-event-action="click" + data-ga-event-label="Source" + data-ga-event-split="0.1" + label="Source" + target="_blank" + /> +
  • + ) : null} {headers.waiAria ? (
  • )} - {headers.githubSource ? ( -
  • - } - data-ga-event-category="ComponentLinkHeader" - data-ga-event-action="click" - data-ga-event-label="Source" - data-ga-event-split="0.1" - label="Source" - target="_blank" - /> -
  • - ) : null} ); }