@limrun/ui 0.20.6 → 0.20.8

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.
@@ -24,8 +24,11 @@ export interface RemoteControlProps {
24
24
  sessionId?: string;
25
25
  openUrl?: string;
26
26
  showFrame?: boolean;
27
- /** Enables the official iPhone Duo's native displays and interactive folding frame. */
28
- deviceModel?: 'iphone-duo';
27
+ /**
28
+ * The iOS model behind the stream. iphone-duo enables the official iPhone Duo's native displays and
29
+ * interactive folding frame; iphone-se and iphone-17e pick their own device frames.
30
+ */
31
+ deviceModel?: RemoteControlDeviceModel;
29
32
  /** Optional prepared Duo GLB, supplied and licensed by the host application. */
30
33
  duoModelUrl?: string;
31
34
  autoReconnect?: boolean;
@@ -221,11 +224,19 @@ export interface RemoteControlHandle {
221
224
  setInspectSelection: (element: AxElement | null) => void;
222
225
  getAxStatus: () => AxStatus;
223
226
  }
227
+ export type RemoteControlDeviceModel = 'iphone-se' | 'iphone-17e' | 'iphone-duo';
228
+ /** iOS models that are drawn in a frame of their own instead of the default iPhone frame. */
229
+ type FramedIOSModel = Exclude<RemoteControlDeviceModel, 'iphone-duo'>;
224
230
  export type RemoteControlPlatformAssets = {
225
231
  frame?: string;
226
232
  frameLandscape?: string;
227
233
  tabletFrame?: string;
228
234
  tabletFrameLandscape?: string;
235
+ /** Frames of iOS models whose shape differs from the default iPhone. A model without one streams frameless. */
236
+ modelFrames?: Partial<Record<FramedIOSModel, {
237
+ frame: string;
238
+ frameLandscape: string;
239
+ }>>;
229
240
  loadingLogo?: string;
230
241
  };
231
242
  export type RemoteControlAssets = Partial<Record<DevicePlatform, RemoteControlPlatformAssets>>;