@unisphere/genie-types 1.38.6 → 1.38.7

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/index.esm.js CHANGED
@@ -2454,6 +2454,11 @@ const avatarRuntimeContainedVisualSettingsSchema = {
2454
2454
  type: 'function'
2455
2455
  }
2456
2456
  }
2457
+ },
2458
+ forceOrientation: {
2459
+ type: 'enum',
2460
+ values: ['portrait', 'landscape'],
2461
+ optional: true
2457
2462
  }
2458
2463
  }
2459
2464
  };
@@ -2476,7 +2481,12 @@ const avatarRuntimeFloaterVisualSettingsSchema = {
2476
2481
  value: 'string',
2477
2482
  optional: true
2478
2483
  },
2479
- connect: avatarRuntimeConnectSettingsSchema
2484
+ connect: avatarRuntimeConnectSettingsSchema,
2485
+ forceOrientation: {
2486
+ type: 'enum',
2487
+ values: ['portrait', 'landscape'],
2488
+ optional: true
2489
+ }
2480
2490
  }
2481
2491
  };
2482
2492
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unisphere/genie-types",
3
- "version": "1.38.6",
3
+ "version": "1.38.7",
4
4
  "author": "kaltura",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
@@ -1,5 +1,6 @@
1
1
  import { ValidatorSchema } from '@unisphere/core';
2
2
  import { AvatarRuntimeConnectSettings } from './shared-types';
3
+ import { ForceOrientation } from './visual-bridge-types';
3
4
  /**
4
5
  * Visual settings for contained/embedded avatar display mode.
5
6
  *
@@ -27,5 +28,7 @@ export interface AvatarRuntimeContainedVisualSettings {
27
28
  onMount: (containerId: string) => void;
28
29
  onUnMount: (containerId: string) => void;
29
30
  } | null;
31
+ /** Forces the stage into a stacked or side-by-side layout, regardless of viewport width/orientation */
32
+ forceOrientation?: ForceOrientation;
30
33
  }
31
34
  export declare const avatarRuntimeContainedVisualSettingsSchema: ValidatorSchema;
@@ -1,5 +1,6 @@
1
1
  import { ValidatorSchema } from '@unisphere/core';
2
2
  import { AvatarRuntimeConnectSettings } from './shared-types';
3
+ import { ForceOrientation } from './visual-bridge-types';
3
4
  /**
4
5
  * Visual settings for avatar agent display mode.
5
6
  *
@@ -19,5 +20,7 @@ export interface AvatarRuntimeFloaterVisualSettings {
19
20
  buttonLabel?: string;
20
21
  /** Connection options */
21
22
  connect?: AvatarRuntimeConnectSettings;
23
+ /** Forces the stage into a stacked or side-by-side layout, regardless of viewport width/orientation */
24
+ forceOrientation?: ForceOrientation;
22
25
  }
23
26
  export declare const avatarRuntimeFloaterVisualSettingsSchema: ValidatorSchema;
@@ -13,6 +13,7 @@ export interface SlotEntry {
13
13
  mode: SlotMode;
14
14
  }
15
15
  export type LayoutType = 'cinema' | 'focusContent' | 'balanced' | 'floatingCorner' | 'fullscreenContent';
16
+ export type ForceOrientation = 'portrait' | 'landscape';
16
17
  export declare const SUPPORTED_LAYOUT_TYPES: Set<string>;
17
18
  export interface LayoutConfig {
18
19
  type: LayoutType;