victory-area 36.6.0 → 36.6.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 +8 -0
- package/dist/victory-area.js +3 -1
- package/es/victory-area.d.ts +4 -2
- package/lib/victory-area.d.ts +4 -2
- package/package.json +25 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# victory-area
|
|
2
2
|
|
|
3
|
+
## 36.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`d1f281104`](https://github.com/FormidableLabs/victory/commit/d1f281104c7598c43e220dafd57546ab03daeeb5)]:
|
|
8
|
+
- victory-core@36.6.1
|
|
9
|
+
- victory-vendor@36.6.1
|
|
10
|
+
|
|
3
11
|
## 36.6.0
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/victory-area.js
CHANGED
|
@@ -14706,7 +14706,9 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
14706
14706
|
var USER_PROPS_SAFELIST = {
|
|
14707
14707
|
startsWith: ["data-", "aria-"],
|
|
14708
14708
|
exactMatch: []
|
|
14709
|
-
};
|
|
14709
|
+
}; // Normally we'd use Template Literal Types, but we're avoiding it to maximize TS compatibility with TS < 4.1
|
|
14710
|
+
|
|
14711
|
+
// `data-${string}` | `aria-${string}`;
|
|
14710
14712
|
|
|
14711
14713
|
/**
|
|
14712
14714
|
* doesPropStartWith: Function that takes a prop's key and runs it against all
|
package/es/victory-area.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ declare class VictoryAreaBase extends React.Component<VictoryAreaProps> {
|
|
|
88
88
|
static getBaseProps: (props: any) => any;
|
|
89
89
|
static expectedComponents: string[];
|
|
90
90
|
shouldAnimate(): boolean;
|
|
91
|
-
render(): any
|
|
91
|
+
render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
92
92
|
}
|
|
93
93
|
export declare const VictoryArea: {
|
|
94
94
|
new (props: import("victory-core").EventMixinCommonProps): {
|
|
@@ -116,7 +116,7 @@ export declare const VictoryArea: {
|
|
|
116
116
|
getAllEvents(props: any): any;
|
|
117
117
|
getComponentProps(component: any, type: any, index: any): any;
|
|
118
118
|
renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
119
|
-
animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]):
|
|
119
|
+
animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
120
120
|
renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
121
121
|
renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
122
122
|
context: unknown;
|
|
@@ -145,6 +145,8 @@ export declare const VictoryArea: {
|
|
|
145
145
|
getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
|
|
146
146
|
role?: string | undefined;
|
|
147
147
|
expectedComponents?: string[] | undefined;
|
|
148
|
+
getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
|
|
149
|
+
animationWhitelist?: string[] | undefined;
|
|
148
150
|
} & typeof VictoryAreaBase;
|
|
149
151
|
export {};
|
|
150
152
|
//# sourceMappingURL=victory-area.d.ts.map
|
package/lib/victory-area.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ declare class VictoryAreaBase extends React.Component<VictoryAreaProps> {
|
|
|
88
88
|
static getBaseProps: (props: any) => any;
|
|
89
89
|
static expectedComponents: string[];
|
|
90
90
|
shouldAnimate(): boolean;
|
|
91
|
-
render(): any
|
|
91
|
+
render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
92
92
|
}
|
|
93
93
|
export declare const VictoryArea: {
|
|
94
94
|
new (props: import("victory-core").EventMixinCommonProps): {
|
|
@@ -116,7 +116,7 @@ export declare const VictoryArea: {
|
|
|
116
116
|
getAllEvents(props: any): any;
|
|
117
117
|
getComponentProps(component: any, type: any, index: any): any;
|
|
118
118
|
renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
119
|
-
animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]):
|
|
119
|
+
animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
120
120
|
renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
121
121
|
renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
122
122
|
context: unknown;
|
|
@@ -145,6 +145,8 @@ export declare const VictoryArea: {
|
|
|
145
145
|
getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
|
|
146
146
|
role?: string | undefined;
|
|
147
147
|
expectedComponents?: string[] | undefined;
|
|
148
|
+
getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
|
|
149
|
+
animationWhitelist?: string[] | undefined;
|
|
148
150
|
} & typeof VictoryAreaBase;
|
|
149
151
|
export {};
|
|
150
152
|
//# sourceMappingURL=victory-area.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-area",
|
|
3
|
-
"version": "36.6.
|
|
3
|
+
"version": "36.6.1",
|
|
4
4
|
"description": "Area 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
|
"prop-types": "^15.8.1",
|
|
25
|
-
"victory-core": "^36.6.
|
|
26
|
-
"victory-vendor": "^36.6.
|
|
25
|
+
"victory-core": "^36.6.1",
|
|
26
|
+
"victory-vendor": "^36.6.1"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=16.6.0"
|
|
@@ -132,6 +132,14 @@
|
|
|
132
132
|
"pnpm-lock.yaml"
|
|
133
133
|
]
|
|
134
134
|
},
|
|
135
|
+
"check": {
|
|
136
|
+
"dependencies": [
|
|
137
|
+
"types:check",
|
|
138
|
+
"jest",
|
|
139
|
+
"format",
|
|
140
|
+
"lint"
|
|
141
|
+
]
|
|
142
|
+
},
|
|
135
143
|
"types:check": {
|
|
136
144
|
"command": "nps types:pkg:check",
|
|
137
145
|
"files": [
|
|
@@ -186,6 +194,19 @@
|
|
|
186
194
|
"pnpm-lock.yaml"
|
|
187
195
|
]
|
|
188
196
|
},
|
|
197
|
+
"format:fix": {
|
|
198
|
+
"command": "pnpm run format || nps format:pkg:fix",
|
|
199
|
+
"files": [
|
|
200
|
+
"src/**",
|
|
201
|
+
"*.json",
|
|
202
|
+
"../../.prettierignore",
|
|
203
|
+
"../../.prettierrc.json"
|
|
204
|
+
],
|
|
205
|
+
"output": [],
|
|
206
|
+
"packageLocks": [
|
|
207
|
+
"pnpm-lock.yaml"
|
|
208
|
+
]
|
|
209
|
+
},
|
|
189
210
|
"lint": {
|
|
190
211
|
"command": "nps lint:pkg",
|
|
191
212
|
"files": [
|
|
@@ -205,19 +226,6 @@
|
|
|
205
226
|
"pnpm-lock.yaml"
|
|
206
227
|
]
|
|
207
228
|
},
|
|
208
|
-
"format:fix": {
|
|
209
|
-
"command": "pnpm run format || nps format:pkg:fix",
|
|
210
|
-
"files": [
|
|
211
|
-
"src/**",
|
|
212
|
-
"*.json",
|
|
213
|
-
"../../.prettierignore",
|
|
214
|
-
"../../.prettierrc.json"
|
|
215
|
-
],
|
|
216
|
-
"output": [],
|
|
217
|
-
"packageLocks": [
|
|
218
|
-
"pnpm-lock.yaml"
|
|
219
|
-
]
|
|
220
|
-
},
|
|
221
229
|
"lint:fix": {
|
|
222
230
|
"command": "pnpm run lint || nps lint:pkg:fix",
|
|
223
231
|
"files": [
|
|
@@ -267,6 +275,7 @@
|
|
|
267
275
|
"build:dist": "wireit",
|
|
268
276
|
"build:dist:dev": "wireit",
|
|
269
277
|
"build:dist:min": "wireit",
|
|
278
|
+
"check": "wireit",
|
|
270
279
|
"types:check": "wireit",
|
|
271
280
|
"types:create": "wireit",
|
|
272
281
|
"format": "wireit",
|