victory-core 36.9.1 → 36.9.2-next.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.
Files changed (186) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/victory-core.js +31583 -1584
  3. package/dist/victory-core.min.js +2 -1
  4. package/dist/victory-core.min.js.LICENSE.txt +19 -0
  5. package/es/index.d.ts +17 -17
  6. package/es/types/callbacks.d.ts +36 -36
  7. package/es/types/prop-types.d.ts +130 -129
  8. package/es/victory-accessible-group/victory-accessible-group.d.ts +10 -16
  9. package/es/victory-accessible-group/victory-accessible-group.js +25 -58
  10. package/es/victory-animation/util.d.ts +66 -66
  11. package/es/victory-animation/victory-animation.d.ts +34 -60
  12. package/es/victory-animation/victory-animation.js +122 -204
  13. package/es/victory-clip-container/victory-clip-container.d.ts +46 -46
  14. package/es/victory-container/victory-container.d.ts +64 -68
  15. package/es/victory-container/victory-container.js +164 -217
  16. package/es/victory-label/victory-label.d.ts +58 -58
  17. package/es/victory-portal/portal-context.d.ts +9 -11
  18. package/es/victory-portal/portal-context.js +1 -1
  19. package/es/victory-portal/portal.d.ts +9 -20
  20. package/es/victory-portal/portal.js +6 -79
  21. package/es/victory-portal/victory-portal.d.ts +9 -26
  22. package/es/victory-portal/victory-portal.js +24 -98
  23. package/es/victory-primitives/arc.d.ts +14 -14
  24. package/es/victory-primitives/background.d.ts +13 -13
  25. package/es/victory-primitives/border.d.ts +10 -10
  26. package/es/victory-primitives/circle.d.ts +3 -3
  27. package/es/victory-primitives/clip-path.d.ts +7 -7
  28. package/es/victory-primitives/index.d.ts +14 -14
  29. package/es/victory-primitives/line-segment.d.ts +11 -11
  30. package/es/victory-primitives/line.d.ts +3 -3
  31. package/es/victory-primitives/path.d.ts +3 -3
  32. package/es/victory-primitives/point.d.ts +13 -13
  33. package/es/victory-primitives/rect.d.ts +3 -3
  34. package/es/victory-primitives/text.d.ts +8 -8
  35. package/es/victory-primitives/tspan.d.ts +3 -3
  36. package/es/victory-primitives/types.d.ts +7 -7
  37. package/es/victory-primitives/whisker.d.ts +15 -15
  38. package/es/victory-theme/grayscale.d.ts +2 -2
  39. package/es/victory-theme/material.d.ts +2 -2
  40. package/es/victory-theme/types.d.ts +238 -238
  41. package/es/victory-theme/victory-theme.d.ts +5 -5
  42. package/es/victory-transition/victory-transition.d.ts +53 -53
  43. package/es/victory-transition/victory-transition.js +1 -2
  44. package/es/victory-util/add-events.d.ts +126 -126
  45. package/es/victory-util/add-events.js +12 -20
  46. package/es/victory-util/axis.d.ts +50 -50
  47. package/es/victory-util/axis.js +9 -13
  48. package/es/victory-util/collection.d.ts +8 -8
  49. package/es/victory-util/common-props.d.ts +79 -79
  50. package/es/victory-util/data.d.ts +74 -74
  51. package/es/victory-util/data.js +3 -6
  52. package/es/victory-util/default-transitions.d.ts +4 -4
  53. package/es/victory-util/domain.d.ts +90 -90
  54. package/es/victory-util/domain.js +5 -10
  55. package/es/victory-util/events.d.ts +64 -64
  56. package/es/victory-util/events.js +22 -21
  57. package/es/victory-util/helpers.d.ts +91 -73
  58. package/es/victory-util/helpers.js +39 -8
  59. package/es/victory-util/hooks/index.d.ts +2 -2
  60. package/es/victory-util/hooks/use-animation-state.d.ts +21 -21
  61. package/es/victory-util/hooks/use-animation-state.js +5 -4
  62. package/es/victory-util/hooks/use-previous-props.d.ts +1 -1
  63. package/es/victory-util/immutable.d.ts +11 -11
  64. package/es/victory-util/index.d.ts +27 -26
  65. package/es/victory-util/index.js +1 -0
  66. package/es/victory-util/label-helpers.d.ts +26 -26
  67. package/es/victory-util/line-helpers.d.ts +4 -4
  68. package/es/victory-util/log.d.ts +1 -1
  69. package/es/victory-util/merge-refs.d.ts +5 -0
  70. package/es/victory-util/merge-refs.js +11 -0
  71. package/es/victory-util/point-path-helpers.d.ts +9 -9
  72. package/es/victory-util/scale.d.ts +9 -9
  73. package/es/victory-util/scale.js +3 -5
  74. package/es/victory-util/selection.d.ts +28 -28
  75. package/es/victory-util/style.d.ts +18 -18
  76. package/es/victory-util/textsize.d.ts +35 -35
  77. package/es/victory-util/timer-context.d.ts +11 -11
  78. package/es/victory-util/timer.d.ts +16 -16
  79. package/es/victory-util/transitions.d.ts +48 -48
  80. package/es/victory-util/transitions.js +1 -4
  81. package/es/victory-util/type-helpers.d.ts +9 -9
  82. package/es/victory-util/user-props.d.ts +26 -26
  83. package/es/victory-util/wrapper.d.ts +37 -37
  84. package/es/victory-util/wrapper.js +7 -10
  85. package/lib/index.d.ts +17 -17
  86. package/lib/types/callbacks.d.ts +36 -36
  87. package/lib/types/prop-types.d.ts +130 -129
  88. package/lib/victory-accessible-group/victory-accessible-group.d.ts +10 -16
  89. package/lib/victory-accessible-group/victory-accessible-group.js +31 -64
  90. package/lib/victory-animation/util.d.ts +66 -66
  91. package/lib/victory-animation/victory-animation.d.ts +34 -60
  92. package/lib/victory-animation/victory-animation.js +114 -193
  93. package/lib/victory-clip-container/victory-clip-container.d.ts +46 -46
  94. package/lib/victory-container/victory-container.d.ts +64 -68
  95. package/lib/victory-container/victory-container.js +170 -223
  96. package/lib/victory-label/victory-label.d.ts +58 -58
  97. package/lib/victory-portal/portal-context.d.ts +9 -11
  98. package/lib/victory-portal/portal-context.js +1 -1
  99. package/lib/victory-portal/portal.d.ts +9 -20
  100. package/lib/victory-portal/portal.js +7 -80
  101. package/lib/victory-portal/victory-portal.d.ts +9 -26
  102. package/lib/victory-portal/victory-portal.js +27 -99
  103. package/lib/victory-primitives/arc.d.ts +14 -14
  104. package/lib/victory-primitives/background.d.ts +13 -13
  105. package/lib/victory-primitives/border.d.ts +10 -10
  106. package/lib/victory-primitives/circle.d.ts +3 -3
  107. package/lib/victory-primitives/clip-path.d.ts +7 -7
  108. package/lib/victory-primitives/index.d.ts +14 -14
  109. package/lib/victory-primitives/line-segment.d.ts +11 -11
  110. package/lib/victory-primitives/line.d.ts +3 -3
  111. package/lib/victory-primitives/path.d.ts +3 -3
  112. package/lib/victory-primitives/point.d.ts +13 -13
  113. package/lib/victory-primitives/rect.d.ts +3 -3
  114. package/lib/victory-primitives/text.d.ts +8 -8
  115. package/lib/victory-primitives/tspan.d.ts +3 -3
  116. package/lib/victory-primitives/types.d.ts +7 -7
  117. package/lib/victory-primitives/whisker.d.ts +15 -15
  118. package/lib/victory-theme/grayscale.d.ts +2 -2
  119. package/lib/victory-theme/material.d.ts +2 -2
  120. package/lib/victory-theme/types.d.ts +238 -238
  121. package/lib/victory-theme/victory-theme.d.ts +5 -5
  122. package/lib/victory-transition/victory-transition.d.ts +53 -53
  123. package/lib/victory-transition/victory-transition.js +1 -3
  124. package/lib/victory-util/add-events.d.ts +126 -126
  125. package/lib/victory-util/add-events.js +12 -16
  126. package/lib/victory-util/axis.d.ts +50 -50
  127. package/lib/victory-util/axis.js +9 -15
  128. package/lib/victory-util/collection.d.ts +8 -8
  129. package/lib/victory-util/common-props.d.ts +79 -79
  130. package/lib/victory-util/data.d.ts +74 -74
  131. package/lib/victory-util/data.js +3 -9
  132. package/lib/victory-util/default-transitions.d.ts +4 -4
  133. package/lib/victory-util/domain.d.ts +90 -90
  134. package/lib/victory-util/domain.js +5 -11
  135. package/lib/victory-util/events.d.ts +64 -64
  136. package/lib/victory-util/events.js +23 -23
  137. package/lib/victory-util/helpers.d.ts +91 -73
  138. package/lib/victory-util/helpers.js +45 -10
  139. package/lib/victory-util/hooks/index.d.ts +2 -2
  140. package/lib/victory-util/hooks/use-animation-state.d.ts +21 -21
  141. package/lib/victory-util/hooks/use-animation-state.js +5 -5
  142. package/lib/victory-util/hooks/use-previous-props.d.ts +1 -1
  143. package/lib/victory-util/immutable.d.ts +11 -11
  144. package/lib/victory-util/index.d.ts +27 -26
  145. package/lib/victory-util/index.js +14 -0
  146. package/lib/victory-util/label-helpers.d.ts +26 -26
  147. package/lib/victory-util/line-helpers.d.ts +4 -4
  148. package/lib/victory-util/log.d.ts +1 -1
  149. package/lib/victory-util/merge-refs.d.ts +5 -0
  150. package/lib/victory-util/merge-refs.js +18 -0
  151. package/lib/victory-util/point-path-helpers.d.ts +9 -9
  152. package/lib/victory-util/scale.d.ts +9 -9
  153. package/lib/victory-util/scale.js +3 -7
  154. package/lib/victory-util/selection.d.ts +28 -28
  155. package/lib/victory-util/style.d.ts +18 -18
  156. package/lib/victory-util/textsize.d.ts +35 -35
  157. package/lib/victory-util/timer-context.d.ts +11 -11
  158. package/lib/victory-util/timer.d.ts +16 -16
  159. package/lib/victory-util/transitions.d.ts +48 -48
  160. package/lib/victory-util/transitions.js +1 -3
  161. package/lib/victory-util/type-helpers.d.ts +9 -9
  162. package/lib/victory-util/user-props.d.ts +26 -26
  163. package/lib/victory-util/wrapper.d.ts +37 -37
  164. package/lib/victory-util/wrapper.js +7 -13
  165. package/package.json +5 -27
  166. package/src/types/prop-types.ts +7 -0
  167. package/src/victory-accessible-group/victory-accessible-group.tsx +30 -33
  168. package/src/victory-animation/victory-animation.tsx +110 -141
  169. package/src/victory-container/victory-container.tsx +173 -195
  170. package/src/victory-portal/portal-context.ts +5 -4
  171. package/src/victory-portal/portal.tsx +5 -43
  172. package/src/victory-portal/victory-portal.tsx +34 -71
  173. package/src/victory-transition/victory-transition.tsx +2 -2
  174. package/src/victory-util/add-events.tsx +7 -15
  175. package/src/victory-util/axis.tsx +9 -20
  176. package/src/victory-util/data.ts +5 -6
  177. package/src/victory-util/domain.ts +6 -13
  178. package/src/victory-util/events.ts +18 -22
  179. package/src/victory-util/helpers.ts +39 -3
  180. package/src/victory-util/hooks/use-animation-state.ts +4 -4
  181. package/src/victory-util/index.ts +1 -0
  182. package/src/victory-util/merge-refs.ts +13 -0
  183. package/src/victory-util/scale.ts +6 -6
  184. package/src/victory-util/transitions.ts +2 -2
  185. package/src/victory-util/wrapper.tsx +8 -17
  186. package/LICENSE.txt +0 -30
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # victory-core
2
2
 
3
+ ## 36.9.2-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 7da790934: Replace lodash keys with native code
8
+ - 3f2da66e3: Refactor victory-accessible-group to a function component
9
+ - c13308624: Convert victory-animation to function component
10
+ - 7efd582cc: Replace lodash array utils with native code
11
+ - 9cdaf2c08: Replace lodash values and mapValues with native code
12
+ - f6f7cc515: Replace lodash isNil and isNan with native code
13
+ - 6e34169a5: Replace lodash isFunction with native code
14
+ - victory-vendor@36.9.2-next.1
15
+
3
16
  ## 36.9.1
4
17
 
5
18
  ## 36.9.0