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.
@@ -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: "error",
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.",