Skip to content

Commit

Permalink
Rename Global class column name to Default class
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj committed Feb 16, 2023
1 parent 264effc commit b383f1b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/src/modules/components/ApiPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function SlotsTable(props) {
<thead>
<tr>
<th align="left">{t('api-docs.name')}</th>
<th align="left">{t('api-docs.globalClass')}</th>
<th align="left">{t('api-docs.defaultClass')}</th>
<th align="left">{t('api-docs.default')}</th>
<th align="left">{t('api-docs.description')}</th>
</tr>
Expand All @@ -80,8 +80,8 @@ function SlotsTable(props) {
</td>
<td align="left" width="25%">
<span
className="slot-globalClass"
dangerouslySetInnerHTML={{ __html: className || 'ADASDASDASDASDASD' }}
className="slot-defaultClass"
dangerouslySetInnerHTML={{ __html: className }}
/>
</td>
<td align="left" width="25%">
Expand Down
6 changes: 3 additions & 3 deletions docs/src/modules/components/MarkdownElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const Root = styled('div')(
borderCollapse: 'collapse',
marginBottom: '20px',
borderSpacing: 0,
'& .prop-name, & .prop-type, & .prop-default, & .slot-name, & .slot-globalClass, & .slot-default':
'& .prop-name, & .prop-type, & .prop-default, & .slot-name, & .slot-defaultClass, & .slot-default':
{
fontWeight: 400,
fontFamily: lightTheme.typography.fontFamilyCode,
Expand All @@ -200,7 +200,7 @@ const Root = styled('div')(
'& .optional': {
color: '#45529f',
},
'& .prop-type, & .slot-globalClass': {
'& .prop-type, & .slot-defaultClass': {
color: '#932981',
},
'& .prop-default, & .slot-default': {
Expand Down Expand Up @@ -492,7 +492,7 @@ const Root = styled('div')(
'& .optional': {
color: '#a5b3ff',
},
'& .prop-type, & .slot-globalClass': {
'& .prop-type, & .slot-defaultClass': {
color: '#ffb6ec',
},
'& .prop-default, & .slot-default': {
Expand Down
1 change: 1 addition & 0 deletions docs/translations/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"deprecated": "Deprecated",
"description": "Description",
"globalClass": "Global class",
"defaultClass": "Default class",
"hooksPageDescription": "API reference docs for the {{name}} hook. Learn about the input parameters and other APIs of this exported module.",
"import": "Import",
"importDifference": "You can learn about the difference by <a href=\"/material-ui/guides/minimizing-bundle-size/\">reading this guide on minimizing bundle size</a>.",
Expand Down

0 comments on commit b383f1b

Please sign in to comment.