Skip to content

Commit 73c6a59

Browse files
authored
Merge branch 'master' into vitest-x-browser-working
2 parents 480de46 + 220a2de commit 73c6a59

File tree

9 files changed

+20
-15
lines changed

9 files changed

+20
-15
lines changed

docs/data/charts/export/export.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ components: ScatterChartPro, BarChartPro, LineChartPro
88

99
<p class="description">Charts can be printed and exported as PDF.</p>
1010

11-
Export is available on the **Pro**[<span class="plan-pro"></span>](/x/introduction/licensing/#pro-plan 'Pro plan') versions of the charts: `<LineChartPro />`, `<BarChartPro />`, `<ScatterChartPro />`.
11+
Export is available on the Pro version of the charts: `<LineChartPro />`, `<BarChartPro />`, `<ScatterChartPro />`.
1212

1313
## Print/Export as PDF
1414

docs/data/charts/funnel/funnel.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ components: FunnelChart, FunnelPlot
88

99
<p class="description">Funnel charts allow to express quantity evolution along a process, such as audience engagement, population education levels or yields of multiple processes.</p>
1010

11+
:::info
12+
This feature is in preview. It is ready for production use, but its API, visuals and behavior may change in future minor or patch releases.
13+
:::
14+
1115
## Basics
1216

1317
Funnel charts series must contain a `data` property containing an array of objects.

docs/data/charts/radar/radar.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ components: RadarChart, RadarGrid, RadarSeriesArea, RadarSeriesMarks, RadarSerie
88

99
<p class="description">Radar allows to compare multivariate data in a 2D chart.</p>
1010

11+
:::info
12+
This feature is in preview. It is ready for production use, but its API, visuals and behavior may change in future minor or patch releases.
13+
:::
14+
1115
## Basics
1216

1317
Radar charts series should contain a `data` property containing an array of values.

docs/data/charts/toolbar/toolbar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ components: Toolbar, ToolbarButton, ChartsToolbarPro
88

99
<p class="description">Charts can display a toolbar for easier access to certain functionality.</p>
1010

11-
:::warning
12-
This feature is unstable and its API, visuals and/or behavior may change in future minor or patch releases.
11+
:::info
12+
This feature is in preview. It is ready for production use, but its API, visuals and behavior may change in future minor or patch releases.
1313
:::
1414

1515
Charts provide a toolbar that can be enabled to give users quick access to certain features.

docs/data/charts/zoom-and-pan/zoom-and-pan.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ components: ScatterChartPro, BarChartPro, LineChartPro, ChartZoomSlider
88

99
<p class="description">Enables zooming and panning on specific charts or axis.</p>
1010

11-
Zooming is possible on the **Pro**[<span class="plan-pro"></span>](/x/introduction/licensing/#pro-plan 'Pro plan') versions of the charts: `<LineChartPro />`, `<BarChartPro />`, `<ScatterChartPro />`.
11+
Zooming is possible on the Pro version of the charts: `<LineChartPro />`, `<BarChartPro />`, `<ScatterChartPro />`.
1212

1313
## Basic usage
1414

@@ -54,8 +54,8 @@ See how the secondary axis adapts to the visible part of the primary axis in the
5454

5555
## Zoom slider 🧪
5656

57-
:::warning
58-
This feature is unstable and its API, visuals and/or behavior may change in future minor or patch releases.
57+
:::info
58+
This feature is in preview. It is ready for production use, but its API, visuals and behavior may change in future minor or patch releases.
5959
:::
6060

6161
You can provide an overview and allow the manipulation of the zoomed area by setting the `zoom.slider.enabled` property on the axis config.

docs/data/pages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ const pages: MuiPage[] = [
546546
title: 'Export',
547547
plan: 'pro',
548548
},
549-
{ pathname: '/x/react-charts/toolbar', title: 'Toolbar 🧪' },
549+
{ pathname: '/x/react-charts/toolbar', title: 'Toolbar', unstable: true },
550550
],
551551
},
552552
{

packages/x-charts/src/LineChart/AppearingMask.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import * as React from 'react';
33
import { styled } from '@mui/material/styles';
44
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
5-
import clsx from 'clsx';
65
import { ANIMATION_DURATION_MS, ANIMATION_TIMING_FUNCTION } from '../internals/animation/animation';
76
import { cleanId } from '../internals/cleanId';
87
import { useChartId, useDrawingArea } from '../hooks';
@@ -44,13 +43,13 @@ const AnimatedRect = styled('rect')({
4443
export function AppearingMask(props: AppearingMaskProps) {
4544
const drawingArea = useDrawingArea();
4645
const chartId = useChartId();
47-
4846
const clipId = cleanId(`${chartId}-${props.id}`);
47+
4948
return (
5049
<React.Fragment>
5150
<clipPath id={clipId}>
5251
<AnimatedRect
53-
className={clsx(!props.skipAnimation && appearingMaskClasses.animate)}
52+
className={props.skipAnimation ? '' : appearingMaskClasses.animate}
5453
x={0}
5554
y={0}
5655
width={drawingArea.left + drawingArea.width + drawingArea.right}

packages/x-data-grid/src/components/GridScrollArea.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use client';
22
import * as React from 'react';
3-
import clsx from 'clsx';
43
import useEventCallback from '@mui/utils/useEventCallback';
54
import composeClasses from '@mui/utils/composeClasses';
65
import { styled } from '@mui/system';
@@ -174,7 +173,7 @@ function GridScrollAreaContent(props: ScrollAreaProps) {
174173
return (
175174
<GridScrollAreaRawRoot
176175
ref={rootRef}
177-
className={clsx(classes.root)}
176+
className={classes.root}
178177
ownerState={ownerState}
179178
onDragOver={handleDragOver}
180179
style={style}

packages/x-data-grid/src/components/base/GridOverlays.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import * as React from 'react';
22
import PropTypes from 'prop-types';
33
import { styled } from '@mui/system';
44
import composeClasses from '@mui/utils/composeClasses';
5-
import clsx from 'clsx';
65
import { minimalContentHeight } from '../../hooks/features/rows/gridRowsUtils';
76
import { useGridSelector } from '../../hooks/utils/useGridSelector';
87
import { gridDimensionsSelector } from '../../hooks/features/dimensions';
@@ -92,12 +91,12 @@ export function GridOverlayWrapper(props: React.PropsWithChildren<GridOverlaysPr
9291

9392
return (
9493
<GridOverlayWrapperRoot
95-
className={clsx(classes.root)}
94+
className={classes.root}
9695
{...props}
9796
right={dimensions.columnsTotalWidth - dimensions.viewportOuterSize.width}
9897
>
9998
<GridOverlayWrapperInner
100-
className={clsx(classes.inner)}
99+
className={classes.inner}
101100
style={{
102101
height,
103102
width: dimensions.viewportOuterSize.width,

0 commit comments

Comments
 (0)