@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 CHANGED
@@ -1,12 +1,16 @@
1
1
  # React Native True Sheet
2
2
 
3
- The real native bottom sheet.
3
+ [![CI](https://github.com/lodev09/react-native-true-sheet/actions/workflows/ci.yml/badge.svg)](https://github.com/lodev09/react-native-true-sheet/actions/workflows/ci.yml)
4
+ ![GitHub Release](https://img.shields.io/github/v/release/lodev09/react-native-true-sheet)
5
+ ![NPM Downloads](https://img.shields.io/npm/dw/%40lodev09%2Freact-native-true-sheet)
6
+
7
+ The true native bottom sheet.
4
8
 
5
9
  ## Features
6
- - ✅ Implemented on the native realm.
7
- - ✅ **_NOT_** your pure JS, (re)animated View.
8
- - ✅ Clean, fast and lightweight.
9
- - ✅ Handles your Sscrolling needs, easy.
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
@@ -36,7 +36,6 @@ Pod::Spec.new do |s|
36
36
  s.dependency "RCT-Folly"
37
37
  s.dependency "RCTRequired"
38
38
  s.dependency "RCTTypeSafety"
39
- s.dependency "ReactCommon/turbomodule/core"
40
39
  end
41
40
  end
42
41
  end
@@ -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.0",
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": {