victory-group 37.3.0 → 37.3.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # victory-group
2
2
 
3
+ ## 37.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Remove duplicate types from interfaces ([#2940](https://github.com/FormidableLabs/victory/pull/2940))
8
+
3
9
  ## 37.3.0
4
10
 
5
11
  ## 37.2.0
@@ -1,16 +1,11 @@
1
1
  import React from "react";
2
- import { CategoryPropType, ColorScalePropType, DomainPaddingPropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps, VictoryStyleInterface, VictoryComponentConfiguration } from "victory-core";
2
+ import { EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps, VictoryStyleInterface, VictoryComponentConfiguration } from "victory-core";
3
3
  export declare type VictoryGroupTTargetType = "data" | "labels" | "parent";
4
4
  export interface VictoryGroupProps extends VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps {
5
- categories?: CategoryPropType;
6
5
  children?: React.ReactNode;
7
6
  color?: string;
8
- colorScale?: ColorScalePropType;
9
- domain?: DomainPropType;
10
- domainPadding?: DomainPaddingPropType;
11
7
  events?: EventPropTypeInterface<VictoryGroupTTargetType, StringOrNumberOrCallback>[];
12
8
  eventKey?: StringOrNumberOrCallback;
13
- horizontal?: boolean;
14
9
  offset?: number;
15
10
  style?: VictoryStyleInterface;
16
11
  displayName?: string;
@@ -1,16 +1,11 @@
1
1
  import React from "react";
2
- import { CategoryPropType, ColorScalePropType, DomainPaddingPropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps, VictoryStyleInterface, VictoryComponentConfiguration } from "victory-core";
2
+ import { EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps, VictoryStyleInterface, VictoryComponentConfiguration } from "victory-core";
3
3
  export declare type VictoryGroupTTargetType = "data" | "labels" | "parent";
4
4
  export interface VictoryGroupProps extends VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps {
5
- categories?: CategoryPropType;
6
5
  children?: React.ReactNode;
7
6
  color?: string;
8
- colorScale?: ColorScalePropType;
9
- domain?: DomainPropType;
10
- domainPadding?: DomainPaddingPropType;
11
7
  events?: EventPropTypeInterface<VictoryGroupTTargetType, StringOrNumberOrCallback>[];
12
8
  eventKey?: StringOrNumberOrCallback;
13
- horizontal?: boolean;
14
9
  offset?: number;
15
10
  style?: VictoryStyleInterface;
16
11
  displayName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-group",
3
- "version": "37.3.0",
3
+ "version": "37.3.1",
4
4
  "description": "Group Layout Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -22,8 +22,8 @@
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
24
  "react-fast-compare": "^3.2.0",
25
- "victory-core": "37.3.0",
26
- "victory-shared-events": "37.3.0"
25
+ "victory-core": "37.3.1",
26
+ "victory-shared-events": "37.3.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "victory-bar": "*"
@@ -35,18 +35,13 @@ export interface VictoryGroupProps
35
35
  extends VictoryCommonProps,
36
36
  VictoryDatableProps,
37
37
  VictoryMultiLabelableProps {
38
- categories?: CategoryPropType;
39
38
  children?: React.ReactNode;
40
39
  color?: string;
41
- colorScale?: ColorScalePropType;
42
- domain?: DomainPropType;
43
- domainPadding?: DomainPaddingPropType;
44
40
  events?: EventPropTypeInterface<
45
41
  VictoryGroupTTargetType,
46
42
  StringOrNumberOrCallback
47
43
  >[];
48
44
  eventKey?: StringOrNumberOrCallback;
49
- horizontal?: boolean;
50
45
  offset?: number;
51
46
  style?: VictoryStyleInterface;
52
47
  displayName?: string;