@justai/cuts 0.85.0 → 0.86.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Toolbar.astro +15 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justai/cuts",
3
- "version": "0.85.0",
3
+ "version": "0.86.0",
4
4
  "description": "A persona's named parts — the page shell that holds them, and the cuts themselves.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
package/src/Toolbar.astro CHANGED
@@ -378,6 +378,21 @@ import AuthMount from "./AuthMount.astro";
378
378
  * this rule is where the exception belongs. */
379
379
  .tb-left > .tb-nav-group:first-child > .tb-nav:first-child :global(svg),
380
380
  .tb-left > .tb-nav-group:first-child > .tb-nav:first-child :global(img) { width: 20px; height: 20px; }
381
+
382
+ /* ── AND IT STARTS WHERE BackToZone STARTS ──────────────────────────────────────────────────
383
+ *
384
+ * queries: the first icon is further in on a child persona · the row starts in a different place ·
385
+ * navParent inset · margin-inline-start -7px
386
+ *
387
+ * `BackToZone` pulls itself 7px left so the row begins flush with the bar's edge rather than a
388
+ * tap target's worth inside it. Anything standing in the first position has the same job and needs
389
+ * the same pull — measured on a live child before this landed: the parent's face sat 26px from the
390
+ * bar's edge where a persona's way out sits at 17. Nine pixels, and the founder saw it by opening
391
+ * one and then the other.
392
+ *
393
+ * Same selector as the size above, for the same reason: the first slot is a POSITION, and its two
394
+ * properties should be decided in one place or they will drift apart again. */
395
+ .tb-left > .tb-nav-group:first-child > .tb-nav:first-child { margin-inline-start: -7px; }
381
396
  .tb-nav :global(svg) { width: 19px; height: 19px; }
382
397
 
383
398
  /* ── EQUAL INK, TWO BOXES ────────────────────────────────────────────────────────────────────