editor-shell 0.17.0 → 0.18.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.
@@ -43,9 +43,29 @@
43
43
  `calc()` off it, which would claim an arithmetic relationship that does not
44
44
  exist: 28 was measured, it is not "10 plus 18". The max() is what makes this a
45
45
  FLOOR rather than a default — raise the token past a rhythm and that row rises
46
- with it instead of quietly staying tighter than everything around it. */
46
+ with it instead of quietly staying tighter than everything around it.
47
+
48
+ NOW 16, AND 10 WAS WORTH NOTHING ON SCREEN (card 66206). 66203 shipped the
49
+ token at 10 and Lewis could see no change at all, which is not a bug in it —
50
+ it is what a floor of 10 was always going to do here. Four of the six gaps
51
+ (36, 28, 16, 14) were already above it, and of the two that were not, one is
52
+ the dead `.es-group + .es-group` rule below. So 10 could only ever reach the
53
+ drill list, and there it landed on the number that list already had.
54
+
55
+ 16 is Lewis's own, picked on 2026-08-28 once that was shown to him, and it is
56
+ the first value that moves anything a merchant looks at. MEASURED in Chromium
57
+ against these stylesheets (`tests/fixtures/panel-row-spacing.html`):
58
+
59
+ one drill row to the next, word to word 23.40px → 35.40px
60
+ a group head to its first setting 14px → 16px
61
+ one setting to the next 28px unchanged
62
+ a one-line boolean row 16px unchanged
63
+ a heading, after the row above it 36px unchanged
64
+
65
+ The three measured rhythms do not move because 16 is still under them, which
66
+ is the floor doing exactly what it was built to do. */
47
67
  .es-editor {
48
- --es-row-gap: 10px;
68
+ --es-row-gap: 16px;
49
69
  }
50
70
 
51
71
  /* ── the tab strip: a segmented control ────────────────────────────────────── */
@@ -542,7 +562,11 @@ button.es-group-head:hover { background: var(--es-chip-bg); }
542
562
  hairline between them and adds no margin — so the air a merchant sees is
543
563
  each row's own vertical padding, on its own side of the line. MEASURED in
544
564
  Chromium against these stylesheets (`tests/fixtures/panel-row-spacing.html`):
545
- 11.40px above the rule, 12.00px below it, 23.40px between two rows' words.
565
+ 17.40px above the rule, 18.00px below it, 35.40px between two rows' words.
566
+ At the 10px the token shipped with (card 66203) those were 11.40, 12.00 and
567
+ 23.40 — this list is the ONLY place on the panel where raising the token to
568
+ 16 moves a measured distance rather than a declared one, and it is the row
569
+ Lewis was looking at when he asked (card 66206).
546
570
 
547
571
  A MARGIN WOULD BE THE WRONG FIX. A border-top with space above it detaches
548
572
  from the row it belongs to and reads as a line floating in the panel rather
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "editor-shell",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "Shared editor-chrome primitives for the EFFICIENT editors: EditorRail (a Next-16-safe left icon-rail leaf), the shell token layer, and GoldTextInput — type in place and watch the markup formatting appear as you type.",
5
5
  "license": "MIT",
6
6
  "author": "Lewis Liu",