@pie-lib/graphing-solution-set 2.32.0 → 2.34.0-mui-update.0

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 (97) hide show
  1. package/CHANGELOG.md +16 -2
  2. package/lib/axis/arrow.js +19 -55
  3. package/lib/axis/arrow.js.map +1 -1
  4. package/lib/axis/axes.js +101 -184
  5. package/lib/axis/axes.js.map +1 -1
  6. package/lib/axis/index.js +1 -6
  7. package/lib/axis/index.js.map +1 -1
  8. package/lib/bg.js +21 -49
  9. package/lib/bg.js.map +1 -1
  10. package/lib/container/actions.js +2 -8
  11. package/lib/container/actions.js.map +1 -1
  12. package/lib/container/index.js +14 -60
  13. package/lib/container/index.js.map +1 -1
  14. package/lib/container/marks.js +1 -6
  15. package/lib/container/marks.js.map +1 -1
  16. package/lib/container/middleware.js +2 -8
  17. package/lib/container/middleware.js.map +1 -1
  18. package/lib/container/reducer.js +1 -8
  19. package/lib/container/reducer.js.map +1 -1
  20. package/lib/coordinates-label.js +23 -55
  21. package/lib/coordinates-label.js.map +1 -1
  22. package/lib/graph-with-controls.js +132 -203
  23. package/lib/graph-with-controls.js.map +1 -1
  24. package/lib/graph.js +61 -126
  25. package/lib/graph.js.map +1 -1
  26. package/lib/grid-setup.js +161 -223
  27. package/lib/grid-setup.js.map +1 -1
  28. package/lib/grid.js +28 -73
  29. package/lib/grid.js.map +1 -1
  30. package/lib/index.js +1 -12
  31. package/lib/index.js.map +1 -1
  32. package/lib/labels.js +84 -184
  33. package/lib/labels.js.map +1 -1
  34. package/lib/mark-label.js +40 -88
  35. package/lib/mark-label.js.map +1 -1
  36. package/lib/toggle-bar.js +158 -242
  37. package/lib/toggle-bar.js.map +1 -1
  38. package/lib/tool-menu.js +93 -200
  39. package/lib/tool-menu.js.map +1 -1
  40. package/lib/tools/index.js +2 -7
  41. package/lib/tools/index.js.map +1 -1
  42. package/lib/tools/line/component.js +48 -62
  43. package/lib/tools/line/component.js.map +1 -1
  44. package/lib/tools/line/index.js +1 -6
  45. package/lib/tools/line/index.js.map +1 -1
  46. package/lib/tools/polygon/component.js +75 -172
  47. package/lib/tools/polygon/component.js.map +1 -1
  48. package/lib/tools/polygon/index.js +6 -23
  49. package/lib/tools/polygon/index.js.map +1 -1
  50. package/lib/tools/polygon/line.js +48 -85
  51. package/lib/tools/polygon/line.js.map +1 -1
  52. package/lib/tools/polygon/polygon.js +64 -102
  53. package/lib/tools/polygon/polygon.js.map +1 -1
  54. package/lib/tools/shared/arrow-head.js +7 -20
  55. package/lib/tools/shared/arrow-head.js.map +1 -1
  56. package/lib/tools/shared/line/index.js +86 -182
  57. package/lib/tools/shared/line/index.js.map +1 -1
  58. package/lib/tools/shared/line/line-path.js +70 -94
  59. package/lib/tools/shared/line/line-path.js.map +1 -1
  60. package/lib/tools/shared/line/with-root-edge.js +21 -55
  61. package/lib/tools/shared/line/with-root-edge.js.map +1 -1
  62. package/lib/tools/shared/point/arrow-point.js +18 -45
  63. package/lib/tools/shared/point/arrow-point.js.map +1 -1
  64. package/lib/tools/shared/point/arrow.js +16 -42
  65. package/lib/tools/shared/point/arrow.js.map +1 -1
  66. package/lib/tools/shared/point/base-point.js +22 -52
  67. package/lib/tools/shared/point/base-point.js.map +1 -1
  68. package/lib/tools/shared/point/index.js +30 -52
  69. package/lib/tools/shared/point/index.js.map +1 -1
  70. package/lib/tools/shared/styles.js +8 -31
  71. package/lib/tools/shared/styles.js.map +1 -1
  72. package/lib/tools/shared/types.js +1 -5
  73. package/lib/tools/shared/types.js.map +1 -1
  74. package/lib/undo-redo.js +27 -67
  75. package/lib/undo-redo.js.map +1 -1
  76. package/lib/use-debounce.js +4 -11
  77. package/lib/use-debounce.js.map +1 -1
  78. package/lib/utils.js +56 -131
  79. package/lib/utils.js.map +1 -1
  80. package/package.json +16 -14
  81. package/src/axis/arrow.jsx +7 -12
  82. package/src/axis/axes.jsx +32 -37
  83. package/src/coordinates-label.jsx +13 -18
  84. package/src/graph-with-controls.jsx +90 -93
  85. package/src/grid-setup.jsx +204 -206
  86. package/src/grid.jsx +1 -3
  87. package/src/labels.jsx +83 -124
  88. package/src/mark-label.jsx +14 -25
  89. package/src/toggle-bar.jsx +155 -166
  90. package/src/tool-menu.jsx +136 -195
  91. package/src/tools/line/component.jsx +29 -29
  92. package/src/tools/polygon/component.jsx +1 -3
  93. package/src/tools/polygon/line.jsx +26 -24
  94. package/src/tools/polygon/polygon.jsx +34 -39
  95. package/src/tools/shared/line/line-path.jsx +50 -47
  96. package/src/tools/shared/point/index.jsx +22 -34
  97. package/src/undo-redo.jsx +16 -24
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [2.32.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing-solution-set@2.30.0...@pie-lib/graphing-solution-set@2.32.0) (2025-10-16)
6
+ # [2.34.0-mui-update.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing-solution-set@2.33.0-mui-update.0...@pie-lib/graphing-solution-set@2.34.0-mui-update.0) (2025-11-03)
7
7
 
