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 #66

Merged
merged 255 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
255 commits
Select commit Hold shift + click to select a range
8bd3d46
Perf: batch block list settings in single action (#61329)
ellatrix May 21, 2024
9ea4204
Inspector summary rows: Make tooltips appear middle-left (#61815)
jameskoster May 21, 2024
9e28f24
Update grid layout on small screens (#61820)
jameskoster May 21, 2024
7e24ae4
E2E: Fix canvas waiter in visitSiteEditor (#61816)
WunderBart May 21, 2024
474fdfd
useBlockInspectorAnimationSettings: Remove unnecessary deps (#61822)
Mamaduka May 21, 2024
e1aaee2
Site Editor: Remove the details pages (#61741)
youknowriad May 21, 2024
49f3fe2
[Site Editor]: Add create pattern button in patterns page (#60302)
ntsekouras May 21, 2024
6ee8d10
DataViews: Type all the filters components (#61795)
youknowriad May 21, 2024
f22e423
Fix: Typo in Extending the Query Loop documentation (#61830)
taylorgorman May 21, 2024
538f18d
Documentation: Add PostURL component docs (#61737)
kellenmace May 21, 2024
dd4e2dd
Add docblock to PostTitle and PostTitleRaw component (#61740)
sanjucta May 21, 2024
af00619
Added doc for PostFeaturedImage components (#61165)
akasunil May 21, 2024
7670281
Added doc for PostLastRevision components (#61166)
akasunil May 21, 2024
f306978
Workflows: test to check for label and skip backport changelog (#61808)
ramonjd May 21, 2024
f937edd
Fix an issue causing wp-scripts commands to fail if the file path con…
kellenmace May 22, 2024
c70633d
History: add getLocationWithParams method (#61823)
jsnajdr May 22, 2024
f306096
React: Upgrade to the new JSX transform (#61692)
youknowriad May 22, 2024
448e855
Style Book: Use state to initialize examples (#61848)
Mamaduka May 22, 2024
25c9ddf
DataViews: Remove non-used file (#61853)
youknowriad May 22, 2024
cef484e
Zoom out: Render in-between inserters when selected (#61559)
draganescu May 22, 2024
e7eb60a
withRegistryProvider: prevent intermediate state with no children (#6…
jsnajdr May 22, 2024
6e8c261
Tooltip: Fix Ariakit tooltip store usage (#61858)
tyxla May 22, 2024
66d35c1
Shadow: add unit tests for shadow support (#60063)
madhusudhand May 22, 2024
f2d1937
Make color variations fit in a bit better visually (#61617)
richtabor May 22, 2024
8075cb1
Global Styles: Filter out color and typography variations (#61327)
scruffian May 22, 2024
a53dee6
Editor: Unify the content area of the post and site editors (#61860)
youknowriad May 22, 2024
6108134
Consolidate and fix `rename` post action (#61857)
ntsekouras May 22, 2024
528edb0
Post Actions: Hide the trash action for auto-drafts (#61865)
Mamaduka May 22, 2024
51775a1
Remove additional call to `WP_Theme_JSON_Gutenberg::__construct` (#61…
kt-12 May 22, 2024
ef1d966
Inserter: Only always show the inserter when the zoom out experiment …
scruffian May 22, 2024
aecf863
Fix positioning for panel close icon to be consistent across panels (…
richtabor May 22, 2024
7e04961
Enable the test before we run the E2E test
scruffian May 22, 2024
c43627a
Revert "Enable the test before we run the E2E test"
scruffian May 22, 2024
9722b82
Zoom Out: Hide inserters behind the experiment flag (#61866)
scruffian May 22, 2024
22622bf
Try: Add CSS Custom Properties to CSS types (#61872)
DaniGuardiola May 22, 2024
6fbc6c7
Commands: Unify the editor context between post and site editors (#61…
youknowriad May 22, 2024
f029914
Return an empty object when no fallback templates are found (wp/v2/te…
creativecoder May 22, 2024
cc2fcbe
fix make dimensions.aspectRatios key of theme.json files translatable…
fabiankaegy May 22, 2024
4a16db2
Bump plugin version to 18.4.0
gutenbergplugin May 22, 2024
dfae29a
EntityProvider: Avoid remounts and simplify (#61882)
youknowriad May 22, 2024
c043b8e
Update Changelog for 18.4.0
gutenbergplugin May 22, 2024
b122a98
Add vw and vh units to the custom font size picker (#60607)
carolinan May 23, 2024
b284172
getAutocompleterUI: don't redefine ListBox component on every render …
jsnajdr May 23, 2024
ace8e91
Added missing @global documentation (#61537)
shail-mehta May 23, 2024
a66383d
Update block.json file with correct links (#61880)
amitraj2203 May 23, 2024
af03001
Editor: Use edited entity for post actions (#61892)
ntsekouras May 23, 2024
ed7d786
Build: Use globalThis over process.env and enable TS lib checking (#6…
sirreal May 23, 2024
4454e43
Rename backport-changelog/6279.md to backport-changelog/6.6/6279.md (…
ellatrix May 23, 2024
4da057e
Editor: Ensure Copy button in sidebar copies whole permalink, *with* …
mcsf May 23, 2024
f49e0b5
Block settings: Update variant of "Apply globally" Button component t…
amitraj2203 May 23, 2024
8112614
Site Editor: Remove useless onClick handler (#61902)
youknowriad May 23, 2024
ab6b446
Site Editor: Fix the Root Padding styles (#61906)
youknowriad May 23, 2024
79d79ff
DataViews: Remove unnecessary dependency for pattern fields memo (#61…
Mamaduka May 23, 2024
19508f9
Editor: Move the resizing of the editor to the EditorCanvas component…
youknowriad May 23, 2024
fa98c1b
Global Styles: Restore the default variation to the color and typogra…
scruffian May 23, 2024
5fbeee2
Tabs: indicator animation (#60560)
DaniGuardiola May 23, 2024
de9a53a
`TabPanel`: Make the the focus styles consistent with `Tabs` (#61317)
vipul0425 May 23, 2024
f9df151
Global styles: (#61886)
ramonjd May 24, 2024
6f0037c
Improve link conrol preview when show button text label is enabled. (…
afercia May 24, 2024
bf37205
Skip flaky 'Zoom out' e2e test (#61925)
Mamaduka May 24, 2024
fcd3dc1
Update 'Add template' screen to prefer template_name label instead of…
Aljullu May 24, 2024
3921985
Editor: Fix canvas padding in post editor (#61893)
youknowriad May 24, 2024
13717c6
Components: Fix React Warning triggers by the new JSX transform (#61917)
youknowriad May 24, 2024
cbf29f6
Avoid showing lock icons when a parent block has blockEditingMode set…
talldan May 24, 2024
9922d6a
Navigation Focus Mode: Remove leftover code (#61897)
youknowriad May 24, 2024
ae28b7b
Block Editor: Fix ZoomOutModeInserters dependencies (#61908)
tyxla May 24, 2024
92eeecb
Components: Fix remaining warning in ColorPanelDropdown (#61933)
Mamaduka May 24, 2024
9e07a75
Packages: Increase the minimum required Node.js version to v18.12.0 (…
gziolo May 24, 2024
623bb3c
E2E Tests: Fix React warnings triggered by test plugins (#61935)
Mamaduka May 24, 2024
b902cf8
Docs: fix spacing in PHP doc block in comments block (#61911)
ellatrix May 24, 2024
417f6ea
More block: Fix React warning when adding custom text (#61936)
Mamaduka May 24, 2024
0e3c335
Template Actions: Fix console error when resetting template (#61921)
t-hamano May 24, 2024
05bcca9
Update page component (and some data view elements) spacing metrics (…
jameskoster May 24, 2024
7988696
Added unit test for post excerpt block render function (#43451)
akasunil May 24, 2024
859e257
Fix the site editor Admin Bar menu item (#61851)
youknowriad May 24, 2024
4af3817
Writing flow: fix paste for input fields (#61389)
ellatrix May 24, 2024
e2f1516
Update list layout action styling (#61797)
jameskoster May 24, 2024
0f7eb13
Update: Remove unused components. (#61955)
jorgefilipecosta May 24, 2024
2e45b02
Editor: Unify text/code editor between post and site editors (#61934)
youknowriad May 24, 2024
6f245b7
Mobile Release v1.119.0 (#61910)
twstokes May 24, 2024
f524232
Bump plugin version to 18.4.1
gutenbergplugin May 24, 2024
52ec776
Remove package build-types directories when cleaning (#61939)
sirreal May 24, 2024
ae3c2e2
Update Changelog for 18.4.1
gutenbergplugin May 24, 2024
1c0b71e
Fix: Custom block editor link (#61962)
jorgefilipecosta May 24, 2024
62b0efd
InspectorControls: Text not displayed when "Show button text labels" …
t-hamano May 25, 2024
97422ea
Enable shadow support for cover block (#61883)
vcanales May 25, 2024
278810c
Remove reduceMotion utility. (#61963)
DaniGuardiola May 25, 2024
a307229
Background image: add functionality to remove a theme's default, site…
ramonjd May 27, 2024
36c71e5
Add 60 minute timeout to performance job (#61957)
sirreal May 27, 2024
0e1c82f
Remove build-types/ clean from clean:packages (#62008)
sirreal May 27, 2024
0140960
Add note about removing in and notIn operators (#62013)
oandregal May 27, 2024
a251d11
Update link to architecture key concepts. (#61965)
jorgefilipecosta May 27, 2024
d6ff9bf
Fix detaching patterns when a pattern has overrides, but there are no…
talldan May 27, 2024
29d0876
Shadow Panel: Improve a11y and fix browser console error (#61980)
t-hamano May 27, 2024
2bbe6bb
Show shadow tool by default under global styles (#61981)
t-hamano May 27, 2024
8c3a688
Dataviews: Remove unused dependencies (#62010)
sirreal May 27, 2024
5deecb2
Inspector: Remove revisions panel (#61867)
jameskoster May 27, 2024
68ac168
Navigation block: Check for update_ignored_hooked_blocks_postmeta in …
tjcafferkey May 27, 2024
58b454c
Use output buffer and HTML tag processor to inject directives on BODY…
westonruter May 27, 2024
bd9b170
Pages sidebar: adds published & scheduled items (#62021)
oandregal May 27, 2024
85aa9db
Interactivity API: Fix null and number strings as namespaces runtime …
cbravobernal May 27, 2024
2b94b3b
Remove useless clsx calls. (#61969)
DaniGuardiola May 27, 2024
5498ae2
DataViews: Full type the dataviews package (#61854)
youknowriad May 27, 2024
70585e4
Consolidate and fix `delete` and `edit` post actions (#61912)
ntsekouras May 27, 2024
07207a9
Improve distclean script (#62019)
sirreal May 27, 2024
2097e84
Editor: Remove obsolete `listViewLabel` prop from DocumentTools (#62032)
ntsekouras May 27, 2024
b3cfec4
Background image: update controls defaults and layout (#62000)
ramonjd May 28, 2024
65ca1d4
Remove client-side IS_GUTENBERG_PLUGIN check that prevents registrati…
talldan May 28, 2024
bf3c611
Styles: Level specificity using :root to fix reset styles (#61638)
ellatrix May 28, 2024
ad30941
More consistent root padding (#60715)
richtabor May 28, 2024
513f9ea
BlockLibrary: Remove useless styles (#62017)
youknowriad May 28, 2024
a45d1cd
Documentation: PostLockedModal editor component (#61968)
colorful-tones May 28, 2024
9142bf7
Documentation: PostComments editor component (#61964)
colorful-tones May 28, 2024
a062fdf
Documentation: PageTemplate + PostTemplatePanel editor components (#6…
colorful-tones May 28, 2024
a4010b3
Update tutorial.md (#62054)
gemkev May 28, 2024
9c95f91
Introduce `wp-on-async` directive as performant alternative over sync…
westonruter May 28, 2024
6b79edb
Compose: Fix 'useFocusOnMount' cleanup callback (#62053)
Mamaduka May 28, 2024
06d3ff6
Fix: Remove unused css code from the navigation screen. (#62060)
jorgefilipecosta May 28, 2024
d990957
Update: For synced entities the icon should be purple. (#62024)
jorgefilipecosta May 28, 2024
f174441
Editor: Remove extra div container and unify the container between po…
youknowriad May 28, 2024
486a381
Post Sticky Toggle: Improve the design (#62012)
youknowriad May 28, 2024
fe40df6
DataViews: `label` prop in Actions API can be either a `string` or a …
ntsekouras May 28, 2024
d7aa2bd
useUploadMediaFromBlobURL: Prevent duplicate uploads in StrictMode (#…
Mamaduka May 28, 2024
406c28a
Fix tabs indicator. (#61973)
DaniGuardiola May 28, 2024
6fa3471
CustomSelectControlV2: Use `InputBase` for styling (#60261)
mirka May 28, 2024
708ad8d
Typography Presetss: Move below elements (#61863)
scruffian May 28, 2024
08e1a56
Block Library: Remove CSS hack for Internet Explorer 11 (#62043)
t-hamano May 28, 2024
32b701d
Fix: Some jsdoc return types on edit site selector. (#62061)
jorgefilipecosta May 28, 2024
16fd120
Fix: Remove unused css block on patterns page. (#62058)
jorgefilipecosta May 28, 2024
12f000f
Bump reactivecircus/android-emulator-runner in the react-native group…
dependabot[bot] May 28, 2024
18ca36c
Inserter: Encapsulate styles for tablist and close button (#61760)
mattsherman May 28, 2024
aa11526
Tweak contextual block toolbar position (#61836)
richtabor May 28, 2024
c24387f
Adjust pattern list items resting, hover, focus styles (#61831)
richtabor May 28, 2024
b3188ed
Block Styles: Extend block style variations as mechanism for achievin…
aaronrobertshaw May 29, 2024
3ce3bbb
Classic block: Fix content syncing effect for React StrictMode (#62051)
Mamaduka May 29, 2024
d8351e4
Templates: only resolve patterns for REST API endpoints (#61757)
ellatrix May 29, 2024
7fbb0e2
Fix: Block library README.md link (#62081)
akashdhawade2005 May 29, 2024
09c1a51
Filter pattern overrides source in bindings panel (#62015)
SantosGuillamot May 29, 2024
186c299
Document Bar: Decode HTML entities and take into account cases where …
t-hamano May 29, 2024
1ba32f4
Editor: Unify the MediaUpload hook between post and site editors. (#6…
youknowriad May 29, 2024
8dac7db
Fixed: Custom HTML Block should display content in LTR layout for all…
narenin May 29, 2024
e8bec8d
Shadow Panel: Generates unique shadow slugs by finding max suffix and…
amitraj2203 May 29, 2024
a12fa90
Block Editor: Check for multiple block usage in the block-editor pack…
youknowriad May 29, 2024
cb8c8cc
Tests: Change how directives processing gets disabled (#62095)
gziolo May 29, 2024
96e0de5
Fix: Adds help props for description of Play Inline toggle (#61310)
amitraj2203 May 29, 2024
a60bbbb
Editor: Align the Post Format control design with the rest of the pos…
youknowriad May 29, 2024
41b3cb7
Editor: Move editor toggle commands to the editor package (#62093)
youknowriad May 29, 2024
6bc5afa
Use shadows instead of borders on interface skeleton (#61835)
richtabor May 29, 2024
5d4baa9
Add eslint rule for curly brace presence in JSX (#62026)
DaniGuardiola May 29, 2024
eeb3704
Inspector: Add '/' prefix to Link button (#62073)
jameskoster May 29, 2024
5cd5db6
Documentation: EditorBoundary editor component (#61950)
colorful-tones May 29, 2024
c1c4f5a
Documentation: LocalAutosaveMonitor editor component (#61951)
colorful-tones May 29, 2024
5764ea5
Added documentation for PostTextEditor Component (#62099)
narenin May 29, 2024
33f94b9
Inspector: Display home / posts page badge (#62071)
jameskoster May 29, 2024
ce54632
Bump the github-actions group across 1 directory with 3 updates (#61946)
dependabot[bot] May 29, 2024
e3fb258
Writing flow: fix heading crash on split (via paste) (#61900)
ellatrix May 29, 2024
5018e24
PostCardPanel: Fix ESLint error (#62109)
Mamaduka May 29, 2024
c4e00ff
Fix: React compiler error on button. (#61958)
jorgefilipecosta May 29, 2024
4119044
Components: Make the `ProgressBar` public (#61062)
fullofcaffeine May 29, 2024
fec4160
`ProgressBar`: Simplify default `width` implementation and make it mo…
fullofcaffeine May 29, 2024
1c328e8
e2e: fix Site Editor Styles test (#62111)
t-hamano May 30, 2024
6d8ba4c
Copy custom CSS between variations when switching (#61752)
glendaviesnz May 30, 2024
55e5b65
Transform Styles: Update selector so that styles work when custom fie…
andrewserong May 30, 2024
1ec58db
InputControl: Fix z-index issue causing slider dots to appear in fron…
amitraj2203 May 30, 2024
6c9b70f
Button: Fix ESLint warning (#62126)
Mamaduka May 30, 2024
f44dfae
Background images: add defaults for background size (#62046)
ramonjd May 30, 2024
2302eb7
Blocks: remove pipe usage and dependency on compose (#62127)
jsnajdr May 30, 2024
833d957
Make onPatternCategorySelection private (#62130)
ntsekouras May 30, 2024
5c5f3db
Remove 'Manage...' prefix in Pages / Templates data views (#62107)
jameskoster May 30, 2024
1568b81
Data views: Align page headers (#62115)
jameskoster May 30, 2024
df51a99
Global Styles: Prevent Typography panel title from wrapping (#62124)
t-hamano May 30, 2024
4952a52
Editor: Unify button size in pre-publish panel (#62123)
t-hamano May 30, 2024
a96a728
Always show Actions table header. (#61847)
afercia May 30, 2024
a902fa7
Format Library: Refactor 'Inline Image' edit component (#62135)
Mamaduka May 30, 2024
e108d7c
Post Summary: Move PostTemplatePanel below Link and Author (#62137)
richtabor May 30, 2024
3a95bcc
Image Block: Conditionally Render Block Control Based on Component Pr…
amitraj2203 May 30, 2024
c85d43b
Make it clearer how to edit a site's palette (#61364)
richtabor May 30, 2024
d8c5b71
Update: Move duplicate pattern and template part actions to the edito…
jorgefilipecosta May 30, 2024
db6c907
Editor: render publish date control when the status is `future`(sched…
ntsekouras May 30, 2024
1585373
Script modules: Add server to client data passing (#61658)
sirreal May 30, 2024
c263785
Editor: Remove uselss props from InserterSidebar component (#62103)
youknowriad May 30, 2024
9c9120c
Add curly brace autofix commit to git-blame-ignore-revs (#62144)
tyxla May 30, 2024
d88dffb
Block Variations: Support dot notation in `isActive` string array (#6…
ockham May 30, 2024
ee3d1ea
Fixed : Update `alt text decision tree` links to be translatable (#62…
narenin May 30, 2024
d35a1f0
Hide presets when there are less or exactly one presets available (#6…
draganescu May 30, 2024
5e2ff40
[Mobile] - Prevent deleting content when backspacing in the first Par…
May 30, 2024
520684d
Link Control: Fix focus handlers in development mode (#62141)
Mamaduka May 30, 2024
c6589cd
Documentation: PostDiscussionPanel editor component (#61966)
colorful-tones May 30, 2024
f941f0c
Documentation: PostExcerptPanel editor component (#61967)
colorful-tones May 30, 2024
917249e
Documentation: PostPendingStatus + PostPendingStatusCheck editor comp…
colorful-tones May 30, 2024
c465d19
Update: Implement new parent and order design. (#61918)
jorgefilipecosta May 30, 2024
29a5093
ServerSideRender: Fix data loading in development mode (#62140)
Mamaduka May 30, 2024
cbae9e9
Documentation: PostPingbacks editor component (#62035)
colorful-tones May 30, 2024
9c5897f
Documentation: PostPreviewButton editor component (#62036)
colorful-tones May 30, 2024
097d4c6
Editor: Move the InterfaceSkeleton to the editor package (#62118)
youknowriad May 30, 2024
5132888
Script Modules: Fix private method reflection access (#62154)
sirreal May 30, 2024
82e7b7a
Update copy for color variations from "Presets" to "Palettes" (#62147)
richtabor May 30, 2024
9d0f32f
Remove extra bracket in the site editor root padding styles (#62159)
tellthemachines May 31, 2024
277a689
Site Editor: Use site title as a link (#61258)
richtabor May 31, 2024
cc7dbab
Block Styles: Fix block style variation styles for blocks with comple…
aaronrobertshaw May 31, 2024
8f74fcb
Media & Text block: Remove the link option when the featured image is…
carolinan May 31, 2024
75d0173
Add defaultSpacingSizes option (theme.json v3) (#61842)
ajlende May 31, 2024
7de8444
Font Library Modal: Remove some contexts (#62042)
t-hamano May 31, 2024
625c978
[Mobile] - Adds new bridge functionality for content (#61796)
May 31, 2024
325c994
Navigation block: Check for insert_hooked_blocks_into_rest_response i…
ockham May 31, 2024
2a5cf5e
Distraction Free: Unify the header animation (#62167)
youknowriad May 31, 2024
a8b06f4
Writing flow: remove first empty paragraph on Backspace (#61889)
ellatrix May 31, 2024
fd456db
Make post meta row button treatment consistent (#61954)
jameskoster May 31, 2024
3031559
Don't steal focus when opening browse all blocks from navigation link…
jeryj May 31, 2024
7efd961
Shadow Panel: Make subtitle translatable (#62022)
t-hamano May 31, 2024
61afbd5
Do not auto save post status changes (#62171)
ntsekouras May 31, 2024
dfaad6d
Global Styles: Add block-level Text Alignment UI (#61717)
t-hamano May 31, 2024
eb2b8a5
Add documentation for the EditorProvider and ExperimentalEditorProvid…
nateinaction May 31, 2024
b76de86
CustomSelectControl: Fix menuProps mutation (#62149)
tyxla May 31, 2024
6849fd9
Synced Pattern: Wait for pattern creation in e2e tests (#62174)
Mamaduka May 31, 2024
f70d8f1
Tweak pattern categories sidebar (#62113)
richtabor May 31, 2024
168f542
Fix shadow and border for pattern category panel (#62158)
richtabor May 31, 2024
c9df771
Fix syncing of publish date between publish and post status panel (#6…
ntsekouras May 31, 2024
1b2c23e
Align the template title to the center in the 'Add template' screen (…
Aljullu May 31, 2024
8f74d5c
Block Bindings: Allow editing in post meta source (#61753)
SantosGuillamot May 31, 2024
362d687
Fix links to lodash (#62188)
senadir May 31, 2024
fcedde8
Site Editor: Update to use the EditorInterface component from the edi…
youknowriad May 31, 2024
db66bc9
Add `__default` binding for pattern overrides (#60694)
kevin940726 May 31, 2024
5576d89
Add indicator for metadata changes to Save Panel when reviewing modif…
artemiomorales May 31, 2024
4ca6528
Block Variations: Have `getActiveBlockVariation` return variation wit…
ockham May 31, 2024
d8977b4
Pages data view: Add Pending and Private views (#62138)
jameskoster May 31, 2024
65bfb06
Block card: Fix typographic widow. (#61438)
jasmussen May 31, 2024
d81ba0d
Don't show non supported attributes (#62183)
SantosGuillamot May 31, 2024
768900f
Inserter: show all blocks (alternative) (#62169)
ellatrix May 31, 2024
638d536
Adjust the icons and text of the binding connected blocks (#61560)
kevin940726 May 31, 2024
1f35069
tweak copy, remove extra description (#62161)
richtabor May 31, 2024
4828eca
Bump plugin version to 18.5.0-rc.1
gutenbergplugin May 31, 2024
02606c4
Update Changelog for 18.5.0-rc.1
gutenbergplugin May 31, 2024
3e5dda6
Update changelog files
gutenbergplugin May 31, 2024
b89fb7b
chore(release): publish
gutenbergplugin May 31, 2024
77d6943
Media & Text block: Fix nested Media & Text block media position issu…
amitraj2203 Jun 1, 2024
ceb8949
Fixed Media Text Block Issue : When crop image to fill is enabled, th…
narenin Jun 1, 2024
da98bdb
Update old document URLs to new ones (#62206)
shail-mehta Jun 3, 2024
e5d2a5a
Inserter: Update Openverse API URLs (#62241)
Mamaduka Jun 3, 2024
0bfd56b
Add lint rule for inaccessible disabled `Button` (#62080)
mirka Jun 3, 2024
9cee9c4
Add doc for WordCount component (#62217)
amitraj2203 Jun 3, 2024
6e2d9c5
Site Export: ensure that the export endpoint uses Gutenberg theme cla…
ramonjd Jun 4, 2024
6c063c4
Checking for preview mode (another way of saying canvasMode === 'view…
ramonjd Jun 4, 2024
ace8835
Syncing changes from Core https://core.trac.wordpress.org/ticket/6102…
ramonjd Jun 4, 2024
bbf0816
Script Modules: Adjust data filter name and script tag ID (#62170)
sirreal Jun 4, 2024
dbf2014
Update URL to uppercase. (#62231)
jasmussen Jun 4, 2024
fd7becb
Update sidebar title + icon + site title alignment (#62191)
jameskoster Jun 4, 2024
5e51181
Remove unused `syncDerivedUpdates` action (#62229)
SantosGuillamot Jun 4, 2024
503bd62
[Mobile] - Unsupported block - UI improvements (#62240)
Jun 4, 2024
c5950d3
Update: Block styles documentation.
jorgefilipecosta Jun 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 24 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ module.exports = {
],
globals: {
wp: 'off',
globalThis: 'readonly',
},
settings: {
jsdoc: {
Expand All @@ -103,8 +104,12 @@ module.exports = {
rules: {
'jest/expect-expect': 'off',
'react/jsx-boolean-value': 'error',
'react/jsx-curly-brace-presence': [
'error',
{ props: 'never', children: 'never' },
],
'@wordpress/dependency-group': 'error',
'@wordpress/is-gutenberg-plugin': 'error',
'@wordpress/wp-global-usage': 'error',
'@wordpress/react-no-unsafe-timeout': 'error',
'@wordpress/i18n-text-domain': [
'error',
Expand Down Expand Up @@ -248,6 +253,24 @@ module.exports = {
],
},
},
{
files: [
'packages/*/src/**/*.[tj]s?(x)',
'storybook/stories/**/*.[tj]s?(x)',
],
excludedFiles: [ '**/*.native.js' ],
rules: {
'no-restricted-syntax': [
'error',
{
selector:
'JSXOpeningElement[name.name="Button"]:not(:has(JSXAttribute[name.name="__experimentalIsFocusable"])) JSXAttribute[name.name="disabled"]',
message:
'`disabled` used without the `__experimentalIsFocusable` prop. Disabling a control without maintaining focusability can cause accessibility issues, by hiding their presence from screen reader users, or preventing focus from returning to a trigger element. (Ignore this error if you truly mean to disable.)',
},
],
},
},
{
files: [
// Components package.
Expand Down
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ c56e8a1910ed74f405b74bbb12fe81dea974e5c3

# Autofix eslint curly rule.
0221522f253e094b277a1485b7a2d186cb172632

# ESLint: Enable react/jsx-curly-brace-presence
5d4baa9ab5f57d207cc3a048003216a8574574d9
10 changes: 5 additions & 5 deletions .github/workflows/build-plugin-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
token: ${{ secrets.GUTENBERG_TOKEN }}
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: ${{ needs.bump-version.outputs.release_branch || github.ref }}
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 2
ref: ${{ needs.bump-version.outputs.release_branch }}
Expand Down Expand Up @@ -311,14 +311,14 @@ jobs:
if: ${{ endsWith( needs.bump-version.outputs.new_version, '-rc.1' ) }}
steps:
- name: Checkout (for CLI)
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
path: main
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Checkout (for publishing)
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
path: publish
# Later, we switch this branch in the script that publishes packages.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 1
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/check-backport-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Verify Core Backport Changlog

on:
pull_request:
types: [opened, synchronize]
types: [opened, synchronize, labeled, unlabeled]
paths:
- 'lib/**'
- '!lib/load.php'
Expand All @@ -22,7 +22,7 @@ jobs:
- name: 'Get PR commit count'
run: echo "PR_COMMIT_COUNT=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
- name: Checkout code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
Expand All @@ -31,6 +31,7 @@ jobs:
- name: 'Fetch relevant history from origin'
run: git fetch origin ${{ github.event.pull_request.base.ref }}
- name: Check CHANGELOG status
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Core Sync Required') && !contains(github.event.pull_request.labels.*.name, 'Backport from WordPress Core') }}
env:
PR_NUMBER: ${{ github.event.number }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-components-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: 'Get PR commit count'
run: echo "PR_COMMIT_COUNT=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
- name: Checkout code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
os: ['macos-latest', 'ubuntu-latest', 'windows-latest']

steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/end2end-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
totalParts: [8]

steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
steps:
# Checkout defaults to using the branch which triggered the event, which
# isn't necessarily `trunk` (e.g. in the case of a merge).
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
name: 'Validation'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
- uses: gradle/wrapper-validation-action@v3
3 changes: 2 additions & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ concurrency:

jobs:
performance:
timeout-minutes: 60
name: Run performance tests
runs-on: ubuntu-latest
if: ${{ github.repository == 'WordPress/gutenberg' }}
env:
WP_ARTIFACTS_PATH: ${{ github.workspace }}/artifacts

steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/php-changes-detection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
steps:
- name: Check out code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Get changed PHP files
id: changed-files-php
uses: tj-actions/changed-files@a29e8b565651ce417abb5db7164b4a2ad8b6155c # v44.4.0
uses: tj-actions/changed-files@03334d095e2739fa9ac4034ec16f66d5d01e9eba # v44.5.1
with:
files: |
lib/**
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-npm-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
steps:
- name: Checkout (for CLI)
if: ${{ github.event.inputs.release_type != 'wp' }}
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
path: cli
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Checkout (for publishing)
if: ${{ github.event.inputs.release_type != 'wp' }}
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
path: publish
# Later, we switch this branch in the script that publishes packages.
Expand All @@ -49,7 +49,7 @@ jobs:

- name: Checkout (for publishing WP major version)
if: ${{ github.event.inputs.release_type == 'wp' && github.event.inputs.wp_version }}
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
path: publish
ref: wp/${{ github.event.inputs.wp_version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
# Checkout defaults to using the branch which triggered the event, which
# isn't necessarily `trunk` (e.g. in the case of a merge).
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rnmobile-android-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:

- name: Create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2 # v2.30.1
uses: reactivecircus/android-emulator-runner@77986be26589807b8ebab3fde7bbf5c60dabec32 # v2.31.0
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
Expand All @@ -71,7 +71,7 @@ jobs:
script: echo "Generated AVD snapshot for caching."

- name: Run tests
uses: reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2 # v2.30.1
uses: reactivecircus/android-emulator-runner@77986be26589807b8ebab3fde7bbf5c60dabec32 # v2.31.0
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rnmobile-ios-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
native-test-name: [gutenberg-editor-rendering]

steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0
- uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # v1.177.1
with:
# `.ruby-version` file location
working-directory: packages/react-native-editor/ios
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}

steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storybook-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
name: Build JavaScript assets for PHP unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down Expand Up @@ -281,7 +281,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down Expand Up @@ -351,7 +351,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-release-to-plugin-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: ${{ matrix.branch }}
token: ${{ secrets.GUTENBERG_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions backport-changelog/6.6/6279.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/WordPress/wordpress-develop/pull/6279

* https://github.com/WordPress/gutenberg/pull/60063
5 changes: 5 additions & 0 deletions backport-changelog/6.6/6522.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
https://github.com/WordPress/wordpress-develop/pull/6522

* https://github.com/WordPress/gutenberg/pull/60106
* https://github.com/WordPress/gutenberg/pull/60228
* https://github.com/WordPress/gutenberg/pull/61638
6 changes: 6 additions & 0 deletions backport-changelog/6.6/6559.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
https://github.com/WordPress/wordpress-develop/pull/6559

* https://github.com/WordPress/gutenberg/pull/60349
* https://github.com/WordPress/gutenberg/pull/60464
* https://github.com/WordPress/gutenberg/pull/60491
* https://github.com/WordPress/gutenberg/pull/61757
4 changes: 4 additions & 0 deletions backport-changelog/6.6/6567.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
https://github.com/WordPress/wordpress-develop/pull/6567

* https://github.com/WordPress/gutenberg/pull/47271
* https://github.com/WordPress/gutenberg/pull/61774
5 changes: 5 additions & 0 deletions backport-changelog/6.6/6590.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
https://github.com/WordPress/wordpress-develop/pull/6590

* https://github.com/WordPress/gutenberg/pull/59531
* https://github.com/WordPress/gutenberg/pull/61182
* https://github.com/WordPress/gutenberg/pull/61717
Loading
Loading