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

Open
wants to merge 2,729 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2729 commits
Select commit Hold shift + click to select a range
5f22b7c
Query Total block: Reduce concatenation in the output text (#68150)
sarthaknagoshe2002 Dec 20, 2024
94df941
Add confirm dialog before Permanently delete (#67824)
karthick-murugan Dec 20, 2024
12f7764
iAPI Router: Handle styles assets on region-based navigation (#67826)
DAreRodz Dec 20, 2024
9297500
Fix: Ensure consistency in editor tools for navigation buttons and de…
sarthaknagoshe2002 Dec 20, 2024
0adbeba
DatePicker: Prepare day buttons for 40px default size (#68156)
mirka Dec 20, 2024
a9f93d8
Fix Button size violations in misc. unit tests (#68154)
mirka Dec 20, 2024
1185005
Replace Starter Content modal with inserter panel (#66836)
ellatrix Dec 20, 2024
d472c16
Navigation: Upsize back buttons (#68157)
mirka Dec 20, 2024
6cbb0a7
Remove placeholder of default paragraph when it's the only block and …
draganescu Dec 20, 2024
fd48e8f
Storybook: Fix a few editor styles warnings (#68198)
tyxla Dec 20, 2024
f4f433b
Navigation: Prepare for hard deprecation (#68158)
mirka Dec 20, 2024
99d9a71
Slot: use layout effect and update Cover block unit tests (#68176)
jsnajdr Dec 20, 2024
d0adbf8
Inserter: Use 40px default size for toggle button (#68155)
mirka Dec 20, 2024
048b9d3
DataForm: remove `FormFieldVisibility` (#68203)
oandregal Dec 20, 2024
d9f18e5
DataViews: Don't render actions dropdown when all eligible ones are `…
ntsekouras Dec 20, 2024
ca24cce
Components: Normalize newlines in auto-generated READMEs (#68208)
mirka Dec 20, 2024
f91990d
Updated @since Doc Order in Inline documentation (#68003)
shail-mehta Dec 21, 2024
52a8062
env: Fix changelog entry (#68219)
t-hamano Dec 22, 2024
b1a4344
Try splitting style book into sections. (#68071)
tellthemachines Dec 22, 2024
212144c
Fix trailing spaces on navigation block classnames (#68161)
talldan Dec 23, 2024
0fb8403
split upload into verbs and nouns (#68227)
timse201 Dec 23, 2024
068660c
fix: use dropdown menu props (#68015)
im3dabasia Dec 23, 2024
ea7bc78
Stylebook: add the Appearance -> Design submenu through `admin_menu` …
fushar Dec 23, 2024
127eba0
Storybook: Fix emotion/is-prop-valid warning (#68202)
tyxla Dec 23, 2024
5bc955d
postcss-plugins-preset: bump autoprefixer to 10.4.20 (#68237)
tyxla Dec 23, 2024
bedc00a
fix: remove extraneous param from `gutenberg_url()` call in `gutenber…
justlevine Dec 23, 2024
d22e81b
fix: deprecated `WP_Webfonts()` constructor takes no arguments (#66700)
justlevine Dec 23, 2024
dda9e56
fix: remove extraneous param from `remove_filter()` calls (#66697)
justlevine Dec 23, 2024
59683c1
fix: explicitly return false in `WP_Theme_JSON_Gutenberg::should_ovrr…
justlevine Dec 23, 2024
e354e49
chore: fix return type in WP_Duotone_Gutenberg::get_selector() (#66695)
justlevine Dec 23, 2024
c979084
Fix wrong `npm start` command (#65221)
rilwis Dec 23, 2024
09eb60e
Documenting innerBlocks in save function (#66689)
Lovor01 Dec 23, 2024
2e590d0
Tabs: use correct ariakit component for root component types (#68207)
ciampo Dec 23, 2024
f78c60c
Menu: use ariakit types (#68206)
ciampo Dec 23, 2024
b73c95d
Declare shadow presets as translatable in theme.json (#66675)
d-alleyne Dec 23, 2024
813c24b
Grid Visualizer: Improve observation logic (#68230)
t-hamano Dec 23, 2024
080189e
Storybook: Add story for the Warning component (#68124)
im3dabasia Dec 23, 2024
27bb038
Add reset button to ColorGradientSettingsDropdown (#67800)
juanfra Dec 23, 2024
d678c3a
DropZone: Make the drop zone in Storybook the same size as the item (…
t-hamano Dec 23, 2024
d1ba3bb
List View: fix appender size (#68221)
t-hamano Dec 23, 2024
5a59c03
Add Tools Panel dropdown menu props to More block (#68039)
Infinite-Null Dec 23, 2024
dad1fab
Add duotone and dimensions to the block level for translation (#68243)
oandregal Dec 23, 2024
d9b726b
Menu: migrate Storybook examples to CSF3 (#68204)
ciampo Dec 23, 2024
603a41f
Block Supports: Revert stabilization of typography, border, skip seri…
aaronrobertshaw Dec 24, 2024
23c6b88
Block supports: show selected item in font family select control (#68…
ramonjd Dec 24, 2024
64265ad
Date Block: Add dropdown menu props to ToolsPanel component (#68018)
Sukhendu2002 Dec 24, 2024
182752e
Edit post: fix meta box pane’s pointer capture (#68252)
stokesman Dec 24, 2024
cdace81
Page List block: Don't wrap Edit button with ToolsPanelItem component…
t-hamano Dec 24, 2024
c3ca59b
Allow template part editing in write mode (#67372)
talldan Dec 24, 2024
500883f
Button: Update Settings text labels (#68265)
Mamaduka Dec 24, 2024
af0e277
Scripts: Use fork of `rtlcss-webpack-plugin` to fix issues with deps …
gziolo Dec 24, 2024
58a72af
Media & Text: Correctly reset the 'useFeaturedImage' attribute (#68247)
SH4LIN Dec 24, 2024
854a9bc
DataViews: add unit tests (#68205)
louwie17 Dec 24, 2024
2ae525f
Pages QuickEdit: add E2E tests (#68151)
gigitux Dec 24, 2024
75ef79e
DataViews: use `action.disabled` to disable action buttons (#68275)
oandregal Dec 24, 2024
e00a656
.wp-env.json schema: Add `testsPort` field (#68220)
t-hamano Dec 25, 2024
e5bc2a1
Columns: Add space above notice text (#68259)
t-hamano Dec 25, 2024
f226f7b
Show metabox when pattern is accessed directly (#68255)
t-hamano Dec 25, 2024
ead6fac
Doc: Add JSDoc and update README for BlockCard component (#68114)
Infinite-Null Dec 25, 2024
227fcd8
Block Editor: Remove store subscription in favor of modern CSS (#68276)
Mamaduka Dec 25, 2024
63f211b
Editor: Fix initial edits applied again after saving the post (#68273)
youknowriad Dec 25, 2024
887243c
Block Library: Don't fetch media details if the block doesn't use a f…
Mamaduka Dec 25, 2024
726b4a8
Fix: Some 403 errors for editor roles. (#68146)
jorgefilipecosta Dec 25, 2024
1fad00a
KeyboardShortcuts: Update delete shortcut to use `shift + Backspace` …
yogeshbhutkar Dec 26, 2024
61d7404
Add README for TextAlignmentControl component (#68126)
im3dabasia Dec 26, 2024
261979a
Post Template: Add Border and Spacing Support (#64425)
shail-mehta Dec 26, 2024
10ada5a
Query Total: Remove nested element (#68304)
t-hamano Dec 26, 2024
c0329d9
Block Editor: Fix the 'Reset all' bug for the 'ResolutionTool' compon…
Mamaduka Dec 26, 2024
b7356af
Post Featured Image: Use the 'ResolutionTool' component (#68294)
Mamaduka Dec 26, 2024
4ad26e1
Update SiteTitle block to Fix `isLink` Toggle Behavior (#68295)
Sukhendu2002 Dec 26, 2024
d1c9d76
Fix e2e storybook (#68307)
t-hamano Dec 26, 2024
5af740f
Components: Prevent broken lists in auto-generated readmes (#68301)
mirka Dec 26, 2024
e726912
Add Global Documentation in load.php (#68325)
shail-mehta Dec 27, 2024
ca61601
Build: Simplify tsconfig.json files (#68326)
sirreal Dec 27, 2024
a65c1be
Query Total: Add Border Support (#68323)
shail-mehta Dec 27, 2024
b4424d8
Video Block: refactor setting panel (#67044)
up1512001 Dec 27, 2024
5c7f039
Media & Text: Optimize block editor store subscriptions (#68290)
Mamaduka Dec 27, 2024
a34eaca
Table Block: Fix margin/padding to include caption in spacing (#68281)
Infinite-Null Dec 27, 2024
af49fcb
Storybook: Add stories for the ContrastChecker component (#68120)
himanshupathak95 Dec 27, 2024
80e7991
Remove jsconfig.json to improve VS Code performance (#68347)
manzoorwanijk Dec 27, 2024
f1fadbb
Fix tsconfig for test/ directory (#68346)
manzoorwanijk Dec 27, 2024
1ba8152
DocumentTools: Use standard ToolbarButton for inserter (#68332)
mirka Dec 27, 2024
011e7af
Block Editor Storybook: Restructure the directory and add badges to p…
t-hamano Dec 27, 2024
f95f5ee
Block Editor: Fix ESLint warnings for the 'useInnerBlockTemplateSync'…
Mamaduka Dec 27, 2024
962a589
Components: Warn private API in auto-generated readmes (#68317)
mirka Dec 27, 2024
9ae31d3
Badge: Fix up extra newline in readme (#68359)
mirka Dec 27, 2024
b1f23ea
Fix: Editing "Page" is broken for low capability users. (#68110)
jorgefilipecosta Dec 27, 2024
2ae1f24
Editor: Remove HTML from the post title in the document bar (#68358)
Mamaduka Dec 27, 2024
cecc281
Updated Small Typo in documentation (#68357)
shail-mehta Dec 28, 2024
b4304f8
theme.json schema: Fix block list (#68343)
t-hamano Dec 28, 2024
d0440b9
FontSizePicker: Add `display: contents` rule to custom size select (#…
yogeshbhutkar Dec 30, 2024
d463dbb
Read More: Add example preview (#68288)
yogeshbhutkar Dec 30, 2024
37a06bd
Upgrade sass to version 1.54.0 (#68380)
t-hamano Dec 30, 2024
a28455c
Storybook: Add BorderRadiusControl story (#67383)
Sukhendu2002 Dec 30, 2024
4b847f9
Components: Fixing Text Contrast for Dark Mode (#68349)
im3dabasia Dec 30, 2024
faf357c
BoxControl: Fix `aria-valuetext` value (#68362)
t-hamano Dec 30, 2024
8e2d050
Add example attribute for Comments block (#68266)
Sukhendu2002 Dec 30, 2024
bc28417
Editor: Remove constants for notices (#68361)
Mamaduka Dec 30, 2024
3c716cf
Site Editor: Fix obsolete `getLocationWithParams` usage (#68388)
tyxla Dec 30, 2024
e5dca54
Button Block: Set proper typography for inner elements (#68023)
shimotmk Dec 31, 2024
ed1dc8b
Update the copyright license to 2025 (#68440)
fabiankaegy Jan 1, 2025
50ca1c0
doc: Fixed typo in README of text-transform-control component (#68443)
dhruvikpatel18 Jan 2, 2025
6eb365e
Post Comment Link: Add Border Support (#68450)
shail-mehta Jan 2, 2025
9b35bc6
Media Replace Flow: Add custom toggle support and fix button height …
yogeshbhutkar Jan 2, 2025
ab89b44
Tabs: Auto-generate README (#68209)
mirka Jan 2, 2025
1673ed8
i18n: make example and variations translatable in `post-navigation-li…
yogeshbhutkar Jan 2, 2025
42658e2
i18n: make example translatable in `table-of-contents` (#68377)
yogeshbhutkar Jan 2, 2025
382af64
i18n: make example translatable in query-no-results (#68376)
yogeshbhutkar Jan 2, 2025
93f8928
Edit Site: Standardize reduced motion handling using media queries (#…
himanshupathak95 Jan 2, 2025
dfe8724
Add example property to Comments Form block (#68267)
Sukhendu2002 Jan 2, 2025
e2e9c32
fix: wrong number of `$accepted_args` on `add_filter()` calls (#66694)
justlevine Jan 2, 2025
7534ae9
Scripts: Recommend passing JS entry points with paths (#68251)
gziolo Jan 2, 2025
5b06788
Fail gracefully when block in `createBlock` function is not registere…
kmanijak Jan 2, 2025
ec0317e
Create Block: Optimize the default template for multiple blocks case …
gziolo Jan 2, 2025
a3e4c79
Create Block: Allow external templates to customize more fields (#68193)
gziolo Jan 2, 2025
27a4bcb
Badge: Support text truncation (#68107)
mirka Jan 2, 2025
dcf37a5
Bump plugin version to 20.0.0-rc.1
gutenbergplugin Jan 2, 2025
a2daa2f
Update Changelog for 20.0.0-rc.1
gutenbergplugin Jan 2, 2025
921536e
fix: Fix media query and reduced motion error (#68464)
im3dabasia Jan 2, 2025
dbc1bb4
Fix irregular workspace version numbers (#68467)
sirreal Jan 2, 2025
979c44d
Tabs: Remove unnecessary stories (#68463)
mirka Jan 2, 2025
a76edf4
Edit Site: Add tsconfig.json validation for package (#67406)
ramonjd Jan 2, 2025
38b834d
Update changelog files
gutenbergplugin Jan 2, 2025
c4c32bd
chore(release): publish
gziolo Jan 3, 2025
070b8df
Scripts: Add "plugins" directory to list of published files to npm
gziolo Jan 3, 2025
267496a
chore(release): publish
gutenbergplugin Jan 3, 2025
2d0c68e
i18n: Make example label for Comments Pagination Next block translata…
yogeshbhutkar Jan 3, 2025
7e6d1b6
i18n: make example translatable in comments-pagination-previous (#68374)
yogeshbhutkar Jan 3, 2025
67cc9d5
Updated Typos in doc file (#68477)
himanipanchal Jan 3, 2025
0f2a584
Storybook: Add TabbedSidebar stories and improve docs (#68118)
Sukhendu2002 Jan 3, 2025
3fc25a1
Packages: Fix published * workspace dependencies (#68240)
sirreal Jan 3, 2025
89de183
Remove label from dataview checkbox (#67868)
karthick-murugan Jan 3, 2025
8dd99ed
Update percentage strings to be translatable (#66323)
AhmarZaidi Jan 3, 2025
78e961d
BlockInspector: Add showNoBlockSelectedMessage prop documentation. (#…
SainathPoojary Jan 3, 2025
19043c9
Edit Post and Base Styles: Standardize reduced motion handling using …
Infinite-Null Jan 3, 2025
50d2e06
StoryBook: Add Story for ResolutionTool (#68292)
im3dabasia Jan 4, 2025
3416bf4
Site Editor: fix "Quick Edit Mode" E2E tests (#68484)
t-hamano Jan 4, 2025
4b39807
BlockInspector: Remove unused 'showNoBlockSelectedMessage' prop (#68487)
Mamaduka Jan 5, 2025
72a9996
[core-data] Document and add types for dynamic actions and selectors.…
manzoorwanijk Jan 6, 2025
b80c80c
Components: Restore Non-Themed Text Colors for `optimizeReadabilityFo…
im3dabasia Jan 6, 2025
20fb847
Fix flaky DataViews list arraow nav e2e tests (#68503)
Mamaduka Jan 6, 2025
9713af9
Page List: Added color support (#66430)
benazeer-ben Jan 6, 2025
8ac0e79
Code quality: Fix typos (#67304)
szepeviktor Jan 6, 2025
d1a493c
Refactor: Separate input form styles to a dedicated stylesheet (#68501)
yogeshbhutkar Jan 6, 2025
20784ab
RSS: Added Colour support (#66419)
benazeer-ben Jan 7, 2025
6847148
Query Total: Show Border Controls By Default (#68507)
shail-mehta Jan 7, 2025
2c674ab
Post Comment Link: Show Border Control By Default (#68506)
shail-mehta Jan 7, 2025
4ae5d8d
Details: Add allowedBlocks and TemplateLock attributes (#68489)
t-hamano Jan 7, 2025
d131a2c
Storybook: Add UnitControl story (#67346)
im3dabasia Jan 7, 2025
0859461
Document Outline: Use block client ID as unique 'key' (#68502)
Mamaduka Jan 7, 2025
3e6a5e4
Upgrade Playwright to v1.49 (#68504)
Mamaduka Jan 7, 2025
900862e
Components: Standardize reduced motion handling using media queries (…
SainathPoojary Jan 7, 2025
25cf31f
Post Featured Image: Adds control to clear the the overlay color (#68…
vipul0425 Jan 7, 2025
d7add4a
Remove geriux as code owner (#68523)
geriux Jan 7, 2025
6763765
Classic theme preview: remove admin-bar class name (#68519)
carolinan Jan 7, 2025
aecb645
Bump the github-actions group across 1 directory with 2 updates (#68436)
dependabot[bot] Jan 7, 2025
47b05c7
Check Storybook build on CI for PRs (#68466)
mirka Jan 7, 2025
cc8f8a4
Bump the react-native group with 2 updates (#68095)
dependabot[bot] Jan 7, 2025
dd70c03
Add: Media field changing ui to Dataviews and content preview field t…
jorgefilipecosta Jan 7, 2025
ef7afef
Update: Bundle upload media. (#68522)
jorgefilipecosta Jan 7, 2025
ad4da87
Try: Fix e2e tests 'visitSiteEditor' helper (#68534)
Mamaduka Jan 8, 2025
c7c09cf
Block Library: Standardize reduced motion handling with media queries…
himanshupathak95 Jan 8, 2025
b363d97
Fix text direction for URL and email fields in block editor for RTL l…
im3dabasia Jan 8, 2025
54f59fe
Differentiate 'Copy' and 'Copy styles' snackbar confirmation messages…
karthick-murugan Jan 8, 2025
d74dfb9
Fix Inconsistent Labels for Lightbox Feature (#68261)
karthick-murugan Jan 8, 2025
0f18e11
Add BlockIcon Storybook stories (#67186)
im3dabasia Jan 8, 2025
f91339e
Fix File block resize glitches (#68372)
stokesman Jan 8, 2025
85d9bad
Remove storybook for internal BlockCard component (#68556)
Infinite-Null Jan 9, 2025
e746a95
fix: Update regex in valid-sprintf rule to handle '%%' (#68270)
im3dabasia Jan 9, 2025
3cb93e9
Add npm script to profile TypeScript builds (#68533)
ciampo Jan 9, 2025
ddfc025
Menu: auto-generate README (#68249)
ciampo Jan 9, 2025
98cb5d6
Bump plugin version to 20.0.0
gutenbergplugin Jan 9, 2025
be95ec3
iAPI: Fix the logic path that merges plain objects (#68579)
luisherranz Jan 9, 2025
b80c1e9
Update Changelog for 20.0.0
gutenbergplugin Jan 9, 2025
3a0fb96
Add clear button to social links (#68564)
shimotmk Jan 10, 2025
ddfbdcc
Plugin: Remove ESLint rule for deprecated functions (#68590)
Mamaduka Jan 10, 2025
79234bd
Components: Fix icon condition for Badge (#68588)
Mamaduka Jan 10, 2025
14d10ea
List View: Use badge component for block anchors (#68566)
juanfra Jan 10, 2025
22fbc32
Navigation: Add clearable option for color tools in navigation edit (…
yogeshbhutkar Jan 10, 2025
b2a83a3
StoryBook: Fix error that could occur when loading compiled CSS (#68526)
t-hamano Jan 10, 2025
d9e4df8
fix: Simplify the sprintf translations for percentage widths (#68587)
im3dabasia Jan 10, 2025
4f541ae
Remove unnecessary CSS order property for the contrast checker in the…
afercia Jan 10, 2025
594d834
Updated Small Typo in Feature-flags.md file (#68612)
shail-mehta Jan 11, 2025
bbb06ff
Block Editor: Move state logic inside 'BlockRenameModal' (#68560)
Mamaduka Jan 11, 2025
2397525
Added Global Documentation in inline documentation (#68613)
shail-mehta Jan 12, 2025
fb3a6a0
Query: Refactor settings panel to use ToolsPanel (#68008)
himanshupathak95 Jan 12, 2025
60879d4
Global Styles: Remove unused prop for 'BackgroundImageControls' (#68616)
Mamaduka Jan 12, 2025
7c39a04
Site Logo: Remove unused argument for 'mediaUpload' function (#68617)
Mamaduka Jan 12, 2025
ad8bdfe
Query Loop: Remove unused styles (#68615)
t-hamano Jan 13, 2025
d039f91
Site Logo: Prevent uploading multiple images via drag and drop (#68618)
Mamaduka Jan 13, 2025
9641b36
Block Directory: Standardize reduced motion handling using media quer…
im3dabasia Jan 13, 2025
d3758ce
Data Views: Standardize reduced motion handling using media queries (…
Infinite-Null Jan 13, 2025
dc76c9a
Navigation: Surface `menu name` in the `List View` next to the `Navig…
yogeshbhutkar Jan 13, 2025
88b4e1d
Author Name: Refactor settings panel to use ToolsPanel (#67953)
SainathPoojary Jan 13, 2025
1284a26
Table of Contents Block: Refactor settings panel to use ToolsPanel (#…
Sukhendu2002 Jan 13, 2025
0c42f22
Navigation: Fix typo in navigation history function call (#68623)
yogeshbhutkar Jan 13, 2025
4673738
Site Logo: Prevent focus loss when updating media from the sidebar (#…
Mamaduka Jan 13, 2025
cca8083
docs: fix param name in `gutenberg_add_can_update_block_bindings_edit…
justlevine Jan 13, 2025
cd8e655
Block Directory : Block Inserter Search Infinity Spinner (#68600)
Vrishabhsk Jan 13, 2025
aa38b22
Details block: remove auto-close behaviour (#67766)
ellatrix Jan 13, 2025
041ca27
Color Gradients: Adjust `max-width` for color gradient swatch to acco…
yogeshbhutkar Jan 14, 2025
b949616
Updated Inline Document order (#68650)
shail-mehta Jan 14, 2025
f73a06f
Change "Swap" to "Replace" for Template Action (#68234)
karthick-murugan Jan 14, 2025
680f51f
Customize Widgets: Standardize reduced motion handling using media qu…
im3dabasia Jan 14, 2025
64e1a8b
Inline Commenting: Avoid querying comments when the experiment is dis…
Mamaduka Jan 14, 2025
5b1dacc
Edit Post: Standardize reduced motion handling using media queries (#…
im3dabasia Jan 14, 2025
067ee7b
docs: fix type syntax _gutenberg_add_block_template_plugin_attribute(…
justlevine Jan 14, 2025
1b188a9
docs: fix missing `false` return type on gutenberg_register_block_mod…
justlevine Jan 14, 2025
669662c
Docs: Interactivity API - missing styles in the sample code (#66253)
atachibana Jan 14, 2025
994bc80
Archive Title Block: Refactor settings panel to use ToolsPanel (#67915)
karthick-murugan Jan 14, 2025
130b6e2
Fix usage of tooltip in the Circular option picker. (#68602)
afercia Jan 14, 2025
1623711
Navigation Link UI: Remove onClose from onSelectBlock (#67760)
jeryj Jan 14, 2025
7b6e775
Fix: Site Editor Template part is missing an icon in the sidebar (#68…
dhananjaykuber Jan 15, 2025
8ba15b1
Social Links: Don't prepend URL fragments (#68655)
Mamaduka Jan 15, 2025
184f179
Duotone: Fix scrollbars displayed on Duotone Control (#67187)
yogeshbhutkar Jan 15, 2025
6940e88
Nux: Standardize reduced motion handling using media queries (#68423)
im3dabasia Jan 15, 2025
4085555
Fix flaky navigation-frontend-interactivity e2e tests (#68667)
t-hamano Jan 15, 2025
5a5455c
Editor: Update data selector in 'PostPreviewButton' (#68678)
Mamaduka Jan 15, 2025
23e0db4
Core Data: Check post-type support before requesting autosaves (#68680)
Mamaduka Jan 15, 2025
58a6ba7
Editor: New default rendering mode for editor via post type supports …
Mamaduka Jan 15, 2025
bd9336f
Bump plugin version to 20.1.0-rc.1
gutenbergplugin Jan 15, 2025
53fff37
Update Changelog for 20.1.0-rc.1
gutenbergplugin Jan 15, 2025
ffedcc1
Update changelog files
gutenbergplugin Jan 15, 2025
74986ed
chore(release): publish
gutenbergplugin Jan 15, 2025
9f7d7dc
Editor: Combine selectors in the 'Header' component (#68697)
Mamaduka Jan 16, 2025
a89831f
ESLint: Fix broken URL reference for stylelint (#68706)
im3dabasia Jan 16, 2025
ba9f079
Move html element help messages to the block library utils. (#68708)
afercia Jan 16, 2025
aa5221f
Upload Media: Fix package dependencies (#68718)
Mamaduka Jan 16, 2025
5688333
Bump ruby/setup-ruby from 1.207.0 to 1.208.0 in the github-actions gr…
dependabot[bot] Jan 16, 2025
064b879
Post Content add heading color support (#67783)
shimotmk Jan 17, 2025
4b60f9e
Fix: Add `rel="tag"` to individual anchor links in editor markup of t…
fabiankaegy Jan 17, 2025
aec60be
Search Block: Refactoring settings panel (#67907)
benazeer-ben Jan 17, 2025
ebab640
Read More Block: Refactor settings panel to use ToolsPanel (#67925)
SainathPoojary Jan 17, 2025
c2d2d69
Home Link: Enable all non-interactive formats (#68737)
shimotmk Jan 17, 2025
12709bd
Editor: Update post-type support key for new default rendering mode (…
Mamaduka Jan 17, 2025
ac316ee
Details block: add name attribute for exclusive accordion (#56971)
Soean Jan 17, 2025
a900e03
Bump ruby/setup-ruby from 1.208.0 to 1.209.0 in the github-actions gr…
dependabot[bot] Jan 17, 2025
0b1c453
Block Library: Unify block title with a strict title case (#51912)
t-hamano Jan 18, 2025
5661b57
Term List Block: Refactor settings panel to use ToolsPanel (#67955)
Sukhendu2002 Jan 18, 2025
dce84c2
Latest Comments: Refactor settings panel to use ToolsPanel (#67951)
himanshupathak95 Jan 18, 2025
64c3aff
Query Page Numbers Block: Fix reset button display state (#68759)
t-hamano Jan 18, 2025
1efe523
Post Date Block: Fix reset button display state (#68758)
t-hamano Jan 18, 2025
0586312
Search Results Title Block: Add dropdown menu props to Tools Panel co…
t-hamano Jan 18, 2025
441a7b5
Spacer: Add dropdown menu props to Tools Panel component (#68761)
t-hamano Jan 18, 2025
cb0c989
Video: fix react component warning error (#68762)
t-hamano Jan 18, 2025
63523f2
Page List Block: fix empty settings panel (#68756)
t-hamano Jan 18, 2025
bd2c328
Archives Block: Fix reset button display state (#68757)
t-hamano Jan 18, 2025
61d7b50
Embed: Remove aspect ratio classes when transforming into Paragraph (…
Mamaduka Jan 18, 2025
5c2f7ed
Updated Typo in Constants.js (#68765)
shail-mehta Jan 18, 2025
be5ce8a
Paragraph: Use CSS to hide placeholders in Zoom out mode (#68690)
Mamaduka Jan 18, 2025
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.
146 changes: 114 additions & 32 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
const glob = require( 'glob' ).sync;
const { join } = require( 'path' );

/**
* Internal dependencies
*/
const { version } = require( './package' );

/**
* Regular expression string matching a SemVer string with equal major/minor to
* the current package version. Used in identifying deprecations.
*
* @type {string}
*/
const majorMinorRegExp =
version.replace( /\.\d+$/, '' ).replace( /[\\^$.*+?()[\]{}|]/g, '\\$&' ) +
'(\\.\\d+)?';

/**
* The list of patterns matching files used only for development purposes.
*
Expand Down Expand Up @@ -92,14 +77,6 @@ const restrictedSyntax = [
'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"]',
Expand Down Expand Up @@ -137,15 +114,20 @@ const restrictedSyntax = [
message:
'Avoid truthy checks on length property rendering, as zero length is rendered verbatim.',
},
{
selector:
'CallExpression[callee.name=/^(__|_x|_n|_nx)$/] > Literal[value=/^toggle\\b/i]',
message: "Avoid using the verb 'Toggle' in translatable strings",
},
];

/** `no-restricted-syntax` rules for components. */
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 All @@ -156,6 +138,7 @@ module.exports = {
'plugin:eslint-comments/recommended',
'plugin:storybook/recommended',
],
plugins: [ 'react-compiler' ],
globals: {
wp: 'off',
globalThis: 'readonly',
Expand All @@ -177,6 +160,8 @@ module.exports = {
'@wordpress/dependency-group': 'error',
'@wordpress/wp-global-usage': 'error',
'@wordpress/react-no-unsafe-timeout': 'error',
'@wordpress/i18n-hyphenated-range': 'error',
'@wordpress/i18n-no-flanking-whitespace': 'error',
'@wordpress/i18n-text-domain': [
'error',
{
Expand Down Expand Up @@ -214,6 +199,21 @@ module.exports = {
},
],
'no-restricted-syntax': [ 'error', ...restrictedSyntax ],
'jsdoc/check-tag-names': [
'error',
{
definedTags: [ 'jest-environment' ],
},
],
'react-compiler/react-compiler': [
'error',
{
environment: {
enableTreatRefLikeIdentifiersAsRefs: true,
validateRefAccessDuringRender: false,
},
},
],
},
overrides: [
{
Expand All @@ -228,6 +228,7 @@ module.exports = {
'import/no-unresolved': 'off',
'import/named': 'off',
'@wordpress/data-no-store-string-literals': 'off',
'react-compiler/react-compiler': 'off',
},
},
{
Expand Down Expand Up @@ -278,15 +279,74 @@ module.exports = {
},
},
{
files: [
// Components package.
'packages/components/src/**/*.[tj]s?(x)',
// Navigation block.
'packages/block-library/src/navigation/**/*.[tj]s?(x)',
files: [ 'packages/*/src/**/*.[tj]s?(x)' ],
excludedFiles: [
'packages/*/src/**/@(test|stories)/**',
'**/*.@(native|ios|android).js',
],
excludedFiles: [ ...developmentFiles ],
rules: {
'react-hooks/exhaustive-deps': 'error',
'no-restricted-syntax': [
'error',
...restrictedSyntax,
...restrictedSyntaxComponents,
// Temporary rules until we're ready to officially deprecate the bottom margins.
...[
'BaseControl',
'CheckboxControl',
'ComboboxControl',
'DimensionControl',
'FocalPointPicker',
'RangeControl',
'SearchControl',
'SelectControl',
'TextControl',
'TextareaControl',
'ToggleControl',
'ToggleGroupControl',
'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.',
} ) ),
// Temporary rules until we're ready to officially default to the new size.
...[
'BorderBoxControl',
'BorderControl',
'BoxControl',
'Button',
'ComboboxControl',
'CustomSelectControl',
'DimensionControl',
'FontAppearanceControl',
'FontFamilyControl',
'FontSizePicker',
'FormTokenField',
'InputControl',
'LetterSpacingControl',
'LineHeightControl',
'NumberControl',
'RangeControl',
'SelectControl',
'TextControl',
'ToggleGroupControl',
'UnitControl',
].map( ( componentName ) => ( {
// Falsy `__next40pxDefaultSize` without a non-default `size` prop.
selector: `JSXOpeningElement[name.name="${ componentName }"]:not(:has(JSXAttribute[name.name="__next40pxDefaultSize"][value.expression.value!=false])):not(:has(JSXAttribute[name.name="size"][value.value!="default"]))`,
message:
componentName +
' should have the `__next40pxDefaultSize` prop when using the default size.',
} ) ),
{
// Falsy `__next40pxDefaultSize` without a `render` prop.
selector:
'JSXOpeningElement[name.name="FormFileUpload"]:not(:has(JSXAttribute[name.name="__next40pxDefaultSize"][value.expression.value!=false])):not(:has(JSXAttribute[name.name="render"]))',
message:
'FormFileUpload should have the `__next40pxDefaultSize` prop to opt-in to the new default size.',
},
],
},
},
{
Expand Down Expand Up @@ -397,6 +457,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 +480,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 Expand Up @@ -463,6 +544,7 @@ module.exports = {
{
files: [ 'packages/interactivity*/src/**' ],
rules: {
'react-compiler/react-compiler': 'off',
'react/react-in-jsx-scope': 'error',
},
},
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
19 changes: 8 additions & 11 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Documentation
/docs @ajitbohra @ryanwelcher @juanmaguitar @fabiankaegy @ndiego
/docs @ajitbohra @juanmaguitar @fabiankaegy @ndiego
/packages/interactivity/docs @juanmaguitar

# Schemas
Expand All @@ -13,12 +13,12 @@
/packages/data-controls @nerrad

# Blocks
/packages/block-library @ajitbohra
/packages/block-library/src/gallery @geriux
/packages/block-library @ajitbohra @fabiankaegy
/packages/block-library/src/gallery
/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
/packages/rich-text @ellatrix
/packages/block-editor/src/components/rich-text @ellatrix

# Project Management
/.github @desrosj
Expand All @@ -138,10 +138,7 @@
/lib/compat/*/html-api @dmsnell
/lib/experimental/rest-api.php @timothybjacobs
/lib/experimental/class-wp-rest-* @timothybjacobs
/lib/experimental/class-wp-rest-block-editor-settings-controller.php @timothybjacobs @spacedmonkey @geriux

# Native
/packages/components/src/mobile/global-styles-context @geriux
/lib/experimental/class-wp-rest-block-editor-settings-controller.php @timothybjacobs @spacedmonkey

# Native (Unowned)
*.native.js
Expand Down
28 changes: 16 additions & 12 deletions .github/ISSUE_TEMPLATE/Bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,29 @@ 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

- type: checkboxes
id: themes
attributes:
label: Please confirm which theme type you used for testing.
options:
- label: 'Block'
- label: 'Classic'
- label: 'Hybrid (e.g. classic with theme.json)'
- label: 'Not sure'
6 changes: 6 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ https://github.com/WordPress/gutenberg/blob/trunk/CONTRIBUTING.md -->
<!-- How can you test the changes by using the keyboard only? Please note, this is required for PRs that change the user interface (UI). This ensures the PR can be tested for any possible accessibility regressions. -->

## Screenshots or screencast <!-- if applicable -->

<!-- If you would like to upload screenshots, feel free to use the table below when it is useful to show the difference between before and after the change. -->

|Before|After|
|-|-|
|<!-- Before screenshot here -->|<!-- After screenshot here -->|
Loading
Loading