@monotykamary/dsh-client-ui-trajectory 0.1.0 → 0.1.2

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.
Files changed (2) hide show
  1. package/lib/client.js +0 -4
  2. package/package.json +19 -19
package/lib/client.js CHANGED
@@ -4442,7 +4442,6 @@ window.__ModuleLoader__.load({
4442
4442
  followsTableTail.current = false;
4443
4443
  const recordIndex = records[position]?.cell.index;
4444
4444
  const row = recordIndex === void 0 ? null : rootRef.current?.querySelector(`tr[data-record-index="${recordIndex}"]`);
4445
- /* v8 ignore next -- jsdom lacks scrollIntoView; browsers always have it. */
4446
4445
  if (row !== void 0 && row !== null && typeof row.scrollIntoView === "function") row.scrollIntoView({
4447
4446
  behavior: "smooth",
4448
4447
  block: "center"
@@ -4468,7 +4467,6 @@ window.__ModuleLoader__.load({
4468
4467
  if (firstRow === void 0 || lastRow === void 0) return;
4469
4468
  const focusHeight = lastRow.getBoundingClientRect().bottom - firstRow.getBoundingClientRect().top;
4470
4469
  const target = focusHeight > ledger.clientHeight ? firstRow : focusedRows[Math.floor((focusedRows.length - 1) / 2)];
4471
- /* v8 ignore next -- jsdom lacks scrollIntoView; browsers always have it. */
4472
4470
  if (target !== void 0 && typeof target.scrollIntoView === "function") {
4473
4471
  followsTableTail.current = false;
4474
4472
  target.scrollIntoView({
@@ -6336,7 +6334,6 @@ window.__ModuleLoader__.load({
6336
6334
  const turnIndex = turns.findIndex((turn) => turn.turn === streamed.turn);
6337
6335
  if (turnIndex === -1) return [...turns, streamed];
6338
6336
  const current = turns[turnIndex];
6339
- /* v8 ignore next -- findIndex proved the dense array position exists. */
6340
6337
  if (current === void 0) return turns;
6341
6338
  const groups = [...current.groups];
6342
6339
  for (const streamedGroup of streamed.groups) {
@@ -6346,7 +6343,6 @@ window.__ModuleLoader__.load({
6346
6343
  continue;
6347
6344
  }
6348
6345
  const group = groups[groupIndex];
6349
- /* v8 ignore next -- findIndex proved the dense array position exists. */
6350
6346
  if (group === void 0) continue;
6351
6347
  const streamedCallIds = new Set(streamedGroup.cells.flatMap((cell) => cell.callId === void 0 ? [] : [cell.callId]));
6352
6348
  groups[groupIndex] = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@monotykamary/dsh-client-ui-trajectory",
3
3
  "description": "Trajectory event ledger with an interactive timing overview: pure-consumer plugin registering into the conversation ViewMap (no service)",
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -45,31 +45,31 @@
45
45
  "diff": "^9.0.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@monotykamary/dsh-client-locale": "^0.1.0",
49
- "@monotykamary/dsh-agent": "^0.1.0",
50
- "@monotykamary/dsh-client-runtime": "^0.1.0",
48
+ "@monotykamary/dsh-agent": "^0.1.2",
49
+ "@monotykamary/dsh-client-locale": "^0.1.2",
50
+ "@monotykamary/dsh-invariants": "^0.1.2",
51
+ "@monotykamary/dsh-client-runtime": "^0.1.2",
51
52
  "@monotykamary/cordis": "^4.0.1",
52
- "@monotykamary/dsh-compaction": "^0.1.0",
53
- "@monotykamary/dsh-invariants": "^0.1.0",
54
- "@monotykamary/dsh-tools": "^0.1.0",
55
- "@monotykamary/dsh-client-ui-conversation": "^0.1.0"
53
+ "@monotykamary/dsh-compaction": "^0.1.2",
54
+ "@monotykamary/dsh-tools": "^0.1.2",
55
+ "@monotykamary/dsh-client-ui-conversation": "^0.1.2"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/react": "~18.3.1",
59
59
  "@types/react-dom": "~18.3.0",
60
60
  "react": "^18.2.0",
61
61
  "react-dom": "^18.2.0",
62
- "@monotykamary/dsh-agent": "^0.1.0",
63
- "@monotykamary/dsh-client-runtime": "^0.1.0",
64
- "@monotykamary/dsh-client-test-runtime": "^0.1.0",
65
- "@monotykamary/dsh-client-ui-conversation": "^0.1.0",
66
- "@monotykamary/dsh-client-locale": "^0.1.0",
67
- "@monotykamary/dsh-client-ui-primitives": "^0.1.0",
68
- "@monotykamary/dsh-compaction": "^0.1.0",
69
- "@monotykamary/dsh-tools": "^0.1.0",
70
- "@monotykamary/dsh-invariants": "^0.1.0",
71
- "@monotykamary/dsh-client-ui-slots": "^0.1.0",
72
- "@monotykamary/cordis": "^4.0.1"
62
+ "@monotykamary/dsh-agent": "^0.1.2",
63
+ "@monotykamary/dsh-client-locale": "^0.1.2",
64
+ "@monotykamary/dsh-client-test-runtime": "^0.1.2",
65
+ "@monotykamary/dsh-client-ui-primitives": "^0.1.2",
66
+ "@monotykamary/dsh-client-runtime": "^0.1.2",
67
+ "@monotykamary/dsh-client-ui-conversation": "^0.1.2",
68
+ "@monotykamary/dsh-client-ui-slots": "^0.1.2",
69
+ "@monotykamary/dsh-compaction": "^0.1.2",
70
+ "@monotykamary/dsh-invariants": "^0.1.2",
71
+ "@monotykamary/cordis": "^4.0.1",
72
+ "@monotykamary/dsh-tools": "^0.1.2"
73
73
  },
74
74
  "files": [
75
75
  "lib/index.js",