@declarion/react 0.1.57 → 0.1.59

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.
@@ -1,5 +1,6 @@
1
1
  import { type IconName } from "../../components/primitives";
2
2
  import type { AreaDef } from "../../types/schema";
3
+ import type { PublicBranding } from "../../types/api";
3
4
  export interface RailAreaItem {
4
5
  id: string;
5
6
  icon: IconName | undefined;
@@ -12,5 +13,11 @@ export interface RailProps {
12
13
  aiOpen: boolean;
13
14
  onCmdK: () => void;
14
15
  areas?: AreaDef[];
16
+ /**
17
+ * Consumer branding from /api/params/public. When `app_logo` is present
18
+ * the rail's brand tile renders the consumer image; otherwise it falls
19
+ * back to the Declarion wordmark SVG. `app_name` drives the tooltip.
20
+ */
21
+ branding?: PublicBranding;
15
22
  }
16
- export declare function Rail({ activeArea, onPick, onToggleAI, aiOpen, onCmdK, areas }: RailProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function Rail({ activeArea, onPick, onToggleAI, aiOpen, onCmdK, areas, branding }: RailProps): import("react/jsx-runtime").JSX.Element;