@react-magma/charts 8.0.0-next.5 → 8.0.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.
@@ -20,7 +20,7 @@ import {
20
20
  Tooltip,
21
21
  TypographyVisualStyle,
22
22
  useDescendants,
23
- styled
23
+ styled,
24
24
  } from 'react-magma-dom';
25
25
 
26
26
  interface BaseChartProps {
@@ -119,7 +119,11 @@ function BaseChart<T>(props: ChartProps<T>, ref: React.Ref<HTMLDivElement>) {
119
119
  setIsKeyboardInstructionsOpen(prevOpen => !prevOpen);
120
120
  }
121
121
 
122
- function handleKeyboardInstructionsButtonKeydown(event: { preventDefault?: any; key?: any; shiftKey?: any; }) {
122
+ function handleKeyboardInstructionsButtonKeydown(event: {
123
+ preventDefault?: any;
124
+ key?: any;
125
+ shiftKey?: any;
126
+ }) {
123
127
  const { key, shiftKey } = event;
124
128
 
125
129
  switch (key) {
@@ -9,7 +9,6 @@ import {
9
9
 
10
10
  import styled from '@emotion/styled';
11
11
 
12
-
13
12
  const StyledGraphTooltip = styled(StyledTooltip)`
14
13
  background: ${(props: any) => props.theme.colors.neutral100};
15
14
  border: 1px solid ${(props: any) => props.theme.colors.neutral300};