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

[RNMobile] Native mobile release v1.16.0 #18210

Merged
merged 106 commits into from
Nov 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
7478b41
Adds correct escaping for urls (#17932)
Oct 14, 2019
cb3b787
Add an apiFetch middleware to automatically handle media upload failu…
youknowriad Oct 14, 2019
1e45acc
Fix: Gradient presets to verify some MU kses rules (#17940)
jorgefilipecosta Oct 14, 2019
090b89e
Bump plugin version to 6.7.0-rc.1
epiqueras Oct 14, 2019
5051d6a
Code Style: Change name of accumulated variables when using reduce fu…
lozinska Oct 15, 2019
77c676c
Fix:Image Block: Hide 'noreferrer' and 'noopener' in Link Rel (#17398)
donmhico Oct 15, 2019
be83661
Change Cover block min height input step size to 1 (#17927)
ZebulanStanphill Oct 15, 2019
693c0b8
chore(release): publish
youknowriad Oct 15, 2019
d7cd263
Update changelogs after the npm release
youknowriad Oct 15, 2019
9515a53
Prevent prependHttp from failing if url is not defined (#17928)
glendaviesnz Oct 16, 2019
2ea41bf
List block: move default style (#17958)
ellatrix Oct 16, 2019
0ee2b78
Storybook: Add stories for Checkbox control component (#17891)
mkaz Oct 16, 2019
a24a56d
RNMobile Add size options to mobile image block (#17245)
cameronvoell Oct 16, 2019
79f910f
Improve columns flex rule, round 2. (#17968)
jasmussen Oct 16, 2019
979ac4a
Bump plugin version to 6.7.0
youknowriad Oct 16, 2019
2da693e
Small changes to Git Workflow docs (#17662)
dphiffer Oct 16, 2019
f38e178
Codeowners: Remove gziolo from some folders (#17971)
gziolo Oct 16, 2019
f5f824e
Fix: Invalid import statement for deprecated in the modal component (…
gziolo Oct 16, 2019
d0079a9
Add empty line (#17981)
mkaz Oct 16, 2019
2c11c83
Try setting a block display name for the Block Navigator. (#17519)
talldan Oct 16, 2019
d79a840
[RNMobile] add RangeControl mobile implementation (slider) (#17282)
jbinda Oct 17, 2019
a284f26
Split e2e tests into multiple folders (#17990)
youknowriad Oct 17, 2019
5991eeb
Playground: Add link to components storybook. (#17982)
epiqueras Oct 17, 2019
013ed32
Fix image native test (#17989)
lukewalczak Oct 17, 2019
ed24c2f
Update: Refactor button edit to use a functional component (#18006)
jorgefilipecosta Oct 18, 2019
55dce15
Optimize exports of the wp/compose package (#17945)
jsnajdr Oct 18, 2019
69f6a69
[RNMobile] Introduce grouping in the block settings inspector (#17703)
lukewalczak Oct 18, 2019
c73d5be
Fix the performance tests (#18020)
youknowriad Oct 18, 2019
4e5e7fa
Storybook: Add knobs to ColorIndicator (#18015)
mkaz Oct 18, 2019
2052317
Add dashicon component to storybook (#18027)
mkaz Oct 18, 2019
a26a263
Fix Publish Button!!! (#18016)
jasmussen Oct 19, 2019
ba4793b
Update MediaPlaceholder README.md (#17980)
phwebi Oct 19, 2019
5d58806
removes decleration of Select button (#18007)
anthonyburchell Oct 21, 2019
26795ca
Fix MediaUpload README value prop description (#18039)
mkevins Oct 21, 2019
dc95b6f
Tests: Clean up skipped e2e tests (#18003)
gziolo Oct 21, 2019
4df25af
chore(release): publish
youknowriad Oct 21, 2019
a2856b1
Chore: Fix issues related to Node 12 becoming LTS (#18054)
gziolo Oct 22, 2019
87e4431
Fix issue when providing multiple shortcode aliases for a new block (…
jg314 Oct 22, 2019
6da4593
Chore: Update the lock file to use newer version of fsevents (#18057)
gziolo Oct 22, 2019
0d93d0c
Env: Add support for custom ports. (#17697)
epiqueras Oct 22, 2019
a5c9b11
Add isInvalidDate prop to DatePicker (#17498)
manzoorwanijk Oct 22, 2019
a25fe28
navigation-menu: Implement colors selector button. (#17832)
retrofox Oct 22, 2019
de715f6
Update design-systems:dev script to build packages (#18073)
mkaz Oct 23, 2019
9783474
Add `@wordpress/base-styles` package (#17883)
simison Oct 23, 2019
04e142e
Add Site Title block and required functionality. (#17207)
epiqueras Oct 23, 2019
f77ed22
Table: remove wrapper around cells (#17711)
ellatrix Oct 23, 2019
53eca43
Implement core template loader overrides to rely on wp_template posts…
felixarntz Oct 23, 2019
6cf43ac
Add logic for basic (temporary) wp_template editing UI (#17625)
felixarntz Oct 23, 2019
d4528d8
url-input: ensuring value is defined on key down (#18088)
retrofox Oct 24, 2019
7515397
Code style: Fix ESLint warnings reported for JSDoc definitions (#18025)
gziolo Oct 24, 2019
0b76cc9
Local autosave: Clear after successful save (#18051)
mcsf Oct 24, 2019
f2b9682
Chore: Fix: Do not show Gradient panel if gradients are not av… (#18091)
jorgefilipecosta Oct 24, 2019
29fc723
Fix regression with Gallery margin. (#18019)
jasmussen Oct 24, 2019
dd8885b
Add platform component (#18058)
SergioEstevao Oct 24, 2019
63a0e56
Fix: End to end tests do not disable the experiments (#18093)
jorgefilipecosta Oct 24, 2019
b99748f
Fix: Custom button background color not reflected on reload (#18037)
jorgefilipecosta Oct 24, 2019
ffc4795
List Block: Do not merge list with previous block if deleting first l…
gwwar Oct 24, 2019
59f7102
Add gradients in cover block (#18001)
jorgefilipecosta Oct 24, 2019
abbdb2b
Components: Add VisuallyHidden component (#18022)
mkaz Oct 24, 2019
bef4943
Storybook: Apply a set of enhancements to the existing stories (#18030)
gziolo Oct 24, 2019
2cedba7
Env: Add support for running in themes. (#17732)
epiqueras Oct 25, 2019
3cf81c7
Storybook: Add Color Palette Component (#17997)
mkaz Oct 25, 2019
576009f
Preserve attributes on split (#18102)
ellatrix Oct 25, 2019
56e730b
[rnmobile] Breadcrumbs (#17471)
dratwas Oct 25, 2019
f8b62bd
Add a block selection breadcrumb to the bottom of the editor (#17838)
youknowriad Oct 25, 2019
0f216d8
RNMobile: Add image alignment controls (#17962)
mchowning Oct 25, 2019
ce2e71c
Fix checkboxes for postmeta. (#18108)
jasmussen Oct 25, 2019
5ac763a
Add block inspector to the Gutenberg playground. (#18077)
jorgefilipecosta Oct 25, 2019
434bb66
Block Editor: Implement new colors hook. (#16781)
epiqueras Oct 25, 2019
cb96083
Fix: Font size picker component relies on WordPress styles (#18078)
jorgefilipecosta Oct 26, 2019
936ec69
Nav menu item enhancements: display toolbar and remove dropdown (#17986)
tellthemachines Oct 27, 2019
dda7d96
Fix overlapping controls in the Inline Image formatting toolbar (#18090)
noisysocks Oct 28, 2019
9023ca2
Raw handling: Fix strikethrough formatting when copy/pasting from Goo…
noisysocks Oct 28, 2019
a6e1252
Tutorial: Specify block naming restrictions (#18117)
jblz Oct 28, 2019
5a88ec3
Components: ExternalLink, add story (#18084)
Oct 28, 2019
711f9ff
Storybook: Add ColorPicker component (#18013)
mkaz Oct 28, 2019
f0dc07c
Add class mechanism for preset gradients. (#18008)
jorgefilipecosta Oct 28, 2019
3a0a929
Allow media upload post processing for all 5xx responses (#18106)
youknowriad Oct 28, 2019
567216f
Allow travis builds in all wp/* branches
youknowriad Oct 28, 2019
4f2e7f2
Add `DimensionControl` component (#16791)
getdave Oct 28, 2019
ef2ecc7
Paste: allow list attributes (#17144)
ellatrix Oct 28, 2019
b616e28
Add grandient fixtures to cover block (#18002)
jorgefilipecosta Oct 28, 2019
b3ad226
Bump plugin version to 6.8.0-rc.1
ellatrix Oct 28, 2019
702b11c
Fix RN build after merge with master (#18133)
SergioEstevao Oct 28, 2019
669da7a
Commander: switch cloning method to HTTPS (#18136)
ellatrix Oct 28, 2019
2980cb9
Add horizontal option for the block movers (#16615)
draganescu Oct 29, 2019
bd8dc3b
Update ExternalLink Component to fix visually hidden text (#18142)
mkaz Oct 29, 2019
9158c3c
Add Spinner component to storybook (#18145)
brentswisher Oct 29, 2019
f56110d
Smart block appender (#16708)
draganescu Oct 29, 2019
876272d
Components: Draggable, add story (#18070)
Oct 29, 2019
e6d8284
Block Directory: Convert it to UI Plugin to avoid bundling into Core …
gziolo Oct 29, 2019
e390bf8
Make the AsyncModeProvider API a stable API (#18154)
youknowriad Oct 29, 2019
c3ea270
Make the mediaUpload block editor setting a stable API (#18156)
youknowriad Oct 29, 2019
3febc48
Fix columns full-wide regression. (#18021)
jasmussen Oct 29, 2019
7aabe96
Resyncs RichText mobile components with web counterparts. (#17897)
SergioEstevao Oct 29, 2019
078b024
[RNMobile] Add a subtitle for unsupported blocks (#18107)
maxme Oct 29, 2019
152cbf1
Navigation: Explore default frontend styles (#18094)
frontdevde Oct 29, 2019
818d974
NavigationMenu: set attributes rightly (#18150)
retrofox Oct 29, 2019
095c0e4
Update packages/block-editor/src/components/colors/use-colors.js (#18…
jorgefilipecosta Oct 29, 2019
bc8a136
[RNMobile] Added support for giphy and pexels images (#18026)
marecar3 Oct 29, 2019
5eb2f23
Scripts: Bump the version of npm-package-json-lint (#18160)
gziolo Oct 29, 2019
d6ce94c
Experimental Link creation interface (#17846)
getdave Oct 30, 2019
d56979d
[RNMobile] Hotfix 1.15.2 (#18128)
etoledom Oct 30, 2019
13ba7dc
Fix handling of pasted images and prevent thumbnail uploads (#18215)
koke Nov 1, 2019
5b2f0a2
Merge branch 'rnmobile/releases' into rnmobile/release-1.16.0
hypest Nov 1, 2019
76c9c4b
Include the RN mobile releases branch in Travis branches
hypest Nov 1, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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/**/*.js',
'**/@(storybook|stories)/**/*.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 @gziolo @ntwb @nerrad @ajitbohra @talldan
/packages/e2e-tests @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 @gziolo @ajitbohra @jaymanpandya @jorgefilipecosta @talldan @chrisvanpatten
/packages/compose @youknowriad @gziolo @ajitbohra @jaymanpandya @jorgefilipecosta @talldan
/packages/element @youknowriad @gziolo @ajitbohra @jaymanpandya @jorgefilipecosta @talldan
/packages/components @youknowriad @ajitbohra @jaymanpandya @jorgefilipecosta @talldan @chrisvanpatten
/packages/compose @youknowriad @ajitbohra @jaymanpandya @jorgefilipecosta @talldan
/packages/element @youknowriad @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: 39 additions & 0 deletions .npmpackagejsonlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"extends": "@wordpress/npm-package-json-lint-config",
"rules": {
"description-format": [
"error",
{
"requireCapitalFirstLetter": true,
"requireEndingPeriod": true
}
],
"prefer-no-devDependencies": "error",
"require-publishConfig": "error",
"require-repository-directory": "error",
"valid-values-author": [
"error",
[
"The WordPress Contributors"
]
],
"valid-values-publishConfig": [
"error",
[
{
"access": "public"
}
]
]
},
"overrides": [
{
"patterns": [ "./package.json" ],
"rules": {
"require-publishConfig": "off",
"require-repository-directory": "off",
"prefer-no-devDependencies": "off"
}
}
]
}
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ branches:
only:
- master
- rnmobile/master
- wp/trunk
- rnmobile/releases
- /wp\/.*/

env:
global:
Expand Down
3 changes: 2 additions & 1 deletion 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 = 'git@github.com:' + gitRepoOwner + '/gutenberg.git';
const gitRepoURL = 'https://github.com/' + gitRepoOwner + '/gutenberg.git';
const svnRepoURL = 'https://plugins.svn.wordpress.org/gutenberg';

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

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

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

gutenberg_register_vendor_scripts( $wp_scripts );
}

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

module.exports = [
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( '@wordpress/postcss-themes' )( adminColorSchemes ),
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/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.
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.

#### SCSS File Naming Conventions for Blocks

Expand Down
17 changes: 14 additions & 3 deletions docs/contributors/git-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,23 @@ 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 your-branch-name
git push --force-with-lease origin 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.
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)
```

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

Expand All @@ -57,7 +68,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,6 +189,19 @@ _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 @@ -345,7 +358,7 @@ _Parameters_

_Returns_

- `Array<Editor.InserterItem>`: Items that appear in inserter.
- `Array<WPEditorInserterItem>`: 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_ `Mixed`: Default Value.
- _defaultValue_ `*`: Default Value.

_Returns_

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ _Parameters_

_Returns_

- `?NUX.GuideInfo`: Information about the associated guide.
- `?NUXGuideInfo`: 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_ `Mixed`: Preview data.
- _preview_ `*`: Preview data.

_Returns_

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,6 @@ 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: 18 additions & 0 deletions docs/manifest-devhub.json
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,12 @@
"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 @@ -971,6 +977,12 @@
"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 @@ -1079,6 +1091,12 @@
"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.6.0
* Version: 6.8.0-rc.1
* Author: Gutenberg Team
* Text Domain: gutenberg
*
Expand Down
21 changes: 21 additions & 0 deletions lib/block-directory.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php
/**
* Block directory functions.
*
* @package gutenberg
*/

if (
gutenberg_is_experiment_enabled( 'gutenberg-block-directory' ) &&
! has_action( 'admin_enqueue_scripts', 'enqueue_block_editor_assets_block_directory' )
) {
/**
* Function responsible for enqueuing the assets required
* for the block directory functionality in the editor.
*/
function gutenberg_enqueue_block_editor_assets_block_directory() {
wp_enqueue_script( 'wp-block-directory' );
wp_enqueue_style( 'wp-block-directory' );
}
add_action( 'enqueue_block_editor_assets', 'gutenberg_enqueue_block_editor_assets_block_directory' );
}
1 change: 1 addition & 0 deletions lib/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ 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