Skip to content

[pull] trunk from WordPress:trunk #398

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 828 commits into from
May 25, 2022
Merged

[pull] trunk from WordPress:trunk #398

merged 828 commits into from
May 25, 2022

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 22, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Mar 22, 2022
carolinan and others added 29 commits May 4, 2022 06:40
…40671)

* Inherit font style, font weight and text transform
* Add DatePicker tests using React Testing Library

* Add comments to WithInvalidDates story

* Use @testing-library/user-event

* Use getByRole

* Add CHANGELOG entry

* Use toHaveClass
…0705)

* Group grid block properties

Moves items out from a top level property in the BlockListItem props

* Add comment

* Rename prop from gridBlockProps to gridItemProps

* Extract grid item properties in parent

* Flatten grid item props

* Alias Grid index prop to tileIndex in parent components
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
* Build Tools: Update actions/setup-node GitHub action

* Update two more occurrences of hardcoded Node version
* Update react-dates to 21.8.0

* Add changelog entry
…in Node 17+ (#40503)

* Dependency Extraction Webpack Plugin: Use supported OpenSSL provider with Node 17+

* Add CHANGELOG entry
…0798)

* useRefEffect: Replace undefined with void in callback return type

* Add changelog entry
…end of *.assets.php (#40753)

* Packages [Dependency Extraction Webpack Plugin]: add new line at the end of *.assets.php

* Update snapshot since the code has changed
* useSelect: add unit tests for usage without deps

* Add an explainer comment
* Setup `user-event` inline once per test

* CHANGELOG
…40829)

* Theme Export: Use a better method to determine the theme name

* Update lib/compat/wordpress-6.0/class-gutenberg-rest-edit-site-export-controller.php

Co-authored-by: Ari Stathopoulos <[email protected]>

Co-authored-by: Ari Stathopoulos <[email protected]>
…40589)

Explains the strategies core-contributors use to get their code reviewed.

Co-authored-by: Héctor <[email protected]>
Co-authored-by: Dave Smith <[email protected]>
…pe signatures (#40025)

Replaces the jsDoc annotations like `@param {Object}` and `@return {string}` in favor of their TypeScript counterparts. This is the first step towards introducing exhaustive type signatures after #40024 is merged.
* Code Editor: Fix save shortcut
* Refactor to use hooks
* Remove the __experimental prefix from useEntityRecord and useEntityRecords
* Clarify the documentation, use an EMPTY_ARRAY when the useEntityRecords hook is disabled
* Use const enum instead of enum and remove the ts warning suppression
* Change useEntityRecords as useEntityRecords to useEntityRecords
* Add deprecation notice for the experimental signature
ObliviousHarmony and others added 29 commits May 23, 2022 15:50
* Fixed `run` Argument Passing

By enabling the `unknown-options-as-args` parser
option, any options passed to the command that
are not registered will be given to the command
as arguments. This lets us pass them to the
container without quoting them.

Note: --help and --version can't be passed since they
aren't unknown. This is probably fine though and we
can handle that using quotes when necessary.

* Documented Quotes Behavior

Since we no longer require the quotes, this
commit updates the documentation to
explain what cases they are required to
be used. This will keep it from being a
surprise if a command does not behave as
expected.

* Added Changelog Entry
* Migrate html spec test case

* Address Review Feedbacks

* Apply suggestions from code review

Co-authored-by: Pooja Killekar <[email protected]>
Co-authored-by: Kai Hao <[email protected]>
* Remove the mention of navigation-area.php

* Remove navigation areas from tests

* Restore the console warning expectation
…ts and RTL styles (#41254)

* `BorderBoxControl`: fix right border alignment on tablet/mobile viewports

* Fix useMemo missing dependencies

* Make RTL styles dynamic functions

* CHANGELOG

* Add eslint ignore regarding the exhaustive deps rule
* update dependency arrays for react/exhuastive-deps

* BorderControl: update changelog

* remove extra whitespace
* Form Block: Makese the button an element button

* update fixtures
* Button Elemnt: Add support to Site Editor

* remove unconnected changes
* Create Block: Improve block templates

* Include PR number in CHANGELOG files
…ection (#41207)

* [Writing Flow]: Fix browser formatting with shortcuts on mulitple selection

* address feedback
… null. (#41084)

* Env: Allow skipping setting a configuration value by specifying it as null. Fixes #41083

* Env: Add a changelog entry for skipping a constant.

* Env: Document how to override wp-config defaults, and how to prevent them being defined entirely.
* Allow removing bottom margin from SelectControl

* Update changelog
* Use @testing-library/user-event in TimePicker tests

* Update changelog
* Update @types/react-dates

* Update changelog
* add waits to all block - 1st try

* fix failing tests

* correct if else condition

* fix failing cover block test

* update spaces

* update to use new click helper

* wait for blocks to be visible first in getFirstBlock and getLastBlock

* remove length as a parameter

* update timing for long press since it's failing intermittently in ci

* remove deleted param, revert space changes

* remove redundant code

* exit function once condition is met

* increse wait time for long press

* remove unneccesary condition, update message, return click value

Co-authored-by: jos <[email protected]>
* Migrate template part test to playwright

* Apply suggestions from code review

Co-authored-by: Kai Hao <[email protected]>
* Add preformatted block tests

* await page.click( 'role=button[name="Add default block"i]' );

* Update preformatted.spec.js
* TextareaControl: Convert component to TypeScript

* Update CHANGELOG.md

* Update README.md

* Apply feedback from code review

- Alphabetize the props in the readme
- Ensure the comments in the component's types match the readme
- Remove storybook story

Co-Authored-By: Aaron Robertshaw <[email protected]>

* Make default story template match usage example

Co-authored-by: Aaron Robertshaw <[email protected]>
* Migrate code block tests to Playwright

* Remove use of clickBlockAppender() utils

* Use locators where possible

* Use page.click()

Co-authored-by: Kai Hao <[email protected]>
* [Site Editor]: Update single default template copy

* Update lib/compat/wordpress-6.1/block-template-utils.php

Co-authored-by: George Mamadashvili <[email protected]>

Co-authored-by: George Mamadashvili <[email protected]>
@huubl huubl merged commit 9c1c67b into huubl:trunk May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.