Skip to content

Commit

Permalink
Revert "[RNMobile] Native mobile release v1.16.0 (#18210)"
Browse files Browse the repository at this point in the history
This reverts commit f6b72f2.
  • Loading branch information
hypest committed Nov 4, 2019
1 parent f6b72f2 commit 2e3e85f
Show file tree
Hide file tree
Showing 564 changed files with 5,015 additions and 10,590 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module.exports = {
'**/*.@(android|ios|native).js',
'**/benchmark/**/*.js',
'**/@(__mocks__|__tests__|test)/**/*.js',
'**/@(storybook|stories)/**/*.js',
'**/storybook/**/*.js',
],
},
{
Expand Down
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
/packages/custom-templated-path-webpack-plugin @ntwb @nerrad @ajitbohra
/packages/docgen @nosolosw
/packages/e2e-test-utils @gziolo @ntwb @nerrad @ajitbohra
/packages/e2e-tests @ntwb @nerrad @ajitbohra @talldan
/packages/e2e-tests @gziolo @ntwb @nerrad @ajitbohra @talldan
/packages/eslint-plugin @gziolo @ntwb @nerrad @ajitbohra
/packages/jest-console @gziolo @ntwb @nerrad @ajitbohra
/packages/jest-preset-default @gziolo @ntwb @nerrad @ajitbohra
Expand All @@ -51,9 +51,9 @@
/packages/scripts @youknowriad @gziolo @ntwb @nerrad @ajitbohra

# UI Components
/packages/components @youknowriad @ajitbohra @jaymanpandya @jorgefilipecosta @talldan @chrisvanpatten
/packages/compose @youknowriad @ajitbohra @jaymanpandya @jorgefilipecosta @talldan
/packages/element @youknowriad @ajitbohra @jaymanpandya @jorgefilipecosta @talldan
/packages/components @youknowriad @gziolo @ajitbohra @jaymanpandya @jorgefilipecosta @talldan @chrisvanpatten
/packages/compose @youknowriad @gziolo @ajitbohra @jaymanpandya @jorgefilipecosta @talldan
/packages/element @youknowriad @gziolo @ajitbohra @jaymanpandya @jorgefilipecosta @talldan
/packages/notices @ajitbohra @jaymanpandya @jorgefilipecosta @talldan
/packages/nux @ajitbohra @jaymanpandya @jorgefilipecosta @talldan @noisysocks
/packages/viewport @youknowriad @ajitbohra @jaymanpandya @jorgefilipecosta @talldan
Expand Down
39 changes: 0 additions & 39 deletions .npmpackagejsonlintrc.json

This file was deleted.

3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ branches:
only:
- master
- rnmobile/master
- rnmobile/releases
- /wp\/.*/
- wp/trunk

env:
global:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,13 @@ $z-layers: (
".block-editor-warning": 5,
".block-library-gallery-item__inline-menu": 20,
".block-editor-url-input__suggestions": 30,
".edit-post-layout__footer": 30,
".edit-post-header": 30,
".edit-widgets-header": 30,
".block-library-button__inline-link .block-editor-url-input__suggestions": 6, // URL suggestions for button block above sibling inserter
".block-library-image__resize-handlers": 1, // Resize handlers above sibling inserter
".wp-block-cover__inner-container": 1, // InnerBlocks area inside cover image block
".wp-block-cover.has-background-dim::before": 1, // Overlay area inside block cover need to be higher than the video background.
".wp-block-cover__video-background": 0, // Video background inside cover block.
".wp-block-site-title__save-button": 1,

// Active pill button
".components-button.is-button {:focus or .is-primary}": 1,
Expand Down
3 changes: 1 addition & 2 deletions bin/commander.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const uuid = require( 'uuid/v4' );

// Config
const gitRepoOwner = 'WordPress';
const gitRepoURL = 'https://github.com/' + gitRepoOwner + '/gutenberg.git';
const gitRepoURL = 'git@github.com:' + gitRepoOwner + '/gutenberg.git';
const svnRepoURL = 'https://plugins.svn.wordpress.org/gutenberg';

// Working Directories
Expand Down Expand Up @@ -95,7 +95,6 @@ function runShellScript( script, cwd ) {
env: {
NO_CHECKS: true,
PATH: process.env.PATH,
HOME: process.env.HOME,
},
stdio: [ 'inherit', 'ignore', 'inherit' ],
} );
Expand Down
11 changes: 1 addition & 10 deletions bin/get-vendor-scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,4 @@ function wp_add_inline_script() {}

require_once dirname( dirname( __FILE__ ) ) . '/lib/client-assets.php';

/**
* Hi, phpcs
*/
function run_gutenberg_register_vendor_scripts() {
global $wp_scripts;

gutenberg_register_vendor_scripts( $wp_scripts );
}

run_gutenberg_register_vendor_scripts();
gutenberg_register_vendor_scripts();
2 changes: 1 addition & 1 deletion bin/packages/build-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const BUILD_TASK_BY_EXTENSION = {

const builtSass = await renderSass( {
file,
includePaths: [ path.join( PACKAGES_DIR, 'base-styles' ) ],
includePaths: [ path.resolve( __dirname, '../../assets/stylesheets' ) ],
data: (
[
'colors',
Expand Down
63 changes: 60 additions & 3 deletions bin/packages/post-css-config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,64 @@
const { adminColorSchemes } = require( '@wordpress/base-styles' );

module.exports = [
require( '@wordpress/postcss-themes' )( adminColorSchemes ),
require( '@wordpress/postcss-themes' )( {
defaults: {
primary: '#0085ba',
secondary: '#11a0d2',
toggle: '#11a0d2',
button: '#007cba',
outlines: '#007cba',
},
themes: {
'admin-color-light': {
primary: '#0085ba',
secondary: '#c75726',
toggle: '#11a0d2',
button: '#0085ba',
outlines: '#007cba',
},
'admin-color-blue': {
primary: '#82b4cb',
secondary: '#d9ab59',
toggle: '#82b4cb',
button: '#d9ab59',
outlines: '#417e9B',
},
'admin-color-coffee': {
primary: '#c2a68c',
secondary: '#9fa47b',
toggle: '#c2a68c',
button: '#c2a68c',
outlines: '#59524c',
},
'admin-color-ectoplasm': {
primary: '#a7b656',
secondary: '#c77430',
toggle: '#a7b656',
button: '#a7b656',
outlines: '#523f6d',
},
'admin-color-midnight': {
primary: '#e14d43',
secondary: '#77a6b9',
toggle: '#77a6b9',
button: '#e14d43',
outlines: '#497b8d',
},
'admin-color-ocean': {
primary: '#a3b9a2',
secondary: '#a89d8a',
toggle: '#a3b9a2',
button: '#a3b9a2',
outlines: '#5e7d5e',
},
'admin-color-sunrise': {
primary: '#d1864a',
secondary: '#c8b03c',
toggle: '#c8b03c',
button: '#d1864a',
outlines: '#837425',
},
},
} ),
require( 'autoprefixer' )( { grid: true } ),
require( 'postcss-color-function' ),
];
2 changes: 1 addition & 1 deletion docs/contributors/coding-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function Notice( { children, onRemove, isDismissible } ) {
}
```

A component's class name should **never** be used outside its own folder (with rare exceptions such as [`_z-index.scss`](https://github.com/WordPress/gutenberg/blob/master/packages/base-styles/_z-index.scss)). If you need to inherit styles of another component in your own components, you should render an instance of that other component. At worst, you should duplicate the styles within your own component's stylesheet. This is intended to improve maintainability by treating individual components as the isolated abstract interface.
A component's class name should **never** be used outside its own folder (with rare exceptions such as [`_z-index.scss`](https://github.com/WordPress/gutenberg/blob/master/assets/stylesheets/_z-index.scss)). If you need to inherit styles of another component in your own components, you should render an instance of that other component. At worst, you should duplicate the styles within your own component's stylesheet. This is intended to improve maintainability by treating individual components as the isolated abstract interface.

#### SCSS File Naming Conventions for Blocks

Expand Down
17 changes: 3 additions & 14 deletions docs/contributors/git-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,12 @@ To sum it up, you need to fetch any new changes in the repository, rebase your b
```sh
git fetch
git rebase master
git push --force-with-lease origin your-branch-name
git push --force-with-lease your-branch-name
```

## Keeping Your Fork Up To Date

Working on pull request starts with forking the Gutenberg repository, your separate working copy. Which can easily go out of sync as new pull requests are merged into the main repository. Here your working repository is a `fork` and the main Gutenberg repository is `upstream`. When working on new pull request you should always update your fork before you do `git checkout -b my-new-branch` to work on a feature or fix.

You will need to add an `upstream` remote in order to keep your fork updated.

```sh
git remote add origin upstream https://github.com/WordPress/gutenberg.git
git remote -v
origin [email protected]:your-account/gutenberg.git (fetch)
origin [email protected]:your-account/gutenberg.git (push)
upstream https://github.com/WordPress/gutenberg.git (fetch)
upstream https://github.com/WordPress/gutenberg.git (push)
```
Working on pull request starts with forking the Gutenberg repository, your separate working copy. Which can easily go out of sync as new pull requests are merged into the main repository. Here your working repository is a `fork` and the main Gutenberg repository is `upstream`. When working on new pull request you should always update your fork before you do `git checkout -b my-new-branch` to work on a feature or fix.

To sync your fork you need to fetch the upstream changes and merge them into your fork. These are the corresponding commands:

Expand All @@ -68,7 +57,7 @@ This will update you local copy to update your fork on github push your changes
git push
```

The above commands will update your `master` branch from _upstream_. To update any other branch replace `master` with the respective branch name.
The above commands will update your `master` branch from _upstream_. To update any other branch replace `master` with the respective branch name.


## References
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,19 +189,6 @@ _Returns_

- `Array`: Ordered client IDs of editor blocks.

<a name="getBlockParents" href="#getBlockParents">#</a> **getBlockParents**

Given a block client ID, returns the list of all its parents from top to bottom.

_Parameters_

- _state_ `Object`: Editor state.
- _clientId_ `string`: Block from which to find root client ID.

_Returns_

- `Array`: ClientIDs of the parent blocks.

<a name="getBlockRootClientId" href="#getBlockRootClientId">#</a> **getBlockRootClientId**

Given a block client ID, returns the root block from which the block is
Expand Down Expand Up @@ -358,7 +345,7 @@ _Parameters_

_Returns_

- `Array<WPEditorInserterItem>`: Items that appear in inserter.
- `Array<Editor.InserterItem>`: Items that appear in inserter.

<a name="getLastMultiSelectedBlockClientId" href="#getLastMultiSelectedBlockClientId">#</a> **getLastMultiSelectedBlockClientId**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ _Parameters_

- _state_ `Object`: Global application state.
- _preferenceKey_ `string`: Preference Key.
- _defaultValue_ `*`: Default Value.
- _defaultValue_ `Mixed`: Default Value.

_Returns_

- `*`: Preference Value.
- `Mixed`: Preference Value.

<a name="getPreferences" href="#getPreferences">#</a> **getPreferences**

Expand Down
2 changes: 1 addition & 1 deletion docs/designers-developers/developers/data/data-core-nux.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ _Parameters_

_Returns_

- `?NUXGuideInfo`: Information about the associated guide.
- `?NUX.GuideInfo`: Information about the associated guide.

<a name="isTipVisible" href="#isTipVisible">#</a> **isTipVisible**

Expand Down
2 changes: 1 addition & 1 deletion docs/designers-developers/developers/data/data-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ a given URl has been received.
_Parameters_

- _url_ `string`: URL to preview the embed for.
- _preview_ `*`: Preview data.
- _preview_ `Mixed`: Preview data.

_Returns_

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,4 @@ Once a block is registered, you should immediately see that it becomes available

A block name must be prefixed with a namespace specific to your plugin. This helps prevent conflicts when more than one plugin registers a block with the same name. In this example, the namespace is `gutenberg-examples`.

Block names _must_ include only lowercase alphanumeric characters or dashes and start with a letter. Example: `my-plugin/my-custom-block`.

The `edit` and `save` functions describe the structure of your block in the context of the editor and the saved content respectively. While the difference is not obvious in this simple example, in the following sections we'll explore how these are used to enable customization of the block in the editor preview.
18 changes: 0 additions & 18 deletions docs/manifest-devhub.json
Original file line number Diff line number Diff line change
Expand Up @@ -641,12 +641,6 @@
"markdown_source": "../packages/components/src/date-time/README.md",
"parent": "components"
},
{
"title": "DimensionControl",
"slug": "dimension-control",
"markdown_source": "../packages/components/src/dimension-control/README.md",
"parent": "components"
},
{
"title": "Disabled",
"slug": "disabled",
Expand Down Expand Up @@ -977,12 +971,6 @@
"markdown_source": "../packages/components/src/tree-select/README.md",
"parent": "components"
},
{
"title": "VisuallyHidden",
"slug": "visually-hidden",
"markdown_source": "../packages/components/src/visually-hidden/README.md",
"parent": "components"
},
{
"title": "Data Module Reference",
"slug": "data",
Expand Down Expand Up @@ -1091,12 +1079,6 @@
"markdown_source": "../packages/babel-preset-default/README.md",
"parent": "packages"
},
{
"title": "@wordpress/base-styles",
"slug": "packages-base-styles",
"markdown_source": "../packages/base-styles/README.md",
"parent": "packages"
},
{
"title": "@wordpress/blob",
"slug": "packages-blob",
Expand Down
2 changes: 1 addition & 1 deletion gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Gutenberg
* Plugin URI: https://github.com/WordPress/gutenberg
* Description: Printing since 1440. This is the development plugin for the new block editor in core.
* Version: 6.8.0-rc.1
* Version: 6.6.0
* Author: Gutenberg Team
* Text Domain: gutenberg
*
Expand Down
21 changes: 0 additions & 21 deletions lib/block-directory.php

This file was deleted.

1 change: 0 additions & 1 deletion lib/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ function gutenberg_reregister_core_block_types() {
'search.php' => 'core/search',
'social-link.php' => gutenberg_get_registered_social_link_blocks(),
'tag-cloud.php' => 'core/tag-cloud',
'site-title.php' => 'core/site-title',
);

$registry = WP_Block_Type_Registry::get_instance();
Expand Down
Loading

0 comments on commit 2e3e85f

Please sign in to comment.