@graphysdk/react 1.9.0-beta.1791541380583 → 1.9.0-beta.1791545910919

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.
@@ -42035,13 +42035,15 @@ var rfe = (e, t, r, n) => t !== "comment" ? r : wp(r, 140, (i) => e.measureText(
42035
42035
  style: { overflow: "visible" },
42036
42036
  children: e.map((u) => {
42037
42037
  if (u.geometry !== "linear" || !u.gridVisible) return null;
42038
- const d = u.position === "bottom" || u.position === "top", h = Ge(u.scaleAestheticKey) === "x" ? a : s, f = pr(h.dashArray, h.strokeWidth);
42038
+ const d = Ge(u.scaleAestheticKey) === "x" ? a : s;
42039
+ if (d.strokeWidth <= 0) return null;
42040
+ const h = u.position === "bottom" || u.position === "top", f = pr(d.dashArray, d.strokeWidth);
42039
42041
  return /* @__PURE__ */ g("g", { children: u.ticks.map((m, p) => {
42040
- const v = Hfe(d, m.position);
42042
+ const v = Hfe(h, m.position);
42041
42043
  if (v !== null && t[v] > 0) return null;
42042
- const b = d ? m.position : 1 - m.position;
42044
+ const b = h ? m.position : 1 - m.position;
42043
42045
  let x;
42044
- if (d) {
42046
+ if (h) {
42045
42047
  const T = b * n.width + l;
42046
42048
  x = {
42047
42049
  x1: T,
@@ -42062,8 +42064,8 @@ var rfe = (e, t, r, n) => t !== "comment" ? r : wp(r, 140, (i) => e.measureText(
42062
42064
  ...x,
42063
42065
  ...iI,
42064
42066
  strokeDasharray: f,
42065
- strokeWidth: h.strokeWidth,
42066
- stroke: h.stroke
42067
+ strokeWidth: d.strokeWidth,
42068
+ stroke: d.stroke
42067
42069
  });
42068
42070
  return o ? /* @__PURE__ */ $("g", {
42069
42071
  ...YC(u.scaleAestheticKey),
@@ -42257,6 +42259,7 @@ var oI = (e, t) => {
42257
42259
  ]
42258
42260
  });
42259
42261
  }, Lh = ({ axis: e, lineStyle: t, isHitTestable: r, draw: n }) => {
42262
+ if (t.strokeWidth <= 0) return null;
42260
42263
  const i = n({
42261
42264
  stroke: t.stroke,
42262
42265
  strokeWidth: t.strokeWidth
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "visualization",
12
12
  "grammar-of-graphics"
13
13
  ],
14
- "version": "1.9.0-beta.1791541380583",
14
+ "version": "1.9.0-beta.1791545910919",
15
15
  "type": "module",
16
16
  "sideEffects": false,
17
17
  "types": "./dist/index.d.ts",
@@ -35,8 +35,8 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@graphysdk/react-renderer": "1.9.0-beta.1791541380583",
39
- "@graphysdk/viz-engine": "1.9.0-beta.1791541380583"
38
+ "@graphysdk/react-renderer": "1.9.0-beta.1791545910919",
39
+ "@graphysdk/viz-engine": "1.9.0-beta.1791545910919"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@tiptap/core": "^3.0.0",
@@ -133,10 +133,10 @@
133
133
  "vite-plugin-css-injected-by-js": "^3.5.2",
134
134
  "vite-plugin-dts": "^4.5.4",
135
135
  "vitest": "^4.1.11",
136
+ "@graphytools/eslint-config": "0.0.1",
136
137
  "@graphytools/eslint-plugin-graphy": "1.0.0",
137
138
  "@graphytools/typescript-config": "0.0.1",
138
- "@graphytools/vitest-config": "1.0.0",
139
- "@graphytools/eslint-config": "0.0.1"
139
+ "@graphytools/vitest-config": "1.0.0"
140
140
  },
141
141
  "publishConfig": {
142
142
  "access": "public"