From 7425d99d7c7ff85d69089b01a614728dc8248ae6 Mon Sep 17 00:00:00 2001 From: Stefanos Togkoulidis Date: Thu, 15 Mar 2018 17:52:25 +0200 Subject: [PATCH 01/13] Load the Code block for android, test its rendering Use `yarn test-aandroid` to run the tests setting the Platform to "android" --- App.js | 11 +++++++---- App.test.js | 6 ++++++ gutenberg | 2 +- jest.android.json | 15 +++++++++++++++ package.json | 4 ++++ yarn.lock | 15 +++++++++++++++ 6 files changed, 48 insertions(+), 5 deletions(-) create mode 100644 jest.android.json diff --git a/App.js b/App.js index d7ac48693e457..391e52527bfaf 100644 --- a/App.js +++ b/App.js @@ -1,15 +1,18 @@ // @flow import React from 'react'; -import { StyleSheet, Text, View } from 'react-native'; +import { StyleSheet, View } from 'react-native'; +import { settings as codeBlock } from './gutenberg/blocks/library/code' export default class App extends React.Component<{}> { render() { + Code = codeBlock.edit; return ( - Open up App.js to start working on your app! - Changes you make will automatically reload. - Shake your phone to open the developer menu. + console.log( { attrs } ) } + /> ); } diff --git a/App.test.js b/App.test.js index fc6f975ef8fe9..d8d57c4365527 100644 --- a/App.test.js +++ b/App.test.js @@ -7,3 +7,9 @@ it('renders without crashing', () => { const rendered = renderer.create().toJSON(); expect(rendered).toBeTruthy(); }); + +it('returns RN\'s View container and ', () => { + const rendered = renderer.create().toJSON(); + expect(rendered.type).toBe("View"); // parent container + expect(rendered.children[0].type).toBe("View"); // "Code" block +}); diff --git a/gutenberg b/gutenberg index 7d8fb687b6896..43590b2a8ac6d 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit 7d8fb687b68964c288d292f0e444697d64939380 +Subproject commit 43590b2a8ac6d1cf6635a85222aab95dae2d969a diff --git a/jest.android.json b/jest.android.json new file mode 100644 index 0000000000000..b627f91a0aa75 --- /dev/null +++ b/jest.android.json @@ -0,0 +1,15 @@ +{ + "preset": "react-native", + "haste": { + "defaultPlatform": "android", + "platforms": [ + "android", + "ios", + "native" + ], + "providesModuleNodeModules": [ + "react-native" + ] + } +} + \ No newline at end of file diff --git a/package.json b/package.json index ccc9b3b550909..b0c931299d09f 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.1.0", "private": true, "devDependencies": { + "cross-env": "^5.1.4", "flow-bin": "0.56.0", "jest-expo": "25.0.0", "react-native-scripts": "1.11.1", @@ -15,13 +16,16 @@ "android": "react-native-scripts android", "ios": "react-native-scripts ios", "test": "node node_modules/jest/bin/jest.js", + "test-android": "cross-env NODE_ENV=test jest --config jest.android.json", "flow": "flow" }, "jest": { "preset": "jest-expo" }, "dependencies": { + "classnames": "^2.2.5", "expo": "^25.0.0", + "jed": "^1.1.1", "react": "16.2.0", "react-native": "0.52.0" } diff --git a/yarn.lock b/yarn.lock index 22c29a2a972bd..802db0f5a7b73 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1432,6 +1432,10 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" +classnames@^2.2.5: + version "2.2.5" + resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.5.tgz#fb3801d453467649ef3603c7d61a02bd129bde6d" + cli-cursor@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" @@ -1721,6 +1725,13 @@ create-react-class@^15.5.2: loose-envify "^1.3.1" object-assign "^4.1.1" +cross-env@^5.1.4: + version "5.1.4" + resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.1.4.tgz#f61c14291f7cc653bb86457002ea80a04699d022" + dependencies: + cross-spawn "^5.1.0" + is-windows "^1.0.0" + cross-spawn@^5.0.1, cross-spawn@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" @@ -3377,6 +3388,10 @@ items@2.x.x: version "2.1.1" resolved "https://registry.yarnpkg.com/items/-/items-2.1.1.tgz#8bd16d9c83b19529de5aea321acaada78364a198" +jed@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/jed/-/jed-1.1.1.tgz#7a549bbd9ffe1585b0cd0a191e203055bee574b4" + jest-changed-files@^22.2.0: version "22.2.0" resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-22.2.0.tgz#517610c4a8ca0925bdc88b0ca53bd678aa8d019e" From cdacb31f26fa8c26f5ab946b5dab0388648dbdbb Mon Sep 17 00:00:00 2001 From: Stefanos Togkoulidis Date: Thu, 15 Mar 2018 18:43:26 +0200 Subject: [PATCH 02/13] Need to add @wordpress/babel-preset-default --- package.json | 1 + yarn.lock | 201 ++++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 176 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index b0c931299d09f..802dd7211f34c 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.1.0", "private": true, "devDependencies": { + "@wordpress/babel-preset-default": "^1.1.2", "cross-env": "^5.1.4", "flow-bin": "0.56.0", "jest-expo": "25.0.0", diff --git a/yarn.lock b/yarn.lock index 802db0f5a7b73..c2b381c08467d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -85,6 +85,21 @@ component-type "^1.2.1" join-component "^1.1.0" +"@wordpress/babel-preset-default@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@wordpress/babel-preset-default/-/babel-preset-default-1.1.2.tgz#6af740477d1b3fb964ad77646c20af4c869dff93" + dependencies: + "@wordpress/browserslist-config" "^2.1.2" + babel-plugin-lodash "^3.3.2" + babel-plugin-transform-object-rest-spread "^6.23.0" + babel-plugin-transform-react-jsx "^6.24.1" + babel-plugin-transform-runtime "^6.23.0" + babel-preset-env "^1.6.1" + +"@wordpress/browserslist-config@^2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@wordpress/browserslist-config/-/browserslist-config-2.1.2.tgz#bbb44949843a72a7277d87feb0120707878c7076" + Base64@~0.1.3: version "0.1.4" resolved "https://registry.yarnpkg.com/Base64/-/Base64-0.1.4.tgz#e9f6c6bef567fd635ea4162ab14dd329e74aa6de" @@ -534,6 +549,13 @@ babel-helper-hoist-variables@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" +babel-helper-module-imports@^7.0.0-beta.3: + version "7.0.0-beta.3" + resolved "https://registry.yarnpkg.com/babel-helper-module-imports/-/babel-helper-module-imports-7.0.0-beta.3.tgz#e15764e3af9c8e11810c09f78f498a2bdc71585a" + dependencies: + babel-types "7.0.0-beta.3" + lodash "^4.2.0" + babel-helper-optimise-call-expression@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz#f7a13427ba9f73f8f4fa993c54a97882d1244257" @@ -549,7 +571,7 @@ babel-helper-regex@^6.24.1: babel-types "^6.26.0" lodash "^4.17.4" -babel-helper-remap-async-to-generator@^6.16.0: +babel-helper-remap-async-to-generator@^6.16.0, babel-helper-remap-async-to-generator@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz#5ec581827ad723fecdd381f1c928390676e4551b" dependencies: @@ -590,7 +612,7 @@ babel-messages@^6.23.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-check-es2015-constants@^6.5.0, babel-plugin-check-es2015-constants@^6.8.0: +babel-plugin-check-es2015-constants@^6.22.0, babel-plugin-check-es2015-constants@^6.5.0, babel-plugin-check-es2015-constants@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a" dependencies: @@ -615,6 +637,16 @@ babel-plugin-jest-hoist@^22.4.1: version "22.4.1" resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-22.4.1.tgz#d712fe5da8b6965f3191dacddbefdbdf4fb66d63" +babel-plugin-lodash@^3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/babel-plugin-lodash/-/babel-plugin-lodash-3.3.2.tgz#da3a5b49ba27447f54463f6c4fa81396ccdd463f" + dependencies: + babel-helper-module-imports "^7.0.0-beta.3" + babel-types "^6.26.0" + glob "^7.1.1" + lodash "^4.17.4" + require-package-name "^2.0.1" + babel-plugin-module-resolver@^2.7.1: version "2.7.1" resolved "https://registry.yarnpkg.com/babel-plugin-module-resolver/-/babel-plugin-module-resolver-2.7.1.tgz#18be3c42ddf59f7a456c9e0512cd91394f6e4be1" @@ -665,7 +697,7 @@ babel-plugin-syntax-object-rest-spread@^6.13.0, babel-plugin-syntax-object-rest- version "6.13.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" -babel-plugin-syntax-trailing-function-commas@^6.20.0, babel-plugin-syntax-trailing-function-commas@^6.5.0, babel-plugin-syntax-trailing-function-commas@^6.8.0: +babel-plugin-syntax-trailing-function-commas@^6.20.0, babel-plugin-syntax-trailing-function-commas@^6.22.0, babel-plugin-syntax-trailing-function-commas@^6.5.0, babel-plugin-syntax-trailing-function-commas@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3" @@ -677,6 +709,14 @@ babel-plugin-transform-async-to-generator@6.16.0: babel-plugin-syntax-async-functions "^6.8.0" babel-runtime "^6.0.0" +babel-plugin-transform-async-to-generator@^6.22.0: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz#6536e378aff6cb1d5517ac0e40eb3e9fc8d08761" + dependencies: + babel-helper-remap-async-to-generator "^6.24.1" + babel-plugin-syntax-async-functions "^6.8.0" + babel-runtime "^6.22.0" + babel-plugin-transform-class-properties@^6.18.0, babel-plugin-transform-class-properties@^6.5.0, babel-plugin-transform-class-properties@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz#6a79763ea61d33d36f37b611aa9def81a81b46ac" @@ -694,19 +734,19 @@ babel-plugin-transform-decorators-legacy@^1.3.4: babel-runtime "^6.2.0" babel-template "^6.3.0" -babel-plugin-transform-es2015-arrow-functions@^6.5.0, babel-plugin-transform-es2015-arrow-functions@^6.8.0: +babel-plugin-transform-es2015-arrow-functions@^6.22.0, babel-plugin-transform-es2015-arrow-functions@^6.5.0, babel-plugin-transform-es2015-arrow-functions@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-block-scoped-functions@^6.8.0: +babel-plugin-transform-es2015-block-scoped-functions@^6.22.0, babel-plugin-transform-es2015-block-scoped-functions@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz#bbc51b49f964d70cb8d8e0b94e820246ce3a6141" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-block-scoping@^6.5.0, babel-plugin-transform-es2015-block-scoping@^6.8.0: +babel-plugin-transform-es2015-block-scoping@^6.23.0, babel-plugin-transform-es2015-block-scoping@^6.5.0, babel-plugin-transform-es2015-block-scoping@^6.8.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f" dependencies: @@ -716,7 +756,7 @@ babel-plugin-transform-es2015-block-scoping@^6.5.0, babel-plugin-transform-es201 babel-types "^6.26.0" lodash "^4.17.4" -babel-plugin-transform-es2015-classes@^6.5.0, babel-plugin-transform-es2015-classes@^6.8.0: +babel-plugin-transform-es2015-classes@^6.23.0, babel-plugin-transform-es2015-classes@^6.5.0, babel-plugin-transform-es2015-classes@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db" dependencies: @@ -730,26 +770,33 @@ babel-plugin-transform-es2015-classes@^6.5.0, babel-plugin-transform-es2015-clas babel-traverse "^6.24.1" babel-types "^6.24.1" -babel-plugin-transform-es2015-computed-properties@^6.5.0, babel-plugin-transform-es2015-computed-properties@^6.8.0: +babel-plugin-transform-es2015-computed-properties@^6.22.0, babel-plugin-transform-es2015-computed-properties@^6.5.0, babel-plugin-transform-es2015-computed-properties@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3" dependencies: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-plugin-transform-es2015-destructuring@6.x, babel-plugin-transform-es2015-destructuring@^6.5.0, babel-plugin-transform-es2015-destructuring@^6.8.0: +babel-plugin-transform-es2015-destructuring@6.x, babel-plugin-transform-es2015-destructuring@^6.23.0, babel-plugin-transform-es2015-destructuring@^6.5.0, babel-plugin-transform-es2015-destructuring@^6.8.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-for-of@^6.5.0, babel-plugin-transform-es2015-for-of@^6.8.0: +babel-plugin-transform-es2015-duplicate-keys@^6.22.0: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz#73eb3d310ca969e3ef9ec91c53741a6f1576423e" + dependencies: + babel-runtime "^6.22.0" + babel-types "^6.24.1" + +babel-plugin-transform-es2015-for-of@^6.23.0, babel-plugin-transform-es2015-for-of@^6.5.0, babel-plugin-transform-es2015-for-of@^6.8.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-function-name@6.x, babel-plugin-transform-es2015-function-name@^6.5.0, babel-plugin-transform-es2015-function-name@^6.8.0: +babel-plugin-transform-es2015-function-name@6.x, babel-plugin-transform-es2015-function-name@^6.22.0, babel-plugin-transform-es2015-function-name@^6.5.0, babel-plugin-transform-es2015-function-name@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz#834c89853bc36b1af0f3a4c5dbaa94fd8eacaa8b" dependencies: @@ -757,13 +804,21 @@ babel-plugin-transform-es2015-function-name@6.x, babel-plugin-transform-es2015-f babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-plugin-transform-es2015-literals@^6.5.0, babel-plugin-transform-es2015-literals@^6.8.0: +babel-plugin-transform-es2015-literals@^6.22.0, babel-plugin-transform-es2015-literals@^6.5.0, babel-plugin-transform-es2015-literals@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz#4f54a02d6cd66cf915280019a31d31925377ca2e" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-modules-commonjs@6.x, babel-plugin-transform-es2015-modules-commonjs@^6.5.0, babel-plugin-transform-es2015-modules-commonjs@^6.8.0: +babel-plugin-transform-es2015-modules-amd@^6.22.0, babel-plugin-transform-es2015-modules-amd@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz#3b3e54017239842d6d19c3011c4bd2f00a00d154" + dependencies: + babel-plugin-transform-es2015-modules-commonjs "^6.24.1" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + +babel-plugin-transform-es2015-modules-commonjs@6.x, babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1, babel-plugin-transform-es2015-modules-commonjs@^6.5.0, babel-plugin-transform-es2015-modules-commonjs@^6.8.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz#0d8394029b7dc6abe1a97ef181e00758dd2e5d8a" dependencies: @@ -772,14 +827,30 @@ babel-plugin-transform-es2015-modules-commonjs@6.x, babel-plugin-transform-es201 babel-template "^6.26.0" babel-types "^6.26.0" -babel-plugin-transform-es2015-object-super@^6.8.0: +babel-plugin-transform-es2015-modules-systemjs@^6.23.0: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz#ff89a142b9119a906195f5f106ecf305d9407d23" + dependencies: + babel-helper-hoist-variables "^6.24.1" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + +babel-plugin-transform-es2015-modules-umd@^6.23.0: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz#ac997e6285cd18ed6176adb607d602344ad38468" + dependencies: + babel-plugin-transform-es2015-modules-amd "^6.24.1" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + +babel-plugin-transform-es2015-object-super@^6.22.0, babel-plugin-transform-es2015-object-super@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz#24cef69ae21cb83a7f8603dad021f572eb278f8d" dependencies: babel-helper-replace-supers "^6.24.1" babel-runtime "^6.22.0" -babel-plugin-transform-es2015-parameters@6.x, babel-plugin-transform-es2015-parameters@^6.5.0, babel-plugin-transform-es2015-parameters@^6.8.0: +babel-plugin-transform-es2015-parameters@6.x, babel-plugin-transform-es2015-parameters@^6.23.0, babel-plugin-transform-es2015-parameters@^6.5.0, babel-plugin-transform-es2015-parameters@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b" dependencies: @@ -790,20 +861,20 @@ babel-plugin-transform-es2015-parameters@6.x, babel-plugin-transform-es2015-para babel-traverse "^6.24.1" babel-types "^6.24.1" -babel-plugin-transform-es2015-shorthand-properties@6.x, babel-plugin-transform-es2015-shorthand-properties@^6.5.0, babel-plugin-transform-es2015-shorthand-properties@^6.8.0: +babel-plugin-transform-es2015-shorthand-properties@6.x, babel-plugin-transform-es2015-shorthand-properties@^6.22.0, babel-plugin-transform-es2015-shorthand-properties@^6.5.0, babel-plugin-transform-es2015-shorthand-properties@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz#24f875d6721c87661bbd99a4622e51f14de38aa0" dependencies: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-plugin-transform-es2015-spread@6.x, babel-plugin-transform-es2015-spread@^6.5.0, babel-plugin-transform-es2015-spread@^6.8.0: +babel-plugin-transform-es2015-spread@6.x, babel-plugin-transform-es2015-spread@^6.22.0, babel-plugin-transform-es2015-spread@^6.5.0, babel-plugin-transform-es2015-spread@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz#d6d68a99f89aedc4536c81a542e8dd9f1746f8d1" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-sticky-regex@6.x: +babel-plugin-transform-es2015-sticky-regex@6.x, babel-plugin-transform-es2015-sticky-regex@^6.22.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz#00c1cdb1aca71112cdf0cf6126c2ed6b457ccdbc" dependencies: @@ -811,13 +882,19 @@ babel-plugin-transform-es2015-sticky-regex@6.x: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-plugin-transform-es2015-template-literals@^6.5.0, babel-plugin-transform-es2015-template-literals@^6.8.0: +babel-plugin-transform-es2015-template-literals@^6.22.0, babel-plugin-transform-es2015-template-literals@^6.5.0, babel-plugin-transform-es2015-template-literals@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-unicode-regex@6.x: +babel-plugin-transform-es2015-typeof-symbol@^6.23.0: + version "6.23.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz#dec09f1cddff94b52ac73d505c84df59dcceb372" + dependencies: + babel-runtime "^6.22.0" + +babel-plugin-transform-es2015-unicode-regex@6.x, babel-plugin-transform-es2015-unicode-regex@^6.22.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz#d38b12f42ea7323f729387f18a7c5ae1faeb35e9" dependencies: @@ -837,7 +914,7 @@ babel-plugin-transform-es3-property-literals@^6.8.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-exponentiation-operator@^6.24.1, babel-plugin-transform-exponentiation-operator@^6.5.0: +babel-plugin-transform-exponentiation-operator@^6.22.0, babel-plugin-transform-exponentiation-operator@^6.24.1, babel-plugin-transform-exponentiation-operator@^6.5.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e" dependencies: @@ -865,7 +942,7 @@ babel-plugin-transform-object-assign@^6.5.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-object-rest-spread@^6.20.2, babel-plugin-transform-object-rest-spread@^6.5.0, babel-plugin-transform-object-rest-spread@^6.8.0: +babel-plugin-transform-object-rest-spread@^6.20.2, babel-plugin-transform-object-rest-spread@^6.23.0, babel-plugin-transform-object-rest-spread@^6.5.0, babel-plugin-transform-object-rest-spread@^6.8.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06" dependencies: @@ -885,7 +962,7 @@ babel-plugin-transform-react-jsx-source@^6.5.0: babel-plugin-syntax-jsx "^6.8.0" babel-runtime "^6.22.0" -babel-plugin-transform-react-jsx@^6.5.0, babel-plugin-transform-react-jsx@^6.8.0: +babel-plugin-transform-react-jsx@^6.24.1, babel-plugin-transform-react-jsx@^6.5.0, babel-plugin-transform-react-jsx@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-jsx/-/babel-plugin-transform-react-jsx-6.24.1.tgz#840a028e7df460dfc3a2d29f0c0d91f6376e66a3" dependencies: @@ -893,12 +970,18 @@ babel-plugin-transform-react-jsx@^6.5.0, babel-plugin-transform-react-jsx@^6.8.0 babel-plugin-syntax-jsx "^6.8.0" babel-runtime "^6.22.0" -babel-plugin-transform-regenerator@^6.5.0: +babel-plugin-transform-regenerator@^6.22.0, babel-plugin-transform-regenerator@^6.5.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz#e0703696fbde27f0a3efcacf8b4dca2f7b3a8f2f" dependencies: regenerator-transform "^0.10.0" +babel-plugin-transform-runtime@^6.23.0: + version "6.23.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.23.0.tgz#88490d446502ea9b8e7efb0fe09ec4d99479b1ee" + dependencies: + babel-runtime "^6.22.0" + babel-plugin-transform-strict-mode@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758" @@ -914,6 +997,41 @@ babel-polyfill@^6.23.0: core-js "^2.5.0" regenerator-runtime "^0.10.5" +babel-preset-env@^1.6.1: + version "1.6.1" + resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.6.1.tgz#a18b564cc9b9afdf4aae57ae3c1b0d99188e6f48" + dependencies: + babel-plugin-check-es2015-constants "^6.22.0" + babel-plugin-syntax-trailing-function-commas "^6.22.0" + babel-plugin-transform-async-to-generator "^6.22.0" + babel-plugin-transform-es2015-arrow-functions "^6.22.0" + babel-plugin-transform-es2015-block-scoped-functions "^6.22.0" + babel-plugin-transform-es2015-block-scoping "^6.23.0" + babel-plugin-transform-es2015-classes "^6.23.0" + babel-plugin-transform-es2015-computed-properties "^6.22.0" + babel-plugin-transform-es2015-destructuring "^6.23.0" + babel-plugin-transform-es2015-duplicate-keys "^6.22.0" + babel-plugin-transform-es2015-for-of "^6.23.0" + babel-plugin-transform-es2015-function-name "^6.22.0" + babel-plugin-transform-es2015-literals "^6.22.0" + babel-plugin-transform-es2015-modules-amd "^6.22.0" + babel-plugin-transform-es2015-modules-commonjs "^6.23.0" + babel-plugin-transform-es2015-modules-systemjs "^6.23.0" + babel-plugin-transform-es2015-modules-umd "^6.23.0" + babel-plugin-transform-es2015-object-super "^6.22.0" + babel-plugin-transform-es2015-parameters "^6.23.0" + babel-plugin-transform-es2015-shorthand-properties "^6.22.0" + babel-plugin-transform-es2015-spread "^6.22.0" + babel-plugin-transform-es2015-sticky-regex "^6.22.0" + babel-plugin-transform-es2015-template-literals "^6.22.0" + babel-plugin-transform-es2015-typeof-symbol "^6.23.0" + babel-plugin-transform-es2015-unicode-regex "^6.22.0" + babel-plugin-transform-exponentiation-operator "^6.22.0" + babel-plugin-transform-regenerator "^6.22.0" + browserslist "^2.1.2" + invariant "^2.2.2" + semver "^5.3.0" + babel-preset-es2015-node@^6.1.1: version "6.1.1" resolved "https://registry.yarnpkg.com/babel-preset-es2015-node/-/babel-preset-es2015-node-6.1.1.tgz#60b23157024b0cfebf3a63554cb05ee035b4e55f" @@ -1063,6 +1181,14 @@ babel-traverse@^6.18.0, babel-traverse@^6.24.1, babel-traverse@^6.26.0: invariant "^2.2.2" lodash "^4.17.4" +babel-types@7.0.0-beta.3: + version "7.0.0-beta.3" + resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-7.0.0-beta.3.tgz#cd927ca70e0ae8ab05f4aab83778cfb3e6eb20b4" + dependencies: + esutils "^2.0.2" + lodash "^4.2.0" + to-fast-properties "^2.0.0" + babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" @@ -1265,6 +1391,13 @@ browser-resolve@^1.11.2: dependencies: resolve "1.1.7" +browserslist@^2.1.2: + version "2.11.3" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.11.3.tgz#fe36167aed1bbcde4827ebfe71347a2cc70b99b2" + dependencies: + caniuse-lite "^1.0.30000792" + electron-to-chromium "^1.3.30" + bser@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719" @@ -1347,6 +1480,10 @@ camelcase@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" +caniuse-lite@^1.0.30000792: + version "1.0.30000815" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000815.tgz#3a4258e6850362185adb11b0d754a48402d35bf6" + capture-stack-trace@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz#4a6fa07399c26bba47f0b2496b4d0fb408c5550d" @@ -1998,6 +2135,10 @@ ee-first@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" +electron-to-chromium@^1.3.30: + version "1.3.37" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.37.tgz#4a92734e0044c8cf0b1553be57eae21a4c6e5fab" + encodeurl@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" @@ -3275,7 +3416,7 @@ is-utf8@^0.2.0: version "0.2.1" resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" -is-windows@^1.0.2: +is-windows@^1.0.0, is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" @@ -4065,7 +4206,7 @@ lodash@^3.5.0: version "3.10.1" resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" -lodash@^4.0.0, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.14.1, lodash@^4.16.6, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.6.1: +lodash@^4.0.0, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.14.1, lodash@^4.16.6, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.6.1: version "4.17.5" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" @@ -5596,6 +5737,10 @@ require-main-filename@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" +require-package-name@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/require-package-name/-/require-package-name-2.0.1.tgz#c11e97276b65b8e2923f75dabf5fb2ef0c3841b9" + reqwest@2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/reqwest/-/reqwest-2.0.5.tgz#00fb15ac4918c419ca82b43f24c78882e66039a1" @@ -6378,6 +6523,10 @@ to-fast-properties@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + to-object-path@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" From 57ce29bb67cea956d062795a23e5651bdcb4d700 Mon Sep 17 00:00:00 2001 From: Stefanos Togkoulidis Date: Mon, 19 Mar 2018 12:10:22 +0200 Subject: [PATCH 03/13] Use the iOS specific files as well --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index 43590b2a8ac6d..bf82dce16e2ff 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit 43590b2a8ac6d1cf6635a85222aab95dae2d969a +Subproject commit bf82dce16e2ffa6b86abd7603f4c044dfcdcc421 From 9ac0943929e4c86fbfe3ea90b8cab2fcfb498f3c Mon Sep 17 00:00:00 2001 From: Stefanos Togkoulidis Date: Tue, 20 Mar 2018 15:23:23 +0200 Subject: [PATCH 04/13] Use the codestyle --- App.test.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/App.test.js b/App.test.js index d8d57c4365527..cb32d3593e1a8 100644 --- a/App.test.js +++ b/App.test.js @@ -1,14 +1,14 @@ -import React from 'react'; -import App from './App'; +import React from "react"; +import App from "./App"; -import renderer from 'react-test-renderer'; +import renderer from "react-test-renderer"; -it('renders without crashing', () => { +it("renders without crashing", () => { const rendered = renderer.create().toJSON(); expect(rendered).toBeTruthy(); }); -it('returns RN\'s View container and ', () => { +it("returns RN's View container and ", () => { const rendered = renderer.create().toJSON(); expect(rendered.type).toBe("View"); // parent container expect(rendered.children[0].type).toBe("View"); // "Code" block From e37b37fe0d54d78ea85e2e53795c18f7d49f1c45 Mon Sep 17 00:00:00 2001 From: Stefanos Togkoulidis Date: Tue, 20 Mar 2018 17:00:32 +0200 Subject: [PATCH 05/13] Code block is used deeper, in the BlockManager --- App.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/App.js b/App.js index b5babd101d88d..659533182eee1 100644 --- a/App.js +++ b/App.js @@ -3,16 +3,10 @@ // @flow import React from 'react'; -import { settings as codeBlock } from './gutenberg/blocks/library/code' import BlockManager from './block-management/block-manager'; export default class App extends React.Component<{}> { render() { - Code = codeBlock.edit; - console.log( { attrs } ) } - /> return ; } } From 1e2e00c163b8f6fd7b5f3ca55304af19ebb6aefa Mon Sep 17 00:00:00 2001 From: Stefanos Togkoulidis Date: Tue, 20 Mar 2018 17:02:08 +0200 Subject: [PATCH 06/13] Load the Code block directly from Gutenberg Using RN's TextInput when on Android, iOS. --- App.test.js | 18 ++++++++++++++---- block-management/block-holder.js | 23 +++++++++++++++++++++++ 2 files changed, 37 insertions(+), 4 deletions(-) diff --git a/App.test.js b/App.test.js index abcd764d4896d..e4fdacb2f3cf0 100644 --- a/App.test.js +++ b/App.test.js @@ -2,6 +2,7 @@ import React from 'react'; import App from './App'; +import BlockHolder from './block-management/block-holder'; import renderer from 'react-test-renderer'; @@ -10,8 +11,17 @@ it( 'renders without crashing', () => { expect( rendered ).toBeTruthy(); } ); -it( "returns RN's View container and ", () => { - const rendered = renderer.create( ).toJSON(); - expect( rendered.type ).toBe( 'View' ); // parent container - expect( rendered.children[ 0 ].type ).toBe( 'View' ); // "Code" block +it( 'Code block is a TextInput', () => { + renderer + .create( ) + .root.findAllByType( BlockHolder ) + .forEach( blockHolder => { + if ( blockHolder.props.blockType === 'code' ) { + const blockHolderContainer = blockHolder.children[ 0 ].children[ 0 ].children[ 0 ]; + const contentComponent = blockHolderContainer.children[ 1 ]; + const inputComponent = + contentComponent.children[ 0 ].children[ 0 ].children[ 0 ].children[ 0 ].children[ 0 ]; + expect( inputComponent.type ).toBe( 'TextInput' ); + } + } ); } ); diff --git a/block-management/block-holder.js b/block-management/block-holder.js index 96eec5f07abe9..6ca31641e908b 100644 --- a/block-management/block-holder.js +++ b/block-management/block-holder.js @@ -7,6 +7,9 @@ import React from 'react'; import { StyleSheet, View, Text, TouchableWithoutFeedback } from 'react-native'; import Toolbar from './toolbar'; +// Gutenberg imports +import { settings as codeBlock } from '../gutenberg/blocks/library/code'; + type PropsType = { index: number, blockType: string, @@ -31,6 +34,26 @@ export default class BlockHolder extends React.Component { render() { // TODO: This is a place holder, this should call the edit() method of the block depending on this.props.blockType + if ( this.props.blockType === 'code' ) { + Code = codeBlock.edit; + return ( + + + + BlockType: { this.props.blockType } + + console.log( { attrs } ) } + /> + { this.renderToolbarIfBlockFocused.bind( this )() } + + + ); + } + return ( Date: Tue, 20 Mar 2018 17:12:56 +0200 Subject: [PATCH 07/13] Add a TODO comment to replace hardcoded indices --- App.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/App.test.js b/App.test.js index e4fdacb2f3cf0..741fcf9b3a900 100644 --- a/App.test.js +++ b/App.test.js @@ -17,6 +17,7 @@ it( 'Code block is a TextInput', () => { .root.findAllByType( BlockHolder ) .forEach( blockHolder => { if ( blockHolder.props.blockType === 'code' ) { + // TODO: hardcoded indices are ugly and error prone. Can we do better here? const blockHolderContainer = blockHolder.children[ 0 ].children[ 0 ].children[ 0 ]; const contentComponent = blockHolderContainer.children[ 1 ]; const inputComponent = From cd21767b512953ace55408015c6279e33b00d251 Mon Sep 17 00:00:00 2001 From: Stefanos Togkoulidis Date: Tue, 20 Mar 2018 17:17:01 +0200 Subject: [PATCH 08/13] Add TODO comment to updateg Code's attrs on change --- block-management/block-holder.js | 1 + 1 file changed, 1 insertion(+) diff --git a/block-management/block-holder.js b/block-management/block-holder.js index 6ca31641e908b..3f79411ac5728 100644 --- a/block-management/block-holder.js +++ b/block-management/block-holder.js @@ -46,6 +46,7 @@ export default class BlockHolder extends React.Component { console.log( { attrs } ) } /> { this.renderToolbarIfBlockFocused.bind( this )() } From 8dd286ff837f406b86e693c00e3e9fa5295c2dba Mon Sep 17 00:00:00 2001 From: Stefanos Togkoulidis Date: Tue, 20 Mar 2018 17:20:08 +0200 Subject: [PATCH 09/13] Need to define Code --- block-management/block-holder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block-management/block-holder.js b/block-management/block-holder.js index 3f79411ac5728..a43147baf8c70 100644 --- a/block-management/block-holder.js +++ b/block-management/block-holder.js @@ -35,7 +35,7 @@ export default class BlockHolder extends React.Component { render() { // TODO: This is a place holder, this should call the edit() method of the block depending on this.props.blockType if ( this.props.blockType === 'code' ) { - Code = codeBlock.edit; + const Code = codeBlock.edit; return ( Date: Wed, 21 Mar 2018 09:12:12 +0100 Subject: [PATCH 10/13] Use getBlockForType to get the right block edit function --- block-management/block-holder.js | 36 +++++++++++++------------------- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/block-management/block-holder.js b/block-management/block-holder.js index a43147baf8c70..ea87d8c9d2a45 100644 --- a/block-management/block-holder.js +++ b/block-management/block-holder.js @@ -32,29 +32,23 @@ export default class BlockHolder extends React.Component { } } - render() { - // TODO: This is a place holder, this should call the edit() method of the block depending on this.props.blockType + getBlockForType() { if ( this.props.blockType === 'code' ) { const Code = codeBlock.edit; + // TODO: input text needs to be kept by updating the attributes return ( - - - - BlockType: { this.props.blockType } - - console.log( { attrs } ) } - /> - { this.renderToolbarIfBlockFocused.bind( this )() } - - + console.log( { attrs } ) } + /> ); + } else { + // Default block placeholder + return { this.props.content }; } + } + render() { return ( { BlockType: { this.props.blockType } - - { this.props.content } - + { this.getBlockForType.bind( this )() } { this.renderToolbarIfBlockFocused.bind( this )() } @@ -77,8 +69,10 @@ const styles = StyleSheet.create( { blockHolder: { flex: 1, }, - blockContent: { + blockContainer: { backgroundColor: 'white', + }, + blockContent: { padding: 10, }, blockTitle: { From 9639f223836f6c5ba11783973808599307a8bc98 Mon Sep 17 00:00:00 2001 From: Stefanos Togkoulidis Date: Wed, 21 Mar 2018 11:35:01 +0200 Subject: [PATCH 11/13] Fix test broken by #17 --- App.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/App.test.js b/App.test.js index 741fcf9b3a900..1b989c1b3d375 100644 --- a/App.test.js +++ b/App.test.js @@ -21,7 +21,8 @@ it( 'Code block is a TextInput', () => { const blockHolderContainer = blockHolder.children[ 0 ].children[ 0 ].children[ 0 ]; const contentComponent = blockHolderContainer.children[ 1 ]; const inputComponent = - contentComponent.children[ 0 ].children[ 0 ].children[ 0 ].children[ 0 ].children[ 0 ]; + contentComponent.children[ 0 ].children[ 0 ].children[ 0 ].children[ 0 ].children[ 0 ] + .children[ 0 ].children[ 0 ]; expect( inputComponent.type ).toBe( 'TextInput' ); } } ); From 4d78fce1148940021d028158c8d8ae3b9e4e2a90 Mon Sep 17 00:00:00 2001 From: Stefanos Togkoulidis Date: Wed, 21 Mar 2018 11:43:55 +0200 Subject: [PATCH 12/13] Multiline Code block --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index bf82dce16e2ff..16b7eb5176a1d 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit bf82dce16e2ffa6b86abd7603f4c044dfcdcc421 +Subproject commit 16b7eb5176a1d934f08fdca8128934a6f8e4facd From 21fff061eba4fe49fee3f17e21617e7f176b0b0a Mon Sep 17 00:00:00 2001 From: Stefanos Togkoulidis Date: Wed, 21 Mar 2018 11:47:54 +0200 Subject: [PATCH 13/13] Hide TextInput underline on Android --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index 16b7eb5176a1d..20fd557a8dd1a 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit 16b7eb5176a1d934f08fdca8128934a6f8e4facd +Subproject commit 20fd557a8dd1aac70dbd7c8cf8e6b02f08277046