@10play/expo-air 0.7.3 → 0.8.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.
|
@@ -113,6 +113,7 @@ class FloatingBubbleViewController: UIViewController, UIGestureRecognizerDelegat
|
|
|
113
113
|
private var shapeView: TrapezoidView!
|
|
114
114
|
private var reactSurfaceView: UIView?
|
|
115
115
|
private var nativeCloseButton: UIButton!
|
|
116
|
+
private var placeholderDot: UIView!
|
|
116
117
|
|
|
117
118
|
var bubbleSize: CGFloat = 60
|
|
118
119
|
var bubbleColor: String = "#000000"
|
|
@@ -195,6 +196,18 @@ class FloatingBubbleViewController: UIViewController, UIGestureRecognizerDelegat
|
|
|
195
196
|
shapeView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
|
|
196
197
|
bubbleContainer.addSubview(shapeView)
|
|
197
198
|
|
|
199
|
+
// Native gray placeholder dot — visible until RN bundle loads and renders its colored dot on top
|
|
200
|
+
let dotSize: CGFloat = 8
|
|
201
|
+
placeholderDot = UIView(frame: CGRect(
|
|
202
|
+
x: (collapsedTopWidth - dotSize) / 2,
|
|
203
|
+
y: (collapsedHeight - dotSize) / 2,
|
|
204
|
+
width: dotSize,
|
|
205
|
+
height: dotSize
|
|
206
|
+
))
|
|
207
|
+
placeholderDot.backgroundColor = UIColor(white: 0.56, alpha: 1)
|
|
208
|
+
placeholderDot.layer.cornerRadius = dotSize / 2
|
|
209
|
+
bubbleContainer.addSubview(placeholderDot)
|
|
210
|
+
|
|
198
211
|
// Shadow
|
|
199
212
|
bubbleContainer.layer.shadowColor = UIColor.black.cgColor
|
|
200
213
|
bubbleContainer.layer.shadowOpacity = 0.5
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@10play/expo-air",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Vibe Coding for React-Native",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
"open:ios": "xed example/ios",
|
|
50
50
|
"open:android": "open -a \"Android Studio\" example/android",
|
|
51
51
|
"android": "expo run:android",
|
|
52
|
-
"ios": "expo run:ios"
|
|
52
|
+
"ios": "expo run:ios",
|
|
53
|
+
"setup": "npm install && cd widget && npm install && cd ../example && npm install"
|
|
53
54
|
},
|
|
54
55
|
"keywords": [
|
|
55
56
|
"react-native",
|