@redsift/charts 11.9.3 → 11.9.4-muiv5

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.
@@ -2,15 +2,15 @@ import { _ as _objectWithoutProperties, a as _extends, b as _objectSpread2 } fro
2
2
  import React__default, { forwardRef, useRef, createContext, useContext, useEffect, useMemo } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import { useTheme, useMessageFormatter, Flexbox, Text, Number as Number$1, isComponent, RedsiftColorGreenD1, RedsiftColorRedD1, RedsiftColorNeutralBlack, useId } from '@redsift/design-system';
5
+ import { L as LegendVariant, T as TooltipVariant } from './legend2.js';
6
+ import { C as ChartSize, g as getSortingMethod, i as isValidDate, u as useColor, m as mergeLegends, a as ColorTheme } from './theme.js';
5
7
  import { scaleLinear, sum, scaleBand, scaleOrdinal, extent, scaleUtc, scalePoint, utcParse, scaleLog } from 'd3';
6
8
  import styled, { css } from 'styled-components';
7
9
  import { C as ChartContainer, a as ChartContainerTitle, b as ChartContainerDescription } from './ChartContainer2.js';
8
- import { C as ChartSize, g as getSortingMethod, i as isValidDate, u as useColor, m as mergeLegends, a as ColorTheme } from './theme.js';
9
10
  import { A as Axis, a as AxisVariant, g as getAxisType } from './Axis2.js';
10
11
  import { u as useFormatCategoricalData } from './useFormatCategoricalData.js';
11
12
  import { a as BarOrientation, B as Bar, b as BarDirection } from './Bar2.js';
12
13
  import { L as Legend } from './Legend3.js';
13
- import { L as LegendVariant, T as TooltipVariant } from './legend2.js';
14
14
  import { L as LegendItem } from './LegendItem2.js';
15
15
 
