Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.1.0 #726

Merged
merged 72 commits into from
Mar 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
0582a44
Point to Aztec with some perf improvements
hypest Feb 7, 2019
15654e5
Update URL to get the translations and add all languages that have mo…
Tug Feb 22, 2019
7461984
Point to GB rnmobile/develop
hypest Feb 24, 2019
2e03bb3
Merge pull request #667 from wordpress-mobile/feature/update-from-rel…
hypest Feb 24, 2019
ed992dc
Update README.md
koke Feb 25, 2019
fc96b1c
Fixes pasting in heading blocks.
diegoreymendez Feb 26, 2019
a460eda
Implement a custom image loader.
SergioEstevao Feb 27, 2019
8e88ede
Merge branch 'develop' into issue/allow_custom_image_loader
SergioEstevao Feb 27, 2019
48d7062
Use a proper min height for heading.
SergioEstevao Feb 28, 2019
2afb9cd
Update Gutenberg reference.
SergioEstevao Feb 28, 2019
a1ada54
Update GB reference.
SergioEstevao Feb 28, 2019
aa076f7
Update GB reference.
SergioEstevao Feb 28, 2019
2466c69
Remove empty test for caret.
SergioEstevao Feb 28, 2019
d8a8a5e
Pack eventCount when selection change.
SergioEstevao Feb 28, 2019
f2c4706
Add CircleCI config
jtreanor Mar 1, 2019
5536240
Merge pull request #696 from wordpress-mobile/circleci
jtreanor Mar 1, 2019
84fb445
Merge pull request #694 from wordpress-mobile/issue/fix_caret_updates
SergioEstevao Mar 1, 2019
53b675f
Point to Aztec with some perf improvements
hypest Mar 1, 2019
3d381a0
Merge branch 'develop' into issue/rich_text_refactor_size_code
SergioEstevao Mar 4, 2019
076c511
Update gb reference.
SergioEstevao Mar 4, 2019
0a21015
Update GB reference.
SergioEstevao Mar 4, 2019
3a0a0f4
Merge pull request #691 from wordpress-mobile/issue/rich_text_refacto…
SergioEstevao Mar 4, 2019
b7acfdf
Updates the gutenberg submodule reference.
diegoreymendez Mar 5, 2019
098c87a
Updates the Gutenberg submodule.
diegoreymendez Mar 5, 2019
0f593f1
Updates the Gutenberg submodule.
diegoreymendez Mar 5, 2019
c5317eb
Merge branch 'develop' into issue/624-fix-pasting-in-header
diegoreymendez Mar 5, 2019
45470f1
Updates the Gutenberg submodule reference.
diegoreymendez Mar 5, 2019
2fbcdda
RNAztec iOS: Avoid sending empty string to RN on Dictation to avoid r…
etoledom Mar 5, 2019
e68da27
Update react-native-keyboard-aware-scroll-view version on iOS example…
pinarol Mar 5, 2019
96e3d0d
Update gunteberg ref
etoledom Mar 5, 2019
4b9a43a
Updates the Gutenberg submodule reference.
diegoreymendez Mar 5, 2019
eed51b6
Merge pull request #675 from wordpress-mobile/issue/624-fix-pasting-i…
diegoreymendez Mar 5, 2019
859f1c5
Update gutenberg ref
etoledom Mar 5, 2019
4381851
Merge branch 'develop' into fix/links-ui-landscape-ios-v2
etoledom Mar 5, 2019
a298687
Merge pull request #701 from wordpress-mobile/fix/links-ui-landscape-…
etoledom Mar 5, 2019
821bb33
Merge branch 'feature/faster-aztec-updated' into feature/faster-aztec
hypest Mar 6, 2019
e010551
Update Aztec ref
hypest Mar 6, 2019
2bff840
Update gutenberg ref
etoledom Mar 6, 2019
0d60b10
Update Aztec hash
hypest Mar 6, 2019
a411c3b
Update Aztec hash
hypest Mar 6, 2019
169d179
Update gutenberg ref
etoledom Mar 6, 2019
43c9927
Update gutenberg ref
etoledom Mar 6, 2019
c6ce147
Merge branch 'develop' into issue/673-dictation
etoledom Mar 6, 2019
a109055
Generating new JS bundles.
etoledom Mar 6, 2019
f1cdfb2
Improve syntax of extra modules.
SergioEstevao Mar 6, 2019
4823525
Merge pull request #678 from wordpress-mobile/issue/allow_custom_imag…
SergioEstevao Mar 6, 2019
6bdc519
Update gutenberg submodule
marecar3 Mar 7, 2019
f1e805f
Update gutenberg ref
etoledom Mar 7, 2019
ed4823a
Merge pull request #706 from wordpress-mobile/issue/703-avoid-adding-…
etoledom Mar 7, 2019
9d0be59
Removed Travis CI config
jtreanor Mar 7, 2019
a7af71c
Merge pull request #700 from wordpress-mobile/issue/673-dictation
etoledom Mar 7, 2019
5a84c57
Update Aztec hash
hypest Mar 7, 2019
d05c140
Merge pull request #712 from wordpress-mobile/remove-travis
hypest Mar 7, 2019
39b052a
Point to the release Aztec tag
hypest Mar 7, 2019
90cce4e
Merge pull request #705 from wordpress-mobile/feature/faster-aztec
hypest Mar 7, 2019
4dd100a
Updated gutenberg mobile submodule
marecar3 Mar 7, 2019
d1ffbc0
Merge branch 'develop' into issue/merge-1.0.2-into-develop
etoledom Mar 7, 2019
c4ae1b3
Bring back gutenberg ref to `rnmobile/develop`
etoledom Mar 7, 2019
4b0bf8c
Merge pull request #659 from wordpress-mobile/update/i18n-cache-url-a…
hypest Mar 8, 2019
67c2393
Point to the merged commit
hypest Mar 8, 2019
6a6c903
Merge branch 'develop' into fix/627_heading_block_shows_no_formatting…
hypest Mar 8, 2019
7fa2774
Merge pull request #709 from wordpress-mobile/fix/627_heading_block_s…
hypest Mar 8, 2019
a764a93
Merge pull request #718 from wordpress-mobile/issue/merge-1.0.2-into-…
etoledom Mar 8, 2019
8ba8b19
Update aztec to 1.4.4
etoledom Mar 8, 2019
704902d
iOS: Using Aztec 1.4.4 tag on RNAztec Cartfile
etoledom Mar 8, 2019
9185e36
Merge pull request #721 from wordpress-mobile/issue/update-aztec-to-1…
etoledom Mar 8, 2019
eaea75b
Update GB reference.
SergioEstevao Mar 8, 2019
62cbc52
Update gb reference.
SergioEstevao Mar 8, 2019
22b025b
Update gutenberg ref to rnmobile/develop
etoledom Mar 8, 2019
f52ca55
Merge pull request #723 from wordpress-mobile/issue/fix_min_height
etoledom Mar 8, 2019
49e26b6
Increment package.json version to 1.1.0
marecar3 Mar 8, 2019
acc0213
Generate 1.1.0 bundle files
marecar3 Mar 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Mobile Gutenberg

