victory-core 36.6.2 → 36.6.5
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 +27 -0
- package/dist/victory-core.js +2053 -4568
- package/dist/victory-core.min.js +1 -1
- package/es/index.d.ts +0 -1
- package/es/index.js +1 -3
- package/es/types/callbacks.d.ts +0 -1
- package/es/types/callbacks.js +1 -2
- package/es/types/prop-types.d.ts +3 -3
- package/es/types/prop-types.js +1 -2
- package/es/v37/clone.d.ts +23 -0
- package/es/v37/clone.js +32 -0
- package/es/v37/index.d.ts +5 -0
- package/es/v37/index.js +4 -0
- package/es/{victory-state → v37/victory-state}/defaults.d.ts +0 -0
- package/es/v37/victory-state/defaults.js +2 -0
- package/es/v37/victory-state/helpers/get-axis-data.d.ts +3 -0
- package/es/{victory-state → v37/victory-state}/helpers/get-axis-data.js +2 -3
- package/es/{victory-state → v37/victory-state}/helpers/get-data.d.ts +1 -1
- package/es/{victory-state → v37/victory-state}/helpers/get-data.js +2 -3
- package/{lib → es/v37}/victory-state/helpers/get-domain.d.ts +1 -1
- package/es/{victory-state → v37/victory-state}/helpers/get-domain.js +2 -3
- package/{lib → es/v37}/victory-state/helpers/get-range.d.ts +1 -1
- package/es/{victory-state → v37/victory-state}/helpers/get-range.js +3 -4
- package/{lib → es/v37}/victory-state/helpers/get-scale.d.ts +1 -1
- package/es/{victory-state → v37/victory-state}/helpers/get-scale.js +3 -4
- package/es/v37/victory-state/index.d.ts +4 -0
- package/es/{victory-state → v37/victory-state}/index.js +1 -1
- package/{lib → es/v37}/victory-state/types.d.ts +2 -2
- package/es/v37/victory-state/types.js +1 -0
- package/{lib → es/v37}/victory-state/victory-provider.d.ts +5 -4
- package/es/{victory-state → v37/victory-state}/victory-provider.js +59 -29
- package/es/v37/victory-state/with-victory-provider.d.ts +7 -0
- package/es/v37/victory-state/with-victory-provider.js +43 -0
- package/es/{victory-util → v37}/with-container.d.ts +2 -2
- package/es/{victory-util → v37}/with-container.js +2 -3
- package/es/v37/with-normalized-props.d.ts +17 -0
- package/es/v37/with-normalized-props.js +18 -0
- package/es/victory-accessible-group/victory-accessible-group.js +1 -2
- package/es/victory-animation/util.js +1 -2
- package/es/victory-animation/victory-animation.js +1 -2
- package/es/victory-clip-container/victory-clip-container.js +1 -2
- package/es/victory-container/victory-container.js +1 -2
- package/es/victory-label/victory-label.d.ts +5 -4
- package/es/victory-label/victory-label.js +1 -2
- package/es/victory-portal/portal-context.js +1 -2
- package/es/victory-portal/portal.js +1 -2
- package/es/victory-portal/victory-portal.js +1 -2
- package/es/victory-primitives/arc.js +1 -2
- package/es/victory-primitives/background.js +1 -2
- package/es/victory-primitives/border.js +1 -2
- package/es/victory-primitives/circle.js +1 -2
- package/es/victory-primitives/clip-path.js +1 -2
- package/es/victory-primitives/index.js +1 -2
- package/es/victory-primitives/line-segment.js +1 -2
- package/es/victory-primitives/line.js +1 -2
- package/es/victory-primitives/path.js +1 -2
- package/es/victory-primitives/point.js +1 -2
- package/es/victory-primitives/rect.js +1 -2
- package/es/victory-primitives/text.js +1 -2
- package/es/victory-primitives/tspan.js +1 -2
- package/es/victory-primitives/types.js +1 -2
- package/es/victory-primitives/whisker.js +1 -2
- package/es/victory-theme/grayscale.js +1 -2
- package/es/victory-theme/material.js +1 -2
- package/es/victory-theme/types.js +1 -2
- package/es/victory-theme/victory-theme.js +1 -2
- package/es/victory-transition/victory-transition.js +1 -2
- package/es/victory-util/add-events.js +1 -2
- package/es/victory-util/axis.js +1 -2
- package/es/victory-util/collection.js +1 -2
- package/es/victory-util/common-props.js +1 -2
- package/es/victory-util/data.js +1 -2
- package/es/victory-util/default-transitions.js +1 -2
- package/es/victory-util/domain.js +1 -2
- package/es/victory-util/events.js +1 -2
- package/es/victory-util/helpers.d.ts +3 -2
- package/es/victory-util/helpers.js +1 -2
- package/es/victory-util/hooks/index.js +1 -2
- package/es/victory-util/hooks/use-animation-state.js +1 -2
- package/es/victory-util/hooks/use-previous-props.js +1 -2
- package/es/victory-util/immutable-types.d.ts +2523 -0
- package/es/victory-util/immutable.d.ts +1 -1
- package/es/victory-util/immutable.js +1 -2
- package/es/victory-util/index.d.ts +0 -1
- package/es/victory-util/index.js +1 -3
- package/es/victory-util/label-helpers.js +1 -2
- package/es/victory-util/line-helpers.js +1 -2
- package/es/victory-util/log.js +1 -2
- package/es/victory-util/point-path-helpers.js +1 -2
- package/es/victory-util/prop-types.js +1 -2
- package/es/victory-util/scale.js +1 -2
- package/es/victory-util/selection.js +1 -2
- package/es/victory-util/style.js +1 -2
- package/es/victory-util/textsize.js +1 -2
- package/es/victory-util/timer-context.js +1 -2
- package/es/victory-util/timer.js +1 -2
- package/es/victory-util/transitions.js +1 -2
- package/es/victory-util/type-helpers.js +1 -2
- package/es/victory-util/user-props.js +1 -2
- package/es/victory-util/wrapper.js +1 -2
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -16
- package/lib/types/callbacks.d.ts +0 -1
- package/lib/types/callbacks.js +1 -2
- package/lib/types/prop-types.d.ts +3 -3
- package/lib/types/prop-types.js +1 -2
- package/lib/v37/clone.d.ts +23 -0
- package/lib/v37/clone.js +43 -0
- package/lib/v37/index.d.ts +5 -0
- package/lib/v37/index.js +57 -0
- package/lib/{victory-state → v37/victory-state}/defaults.d.ts +0 -0
- package/lib/{victory-state → v37/victory-state}/defaults.js +1 -2
- package/lib/v37/victory-state/helpers/get-axis-data.d.ts +3 -0
- package/lib/{victory-state → v37/victory-state}/helpers/get-axis-data.js +2 -3
- package/lib/{victory-state → v37/victory-state}/helpers/get-data.d.ts +1 -1
- package/lib/{victory-state → v37/victory-state}/helpers/get-data.js +2 -3
- package/{es → lib/v37}/victory-state/helpers/get-domain.d.ts +1 -1
- package/lib/{victory-state → v37/victory-state}/helpers/get-domain.js +2 -3
- package/{es → lib/v37}/victory-state/helpers/get-range.d.ts +1 -1
- package/lib/{victory-state → v37/victory-state}/helpers/get-range.js +3 -4
- package/{es → lib/v37}/victory-state/helpers/get-scale.d.ts +1 -1
- package/lib/{victory-state → v37/victory-state}/helpers/get-scale.js +3 -4
- package/lib/v37/victory-state/index.d.ts +4 -0
- package/lib/{victory-state → v37/victory-state}/index.js +13 -1
- package/{es → lib/v37}/victory-state/types.d.ts +2 -2
- package/lib/v37/victory-state/types.js +1 -0
- package/{es → lib/v37}/victory-state/victory-provider.d.ts +5 -4
- package/lib/{victory-state → v37/victory-state}/victory-provider.js +61 -30
- package/lib/v37/victory-state/with-victory-provider.d.ts +7 -0
- package/lib/v37/victory-state/with-victory-provider.js +56 -0
- package/lib/{victory-util → v37}/with-container.d.ts +2 -2
- package/lib/{victory-util → v37}/with-container.js +2 -3
- package/lib/v37/with-normalized-props.d.ts +17 -0
- package/lib/v37/with-normalized-props.js +29 -0
- package/lib/victory-accessible-group/victory-accessible-group.js +1 -2
- package/lib/victory-animation/util.js +1 -2
- package/lib/victory-animation/victory-animation.js +1 -2
- package/lib/victory-clip-container/victory-clip-container.js +1 -2
- package/lib/victory-container/victory-container.js +1 -2
- package/lib/victory-label/victory-label.d.ts +5 -4
- package/lib/victory-label/victory-label.js +1 -2
- package/lib/victory-portal/portal-context.js +1 -2
- package/lib/victory-portal/portal.js +1 -2
- package/lib/victory-portal/victory-portal.js +1 -2
- package/lib/victory-primitives/arc.js +1 -2
- package/lib/victory-primitives/background.js +1 -2
- package/lib/victory-primitives/border.js +1 -2
- package/lib/victory-primitives/circle.js +1 -2
- package/lib/victory-primitives/clip-path.js +1 -2
- package/lib/victory-primitives/index.js +1 -2
- package/lib/victory-primitives/line-segment.js +1 -2
- package/lib/victory-primitives/line.js +1 -2
- package/lib/victory-primitives/path.js +1 -2
- package/lib/victory-primitives/point.js +1 -2
- package/lib/victory-primitives/rect.js +1 -2
- package/lib/victory-primitives/text.js +1 -2
- package/lib/victory-primitives/tspan.js +1 -2
- package/lib/victory-primitives/types.js +1 -2
- package/lib/victory-primitives/whisker.js +1 -2
- package/lib/victory-theme/grayscale.js +1 -2
- package/lib/victory-theme/material.js +1 -2
- package/lib/victory-theme/types.js +1 -2
- package/lib/victory-theme/victory-theme.js +1 -2
- package/lib/victory-transition/victory-transition.js +1 -2
- package/lib/victory-util/add-events.js +1 -2
- package/lib/victory-util/axis.js +1 -2
- package/lib/victory-util/collection.js +1 -2
- package/lib/victory-util/common-props.js +1 -2
- package/lib/victory-util/data.js +1 -2
- package/lib/victory-util/default-transitions.js +1 -2
- package/lib/victory-util/domain.js +1 -2
- package/lib/victory-util/events.js +1 -2
- package/lib/victory-util/helpers.d.ts +3 -2
- package/lib/victory-util/helpers.js +1 -2
- package/lib/victory-util/hooks/index.js +1 -2
- package/lib/victory-util/hooks/use-animation-state.js +1 -2
- package/lib/victory-util/hooks/use-previous-props.js +1 -2
- package/lib/victory-util/immutable-types.d.ts +2523 -0
- package/lib/victory-util/immutable.d.ts +1 -1
- package/lib/victory-util/immutable.js +1 -2
- package/lib/victory-util/index.d.ts +0 -1
- package/lib/victory-util/index.js +1 -16
- package/lib/victory-util/label-helpers.js +1 -2
- package/lib/victory-util/line-helpers.js +1 -2
- package/lib/victory-util/log.js +1 -2
- package/lib/victory-util/point-path-helpers.js +1 -2
- package/lib/victory-util/prop-types.js +1 -2
- package/lib/victory-util/scale.js +1 -2
- package/lib/victory-util/selection.js +1 -2
- package/lib/victory-util/style.js +1 -2
- package/lib/victory-util/textsize.js +1 -2
- package/lib/victory-util/timer-context.js +1 -2
- package/lib/victory-util/timer.js +1 -2
- package/lib/victory-util/transitions.js +1 -2
- package/lib/victory-util/type-helpers.js +1 -2
- package/lib/victory-util/user-props.js +1 -2
- package/lib/victory-util/wrapper.js +1 -2
- package/package.json +12 -4
- package/src/index.ts +0 -1
- package/src/types/callbacks.ts +0 -2
- package/src/types/prop-types.ts +4 -3
- package/src/v37/clone.tsx +30 -0
- package/src/v37/index.tsx +4 -0
- package/src/{victory-state → v37/victory-state}/defaults.ts +0 -0
- package/src/{victory-state → v37/victory-state}/helpers/get-axis-data.ts +2 -2
- package/src/{victory-state → v37/victory-state}/helpers/get-data.ts +3 -3
- package/src/{victory-state → v37/victory-state}/helpers/get-domain.ts +2 -2
- package/src/{victory-state → v37/victory-state}/helpers/get-range.ts +3 -3
- package/src/{victory-state → v37/victory-state}/helpers/get-scale.ts +6 -3
- package/src/{victory-state → v37/victory-state}/index.ts +1 -0
- package/src/{victory-state → v37/victory-state}/types.ts +2 -2
- package/src/{victory-state → v37/victory-state}/victory-provider.tsx +61 -27
- package/src/v37/victory-state/with-victory-provider.tsx +53 -0
- package/src/{victory-util → v37}/with-container.tsx +2 -2
- package/src/v37/with-normalized-props.tsx +43 -0
- package/src/victory-label/victory-label.tsx +4 -4
- package/src/victory-util/data.ts +1 -1
- package/src/victory-util/helpers.ts +3 -2
- package/src/victory-util/immutable-types.d.ts +2523 -0
- package/src/victory-util/immutable.ts +1 -1
- package/src/victory-util/index.ts +0 -1
- package/es/victory-state/defaults.js +0 -3
- package/es/victory-state/helpers/get-axis-data.d.ts +0 -3
- package/es/victory-state/index.d.ts +0 -3
- package/es/victory-state/types.js +0 -2
- package/lib/victory-state/helpers/get-axis-data.d.ts +0 -3
- package/lib/victory-state/index.d.ts +0 -3
- package/lib/victory-state/types.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# victory-core
|
|
2
2
|
|
|
3
|
+
## 36.6.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Manually included types for Immutable (fixes [#2439](https://github.com/FormidableLabs/victory/issues/2439)) ([#2440](https://github.com/FormidableLabs/victory/pull/2440))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`6f4972123`](https://github.com/FormidableLabs/victory/commit/6f49721238332bb5ee879571a45b34a04e44d416)]:
|
|
10
|
+
- victory-vendor@36.6.5
|
|
11
|
+
|
|
12
|
+
## 36.6.4
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Allow data accessors to accept any data types (fixes [#2360](https://github.com/FormidableLabs/victory/issues/2360)) ([#2436](https://github.com/FormidableLabs/victory/pull/2436))
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`9a6319cff`](https://github.com/FormidableLabs/victory/commit/9a6319cffbc480711b8c286dcae00575081170f0)]:
|
|
19
|
+
- victory-vendor@36.6.4
|
|
20
|
+
|
|
21
|
+
## 36.6.3
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Do not generate \*.js.map sourcemaps (fixes [#2346](https://github.com/FormidableLabs/victory/issues/2346)) ([#2432](https://github.com/FormidableLabs/victory/pull/2432))
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [[`4bfc65df5`](https://github.com/FormidableLabs/victory/commit/4bfc65df5a10aa6a10084882ed5c6d0d894dec6f)]:
|
|
28
|
+
- victory-vendor@36.6.3
|
|
29
|
+
|
|
3
30
|
## 36.6.2
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|