Update dependency @wordpress/eslint-plugin to v12.1.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@wordpress/eslint-plugin | devDependencies | minor | 12.0.0 -> 12.1.0 |
Release Notes
WordPress/gutenberg
v12.1.0
Enhancements
Site Editor
- Add Template List View. (36379)
- Make Reusable blocks available in the Site Editor. (36511)
- Remove the Styles link in Site Editor. (36637)
- Update and align template descriptions. (36000)
- Add icons to navigation sidebar items. (36893)
- Allow editing custom template title. (36933)
- Only render the site editor canvas when the global styles are loaded. (36643)
- Remove extra border radius from the canvas. (37022)
- Update navigation sidebar responsiveness. (36638)
- Update resize handle styling in template part focus mode. (36410)
Global Styles
- Add elements support to the typography panel. (36718)
- Add the gradient palette editor. (36820)
- Add transparency support to the colors panel. (36840)
- Add read-only duotone palette. (36920)
- Do not show default palette if theme opts-out. (36639)
- Make user able to change all color palette origins. (36674) (36747) (36817)
- Rename
core
origin key todefault
for presets. (36645) - Count all color palette origins on the palette counter. (36922)
- Add
appearanceTools
flag in theme.json to opt-in into appearance UI controls. (36646) - Switch the borders panel to ToolsPanel for displaying UI. (33743)
- Improve the design and copy of the color panels. (36959) (36994) (37015) (37016) (36921) (36963) (36622) (36965) (36819) (36748) (36940) (36684)
- Schemas: Allow custom blocks in theme.json styles. (36411)
Block Editor
- Improve the position of the block appenders and behavior. (36656) (36605)
- Keyboard shortcuts: Double escape unselects all blocks. (36945)
- Adjust order of theme blocks and reorder inserter items. (36719)
- Block Editor List View: Use anchor elements instead of buttons. (35655)
Block Library
- Block Library: Add the Comments Pagination block. (36872)
- Comment Author Avatar block: Add spacing support. (36322)
- Navigation block: Only show submenu options and Show arrow button when relevant. (36826)
- Navigation block: Implement suitable fallback for Nav block on front end of site when no menu selected. (36849) (36724) (36850) (36854) (36740)
- Navigation block: Rename navigationMenuId to ref. (36739)
- Navigation block: Automatically generate navigation post title. (36760)
- Template Part block: Remove color, spacing, layout options and reusable block conversion. (36571) (36918)
- Gallery block: Turn on auto-migration of v1 Gallery blocks to v2 format when edited. (36191)
- Update featured image placeholder graphic. (36712)
- Post Featured Image: Move width and height controls into the Dimensions panel via SlotFill. (36540)
Components
- Font Size Picker: Allow non-integers as simple CSS values and in hints. (36636)
- Divider: Improve
vertical
and RTL support. (36579) - ItemGroup: Experimenting with chevron icon. (36654)
- Toggle Group Control: Add tooltip. (36726)
- Modal: Support ref forwarding. (36831)
- ZStack: Support RTL layouts when applying
offset
. (36769)
Themes
- Move the theme editor under tools for FSE themes. (36723)
- Update the block theme folders to templates and parts. (36647)
Bug Fixes
Global Styles
- Make the core color palette opt-in for themes with not
theme.json
. (36496) - Fix: Apply by slug on all origins. (36841)
- Fix: Theme colors cannot override defaults. (36811)
Block Library
- Cover block: Fix undo trap. (36807)
- Navigation block: Add page list to navigation direct insert conditions. (36591)
- Navigation block: Fix Nav block editing wrong entity on creation of new Menu. (36880)
- Navigation block: Scale submenu icon. (36714) (36948)
- Navigation block: Fix non existent menu handling. (36507)
- Navigation block: Fix page list missing button styles when set to open on click. (36601)
- Navigation block: Include cascading properties in deprecation. (36432)
- Navigation block: Remove absorb toolbar prop. (36990)
- Navigation block: Add accessible labelling to submenu buttons. (36631)
- Navigation block: Fix space-between. (36441)
- Template Part block: Fix slug generation when creating through the block placeholder. (36764)
- Gallery block: Allow clicks within replace media placeholder state. (36804)
- Gallery block: Fix stuck image size options loader. (36806)
- Post Featured Image: Add a "Reset" button. (36572)
- Post Title block: Fix render error when setting Page to homepage. (36786)
- Query Pagination Next/Previous blocks: Remove text and link color support. (36954)
Site Editor
- Stabilize theme export Rest API endpoint. (36559) (36908)
- Template list view fixes. (36947) (36822) (36705)
- Templates Rest API endpoint: Add missing 'is_custom' prop. (36911)
- Templates Rest API endpoint: Add origin and author. (36896)
- Validate the postType query argument. (36706)
- Fix site editor region navigation. (36709)
- Navigation Sidebar: Add aria-current="page" to active navigation item. (36946)
- Navigation Sidebar: Highlight "Site" in the navigation panel. (36762)
- Navigation Sidebar: Show all templates and template parts on the site editor list screens. (36761)
Components
- Color Picker: Re-instate debounce and controlled value to fix issue with gradient picker. (36941)
- ColorPicker: Replace hardcoded "blue" with theme color. (36153)
- Tools Panel: Fix race conditions caused by conditionally displayed ToolsPanelItems. (36588)
- DateTimePicker: Set PM hours correctly. (36878)
- LinkControl: Fix wordbreak for URLs. (36993)
- Offset the parent iframe when computing Popover position. (36876)
- ToolsPanel: Prevent tools panel menu increasing empty panel height. (36895)
- Update destructive tertiary button styles, and template list. (36915)
Themes
- Block Templates: Fix PHP notices on WP 5.8. (36964)
- Don't try and render unstable location if Nav block has ID. (36863)
Design Tools
- Border panel: Update to display multiple palette origins. (36753)
- Cover: Move BoxControlVisualizer in the markup to make it visible. (36635)
- Fix duotone first render in Safari. (36754)
Icons
- [Icons]: Fix Comment Author Name icon. (36738)
- [Icons]: Fix property names for Comment Author Avatar icon. (36737)
Milaceanous
- Block Styles: Add a separating margin to the default picker. (36976)
- Block Styles: Check for existence of scroll container. (37010)
- Data package: Update types and fix type error. (36190)
- Writing Flow Multi-select: Ensure post title content editable after multi-select. (36843)
- Insertion point bar: Hide onBlur and onMouseLeave. (36798)
- Dependency Extraction Webpack Plugin: Make the plugin work when using
optimizations.runtimeChunk = 'single'
. (26214) - Fix document typo. (36776)
- Prevent CleanWebpackPlugin webpack plugin from deleting webpack assets. (35986)
- Hide the columns inserter in pattern previews. (36626)
- Update theme.json version. (36917)
- Multi-entity save: Only set site entity to pending if really saving. (36573)
- Widgets Editor: Add CSS fix for wp_footer called multiple times. (36759)
- Fix the templates REST API endpoint for the almost pretty permalink config. (36881)
Performance
- Improve performance of wp_navigation lookup. (36891)
Experiments
- Add
__unstable-large
size variant onInputControl
SelectControl
UnitControl
. (35646) - Add experimental
ConfirmDialog
. (34153)
Documentation
- Add brief information about blockGap to the theme.json how-to guide. (36558)
- Add placeholder in URLInput documentation. (36799)
- Block Supports: Update block supports documentation after typography reshaping. (36894)
- Alphabetize the How to Guides section. (35904)
- Fix broken link to @wordpress/stylelint-config. (36936)
- Improvements on
Create a Block Tutorial
fromBlock Editor handbook
. (36553) - Update history.md with description of the page. (36888)
- Update Getting Started with info to stay informed. (36498)
- Update Pattern block category and add documentation. (36144)
- Various inline docblock corrections. (36793)
- ToolsPanel: Update panel readme and stories. (36557)
- Change .nvmrc and documentation for Node.js version (LTS to 14.18.1). (36744)
Code Quality
- Blocks: Refactor generator-based actions to thunks. (36468)
- Remove useless bubblesVirtually prop from BlockInspector. (37024)
- Remove EditPostSettings context provider. (36949)
- Report dependencies externalized with Dependency Extraction Plugin. (35106)
- Comment Author Avatar block: Escape styles attribute. (36988)
- Clarify i18n context for PostTemplateActions's "New" label. (36679)
- Data: Remove usage of deprecated register methods. (36344)
Global Styles
- Move Global Styles code to
lib/compat/wordpress-5.9
folder. (36978) - Rename
gutenberg_
towp_
for some functions that land in WordPress 5.9. (36913) - Update global styles public API. (36610)
- Update the
WP_Theme_JSON_Gutenberg
class to be like the core one. (36973) - Update the
WP_Theme_JSON_Resolver_Gutenberg
class to be like the core one. (36974) -
theme.json
: Sort keys alphabetically. (36968) - Update function names for the public global styles API functions. (36907)
Block Library
- Navigation: Remove outdated separate "Home" link styles. (36608)
- Post Featured Image: Remove withNotices HOC. (36596)
- [Comment Author Avatar]: Remove extraneous color link support flag. (36956)
- Deprecate navigation areas. (36981) (36727)
- Remove unstable max pages attribute from Nav block. (36877)
- Remove reference to gutenberg_, swap with wp_. (36652)
- Add plugin meta data to Nav Area block deprecation notice. (36777)
Testing
- Reorganize end-to-end tests folders and files. (36734)
- Scripts: Upgrade Puppeteer to v11. (36040)
- Update template controller unit test now that author support is in WP core. (36987)
- end-to-end Tests: Fix failing image end-to-end test by waiting for required element. (36982)
- Remove block template resolution unit tests. (36855)
v12.0.1
Performance
Global Styles
- Add caching to
WP_Theme_JSON_Resolver_Gutenberg::get_user_data_from_custom_post_type()
. (36584)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.