@pie-lib/graphing-solution-set 5.0.7-next.20261019183544 → 5.0.7-next.20261019223635
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.
|
@@ -2,25 +2,20 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
export declare const ArrowHead: {
|
|
4
4
|
({ size, transform, points }: {
|
|
5
|
-
size
|
|
6
|
-
transform
|
|
7
|
-
points
|
|
5
|
+
size?: number | undefined;
|
|
6
|
+
transform?: string | undefined;
|
|
7
|
+
points?: string | undefined;
|
|
8
8
|
}): React.JSX.Element;
|
|
9
9
|
propTypes: {
|
|
10
10
|
points: PropTypes.Requireable<string>;
|
|
11
11
|
size: PropTypes.Requireable<number>;
|
|
12
12
|
transform: PropTypes.Requireable<string>;
|
|
13
13
|
};
|
|
14
|
-
defaultProps: {
|
|
15
|
-
points: string;
|
|
16
|
-
size: number;
|
|
17
|
-
transform: string;
|
|
18
|
-
};
|
|
19
14
|
};
|
|
20
15
|
export declare const ArrowMarker: {
|
|
21
16
|
({ id, size, className }: {
|
|
22
17
|
id: any;
|
|
23
|
-
size
|
|
18
|
+
size?: number | undefined;
|
|
24
19
|
className: any;
|
|
25
20
|
}): React.JSX.Element;
|
|
26
21
|
propTypes: {
|
|
@@ -28,7 +23,4 @@ export declare const ArrowMarker: {
|
|
|
28
23
|
size: PropTypes.Requireable<number>;
|
|
29
24
|
className: PropTypes.Requireable<string>;
|
|
30
25
|
};
|
|
31
|
-
defaultProps: {
|
|
32
|
-
size: number;
|
|
33
|
-
};
|
|
34
26
|
};
|
|
@@ -3,7 +3,7 @@ import e from "prop-types";
|
|
|
3
3
|
import { color as t } from "@pie-lib/render-ui";
|
|
4
4
|
import { jsx as n } from "react/jsx-runtime";
|
|
5
5
|
//#region src/tools/shared/arrow-head.tsx
|
|
6
|
-
var r = ({ size: e, transform: t, points: r }) => /* @__PURE__ */ n("polygon", {
|
|
6
|
+
var r = ({ size: e = 10, transform: t = "", points: r = "" }) => /* @__PURE__ */ n("polygon", {
|
|
7
7
|
points: r || `0,0 ${e},${e / 2} 0,${e}`,
|
|
8
8
|
transform: t
|
|
9
9
|
});
|
|
@@ -11,12 +11,8 @@ r.propTypes = {
|
|
|
11
11
|
points: e.string,
|
|
12
12
|
size: e.number,
|
|
13
13
|
transform: e.string
|
|
14
|
-
}, r.defaultProps = {
|
|
15
|
-
points: "",
|
|
16
|
-
size: 10,
|
|
17
|
-
transform: ""
|
|
18
14
|
};
|
|
19
|
-
var i = ({ id: e, size: i, className: a }) => /* @__PURE__ */ n("marker", {
|
|
15
|
+
var i = ({ id: e, size: i = 5, className: a }) => /* @__PURE__ */ n("marker", {
|
|
20
16
|
id: e,
|
|
21
17
|
viewBox: `0 0 ${i} ${i}`,
|
|
22
18
|
refX: i / 2,
|
|
@@ -32,6 +28,6 @@ i.propTypes = {
|
|
|
32
28
|
id: e.string,
|
|
33
29
|
size: e.number,
|
|
34
30
|
className: e.string
|
|
35
|
-
}
|
|
31
|
+
};
|
|
36
32
|
//#endregion
|
|
37
33
|
export { r as ArrowHead, i as ArrowMarker };
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
export declare const BasePoint: {
|
|
4
4
|
new (props: any): {
|
|
5
|
+
nodeRef: React.RefObject<unknown>;
|
|
5
6
|
grid: any;
|
|
6
7
|
onStart: any;
|
|
7
8
|
position: any;
|
|
@@ -71,6 +72,7 @@ export declare const BasePoint: {
|
|
|
71
72
|
};
|
|
72
73
|
export declare const ArrowPoint: {
|
|
73
74
|
new (props: any): {
|
|
75
|
+
nodeRef: React.RefObject<unknown>;
|
|
74
76
|
grid: any;
|
|
75
77
|
onStart: any;
|
|
76
78
|
position: any;
|
|
@@ -140,6 +142,7 @@ export declare const ArrowPoint: {
|
|
|
140
142
|
};
|
|
141
143
|
export declare const Arrow: {
|
|
142
144
|
new (props: any): {
|
|
145
|
+
nodeRef: React.RefObject<unknown>;
|
|
143
146
|
grid: any;
|
|
144
147
|
onStart: any;
|
|
145
148
|
position: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/graphing-solution-set",
|
|
3
|
-
"version": "5.0.7-next.
|
|
3
|
+
"version": "5.0.7-next.20261019223635",
|
|
4
4
|
"description": "Graphing components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"@mui/icons-material": "^7.3.4",
|
|
16
16
|
"@mui/material": "^7.3.4",
|
|
17
17
|
"@pie-element/shared-utils": "0.1.6-next.20261019151920",
|
|
18
|
-
"@pie-lib/drag": "5.0.7-next.
|
|
19
|
-
"@pie-lib/editable-html-tip-tap": "3.1.2-next.
|
|
18
|
+
"@pie-lib/drag": "5.0.7-next.20261019223635",
|
|
19
|
+
"@pie-lib/editable-html-tip-tap": "3.1.2-next.20261019223635",
|
|
20
20
|
"@pie-lib/graphing-utils": "4.0.2-next.20261019151920",
|
|
21
|
-
"@pie-lib/plot": "5.0.7-next.
|
|
22
|
-
"@pie-lib/render-ui": "8.0.7-next.
|
|
23
|
-
"@pie-lib/tools": "3.0.2-next.
|
|
21
|
+
"@pie-lib/plot": "5.0.7-next.20261019223635",
|
|
22
|
+
"@pie-lib/render-ui": "8.0.7-next.20261019223635",
|
|
23
|
+
"@pie-lib/tools": "3.0.2-next.20261019223635",
|
|
24
24
|
"@pie-lib/translator": "5.0.2-next.20261019155156",
|
|
25
25
|
"@visx/axis": "^4.0.0",
|
|
26
26
|
"@visx/clip-path": "^4.0.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"redux-undo": "^1.1.0",
|
|
42
42
|
"@pie-element/shared-lodash": "0.1.3-next.20261019151920",
|
|
43
43
|
"clsx": "^2.1.1",
|
|
44
|
-
"@pie-lib/config-ui": "14.0.7-next.
|
|
44
|
+
"@pie-lib/config-ui": "14.0.7-next.20261019223635",
|
|
45
45
|
"@dnd-kit/core": "^6.3.1",
|
|
46
46
|
"@dnd-kit/utilities": "^3.2.2",
|
|
47
47
|
"d3-shape": "^3.2.0"
|