diff --git a/Podfile b/Podfile index b3f3491735a1..95410af2db76 100644 --- a/Podfile +++ b/Podfile @@ -149,7 +149,7 @@ target 'WordPress' do ## Gutenberg (React Native) ## ===================== ## - gutenberg :commit => 'cda5a86d54fb47d54ffa76cadf5d74de78be3b8d' + gutenberg :commit => '99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2' ## Third party libraries ## ===================== diff --git a/Podfile.lock b/Podfile.lock index 41265de108c4..cac49f019a73 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -73,7 +73,7 @@ PODS: - GTMSessionFetcher/Core (1.4.0) - GTMSessionFetcher/Full (1.4.0): - GTMSessionFetcher/Core (= 1.4.0) - - Gutenberg (1.31.1): + - Gutenberg (1.32.0): - React (= 0.61.5) - React-CoreModules (= 0.61.5) - React-RCTImage (= 0.61.5) @@ -371,9 +371,9 @@ PODS: - React - RNSVG (9.13.6-gb): - React - - RNTAztecView (1.31.1): + - RNTAztecView (1.32.0): - React-Core - - WordPress-Aztec-iOS (~> 1.19.2) + - WordPress-Aztec-iOS (~> 1.19.3) - Sentry (4.5.0): - Sentry/Core (= 4.5.0) - Sentry/Core (4.5.0) @@ -439,14 +439,14 @@ DEPENDENCIES: - Charts (~> 3.2.2) - CocoaLumberjack (~> 3.0) - Down (~> 0.6.6) - - FBLazyVector (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/FBLazyVector.podspec.json`) - - FBReactNativeSpec (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/FBReactNativeSpec.podspec.json`) - - Folly (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/Folly.podspec.json`) + - FBLazyVector (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/FBLazyVector.podspec.json`) + - FBReactNativeSpec (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/FBReactNativeSpec.podspec.json`) + - Folly (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/Folly.podspec.json`) - FSInteractiveMap (from `https://github.com/wordpress-mobile/FSInteractiveMap.git`, tag `0.2.0`) - Gifu (= 3.2.0) - - glog (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/glog.podspec.json`) + - glog (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/glog.podspec.json`) - Gridicons (~> 1.0.1) - - Gutenberg (from `http://github.com/wordpress-mobile/gutenberg-mobile/`, commit `cda5a86d54fb47d54ffa76cadf5d74de78be3b8d`) + - Gutenberg (from `http://github.com/wordpress-mobile/gutenberg-mobile/`, commit `99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2`) - JTAppleCalendar (~> 8.0.2) - MediaEditor (~> 1.2.0) - MRProgress (= 0.8.3) @@ -456,36 +456,36 @@ DEPENDENCIES: - OCMock (= 3.4.3) - OHHTTPStubs (= 6.1.0) - OHHTTPStubs/Swift (= 6.1.0) - - RCTRequired (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/RCTRequired.podspec.json`) - - RCTTypeSafety (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/RCTTypeSafety.podspec.json`) + - RCTRequired (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/RCTRequired.podspec.json`) + - RCTTypeSafety (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/RCTTypeSafety.podspec.json`) - Reachability (= 3.2) - - React (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React.podspec.json`) - - React-Core (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-Core.podspec.json`) - - React-CoreModules (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-CoreModules.podspec.json`) - - React-cxxreact (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-cxxreact.podspec.json`) - - React-jsi (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-jsi.podspec.json`) - - React-jsiexecutor (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-jsiexecutor.podspec.json`) - - React-jsinspector (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-jsinspector.podspec.json`) - - react-native-blur (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-blur.podspec.json`) - - react-native-get-random-values (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-get-random-values.podspec.json`) - - react-native-keyboard-aware-scroll-view (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-keyboard-aware-scroll-view.podspec.json`) - - react-native-linear-gradient (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-linear-gradient.podspec.json`) - - react-native-safe-area (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-safe-area.podspec.json`) - - react-native-slider (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-slider.podspec.json`) - - react-native-video (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-video.podspec.json`) - - React-RCTActionSheet (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTActionSheet.podspec.json`) - - React-RCTAnimation (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTAnimation.podspec.json`) - - React-RCTBlob (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTBlob.podspec.json`) - - React-RCTImage (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTImage.podspec.json`) - - React-RCTLinking (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTLinking.podspec.json`) - - React-RCTNetwork (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTNetwork.podspec.json`) - - React-RCTSettings (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTSettings.podspec.json`) - - React-RCTText (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTText.podspec.json`) - - React-RCTVibration (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTVibration.podspec.json`) - - ReactCommon (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/ReactCommon.podspec.json`) - - ReactNativeDarkMode (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/ReactNativeDarkMode.podspec.json`) - - RNSVG (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/RNSVG.podspec.json`) - - RNTAztecView (from `http://github.com/wordpress-mobile/gutenberg-mobile/`, commit `cda5a86d54fb47d54ffa76cadf5d74de78be3b8d`) + - React (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React.podspec.json`) + - React-Core (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-Core.podspec.json`) + - React-CoreModules (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-CoreModules.podspec.json`) + - React-cxxreact (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-cxxreact.podspec.json`) + - React-jsi (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-jsi.podspec.json`) + - React-jsiexecutor (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-jsiexecutor.podspec.json`) + - React-jsinspector (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-jsinspector.podspec.json`) + - react-native-blur (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-blur.podspec.json`) + - react-native-get-random-values (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-get-random-values.podspec.json`) + - react-native-keyboard-aware-scroll-view (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-keyboard-aware-scroll-view.podspec.json`) + - react-native-linear-gradient (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-linear-gradient.podspec.json`) + - react-native-safe-area (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-safe-area.podspec.json`) + - react-native-slider (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-slider.podspec.json`) + - react-native-video (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-video.podspec.json`) + - React-RCTActionSheet (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTActionSheet.podspec.json`) + - React-RCTAnimation (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTAnimation.podspec.json`) + - React-RCTBlob (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTBlob.podspec.json`) + - React-RCTImage (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTImage.podspec.json`) + - React-RCTLinking (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTLinking.podspec.json`) + - React-RCTNetwork (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTNetwork.podspec.json`) + - React-RCTSettings (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTSettings.podspec.json`) + - React-RCTText (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTText.podspec.json`) + - React-RCTVibration (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTVibration.podspec.json`) + - ReactCommon (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/ReactCommon.podspec.json`) + - ReactNativeDarkMode (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/ReactNativeDarkMode.podspec.json`) + - RNSVG (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/RNSVG.podspec.json`) + - RNTAztecView (from `http://github.com/wordpress-mobile/gutenberg-mobile/`, commit `99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2`) - SimulatorStatusMagic - Starscream (= 3.0.6) - SVProgressHUD (= 2.2.5) @@ -496,7 +496,7 @@ DEPENDENCIES: - WordPressShared (= 1.9.1) - WordPressUI (~> 1.7.1) - WPMediaPicker (~> 1.7.0) - - Yoga (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/Yoga.podspec.json`) + - Yoga (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/Yoga.podspec.json`) - ZendeskSupportSDK (= 5.0.0) - ZIPFoundation (~> 0.9.8) @@ -558,93 +558,93 @@ SPEC REPOS: EXTERNAL SOURCES: FBLazyVector: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/FBLazyVector.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/FBLazyVector.podspec.json FBReactNativeSpec: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/FBReactNativeSpec.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/FBReactNativeSpec.podspec.json Folly: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/Folly.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/Folly.podspec.json FSInteractiveMap: :git: https://github.com/wordpress-mobile/FSInteractiveMap.git :tag: 0.2.0 glog: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/glog.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/glog.podspec.json Gutenberg: - :commit: cda5a86d54fb47d54ffa76cadf5d74de78be3b8d + :commit: 99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2 :git: http://github.com/wordpress-mobile/gutenberg-mobile/ :submodules: true RCTRequired: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/RCTRequired.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/RCTRequired.podspec.json RCTTypeSafety: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/RCTTypeSafety.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/RCTTypeSafety.podspec.json React: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React.podspec.json React-Core: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-Core.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-Core.podspec.json React-CoreModules: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-CoreModules.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-CoreModules.podspec.json React-cxxreact: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-cxxreact.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-cxxreact.podspec.json React-jsi: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-jsi.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-jsi.podspec.json React-jsiexecutor: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-jsiexecutor.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-jsiexecutor.podspec.json React-jsinspector: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-jsinspector.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-jsinspector.podspec.json react-native-blur: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-blur.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-blur.podspec.json react-native-get-random-values: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-get-random-values.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-get-random-values.podspec.json react-native-keyboard-aware-scroll-view: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-keyboard-aware-scroll-view.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-keyboard-aware-scroll-view.podspec.json react-native-linear-gradient: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-linear-gradient.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-linear-gradient.podspec.json react-native-safe-area: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-safe-area.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-safe-area.podspec.json react-native-slider: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-slider.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-slider.podspec.json react-native-video: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/react-native-video.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/react-native-video.podspec.json React-RCTActionSheet: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTActionSheet.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTActionSheet.podspec.json React-RCTAnimation: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTAnimation.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTAnimation.podspec.json React-RCTBlob: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTBlob.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTBlob.podspec.json React-RCTImage: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTImage.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTImage.podspec.json React-RCTLinking: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTLinking.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTLinking.podspec.json React-RCTNetwork: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTNetwork.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTNetwork.podspec.json React-RCTSettings: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTSettings.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTSettings.podspec.json React-RCTText: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTText.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTText.podspec.json React-RCTVibration: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/React-RCTVibration.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/React-RCTVibration.podspec.json ReactCommon: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/ReactCommon.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/ReactCommon.podspec.json ReactNativeDarkMode: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/ReactNativeDarkMode.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/ReactNativeDarkMode.podspec.json RNSVG: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/RNSVG.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/RNSVG.podspec.json RNTAztecView: - :commit: cda5a86d54fb47d54ffa76cadf5d74de78be3b8d + :commit: 99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2 :git: http://github.com/wordpress-mobile/gutenberg-mobile/ :submodules: true Yoga: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/cda5a86d54fb47d54ffa76cadf5d74de78be3b8d/third-party-podspecs/Yoga.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2/third-party-podspecs/Yoga.podspec.json CHECKOUT OPTIONS: FSInteractiveMap: :git: https://github.com/wordpress-mobile/FSInteractiveMap.git :tag: 0.2.0 Gutenberg: - :commit: cda5a86d54fb47d54ffa76cadf5d74de78be3b8d + :commit: 99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2 :git: http://github.com/wordpress-mobile/gutenberg-mobile/ :submodules: true RNTAztecView: - :commit: cda5a86d54fb47d54ffa76cadf5d74de78be3b8d + :commit: 99eee8de7cf15d50cf9c6071e0f7ebc963a6e3f2 :git: http://github.com/wordpress-mobile/gutenberg-mobile/ :submodules: true @@ -674,7 +674,7 @@ SPEC CHECKSUMS: Gridicons: 8e19276b20bb15d1fda1d4d0db96d066d170135b GTMAppAuth: 4deac854479704f348309e7b66189e604cf5e01e GTMSessionFetcher: 6f5c8abbab8a9bce4bb3f057e317728ec6182b10 - Gutenberg: 7476cfa37e5c7506577cce2c4a0818f55fd1a05e + Gutenberg: ba99b9caf47488bb149e1d1374d7deec1356ee28 JTAppleCalendar: 932cadea40b1051beab10f67843451d48ba16c99 lottie-ios: 85ce835dd8c53e02509f20729fc7d6a4e6645a0a MediaEditor: 1ff91fda23f693b97c8b56de2456a46bbbebdbe1 @@ -713,7 +713,7 @@ SPEC CHECKSUMS: ReactCommon: 48926fc48fcd7c8a629860049ffba9c23b4005dc ReactNativeDarkMode: f61376360c5d983907e5c316e8e1c853a8c2f348 RNSVG: 68a534a5db06dcbdaebfd5079349191598caef7b - RNTAztecView: f3f9e2e2fbd885b86360a155314e5a36ef50b9d7 + RNTAztecView: 42c629c75ef05644d4ef32a4a1cd06e2619a5198 Sentry: ab6c209f23700d1460691dbc90e19ed0a05d496b SimulatorStatusMagic: 28d4a9d1a500ac7cea0b2b5a43c1c6ddb40ba56c Sodium: 63c0ca312a932e6da481689537d4b35568841bdc @@ -739,6 +739,6 @@ SPEC CHECKSUMS: ZendeskSupportSDK: a87ab1e4badace92c75eb11dc77ede1e995b2adc ZIPFoundation: 249fa8890597086cd536bb2df5c9804d84e122b0 -PODFILE CHECKSUM: f2e81e280eda833d21a91689b7249293f0db6357 +PODFILE CHECKSUM: e617a466720dc5d1ea13f9fe65217609bc8393c0 COCOAPODS: 1.8.4 diff --git a/WordPress/Classes/ViewRelated/Gutenberg/Layout Picker/GutenbergLayoutPickerViewController.swift b/WordPress/Classes/ViewRelated/Gutenberg/Layout Picker/GutenbergLayoutPickerViewController.swift index 2787ba5f8e40..24f39868cae7 100644 --- a/WordPress/Classes/ViewRelated/Gutenberg/Layout Picker/GutenbergLayoutPickerViewController.swift +++ b/WordPress/Classes/ViewRelated/Gutenberg/Layout Picker/GutenbergLayoutPickerViewController.swift @@ -4,7 +4,8 @@ import Gridicons class GutenbergLayoutPickerViewController: UIViewController { @IBOutlet weak var headerView: UIView! -// @IBOutlet weak var closeButton: UIButton! + @IBOutlet weak var closeButton: UIButton! + @IBOutlet weak var headerHeight: NSLayoutConstraint! @IBOutlet weak var categoryBar: UICollectionView! @IBOutlet weak var tableView: UITableView! @@ -15,19 +16,21 @@ class GutenbergLayoutPickerViewController: UIViewController { var completion: PageCoordinator.TemplateSelectionCompletion? = nil let minTitleFontSize: CGFloat = 22 let maxTitleFontSize: CGFloat = 34 - var maxHeaderHeight: CGFloat = 285 + var maxHeaderHeight: CGFloat = 161 var minHeaderHeight: CGFloat { - return (navigationController?.navigationBar.frame.height ?? 56) + categoryBar.frame.height + 9 + return 4 + categoryBar.frame.height + 9 } override func viewDidLoad() { super.viewDidLoad() styleButtons() -// let tableFooterFrame = footerView.frame -// let bottomInset = tableFooterFrame.size.height - (UIApplication.shared.keyWindow?.safeAreaInsets.bottom ?? 44) -// tableView.contentInset = UIEdgeInsets(top: 0, left: 0, bottom: bottomInset, right: 0) -// closeButton.setImage(UIImage.gridicon(.crossSmall), for: .normal) + let tableFooterFrame = footerView.frame + let bottomInset = tableFooterFrame.size.height - (UIApplication.shared.keyWindow?.safeAreaInsets.bottom ?? 44) + tableView.tableHeaderView = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: maxHeaderHeight)) + tableView.tableFooterView = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: bottomInset)) + + closeButton.setImage(UIImage.gridicon(.crossSmall), for: .normal) } override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) { @@ -72,15 +75,15 @@ class GutenbergLayoutPickerViewController: UIViewController { button?.layer.cornerRadius = 8 } -// if #available(iOS 13.0, *) { -// closeButton.backgroundColor = UIColor { (traitCollection: UITraitCollection) -> UIColor in -// if traitCollection.userInterfaceStyle == .dark { -// return UIColor.systemFill -// } else { -// return UIColor.quaternarySystemFill -// } -// } -// } + if #available(iOS 13.0, *) { + closeButton.backgroundColor = UIColor { (traitCollection: UITraitCollection) -> UIColor in + if traitCollection.userInterfaceStyle == .dark { + return UIColor.systemFill + } else { + return UIColor.quaternarySystemFill + } + } + } } private func titleViewFont(withSize pointSize: CGFloat) -> UIFont? { @@ -88,6 +91,21 @@ class GutenbergLayoutPickerViewController: UIViewController { } } +extension GutenbergLayoutPickerViewController: UITableViewDelegate { + + func scrollViewDidScroll(_ scrollView: UIScrollView) { + let newHeaderViewHeight = maxHeaderHeight - scrollView.contentOffset.y + + if newHeaderViewHeight > maxHeaderHeight { + headerHeight.constant = maxHeaderHeight + } else if newHeaderViewHeight < minHeaderHeight { + headerHeight.constant = minHeaderHeight + } else { + headerHeight.constant = newHeaderViewHeight + } + } +} + extension GutenbergLayoutPickerViewController: UITableViewDataSource { func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { diff --git a/WordPress/Classes/ViewRelated/Gutenberg/Layout Picker/LayoutPickerStoryboard.storyboard b/WordPress/Classes/ViewRelated/Gutenberg/Layout Picker/LayoutPickerStoryboard.storyboard index 28deb6163623..bb7a65ee0cf6 100644 --- a/WordPress/Classes/ViewRelated/Gutenberg/Layout Picker/LayoutPickerStoryboard.storyboard +++ b/WordPress/Classes/ViewRelated/Gutenberg/Layout Picker/LayoutPickerStoryboard.storyboard @@ -1,5 +1,5 @@ - + @@ -37,63 +37,62 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -156,7 +155,10 @@ + + + @@ -168,12 +170,30 @@ + + + + +