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.
Files changed (228) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/victory-core.js +2053 -4568
  3. package/dist/victory-core.min.js +1 -1
  4. package/es/index.d.ts +0 -1
  5. package/es/index.js +1 -3
  6. package/es/types/callbacks.d.ts +0 -1
  7. package/es/types/callbacks.js +1 -2
  8. package/es/types/prop-types.d.ts +3 -3
  9. package/es/types/prop-types.js +1 -2
  10. package/es/v37/clone.d.ts +23 -0
  11. package/es/v37/clone.js +32 -0
  12. package/es/v37/index.d.ts +5 -0
  13. package/es/v37/index.js +4 -0
  14. package/es/{victory-state → v37/victory-state}/defaults.d.ts +0 -0
  15. package/es/v37/victory-state/defaults.js +2 -0
  16. package/es/v37/victory-state/helpers/get-axis-data.d.ts +3 -0
  17. package/es/{victory-state → v37/victory-state}/helpers/get-axis-data.js +2 -3
  18. package/es/{victory-state → v37/victory-state}/helpers/get-data.d.ts +1 -1
  19. package/es/{victory-state → v37/victory-state}/helpers/get-data.js +2 -3
  20. package/{lib → es/v37}/victory-state/helpers/get-domain.d.ts +1 -1
  21. package/es/{victory-state → v37/victory-state}/helpers/get-domain.js +2 -3
  22. package/{lib → es/v37}/victory-state/helpers/get-range.d.ts +1 -1
  23. package/es/{victory-state → v37/victory-state}/helpers/get-range.js +3 -4
  24. package/{lib → es/v37}/victory-state/helpers/get-scale.d.ts +1 -1
  25. package/es/{victory-state → v37/victory-state}/helpers/get-scale.js +3 -4
  26. package/es/v37/victory-state/index.d.ts +4 -0
  27. package/es/{victory-state → v37/victory-state}/index.js +1 -1
  28. package/{lib → es/v37}/victory-state/types.d.ts +2 -2
  29. package/es/v37/victory-state/types.js +1 -0
  30. package/{lib → es/v37}/victory-state/victory-provider.d.ts +5 -4
  31. package/es/{victory-state → v37/victory-state}/victory-provider.js +59 -29
  32. package/es/v37/victory-state/with-victory-provider.d.ts +7 -0
  33. package/es/v37/victory-state/with-victory-provider.js +43 -0
  34. package/es/{victory-util → v37}/with-container.d.ts +2 -2
  35. package/es/{victory-util → v37}/with-container.js +2 -3
  36. package/es/v37/with-normalized-props.d.ts +17 -0
  37. package/es/v37/with-normalized-props.js +18 -0
  38. package/es/victory-accessible-group/victory-accessible-group.js +1 -2
  39. package/es/victory-animation/util.js +1 -2
  40. package/es/victory-animation/victory-animation.js +1 -2
  41. package/es/victory-clip-container/victory-clip-container.js +1 -2
  42. package/es/victory-container/victory-container.js +1 -2
  43. package/es/victory-label/victory-label.d.ts +5 -4
  44. package/es/victory-label/victory-label.js +1 -2
  45. package/es/victory-portal/portal-context.js +1 -2
  46. package/es/victory-portal/portal.js +1 -2
  47. package/es/victory-portal/victory-portal.js +1 -2
  48. package/es/victory-primitives/arc.js +1 -2
  49. package/es/victory-primitives/background.js +1 -2
  50. package/es/victory-primitives/border.js +1 -2
  51. package/es/victory-primitives/circle.js +1 -2
  52. package/es/victory-primitives/clip-path.js +1 -2
  53. package/es/victory-primitives/index.js +1 -2
  54. package/es/victory-primitives/line-segment.js +1 -2
  55. package/es/victory-primitives/line.js +1 -2
  56. package/es/victory-primitives/path.js +1 -2
  57. package/es/victory-primitives/point.js +1 -2
  58. package/es/victory-primitives/rect.js +1 -2
  59. package/es/victory-primitives/text.js +1 -2
  60. package/es/victory-primitives/tspan.js +1 -2
  61. package/es/victory-primitives/types.js +1 -2
  62. package/es/victory-primitives/whisker.js +1 -2
  63. package/es/victory-theme/grayscale.js +1 -2
  64. package/es/victory-theme/material.js +1 -2
  65. package/es/victory-theme/types.js +1 -2
  66. package/es/victory-theme/victory-theme.js +1 -2
  67. package/es/victory-transition/victory-transition.js +1 -2
  68. package/es/victory-util/add-events.js +1 -2
  69. package/es/victory-util/axis.js +1 -2
  70. package/es/victory-util/collection.js +1 -2
  71. package/es/victory-util/common-props.js +1 -2
  72. package/es/victory-util/data.js +1 -2
  73. package/es/victory-util/default-transitions.js +1 -2
  74. package/es/victory-util/domain.js +1 -2
  75. package/es/victory-util/events.js +1 -2
  76. package/es/victory-util/helpers.d.ts +3 -2
  77. package/es/victory-util/helpers.js +1 -2
  78. package/es/victory-util/hooks/index.js +1 -2
  79. package/es/victory-util/hooks/use-animation-state.js +1 -2
  80. package/es/victory-util/hooks/use-previous-props.js +1 -2
  81. package/es/victory-util/immutable-types.d.ts +2523 -0
  82. package/es/victory-util/immutable.d.ts +1 -1
  83. package/es/victory-util/immutable.js +1 -2
  84. package/es/victory-util/index.d.ts +0 -1
  85. package/es/victory-util/index.js +1 -3
  86. package/es/victory-util/label-helpers.js +1 -2
  87. package/es/victory-util/line-helpers.js +1 -2
  88. package/es/victory-util/log.js +1 -2
  89. package/es/victory-util/point-path-helpers.js +1 -2
  90. package/es/victory-util/prop-types.js +1 -2
  91. package/es/victory-util/scale.js +1 -2
  92. package/es/victory-util/selection.js +1 -2
  93. package/es/victory-util/style.js +1 -2
  94. package/es/victory-util/textsize.js +1 -2
  95. package/es/victory-util/timer-context.js +1 -2
  96. package/es/victory-util/timer.js +1 -2
  97. package/es/victory-util/transitions.js +1 -2
  98. package/es/victory-util/type-helpers.js +1 -2
  99. package/es/victory-util/user-props.js +1 -2
  100. package/es/victory-util/wrapper.js +1 -2
  101. package/lib/index.d.ts +0 -1
  102. package/lib/index.js +1 -16
  103. package/lib/types/callbacks.d.ts +0 -1
  104. package/lib/types/callbacks.js +1 -2
  105. package/lib/types/prop-types.d.ts +3 -3
  106. package/lib/types/prop-types.js +1 -2
  107. package/lib/v37/clone.d.ts +23 -0
  108. package/lib/v37/clone.js +43 -0
  109. package/lib/v37/index.d.ts +5 -0
  110. package/lib/v37/index.js +57 -0
  111. package/lib/{victory-state → v37/victory-state}/defaults.d.ts +0 -0
  112. package/lib/{victory-state → v37/victory-state}/defaults.js +1 -2
  113. package/lib/v37/victory-state/helpers/get-axis-data.d.ts +3 -0
  114. package/lib/{victory-state → v37/victory-state}/helpers/get-axis-data.js +2 -3
  115. package/lib/{victory-state → v37/victory-state}/helpers/get-data.d.ts +1 -1
  116. package/lib/{victory-state → v37/victory-state}/helpers/get-data.js +2 -3
  117. package/{es → lib/v37}/victory-state/helpers/get-domain.d.ts +1 -1
  118. package/lib/{victory-state → v37/victory-state}/helpers/get-domain.js +2 -3
  119. package/{es → lib/v37}/victory-state/helpers/get-range.d.ts +1 -1
  120. package/lib/{victory-state → v37/victory-state}/helpers/get-range.js +3 -4
  121. package/{es → lib/v37}/victory-state/helpers/get-scale.d.ts +1 -1
  122. package/lib/{victory-state → v37/victory-state}/helpers/get-scale.js +3 -4
  123. package/lib/v37/victory-state/index.d.ts +4 -0
  124. package/lib/{victory-state → v37/victory-state}/index.js +13 -1
  125. package/{es → lib/v37}/victory-state/types.d.ts +2 -2
  126. package/lib/v37/victory-state/types.js +1 -0
  127. package/{es → lib/v37}/victory-state/victory-provider.d.ts +5 -4
  128. package/lib/{victory-state → v37/victory-state}/victory-provider.js +61 -30
  129. package/lib/v37/victory-state/with-victory-provider.d.ts +7 -0
  130. package/lib/v37/victory-state/with-victory-provider.js +56 -0
  131. package/lib/{victory-util → v37}/with-container.d.ts +2 -2
  132. package/lib/{victory-util → v37}/with-container.js +2 -3
  133. package/lib/v37/with-normalized-props.d.ts +17 -0
  134. package/lib/v37/with-normalized-props.js +29 -0
  135. package/lib/victory-accessible-group/victory-accessible-group.js +1 -2
  136. package/lib/victory-animation/util.js +1 -2
  137. package/lib/victory-animation/victory-animation.js +1 -2
  138. package/lib/victory-clip-container/victory-clip-container.js +1 -2
  139. package/lib/victory-container/victory-container.js +1 -2
  140. package/lib/victory-label/victory-label.d.ts +5 -4
  141. package/lib/victory-label/victory-label.js +1 -2
  142. package/lib/victory-portal/portal-context.js +1 -2
  143. package/lib/victory-portal/portal.js +1 -2
  144. package/lib/victory-portal/victory-portal.js +1 -2
  145. package/lib/victory-primitives/arc.js +1 -2
  146. package/lib/victory-primitives/background.js +1 -2
  147. package/lib/victory-primitives/border.js +1 -2
  148. package/lib/victory-primitives/circle.js +1 -2
  149. package/lib/victory-primitives/clip-path.js +1 -2
  150. package/lib/victory-primitives/index.js +1 -2
  151. package/lib/victory-primitives/line-segment.js +1 -2
  152. package/lib/victory-primitives/line.js +1 -2
  153. package/lib/victory-primitives/path.js +1 -2
  154. package/lib/victory-primitives/point.js +1 -2
  155. package/lib/victory-primitives/rect.js +1 -2
  156. package/lib/victory-primitives/text.js +1 -2
  157. package/lib/victory-primitives/tspan.js +1 -2
  158. package/lib/victory-primitives/types.js +1 -2
  159. package/lib/victory-primitives/whisker.js +1 -2
  160. package/lib/victory-theme/grayscale.js +1 -2
  161. package/lib/victory-theme/material.js +1 -2
  162. package/lib/victory-theme/types.js +1 -2
  163. package/lib/victory-theme/victory-theme.js +1 -2
  164. package/lib/victory-transition/victory-transition.js +1 -2
  165. package/lib/victory-util/add-events.js +1 -2
  166. package/lib/victory-util/axis.js +1 -2
  167. package/lib/victory-util/collection.js +1 -2
  168. package/lib/victory-util/common-props.js +1 -2
  169. package/lib/victory-util/data.js +1 -2
  170. package/lib/victory-util/default-transitions.js +1 -2
  171. package/lib/victory-util/domain.js +1 -2
  172. package/lib/victory-util/events.js +1 -2
  173. package/lib/victory-util/helpers.d.ts +3 -2
  174. package/lib/victory-util/helpers.js +1 -2
  175. package/lib/victory-util/hooks/index.js +1 -2
  176. package/lib/victory-util/hooks/use-animation-state.js +1 -2
  177. package/lib/victory-util/hooks/use-previous-props.js +1 -2
  178. package/lib/victory-util/immutable-types.d.ts +2523 -0
  179. package/lib/victory-util/immutable.d.ts +1 -1
  180. package/lib/victory-util/immutable.js +1 -2
  181. package/lib/victory-util/index.d.ts +0 -1
  182. package/lib/victory-util/index.js +1 -16
  183. package/lib/victory-util/label-helpers.js +1 -2
  184. package/lib/victory-util/line-helpers.js +1 -2
  185. package/lib/victory-util/log.js +1 -2
  186. package/lib/victory-util/point-path-helpers.js +1 -2
  187. package/lib/victory-util/prop-types.js +1 -2
  188. package/lib/victory-util/scale.js +1 -2
  189. package/lib/victory-util/selection.js +1 -2
  190. package/lib/victory-util/style.js +1 -2
  191. package/lib/victory-util/textsize.js +1 -2
  192. package/lib/victory-util/timer-context.js +1 -2
  193. package/lib/victory-util/timer.js +1 -2
  194. package/lib/victory-util/transitions.js +1 -2
  195. package/lib/victory-util/type-helpers.js +1 -2
  196. package/lib/victory-util/user-props.js +1 -2
  197. package/lib/victory-util/wrapper.js +1 -2
  198. package/package.json +12 -4
  199. package/src/index.ts +0 -1
  200. package/src/types/callbacks.ts +0 -2
  201. package/src/types/prop-types.ts +4 -3
  202. package/src/v37/clone.tsx +30 -0
  203. package/src/v37/index.tsx +4 -0
  204. package/src/{victory-state → v37/victory-state}/defaults.ts +0 -0
  205. package/src/{victory-state → v37/victory-state}/helpers/get-axis-data.ts +2 -2
  206. package/src/{victory-state → v37/victory-state}/helpers/get-data.ts +3 -3
  207. package/src/{victory-state → v37/victory-state}/helpers/get-domain.ts +2 -2
  208. package/src/{victory-state → v37/victory-state}/helpers/get-range.ts +3 -3
  209. package/src/{victory-state → v37/victory-state}/helpers/get-scale.ts +6 -3
  210. package/src/{victory-state → v37/victory-state}/index.ts +1 -0
  211. package/src/{victory-state → v37/victory-state}/types.ts +2 -2
  212. package/src/{victory-state → v37/victory-state}/victory-provider.tsx +61 -27
  213. package/src/v37/victory-state/with-victory-provider.tsx +53 -0
  214. package/src/{victory-util → v37}/with-container.tsx +2 -2
  215. package/src/v37/with-normalized-props.tsx +43 -0
  216. package/src/victory-label/victory-label.tsx +4 -4
  217. package/src/victory-util/data.ts +1 -1
  218. package/src/victory-util/helpers.ts +3 -2
  219. package/src/victory-util/immutable-types.d.ts +2523 -0
  220. package/src/victory-util/immutable.ts +1 -1
  221. package/src/victory-util/index.ts +0 -1
  222. package/es/victory-state/defaults.js +0 -3
  223. package/es/victory-state/helpers/get-axis-data.d.ts +0 -3
  224. package/es/victory-state/index.d.ts +0 -3
  225. package/es/victory-state/types.js +0 -2
  226. package/lib/victory-state/helpers/get-axis-data.d.ts +0 -3
  227. package/lib/victory-state/index.d.ts +0 -3
  228. package/lib/victory-state/types.js +0 -2

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.