@gymmymac/bob-widget 3.1.0 → 3.1.3

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.
@@ -14,6 +14,13 @@ interface BobProps {
14
14
  scale?: number;
15
15
  /** Session token for pre-authenticated sessions (vehicle/user context) */
16
16
  sessionToken?: string;
17
+ /**
18
+ * Use container-relative positioning instead of fixed viewport.
19
+ * Set to true when Bob is embedded in a host site with headers/footers.
20
+ * Only applies to mobile/fullscreen variants.
21
+ * @default false
22
+ */
23
+ embedded?: boolean;
17
24
  }
18
25
  export declare const Bob: React.FC<BobProps>;
19
26
  export {};
@@ -51,6 +51,13 @@ export interface BobWidgetProps {
51
51
  * Bob calculates internal z-indexes relative to this base.
52
52
  */
53
53
  zIndexBase?: number;
54
+ /**
55
+ * Use container-relative positioning instead of fixed viewport.
56
+ * Set to true when Bob is embedded in a host site with headers/footers.
57
+ * Only applies to mobile/fullscreen variants.
58
+ * @default false
59
+ */
60
+ embedded?: boolean;
54
61
  }
55
62
  /**
56
63
  * BobWidget - Self-contained Bob widget component
@@ -34,6 +34,12 @@ interface MobileBobLayoutProps {
34
34
  onChangeVehicle?: () => void;
35
35
  bobOffset?: number;
36
36
  bobScale?: number;
37
+ /**
38
+ * Use container-relative positioning instead of fixed viewport.
39
+ * Set to true when Bob is embedded in a host site with headers/footers.
40
+ * @default false
41
+ */
42
+ embedded?: boolean;
37
43
  }
38
44
  export declare const MobileBobLayout: React.FC<MobileBobLayoutProps>;
39
45
  export {};