@tobyt/expo-pdf-markup 0.2.1 → 0.2.3

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
@@ -1,5 +1,17 @@
1
1
  # @tobyt/expo-pdf-markup
2
2
 
3
+ ## 0.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: exclude ios/Tests from podspec source_files to prevent XCTest
8
+
9
+ ## 0.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Fix gap at top of first page on iOS by changing pageBreakMargins to apply all margin to the bottom
14
+
3
15
  ## 0.2.1
4
16
 
5
17
  ### Patch Changes
@@ -24,5 +24,5 @@ Pod::Spec.new do |s|
24
24
  'DEFINES_MODULE' => 'YES',
25
25
  }
26
26
 
27
- s.source_files = "**/*.{h,m,mm,swift,hpp,cpp}"
27
+ s.source_files = "*.{h,m,mm,swift,hpp,cpp}"
28
28
  end
@@ -30,7 +30,7 @@ class ExpoPdfMarkupView: ExpoView, UIGestureRecognizerDelegate {
30
30
  pdfView.autoScales = true
31
31
  pdfView.displayMode = .singlePageContinuous
32
32
  pdfView.displayDirection = .vertical
33
- pdfView.pageBreakMargins = UIEdgeInsets(top: 4, left: 0, bottom: 4, right: 0)
33
+ pdfView.pageBreakMargins = UIEdgeInsets(top: 0, left: 0, bottom: 8, right: 0)
34
34
  pdfView.backgroundColor = UIColor(white: 0.92, alpha: 1)
35
35
 
36
36
  addSubview(pdfView)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tobyt/expo-pdf-markup",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "An Expo module for displaying and annotating PDFs",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",