@cardenelabs/cdl 0.103.0 → 0.104.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.md +21 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +1 -0
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +1 -0
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
- package/src/visual-validate.ts +6 -0
package/dist/react.js
CHANGED
|
@@ -6283,6 +6283,7 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5
|
|
|
6283
6283
|
}
|
|
6284
6284
|
for (const n of laid.nodes) {
|
|
6285
6285
|
if (n.id.endsWith("-spacer") || /^s\d+-/.test(n.id)) continue;
|
|
6286
|
+
if (!isRenderedNode(n)) continue;
|
|
6286
6287
|
const nodeLeft = n.cx - n.w / 2;
|
|
6287
6288
|
const nodeTop = n.cy - n.h / 2;
|
|
6288
6289
|
const nodeRight = n.cx + n.w / 2;
|