Skip to content

Commit

Permalink
Block Editor: Update the WordPress Packages to the ones used in the G…
Browse files Browse the repository at this point in the history
…utenberg 6.8 release.

Updated packages:
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]
@wordpress/[email protected]

Props gziolo, youknowriad.
Fixes: #48310
Built from https://develop.svn.wordpress.org/trunk@46546


git-svn-id: http://core.svn.wordpress.org/trunk@46343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
jorgefilipecosta committed Oct 15, 2019
1 parent 6c3a387 commit 16571b1
Show file tree
Hide file tree
Showing 114 changed files with 12,295 additions and 10,597 deletions.
29 changes: 22 additions & 7 deletions wp-includes/css/dist/block-editor/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@
.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit > * {
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }

Expand Down Expand Up @@ -380,7 +381,7 @@
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar {
top: 14px; } }

.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] > .block-editor-block-list__block-edit {
float: left;
margin-right: 2em; }

Expand Down Expand Up @@ -1112,6 +1113,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
color: #32373c;
background: #edeff0; }

.components-popover.block-editor-block-navigation__popover {
z-index: 99998; }

.block-editor-block-preview__container {
position: relative;
width: 100%;
Expand Down Expand Up @@ -1292,7 +1296,8 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
height: auto;
position: -webkit-sticky;
position: sticky;
align-self: stretch;
-ms-grid-row-align: stretch;
align-self: stretch;
top: 0;
padding: 10px; } }

Expand Down Expand Up @@ -1499,9 +1504,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
height: 100%;
left: 0; } }

.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom {
z-index: 100001; }

.block-editor-inner-blocks.has-overlay::after {
content: "";
position: absolute;
Expand Down Expand Up @@ -1632,6 +1634,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
.block-editor-inserter__menu.is-bottom::after {
border-bottom-color: #fff; }

.components-popover.block-editor-inserter__popover {
z-index: 99998; }

.components-popover input[type="search"].block-editor-inserter__search {
display: block;
margin: 16px;
Expand Down Expand Up @@ -1750,12 +1755,22 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
border: 1px solid #e2e4e7;
border-radius: 4px;
min-height: 150px;
padding: 10px;
display: -ms-grid;
display: grid;
flex-grow: 2; }
.block-editor-inserter__preview-content .block-editor-block-preview__container {
margin-left: 0;
margin-right: 0; }
margin-right: 0;
padding: 10px; }

.block-editor-inserter__preview-content-missing {
flex: 1;
display: flex;
justify-content: center;
color: #606a73;
border: 1px solid #e2e4e7;
border-radius: 4px;
align-items: center; }

.block-editor-block-types-list__list-item {
display: block;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-editor/style-rtl.min.css

Large diffs are not rendered by default.

29 changes: 22 additions & 7 deletions wp-includes/css/dist/block-editor/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@
.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit > * {
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }

Expand Down Expand Up @@ -380,7 +381,7 @@
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar {
top: 14px; } }

.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] > .block-editor-block-list__block-edit {
/*!rtl:begin:ignore*/
float: left;
margin-right: 2em;
Expand Down Expand Up @@ -1128,6 +1129,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
color: #32373c;
background: #edeff0; }

.components-popover.block-editor-block-navigation__popover {
z-index: 99998; }

.block-editor-block-preview__container {
position: relative;
width: 100%;
Expand Down Expand Up @@ -1308,7 +1312,8 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
height: auto;
position: -webkit-sticky;
position: sticky;
align-self: stretch;
-ms-grid-row-align: stretch;
align-self: stretch;
top: 0;
padding: 10px; } }

Expand Down Expand Up @@ -1515,9 +1520,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
height: 100%;
right: 0; } }

.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom {
z-index: 100001; }

