@mui/x-charts-premium 8.27.2 → 8.27.5
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/BarChartPremium/BarChartPremium.js +3 -3
- package/BarChartPremium/RangeBar/RangeBarPlot.js +1 -1
- package/CHANGELOG.md +154 -0
- package/ChartContainerPremium/ChartContainerPremium.d.ts +17 -31
- package/ChartContainerPremium/ChartContainerPremium.js +15 -43
- package/ChartContainerPremium/useChartContainerPremiumProps.d.ts +10 -9
- package/ChartContainerPremium/useChartContainerPremiumProps.js +10 -27
- package/ChartDataProviderPremium/ChartDataProviderPremium.d.ts +18 -44
- package/ChartDataProviderPremium/ChartDataProviderPremium.js +21 -143
- package/ChartDataProviderPremium/useChartDataProviderPremiumProps.d.ts +7 -7
- package/ChartDataProviderPremium/useChartDataProviderPremiumProps.js +5 -18
- package/ChartsContainer/index.d.ts +1 -0
- package/ChartsContainer/index.js +16 -0
- package/ChartsContainerPremium/ChartsContainerPremium.d.ts +37 -0
- package/ChartsContainerPremium/ChartsContainerPremium.js +52 -0
- package/ChartsContainerPremium/index.d.ts +2 -0
- package/ChartsContainerPremium/index.js +17 -0
- package/ChartsContainerPremium/useChartsContainerPremiumProps.d.ts +9 -0
- package/ChartsContainerPremium/useChartsContainerPremiumProps.js +33 -0
- package/ChartsContainerPro/index.d.ts +1 -0
- package/ChartsContainerPro/index.js +16 -0
- package/ChartsDataProvider/index.d.ts +1 -0
- package/ChartsDataProvider/index.js +16 -0
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.d.ts +49 -0
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.js +153 -0
- package/ChartsDataProviderPremium/index.d.ts +2 -0
- package/ChartsDataProviderPremium/index.js +13 -0
- package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.ts +10 -0
- package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.js +25 -0
- package/ChartsDataProviderPro/index.d.ts +1 -0
- package/ChartsDataProviderPro/index.js +16 -0
- package/ChartsZoomSlider/index.d.ts +1 -0
- package/ChartsZoomSlider/index.js +16 -0
- package/context/useChartPremiumApiContext.d.ts +1 -1
- package/context/useChartPremiumApiContext.js +1 -1
- package/esm/BarChartPremium/BarChartPremium.js +3 -3
- package/esm/BarChartPremium/RangeBar/RangeBarPlot.js +2 -2
- package/esm/ChartContainerPremium/ChartContainerPremium.d.ts +17 -31
- package/esm/ChartContainerPremium/ChartContainerPremium.js +16 -42
- package/esm/ChartContainerPremium/useChartContainerPremiumProps.d.ts +10 -9
- package/esm/ChartContainerPremium/useChartContainerPremiumProps.js +10 -25
- package/esm/ChartDataProviderPremium/ChartDataProviderPremium.d.ts +18 -44
- package/esm/ChartDataProviderPremium/ChartDataProviderPremium.js +17 -143
- package/esm/ChartDataProviderPremium/useChartDataProviderPremiumProps.d.ts +7 -7
- package/esm/ChartDataProviderPremium/useChartDataProviderPremiumProps.js +6 -17
- package/esm/ChartsContainer/index.d.ts +1 -0
- package/esm/ChartsContainer/index.js +2 -0
- package/esm/ChartsContainerPremium/ChartsContainerPremium.d.ts +37 -0
- package/esm/ChartsContainerPremium/ChartsContainerPremium.js +46 -0
- package/esm/ChartsContainerPremium/index.d.ts +2 -0
- package/esm/ChartsContainerPremium/index.js +2 -0
- package/esm/ChartsContainerPremium/useChartsContainerPremiumProps.d.ts +9 -0
- package/esm/ChartsContainerPremium/useChartsContainerPremiumProps.js +27 -0
- package/esm/ChartsContainerPro/index.d.ts +1 -0
- package/esm/ChartsContainerPro/index.js +2 -0
- package/esm/ChartsDataProvider/index.d.ts +1 -0
- package/esm/ChartsDataProvider/index.js +2 -0
- package/esm/ChartsDataProviderPremium/ChartsDataProviderPremium.d.ts +49 -0
- package/esm/ChartsDataProviderPremium/ChartsDataProviderPremium.js +148 -0
- package/esm/ChartsDataProviderPremium/index.d.ts +2 -0
- package/esm/ChartsDataProviderPremium/index.js +2 -0
- package/esm/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.ts +10 -0
- package/esm/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.js +19 -0
- package/esm/ChartsDataProviderPro/index.d.ts +1 -0
- package/esm/ChartsDataProviderPro/index.js +2 -0
- package/esm/ChartsZoomSlider/index.d.ts +1 -0
- package/esm/ChartsZoomSlider/index.js +2 -0
- package/esm/context/useChartPremiumApiContext.d.ts +1 -1
- package/esm/context/useChartPremiumApiContext.js +1 -1
- package/esm/index.d.ts +7 -0
- package/esm/index.js +7 -1
- package/index.d.ts +7 -0
- package/index.js +69 -1
- package/package.json +3 -3
- /package/{ChartZoomSlider → ChartsZoomSlider}/internals/previews/RangeBarPreviewPlot.d.ts +0 -0
- /package/{ChartZoomSlider → ChartsZoomSlider}/internals/previews/RangeBarPreviewPlot.js +0 -0
- /package/esm/{ChartZoomSlider → ChartsZoomSlider}/internals/previews/RangeBarPreviewPlot.d.ts +0 -0
- /package/esm/{ChartZoomSlider → ChartsZoomSlider}/internals/previews/RangeBarPreviewPlot.js +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type ChartSeriesType, type ChartAnyPluginSignature, type ChartsProviderProps, type ChartSeriesConfig } from '@mui/x-charts/internals';
|
|
2
|
+
import { type ChartsSlotPropsPro, type ChartsSlotsPro } from '@mui/x-charts-pro/internals';
|
|
3
|
+
import { type ChartsDataProviderProProps } from '@mui/x-charts-pro/ChartsDataProviderPro';
|
|
4
|
+
import { type AllPluginSignatures } from "../internals/plugins/allPlugins.js";
|
|
5
|
+
export interface ChartsDataProviderPremiumSlots extends ChartsSlotsPro {}
|
|
6
|
+
export interface ChartsDataProviderPremiumSlotProps extends ChartsSlotPropsPro {}
|
|
7
|
+
export type ChartsDataProviderPremiumProps<TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>> = ChartsDataProviderProProps<TSeries, TSignatures> & ChartsProviderProps<TSeries, TSignatures>['pluginParams'] & {
|
|
8
|
+
/**
|
|
9
|
+
* Slots to customize charts' components.
|
|
10
|
+
*/
|
|
11
|
+
slots?: Partial<ChartsDataProviderPremiumSlots>;
|
|
12
|
+
/**
|
|
13
|
+
* The props for the slots.
|
|
14
|
+
*/
|
|
15
|
+
slotProps?: Partial<ChartsDataProviderPremiumSlotProps>;
|
|
16
|
+
};
|
|
17
|
+
export declare const defaultSeriesConfigPremium: ChartSeriesConfig<'bar' | 'rangeBar' | 'scatter' | 'line' | 'pie'>;
|
|
18
|
+
/**
|
|
19
|
+
* Orchestrates the data providers for the chart components and hooks.
|
|
20
|
+
*
|
|
21
|
+
* Use this component if you have custom HTML components that need to access the chart data.
|
|
22
|
+
*
|
|
23
|
+
* Demos:
|
|
24
|
+
*
|
|
25
|
+
* - [Composition](https://mui.com/x/api/charts/composition/)
|
|
26
|
+
*
|
|
27
|
+
* API:
|
|
28
|
+
*
|
|
29
|
+
* - [ChartsDataProviderPremium API](https://mui.com/x/api/charts/charts-data-provider-premium/)
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```jsx
|
|
33
|
+
* <ChartsDataProviderPremium
|
|
34
|
+
* series={[{ label: "Label", type: "bar", data: [10, 20] }]}
|
|
35
|
+
* xAxis={[{ data: ["A", "B"], scaleType: "band", id: "x-axis" }]}
|
|
36
|
+
* >
|
|
37
|
+
* <ChartsSurface>
|
|
38
|
+
* <BarPlot />
|
|
39
|
+
* <ChartsXAxis axisId="x-axis" />
|
|
40
|
+
* </ChartsSurface>
|
|
41
|
+
* {'Custom Legend Component'}
|
|
42
|
+
* </ChartsDataProviderPremium>
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
declare function ChartsDataProviderPremium<TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(props: ChartsDataProviderPremiumProps<TSeries, TSignatures>): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
declare namespace ChartsDataProviderPremium {
|
|
47
|
+
var propTypes: any;
|
|
48
|
+
}
|
|
49
|
+
export { ChartsDataProviderPremium };
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
|
+
import PropTypes from 'prop-types';
|
|
5
|
+
import { Watermark } from '@mui/x-license/Watermark';
|
|
6
|
+
import { ChartsProvider, ChartsSlotsProvider } from '@mui/x-charts/internals';
|
|
7
|
+
import { ChartsLocalizationProvider } from '@mui/x-charts/ChartsLocalizationProvider';
|
|
8
|
+
import { defaultSlotsMaterial } from '@mui/x-charts-pro/internals';
|
|
9
|
+
import { useLicenseVerifier } from '@mui/x-license/useLicenseVerifier';
|
|
10
|
+
import { defaultSeriesConfigPro } from '@mui/x-charts-pro/internals';
|
|
11
|
+
import { rangeBarSeriesConfig } from "../BarChartPremium/RangeBar/seriesConfig/index.js";
|
|
12
|
+
import { DEFAULT_PLUGINS } from "../internals/plugins/allPlugins.js";
|
|
13
|
+
import { useChartsDataProviderPremiumProps } from "./useChartsDataProviderPremiumProps.js";
|
|
14
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
+
const releaseInfo = "MTc3MzE4NzIwMDAwMA==";
|
|
16
|
+
const packageIdentifier = 'x-charts-premium';
|
|
17
|
+
export const defaultSeriesConfigPremium = _extends({}, defaultSeriesConfigPro, {
|
|
18
|
+
rangeBar: rangeBarSeriesConfig
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Orchestrates the data providers for the chart components and hooks.
|
|
23
|
+
*
|
|
24
|
+
* Use this component if you have custom HTML components that need to access the chart data.
|
|
25
|
+
*
|
|
26
|
+
* Demos:
|
|
27
|
+
*
|
|
28
|
+
* - [Composition](https://mui.com/x/api/charts/composition/)
|
|
29
|
+
*
|
|
30
|
+
* API:
|
|
31
|
+
*
|
|
32
|
+
* - [ChartsDataProviderPremium API](https://mui.com/x/api/charts/charts-data-provider-premium/)
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```jsx
|
|
36
|
+
* <ChartsDataProviderPremium
|
|
37
|
+
* series={[{ label: "Label", type: "bar", data: [10, 20] }]}
|
|
38
|
+
* xAxis={[{ data: ["A", "B"], scaleType: "band", id: "x-axis" }]}
|
|
39
|
+
* >
|
|
40
|
+
* <ChartsSurface>
|
|
41
|
+
* <BarPlot />
|
|
42
|
+
* <ChartsXAxis axisId="x-axis" />
|
|
43
|
+
* </ChartsSurface>
|
|
44
|
+
* {'Custom Legend Component'}
|
|
45
|
+
* </ChartsDataProviderPremium>
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
function ChartsDataProviderPremium(props) {
|
|
49
|
+
const {
|
|
50
|
+
children,
|
|
51
|
+
localeText,
|
|
52
|
+
chartProviderProps,
|
|
53
|
+
slots,
|
|
54
|
+
slotProps
|
|
55
|
+
} = useChartsDataProviderPremiumProps(_extends({}, props, {
|
|
56
|
+
seriesConfig: props.seriesConfig ?? defaultSeriesConfigPremium,
|
|
57
|
+
plugins: props.plugins ?? DEFAULT_PLUGINS
|
|
58
|
+
}));
|
|
59
|
+
useLicenseVerifier(packageIdentifier, releaseInfo);
|
|
60
|
+
return /*#__PURE__*/_jsxs(ChartsProvider, _extends({}, chartProviderProps, {
|
|
61
|
+
children: [/*#__PURE__*/_jsx(ChartsLocalizationProvider, {
|
|
62
|
+
localeText: localeText,
|
|
63
|
+
children: /*#__PURE__*/_jsx(ChartsSlotsProvider, {
|
|
64
|
+
slots: slots,
|
|
65
|
+
slotProps: slotProps,
|
|
66
|
+
defaultSlots: defaultSlotsMaterial,
|
|
67
|
+
children: children
|
|
68
|
+
})
|
|
69
|
+
}), /*#__PURE__*/_jsx(Watermark, {
|
|
70
|
+
packageName: packageIdentifier,
|
|
71
|
+
releaseInfo: releaseInfo
|
|
72
|
+
})]
|
|
73
|
+
}));
|
|
74
|
+
}
|
|
75
|
+
process.env.NODE_ENV !== "production" ? ChartsDataProviderPremium.propTypes = {
|
|
76
|
+
// ----------------------------- Warning --------------------------------
|
|
77
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
78
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
79
|
+
// ----------------------------------------------------------------------
|
|
80
|
+
apiRef: PropTypes.shape({
|
|
81
|
+
current: PropTypes.any
|
|
82
|
+
}),
|
|
83
|
+
/**
|
|
84
|
+
* Color palette used to colorize multiple series.
|
|
85
|
+
* @default rainbowSurgePalette
|
|
86
|
+
*/
|
|
87
|
+
colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]),
|
|
88
|
+
/**
|
|
89
|
+
* An array of objects that can be used to populate series and axes data using their `dataKey` property.
|
|
90
|
+
*/
|
|
91
|
+
dataset: PropTypes.arrayOf(PropTypes.object),
|
|
92
|
+
/**
|
|
93
|
+
* Options to enable features planned for the next major.
|
|
94
|
+
*/
|
|
95
|
+
experimentalFeatures: PropTypes.shape({
|
|
96
|
+
preferStrictDomainInLineCharts: PropTypes.bool
|
|
97
|
+
}),
|
|
98
|
+
/**
|
|
99
|
+
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
100
|
+
*/
|
|
101
|
+
height: PropTypes.number,
|
|
102
|
+
/**
|
|
103
|
+
* This prop is used to help implement the accessibility logic.
|
|
104
|
+
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
105
|
+
*/
|
|
106
|
+
id: PropTypes.string,
|
|
107
|
+
/**
|
|
108
|
+
* Localized text for chart components.
|
|
109
|
+
*/
|
|
110
|
+
localeText: PropTypes.object,
|
|
111
|
+
/**
|
|
112
|
+
* The margin between the SVG and the drawing area.
|
|
113
|
+
* It's used for leaving some space for extra information such as the x- and y-axis or legend.
|
|
114
|
+
*
|
|
115
|
+
* Accepts a `number` to be used on all sides or an object with the optional properties: `top`, `bottom`, `left`, and `right`.
|
|
116
|
+
*/
|
|
117
|
+
margin: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
118
|
+
bottom: PropTypes.number,
|
|
119
|
+
left: PropTypes.number,
|
|
120
|
+
right: PropTypes.number,
|
|
121
|
+
top: PropTypes.number
|
|
122
|
+
})]),
|
|
123
|
+
/**
|
|
124
|
+
* The array of series to display.
|
|
125
|
+
* Each type of series has its own specificity.
|
|
126
|
+
* Please refer to the appropriate docs page to learn more about it.
|
|
127
|
+
*/
|
|
128
|
+
series: PropTypes.arrayOf(PropTypes.object),
|
|
129
|
+
/**
|
|
130
|
+
* If `true`, animations are skipped.
|
|
131
|
+
* If unset or `false`, the animations respects the user's `prefers-reduced-motion` setting.
|
|
132
|
+
*/
|
|
133
|
+
skipAnimation: PropTypes.bool,
|
|
134
|
+
/**
|
|
135
|
+
* The props for the slots.
|
|
136
|
+
*/
|
|
137
|
+
slotProps: PropTypes.object,
|
|
138
|
+
/**
|
|
139
|
+
* Slots to customize charts' components.
|
|
140
|
+
*/
|
|
141
|
+
slots: PropTypes.object,
|
|
142
|
+
theme: PropTypes.oneOf(['dark', 'light']),
|
|
143
|
+
/**
|
|
144
|
+
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
145
|
+
*/
|
|
146
|
+
width: PropTypes.number
|
|
147
|
+
} : void 0;
|
|
148
|
+
export { ChartsDataProviderPremium };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ChartAnyPluginSignature, type ChartSeriesType } from '@mui/x-charts/internals';
|
|
2
|
+
import type { ChartsDataProviderPremiumProps } from "./ChartsDataProviderPremium.js";
|
|
3
|
+
import type { AllPluginSignatures } from "../internals/plugins/allPlugins.js";
|
|
4
|
+
export declare const useChartsDataProviderPremiumProps: <TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(props: ChartsDataProviderPremiumProps<TSeries, TSignatures>) => {
|
|
5
|
+
children: import("react").ReactNode;
|
|
6
|
+
localeText: Partial<import("@mui/x-charts/locales").ChartsLocaleText> | undefined;
|
|
7
|
+
chartProviderProps: import("@mui/x-charts/internals").ChartsProviderProps<TSeries, TSignatures>;
|
|
8
|
+
slots: Partial<import("@mui/x-charts").ChartsDataProviderSlots> | undefined;
|
|
9
|
+
slotProps: Partial<import("@mui/x-charts").ChartsDataProviderSlotProps> | undefined;
|
|
10
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { useChartsDataProviderProps } from '@mui/x-charts/internals';
|
|
4
|
+
export const useChartsDataProviderPremiumProps = props => {
|
|
5
|
+
const {
|
|
6
|
+
chartProviderProps,
|
|
7
|
+
localeText,
|
|
8
|
+
slots,
|
|
9
|
+
slotProps,
|
|
10
|
+
children
|
|
11
|
+
} = useChartsDataProviderProps(props);
|
|
12
|
+
return {
|
|
13
|
+
children,
|
|
14
|
+
localeText,
|
|
15
|
+
chartProviderProps,
|
|
16
|
+
slots,
|
|
17
|
+
slotProps
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts-pro/ChartsDataProviderPro';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@mui/x-charts-pro/ChartsZoomSlider';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ChartPremiumApi } from "./ChartPremiumApi.js";
|
|
2
2
|
/**
|
|
3
3
|
* The `useChartPremiumApiContext` hook provides access to the chart API.
|
|
4
|
-
* This is only available when the chart is rendered within a chart or a `
|
|
4
|
+
* This is only available when the chart is rendered within a chart or a `ChartsDataProviderPremium` component.
|
|
5
5
|
* If you want to access the chart API outside those components, you should use the `apiRef` prop instead.
|
|
6
6
|
* @example
|
|
7
7
|
* const apiRef = useChartPremiumApiContext<ChartPremiumApi<'bar'>>();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useChartApiContext as useChartApiContextCommunity } from '@mui/x-charts/context';
|
|
2
2
|
/**
|
|
3
3
|
* The `useChartPremiumApiContext` hook provides access to the chart API.
|
|
4
|
-
* This is only available when the chart is rendered within a chart or a `
|
|
4
|
+
* This is only available when the chart is rendered within a chart or a `ChartsDataProviderPremium` component.
|
|
5
5
|
* If you want to access the chart API outside those components, you should use the `apiRef` prop instead.
|
|
6
6
|
* @example
|
|
7
7
|
* const apiRef = useChartPremiumApiContext<ChartPremiumApi<'bar'>>();
|
package/esm/index.d.ts
CHANGED
|
@@ -19,11 +19,15 @@ export * from '@mui/x-charts/SparkLineChart';
|
|
|
19
19
|
export * from '@mui/x-charts/Gauge';
|
|
20
20
|
export * from '@mui/x-charts/RadarChart';
|
|
21
21
|
export * from '@mui/x-charts/ChartsSurface';
|
|
22
|
+
export * from '@mui/x-charts/ChartsDataProvider';
|
|
22
23
|
export * from '@mui/x-charts/ChartDataProvider';
|
|
23
24
|
export * from '@mui/x-charts/ChartsLabel';
|
|
24
25
|
export * from '@mui/x-charts-pro/Heatmap';
|
|
26
|
+
export { ChartsContainerPro } from '@mui/x-charts-pro/ChartsContainerPro';
|
|
27
|
+
export type { ChartsContainerProProps } from '@mui/x-charts-pro/ChartsContainerPro';
|
|
25
28
|
export { ChartContainerPro } from '@mui/x-charts-pro/ChartContainerPro';
|
|
26
29
|
export type { ChartContainerProProps } from '@mui/x-charts-pro/ChartContainerPro';
|
|
30
|
+
export * from '@mui/x-charts-pro/ChartsDataProviderPro';
|
|
27
31
|
export * from '@mui/x-charts-pro/ChartDataProviderPro';
|
|
28
32
|
export * from '@mui/x-charts-pro/ScatterChartPro';
|
|
29
33
|
export * from '@mui/x-charts-pro/BarChartPro';
|
|
@@ -31,6 +35,7 @@ export * from '@mui/x-charts-pro/LineChartPro';
|
|
|
31
35
|
export * from '@mui/x-charts-pro/PieChartPro';
|
|
32
36
|
export * from '@mui/x-charts-pro/FunnelChart';
|
|
33
37
|
export * from '@mui/x-charts-pro/RadarChartPro';
|
|
38
|
+
export * from '@mui/x-charts-pro/ChartsZoomSlider';
|
|
34
39
|
export * from '@mui/x-charts-pro/ChartZoomSlider';
|
|
35
40
|
export * from '@mui/x-charts-pro/ChartsToolbarPro';
|
|
36
41
|
export * from "./colorPalettes/index.js";
|
|
@@ -40,6 +45,8 @@ export * from "./context/index.js";
|
|
|
40
45
|
export * from "./models/index.js";
|
|
41
46
|
export * from "./plugins/index.js";
|
|
42
47
|
export * from "./ChartsRenderer/index.js";
|
|
48
|
+
export * from "./ChartsDataProviderPremium/index.js";
|
|
43
49
|
export * from "./ChartDataProviderPremium/index.js";
|
|
50
|
+
export * from "./ChartsContainerPremium/index.js";
|
|
44
51
|
export * from "./ChartContainerPremium/index.js";
|
|
45
52
|
export * from "./BarChartPremium/index.js";
|
package/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/x-charts-premium v8.27.
|
|
2
|
+
* @mui/x-charts-premium v8.27.5
|
|
3
3
|
*
|
|
4
4
|
* @license SEE LICENSE IN LICENSE
|
|
5
5
|
* This source code is licensed under the SEE LICENSE IN LICENSE license found in the
|
|
@@ -28,12 +28,15 @@ export * from '@mui/x-charts/SparkLineChart';
|
|
|
28
28
|
export * from '@mui/x-charts/Gauge';
|
|
29
29
|
export * from '@mui/x-charts/RadarChart';
|
|
30
30
|
export * from '@mui/x-charts/ChartsSurface';
|
|
31
|
+
export * from '@mui/x-charts/ChartsDataProvider';
|
|
31
32
|
export * from '@mui/x-charts/ChartDataProvider';
|
|
32
33
|
export * from '@mui/x-charts/ChartsLabel';
|
|
33
34
|
|
|
34
35
|
// Pro components
|
|
35
36
|
export * from '@mui/x-charts-pro/Heatmap';
|
|
37
|
+
export { ChartsContainerPro } from '@mui/x-charts-pro/ChartsContainerPro';
|
|
36
38
|
export { ChartContainerPro } from '@mui/x-charts-pro/ChartContainerPro';
|
|
39
|
+
export * from '@mui/x-charts-pro/ChartsDataProviderPro';
|
|
37
40
|
export * from '@mui/x-charts-pro/ChartDataProviderPro';
|
|
38
41
|
export * from '@mui/x-charts-pro/ScatterChartPro';
|
|
39
42
|
export * from '@mui/x-charts-pro/BarChartPro';
|
|
@@ -41,6 +44,7 @@ export * from '@mui/x-charts-pro/LineChartPro';
|
|
|
41
44
|
export * from '@mui/x-charts-pro/PieChartPro';
|
|
42
45
|
export * from '@mui/x-charts-pro/FunnelChart';
|
|
43
46
|
export * from '@mui/x-charts-pro/RadarChartPro';
|
|
47
|
+
export * from '@mui/x-charts-pro/ChartsZoomSlider';
|
|
44
48
|
export * from '@mui/x-charts-pro/ChartZoomSlider';
|
|
45
49
|
export * from '@mui/x-charts-pro/ChartsToolbarPro';
|
|
46
50
|
|
|
@@ -56,6 +60,8 @@ export * from "./plugins/index.js";
|
|
|
56
60
|
|
|
57
61
|
// Premium components
|
|
58
62
|
export * from "./ChartsRenderer/index.js";
|
|
63
|
+
export * from "./ChartsDataProviderPremium/index.js";
|
|
59
64
|
export * from "./ChartDataProviderPremium/index.js";
|
|
65
|
+
export * from "./ChartsContainerPremium/index.js";
|
|
60
66
|
export * from "./ChartContainerPremium/index.js";
|
|
61
67
|
export * from "./BarChartPremium/index.js";
|
package/index.d.ts
CHANGED
|
@@ -19,11 +19,15 @@ export * from '@mui/x-charts/SparkLineChart';
|
|
|
19
19
|
export * from '@mui/x-charts/Gauge';
|
|
20
20
|
export * from '@mui/x-charts/RadarChart';
|
|
21
21
|
export * from '@mui/x-charts/ChartsSurface';
|
|
22
|
+
export * from '@mui/x-charts/ChartsDataProvider';
|
|
22
23
|
export * from '@mui/x-charts/ChartDataProvider';
|
|
23
24
|
export * from '@mui/x-charts/ChartsLabel';
|
|
24
25
|
export * from '@mui/x-charts-pro/Heatmap';
|
|
26
|
+
export { ChartsContainerPro } from '@mui/x-charts-pro/ChartsContainerPro';
|
|
27
|
+
export type { ChartsContainerProProps } from '@mui/x-charts-pro/ChartsContainerPro';
|
|
25
28
|
export { ChartContainerPro } from '@mui/x-charts-pro/ChartContainerPro';
|
|
26
29
|
export type { ChartContainerProProps } from '@mui/x-charts-pro/ChartContainerPro';
|
|
30
|
+
export * from '@mui/x-charts-pro/ChartsDataProviderPro';
|
|
27
31
|
export * from '@mui/x-charts-pro/ChartDataProviderPro';
|
|
28
32
|
export * from '@mui/x-charts-pro/ScatterChartPro';
|
|
29
33
|
export * from '@mui/x-charts-pro/BarChartPro';
|
|
@@ -31,6 +35,7 @@ export * from '@mui/x-charts-pro/LineChartPro';
|
|
|
31
35
|
export * from '@mui/x-charts-pro/PieChartPro';
|
|
32
36
|
export * from '@mui/x-charts-pro/FunnelChart';
|
|
33
37
|
export * from '@mui/x-charts-pro/RadarChartPro';
|
|
38
|
+
export * from '@mui/x-charts-pro/ChartsZoomSlider';
|
|
34
39
|
export * from '@mui/x-charts-pro/ChartZoomSlider';
|
|
35
40
|
export * from '@mui/x-charts-pro/ChartsToolbarPro';
|
|
36
41
|
export * from "./colorPalettes/index.js";
|
|
@@ -40,6 +45,8 @@ export * from "./context/index.js";
|
|
|
40
45
|
export * from "./models/index.js";
|
|
41
46
|
export * from "./plugins/index.js";
|
|
42
47
|
export * from "./ChartsRenderer/index.js";
|
|
48
|
+
export * from "./ChartsDataProviderPremium/index.js";
|
|
43
49
|
export * from "./ChartDataProviderPremium/index.js";
|
|
50
|
+
export * from "./ChartsContainerPremium/index.js";
|
|
44
51
|
export * from "./ChartContainerPremium/index.js";
|
|
45
52
|
export * from "./BarChartPremium/index.js";
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/x-charts-premium v8.27.
|
|
2
|
+
* @mui/x-charts-premium v8.27.5
|
|
3
3
|
*
|
|
4
4
|
* @license SEE LICENSE IN LICENSE
|
|
5
5
|
* This source code is licensed under the SEE LICENSE IN LICENSE license found in the
|
|
@@ -11,6 +11,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
11
11
|
value: true
|
|
12
12
|
});
|
|
13
13
|
var _exportNames = {
|
|
14
|
+
ChartsContainerPro: true,
|
|
14
15
|
ChartContainerPro: true
|
|
15
16
|
};
|
|
16
17
|
Object.defineProperty(exports, "ChartContainerPro", {
|
|
@@ -19,6 +20,12 @@ Object.defineProperty(exports, "ChartContainerPro", {
|
|
|
19
20
|
return _ChartContainerPro.ChartContainerPro;
|
|
20
21
|
}
|
|
21
22
|
});
|
|
23
|
+
Object.defineProperty(exports, "ChartsContainerPro", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () {
|
|
26
|
+
return _ChartsContainerPro.ChartsContainerPro;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
22
29
|
require("@mui/x-charts-pro/typeOverloads");
|
|
23
30
|
require("./typeOverloads/modules");
|
|
24
31
|
var _ChartsClipPath = require("@mui/x-charts/ChartsClipPath");
|
|
@@ -249,6 +256,18 @@ Object.keys(_ChartsSurface).forEach(function (key) {
|
|
|
249
256
|
}
|
|
250
257
|
});
|
|
251
258
|
});
|
|
259
|
+
var _ChartsDataProvider = require("@mui/x-charts/ChartsDataProvider");
|
|
260
|
+
Object.keys(_ChartsDataProvider).forEach(function (key) {
|
|
261
|
+
if (key === "default" || key === "__esModule") return;
|
|
262
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
263
|
+
if (key in exports && exports[key] === _ChartsDataProvider[key]) return;
|
|
264
|
+
Object.defineProperty(exports, key, {
|
|
265
|
+
enumerable: true,
|
|
266
|
+
get: function () {
|
|
267
|
+
return _ChartsDataProvider[key];
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
});
|
|
252
271
|
var _ChartDataProvider = require("@mui/x-charts/ChartDataProvider");
|
|
253
272
|
Object.keys(_ChartDataProvider).forEach(function (key) {
|
|
254
273
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -285,7 +304,20 @@ Object.keys(_Heatmap).forEach(function (key) {
|
|
|
285
304
|
}
|
|
286
305
|
});
|
|
287
306
|
});
|
|
307
|
+
var _ChartsContainerPro = require("@mui/x-charts-pro/ChartsContainerPro");
|
|
288
308
|
var _ChartContainerPro = require("@mui/x-charts-pro/ChartContainerPro");
|
|
309
|
+
var _ChartsDataProviderPro = require("@mui/x-charts-pro/ChartsDataProviderPro");
|
|
310
|
+
Object.keys(_ChartsDataProviderPro).forEach(function (key) {
|
|
311
|
+
if (key === "default" || key === "__esModule") return;
|
|
312
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
313
|
+
if (key in exports && exports[key] === _ChartsDataProviderPro[key]) return;
|
|
314
|
+
Object.defineProperty(exports, key, {
|
|
315
|
+
enumerable: true,
|
|
316
|
+
get: function () {
|
|
317
|
+
return _ChartsDataProviderPro[key];
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
});
|
|
289
321
|
var _ChartDataProviderPro = require("@mui/x-charts-pro/ChartDataProviderPro");
|
|
290
322
|
Object.keys(_ChartDataProviderPro).forEach(function (key) {
|
|
291
323
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -370,6 +402,18 @@ Object.keys(_RadarChartPro).forEach(function (key) {
|
|
|
370
402
|
}
|
|
371
403
|
});
|
|
372
404
|
});
|
|
405
|
+
var _ChartsZoomSlider = require("@mui/x-charts-pro/ChartsZoomSlider");
|
|
406
|
+
Object.keys(_ChartsZoomSlider).forEach(function (key) {
|
|
407
|
+
if (key === "default" || key === "__esModule") return;
|
|
408
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
409
|
+
if (key in exports && exports[key] === _ChartsZoomSlider[key]) return;
|
|
410
|
+
Object.defineProperty(exports, key, {
|
|
411
|
+
enumerable: true,
|
|
412
|
+
get: function () {
|
|
413
|
+
return _ChartsZoomSlider[key];
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
});
|
|
373
417
|
var _ChartZoomSlider = require("@mui/x-charts-pro/ChartZoomSlider");
|
|
374
418
|
Object.keys(_ChartZoomSlider).forEach(function (key) {
|
|
375
419
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -478,6 +522,18 @@ Object.keys(_ChartsRenderer).forEach(function (key) {
|
|
|
478
522
|
}
|
|
479
523
|
});
|
|
480
524
|
});
|
|
525
|
+
var _ChartsDataProviderPremium = require("./ChartsDataProviderPremium");
|
|
526
|
+
Object.keys(_ChartsDataProviderPremium).forEach(function (key) {
|
|
527
|
+
if (key === "default" || key === "__esModule") return;
|
|
528
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
529
|
+
if (key in exports && exports[key] === _ChartsDataProviderPremium[key]) return;
|
|
530
|
+
Object.defineProperty(exports, key, {
|
|
531
|
+
enumerable: true,
|
|
532
|
+
get: function () {
|
|
533
|
+
return _ChartsDataProviderPremium[key];
|
|
534
|
+
}
|
|
535
|
+
});
|
|
536
|
+
});
|
|
481
537
|
var _ChartDataProviderPremium = require("./ChartDataProviderPremium");
|
|
482
538
|
Object.keys(_ChartDataProviderPremium).forEach(function (key) {
|
|
483
539
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -490,6 +546,18 @@ Object.keys(_ChartDataProviderPremium).forEach(function (key) {
|
|
|
490
546
|
}
|
|
491
547
|
});
|
|
492
548
|
});
|
|
549
|
+
var _ChartsContainerPremium = require("./ChartsContainerPremium");
|
|
550
|
+
Object.keys(_ChartsContainerPremium).forEach(function (key) {
|
|
551
|
+
if (key === "default" || key === "__esModule") return;
|
|
552
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
553
|
+
if (key in exports && exports[key] === _ChartsContainerPremium[key]) return;
|
|
554
|
+
Object.defineProperty(exports, key, {
|
|
555
|
+
enumerable: true,
|
|
556
|
+
get: function () {
|
|
557
|
+
return _ChartsContainerPremium[key];
|
|
558
|
+
}
|
|
559
|
+
});
|
|
560
|
+
});
|
|
493
561
|
var _ChartContainerPremium = require("./ChartContainerPremium");
|
|
494
562
|
Object.keys(_ChartContainerPremium).forEach(function (key) {
|
|
495
563
|
if (key === "default" || key === "__esModule") return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts-premium",
|
|
3
|
-
"version": "8.27.
|
|
3
|
+
"version": "8.27.5",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Premium plan edition of the MUI X Charts components.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"@mui/utils": "^7.3.5",
|
|
32
32
|
"clsx": "^2.1.1",
|
|
33
33
|
"prop-types": "^15.8.1",
|
|
34
|
-
"@mui/x-charts": "8.27.
|
|
34
|
+
"@mui/x-charts-pro": "8.27.5",
|
|
35
35
|
"@mui/x-charts-vendor": "8.26.0",
|
|
36
|
-
"@mui/x-charts
|
|
36
|
+
"@mui/x-charts": "8.27.5",
|
|
37
37
|
"@mui/x-internals": "8.26.0",
|
|
38
38
|
"@mui/x-license": "8.26.0"
|
|
39
39
|
},
|
|
File without changes
|
|
File without changes
|
/package/esm/{ChartZoomSlider → ChartsZoomSlider}/internals/previews/RangeBarPreviewPlot.d.ts
RENAMED
|
File without changes
|
|
File without changes
|