@pie-lib/charting 7.0.4-next.32 → 7.0.4-next.33

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 (140) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +2 -5
  2. package/dist/actions-button.js +8 -8
  3. package/dist/axes.js +35 -35
  4. package/dist/bars/common/bars.js +13 -13
  5. package/dist/chart-setup.js +19 -19
  6. package/dist/common/correctness-indicators.js +18 -18
  7. package/dist/common/drag-handle.js +20 -20
  8. package/dist/grid.js +11 -11
  9. package/dist/key-legend.js +12 -12
  10. package/dist/line/common/drag-handle.js +12 -12
  11. package/dist/line/common/line.js +10 -10
  12. package/dist/line/line-cross.js +19 -19
  13. package/dist/line/line-dot.js +10 -10
  14. package/dist/mark-label.js +8 -8
  15. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/axis/Axis.js +67 -0
  16. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/axis/AxisBottom.js +29 -0
  17. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/axis/AxisLeft.js +30 -0
  18. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/axis/AxisRenderer.js +66 -0
  19. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/axis/Ticks.js +39 -0
  20. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/constants/orientation.js +9 -0
  21. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/createPoint.js +14 -0
  22. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/getAxisRangePaddingConfig.js +13 -0
  23. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/getLabelTransform.js +16 -0
  24. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/getTickFormatter.js +8 -0
  25. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/getTickPosition.js +14 -0
  26. package/dist/node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/grids/GridColumns.js +46 -0
  27. package/dist/node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/grids/GridRows.js +46 -0
  28. package/dist/node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/utils/getScaleBandwidth.js +6 -0
  29. package/dist/node_modules/.bun/@visx_group@4.0.0_d84c32d47042070f/node_modules/@visx/group/esm/Group.js +17 -0
  30. package/dist/node_modules/.bun/@visx_point@4.0.0/node_modules/@visx/point/esm/Point.js +20 -0
  31. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/operators/align.js +1 -1
  32. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/operators/base.js +1 -1
  33. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/operators/clamp.js +1 -1
  34. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/operators/constant.js +1 -1
  35. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/operators/domain.js +1 -1
  36. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/operators/exponent.js +1 -1
  37. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/operators/interpolate.js +2 -2
  38. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/operators/nice.js +7 -7
  39. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/operators/padding.js +1 -1
  40. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/operators/range.js +1 -1
  41. package/dist/node_modules/.bun/@visx_scale@4.0.0/node_modules/@visx/scale/esm/operators/reverse.js +9 -0
  42. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/operators/round.js +2 -2
  43. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/operators/scaleOperator.js +3 -5
  44. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/operators/unknown.js +1 -1
  45. package/dist/node_modules/.bun/@visx_scale@4.0.0/node_modules/@visx/scale/esm/operators/zero.js +9 -0
  46. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/scales/band.js +2 -2
  47. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/scales/point.js +2 -2
  48. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/utils/coerceNumber.js +2 -2
  49. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/utils/createColorInterpolator.js +3 -3
  50. package/dist/node_modules/.bun/@visx_scale@4.0.0/node_modules/@visx/scale/esm/utils/getTicks.js +7 -0
  51. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/utils/isUtcScale.js +1 -1
  52. package/dist/node_modules/.bun/@visx_scale@4.0.0/node_modules/@visx/scale/esm/utils/toString.js +6 -0
  53. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/shapes/Bar.js +15 -0
  54. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/shapes/Circle.js +15 -0
  55. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/shapes/Line.js +27 -0
  56. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/shapes/LinePath.js +24 -0
  57. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/util/D3ShapeFactories.js +9 -0
  58. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/util/setNumberOrNumberAccessor.js +6 -0
  59. package/dist/node_modules/.bun/@visx_text@4.0.0_d84c32d47042070f/node_modules/@visx/text/esm/Text.js +27 -0
  60. package/dist/node_modules/.bun/@visx_text@4.0.0_d84c32d47042070f/node_modules/@visx/text/esm/hooks/useText.js +68 -0
  61. package/dist/node_modules/.bun/@visx_text@4.0.0_d84c32d47042070f/node_modules/@visx/text/esm/util/getStringWidth.js +19 -0
  62. package/dist/node_modules/.bun/@visx_text@4.0.0_d84c32d47042070f/node_modules/@visx/text/esm/util/memoize.js +13 -0
  63. package/dist/node_modules/.bun/{@visx_vendor@3.12.0 → @visx_vendor@4.0.0}/node_modules/@visx/vendor/esm/d3-interpolate.js +1 -1
  64. package/dist/node_modules/.bun/{@visx_vendor@3.12.0 → @visx_vendor@4.0.0}/node_modules/@visx/vendor/esm/d3-scale.js +1 -1
  65. package/dist/node_modules/.bun/@visx_vendor@4.0.0/node_modules/@visx/vendor/esm/d3-shape.js +8 -0
  66. package/dist/node_modules/.bun/{@visx_vendor@3.12.0 → @visx_vendor@4.0.0}/node_modules/@visx/vendor/esm/d3-time.js +1 -1
  67. package/dist/plot/common/plot.js +23 -23
  68. package/dist/plot/dot.js +8 -8
  69. package/dist/plot/line.js +10 -10
  70. package/dist/utils.js +2 -2
  71. package/package.json +11 -11
  72. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Axis.js +0 -101
  73. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/AxisBottom.js +0 -46
  74. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/AxisLeft.js +0 -47
  75. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/AxisRenderer.js +0 -63
  76. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Ticks.js +0 -44
  77. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/constants/orientation.js +0 -9
  78. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/createPoint.js +0 -14
  79. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getAxisRangePaddingConfig.js +0 -21
  80. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getLabelTransform.js +0 -16
  81. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getTickFormatter.js +0 -8
  82. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getTickPosition.js +0 -15
  83. package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridColumns.js +0 -79
  84. package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridRows.js +0 -79
  85. package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/utils/getScaleBandwidth.js +0 -6
  86. package/dist/node_modules/.bun/@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js +0 -50
  87. package/dist/node_modules/.bun/@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js +0 -18
  88. package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/operators/reverse.js +0 -9
  89. package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/operators/zero.js +0 -9
  90. package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js +0 -9
  91. package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/toString.js +0 -6
  92. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/Bar.js +0 -29
  93. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/Circle.js +0 -29
  94. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/Line.js +0 -47
  95. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/LinePath.js +0 -50
  96. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/util/D3ShapeFactories.js +0 -9
  97. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/util/setNumberOrNumberAccessor.js +0 -6
  98. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js +0 -53
  99. package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/Text.js +0 -57
  100. package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/hooks/useText.js +0 -91
  101. package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/util/getStringWidth.js +0 -21
  102. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_Hash.js +0 -21
  103. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_ListCache.js +0 -21
  104. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_Map.js +0 -10
  105. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_MapCache.js +0 -21
  106. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_Symbol.js +0 -9
  107. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_assocIndexOf.js +0 -14
  108. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_baseGetTag.js +0 -15
  109. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_baseIsNative.js +0 -16
  110. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_coreJsData.js +0 -9
  111. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_freeGlobal.js +0 -8
  112. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getMapData.js +0 -14
  113. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getNative.js +0 -15
  114. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getRawTag.js +0 -19
  115. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getValue.js +0 -11
  116. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashClear.js +0 -13
  117. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashDelete.js +0 -12
  118. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashGet.js +0 -18
  119. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashHas.js +0 -14
  120. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashSet.js +0 -14
  121. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_isKeyable.js +0 -12
  122. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_isMasked.js +0 -16
  123. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheClear.js +0 -11
  124. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheDelete.js +0 -14
  125. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheGet.js +0 -14
  126. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheHas.js +0 -13
  127. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheSet.js +0 -14
  128. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheClear.js +0 -19
  129. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheDelete.js +0 -14
  130. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheGet.js +0 -13
  131. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheHas.js +0 -13
  132. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheSet.js +0 -14
  133. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_nativeCreate.js +0 -9
  134. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_objectToString.js +0 -12
  135. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_root.js +0 -10
  136. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_toSource.js +0 -20
  137. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/eq.js +0 -11
  138. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/isFunction.js +0 -16
  139. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/isObject.js +0 -12
  140. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/memoize.js +0 -20
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/@visx+scale@4.0.0/node_modules/@visx/scale/esm/utils/toString.js
2
+ function e(e) {
3
+ return e?.toString();
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,15 @@
1
+ import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
+ import { require_classnames as t } from "../../../../../../classnames@2.5.1/node_modules/classnames/index.js";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ //#region ../../../node_modules/.bun/@visx+shape@4.0.0+d84c32d47042070f/node_modules/@visx/shape/esm/shapes/Bar.js
5
+ var r = /* @__PURE__ */ e(t());
6
+ function i(e) {
7
+ let { className: t, innerRef: i, ...a } = e;
8
+ return /*#__PURE__*/ n("rect", {
9
+ ref: i,
10
+ className: (0, r.default)("visx-bar", t),
11
+ ...a
12
+ });
13
+ }
14
+ //#endregion
15
+ export { i as default };
@@ -0,0 +1,15 @@
1
+ import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
+ import { require_classnames as t } from "../../../../../../classnames@2.5.1/node_modules/classnames/index.js";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ //#region ../../../node_modules/.bun/@visx+shape@4.0.0+d84c32d47042070f/node_modules/@visx/shape/esm/shapes/Circle.js
5
+ var r = /* @__PURE__ */ e(t());
6
+ function i(e) {
7
+ let { className: t, innerRef: i, ...a } = e;
8
+ return /*#__PURE__*/ n("circle", {
9
+ ref: i,
10
+ className: (0, r.default)("visx-circle", t),
11
+ ...a
12
+ });
13
+ }
14
+ //#endregion
15
+ export { i as default };
@@ -0,0 +1,27 @@
1
+ import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
+ import { require_classnames as t } from "../../../../../../classnames@2.5.1/node_modules/classnames/index.js";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ //#region ../../../node_modules/.bun/@visx+shape@4.0.0+d84c32d47042070f/node_modules/@visx/shape/esm/shapes/Line.js
5
+ var r = /* @__PURE__ */ e(t());
6
+ function i(e) {
7
+ let { from: t = {
8
+ x: 0,
9
+ y: 0
10
+ }, to: i = {
11
+ x: 1,
12
+ y: 1
13
+ }, fill: a = "transparent", className: o, innerRef: s, ...c } = e, l = t.x === i.x || t.y === i.y;
14
+ return /*#__PURE__*/ n("line", {
15
+ ref: s,
16
+ className: (0, r.default)("visx-line", o),
17
+ x1: t.x,
18
+ y1: t.y,
19
+ x2: i.x,
20
+ y2: i.y,
21
+ fill: a,
22
+ shapeRendering: l ? "crispEdges" : "auto",
23
+ ...c
24
+ });
25
+ }
26
+ //#endregion
27
+ export { i as default };
@@ -0,0 +1,24 @@
1
+ import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
+ import { require_classnames as t } from "../../../../../../classnames@2.5.1/node_modules/classnames/index.js";
3
+ import { line as n } from "../util/D3ShapeFactories.js";
4
+ import { Fragment as r, jsx as i } from "react/jsx-runtime";
5
+ //#region ../../../node_modules/.bun/@visx+shape@4.0.0+d84c32d47042070f/node_modules/@visx/shape/esm/shapes/LinePath.js
6
+ var a = /* @__PURE__ */ e(t());
7
+ function o(e) {
8
+ let { children: t, data: o = [], x: s, y: c, fill: l = "transparent", className: u, curve: d, innerRef: f, defined: p = () => !0, ...m } = e, h = n({
9
+ x: s,
10
+ y: c,
11
+ defined: p,
12
+ curve: d
13
+ });
14
+ return t ? /*#__PURE__*/ i(r, { children: t({ path: h }) }) : /*#__PURE__*/ i("path", {
15
+ ref: f,
16
+ className: (0, a.default)("visx-linepath", u),
17
+ d: h(o) || "",
18
+ fill: l,
19
+ strokeLinecap: "round",
20
+ ...m
21
+ });
22
+ }
23
+ //#endregion
24
+ export { o as default };
@@ -0,0 +1,9 @@
1
+ import { d3_shape_exports as e } from "../../../../../../@visx_vendor@4.0.0/node_modules/@visx/vendor/esm/d3-shape.js";
2
+ import t from "./setNumberOrNumberAccessor.js";
3
+ //#region ../../../node_modules/.bun/@visx+shape@4.0.0+d84c32d47042070f/node_modules/@visx/shape/esm/util/D3ShapeFactories.js
4
+ function n() {
5
+ let { x: n, y: r, defined: i, curve: a } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = (0, e.line)();
6
+ return n && t(o.x, n), r && t(o.y, r), i && o.defined(i), a && o.curve(a), o;
7
+ }
8
+ //#endregion
9
+ export { n as line };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/@visx+shape@4.0.0+d84c32d47042070f/node_modules/@visx/shape/esm/util/setNumberOrNumberAccessor.js
2
+ function e(e, t) {
3
+ e(t);
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,27 @@
1
+ import e from "./hooks/useText.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region ../../../node_modules/.bun/@visx+text@4.0.0+d84c32d47042070f/node_modules/@visx/text/esm/Text.js
4
+ var n = { overflow: "visible" };
5
+ function r(r) {
6
+ let { dx: i = 0, dy: a = 0, textAnchor: o = "start", innerRef: s, innerTextRef: c, verticalAnchor: l, angle: u, lineHeight: d = "1em", scaleToFit: f = !1, capHeight: p, width: m, ...h } = r, { x: g = 0, fontSize: _ } = h, { wordsByLines: v, startDy: y, transform: b } = e(r);
7
+ return /*#__PURE__*/ t("svg", {
8
+ ref: s,
9
+ x: i,
10
+ y: a,
11
+ fontSize: _,
12
+ style: n,
13
+ children: v.length > 0 ? /*#__PURE__*/ t("text", {
14
+ ref: c,
15
+ transform: b,
16
+ ...h,
17
+ textAnchor: o,
18
+ children: v.map((e, n) => /*#__PURE__*/ t("tspan", {
19
+ x: g,
20
+ dy: n === 0 ? y : d,
21
+ children: e.words.join(" ")
22
+ }, n))
23
+ }) : null
24
+ });
25
+ }
26
+ //#endregion
27
+ export { r as default };
@@ -0,0 +1,68 @@
1
+ import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
+ import { require_reduce_css_calc as t } from "../../../../../../reduce-css-calc@1.3.0/node_modules/reduce-css-calc/index.js";
3
+ import n from "../util/getStringWidth.js";
4
+ import { useMemo as r } from "react";
5
+ //#region ../../../node_modules/.bun/@visx+text@4.0.0+d84c32d47042070f/node_modules/@visx/text/esm/hooks/useText.js
6
+ var i = /* @__PURE__ */ e(t());
7
+ function a(e) {
8
+ return typeof e == "number";
9
+ }
10
+ function o(e) {
11
+ return typeof e == "number" && Number.isFinite(e) || typeof e == "string";
12
+ }
13
+ function s(e) {
14
+ let { verticalAnchor: t = "end", scaleToFit: s = !1, angle: c, width: l, lineHeight: u = "1em", capHeight: d = "0.71em", children: f, style: p, ...m } = e, { x: h = 0, y: g = 0 } = m, _ = !o(h) || !o(g), { wordsWithWidth: v, spaceWidth: y } = r(() => ({
15
+ wordsWithWidth: (f == null ? [] : f.toString().split(/(?:(?!\u00A0+)\s+)/)).map((e) => ({
16
+ word: e,
17
+ wordWidth: n(e, p) || 0
18
+ })),
19
+ spaceWidth: n("\xA0", p) || 0
20
+ }), [f, p]), b = r(() => _ ? [] : l || s ? v.reduce((e, t) => {
21
+ let { word: n, wordWidth: r } = t, i = e[e.length - 1];
22
+ if (i && (l == null || s || (i.width || 0) + r + y < l)) i.words.push(n), i.width = i.width || 0, i.width += r + y;
23
+ else {
24
+ let t = {
25
+ words: [n],
26
+ width: r
27
+ };
28
+ e.push(t);
29
+ }
30
+ return e;
31
+ }, []) : [{ words: f == null ? [] : f.toString().split(/(?:(?!\u00A0+)\s+)/) }], [
32
+ _,
33
+ l,
34
+ s,
35
+ f,
36
+ v,
37
+ y
38
+ ]);
39
+ return {
40
+ wordsByLines: b,
41
+ startDy: r(() => _ ? "" : t === "start" ? (0, i.default)(`calc(${d})`) : t === "middle" ? (0, i.default)(`calc(${(b.length - 1) / 2} * -${u} + (${d} / 2))`) : (0, i.default)(`calc(${b.length - 1} * -${u})`), [
42
+ _,
43
+ t,
44
+ d,
45
+ b.length,
46
+ u
47
+ ]),
48
+ transform: r(() => {
49
+ let e = [];
50
+ if (_) return "";
51
+ if (a(h) && a(g) && a(l) && s && b.length > 0) {
52
+ let t = b[0].width || 1, n = s === "shrink-only" ? Math.min(l / t, 1) : l / t, r = n, i = h - n * h, a = g - r * g;
53
+ e.push(`matrix(${n}, 0, 0, ${r}, ${i}, ${a})`);
54
+ }
55
+ return c && e.push(`rotate(${c}, ${h}, ${g})`), e.length > 0 ? e.join(" ") : "";
56
+ }, [
57
+ _,
58
+ h,
59
+ g,
60
+ l,
61
+ s,
62
+ b,
63
+ c
64
+ ])
65
+ };
66
+ }
67
+ //#endregion
68
+ export { s as default };
@@ -0,0 +1,19 @@
1
+ import e from "./memoize.js";
2
+ //#region ../../../node_modules/.bun/@visx+text@4.0.0+d84c32d47042070f/node_modules/@visx/text/esm/util/getStringWidth.js
3
+ var t = "__react_svg_text_measurement_id";
4
+ function n(e, n) {
5
+ if (typeof document > "u") return null;
6
+ try {
7
+ let r = document.getElementById(t);
8
+ if (!r) {
9
+ let e = document.createElementNS("http://www.w3.org/2000/svg", "svg");
10
+ e.setAttribute("aria-hidden", "true"), e.style.width = "0", e.style.height = "0", e.style.position = "absolute", e.style.top = "-100%", e.style.left = "-100%", r = document.createElementNS("http://www.w3.org/2000/svg", "text"), r.setAttribute("id", t), e.appendChild(r), document.body.appendChild(e);
11
+ }
12
+ return Object.assign(r.style, n), r.textContent = e, r.getComputedTextLength();
13
+ } catch {
14
+ return null;
15
+ }
16
+ }
17
+ var r = e(n, (e, t) => `${e}_${JSON.stringify(t)}`);
18
+ //#endregion
19
+ export { r as default };
@@ -0,0 +1,13 @@
1
+ //#region ../../../node_modules/.bun/@visx+text@4.0.0+d84c32d47042070f/node_modules/@visx/text/esm/util/memoize.js
2
+ function e(e, t) {
3
+ let n = /* @__PURE__ */ new Map();
4
+ return function() {
5
+ var r = [...arguments];
6
+ let i = t(...r);
7
+ if (n.has(i)) return n.get(i);
8
+ let a = e.apply(this, r);
9
+ return n.set(i, a), a;
10
+ };
11
+ }
12
+ //#endregion
13
+ export { e as default };
@@ -1,6 +1,6 @@
1
1
  import { __exportAll as e, __reExport as t } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
2
  export * from "d3-interpolate";
3
- //#region ../../../node_modules/.bun/@visx+vendor@3.12.0/node_modules/@visx/vendor/esm/d3-interpolate.js
3
+ //#region ../../../node_modules/.bun/@visx+vendor@4.0.0/node_modules/@visx/vendor/esm/d3-interpolate.js
4
4
  var n = /* @__PURE__ */ e({});
5
5
  import * as r from "d3-interpolate";
6
6
  t(n, r);
@@ -1,6 +1,6 @@
1
1
  import { __exportAll as e, __reExport as t } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
2
  export * from "d3-scale";
3
- //#region ../../../node_modules/.bun/@visx+vendor@3.12.0/node_modules/@visx/vendor/esm/d3-scale.js
3
+ //#region ../../../node_modules/.bun/@visx+vendor@4.0.0/node_modules/@visx/vendor/esm/d3-scale.js
4
4
  var n = /* @__PURE__ */ e({});
5
5
  import * as r from "d3-scale";
6
6
  t(n, r);
@@ -0,0 +1,8 @@
1
+ import { __exportAll as e, __reExport as t } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
+ export * from "d3-shape";
3
+ //#region ../../../node_modules/.bun/@visx+vendor@4.0.0/node_modules/@visx/vendor/esm/d3-shape.js
4
+ var n = /* @__PURE__ */ e({});
5
+ import * as r from "d3-shape";
6
+ t(n, r);
7
+ //#endregion
8
+ export { n as d3_shape_exports };
@@ -1,6 +1,6 @@
1
1
  import { __exportAll as e, __reExport as t } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
2
  export * from "d3-time";
3
- //#region ../../../node_modules/.bun/@visx+vendor@3.12.0/node_modules/@visx/vendor/esm/d3-time.js
3
+ //#region ../../../node_modules/.bun/@visx+vendor@4.0.0/node_modules/@visx/vendor/esm/d3-time.js
4
4
  var n = /* @__PURE__ */ e({});
5
5
  import * as r from "d3-time";
6
6
  t(n, r);
@@ -1,4 +1,4 @@
1
- import e from "../../node_modules/.bun/@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js";
1
+ import e from "../../node_modules/.bun/@visx_group@4.0.0_d84c32d47042070f/node_modules/@visx/group/esm/Group.js";
2
2
  import { bandKey as t } from "../../utils.js";
3
3
  import { correct as n, incorrect as r } from "../../common/styles.js";
4
4
  import { D as i, DragHandle as a } from "../../common/drag-handle.js";
@@ -7,8 +7,8 @@ import s from "prop-types";
7
7
  import { styled as c } from "@mui/material/styles";
8
8
  import l from "debug";
9
9
  import { types as u } from "@pie-lib/plot";
10
- import { color as d } from "@pie-lib/render-ui";
11
- import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
10
+ import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
11
+ import { color as m } from "@pie-lib/render-ui";
12
12
  import h from "@mui/icons-material/Check";
13
13
  //#region src/plot/common/plot.tsx
14
14
  var g = l("pie-lib:chart:bars"), _ = 16, v = class extends o.Component {
@@ -62,12 +62,12 @@ var g = l("pie-lib:chart:bars"), _ = 16, v = class extends o.Component {
62
62
  let e = n - 1;
63
63
  s = i.y(e) - (a - o) / 2 - o / 2 - _ / 2;
64
64
  }
65
- return /* @__PURE__ */ p("foreignObject", {
65
+ return /* @__PURE__ */ f("foreignObject", {
66
66
  x: e + t / 2 - _ / 2,
67
67
  y: s,
68
68
  width: _,
69
69
  height: _,
70
- children: /* @__PURE__ */ p(h, {
70
+ children: /* @__PURE__ */ f(h, {
71
71
  className: "correctnessIcon correctIcon smallIcon",
72
72
  title: r.label
73
73
  })
@@ -79,19 +79,19 @@ var g = l("pie-lib:chart:bars"), _ = 16, v = class extends o.Component {
79
79
  let A = [];
80
80
  for (let e = 0; e < E; e++) A.push(e);
81
81
  let j = S.height / C, M = (j > D ? D : j) * .8, N = u ? i : a, P = u && !h;
82
- return /* @__PURE__ */ p(o.Fragment, { children: /* @__PURE__ */ m("g", {
82
+ return /* @__PURE__ */ f(o.Fragment, { children: /* @__PURE__ */ p("g", {
83
83
  className: y,
84
84
  onMouseEnter: this.handleMouseEnter,
85
85
  onMouseLeave: this.handleMouseLeave,
86
86
  onTouchStart: this.handleMouseEnter,
87
87
  onTouchEnd: this.handleMouseLeave,
88
88
  children: [
89
- T && P && /* @__PURE__ */ p("rect", {
89
+ T && P && /* @__PURE__ */ f("rect", {
90
90
  x: k,
91
91
  y: b.y(E),
92
92
  width: D,
93
93
  height: A?.length ? j * A.length : 0,
94
- stroke: d.defaults.BORDER_GRAY,
94
+ stroke: m.defaults.BORDER_GRAY,
95
95
  strokeWidth: "4px",
96
96
  fill: "transparent"
97
97
  }),
@@ -113,22 +113,22 @@ var g = l("pie-lib:chart:bars"), _ = 16, v = class extends o.Component {
113
113
  if (i > e) {
114
114
  let i = [];
115
115
  for (let t = 0; t < e; t++) i.push(t);
116
- let a = i[i.length - 1], o = s(t({ label: r }, c)), u = s.bandwidth(), d = S.height / C, g = (d > u ? u : d) * .8;
117
- return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(l, {
116
+ let a = i[i.length - 1], o = s(t({ label: r }, c)), u = s.bandwidth(), m = S.height / C, g = (m > u ? u : m) * .8;
117
+ return /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f(l, {
118
118
  index: a,
119
119
  pointDiameter: g + 10,
120
120
  barX: o,
121
121
  barWidth: u,
122
- pointHeight: d,
122
+ pointHeight: m,
123
123
  label: r,
124
124
  value: n,
125
125
  scale: b,
126
126
  dottedOverline: !0
127
- }), this.renderCorrectnessIcon(o, u, e, h, b, d, g)] });
127
+ }), this.renderCorrectnessIcon(o, u, e, h, b, m, g)] });
128
128
  }
129
129
  let a = [];
130
130
  for (let t = i; t < e; t++) a.push(t);
131
- return /* @__PURE__ */ m(f, { children: [a.map((e) => l({
131
+ return /* @__PURE__ */ p(d, { children: [a.map((e) => l({
132
132
  index: e,
133
133
  pointDiameter: M,
134
134
  barX: k,
@@ -140,7 +140,7 @@ var g = l("pie-lib:chart:bars"), _ = 16, v = class extends o.Component {
140
140
  dottedOverline: !0
141
141
  })), this.renderCorrectnessIcon(k, D, e, h, b, j, M)] });
142
142
  })(),
143
- /* @__PURE__ */ p(N, {
143
+ /* @__PURE__ */ f(N, {
144
144
  x: k,
145
145
  y: E,
146
146
  interactive: u,
@@ -151,7 +151,7 @@ var g = l("pie-lib:chart:bars"), _ = 16, v = class extends o.Component {
151
151
  correctness: h,
152
152
  isHovered: T,
153
153
  defineChart: _,
154
- color: d.primaryDark(),
154
+ color: m.primaryDark(),
155
155
  isPlot: !0
156
156
  })
157
157
  ]
@@ -159,30 +159,30 @@ var g = l("pie-lib:chart:bars"), _ = 16, v = class extends o.Component {
159
159
  }
160
160
  }, y = c(v)(({ theme: e }) => ({
161
161
  "& .dot": {
162
- fill: d.visualElementsColors.PLOT_FILL_COLOR,
162
+ fill: m.visualElementsColors.PLOT_FILL_COLOR,
163
163
  "&.correct": n("stroke"),
164
164
  "&.incorrect": r("stroke")
165
165
  },
166
166
  "& .dotColor": {
167
- fill: d.visualElementsColors.PLOT_FILL_COLOR,
167
+ fill: m.visualElementsColors.PLOT_FILL_COLOR,
168
168
  "&.correct": n("fill"),
169
169
  "&.incorrect": r("fill")
170
170
  },
171
171
  "& .line": {
172
- stroke: d.visualElementsColors.PLOT_FILL_COLOR,
172
+ stroke: m.visualElementsColors.PLOT_FILL_COLOR,
173
173
  "&.correct": n("stroke"),
174
174
  "&.incorrect": r("stroke")
175
175
  },
176
- "& .correctIcon": { backgroundColor: d.correct() },
177
- "& .incorrectIcon": { backgroundColor: d.incorrectWithIcon() },
176
+ "& .correctIcon": { backgroundColor: m.correct() },
177
+ "& .incorrectIcon": { backgroundColor: m.incorrectWithIcon() },
178
178
  "& .correctnessIcon": {
179
179
  borderRadius: e.spacing(2),
180
- color: d.defaults.WHITE,
180
+ color: m.defaults.WHITE,
181
181
  fontSize: "16px",
182
182
  width: "16px",
183
183
  height: "16px",
184
184
  padding: "2px",
185
- border: `1px solid ${d.defaults.WHITE}`,
185
+ border: `1px solid ${m.defaults.WHITE}`,
186
186
  stroke: "initial",
187
187
  boxSizing: "unset",
188
188
  display: "block"
@@ -208,7 +208,7 @@ var g = l("pie-lib:chart:bars"), _ = 16, v = class extends o.Component {
208
208
  };
209
209
  render() {
210
210
  let { data: t, graphProps: n, xBand: r, CustomBarElement: i, onChangeCategory: a, defineChart: o, correctData: s } = this.props;
211
- return /* @__PURE__ */ p(e, { children: (t || []).map((e, t) => /* @__PURE__ */ p(y, {
211
+ return /* @__PURE__ */ f(e, { children: (t || []).map((e, t) => /* @__PURE__ */ f(y, {
212
212
  value: e.value,
213
213
  label: e.label,
214
214
  interactive: o || e.interactive,
package/dist/plot/dot.js CHANGED
@@ -1,4 +1,4 @@
1
- import e from "../node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/Circle.js";
1
+ import e from "../node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/shapes/Circle.js";
2
2
  import { dataToXBand as t } from "../utils.js";
3
3
  import { correct as n, incorrect as r } from "../common/styles.js";
4
4
  import { Plot as i } from "./common/plot.js";
@@ -6,23 +6,23 @@ import a from "react";
6
6
  import o from "prop-types";
7
7
  import { styled as s } from "@mui/material/styles";
8
8
  import { types as c } from "@pie-lib/plot";
9
- import { color as l } from "@pie-lib/render-ui";
10
- import { jsx as u } from "react/jsx-runtime";
9
+ import { jsx as l } from "react/jsx-runtime";
10
+ import { color as u } from "@pie-lib/render-ui";
11
11
  //#region src/plot/dot.tsx
12
12
  var d = s(e)(() => ({
13
- fill: l.visualElementsColors.PLOT_FILL_COLOR,
13
+ fill: u.visualElementsColors.PLOT_FILL_COLOR,
14
14
  "&.correct": n("stroke"),
15
15
  "&.incorrect": r("stroke")
16
16
  })), f = (t) => {
17
17
  let { index: n, pointDiameter: r, barX: i, barWidth: a, pointHeight: o, label: s, value: c, scale: f, dottedOverline: p } = t, m = r / 2, h = i + (a - r) / 2 + m, g = f.y(n) - (o - r) / 2 - m;
18
- return p ? /* @__PURE__ */ u(e, {
18
+ return p ? /* @__PURE__ */ l(e, {
19
19
  cx: h,
20
20
  cy: g,
21
21
  r: m + 2,
22
22
  strokeDasharray: "4,4",
23
- stroke: l.defaults.BORDER_GRAY,
23
+ stroke: u.defaults.BORDER_GRAY,
24
24
  fill: "none"
25
- }, `point-${s}-${c}-${n}`) : /* @__PURE__ */ u(d, {
25
+ }, `point-${s}-${c}-${n}`) : /* @__PURE__ */ l(d, {
26
26
  cx: h,
27
27
  cy: g,
28
28
  r: m
@@ -47,7 +47,7 @@ var p = class extends a.Component {
47
47
  };
48
48
  render() {
49
49
  let e = this.props, { data: n, graphProps: r } = e, { scale: a = {}, size: o = {} } = r || {}, s = t(a.x, n, o.width, "dotPlot");
50
- return /* @__PURE__ */ u(i, {
50
+ return /* @__PURE__ */ l(i, {
51
51
  ...e,
52
52
  xBand: s,
53
53
  CustomBarElement: f
package/dist/plot/line.js CHANGED
@@ -1,5 +1,5 @@
1
- import e from "../node_modules/.bun/@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js";
2
- import t from "../node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/LinePath.js";
1
+ import e from "../node_modules/.bun/@visx_group@4.0.0_d84c32d47042070f/node_modules/@visx/group/esm/Group.js";
2
+ import t from "../node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/shapes/LinePath.js";
3
3
  import { dataToXBand as n } from "../utils.js";
4
4
  import { correct as r, incorrect as i } from "../common/styles.js";
5
5
  import { Plot as a } from "./common/plot.js";
@@ -7,24 +7,24 @@ import o from "react";
7
7
  import s from "prop-types";
8
8
  import { styled as c } from "@mui/material/styles";
9
9
  import { types as l } from "@pie-lib/plot";
10
- import { color as u } from "@pie-lib/render-ui";
11
- import { jsx as d, jsxs as f } from "react/jsx-runtime";
10
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
11
+ import { color as f } from "@pie-lib/render-ui";
12
12
  //#region src/plot/line.tsx
13
13
  var p = c(t)(() => ({
14
- stroke: u.visualElementsColors.PLOT_FILL_COLOR,
14
+ stroke: f.visualElementsColors.PLOT_FILL_COLOR,
15
15
  "&.correct": r("stroke"),
16
16
  "&.incorrect": i("stroke")
17
17
  })), m = (t) => {
18
18
  let { index: n, pointDiameter: r, barX: i, barWidth: a, pointHeight: o, label: s, value: c, scale: l, dottedOverline: m } = t, h = i + (a - r) / 2, g = l.y(n) - (o - r) / 2;
19
- return m ? /* @__PURE__ */ d("rect", {
19
+ return m ? /* @__PURE__ */ u("rect", {
20
20
  x: h - 2,
21
21
  y: g - r - 2,
22
22
  width: r + 4,
23
23
  height: r + 4,
24
24
  strokeDasharray: "4,4",
25
- stroke: u.defaults.BORDER_GRAY,
25
+ stroke: f.defaults.BORDER_GRAY,
26
26
  fill: "none"
27
- }, `point-${s}-${c}-${n}`) : /* @__PURE__ */ f(e, { children: [/* @__PURE__ */ d(p, {
27
+ }, `point-${s}-${c}-${n}`) : /* @__PURE__ */ d(e, { children: [/* @__PURE__ */ u(p, {
28
28
  data: [{
29
29
  x: h,
30
30
  y: g
@@ -36,7 +36,7 @@ var p = c(t)(() => ({
36
36
  x: (e) => e.x,
37
37
  y: (e) => e.y,
38
38
  strokeWidth: r / 5
39
- }, `point-${s}-${c}-${n}-1`), /* @__PURE__ */ d(p, {
39
+ }, `point-${s}-${c}-${n}-1`), /* @__PURE__ */ u(p, {
40
40
  data: [{
41
41
  x: h,
42
42
  y: g - r
@@ -69,7 +69,7 @@ var h = class extends o.Component {
69
69
  };
70
70
  render() {
71
71
  let e = this.props, { data: t, graphProps: r } = e, { scale: i = {}, size: o = {} } = r || {}, s = n(i.x, t, o.width, "linePlot");
72
- return /* @__PURE__ */ d(a, {
72
+ return /* @__PURE__ */ u(a, {
73
73
  ...e,
74
74
  xBand: s,
75
75
  CustomBarElement: m
package/dist/utils.js CHANGED
@@ -1,5 +1,5 @@
1
- import e from "./node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/scales/band.js";
2
- import t from "./node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/scales/point.js";
1
+ import e from "./node_modules/.bun/@visx_scale@4.0.0/node_modules/@visx/scale/esm/scales/band.js";
2
+ import t from "./node_modules/.bun/@visx_scale@4.0.0/node_modules/@visx/scale/esm/scales/point.js";
3
3
  import { utils as n } from "@pie-lib/plot";
4
4
  n.tickCount, n.bounds, n.point;
5
5
  var r = (e, t) => `${t}-${e.label || "-"}`, i = (n, i, a, o) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/charting",
3
- "version": "7.0.4-next.32",
3
+ "version": "7.0.4-next.33",
4
4
  "description": "charting",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,23 +13,23 @@
13
13
  "@mapbox/point-geometry": "^1.1.0",
14
14
  "@mui/icons-material": "^7.3.4",
15
15
  "@mui/material": "^7.3.4",
16
- "@pie-lib/plot": "4.0.4-next.32",
16
+ "@pie-lib/plot": "4.0.4-next.33",
17
17
  "@pie-lib/render-ui": "6.1.1-next.39",
18
18
  "@pie-lib/translator": "4.0.3-next.2",
19
- "@visx/axis": "^3.0.0",
20
- "@visx/event": "^3.0.0",
21
- "@visx/grid": "^3.0.0",
22
- "@visx/group": "^3.0.0",
23
- "@visx/point": "^3.0.0",
24
- "@visx/scale": "^3.0.0",
25
- "@visx/shape": "^3.0.0",
19
+ "@visx/axis": "^4.0.0",
20
+ "@visx/event": "^4.0.0",
21
+ "@visx/grid": "^4.0.0",
22
+ "@visx/group": "^4.0.0",
23
+ "@visx/point": "^4.0.0",
24
+ "@visx/scale": "^4.0.0",
25
+ "@visx/shape": "^4.0.0",
26
26
  "d3-scale": "^4.0.2",
27
27
  "d3-selection": "^3.0.0",
28
28
  "debug": "^4.1.1",
29
29
  "invariant": "^2.2.4",
30
- "react-draggable": "^4.6.0",
30
+ "react-draggable": "^4.7.1",
31
31
  "prop-types": "^15.8.1",
32
- "@pie-lib/config-ui": "13.0.4-next.32",
32
+ "@pie-lib/config-ui": "13.0.4-next.33",
33
33
  "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.0",
34
34
  "@pie-element/shared-lodash": "0.1.1-next.1",
35
35
  "clsx": "^2.1.1",