@cosxai/ui 0.3.3 → 0.3.4

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": "@cosxai/ui",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "COSX design system — React 19 component primitives shared across product-meta and other consumers",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -346,7 +346,15 @@ export function ActionBar({
346
346
  bottom: pos.bottom,
347
347
  }),
348
348
  height: BAR_HEIGHT,
349
- padding: "0 6px 0 0",
349
+ // Symmetric horizontal padding so the bar's interior content
350
+ // area is centred. Previously only the right side had 6px
351
+ // padding (legacy from when the right edge held normal items
352
+ // and the left edge was an interactive grip), which made the
353
+ // grip sit flush against the left curve while the rightmost
354
+ // element (now the status dot) had visible breathing room.
355
+ // The asymmetry pushed the leading items a few pixels left of
356
+ // the bar's true centre.
357
+ padding: "0 6px",
350
358
  display: "flex",
351
359
  alignItems: "center",
352
360
  gap: 4,
@@ -431,7 +439,7 @@ export function ActionBar({
431
439
  <span
432
440
  aria-hidden
433
441
  data-ck-actionbar-spacer
434
- style={{ flex: "1 1 auto", minWidth: 12 }}
442
+ style={{ flex: "1 1 auto", minWidth: 0 }}
435
443
  />
436
444
  )}
437
445