youknowriad
a41c798835
Block Editor: Updated the WordPress packages to include Gutenberg 15.1.0 changes.
...
In addition to all the packages being updated to the latest versions,
this commit also includes some mandatory changes to avoid editor breakage:
- Update React to to 18.2.0.
- Add the right stylesheets to support iframed block editors.
Props ntsekouras, mamaduka, flixos90, desrosj, peterwilsoncc.
See #57471 .
Built from https://develop.svn.wordpress.org/trunk@55246
git-svn-id: http://core.svn.wordpress.org/trunk@54779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-07 07:04:52 +00:00
Felix Arntz
043e2016a3
Editor: Remove unnecessary CSS comments from compiled styles.
...
Props aristath, adamsilverstein, SergeyBiryukov, gziolo.
Fixes #56388 .
Built from https://develop.svn.wordpress.org/trunk@55193
git-svn-id: http://core.svn.wordpress.org/trunk@54726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-02 18:59:20 +00:00
desrosj
d4085bc90d
Build/Test Tools: Update PostCSS to version 8.
...
This updates PostCSS related dependencies for the main Core build process to versions that use the latest major version of PostCSS, 8.x.
There were no changes to any versioned CSS files as a result of this update directly. However, two occurrences of `-o-tab-size` have been removed due to the version of `caniuse-lite` used being updated in the process.
See #57554 , #57555 .
Built from https://develop.svn.wordpress.org/trunk@55150
git-svn-id: http://core.svn.wordpress.org/trunk@54683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-01-27 15:56:28 +00:00
hellofromTonya
cce69f5098
Editor: Update packages for 6.1 Beta 2.
...
Package updates for bug and regression fixes:
* @wordpress/block-directory: 3.15.3
* @wordpress/block-editor: 10.0.3
* @wordpress/block-library: 7.14.3
* @wordpress/block-serialization-default-parser: 4.17.1
* @wordpress/blocks: 11.16.3
* @wordpress/components: 21.0.3
* @wordpress/compose: 5.15.2
* @wordpress/core-data: 5.0.3
* @wordpress/customize-widgets: 3.14.3
* @wordpress/edit-post: 6.14.3
* @wordpress/edit-site: 4.14.4
* @wordpress/edit-widgets: 4.14.3
* @wordpress/editor: 12.16.3
* @wordpress/format-library: 3.15.3
* @wordpress/interface: 4.16.3
* @wordpress/list-reusable-blocks: 3.15.3
* @wordpress/nux: 5.15.3
* @wordpress/preferences: 2.9.3
* @wordpress/reusable-blocks: 3.15.3
* @wordpress/server-side-render: 3.15.3
* @wordpress/style-engine: 1.0.2
* @wordpress/widgets: 2.15.3
References:
* [https://github.com/WordPress/gutenberg/pull/44233 Gutenberg PR 44233] – Blocks: Fix searching of blocks when description is non-string
* [https://github.com/WordPress/gutenberg/pull/44301 Gutenberg PR 44301] – Block Toolbar: update position when moving blocks
* [https://github.com/WordPress/gutenberg/pull/44334 Gutenberg PR 44334] – Global Styles: Re-add styles that were removed, for classic themes
* [https://github.com/WordPress/gutenberg/pull/44351 Gutenberg PR 44351] – Comments block: Support nested comments settings in the comments blocks
* [https://github.com/WordPress/gutenberg/pull/44448 Gutenberg PR 44448] – Add a correct TS signature for useEntityRecords
* [https://github.com/WordPress/gutenberg/pull/44315 Gutenberg PR 44315] – Pullquote: fix transform to quote crash
* [https://github.com/WordPress/gutenberg/pull/44446 Gutenberg PR 44446] – Fix spacing property generation in flow layout type.
* [https://github.com/WordPress/gutenberg/pull/44408 Gutenberg PR 44408] – Upgrade react-easy-crop to bring in fix for site editor iframe
* [https://github.com/WordPress/gutenberg/pull/44406 Gutenberg PR 44406] – Style engine: kebab case preset slugs in the editor
* [https://github.com/WordPress/gutenberg/pull/44209 Gutenberg PR 44209] – Fixing padding on the post editor when RootPaddingAwareAlignments setting is enabled
* [https://github.com/WordPress/gutenberg/pull/42950 Gutenberg PR 42950] – Popover: fix limitShift logic by adding iframe offset correctly (and a custom shift limiter)
* [https://github.com/WordPress/gutenberg/pull/44337 Gutenberg PR 44337] – Submenu block href only if url is not empty
* [https://github.com/WordPress/gutenberg/pull/44291 Gutenberg PR 44291] – Add role=application to list view to prevent browse mode triggering in NVDA
* [https://github.com/WordPress/gutenberg/pull/44283 Gutenberg PR 44283] – Navigation block: Fix submenu colors for imported classic menus
* [https://github.com/WordPress/gutenberg/pull/44282 Gutenberg PR 44282] – Fix popover stacking in the customize widgets editor
* [https://github.com/WordPress/gutenberg/pull/44247 Gutenberg PR 44247] – Spacing presets: switch to using numbers instead of t-shirt sizes for labels
* [https://github.com/WordPress/gutenberg/pull/44299 Gutenberg PR 44299] – Backport template creation changes from core
* [https://github.com/WordPress/gutenberg/pull/44294 Gutenberg PR 44294] – [Block Library - Query Loop]: Fix broken preview in specific category template
* [https://github.com/WordPress/gutenberg/pull/44287 Gutenberg PR 44287] – [Block Library]: Rename Comments pagination inner blocks
* [https://github.com/WordPress/gutenberg/pull/44256 Gutenberg PR 44256] – Avoid showing the recursion warning in previews when replacing template parts
* [https://github.com/WordPress/gutenberg/pull/44265 Gutenberg PR 44265] – Blocks: officially deprecated the children and node matchers
* [https://github.com/WordPress/gutenberg/pull/44251 Gutenberg PR 44251] – Global styles: Remove the beta label from global styles header
Props bernhard-reiter, cbravobernal.
See #56467 .
Built from https://develop.svn.wordpress.org/trunk@54335
git-svn-id: http://core.svn.wordpress.org/trunk@53894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-09-27 17:32:52 +00:00
gziolo
1044eb572a
Editor: Sync changes from the Gutenberg plugin 14.1 release
...
Updated WordPress packages necessary for releasing WordPress 6.1 Beta 1:
- @wordpress/a11y@3.17.1
- @wordpress/annotations@2.17.2
- @wordpress/api-fetch@6.14.1
- @wordpress/autop@3.17.1
- @wordpress/babel-plugin-import-jsx-pragma@4.0.1
- @wordpress/babel-plugin-makepot@5.1.1
- @wordpress/babel-preset-default@7.1.1
- @wordpress/base-styles@4.8.1
- @wordpress/blob@3.17.1
- @wordpress/block-directory@3.15.2
- @wordpress/block-editor@10.0.2
- @wordpress/block-library@7.14.2
- @wordpress/block-serialization-default-parser@4.17.1
- @wordpress/block-serialization-spec-parser@4.17.1
- @wordpress/blocks@11.16.2
- @wordpress/browserslist-config@5.0.1
- @wordpress/components@21.0.2
- @wordpress/compose@5.15.2
- @wordpress/core-data@5.0.2
- @wordpress/create-block-tutorial-template@2.5.1
- @wordpress/create-block@4.1.1
- @wordpress/custom-templated-path-webpack-plugin@2.1.3
- @wordpress/customize-widgets@3.14.2
- @wordpress/data-controls@2.17.2
- @wordpress/data@7.1.2
- @wordpress/date@4.17.1
- @wordpress/dependency-extraction-webpack-plugin@4.0.2
- @wordpress/deprecated@3.17.1
- @wordpress/docgen@1.26.1
- @wordpress/dom-ready@3.17.1
- @wordpress/dom@3.17.2
- @wordpress/e2e-test-utils@8.1.1
- @wordpress/e2e-tests@5.1.2
- @wordpress/edit-post@6.14.2
- @wordpress/edit-site@4.14.2
- @wordpress/edit-widgets@4.14.2
- @wordpress/editor@12.16.2
- @wordpress/element@4.15.1
- @wordpress/env@5.2.1
- @wordpress/escape-html@2.17.1
- @wordpress/eslint-plugin@13.1.1
- @wordpress/format-library@3.15.2
- @wordpress/hooks@3.17.1
- @wordpress/html-entities@3.17.1
- @wordpress/i18n@4.17.1
- @wordpress/icons@9.8.1
- @wordpress/interface@4.16.2
- @wordpress/is-shallow-equal@4.17.1
- @wordpress/jest-console@6.0.1
- @wordpress/jest-preset-default@9.0.1
- @wordpress/jest-puppeteer-axe@5.0.1
- @wordpress/keyboard-shortcuts@3.15.2
- @wordpress/keycodes@3.17.1
- @wordpress/lazy-import@1.4.3
- @wordpress/library-export-default-webpack-plugin@2.3.3
- @wordpress/list-reusable-blocks@3.15.2
- @wordpress/media-utils@4.8.1
- @wordpress/notices@3.17.2
- @wordpress/npm-package-json-lint-config@4.2.1
- @wordpress/nux@5.15.2
- @wordpress/plugins@4.15.2
- @wordpress/postcss-plugins-preset@4.1.1
- @wordpress/postcss-themes@5.0.1
- @wordpress/preferences-persistence@1.9.1
- @wordpress/preferences@2.9.2
- @wordpress/prettier-config@2.0.1
- @wordpress/primitives@3.15.1
- @wordpress/priority-queue@2.17.2
- @wordpress/project-management-automation@1.16.1
- @wordpress/react-i18n@3.15.1
- @wordpress/readable-js-assets-webpack-plugin@2.0.1
- @wordpress/redux-routine@4.17.1
- @wordpress/reusable-blocks@3.15.2
- @wordpress/rich-text@5.15.2
- @wordpress/scripts@24.1.2
- @wordpress/server-side-render@3.15.2
- @wordpress/shortcode@3.17.1
- @wordpress/style-engine@1.0.1
- @wordpress/stylelint-config@21.0.1
- @wordpress/token-list@2.17.1
- @wordpress/url@3.18.1
- @wordpress/viewport@4.15.2
- @wordpress/warning@2.17.1
- @wordpress/widgets@2.15.2
- @wordpress/wordcount@3.17.1
Props bernhard-reiter, cbravobernal, czapla, oandregal, isabel_brison, andrewserong, mciampini.
See #56467 .
Built from https://develop.svn.wordpress.org/trunk@54257
git-svn-id: http://core.svn.wordpress.org/trunk@53816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-09-20 15:43:29 +00:00
gziolo
ab8a964858
Editor: Update WordPress packages based based on Gutenberg v13.0 RC3
...
This is the last step of backports from the Gutenberg plugin for WordPress 6.0 Beta 1 release. It includes all updates WordPress packages published to npm based on the Gutenberg plugin v13.0 RC3 release. This patch also includes all the necessary changes applied to core blocks. New blocks included:
- Avatar
- Comment Author Name
- Comment Content
- Comment Date
- Comment Edit Link
- Comment Rely Link
- Comment Template
- Comments Pagination
- Comments Pagination Next
- Comments Pagination Previous
- Comments Query Loop
- Home Link
- Post Author Biography
- Query No Results
- Read More
See more details in https://github.com/WordPress/wordpress-develop/pull/2564 .
Props zieladam, ramonopoly, ocean90.
Fixes #55505 .
Built from https://develop.svn.wordpress.org/trunk@53157
git-svn-id: http://core.svn.wordpress.org/trunk@52746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-12 15:12:47 +00:00
youknowriad
ebca9841e8
Block Editor: Update the WordPress Packages based on Gutenberg 11.9 RC1.
...
This brings the JS packages up to date and is the first step that will allow us
to include the other block editor updates for WordPress 5.9:
FSE infrastrucutre, site editor and global styles.
Props noisysocks.
See #54337 .
Built from https://develop.svn.wordpress.org/trunk@52042
git-svn-id: http://core.svn.wordpress.org/trunk@51634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-08 14:29:21 +00:00
Peter Wilson
33f4f396ef
Build: Clean css/dist
as part of the webpack build step.
...
Move the cleaning of the `wp-includes/css/dist` folder from `clean:css` to `clean:webpack-assets` to avoid an order of operations issue in which the files were built shortly before been deleted later in the build process.
Follow up to [51689].
Props netweb, ramonopoly, peterwilsoncc.
Fixes #53719 .
Built from https://develop.svn.wordpress.org/trunk@51713
git-svn-id: http://core.svn.wordpress.org/trunk@51319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-01 04:00:59 +00:00
Peter Wilson
1ac69fa78e
Build: Remove css/dist
in grunt clean
command.
...
Modify the `grunt clean:css` command to include the folder `wp-includes/css/dist` to ensure legacy files do not remain if the built files are removed/relocated.
Props desrosj, netweb.
Fixes #53719 .
Built from https://develop.svn.wordpress.org/trunk@51689
git-svn-id: http://core.svn.wordpress.org/trunk@51295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-30 04:35:57 +00:00
youknowriad
be0d5b2534
Block Editor: Update the packages with a number of fixes targeted for Beta 4.
...
It includes fixes from these two backport PRs:
- https://github.com/WordPress/gutenberg/pull/32992
- https://github.com/WordPress/gutenberg/pull/32956
Props gziolo, ryelle, ntsekouras, desrosj, jorgefilipecosta.
See #53397
Built from https://develop.svn.wordpress.org/trunk@51241
git-svn-id: http://core.svn.wordpress.org/trunk@50850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-25 15:52:22 +00:00
jorgefilipecosta
ab25191895
Block Editor: Package updates for Beta 3.
...
The commit updates the WordPress packages for beta 3.
Props nosolosw, noisysocks, youknowriad.
See #53397 .
Built from https://develop.svn.wordpress.org/trunk@51199
git-svn-id: http://core.svn.wordpress.org/trunk@50808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-22 10:00:50 +00:00
youknowriad
e335b68afc
Block Editor: Update packages and backport the latest Gutenberg fixes.
...
This includes the following fixes:
- Generate babel polyfill dynamically https://github.com/WordPress/gutenberg/pull/31279
- Improve the List View component https://github.com/WordPress/gutenberg/pull/31290 https://github.com/WordPress/gutenberg/pull/32063
- Template mode:
- Fix embed dimensions https://github.com/WordPress/gutenberg/pull/32057
- Update the welcome guide https://github.com/WordPress/gutenberg/pull/32055 https://github.com/WordPress/gutenberg/pull/32026
- Don’t display the notice at the same time as the welcome guide https://github.com/WordPress/gutenberg/pull/32076
- Remove MetaBoxes https://github.com/WordPress/gutenberg/pull/32315
- Update the title area https://github.com/WordPress/gutenberg/pull/32037
- Widgets Screen:
- Fix unsaved changes https://github.com/WordPress/gutenberg/pull/31757
- Fix toolbar alignment https://github.com/WordPress/gutenberg/pull/31991
- Fix block toolbar position after scroll https://github.com/WordPress/gutenberg/pull/32212
- Fix the visible widget area header https://github.com/WordPress/gutenberg/pull/32262
- Fix legacy widgets preview https://github.com/WordPress/gutenberg/pull/32260
-
- Block Widgets in the customizer:
- Fix customizer title overlapping block toolbar https://github.com/WordPress/gutenberg/pull/32140
- Fix styling issues https://github.com/WordPress/gutenberg/pull/32072
- Fix escape key events https://github.com/WordPress/gutenberg/pull/32175
- Add preferences menu group label https://github.com/WordPress/gutenberg/pull/32259
- Fix creating and replacing legacy widgets https://github.com/WordPress/gutenberg/pull/32005
- Fix the welcome guide’s image https://github.com/WordPress/gutenberg/pull/32264 https://github.com/WordPress/gutenberg/pull/32302
- Fix Cover to Image transform duotone error https://github.com/WordPress/gutenberg/pull/32006
- Remove filter_var usage from blocks https://github.com/WordPress/gutenberg/pull/32046
- Fix image width for aligned Post Featured Image block https://github.com/WordPress/gutenberg/pull/32070
- Prevent excessive Image block re-rendering https://github.com/WordPress/gutenberg/pull/32102
- Remove gutenberg domain from core blocks https://github.com/WordPress/gutenberg/pull/32152
- Use the block editor context class for the the different settings filters https://github.com/WordPress/gutenberg/pull/32159
- Fix Latest Posts block grid view https://github.com/WordPress/gutenberg/pull/32160
- Fix preset classes generation per block https://github.com/WordPress/gutenberg/pull/32190
- Fix logic to enable custom colors and gradients https://github.com/WordPress/gutenberg/pull/32200
- Update the Site Logo logic to use a dedicated site option https://github.com/WordPress/gutenberg/pull/32229
- Limit the Latest Posts block’s featured image width https://github.com/WordPress/gutenberg/pull/32245
- Remove opacity animation in the canvas. https://github.com/WordPress/gutenberg/pull/32266
- Make the focus style valid CSS https://github.com/WordPress/gutenberg/pull/32305
- Fix theme.json styles for the core/list block https://github.com/WordPress/gutenberg/pull/32343
- Fix PHP notice when calling render_block https://github.com/WordPress/gutenberg/pull/32135
Props nosolosw, noisysocks.
See #52991 .
Built from https://develop.svn.wordpress.org/trunk@51051
git-svn-id: http://core.svn.wordpress.org/trunk@50660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-01 08:10:04 +00:00
noisysocks
81f62198c3
Adds the widgets block editor to widgets.php and customize.php
...
Moves the widgets block editor from Gutenberg into WordPress Core.
- Adds @wordpress/edit-widgets, @wordpress/customize-widgets and
@wordpress/widgets.
- Modifies wp-admin/widgets.php to branch between the old editor and new editor
depending on wp_use_widgets_block_editor().
- Modifies WP_Customize_Widgets to branch between the old editor control and new
editor control depending on wp_use_widgets_block_editor().
Fixes #51506 .
Props isabel_brison, TimothyBlynJacobs, andraganescu, kevin940726, talldanwp.
Built from https://develop.svn.wordpress.org/trunk@50996
git-svn-id: http://core.svn.wordpress.org/trunk@50605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-25 08:40:25 +00:00