@poolse/react-native 2.15.0 → 2.15.1

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/CHANGELOG.md CHANGED
@@ -4,6 +4,22 @@ All notable changes to `@poolse/react-native` are documented here.
4
4
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/);
5
5
  versions follow [semver](https://semver.org).
6
6
 
7
+ ## [2.15.1] — 2026-08-23
8
+
9
+ ### Changed
10
+
11
+ - **The floating self-preview now sits in the screen's corners.** It was
12
+ bounded by the call chrome, which left it parked well inside the
13
+ screen rather than tucked into a corner — and on a connected video
14
+ call the chrome is hidden most of the time anyway, so it was reserving
15
+ room for something that was not there. `CallVideoGrid` takes a new
16
+ `safeArea` prop for this; `chromeInsets` still governs the scrolling
17
+ group grid's clearance under the control bar.
18
+
19
+ ### Fixed
20
+
21
+ - Picks up the camera-on-answer fix from `@poolse/react@2.15.1`.
22
+
7
23
  ## [2.15.0] — 2026-08-23
8
24
 
9
25
  Republished for the call-lifecycle fixes in `@poolse/sdk` and
package/dist/index.cjs CHANGED
@@ -5447,7 +5447,7 @@ var styles27 = reactNative.StyleSheet.create({
5447
5447
  });
5448
5448
  var PIP_WIDTH = 108;
5449
5449
  var PIP_HEIGHT = 152;
5450
- var MARGIN = 14;
5450
+ var MARGIN = 12;
5451
5451
  function LocalVideoPip({
5452
5452
  participant,
5453
5453
  VideoTrack,
@@ -5577,7 +5577,8 @@ function CallVideoGrid({
5577
5577
  livekitReactNative,
5578
5578
  labelFor,
5579
5579
  onLocalPress,
5580
- chromeInsets
5580
+ chromeInsets,
5581
+ safeArea
5581
5582
  }) {
5582
5583
  const label = labelFor ?? ((id) => `User ${id.slice(0, 6)}`);
5583
5584
  const VideoTrack = livekitReactNative?.VideoTrack;
@@ -5618,7 +5619,7 @@ function CallVideoGrid({
5618
5619
  VideoTrack,
5619
5620
  label,
5620
5621
  bounds: size,
5621
- insets: chromeInsets ?? { top: 0, bottom: 0 },
5622
+ insets: safeArea ?? { top: 0, bottom: 0 },
5622
5623
  onPress: onLocalPress
5623
5624
  }
5624
5625
  )
@@ -5966,7 +5967,8 @@ function CallScreen({
5966
5967
  livekitReactNative,
5967
5968
  labelFor: label,
5968
5969
  onLocalPress: () => void sfu.switchCamera(),
5969
- chromeInsets
5970
+ chromeInsets,
5971
+ safeArea: { top: insets.top, bottom: insets.bottom }
5970
5972
  }
5971
5973
  ) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles30.identity, children: /* @__PURE__ */ jsxRuntime.jsx(
5972
5974
  CallAvatar,