victory-chart 36.5.3 → 36.6.0

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.3",
3
+ "version": "36.6.0",
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,276 @@
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.3",
26
- "victory-core": "^36.5.3",
27
- "victory-polar-axis": "^36.5.3",
28
- "victory-shared-events": "^36.5.3"
26
+ "victory-axis": "^36.6.0",
27
+ "victory-core": "^36.6.0",
28
+ "victory-polar-axis": "^36.6.0",
29
+ "victory-shared-events": "^36.6.0"
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": "55338af3c57eacca5956e53c08a58e47ba41d01e"
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
+ "types:check": {
147
+ "command": "nps types:pkg:check",
148
+ "files": [
149
+ "src/**/*.{ts,tsx}",
150
+ "../../tsconfig.base.json",
151
+ "tsconfig.json"
152
+ ],
153
+ "dependencies": [
154
+ "types:create",
155
+ "../victory-axis:types:create",
156
+ "../victory-core:types:create",
157
+ "../victory-polar-axis:types:create",
158
+ "../victory-shared-events:types:create",
159
+ "../victory-line:types:create",
160
+ "../victory-vendor:types:create",
161
+ "../victory-voronoi:types:create"
162
+ ],
163
+ "output": [],
164
+ "packageLocks": [
165
+ "pnpm-lock.yaml"
166
+ ]
167
+ },
168
+ "types:create": {
169
+ "command": "nps types:pkg:create",
170
+ "files": [
171
+ "src/**",
172
+ "!src/**/*.test.*",
173
+ "../../tsconfig.base.json",
174
+ "tsconfig.build.json"
175
+ ],
176
+ "output": [
177
+ "es/**/*.d.ts",
178
+ "es/**/*.d.ts.map",
179
+ "lib/**/*.d.ts",
180
+ "lib/**/*.d.ts.map"
181
+ ],
182
+ "dependencies": [
183
+ "../victory-axis:types:create",
184
+ "../victory-core:types:create",
185
+ "../victory-polar-axis:types:create",
186
+ "../victory-shared-events:types:create"
187
+ ],
188
+ "packageLocks": [
189
+ "pnpm-lock.yaml"
190
+ ]
191
+ },
192
+ "format": {
193
+ "command": "nps format:pkg",
194
+ "files": [
195
+ "src/**",
196
+ "*.json",
197
+ "../../.prettierignore",
198
+ "../../.prettierrc.json"
199
+ ],
200
+ "output": [],
201
+ "packageLocks": [
202
+ "pnpm-lock.yaml"
203
+ ]
204
+ },
205
+ "lint": {
206
+ "command": "nps lint:pkg",
207
+ "files": [
208
+ "src/**",
209
+ "../../.eslintignore",
210
+ "../../.eslintrc.js"
211
+ ],
212
+ "output": [],
213
+ "dependencies": [
214
+ "../victory-axis:types:create",
215
+ "../victory-core:types:create",
216
+ "../victory-polar-axis:types:create",
217
+ "../victory-shared-events:types:create",
218
+ "../victory-line:types:create",
219
+ "../victory-vendor:types:create",
220
+ "../victory-voronoi:types:create"
221
+ ],
222
+ "packageLocks": [
223
+ "pnpm-lock.yaml"
224
+ ]
225
+ },
226
+ "format:fix": {
227
+ "command": "pnpm run format || nps format:pkg:fix",
228
+ "files": [
229
+ "src/**",
230
+ "*.json",
231
+ "../../.prettierignore",
232
+ "../../.prettierrc.json"
233
+ ],
234
+ "output": [],
235
+ "packageLocks": [
236
+ "pnpm-lock.yaml"
237
+ ]
238
+ },
239
+ "lint:fix": {
240
+ "command": "pnpm run lint || nps lint:pkg:fix",
241
+ "files": [
242
+ "src/**",
243
+ "../../.eslintignore",
244
+ "../../.eslintrc.js"
245
+ ],
246
+ "output": [],
247
+ "dependencies": [
248
+ "../victory-axis:types:create",
249
+ "../victory-core:types:create",
250
+ "../victory-polar-axis:types:create",
251
+ "../victory-shared-events:types:create",
252
+ "../victory-line:types:create",
253
+ "../victory-vendor:types:create",
254
+ "../victory-voronoi:types:create"
255
+ ],
256
+ "packageLocks": [
257
+ "pnpm-lock.yaml"
258
+ ]
259
+ },
260
+ "jest": {
261
+ "command": "nps jest:pkg",
262
+ "files": [
263
+ "src/**/*.test.*",
264
+ "../../.babelrc.js",
265
+ "../../test/jest-config.js",
266
+ "../../test/jest-setup.ts"
267
+ ],
268
+ "output": [],
269
+ "dependencies": [
270
+ "build:lib:cjs",
271
+ "../victory-line:build:lib:cjs",
272
+ "../victory-vendor:build:lib:cjs",
273
+ "../victory-voronoi:build:lib:cjs"
274
+ ],
275
+ "packageLocks": [
276
+ "pnpm-lock.yaml"
277
+ ]
278
+ }
279
+ },
280
+ "scripts": {
281
+ "### THESE SCRIPTS ARE GENERATED ###": "true",
282
+ "### DO NOT MODIFY THESE MANUALLY ###": "true",
283
+ "build": "wireit",
284
+ "build:lib": "wireit",
285
+ "build:lib:esm": "wireit",
286
+ "build:lib:cjs": "wireit",
287
+ "build:dist": "wireit",
288
+ "build:dist:dev": "wireit",
289
+ "build:dist:min": "wireit",
290
+ "types:check": "wireit",
291
+ "types:create": "wireit",
292
+ "format": "wireit",
293
+ "format:fix": "wireit",
294
+ "lint": "wireit",
295
+ "lint:fix": "wireit",
296
+ "jest": "wireit"
297
+ }
298
+ }
@@ -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);