Repository navigation
InputControl: ignore the drag gesture on touch devices - #81519
Conversation
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
1 similar comment
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
|
@aduth Sure — I went and read both, plus the use-gesture internals, so here's where I landed. Short version: I don't think any of the three is obviously "the" answer, but they fail in different ways. First a fact that matters for all three. Our #68529 ( Separately: the rule lands on the I could be wrong — the screencast there does look like it stops the drag. But mirka's issue explicitly notes DevTools mobile emulation behaves differently from a real iPhone, so I'd want a real-device re-check before that one is judged either way. #68514 ( Mine does the check per gesture rather than per device ( Being fair, mine isn't free of problems either. use-gesture still runs the whole gesture pipeline on touch and I throw the result away, which #68514 avoids. And my test is weaker than it looks: jsdom has no One thing none of us handled: pen. The use-gesture So: I'd argue against #68529 as it stands, and I think #68514 needs the detection moved off a global capability sniff — at which point it converges on what I've got. But I don't have a strong claim on this being my patch. #68529 was first and Infinite-Null had the right instinct about what to disable. Happy to fold the useful bits into whichever one a maintainer wants to carry forward, or to close mine if you'd rather one of the originals land with the per-pointer-type check applied. |
ciampo
left a comment
There was a problem hiding this comment.
Some thoughts:
- #81519 (this PR) has the correct architecture. It checks the actual pointer event in the shared
InputField, so it ignores touch, while mouse dragging still works on touchscreen laptops. It also keeps directInputControl,NumberControl, andUnitControlbehavior aligned. - #68529 should not land.
touch-action: nonesuppresses native scrolling and zooming and can make touch dragging more reliable—the opposite of the goal. It also affects every InputControl. This follows the Pointer Events specification. - #68514 uses the wrong signal. Device detection disables mouse dragging whenever a device also supports touch. It also places the policy below the public
InputControl.isDragEnabledcontract.
These changes are also quite difficult to test systematically (at least in the current setup), so they should be ideally tested on a real touchscreen device (value stability, tapping/caret movement, sidebar scrolling, and pinch zoom).
Also, I would not add touch-action: pan-y only to silence the development warning. This PR intentionally does not support touch dragging, and pan-y can restrict native panning or zooming. dragDirection is not always vertical either. Keeping touch-action: auto is safer than changing browser behavior for an unsupported gesture.
Let's also rebase and solve conflicts.
| // The drag gesture is not offered on touch devices, where there is | ||
| // no cursor affordance for it, and where it's easy to accidentally | ||
| // change the value when only meaning to tap or move the caret. |
There was a problem hiding this comment.
Let's describe this as a touch input, rather than touch device
| // The drag gesture is not offered on touch devices, where there is | |
| // no cursor affordance for it, and where it's easy to accidentally | |
| // change the value when only meaning to tap or move the caret. | |
| // The drag gesture is not offered for touch input, where there is | |
| // no cursor affordance for it, and where it's easy to accidentally | |
| // change the value when only meaning to tap or move the caret. |
Let's make similar changes to CHANGELOG and test names
There was a problem hiding this comment.
Good point, taking the suggestion and mirroring the wording change across the CHANGELOG and test names too.
| it( 'should not change the value when dragging on a touch device', () => { | ||
| const onChange = jest.fn(); | ||
| render( <NumberControl value="5" onChange={ onChange } /> ); | ||
|
|
||
| const input = screen.getByRole( 'spinbutton' ); | ||
| fireTouchEvent( 'touchstart', input, 0 ); | ||
| fireTouchEvent( 'touchmove', input, -20 ); | ||
| fireTouchEvent( 'touchmove', input, -60 ); | ||
| fireTouchEvent( 'touchend', input, -60 ); | ||
|
|
||
| expect( onChange ).not.toHaveBeenCalled(); | ||
| expect( input ).toHaveValue( 5 ); | ||
| } ); | ||
| } ); |
There was a problem hiding this comment.
The onChange assertion already catches the regression. The value assertion may not: this is a controlled component with value="5", so React can restore the input to 5 even if the drag incorrectly called onChange.
Could we either remove the value assertion or render StatefulNumberControl so the displayed value changes when onChange fires?
There was a problem hiding this comment.
Right, the value assertion doesn't actually isolate anything here since it's a controlled component. I'll drop it and switch to StatefulNumberControl so the DOM value reflects a stray onChange.
5f26b28 to
dacf689
Compare
|
@ciampo applied the wording, and mirrored "touch input" in the CHANGELOG and test name. The test now renders a stateful NumberControl so a stray onChange would show up in the DOM value. Also rebased on trunk. |
mirka
left a comment
There was a problem hiding this comment.
Everything looks good, but we should try moving the drag tests to a browser mode test.
| describe( 'drag to change value', () => { | ||
| // jsdom implements neither `PointerEvent` nor `Touch`, so the drag | ||
| // gesture falls back to touch events that have to be built by hand. |
There was a problem hiding this comment.
Sounds like this would be better as a vitest browser mode test, since we have that infrastructure now.
…drag # Conflicts: # packages/components/CHANGELOG.md
🤖 PR meta 🤖🎉 PropsUnlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @capoomalek. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Updated as activity occurs, without notifying anyone named here. Add the |
This updates the pinned commit hash of the Gutenberg repository from 7b95ee96b54de2e35886971ccf7eb449c324c830 (version 24.2.0) to be6a50be6834e922b9db12c75c9a2cd817b2db59. The new hash is the tip of the wp/7.2 branch rather than a release tag. It covers the 24.3.0 RC1 release plus the changes cherry-picked to the branch after it was tagged: Gutenberg PRs 85155, 82730, 71634, and 81644. A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@7b95ee9...be6a50b - Icons: Experiment with proportional stroke scaling (WordPress/gutenberg#84081) - PaletteEdit: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84130) - Editor: Validate parent container when converting blocks to template parts (WordPress/gutenberg#84155) - Build: Keep absolute paths out of worker source maps (WordPress/gutenberg#84163) - Chore: Update simple-git to v4 (WordPress/gutenberg#84137) - SearchableChipSelect: Preserve selected chips on Escape (WordPress/gutenberg#84172) - Props Bot: Queue runs instead of cancelling superseded ones (WordPress/gutenberg#84176) - Custom HTML: Show a floating marker when the block renders nothing (WordPress/gutenberg#84150) - DateTimePicker: Migrate Emotion wrapper to SCSS Modules (WordPress/gutenberg#84129) - Bump simple-git and promptfoo in /test/ai-development (WordPress/gutenberg#84104) - Bump the github-actions group across 1 directory with 4 updates (WordPress/gutenberg#84121) - UI: Keep popups open for presses inside their iframes (WordPress/gutenberg#83870) - Tests: Fix HTML comparison tests (WordPress/gutenberg#84294) - Playlist: Add minimum width and height support (WordPress/gutenberg#83909) - Navigation Overlay Close: Add minimum width and height support (WordPress/gutenberg#83907) - Post Template: Add minimum width and height support (WordPress/gutenberg#83911) - Bump proxy-addr from 2.0.7 to 2.0.8 in /test/ai-development (WordPress/gutenberg#84092) - A11y: Move `prefersReducedMotion` into the block library's shared utils (WordPress/gutenberg#84297) - Bump moment from 2.29.4 to 2.31.0 (WordPress/gutenberg#83828) - Packages: Stop publishing tsconfig files, TypeScript build info and tests (WordPress/gutenberg#84164) - Tests: Fix list item unsafe markup test on older WordPress versions (WordPress/gutenberg#84302) - Bump joi from 18.2.5 to 18.2.9 (WordPress/gutenberg#84211) - Bump ip-address from 10.5.0 to 10.7.3 (WordPress/gutenberg#83734) - Bump proxy-addr from 2.0.7 to 2.0.8 (WordPress/gutenberg#84212) - Bump seroval from 1.5.4 to 1.6.8 (WordPress/gutenberg#84151) - Tab List: Add background image, size, and gradient support (WordPress/gutenberg#83953) - Pullquote: Add writing mode and text indent support (WordPress/gutenberg#83964) - CustomSelectControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84131) - ColorPicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84128) - Build: Guard SCRIPT_DEBUG with defined() in script and style registration (WordPress/gutenberg#83633) - Notes: Mark the text an unsent note is about with a draft marker (WordPress/gutenberg#84125) - Quote: Add writing mode support (WordPress/gutenberg#83965) - Tip: Migrate inserter usages to Notice and deprecate the component (WordPress/gutenberg#84197) - Query Loop: list taxonomy terms so they can be browsed, not recalled (WordPress/gutenberg#82583) - Primitives: Refactor to TypeScript (WordPress/gutenberg#84309) - Release Tooling: Publish wp/X.Y branches with their own npm config (WordPress/gutenberg#84160) - Packages: Stop publishing Markdown files other than README.md (WordPress/gutenberg#84307) - Raise the minimum required Node.js to 22 with CJS/ESM interop (WordPress/gutenberg#84313) - Automated Testing: Fix Storybook manifest errors and validate in CI (WordPress/gutenberg#84198) - Notes: Select the note under the caret (WordPress/gutenberg#84147) - Table: Add text align support (WordPress/gutenberg#83966) - Accordion Heading: Add background gradient support (WordPress/gutenberg#83938) - Style Book: Fix crash when the Heading block is unregistered (WordPress/gutenberg#84359) - Icon: Add shadow support (WordPress/gutenberg#83921) - Playlist: Add background image, size, and gradient support (WordPress/gutenberg#83928) - Cover: Add minimum width support (WordPress/gutenberg#83975) - UI: Consolidate shared iframe dismissal tests (WordPress/gutenberg#84296) - File: Add typography support (WordPress/gutenberg#83969) - List: Add minimum width and height support (WordPress/gutenberg#83915) - CI: Run the required trunk changes cron every 4 hours (WordPress/gutenberg#84301) - Workflow: Refactor to TypeScript (WordPress/gutenberg#84311) - Remove the lazy-import package (WordPress/gutenberg#84318) - Terms Query: Add padding, margin, and block gap support (WordPress/gutenberg#83959) - Notes: Read note markers from the rich-text record, not its HTML (WordPress/gutenberg#84310) - Paragraph: Add background image, size, and gradient support (WordPress/gutenberg#83934) - Paragraph: Add minimum width and height support (WordPress/gutenberg#83924) - Sorting: assume standard sort is stable, try out the new toSorted method (WordPress/gutenberg#52213) - DataForm: Center the text control's prefix and suffix (WordPress/gutenberg#84314) - Cover: Add link and button colour support (WordPress/gutenberg#83972) - Remove redundant checkJs: false from fully TypeScript packages (WordPress/gutenberg#84366) - Fields: Fix the page title row jumping on hover when a page type badge is shown (WordPress/gutenberg#84368) - Search: Add background gradient support (WordPress/gutenberg#83954) - UI: Hook AlertDialog into compat overlay slot (WordPress/gutenberg#83878) - ESLint: Align UI caution components with Storybook status (WordPress/gutenberg#84319) - Comments Pagination Next: Add border and padding support (WordPress/gutenberg#64310) - Comment Pagination Previous: Add Border and Padding Support (WordPress/gutenberg#64308) - Preferences Persistence: Refactor to TypeScript (WordPress/gutenberg#84312) - Rich Text: Refactor store and value creation to TypeScript (WordPress/gutenberg#84324) - NumberControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84330) - navigateRegions: Only outline focused Publish and Save regions (WordPress/gutenberg#84343) - Theme: Consolidate border mode overrides in the token resolver (WordPress/gutenberg#84108) - DOM: Refactor to TypeScript (WordPress/gutenberg#84317) - Fields: Lock the status and slug fields for users who can't publish (WordPress/gutenberg#84371) - Commands: Refactor to TypeScript (WordPress/gutenberg#84315) - Cache the theme.json data merged from all origins (WordPress/gutenberg#81979) - Workflow: Address follow-ups from the TypeScript refactor (WordPress/gutenberg#84361) - Fields API: Take over core's registry singleton like the icons API (WordPress/gutenberg#84168) - DOM: Fix getOffsetParent infinite loop on a non-element parent (WordPress/gutenberg#84374) - UI: Support button items in Breadcrumb (WordPress/gutenberg#84156) - TimePicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84331) - Bump actions/setup-node from 6.4.0 to 7.0.0 in /.github/workflows (WordPress/gutenberg#80965) - InputControl: ignore the drag gesture on touch devices (WordPress/gutenberg#81519) - Tabs: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84332) - UI: Add Avatar component (WordPress/gutenberg#84145) - SelectControl: Migrate smaller package consumers to @wordpress/ui (WordPress/gutenberg#84345) - Editor: Keep the block toolbar row on phones while no block is selected (WordPress/gutenberg#84461) - Tests: Use strict assertions for post time-to-read word counts (WordPress/gutenberg#84510) - Tests: Use strict assertions in image block tests (WordPress/gutenberg#84513) - Tests: Use a strict assertion in Heading block tests (WordPress/gutenberg#84514) - Tests: Use a strict assertion in Paragraph block tests (WordPress/gutenberg#84515) - Video: Add minimum width and height support (WordPress/gutenberg#83974) - Icon: Add minimum width and height support (WordPress/gutenberg#83971) - Table: Add background gradient support (WordPress/gutenberg#83949) - Post Navigation Link: Add minimum width and height support (WordPress/gutenberg#83973) - Tests: Scope Classic block media checkbox locator (WordPress/gutenberg#84524) - Term Template: Add heading and button colour support (WordPress/gutenberg#83968) - Tab List: Add line height, font weight, letter spacing, and text transform support (WordPress/gutenberg#83961) - Navigation Overlay Close: Add margin support (WordPress/gutenberg#83970) - Global Styles: Ignore theme.json values of unexpected types (WordPress/gutenberg#84523) - Search: Add shadow support (WordPress/gutenberg#83937) - Icon: Add background image, size, and gradient support (WordPress/gutenberg#83948) - Enable style state-specific custom CSS (WordPress/gutenberg#83539) - Media editor: Add an edits slice to the session (WordPress/gutenberg#83899) - Bump compression from 1.8.1 to 1.8.2 (WordPress/gutenberg#84304) - Bump nx from 23.2.0 to 23.3.0 (WordPress/gutenberg#84299) - Enable Gallery columns to override legacy responsive styles (WordPress/gutenberg#84360) - Global Styles: Ignore per-origin spacingScale values that are not objects (WordPress/gutenberg#84529) - Icon block: Show collection name in the "All" tab of the icon library (WordPress/gutenberg#84055) - Accordion Heading: Anchor inline notes to selected title text (WordPress/gutenberg#84497) - Upgrade JSDOM to 30.1.2 with likely perf improvements (WordPress/gutenberg#84367) - Icon block: Speed up rendering of the icon library (WordPress/gutenberg#84327) - Build: Update Ariakit to 0.4.41 (WordPress/gutenberg#84539) - ToolsPanel: Put setting names first in accessible action labels (WordPress/gutenberg#84341) - Build: Update Vite to 8.3.4 (WordPress/gutenberg#84544) - RichText: remove refs from event listeners contexts (WordPress/gutenberg#84545) - Block Toolbar: Fix UI menus requiring two clicks to open (WordPress/gutenberg#84547) - UI: Preserve explicit null portal containers (WordPress/gutenberg#84370) - DataViews: Enable compatibility for mixed-library overlays (WordPress/gutenberg#84305) - Theme: Enrich `design-tokens.js` export with more token data (WordPress/gutenberg#76604) - UI: Add missing popup width stories (WordPress/gutenberg#84320) - React 19 types: migrate away from MutableRefObject (WordPress/gutenberg#84550) - Tests: Add unit test coverage for WP_REST_Icon_Collections_Controller (WordPress/gutenberg#83168) - Button: Use Spinner for loading indicators (WordPress/gutenberg#84321) - Select, Combobox, Autocomplete: Align popup list spacing (WordPress/gutenberg#84393) - Block Editor: Remove unused subdirectory icon (WordPress/gutenberg#84575) - Modal: Add focus fallback for firstContentElement (WordPress/gutenberg#84344) - SelectControl: Migrate native block-editor consumers to @wordpress/ui (WordPress/gutenberg#84546) - Menu: Clarify icon, label, and description usage guidelines (WordPress/gutenberg#84020) - Add iOS e2e test harness + test selecting text across two paragraphs (WordPress/gutenberg#84463) - Enable editableRoot for the heading block for multi-selection on mobile (WordPress/gutenberg#84358) - iOS tests: serve WordPress with PHP and start Safari during setup (WordPress/gutenberg#84585) - Ensure block style variations use correct selector for custom CSS on the front end (WordPress/gutenberg#84530) - Search: Add border style support (WordPress/gutenberg#83960) - Video: Don't autoplay on the front end when reduced motion is preferred (WordPress/gutenberg#84308) - Allow rich text formatting across blocks (WordPress/gutenberg#58913) - Cover: Don't autoplay an uploaded background video when reduced motion is preferred (WordPress/gutenberg#83853) - Block breadcrumbs: Use `@wordpress/ui` package component (WordPress/gutenberg#84295) - Docs: Note reduced-motion handling for autoplaying media (WordPress/gutenberg#84594) - Media editor: Reset the whole session in one step (WordPress/gutenberg#84591) - Block Supports: Add background-clip block support UI (WordPress/gutenberg#77142) - Media & Text: replace deprecated word-break with overflow-wrap: anywhere (WordPress/gutenberg#82580) - React 19 codemod: apply defaultProps when rendering a memo component (WordPress/gutenberg#84568) - Style states: Add footer viewport and responsive styles status (WordPress/gutenberg#84146) - Block Toolbar: Fix the unnamed placeholder button when the default block is unregistered (WordPress/gutenberg#84533) - DropdownMenu: Keep a disabled toggle closed on ArrowDown (WordPress/gutenberg#84556) - Navigation: Keep the flex layout on a block inserted into an overlay (WordPress/gutenberg#82232) - UI: Document Combobox popup accessible names (WordPress/gutenberg#84551) - Docs: Fix Breadcrumb usage guidelines sidebar structure (WordPress/gutenberg#84564) - Rich Text: Refactor the remaining modules to TypeScript (WordPress/gutenberg#84365) - E2E Tests: Open settings sidebar in constrained canvas test (WordPress/gutenberg#84606) - Term Count: Reuse term data from Term Template (WordPress/gutenberg#84119) - Rich Text: Convert the hook to TypeScript (WordPress/gutenberg#84378) - Commands: Fix icon, loader state and recent command follow-ups (WordPress/gutenberg#84377) - Preferences Persistence: Address TypeScript conversion follow-ups (WordPress/gutenberg#84375) - React 19: add new incompatible plugins (WordPress/gutenberg#84607) - Block Toolbar: Keep last item fills out of the placeholder toolbar (WordPress/gutenberg#84554) - JSDoc: Escape wordpress package names in comments (WordPress/gutenberg#84369) - rich-text: strip every object replacement character in getTextContent (WordPress/gutenberg#81526) - Components: Convert the remaining files to TypeScript (WordPress/gutenberg#84611) - Table Block: Adds link color support (WordPress/gutenberg#72229) - Experiments: don't invalidate saved option with a legacy key (WordPress/gutenberg#84619) - Interactivity API: Align directive name validation with WordPress Core (WordPress/gutenberg#81023) - UI: Use the compatibility overlay slot for Drawer (WordPress/gutenberg#84380) - Rich Text: Address TypeScript conversion follow-ups (WordPress/gutenberg#84610) - DataViews: Format footer counts (WordPress/gutenberg#84622) - Customize Widgets: Keep the block selected when using @wordpress/ui overlays (WordPress/gutenberg#84628) - Tabs: Restore fit-content width for horizontal tab lists (WordPress/gutenberg#84626) - Components: Improve accessibility, discoverability of `ColorPicker` inputs (WordPress/gutenberg#70214) - UI: Use the compatibility overlay slot for Dialog (WordPress/gutenberg#84379) - Post Taxonomies: Restore shortcuts to create terms (WordPress/gutenberg#84601) - Snackbar: Restore focus when used outside SnackbarList (WordPress/gutenberg#84342) - Fix icon display issues in icon block within block manager (WordPress/gutenberg#84107) - Components: Generate JavaScript design token fallbacks (WordPress/gutenberg#84569) - Build: Update Base UI to 1.9.0 (WordPress/gutenberg#84542) - RangeControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84562) - Zed: Exclude node_modules from the file scan and turn off Tailwind CSS (WordPress/gutenberg#84604) - Modal: keep an accessible name when the header is hidden (WordPress/gutenberg#82645) - Grid: point bottomLeft alignment at the bottom left corner (WordPress/gutenberg#82641) - UnitControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84561) - Switched to the official gradient-parser types (WordPress/gutenberg#84582) - Navigator: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84565) - PaletteEdit: Name picker dialogs and add screen reader dismissal (WordPress/gutenberg#84333) - Dialog: Add an `auto` popup size that fits content width (WordPress/gutenberg#84559) - Add e2e tests for the autosave failure notice (WordPress/gutenberg#84644) - iOS tests: launch Safari before opening the setup page (WordPress/gutenberg#84640) - Media Inserter: Redesign using DataViews grid for displaying media items (WordPress/gutenberg#82749) - Remove compat function for unsupported unprefixed style states (WordPress/gutenberg#84531) - Global Styles: Remove the custom styles dot from the block list (WordPress/gutenberg#84657) - InserterDraggableBlocks: Add JSDoc types, and tidy up media-tab inserter files (WordPress/gutenberg#84655) - Storybook: Sort unlisted sidebar folders alphabetically (WordPress/gutenberg#84563) - Tabs: Fix filled link icon in Storybook (WordPress/gutenberg#84618) - ESLint: Require WCSpinner alias for legacy Spinner imports (WordPress/gutenberg#84390) - Navigation: Fix error when inserting block via Browse all in list view (WordPress/gutenberg#84665) - Patterns: Let users load synced patterns they can't edit, without "Edit original" (WordPress/gutenberg#84641) - Notes: Focus the new note form once it's positioned (WordPress/gutenberg#84639) - Block Editor: Keep multiline paste inside empty Preformatted and Poetry blocks (WordPress/gutenberg#83552) - Popover: Use design-system tokens on the default surface. (WordPress/gutenberg#84574) - Font Library: Load all installed font families (WordPress/gutenberg#84684) - Patterns: Let users detach synced patterns they can't edit (WordPress/gutenberg#84681) - Rename "fields" to "entity fields" (WordPress/gutenberg#84691) - Font Library: Mark installed font variants in font collections (WordPress/gutenberg#84023) - Automated Testing: Add AI review guidance for lint suppressions (WordPress/gutenberg#84638) - SearchableSelectControl: Fix search icon orientation (WordPress/gutenberg#84690) - PR meta: Add a Playground preview link (WordPress/gutenberg#84687) - Block Editor: PR 1: Add every source file to the TypeScript build project (WordPress/gutenberg#84615) - Build: Update pr-baseline-action to v0.3.0 (WordPress/gutenberg#84692) - Gallery: Improve mobile lightbox with animated swiping (WordPress/gutenberg#79114) - Tabs: Align interaction backgrounds and focus states (WordPress/gutenberg#84572) - Block Editor: PR 5: Convert the remaining utils and the state style helpers to TypeScript (WordPress/gutenberg#84629) - Remove some stale overrides (WordPress/gutenberg#84674) - Actions API: Register the entity actions on the server (WordPress/gutenberg#84650) - Compose: Convert the remaining files to TypeScript (WordPress/gutenberg#84382) - Navigation Link: Check page create permission only when needed (WordPress/gutenberg#84663) - Dialog: Check story and test sizes against popup prop types (WordPress/gutenberg#84705) - Block Editor: PR 2: Convert the small store modules to TypeScript (WordPress/gutenberg#84616) - Block Editor: PR 3: Convert the store reducer to TypeScript (WordPress/gutenberg#84624) - Block Editor: PR 6: Convert the store selectors to TypeScript (WordPress/gutenberg#84631) - Block Editor: PR 7: Convert the store private selectors to TypeScript (WordPress/gutenberg#84662) - Block Editor: PR 8: Convert the store actions to TypeScript (WordPress/gutenberg#84672) - Menu: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84706) - Blocks: Accept a feature path array in getBlockSupport and hasBlockSupport (WordPress/gutenberg#84708) - Block Editor: PR 4: Convert the shared component modules to TypeScript (WordPress/gutenberg#84625) - Blocks: Type the background clip, gradient, position and repeat supports (WordPress/gutenberg#84709) - Block Editor: PR 9: Convert the store defaults, getBlockSettings and index to TypeScript (WordPress/gutenberg#84677) - Link: Add a small radius for consistent focus rings (WordPress/gutenberg#84697) - Remove the autosave failure notice once a later save succeeds (WordPress/gutenberg#84649) - CI: Expire large workflow artifacts sooner (WordPress/gutenberg#84525) - Changes to custom CSS from core review (WordPress/gutenberg#84757) - Rename inspector and toolbar style-states slots for consistency (WordPress/gutenberg#84598) - Patterns: List synced patterns the user can read but not edit in the inserter (WordPress/gutenberg#84661) - PR meta: Write sections on stacked pull requests (WordPress/gutenberg#84703) - Media Inserter: visually clear the grid and use a loading state spinner when switching categories (WordPress/gutenberg#84667) - ESLint: Make jsdoc/escape-inline-tags an error (WordPress/gutenberg#84701) - Block Editor: Type isValueSpacingPreset as returning a boolean (WordPress/gutenberg#84730) - Cover: Decode the oEmbed iframe source before parsing its query string (WordPress/gutenberg#83770) - Block Editor: Preserve rich text selection on Shift+click within the same block (WordPress/gutenberg#84579) - Build: Remove Emotion compiler tooling (WordPress/gutenberg#84707) - Pattern block: Load the view record, and the edit record only once it's loaded (WordPress/gutenberg#84799) - PostURL: Remove double focus ring outline (WordPress/gutenberg#84694) - LinkControl: Use design system focus ring for link preview (WordPress/gutenberg#84695) - Notice: Match dismiss controls and titles to status colors (WordPress/gutenberg#84571) - BaseControl: Remove unsupported `as` prop from types and docs (WordPress/gutenberg#70064) - Avatar: Add shared initials and improve fallbacks (WordPress/gutenberg#84653) - Search: Add minimum width and height support (WordPress/gutenberg#83977) - Revisions: Meet AA contrast for the inline del diff without an opacity filter (WordPress/gutenberg#82258) - CustomGradientPicker: Keep the color interpolation method when editing a gradient (WordPress/gutenberg#84383) - Post Navigation Link: Add background image, size, and gradient support (WordPress/gutenberg#83940) - Notes: Drop misleading aria-haspopup from Add note menu item (WordPress/gutenberg#84818) - RichText: Derive active formats at the caret for input and paste (WordPress/gutenberg#84303) - Editor: Fix long author name overflowing the Post sidebar panel (WordPress/gutenberg#84165) - Interactivity API: Fix late `data-wp-html` values, throwing functions and directive conflicts (WordPress/gutenberg#84652) - FontAppearanceControl: Migrate to @wordpress/ui (WordPress/gutenberg#84716) - Kebab Case: Convert the tests to TypeScript (WordPress/gutenberg#84825) - Date: Convert the tests to TypeScript (WordPress/gutenberg#84830) - Block Editor: PR 10: Convert the hook utils, block style state and Global Styles hooks to TypeScript (WordPress/gutenberg#84720) - Block Editor: PR 11: Convert the block support helpers to TypeScript (WordPress/gutenberg#84721) - Block Editor: PR 12: Convert the layout helpers and block gap utils to TypeScript (WordPress/gutenberg#84722) - Block Editor: PR 13: Convert the block attribute filter hooks to TypeScript (WordPress/gutenberg#84723) - SelectControl: Migrate date format and preset input consumers to @wordpress/ui (WordPress/gutenberg#84584) - Changelog validation: Reject blank lines between Unreleased entries (WordPress/gutenberg#84804) - DataViews: Convert the filterSortAndPaginate tests to TypeScript (WordPress/gutenberg#84836) - ESLint: Allow design token references in component JavaScript (WordPress/gutenberg#84827) - babel-preset-default: Add polyfill list to generated bundle (WordPress/gutenberg#84835) - Tests: Use a strict assertion in block template tests (WordPress/gutenberg#84683) - Tests: Use a strict assertion in PHPUnit environment setup tests (WordPress/gutenberg#84686) - Core Data: Keep read-only taxonomy fields out of collaborative edits (WordPress/gutenberg#84838) - Select: Preserve scrolling when item alignment falls back (WordPress/gutenberg#84682) - Search: Don't clip the button focus outline when the field is collapsed (WordPress/gutenberg#84685) - List View: Show appender in contentOnly locked sections (WordPress/gutenberg#84713) - Raise the PHP request time limit for the iOS tests (WordPress/gutenberg#84741) - Env: Use the matching wordpress-develop branch for pre-release PHPUnit tests (WordPress/gutenberg#84758) - Editor: Keep a preview canvas from adopting the entity's selection (WordPress/gutenberg#84832) - Core fields: Register the default fields of WordPress on the server (WordPress/gutenberg#84696) - Editor: Read the entity fields from the server (WordPress/gutenberg#84700) - iOS tests: run the editor in a web view instead of Safari (WordPress/gutenberg#84859) - BorderBoxControl: Unpack multi-value shorthand width when unlinking border sides (WordPress/gutenberg#84826) - Actions API: Extract the core actions into the `@wordpress/core-actions` script modules (WordPress/gutenberg#84643) - Global Styles: Remove preset items of unexpected types to avoid fatals (WordPress/gutenberg#84534) - Media: Skip auto-attach on save when attachment pages are enabled (WordPress/gutenberg#84851) - Block Editor: PR 14: Convert InspectorControls to TypeScript (WordPress/gutenberg#84725) - Block Editor: PR 15: Convert the anchor and custom class name hooks to TypeScript (WordPress/gutenberg#84726) - Block Editor: PR 16: Convert the auto-generated inspector controls to TypeScript (WordPress/gutenberg#84727) - Block Editor: PR 17: Convert the zoom out and content only section hooks to TypeScript (WordPress/gutenberg#84731) - Block Editor: PR 18: Convert BlockControls to TypeScript (WordPress/gutenberg#84733) - Block Editor: PR 19: Convert the flow layout to TypeScript (WordPress/gutenberg#84734) - Block Editor: PR 20: Convert BlockPopover, the color and gradient controls, BlockTitle, useBlockDisplayInformation and MediaUpload to TypeScript (WordPress/gutenberg#84813) - Media Inserter: Add a FilePreview component for rendering audio or other non image/video files (WordPress/gutenberg#84882) - Data Controls: Convert the tests to TypeScript (WordPress/gutenberg#84852) - Undo Manager: Convert the tests to TypeScript (WordPress/gutenberg#84895) - Build: Fix `npm run dev` failing on the patterns tsconfig comment (WordPress/gutenberg#84898) - Snackbar: Keep snackbars with an action on screen longer (WordPress/gutenberg#84842) - DatePicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84724) - Fields: Remove the fields that moved to @wordpress/core-fields (WordPress/gutenberg#84897) - FocalPointPicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84736) - Notes: Remove divider between canvas and floating notes (WordPress/gutenberg#84850) - SelectControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84732) - Core Actions: Register the core actions on the server (WordPress/gutenberg#84660) - InputControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84728) - Tabs: Show design system focus ring on tab panels (WordPress/gutenberg#84914) - PostURL: Use `@wordpress/ui` Link for post URL link (WordPress/gutenberg#84820) - URL: Convert the tests to TypeScript (WordPress/gutenberg#84916) - Framework: Improve AGENTS.md guidance around running package scripts (WordPress/gutenberg#84195) - Components: Remove Emotion from the context system (WordPress/gutenberg#84925) - Interactivity API: Keep server-rendered data-wp-html content for the server's token representation (WordPress/gutenberg#84889) - Badge: Clarify that badges should not be interactive (WordPress/gutenberg#84920) - SelectControl: Add a trigger slot for props and content (WordPress/gutenberg#84828) - ESLint: Require TypeScript for new files (WordPress/gutenberg#84829) - Private APIs: Convert the tests to TypeScript (WordPress/gutenberg#84901) - Navigation: Edit links in a popover from the sidebar List View (WordPress/gutenberg#84005) - Block Editor: PR 21: Convert LinkControl and URLInput to TypeScript (WordPress/gutenberg#84844) - Block Editor: PR 22: Convert Warning, BlockEdit and PrivateBlockContext to TypeScript (WordPress/gutenberg#84846) - Block Editor: PR 23: Convert the layouts and the alignment controls to TypeScript (WordPress/gutenberg#84847) - Link: Keep the new-tab indicator with the link text (WordPress/gutenberg#84806) - Interactivity API: Optimize toVdom walk() (WordPress/gutenberg#81699) - Bump the github-actions group across 2 directories with 7 updates (WordPress/gutenberg#84937) - Components: Remove unused Emotion styling utilities (WordPress/gutenberg#84929) - List View: Allow nesting with top level items (WordPress/gutenberg#84856) - Login/out: Mark the block as content (WordPress/gutenberg#84849) - Block Editor: PR 24: Convert the typography controls to TypeScript (WordPress/gutenberg#84848) - Block Editor: PR 25: Convert the color utilities and controls to TypeScript (WordPress/gutenberg#84875) - Block Editor: PR 26: Convert the block visibility, lock and bindings components to TypeScript (WordPress/gutenberg#84876) - Block Editor: PR 27: Convert the image dimension tools to TypeScript (WordPress/gutenberg#84877) - Block Editor: PR 28: Convert PresetInputControl to TypeScript (WordPress/gutenberg#84878) - Block Editor: PR 29: Convert URLPopover and LinkPicker to TypeScript (WordPress/gutenberg#84879) - Block Editor: PR 30: Convert BorderRadiusControl and DimensionControl to TypeScript (WordPress/gutenberg#84880) - Block Editor: PR 31: Convert the keyboard shortcuts, ObserveTyping and Typewriter to TypeScript (WordPress/gutenberg#84902) - Block Editor: PR 32: Convert the block drop, paste styles and block command hooks to TypeScript (WordPress/gutenberg#84906) - Block Editor: PR 33: Convert SpacingSizesControl, the line height hook and the spacing visualizer to TypeScript (WordPress/gutenberg#84907) - Block Editor: PR 34: Convert the contrast checker, block bindings, block style variation and position hooks to TypeScript (WordPress/gutenberg#84908) - Block Editor: PR 35: Convert the alignment, heading level, HTML element, unit and height controls to TypeScript (WordPress/gutenberg#84912) - Block Editor: PR 36: Convert the inserter listbox, BlockCard, block variation and inspector leaves to TypeScript (WordPress/gutenberg#84913) - Block Editor: PR 37: Convert BlockEditorProvider and useBlockSync to TypeScript (WordPress/gutenberg#84915) - Block Editor: PR 38: Convert WritingFlow to TypeScript (WordPress/gutenberg#84918) - Block Editor: PR 39: Convert Iframe, EditorStyles, NavigableToolbar, CopyHandler and BlockBreadcrumb to TypeScript (WordPress/gutenberg#84922) - Block Editor: PR 40: Convert MediaPlaceholder and ImageEditor to TypeScript (WordPress/gutenberg#84923) - Show the browser backup's date and compare it before restoring (WordPress/gutenberg#84735) - Generate animated image sub-sizes for animated uploads (WordPress/gutenberg#80385) - Avatar: Add an optional color ring (WordPress/gutenberg#84822) - Tests: Use a strict assertion in background block support tests (WordPress/gutenberg#84883) - Tests: Use strict assertions in layout block support tests (WordPress/gutenberg#84884) - Tests: Use a strict assertion in typography block support tests (WordPress/gutenberg#84885) - Tests: Use strict assertions in REST icons controller tests (WordPress/gutenberg#84886) - Tests: Use strict assertions in hierarchical sort tests (WordPress/gutenberg#84887) - Tests: Use strict assertions in navigation link variations tests (WordPress/gutenberg#84888) - Components: Replace remaining Emotion test and story fixtures (WordPress/gutenberg#84926) - Connectors: preload REST API responses on the Connectors screen (WordPress/gutenberg#77353) - Add emoji reactions to notes! ❤️ 🎉 😄 👀 🚀 (WordPress/gutenberg#76767) - Editor: add copy option for save failures & a "show/hide details" button (WordPress/gutenberg#82496) - Upload Media: Convert the private actions tests to TypeScript (WordPress/gutenberg#84930) - Format Library: Convert the tests to TypeScript (WordPress/gutenberg#85032) - StyleProvider: Remove the Emotion cache (WordPress/gutenberg#85019) - Scripts: Run e2e tests against the configured wp-env test environment (WordPress/gutenberg#84654) - Notes: Skip the reaction summary pre-fetch when core already does it (WordPress/gutenberg#85047) - Navigation Link: Apply "Open in new tab" from the link popover (WordPress/gutenberg#83506) - Media auto-attach: For published posts, only attach newly added image ids (WordPress/gutenberg#84890) - Drag a multi-selection by pressing anywhere inside it (WordPress/gutenberg#81602) - Mark non-breaking spaces with a red dot and add a button to replace them (WordPress/gutenberg#84737) - Duotone: Sync unsupported attribute type guard from Core (WordPress/gutenberg#84801) - Post Title: Add fit text support. (WordPress/gutenberg#83036) - Ensure "hide block tools" text isn't wider than button background. (WordPress/gutenberg#85051) - Editor restoreRevisions: if there are unsaved changes, save these as a revision before restoring a revision (WordPress/gutenberg#84590) - Allow block toolbar to wrap when text labels are enabled (WordPress/gutenberg#84802) - Post slug: Derive the slug preview from the current title instead of `generated_slug` (WordPress/gutenberg#84893) - DataViews and Storybook: Remove unused Emotion dependencies (WordPress/gutenberg#85021) - Components: Update guidance after the Emotion migration (WordPress/gutenberg#85020) - URL: Make `cleanForSlug` match WordPress core's `sanitize_title()` (WordPress/gutenberg#84896) - Notes: Make the "Add note" toolbar button add-only and drop the avatars (WordPress/gutenberg#84635) - Components: Finish Emotion dependency and test cleanup (WordPress/gutenberg#85022) - feat: Add dry-run optional param in cherry-pick script (WordPress/gutenberg#78878) - Build: Update Terrazzo token tools to 2.9.0 (WordPress/gutenberg#85067) - Tabs: Expand vertical interaction backgrounds and focus rings (WordPress/gutenberg#84821) - Build: Update Testing Library user-event to 14.6.8 (WordPress/gutenberg#85068) - Components: Retire completed Emotion migration guidance (WordPress/gutenberg#85023) - Use `Select` for remaining `SelectControl` `variant="minimal"` call sites (WordPress/gutenberg#83035) - Patterns: Rename the inserter's "My patterns" to "Site patterns" and add an author filter (WordPress/gutenberg#84680) - Storybook: present motion tokens as an MDX docs page (WordPress/gutenberg#85080) - Avatar: Add colored fallbacks with foreground tinting (WordPress/gutenberg#84824) - FontFamilyControl: Migrate to @wordpress/ui (WordPress/gutenberg#84715) - Project management automation: Move to tools as an internal action (WordPress/gutenberg#85087) - Build: Update Ariakit to 0.4.42 (WordPress/gutenberg#85066) - Block editor: Remove unused internal helpers (WordPress/gutenberg#85092) - Stylelint: Consolidate Lint rules for simplification (WordPress/gutenberg#71235) - Tools: Migrate project-management-automation to TS (WordPress/gutenberg#71193) - Notes: Improve how anchor highlight and connect to content (WordPress/gutenberg#80578) - Upload media: Remove unused filename helpers (WordPress/gutenberg#85094) - Global Styles UI: Remove unused preview and wrappers (WordPress/gutenberg#85093) - Components: Remove case-conversion dependencies (WordPress/gutenberg#85098) - Components: Remove unused internal helpers (WordPress/gutenberg#85091) - ESLint: Remove an unused comments-plugin dependency (WordPress/gutenberg#85102) - Icons: Ship popular icons to `core-admin` collection (WordPress/gutenberg#85072) - Storybook: add more visual pages for all tokens (WordPress/gutenberg#84373) - Warning: Convert the tests to TypeScript (WordPress/gutenberg#85085) - Text: Simplify the internal highlighter (WordPress/gutenberg#85101) - Site Editor: Show the inserter for an empty Navigation Menu in the sidebar (WordPress/gutenberg#84003) - Components: Remove obsolete JavaScript style configuration (WordPress/gutenberg#85038) - Editor: Stabilize the DataForm-based inspector (WordPress/gutenberg#85081) - Entity Actions: Fix the taxonomy collision test against core trunk (WordPress/gutenberg#85146) - Core Actions, Core Fields: Translate the labels with the default text domain (WordPress/gutenberg#85139) - Global Styles: List elements alongside blocks (WordPress/gutenberg#81645) - Global Styles: Preview the selected state on element screens (WordPress/gutenberg#83787) - Block Toolbar: Only show the parent selector plus when no allowed block splits (WordPress/gutenberg#84645) - Navigation: List only the blocks the sidebar supports in its link search (WordPress/gutenberg#85122) - Show a countdown to the next autosave after an autosave fails (WordPress/gutenberg#84656) - LinkControl: Use `@wordpress/ui` Link for preview link (WordPress/gutenberg#84819) - PR meta: Log fallback bodies verbatim and keep query strings in run links (WordPress/gutenberg#85119) - Don't promise a browser backup in save failure notices (WordPress/gutenberg#84948) - Components: Simplify RangeControl, Tabs, and BorderBoxControl styles (WordPress/gutenberg#85086) - Media Inserter: Dynamically change page size when categories are switched, based on window height (WordPress/gutenberg#85053) - Block Editor: PR 41: Convert useBlockDropZone to TypeScript (WordPress/gutenberg#84946) - Block Editor: PR 42: Convert BlockManager, PublishDateTimePicker and the fit text hook to TypeScript (WordPress/gutenberg#84949) - Move a dragged text selection (WordPress/gutenberg#81603) - Explain autosave failures with no response, and show the HTTP status (WordPress/gutenberg#85157) - Block Supports: Share the state text clip helpers with theme.json (WordPress/gutenberg#85057) - Icons: Mirror the tag icons to match the other angled icons (WordPress/gutenberg#84675) - Block Editor: Include migration hint in useSetting deprecation warning (WordPress/gutenberg#85100) - PresetInputControl: Use SelectControl for preset dropdowns (WordPress/gutenberg#84936) - Table of Contents: Read headings from the post in block context (WordPress/gutenberg#85040) - Template field: Show the default template instead of the `Select` placeholder (WordPress/gutenberg#85167) - Components: Add size prop to `RangeControl` (WordPress/gutenberg#69844) - Use the null coalescing assignment operator in singleton getters (WordPress/gutenberg#85174) - SearchableSelect: Add trigger slots for props and content (WordPress/gutenberg#84934) - Blocks: Clarify button background comment and template part error string (WordPress/gutenberg#85176) - WP Build: Support importing SVG files as inlined data URIs (WordPress/gutenberg#85147) - Tests: Add Component Tests for DuotonePicker Component (WordPress/gutenberg#69264) - Custom CSS: Generate styles for blocks rendered by their parent block (WordPress/gutenberg#82590) - Site Editor: Preload the entity actions of the screen (WordPress/gutenberg#85155) - Dataviews bulk actions discoverability (WordPress/gutenberg#82730) - Global Styles: Add pseudo-selector support for text inputs (WordPress/gutenberg#71634) - Global Styles: Add pseudo-selector support for select elements (WordPress/gutenberg#81644) Props mamaduka, jorgefilipecosta. See #66340 git-svn-id: https://develop.svn.wordpress.org/trunk@64599 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned commit hash of the Gutenberg repository from 7b95ee96b54de2e35886971ccf7eb449c324c830 (version 24.2.0) to be6a50be6834e922b9db12c75c9a2cd817b2db59. The new hash is the tip of the wp/7.2 branch rather than a release tag. It covers the 24.3.0 RC1 release plus the changes cherry-picked to the branch after it was tagged: Gutenberg PRs 85155, 82730, 71634, and 81644. A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@7b95ee9...be6a50b - Icons: Experiment with proportional stroke scaling (WordPress/gutenberg#84081) - PaletteEdit: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84130) - Editor: Validate parent container when converting blocks to template parts (WordPress/gutenberg#84155) - Build: Keep absolute paths out of worker source maps (WordPress/gutenberg#84163) - Chore: Update simple-git to v4 (WordPress/gutenberg#84137) - SearchableChipSelect: Preserve selected chips on Escape (WordPress/gutenberg#84172) - Props Bot: Queue runs instead of cancelling superseded ones (WordPress/gutenberg#84176) - Custom HTML: Show a floating marker when the block renders nothing (WordPress/gutenberg#84150) - DateTimePicker: Migrate Emotion wrapper to SCSS Modules (WordPress/gutenberg#84129) - Bump simple-git and promptfoo in /test/ai-development (WordPress/gutenberg#84104) - Bump the github-actions group across 1 directory with 4 updates (WordPress/gutenberg#84121) - UI: Keep popups open for presses inside their iframes (WordPress/gutenberg#83870) - Tests: Fix HTML comparison tests (WordPress/gutenberg#84294) - Playlist: Add minimum width and height support (WordPress/gutenberg#83909) - Navigation Overlay Close: Add minimum width and height support (WordPress/gutenberg#83907) - Post Template: Add minimum width and height support (WordPress/gutenberg#83911) - Bump proxy-addr from 2.0.7 to 2.0.8 in /test/ai-development (WordPress/gutenberg#84092) - A11y: Move `prefersReducedMotion` into the block library's shared utils (WordPress/gutenberg#84297) - Bump moment from 2.29.4 to 2.31.0 (WordPress/gutenberg#83828) - Packages: Stop publishing tsconfig files, TypeScript build info and tests (WordPress/gutenberg#84164) - Tests: Fix list item unsafe markup test on older WordPress versions (WordPress/gutenberg#84302) - Bump joi from 18.2.5 to 18.2.9 (WordPress/gutenberg#84211) - Bump ip-address from 10.5.0 to 10.7.3 (WordPress/gutenberg#83734) - Bump proxy-addr from 2.0.7 to 2.0.8 (WordPress/gutenberg#84212) - Bump seroval from 1.5.4 to 1.6.8 (WordPress/gutenberg#84151) - Tab List: Add background image, size, and gradient support (WordPress/gutenberg#83953) - Pullquote: Add writing mode and text indent support (WordPress/gutenberg#83964) - CustomSelectControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84131) - ColorPicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84128) - Build: Guard SCRIPT_DEBUG with defined() in script and style registration (WordPress/gutenberg#83633) - Notes: Mark the text an unsent note is about with a draft marker (WordPress/gutenberg#84125) - Quote: Add writing mode support (WordPress/gutenberg#83965) - Tip: Migrate inserter usages to Notice and deprecate the component (WordPress/gutenberg#84197) - Query Loop: list taxonomy terms so they can be browsed, not recalled (WordPress/gutenberg#82583) - Primitives: Refactor to TypeScript (WordPress/gutenberg#84309) - Release Tooling: Publish wp/X.Y branches with their own npm config (WordPress/gutenberg#84160) - Packages: Stop publishing Markdown files other than README.md (WordPress/gutenberg#84307) - Raise the minimum required Node.js to 22 with CJS/ESM interop (WordPress/gutenberg#84313) - Automated Testing: Fix Storybook manifest errors and validate in CI (WordPress/gutenberg#84198) - Notes: Select the note under the caret (WordPress/gutenberg#84147) - Table: Add text align support (WordPress/gutenberg#83966) - Accordion Heading: Add background gradient support (WordPress/gutenberg#83938) - Style Book: Fix crash when the Heading block is unregistered (WordPress/gutenberg#84359) - Icon: Add shadow support (WordPress/gutenberg#83921) - Playlist: Add background image, size, and gradient support (WordPress/gutenberg#83928) - Cover: Add minimum width support (WordPress/gutenberg#83975) - UI: Consolidate shared iframe dismissal tests (WordPress/gutenberg#84296) - File: Add typography support (WordPress/gutenberg#83969) - List: Add minimum width and height support (WordPress/gutenberg#83915) - CI: Run the required trunk changes cron every 4 hours (WordPress/gutenberg#84301) - Workflow: Refactor to TypeScript (WordPress/gutenberg#84311) - Remove the lazy-import package (WordPress/gutenberg#84318) - Terms Query: Add padding, margin, and block gap support (WordPress/gutenberg#83959) - Notes: Read note markers from the rich-text record, not its HTML (WordPress/gutenberg#84310) - Paragraph: Add background image, size, and gradient support (WordPress/gutenberg#83934) - Paragraph: Add minimum width and height support (WordPress/gutenberg#83924) - Sorting: assume standard sort is stable, try out the new toSorted method (WordPress/gutenberg#52213) - DataForm: Center the text control's prefix and suffix (WordPress/gutenberg#84314) - Cover: Add link and button colour support (WordPress/gutenberg#83972) - Remove redundant checkJs: false from fully TypeScript packages (WordPress/gutenberg#84366) - Fields: Fix the page title row jumping on hover when a page type badge is shown (WordPress/gutenberg#84368) - Search: Add background gradient support (WordPress/gutenberg#83954) - UI: Hook AlertDialog into compat overlay slot (WordPress/gutenberg#83878) - ESLint: Align UI caution components with Storybook status (WordPress/gutenberg#84319) - Comments Pagination Next: Add border and padding support (WordPress/gutenberg#64310) - Comment Pagination Previous: Add Border and Padding Support (WordPress/gutenberg#64308) - Preferences Persistence: Refactor to TypeScript (WordPress/gutenberg#84312) - Rich Text: Refactor store and value creation to TypeScript (WordPress/gutenberg#84324) - NumberControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84330) - navigateRegions: Only outline focused Publish and Save regions (WordPress/gutenberg#84343) - Theme: Consolidate border mode overrides in the token resolver (WordPress/gutenberg#84108) - DOM: Refactor to TypeScript (WordPress/gutenberg#84317) - Fields: Lock the status and slug fields for users who can't publish (WordPress/gutenberg#84371) - Commands: Refactor to TypeScript (WordPress/gutenberg#84315) - Cache the theme.json data merged from all origins (WordPress/gutenberg#81979) - Workflow: Address follow-ups from the TypeScript refactor (WordPress/gutenberg#84361) - Fields API: Take over core's registry singleton like the icons API (WordPress/gutenberg#84168) - DOM: Fix getOffsetParent infinite loop on a non-element parent (WordPress/gutenberg#84374) - UI: Support button items in Breadcrumb (WordPress/gutenberg#84156) - TimePicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84331) - Bump actions/setup-node from 6.4.0 to 7.0.0 in /.github/workflows (WordPress/gutenberg#80965) - InputControl: ignore the drag gesture on touch devices (WordPress/gutenberg#81519) - Tabs: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84332) - UI: Add Avatar component (WordPress/gutenberg#84145) - SelectControl: Migrate smaller package consumers to @wordpress/ui (WordPress/gutenberg#84345) - Editor: Keep the block toolbar row on phones while no block is selected (WordPress/gutenberg#84461) - Tests: Use strict assertions for post time-to-read word counts (WordPress/gutenberg#84510) - Tests: Use strict assertions in image block tests (WordPress/gutenberg#84513) - Tests: Use a strict assertion in Heading block tests (WordPress/gutenberg#84514) - Tests: Use a strict assertion in Paragraph block tests (WordPress/gutenberg#84515) - Video: Add minimum width and height support (WordPress/gutenberg#83974) - Icon: Add minimum width and height support (WordPress/gutenberg#83971) - Table: Add background gradient support (WordPress/gutenberg#83949) - Post Navigation Link: Add minimum width and height support (WordPress/gutenberg#83973) - Tests: Scope Classic block media checkbox locator (WordPress/gutenberg#84524) - Term Template: Add heading and button colour support (WordPress/gutenberg#83968) - Tab List: Add line height, font weight, letter spacing, and text transform support (WordPress/gutenberg#83961) - Navigation Overlay Close: Add margin support (WordPress/gutenberg#83970) - Global Styles: Ignore theme.json values of unexpected types (WordPress/gutenberg#84523) - Search: Add shadow support (WordPress/gutenberg#83937) - Icon: Add background image, size, and gradient support (WordPress/gutenberg#83948) - Enable style state-specific custom CSS (WordPress/gutenberg#83539) - Media editor: Add an edits slice to the session (WordPress/gutenberg#83899) - Bump compression from 1.8.1 to 1.8.2 (WordPress/gutenberg#84304) - Bump nx from 23.2.0 to 23.3.0 (WordPress/gutenberg#84299) - Enable Gallery columns to override legacy responsive styles (WordPress/gutenberg#84360) - Global Styles: Ignore per-origin spacingScale values that are not objects (WordPress/gutenberg#84529) - Icon block: Show collection name in the "All" tab of the icon library (WordPress/gutenberg#84055) - Accordion Heading: Anchor inline notes to selected title text (WordPress/gutenberg#84497) - Upgrade JSDOM to 30.1.2 with likely perf improvements (WordPress/gutenberg#84367) - Icon block: Speed up rendering of the icon library (WordPress/gutenberg#84327) - Build: Update Ariakit to 0.4.41 (WordPress/gutenberg#84539) - ToolsPanel: Put setting names first in accessible action labels (WordPress/gutenberg#84341) - Build: Update Vite to 8.3.4 (WordPress/gutenberg#84544) - RichText: remove refs from event listeners contexts (WordPress/gutenberg#84545) - Block Toolbar: Fix UI menus requiring two clicks to open (WordPress/gutenberg#84547) - UI: Preserve explicit null portal containers (WordPress/gutenberg#84370) - DataViews: Enable compatibility for mixed-library overlays (WordPress/gutenberg#84305) - Theme: Enrich `design-tokens.js` export with more token data (WordPress/gutenberg#76604) - UI: Add missing popup width stories (WordPress/gutenberg#84320) - React 19 types: migrate away from MutableRefObject (WordPress/gutenberg#84550) - Tests: Add unit test coverage for WP_REST_Icon_Collections_Controller (WordPress/gutenberg#83168) - Button: Use Spinner for loading indicators (WordPress/gutenberg#84321) - Select, Combobox, Autocomplete: Align popup list spacing (WordPress/gutenberg#84393) - Block Editor: Remove unused subdirectory icon (WordPress/gutenberg#84575) - Modal: Add focus fallback for firstContentElement (WordPress/gutenberg#84344) - SelectControl: Migrate native block-editor consumers to @wordpress/ui (WordPress/gutenberg#84546) - Menu: Clarify icon, label, and description usage guidelines (WordPress/gutenberg#84020) - Add iOS e2e test harness + test selecting text across two paragraphs (WordPress/gutenberg#84463) - Enable editableRoot for the heading block for multi-selection on mobile (WordPress/gutenberg#84358) - iOS tests: serve WordPress with PHP and start Safari during setup (WordPress/gutenberg#84585) - Ensure block style variations use correct selector for custom CSS on the front end (WordPress/gutenberg#84530) - Search: Add border style support (WordPress/gutenberg#83960) - Video: Don't autoplay on the front end when reduced motion is preferred (WordPress/gutenberg#84308) - Allow rich text formatting across blocks (WordPress/gutenberg#58913) - Cover: Don't autoplay an uploaded background video when reduced motion is preferred (WordPress/gutenberg#83853) - Block breadcrumbs: Use `@wordpress/ui` package component (WordPress/gutenberg#84295) - Docs: Note reduced-motion handling for autoplaying media (WordPress/gutenberg#84594) - Media editor: Reset the whole session in one step (WordPress/gutenberg#84591) - Block Supports: Add background-clip block support UI (WordPress/gutenberg#77142) - Media & Text: replace deprecated word-break with overflow-wrap: anywhere (WordPress/gutenberg#82580) - React 19 codemod: apply defaultProps when rendering a memo component (WordPress/gutenberg#84568) - Style states: Add footer viewport and responsive styles status (WordPress/gutenberg#84146) - Block Toolbar: Fix the unnamed placeholder button when the default block is unregistered (WordPress/gutenberg#84533) - DropdownMenu: Keep a disabled toggle closed on ArrowDown (WordPress/gutenberg#84556) - Navigation: Keep the flex layout on a block inserted into an overlay (WordPress/gutenberg#82232) - UI: Document Combobox popup accessible names (WordPress/gutenberg#84551) - Docs: Fix Breadcrumb usage guidelines sidebar structure (WordPress/gutenberg#84564) - Rich Text: Refactor the remaining modules to TypeScript (WordPress/gutenberg#84365) - E2E Tests: Open settings sidebar in constrained canvas test (WordPress/gutenberg#84606) - Term Count: Reuse term data from Term Template (WordPress/gutenberg#84119) - Rich Text: Convert the hook to TypeScript (WordPress/gutenberg#84378) - Commands: Fix icon, loader state and recent command follow-ups (WordPress/gutenberg#84377) - Preferences Persistence: Address TypeScript conversion follow-ups (WordPress/gutenberg#84375) - React 19: add new incompatible plugins (WordPress/gutenberg#84607) - Block Toolbar: Keep last item fills out of the placeholder toolbar (WordPress/gutenberg#84554) - JSDoc: Escape wordpress package names in comments (WordPress/gutenberg#84369) - rich-text: strip every object replacement character in getTextContent (WordPress/gutenberg#81526) - Components: Convert the remaining files to TypeScript (WordPress/gutenberg#84611) - Table Block: Adds link color support (WordPress/gutenberg#72229) - Experiments: don't invalidate saved option with a legacy key (WordPress/gutenberg#84619) - Interactivity API: Align directive name validation with WordPress Core (WordPress/gutenberg#81023) - UI: Use the compatibility overlay slot for Drawer (WordPress/gutenberg#84380) - Rich Text: Address TypeScript conversion follow-ups (WordPress/gutenberg#84610) - DataViews: Format footer counts (WordPress/gutenberg#84622) - Customize Widgets: Keep the block selected when using @wordpress/ui overlays (WordPress/gutenberg#84628) - Tabs: Restore fit-content width for horizontal tab lists (WordPress/gutenberg#84626) - Components: Improve accessibility, discoverability of `ColorPicker` inputs (WordPress/gutenberg#70214) - UI: Use the compatibility overlay slot for Dialog (WordPress/gutenberg#84379) - Post Taxonomies: Restore shortcuts to create terms (WordPress/gutenberg#84601) - Snackbar: Restore focus when used outside SnackbarList (WordPress/gutenberg#84342) - Fix icon display issues in icon block within block manager (WordPress/gutenberg#84107) - Components: Generate JavaScript design token fallbacks (WordPress/gutenberg#84569) - Build: Update Base UI to 1.9.0 (WordPress/gutenberg#84542) - RangeControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84562) - Zed: Exclude node_modules from the file scan and turn off Tailwind CSS (WordPress/gutenberg#84604) - Modal: keep an accessible name when the header is hidden (WordPress/gutenberg#82645) - Grid: point bottomLeft alignment at the bottom left corner (WordPress/gutenberg#82641) - UnitControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84561) - Switched to the official gradient-parser types (WordPress/gutenberg#84582) - Navigator: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84565) - PaletteEdit: Name picker dialogs and add screen reader dismissal (WordPress/gutenberg#84333) - Dialog: Add an `auto` popup size that fits content width (WordPress/gutenberg#84559) - Add e2e tests for the autosave failure notice (WordPress/gutenberg#84644) - iOS tests: launch Safari before opening the setup page (WordPress/gutenberg#84640) - Media Inserter: Redesign using DataViews grid for displaying media items (WordPress/gutenberg#82749) - Remove compat function for unsupported unprefixed style states (WordPress/gutenberg#84531) - Global Styles: Remove the custom styles dot from the block list (WordPress/gutenberg#84657) - InserterDraggableBlocks: Add JSDoc types, and tidy up media-tab inserter files (WordPress/gutenberg#84655) - Storybook: Sort unlisted sidebar folders alphabetically (WordPress/gutenberg#84563) - Tabs: Fix filled link icon in Storybook (WordPress/gutenberg#84618) - ESLint: Require WCSpinner alias for legacy Spinner imports (WordPress/gutenberg#84390) - Navigation: Fix error when inserting block via Browse all in list view (WordPress/gutenberg#84665) - Patterns: Let users load synced patterns they can't edit, without "Edit original" (WordPress/gutenberg#84641) - Notes: Focus the new note form once it's positioned (WordPress/gutenberg#84639) - Block Editor: Keep multiline paste inside empty Preformatted and Poetry blocks (WordPress/gutenberg#83552) - Popover: Use design-system tokens on the default surface. (WordPress/gutenberg#84574) - Font Library: Load all installed font families (WordPress/gutenberg#84684) - Patterns: Let users detach synced patterns they can't edit (WordPress/gutenberg#84681) - Rename "fields" to "entity fields" (WordPress/gutenberg#84691) - Font Library: Mark installed font variants in font collections (WordPress/gutenberg#84023) - Automated Testing: Add AI review guidance for lint suppressions (WordPress/gutenberg#84638) - SearchableSelectControl: Fix search icon orientation (WordPress/gutenberg#84690) - PR meta: Add a Playground preview link (WordPress/gutenberg#84687) - Block Editor: PR 1: Add every source file to the TypeScript build project (WordPress/gutenberg#84615) - Build: Update pr-baseline-action to v0.3.0 (WordPress/gutenberg#84692) - Gallery: Improve mobile lightbox with animated swiping (WordPress/gutenberg#79114) - Tabs: Align interaction backgrounds and focus states (WordPress/gutenberg#84572) - Block Editor: PR 5: Convert the remaining utils and the state style helpers to TypeScript (WordPress/gutenberg#84629) - Remove some stale overrides (WordPress/gutenberg#84674) - Actions API: Register the entity actions on the server (WordPress/gutenberg#84650) - Compose: Convert the remaining files to TypeScript (WordPress/gutenberg#84382) - Navigation Link: Check page create permission only when needed (WordPress/gutenberg#84663) - Dialog: Check story and test sizes against popup prop types (WordPress/gutenberg#84705) - Block Editor: PR 2: Convert the small store modules to TypeScript (WordPress/gutenberg#84616) - Block Editor: PR 3: Convert the store reducer to TypeScript (WordPress/gutenberg#84624) - Block Editor: PR 6: Convert the store selectors to TypeScript (WordPress/gutenberg#84631) - Block Editor: PR 7: Convert the store private selectors to TypeScript (WordPress/gutenberg#84662) - Block Editor: PR 8: Convert the store actions to TypeScript (WordPress/gutenberg#84672) - Menu: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84706) - Blocks: Accept a feature path array in getBlockSupport and hasBlockSupport (WordPress/gutenberg#84708) - Block Editor: PR 4: Convert the shared component modules to TypeScript (WordPress/gutenberg#84625) - Blocks: Type the background clip, gradient, position and repeat supports (WordPress/gutenberg#84709) - Block Editor: PR 9: Convert the store defaults, getBlockSettings and index to TypeScript (WordPress/gutenberg#84677) - Link: Add a small radius for consistent focus rings (WordPress/gutenberg#84697) - Remove the autosave failure notice once a later save succeeds (WordPress/gutenberg#84649) - CI: Expire large workflow artifacts sooner (WordPress/gutenberg#84525) - Changes to custom CSS from core review (WordPress/gutenberg#84757) - Rename inspector and toolbar style-states slots for consistency (WordPress/gutenberg#84598) - Patterns: List synced patterns the user can read but not edit in the inserter (WordPress/gutenberg#84661) - PR meta: Write sections on stacked pull requests (WordPress/gutenberg#84703) - Media Inserter: visually clear the grid and use a loading state spinner when switching categories (WordPress/gutenberg#84667) - ESLint: Make jsdoc/escape-inline-tags an error (WordPress/gutenberg#84701) - Block Editor: Type isValueSpacingPreset as returning a boolean (WordPress/gutenberg#84730) - Cover: Decode the oEmbed iframe source before parsing its query string (WordPress/gutenberg#83770) - Block Editor: Preserve rich text selection on Shift+click within the same block (WordPress/gutenberg#84579) - Build: Remove Emotion compiler tooling (WordPress/gutenberg#84707) - Pattern block: Load the view record, and the edit record only once it's loaded (WordPress/gutenberg#84799) - PostURL: Remove double focus ring outline (WordPress/gutenberg#84694) - LinkControl: Use design system focus ring for link preview (WordPress/gutenberg#84695) - Notice: Match dismiss controls and titles to status colors (WordPress/gutenberg#84571) - BaseControl: Remove unsupported `as` prop from types and docs (WordPress/gutenberg#70064) - Avatar: Add shared initials and improve fallbacks (WordPress/gutenberg#84653) - Search: Add minimum width and height support (WordPress/gutenberg#83977) - Revisions: Meet AA contrast for the inline del diff without an opacity filter (WordPress/gutenberg#82258) - CustomGradientPicker: Keep the color interpolation method when editing a gradient (WordPress/gutenberg#84383) - Post Navigation Link: Add background image, size, and gradient support (WordPress/gutenberg#83940) - Notes: Drop misleading aria-haspopup from Add note menu item (WordPress/gutenberg#84818) - RichText: Derive active formats at the caret for input and paste (WordPress/gutenberg#84303) - Editor: Fix long author name overflowing the Post sidebar panel (WordPress/gutenberg#84165) - Interactivity API: Fix late `data-wp-html` values, throwing functions and directive conflicts (WordPress/gutenberg#84652) - FontAppearanceControl: Migrate to @wordpress/ui (WordPress/gutenberg#84716) - Kebab Case: Convert the tests to TypeScript (WordPress/gutenberg#84825) - Date: Convert the tests to TypeScript (WordPress/gutenberg#84830) - Block Editor: PR 10: Convert the hook utils, block style state and Global Styles hooks to TypeScript (WordPress/gutenberg#84720) - Block Editor: PR 11: Convert the block support helpers to TypeScript (WordPress/gutenberg#84721) - Block Editor: PR 12: Convert the layout helpers and block gap utils to TypeScript (WordPress/gutenberg#84722) - Block Editor: PR 13: Convert the block attribute filter hooks to TypeScript (WordPress/gutenberg#84723) - SelectControl: Migrate date format and preset input consumers to @wordpress/ui (WordPress/gutenberg#84584) - Changelog validation: Reject blank lines between Unreleased entries (WordPress/gutenberg#84804) - DataViews: Convert the filterSortAndPaginate tests to TypeScript (WordPress/gutenberg#84836) - ESLint: Allow design token references in component JavaScript (WordPress/gutenberg#84827) - babel-preset-default: Add polyfill list to generated bundle (WordPress/gutenberg#84835) - Tests: Use a strict assertion in block template tests (WordPress/gutenberg#84683) - Tests: Use a strict assertion in PHPUnit environment setup tests (WordPress/gutenberg#84686) - Core Data: Keep read-only taxonomy fields out of collaborative edits (WordPress/gutenberg#84838) - Select: Preserve scrolling when item alignment falls back (WordPress/gutenberg#84682) - Search: Don't clip the button focus outline when the field is collapsed (WordPress/gutenberg#84685) - List View: Show appender in contentOnly locked sections (WordPress/gutenberg#84713) - Raise the PHP request time limit for the iOS tests (WordPress/gutenberg#84741) - Env: Use the matching wordpress-develop branch for pre-release PHPUnit tests (WordPress/gutenberg#84758) - Editor: Keep a preview canvas from adopting the entity's selection (WordPress/gutenberg#84832) - Core fields: Register the default fields of WordPress on the server (WordPress/gutenberg#84696) - Editor: Read the entity fields from the server (WordPress/gutenberg#84700) - iOS tests: run the editor in a web view instead of Safari (WordPress/gutenberg#84859) - BorderBoxControl: Unpack multi-value shorthand width when unlinking border sides (WordPress/gutenberg#84826) - Actions API: Extract the core actions into the `@wordpress/core-actions` script modules (WordPress/gutenberg#84643) - Global Styles: Remove preset items of unexpected types to avoid fatals (WordPress/gutenberg#84534) - Media: Skip auto-attach on save when attachment pages are enabled (WordPress/gutenberg#84851) - Block Editor: PR 14: Convert InspectorControls to TypeScript (WordPress/gutenberg#84725) - Block Editor: PR 15: Convert the anchor and custom class name hooks to TypeScript (WordPress/gutenberg#84726) - Block Editor: PR 16: Convert the auto-generated inspector controls to TypeScript (WordPress/gutenberg#84727) - Block Editor: PR 17: Convert the zoom out and content only section hooks to TypeScript (WordPress/gutenberg#84731) - Block Editor: PR 18: Convert BlockControls to TypeScript (WordPress/gutenberg#84733) - Block Editor: PR 19: Convert the flow layout to TypeScript (WordPress/gutenberg#84734) - Block Editor: PR 20: Convert BlockPopover, the color and gradient controls, BlockTitle, useBlockDisplayInformation and MediaUpload to TypeScript (WordPress/gutenberg#84813) - Media Inserter: Add a FilePreview component for rendering audio or other non image/video files (WordPress/gutenberg#84882) - Data Controls: Convert the tests to TypeScript (WordPress/gutenberg#84852) - Undo Manager: Convert the tests to TypeScript (WordPress/gutenberg#84895) - Build: Fix `npm run dev` failing on the patterns tsconfig comment (WordPress/gutenberg#84898) - Snackbar: Keep snackbars with an action on screen longer (WordPress/gutenberg#84842) - DatePicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84724) - Fields: Remove the fields that moved to @wordpress/core-fields (WordPress/gutenberg#84897) - FocalPointPicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84736) - Notes: Remove divider between canvas and floating notes (WordPress/gutenberg#84850) - SelectControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84732) - Core Actions: Register the core actions on the server (WordPress/gutenberg#84660) - InputControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84728) - Tabs: Show design system focus ring on tab panels (WordPress/gutenberg#84914) - PostURL: Use `@wordpress/ui` Link for post URL link (WordPress/gutenberg#84820) - URL: Convert the tests to TypeScript (WordPress/gutenberg#84916) - Framework: Improve AGENTS.md guidance around running package scripts (WordPress/gutenberg#84195) - Components: Remove Emotion from the context system (WordPress/gutenberg#84925) - Interactivity API: Keep server-rendered data-wp-html content for the server's token representation (WordPress/gutenberg#84889) - Badge: Clarify that badges should not be interactive (WordPress/gutenberg#84920) - SelectControl: Add a trigger slot for props and content (WordPress/gutenberg#84828) - ESLint: Require TypeScript for new files (WordPress/gutenberg#84829) - Private APIs: Convert the tests to TypeScript (WordPress/gutenberg#84901) - Navigation: Edit links in a popover from the sidebar List View (WordPress/gutenberg#84005) - Block Editor: PR 21: Convert LinkControl and URLInput to TypeScript (WordPress/gutenberg#84844) - Block Editor: PR 22: Convert Warning, BlockEdit and PrivateBlockContext to TypeScript (WordPress/gutenberg#84846) - Block Editor: PR 23: Convert the layouts and the alignment controls to TypeScript (WordPress/gutenberg#84847) - Link: Keep the new-tab indicator with the link text (WordPress/gutenberg#84806) - Interactivity API: Optimize toVdom walk() (WordPress/gutenberg#81699) - Bump the github-actions group across 2 directories with 7 updates (WordPress/gutenberg#84937) - Components: Remove unused Emotion styling utilities (WordPress/gutenberg#84929) - List View: Allow nesting with top level items (WordPress/gutenberg#84856) - Login/out: Mark the block as content (WordPress/gutenberg#84849) - Block Editor: PR 24: Convert the typography controls to TypeScript (WordPress/gutenberg#84848) - Block Editor: PR 25: Convert the color utilities and controls to TypeScript (WordPress/gutenberg#84875) - Block Editor: PR 26: Convert the block visibility, lock and bindings components to TypeScript (WordPress/gutenberg#84876) - Block Editor: PR 27: Convert the image dimension tools to TypeScript (WordPress/gutenberg#84877) - Block Editor: PR 28: Convert PresetInputControl to TypeScript (WordPress/gutenberg#84878) - Block Editor: PR 29: Convert URLPopover and LinkPicker to TypeScript (WordPress/gutenberg#84879) - Block Editor: PR 30: Convert BorderRadiusControl and DimensionControl to TypeScript (WordPress/gutenberg#84880) - Block Editor: PR 31: Convert the keyboard shortcuts, ObserveTyping and Typewriter to TypeScript (WordPress/gutenberg#84902) - Block Editor: PR 32: Convert the block drop, paste styles and block command hooks to TypeScript (WordPress/gutenberg#84906) - Block Editor: PR 33: Convert SpacingSizesControl, the line height hook and the spacing visualizer to TypeScript (WordPress/gutenberg#84907) - Block Editor: PR 34: Convert the contrast checker, block bindings, block style variation and position hooks to TypeScript (WordPress/gutenberg#84908) - Block Editor: PR 35: Convert the alignment, heading level, HTML element, unit and height controls to TypeScript (WordPress/gutenberg#84912) - Block Editor: PR 36: Convert the inserter listbox, BlockCard, block variation and inspector leaves to TypeScript (WordPress/gutenberg#84913) - Block Editor: PR 37: Convert BlockEditorProvider and useBlockSync to TypeScript (WordPress/gutenberg#84915) - Block Editor: PR 38: Convert WritingFlow to TypeScript (WordPress/gutenberg#84918) - Block Editor: PR 39: Convert Iframe, EditorStyles, NavigableToolbar, CopyHandler and BlockBreadcrumb to TypeScript (WordPress/gutenberg#84922) - Block Editor: PR 40: Convert MediaPlaceholder and ImageEditor to TypeScript (WordPress/gutenberg#84923) - Show the browser backup's date and compare it before restoring (WordPress/gutenberg#84735) - Generate animated image sub-sizes for animated uploads (WordPress/gutenberg#80385) - Avatar: Add an optional color ring (WordPress/gutenberg#84822) - Tests: Use a strict assertion in background block support tests (WordPress/gutenberg#84883) - Tests: Use strict assertions in layout block support tests (WordPress/gutenberg#84884) - Tests: Use a strict assertion in typography block support tests (WordPress/gutenberg#84885) - Tests: Use strict assertions in REST icons controller tests (WordPress/gutenberg#84886) - Tests: Use strict assertions in hierarchical sort tests (WordPress/gutenberg#84887) - Tests: Use strict assertions in navigation link variations tests (WordPress/gutenberg#84888) - Components: Replace remaining Emotion test and story fixtures (WordPress/gutenberg#84926) - Connectors: preload REST API responses on the Connectors screen (WordPress/gutenberg#77353) - Add emoji reactions to notes! ❤️ 🎉 😄 👀 🚀 (WordPress/gutenberg#76767) - Editor: add copy option for save failures & a "show/hide details" button (WordPress/gutenberg#82496) - Upload Media: Convert the private actions tests to TypeScript (WordPress/gutenberg#84930) - Format Library: Convert the tests to TypeScript (WordPress/gutenberg#85032) - StyleProvider: Remove the Emotion cache (WordPress/gutenberg#85019) - Scripts: Run e2e tests against the configured wp-env test environment (WordPress/gutenberg#84654) - Notes: Skip the reaction summary pre-fetch when core already does it (WordPress/gutenberg#85047) - Navigation Link: Apply "Open in new tab" from the link popover (WordPress/gutenberg#83506) - Media auto-attach: For published posts, only attach newly added image ids (WordPress/gutenberg#84890) - Drag a multi-selection by pressing anywhere inside it (WordPress/gutenberg#81602) - Mark non-breaking spaces with a red dot and add a button to replace them (WordPress/gutenberg#84737) - Duotone: Sync unsupported attribute type guard from Core (WordPress/gutenberg#84801) - Post Title: Add fit text support. (WordPress/gutenberg#83036) - Ensure "hide block tools" text isn't wider than button background. (WordPress/gutenberg#85051) - Editor restoreRevisions: if there are unsaved changes, save these as a revision before restoring a revision (WordPress/gutenberg#84590) - Allow block toolbar to wrap when text labels are enabled (WordPress/gutenberg#84802) - Post slug: Derive the slug preview from the current title instead of `generated_slug` (WordPress/gutenberg#84893) - DataViews and Storybook: Remove unused Emotion dependencies (WordPress/gutenberg#85021) - Components: Update guidance after the Emotion migration (WordPress/gutenberg#85020) - URL: Make `cleanForSlug` match WordPress core's `sanitize_title()` (WordPress/gutenberg#84896) - Notes: Make the "Add note" toolbar button add-only and drop the avatars (WordPress/gutenberg#84635) - Components: Finish Emotion dependency and test cleanup (WordPress/gutenberg#85022) - feat: Add dry-run optional param in cherry-pick script (WordPress/gutenberg#78878) - Build: Update Terrazzo token tools to 2.9.0 (WordPress/gutenberg#85067) - Tabs: Expand vertical interaction backgrounds and focus rings (WordPress/gutenberg#84821) - Build: Update Testing Library user-event to 14.6.8 (WordPress/gutenberg#85068) - Components: Retire completed Emotion migration guidance (WordPress/gutenberg#85023) - Use `Select` for remaining `SelectControl` `variant="minimal"` call sites (WordPress/gutenberg#83035) - Patterns: Rename the inserter's "My patterns" to "Site patterns" and add an author filter (WordPress/gutenberg#84680) - Storybook: present motion tokens as an MDX docs page (WordPress/gutenberg#85080) - Avatar: Add colored fallbacks with foreground tinting (WordPress/gutenberg#84824) - FontFamilyControl: Migrate to @wordpress/ui (WordPress/gutenberg#84715) - Project management automation: Move to tools as an internal action (WordPress/gutenberg#85087) - Build: Update Ariakit to 0.4.42 (WordPress/gutenberg#85066) - Block editor: Remove unused internal helpers (WordPress/gutenberg#85092) - Stylelint: Consolidate Lint rules for simplification (WordPress/gutenberg#71235) - Tools: Migrate project-management-automation to TS (WordPress/gutenberg#71193) - Notes: Improve how anchor highlight and connect to content (WordPress/gutenberg#80578) - Upload media: Remove unused filename helpers (WordPress/gutenberg#85094) - Global Styles UI: Remove unused preview and wrappers (WordPress/gutenberg#85093) - Components: Remove case-conversion dependencies (WordPress/gutenberg#85098) - Components: Remove unused internal helpers (WordPress/gutenberg#85091) - ESLint: Remove an unused comments-plugin dependency (WordPress/gutenberg#85102) - Icons: Ship popular icons to `core-admin` collection (WordPress/gutenberg#85072) - Storybook: add more visual pages for all tokens (WordPress/gutenberg#84373) - Warning: Convert the tests to TypeScript (WordPress/gutenberg#85085) - Text: Simplify the internal highlighter (WordPress/gutenberg#85101) - Site Editor: Show the inserter for an empty Navigation Menu in the sidebar (WordPress/gutenberg#84003) - Components: Remove obsolete JavaScript style configuration (WordPress/gutenberg#85038) - Editor: Stabilize the DataForm-based inspector (WordPress/gutenberg#85081) - Entity Actions: Fix the taxonomy collision test against core trunk (WordPress/gutenberg#85146) - Core Actions, Core Fields: Translate the labels with the default text domain (WordPress/gutenberg#85139) - Global Styles: List elements alongside blocks (WordPress/gutenberg#81645) - Global Styles: Preview the selected state on element screens (WordPress/gutenberg#83787) - Block Toolbar: Only show the parent selector plus when no allowed block splits (WordPress/gutenberg#84645) - Navigation: List only the blocks the sidebar supports in its link search (WordPress/gutenberg#85122) - Show a countdown to the next autosave after an autosave fails (WordPress/gutenberg#84656) - LinkControl: Use `@wordpress/ui` Link for preview link (WordPress/gutenberg#84819) - PR meta: Log fallback bodies verbatim and keep query strings in run links (WordPress/gutenberg#85119) - Don't promise a browser backup in save failure notices (WordPress/gutenberg#84948) - Components: Simplify RangeControl, Tabs, and BorderBoxControl styles (WordPress/gutenberg#85086) - Media Inserter: Dynamically change page size when categories are switched, based on window height (WordPress/gutenberg#85053) - Block Editor: PR 41: Convert useBlockDropZone to TypeScript (WordPress/gutenberg#84946) - Block Editor: PR 42: Convert BlockManager, PublishDateTimePicker and the fit text hook to TypeScript (WordPress/gutenberg#84949) - Move a dragged text selection (WordPress/gutenberg#81603) - Explain autosave failures with no response, and show the HTTP status (WordPress/gutenberg#85157) - Block Supports: Share the state text clip helpers with theme.json (WordPress/gutenberg#85057) - Icons: Mirror the tag icons to match the other angled icons (WordPress/gutenberg#84675) - Block Editor: Include migration hint in useSetting deprecation warning (WordPress/gutenberg#85100) - PresetInputControl: Use SelectControl for preset dropdowns (WordPress/gutenberg#84936) - Table of Contents: Read headings from the post in block context (WordPress/gutenberg#85040) - Template field: Show the default template instead of the `Select` placeholder (WordPress/gutenberg#85167) - Components: Add size prop to `RangeControl` (WordPress/gutenberg#69844) - Use the null coalescing assignment operator in singleton getters (WordPress/gutenberg#85174) - SearchableSelect: Add trigger slots for props and content (WordPress/gutenberg#84934) - Blocks: Clarify button background comment and template part error string (WordPress/gutenberg#85176) - WP Build: Support importing SVG files as inlined data URIs (WordPress/gutenberg#85147) - Tests: Add Component Tests for DuotonePicker Component (WordPress/gutenberg#69264) - Custom CSS: Generate styles for blocks rendered by their parent block (WordPress/gutenberg#82590) - Site Editor: Preload the entity actions of the screen (WordPress/gutenberg#85155) - Dataviews bulk actions discoverability (WordPress/gutenberg#82730) - Global Styles: Add pseudo-selector support for text inputs (WordPress/gutenberg#71634) - Global Styles: Add pseudo-selector support for select elements (WordPress/gutenberg#81644) Props mamaduka, jorgefilipecosta. See #66340 Built from https://develop.svn.wordpress.org/trunk@64599 git-svn-id: http://core.svn.wordpress.org/trunk@63749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
What?
Closes #38865
Ignores the drag-to-change-value gesture on touch devices in
InputControl, and therefore inNumberControlandUnitControltoo.Why?
The gesture has no
cursoraffordance on touch, so nothing tells you it exists, and it is easy to trigger by accident: a flick while trying to tap into the field or move the caret changes the value instead. #38865 also notes the gesture doesn't behave well on touch to begin with, since browser scrolling isn't suppressed for it.How?
InputField'suseDraghandler now returns early when the gesture comes from a touch pointer —event.pointerType === 'touch', or atouch*event wherePointerEventisn't used. Mouse and pen dragging are untouched, and no other behaviour of the control changes.Added a unit test that drives the gesture with touch events and asserts
onChangeis never called and the value is unchanged. Without the fix the test fails with twoonChangecalls.Testing Instructions
UnitControl/NumberControlis visible (padding, for example).Unit tests:
Testing Instructions for Keyboard
Focus the number field and use ArrowUp/ArrowDown, and Shift+ArrowUp/ArrowDown — stepping is unaffected by this change.
Use of AI Tools
AI tooling (Claude Code) was used while investigating the issue, drafting the change and writing the unit test. I reviewed the result, confirmed the test fails without the fix and passes with it, and take responsibility for the code in this PR.