@signal9/era-ui 24.0.2 → 24.0.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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [24.0.3](https://github.com/sig-nine/era-ui/compare/v24.0.2...v24.0.3) (2026-08-12)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **pane:** the focused pane's second hairline was a shadow, not the outline ([0d44f17](https://github.com/sig-nine/era-ui/commit/0d44f17cb7d2fee11fb5eea72b8cd674be9036ef))
6
+
1
7
  ## [24.0.2](https://github.com/sig-nine/era-ui/compare/v24.0.1...v24.0.2) (2026-08-11)
2
8
 
3
9
  ### Bug Fixes
@@ -92,7 +92,20 @@
92
92
  // border-(--color-7) rather than `border-7`, which Tailwind reads as a 7px
93
93
  // border WIDTH — the numeric colour scale collides with the width scale on
94
94
  // border-*, so it always takes the paren-var form here.
95
- focused ? 'border-(--color-7)' : 'opacity-95 shadow-sm',
95
+ // shadow-sm on BOTH states, so the only thing focus changes is the border's
96
+ // colour (and the recede opacity). It used to sit only on the unfocused
97
+ // branch, leaving the focused pane on Pane.Root's `shadow-lg` — and since
98
+ // flat's --era-shadow-lg became a 1px hairline ring (so floating panels
99
+ // could be told apart from the page), a focused pane drew that ring ON TOP
100
+ // OF its own 1px border. Two hairlines, reported as "the border grows and
101
+ // thickens when a pane is focused".
102
+ //
103
+ // An elevation step is the right focus signal on glass and bevel and is
104
+ // impossible on flat, which has no depth by construction — there, more
105
+ // shadow can only mean another line. So the shadow is held constant and
106
+ // focus is carried by colour, which reads on all three.
107
+ 'shadow-sm',
108
+ focused ? 'border-(--color-7)' : 'opacity-95',
96
109
  pane.state === 'minimized' && 'hidden'
97
110
  )}
98
111
  >
@@ -514,14 +514,17 @@
514
514
  // same way rd-xs was inside rd-sm before the handle moved up a tier.
515
515
  // A hairline edge, because a floating pane is the one thing that must be
516
516
  // separable from whatever is behind it — and on the FLAT surface it had
517
- // nothing to do it with: --era-shadow-lg collapses to none there, so the
518
- // pane's whole edge was a tone step from the desktop. The reference terminal
517
+ // nothing to do it with: --era-shadow-lg collapsed to none there, so the
518
+ // pane's whole edge was a tone step from the desktop. (Flat's shadow-lg is
519
+ // a hairline ring now — f329475 — which is why the pane must NOT also take
520
+ // it: a border plus that ring is two lines, and that is what a focused pane
521
+ // used to render.) The reference terminal
519
522
  // app draws this as a real 1px border, and that border is also why its
520
523
  // chrome reads as having more air: a border consumes a pixel of the box, so
521
524
  // everything inside starts a pixel further in. Same token'd hairline the
522
525
  // bubble toolbar uses, so it tracks the surface instead of being a drawn-on
523
- // line. When focused, the outline below lands on it at -1px and takes over,
524
- // which is that app's border-6 -> border-8 in era's idiom.
526
+ // line. Focus recolours THIS border that app's border-6 -> border-8 in
527
+ // era's idiom rather than drawing anything additional.
525
528
  // contain:layout style — a moving pane must not make the page re-solve
526
529
  // layout it cannot have affected. NOT `size` (the pane auto-sizes to its
527
530
  // content until the grip sets a size, and size containment would collapse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signal9/era-ui",
3
- "version": "24.0.2",
3
+ "version": "24.0.3",
4
4
  "scripts": {
5
5
  "dev": "vite dev --host",
6
6
  "build": "vite build && npm run prepack",