Skip to content

Commit

Permalink
scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette committed Jan 24, 2024
1 parent c7e28e5 commit 635707b
Show file tree
Hide file tree
Showing 21 changed files with 51 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/pages/x/api/charts/area-element.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"props": {
"skipAnimation": { "type": { "name": "bool" }, "default": "false" },
"slotProps": { "type": { "name": "object" }, "default": "{}" },
"slots": {
"type": { "name": "object" },
Expand Down
1 change: 1 addition & 0 deletions docs/pages/x/api/charts/area-plot.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"props": {
"skipAnimation": { "type": { "name": "bool" }, "default": "false" },
"slotProps": { "type": { "name": "object" }, "default": "{}" },
"slots": {
"type": { "name": "object" },
Expand Down
1 change: 1 addition & 0 deletions docs/pages/x/api/charts/line-chart.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
},
"default": "null"
},
"skipAnimation": { "type": { "name": "bool" }, "default": "false" },
"slotProps": { "type": { "name": "object" }, "default": "{}" },
"slots": {
"type": { "name": "object" },
Expand Down
1 change: 1 addition & 0 deletions docs/pages/x/api/charts/line-element.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"props": {
"skipAnimation": { "type": { "name": "bool" }, "default": "false" },
"slotProps": { "type": { "name": "object" }, "default": "{}" },
"slots": {
"type": { "name": "object" },
Expand Down
1 change: 1 addition & 0 deletions docs/pages/x/api/charts/line-plot.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"props": {
"skipAnimation": { "type": { "name": "bool" }, "default": "false" },
"slotProps": { "type": { "name": "object" }, "default": "{}" },
"slots": {
"type": { "name": "object" },
Expand Down
3 changes: 2 additions & 1 deletion docs/pages/x/api/charts/mark-element.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"description": "'circle'<br>&#124;&nbsp;'cross'<br>&#124;&nbsp;'diamond'<br>&#124;&nbsp;'square'<br>&#124;&nbsp;'star'<br>&#124;&nbsp;'triangle'<br>&#124;&nbsp;'wye'"
},
"required": true
}
},
"skipAnimation": { "type": { "name": "bool" }, "default": "false" }
},
"name": "MarkElement",
"imports": [
Expand Down
1 change: 1 addition & 0 deletions docs/pages/x/api/charts/mark-plot.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"props": {
"skipAnimation": { "type": { "name": "bool" }, "default": "false" },
"slotProps": { "type": { "name": "object" }, "default": "{}" },
"slots": {
"type": { "name": "object" },
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"componentDescription": "",
"propDescriptions": {
"skipAnimation": { "description": "If <code>true</code>, animations are skiped." },
"slotProps": { "description": "The props used for each component slot." },
"slots": { "description": "Overridable component slots." }
},
Expand Down
1 change: 1 addition & 0 deletions docs/translations/api-docs/charts/area-plot/area-plot.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"componentDescription": "",
"propDescriptions": {
"skipAnimation": { "description": "If <code>true</code>, animations are skiped." },
"slotProps": { "description": "The props used for each component slot." },
"slots": { "description": "Overridable component slots." }
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"rightAxis": {
"description": "Indicate which axis to display the right of the charts. Can be a string (the id of the axis) or an object <code>ChartsYAxisProps</code>."
},
"skipAnimation": { "description": "If <code>true</code>, animations are skiped." },
"slotProps": { "description": "The props used for each component slot." },
"slots": { "description": "Overridable component slots." },
"topAxis": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"componentDescription": "",
"propDescriptions": {
"skipAnimation": { "description": "If <code>true</code>, animations are skiped." },
"slotProps": { "description": "The props used for each component slot." },
"slots": { "description": "Overridable component slots." }
},
Expand Down
1 change: 1 addition & 0 deletions docs/translations/api-docs/charts/line-plot/line-plot.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"componentDescription": "",
"propDescriptions": {
"skipAnimation": { "description": "If <code>true</code>, animations are skiped." },
"slotProps": { "description": "The props used for each component slot." },
"slots": { "description": "Overridable component slots." }
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"componentDescription": "",
"propDescriptions": {
"dataIndex": { "description": "The index to the element in the series&#39; data array." },
"shape": { "description": "The shape of the marker." }
"shape": { "description": "The shape of the marker." },
"skipAnimation": { "description": "If <code>true</code>, animations are skiped." }
},
"classDescriptions": {
"faded": {
Expand Down
1 change: 1 addition & 0 deletions docs/translations/api-docs/charts/mark-plot/mark-plot.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"componentDescription": "",
"propDescriptions": {
"skipAnimation": { "description": "If <code>true</code>, animations are skiped." },
"slotProps": { "description": "The props used for each component slot." },
"slots": { "description": "Overridable component slots." }
},
Expand Down
5 changes: 5 additions & 0 deletions packages/x-charts/src/LineChart/AreaElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ AreaElement.propTypes = {
faded: PropTypes.oneOf(['global', 'none', 'series']),
highlighted: PropTypes.oneOf(['item', 'none', 'series']),
}),
/**
* If `true`, animations are skiped.
* @default false
*/
skipAnimation: PropTypes.bool,
/**
* The props used for each component slot.
* @default {}
Expand Down
5 changes: 5 additions & 0 deletions packages/x-charts/src/LineChart/AreaPlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ AreaPlot.propTypes = {
// | These PropTypes are generated from the TypeScript type definitions |
// | To update them edit the TypeScript types and run "yarn proptypes" |
// ----------------------------------------------------------------------
/**
* If `true`, animations are skiped.
* @default false
*/
skipAnimation: PropTypes.bool,
/**
* The props used for each component slot.
* @default {}
Expand Down
5 changes: 5 additions & 0 deletions packages/x-charts/src/LineChart/LineChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,11 @@ LineChart.propTypes = {
PropTypes.string,
]),
series: PropTypes.arrayOf(PropTypes.object).isRequired,
/**
* If `true`, animations are skiped.
* @default false
*/
skipAnimation: PropTypes.bool,
/**
* The props used for each component slot.
* @default {}
Expand Down
5 changes: 5 additions & 0 deletions packages/x-charts/src/LineChart/LineElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ LineElement.propTypes = {
highlighted: PropTypes.oneOf(['item', 'none', 'series']),
}),
id: PropTypes.string.isRequired,
/**
* If `true`, animations are skiped.
* @default false
*/
skipAnimation: PropTypes.bool,
/**
* The props used for each component slot.
* @default {}
Expand Down
5 changes: 5 additions & 0 deletions packages/x-charts/src/LineChart/LinePlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ LinePlot.propTypes = {
// | These PropTypes are generated from the TypeScript type definitions |
// | To update them edit the TypeScript types and run "yarn proptypes" |
// ----------------------------------------------------------------------
/**
* If `true`, animations are skiped.
* @default false
*/
skipAnimation: PropTypes.bool,
/**
* The props used for each component slot.
* @default {}
Expand Down
5 changes: 5 additions & 0 deletions packages/x-charts/src/LineChart/MarkElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ MarkElement.propTypes = {
*/
shape: PropTypes.oneOf(['circle', 'cross', 'diamond', 'square', 'star', 'triangle', 'wye'])
.isRequired,
/**
* If `true`, animations are skiped.
* @default false
*/
skipAnimation: PropTypes.bool,
} as any;

export { MarkElement };
5 changes: 5 additions & 0 deletions packages/x-charts/src/LineChart/MarkPlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,11 @@ MarkPlot.propTypes = {
// | These PropTypes are generated from the TypeScript type definitions |
// | To update them edit the TypeScript types and run "yarn proptypes" |
// ----------------------------------------------------------------------
/**
* If `true`, animations are skiped.
* @default false
*/
skipAnimation: PropTypes.bool,
/**
* The props used for each component slot.
* @default {}
Expand Down

0 comments on commit 635707b

Please sign in to comment.