8
8
  **Note:** Version bump only for package @pie-lib/graphing-solution-set
9
9
 
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- # [2.31.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing-solution-set@2.30.0...@pie-lib/graphing-solution-set@2.31.0) (2025-10-16)
14
+ # [2.33.0-mui-update.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing-solution-set@2.31.0-mui-update.0...@pie-lib/graphing-solution-set@2.33.0-mui-update.0) (2025-11-03)
15
15
 
16
16
  **Note:** Version bump only for package @pie-lib/graphing-solution-set
17
17
 
@@ -19,6 +19,20 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
19
19
 
20
20
 
21
21
 
22
+ # [2.31.0-mui-update.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing-solution-set@2.30.2...@pie-lib/graphing-solution-set@2.31.0-mui-update.0) (2025-10-31)
23
+
24
+
25
+ ### Features
26
+
27
+ * bump react and react-dom ([01dc19e](https://github.com/pie-framework/pie-lib/commit/01dc19e88bbc8d372c561d1511df1a82937d45af))
28
+ * drag library update in graphing packages ([6638af8](https://github.com/pie-framework/pie-lib/commit/6638af83235a13b983b95587ba042bbdff61c4df))
29
+ * packages/graphing mui update PD-5268 ([503e9fd](https://github.com/pie-framework/pie-lib/commit/503e9fd47f230503ca8133eb8a61cacc727bb0fe))
30
+ * packages/graphing-solution-set mui update PD-5268 ([e73ac80](https://github.com/pie-framework/pie-lib/commit/e73ac80be3059028f7e05fd0f5ece467b2250018))
31
+
32
+
33
+
34
+
35
+
22
36
  ## [2.30.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing-solution-set@2.30.1...@pie-lib/graphing-solution-set@2.30.2) (2025-10-14)
23
37
 
24
38
  **Note:** Version bump only for package @pie-lib/graphing-solution-set
package/lib/axis/arrow.js CHANGED
@@ -1,105 +1,72 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports["default"] = exports.Arrow = void 0;
9
-
10
8
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
-
12
9
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
13
-
14
- var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
15
-
16
10
  var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
17
-
18
11
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
19
-
12
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
20
13
  var _react = _interopRequireDefault(require("react"));
21
-
22
14
  var _propTypes = _interopRequireDefault(require("prop-types"));
23
-
24
- var _classnames = _interopRequireDefault(require("classnames"));
25
-
26
- var _styles = require("@material-ui/core/styles");
27
-
15
+ var _styles = require("@mui/material/styles");
28
16
  var _plot = require("@pie-lib/plot");
29
-
30
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
31
-
32
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
33
-
34
- var style = function style(theme) {
17
+ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
18
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
19
+ var StyledPath = (0, _styles.styled)('path')(function (_ref) {
20
+ var theme = _ref.theme;
35
21
  return {
36
- root: {
37
- fill: "var(--arrow-color, ".concat(theme.palette.common.black, ")")
38
- }
22
+ fill: "var(--arrow-color, ".concat(theme.palette.common.black, ")")
39
23
  };
40
- };
41
-
42
- var Arrow = /*#__PURE__*/function (_React$Component) {
43
- (0, _inherits2["default"])(Arrow, _React$Component);
44
-
45
- var _super = _createSuper(Arrow);
46
-
24
+ });
25
+ var Arrow = exports.Arrow = /*#__PURE__*/function (_React$Component) {
47
26
  function Arrow() {
48
27
  (0, _classCallCheck2["default"])(this, Arrow);
49
- return _super.apply(this, arguments);
28
+ return _callSuper(this, Arrow, arguments);
50
29
  }
51
-
52
- (0, _createClass2["default"])(Arrow, [{
30
+ (0, _inherits2["default"])(Arrow, _React$Component);
31
+ return (0, _createClass2["default"])(Arrow, [{
53
32
  key: "render",
54
33
  value: function render() {
55
34
  var _this$props = this.props,
56
- x = _this$props.x,
57
- y = _this$props.y,
58
- classes = _this$props.classes,
59
- className = _this$props.className,
60
- scale = _this$props.scale;
61
- var names = (0, _classnames["default"])(classes.root, className);
35
+ x = _this$props.x,
36
+ y = _this$props.y,
37
+ className = _this$props.className,
38
+ scale = _this$props.scale;
62
39
  var direction = this.props.direction || 'left';
63
40
  var xv = scale.x(x);
64
41
  var yv = scale.y(y);
65
42
  var transform = '';
66
-
67
43
  var getTransform = function getTransform(x, y, rotate) {
68
44
  return "translate(".concat(x, ", ").concat(y, ") rotate(").concat(rotate, ")");
69
45
  };
70
-
71
46
  if (direction === 'left') {
72
47
  transform = getTransform(xv - 15, yv, 0);
73
48
  }
74
-
75
49
  if (direction === 'right') {
76
50
  transform = getTransform(xv + 15, yv, 180);
77
51
  }
78
-
79
52
  if (direction === 'up') {
80
53
  transform = getTransform(xv, yv - 15, 90);
81
54
  }
82
-
83
55
  if (direction === 'down') {
84
56
  transform = getTransform(xv, yv + 15, 270);
85
57
  }
86
-
87
- return /*#__PURE__*/_react["default"].createElement("path", {
58
+ return /*#__PURE__*/_react["default"].createElement(StyledPath, {
88
59
  d: "m 0,0 8,-5 0,10 -8,-5",
89
60
  transform: transform,
90
- className: names
61
+ className: className
91
62
  });
92
63
  }
93
64
  }]);
94
- return Arrow;
95
65
  }(_react["default"].Component);
96
-
97
- exports.Arrow = Arrow;
98
66
  Arrow.propTypes = {
99
67
  y: _propTypes["default"].number,
100
68
  x: _propTypes["default"].number,
101
69
  direction: _propTypes["default"].oneOf(['left', 'right', 'up', 'down']),
102
- classes: _propTypes["default"].object.isRequired,
103
70
  className: _propTypes["default"].string,
104
71
  scale: _plot.types.ScaleType.isRequired
105
72
  };
@@ -108,8 +75,5 @@ Arrow.defaultProps = {
108
75
  x: 0,
109
76
  direction: 'left'
110
77
  };
111
-
112
- var _default = (0, _styles.withStyles)(style)(Arrow);
113
-
114
- exports["default"] = _default;
78
+ var _default = exports["default"] = Arrow;
115
79
  //# sourceMappingURL=arrow.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/axis/arrow.jsx"],"names":["style","theme","root","fill","palette","common","black","Arrow","props","x","y","classes","className","scale","names","direction","xv","yv","transform","getTransform","rotate","React","Component","propTypes","PropTypes","number","oneOf","object","isRequired","string","types","ScaleType","defaultProps"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;;;;;AAEA,IAAMA,KAAK,GAAG,SAARA,KAAQ,CAACC,KAAD;AAAA,SAAY;AACxBC,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,+BAAwBF,KAAK,CAACG,OAAN,CAAcC,MAAd,CAAqBC,KAA7C;AADA;AADkB,GAAZ;AAAA,CAAd;;IAMaC,K;;;;;;;;;;;;WACX,kBAAS;AACP,wBAA4C,KAAKC,KAAjD;AAAA,UAAQC,CAAR,eAAQA,CAAR;AAAA,UAAWC,CAAX,eAAWA,CAAX;AAAA,UAAcC,OAAd,eAAcA,OAAd;AAAA,UAAuBC,SAAvB,eAAuBA,SAAvB;AAAA,UAAkCC,KAAlC,eAAkCA,KAAlC;AACA,UAAMC,KAAK,GAAG,4BAAWH,OAAO,CAACT,IAAnB,EAAyBU,SAAzB,CAAd;AACA,UAAIG,SAAS,GAAG,KAAKP,KAAL,CAAWO,SAAX,IAAwB,MAAxC;AAEA,UAAMC,EAAE,GAAGH,KAAK,CAACJ,CAAN,CAAQA,CAAR,CAAX;AACA,UAAMQ,EAAE,GAAGJ,KAAK,CAACH,CAAN,CAAQA,CAAR,CAAX;AAE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B,YAAMC,SAAN,CAAgBH;AANP,CAAlB;AASArB,KAAK,CAACyB,YAAN,GAAqB;AACnBtB,EAAAA,CAAC,EAAE,CADgB;AAEnBD,EAAAA,CAAC,EAAE,CAFgB;AAGnBM,EAAAA,SAAS,EAAE;AAHQ,CAArB;;eAMe,wBAAWf,KAAX,EAAkBO,KAAlB,C","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport classNames from 'classnames';\nimport { withStyles } from '@material-ui/core/styles';\nimport { types } from '@pie-lib/plot';\n\nconst style = (theme) => ({\n root: {\n fill: `var(--arrow-color, ${theme.palette.common.black})`,\n },\n});\n\nexport class Arrow extends React.Component {\n render() {\n const { x, y, classes, className, scale } = this.props;\n const names = classNames(classes.root, className);\n let direction = this.props.direction || 'left';\n\n const xv = scale.x(x);\n const yv = scale.y(y);\n\n let transform = '';\n\n const getTransform = (x, y, rotate) => `translate(${x}, ${y}) rotate(${rotate})`;\n\n if (direction === 'left') {\n transform = getTransform(xv - 15, yv, 0);\n }\n\n if (direction === 'right') {\n transform = getTransform(xv + 15, yv, 180);\n }\n\n if (direction === 'up') {\n transform = getTransform(xv, yv - 15, 90);\n }\n\n if (direction === 'down') {\n transform = getTransform(xv, yv + 15, 270);\n }\n\n return <path d=\"m 0,0 8,-5 0,10 -8,-5\" transform={transform} className={names} />;\n }\n}\n\nArrow.propTypes = {\n y: PropTypes.number,\n x: PropTypes.number,\n direction: PropTypes.oneOf(['left', 'right', 'up', 'down']),\n classes: PropTypes.object.isRequired,\n className: PropTypes.string,\n scale: types.ScaleType.isRequired,\n};\n\nArrow.defaultProps = {\n y: 0,\n x: 0,\n direction: 'left',\n};\n\nexport default withStyles(style)(Arrow);\n"],"file":"arrow.js"}
1
+ {"version":3,"file":"arrow.js","names":["_react","_interopRequireDefault","require","_propTypes","_styles","_plot","_callSuper","t","o","e","_getPrototypeOf2","_possibleConstructorReturn2","_isNativeReflectConstruct","Reflect","construct","constructor","apply","Boolean","prototype","valueOf","call","StyledPath","styled","_ref","theme","fill","concat","palette","common","black","Arrow","exports","_React$Component","_classCallCheck2","arguments","_inherits2","_createClass2","key","value","render","_this$props","props","x","y","className","scale","direction","xv","yv","transform","getTransform","rotate","createElement","d","React","Component","propTypes","PropTypes","number","oneOf","string","types","ScaleType","isRequired","defaultProps","_default"],"sources":["../../src/axis/arrow.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { styled } from '@mui/material/styles';\nimport { types } from '@pie-lib/plot';\n\nconst StyledPath = styled('path')(({ theme }) => ({\n fill: `var(--arrow-color, ${theme.palette.common.black})`,\n}));\n\nexport class Arrow extends React.Component {\n render() {\n const { x, y, className, scale } = this.props;\n let direction = this.props.direction || 'left';\n\n const xv = scale.x(x);\n const yv = scale.y(y);\n\n let transform = '';\n\n const getTransform = (x, y, rotate) => `translate(${x}, ${y}) rotate(${rotate})`;\n\n if (direction === 'left') {\n transform = getTransform(xv - 15, yv, 0);\n }\n\n if (direction === 'right') {\n transform = getTransform(xv + 15, yv, 180);\n }\n\n if (direction === 'up') {\n transform = getTransform(xv, yv - 15, 90);\n }\n\n if (direction === 'down') {\n transform = getTransform(xv, yv + 15, 270);\n }\n\n return <StyledPath d=\"m 0,0 8,-5 0,10 -8,-5\" transform={transform} className={className} />;\n }\n}\n\nArrow.propTypes = {\n y: PropTypes.number,\n x: PropTypes.number,\n direction: PropTypes.oneOf(['left', 'right', 'up', 'down']),\n className: PropTypes.string,\n scale: types.ScaleType.isRequired,\n};\n\nArrow.defaultProps = {\n y: 0,\n x: 0,\n direction: 'left',\n};\n\nexport default Arrow;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AAAsC,SAAAI,WAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,WAAA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