Note: The project is at an early stage phase, it's not yet ready for integration.

This is the mobile version of [Gutenberg](https://github.com/WordPress/gutenberg), targeting Android and iOS. It's a React Native library bootstrapped by CRNA and now ejected.

## Getting Started
Expand Down
2,649 changes: 1,340 additions & 1,309 deletions bundle/android/App.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/android/App.js.map

Large diffs are not rendered by default.

2,667 changes: 1,349 additions & 1,318 deletions bundle/ios/App.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/ios/App.js.map

Large diffs are not rendered by default.

17 changes: 16 additions & 1 deletion i18n-cache/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,56 @@ const fetch = require( 'node-fetch' );
const supportedLocales = [
'ar', // Arabic
'bg', // Bulgarian
'bo', // Tibetan
'ca', // Catalan
'cs', // Czech
'cy', // Welsh
'da', // Danish
'de', // German
'en-au', // English (Australia)
'en-ca', // English (Canada)
'en-gb', // English (UK)
'en-nz', // English (New Zealand)
'en-za', // English (South Africa)
'el', // Greek
'es', // Spanish
'es-ar', // Spanish (Argentina)
'es-cl', // Spanish (Chile)
'es-cr', // Spanish (Costa Rica)
'fa', // Persian
'fr', // French
'gl', // Galician
'he', // Hebrew
'hr', // Croatian
'hu', // Hungarian
'id', // Indonesian
'is', // Icelandic
'it', // Italian
'ja', // Japanese
'ka', // Georgian
'ko', // Korean
'nb', // Norwegian (Bokmål)
'nl', // Dutch
'nl-be', // Dutch (Belgium)
'pl', // Polish
'pt', // Portuguese
'pt-br', // Portuguese (Brazil)
'ro', // Romainian
'ru', // Russian
'sk', // Slovak
'sq', // Albanian
'sr', // Serbian
'sv', // Swedish
'th', // Thai
'tr', // Turkish
'uk', // Ukrainian
'ur', // Urdu
'vi', // Vietnamese
'zh-cn', // Chinese (China)
'zh-tw', // Chinese (Taiwan)
];

const getLanguageUrl = ( locale ) => `https://widgets.wp.com/languages/gutenberg/${ locale }.json`;
const getLanguageUrl = ( locale ) => `https://translate.wordpress.org/projects/wp-plugins/gutenberg/dev/${ locale }/default/export-translations\?format\=json`;
const getTranslationFilePath = ( locale ) => `./data/${ locale }.json`;

const getTranslation = ( locale ) => require( getTranslationFilePath( locale ) );
Expand Down
36 changes: 36 additions & 0 deletions ios/CustomImageLoader.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import Foundation

class CustomImageLoader: NSObject, RCTImageURLLoader {

static func moduleName() -> String! {
return "CustomImageLoader"
}

func canLoadImageURL(_ requestURL: URL!) -> Bool {
return !requestURL.isFileURL
}

func loadImage(for imageURL: URL!, size: CGSize, scale: CGFloat, resizeMode: RCTResizeMode, progressHandler: RCTImageLoaderProgressBlock!, partialLoadHandler: RCTImageLoaderPartialLoadBlock!, completionHandler: RCTImageLoaderCompletionBlock!) -> RCTImageLoaderCancellationBlock! {
let task = URLSession.shared.dataTask(with: imageURL) { (data, response, error) in
if let error = error {
completionHandler(error, nil)
return
}
guard let data = data,
let image = UIImage.init(data: data) else {
completionHandler?(NSError(domain: NSURLErrorDomain, code: NSURLErrorCancelled, userInfo: nil), nil)
return;
}
completionHandler?(nil, image)
}
task.resume()
return { () in
task.cancel()
}
}

func loaderPriority() -> Float {
return 100
}

}
4 changes: 4 additions & 0 deletions ios/gutenberg.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
F1EE6F7A21E7F0A500241744 /* NotoSerif-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F1EE6F7621E7F0A500241744 /* NotoSerif-Italic.ttf */; };
F1EE6F7B21E7F0A500241744 /* NotoSerif-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F1EE6F7721E7F0A500241744 /* NotoSerif-Bold.ttf */; };
FF6836C822035EAB00A0C562 /* MediaUploadCoordinator.swift in Sources */ = {isa = PBXBuildFile; fileRef = FF6836C722035EAB00A0C562 /* MediaUploadCoordinator.swift */; };
FF83DAA92226905A00A34C93 /* CustomImageLoader.swift in Sources */ = {isa = PBXBuildFile; fileRef = FF83DAA82226905A00A34C93 /* CustomImageLoader.swift */; };
FF9A6F4121FA8E2500D36D14 /* MediaPickCoordinator.swift in Sources */ = {isa = PBXBuildFile; fileRef = FF9A6F1621FA8E2500D36D14 /* MediaPickCoordinator.swift */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -435,6 +436,7 @@
F1EE6F7721E7F0A500241744 /* NotoSerif-Bold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "NotoSerif-Bold.ttf"; sourceTree = "<group>"; };
F619623252704B46A619C33C /* RNTAztecView.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNTAztecView.xcodeproj; path = "../react-native-aztec/ios/RNTAztecView.xcodeproj"; sourceTree = "<group>"; };
FF6836C722035EAB00A0C562 /* MediaUploadCoordinator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MediaUploadCoordinator.swift; path = gutenberg/MediaUploadCoordinator.swift; sourceTree = "<group>"; };
FF83DAA82226905A00A34C93 /* CustomImageLoader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomImageLoader.swift; sourceTree = "<group>"; };
FF9A6F1621FA8E2500D36D14 /* MediaPickCoordinator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MediaPickCoordinator.swift; path = gutenberg/MediaPickCoordinator.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand Down Expand Up @@ -592,6 +594,7 @@
13B07FB51A68108700A75B9A /* Images.xcassets */,
13B07FB61A68108700A75B9A /* Info.plist */,
13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
FF83DAA82226905A00A34C93 /* CustomImageLoader.swift */,
);
name = gutenberg;
sourceTree = "<group>";
Expand Down Expand Up @@ -1371,6 +1374,7 @@
buildActionMask = 2147483647;
files = (
F151983C2100DC3D000F6E97 /* AppDelegate.swift in Sources */,
FF83DAA92226905A00A34C93 /* CustomImageLoader.swift in Sources */,
FF9A6F4121FA8E2500D36D14 /* MediaPickCoordinator.swift in Sources */,
F151983D2100DC3D000F6E97 /* MediaProvider.swift in Sources */,
FF6836C822035EAB00A0C562 /* MediaUploadCoordinator.swift in Sources */,
Expand Down
2 changes: 1 addition & 1 deletion ios/gutenberg/GutenbergViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Aztec

class GutenbergViewController: UIViewController {

fileprivate lazy var gutenberg = Gutenberg(dataSource: self)
fileprivate lazy var gutenberg = Gutenberg(dataSource: self, extraModules: [CustomImageLoader()])
fileprivate var htmlMode = false
fileprivate var mediaPickCoordinator: MediaPickCoordinator?
fileprivate lazy var mediaUploadCoordinator: MediaUploadCoordinator = {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gutenberg-mobile",
"version": "1.0.2",
"version": "1.1.0",
"private": true,
"config": {
"jsfiles": "./*.js src/*.js src/**/*.js src/**/**/*.js",
Expand Down Expand Up @@ -108,7 +108,7 @@
"react": "16.6.1",
"react-native": "0.57.5",
"react-native-hr": "git+https://github.com/Riglerr/react-native-hr.git#2d01a5cf77212d100e8b99e0310cce5234f977b3",
"react-native-keyboard-aware-scroll-view": "git+https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git#gb-v0.8.4",
"react-native-keyboard-aware-scroll-view": "git+https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git#gb-v0.8.6",
"react-native-modal": "^6.5.0",
"react-native-recyclerview-list": "git+https://github.com/wordpress-mobile/react-native-recyclerview-list.git#v1.0.0",
"react-native-safe-area": "^0.5.0",
Expand Down
2 changes: 1 addition & 1 deletion react-native-aztec/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
wordpressUtilsVersion = '1.22'
espressoVersion = '3.0.1'

aztecVersion = 'v1.3.20'
aztecVersion = 'v1.3.21'
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion react-native-aztec/ios/Cartfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "wordpress-mobile/AztecEditor-iOS" ~> 1.4.3
github "wordpress-mobile/AztecEditor-iOS" ~> 1.4.4

2 changes: 1 addition & 1 deletion react-native-aztec/ios/Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "wordpress-mobile/AztecEditor-iOS" "1.4.3"
github "wordpress-mobile/AztecEditor-iOS" "1.4.4"
6 changes: 4 additions & 2 deletions react-native-aztec/ios/RNTAztecView.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
);
HEADER_SEARCH_PATHS = /usr/include/libxml2;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -370,7 +371,7 @@
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "RNTAztecView/RCTAztecView-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand All @@ -385,6 +386,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
);
HEADER_SEARCH_PATHS = /usr/include/libxml2;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -394,7 +396,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "RNTAztecView/RCTAztecView-Bridging-Header.h";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ struct HeadingBlockFormatHandler: BlockFormatHandler {
}

func forceTypingFormat(on textView: RCTAztecView) {
var attributes = textView.typingAttributesSwifted
var attributes = textView.typingAttributes

attributes = paragraphFormatter.remove(from: attributes)
attributes = headerFormatter.apply(to: attributes, andStore: nil)

textView.typingAttributesSwifted = attributes
attributes = paragraphFormatter.remove(from: textView.typingAttributes)
attributes = headerFormatter.apply(to: textView.typingAttributes, andStore: nil)

textView.typingAttributes = attributes
}

private static func headerLevel(from levelString: String) -> Header.HeaderType? {
Expand Down
17 changes: 11 additions & 6 deletions react-native-aztec/ios/RNTAztecView/RCTAztecView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class RCTAztecView: Aztec.TextView {
label.translatesAutoresizingMaskIntoConstraints = false
label.textAlignment = .natural
label.font = font

return label
}()

Expand All @@ -74,6 +75,10 @@ class RCTAztecView: Aztec.TextView {
)
}()

/// If a dictation start with an empty UITextView,
/// the dictation engine refreshes the TextView with an empty string when the dictation finishes.
/// This helps to avoid propagating that unwanted empty string to RN. (Solving #606)
/// on `textViewDidChange` and `textViewDidChangeSelection`
private var isInsertingDictationResult = false

// MARK: - Font
Expand Down Expand Up @@ -405,10 +410,10 @@ class RCTAztecView: Aztec.TextView {
/// This method should not be called directly. Call `refreshFont()` instead.
///
private func refreshTypingAttributesAndPlaceholderFont() {
let oldFont = font(from: typingAttributesSwifted)
let oldFont = font(from: typingAttributes)
let newFont = applyFontConstraints(to: oldFont)

typingAttributesSwifted[.font] = newFont
typingAttributes[.font] = newFont
placeholderLabel.font = newFont
}

Expand Down Expand Up @@ -452,15 +457,15 @@ class RCTAztecView: Aztec.TextView {
extension RCTAztecView: UITextViewDelegate {

func textViewDidChangeSelection(_ textView: UITextView) {
guard isInsertingDictationResult == false else {
return
}

propagateSelectionChanges()
}

func textViewDidChange(_ textView: UITextView) {

guard isInsertingDictationResult == false else {
// If a dictation start with an empty UITextView,
// the dictation engine refreshes the TextView with an empty string when the dictation finishes.
// This avoid propagating that unwanted empty string to RN. (Solving #606)
return
}

Expand Down
1 change: 1 addition & 0 deletions react-native-aztec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"license": "GPL-2.0",
"scripts": {
"install-aztec-ios": "cd ./ios && carthage bootstrap --platform iOS --cache-builds",
"update-aztec-ios": "cd ./ios && carthage update --platform iOS --cache-builds",
"clean": "yarn clean-watchman; yarn clean-node; yarn clean-react; yarn clean-metro; yarn clean-jest;",
"clean-jest": "rm -rf $TMPDIR/jest_*;",
"clean-metro": "rm -rf $TMPDIR/metro-cache-*; rm -rf $TMPDIR/metro-bundler-cache-*;",
Expand Down
10 changes: 7 additions & 3 deletions react-native-gutenberg-bridge/ios/Gutenberg.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import RNTAztecView

@objc
public class Gutenberg: NSObject {

private var extraModules: [RCTBridgeModule];

public lazy var rootView: UIView = {
return RCTRootView(bridge: bridge, moduleName: "gutenberg", initialProperties: initialProps)
}()
Expand Down Expand Up @@ -55,8 +58,9 @@ public class Gutenberg: NSObject {
return initialProps
}

public init(dataSource: GutenbergBridgeDataSource) {
public init(dataSource: GutenbergBridgeDataSource, extraModules: [RCTBridgeModule] = []) {
self.dataSource = dataSource
self.extraModules = extraModules
}

public func invalidate() {
Expand Down Expand Up @@ -104,8 +108,8 @@ extension Gutenberg: RCTBridgeDelegate {
public func extraModules(for bridge: RCTBridge!) -> [RCTBridgeModule]! {
let aztecManager = RCTAztecViewManager()
aztecManager.attachmentDelegate = dataSource.aztecAttachmentDelegate()

return [bridgeModule, aztecManager]
let baseModules:[RCTBridgeModule] = [bridgeModule, aztecManager]
return baseModules + extraModules
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
#import <React/RCTViewManager.h>
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
#import <React/RCTImageLoader.h>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-keyboard-aware-scroll-view",
"version": "0.8.4",
"version": "0.8.6",
"homepage": "https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view",
"summary": "React Native module to arrange scroll poisition according to keyboard on input fields.",
"license": "MIT",
Expand All @@ -10,7 +10,7 @@
},
"source": {
"git": "https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git",
"tag": "gb-v0.8.4"
"tag": "gb-v0.8.6"
},
"source_files": "ios/RNKeyboardAwareScrollView/*.{h,m}",
"preserve_paths": "**/*.js",
Expand Down
2 changes: 1 addition & 1 deletion src/variables.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ $title-block-padding-bottom: 12;

$min-height-title: 30;
$min-height-paragraph: 24;
$min-height-heading: 24;
$min-height-heading: 30;
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7316,9 +7316,9 @@ react-native-iphone-x-helper@^1.0.3:
resolved "https://registry.yarnpkg.com/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.2.0.tgz#9f8a376eb00bc712115abff4420318a0063fa796"
integrity sha512-xIeTo4s77wwKgBZLVRIZC9tM9/PkXS46Ul76NXmvmixEb3ZwqGdQesR3zRiLMOoIdfOURB6N9bba9po7+x9Bag==

"react-native-keyboard-aware-scroll-view@git+https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git#gb-v0.8.4":
version "0.8.4"
resolved "git+https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git#589873f90f75d1362eac6f2dd1f27893368bf1b7"
"react-native-keyboard-aware-scroll-view@git+https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git#gb-v0.8.6":
version "0.8.6"
resolved "git+https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git#f8fa3a3372ae46fe798bb6c843a5475b8f080673"
dependencies:
prop-types "^15.6.2"
react-native-iphone-x-helper "^1.0.3"
Expand Down