@pie-lib/graphing-solution-set 4.0.4-next.30 → 4.0.4-next.32

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 (34) hide show
  1. package/dist/axis/arrow.js +1 -1
  2. package/dist/axis/axes.js +6 -6
  3. package/dist/container/index.js +4 -4
  4. package/dist/container/reducer.js +1 -1
  5. package/dist/coordinates-label.js +1 -1
  6. package/dist/graph-with-controls.js +5 -5
  7. package/dist/graph.js +2 -2
  8. package/dist/grid-setup.js +8 -8
  9. package/dist/grid.js +1 -1
  10. package/dist/index.js +2 -2
  11. package/dist/labels.js +2 -2
  12. package/dist/mark-label.js +1 -1
  13. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Axis.js +1 -1
  14. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/createPoint.js +1 -1
  15. package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridColumns.js +1 -1
  16. package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridRows.js +1 -1
  17. package/dist/node_modules/.bun/@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js +1 -1
  18. package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/hooks/useText.js +1 -1
  19. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js +1 -1
  20. package/dist/node_modules/.bun/react-redux@9.3.0_9e2203c65d1d5fa1/node_modules/react-redux/dist/react-redux.js +7 -7
  21. package/dist/node_modules/.bun/redux-undo@1.1.0/node_modules/redux-undo/dist/redux-undo.js +1 -1
  22. package/dist/node_modules/.bun/redux@5.0.1/node_modules/redux/dist/redux.js +2 -2
  23. package/dist/tool-menu.js +1 -1
  24. package/dist/tools/index.js +1 -1
  25. package/dist/tools/line/component.js +1 -1
  26. package/dist/tools/polygon/component.js +4 -4
  27. package/dist/tools/polygon/index.js +1 -1
  28. package/dist/tools/polygon/polygon.js +3 -3
  29. package/dist/tools/shared/line/index.js +1 -1
  30. package/dist/tools/shared/point/arrow-point.js +1 -1
  31. package/dist/tools/shared/point/arrow.js +1 -1
  32. package/dist/tools/shared/point/base-point.js +1 -1
  33. package/dist/undo-redo.js +1 -1
  34. package/package.json +17 -12
@@ -31,4 +31,4 @@ o.propTypes = {
31
31
  direction: "left"
32
32
  };
33
33
  //#endregion
34
- export { o as default };
34
+ export { o as Arrow, o as default };
package/dist/axis/axes.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import e from "../node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Axis.js";
2
- import t from "./arrow.js";
2
+ import { Arrow as t } from "./arrow.js";
3
3
  import { amountToIncreaseWidth as n, countWords as r, findLongestWord as i, getTickValues as a } from "../utils.js";
4
4
  import o from "react";
5
5
  import s from "prop-types";
@@ -102,7 +102,7 @@ var _ = g(p, "Readable") || g(b.Readable, "Readable"), v = f, y = v.default, b =
102
102
  })
103
103
  ] });
104
104
  }
105
- }, A = class extends o.Component {
105
+ }, A = k, j = class extends o.Component {
106
106
  static propTypes = {
107
107
  ...x,
108
108
  graphProps: c.GraphPropsType.isRequired
@@ -162,7 +162,7 @@ var _ = g(p, "Readable") || g(b.Readable, "Readable"), v = f, y = v.default, b =
162
162
  })
163
163
  ] });
164
164
  }