16
16
  /**
@@ -4,8 +4,8 @@ import classNames from 'classnames';
4
4
  import { sum } from 'd3';
5
5
  import styled from 'styled-components';
6
6
  import { baseContainer } from '@redsift/design-system';
7
- import { L as LegendItem } from './LegendItem2.js';
8
7
  import { L as LegendVariant } from './legend2.js';
8
+ import { L as LegendItem } from './LegendItem2.js';
9
9
 
10
10
  /**
11
11
  * Component style.
@@ -2,15 +2,15 @@ import { _ as _objectWithoutProperties, a as _extends, b as _objectSpread2 } fro
2
2
  import React__default, { forwardRef, useRef, useEffect } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import { useTheme, useMessageFormatter, Flexbox, useId } from '@redsift/design-system';
5
+ import { L as LegendVariant, T as TooltipVariant } from './legend2.js';
6
+ import { C as ChartSize, g as getSortingMethod, i as isValidDate, u as useColor, m as mergeLegends, a as ColorTheme } from './theme.js';
5
7
  import styled from 'styled-components';
6
8
  import { C as ChartContainer } from './ChartContainer2.js';
7
9
  import { scaleLinear, extent, scaleTime, scalePoint, line } from 'd3';
8
- import { C as ChartSize, g as getSortingMethod, i as isValidDate, u as useColor, m as mergeLegends, a as ColorTheme } from './theme.js';
9
10
  import { A as Axis, a as AxisVariant } from './Axis2.js';
10
11
  import { L as Line } from './Line2.js';
11
12
  import { D as Dot, a as DotVariant } from './Dot2.js';
12
13
  import { L as Legend } from './Legend3.js';
13
- import { L as LegendVariant, T as TooltipVariant } from './legend2.js';
14
14
 
15
15
  /**
16
16
  * Component's labels variant.
@@ -2,13 +2,13 @@ import { _ as _objectWithoutProperties, a as _extends, b as _objectSpread2 } fro
2
2
  import React__default, { forwardRef, useRef, useEffect } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import { Theme, useTheme, useMessageFormatter, useId } from '@redsift/design-system';
5
+ import { L as LegendVariant, T as TooltipVariant } from './legend2.js';
6
+ import { C as ChartSize, m as mergeLegends, g as getSortingMethod, a as ColorTheme } from './theme.js';
5
7
  import styled, { css } from 'styled-components';
6
8
  import { C as ChartContainer } from './ChartContainer2.js';
7
9
  import { arc, pie, sum } from 'd3';
8
10
  import { e as empty } from './scheme.js';
9
- import { C as ChartSize, m as mergeLegends, g as getSortingMethod, a as ColorTheme } from './theme.js';
10
11
  import { A as Arcs } from './Arcs2.js';
11
- import { L as LegendVariant, T as TooltipVariant } from './legend2.js';
12
12
  import { u as useFormatCategoricalData } from './useFormatCategoricalData.js';
13
13
  import { L as Legend } from './Legend3.js';
14
14
 
@@ -2,15 +2,15 @@ import { _ as _objectWithoutProperties, a as _extends, b as _objectSpread2 } fro
2
2
  import React__default, { useRef, useEffect, useState, forwardRef } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import { useTheme, useMessageFormatter, Flexbox, Button, Text, useId } from '@redsift/design-system';
5
+ import { L as LegendVariant, T as TooltipVariant } from './legend2.js';
6
+ import { C as ChartSize, g as getSortingMethod, u as useColor, m as mergeLegends, a as ColorTheme } from './theme.js';
5
7
  import styled from 'styled-components';
6
8
  import { C as ChartContainer } from './ChartContainer2.js';
7
9
  import { brush, select, zoom, interpolateRound, scaleLinear, min, extent, descending, scaleSqrt, max } from 'd3';
8
- import { C as ChartSize, g as getSortingMethod, u as useColor, m as mergeLegends, a as ColorTheme } from './theme.js';
9
10
  import { A as Axis, a as AxisVariant } from './Axis2.js';
10
11
  import { Popover } from '@redsift/popovers';
11
12
  import { D as Dot } from './Dot2.js';
12
13
  import { L as Legend } from './Legend3.js';
13
- import { L as LegendVariant, T as TooltipVariant } from './legend2.js';
14
14
 
15
15
  const getRoundedIntermediaryPoint = (selection, scaleX, scaleY) => {
16
16
  if (!selection) {
package/index.js CHANGED
@@ -1,8 +1,8 @@
1
- export { e as empty, g as getColorScale, m as monochrome, s as scheme, a as successDangerScheme } from './_internal/scheme.js';
1
+ export { a as LabelVariant, L as LegendVariant, T as TooltipVariant } from './_internal/legend2.js';
2
2
  export { C as ChartSize, a as ColorTheme, g as getSortingMethod, i as isValidDate, m as mergeLegends, u as useColor } from './_internal/theme.js';
3
+ export { e as empty, g as getColorScale, m as monochrome, s as scheme, a as successDangerScheme } from './_internal/scheme.js';
3
4
  export { S as ScatterPlot, c as ScatterPlotLegendVariant, b as ScatterPlotVariant, d as StyledScatterPlot, e as StyledScatterPlotEmptyText, u as useBrush, a as useZoom } from './_internal/ScatterPlot2.js';
4
5
  export { u as useFormatCategoricalData } from './_internal/useFormatCategoricalData.js';
5
- export { a as LabelVariant, L as LegendVariant, T as TooltipVariant } from './_internal/legend2.js';
6
6
  export { A as Arc, S as StyledArc } from './_internal/Arc2.js';
7
7
  export { A as Arcs, S as StyledArcs } from './_internal/Arcs2.js';
8
8
  export { A as Axis, b as AxisPosition, a as AxisVariant, S as StyledAxis, g as getAxisType } from './_internal/Axis2.js';
package/package.json CHANGED
@@ -30,7 +30,7 @@
30
30
  "test": "yarn test:unit && yarn test:storybook"
31
31
  },
32
32
  "types": "types.d.ts",
33
- "version": "11.9.3",
33
+ "version": "11.9.4-muiv5",
34
34
  "dependencies": {
35
35
  "@emotion/react": "^11.10.4",
36
36
  "@emotion/styled": "^11.10.4",
@@ -88,11 +88,11 @@
88
88
  "ts-jest": "^28.0.3"
89
89
  },
90
90
  "peerDependencies": {
91
- "@redsift/design-system": "^11.9.3-0",
92
- "@redsift/popovers": "^11.9.3-0",
91
+ "@redsift/design-system": "^11.9.4-0",
92
+ "@redsift/popovers": "^11.9.4-0",
93
93
  "react": ">=17",
94
94
  "react-dom": ">=17",
95
95
  "styled-components": "^5.3.5"
96
96
  },
97
- "gitHead": "4a9ce8653ac47440c311cdf45b01b1492753317b"
97
+ "gitHead": "ff23502c427ecd021025efcc9447231000f151ab"
98
98
  }