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

Merged
merged 2,570 commits into from
Jun 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2570 commits
Select commit Hold shift + click to select a range
e4688e3
Placeholders: Fix contrast. (#62416)
jasmussen Jun 10, 2024
e04b36c
Docs: Explicitly mention new behavior coming in WP 6.6 for block vari…
gziolo Jun 10, 2024
b8fca79
Fix increasingly big canvas in the post editor when editing patterns …
talldan Jun 10, 2024
5a1031b
Color Variations: Use Grid rather than VStack (#62445)
richtabor Jun 10, 2024
bd6e764
LinkControl: refined the display of the link preview title and url wh…
amitraj2203 Jun 10, 2024
3b10cb6
Fix: Add `network-active` to valid options in `PluginStatus` Type def…
fabiankaegy Jun 10, 2024
f64a0af
List: fix pasting (#62428)
ellatrix Jun 10, 2024
c7bb2b7
DataViews: Fix unnecessary horizontal scrollbar in list layout (#62448)
t-hamano Jun 11, 2024
e78cb55
List view: show context menu for content-only blocks in posts (#62354)
ramonjd Jun 11, 2024
b7368c0
Fix flaky Site Editor command center e2e test (#62454)
Mamaduka Jun 11, 2024
d2d7bf6
Page creation and duplication: Decode HTML entities in success notice…
carolinan Jun 11, 2024
faf5cba
Section Styles: Register block style variations on `init` (#62461)
aaronrobertshaw Jun 11, 2024
fd587da
Fixed : Disambiguate "Cover" translatable string in the context of ba…
narenin Jun 11, 2024
48d9364
Block Styles: Remove core block style variations filters and action (…
aaronrobertshaw Jun 11, 2024
3a20fb0
Site Editor: Remove editor specific classes from shell wrapper. (#62389)
youknowriad Jun 11, 2024
edd5fa4
Block style variation: rename hook (#62464)
ramonjd Jun 11, 2024
2d34e2a
Bootstrap the dashboard layout (#62409)
youknowriad Jun 11, 2024
97ccc28
DataViews: Bootstrap Actions Extensibility API (#62052)
youknowriad Jun 11, 2024
7b177d9
Fix: (#62482)
sirreal Jun 11, 2024
57b8b61
Fix `@since` tag in docblock in `WP_Theme_JSON_Data_Gutenberg`. (#62425)
joemcgill Jun 11, 2024
b8fd20a
Fix showing double icons for connected blocks in pattern editor (#62317)
kevin940726 Jun 12, 2024
24aeb31
List View: Respect default shortcuts in modals (#62479)
t-hamano Jun 12, 2024
f1016e9
Icons: Fix React warning error for offline icon (#62353)
t-hamano Jun 12, 2024
35ddbfb
List View: Fix home and end key behaviour in very long lists (#62312)
andrewserong Jun 12, 2024
907a70e
Post Date: Adds relative date format (#62298)
amitraj2203 Jun 12, 2024
bda08ff
Global Styles: Fix registration of theme style variation defined bloc…
aaronrobertshaw Jun 12, 2024
d375f00
Unify DataViews Header Title & Subtitle (#62429)
t-hamano Jun 12, 2024
375d6b6
Verse block: add background image and minimum height support (#62498)
ramonjd Jun 12, 2024
0b5046b
Quote blocks: add background image and minimum height support (#62497)
ramonjd Jun 12, 2024
1c6c693
Update Node version for flaky test reporter (#62401)
Mamaduka Jun 12, 2024
1128ac0
Change `Site Editor` to `Edit site` (#62501)
up1512001 Jun 12, 2024
07f8235
Block bindings: Change bindings panel title, add description. (#62489)
cbravobernal Jun 12, 2024
ff0ef2b
Update React API reference links in @wordpress/element reference-guid…
amitraj2203 Jun 12, 2024
e48e636
Fix: Invalid link on explanations documentation. (#62487)
jorgefilipecosta Jun 12, 2024
b3d9822
[Mobile] - Fix Inserter items list (#62334)
Jun 12, 2024
3bb138e
Ensure that openref is defined before accessing to .current (#62508)
gigitux Jun 12, 2024
851e2a0
[Mobile] Improve List block onSplit to avoid hiding the keyboard on e…
Jun 12, 2024
7eeb041
[Mobile] - RichText - Fix `undefined` onDelete callback (#62486)
Jun 12, 2024
98617fd
Add JSON Schema for `.wp-env.json` files (#36276)
fabiankaegy Jun 12, 2024
3104482
Inserter: Allow focus to move to the toggle when opening the inserter…
scruffian Jun 12, 2024
91084bf
Docs: Correct typos in GitHub and JavaScript wordmarks (#62459).
peterwilsoncc Jun 12, 2024
22bc2e7
Block Bindings / Pattern Overrides: Try preventing normal attribute u…
talldan Jun 13, 2024
1d78aa0
Post content block: add background image and padding support (#62499)
ramonjd Jun 13, 2024
6ec0bda
Update custom CSS handling to be consistent with block global styles.…
tellthemachines Jun 13, 2024
1e829be
Global styles: send theme object to setUserConfig (#61805)
ramonjd Jun 13, 2024
e0354b6
Build JS module only in development mode (#62398)
kevin940726 Jun 13, 2024
fe8fe40
Extract the pattern overrides toolbar indicator from the `block-edito…
kevin940726 Jun 13, 2024
ee30a87
Use stable reference for `getEntityActions` action (#62536)
ntsekouras Jun 13, 2024
842b5c4
Add support for local keyframes through a PostCSS plugin. (#62476)
DaniGuardiola Jun 13, 2024
91472e5
Fixing minor syntax in dataview example code (#62560)
aaronware Jun 14, 2024
5ac2ede
Add custom CSS for block style variations. (#62526)
tellthemachines Jun 14, 2024
18676a8
Update fetchLinkSuggestions to sort results by relevancy (#62397)
noisysocks Jun 14, 2024
ce5280a
Fix "insert before/after" not showing for blocks in site editor (#62530)
kevin940726 Jun 14, 2024
4e4b235
Update all `ConfirmDialog`s in the codebase to be size=medium (#62532)
talldan Jun 14, 2024
c009a43
Section styles: support i18n for variations declared in `theme.json` …
oandregal Jun 14, 2024
6f0950b
Section styles: consolidate variation name (#62550)
oandregal Jun 14, 2024
a7f74e5
Shortcut Help modal: Remove CSS hack for Internet Explorer 11 (#62564)
t-hamano Jun 14, 2024
9f49db1
Speed up check-build-type-declaration-files (#62538)
sirreal Jun 14, 2024
9389869
Template inspector: Small visual adjustments. (#62537)
jasmussen Jun 14, 2024
2917269
Revert test data for `WithSlug` variation (#62579)
oandregal Jun 14, 2024
6710fd5
Blob: Convert package to TypeScript (#62569)
up1512001 Jun 14, 2024
03eda5b
Fix: Flakey deferred store test (#62571)
sirreal Jun 14, 2024
a1c648f
Sort spacing sizes when all slugs begin numerically (#62567)
ajlende Jun 14, 2024
fe61e1d
Warning: Convert package to TypeScript (#62557)
up1512001 Jun 14, 2024
79ffe95
Added documentation for `PostTrash` & `PostTrashCheck` `TimeToRead` `…
narenin Jun 14, 2024
a8e82c5
Added doc for PostSticky components (#62100)
akasunil Jun 14, 2024
33c2fb7
Autop: Convert package to TypeScript (#62583)
up1512001 Jun 14, 2024
eb924d4
Escape-html: Convert package to TypeScript (#62586)
up1512001 Jun 14, 2024
229eca9
Block Editor: Remove 'rootClientId' argument for block lock selectors…
Mamaduka Jun 14, 2024
854163b
Global Styles: Only use single property variations as color/type pres…
scruffian Jun 14, 2024
0658187
Token-list: Convert package to TypeScript (#62584)
up1512001 Jun 14, 2024
4d1aa40
Global Styles: Don't apply the background and text colors to typograp…
scruffian Jun 14, 2024
a016d86
Bump plugin version to 18.6.0-rc.1
gutenbergplugin Jun 15, 2024
48394d2
Update changelog files
gutenbergplugin Jun 15, 2024
70d3df4
chore(release): publish
gutenbergplugin Jun 15, 2024
aa6b6f0
Test symbols and numbers in block bindings (#62410)
SantosGuillamot Jun 16, 2024
4413591
Account for partial string matches in fetchLinkSuggestions (#62570)
noisysocks Jun 17, 2024
11390a8
Caption utility component: Allow the main CSS Class Name to be exclud…
aatanasovdev Jun 17, 2024
48e81e9
Update caniuse-lite dependency to latest version (#62611)
talldan Jun 17, 2024
4011f4b
Improve maintainability of theme json class tests. (#62463)
tellthemachines Jun 17, 2024
9c1b097
Autoformat e2e-tests package (#62572)
sirreal Jun 17, 2024
bb92727
Editor: Render editPost slots only in the post editor (same for site …
youknowriad Jun 17, 2024
0590511
Github PHP changes workflow: remove it (#62609)
ramonjd Jun 17, 2024
584524a
Save Panel: Remove connections icon and fix padding (#62542)
artemiomorales Jun 17, 2024
332f8c8
Update: Check assignable properties on the duplicate action. (#62590)
jorgefilipecosta Jun 17, 2024
04d1b34
Global Styles: Prevent duplicate block style variations CSS (#62465)
aaronrobertshaw Jun 17, 2024
e3e5775
Global Styles: Skip registration of variation styles when unsupported…
aaronrobertshaw Jun 17, 2024
40d150b
Writing flow: split heading into default block (#61891)
ellatrix Jun 17, 2024
b0216c6
Update JSX syntax extension and JavaScript Coding Guidelines links in…
amitraj2203 Jun 17, 2024
e896965
Raw handling: fix for mixed blocks and freeform content (#62545)
saulyz Jun 17, 2024
7c45cdc
Fix toggle active font logic (#62614)
matiasbenedetto Jun 17, 2024
708ce27
Fix: Check create capability on duplicate post action. (#62620)
jorgefilipecosta Jun 17, 2024
6633dc3
[Mobile] - Fix issues when pasting HTML content (#62588)
Jun 17, 2024
2fdcec7
Revert "Revert test data for `WithSlug` variation (#62579)" (#62587)
oandregal Jun 18, 2024
e636142
env: Ignore `\$schema` key in environment config parsing (#62626)
t-hamano Jun 18, 2024
c4e9024
Update Private API opt-in string for WP 6.6. (#62635)
peterwilsoncc Jun 18, 2024
54586ee
Performance: run block variation hook only for matches (#62617)
ellatrix Jun 18, 2024
f45aa20
Theme JSON resolver: read theme.json files from the styles/ folder on…
ramonjd Jun 18, 2024
c222a5f
Tests: simplify test set up in `WP_Block_Supports_Block_Style_Variati…
ramonjd Jun 18, 2024
880cf3e
Section Styles: Switch away from using init for variation registratio…
aaronrobertshaw Jun 18, 2024
e7b19b8
Revert change that removes the social link block when pressing backsp…
talldan Jun 18, 2024
33854e1
wp-env schema: Remove leading dot (#62634)
ajlende Jun 18, 2024
3800e67
Add `context` in post actions API (#62443)
ntsekouras Jun 18, 2024
0181965
Cherry pick script: make authenticated requests (#62473)
vcanales Jun 18, 2024
4b1a3ef
DataViews: Support passing the registry to actions callbacks (#62505)
youknowriad Jun 18, 2024
4907090
Fix: empty style attribute issue in navigation block (#62600)
up1512001 Jun 18, 2024
b43a433
Fix: Remove inexistent link from the documentation. (#62624)
jorgefilipecosta Jun 18, 2024
c6e7ddb
Remove changelog checks for branches other than trunk (#62645)
ellatrix Jun 18, 2024
aa1cc8d
Fix: Check Capability to create pages on DataViews add new page butto…
jorgefilipecosta Jun 18, 2024
08b77b3
Add: Content panel for template parts. (#62034)
jorgefilipecosta Jun 18, 2024
703dc20
Changelogs: Standardize sections (#58268)
sirreal Jun 18, 2024
c72542c
Fix: Comments and Pingbacks get cleared out when a pattern is edited.…
jorgefilipecosta Jun 18, 2024
8ae6870
Fix: Resetting template part causes notification saying it's been del…
jorgefilipecosta Jun 18, 2024
1050efa
Edit site: Treat edit-site/lib as vendored code (#62573)
sirreal Jun 18, 2024
212d4a8
Pages data view: Update status icons (#62136)
jameskoster Jun 18, 2024
6d52495
Bump rexml from 3.2.6 to 3.2.8 in /packages/react-native-editor/ios (…
dependabot[bot] Jun 18, 2024
9e53779
Media & text: Update the image replacement logic (#62030)
carolinan Jun 19, 2024
2f5c7c0
Correct documentation for WP_Block_Parser_Frame class (#62598)
dilipbheda Jun 19, 2024
e056b9d
Updates the reference links in @wordpress/compose documentation. (#62…
vipul0425 Jun 19, 2024
a1623c0
Added doc for PostSlug components (#62102)
akasunil Jun 19, 2024
cc74558
Interactivity API docs: Add wp-async directives doc (#62663)
cbravobernal Jun 19, 2024
d86ecdb
Update Changelog for 18.6.0-rc.1
gutenbergplugin Jun 19, 2024
46a5bde
Fix e2e tests in dev mode (#62642)
kevin940726 Jun 19, 2024
a2adffe
Fix cherry-pick script, add missing --repo arg (#62643)
ellatrix Jun 19, 2024
e4d38f6
Update link to API section in block-editor README.md (#62671)
amitraj2203 Jun 19, 2024
fb8a06a
Mobile Release v1.120.1 (#62646)
Jun 19, 2024
295ccb8
Move dep to dev deps. (#62673)
DaniGuardiola Jun 19, 2024
cd69af9
Fix: Don't allow synced patterns to be inserted on shuffling. (#62422)
jorgefilipecosta Jun 19, 2024
2222abb
Add lib-font credits and license in source code (#60973)
matiasbenedetto Jun 19, 2024
a1f7c07
fix: update block category to design and build documentation. (#61905)
snehapatil2001 Jun 19, 2024
17ecaa6
Fix: DataViews: Active page is not highlighted properly in list view.…
jorgefilipecosta Jun 19, 2024
9da6486
Components: Remove Framer Motion from `DropZone` (#62044)
fullofcaffeine Jun 19, 2024
9097405
Site Editor: Improve the frame animation (#62676)
youknowriad Jun 19, 2024
63ff5ba
Bump plugin version to 18.6.0
gutenbergplugin Jun 20, 2024
a33a94d
Update Changelog for 18.6.0
gutenbergplugin Jun 20, 2024
1a1372b
Image block: Fix focus style not around whole image when linked (#62556)
amitraj2203 Jun 20, 2024
cd965c7
Allow children of alignfull flow layouts to have root padding. (#62670)
tellthemachines Jun 20, 2024
bb79514
Fix ExcerptPanel decode issue (#62336)
itzmekhokan Jun 20, 2024
35db76a
[Mobile] Support prefix transforms in mobile (#62576)
Jun 20, 2024
a054c20
Fix: Post_type template is not used when creating a page in site edit…
jorgefilipecosta Jun 20, 2024
8b713db
Autoformat changelogs (#62650)
sirreal Jun 20, 2024
0b97965
Dependencies: Upgrade @octokit/webhooks (#62666)
sirreal Jun 20, 2024
5fbf9d0
Rename readme file with uppercase extension (#62697)
matiasbenedetto Jun 20, 2024
b3fc5b4
Update: Followups to the template and template_lock rest api addition…
jorgefilipecosta Jun 20, 2024
10e0067
Styles: lower specificity of figcaption style to allow theme.json ove…
ellatrix Jun 20, 2024
7201eec
CustomSelectControl: align v1 and legacy v2 unit tests (#62706)
ciampo Jun 20, 2024
5738e9b
Documentation: add `VisualEditorGlobalKeyboardShortcuts` docs (#62710)
ntsekouras Jun 20, 2024
bb73da7
Fix: Check ability to create patterns on the add new pattern modal. (…
jorgefilipecosta Jun 21, 2024
96a2ebd
Rename yieldToMain to splitTask and export from @wordpress/interactiv…
westonruter Jun 21, 2024
308b7ff
fix link url (#62725)
michakrapp Jun 21, 2024
3680152
Query Loop block: Clarify explanation around query loop variation exa…
artemiomorales Jun 21, 2024
26b7a12
Set `.editor-post-publish-panel`'s top prop to `$admin-bar-height-big…
ivan-ottinger Jun 21, 2024
b0a160b
CustomSelectControlV2 legacy adapter: fix handling of options extra a…
fullofcaffeine Jun 21, 2024
f8a8a28
Adds comment on blocks resource referencing wp_block post type. (#62722)
jorgefilipecosta Jun 21, 2024
33bc0da
Fix: the trash post action doesn't take into account user capabilitie…
jorgefilipecosta Jun 21, 2024
418d8b7
CustomSelectControl V2: fix passing external value/defaultValue (#62733)
ciampo Jun 21, 2024
417a837
Update: Reverse backport changes on post type REST API changes. (#62751)
jorgefilipecosta Jun 21, 2024
950f5c8
Raw handling: fix too aggressive list removal (#62622)
ellatrix Jun 21, 2024
73a9d35
Site Editor: don't render empty body tag (#62769)
ramonjd Jun 24, 2024
8d99dcf
Make the fonts management modal dialog more discoverable (#62129)
afercia Jun 24, 2024
4e0d0dc
Add letter spacing inheritance for the navigation block (#62745)
graylaurenm Jun 24, 2024
58932ed
Add `html` to reset styles on the `editor-styles-wrapper` container (…
sabernhardt Jun 24, 2024
e748ece
small typo correction in doc file (#62765)
shail-mehta Jun 24, 2024
b0344be
Fix async directives API docs (#62759)
westonruter Jun 24, 2024
7c19dfd
Section Styles: improve performance and conceptual consistency (#62712)
aaronrobertshaw Jun 24, 2024
29b0a18
Fix: Check permissions on duplicate pattern and template part actions…
jorgefilipecosta Jun 24, 2024
7f40c68
Skip failing image block test (#62781)
talldan Jun 24, 2024
d0d775b
Add writing mode support to other blocks (#62727)
MaggieCabrera Jun 24, 2024
abe0925
Template Part: Improve how the tag name attribute is handled (#62785)
gziolo Jun 24, 2024
5e2050a
Fix: Include permission management on permanently delete, rename, and…
jorgefilipecosta Jun 24, 2024
9b945db
Create Block: Add missing changelog entries (#62791)
gziolo Jun 24, 2024
c41857c
Pattern overrides: disallow override for image with caption/href (#62…
ellatrix Jun 24, 2024
db68ea4
Skip test: create a new page, edit template and toggle page template …
ellatrix Jun 24, 2024
17c2db2
Docs/iapi warnings new directives wp 6 6 (#62789)
juanmaguitar Jun 24, 2024
3ff9331
Improve performance of `compute_style_properties` method. (#62522)
spacedmonkey Jun 24, 2024
d97e3f7
Don't use async on submenu focus out (#62800)
luisherranz Jun 24, 2024
b6c5b41
Release automation: try cherry-picking automation (#62716)
ellatrix Jun 25, 2024
e1fdffe
Grid interactivity: Allow blocks to be positioned in manual mode usin…
noisysocks Jun 25, 2024
525f792
Post Date Block: Fix PHP warning error (#62783)
t-hamano Jun 25, 2024
228058b
Global Styles: Remove obsolete hook resolving shared block style vari…
aaronrobertshaw Jun 25, 2024
bfa80e3
DataViews: remove selection correcting, set initial state (#62796)
ellatrix Jun 25, 2024
1ba8018
Add changelog entry for splitTask export from @wordpress/interactivit…
westonruter Jun 25, 2024
e2259f6
Fix: List view renders an empty menu when no actions are eligible. (#…
jorgefilipecosta Jun 25, 2024
125e37f
Bump plugin version to 18.6.1
gutenbergplugin Jun 25, 2024
bd54d6c
Change `grid-visualizer` folder name to `grid`. (#62810)
tellthemachines Jun 25, 2024
5993ecb
Update Changelog for 18.6.1
gutenbergplugin Jun 25, 2024
1d7e7cd
Fix: Active template is not highlighted properly in list view. (#62811)
jorgefilipecosta Jun 25, 2024
ac2f3a5
Image Block: fix Aspect Ratio button position (#62776)
t-hamano Jun 25, 2024
6ad0732
Move Sticky toggle to status popover (#62782)
jameskoster Jun 25, 2024
b23483b
Inspector: Improve handling of long words in post titles (#62691)
jameskoster Jun 25, 2024
c389980
Show publish panel only in edit mode (#62813)
ntsekouras Jun 25, 2024
25aa1b8
Make VisualEditor a stacking context (#62681)
stokesman Jun 25, 2024
e618232
Accessibility: Fix custom color palette (#62753)
ellatrix Jun 25, 2024
dc6f873
Align naming modals (#62788)
jameskoster Jun 25, 2024
a789146
Display the DocumentBar for Style Book and Style Revisions (#62669)
creativecoder Jun 25, 2024
90bc142
Docs/iAPI: Fix wrong code snippet in data-wp-run example (#62835)
luisherranz Jun 25, 2024
596d117
Bump the github-actions group across 1 directory with 3 updates (#62836)
dependabot[bot] Jun 25, 2024
1e57017
Bump gradle/actions in the react-native group across 1 directory (#62…
dependabot[bot] Jun 25, 2024
1ee2e3c
Add tooltip on hover of color and typography presets (#62201)
amitraj2203 Jun 25, 2024
39777ea
Fix lock modal dialog accessibility and semantics (#62795)
afercia Jun 25, 2024
7bca2fa
CustomSelectControlV2: Handle long strings in selected value (#62198)
mirka Jun 25, 2024
913ebe0
Generic name for previous version of WP tests. (#62853)
peterwilsoncc Jun 26, 2024
d2bc04c
Bump plugin version to 18.7.0-rc.1
gutenbergplugin Jun 26, 2024
b649ec4
Update Changelog for 18.7.0-rc.1
gutenbergplugin Jun 26, 2024
7db6896
Update changelog files
gutenbergplugin Jun 26, 2024
9f8c260
chore(release): publish
gutenbergplugin Jun 26, 2024
0e8bcf1
Block Editor: Remove duplicate translator comment (#62860)
Mamaduka Jun 26, 2024
bdd11d5
Update new release issue template to remove core editor chat item (#6…
talldan Jun 26, 2024
f4f770d
Cherry pick workflow: improve message after conflict (#62826)
ellatrix Jun 26, 2024
c14c434
Fix filter chip contrast (#62865)
jameskoster Jun 26, 2024
3f0c4e0
Editor: Translation should depend on number of items (#62857)
iworks Jun 26, 2024
59e38b2
Patterns Explorer: Makes the pagination items horizontally stacked on…
amitraj2203 Jun 26, 2024
2972e37
Featured Image Panel: Align text and icons horizontally to avoid clip…
t-hamano Jun 26, 2024
2be17bb
CustomSelectControlV2: Add root element wrapper (#62803)
ciampo Jun 26, 2024
4ef2a62
CustomSelectControlV2: fix popover styles (#62821)
ciampo Jun 26, 2024
4b49d83
DataViews: make `view.hiddenFields` optional (#62876)
oandregal Jun 26, 2024
37a60b2
Escape moves focus to editor region when in select mode (#62196)
jeryj Jun 26, 2024
cea3b8d
CustomSelectControl V2: fix trigger RTL text alignment(#62869)
ciampo Jun 26, 2024
2139bc2
Focus Editor Region from Template Footer Click (#62595)
jeryj Jun 26, 2024
12ee696
Section Styles: Clean up block style variation filters (#62858)
aaronrobertshaw Jun 27, 2024
7717c1e
Fix minor typos in Interactivity API Reference (#62890)
jffng Jun 27, 2024
8758b5c
Remove link to polyfill.io (#62883)
westonruter Jun 27, 2024
69edb24
Block supports: ensure tools panel dropdown are visible on mobile (#6…
ramonjd Jun 27, 2024
22c835b
Fix extra scrollbar when a popover extends past the viewport. (#62894)
tellthemachines Jun 27, 2024
2e41a46
DataViews: remove the AnyItem type (#62856)
jsnajdr Jun 27, 2024
49b9692
Global styles revisions: ensure that user-defined variation styles CS…
ramonjd Jun 27, 2024
1998f1f
Group block: Automatically select variation if there is only one (#61…
costasovo Jun 27, 2024
b906b22
Fix issue of HTML entities rendering in command menu (#62606)
amitraj2203 Jun 27, 2024
a8b61cd
CustomSelectControlV2: fix select popover content overflow (#62844)
ciampo Jun 27, 2024
664bd7b
Fix buttonless table header alignment (#62877)
jameskoster Jun 27, 2024
3200f90
Pattern overrides: Fix aspect ratio not working in image with overrid…
SantosGuillamot Jun 27, 2024
ea72cf1
Fix: Correct variable name in color directive example code (#62912)
airman5573 Jun 27, 2024
0e05f99
Update Node.js to 20. (#62851)
desrosj Jun 27, 2024
fe67010
DataViews: simplify selection setting (#62846)
ellatrix Jun 27, 2024
b883f30
Docs/iAPI: Recommend kebab-case in data-wp-class (#62817)
luisherranz Jun 27, 2024
6de2f42
Tabs: add vertical indicator animation (#62879)
DaniGuardiola Jun 27, 2024
4cb5adf
Block styles variations E2E: wait for Save button before editing glob…
ramonjd Jun 28, 2024
55f3a98
Fix second scrollbar when editing patterns in the post editor (#62909)
talldan Jun 28, 2024
535c74f
Adds Aspect ratio control on Image blocks in Grids (#62891)
amitraj2203 Jun 28, 2024
6d3cc7a
Ensure "disable overrides" button is active for image blocks with cap…
talldan Jun 28, 2024
540331b
Fix typo to be preposition, not verb, in some package comments and do…
roygbyte Jun 28, 2024
82598f9
Post editor: Fix triple scrollbars in device previews (#62940)
stokesman Jun 28, 2024
91d7e41
Update method for changing the content in 'editor-modes' e2e test (#6…
Mamaduka Jun 28, 2024
1533a42
Format Library: Clean up 'Highlight' format components (#62965)
Mamaduka Jun 28, 2024
237e09d
Add linguist-documentation attribute to docs/ dir (#62651)
sirreal Jun 28, 2024
bc3ca11
Dependencies: Upgrades and deduplication (#62657)
sirreal Jun 28, 2024
ab116d8
Fix UnitControl select disabled state colors (#62970)
matiasbenedetto Jun 28, 2024
15da2aa
Conditionally call focus when using getEditorRegion (#62980)
jeryj Jun 28, 2024
9a331f1
Patterns: Avoid mapping template parts objects to patterns (#62927)
youknowriad Jun 28, 2024
0ea6751
Tabs: split animation logic into multiple separate composable utiliti…
DaniGuardiola Jun 28, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
206 changes: 143 additions & 63 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ const restrictedImports = [
name: 'lodash',
message: 'Please use native functionality instead.',
},
{
name: 'reakit',
message:
'Please use Reakit API through `@wordpress/components` instead.',
},
{
name: '@ariakit/react',
message:
Expand Down Expand Up @@ -81,6 +76,77 @@ const restrictedImports = [
message:
"edit-widgets is a WordPress top level package that shouldn't be imported into other packages",
},
{
name: 'classnames',
message:
"Please use `clsx` instead. It's a lighter and faster drop-in replacement for `classnames`.",
},
];

const restrictedSyntax = [
// NOTE: We can't include the forward slash in our regex or
// we'll get a `SyntaxError` (Invalid regular expression: \ at end of pattern)
// here. That's why we use \\u002F in the regexes below.
{
selector:
'ImportDeclaration[source.value=/^@wordpress\\u002F.+\\u002F/]',
message: 'Path access on WordPress dependencies is not allowed.',
},
{
selector:
'CallExpression[callee.name="deprecated"] Property[key.name="version"][value.value=/' +
majorMinorRegExp +
'/]',
message:
'Deprecated functions must be removed before releasing this version.',
},
{
selector:
'CallExpression[callee.object.name="page"][callee.property.name="waitFor"]',
message:
'This method is deprecated. You should use the more explicit API methods available.',
},
{
selector:
'CallExpression[callee.object.name="page"][callee.property.name="waitForTimeout"]',
message: 'Prefer page.waitForSelector instead.',
},
{
selector: 'JSXAttribute[name.name="id"][value.type="Literal"]',
message:
'Do not use string literals for IDs; use withInstanceId instead.',
},
{
// Discourage the usage of `Math.random()` as it's a code smell
// for UUID generation, for which we already have a higher-order
// component: `withInstanceId`.
selector:
'CallExpression[callee.object.name="Math"][callee.property.name="random"]',
message:
'Do not use Math.random() to generate unique IDs; use withInstanceId instead. (If you’re not generating unique IDs: ignore this message.)',
},
{
selector:
'CallExpression[callee.name="withDispatch"] > :function > BlockStatement > :not(VariableDeclaration,ReturnStatement)',
message:
'withDispatch must return an object with consistent keys. Avoid performing logic in `mapDispatchToProps`.',
},
{
selector:
'LogicalExpression[operator="&&"][left.property.name="length"][right.type="JSXElement"]',
message:
'Avoid truthy checks on length property rendering, as zero length is rendered verbatim.',
},
];

/** `no-restricted-syntax` rules for components. */
const restrictedSyntaxComponents = [
{
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.)',
},
];

module.exports = {
Expand All @@ -92,6 +158,7 @@ module.exports = {
],
globals: {
wp: 'off',
globalThis: 'readonly',
},
settings: {
jsdoc: {
Expand All @@ -102,8 +169,13 @@ 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 @@ -141,63 +213,7 @@ module.exports = {
disallowTypeAnnotations: false,
},
],
'no-restricted-syntax': [
'error',
// NOTE: We can't include the forward slash in our regex or
// we'll get a `SyntaxError` (Invalid regular expression: \ at end of pattern)
// here. That's why we use \\u002F in the regexes below.
{
selector:
'ImportDeclaration[source.value=/^@wordpress\\u002F.+\\u002F/]',
message:
'Path access on WordPress dependencies is not allowed.',
},
{
selector:
'CallExpression[callee.name="deprecated"] Property[key.name="version"][value.value=/' +
majorMinorRegExp +
'/]',
message:
'Deprecated functions must be removed before releasing this version.',
},
{
selector:
'CallExpression[callee.object.name="page"][callee.property.name="waitFor"]',
message:
'This method is deprecated. You should use the more explicit API methods available.',
},
{
selector:
'CallExpression[callee.object.name="page"][callee.property.name="waitForTimeout"]',
message: 'Prefer page.waitForSelector instead.',
},
{
selector: 'JSXAttribute[name.name="id"][value.type="Literal"]',
message:
'Do not use string literals for IDs; use withInstanceId instead.',
},
{
// Discourage the usage of `Math.random()` as it's a code smell
// for UUID generation, for which we already have a higher-order
// component: `withInstanceId`.
selector:
'CallExpression[callee.object.name="Math"][callee.property.name="random"]',
message:
'Do not use Math.random() to generate unique IDs; use withInstanceId instead. (If you’re not generating unique IDs: ignore this message.)',
},
{
selector:
'CallExpression[callee.name="withDispatch"] > :function > BlockStatement > :not(VariableDeclaration,ReturnStatement)',
message:
'withDispatch must return an object with consistent keys. Avoid performing logic in `mapDispatchToProps`.',
},
{
selector:
'LogicalExpression[operator="&&"][left.property.name="length"][right.type="JSXElement"]',
message:
'Avoid truthy checks on length property rendering, as zero length is rendered verbatim.',
},
],
'no-restricted-syntax': [ 'error', ...restrictedSyntax ],
},
overrides: [
{
Expand Down Expand Up @@ -247,6 +263,20 @@ module.exports = {
],
},
},
{
files: [
'packages/*/src/**/*.[tj]s?(x)',
'storybook/stories/**/*.[tj]s?(x)',
],
excludedFiles: [ '**/*.native.js' ],
rules: {
'no-restricted-syntax': [
'error',
...restrictedSyntax,
...restrictedSyntaxComponents,
],
},
},
{
files: [
// Components package.
Expand Down Expand Up @@ -357,6 +387,32 @@ module.exports = {
'jsdoc/require-param': 'off',
},
},
{
files: [ 'packages/components/src/**' ],
excludedFiles: [
'packages/components/src/utils/colors-values.js',
'packages/components/src/theme/**',
],
rules: {
'no-restricted-syntax': [
'error',
...restrictedSyntax,
{
selector:
':matches(Literal[value=/--wp-admin-theme-/],TemplateElement[value.cooked=/--wp-admin-theme-/])',
message:
'--wp-admin-theme-* variables do not support component theming. Use variables from the COLORS object in packages/components/src/utils/colors-values.js instead.',
},
{
selector:
// Allow overriding definitions, but not access with var()
':matches(Literal[value=/var\\(\\s*--wp-components-color-/],TemplateElement[value.cooked=/var\\(\\s*--wp-components-color-/])',
message:
'To ensure proper fallbacks, --wp-components-color-* variables should not be used directly. Use variables from the COLORS object in packages/components/src/utils/colors-values.js instead.',
},
],
},
},
{
files: [ 'packages/components/src/**' ],
excludedFiles: [ 'packages/components/src/**/@(test|stories)/**' ],
Expand Down Expand Up @@ -386,5 +442,29 @@ module.exports = {
],
},
},
{
files: [ 'packages/edit-post/**', 'packages/edit-site/**' ],
rules: {
'no-restricted-imports': [
'error',
{
paths: [
...restrictedImports,
{
name: '@wordpress/interface',
message:
'The edit-post and edit-site package should not directly import the interface package. They should import them from the private APIs of the editor package instead.',
},
],
},
],
},
},
{
files: [ 'packages/interactivity*/src/**' ],
rules: {
'react/react-in-jsx-scope': 'error',
},
},
],
};
9 changes: 9 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,12 @@ c56e8a1910ed74f405b74bbb12fe81dea974e5c3

# Prettier upgrade to 3.0.3.
0bee15148fe4330c20cf372cb46a33693e45cb5f

# ESLint: Enable react/jsx-boolean-value
9a34927870df80ac3b2da14d71f81d20ec23e2b6

# Autofix eslint curly rule.
0221522f253e094b277a1485b7a2d186cb172632

# ESLint: Enable react/jsx-curly-brace-presence
5d4baa9ab5f57d207cc3a048003216a8574574d9
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@
*.jpg binary
*.png binary
*.ttf binary

# Directories with vendored code.
packages/edit-site/lib/** linguist-vendored

# The changelog.txt file is authored as markdown.
changelog.txt linguist-language=Markdown

# Flag docs directory as documentation for GitHub stats.
docs/** linguist-documentation
33 changes: 16 additions & 17 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/packages/interactivity/docs @juanmaguitar

# Schemas
/schemas/json @ajlende
/schemas/json

# Data
/packages/api-fetch @nerrad @mmtr
Expand All @@ -15,25 +15,23 @@
# Blocks
/packages/block-library @ajitbohra
/packages/block-library/src/gallery @geriux
/packages/block-library/src/navigation @tellthemachines
/packages/block-library/src/navigation-link @tellthemachines
/packages/block-library/src/navigation-submenu @tellthemachines
/packages/block-library/src/page-list @tellthemachines
/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 @michalczaplinski

# Duotone
/lib/block-supports/duotone.php @ajlende
/packages/block-editor/src/components/duotone-control @ajlende
/packages/block-editor/src/hooks/duotone.js @ajlende
/packages/components/src/duotone-picker @ajlende
/lib/block-supports/duotone.php
/packages/block-editor/src/components/duotone-control
/packages/block-editor/src/hooks/duotone.js
/packages/components/src/duotone-picker

# Editor
/packages/annotations @atimmer
/packages/autop
/packages/block-editor @ellatrix
/packages/block-editor/src/hooks @tellthemachines
/packages/block-editor/src/layouts @tellthemachines
/packages/block-serialization-spec-parser @dmsnell
/packages/block-serialization-default-parser @dmsnell
/packages/blocks
Expand All @@ -49,9 +47,9 @@
/packages/block-editor/src/components/link-control @getdave

# Widgets
/packages/edit-widgets @draganescu @talldan @noisysocks @tellthemachines @adamziel @kevin940726
/packages/customize-widgets @noisysocks
/packages/widgets @noisysocks
/packages/edit-widgets @draganescu @adamziel @kevin940726
/packages/customize-widgets
/packages/widgets

# Full Site Editing
/packages/edit-site
Expand Down Expand Up @@ -83,8 +81,7 @@
/packages/prettier-config @ntwb @gziolo
/packages/scripts @gziolo @ntwb @nerrad @ajitbohra @ryanwelcher
/packages/stylelint-config @ntwb
/test/e2e @kevin940726 @Mamaduka
/test/php/gutenberg-coding-standards @anton-vlasenko
/test/php/gutenberg-coding-standards @anton-vlasenko

# UI Components
/packages/components @ajitbohra
Expand Down Expand Up @@ -127,15 +124,17 @@
/packages/block-editor/src/components/rich-text @ellatrix @fluiddot @dcalhoun

# Project Management
/.github
/.github @desrosj
/packages/project-management-automation
/packages/report-flaky-tests @kevin940726

# wp-env
/packages/env @noahtallen @ObliviousHarmony @t-hamano
/packages/env @ObliviousHarmony @t-hamano

# PHP
/lib @spacedmonkey
/lib/block-supports/layout.php @tellthemachines
/lib/class-wp-theme-json-gutenberg.php @tellthemachines
/lib/compat/*/html-api @dmsnell
/lib/experimental/rest-api.php @timothybjacobs
/lib/experimental/class-wp-rest-* @timothybjacobs
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/New_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ This issue is to provide visibility on the progress of the release process of Gu

### RC Day - {Weekday, Month, Date}

- [ ] _Optional:_ Attend `#core-editor` meeting (14:00UTC)
- [ ] Post a message in `#core-editor` channel to let folks know you are starting the RC release process
- [ ] Organize and Label PRs on the relevant milestone
- [ ] Start the release process by triggering the `rc` [workflow](https://developer.wordpress.org/block-editor/contributors/code/release/#running-workflow)
Expand Down
2 changes: 1 addition & 1 deletion .github/SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Welcome to Gutenberg, a WordPress project. We hope you join us in creating the f

* Please see the [Contributing Guidelines](https://github.com/WordPress/gutenberg/blob/HEAD/CONTRIBUTING.md) for additional information on how to contribute.

* As with all WordPress projects, we want to ensure a welcoming environment for everyone. With that in mind, all contributors are expected to follow our [Code of Conduct](https://github.com/WordPress/gutenberg/blob/HEAD/CODE_OF_CONDUCT.md).
* As with all WordPress projects, we want to ensure a welcoming environment for everyone. With that in mind, all contributors are expected to follow our [Code of Conduct](https://make.wordpress.org/handbook/community-code-of-conduct/).

* Join us on Slack for real-time communication, it is where maintainers coordinate around the project. To get started using Slack, see: https://make.wordpress.org/chat/

Expand Down
Loading
Loading