-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next' into renovate/eslint-plugin-import-2.x
Signed-off-by: Flavien DELANGLE <[email protected]>
- Loading branch information
Showing
51 changed files
with
513 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
on: | ||
pull_request: | ||
pull_request_target: | ||
branches: | ||
- next | ||
types: ['closed'] | ||
|
@@ -21,8 +21,8 @@ jobs: | |
uses: carloscastrojumo/[email protected] | ||
with: | ||
branch: master | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
body: 'Cherry-pick of #{old_pull_request_id}' | ||
cherry-pick-branch: ${{ format('cherry-pick-{0}', github.event.number) }} | ||
labels: | | ||
cherry-pick | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/data/date-pickers/date-picker/FormPropsDatePickers.tsx.preview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<DatePicker label="disabled" disabled /> | ||
<DatePicker label="readOnly" readOnly /> | ||
<DatePicker label="name" name="date_picker" /> | ||
<DatePicker label="name" name="startDate" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
docs/data/date-pickers/date-range-picker/SingleInputDateRangePicker.tsx.preview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
<DateRangePicker slots={{ field: SingleInputDateRangeField }} /> | ||
<DateRangePicker | ||
slots={{ field: SingleInputDateRangeField }} | ||
name="allowedRange" | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/data/date-pickers/date-time-picker/FormPropsDateTimePickers.tsx.preview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<DateTimePicker label="disabled" disabled /> | ||
<DateTimePicker label="readOnly" readOnly /> | ||
<DateTimePicker label="name" name="date_time_picker" /> | ||
<DateTimePicker label="name" name="startDateTime" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/data/date-pickers/time-picker/FormPropsTimePickers.tsx.preview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<TimePicker label="disabled" disabled /> | ||
<TimePicker label="readOnly" readOnly /> | ||
<TimePicker label="name" name="time_picker" /> | ||
<TimePicker label="name" name="startTime" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import * as React from 'react'; | ||
import ApiPage from 'docs/src/modules/components/ApiPage'; | ||
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations'; | ||
import jsonPageContent from './charts-text.json'; | ||
|
||
export default function Page(props) { | ||
const { descriptions, pageContent } = props; | ||
return <ApiPage descriptions={descriptions} pageContent={pageContent} />; | ||
} | ||
|
||
Page.getInitialProps = () => { | ||
const req = require.context( | ||
'docsx/translations/api-docs/charts', | ||
false, | ||
/\.\/charts-text(-[a-z]{2})?\.json$/, | ||
); | ||
const descriptions = mapApiPageTranslations(req); | ||
|
||
return { | ||
descriptions, | ||
pageContent: jsonPageContent, | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"props": { | ||
"text": { "type": { "name": "string" }, "required": true }, | ||
"lineHeight": { "type": { "name": "number" } }, | ||
"needsComputation": { "type": { "name": "bool" } }, | ||
"style": { "type": { "name": "object" } } | ||
}, | ||
"slots": [], | ||
"name": "ChartsText", | ||
"imports": [ | ||
"import { ChartsText } from '@mui/x-charts/ChartsText';", | ||
"import { ChartsText } from '@mui/x-charts';" | ||
], | ||
"styles": { "classes": [], "globalClasses": {}, "name": "MuiChartsText" }, | ||
"filename": "/packages/x-charts/src/ChartsText/ChartsText.tsx", | ||
"demos": "<ul></ul>" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"componentDescription": "Helper component to manage multiline text in SVG", | ||
"propDescriptions": { | ||
"lineHeight": { | ||
"description": "Height of a text line (in <code>em</code>).", | ||
"deprecated": "", | ||
"typeDescriptions": {} | ||
}, | ||
"needsComputation": { | ||
"description": "If <code>true</code>, the line width is computed.", | ||
"deprecated": "", | ||
"typeDescriptions": {} | ||
}, | ||
"style": { | ||
"description": "Style applied to text elements.", | ||
"deprecated": "", | ||
"typeDescriptions": {} | ||
}, | ||
"text": { "description": "Text displayed.", "deprecated": "", "typeDescriptions": {} } | ||
}, | ||
"classDescriptions": {}, | ||
"slotDescriptions": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.