@pie-lib/plot 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.
- package/dist/draggable.js +4 -4
- package/dist/grid-draggable.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js +1 -1
- package/dist/node_modules/.bun/react-draggable@4.6.0_6dbf9a050bc9aadb/node_modules/react-draggable/build/cjs/chunk-D5BXCJ5G.js +1 -1
- package/dist/node_modules/.bun/react-draggable@4.6.0_6dbf9a050bc9aadb/node_modules/react-draggable/build/cjs/cjs.js +3 -3
- package/dist/root.js +4 -4
- package/dist/trig.js +1 -1
- package/dist/types.js +1 -1
- package/dist/utils.js +1 -1
- package/package.json +10 -5
package/dist/draggable.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./node_modules/.bun/react-draggable@4.6.0_6dbf9a050bc9aadb/node_modules/react-draggable/build/cjs/chunk-D5BXCJ5G.js";
|
|
2
|
-
import
|
|
1
|
+
import { DraggableCore as e } from "./node_modules/.bun/react-draggable@4.6.0_6dbf9a050bc9aadb/node_modules/react-draggable/build/cjs/chunk-D5BXCJ5G.js";
|
|
2
|
+
import t from "./node_modules/.bun/react-draggable@4.6.0_6dbf9a050bc9aadb/node_modules/react-draggable/build/cjs/cjs.js";
|
|
3
3
|
//#region src/draggable.tsx
|
|
4
|
-
var
|
|
4
|
+
var n = class extends t {
|
|
5
5
|
componentWillReceiveProps(e) {
|
|
6
6
|
super.componentWillReceiveProps(e), this.setState({
|
|
7
7
|
x: 0,
|
|
@@ -10,4 +10,4 @@ var t = class extends e {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
|
13
|
-
export {
|
|
13
|
+
export { e as DraggableCore, n as default };
|
package/dist/grid-draggable.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { types_exports as e } from "./types.js";
|
|
2
2
|
import { utils_exports as t } from "./utils.js";
|
|
3
|
-
import n from "./root.js";
|
|
3
|
+
import { Root as n } from "./root.js";
|
|
4
4
|
import r from "./draggable.js";
|
|
5
5
|
import { gridDraggable as i } from "./grid-draggable.js";
|
|
6
6
|
import { trig_exports as a } from "./trig.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Draggable as e } from "./chunk-D5BXCJ5G.js";
|
|
1
|
+
import { Draggable as e, DraggableCore as t } from "./chunk-D5BXCJ5G.js";
|
|
2
2
|
//#region ../../../node_modules/.bun/react-draggable@4.6.0+6dbf9a050bc9aadb/node_modules/react-draggable/build/cjs/cjs.mjs
|
|
3
|
-
var
|
|
3
|
+
var n = e;
|
|
4
4
|
//#endregion
|
|
5
|
-
export { t as
|
|
5
|
+
export { t as DraggableCore, n as default };
|
package/dist/root.js
CHANGED
|
@@ -46,7 +46,7 @@ var y = v(f, "Readable") || v(S.Readable, "Readable"), b = d, x = b.default, S =
|
|
|
46
46
|
fontSize: e.typography.fontSize + 2,
|
|
47
47
|
padding: `${e.spacing(1.5)} ${e.spacing(.5)} 0`,
|
|
48
48
|
textAlign: "center",
|
|
49
|
-
"&.
|
|
49
|
+
"&.disabledTitle": { pointerEvents: "none" },
|
|
50
50
|
"&.rightMargin": { marginRight: "74px" },
|
|
51
51
|
"& p": { margin: 0 },
|
|
52
52
|
...C
|
|
@@ -55,7 +55,7 @@ var y = v(f, "Readable") || v(S.Readable, "Readable"), b = d, x = b.default, S =
|
|
|
55
55
|
fontSize: e.typography.fontSize + 4,
|
|
56
56
|
padding: `${e.spacing(1.5)} ${e.spacing(.5)} 0`,
|
|
57
57
|
textAlign: "center",
|
|
58
|
-
"&.
|
|
58
|
+
"&.disabledTitle": { pointerEvents: "none" },
|
|
59
59
|
"&.rightMargin": { marginRight: "74px" },
|
|
60
60
|
"& p": { margin: 0 },
|
|
61
61
|
...C
|
|
@@ -193,7 +193,7 @@ var y = v(f, "Readable") || v(S.Readable, "Readable"), b = d, x = b.default, S =
|
|
|
193
193
|
...i(n(x)) && { display: "none" }
|
|
194
194
|
},
|
|
195
195
|
children: m(p ? A : k, {
|
|
196
|
-
className: "
|
|
196
|
+
className: "disabledTitle",
|
|
197
197
|
dangerouslySetInnerHTML: { __html: x || "" }
|
|
198
198
|
})
|
|
199
199
|
}) : /* @__PURE__ */ m("div", {
|
|
@@ -299,4 +299,4 @@ var y = v(f, "Readable") || v(S.Readable, "Readable"), b = d, x = b.default, S =
|
|
|
299
299
|
}
|
|
300
300
|
};
|
|
301
301
|
//#endregion
|
|
302
|
-
export { F as default };
|
|
302
|
+
export { F as Root, F as default };
|
package/dist/trig.js
CHANGED
|
@@ -44,4 +44,4 @@ var i = /* @__PURE__ */ e({
|
|
|
44
44
|
return i("normalized:", S), S;
|
|
45
45
|
};
|
|
46
46
|
//#endregion
|
|
47
|
-
export { i as trig_exports };
|
|
47
|
+
export { f as acuteXAngle, p as acuteYAngle, c as angle, v as diffEdge, h as edges, g as getOpposingSide, m as hypotenuse, o as toDegrees, s as toRadians, i as trig_exports };
|
package/dist/types.js
CHANGED
|
@@ -43,4 +43,4 @@ var n = /* @__PURE__ */ e({
|
|
|
43
43
|
onClick: t.func
|
|
44
44
|
}, p = t.shape(f);
|
|
45
45
|
//#endregion
|
|
46
|
-
export { c as ChildrenType, d as GraphPropsType, n as types_exports };
|
|
46
|
+
export { r as BaseDomainRangeType, c as ChildrenType, i as DomainType, d as GraphPropsType, s as PointType, a as RangeType, l as ScaleType, o as SizeType, u as SnapType, p as ToolPropType, f as ToolPropTypeFields, n as types_exports };
|
package/dist/utils.js
CHANGED
|
@@ -79,4 +79,4 @@ var _ = (e) => {
|
|
|
79
79
|
bottom: n.min - e.bottom
|
|
80
80
|
}), b = (e) => new s(e.x, e.y), x = (e, t) => b(t).sub(b(e)), S = (e, t) => `${t}-${e.label || "-"}`, C = (e, t) => i(e.domain, t.domain) && i(e.range, t.range), w = (e) => (e || "").replace(/<[^>]+>/g, "").split(" ").sort((e, t) => t.length - e.length)[0].length, T = (e) => e ? e * 20 : 0, E = (e) => (new DOMParser()?.parseFromString(e, "text/html"))?.body?.textContent || "", D = (e) => e && Object.keys(e).length === 0 && e.constructor === Object, O = (e) => typeof e == "string" && e.trim() === "";
|
|
81
81
|
//#endregion
|
|
82
|
-
export { E as extractTextFromHTML, x as getDelta, D as isEmptyObject, O as isEmptyString, h as snapTo, c as utils_exports, u as xy };
|
|
82
|
+
export { T as amountToIncreaseWidth, S as bandKey, y as bounds, d as buildSizeArray, g as buildTickModel, E as extractTextFromHTML, w as findLongestWord, x as getDelta, p as getInterval, C as isDomainRangeEqual, D as isEmptyObject, O as isEmptyString, v as lineToArea, b as point, _ as polygonToArea, h as snapTo, f as tickCount, c as utils_exports, u as xy };
|
package/package.json
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/plot",
|
|
3
|
-
"version": "4.0.4-next.
|
|
3
|
+
"version": "4.0.4-next.32",
|
|
4
4
|
"description": "Some underlying components for building charts/graphs",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/pie-framework/pie-elements-ng.git",
|
|
8
|
+
"directory": "packages/lib-react/plot"
|
|
9
|
+
},
|
|
5
10
|
"dependencies": {
|
|
6
11
|
"@emotion/react": "^11.14.0",
|
|
7
|
-
"@emotion/
|
|
12
|
+
"@emotion/styled": "^11.14.1",
|
|
8
13
|
"@mapbox/point-geometry": "^1.1.0",
|
|
9
14
|
"@mui/icons-material": "^7.3.4",
|
|
10
15
|
"@mui/material": "^7.3.4",
|
|
11
|
-
"@pie-lib/editable-html-tip-tap": "2.1.2-next.
|
|
12
|
-
"@pie-lib/render-ui": "6.1.1-next.
|
|
16
|
+
"@pie-lib/editable-html-tip-tap": "2.1.2-next.32",
|
|
17
|
+
"@pie-lib/render-ui": "6.1.1-next.39",
|
|
13
18
|
"assert": "^1.4.1",
|
|
14
19
|
"d3-scale": "^4.0.2",
|
|
15
20
|
"d3-selection": "^3.0.0",
|
|
@@ -19,7 +24,7 @@
|
|
|
19
24
|
"react-draggable": "^4.6.0",
|
|
20
25
|
"react-redux": "^9.3.0",
|
|
21
26
|
"redux": "^5.0.1",
|
|
22
|
-
"@pie-element/shared-lodash": "0.1.1-next.
|
|
27
|
+
"@pie-element/shared-lodash": "0.1.1-next.1"
|
|
23
28
|
},
|
|
24
29
|
"type": "module",
|
|
25
30
|
"main": "./dist/index.js",
|