@ikonai/sdk-react-ui 1.0.60 → 1.0.62

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.
@@ -132,6 +132,11 @@ export interface UseIkonAppResult {
132
132
  * Whether the connection is ready to render UI.
133
133
  */
134
134
  isReady: boolean;
135
+ /**
136
+ * True when the backend asked the client to display the platform branding banner (set for
137
+ * low-tier app creators by the connect handshake). Defaults to false until connected.
138
+ */
139
+ brandingRequired: boolean;
135
140
  /**
136
141
  * True after `connectionState === 'connecting'` has lasted longer than the slow-connection
137
142
  * threshold (default 5s, configurable via `timeouts.slowConnectionThresholdMs`). The connecting
@@ -18,6 +18,10 @@ export interface UseIkonDebugResult {
18
18
  forcedError: string | null;
19
19
  /** Non-null when the access-denied override is active. */
20
20
  forcedAccessDenied: string | null;
21
+ /** True when the branding-banner override is active (forces the banner on regardless of tier). */
22
+ forcedBranding: boolean;
23
+ /** True when the debug-overlay override is active (forces the on-screen overlay visible). */
24
+ forcedDebugOverlay: boolean;
21
25
  /** True when the debug shortcuts are active in this environment. */
22
26
  debugEnabled: boolean;
23
27
  }
@@ -35,6 +39,8 @@ export interface UseIkonDebugResult {
35
39
  * - Digit4 → force `offline` (no error)
36
40
  * - Digit5 → force `offline` with synthetic error
37
41
  * - Digit6 → force access-denied (synthetic reason — exercises the accessDeniedScreen path)
42
+ * - Digit7 → toggle the platform branding banner (normally driven by the backend tier flag)
43
+ * - Digit8 → toggle the on-screen debug overlay (normally gated on `?ikon-debug-overlay=true`)
38
44
  * - Digit0 → clear all state overrides
39
45
  * - KeyE → toggle empty-stores override (simulates "initial connection never produced UI")
40
46
  */
@@ -15,8 +15,10 @@ export interface DebugOverlayProps {
15
15
  /** Current connection state, shown in the header. When 'connected'/'reconnecting' the panel
16
16
  * renders as a small collapsible corner badge instead of a full-screen panel. */
17
17
  state?: string;
18
+ /** Force the overlay visible even without `?ikon-debug-overlay=true` (debug keyboard toggle). */
19
+ forceVisible?: boolean;
18
20
  }
19
21
  /**
20
- * The overlay component. Returns null unless `?ikon-debug-overlay=true` is set.
22
+ * The overlay component. Returns null unless `?ikon-debug-overlay=true` is set or `forceVisible`.
21
23
  */
22
- export declare function DebugOverlay({ state }: DebugOverlayProps): import("react/jsx-runtime").JSX.Element | null;
24
+ export declare function DebugOverlay({ state, forceVisible }: DebugOverlayProps): import("react/jsx-runtime").JSX.Element | null;