@lotics/cli 0.229.0 → 0.231.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.
@@ -960,12 +960,13 @@ var __loticsProbe = (() => {
960
960
  let chromatic = 0;
961
961
  if (valence.length > 0) {
962
962
  const stateInk = '[role="status"], [role="alert"], [aria-invalid="true"], [aria-disabled="true"]';
963
+ const identityMark = '[data-mark="identity"]';
963
964
  const walk = (node) => {
964
965
  if (node.nodeType === Node.TEXT_NODE) {
965
966
  const text = (node.textContent || "").trim();
966
967
  const parent = node.parentElement;
967
968
  if (text === "" || parent === null || skipTag.test(parent.tagName)) return;
968
- if (!onScreen(parent) || parent.closest(chrome) !== null || parent.closest(stateInk) !== null) return;
969
+ if (!onScreen(parent) || parent.closest(chrome) !== null || parent.closest(stateInk) !== null || parent.closest(identityMark) !== null) return;
969
970
  const ink = rgbOf(getComputedStyle(parent).color);
970
971
  if (ink === null) return;
971
972
  if (valence.some((tone) => Math.abs(tone[0] - ink[0]) + Math.abs(tone[1] - ink[1]) + Math.abs(tone[2] - ink[2]) <= sameColour)) return;
@@ -1276,7 +1277,7 @@ var __loticsProbe = (() => {
1276
1277
  }
1277
1278
 
1278
1279
  // src/probe_collectors/right_form.ts
1279
- var DAY_RUN_PART = ".lotics-itinerary";
1280
+ var DAY_RUN_PART = ".lotics-timeline__dayhead";
1280
1281
  var SIDE = 'aside, [role="complementary"], nav, [role="navigation"]';
1281
1282
  var IN_PAGE = 'button, summary, [role="button"], [role="link"], [role="tab"], [role="menuitem"], a[href^="#"]';
1282
1283
  var HEADING3 = 'h1, h2, h3, h4, h5, h6, [role="heading"]';
@@ -1406,7 +1407,7 @@ var __loticsProbe = (() => {
1406
1407
  }
1407
1408
  rules.push({
1408
1409
  law: "templates.md",
1409
- rule: "Which device answers the question \u2192 Read a trip's stops in order",
1410
+ rule: "Which device answers the question \u2192 Read what happened, or what is planned, in time",
1410
1411
  total: columns.length,
1411
1412
  count: grouped,
1412
1413
  offenders: runs