victory-core 36.6.3 → 36.6.6

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 (107) hide show
  1. package/CHANGELOG.md +25 -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 -2
  6. package/es/types/callbacks.d.ts +0 -1
  7. package/es/types/prop-types.d.ts +3 -3
  8. package/es/v37/clone.d.ts +23 -0
  9. package/es/v37/clone.js +32 -0
  10. package/es/v37/index.d.ts +5 -0
  11. package/es/v37/index.js +4 -0
  12. package/es/{victory-state → v37/victory-state}/defaults.d.ts +0 -0
  13. package/es/{victory-state → v37/victory-state}/defaults.js +0 -0
  14. package/es/v37/victory-state/helpers/get-axis-data.d.ts +3 -0
  15. package/es/{victory-state → v37/victory-state}/helpers/get-axis-data.js +1 -1
  16. package/es/{victory-state → v37/victory-state}/helpers/get-data.d.ts +1 -1
  17. package/es/{victory-state → v37/victory-state}/helpers/get-data.js +1 -1
  18. package/{lib → es/v37}/victory-state/helpers/get-domain.d.ts +1 -1
  19. package/es/{victory-state → v37/victory-state}/helpers/get-domain.js +1 -1
  20. package/{lib → es/v37}/victory-state/helpers/get-range.d.ts +1 -1
  21. package/es/{victory-state → v37/victory-state}/helpers/get-range.js +2 -2
  22. package/{lib → es/v37}/victory-state/helpers/get-scale.d.ts +1 -1
  23. package/es/{victory-state → v37/victory-state}/helpers/get-scale.js +2 -2
  24. package/es/v37/victory-state/index.d.ts +4 -0
  25. package/es/{victory-state/index.d.ts → v37/victory-state/index.js} +1 -1
  26. package/{lib → es/v37}/victory-state/types.d.ts +2 -2
  27. package/es/{victory-state → v37/victory-state}/types.js +0 -0
  28. package/{lib → es/v37}/victory-state/victory-provider.d.ts +5 -4
  29. package/es/{victory-state → v37/victory-state}/victory-provider.js +58 -27
  30. package/es/v37/victory-state/with-victory-provider.d.ts +7 -0
  31. package/es/v37/victory-state/with-victory-provider.js +43 -0
  32. package/es/{victory-util → v37}/with-container.d.ts +2 -2
  33. package/es/{victory-util → v37}/with-container.js +1 -1
  34. package/es/v37/with-normalized-props.d.ts +17 -0
  35. package/es/v37/with-normalized-props.js +18 -0
  36. package/es/victory-label/victory-label.d.ts +5 -4
  37. package/es/victory-util/helpers.d.ts +3 -2
  38. package/es/victory-util/immutable-types.d.ts +2523 -0
  39. package/es/victory-util/immutable.d.ts +1 -1
  40. package/es/victory-util/index.d.ts +0 -1
  41. package/es/victory-util/index.js +1 -2
  42. package/lib/index.d.ts +0 -1
  43. package/lib/index.js +0 -14
  44. package/lib/types/callbacks.d.ts +0 -1
  45. package/lib/types/prop-types.d.ts +3 -3
  46. package/lib/v37/clone.d.ts +23 -0
  47. package/lib/v37/clone.js +43 -0
  48. package/lib/v37/index.d.ts +5 -0
  49. package/lib/v37/index.js +57 -0
  50. package/lib/{victory-state → v37/victory-state}/defaults.d.ts +0 -0
  51. package/lib/{victory-state → v37/victory-state}/defaults.js +0 -0
  52. package/lib/v37/victory-state/helpers/get-axis-data.d.ts +3 -0
  53. package/lib/{victory-state → v37/victory-state}/helpers/get-axis-data.js +1 -1
  54. package/lib/{victory-state → v37/victory-state}/helpers/get-data.d.ts +1 -1
  55. package/lib/{victory-state → v37/victory-state}/helpers/get-data.js +1 -1
  56. package/{es → lib/v37}/victory-state/helpers/get-domain.d.ts +1 -1
  57. package/lib/{victory-state → v37/victory-state}/helpers/get-domain.js +1 -1
  58. package/{es → lib/v37}/victory-state/helpers/get-range.d.ts +1 -1
  59. package/lib/{victory-state → v37/victory-state}/helpers/get-range.js +2 -2
  60. package/{es → lib/v37}/victory-state/helpers/get-scale.d.ts +1 -1
  61. package/lib/{victory-state → v37/victory-state}/helpers/get-scale.js +2 -2
  62. package/lib/v37/victory-state/index.d.ts +4 -0
  63. package/lib/{victory-state → v37/victory-state}/index.js +13 -0
  64. package/{es → lib/v37}/victory-state/types.d.ts +2 -2
  65. package/lib/{victory-state → v37/victory-state}/types.js +0 -0
  66. package/{es → lib/v37}/victory-state/victory-provider.d.ts +5 -4
  67. package/lib/{victory-state → v37/victory-state}/victory-provider.js +60 -28
  68. package/lib/v37/victory-state/with-victory-provider.d.ts +7 -0
  69. package/lib/v37/victory-state/with-victory-provider.js +56 -0
  70. package/lib/{victory-util → v37}/with-container.d.ts +2 -2
  71. package/lib/{victory-util → v37}/with-container.js +1 -1
  72. package/lib/v37/with-normalized-props.d.ts +17 -0
  73. package/lib/v37/with-normalized-props.js +29 -0
  74. package/lib/victory-label/victory-label.d.ts +5 -4
  75. package/lib/victory-util/helpers.d.ts +3 -2
  76. package/lib/victory-util/immutable-types.d.ts +2523 -0
  77. package/lib/victory-util/immutable.d.ts +1 -1
  78. package/lib/victory-util/index.d.ts +0 -1
  79. package/lib/victory-util/index.js +0 -14
  80. package/package.json +2 -2
  81. package/src/index.ts +0 -1
  82. package/src/types/callbacks.ts +0 -2
  83. package/src/types/prop-types.ts +4 -3
  84. package/src/v37/clone.tsx +30 -0
  85. package/src/v37/index.tsx +4 -0
  86. package/src/{victory-state → v37/victory-state}/defaults.ts +0 -0
  87. package/src/{victory-state → v37/victory-state}/helpers/get-axis-data.ts +2 -2
  88. package/src/{victory-state → v37/victory-state}/helpers/get-data.ts +3 -3
  89. package/src/{victory-state → v37/victory-state}/helpers/get-domain.ts +2 -2
  90. package/src/{victory-state → v37/victory-state}/helpers/get-range.ts +3 -3
  91. package/src/{victory-state → v37/victory-state}/helpers/get-scale.ts +6 -3
  92. package/src/{victory-state → v37/victory-state}/index.ts +1 -0
  93. package/src/{victory-state → v37/victory-state}/types.ts +2 -2
  94. package/src/{victory-state → v37/victory-state}/victory-provider.tsx +61 -27
  95. package/src/v37/victory-state/with-victory-provider.tsx +53 -0
  96. package/src/{victory-util → v37}/with-container.tsx +2 -2
  97. package/src/v37/with-normalized-props.tsx +43 -0
  98. package/src/victory-label/victory-label.tsx +4 -4
  99. package/src/victory-util/data.ts +1 -1
  100. package/src/victory-util/helpers.ts +3 -2
  101. package/src/victory-util/immutable-types.d.ts +2523 -0
  102. package/src/victory-util/immutable.ts +1 -1
  103. package/src/victory-util/index.ts +0 -1
  104. package/es/victory-state/helpers/get-axis-data.d.ts +0 -3
  105. package/es/victory-state/index.js +0 -2
  106. package/lib/victory-state/helpers/get-axis-data.d.ts +0 -3
  107. package/lib/victory-state/index.d.ts +0 -3
