Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[pull] trunk from WordPress:trunk #68

Merged
merged 353 commits into from
Jul 18, 2024
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Jun 30, 2024

See Commits and Changes for more details.


Created by pull[bot]

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

Copy link

github-actions bot commented Jun 30, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @gutenbergplugin.

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.

Unlinked contributors: gutenbergplugin.

Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: oandregal <oandregal@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: akasunil <sunil25393@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: noisysocks <noisysocks@git.wordpress.org>
Co-authored-by: afercia <afercia@git.wordpress.org>
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
Co-authored-by: tellthemachines <isabel_brison@git.wordpress.org>
Co-authored-by: richtabor <richtabor@git.wordpress.org>
Co-authored-by: geriux <geriux@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
Co-authored-by: iamibrahimriaz <ibrahimriaz@git.wordpress.org>
Co-authored-by: aliaghdam <aliaghdam@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: michalczaplinski <czapla@git.wordpress.org>
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
Co-authored-by: shreya0204 <shreya0204@git.wordpress.org>
Co-authored-by: jorgefilipecosta <jorgefilipecosta@git.wordpress.org>
Co-authored-by: SantosGuillamot <santosguillamot@git.wordpress.org>
Co-authored-by: MaggieCabrera <onemaggie@git.wordpress.org>
Co-authored-by: ockham <bernhard-reiter@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: scruffian <scruffian@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Co-authored-by: amitraj2203 <amitraj2203@git.wordpress.org>
Co-authored-by: mattsherman <mattormeeple@git.wordpress.org>
Co-authored-by: jeryj <jeryj@git.wordpress.org>
Co-authored-by: talldan <talldanwp@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

mirka and others added 29 commits July 5, 2024 21:07
Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: DaniGuardiola <daniguardiola@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
)

Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
* BaseControl: forward ref on VisualLabel

* Remove unnecessary @ts-expect-error

* CHANGELOG
…tion (#63046)

Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
…63187)

Co-authored-by: oandregal <oandregal@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
* DateFormatPicker: use CustomSelectControl V2 legacy adapter

* Remove unnecessary styles
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: akasunil <sunil25393@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
Co-authored-by: richtabor <richtabor@git.wordpress.org>
Co-authored-by: jennydupuy <jdy68@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
…3112)

* Grid layout: Use numbers instead of strings for layout attributes

Ensure columnCount, rowCount, columnStart, rowStart, columnSpan, and
rowSpan are always serialized into block attributes as a number, not
a string. Previously we were inconsistent.

* I am dumb

* Update migration comment

* Unset columnCount instead of setting it to null

* Unset minimumColumnWidth instead of setting it to an empty string

* Show slider at 0 if there is no columnCount set

* Handle empty strings and invalid numbers in migration
Replace tooltip and ariaLabel with label to ensure that the "Remove shadow" button is labeled.

Co-authored-by: afercia <afercia@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
Co-authored-by: daviedR <daviedr@git.wordpress.org>
Co-authored-by: tellthemachines <isabel_brison@git.wordpress.org>
Co-authored-by: noisysocks <noisysocks@git.wordpress.org>
Co-authored-by: richtabor <richtabor@git.wordpress.org>
Co-authored-by: tellthemachines <isabel_brison@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
Co-authored-by: annezazu <annezazu@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>
Co-authored-by: YanCol <collet@git.wordpress.org>
* Add unit tests

* Use ariakit's labelling logic even when the label is visually hidden

* CHANGELOG

* Use BaseControl.VisualLabel
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: jsnajdr <jsnajdr@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: talldan <talldanwp@git.wordpress.org>
Co-authored-by: stokesman <presstoke@git.wordpress.org>
* Mobile - Remove themes from the allowed API endpoints due to an issue with the Android implementation

* React Native Editor - Update CHANGELOG

* Native API Fetch setup - Update comment for disabling the themes endpoint

Co-authored-by: geriux <geriux@git.wordpress.org>
Co-authored-by: dcalhoun <dpcalhoun@git.wordpress.org>
* RangeControl: Fix RTL support for custom marks

* CHANGELOG

Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>
* CustomSelectControlV2: allow checkmark wrapper to collapse when not shown

* CHANGELOG

---

Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
)

* FontAppearanceControl: use CustomSelectControl V2 legacy adapter

* Remove unnecessary __nextHasNoMarginBottom and avoid console error

---

Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>
#63076)

Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: mtias <matveb@git.wordpress.org>
Co-authored-by: talldan <talldanwp@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
Co-authored-by: noisysocks <noisysocks@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: gziolo <gziolo@git.wordpress.org>
* CustomSelectControlV2: keep item checkmark top aligned

* CHANGELOG

---

Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Unlinked contributors: iamibrahimriaz.

