victory-core 36.7.0 → 36.8.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 (149) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/victory-core.js +366 -286
  3. package/dist/victory-core.min.js +1 -1
  4. package/es/victory-label/victory-label.js +11 -11
  5. package/es/victory-primitives/arc.d.ts +0 -5
  6. package/es/victory-primitives/arc.js +7 -7
  7. package/es/victory-primitives/background.d.ts +0 -6
  8. package/es/victory-primitives/background.js +8 -8
  9. package/es/victory-primitives/border.d.ts +0 -5
  10. package/es/victory-primitives/border.js +7 -7
  11. package/es/victory-primitives/circle.d.ts +2 -2
  12. package/es/victory-primitives/circle.js +30 -16
  13. package/es/victory-primitives/clip-path.d.ts +1 -8
  14. package/es/victory-primitives/clip-path.js +4 -10
  15. package/es/victory-primitives/line-segment.d.ts +0 -5
  16. package/es/victory-primitives/line-segment.js +7 -7
  17. package/es/victory-primitives/line.d.ts +2 -2
  18. package/es/victory-primitives/line.js +30 -16
  19. package/es/victory-primitives/path.d.ts +1 -1
  20. package/es/victory-primitives/path.js +24 -12
  21. package/es/victory-primitives/point.d.ts +0 -5
  22. package/es/victory-primitives/point.js +7 -7
  23. package/es/victory-primitives/rect.d.ts +2 -2
  24. package/es/victory-primitives/rect.js +30 -16
  25. package/es/victory-primitives/text.d.ts +1 -9
  26. package/es/victory-primitives/text.js +23 -13
  27. package/es/victory-primitives/tspan.js +30 -5
  28. package/es/victory-primitives/whisker.d.ts +0 -6
  29. package/es/victory-primitives/whisker.js +8 -8
  30. package/es/victory-util/helpers.js +4 -3
  31. package/es/victory-util/textsize.js +7 -0
  32. package/es/victory-util/user-props.js +2 -16
  33. package/lib/victory-label/victory-label.js +12 -11
  34. package/lib/victory-primitives/arc.d.ts +0 -5
  35. package/lib/victory-primitives/arc.js +8 -7
  36. package/lib/victory-primitives/background.d.ts +0 -6
  37. package/lib/victory-primitives/background.js +9 -8
  38. package/lib/victory-primitives/border.d.ts +0 -5
  39. package/lib/victory-primitives/border.js +8 -7
  40. package/lib/victory-primitives/circle.d.ts +2 -2
  41. package/lib/victory-primitives/circle.js +34 -18
  42. package/lib/victory-primitives/clip-path.d.ts +1 -8
  43. package/lib/victory-primitives/clip-path.js +5 -12
  44. package/lib/victory-primitives/line-segment.d.ts +0 -5
  45. package/lib/victory-primitives/line-segment.js +8 -7
  46. package/lib/victory-primitives/line.d.ts +2 -2
  47. package/lib/victory-primitives/line.js +34 -18
  48. package/lib/victory-primitives/path.d.ts +1 -1
  49. package/lib/victory-primitives/path.js +25 -12
  50. package/lib/victory-primitives/point.d.ts +0 -5
  51. package/lib/victory-primitives/point.js +8 -7
  52. package/lib/victory-primitives/rect.d.ts +2 -2
  53. package/lib/victory-primitives/rect.js +34 -18
  54. package/lib/victory-primitives/text.d.ts +1 -9
  55. package/lib/victory-primitives/text.js +24 -14
  56. package/lib/victory-primitives/tspan.js +31 -5
  57. package/lib/victory-primitives/whisker.d.ts +0 -6
  58. package/lib/victory-primitives/whisker.js +9 -8
  59. package/lib/victory-util/helpers.js +8 -3
  60. package/lib/victory-util/textsize.js +7 -0
  61. package/lib/victory-util/user-props.js +3 -16
  62. package/package.json +2 -2
  63. package/src/victory-label/victory-label.tsx +10 -11
  64. package/src/victory-primitives/arc.tsx +7 -7
  65. package/src/victory-primitives/background.tsx +8 -8
  66. package/src/victory-primitives/border.tsx +7 -7
  67. package/src/victory-primitives/circle.tsx +24 -14
  68. package/src/victory-primitives/clip-path.tsx +1 -13
  69. package/src/victory-primitives/line-segment.tsx +7 -7
  70. package/src/victory-primitives/line.tsx +25 -14
  71. package/src/victory-primitives/path.tsx +23 -17
  72. package/src/victory-primitives/point.tsx +7 -7
  73. package/src/victory-primitives/rect.tsx +25 -14
  74. package/src/victory-primitives/text.tsx +13 -10
  75. package/src/victory-primitives/tspan.tsx +15 -4
  76. package/src/victory-primitives/whisker.tsx +8 -8
  77. package/src/victory-util/helpers.ts +5 -3
  78. package/src/victory-util/textsize.ts +5 -1
  79. package/src/victory-util/user-props.ts +2 -14
  80. package/es/v37/clone.d.ts +0 -23
  81. package/es/v37/clone.js +0 -32
  82. package/es/v37/index.d.ts +0 -5
  83. package/es/v37/index.js +0 -4
  84. package/es/v37/victory-state/defaults.d.ts +0 -3
  85. package/es/v37/victory-state/defaults.js +0 -2
  86. package/es/v37/victory-state/helpers/get-axis-data.d.ts +0 -3
  87. package/es/v37/victory-state/helpers/get-axis-data.js +0 -14
  88. package/es/v37/victory-state/helpers/get-data.d.ts +0 -15
  89. package/es/v37/victory-state/helpers/get-data.js +0 -87
  90. package/es/v37/victory-state/helpers/get-domain.d.ts +0 -6
  91. package/es/v37/victory-state/helpers/get-domain.js +0 -67
  92. package/es/v37/victory-state/helpers/get-range.d.ts +0 -6
  93. package/es/v37/victory-state/helpers/get-range.js +0 -36
  94. package/es/v37/victory-state/helpers/get-scale.d.ts +0 -6
  95. package/es/v37/victory-state/helpers/get-scale.js +0 -58
  96. package/es/v37/victory-state/index.d.ts +0 -4
  97. package/es/v37/victory-state/index.js +0 -3
  98. package/es/v37/victory-state/types.d.ts +0 -24
  99. package/es/v37/victory-state/types.js +0 -1
  100. package/es/v37/victory-state/victory-provider.d.ts +0 -21
  101. package/es/v37/victory-state/victory-provider.js +0 -148
  102. package/es/v37/victory-state/with-victory-provider.d.ts +0 -7
  103. package/es/v37/victory-state/with-victory-provider.js +0 -43
  104. package/es/v37/with-container.d.ts +0 -5
  105. package/es/v37/with-container.js +0 -32
  106. package/es/v37/with-normalized-props.d.ts +0 -17
  107. package/es/v37/with-normalized-props.js +0 -18
  108. package/lib/v37/clone.d.ts +0 -23
  109. package/lib/v37/clone.js +0 -43
  110. package/lib/v37/index.d.ts +0 -5
  111. package/lib/v37/index.js +0 -57
  112. package/lib/v37/victory-state/defaults.d.ts +0 -3
  113. package/lib/v37/victory-state/defaults.js +0 -10
  114. package/lib/v37/victory-state/helpers/get-axis-data.d.ts +0 -3
  115. package/lib/v37/victory-state/helpers/get-axis-data.js +0 -22
  116. package/lib/v37/victory-state/helpers/get-data.d.ts +0 -15
  117. package/lib/v37/victory-state/helpers/get-data.js +0 -98
  118. package/lib/v37/victory-state/helpers/get-domain.d.ts +0 -6
  119. package/lib/v37/victory-state/helpers/get-domain.js +0 -81
  120. package/lib/v37/victory-state/helpers/get-range.d.ts +0 -6
  121. package/lib/v37/victory-state/helpers/get-range.js +0 -45
  122. package/lib/v37/victory-state/helpers/get-scale.d.ts +0 -6
  123. package/lib/v37/victory-state/helpers/get-scale.js +0 -73
  124. package/lib/v37/victory-state/index.d.ts +0 -4
  125. package/lib/v37/victory-state/index.js +0 -44
  126. package/lib/v37/victory-state/types.d.ts +0 -24
  127. package/lib/v37/victory-state/types.js +0 -1
  128. package/lib/v37/victory-state/victory-provider.d.ts +0 -21
  129. package/lib/v37/victory-state/victory-provider.js +0 -175
  130. package/lib/v37/victory-state/with-victory-provider.d.ts +0 -7
  131. package/lib/v37/victory-state/with-victory-provider.js +0 -56
  132. package/lib/v37/with-container.d.ts +0 -5
  133. package/lib/v37/with-container.js +0 -45
  134. package/lib/v37/with-normalized-props.d.ts +0 -17
  135. package/lib/v37/with-normalized-props.js +0 -29
  136. package/src/v37/clone.tsx +0 -30
  137. package/src/v37/index.tsx +0 -4
  138. package/src/v37/victory-state/defaults.ts +0 -2
  139. package/src/v37/victory-state/helpers/get-axis-data.ts +0 -14
  140. package/src/v37/victory-state/helpers/get-data.ts +0 -78
  141. package/src/v37/victory-state/helpers/get-domain.ts +0 -62
  142. package/src/v37/victory-state/helpers/get-range.ts +0 -39
  143. package/src/v37/victory-state/helpers/get-scale.ts +0 -67
  144. package/src/v37/victory-state/index.ts +0 -3
  145. package/src/v37/victory-state/types.ts +0 -32
  146. package/src/v37/victory-state/victory-provider.tsx +0 -152
  147. package/src/v37/victory-state/with-victory-provider.tsx +0 -53
  148. package/src/v37/with-container.tsx +0 -38
  149. package/src/v37/with-normalized-props.tsx +0 -43
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # victory-core
2
2
 
3
+ ## 36.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Correctly type props in Victory Primitives ([#2695](https://github.com/FormidableLabs/victory/pull/2695))
8
+
9
+ ## 36.8.0
10
+
11
+ ### Minor Changes
12
+
13
+ - Remove v37 experimental code ([#2697](https://github.com/FormidableLabs/victory/pull/2697))
14
+
15
+ ### Patch Changes
16
+
17
+ - Remove usage of defaultProps from components ([#2679](https://github.com/FormidableLabs/victory/pull/2679))
18
+
19
+ * Fixed issue where VictoryChart would throw an unhandled exception when passed non-element children (fixes [#2391](https://github.com/FormidableLabs/victory/issues/2391)) ([#2536](https://github.com/FormidableLabs/victory/pull/2536))
20
+
21
+ - Fix text label measurements after SSR hydration mismatch ([#2626](https://github.com/FormidableLabs/victory/pull/2626))
22
+
3
23
  ## 36.7.0
4
24
 
5
25
  ### Minor Changes