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 <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: oandregal <[email protected]>
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: akasunil <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: noisysocks <[email protected]>
Co-authored-by: afercia <[email protected]>
Co-authored-by: aaronrobertshaw <[email protected]>
Co-authored-by: tellthemachines <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: geriux <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: iamibrahimriaz <[email protected]>
Co-authored-by: aliaghdam <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: michalczaplinski <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: shreya0204 <[email protected]>
Co-authored-by: jorgefilipecosta <[email protected]>
Co-authored-by: SantosGuillamot <[email protected]>
Co-authored-by: MaggieCabrera <[email protected]>
Co-authored-by: ockham <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: scruffian <[email protected]>
Co-authored-by: carolinan <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: amitraj2203 <[email protected]>
Co-authored-by: mattsherman <[email protected]>
Co-authored-by: jeryj <[email protected]>
Co-authored-by: talldan <[email protected]>

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 <[email protected]>
Co-authored-by: DaniGuardiola <[email protected]>
Co-authored-by: tyxla <[email protected]>
* BaseControl: forward ref on VisualLabel

* Remove unnecessary @ts-expect-error

* CHANGELOG
* DateFormatPicker: use CustomSelectControl V2 legacy adapter

* Remove unnecessary styles
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: akasunil <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: jennydupuy <[email protected]>
…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 <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: carolinan <[email protected]>
Co-authored-by: mirka <[email protected]>
Co-authored-by: aaronrobertshaw <[email protected]>
Co-authored-by: andrewserong <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: daviedR <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: tellthemachines <[email protected]>
Co-authored-by: andrewserong <[email protected]>
Co-authored-by: annezazu <[email protected]>
Co-authored-by: carolinan <[email protected]>
Co-authored-by: YanCol <[email protected]>
* Add unit tests

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

* CHANGELOG

* Use BaseControl.VisualLabel
* 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 <[email protected]>
Co-authored-by: dcalhoun <[email protected]>
* RangeControl: Fix RTL support for custom marks

* CHANGELOG

Co-authored-by: tyxla <[email protected]>
Co-authored-by: mirka <[email protected]>
* CustomSelectControlV2: allow checkmark wrapper to collapse when not shown

* CHANGELOG

---

Co-authored-by: ciampo <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: t-hamano <[email protected]>
)

* FontAppearanceControl: use CustomSelectControl V2 legacy adapter

* Remove unnecessary __nextHasNoMarginBottom and avoid console error

---

Co-authored-by: ciampo <[email protected]>
Co-authored-by: mirka <[email protected]>
#63076)

Co-authored-by: youknowriad <[email protected]>
Co-authored-by: mtias <[email protected]>
Co-authored-by: talldan <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: noisysocks <[email protected]>
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: gziolo <[email protected]>
* CustomSelectControlV2: keep item checkmark top aligned

* CHANGELOG

---

Co-authored-by: ciampo <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Unlinked contributors: iamibrahimriaz.

Co-authored-by: fabiankaegy<[email protected]>
* 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 <[email protected]>

* fix: use clx for classname

Co-authored-by: Marin Atanasov <[email protected]>

* fix: changelog

Co-authored-by: Marin Atanasov <[email protected]>

* fix: merge tests

Co-authored-by: Marin Atanasov <[email protected]>

* fix: import clx

* fix: props order

* chore: improve test name

* fix: changelog

* chore: props order

* chore: remove empty line

Co-authored-by: Marin Atanasov <[email protected]>

* chore: remove internal class name from prop description.

Co-authored-by: Marco Ciampini <[email protected]>

---------

Co-authored-by: aliaghdam <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: ciampo <[email protected]>
* TimePicker: Fix time zone overflow

* Add changelog

Co-authored-by: mirka <[email protected]>
Co-authored-by: tyxla <[email protected]>
gutenbergplugin and others added 29 commits July 17, 2024 05:15
Co-authored-by: akasunil <[email protected]>
Co-authored-by: aaronrobertshaw <[email protected]>
Co-authored-by: oandregal <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: youknowriad <[email protected]>
…reeSelect (#63633)

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

* Exclude stories and tests

* Fixup

* Fixup again

Co-authored-by: mirka <[email protected]>
Co-authored-by: ciampo <[email protected]>
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 <[email protected]>
Co-authored-by: SantosGuillamot <[email protected]>
* 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 <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: jsnajdr <[email protected]>
Co-authored-by: tyxla <[email protected]>
…#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 <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: geriux <[email protected]>
… 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 <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: Taigistal <[email protected]>
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 <[email protected]>
Co-authored-by: gziolo <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: Rishit30G <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: jameskoster <[email protected]>
* 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 <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: jasmussen <[email protected]>
…sure it's not included in documentation. (#63673)

Unlinked contributors: aduth.

Co-authored-by: ryanwelcher <[email protected]>
Co-authored-by: gziolo <[email protected]>
* alpine vs preact extra explanations

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

---------

Co-authored-by: Luis Herranz <[email protected]>
Co-authored-by: aaronrobertshaw <[email protected]>
Co-authored-by: artemiomorales <[email protected]>
Co-authored-by: fabiankaegy <[email protected]>
Co-authored-by: andrewserong <[email protected]>
Co-authored-by: aaronrobertshaw <[email protected]>
Co-authored-by: fabiankaegy <[email protected]>
Co-authored-by: carolinan <[email protected]>
Co-authored-by: aaronrobertshaw <[email protected]>
Co-authored-by: andrewserong <[email protected]>
Co-authored-by: paaljoachim <[email protected]>
Co-authored-by: carolinan <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: richtabor <[email protected]>
* 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 <[email protected]>
Co-authored-by: mirka <[email protected]>
Co-authored-by: tyxla <[email protected]>
* Add border support to term description block

* Add box sizing style to term description block

Co-authored-by: akasunil <[email protected]>
Co-authored-by: aaronrobertshaw <[email protected]>
* ColorPicker: Use `minimal` variant for SelectControl

* Add changelog

Co-authored-by: mirka <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: tyxla <[email protected]>
* 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.