hyperframes 0.6.100 → 0.6.101
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/cli.js +1730 -68
- package/dist/commands/layout-audit.browser.js +5 -2
- package/dist/hyperframe-runtime.js +19 -19
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +19 -19
- package/dist/onnxruntime_binding-2BPLI7ZQ.node +0 -0
- package/dist/onnxruntime_binding-5J67DTMJ.node +0 -0
- package/dist/onnxruntime_binding-7ZZLEQ2F.node +0 -0
- package/dist/onnxruntime_binding-KDCXAPN5.node +0 -0
- package/dist/onnxruntime_binding-R73P2IQW.node +0 -0
- package/dist/studio/assets/index-BITwbxi-.css +1 -0
- package/dist/studio/assets/{index-gpSohHUn.js → index-CQ3n6Y9q.js} +1 -1
- package/dist/studio/assets/{index-BkT9VKwz.js → index-CTiqZ7XQ.js} +165 -165
- package/dist/studio/assets/{index-CKWBqyRd.js → index-DvttAtOD.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/package.json +5 -5
- package/dist/studio/assets/index-B62bDCQv.css +0 -1
|
@@ -464,13 +464,16 @@
|
|
|
464
464
|
const area = intersectionArea(a.rect, b.rect);
|
|
465
465
|
if (area <= Math.min(rectArea(a.rect), rectArea(b.rect)) * 0.2) return null;
|
|
466
466
|
return {
|
|
467
|
+
// Warning, not error: must not fail the exit code (ok = errorCount === 0)
|
|
468
|
+
// for compositions that intentionally layer text. Re-promote once the
|
|
469
|
+
// data-layout-allow-overlap opt-out is widely adopted.
|
|
467
470
|
code: "content_overlap",
|
|
468
|
-
severity: "
|
|
471
|
+
severity: "warning",
|
|
469
472
|
time,
|
|
470
473
|
selector: selectorFor(a.element),
|
|
471
474
|
containerSelector: selectorFor(b.element),
|
|
472
475
|
text: textContentFor(a.element),
|
|
473
|
-
message: "Two text blocks overlap and render unreadable.",
|
|
476
|
+
message: "Two text blocks overlap and may render unreadable.",
|
|
474
477
|
rect: a.rect,
|
|
475
478
|
fixHint:
|
|
476
479
|
"Give each block its own zone, or mark intentional layering with data-layout-allow-overlap.",
|