@cosxai/ui 0.3.1 → 0.3.2

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.1",
3
+ "version": "0.3.2",
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",
@@ -276,7 +276,11 @@ export function ActionBar({
276
276
  }, [expandedKey, setExpandedKey]);
277
277
 
278
278
  // ----- Empty state -----
279
- if (items.length === 0) return null;
279
+ // Bar renders when EITHER any page item is registered OR the
280
+ // status dot is set. Without the statusDot check, an app whose
281
+ // only consumer is `useActionBarStatusDot` (e.g. a system-status-
282
+ // only surface) would never see the bar at all.
283
+ if (items.length === 0 && !statusDot) return null;
280
284
 
281
285
  // ----- Collapsed handle (phone only) -----
282
286
  if (isPhone && collapsibleOnPhone && collapsed) {