@redsift/charts 11.6.0-muiv5-alpha.13 → 11.6.0-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, 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, 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) {
@@ -314,11 +314,8 @@ var intlMessages = {
314
314
  'fr-FR': frFR
315
315
  };
316
316
 
317
- const mdiChevronDown = 'M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z';
318
-
319
- const mdiChevronRight = 'M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z';
320
-
321
- const mdiMouse = 'M11,1.07C7.05,1.56 4,4.92 4,9H11M4,15A8,8 0 0,0 12,23A8,8 0 0,0 20,15V11H4M13,1.07V9H20C20,4.92 16.94,1.56 13,1.07Z';
317
+ // Material Design Icons v7.2.96
318
+ const mdiChevronDown='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z';const mdiChevronRight='M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z';const mdiMouse='M11,1.07C7.05,1.56 4,4.92 4,9H11M4,15A8,8 0 0,0 12,23A8,8 0 0,0 20,15V11H4M13,1.07V9H20C20,4.92 16.94,1.56 13,1.07Z';
322
319
 
323
320
  const _excluded$1 = ["isBrushable", "className", "data", "dotRole", "disableAnimations", "getDotAnchorProps", "hideControlKeyPanel", "id", "isDotSelected", "labelDecorator", "legendDecorator", "legendVariant", "legendProps", "margins", "onBrush", "onBrushEnd", "onDotClick", "size", "sortingMethod", "colorTheme", "tooltipDecorator", "tooltipVariant", "xAxisVariant", "xAxisPlacement", "xAxisTickFormat", "xAxisTickPadding", "xAxisTickRotation", "xAxisTickSize", "xAxisTickValues", "yAxisVariant", "yAxisPlacement", "yAxisTickFormat", "yAxisTickPadding", "yAxisTickRotation", "yAxisTickSize", "yAxisTickValues", "variant"],
324
321
  _excluded2 = ["extraLegendItems"];