.block-editor-inner-blocks.has-overlay::after {
content: "";
position: absolute;
Expand Down Expand Up @@ -1648,6 +1650,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
.block-editor-inserter__menu.is-bottom::after {
border-bottom-color: #fff; }

.components-popover.block-editor-inserter__popover {
z-index: 99998; }

.components-popover input[type="search"].block-editor-inserter__search {
display: block;
margin: 16px;
Expand Down Expand Up @@ -1766,12 +1771,22 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
border: 1px solid #e2e4e7;
border-radius: 4px;
min-height: 150px;
padding: 10px;
display: -ms-grid;
display: grid;
flex-grow: 2; }
.block-editor-inserter__preview-content .block-editor-block-preview__container {
margin-right: 0;
margin-left: 0; }
margin-left: 0;
padding: 10px; }

.block-editor-inserter__preview-content-missing {
flex: 1;
display: flex;
justify-content: center;
color: #606a73;
border: 1px solid #e2e4e7;
border-radius: 4px;
align-items: center; }

.block-editor-block-types-list__list-item {
display: block;
Expand Down
4 changes: 2 additions & 2 deletions wp-includes/css/dist/block-editor/style.min.css

Large diffs are not rendered by default.

88 changes: 75 additions & 13 deletions wp-includes/css/dist/block-library/editor-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ div[data-type="core/button"] div[data-block] {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit .block-core-columns {
display: flex;
flex-direction: column;
flex: 1; }
flex: 1 0 auto; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
padding-right: 0;
padding-left: 0;
Expand Down Expand Up @@ -648,6 +648,10 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
.is-selected .wp-block-gallery {
margin-bottom: 0; }

figure.wp-block-gallery {
display: block;
margin: 0; }

.blocks-gallery-grid.blocks-gallery-grid {
margin-bottom: 0; }

Expand Down Expand Up @@ -863,7 +867,9 @@ body.admin-color-light .blocks-gallery-item figure.is-selected {
box-shadow: none; }

.wp-block-image {
position: relative; }
position: relative;
margin-right: 0;
margin-left: 0; }
.wp-block-image.is-transient img {
opacity: 0.3; }
.wp-block-image figcaption img {
Expand Down Expand Up @@ -978,29 +984,61 @@ body.admin-color-light .blocks-gallery-item figure.is-selected {
.wp-block-legacy-widget__preview {
overflow: auto; }

.wp-block-media-text {
grid-template-areas: "media-text-media media-text-content" "resizer resizer";
align-items: center; }

.wp-block-media-text.has-media-on-the-right {
grid-template-areas: "media-text-content media-text-media" "resizer resizer"; }

.wp-block-media-text .__resizable_base__ {
grid-area: resizer; }
-ms-grid-column: 1;
-ms-grid-column-span: 2;
grid-column: 1 / span 2;
-ms-grid-row: 2;
grid-row: 2; }

.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,
.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer {
-ms-grid-row-align: start;
align-self: start; }

.wp-block-media-text .block-editor-inner-blocks,
.wp-block-media-text .editor-media-container__resizer,
.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,
.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer {
-ms-grid-row-align: center;
align-self: center; }

.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,
.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer {
-ms-grid-row-align: end;
align-self: end; }

.wp-block-media-text .editor-media-container__resizer {
grid-area: media-text-media;
-ms-grid-column: 1;
grid-column: 1;
-ms-grid-row: 1;
grid-row: 1;
width: 100% !important; }

.wp-block-media-text.is-image-fill .editor-media-container__resizer {
height: 100% !important; }

.wp-block-media-text .block-editor-inner-blocks {
.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer {
-ms-grid-column: 2;
grid-column: 2;
-ms-grid-row: 1;
grid-row: 1; }

.wp-block-media-text .editor-inner-blocks {
word-break: break-word;
grid-area: media-text-content;
-ms-grid-column: 2;
grid-column: 2;
-ms-grid-row: 1;
grid-row: 1;
text-align: initial;
padding: 0 8% 0 8%; }

.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks {
-ms-grid-column: 1;
grid-column: 1;
-ms-grid-row: 1;
grid-row: 1; }

.wp-block-media-text > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block {
max-width: unset; }

Expand All @@ -1024,6 +1062,28 @@ figure.block-library-media-text__media-container {
.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle {
display: block; } }

@media (max-width: 600px) {
.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks {
-ms-grid-column: 1;
grid-column: 1;
-ms-grid-row: 2;
grid-row: 2; }
.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer {
-ms-grid-column: 1;
grid-column: 1;
-ms-grid-row: 1;
grid-row: 1; }
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks {
-ms-grid-column: 1;
grid-column: 1;
-ms-grid-row: 1;
grid-row: 1; }
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer {
-ms-grid-column: 1;
grid-column: 1;
-ms-grid-row: 2;
grid-row: 2; } }

.editor-styles-wrapper .block-library-list ul,
.editor-styles-wrapper .block-library-list ol {
padding-right: 1.3em;
Expand Down Expand Up @@ -1067,6 +1127,7 @@ figure.block-library-media-text__media-container {

.wp-block-navigation-menu .block-editor-block-list__layout,
.wp-block-navigation-menu {
display: -ms-grid;
display: grid;
grid-auto-columns: -webkit-min-content;
grid-auto-columns: min-content;
Expand All @@ -1079,6 +1140,7 @@ figure.block-library-media-text__media-container {
padding: 16px; }

.wp-block-navigation-menu-item__edit-container {
display: -ms-grid;
display: grid;
grid-auto-columns: -webkit-min-content;
grid-auto-columns: min-content;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-library/editor-rtl.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 16571b1

Please sign in to comment.