victory-core 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-core
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
  ### Minor Changes
@@ -1,6 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { VictoryCommonThemeProps, VictoryDatableProps } from "../victory-util/common-props";
3
3
  import { NumberOrCallback, OrientationOrCallback, PaddingOrCallback, StringOrNumberOrCallback } from "../types/callbacks";
4
+ import { DomainPropType } from "../types/prop-types";
4
5
  export declare type BlockProps = {
5
6
  top?: number;
6
7
  bottom?: number;
@@ -39,7 +40,7 @@ export interface VictoryAxisCommonProps {
39
40
  axisLabelComponent?: React.ReactElement;
40
41
  axisValue?: number | string | object | Date;
41
42
  dependentAxis?: boolean;
42
- disableInlineStyles?: boolean;
43
+ domain?: DomainPropType;
43
44
  gridComponent?: React.ReactElement;
44
45
  invertAxis?: boolean;
45
46
  style?: {
@@ -1,6 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { VictoryCommonThemeProps, VictoryDatableProps } from "../victory-util/common-props";
3
3
  import { NumberOrCallback, OrientationOrCallback, PaddingOrCallback, StringOrNumberOrCallback } from "../types/callbacks";
4
+ import { DomainPropType } from "../types/prop-types";
4
5
  export declare type BlockProps = {
5
6
  top?: number;
6
7
  bottom?: number;
@@ -39,7 +40,7 @@ export interface VictoryAxisCommonProps {
39
40
  axisLabelComponent?: React.ReactElement;
40
41
  axisValue?: number | string | object | Date;
41
42
  dependentAxis?: boolean;
42
- disableInlineStyles?: boolean;
43
+ domain?: DomainPropType;
43
44
  gridComponent?: React.ReactElement;
44
45
  invertAxis?: boolean;
45
46
  style?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-core",
3
- "version": "37.3.0",
3
+ "version": "37.3.1",
4
4
  "description": "Victory Core",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.21",
24
24
  "react-fast-compare": "^3.2.0",
25
- "victory-vendor": "37.3.0"
25
+ "victory-vendor": "37.3.1"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=16.6.0"
@@ -9,6 +9,7 @@ import {
9
9
  PaddingOrCallback,
10
10
  StringOrNumberOrCallback,
11
11
  } from "../types/callbacks";
12
+ import { DomainPropType } from "../types/prop-types";
12
13
 
13
14
  export type BlockProps = {
14
15
  top?: number;
@@ -49,7 +50,7 @@ export interface VictoryAxisCommonProps {
49
50
  axisLabelComponent?: React.ReactElement;
50
51
  axisValue?: number | string | object | Date;
51
52
  dependentAxis?: boolean;
52
- disableInlineStyles?: boolean;
53
+ domain?: DomainPropType;
53
54
  gridComponent?: React.ReactElement;
54
55
  invertAxis?: boolean;
55
56
  style?: {