@react-magma/charts 14.0.1-rc.0 → 14.1.0

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.
@@ -8,6 +8,7 @@ export interface ChartToolbarI18n {
8
8
  downloadAsJpg: string;
9
9
  downloadAsPng: string;
10
10
  exitFullScreen: string;
11
+ legendInstructions: string;
11
12
  makeFullScreen: string;
12
13
  moreOptionsAriaLabel: string;
13
14
  showAsTableTooltip: string;
@@ -20,6 +21,7 @@ const defaults: ChartToolbarI18n = {
20
21
  downloadAsJpg: 'Download as JPG',
21
22
  downloadAsPng: 'Download as PNG',
22
23
  exitFullScreen: 'Exit full screen',
24
+ legendInstructions: 'Checking these checkboxes will update the chart.',
23
25
  makeFullScreen: 'Make full screen',
24
26
  moreOptionsAriaLabel: 'More options',
25
27
  showAsTableTooltip: 'Show as table',
@@ -44,6 +46,8 @@ export function useChartToolbarI18n(): ChartToolbarI18n {
44
46
  downloadAsJpg: toolbar.downloadAsJpg ?? defaults.downloadAsJpg,
45
47
  downloadAsPng: toolbar.downloadAsPng ?? defaults.downloadAsPng,
46
48
  exitFullScreen: toolbar.exitFullScreen ?? defaults.exitFullScreen,
49
+ legendInstructions:
50
+ toolbar.legendInstructions ?? defaults.legendInstructions,
47
51
  makeFullScreen: toolbar.makeFullScreen ?? defaults.makeFullScreen,
48
52
  moreOptionsAriaLabel:
49
53
  toolbar.moreOptionsAriaLabel ?? defaults.moreOptionsAriaLabel,