@lodev09/react-native-true-sheet 0.2.0 → 0.2.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/README.md +9 -5
- package/TrueSheet.podspec +0 -1
- package/ios/TrueSheetView.swift +2 -1
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
# React Native True Sheet
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://github.com/lodev09/react-native-true-sheet/actions/workflows/ci.yml)
|
|
4
|
+

|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
The true native bottom sheet.
|
|
4
8
|
|
|
5
9
|
## Features
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
* ✅ Implemented on the native realm.
|
|
11
|
+
* ✅ **_NOT_** your pure JS, (re)animated View.
|
|
12
|
+
* ✅ Clean, fast and lightweight.
|
|
13
|
+
* ✅ Handles your Sscrolling needs, easy.
|
|
10
14
|
|
|
11
15
|
## Installation
|
|
12
16
|
|
package/TrueSheet.podspec
CHANGED
package/ios/TrueSheetView.swift
CHANGED
|
@@ -194,14 +194,15 @@ class TrueSheetView: UIView, RCTInvalidating, TrueSheetViewControllerDelegate {
|
|
|
194
194
|
|
|
195
195
|
// Pin footer at the bottom
|
|
196
196
|
if let footerView {
|
|
197
|
-
containerView.bringSubviewToFront(footerView)
|
|
198
197
|
if let footerContent = footerView.subviews.first {
|
|
198
|
+
containerView.bringSubviewToFront(footerView)
|
|
199
199
|
footerView.pinTo(
|
|
200
200
|
view: viewController.view,
|
|
201
201
|
from: [.bottom, .left, .right],
|
|
202
202
|
with: footerContent.bounds.height
|
|
203
203
|
)
|
|
204
204
|
} else {
|
|
205
|
+
containerView.sendSubviewToBack(footerView)
|
|
205
206
|
footerView.removeConstraints(footerView.constraints)
|
|
206
207
|
}
|
|
207
208
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lodev09/react-native-true-sheet",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "The true native bottom sheet. 💩",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -78,7 +78,6 @@
|
|
|
78
78
|
"react-native": "^0.73.5",
|
|
79
79
|
"react-native-builder-bob": "^0.23.2",
|
|
80
80
|
"release-it": "^17.1.1",
|
|
81
|
-
"turbo": "^1.12.5",
|
|
82
81
|
"typescript": "~5.3.3"
|
|
83
82
|
},
|
|
84
83
|
"resolutions": {
|