165
- }, j = class extends o.Component {
165
+ }, M = j, N = class extends o.Component {
166
166
  static propTypes = {
167
167
  ...x,
168
168
  graphProps: c.GraphPropsType.isRequired
@@ -196,13 +196,13 @@ var _ = g(p, "Readable") || g(b.Readable, "Readable"), v = f, y = v.default, b =
196
196
  };
197
197
  render() {
198
198
  let { graphProps: e } = this.props, { domain: t, range: n } = e || {}, { columnTicksValues: r, firstNegativeX: i, distanceFromOriginToFirstNegativeX: a } = this.xValues(), { rowTickValues: o, firstNegativeY: s, distanceFromOriginToFirstNegativeY: c } = this.yValues(), l = D(i, s, a, c, 6, 25);
199
- return /* @__PURE__ */ d(C, { children: [n.min <= 0 ? /* @__PURE__ */ u(k, {
199
+ return /* @__PURE__ */ d(C, { children: [n.min <= 0 ? /* @__PURE__ */ u(A, {
200
200
  ...this.props,
201
201
  skipValues: l,
202
202
  columnTicksValues: r,
203
203
  distanceFromOriginToFirstNegativeY: c,
204
204
  dy: 25
205
- }) : null, t.min <= 0 ? /* @__PURE__ */ u(A, {
205
+ }) : null, t.min <= 0 ? /* @__PURE__ */ u(M, {
206
206
  ...this.props,
207
207
  skipValues: l,
208
208
  rowTickValues: o,
@@ -211,4 +211,4 @@ var _ = g(p, "Readable") || g(b.Readable, "Readable"), v = f, y = v.default, b =
211
211
  }
212
212
  };
213
213
  //#endregion
214
- export { x as AxisPropTypes, j as default };
214
+ export { x as AxisPropTypes, k as RawXAxis, j as RawYAxis, N as default, O as firstNegativeValue, D as sharedValues };
@@ -1,9 +1,9 @@
1
- import { Provider_default as e, connect as t } from "../node_modules/.bun/react-redux@9.3.0_9e2203c65d1d5fa1/node_modules/react-redux/dist/react-redux.js";
1
+ import { Provider as e, connect as t } from "../node_modules/.bun/react-redux@9.3.0_9e2203c65d1d5fa1/node_modules/react-redux/dist/react-redux.js";
2
2
  import { applyMiddleware as n, createStore as r } from "../node_modules/.bun/redux@5.0.1/node_modules/redux/dist/redux.js";
3
- import { M as i } from "../node_modules/.bun/redux-undo@1.1.0/node_modules/redux-undo/dist/redux-undo.js";
3
+ import { ActionCreators as i } from "../node_modules/.bun/redux-undo@1.1.0/node_modules/redux-undo/dist/redux-undo.js";
4
4
  import a from "./reducer.js";
5
5
  import { changeMarks as o } from "./actions.js";
6
- import s from "../graph-with-controls.js";
6
+ import { GraphWithControls as s } from "../graph-with-controls.js";
7
7
  import { getLastAction as c, lastActionMiddleware as l } from "./middleware.js";
8
8
  import u from "react";
9
9
  import d from "prop-types";
@@ -45,4 +45,4 @@ var m = t((e) => ({ marks: e.marks.present }), (e) => ({
45
45
  }
46
46
  };
47
47
  //#endregion
48
- export { h as default };
48
+ export { m as GraphContainer, h as default };
@@ -1,6 +1,6 @@
1
1
  import { combineReducers as e } from "../node_modules/.bun/redux@5.0.1/node_modules/redux/dist/redux.js";
2
2
  import t from "./marks.js";
3
- import { C as n } from "../node_modules/.bun/redux-undo@1.1.0/node_modules/redux-undo/dist/redux-undo.js";
3
+ import n from "../node_modules/.bun/redux-undo@1.1.0/node_modules/redux-undo/dist/redux-undo.js";
4
4
  //#region src/container/reducer.ts
5
5
  var r = () => e({ marks: n(t, { debug: !1 }) });
6
6
  //#endregion
@@ -43,4 +43,4 @@ l.propTypes = {
43
43
  y: t.number
44
44
  };
45
45
  //#endregion
46
- export { l as default };
46
+ export { l as CoordinatesLabel, l as default, c as getLabelPosition };
@@ -1,7 +1,7 @@
1
- import e from "./node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
2
- import t, { graphPropTypes as n } from "./graph.js";
3
- import r from "./tool-menu.js";
4
- import i from "./undo-redo.js";
1
+ import { clsx as e } from "./node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
2
+ import { Graph as t, graphPropTypes as n } from "./graph.js";
3
+ import { ToolMenu as r } from "./tool-menu.js";
4
+ import { UndoRedo as i } from "./undo-redo.js";
5
5
  import { allTools as a, toolsArr as o } from "./tools/index.js";
6
6
  import s from "react";
7
7
  import c from "prop-types";
@@ -152,4 +152,4 @@ var P = class extends s.Component {
152
152
  }
153
153
  };
154
154
  //#endregion
155
- export { P as default };
155
+ export { P as GraphWithControls, P as default, w as filterByValidToolTypes, T as filterByVisibleToolTypes, C as getAvailableTool, x as setToolbarAvailability, S as toolIsAvailable };
package/dist/graph.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { areArraysOfObjectsEqual as e, isDuplicatedMark as t } from "./utils.js";
2
2
  import n, { AxisPropTypes as r } from "./axis/axes.js";
3
- import i from "./grid.js";
3
+ import { Grid as i } from "./grid.js";
4
4
  import { LabelType as a } from "./labels.js";
5
5
  import o from "./bg.js";
6
6
  import s from "react";
@@ -218,4 +218,4 @@ var _ = m("pie-lib:graphing-solution-set:graph"), v = {
218
218
  }
219
219
  };
220
220
  //#endregion
221
- export { x as default, v as graphPropTypes };
221
+ export { x as Graph, x as default, v as graphPropTypes, b as removeBuildingToolIfCurrentToolDiffers };
@@ -144,17 +144,17 @@ var F = (e) => {
144
144
  step: 1,
145
145
  labelStep: 0
146
146
  };
147
+ }, r = {
148
+ ...v,
149
+ ...e ? { labelStep: 1 } : n("range")
150
+ }, i = {
151
+ ...t,
152
+ ...e ? { labelStep: 1 } : n("domain")
147
153
  };
148
154
  g({
149
155
  includeAxes: e,
150
- range: {
151
- ...v,
152
- ...e ? { labelStep: 1 } : n("range")
153
- },
154
- domain: {
155
- ...t,
156
- ...e ? { labelStep: 1 } : n("domain")
157
- }
156
+ range: r,
157
+ domain: i
158
158
  });
159
159
  }, K = (e) => {
160
160
  g({
package/dist/grid.js CHANGED
@@ -56,4 +56,4 @@ var u = class extends i.Component {
56
56
  }
57
57
  };
58
58
  //#endregion
59
- export { u as default };
59
+ export { u as Grid, u as default };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import e from "./graph.js";
2
- import t from "./tool-menu.js";
1
+ import { Graph as e } from "./graph.js";
2
+ import { ToolMenu as t } from "./tool-menu.js";
3
3
  import { tools_exports as n } from "./tools/index.js";
4
4
  import r from "./container/index.js";
5
5
  import i from "./grid-setup.js";
package/dist/labels.js CHANGED
@@ -1,4 +1,4 @@
1
- import e from "./node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
1
+ import { clsx as e } from "./node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
2
2
  import t from "react";
3
3
  import n from "prop-types";
4
4
  import { types as r } from "@pie-lib/plot";
@@ -131,4 +131,4 @@ var p = f(c, "Readable") || f(g.Readable, "Readable"), m = s, h = m.default, g =
131
131
  }
132
132
  });
133
133
  //#endregion
134
- export { w as LabelType };
134
+ export { w as LabelType, C as default, v as getTransform };
@@ -81,4 +81,4 @@ p.propTypes = {
81
81
  theme: a.object
82
82
  };
83
83
  //#endregion
84
- export { p as default };
84
+ export { p as MarkLabel, p as default, f as coordinates, d as position };
@@ -45,7 +45,7 @@ function h(e, t) {
45
45
  return n;
46
46
  }
47
47
  function g(e) {
48
- var t = e.children, g = t === void 0 ? o : t, _ = e.axisClassName, v = e.hideAxisLine, y = v === void 0 ? !1 : v, b = e.hideTicks, x = b === void 0 ? !1 : b, S = e.hideZero, C = S === void 0 ? !1 : S, w = e.innerRef, T = e.left, E = T === void 0 ? 0 : T, D = e.numTicks, O = D === void 0 ? 10 : D, k = e.orientation, A = k === void 0 ? a.bottom : k, j = e.rangePadding, M = j === void 0 ? 0 : j, N = e.scale, P = e.tickFormat, F = e.tickLength, I = F === void 0 ? 8 : F, L = e.tickValues, R = e.top, z = R === void 0 ? 0 : R, B = h(e, p), V = P ?? c(N), H = A === a.left, U = A === a.top, W = U || A === a.bottom, G = s(N), K = H || U ? -1 : 1, q = N.range(), J = u(M), Y = l({
48
+ var t = e.children, g = t === void 0 ? o : t, _ = e.axisClassName, v = e.hideAxisLine, y = v !== void 0 && v, b = e.hideTicks, x = b !== void 0 && b, S = e.hideZero, C = S !== void 0 && S, w = e.innerRef, T = e.left, E = T === void 0 ? 0 : T, D = e.numTicks, O = D === void 0 ? 10 : D, k = e.orientation, A = k === void 0 ? a.bottom : k, j = e.rangePadding, M = j === void 0 ? 0 : j, N = e.scale, P = e.tickFormat, F = e.tickLength, I = F === void 0 ? 8 : F, L = e.tickValues, R = e.top, z = R === void 0 ? 0 : R, B = h(e, p), V = P ?? c(N), H = A === a.left, U = A === a.top, W = U || A === a.bottom, G = s(N), K = H || U ? -1 : 1, q = N.range(), J = u(M), Y = l({
49
49
  x: Number(q[0]) + .5 - J.start,
50
50
  y: 0
51
51
  }, W), X = l({
@@ -1,4 +1,4 @@
1
- import { Point as e } from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
1
+ import e from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
2
2
  //#region ../../../node_modules/.bun/@visx+axis@3.12.0+f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/createPoint.js
3
3
  function t(t, n) {
4
4
  var r = t.x, i = t.y;
@@ -3,7 +3,7 @@ import { require_classnames as t } from "../../../../../../classnames@2.5.1/node
3
3
  import n from "../../../../../../@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js";
4
4
  import r from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js";
5
5
  import i from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js";
6
- import { Point as a } from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
6
+ import a from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
7
7
  import { require_Line as o } from "../../../../../../@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js";
8
8
  import s from "../utils/getScaleBandwidth.js";
9
9
  import c from "react";
@@ -3,7 +3,7 @@ import { require_classnames as t } from "../../../../../../classnames@2.5.1/node
3
3
  import n from "../../../../../../@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js";
4
4
  import r from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js";
5
5
  import i from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js";
6
- import { Point as a } from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
6
+ import a from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
7
7
  import { require_Line as o } from "../../../../../../@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js";
8
8
  import s from "../utils/getScaleBandwidth.js";
9
9
  import c from "react";
@@ -15,4 +15,4 @@ var e = /*#__PURE__*/ function() {
15
15
  }, e;
16
16
  }();
17
17
  //#endregion
18
- export { e as Point };
18
+ export { e as default };
@@ -26,7 +26,7 @@ function c(e) {
26
26
  return typeof e == "number" && Number.isFinite(e) || typeof e == "string";
27
27
  }
28
28
  function l(e) {
29
- var t = e.verticalAnchor, l = t === void 0 ? "end" : t, u = e.scaleToFit, d = u === void 0 ? !1 : u, f = e.angle, p = e.width, m = e.lineHeight, h = m === void 0 ? "1em" : m, g = e.capHeight, _ = g === void 0 ? "0.71em" : g, v = e.children, y = e.style, b = o(e, a), x = b.x, S = x === void 0 ? 0 : x, C = b.y, w = C === void 0 ? 0 : C, T = !c(S) || !c(w), E = r(function() {
29
+ var t = e.verticalAnchor, l = t === void 0 ? "end" : t, u = e.scaleToFit, d = u !== void 0 && u, f = e.angle, p = e.width, m = e.lineHeight, h = m === void 0 ? "1em" : m, g = e.capHeight, _ = g === void 0 ? "0.71em" : g, v = e.children, y = e.style, b = o(e, a), x = b.x, S = x === void 0 ? 0 : x, C = b.y, w = C === void 0 ? 0 : C, T = !c(S) || !c(w), E = r(function() {
30
30
  return {
31
31
  wordsWithWidth: (v == null ? [] : v.toString().split(/(?:(?!\u00A0+)\s+)/)).map(function(e) {
32
32
  return {
@@ -13,4 +13,4 @@ function t() {
13
13
  return i;
14
14
  }
15
15
  //#endregion
16
- export { t as default };
16
+ export { t as clsx, t as default };
@@ -443,17 +443,17 @@ ${T.current.stack}
443
443
  var be = ye;
444
444
  function xe(e) {
445
445
  let { children: n, context: r, serverState: i, store: a } = e, o = t.useMemo(() => {
446
- let t = {
446
+ let t = R(a), n = {
447
447
  store: a,
448
- subscription: R(a),
448
+ subscription: t,
449
449
  getServerState: i ? () => i : void 0
450
450
  };
451
- if (process.env.NODE_ENV === "production") return t;
451
+ if (process.env.NODE_ENV === "production") return n;
452
452
  {
453
- let { identityFunctionCheck: n = "once", stabilityCheck: r = "once" } = e;
454
- return /* @__PURE__ */ Object.assign(t, {
453
+ let { identityFunctionCheck: t = "once", stabilityCheck: r = "once" } = e;
454
+ return /* @__PURE__ */ Object.assign(n, {
455
455
  stabilityCheck: r,
456
- identityFunctionCheck: n
456
+ identityFunctionCheck: t
457
457
  });
458
458
  }
459
459
  }, [a, i]), s = t.useMemo(() => a.getState(), [a]);
@@ -468,4 +468,4 @@ function xe(e) {
468
468
  }
469
469
  var Se = xe;
470
470
  //#endregion
471
- export { Se as Provider_default, be as connect };
471
+ export { Se as Provider, Z as ReactReduxContext, be as connect, V as shallowEqual };
@@ -182,4 +182,4 @@ function x(t, a = {}) {
182
182
  };
183
183
  }
184
184
  //#endregion
185
- export { x as C, t as M };
185
+ export { t as ActionCreators, e as ActionTypes, x as default, r as isHistory, i as newHistory, n as parseActions };
@@ -45,7 +45,7 @@ function s(e) {
45
45
  return e instanceof Error || typeof e.message == "string" && e.constructor && typeof e.constructor.stackTraceLimit == "number";
46
46
  }
47
47
  function c(e) {
48
- return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
48
+ return e instanceof Date || typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
49
49
  }
50
50
  function l(e) {
51
51
  let t = typeof e;
@@ -195,4 +195,4 @@ function g(...t) {
195
195
  };
196
196
  }
197
197
  //#endregion
198
- export { g as applyMiddleware, m as combineReducers, u as createStore };
198
+ export { r as __DO_NOT_USE__ActionTypes, g as applyMiddleware, m as combineReducers, h as compose, u as createStore, i as isPlainObject };
package/dist/tool-menu.js CHANGED
@@ -185,4 +185,4 @@ var c = class extends e.Component {
185
185
  }
186
186
  }));
187
187
  //#endregion
188
- export { c as default };
188
+ export { c as ToolMenu, c as default };
@@ -9,4 +9,4 @@ var r = /* @__PURE__ */ e({
9
9
  toolsArr: () => a
10
10
  }), i = ["line", "polygon"], a = [n(), t()];
11
11
  //#endregion
12
- export { i as allTools, a as toolsArr, r as tools_exports };
12
+ export { i as allTools, n as line, t as polygon, a as toolsArr, r as tools_exports };
@@ -55,4 +55,4 @@ h.propTypes = {
55
55
  };
56
56
  var g = a(i(h));
57
57
  //#endregion
58
- export { g as default };
58
+ export { h as ArrowedLine, g as default };
@@ -3,7 +3,7 @@ import { require_browser as t } from "../../node_modules/.bun/invariant@2.2.4/no
3
3
  import { equalPoints as n, getMiddleOfTwoPoints as r, getRightestPoints as i } from "../../utils.js";
4
4
  import { ToolPropTypeFields as a } from "../shared/types.js";
5
5
  import o from "./polygon.js";
6
- import s from "../../mark-label.js";
6
+ import { MarkLabel as s } from "../../mark-label.js";
7
7
  import c from "react";
8
8
  import l from "prop-types";
9
9
  import { chunk as u, isEmpty as d } from "@pie-element/shared-lodash";
@@ -116,7 +116,7 @@ var g = /* @__PURE__ */ e(t(), 1), _ = p("pie-lib:graphing-solution-set:polygon"
116
116
  onClick: this.clickPoint.bind(this, i, d)
117
117
  }) }) });
118
118
  }
119
- }, b = class extends c.Component {
119
+ }, b = y, x = class extends c.Component {
120
120
  static propTypes = {
121
121
  ...a,
122
122
  graphProps: f.GraphPropsType.isRequired
@@ -173,7 +173,7 @@ var g = /* @__PURE__ */ e(t(), 1), _ = p("pie-lib:graphing-solution-set:polygon"
173
173
  };
174
174
  render() {
175
175
  let { coordinatesOnHover: e, mark: t, graphProps: n, onClick: r, isToolActive: i, labelNode: a, labelModeEnabled: o } = this.props, { mark: s } = this.state;
176
- return /* @__PURE__ */ m(y, {
176
+ return /* @__PURE__ */ m(b, {
177
177
  ...s || t,
178
178
  coordinatesOnHover: e,
179
179
  onChange: this.change,
@@ -191,4 +191,4 @@ var g = /* @__PURE__ */ e(t(), 1), _ = p("pie-lib:graphing-solution-set:polygon"
191
191
  }
192
192
  };
193
193
  //#endregion
194
- export { b as default };
194
+ export { b as BaseComponent, y as RawBaseComponent, x as default, v as swap };
@@ -52,4 +52,4 @@ var n = (t, n) => {
52
52
  }
53
53
  });
54
54
  //#endregion
55
- export { r as tool };
55
+ export { n as addPointToArray, r as tool };
@@ -44,7 +44,7 @@ var d = l("polygon", { shouldForwardProp: (e) => !["isSolution", "correctness"].
44
44
  ...o
45
45
  });
46
46
  }
47
- }, h = s({
47
+ }, h = m, g = s({
48
48
  bounds: (t, { domain: r, range: i }) => {
49
49
  let { points: a } = t;
50
50
  return e(n(a), r, i);
@@ -57,6 +57,6 @@ var d = l("polygon", { shouldForwardProp: (e) => !["isSolution", "correctness"].
57
57
  let { points: r } = e;
58
58
  return r.map((e) => t(e).add(t(n)));
59
59
  }
60
- })(m);
60
+ })(h);
61
61
  //#endregion
62
- export { h as default };
62
+ export { h as Polygon, m as RawPolygon, g as default, p as getPointString };
@@ -1,6 +1,6 @@
1
1
  import { equalPoints as e, getMiddleOfTwoPoints as t, sameAxes as n } from "../../../utils.js";
2
2
  import { correct as r, disabled as i, incorrect as a, missing as o } from "../styles.js";
3
- import s from "../../../mark-label.js";
3
+ import { MarkLabel as s } from "../../../mark-label.js";
4
4
  import { BasePoint as c } from "../point/index.js";
5
5
  import l from "react";
6
6
  import u from "prop-types";
@@ -1,5 +1,5 @@
1
1
  import { arrowDimensions as e, getAngleDeg as t } from "../../../utils.js";
2
- import n from "../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
2
+ import { clsx as n } from "../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
3
3
  import r from "react";
4
4
  import i from "prop-types";
5
5
  import { isEqual as a } from "@pie-element/shared-lodash";
@@ -1,5 +1,5 @@
1
1
  import { thinnerShapesNeeded as e } from "../../../utils.js";
2
- import t from "../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
2
+ import { clsx as t } from "../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
3
3
  import { ArrowHead as n } from "../arrow-head.js";
4
4
  import r from "react";
5
5
  import i from "prop-types";
@@ -1,6 +1,6 @@
1
1
  import { thinnerShapesNeeded as e } from "../../../utils.js";
2
2
  import { correct as t, disabled as n, incorrect as r, missing as i } from "../styles.js";
3
- import a from "../../../coordinates-label.js";
3
+ import { CoordinatesLabel as a } from "../../../coordinates-label.js";
4
4
  import o from "react";
5
5
  import s from "prop-types";
6
6
  import { types as c } from "@pie-lib/plot";
package/dist/undo-redo.js CHANGED
@@ -30,4 +30,4 @@ var { translator: s } = o, c = n(a)(({ theme: e }) => ({
30
30
  }
31
31
  };
32
32
  //#endregion
33
- export { l as default };
33
+ export { l as UndoRedo, l as default };
package/package.json CHANGED
@@ -1,24 +1,29 @@
1
1
  {
2
2
  "name": "@pie-lib/graphing-solution-set",
3
- "version": "4.0.4-next.30",
3
+ "version": "4.0.4-next.32",
4
4
  "description": "Graphing components",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/pie-framework/pie-elements-ng.git",
8
+ "directory": "packages/lib-react/graphing-solution-set"
9
+ },
5
10
  "dependencies": {
6
11
  "@dnd-kit/sortable": "10.0.0",
7
12
  "@emotion/react": "^11.14.0",
8
- "@emotion/style": "^0.8.0",
13
+ "@emotion/styled": "^11.14.1",
9
14
  "@mapbox/point-geometry": "^1.1.0",
10
15
  "@mui/icons-material": "^7.3.4",
11
16
  "@mui/material": "^7.3.4",
12
- "@pie-lib/drag": "4.0.3-next.37",
13
- "@pie-lib/editable-html-tip-tap": "2.1.2-next.30",
14
- "@pie-lib/graphing-utils": "3.0.3-next.0",
15
- "@pie-lib/plot": "4.0.4-next.30",
16
- "@pie-lib/render-ui": "6.1.1-next.37",
17
- "@pie-lib/tools": "2.0.3-next.0",
18
- "@pie-lib/translator": "4.0.3-next.0",
17
+ "@pie-lib/drag": "4.0.3-next.39",
18
+ "@pie-lib/editable-html-tip-tap": "2.1.2-next.32",
19
+ "@pie-lib/graphing-utils": "3.0.3-next.2",
20
+ "@pie-lib/plot": "4.0.4-next.32",
21
+ "@pie-lib/render-ui": "6.1.1-next.39",
22
+ "@pie-lib/tools": "2.0.3-next.1",
23
+ "@pie-lib/translator": "4.0.3-next.2",
19
24
  "@visx/axis": "^3.0.0",
20
25
  "@visx/clip-path": "^3.0.0",
21
- "@visx/curve": "^3.0.0",
26
+ "@visx/curve": "^4.0.0",
22
27
  "@visx/event": "^3.0.0",
23
28
  "@visx/grid": "^3.0.0",
24
29
  "@visx/group": "^3.0.0",
@@ -33,9 +38,9 @@
33
38
  "react-redux": "^9.3.0",
34
39
  "redux": "^5.0.1",
35
40
  "redux-undo": "^1.1.0",
36
- "@pie-element/shared-lodash": "0.1.1-next.0",
41
+ "@pie-element/shared-lodash": "0.1.1-next.1",
37
42
  "clsx": "^2.1.1",
38
- "@pie-lib/config-ui": "13.0.4-next.30",
43
+ "@pie-lib/config-ui": "13.0.4-next.32",
39
44
  "@dnd-kit/core": "^6.3.1",
40
45
  "@dnd-kit/utilities": "^3.2.2",
41
46
  "d3-shape": "^3.2.0"