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
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
353 commits
Select commit Hold shift + click to select a range
88f44fd
ToolbarButton: Fix docs for `accessibleWhenDisabled` (#63140)
mirka Jul 5, 2024
69a416f
DataViews: Removing mapping of user patterns to temporary object (#63…
youknowriad Jul 5, 2024
b8344b6
BaseControl: forward ref on VisualLabel (#63169)
ciampo Jul 5, 2024
31a3c5d
DataViews: Register the export pattern action like any third-party ac…
youknowriad Jul 5, 2024
6034e90
DataViews's filterSortAndPaginate utility: support sorting by number …
oandregal Jul 5, 2024
8ba6ff3
DateFormatPicker: use CustomSelectControl V2 legacy adapter (#63171)
ciampo Jul 5, 2024
3a1fb1c
DataViews: add performance test for pages (#63170)
ellatrix Jul 5, 2024
99798ec
Rename focal point picker lable for group block (#62438)
akasunil Jul 5, 2024
b64d0ae
Perf tests: make pages test compatible with base branch (#63204)
ellatrix Jul 5, 2024
16420c4
Raw handling: Remove IE11 fallback code (#63219)
t-hamano Jul 8, 2024
966063e
Grid layout: Use numbers instead of strings for layout attributes (#6…
noisysocks Jul 8, 2024
6d3282e
Fix unlabeled Remove shadow buttons. (#63197)
afercia Jul 8, 2024
0aa455b
Section Styles: Resolve ref values in variations data (#63172)
aaronrobertshaw Jul 8, 2024
fd62d1a
Only hide drop indicator when grid has `isManualPlacement` set. (#63226)
tellthemachines Jul 8, 2024
abf041f
Include alignwide in nested has-outer-padding logic (#63207)
richtabor Jul 8, 2024
37ddb07
CustomSelectControl V2: fix input labelling with hidden label (#63137)
ciampo Jul 8, 2024
f908d49
Quality: Remove postcss-local-keyframes from dependencies (#63224)
t-hamano Jul 8, 2024
d05f98b
Fix background height and padding in non-iframe editor canvas (#63222)
t-hamano Jul 8, 2024
8651375
[Mobile] - Remove `themes` from supported endpoints (#63183)
geriux Jul 8, 2024
7d66d4b
RangeControl: Fix RTL support for custom marks (#63198)
tyxla Jul 8, 2024
90a92cf
CustomSelectControlV2: collapse checkmark space when unchecked (#63229)
ciampo Jul 8, 2024
f6133cd
Fix: Restrict export pattern action to user patterns (#63228)
ntsekouras Jul 8, 2024
6c434b0
FontAppearanceControl: use CustomSelectControl V2 legacy adapter (#63…
ciampo Jul 8, 2024
89f7197
Block API: Introduce "local" attributes and use it for the image bloc…
youknowriad Jul 8, 2024
9d43af4
CustomSelectControlV2: keep item checkmark top aligned (#63230)
ciampo Jul 8, 2024
c0ff97c
Core Commands: fix Pages command link (#63235)
t-hamano Jul 8, 2024
3661cd4
Fix typo in code example of Interactivity API Docs (#63234)
iamibrahimriaz Jul 8, 2024
e9fd507
Tooltip Component: Add custom class name support (#63157)
aliaghdam Jul 8, 2024
98f08cf
TimePicker: Fix time zone overflow (#63209)
mirka Jul 8, 2024
048b311
Site Editor Sidebar: Hide horizontal scrollbar when navigating (#63194)
t-hamano Jul 8, 2024
b871adc
Block position controls: use `CustomSelectControl` V2 legacy adapter …
ciampo Jul 8, 2024
30c8705
FontSizePicker: use CustomSelectControl V2 legacy adapter (#63134)
ciampo Jul 8, 2024
4f1bbc6
Data Views: Add padding around selected values in author filter (#63212)
akasunil Jul 8, 2024
57d937b
Block Editor: Remove CSS hack for Internet Explorer 11 (#63220)
t-hamano Jul 8, 2024
ab659ae
hide preview column by default for table view in patterns page (#63213)
akasunil Jul 8, 2024
cfea061
Core data: batch receiveUserPermission (#63201)
ellatrix Jul 8, 2024
2030d48
Try: Update duplicate modal, move to 40px components. (#63246)
jasmussen Jul 8, 2024
bcf2b35
TimePicker: Add `dateOrder` prop to sort day, month, and year (#62481)
t-hamano Jul 8, 2024
016bc98
Video Block: Do not persist blob urls and fix undo (#63238)
youknowriad Jul 8, 2024
99352db
Add local version of wp-env schema to .wp-env.json (#63253)
t-hamano Jul 8, 2024
155fb31
Section Styles: Fix error when blocks are deregistered (#63252)
aaronrobertshaw Jul 8, 2024
b5cb449
chore: Remove michalczaplinski as block-library/src/image owner (#63233)
michalczaplinski Jul 8, 2024
8b470e0
Automatically sync backport changelog to issue (#62973)
ellatrix Jul 8, 2024
7c85de1
Global styles: tweak block background position preview height (#63225)
ramonjd Jul 9, 2024
e1e4967
Patterns: check for edited entity content property when exporting (#6…
ramonjd Jul 9, 2024
8784fe9
Add justification to block toolbar in addition to sidebar (#62924)
shreya0204 Jul 9, 2024
dbc6e11
Try inserting blocks directly in empty grid cells (#63108)
tellthemachines Jul 9, 2024
43966e2
Audio Block: Do not persist blob urls and fix undo (#63257)
youknowriad Jul 9, 2024
6812059
Make Tabs have a fluid height (#62027)
afercia Jul 9, 2024
d3b3749
Split layout / view options. Use active layout icon for the layout bu…
jorgefilipecosta Jul 9, 2024
3b3f820
File block: Do not persist blob urls and fix undo (#63282)
youknowriad Jul 9, 2024
c085f23
Site Editor: Cleanup unused Table component (#63283)
youknowriad Jul 9, 2024
96750ff
Check query context (#63237)
SantosGuillamot Jul 9, 2024
4ccb0f1
Updated: Pages: Include avatar in Author field. (#63142)
jorgefilipecosta Jul 9, 2024
fed15ba
Styles specificity: allow comment form input overrides (#62960)
ellatrix Jul 9, 2024
bd56c28
Font Library Modal: enhance pagination appearance (#63210)
t-hamano Jul 9, 2024
38a495e
Post editor: increase specificity bottom padding (#63288)
ellatrix Jul 9, 2024
88163ea
Update: Use status icons in field display. (#63289)
jorgefilipecosta Jul 9, 2024
749bb12
Tabs: Fix text-align when text wraps in vertical mode (#63272)
mirka Jul 9, 2024
6690021
Try: Inspector inner shadow border fix. (#63245)
jasmussen Jul 9, 2024
a58c1f9
add example for query block and posts list (#63286)
MaggieCabrera Jul 9, 2024
4c93cf2
block.json: Allow passing filename as `variations` field (#62092)
ockham Jul 9, 2024
f78fccd
Enable `save draft` button for posts with custom post status (#63293)
ntsekouras Jul 9, 2024
ae20515
SelectControl: Fix disabled styles (#63266)
mirka Jul 9, 2024
1e72e86
Tabs: fix "With tab icons" Storybook example (#63297)
ciampo Jul 9, 2024
1b6ac9e
Core Data: Remove entity config '__experimentalNoFetch' flag checks (…
Mamaduka Jul 9, 2024
eb74cf5
Gallery Block: Cleanup v1 code (#63285)
youknowriad Jul 9, 2024
c1c46e6
DataViews: Replace supportedLayouts prop with defaultLayouts prop ins…
youknowriad Jul 9, 2024
9a8be7c
Editor: Do not truncate post excerpt if not editable (#63314)
ntsekouras Jul 9, 2024
f548ea3
Zoom Out: Run the hook in the inserter component so it doesn't keep r…
scruffian Jul 9, 2024
1f4891e
SpacingInputControl: use CustomSelectControl V2 legacy adapter (#63190)
ciampo Jul 9, 2024
1418afc
Group: add block support for shadow (#63295)
carolinan Jul 10, 2024
1d60a90
Bump plugin version to 18.8.0-rc.1
gutenbergplugin Jul 10, 2024
1152607
Update Changelog for 18.8.0-rc.1
gutenbergplugin Jul 10, 2024
ac01698
Only add customizer additional CSS to global styles in block themes (…
tellthemachines Jul 10, 2024
07e1634
Update: Include avatars on list view. (#63309)
jorgefilipecosta Jul 10, 2024
6422ccf
Update changelog files
gutenbergplugin Jul 10, 2024
4f706f1
chore(release): publish
gutenbergplugin Jul 10, 2024
73719c4
Dataviews List: Update item layout (#63299)
jameskoster Jul 10, 2024
acda158
Widgets: Memoize 'getWidgets' store selector (#63338)
Mamaduka Jul 10, 2024
ab4f045
Improve vertical alignment of the Apply and Link settings buttons in …
amitraj2203 Jul 10, 2024
bdfd1d7
Tabs: hyphenate tab labels (#63337)
ciampo Jul 10, 2024
b4711e7
Block Directory: Memoize store selectors (#63346)
Mamaduka Jul 10, 2024
28e9e41
Block Directory: Remove 'edit-post' package dependency (#63349)
Mamaduka Jul 10, 2024
6b53293
Make sure blockType is defined before trying to use it (#63351)
mattsherman Jul 10, 2024
6f5de82
CustomSelectControlV2: animate select popover appearance (#63343)
ciampo Jul 10, 2024
9a12af4
Patterns inserter tabs: temporary disable animated indicator (#63352)
ciampo Jul 10, 2024
c007389
Update: List / Table layout – selected item stroke should be tinted b…
jorgefilipecosta Jul 10, 2024
b966ef7
Refactor block focus style and utilize for region focus style (#62881)
jeryj Jul 10, 2024
684b298
DataViews: Support combined fields (#63236)
youknowriad Jul 10, 2024
8a18eea
CustomSelectControl V2 legacy adapter: stabilize experimental props (…
ciampo Jul 10, 2024
da3a3e8
Move popover slot to under the canvas (#63389)
tellthemachines Jul 11, 2024
960601f
Disable in-between inserter in Manual grids (#63391)
tellthemachines Jul 11, 2024
f699d2b
Don't display default appender inside Manual grid. (#63395)
tellthemachines Jul 11, 2024
8c6ccaf
Prevent empty void at the bottom of editor when block directory resul…
talldan Jul 11, 2024
387acef
Polish "Delete" modal (#63392)
t-hamano Jul 11, 2024
ad04717
Grid: Better looking block movers (#63394)
noisysocks Jul 11, 2024
f5907ee
Grid: Place new block after currently selected block when using slash…
noisysocks Jul 11, 2024
a4c1083
Query Loop: Fix passing of `namespace` when selecting from suggested …
ntsekouras Jul 11, 2024
dde48a1
DataViews: Cleanup preview styles (#63365)
youknowriad Jul 11, 2024
5ca43e8
Core Data: Support entities in the 'canUser' selector (#63322)
Mamaduka Jul 11, 2024
7113416
Remove unnecessary variables (#63290)
luisherranz Jul 11, 2024
1a825e9
CustomSelectControl: switch to ariakit-based implementation (#63258)
ciampo Jul 11, 2024
2180eb4
DataViews: Move PostList component to its own folder (#63334)
youknowriad Jul 11, 2024
3f27f26
DataViews: Move the layouts into a dedicated folder (#63409)
youknowriad Jul 11, 2024
fd4577c
Revert triggering multi-entity save panel in post with meta changes (…
SantosGuillamot Jul 11, 2024
04cb1c7
Add missing aria-haspopup attribute to the buttons to set and replace…
afercia Jul 11, 2024
098fe40
CustomSelectControlV2: do not flip popover if legacy adapter (#63357)
ciampo Jul 11, 2024
3a42f4c
Remove Quote and List block V2 flags (#63347)
geriux Jul 11, 2024
48aa7d5
Button: Never apply `aria-disabled` to anchor (#63376)
mirka Jul 11, 2024
ef2478f
Query Loop: Change default query loop variations (#63353)
youknowriad Jul 11, 2024
f54904e
Embeds: add 'Embed' to title for clarity (#63371)
ellatrix Jul 11, 2024
32ec81b
Site Editor: Deprecate 'getCanUserCreateMedia' selector (#63413)
Mamaduka Jul 11, 2024
0b54ea4
Update getContext() usage examples with namespace argument in Interac…
dhananjaykuber Jul 11, 2024
bc770f4
DataViews: Fix default layouts in the pages data views (#63427)
youknowriad Jul 11, 2024
3750091
Query Loop Block: remove "Posts List" variation (#63404)
ellatrix Jul 11, 2024
8a382c9
Adding Font size presets UI (#63057)
matiasbenedetto Jul 11, 2024
da558e2
DataViews: Fix featured image height regression (#63424)
youknowriad Jul 11, 2024
63c8ad1
Post Actions: Use entity details for capability checks (#63423)
Mamaduka Jul 11, 2024
0af53eb
Update field spacing in grid layout (#63363)
jameskoster Jul 11, 2024
cebad82
Post Author blocks: Add example and preview (#62978)
MaggieCabrera Jul 11, 2024
379e5f4
Apply same styles to block previews on inserter and Global Styles (#6…
MaggieCabrera Jul 11, 2024
161c996
define an example for post date block (#63368)
MaggieCabrera Jul 11, 2024
e5030c6
add example for post terms (#63369)
MaggieCabrera Jul 11, 2024
9b02222
Zoom Out: Ensure that we only enter zoom out mode if the experiment i…
scruffian Jul 11, 2024
183259b
Add to code requirements install and import Interactivity API. (#63439)
hectorjarquin Jul 11, 2024
88865fc
Core Data: Mark 'canUser' related actions resolvers as resolved (#63435)
Mamaduka Jul 11, 2024
e88f8be
Tabs: move animation-related utilities into separate utils file. (#62…
DaniGuardiola Jul 11, 2024
a4e042f
Post featured image: add example of the block (#63011)
MaggieCabrera Jul 11, 2024
d88a0ed
Elements: Avoid specificity bump for top-level element-only selectors…
aaronrobertshaw Jul 12, 2024
e7bf3b6
Font Library: Group fonts by source (#63211)
t-hamano Jul 12, 2024
6c3caac
Fix responsive behaviour so both column start and column span are tak…
tellthemachines Jul 12, 2024
ebb5788
FlatTermSelector: Be more defensive about termIds (#63461)
dsas Jul 12, 2024
d6eecb9
DataViews: Fix field rendering (#63452)
youknowriad Jul 12, 2024
905b41d
Pages: Trash view should default to table layout. (#63138)
jorgefilipecosta Jul 12, 2024
0f2c94b
Add: Permission checks to avoid 403 errors on non admin roles. (#63296)
jorgefilipecosta Jul 12, 2024
52b9831
Global Styles: Add colors and typograpghy to the browse styles sectio…
scruffian Jul 12, 2024
1b7e3a7
Core Data: Use meta-store actions for status resolutions (#63469)
Mamaduka Jul 12, 2024
b4da8fc
DataViews: Only show elligible actions in the bulk editing menu (#63473)
youknowriad Jul 12, 2024
4777ebd
Check if callback options is undefined (#63460)
sejas Jul 12, 2024
d6cea4c
Storybook: Improve TypeScript performance for slow stories (#63388)
mirka Jul 12, 2024
6e1869c
Revert "Pages: Trash view should default to table layout." (#63481)
jorgefilipecosta Jul 12, 2024
0b26364
[Mobile] - Gallery block - Fix getMediaItems (#63426)
geriux Jul 12, 2024
f92ffcc
Storybook: Remove popover-related height buffers (#63480)
mirka Jul 12, 2024
48830b6
DropdownMenuV2: invert animation direction (#63443)
ciampo Jul 12, 2024
9d30696
Query Title block: Rely on the editor store to apply the right archiv…
youknowriad Jul 12, 2024
64ea78e
Zoom out mode: translate toolbar delete button (#63476)
t-hamano Jul 12, 2024
278f29b
Pattern Inserter: Fix pagination layout when "Show button text labels…
t-hamano Jul 12, 2024
7aca421
Commands: update cmdk (#63465)
t-hamano Jul 12, 2024
9f8014a
Fix mobile styles for inserter pattern and media tab navigation (#63451)
jeryj Jul 12, 2024
0aecc89
change: updated soundcloud icon for social link block (#63504)
troychaplin Jul 12, 2024
82a8c71
Updated Useeffect URL (#63494)
shail-mehta Jul 13, 2024
48b8350
Use `__unstableBlockToolbarLastItem` component (#63291)
SantosGuillamot Jul 13, 2024
a48b1ff
Fix typo in Autocomplete component README.md (#63496)
barryceelen Jul 13, 2024
4a5a3a8
create-block - fix - update default folder name to proper default (#6…
tomllobet Jul 13, 2024
7e114b0
Block Editor: Remove hint in the Settings tab (#63515)
t-hamano Jul 14, 2024
6d37f9c
Issue template: use checkboxes instead of dropdown (#63523)
ellatrix Jul 14, 2024
2ce7497
List: Prevent style bleed into non-List block lists (#63537)
aaronrobertshaw Jul 15, 2024
9ee07cc
Bump plugin version to 18.8.0-rc.2
gutenbergplugin Jul 15, 2024
be1981f
Update Changelog for 18.8.0-rc.2
gutenbergplugin Jul 15, 2024
7d80411
Bug: eslint `recommended-with-formatting` allows for unnecessary spac…
StyleShit Jul 15, 2024
3f34e00
Fix default unit issue for tag cloud block (#59122)
akasunil Jul 15, 2024
de23bb9
Upgrade Playwright to v1.45 (#61443)
Mamaduka Jul 15, 2024
653759a
Gallery: Add border block support (#63428)
carolinan Jul 15, 2024
469f379
Show visual label for Categories block in dropdown mode (#56364)
carolinan Jul 15, 2024
7a3d339
Image lightbox: move image data from context to state (#63348)
madhusudhand Jul 15, 2024
abed060
Tabs: Vertical Tabs should be 40px min height (#63446)
scruffian Jul 15, 2024
34cadb6
Footnotes: Register format within the init function (#63554)
youknowriad Jul 15, 2024
294b98e
Query Loop block: Convert the post content type setting to a ToggleGr…
priethor Jul 15, 2024
b66e7fa
Use entity details when calling 'canUser' selectors (#63415)
Mamaduka Jul 15, 2024
d3d8b07
Templates DataViews: Set the right context for the preview field (#63…
youknowriad Jul 15, 2024
c54c002
Fix ComboboxControl reset button when using the keyboard. (#63410)
afercia Jul 15, 2024
34e18e6
DataViews: Allow column re-ordering (#63416)
youknowriad Jul 15, 2024
0f12712
FormTokenField: Deprecate bottom margin (#63491)
mirka Jul 15, 2024
29a3e3c
Query Loop: Fix 'block' scoped variations to get the `query` defaults…
ntsekouras Jul 15, 2024
0b8e0b5
FontSizePicker: Fix docs for default `units` (#63577)
mirka Jul 15, 2024
afb24fc
Font Appearance Control: Refactor font appearance fallbacks (#63215)
mikachan Jul 15, 2024
81d0e66
Style variations: Don't display the default if its the only variation…
scruffian Jul 15, 2024
843f5e6
Quote: Add spacing supports (#63545)
aaronrobertshaw Jul 16, 2024
71ee76e
Heading: Add border support (#63539)
aaronrobertshaw Jul 16, 2024
2d74bd6
Background Image: Make panel appear in a consistent location (#63551)
aaronrobertshaw Jul 16, 2024
8aad1dc
Background: add background attachment to top level styles (#61382)
ramonjd Jul 16, 2024
9751a16
Fix dropzone for background image block support (#63588)
andrewserong Jul 16, 2024
79b907e
Layout: Fix invalid css for nested fullwidth layouts with zero paddin…
richtabor Jul 16, 2024
7bc7875
Layout: Don't remount the block when rendering grid tools (#63557)
Mamaduka Jul 16, 2024
7cc2ecf
Bump plugin version to 18.8.0-rc.3
gutenbergplugin Jul 16, 2024
2772494
Update Changelog for 18.8.0-rc.3
gutenbergplugin Jul 16, 2024
4dbb870
Quote: Add border support (#63544)
aaronrobertshaw Jul 16, 2024
ac29b27
Data Views: Do not render bulk actions Dropdown if no actions are ava…
ntsekouras Jul 16, 2024
b346c8e
Global Styles: Disable "Reset styles" button when there are no change…
t-hamano Jul 16, 2024
b453bd9
Media Text: Add border support (#63542)
aaronrobertshaw Jul 16, 2024
e8cba7c
Buttons: Add border, color, and padding block supports (#63538)
aaronrobertshaw Jul 16, 2024
42e7777
Fix broken license check script (#61868)
swissspidy Jul 16, 2024
c5626bd
DataViews: Update pagination icons (#63594)
ntsekouras Jul 16, 2024
52723a8
Disallow scrolling the block preview. (#63558)
jasmussen Jul 16, 2024
fab9fbc
Block Switcher Preview: Adjust the position and enable pattern previe…
t-hamano Jul 16, 2024
1fa4384
fix height calculation on block preview (#63596)
MaggieCabrera Jul 16, 2024
e64a666
Use static 'key' when filtering BlockEdit components (#63590)
Mamaduka Jul 16, 2024
4730e12
Block Bindings: Improve the way block bindings sources are registered…
SantosGuillamot Jul 16, 2024
a511b95
Icons: Update close icon. (#63597)
jasmussen Jul 16, 2024
b0f2fb9
Increase column-gap between fields (#63603)
jameskoster Jul 16, 2024
abdc991
Reduce navigation sidebar width (#63431)
jameskoster Jul 16, 2024
2171d82
ToggleGroupControl: support `disabled` options (#63450)
ciampo Jul 16, 2024
a3b16e3
adjust viewport size of the columns block (#63609)
MaggieCabrera Jul 16, 2024
c4332b6
Upgrade TypeScript to 5.5 (#63012)
sirreal Jul 16, 2024
7351780
React: Restore umd builds (#63602)
youknowriad Jul 16, 2024
d5b5b1a
Use `@wordpress/warning` during block registration instead of `consol…
SantosGuillamot Jul 16, 2024
f2a751b
add clear button to overlay color option in cover block (#63580)
dhananjaykuber Jul 16, 2024
4d5523a
Reduce duplication of font library group headings (#63532)
akasunil Jul 16, 2024
9cbdf26
Prepare JSON schemas for Draft 7 update (#63582)
ajlende Jul 16, 2024
be88047
Query loops that inherit template settings for posts per page should …
jeryj Jul 16, 2024
60d7f5b
core-data: Fix `canUser` allowed methods handling (#63615)
tyxla Jul 16, 2024
c55aea6
Set query loop to have the inherit value by default (#63362)
jeryj Jul 16, 2024
121accc
Editor: Remove unused setNestedValue (#63620)
tyxla Jul 16, 2024
f7b4229
useBlockElement: return null until ref callback has time to clean up …
jsnajdr Jul 16, 2024
44e17be
Update: Make changing order an action on the ellipsis menu. (#62189)
jorgefilipecosta Jul 16, 2024
5d78576
Bump plugin version to 18.8.0-rc.4
gutenbergplugin Jul 17, 2024
35dd2f1
Update Changelog for 18.8.0-rc.4
gutenbergplugin Jul 17, 2024
47b68f6
fix: wp icon focus issue (#62675)
up1512001 Jul 17, 2024
64caa32
Fix: Removed shuffle button when only 1 pattern is present (#63093)
Sourav61 Jul 17, 2024
75b44e7
Navigation block: Allow themes to override block library text-decorat…
talldan Jul 17, 2024
4bbd25b
Bump plugin version to 18.8.0
gutenbergplugin Jul 17, 2024
cbcb64a
Update Changelog for 18.8.0
gutenbergplugin Jul 17, 2024
d1211ff
Social Links: Add border support (#63629)
akasunil Jul 17, 2024
8112ec2
Rename onSelectionChange to onChangeSelection (#63087)
oandregal Jul 17, 2024
fae607c
Add margin-bottom lint rules for FocalPointPicker, TextareaControl, T…
mirka Jul 17, 2024
1e7c478
Scripts: Include variations paths in build (#63098)
ockham Jul 17, 2024
1eff14a
Core Data: Resolve user capabilities when fetching an entity (#63430)
Mamaduka Jul 17, 2024
cdf31e8
DataViews: Remove redundant setSelection prop (#63648)
youknowriad Jul 17, 2024
e4ed959
Update: Pages: Trash view should default to table layout try 2. (#63652)
jorgefilipecosta Jul 17, 2024
9ff25d7
Rename Button describedBy prop to description and deprecate old name.…
afercia Jul 17, 2024
93d16e5
Move entity-provider.js exports into hooks/index.ts so they are added…
ryanwelcher Jul 17, 2024
8a20598
Scripts: Remove now-obsolete getRenderPropPaths() (#63661)
ockham Jul 17, 2024
e5b6eb2
Site Editor: Fix error when duplicating a template part (#63663)
Mamaduka Jul 17, 2024
936e6c9
Allow editing of description only for custom templates (#63664)
ntsekouras Jul 17, 2024
53091d7
SelectControl: Add "minimal" variant (#63265)
mirka Jul 17, 2024
00be205
Update react reference links in package's readme and doc blocks (#62704)
akasunil Jul 17, 2024
d186350
Update react reference links in developer docs (#62818)
akasunil Jul 17, 2024
b6248ca
Mark unstable__bootstrapServerSideBlockDefinitions with @ignore to en…
ryanwelcher Jul 17, 2024
88dffa0
Alpine vs Preact extra explanations (#63593)
juanmaguitar Jul 17, 2024
6958c80
Image: Adopt margin block support (#63546)
aaronrobertshaw Jul 18, 2024
e842012
Search: Add margin support (#63547)
aaronrobertshaw Jul 18, 2024
6b3cb26
Paragraph: Add border support (#63543)
aaronrobertshaw Jul 18, 2024
777ebc1
FontSizePicker: tidy up internal logic (#63553)
ciampo Jul 18, 2024
58f62cf
Term Description: Add border block support (#63630)
akasunil Jul 18, 2024
c380af5
ColorPicker: Use `minimal` variant for SelectControl (#63676)
mirka Jul 18, 2024
83f671f
Add margin-bottom lint rules for CheckboxControl, ComboboxControl, Se…
mirka Jul 18, 2024
289516c
Fix: Add Template Modal layout in mobile view (#63627)
t-hamano Jul 18, 2024
ce80338
Quality: Remove "reusable block name hint" code (#63514)
t-hamano Jul 18, 2024
0a7e10d
Image lightbox: Remove duplicate image when lightbox is opened (#63381)
artemiomorales Jul 18, 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
  •  
  •  
  •  
53 changes: 51 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ const restrictedSyntax = [
const restrictedSyntaxComponents = [
{
selector:
'JSXOpeningElement[name.name="Button"]:not(:has(JSXAttribute[name.name="__experimentalIsFocusable"])) JSXAttribute[name.name="disabled"]',
'JSXOpeningElement[name.name="Button"]:not(:has(JSXAttribute[name.name="accessibleWhenDisabled"])) 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.)',
'`disabled` used without the `accessibleWhenDisabled` 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.)',
},
];

Expand Down Expand Up @@ -277,6 +277,34 @@ module.exports = {
],
},
},
{
// Temporary rules until we're ready to officially deprecate the bottom margins.
files: [ 'packages/*/src/**/*.[tj]s?(x)' ],
excludedFiles: [
'packages/components/src/**/@(test|stories)/**',
'**/*.@(native|ios|android).js',
],
rules: {
'no-restricted-syntax': [
'error',
...restrictedSyntax,
...restrictedSyntaxComponents,
...[
'CheckboxControl',
'ComboboxControl',
'FocalPointPicker',
'SearchControl',
'TextareaControl',
'TreeSelect',
].map( ( componentName ) => ( {
selector: `JSXOpeningElement[name.name="${ componentName }"]:not(:has(JSXAttribute[name.name="__nextHasNoMarginBottom"]))`,
message:
componentName +
' should have the `__nextHasNoMarginBottom` prop to opt-in to the new margin-free styles.',
} ) ),
],
},
},
{
files: [
// Components package.
Expand Down Expand Up @@ -397,6 +425,7 @@ module.exports = {
'no-restricted-syntax': [
'error',
...restrictedSyntax,
...restrictedSyntaxComponents,
{
selector:
':matches(Literal[value=/--wp-admin-theme-/],TemplateElement[value.cooked=/--wp-admin-theme-/])',
Expand All @@ -419,6 +448,26 @@ module.exports = {
plugins: [ 'ssr-friendly' ],
extends: [ 'plugin:ssr-friendly/recommended' ],
},
{
files: [ 'packages/components/src/**' ],
rules: {
'no-restricted-imports': [
'error',
// The `ariakit` and `framer-motion` APIs are meant to be consumed via
// the `@wordpress/components` package, hence why importing those
// dependencies should be allowed in the components package.
{
paths: restrictedImports.filter(
( { name } ) =>
! [
'@ariakit/react',
'framer-motion',
].includes( name )
),
},
],
},
},
{
files: [ 'packages/block-editor/**' ],
rules: {
Expand Down
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ changelog.txt linguist-language=Markdown

# Flag docs directory as documentation for GitHub stats.
docs/** linguist-documentation

# TSConfig files use jsonc.
tsconfig*.json linguist-language=jsonc
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/packages/block-library/src/comment-template @michalczaplinski
/packages/block-library/src/comments @michalczaplinski
/packages/block-library/src/table-of-contents @ZebulanStanphill
/packages/block-library/src/image @artemiomorales @michalczaplinski
/packages/block-library/src/image @artemiomorales

# Duotone
/lib/block-supports/duotone.php
Expand Down Expand Up @@ -119,9 +119,9 @@
/packages/plugins @gziolo @adamsilverstein

# Rich Text
/packages/format-library @ellatrix @fluiddot @dcalhoun
/packages/rich-text @ellatrix @fluiddot @dcalhoun
/packages/block-editor/src/components/rich-text @ellatrix @fluiddot @dcalhoun
/packages/format-library @ellatrix @dcalhoun
/packages/rich-text @ellatrix @dcalhoun
/packages/block-editor/src/components/rich-text @ellatrix @dcalhoun

# Project Management
/.github @desrosj
Expand Down
18 changes: 6 additions & 12 deletions .github/ISSUE_TEMPLATE/Bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,19 @@ body:
validations:
required: false

- type: dropdown
- type: checkboxes
id: existing
attributes:
label: Please confirm that you have searched existing issues in the repo.
description: You can do this by searching https://github.com/WordPress/gutenberg/issues and making sure the bug is not related to another plugin.
multiple: true
options:
- 'Yes'
- 'No'
validations:
required: true
- label: 'Yes'
required: true

- type: dropdown
- type: checkboxes
id: plugins
attributes:
label: Please confirm that you have tested with all plugins deactivated except Gutenberg.
multiple: true
options:
- 'Yes'
- 'No'
validations:
required: true
- label: 'Yes'
required: true
15 changes: 4 additions & 11 deletions .github/workflows/check-backport-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,15 @@ on:
- '!packages/e2e-tests/**'
jobs:
check:
name: Check CHANGELOG diff
name: Check for a Core backport changelog entry
runs-on: ubuntu-latest
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Core Sync Required') && !contains(github.event.pull_request.labels.*.name, 'Backport from WordPress Core') }}
steps:
- name: 'Get PR commit count'
run: echo "PR_COMMIT_COUNT=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: ${{ env.PR_COMMIT_COUNT }}
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
- 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') }}
- name: Check the changelog folder
env:
PR_NUMBER: ${{ github.event.number }}
run: |
Expand Down
52 changes: 39 additions & 13 deletions .github/workflows/cherry-pick-wp-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: Auto Cherry-Pick

Check failure on line 1 in .github/workflows/cherry-pick-wp-release.yml

View workflow job for this annotation

GitHub Actions / Build failed

.github/workflows/cherry-pick-wp-release.yml#L1

This run timed out after more than 35 days.

on:
push:
branches:
- trunk
# We also want to attempt cherry-picking when a PR is labeled after the PR
# is merged.
pull_request:
types: [closed, labeled]
types: [labeled]
branches:
- trunk

Expand All @@ -14,14 +19,36 @@
jobs:
cherry-pick:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
# When in the context of a PR, ensure the PR is merged.
if: github.event.pull_request == null || github.event.pull_request.merged == true
steps:
- name: Determine if label should trigger cherry-pick
id: label-check
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
const labels = context.payload.pull_request.labels.map(label => label.name);
const commit_sha = context.payload.pull_request ? context.payload.pull_request.merge_commit_sha : context.sha;
console.log(`Commit SHA: ${commit_sha}`);
core.exportVariable('commit_sha', commit_sha);
const prs = await github.rest.repos.listPullRequestsAssociatedWithCommit({
owner: context.repo.owner,
repo: context.repo.repo,
commit_sha,
});
if (prs.data.length === 0) {
console.log(`No PR found for commit ${context.sha}.`);
return;
}
const pr_number = prs.data[0].number;
console.log(`PR: ${pr_number}`);
core.exportVariable('pr_number', pr_number);

const pr = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: pr_number,
});
const labels = pr.data.labels.map(label => label.name);
console.log(`Labels: ${labels}`);
const regex = /^Backport to WP ([0-9]+\.[0-9]+) Beta\/RC$/;
let matched = false;
Expand Down Expand Up @@ -59,19 +86,18 @@
if: env.cherry_pick == 'true'
run: |
TARGET_BRANCH="wp/${{ env.version }}"
COMMIT_SHA=$(jq -r '.pull_request.merge_commit_sha' "$GITHUB_EVENT_PATH")
COMMIT_SHA="${{ env.commit_sha }}"
echo "Target branch: $TARGET_BRANCH"
echo "Commit SHA: $COMMIT_SHA"
git checkout $TARGET_BRANCH
git cherry-pick $COMMIT_SHA || echo "cherry-pick-failed" > result
if [ -f result ] && grep -q "cherry-pick-failed" result; then
echo "conflict=true" >> $GITHUB_ENV
echo "commit_sha=$COMMIT_SHA" >> $GITHUB_ENV
git cherry-pick --abort
else
NEW_COMMIT_SHA=$(git rev-parse HEAD)
CHERRY_PICK_SHA=$(git rev-parse HEAD)
echo "conflict=false" >> $GITHUB_ENV
echo "commit_sha=$NEW_COMMIT_SHA" >> $GITHUB_ENV
echo "cherry_pick_sha=$CHERRY_PICK_SHA" >> $GITHUB_ENV
git push origin $TARGET_BRANCH
fi

Expand All @@ -80,7 +106,7 @@
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
const prNumber = context.issue.number;
const prNumber = process.env.pr_number;
const version = process.env.version;
console.log(`prNumber: ${prNumber}`);
console.log(`version: ${version}`);
Expand All @@ -104,25 +130,25 @@
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
const prNumber = context.issue.number;
const commitSha = process.env.commit_sha;
const prNumber = process.env.pr_number;
const cherryPickSha = process.env.cherry_pick_sha;
const targetBranch = `wp/${process.env.version}`;
console.log(`prNumber: ${prNumber}`);
console.log(`commitSha: ${commitSha}`);
console.log(`cherryPickSha: ${cherryPickSha}`);
console.log(`targetBranch: ${targetBranch}`);
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: prNumber,
body: `I just cherry-picked this PR to the ${targetBranch} branch to get it included in the next release: ${commitSha}`
body: `I just cherry-picked this PR to the ${targetBranch} branch to get it included in the next release: ${cherryPickSha}`
});

- name: Comment on the PR about conflict
if: env.cherry_pick == 'true' && env.conflict == 'true'
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
const prNumber = context.issue.number;
const prNumber = process.env.pr_number;
const commitSha = process.env.commit_sha;
const targetBranch = `wp/${process.env.version}`;
console.log(`prNumber: ${prNumber}`);
Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/sync-backport-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Sync Core Backport Issue

on:
push:
branches:
- trunk

jobs:
sync-backport-changelog:
name: Sync Core Backport Issue
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 2 # Fetch the last two commits to compare changes
- name: Check for changes in backport-changelog
run: |
git diff --quiet HEAD^ HEAD -- backport-changelog || echo "changes=true" >> $GITHUB_OUTPUT
- name: Sync Issue
if: env.changes == 'true'
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
const labelName = '🤖 Sync Backport Changelog';
const issues = await github.paginate(github.rest.issues.listForRepo, {
owner: context.repo.owner,
repo: context.repo.repo,
labels: [labelName],
state: 'open',
per_page: 1,
});

if (issues.length === 0) {
console.log(`No issues found with the "${labelName}" label.`);
return;
}

const [latestIssue] = issues;
const versionMatch = latestIssue.title.match(/(\d+\.\d+)/);
if (!versionMatch) {
console.log('Could not find a version number in the latest issue title.');
return;
}

const version = versionMatch[1];
console.log(`Latest version: ${version}`);

const { execSync } = require('child_process');
const processedChangelog = execSync(`awk '/./ {print ($0 ~ /^[-*]/ ? " " : "- ") $0}' backport-changelog/${version}/*.md`).toString().trim();

const startDelimiter = '<!-- START TRUNK BACKPORT CHANGELOG -->';
const endDelimiter = '<!-- END TRUNK BACKPORT CHANGELOG -->';
const autoGeneratedContent = `${startDelimiter}\n${processedChangelog}\n${endDelimiter}`;

const regex = new RegExp(`${startDelimiter}[\\s\\S]*${endDelimiter}`);
let newBody;

if (regex.test(latestIssue.body)) {
// If delimiters exist, replace the content between them
newBody = latestIssue.body.replace(regex, autoGeneratedContent);
} else {
// If delimiters don't exist, append the new content at the end
newBody = `${latestIssue.body}\n\n${autoGeneratedContent}`;
}

if (newBody.trim() !== latestIssue.body.trim()) {
await github.rest.issues.update({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: latestIssue.number,
body: newBody
});
console.log('Issue description updated successfully.');
} else {
console.log('Issue description is already up to date.');
}
1 change: 1 addition & 0 deletions .wp-env.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "./schemas/json/wp-env.json",
"core": "WordPress/WordPress",
"plugins": [ "." ],
"themes": [ "./test/emptytheme" ],
Expand Down
4 changes: 4 additions & 0 deletions backport-changelog/6.6/6959.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
https://github.com/WordPress/wordpress-develop/pull/6959

* https://github.com/WordPress/gutenberg/pull/63071

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

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

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

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

* https://github.com/WordPress/gutenberg/pull/63436
3 changes: 3 additions & 0 deletions backport-changelog/6.7/6668.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/WordPress/wordpress-develop/pull/6668

* https://github.com/WordPress/gutenberg/pull/62092
3 changes: 3 additions & 0 deletions backport-changelog/6.7/6836.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/WordPress/wordpress-develop/pull/6836

* https://github.com/WordPress/gutenberg/pull/60100
Loading
Loading