@@ -1,4 +1,4 @@
1
- import type { Iterable, Record, List, Map } from "immutable";
1
+ import type { Iterable, Record, List, Map } from "./immutable-types";
2
2
 
3
3
  export const IMMUTABLE_ITERABLE = "@@__IMMUTABLE_ITERABLE__@@";
4
4
  export const IMMUTABLE_RECORD = "@@__IMMUTABLE_RECORD__@@";
@@ -25,4 +25,3 @@ export { default as TimerContext } from "./timer-context";
25
25
  export * as Transitions from "./transitions";
26
26
  export * as UserProps from "./user-props";
27
27
  export * as Wrapper from "./wrapper";
28
- export * from "./with-container";
@@ -1,3 +0,0 @@
1
- import { AxisType, Datum } from "../../types/prop-types";
2
- export declare function getAxisData(data: Datum[], axis: AxisType): any;
3
- //# sourceMappingURL=get-axis-data.d.ts.map
@@ -1,2 +0,0 @@
1
- export * from "./victory-provider";
2
- export * from "./types";
@@ -1,3 +0,0 @@
1
- import { AxisType, Datum } from "../../types/prop-types";
2
- export declare function getAxisData(data: Datum[], axis: AxisType): any;
3
- //# sourceMappingURL=get-axis-data.d.ts.map
@@ -1,3 +0,0 @@
1
- export * from "./victory-provider";
2
- export * from "./types";
3
- //# sourceMappingURL=index.d.ts.map