@pie-lib/graphing 2.15.1-beta.0 → 2.16.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.
- package/CHANGELOG.json +1 -1017
- package/CHANGELOG.md +153 -1
- package/package.json +9 -12
- package/src/axis/axes.jsx +1 -1
- package/src/coordinates-label.jsx +1 -1
- package/src/graph-with-controls.jsx +1 -1
- package/src/grid-setup.jsx +1 -1
- package/src/key-legend.jsx +1 -1
- package/src/labels.jsx +1 -1
- package/src/mark-label.jsx +1 -1
- package/src/toggle-bar.jsx +1 -1
- package/src/tools/circle/bg-circle.jsx +1 -1
- package/src/tools/circle/component.jsx +1 -1
- package/src/tools/polygon/line.jsx +1 -1
- package/src/tools/polygon/polygon.jsx +1 -1
- package/src/tools/shared/line/index.jsx +1 -1
- package/src/tools/shared/line/line-path.jsx +1 -1
- package/src/tools/shared/point/index.jsx +1 -1
- package/src/tools/shared/styles.js +1 -1
- package/src/undo-redo.jsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,159 @@
|
|
|
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
|
-
|
|
6
|
+
# [2.16.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.16.0) (2025-07-31)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [2.17.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.17.0) (2025-07-31)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [2.16.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.16.0) (2025-07-31)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [2.15.0-beta.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.8) (2025-07-25)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
# [2.15.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.7) (2025-07-25)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
# [2.15.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.7) (2025-07-25)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
# [2.15.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.6) (2025-07-25)
|
|
55
|
+
|
|
56
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
# [2.15.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.6) (2025-07-25)
|
|
63
|
+
|
|
64
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
# [2.15.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.5) (2025-07-25)
|
|
71
|
+
|
|
72
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
# [2.15.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.5) (2025-07-25)
|
|
79
|
+
|
|
80
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
# [2.15.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.4) (2025-07-25)
|
|
87
|
+
|
|
88
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
# [2.15.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.3) (2025-07-25)
|
|
95
|
+
|
|
96
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
# [2.15.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.4) (2025-07-23)
|
|
103
|
+
|
|
104
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
# [2.15.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.3) (2025-07-23)
|
|
111
|
+
|
|
112
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
# [2.15.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.3) (2025-07-20)
|
|
119
|
+
|
|
120
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
# [2.15.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.2) (2025-07-20)
|
|
127
|
+
|
|
128
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
# [2.15.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.1) (2025-07-20)
|
|
135
|
+
|
|
136
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
# [2.15.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.2) (2025-07-20)
|
|
143
|
+
|
|
144
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
# [2.15.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.1) (2025-07-20)
|
|
151
|
+
|
|
152
|
+
**Note:** Version bump only for package @pie-lib/graphing
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
# [2.15.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/graphing@2.14.21...@pie-lib/graphing@2.15.0-beta.1) (2025-07-20)
|
|
7
159
|
|
|
8
160
|
**Note:** Version bump only for package @pie-lib/graphing
|
|
9
161
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.16.0",
|
|
7
7
|
"description": "Graphing components",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"react",
|
|
@@ -19,14 +19,12 @@
|
|
|
19
19
|
"@mapbox/point-geometry": "^0.1.0",
|
|
20
20
|
"@material-ui/core": "^3.8.3",
|
|
21
21
|
"@material-ui/icons": "^3.0.2",
|
|
22
|
-
"@pie-lib/
|
|
23
|
-
"@pie-lib/
|
|
24
|
-
"@pie-lib/
|
|
25
|
-
"@pie-lib/
|
|
26
|
-
"@pie-lib/
|
|
27
|
-
"@pie-lib/
|
|
28
|
-
"@pie-lib/tools": "beta",
|
|
29
|
-
"@pie-lib/translator": "^2.4.1-beta.0",
|
|
22
|
+
"@pie-lib/drag": "^2.5.0",
|
|
23
|
+
"@pie-lib/editable-html": "^11.4.0",
|
|
24
|
+
"@pie-lib/graphing-utils": "^1.4.0",
|
|
25
|
+
"@pie-lib/plot": "^2.10.0",
|
|
26
|
+
"@pie-lib/tools": "^0.12.0",
|
|
27
|
+
"@pie-lib/translator": "^2.6.0",
|
|
30
28
|
"@vx/axis": "^0.0.189",
|
|
31
29
|
"@vx/clip-path": "^0.0.189",
|
|
32
30
|
"@vx/event": "^0.0.189",
|
|
@@ -46,12 +44,11 @@
|
|
|
46
44
|
"react-draggable": "^3.3.0",
|
|
47
45
|
"react-input-autosize": "^2.2.1",
|
|
48
46
|
"react-redux": "^6.0.0",
|
|
49
|
-
"redux": "^4.0.1"
|
|
50
|
-
"redux-undo": "beta"
|
|
47
|
+
"redux": "^4.0.1"
|
|
51
48
|
},
|
|
52
49
|
"peerDependencies": {
|
|
53
50
|
"react": "^16.8.1"
|
|
54
51
|
},
|
|
55
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "889a13bfea2c768b8a3a6eabfc6fe7b7725aa832",
|
|
56
53
|
"scripts": {}
|
|
57
54
|
}
|
package/src/axis/axes.jsx
CHANGED
|
@@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import Arrow from './arrow';
|
|
6
6
|
import { withStyles } from '@material-ui/core';
|
|
7
7
|
import { countWords, findLongestWord, amountToIncreaseWidth, getTickValues } from '../utils';
|
|
8
|
-
import { color, Readable } from '
|
|
8
|
+
import { color, Readable } from '../../../render-ui/src/index';
|
|
9
9
|
|
|
10
10
|
export const AxisPropTypes = {
|
|
11
11
|
includeArrows: PropTypes.object,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { types } from '@pie-lib/plot';
|
|
4
|
-
import { color } from '
|
|
4
|
+
import { color } from '../../render-ui/src/index';
|
|
5
5
|
import { withStyles } from '@material-ui/core/styles';
|
|
6
6
|
import InputBase from '@material-ui/core/InputBase';
|
|
7
7
|
import { roundNumber } from './utils';
|
|
@@ -4,7 +4,7 @@ import { withStyles } from '@material-ui/core/styles';
|
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import uniq from 'lodash/uniq';
|
|
6
6
|
import isString from 'lodash/isString';
|
|
7
|
-
import { color } from '
|
|
7
|
+
import { color } from '../../render-ui/src/index';
|
|
8
8
|
|
|
9
9
|
import ToolMenu from './tool-menu';
|
|
10
10
|
import Graph, { graphPropTypes } from './graph';
|
package/src/grid-setup.jsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { color, InputContainer } from '
|
|
3
|
+
import { color, InputContainer } from '../../render-ui/src/index';
|
|
4
4
|
import { withStyles } from '@material-ui/core/styles';
|
|
5
5
|
import ExpansionPanelSummary from '@material-ui/core/ExpansionPanelSummary';
|
|
6
6
|
import Typography from '@material-ui/core/Typography';
|
package/src/key-legend.jsx
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { withStyles } from '@material-ui/core/styles';
|
|
5
|
-
import { color } from '
|
|
5
|
+
import { color } from '../../render-ui/src/index';
|
|
6
6
|
|
|
7
7
|
const styles = (theme) => ({
|
|
8
8
|
container: {
|
package/src/labels.jsx
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { withStyles } from '@material-ui/core/styles';
|
|
4
4
|
import { types } from '@pie-lib/plot';
|
|
5
|
-
import { color, Readable } from '
|
|
5
|
+
import { color, Readable } from '../../render-ui/src/index';
|
|
6
6
|
import EditableHtml from '@pie-lib/editable-html';
|
|
7
7
|
import cn from 'classnames';
|
|
8
8
|
|
package/src/mark-label.jsx
CHANGED
|
@@ -5,7 +5,7 @@ import { withStyles } from '@material-ui/core/styles';
|
|
|
5
5
|
import AutosizeInput from 'react-input-autosize';
|
|
6
6
|
import { useDebounce } from './use-debounce';
|
|
7
7
|
import { types } from '@pie-lib/plot';
|
|
8
|
-
import { color } from '
|
|
8
|
+
import { color } from '../../render-ui/src/index';
|
|
9
9
|
import SvgIcon from './label-svg-icon';
|
|
10
10
|
|
|
11
11
|
const inputStyles = (theme) => ({
|
package/src/toggle-bar.jsx
CHANGED
|
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
import { withStyles } from '@material-ui/core/styles';
|
|
4
4
|
import cn from 'classnames';
|
|
5
5
|
import Button from '@material-ui/core/Button';
|
|
6
|
-
import { color } from '
|
|
6
|
+
import { color } from '../../render-ui/src/index';
|
|
7
7
|
import { allTools } from './tools';
|
|
8
8
|
import { withDragContext, DragSource, DropTarget } from '@pie-lib/drag';
|
|
9
9
|
import Translator from '@pie-lib/translator';
|
|
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
import { withStyles } from '@material-ui/core/styles';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import { types, gridDraggable } from '@pie-lib/plot';
|
|
6
|
-
import { color } from '
|
|
6
|
+
import { color } from '../../../../render-ui/src/index';
|
|
7
7
|
import * as utils from '../../utils';
|
|
8
8
|
import { disabled, disabledSecondary, correct, incorrect, missing } from '../shared/styles';
|
|
9
9
|
|
|
@@ -10,7 +10,7 @@ import { rootEdgeComponent } from '../shared/line/with-root-edge';
|
|
|
10
10
|
import ReactDOM from 'react-dom';
|
|
11
11
|
import MarkLabel from '../../mark-label';
|
|
12
12
|
import isEmpty from 'lodash/isEmpty';
|
|
13
|
-
import { color } from '
|
|
13
|
+
import { color } from '../../../../render-ui/src/index';
|
|
14
14
|
|
|
15
15
|
const opacityPulsate = (opacity) => ({
|
|
16
16
|
'0%': { opacity: '0.0' },
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { withStyles } from '@material-ui/core/styles';
|
|
4
4
|
import { types, gridDraggable } from '@pie-lib/plot';
|
|
5
|
-
import { color } from '
|
|
5
|
+
import { color } from '../../../../render-ui/src/index';
|
|
6
6
|
import * as utils from '../../utils';
|
|
7
7
|
import classNames from 'classnames';
|
|
8
8
|
import { correct, disabled, disabledSecondary, incorrect, missing } from '../shared/styles';
|
|
@@ -4,7 +4,7 @@ import { withStyles } from '@material-ui/core/styles';
|
|
|
4
4
|
import { gridDraggable, types } from '@pie-lib/plot';
|
|
5
5
|
import * as utils from '../../utils';
|
|
6
6
|
import classNames from 'classnames';
|
|
7
|
-
import { color } from '
|
|
7
|
+
import { color } from '../../../../render-ui/src/index';
|
|
8
8
|
import { fade } from '@material-ui/core/styles/colorManipulator';
|
|
9
9
|
import { correct, disabled, incorrect, missing } from '../shared/styles';
|
|
10
10
|
|
|
@@ -8,7 +8,7 @@ import { disabled, disabledSecondary, correct, incorrect, missing } from '../sty
|
|
|
8
8
|
import ReactDOM from 'react-dom';
|
|
9
9
|
import MarkLabel from '../../../mark-label';
|
|
10
10
|
import isEmpty from 'lodash/isEmpty';
|
|
11
|
-
import { color } from '
|
|
11
|
+
import { color } from '../../../../../render-ui/src/index';
|
|
12
12
|
import { getMiddleOfTwoPoints, equalPoints, sameAxes } from '../../../utils';
|
|
13
13
|
|
|
14
14
|
export const lineTool = (type, Component) => () => ({
|
|
@@ -5,7 +5,7 @@ import { types } from '@pie-lib/plot';
|
|
|
5
5
|
import classNames from 'classnames';
|
|
6
6
|
import { disabled, correct, incorrect, missing, disabledSecondary } from '../styles';
|
|
7
7
|
import * as vx from '@vx/shape';
|
|
8
|
-
import { color } from '
|
|
8
|
+
import { color } from '../../../../../render-ui/src/index';
|
|
9
9
|
|
|
10
10
|
export class RawLinePath extends React.Component {
|
|
11
11
|
static propTypes = {
|
|
@@ -4,7 +4,7 @@ import * as utils from '../../../utils';
|
|
|
4
4
|
import { disabled, correct, incorrect, missing, disabledSecondary } from '../styles';
|
|
5
5
|
import { RawBp } from './base-point';
|
|
6
6
|
import { RawArrow } from './arrow-point';
|
|
7
|
-
import { color } from '
|
|
7
|
+
import { color } from '../../../../../render-ui/src/index';
|
|
8
8
|
import BaseArrow from './arrow';
|
|
9
9
|
|
|
10
10
|
const opts = {
|
package/src/undo-redo.jsx
CHANGED
|
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import Button from '@material-ui/core/Button';
|
|
5
5
|
import { withStyles } from '@material-ui/core';
|
|
6
|
-
import { color } from '
|
|
6
|
+
import { color } from '../../render-ui/src/index';
|
|
7
7
|
import Translator from '@pie-lib/translator';
|
|
8
8
|
|
|
9
9
|
const { translator } = Translator;
|