@skippr/live-agent-sdk 0.118.0 → 0.119.0

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,7 +1,7 @@
1
1
  import type { BarNotification } from '../hooks/useBarNotifications';
2
2
  import { type BarPos } from '../lib/voiceBar';
3
3
  interface VoiceBarFrameProps {
4
- pos: BarPos;
4
+ pos: BarPos | null;
5
5
  canFold: boolean;
6
6
  notifications: BarNotification[];
7
7
  onDrop: (pos: BarPos, widthPx: number) => void;
@@ -25,7 +25,7 @@ export declare function persistBarPos(pos: BarPos): void;
25
25
  export declare function clampBarPos(pos: BarPos, widthPx: number): BarPos;
26
26
  export declare function barPopsDown(pos: BarPos): boolean;
27
27
  export declare function barLeftAligned(pos: BarPos): boolean;
28
- export declare function defaultBarPos(): BarPos;
28
+ export declare function defaultBarPos(widthPx: number): BarPos;
29
29
  export declare function barPosStyle(pos: BarPos): React.CSSProperties;
30
30
  export declare function clampOffset(edge: BarEdge, offsetPx: number): number;
31
31
  export declare function defaultOffset(edge: BarEdge): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skippr/live-agent-sdk",
3
- "version": "0.118.0",
3
+ "version": "0.119.0",
4
4
  "type": "module",
5
5
  "main": "dist/esm/lib-exports.js",
6
6
  "module": "dist/esm/lib-exports.js",