victory-chart 36.5.2 → 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.
@@ -60,7 +60,7 @@ var VictoryChartImpl = function (initialProps) {
60
60
  var children = getChildren(props, childComponents, calculatedProps);
61
61
  var mappedChildren = children.map(function (child, index) {
62
62
  var childProps = _assign({
63
- animate: getAnimationProps(props, child, index, "victory chart")
63
+ animate: getAnimationProps(props, child, index)
64
64
  }, child.props);
65
65
 
66
66
  return /*#__PURE__*/React.cloneElement(child, childProps);
@@ -85,7 +85,7 @@ var VictoryChartImpl = function (initialProps) {
85
85
  var children = (0, _helperMethods.getChildren)(props, childComponents, calculatedProps);
86
86
  var mappedChildren = children.map(function (child, index) {
87
87
  var childProps = (0, _assign2.default)({
88
- animate: getAnimationProps(props, child, index, "victory chart")
88
+ animate: getAnimationProps(props, child, index)
89
89
  }, child.props);
90
90
  return /*#__PURE__*/_react.default.cloneElement(child, childProps);
91
91
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-chart",
3
- "version": "36.5.2",
3
+ "version": "36.6.1",
4
4
  "description": "Chart Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -13,6 +13,7 @@
13
13
  "url": "https://github.com/formidablelabs/victory.git"
14
14
  },
15
15
  "homepage": "https://formidable.com/open-source/victory",
16
+ "sideEffects": false,
16
17
  "main": "lib/index.js",
17
18
  "module": "es/index.js",
18
19
  "jsnext:main": "es/index.js",
@@ -22,17 +23,285 @@
22
23
  "lodash": "^4.17.19",
23
24
  "prop-types": "^15.8.1",
24
25
  "react-fast-compare": "^3.2.0",
25
- "victory-axis": "^36.5.2",
26
- "victory-core": "^36.5.2",
27
- "victory-polar-axis": "^36.5.2",
28
- "victory-shared-events": "^36.5.2"
26
+ "victory-axis": "^36.6.1",
27
+ "victory-core": "^36.6.1",
28
+ "victory-polar-axis": "^36.6.1",
29
+ "victory-shared-events": "^36.6.1"
29
30
  },
30
31
  "peerDependencies": {
31
32
  "react": ">=16.6.0"
32
33
  },
33
- "scripts": {
34
- "version": "yarn run nps build-libs && nps build-dists"
34
+ "devDependencies": {
35
+ "victory-chart": "*",
36
+ "victory-line": "*"
35
37
  },
36
- "sideEffects": false,
37
- "gitHead": "def218e9749ecafc159ef458dd03a8b92e227666"
38
- }
38
+ "wireit": {
39
+ "### THESE WIREIT CONFIGS ARE GENERATED ####": {},
40
+ "### DO NOT MODIFY THESE MANUALLY ####": {},
41
+ "build": {
42
+ "dependencies": [
43
+ "build:lib",
44
+ "build:dist",
45
+ "types:create"
46
+ ]
47
+ },
48
+ "build:lib": {
49
+ "dependencies": [
50
+ "build:lib:esm",
51
+ "build:lib:cjs"
52
+ ]
53
+ },
54
+ "build:lib:esm": {
55
+ "command": "nps build:lib:esm",
56
+ "files": [
57
+ "src/**",
58
+ "!src/**/*.test.*",
59
+ "../../.babelrc.build.js"
60
+ ],
61
+ "output": [
62
+ "es/**/*.js",
63
+ "es/**/*.js.map"
64
+ ],
65
+ "dependencies": [
66
+ "../victory-axis:build:lib:esm",
67
+ "../victory-core:build:lib:esm",
68
+ "../victory-polar-axis:build:lib:esm",
69
+ "../victory-shared-events:build:lib:esm"
70
+ ],
71
+ "packageLocks": [
72
+ "pnpm-lock.yaml"
73
+ ]
74
+ },
75
+ "build:lib:cjs": {
76
+ "command": "nps build:lib:cjs",
77
+ "files": [
78
+ "src/**",
79
+ "!src/**/*.test.*",
80
+ "../../.babelrc.build.js"
81
+ ],
82
+ "output": [
83
+ "lib/**/*.js",
84
+ "lib/**/*.js.map"
85
+ ],
86
+ "dependencies": [
87
+ "../victory-axis:build:lib:cjs",
88
+ "../victory-core:build:lib:cjs",
89
+ "../victory-polar-axis:build:lib:cjs",
90
+ "../victory-shared-events:build:lib:cjs"
91
+ ],
92
+ "packageLocks": [
93
+ "pnpm-lock.yaml"
94
+ ]
95
+ },
96
+ "build:dist": {
97
+ "dependencies": [
98
+ "build:dist:dev",
99
+ "build:dist:min"
100
+ ]
101
+ },
102
+ "build:dist:dev": {
103
+ "command": "nps build:dist:dev",
104
+ "files": [
105
+ "src/**",
106
+ "!src/**/*.test.*",
107
+ "../../.babelrc.build.js",
108
+ "../../config/webpack.config.js",
109
+ "../../config/webpack.config.dev.js"
110
+ ],
111
+ "output": [
112
+ "dist/victory*.js",
113
+ "!dist/victory*.min.js*"
114
+ ],
115
+ "dependencies": [
116
+ "../victory-axis:build:lib:esm",
117
+ "../victory-core:build:lib:esm",
118
+ "../victory-polar-axis:build:lib:esm",
119
+ "../victory-shared-events:build:lib:esm"
120
+ ],
121
+ "packageLocks": [
122
+ "pnpm-lock.yaml"
123
+ ]
124
+ },
125
+ "build:dist:min": {
126
+ "command": "nps build:dist:min",
127
+ "files": [
128
+ "src/**",
129
+ "!src/**/*.test.*",
130
+ "../../.babelrc.build.js",
131
+ "../../config/webpack.config.js"
132
+ ],
133
+ "output": [
134
+ "dist/victory*.min.js*"
135
+ ],
136
+ "dependencies": [
137
+ "../victory-axis:build:lib:esm",
138
+ "../victory-core:build:lib:esm",
139
+ "../victory-polar-axis:build:lib:esm",
140
+ "../victory-shared-events:build:lib:esm"
141
+ ],
142
+ "packageLocks": [
143
+ "pnpm-lock.yaml"
144
+ ]
145
+ },
146
+ "check": {
147
+ "dependencies": [
148
+ "types:check",
149
+ "jest",
150
+ "format",
151
+ "lint"
152
+ ]
153
+ },
154
+ "types:check": {
155
+ "command": "nps types:pkg:check",
156
+ "files": [
157
+ "src/**/*.{ts,tsx}",
158
+ "../../tsconfig.base.json",
159
+ "tsconfig.json"
160
+ ],
161
+ "dependencies": [
162
+ "types:create",
163
+ "../victory-axis:types:create",
164
+ "../victory-core:types:create",
165
+ "../victory-polar-axis:types:create",
166
+ "../victory-shared-events:types:create",
167
+ "../victory-line:types:create",
168
+ "../victory-vendor:types:create",
169
+ "../victory-voronoi:types:create"
170
+ ],
171
+ "output": [],
172
+ "packageLocks": [
173
+ "pnpm-lock.yaml"
174
+ ]
175
+ },
176
+ "types:create": {
177
+ "command": "nps types:pkg:create",
178
+ "files": [
179
+ "src/**",
180
+ "!src/**/*.test.*",
181
+ "../../tsconfig.base.json",
182
+ "tsconfig.build.json"
183
+ ],
184
+ "output": [
185
+ "es/**/*.d.ts",
186
+ "es/**/*.d.ts.map",
187
+ "lib/**/*.d.ts",
188
+ "lib/**/*.d.ts.map"
189
+ ],
190
+ "dependencies": [
191
+ "../victory-axis:types:create",
192
+ "../victory-core:types:create",
193
+ "../victory-polar-axis:types:create",
194
+ "../victory-shared-events:types:create"
195
+ ],
196
+ "packageLocks": [
197
+ "pnpm-lock.yaml"
198
+ ]
199
+ },
200
+ "format": {
201
+ "command": "nps format:pkg",
202
+ "files": [
203
+ "src/**",
204
+ "*.json",
205
+ "../../.prettierignore",
206
+ "../../.prettierrc.json"
207
+ ],
208
+ "output": [],
209
+ "packageLocks": [
210
+ "pnpm-lock.yaml"
211
+ ]
212
+ },
213
+ "format:fix": {
214
+ "command": "pnpm run format || nps format:pkg:fix",
215
+ "files": [
216
+ "src/**",
217
+ "*.json",
218
+ "../../.prettierignore",
219
+ "../../.prettierrc.json"
220
+ ],
221
+ "output": [],
222
+ "packageLocks": [
223
+ "pnpm-lock.yaml"
224
+ ]
225
+ },
226
+ "lint": {
227
+ "command": "nps lint:pkg",
228
+ "files": [
229
+ "src/**",
230
+ "../../.eslintignore",
231
+ "../../.eslintrc.js"
232
+ ],
233
+ "output": [],
234
+ "dependencies": [
235
+ "../victory-axis:types:create",
236
+ "../victory-core:types:create",
237
+ "../victory-polar-axis:types:create",
238
+ "../victory-shared-events:types:create",
239
+ "../victory-line:types:create",
240
+ "../victory-vendor:types:create",
241
+ "../victory-voronoi:types:create"
242
+ ],
243
+ "packageLocks": [
244
+ "pnpm-lock.yaml"
245
+ ]
246
+ },
247
+ "lint:fix": {
248
+ "command": "pnpm run lint || nps lint:pkg:fix",
249
+ "files": [
250
+ "src/**",
251
+ "../../.eslintignore",
252
+ "../../.eslintrc.js"
253
+ ],
254
+ "output": [],
255
+ "dependencies": [
256
+ "../victory-axis:types:create",
257
+ "../victory-core:types:create",
258
+ "../victory-polar-axis:types:create",
259
+ "../victory-shared-events:types:create",
260
+ "../victory-line:types:create",
261
+ "../victory-vendor:types:create",
262
+ "../victory-voronoi:types:create"
263
+ ],
264
+ "packageLocks": [
265
+ "pnpm-lock.yaml"
266
+ ]
267
+ },
268
+ "jest": {
269
+ "command": "nps jest:pkg",
270
+ "files": [
271
+ "src/**/*.test.*",
272
+ "../../.babelrc.js",
273
+ "../../test/jest-config.js",
274
+ "../../test/jest-setup.ts"
275
+ ],
276
+ "output": [],
277
+ "dependencies": [
278
+ "build:lib:cjs",
279
+ "../victory-line:build:lib:cjs",
280
+ "../victory-vendor:build:lib:cjs",
281
+ "../victory-voronoi:build:lib:cjs"
282
+ ],
283
+ "packageLocks": [
284
+ "pnpm-lock.yaml"
285
+ ]
286
+ }
287
+ },
288
+ "scripts": {
289
+ "### THESE SCRIPTS ARE GENERATED ###": "true",
290
+ "### DO NOT MODIFY THESE MANUALLY ###": "true",
291
+ "build": "wireit",
292
+ "build:lib": "wireit",
293
+ "build:lib:esm": "wireit",
294
+ "build:lib:cjs": "wireit",
295
+ "build:dist": "wireit",
296
+ "build:dist:dev": "wireit",
297
+ "build:dist:min": "wireit",
298
+ "check": "wireit",
299
+ "types:check": "wireit",
300
+ "types:create": "wireit",
301
+ "format": "wireit",
302
+ "format:fix": "wireit",
303
+ "lint": "wireit",
304
+ "lint:fix": "wireit",
305
+ "jest": "wireit"
306
+ }
307
+ }
@@ -78,7 +78,7 @@ const VictoryChartImpl: React.FC<VictoryChartProps> = (initialProps) => {
78
78
 
79
79
  const mappedChildren = children.map((child, index) => {
80
80
  const childProps = assign(
81
- { animate: getAnimationProps(props, child, index, "victory chart") },
81
+ { animate: getAnimationProps(props, child, index) },
82
82
  child.props,
83
83
  );
84
84
  return React.cloneElement(child, childProps);