@mui/x-charts 6.18.7 → 6.19.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChart/BarChart.js +1 -0
- package/BarChart/BarElement.d.ts +37 -20
- package/CHANGELOG.md +155 -0
- package/ChartsLegend/ChartsLegend.d.ts +5 -2
- package/ChartsLegend/ChartsLegend.js +137 -1
- package/ChartsReferenceLine/ChartsReferenceLine.js +7 -3
- package/ChartsSurface.d.ts +2 -2
- package/ChartsSurface.js +33 -1
- package/ChartsTooltip/ChartsAxisTooltipContent.js +2 -54
- package/ChartsTooltip/ChartsItemTooltipContent.js +15 -1
- package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
- package/ChartsTooltip/ChartsTooltipTable.js +2 -0
- package/ChartsTooltip/DefaultChartsAxisTooltipContent.js +2 -54
- package/ChartsTooltip/DefaultChartsItemTooltipContent.js +15 -1
- package/LineChart/LineChart.d.ts +1 -0
- package/LineChart/LineChart.js +2 -0
- package/LineChart/formatter.js +5 -1
- package/PieChart/PieArcLabel.d.ts +1 -0
- package/PieChart/PieArcLabel.js +7 -8
- package/PieChart/PieArcLabelPlot.d.ts +5 -0
- package/PieChart/PieArcLabelPlot.js +16 -3
- package/PieChart/PieArcPlot.d.ts +5 -0
- package/PieChart/PieArcPlot.js +9 -1
- package/PieChart/PieChart.d.ts +14 -2
- package/PieChart/PieChart.js +6 -2
- package/PieChart/PiePlot.js +3 -0
- package/PieChart/dataTransform/transition.js +9 -2
- package/PieChart/dataTransform/useTransformData.d.ts +1 -0
- package/PieChart/dataTransform/useTransformData.js +11 -8
- package/ScatterChart/ScatterChart.js +1 -0
- package/SparkLineChart/SparkLineChart.d.ts +15 -1
- package/SparkLineChart/SparkLineChart.js +8 -1
- package/context/CartesianContextProvider.d.ts +1 -1
- package/context/CartesianContextProvider.js +7 -6
- package/context/DrawingProvider.d.ts +1 -1
- package/context/DrawingProvider.js +8 -7
- package/context/HighlightProvider.d.ts +2 -2
- package/context/HighlightProvider.js +4 -3
- package/context/InteractionProvider.d.ts +2 -2
- package/context/InteractionProvider.js +4 -3
- package/context/SeriesContextProvider.d.ts +3 -1
- package/context/SeriesContextProvider.js +7 -6
- package/esm/BarChart/BarChart.js +1 -0
- package/esm/ChartsLegend/ChartsLegend.js +139 -2
- package/esm/ChartsReferenceLine/ChartsReferenceLine.js +7 -3
- package/esm/ChartsSurface.js +35 -2
- package/esm/ChartsTooltip/ChartsAxisTooltipContent.js +2 -54
- package/esm/ChartsTooltip/ChartsItemTooltipContent.js +15 -1
- package/esm/ChartsTooltip/ChartsTooltipTable.js +2 -0
- package/esm/ChartsTooltip/DefaultChartsAxisTooltipContent.js +2 -54
- package/esm/ChartsTooltip/DefaultChartsItemTooltipContent.js +15 -1
- package/esm/LineChart/LineChart.js +2 -0
- package/esm/LineChart/formatter.js +5 -1
- package/esm/PieChart/PieArcLabel.js +7 -8
- package/esm/PieChart/PieArcLabelPlot.js +16 -3
- package/esm/PieChart/PieArcPlot.js +9 -1
- package/esm/PieChart/PieChart.js +6 -2
- package/esm/PieChart/PiePlot.js +3 -0
- package/esm/PieChart/dataTransform/transition.js +9 -2
- package/esm/PieChart/dataTransform/useTransformData.js +12 -9
- package/esm/ScatterChart/ScatterChart.js +1 -0
- package/esm/SparkLineChart/SparkLineChart.js +8 -1
- package/esm/context/CartesianContextProvider.js +7 -6
- package/esm/context/DrawingProvider.js +8 -7
- package/esm/context/HighlightProvider.js +6 -4
- package/esm/context/InteractionProvider.js +6 -4
- package/esm/context/SeriesContextProvider.js +9 -7
- package/esm/hooks/useDrawingArea.js +7 -3
- package/esm/index.js +2 -0
- package/esm/internals/stackSeries.js +5 -3
- package/esm/models/index.js +1 -0
- package/esm/models/stacking.js +1 -0
- package/hooks/useDrawingArea.d.ts +2 -0
- package/hooks/useDrawingArea.js +7 -3
- package/index.d.ts +2 -0
- package/index.js +23 -1
- package/internals/defaultizeColor.d.ts +7 -4
- package/internals/stackSeries.d.ts +8 -3
- package/internals/stackSeries.js +4 -3
- package/legacy/BarChart/BarChart.js +1 -0
- package/legacy/ChartsLegend/ChartsLegend.js +139 -2
- package/legacy/ChartsReferenceLine/ChartsReferenceLine.js +5 -3
- package/legacy/ChartsReferenceLine/common.js +3 -4
- package/legacy/ChartsSurface.js +35 -2
- package/legacy/ChartsTooltip/ChartsAxisTooltipContent.js +2 -54
- package/legacy/ChartsTooltip/ChartsItemTooltipContent.js +15 -1
- package/legacy/ChartsTooltip/ChartsTooltipTable.js +8 -7
- package/legacy/ChartsTooltip/DefaultChartsAxisTooltipContent.js +2 -54
- package/legacy/ChartsTooltip/DefaultChartsItemTooltipContent.js +15 -1
- package/legacy/LineChart/LineChart.js +2 -0
- package/legacy/LineChart/formatter.js +6 -2
- package/legacy/PieChart/PieArcLabel.js +7 -6
- package/legacy/PieChart/PieArcLabelPlot.js +16 -4
- package/legacy/PieChart/PieArcPlot.js +10 -1
- package/legacy/PieChart/PieChart.js +6 -2
- package/legacy/PieChart/PiePlot.js +3 -0
- package/legacy/PieChart/dataTransform/transition.js +9 -2
- package/legacy/PieChart/dataTransform/useTransformData.js +12 -9
- package/legacy/ScatterChart/ScatterChart.js +1 -0
- package/legacy/SparkLineChart/SparkLineChart.js +8 -1
- package/legacy/context/CartesianContextProvider.js +15 -15
- package/legacy/context/DrawingProvider.js +6 -6
- package/legacy/context/HighlightProvider.js +4 -3
- package/legacy/context/InteractionProvider.js +4 -3
- package/legacy/context/SeriesContextProvider.js +8 -7
- package/legacy/hooks/useDrawingArea.js +7 -3
- package/legacy/index.js +3 -1
- package/legacy/internals/components/AxisSharedComponents.js +5 -6
- package/legacy/internals/stackSeries.js +5 -3
- package/legacy/models/index.js +1 -0
- package/legacy/models/stacking.js +1 -0
- package/models/index.d.ts +1 -0
- package/models/index.js +11 -0
- package/models/seriesType/bar.d.ts +6 -0
- package/models/seriesType/common.d.ts +2 -3
- package/models/seriesType/index.d.ts +0 -1
- package/models/seriesType/line.d.ts +6 -0
- package/models/seriesType/pie.d.ts +15 -0
- package/models/stacking.d.ts +2 -0
- package/models/stacking.js +5 -0
- package/modern/BarChart/BarChart.js +1 -0
- package/modern/ChartsLegend/ChartsLegend.js +139 -2
- package/modern/ChartsReferenceLine/ChartsReferenceLine.js +7 -3
- package/modern/ChartsSurface.js +35 -2
- package/modern/ChartsTooltip/ChartsAxisTooltipContent.js +2 -54
- package/modern/ChartsTooltip/ChartsItemTooltipContent.js +15 -1
- package/modern/ChartsTooltip/ChartsTooltipTable.js +2 -0
- package/modern/ChartsTooltip/DefaultChartsAxisTooltipContent.js +2 -54
- package/modern/ChartsTooltip/DefaultChartsItemTooltipContent.js +15 -1
- package/modern/LineChart/LineChart.js +2 -0
- package/modern/LineChart/formatter.js +5 -1
- package/modern/PieChart/PieArcLabel.js +7 -8
- package/modern/PieChart/PieArcLabelPlot.js +16 -3
- package/modern/PieChart/PieArcPlot.js +9 -1
- package/modern/PieChart/PieChart.js +6 -2
- package/modern/PieChart/PiePlot.js +3 -0
- package/modern/PieChart/dataTransform/transition.js +9 -2
- package/modern/PieChart/dataTransform/useTransformData.js +11 -8
- package/modern/ScatterChart/ScatterChart.js +1 -0
- package/modern/SparkLineChart/SparkLineChart.js +8 -1
- package/modern/context/CartesianContextProvider.js +7 -6
- package/modern/context/DrawingProvider.js +8 -7
- package/modern/context/HighlightProvider.js +6 -4
- package/modern/context/InteractionProvider.js +6 -4
- package/modern/context/SeriesContextProvider.js +9 -7
- package/modern/hooks/useDrawingArea.js +7 -3
- package/modern/index.js +3 -1
- package/modern/internals/stackSeries.js +4 -3
- package/modern/models/index.js +1 -0
- package/modern/models/stacking.js +1 -0
- package/package.json +1 -1
package/BarChart/BarChart.js
CHANGED
|
@@ -161,6 +161,7 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
161
161
|
className: _propTypes.default.string,
|
|
162
162
|
/**
|
|
163
163
|
* Color palette used to colorize multiple series.
|
|
164
|
+
* @default blueberryTwilightPalette
|
|
164
165
|
*/
|
|
165
166
|
colors: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string), _propTypes.default.func]),
|
|
166
167
|
/**
|
package/BarChart/BarElement.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
37
37
|
animationIterationCount?: import("csstype").Property.AnimationIterationCount | undefined;
|
|
38
38
|
animationName?: import("csstype").Property.AnimationName | undefined;
|
|
39
39
|
animationPlayState?: import("csstype").Property.AnimationPlayState | undefined;
|
|
40
|
+
animationRangeEnd?: import("csstype").Property.AnimationRangeEnd<string | number> | undefined;
|
|
41
|
+
animationRangeStart?: import("csstype").Property.AnimationRangeStart<string | number> | undefined;
|
|
40
42
|
animationTimeline?: import("csstype").Property.AnimationTimeline | undefined;
|
|
41
43
|
animationTimingFunction?: import("csstype").Property.AnimationTimingFunction | undefined;
|
|
42
44
|
appearance?: import("csstype").Property.Appearance | undefined;
|
|
@@ -158,6 +160,10 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
158
160
|
fontStretch?: import("csstype").Property.FontStretch | undefined;
|
|
159
161
|
fontStyle?: import("csstype").Property.FontStyle | undefined;
|
|
160
162
|
fontSynthesis?: import("csstype").Property.FontSynthesis | undefined;
|
|
163
|
+
fontSynthesisPosition?: import("csstype").Property.FontSynthesisPosition | undefined;
|
|
164
|
+
fontSynthesisSmallCaps?: import("csstype").Property.FontSynthesisSmallCaps | undefined;
|
|
165
|
+
fontSynthesisStyle?: import("csstype").Property.FontSynthesisStyle | undefined;
|
|
166
|
+
fontSynthesisWeight?: import("csstype").Property.FontSynthesisWeight | undefined;
|
|
161
167
|
fontVariant?: import("csstype").Property.FontVariant | undefined;
|
|
162
168
|
fontVariantAlternates?: import("csstype").Property.FontVariantAlternates | undefined;
|
|
163
169
|
fontVariantCaps?: import("csstype").Property.FontVariantCaps | undefined;
|
|
@@ -231,6 +237,7 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
231
237
|
maskRepeat?: import("csstype").Property.MaskRepeat | undefined;
|
|
232
238
|
maskSize?: import("csstype").Property.MaskSize<string | number> | undefined;
|
|
233
239
|
maskType?: import("csstype").Property.MaskType | undefined;
|
|
240
|
+
masonryAutoFlow?: import("csstype").Property.MasonryAutoFlow | undefined;
|
|
234
241
|
mathDepth?: import("csstype").Property.MathDepth | undefined;
|
|
235
242
|
mathShift?: import("csstype").Property.MathShift | undefined;
|
|
236
243
|
mathStyle?: import("csstype").Property.MathStyle | undefined;
|
|
@@ -270,6 +277,7 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
270
277
|
overflowWrap?: import("csstype").Property.OverflowWrap | undefined;
|
|
271
278
|
overflowX?: import("csstype").Property.OverflowX | undefined;
|
|
272
279
|
overflowY?: import("csstype").Property.OverflowY | undefined;
|
|
280
|
+
overlay?: import("csstype").Property.Overlay | undefined;
|
|
273
281
|
overscrollBehaviorBlock?: import("csstype").Property.OverscrollBehaviorBlock | undefined;
|
|
274
282
|
overscrollBehaviorInline?: import("csstype").Property.OverscrollBehaviorInline | undefined;
|
|
275
283
|
overscrollBehaviorX?: import("csstype").Property.OverscrollBehaviorX | undefined;
|
|
@@ -357,12 +365,15 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
357
365
|
textTransform?: import("csstype").Property.TextTransform | undefined;
|
|
358
366
|
textUnderlineOffset?: import("csstype").Property.TextUnderlineOffset<string | number> | undefined;
|
|
359
367
|
textUnderlinePosition?: import("csstype").Property.TextUnderlinePosition | undefined;
|
|
368
|
+
textWrap?: import("csstype").Property.TextWrap | undefined;
|
|
369
|
+
timelineScope?: import("csstype").Property.TimelineScope | undefined;
|
|
360
370
|
top?: import("csstype").Property.Top<string | number> | undefined;
|
|
361
371
|
touchAction?: import("csstype").Property.TouchAction | undefined;
|
|
362
372
|
transform?: string | undefined;
|
|
363
373
|
transformBox?: import("csstype").Property.TransformBox | undefined;
|
|
364
374
|
transformOrigin?: import("csstype").Property.TransformOrigin<string | number> | undefined;
|
|
365
375
|
transformStyle?: import("csstype").Property.TransformStyle | undefined;
|
|
376
|
+
transitionBehavior?: import("csstype").Property.TransitionBehavior | undefined;
|
|
366
377
|
transitionDelay?: import("csstype").Property.TransitionDelay<string & {}> | undefined;
|
|
367
378
|
transitionDuration?: import("csstype").Property.TransitionDuration<string & {}> | undefined;
|
|
368
379
|
transitionProperty?: import("csstype").Property.TransitionProperty | undefined;
|
|
@@ -371,9 +382,14 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
371
382
|
unicodeBidi?: import("csstype").Property.UnicodeBidi | undefined;
|
|
372
383
|
userSelect?: import("csstype").Property.UserSelect | undefined;
|
|
373
384
|
verticalAlign?: import("csstype").Property.VerticalAlign<string | number> | undefined;
|
|
385
|
+
viewTimelineAxis?: import("csstype").Property.ViewTimelineAxis | undefined;
|
|
386
|
+
viewTimelineInset?: import("csstype").Property.ViewTimelineInset<string | number> | undefined;
|
|
387
|
+
viewTimelineName?: import("csstype").Property.ViewTimelineName | undefined;
|
|
374
388
|
viewTransitionName?: import("csstype").Property.ViewTransitionName | undefined;
|
|
375
389
|
visibility?: import("csstype").Property.Visibility | undefined;
|
|
376
390
|
whiteSpace?: import("csstype").Property.WhiteSpace | undefined;
|
|
391
|
+
whiteSpaceCollapse?: import("csstype").Property.WhiteSpaceCollapse | undefined;
|
|
392
|
+
whiteSpaceTrim?: import("csstype").Property.WhiteSpaceTrim | undefined;
|
|
377
393
|
widows?: import("csstype").Property.Widows | undefined;
|
|
378
394
|
width?: import("csstype").Property.Width<string | number> | undefined;
|
|
379
395
|
willChange?: import("csstype").Property.WillChange | undefined;
|
|
@@ -385,6 +401,7 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
385
401
|
zoom?: import("csstype").Property.Zoom | undefined;
|
|
386
402
|
all?: import("csstype").Globals | undefined;
|
|
387
403
|
animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
404
|
+
animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
388
405
|
background?: import("csstype").Property.Background<string | number> | undefined;
|
|
389
406
|
backgroundPosition?: import("csstype").Property.BackgroundPosition<string | number> | undefined;
|
|
390
407
|
border?: import("csstype").Property.Border<string | number> | undefined;
|
|
@@ -449,6 +466,7 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
449
466
|
textDecoration?: import("csstype").Property.TextDecoration<string | number> | undefined;
|
|
450
467
|
textEmphasis?: import("csstype").Property.TextEmphasis | undefined;
|
|
451
468
|
transition?: import("csstype").Property.Transition<string & {}> | undefined;
|
|
469
|
+
viewTimeline?: import("csstype").Property.ViewTimeline | undefined;
|
|
452
470
|
MozAnimationDelay?: import("csstype").Property.AnimationDelay<string & {}> | undefined;
|
|
453
471
|
MozAnimationDirection?: import("csstype").Property.AnimationDirection | undefined;
|
|
454
472
|
MozAnimationDuration?: import("csstype").Property.AnimationDuration<string & {}> | undefined;
|
|
@@ -458,7 +476,6 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
458
476
|
MozAnimationPlayState?: import("csstype").Property.AnimationPlayState | undefined;
|
|
459
477
|
MozAnimationTimingFunction?: import("csstype").Property.AnimationTimingFunction | undefined;
|
|
460
478
|
MozAppearance?: import("csstype").Property.MozAppearance | undefined;
|
|
461
|
-
MozBackfaceVisibility?: import("csstype").Property.BackfaceVisibility | undefined;
|
|
462
479
|
MozBinding?: import("csstype").Property.MozBinding | undefined;
|
|
463
480
|
MozBorderBottomColors?: import("csstype").Property.MozBorderBottomColors | undefined;
|
|
464
481
|
MozBorderEndColor?: import("csstype").Property.BorderInlineEndColor | undefined;
|
|
@@ -485,20 +502,16 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
485
502
|
MozMarginStart?: import("csstype").Property.MarginInlineStart<string | number> | undefined;
|
|
486
503
|
MozOrient?: import("csstype").Property.MozOrient | undefined;
|
|
487
504
|
MozOsxFontSmoothing?: import("csstype").Property.FontSmooth<string | number> | undefined;
|
|
505
|
+
MozOutlineRadiusBottomleft?: import("csstype").Property.MozOutlineRadiusBottomleft<string | number> | undefined;
|
|
506
|
+
MozOutlineRadiusBottomright?: import("csstype").Property.MozOutlineRadiusBottomright<string | number> | undefined;
|
|
507
|
+
MozOutlineRadiusTopleft?: import("csstype").Property.MozOutlineRadiusTopleft<string | number> | undefined;
|
|
508
|
+
MozOutlineRadiusTopright?: import("csstype").Property.MozOutlineRadiusTopright<string | number> | undefined;
|
|
488
509
|
MozPaddingEnd?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
489
510
|
MozPaddingStart?: import("csstype").Property.PaddingInlineStart<string | number> | undefined;
|
|
490
|
-
MozPerspective?: import("csstype").Property.Perspective<string | number> | undefined;
|
|
491
|
-
MozPerspectiveOrigin?: import("csstype").Property.PerspectiveOrigin<string | number> | undefined;
|
|
492
511
|
MozStackSizing?: import("csstype").Property.MozStackSizing | undefined;
|
|
493
512
|
MozTabSize?: import("csstype").Property.TabSize<string | number> | undefined;
|
|
494
513
|
MozTextBlink?: import("csstype").Property.MozTextBlink | undefined;
|
|
495
514
|
MozTextSizeAdjust?: import("csstype").Property.TextSizeAdjust | undefined;
|
|
496
|
-
MozTransformOrigin?: import("csstype").Property.TransformOrigin<string | number> | undefined;
|
|
497
|
-
MozTransformStyle?: import("csstype").Property.TransformStyle | undefined;
|
|
498
|
-
MozTransitionDelay?: import("csstype").Property.TransitionDelay<string & {}> | undefined;
|
|
499
|
-
MozTransitionDuration?: import("csstype").Property.TransitionDuration<string & {}> | undefined;
|
|
500
|
-
MozTransitionProperty?: import("csstype").Property.TransitionProperty | undefined;
|
|
501
|
-
MozTransitionTimingFunction?: import("csstype").Property.TransitionTimingFunction | undefined;
|
|
502
515
|
MozUserFocus?: import("csstype").Property.MozUserFocus | undefined;
|
|
503
516
|
MozUserModify?: import("csstype").Property.MozUserModify | undefined;
|
|
504
517
|
MozUserSelect?: import("csstype").Property.UserSelect | undefined;
|
|
@@ -678,7 +691,7 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
678
691
|
MozBorderImage?: import("csstype").Property.BorderImage | undefined;
|
|
679
692
|
MozColumnRule?: import("csstype").Property.ColumnRule<string | number> | undefined;
|
|
680
693
|
MozColumns?: import("csstype").Property.Columns<string | number> | undefined;
|
|
681
|
-
|
|
694
|
+
MozOutlineRadius?: import("csstype").Property.MozOutlineRadius<string | number> | undefined;
|
|
682
695
|
msContentZoomLimit?: import("csstype").Property.MsContentZoomLimit | undefined;
|
|
683
696
|
msContentZoomSnap?: import("csstype").Property.MsContentZoomSnap | undefined;
|
|
684
697
|
msFlex?: import("csstype").Property.Flex<string | number> | undefined;
|
|
@@ -736,6 +749,7 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
736
749
|
KhtmlLineBreak?: import("csstype").Property.LineBreak | undefined;
|
|
737
750
|
KhtmlOpacity?: import("csstype").Property.Opacity | undefined;
|
|
738
751
|
KhtmlUserSelect?: import("csstype").Property.UserSelect | undefined;
|
|
752
|
+
MozBackfaceVisibility?: import("csstype").Property.BackfaceVisibility | undefined;
|
|
739
753
|
MozBackgroundClip?: import("csstype").Property.BackgroundClip | undefined;
|
|
740
754
|
MozBackgroundInlinePolicy?: import("csstype").Property.BoxDecorationBreak | undefined;
|
|
741
755
|
MozBackgroundOrigin?: import("csstype").Property.BackgroundOrigin | undefined;
|
|
@@ -757,17 +771,22 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
757
771
|
MozOpacity?: import("csstype").Property.Opacity | undefined;
|
|
758
772
|
MozOutline?: import("csstype").Property.Outline<string | number> | undefined;
|
|
759
773
|
MozOutlineColor?: import("csstype").Property.OutlineColor | undefined;
|
|
760
|
-
MozOutlineRadius?: import("csstype").Property.MozOutlineRadius<string | number> | undefined;
|
|
761
|
-
MozOutlineRadiusBottomleft?: import("csstype").Property.MozOutlineRadiusBottomleft<string | number> | undefined;
|
|
762
|
-
MozOutlineRadiusBottomright?: import("csstype").Property.MozOutlineRadiusBottomright<string | number> | undefined;
|
|
763
|
-
MozOutlineRadiusTopleft?: import("csstype").Property.MozOutlineRadiusTopleft<string | number> | undefined;
|
|
764
|
-
MozOutlineRadiusTopright?: import("csstype").Property.MozOutlineRadiusTopright<string | number> | undefined;
|
|
765
774
|
MozOutlineStyle?: import("csstype").Property.OutlineStyle | undefined;
|
|
766
775
|
MozOutlineWidth?: import("csstype").Property.OutlineWidth<string | number> | undefined;
|
|
776
|
+
MozPerspective?: import("csstype").Property.Perspective<string | number> | undefined;
|
|
777
|
+
MozPerspectiveOrigin?: import("csstype").Property.PerspectiveOrigin<string | number> | undefined;
|
|
767
778
|
MozTextAlignLast?: import("csstype").Property.TextAlignLast | undefined;
|
|
768
779
|
MozTextDecorationColor?: import("csstype").Property.TextDecorationColor | undefined;
|
|
769
780
|
MozTextDecorationLine?: import("csstype").Property.TextDecorationLine | undefined;
|
|
770
781
|
MozTextDecorationStyle?: import("csstype").Property.TextDecorationStyle | undefined;
|
|
782
|
+
MozTransform?: import("csstype").Property.Transform | undefined;
|
|
783
|
+
MozTransformOrigin?: import("csstype").Property.TransformOrigin<string | number> | undefined;
|
|
784
|
+
MozTransformStyle?: import("csstype").Property.TransformStyle | undefined;
|
|
785
|
+
MozTransition?: import("csstype").Property.Transition<string & {}> | undefined;
|
|
786
|
+
MozTransitionDelay?: import("csstype").Property.TransitionDelay<string & {}> | undefined;
|
|
787
|
+
MozTransitionDuration?: import("csstype").Property.TransitionDuration<string & {}> | undefined;
|
|
788
|
+
MozTransitionProperty?: import("csstype").Property.TransitionProperty | undefined;
|
|
789
|
+
MozTransitionTimingFunction?: import("csstype").Property.TransitionTimingFunction | undefined;
|
|
771
790
|
MozUserInput?: import("csstype").Property.MozUserInput | undefined;
|
|
772
791
|
msImeMode?: import("csstype").Property.ImeMode | undefined;
|
|
773
792
|
OAnimation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
@@ -800,8 +819,6 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
800
819
|
WebkitBoxOrdinalGroup?: import("csstype").Property.BoxOrdinalGroup | undefined;
|
|
801
820
|
WebkitBoxOrient?: import("csstype").Property.BoxOrient | undefined;
|
|
802
821
|
WebkitBoxPack?: import("csstype").Property.BoxPack | undefined;
|
|
803
|
-
WebkitScrollSnapPointsX?: import("csstype").Property.ScrollSnapPointsX | undefined;
|
|
804
|
-
WebkitScrollSnapPointsY?: import("csstype").Property.ScrollSnapPointsY | undefined;
|
|
805
822
|
alignmentBaseline?: import("csstype").Property.AlignmentBaseline | undefined;
|
|
806
823
|
baselineShift?: import("csstype").Property.BaselineShift<string | number> | undefined;
|
|
807
824
|
clipRule?: import("csstype").Property.ClipRule | undefined;
|
|
@@ -932,6 +949,8 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
932
949
|
method?: string | undefined;
|
|
933
950
|
min?: string | number | undefined;
|
|
934
951
|
name?: string | undefined;
|
|
952
|
+
target?: string | undefined;
|
|
953
|
+
type?: string | undefined;
|
|
935
954
|
suppressHydrationWarning?: boolean | undefined;
|
|
936
955
|
className?: string | undefined;
|
|
937
956
|
id?: string | undefined;
|
|
@@ -991,8 +1010,6 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
991
1010
|
"aria-valuemin"?: number | undefined;
|
|
992
1011
|
"aria-valuenow"?: number | undefined;
|
|
993
1012
|
"aria-valuetext"?: string | undefined;
|
|
994
|
-
target?: string | undefined;
|
|
995
|
-
type?: string | undefined;
|
|
996
1013
|
accentHeight?: string | number | undefined;
|
|
997
1014
|
allowReorder?: "yes" | "no" | undefined;
|
|
998
1015
|
amplitude?: string | number | undefined;
|
|
@@ -1331,7 +1348,7 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
1331
1348
|
scrollTop?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
|
|
1332
1349
|
scrollLeft?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
|
|
1333
1350
|
viewBox?: string | import("@react-spring/shared").FluidValue<string, any> | undefined;
|
|
1334
|
-
}, "string" | "end" | "accumulate" | "local" | "color" | "clip" | "style" | "unicode" | "fill" | "stroke" | "x" | "y" | "clipPath" | "cursor" | "direction" | "display" | "filter" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "mask" | "offset" | "overflow" | "textDecoration" | "azimuth" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "additive" | "path" | "ref" | "key" | "crossOrigin" | "href" | "max" | "media" | "method" | "min" | "name" | "suppressHydrationWarning" | "className" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "
|
|
1351
|
+
}, "string" | "end" | "accumulate" | "local" | "color" | "clip" | "style" | "unicode" | "fill" | "stroke" | "x" | "y" | "clipPath" | "cursor" | "direction" | "display" | "filter" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "mask" | "offset" | "overflow" | "textDecoration" | "azimuth" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "additive" | "path" | "ref" | "key" | "crossOrigin" | "href" | "max" | "media" | "method" | "min" | "name" | "target" | "type" | "suppressHydrationWarning" | "className" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accentHeight" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "scrollTop" | "scrollLeft"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
1335
1352
|
ownerState: BarElementOwnerState;
|
|
1336
1353
|
}, {}, {}>;
|
|
1337
1354
|
export type BarElementProps = Omit<BarElementOwnerState, 'isFaded' | 'isHighlighted'> & React.ComponentPropsWithoutRef<'path'> & {
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,161 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 6.19.3
|
|
7
|
+
|
|
8
|
+
_Feb 1, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Improve Hebrew (he-IL) locale (#11831) @danielmishan85
|
|
13
|
+
- 🐞 Bugfixes
|
|
14
|
+
- 📚 Documentation improvements
|
|
15
|
+
|
|
16
|
+
### Data Grid
|
|
17
|
+
|
|
18
|
+
#### `@mui/x-data-grid@6.19.3`
|
|
19
|
+
|
|
20
|
+
- [l10n] Improve Hebrew (he-IL) locale (@danielmishan85) (#11831)
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid-pro@6.19.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
23
|
+
|
|
24
|
+
Same changes as in `@mui/x-data-grid@6.19.3`.
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-premium@6.19.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid-pro@6.19.3`.
|
|
29
|
+
|
|
30
|
+
### Date Pickers
|
|
31
|
+
|
|
32
|
+
#### `@mui/x-date-pickers@6.19.3`
|
|
33
|
+
|
|
34
|
+
- [TimePicker] Add missing toolbar classes descriptions (#11862) @LukasTy
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-date-pickers-pro@6.19.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
37
|
+
|
|
38
|
+
Same changes as in `@mui/x-date-pickers@6.19.3`.
|
|
39
|
+
|
|
40
|
+
### Charts / `@mui/x-charts@6.19.3`
|
|
41
|
+
|
|
42
|
+
- [charts] Document how to modify color according to values (#11854) @alexfauquette
|
|
43
|
+
|
|
44
|
+
### Docs
|
|
45
|
+
|
|
46
|
+
- [docs] Add a general uplift to the whats new page (#11883) @danilo-leal
|
|
47
|
+
- [docs] Fix 404 (#11852) @alexfauquette
|
|
48
|
+
- [docs] Fix <title> generation (#11825) @alexfauquette
|
|
49
|
+
- [docs] Fix docs:api when typo in slots typing (#11861) @alexfauquette
|
|
50
|
+
- [docs] Improve Support page (#11556) @oliviertassinari
|
|
51
|
+
- [docs] Sync support page with core @oliviertassinari
|
|
52
|
+
- [docs] These API don't exist in MUI X v6 @oliviertassinari
|
|
53
|
+
- [docs] Update whats new page with v7 Beta blogpost content (#11886) @joserodolfofreitas
|
|
54
|
+
|
|
55
|
+
## 6.19.2
|
|
56
|
+
|
|
57
|
+
_Jan 25, 2024_
|
|
58
|
+
|
|
59
|
+
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
60
|
+
|
|
61
|
+
- 🚀 Apply the `layout.tabs` class to `Tabs` slot (@LukasTy) (#11782)
|
|
62
|
+
- 🐞 Bugfixes
|
|
63
|
+
|
|
64
|
+
### Date Pickers
|
|
65
|
+
|
|
66
|
+
#### `@mui/x-date-pickers@6.19.2`
|
|
67
|
+
|
|
68
|
+
- [pickers] Apply the `layout.tabs` class to `Tabs` slot (@LukasTy) (#11782)
|
|
69
|
+
|
|
70
|
+
#### `@mui/x-date-pickers-pro@6.19.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
71
|
+
|
|
72
|
+
Same changes as in `@mui/x-date-pickers@6.19.2`, plus:
|
|
73
|
+
|
|
74
|
+
- [DateRangePicker] Remove `calendars` prop on `Mobile` (@LukasTy) (#11771)
|
|
75
|
+
|
|
76
|
+
### Data Grid
|
|
77
|
+
|
|
78
|
+
#### `@mui/x-data-grid@6.19.2`
|
|
79
|
+
|
|
80
|
+
- [DataGrid] Fix support for tree with more than 50,000 children (@zenazn) (#11808)
|
|
81
|
+
|
|
82
|
+
#### `@mui/x-data-grid-pro@6.19.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
83
|
+
|
|
84
|
+
Same changes as in `@mui/x-data-grid@6.19.2`.
|
|
85
|
+
|
|
86
|
+
#### `@mui/x-data-grid-premium@6.19.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
87
|
+
|
|
88
|
+
Same changes as in `@mui/x-data-grid-pro@6.19.2`.
|
|
89
|
+
|
|
90
|
+
## 6.19.1
|
|
91
|
+
|
|
92
|
+
_Jan 19, 2024_
|
|
93
|
+
|
|
94
|
+
We'd like to offer a big thanks to the 1 contributors who made this release possible. Here are some highlights ✨:
|
|
95
|
+
|
|
96
|
+
- 🌍 Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11717) @BCaspari
|
|
97
|
+
- 🐞 Bugfixes
|
|
98
|
+
|
|
99
|
+
### Data Grid
|
|
100
|
+
|
|
101
|
+
#### `@mui/x-data-grid@6.19.1`
|
|
102
|
+
|
|
103
|
+
- [l10n] Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11717) @BCaspari
|
|
104
|
+
|
|
105
|
+
#### `@mui/x-data-grid-pro@6.19.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
106
|
+
|
|
107
|
+
Same changes as in `@mui/x-data-grid@6.19.1`.
|
|
108
|
+
|
|
109
|
+
#### `@mui/x-data-grid-premium@6.19.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
110
|
+
|
|
111
|
+
Same changes as in `@mui/x-data-grid-pro@6.19.1`.
|
|
112
|
+
|
|
113
|
+
### Charts / `@mui/x-charts@6.19.1`
|
|
114
|
+
|
|
115
|
+
- [charts] Add `arcLabelRadius` property (#11563) @alexfauquette
|
|
116
|
+
- [charts] Do not propagate `innerRadius` and `outerRadius` to the DOM (#11719) @alexfauquette
|
|
117
|
+
- [charts] Fix default `stackOffset` for `LineChart` (#11703) @alexfauquette
|
|
118
|
+
|
|
119
|
+
## 6.19.0
|
|
120
|
+
|
|
121
|
+
_Jan 11, 2024_
|
|
122
|
+
|
|
123
|
+
We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
|
|
124
|
+
|
|
125
|
+
- ⏰ Support date-fns v3 (#11659) @LukasTy
|
|
126
|
+
Pickers support both v2 and v3 of date-fns. For v3 use `AdapterDateFnsV3`.
|
|
127
|
+
```js
|
|
128
|
+
// with date-fns v2.x
|
|
129
|
+
import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';
|
|
130
|
+
import de from 'date-fns/locale/de';
|
|
131
|
+
```
|
|
132
|
+
```js
|
|
133
|
+
// with date-fns v3.x
|
|
134
|
+
import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3';
|
|
135
|
+
import { de } from 'date-fns/locale/de';
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Date Pickers
|
|
139
|
+
|
|
140
|
+
#### `@mui/x-date-pickers@6.19.0`
|
|
141
|
+
|
|
142
|
+
- [pickers] Add date-fns@3.x adapter (#11659) @LukasTy
|
|
143
|
+
- [pickers] Fix clearable behavior blocking focus return to `OpenPickerButton` (#11643) @noraleonte
|
|
144
|
+
- [l10n] Add missing Danish (da-DK) locale export (#11641) @etlos
|
|
145
|
+
|
|
146
|
+
#### `@mui/x-date-pickers-pro@6.19.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
147
|
+
|
|
148
|
+
Same changes as in `@mui/x-date-pickers@6.19.0`.
|
|
149
|
+
|
|
150
|
+
### Docs
|
|
151
|
+
|
|
152
|
+
- [docs] Add missing component @oliviertassinari
|
|
153
|
+
- [docs] Fix parsing of `x-date-pickers-pro` demo adapter imports (#11637) @LukasTy
|
|
154
|
+
- [docs] Push up the MUI X brand (#11533) @oliviertassinari
|
|
155
|
+
- [docs] Improve Server-side data grid docs (#11589) @oliviertassinari
|
|
156
|
+
- [docs] Add demo to the charts overview page (#11586) @danilo-leal
|
|
157
|
+
- [docs] Fix 404 links in the docs @oliviertassinari
|
|
158
|
+
- [docs] Improve landing page (#11570) @oliviertassinari
|
|
159
|
+
- [docs] Give a general revision to the docs (#11249) @danilo-leal
|
|
160
|
+
|
|
6
161
|
## 6.18.7
|
|
7
162
|
|
|
8
163
|
_Jan 5, 2024_
|
|
@@ -88,5 +88,8 @@ export interface LegendRendererProps extends Omit<DefaultizedChartsLegendProps,
|
|
|
88
88
|
*/
|
|
89
89
|
padding?: number | Partial<CardinalDirections<number>>;
|
|
90
90
|
}
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
declare function ChartsLegend(inProps: ChartsLegendProps): React.JSX.Element;
|
|
92
|
+
declare namespace ChartsLegend {
|
|
93
|
+
var propTypes: any;
|
|
94
|
+
}
|
|
95
|
+
export { ChartsLegend };
|
|
@@ -9,6 +9,7 @@ exports.ChartsLegendRoot = void 0;
|
|
|
9
9
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
13
|
var _utils = require("@mui/base/utils");
|
|
13
14
|
var _NoSsr = require("@mui/base/NoSsr");
|
|
14
15
|
var _utils2 = require("@mui/utils");
|
|
@@ -243,6 +244,107 @@ function DefaultChartsLegend(props) {
|
|
|
243
244
|
})
|
|
244
245
|
});
|
|
245
246
|
}
|
|
247
|
+
process.env.NODE_ENV !== "production" ? DefaultChartsLegend.propTypes = {
|
|
248
|
+
// ----------------------------- Warning --------------------------------
|
|
249
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
250
|
+
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
251
|
+
// ----------------------------------------------------------------------
|
|
252
|
+
/**
|
|
253
|
+
* Override or extend the styles applied to the component.
|
|
254
|
+
*/
|
|
255
|
+
classes: _propTypes.default.object.isRequired,
|
|
256
|
+
/**
|
|
257
|
+
* The direction of the legend layout.
|
|
258
|
+
* The default depends on the chart.
|
|
259
|
+
*/
|
|
260
|
+
direction: _propTypes.default.oneOf(['column', 'row']).isRequired,
|
|
261
|
+
drawingArea: _propTypes.default.shape({
|
|
262
|
+
bottom: _propTypes.default.number.isRequired,
|
|
263
|
+
height: _propTypes.default.number.isRequired,
|
|
264
|
+
left: _propTypes.default.number.isRequired,
|
|
265
|
+
right: _propTypes.default.number.isRequired,
|
|
266
|
+
top: _propTypes.default.number.isRequired,
|
|
267
|
+
width: _propTypes.default.number.isRequired
|
|
268
|
+
}).isRequired,
|
|
269
|
+
/**
|
|
270
|
+
* Set to true to hide the legend.
|
|
271
|
+
* @default false
|
|
272
|
+
*/
|
|
273
|
+
hidden: _propTypes.default.bool,
|
|
274
|
+
/**
|
|
275
|
+
* Space between two legend items (in px).
|
|
276
|
+
* @default 10
|
|
277
|
+
*/
|
|
278
|
+
itemGap: _propTypes.default.number,
|
|
279
|
+
/**
|
|
280
|
+
* Height of the item mark (in px).
|
|
281
|
+
* @default 20
|
|
282
|
+
*/
|
|
283
|
+
itemMarkHeight: _propTypes.default.number,
|
|
284
|
+
/**
|
|
285
|
+
* Width of the item mark (in px).
|
|
286
|
+
* @default 20
|
|
287
|
+
*/
|
|
288
|
+
itemMarkWidth: _propTypes.default.number,
|
|
289
|
+
/**
|
|
290
|
+
* Style applied to legend labels.
|
|
291
|
+
* @default theme.typography.subtitle1
|
|
292
|
+
*/
|
|
293
|
+
labelStyle: _propTypes.default.object,
|
|
294
|
+
/**
|
|
295
|
+
* Space between the mark and the label (in px).
|
|
296
|
+
* @default 5
|
|
297
|
+
*/
|
|
298
|
+
markGap: _propTypes.default.number,
|
|
299
|
+
/**
|
|
300
|
+
* Legend padding (in px).
|
|
301
|
+
* Can either be a single number, or an object with top, left, bottom, right properties.
|
|
302
|
+
* @default 0
|
|
303
|
+
*/
|
|
304
|
+
padding: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
305
|
+
bottom: _propTypes.default.number,
|
|
306
|
+
left: _propTypes.default.number,
|
|
307
|
+
right: _propTypes.default.number,
|
|
308
|
+
top: _propTypes.default.number
|
|
309
|
+
})]),
|
|
310
|
+
position: _propTypes.default.shape({
|
|
311
|
+
horizontal: _propTypes.default.oneOf(['left', 'middle', 'right']).isRequired,
|
|
312
|
+
vertical: _propTypes.default.oneOf(['bottom', 'middle', 'top']).isRequired
|
|
313
|
+
}).isRequired,
|
|
314
|
+
series: _propTypes.default.shape({
|
|
315
|
+
bar: _propTypes.default.shape({
|
|
316
|
+
series: _propTypes.default.object.isRequired,
|
|
317
|
+
seriesOrder: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
|
|
318
|
+
stackingGroups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
319
|
+
ids: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
|
|
320
|
+
stackingOffset: _propTypes.default.func.isRequired,
|
|
321
|
+
stackingOrder: _propTypes.default.func.isRequired
|
|
322
|
+
})).isRequired
|
|
323
|
+
}),
|
|
324
|
+
line: _propTypes.default.shape({
|
|
325
|
+
series: _propTypes.default.object.isRequired,
|
|
326
|
+
seriesOrder: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
|
|
327
|
+
stackingGroups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
328
|
+
ids: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
|
|
329
|
+
stackingOffset: _propTypes.default.func.isRequired,
|
|
330
|
+
stackingOrder: _propTypes.default.func.isRequired
|
|
331
|
+
})).isRequired
|
|
332
|
+
}),
|
|
333
|
+
pie: _propTypes.default.shape({
|
|
334
|
+
series: _propTypes.default.object.isRequired,
|
|
335
|
+
seriesOrder: _propTypes.default.arrayOf(_propTypes.default.string).isRequired
|
|
336
|
+
}),
|
|
337
|
+
scatter: _propTypes.default.shape({
|
|
338
|
+
series: _propTypes.default.object.isRequired,
|
|
339
|
+
seriesOrder: _propTypes.default.arrayOf(_propTypes.default.string).isRequired
|
|
340
|
+
})
|
|
341
|
+
}).isRequired,
|
|
342
|
+
seriesToDisplay: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
343
|
+
color: _propTypes.default.string.isRequired,
|
|
344
|
+
id: _propTypes.default.string.isRequired,
|
|
345
|
+
label: _propTypes.default.string.isRequired
|
|
346
|
+
})).isRequired
|
|
347
|
+
} : void 0;
|
|
246
348
|
function ChartsLegend(inProps) {
|
|
247
349
|
const props = (0, _styles.useThemeProps)({
|
|
248
350
|
props: (0, _extends2.default)({}, defaultProps, inProps),
|
|
@@ -278,4 +380,38 @@ function ChartsLegend(inProps) {
|
|
|
278
380
|
ownerState: {}
|
|
279
381
|
});
|
|
280
382
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(ChartLegendRender, (0, _extends2.default)({}, chartLegendRenderProps));
|
|
281
|
-
}
|
|
383
|
+
}
|
|
384
|
+
process.env.NODE_ENV !== "production" ? ChartsLegend.propTypes = {
|
|
385
|
+
// ----------------------------- Warning --------------------------------
|
|
386
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
387
|
+
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
388
|
+
// ----------------------------------------------------------------------
|
|
389
|
+
/**
|
|
390
|
+
* Override or extend the styles applied to the component.
|
|
391
|
+
*/
|
|
392
|
+
classes: _propTypes.default.object,
|
|
393
|
+
/**
|
|
394
|
+
* The direction of the legend layout.
|
|
395
|
+
* The default depends on the chart.
|
|
396
|
+
*/
|
|
397
|
+
direction: _propTypes.default.oneOf(['column', 'row']),
|
|
398
|
+
/**
|
|
399
|
+
* Set to true to hide the legend.
|
|
400
|
+
* @default false
|
|
401
|
+
*/
|
|
402
|
+
hidden: _propTypes.default.bool,
|
|
403
|
+
position: _propTypes.default.shape({
|
|
404
|
+
horizontal: _propTypes.default.oneOf(['left', 'middle', 'right']).isRequired,
|
|
405
|
+
vertical: _propTypes.default.oneOf(['bottom', 'middle', 'top']).isRequired
|
|
406
|
+
}),
|
|
407
|
+
/**
|
|
408
|
+
* The props used for each component slot.
|
|
409
|
+
* @default {}
|
|
410
|
+
*/
|
|
411
|
+
slotProps: _propTypes.default.object,
|
|
412
|
+
/**
|
|
413
|
+
* Overridable component slots.
|
|
414
|
+
* @default {}
|
|
415
|
+
*/
|
|
416
|
+
slots: _propTypes.default.object
|
|
417
|
+
} : void 0;
|
|
@@ -14,13 +14,17 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
14
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
15
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
16
|
function ChartsReferenceLine(props) {
|
|
17
|
-
|
|
17
|
+
const {
|
|
18
|
+
x,
|
|
19
|
+
y
|
|
20
|
+
} = props;
|
|
21
|
+
if (x !== undefined && y !== undefined) {
|
|
18
22
|
throw new Error('MUI-X-Charts: The ChartsReferenceLine can not have both `x` and `y` props set.');
|
|
19
23
|
}
|
|
20
|
-
if (
|
|
24
|
+
if (x === undefined && y === undefined) {
|
|
21
25
|
throw new Error('MUI-X-Charts: The ChartsReferenceLine should have a value in `x` or `y` prop.');
|
|
22
26
|
}
|
|
23
|
-
if (
|
|
27
|
+
if (x !== undefined) {
|
|
24
28
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsXReferenceLine.ChartsXReferenceLine, (0, _extends2.default)({}, props));
|
|
25
29
|
}
|
|
26
30
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsYReferenceLine.ChartsYReferenceLine, (0, _extends2.default)({}, props));
|
package/ChartsSurface.d.ts
CHANGED
|
@@ -28,5 +28,5 @@ export interface ChartsSurfaceProps {
|
|
|
28
28
|
*/
|
|
29
29
|
disableAxisListener?: boolean;
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
export {};
|
|
31
|
+
declare const ChartsSurface: React.ForwardRefExoticComponent<ChartsSurfaceProps & React.RefAttributes<SVGSVGElement>>;
|
|
32
|
+
export { ChartsSurface };
|