Co-authored-by: fabiankaegy<fabiankaegy@git.wordpress.org>
* feat: custom class name support for Tooltip component

* test: add custom class name tests for Tooltip component

* chore: changelog update

* chore: improve comment

* chore: fix string literals

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

* fix: use clx for classname

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

* fix: changelog

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

* fix: merge tests

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

* fix: import clx

* fix: props order

* chore: improve test name

* fix: changelog

* chore: props order

* chore: remove empty line

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

* chore: remove internal class name from prop description.

Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com>

---------

Co-authored-by: aliaghdam <aliaghdam@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
* TimePicker: Fix time zone overflow

* Add changelog

Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
gutenbergplugin and others added 29 commits July 17, 2024 05:15
Co-authored-by: akasunil <sunil25393@git.wordpress.org>
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
Co-authored-by: oandregal <oandregal@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
…reeSelect (#63633)

* Add margin-bottom lint rules for FocalPointPicker, TextareaControl, TreeSelect

* Exclude stories and tests

* Fixup

* Fixup again

Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
If a `block.json`'s `variations` field is set to a (PHP) file name, include that file in the build, i.e. prefix its functions with `gutenberg_` and copy the resulting file to the `build/block-library/blocks/` directory.

Note that this applies to third-party blocks, but not Core blocks. Making it work for Core blocks is a separate issue: #63077.

Co-authored-by: ockham <bernhard-reiter@git.wordpress.org>
Co-authored-by: SantosGuillamot <santosguillamot@git.wordpress.org>
* Core Data: Resolve user capabilities when fetching an entity
* Mark canUser selector as resolved
* Fix unit tests
* Dedupe logic
* Showcase: Update Pattern block to benefit from new user permission resolutions
* Clarify comment

Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: jsnajdr <jsnajdr@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: jorgefilipecosta <jorgefilipecosta@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
…#63486)

* Rename Button describedBy prop to description and deprecate old name.

* Update readme.

* Remove leftover and add changelog entry.

* Update one more occurrence of describedBy prop.

* Update one more describedBy occurrence in BlockAlignmentUI native file.

Co-authored-by: afercia <afercia@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: geriux <geriux@git.wordpress.org>
… to the docs (#63528)

* Reapply changes to fix bad rebase.

* Update import for entity-provider.js tests.

* Create a common EntityContext and import to appropriate places.

Co-authored-by: ryanwelcher <welcher@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: Taigistal <silaskoehler@git.wordpress.org>
Remove function `getRenderPropPaths()` from the `@wordpress/scripts` package.

As of #63098, it is no longer used anywhere in Core. It has also never been part of the package's public interface.

Co-authored-by: ockham <bernhard-reiter@git.wordpress.org>
Co-authored-by: gziolo <gziolo@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: Rishit30G <rishit30g@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
* SelectControl: Add `isBorderless` prop

* Switch to `variant`

* Add `field-sizing` styles

* Add InputBase styles

* Add changelog

* Fixup

* Fixup changelog

* Rename "borderless" to "minimal"

* Fix in `labelPosition="edge"`

Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: akasunil <sunil25393@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
Co-authored-by: akasunil <sunil25393@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
…sure it's not included in documentation. (#63673)

Unlinked contributors: aduth.

Co-authored-by: ryanwelcher <welcher@git.wordpress.org>
Co-authored-by: gziolo <gziolo@git.wordpress.org>
* alpine vs preact extra explanations

* Update docs/reference-guides/interactivity-api/iapi-faq.md

---------

Co-authored-by: Luis Herranz <luisherranz@gmail.com>
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
Co-authored-by: artemiomorales <artemiosans@git.wordpress.org>
Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
Co-authored-by: paaljoachim <paaljoachim@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Co-authored-by: richtabor <richtabor@git.wordpress.org>
* Add unit tests

* Refactor code and extract logic

* Sync JS docs

* CHANGELOG

* Further simplify logic

* Inline `getPickerType` utility

* Inline `getHeaderHint` and `shouldUseSelectOverToggle` utilities, refactor to switch statement.

* toBeInTheDocument() => toBeVisible()

* Move units back at the start of the render function for a smaller diff

---

Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
* Add border support to term description block

* Add box sizing style to term description block

Co-authored-by: akasunil <sunil25393@git.wordpress.org>
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
* ColorPicker: Use `minimal` variant for SelectControl

* Add changelog

Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
…archControl (#63679)

Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
* Hide content image when lightbox is opened

* Handle duplicate image when closing lightbox as well

* Remove styling for prefers reduced motion

* Rename state getters

* Hide captions in galleries when opening lightbox

* Revert "Hide captions in galleries when opening lightbox"

This reverts commit 40c28b9.
@carstingaxion carstingaxion merged commit 3dcc86b into carstingaxion:trunk Jul 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.