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

Update @wordpress packages #1979

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
190 changes: 95 additions & 95 deletions package-lock.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions package.json
Expand Up @@ -82,53 +82,53 @@
"@wordpress/api-fetch": "5.2.6",
"@wordpress/autop": "3.2.3",
"@wordpress/blob": "3.2.2",
"@wordpress/block-directory": "3.0.12",
"@wordpress/block-editor": "8.0.6",
"@wordpress/block-library": "6.0.10",
"@wordpress/block-directory": "3.0.13",
"@wordpress/block-editor": "8.0.7",
"@wordpress/block-library": "6.0.11",
"@wordpress/block-serialization-default-parser": "4.2.3",
"@wordpress/blocks": "11.1.4",
"@wordpress/components": "19.1.0",
"@wordpress/components": "19.1.1",
"@wordpress/compose": "5.0.6",
"@wordpress/core-data": "4.0.8",
"@wordpress/customize-widgets": "2.0.12",
"@wordpress/customize-widgets": "2.0.13",
"@wordpress/data": "6.1.4",
"@wordpress/data-controls": "2.2.7",
"@wordpress/date": "4.2.3",
"@wordpress/deprecated": "3.2.3",
"@wordpress/dom": "3.2.7",
"@wordpress/dom-ready": "3.2.3",
"@wordpress/edit-post": "5.0.12",
"@wordpress/edit-site": "3.0.12",
"@wordpress/edit-widgets": "3.1.7",
"@wordpress/editor": "12.0.9",
"@wordpress/edit-post": "5.0.13",
"@wordpress/edit-site": "3.0.13",
"@wordpress/edit-widgets": "3.1.8",
"@wordpress/editor": "12.0.10",
"@wordpress/element": "4.0.4",
"@wordpress/escape-html": "2.2.3",
"@wordpress/format-library": "3.0.12",
"@wordpress/format-library": "3.0.13",
"@wordpress/hooks": "3.2.2",
"@wordpress/html-entities": "3.2.3",
"@wordpress/i18n": "4.2.4",
"@wordpress/icons": "6.1.1",
"@wordpress/interface": "4.1.8",
"@wordpress/interface": "4.1.9",
"@wordpress/is-shallow-equal": "4.2.1",
"@wordpress/keyboard-shortcuts": "3.0.6",
"@wordpress/keycodes": "3.2.4",
"@wordpress/list-reusable-blocks": "3.0.10",
"@wordpress/list-reusable-blocks": "3.0.11",
"@wordpress/media-utils": "3.0.5",
"@wordpress/notices": "3.2.7",
"@wordpress/nux": "5.0.10",
"@wordpress/nux": "5.0.11",
"@wordpress/plugins": "4.0.6",
"@wordpress/primitives": "3.0.4",
"@wordpress/priority-queue": "2.2.3",
"@wordpress/redux-routine": "4.2.2",
"@wordpress/reusable-blocks": "3.0.12",
"@wordpress/reusable-blocks": "3.0.13",
"@wordpress/rich-text": "5.0.6",
"@wordpress/server-side-render": "3.0.10",
"@wordpress/server-side-render": "3.0.11",
"@wordpress/shortcode": "3.2.3",
"@wordpress/token-list": "2.2.2",
"@wordpress/url": "3.3.1",
"@wordpress/viewport": "4.0.6",
"@wordpress/warning": "2.2.2",
"@wordpress/widgets": "2.0.12",
"@wordpress/widgets": "2.0.13",
"@wordpress/wordcount": "3.2.3",
"backbone": "1.4.0",
"clipboard": "2.0.8",
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/assets/script-loader-packages.php

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions src/wp-includes/blocks/legacy-widget.php
Expand Up @@ -108,6 +108,33 @@ function handle_legacy_widget_preview_iframe() {
padding: 0 !important;
margin: 0 !important;
}

/* Hide root level text nodes */
body {
font-size: 0 !important;
}

/* Hide non-widget elements */
body *:not(#page):not(#content):not(.widget):not(.widget *) {
display: none !important;
font-size: 0 !important;
height: 0 !important;
left: -9999px !important;
max-height: 0 !important;
max-width: 0 !important;
opacity: 0 !important;
pointer-events: none !important;
position: absolute !important;
top: -9999px !important;
transform: translate(-9999px, -9999px) !important;
visibility: hidden !important;
z-index: -999 !important;
}

/* Restore widget font-size */
.widget {
font-size: var(--global--font-size-base);
}
</style>
</head>
<body <?php body_class(); ?>>
Expand Down
8 changes: 0 additions & 8 deletions src/wp-includes/blocks/navigation.php
Expand Up @@ -284,14 +284,6 @@ function render_block_core_navigation( $attributes, $content, $block ) {
$inner_blocks = new WP_Block_List( $parsed_blocks, $attributes );
}

if ( ! empty( $block->context['navigationArea'] ) ) {
$area = $block->context['navigationArea'];
$mapping = get_option( 'wp_navigation_areas', array() );
if ( ! empty( $mapping[ $area ] ) ) {
$attributes['ref'] = $mapping[ $area ];
}
}

// Ensure that blocks saved with the legacy ref attribute name (navigationMenuId) continue to render.
if ( array_key_exists( 'navigationMenuId', $attributes ) ) {
$attributes['ref'] = $attributes['navigationMenuId'];
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/blocks/query-pagination-next/block.json
Expand Up @@ -17,7 +17,7 @@
"html": false,
"color": {
"gradients": true,
"link": true
"text": false
},
"typography": {
"fontSize": true,
Expand Down
Expand Up @@ -17,7 +17,7 @@
"html": false,
"color": {
"gradients": true,
"link": true
"text": false
},
"typography": {
"fontSize": true,
Expand Down