@react-magma/charts 17.0.0-next.1 → 17.0.0-next.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/dist/charts.js +3 -3
- package/dist/charts.js.map +1 -1
- package/dist/charts.modern.module.js +4 -4
- package/dist/charts.modern.module.js.map +1 -1
- package/dist/charts.umd.js +459 -276
- package/dist/charts.umd.js.map +1 -1
- package/package.json +4 -4
- package/src/components/CarbonChart/CarbonChart.test.js +1 -1
- package/src/components/CarbonChart/CarbonChart.tsx +8 -8
package/dist/charts.js
CHANGED
|
@@ -1450,9 +1450,9 @@ function CarbonChartToolbar(_a) {
|
|
|
1450
1450
|
React__namespace.createElement(ChartTitle, { as: "h".concat((_b = config.titleLevel) !== null && _b !== void 0 ? _b : 2), isInverse: isInverse, theme: theme }, resolvedTitle),
|
|
1451
1451
|
config.titleSuffix ? (React__namespace.createElement(TitleSlot, null, config.titleSuffix)) : null),
|
|
1452
1452
|
React__namespace.createElement(ToolbarActions, { theme: theme },
|
|
1453
|
-
showTable && (React__namespace.createElement(ChartTableButton, { ariaLabel: resolvedTitle, icon: React__namespace.createElement(reactMagmaIcons.
|
|
1454
|
-
showFullscreen && (React__namespace.createElement(ChartFullscreenButton, { ariaLabel: "".concat(isFullscreen ? 'Exit' : 'View', " ").concat(resolvedTitle, " full screen"), icon: React__namespace.createElement(reactMagmaIcons.
|
|
1455
|
-
React__namespace.createElement(ChartMoreOptionsButton, { icon: React__namespace.createElement(reactMagmaIcons.
|
|
1453
|
+
showTable && (React__namespace.createElement(ChartTableButton, { ariaLabel: resolvedTitle, icon: React__namespace.createElement(reactMagmaIcons.TableOutlinedIcon, { size: 20 }), isInverse: isInverse, isTableOpen: isTableOpen, onClick: onOpenTable })),
|
|
1454
|
+
showFullscreen && (React__namespace.createElement(ChartFullscreenButton, { ariaLabel: "".concat(isFullscreen ? 'Exit' : 'View', " ").concat(resolvedTitle, " full screen"), icon: React__namespace.createElement(reactMagmaIcons.FullscreenOutlinedIcon, { size: 20 }), exitIcon: React__namespace.createElement(reactMagmaIcons.FullscreenExitOutlinedIcon, { size: 20 }), isInverse: isInverse, isFullscreen: isFullscreen, onClick: onToggleFullscreen })),
|
|
1455
|
+
React__namespace.createElement(ChartMoreOptionsButton, { icon: React__namespace.createElement(reactMagmaIcons.MoreVertOutlinedIcon, { size: 20 }), isInverse: isInverse }, moreOptionsContent))));
|
|
1456
1456
|
}
|
|
1457
1457
|
var CarbonChart = React__namespace.forwardRef(function (props, ref) {
|
|
1458
1458
|
var testId = props.testId, isInverseProp = props.isInverse, type = props.type, dataSet = props.dataSet, options = props.options, additionalContent = props.additionalContent, ariaLabel = props.ariaLabel, chartToolbar = props.chartToolbar, rest = __rest(props, ["testId", "isInverse", "type", "dataSet", "options", "additionalContent", "ariaLabel", "chartToolbar"]);
|