Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Upgrade monorepo #7676

Merged
merged 6 commits into from
Jan 26, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/pages/x/api/date-pickers/date-field.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"TextField": { "default": "TextField from '@mui/material'", "type": { "name": "elementType" } }
},
"name": "DateField",
"styles": { "classes": [], "globalClasses": {}, "name": "MuiDateField" },
"styles": { "classes": ["root"], "globalClasses": {}, "name": "MuiDateField" },
"filename": "/packages/x-date-pickers/src/DateField/DateField.tsx",
"demos": "<ul><li><a href=\"/x/react-date-pickers/date-field/\">Date Field</a></li>\n<li><a href=\"/x/react-date-pickers/fields/\">Fields</a></li></ul>",
"packages": [
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/date-pickers/date-time-field.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"TextField": { "default": "TextField from '@mui/material'", "type": { "name": "elementType" } }
},
"name": "DateTimeField",
"styles": { "classes": [], "globalClasses": {}, "name": "MuiDateTimeField" },
"styles": { "classes": ["root"], "globalClasses": {}, "name": "MuiDateTimeField" },
"filename": "/packages/x-date-pickers/src/DateTimeField/DateTimeField.tsx",
"demos": "<ul><li><a href=\"/x/react-date-pickers/date-time-field/\">Date Time Field</a></li>\n<li><a href=\"/x/react-date-pickers/fields/\">Fields</a></li></ul>",
"packages": [
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/date-pickers/pickers-action-bar.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"slots": {},
"name": "PickersActionBar",
"styles": { "classes": [], "globalClasses": {}, "name": "MuiPickersActionBar" },
"styles": { "classes": ["root", "spacing"], "globalClasses": {}, "name": "MuiPickersActionBar" },
"filename": "/packages/x-date-pickers/src/PickersActionBar/PickersActionBar.tsx",
"inheritance": null,
"demos": "<ul><li><a href=\"/x/react-date-pickers/custom-layout/\">Custom layout</a></li></ul>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"TextField": { "default": "TextField from '@mui/material'", "type": { "name": "elementType" } }
},
"name": "SingleInputDateRangeField",
"styles": { "classes": [], "globalClasses": {}, "name": "MuiSingleInputDateRangeField" },
"styles": { "classes": ["root"], "globalClasses": {}, "name": "MuiSingleInputDateRangeField" },
"filename": "/packages/x-date-pickers-pro/src/SingleInputDateRangeField/SingleInputDateRangeField.tsx",
"demos": "<ul><li><a href=\"/x/react-date-pickers/date-range-field/\">Date Range Field </a></li>\n<li><a href=\"/x/react-date-pickers/fields/\">Fields</a></li></ul>",
"packages": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@
},
"slots": { "Input": { "default": "TextField", "type": { "name": "elementType" } } },
"name": "SingleInputDateTimeRangeField",
"styles": { "classes": [], "globalClasses": {}, "name": "MuiSingleInputDateTimeRangeField" },
"styles": {
"classes": ["root"],
"globalClasses": {},
"name": "MuiSingleInputDateTimeRangeField"
},
"filename": "/packages/x-date-pickers-pro/src/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.tsx",
"demos": "<ul><li><a href=\"/x/react-date-pickers/date-time-range-field/\">Date Time Range Field </a></li>\n<li><a href=\"/x/react-date-pickers/fields/\">Fields</a></li></ul>",
"packages": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
},
"slots": { "Input": { "default": "TextField", "type": { "name": "elementType" } } },
"name": "SingleInputTimeRangeField",
"styles": { "classes": [], "globalClasses": {}, "name": "MuiSingleInputTimeRangeField" },
"styles": { "classes": ["root"], "globalClasses": {}, "name": "MuiSingleInputTimeRangeField" },
"filename": "/packages/x-date-pickers-pro/src/SingleInputTimeRangeField/SingleInputTimeRangeField.tsx",
"demos": "<ul><li><a href=\"/x/react-date-pickers/fields/\">Fields</a></li>\n<li><a href=\"/x/react-date-pickers/time-range-field/\">Time Range Field </a></li></ul>",
"packages": [
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/date-pickers/time-field.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"TextField": { "default": "TextField from '@mui/material'", "type": { "name": "elementType" } }
},
"name": "TimeField",
"styles": { "classes": [], "globalClasses": {}, "name": "MuiTimeField" },
"styles": { "classes": ["root"], "globalClasses": {}, "name": "MuiTimeField" },
"filename": "/packages/x-date-pickers/src/TimeField/TimeField.tsx",
"demos": "<ul><li><a href=\"/x/react-date-pickers/fields/\">Fields</a></li>\n<li><a href=\"/x/react-date-pickers/time-field/\">Time Field</a></li></ul>",
"packages": [
Expand Down
2 changes: 1 addition & 1 deletion docs/scripts/api/buildComponentsDocumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const buildComponentDocumentation = async (options: {

reactApi.demos = findXDemos(reactApi.name, pagesMarkdown);

reactApi.styles = await parseStyles(reactApi, project.program as any);
reactApi.styles = await parseStyles({ project, componentName: reactApi.name });
reactApi.styles.name = reactApi.name.startsWith('Grid')
? 'MuiDataGrid' // TODO: Read from @slot annotation
: `Mui${reactApi.name.replace(/(Pro|Premium)$/, '')}`;
Expand Down
2 changes: 1 addition & 1 deletion docs/translations/api-docs/date-pickers/date-field.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"value": "The selected value. Used when the component is controlled.",
"variant": "The variant to use."
},
"classDescriptions": {},
"classDescriptions": { "root": { "description": "Styles applied to the root element." } },
"slotDescriptions": {
"TextField": "Form control with an input to render the value.\nReceives the same props as <code>@mui/material/TextField</code>."
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"value": "The selected value. Used when the component is controlled.",
"variant": "The variant to use."
},
"classDescriptions": {},
"classDescriptions": { "root": { "description": "Styles applied to the root element." } },
"slotDescriptions": {
"TextField": "Form control with an input to render the value.\nReceives the same props as <code>@mui/material/TextField</code>."
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
"disableSpacing": "If <code>true</code>, the actions do not have additional margin.",
"sx": "The system prop that allows defining system overrides as well as additional CSS styles. See the <a href=\"/system/getting-started/the-sx-prop/\">`sx` page</a> for more details."
},
"classDescriptions": {},
"classDescriptions": {
"root": { "description": "Styles applied to the root element." },
"spacing": {
"description": "Styles applied to {{nodeName}} unless {{conditions}}.",
"nodeName": "the root element",
"conditions": "<code>disableSpacing={true}</code>"
}
},
"slotDescriptions": {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"value": "The selected value. Used when the component is controlled.",
"variant": "The variant to use."
},
"classDescriptions": {},
"classDescriptions": { "root": { "description": "Styles applied to the root element." } },
"slotDescriptions": {
"TextField": "Form control with an input to render the value.\nReceives the same props as <code>@mui/material/TextField</code>."
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
"value": "The selected value. Used when the component is controlled.",
"variant": "The variant to use."
},
"classDescriptions": {},
"classDescriptions": { "root": { "description": "Styles applied to the root element." } },
"slotDescriptions": { "Input": "Input rendered." }
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
"value": "The selected value. Used when the component is controlled.",
"variant": "The variant to use."
},
"classDescriptions": {},
"classDescriptions": { "root": { "description": "Styles applied to the root element." } },
"slotDescriptions": { "Input": "Input rendered." }
}
2 changes: 1 addition & 1 deletion docs/translations/api-docs/date-pickers/time-field.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"value": "The selected value. Used when the component is controlled.",
"variant": "The variant to use."
},
"classDescriptions": {},
"classDescriptions": { "root": { "description": "Styles applied to the root element." } },
"slotDescriptions": {
"TextField": "Form control with an input to render the value.\nReceives the same props as <code>@mui/material/TextField</code>."
}
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2431,8 +2431,8 @@
react-transition-group "^4.4.5"

"@mui/monorepo@https://github.com/mui/material-ui.git#master":
version "5.11.3"
resolved "https://github.com/mui/material-ui.git#c616ce9552d03699008fe896c6602e2262e45cf3"
version "5.11.5"
resolved "https://github.com/mui/material-ui.git#6311da54b32e265b207d267b00ae6d41e15216db"

"@mui/private-theming@^5.11.2":
version "5.11.2"
Expand Down