@poolse/react-native 2.15.0 → 2.15.2

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,33 @@ 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.2] — 2026-08-23
8
+
9
+ ### Fixed
10
+
11
+ - **The floating self-preview had a visible seam around its edge.** The
12
+ bubble clips to its own rounding, but the tile inside rounded itself
13
+ as well and carried a 2px border — transparent or not, that inset the
14
+ video from the edge it should meet, and the two radii disagreeing left
15
+ a hairline along the curve. The inner tile is borderless now, and the
16
+ bubble is rounder.
17
+
18
+ ## [2.15.1] — 2026-08-23
19
+
20
+ ### Changed
21
+
22
+ - **The floating self-preview now sits in the screen's corners.** It was
23
+ bounded by the call chrome, which left it parked well inside the
24
+ screen rather than tucked into a corner — and on a connected video
25
+ call the chrome is hidden most of the time anyway, so it was reserving
26
+ room for something that was not there. `CallVideoGrid` takes a new
27
+ `safeArea` prop for this; `chromeInsets` still governs the scrolling
28
+ group grid's clearance under the control bar.
29
+
30
+ ### Fixed
31
+
32
+ - Picks up the camera-on-answer fix from `@poolse/react@2.15.1`.
33
+
7
34
  ## [2.15.0] — 2026-08-23
8
35
 
9
36
  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,
@@ -5544,6 +5544,7 @@ function LocalVideoPip({
5544
5544
  label,
5545
5545
  avatarSize: 48,
5546
5546
  hideName: true,
5547
+ bleed: true,
5547
5548
  style: styles28.fill
5548
5549
  }
5549
5550
  ) })
@@ -5559,7 +5560,10 @@ var styles28 = reactNative.StyleSheet.create({
5559
5560
  left: 0,
5560
5561
  width: PIP_WIDTH,
5561
5562
  height: PIP_HEIGHT,
5562
- borderRadius: 16,
5563
+ // Generous enough to read as a bubble rather than a cropped
5564
+ // rectangle. The video is clipped to it, so this is the only
5565
+ // rounding in play.
5566
+ borderRadius: 22,
5563
5567
  overflow: "hidden",
5564
5568
  // Lifted off the video so it reads as floating rather than inset.
5565
5569
  shadowColor: "#000",
@@ -5577,7 +5581,8 @@ function CallVideoGrid({
5577
5581
  livekitReactNative,
5578
5582
  labelFor,
5579
5583
  onLocalPress,
5580
- chromeInsets
5584
+ chromeInsets,
5585
+ safeArea
5581
5586
  }) {
5582
5587
  const label = labelFor ?? ((id) => `User ${id.slice(0, 6)}`);
5583
5588
  const VideoTrack = livekitReactNative?.VideoTrack;
@@ -5618,7 +5623,7 @@ function CallVideoGrid({
5618
5623
  VideoTrack,
5619
5624
  label,
5620
5625
  bounds: size,
5621
- insets: chromeInsets ?? { top: 0, bottom: 0 },
5626
+ insets: safeArea ?? { top: 0, bottom: 0 },
5622
5627
  onPress: onLocalPress
5623
5628
  }
5624
5629
  )
@@ -5966,7 +5971,8 @@ function CallScreen({
5966
5971
  livekitReactNative,
5967
5972
  labelFor: label,
5968
5973
  onLocalPress: () => void sfu.switchCamera(),
5969
- chromeInsets
5974
+ chromeInsets,
5975
+ safeArea: { top: insets.top, bottom: insets.bottom }
5970
5976
  }
5971
5977
  ) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles30.identity, children: /* @__PURE__ */ jsxRuntime.jsx(
5972
5978
  CallAvatar,