@react-magma/charts 16.0.0-v6-next.2 → 16.0.0-v6-next.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-magma/charts",
3
- "version": "16.0.0-v6-next.2",
3
+ "version": "16.0.0-v6-next.4",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -47,8 +47,8 @@
47
47
  "identity-obj-proxy": "^3.0.0",
48
48
  "react": "^17.0.2",
49
49
  "react-dom": "^17.0.2",
50
- "react-magma-dom": "^6.1.0-v6-next.2",
51
- "react-magma-icons": "^3.3.0",
50
+ "react-magma-dom": "^6.1.0-v6-next.16",
51
+ "react-magma-icons": "^3.3.1",
52
52
  "rollup": "^4.52.4",
53
53
  "rollup-plugin-postcss": "^4.0.2"
54
54
  },
@@ -58,7 +58,7 @@
58
58
  "react": "^17.0.2",
59
59
  "react-dom": "^17.0.2",
60
60
  "react-magma-dom": "^6.1.0-v6-next.2",
61
- "react-magma-icons": "^3.3.0"
61
+ "react-magma-icons": "^3.3.1"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=22.14.0",
@@ -25,7 +25,7 @@ global.ResizeObserver = jest.fn().mockImplementation(() => ({
25
25
  // Multiple observers may be created per component; we collect all of them and
26
26
  // call each one so that no observer is silently skipped.
27
27
  let mutationObserverCallbacks = [];
28
- const mutationObserverCallback = mutations =>
28
+ const mutationObserverCallback = (mutations = []) =>
29
29
  mutationObserverCallbacks.forEach(cb => cb(mutations));
30
30
  global.MutationObserver = jest.fn().mockImplementation(callback => {
31
31
  mutationObserverCallbacks.push(callback);
@@ -36,10 +36,10 @@ import {
36
36
  VisuallyHidden,
37
37
  } from 'react-magma-dom';
38
38
  import {
39
- FullscreenExitIcon,
40
- FullscreenIcon,
41
- MoreVertIcon,
42
- TableIcon,
39
+ FullscreenExitOutlinedIcon,
40
+ FullscreenOutlinedIcon,
41
+ MoreVertOutlinedIcon,
42
+ TableOutlinedIcon,
43
43
  } from 'react-magma-icons';
44
44
 
45
45
  import { useCarbonModalFocusManagement } from '../../hooks/useCarbonModalFocusManagement';
@@ -1060,7 +1060,7 @@ function CarbonChartToolbar({
1060
1060
  {showTable && (
1061
1061
  <ChartTableButton
1062
1062
  ariaLabel={resolvedTitle}
1063
- icon={<TableIcon size={20} />}
1063
+ icon={<TableOutlinedIcon size={20} />}
1064
1064
  isInverse={isInverse}
1065
1065
  isTableOpen={isTableOpen}
1066
1066
  onClick={onOpenTable}
@@ -1069,15 +1069,15 @@ function CarbonChartToolbar({
1069
1069
  {showFullscreen && (
1070
1070
  <ChartFullscreenButton
1071
1071
  ariaLabel={`${isFullscreen ? 'Exit' : 'View'} ${resolvedTitle} full screen`}
1072
- icon={<FullscreenIcon size={20} />}
1073
- exitIcon={<FullscreenExitIcon size={20} />}
1072
+ icon={<FullscreenOutlinedIcon size={20} />}
1073
+ exitIcon={<FullscreenExitOutlinedIcon size={20} />}
1074
1074
  isInverse={isInverse}
1075
1075
  isFullscreen={isFullscreen}
1076
1076
  onClick={onToggleFullscreen}
1077
1077
  />
1078
1078
  )}
1079
1079
  <ChartMoreOptionsButton
1080
- icon={<MoreVertIcon size={20} />}
1080
+ icon={<MoreVertOutlinedIcon size={20} />}
1081
1081
  isInverse={isInverse}
1082
1082
  >
1083
1083
  {moreOptionsContent}