reifyui 0.7.2 → 0.7.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reifyui",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "The open-source rendering & interaction layer for agentic applications. Stream and render any agent's output as polished, application-native UI \u2014 model-agnostic, framework-agnostic, design-system-native. The foundation for building generative-UI and agent products.",
5
5
  "keywords": [
6
6
  "react",
@@ -297,8 +297,9 @@ export function SheetGrid({
297
297
  return cls;
298
298
  };
299
299
  // The number gutter is FIXED: sized by the digit count of the row total so it never stretches
300
- // (an empty grid otherwise splits the table width).
301
- const numW = Math.max(40, 24 + String(rows.length || 1).length * 9);
300
+ // (an empty grid otherwise splits the table width). Wide enough for the number AND the delete
301
+ // button beside it, both at a size worth aiming at.
302
+ const numW = Math.max(48, 30 + String(rows.length || 1).length * 9);
302
303
  const numStyle = { width: numW, minWidth: numW, maxWidth: numW };
303
304
  const rowHeight = (row) => (sizeDraft.row && sizeDraft.row[row.id]) || row.height || undefined;
304
305
 
package/styles/sheet.css CHANGED
@@ -20,12 +20,16 @@
20
20
  position: sticky; left: 0; z-index: 3;
21
21
  }
22
22
  .shg-corner { z-index: 6; }
23
- .shg-rownum span { font-size: 11px; }
23
+ .shg-rownum span { font-size: 12.5px; }
24
+ /* A 12x18 target for a destructive action was too small to hit deliberately and too small to
25
+ read. It is a real button now, and the gutter is wide enough to hold it beside the number. */
24
26
  .shg-rowdel {
25
- position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
26
- border: none; background: transparent; color: var(--uic-mute-2, #8E9199);
27
- cursor: pointer; font-size: 14px; line-height: 1; opacity: 0; padding: 2px;
27
+ position: absolute; right: 3px; top: 50%; transform: translateY(-50%);
28
+ width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center;
29
+ border: none; border-radius: 5px; background: transparent; color: var(--uic-mute-2, #8E9199);
30
+ cursor: pointer; font-size: 17px; line-height: 1; opacity: 0; padding: 0;
28
31
  }
32
+ .shg-rowdel:hover { background: var(--uic-fail-bg, #FEF2F2); color: var(--uic-fail-ink, #B91C1C); }
29
33
  .shg-table tr:hover .shg-rowdel { opacity: 1; }
30
34
 
31
35
  .shg-col { min-width: 180px; max-width: 420px; background: var(--uic-surface, #FFFFFF); position: sticky; top: 0; z-index: 4; }
@@ -48,11 +52,12 @@
48
52
  .shg-colrun:hover { background: var(--uic-brand-faint, #EFF3FF); }
49
53
  .shg-coldel, .shg-add {
50
54
  border: none; background: transparent; color: var(--uic-mute-2, #8E9199);
51
- cursor: pointer; font-size: 15px; line-height: 1; padding: 2px 5px; border-radius: 4px;
55
+ cursor: pointer; font-size: 17px; line-height: 1; border-radius: 5px;
56
+ width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
52
57
  }
53
58
  .shg-coldel:hover { background: var(--uic-fail-bg, #FEF2F2); color: var(--uic-fail-ink, #B91C1C); }
54
59
  .shg-add:hover { background: var(--uic-line-soft, #EFF1F4); color: var(--uic-ink, #111317); }
55
- .shg-add-col { width: auto; min-width: 40px; text-align: left; background: var(--uic-surface, #FFFFFF); position: sticky; top: 0; z-index: 4; }
60
+ .shg-add-col { width: auto; min-width: 44px; text-align: center; background: var(--uic-surface, #FFFFFF); position: sticky; top: 0; z-index: 4; }
56
61
 
57
62
  .shg-cell { cursor: text; background: var(--uic-surface, #FFFFFF); }
58
63
  .shg-cell-compute { cursor: default; }