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

Merged
merged 1,908 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1908 commits
Select commit Hold shift + click to select a range
b7d989e
Fix typo in use-block-sync tests (#67145)
talldan Nov 21, 2024
afb05e8
useBlockNameForPatterns: Refactor as a single useSelect call (#67171)
mcsf Nov 21, 2024
b5732a5
DataViews: fix action visibility logic (#67197)
oandregal Nov 21, 2024
ec4b881
Place "Write mode" functionality behind a Gutenberg experiment (#67008)
ntsekouras Nov 21, 2024
0c32e9e
Posts DataViews: Refactor the router to use route registration (#67160)
youknowriad Nov 21, 2024
e0d5ee6
Migrate Gradle wrapper validation action. (#66602)
desrosj Nov 21, 2024
9a6f48b
Menu.ItemHelpText: better line breaking (#67011)
himanshupathak95 Nov 21, 2024
98a7d5d
Update the enhanced pagination help text (#67173)
michalczaplinski Nov 22, 2024
a7c373f
Avoid zooming out when browsing styles if the preview mode is active …
talldan Nov 22, 2024
92254bf
Details block: use summary content as default label (#67217)
dougwollison Nov 22, 2024
b58cce6
Fix ESLint Jest reporting entire body of the test function rather tha…
manzoorwanijk Nov 22, 2024
58ae911
Social Links: Fix font family and weight inconsistency in editor (#67…
SainathPoojary Nov 22, 2024
81d2ee8
Use rems for Nav overlay left padding (#67168)
getdave Nov 22, 2024
2919c5c
Fix fatal error in in_array call in post_type_default_rendering_mode …
jsnajdr Nov 22, 2024
4d2fb64
DataViews: fix spacing when combining combined fields (#67226)
oandregal Nov 22, 2024
452de1b
Add all color palettes to select from editor panel (#65148)
AKSHAT2802 Nov 22, 2024
455bb5d
Modal: Increase size of the Close button (#66792)
afercia Nov 22, 2024
b4c614f
Docs: Correct `@return` type in `block_core_query_disable_enhanced_pa…
Soean Nov 22, 2024
96f6338
DataViews: allow register/unregister fields (#67175)
oandregal Nov 22, 2024
4337e35
Resolve search block button text overlapping issue. (#66868)
snehapatil2001 Nov 22, 2024
3b5bf63
Add section styles switch button in block toolbar in zoom out mode (#…
matiasbenedetto Nov 22, 2024
02611cb
Composite: Restore `Hover` and `Typeahead` functionality (#67212)
mirka Nov 22, 2024
cbbb848
Font family preview in the font family picker (#67118)
matiasbenedetto Nov 22, 2024
326589d
Format Library: Fix logic on hasColorsToChoose (#65530)
dougwollison Nov 23, 2024
2c5421d
Style panel: use correct revisions count (#67180)
ramonjd Nov 24, 2024
5513d7a
Block Supports: Extend stabilization to common experimental block sup…
aaronrobertshaw Nov 25, 2024
0a6751c
Fix block mover clickable area (#67261)
talldan Nov 25, 2024
8fa8506
Paragraph: Update condition for rendering Drop Cap for a selected blo…
Mamaduka Nov 25, 2024
b1b77f3
🧹 remove obsolete rich text css (#67264)
ellatrix Nov 25, 2024
66d117f
Edit Post: Refactor 'MetaBoxVisibility' component (#67265)
Mamaduka Nov 25, 2024
7e7ce3c
Site Editor Sidebar: Fixed focus/hover style for navigation item butt…
t-hamano Nov 25, 2024
7e9e53d
Fix TS types for the editor package (#67196)
manzoorwanijk Nov 25, 2024
21ee975
Fix: Preserve Display Preview State in File Block (#67263)
Sukhendu2002 Nov 25, 2024
a6a04be
Terms: Respect order specified by register_taxonomy() (#67154)
ockham Nov 25, 2024
814bb4e
Editor: Update focus return handler for the Featured Image (#67236)
Mamaduka Nov 25, 2024
2be64e4
Components: remove createPrivateSlotFill function (#67238)
jsnajdr Nov 25, 2024
010cf1a
DataViews: Add density option to `table` layout (#67170)
ntsekouras Nov 25, 2024
29f0c35
Storybook: Restore stable components back into categories (#67216)
mirka Nov 25, 2024
dfc716a
GradientPicker: Auto-generate readme (#67250)
mirka Nov 25, 2024
e27e5e4
Autocomplete: Increase option height (#67214)
mirka Nov 25, 2024
b76d9f0
Rich text: preserve comments (#62128)
ellatrix Nov 25, 2024
2215a04
Zoom in/out to correct location (#67126)
ajlende Nov 25, 2024
98b3ec0
BorderBoxControl: Suppress redundant warnings for deprecated 36px siz…
mirka Nov 25, 2024
3381613
Feat: Adds the deprecation warning for 36px default size in range con…
vipul0425 Nov 25, 2024
08d8b86
ComboboxControl: Update reset button size (#67215)
mirka Nov 25, 2024
9b0e2d9
Block Manager: Make it a private component in the block editor packag…
t-hamano Nov 26, 2024
e349487
Dashicons: Remove non-existent icons from type (#67235)
t-hamano Nov 26, 2024
99c6478
Edit Post: Remove unused 'hasHistory' flag (#67293)
Mamaduka Nov 26, 2024
3f6b883
Improve accessibility and consistency of the 'Last modified' Revision…
afercia Nov 26, 2024
726d86a
Add WordPress 6.7.1 version to "Versions in WordPress" documentation …
benniledl Nov 26, 2024
f7a4f3f
Move default template types and template part areas to REST API (#66…
gigitux Nov 26, 2024
ddd239a
Block Editor: Correctly mark Block Comment SlotFills private (#67271)
Mamaduka Nov 26, 2024
514b670
Query Loop block: remove 'add new post' prompt in the sidebar (#67189)
dhruvang21 Nov 26, 2024
d2c2ed8
Editor: Fix deprecation version for template selectors
gigitux Nov 26, 2024
9407107
Block Editor: Add success notices for image editing (#67312)
Mamaduka Nov 26, 2024
9ee20a8
CustomGradientPicker: Prepare `Button`s for 40px default size (#67286)
mirka Nov 26, 2024
6cc6035
Icon: Auto-generate readme (#67282)
mirka Nov 26, 2024
4c30b00
Block Editor: Add notice action to revert image to original after cro…
Mamaduka Nov 26, 2024
6d90ad4
Add #7895 Core Backport PR to the changelog (#67319)
gigitux Nov 26, 2024
de7b09b
Icon: Improve `icon` prop usage docs in Storybook (#67280)
mirka Nov 26, 2024
8c34d91
CircularOptionPicker: Update Button sizes (#67285)
mirka Nov 26, 2024
8656f12
Components contributing guide: Fix relative links (#67323)
mirka Nov 26, 2024
9b90853
BoxControl: Auto-generate readme (#67284)
mirka Nov 26, 2024
eadf2dd
Add useScaleCanvas: Web Animations API for zoom in/out animation (#66…
jeryj Nov 26, 2024
ee17975
Social Link: Add contentOnly editing support (#66622)
ndiego Nov 27, 2024
0f6ab5d
Try dark toolbar for the write mode (#66116)
dhruvang21 Nov 27, 2024
9904fd3
Bump plugin version to 19.8.0-rc.1
gutenbergplugin Nov 27, 2024
738d5bf
Fix: Duplicate template part refers to original name instead of dupli…
jorgefilipecosta Nov 27, 2024
14adfdb
DataViews: WP Specific build (#66825)
youknowriad Nov 27, 2024
b9b422b
Update Changelog for 19.8.0-rc.1
gutenbergplugin Nov 27, 2024
d82e134
Update changelog files
gutenbergplugin Nov 27, 2024
d02c4b4
chore(release): publish
gutenbergplugin Nov 27, 2024
758b750
Site Editor: Unify layout with posts dataviews (#67162)
youknowriad Nov 27, 2024
443ce89
Site editor: style the selected template pattern (#65917)
benazeer-ben Nov 27, 2024
78fffa7
keep only copy, duplicate and delete in the more menu (#67279)
draganescu Nov 27, 2024
f8140c4
Drag and drop: fix drop zones on block drag (#67317)
ellatrix Nov 27, 2024
8dd99aa
Fix: Header layout spacing in Firefox (#67074)
Mayank-Tripathi32 Nov 27, 2024
6781982
DuotonePicker: Simplify Button styles (#66641)
mirka Nov 27, 2024
c070dd4
Remove fallback for `context.postType` (#67345)
SantosGuillamot Nov 27, 2024
d9eb6d9
Navigation block: Remove more obsolete Block Hooks helpers (#67193)
ockham Nov 27, 2024
fe70c12
Update Changelog for 19.7.0
gutenbergplugin Nov 27, 2024
b20ac37
Make sure Document Bar doesn’t go missing (#67322)
stokesman Nov 27, 2024
fedbea3
Storybook: Add stories for AlignmentToolbar and AlignmentControl comp…
miminari Nov 27, 2024
756cfe0
Query block: move patterns modal to dropdown on block toolbar (#66993)
ramonjd Nov 28, 2024
9a9af21
Fix synced pattern editing in write mode and refactor block editing m…
talldan Nov 28, 2024
2f6ef27
Remove use of `contentOnly` block editing mode for synced patterns (#…
talldan Nov 28, 2024
c9a5cab
Site Editor: Use path based routing instead of query args and site-ed…
youknowriad Nov 28, 2024
b54d1fe
Fix Site editor navigation menu items alignment visual regression. (#…
afercia Nov 28, 2024
d64cdab
Data Views: Add action for pages to set site homepage (#65426)
creativecoder Nov 28, 2024
2efb3a9
REST API: Support search_columns argument in the user endpoint (#67330)
youknowriad Nov 28, 2024
a48a414
CommentsPagination: Set font-size to inherit for pagination items (#6…
yogeshbhutkar Nov 28, 2024
f414562
Block Bindings: Remove client core sources registration in widgets (#…
SantosGuillamot Nov 28, 2024
c845cda
Router: Fix addition and removal of empty classnames (#67378)
tyxla Nov 28, 2024
45d9528
DataViews: Update `usePostFields` to accept postType (#67380)
ntsekouras Nov 28, 2024
daaa785
Edit Site: Fix sidebar template author navigation (#67382)
tyxla Nov 28, 2024
007daf0
Only pass `aria-label` when it is not empty (#67381)
SantosGuillamot Nov 28, 2024
81327d1
Update @ariakit/react to 0.4.13 (#65907)
ciampo Nov 28, 2024
a387fbb
Block Editor: Fix JS error in the 'useTabNav' hook (#67102)
Mamaduka Nov 28, 2024
5efeef9
Convert lock unlock to generics (#66682)
manzoorwanijk Nov 28, 2024
db263fb
Components: Fix the 'ClipboardButton' effect cleanup (#67399)
Mamaduka Nov 28, 2024
6a989b4
DataViews: Avoid double click handler on primary fields (#67393)
youknowriad Nov 28, 2024
9c1446d
FontCollection: Update pagination controls (#67143)
yogeshbhutkar Nov 28, 2024
5b44d8c
BoxControl: Passive deprecate `onMouseOver`/`onMouseOut` (#67332)
mirka Nov 28, 2024
35a68f6
BoxControl: Deprecate 36px default size (#66704)
hbhalodia Nov 28, 2024
1339e85
Add space between attributes for Search block (#61399)
sabernhardt Nov 29, 2024
a6212c8
Editor: Refactor 'PostPublishPanelPostpublish' to function component …
Mamaduka Nov 29, 2024
a572238
[mini] drag and drop: fix scroll disorientation after drop (#67405)
ellatrix Nov 29, 2024
8acc11d
Menu: throw when subcomponents are not rendered inside top level Menu…
ciampo Nov 29, 2024
68c7aba
Tabs: overhaul unit tests (#66140)
ciampo Nov 29, 2024
6f541e7
Sidebar: Update appearance of active items (#67318)
jameskoster Nov 29, 2024
aee29cb
Update @ariakit/react to 0.4.15 and @ariakit/test to 0.4.7 (#67404)
ciampo Nov 29, 2024
e19a6f0
Remove PostSlugCheck and PostSlug unused components (#67414)
ntsekouras Nov 29, 2024
96647ef
Editor: Use hooks instead of HOC in 'PostPublishButtonOrToggle' (#67413)
Mamaduka Nov 29, 2024
52b5429
[mini] drag and drop: restore moving animation (#67417)
ellatrix Nov 29, 2024
9ec5998
Fix color of disabled buttons in dark toolbar (#67348)
t-hamano Nov 29, 2024
f189eab
BorderBoxControl: Reduce gap value when unlinked (#67049)
t-hamano Nov 29, 2024
3994f99
FontFamilyControl: Restore margin bottom (#67424)
mirka Nov 29, 2024
2c88f6a
Fix: Caption with Link in Wide-Width and Full-Width Images Appears on…
jorgefilipecosta Nov 29, 2024
edd6328
UnitControl : Deprecate 36px default size (#66791)
hbhalodia Nov 29, 2024
11262ac
Pullquote block having design issue when text-decoration is choosen s…
imrraaj Nov 29, 2024
9ffbd9c
Block editor: try direct drag (outside text editable) (#67305)
ellatrix Nov 29, 2024
9defe9f
Fix misc type compilation errors in editor and block editor packages …
ramonjd Nov 29, 2024
9610000
Add types for shortcode package (#67416)
manzoorwanijk Nov 30, 2024
d0383fe
Fix: Styles section does not moves stylebook to typography. (#67423)
jorgefilipecosta Dec 1, 2024
988f259
Updated old URL in Documentation (#67446)
shail-mehta Dec 1, 2024
4775e70
Preload: fix settings fields order (#67450)
ellatrix Dec 1, 2024
c5b33b8
Implement image size option for featured image in cover block (#67273)
akasunil Dec 2, 2024
b867a5f
Fix List View not updating when switching editor modes (#67379)
talldan Dec 2, 2024
d251f75
Experiments: Remove trailing space in Color randomizer (#67457)
im3dabasia Dec 2, 2024
2f670d5
Remove inline-block display from image anchor in style.scss (#67368)
yogeshbhutkar Dec 2, 2024
358fb8e
Inserter: Patterns: remove loading indicator (#67072)
ellatrix Dec 2, 2024
22c43ff
Disable Zoom Out if no section root to allow for Theme opt in (#67232)
getdave Dec 2, 2024
e92d577
Remove one occurrence of incorrect usage of ItemGroup. (#67427)
afercia Dec 2, 2024
aef323a
PR template: add before/after table (#62739)
ellatrix Dec 2, 2024
8d343d1
Site Editor: Fix focus mode navigation (#67458)
youknowriad Dec 2, 2024
141e9cd
Site editor: Allow access to quick edit (#67469)
youknowriad Dec 2, 2024
e07fe5c
Preload: parse post ID from p (path) (#67465)
ellatrix Dec 2, 2024
39a4d1c
DataViews: Better handling of missing onClickItem prop (#67402)
youknowriad Dec 2, 2024
340d617
[mini] drag and drop: fix misplaced drop indicator (#67434)
ellatrix Dec 2, 2024
c517e41
Extensibility: Make Block Bindings work with `editor.BlockEdit` hook …
gziolo Dec 2, 2024
d3f344f
Prefer exact matches in Link Search results sorting (#67367)
getdave Dec 2, 2024
cd26001
Fix Meta boxes saving when they’re not present (#67254)
stokesman Dec 2, 2024
d0c372c
Fix write mode persisting after disabling the experiment
SantosGuillamot Dec 2, 2024
65fa4f3
NumberControl: Deprecate 36px default size (#66730)
hbhalodia Dec 2, 2024
15d63ce
useEditorTitle: fix wrong request without ID (#67475)
ellatrix Dec 2, 2024
6689c77
SlotFill: remove explicit rerender from portal version (#67471)
jsnajdr Dec 2, 2024
fa10d2f
Fix EntitiesSavedStates panel dialog props. (#67351)
afercia Dec 2, 2024
6561108
Correctly apply current-menu-ancestor class to <li> in Nav block #67169
getdave Dec 2, 2024
1d06b35
Site Editor: Pages: Preload template lookup (#66654)
ellatrix Dec 2, 2024
d8a457b
Block Editor: Animate useScaleCanvas() only when toggling zoomed out …
tyxla Dec 2, 2024
232d14f
DropdownMenu: Increase option height to 40px (#67435)
mirka Dec 2, 2024
b61f913
CustomSelectControl: Deprecate 36px default size (#67441)
mirka Dec 2, 2024
8d80471
FormFileUpload: Deprecate 36px default size (#67438)
mirka Dec 2, 2024
fe8e832
ToolbarButton: Set size to "compact" (#67440)
mirka Dec 2, 2024
11991fe
Zoom out: fix for inserter (#67495)
ellatrix Dec 2, 2024
92c12fe
LetteringSpacingControl: Deprecate 36px default size (#67429)
mirka Dec 2, 2024
c54d810
Preload: fix e2e test (#67497)
ellatrix Dec 2, 2024
ec756b0
useScaleCanvas performance improvements (#67496)
jeryj Dec 2, 2024
88143b3
Inline Commenting: Added new sidebar as extension of the canvas (#67347)
akasunil Dec 2, 2024
66d952b
Storybook: Support keyword search in Icon Library (#67442)
mirka Dec 2, 2024
6ef2f24
Added disableAlpha prop to CustomGradientPicker and GradientPicker co…
wwdes Dec 2, 2024
680fef5
Navigation Block: Fix issue with double-clicking "Create a new menu" …
creador-dev Dec 3, 2024
9addc70
Fix editor crash due to homepage action (#67500)
Mayank-Tripathi32 Dec 3, 2024
df9a213
Site Editor: Fix the patterns route on mobile (#67467)
youknowriad Dec 3, 2024
826c430
Align Submenu block and Nav Link block by including description and w…
prajapatisagar Dec 3, 2024
5900cf6
Move `duplicateTemplatePart` action to the `@wordpress/fields` packag…
gigitux Dec 3, 2024
fa438ca
Revert "Extensibility: Make Block Bindings work with `editor.BlockEdi…
gziolo Dec 3, 2024
fcee058
Scripts: Make React Fast Refresh work with multiple blocks (#64924)
gziolo Dec 3, 2024
5c76815
Quick Edit: add Template field (#66591)
gigitux Dec 3, 2024
4d225cc
[mini] Preload: add post type (#67518)
ellatrix Dec 3, 2024
0ff919f
Docs: Remove invalid key projects links on the documentation. (#67491)
jorgefilipecosta Dec 3, 2024
1c3cea4
Exclude Set instance methods from polyfills (#67230)
sgomes Dec 3, 2024
7631986
Split view with meta boxes even with legacy canvas (#66706)
stokesman Dec 3, 2024
47718ab
BlockSwitcher: Refactor to use Button layout properly (#67502)
mirka Dec 3, 2024
de96b5a
Fix zoom animation scrollbar (#67536)
jeryj Dec 3, 2024
af35f67
Fix: Invalid JSDoc for optional string parameter and return value. (#…
jorgefilipecosta Dec 3, 2024
635a6e2
Add `format` and `parents` to list of `allowedControls` options in Ex…
gvgvgvijayan Dec 3, 2024
40b8653
FormTokenField: Deprecate 36px default size (#67454)
hbhalodia Dec 3, 2024
f32a49e
Fix: Fixed styling tab not opening on themes without style variations…
Mayank-Tripathi32 Dec 3, 2024
fa636dc
Site Editor Sidebar: remove `hasGlobalStyleVariations` condition for …
ramonjd Dec 4, 2024
d017783
Site Editor: Fix the templates route on mobile (#67547)
ramonjd Dec 4, 2024
cc5a2b7
Block Editor: Group 'onRemove' callback with other public APIs (#67551)
Mamaduka Dec 4, 2024
8ddab81
Inline Commenting: Re-order the comments in sidebar in which blocks a…
akasunil Dec 4, 2024
dc532bb
Separator block: Allow divs to be used as separators (#67530)
youknowriad Dec 4, 2024
ae3e115
Site Editor: Fix sidebar plugins (#67557)
youknowriad Dec 4, 2024
6d6e480
Fix hiding/showing meta boxes (#67504)
stokesman Dec 4, 2024
e62f8b4
Site Editor: Fix featured image not appearing in pages dataviews (#67…
youknowriad Dec 4, 2024
26cd78c
Bump plugin version to 19.8.0-rc.2
gutenbergplugin Dec 4, 2024
31e1950
Update Changelog for 19.8.0-rc.2
gutenbergplugin Dec 4, 2024
e0341a4
Refine `getServerState()` & `getServerContext()` docs (#67499)
michalczaplinski Dec 4, 2024
63999da
Bump plugin version to 19.8.0
gutenbergplugin Dec 4, 2024
88a3cef
Update Changelog for 19.8.0
gutenbergplugin Dec 4, 2024
532b8e2
QuickEdit: prevent site-editor from crashing when data is not an obje…
oandregal Dec 4, 2024
ce00a5f
DataViews build-wp: don't bundle singleton WordPress packages (#67590)
jsnajdr Dec 4, 2024
944c5b0
Update misc types and revert WPCompleter export from components (#67599)
ramonjd Dec 4, 2024
bb56ce8
Edit site: remove empty preview border and redirect to editor in glob…
ramonjd Dec 4, 2024
e18605f
Update style book headings to new design (#67546)
tellthemachines Dec 5, 2024
e8a7463
Block Editor: Reduce the 'isZoomOut' selector calls in the block tool…
Mamaduka Dec 5, 2024
600218e
Fix: Write Mode mode persists as enabled in widget editor. (#67587)
jorgefilipecosta Dec 5, 2024
e44e110
Storybook: Remove unnecessary feature flags (#67576)
tyxla Dec 5, 2024
e6f7b4f
Storybook: Use manager-api instead of addons package (#67578)
tyxla Dec 5, 2024
09b2897
improve documentation for fields package (#67580)
gigitux Dec 5, 2024
0b3a191
Fix: Remove unused test code on tools panel. (#67589)
jorgefilipecosta Dec 5, 2024
094bd3a
Drag and drop: fix firefox compat logic (#67439)
ellatrix Dec 5, 2024
3ea3ba2
DataViews: Create a single component for rendering the actions list (…
ntsekouras Dec 5, 2024
eace185
Global styles: controls in grid should match between sidebar panel an…
ramonjd Dec 5, 2024
4a5b519
DataViews: Move template and pattern title fields (#67449)
ntsekouras Dec 5, 2024
f6c0334
DataViews build-wp: don't bundle the date package (#67612)
jsnajdr Dec 5, 2024
2205e5f
InspectorControlsSlot: remove unused framer motion context forwarding…
ciampo Dec 5, 2024
5644105
docs: Describe patch files (#67603)
dcalhoun Dec 5, 2024
c99acaf
Keycodes: improve tree shaking by annotating exports as pure (#67615)
jsnajdr Dec 5, 2024
237b381
Remove words count in the multi-selection inspector (#67624)
ntsekouras Dec 5, 2024
3133f56
Remove `__unstableMotionContext` from `@wordpress/components` (#67623)
ciampo Dec 5, 2024
1418350
Preview: ArgsTable => Controls (#67582)
tyxla Dec 5, 2024
c93fd2d
Storybook: Update control types from `null` to `undefined` (#67581)
tyxla Dec 5, 2024
f45e35d
Storybook: Fix control types (#67646)
tyxla Dec 5, 2024
2caf693
Fix: Remove parent block selector while in Write mode (#67395)
jorgefilipecosta Dec 5, 2024
b05a01f
Docs: Fix Playwright Page Object Model link. (#67652)
jorgefilipecosta Dec 5, 2024
63c4d5b
Revert "Preview: ArgsTable => Controls (#67582)" (#67656)
mirka Dec 5, 2024
34088ef
Style book: scroll to top at styles root (#67605)
ramonjd Dec 6, 2024
4335c45
Global Styles: Fix handling of booleans when stabilizing block suppor…
aaronrobertshaw Dec 6, 2024
794eec2
Navigation: Enable all non-interactive formats (#67585)
Mamaduka Dec 6, 2024
5ed400c
Fix latest post block spacing issue. (#66442)
viralsampat-multidots Dec 6, 2024
6c312f7
Welcome guide headline update (#67654)
benazeer-ben Dec 6, 2024
32cbb04
Add header to the quick edit when bulk editing (#67390)
louwie17 Dec 6, 2024
15bff41
Upgrade TypeScript to 5.7 and fix types (#67461)
manzoorwanijk Dec 6, 2024
9e76f0f
Build: Stop generating unused legacy scripts for core blocks (#65268)
gziolo Dec 6, 2024
d59faff
WP Scripts: Update webpack dependencies related to styling (#67572)
gziolo Dec 6, 2024
6b16c73
DataViews: Unify layout config (#67477)
youknowriad Dec 6, 2024
b8bfb4d
Site Editor: Wrap each router area in 'ErrorBoundary' (#64245)
Mamaduka Dec 6, 2024
886662e
Block Editor: Remove 'React.Children' legacy API in 'Warning' compone…
Mamaduka Dec 6, 2024
b062f3e
Storybook: Fix BlockPatternsList fixtures (#67672)
tyxla Dec 6, 2024
b6cfa1e
Popover: Use anchor instead of anchorRef in story (#67674)
tyxla Dec 6, 2024
7cd4a7e
Theme: Fix contrast in nested story (#67681)
tyxla Dec 6, 2024
71c6fb6
Disabled: Suppress contentEditable warning in story (#67679)
tyxla Dec 6, 2024
a0c4c61
Scrollable: Fix story by declaring field as readonly (#67683)
tyxla Dec 6, 2024
0d7312b
DateTime: Add default date/time to stories (#67678)
tyxla Dec 6, 2024
bad9281
Storybook: Fix table markup in Design Language - Radius docs (#67686)
tyxla Dec 6, 2024
4251bbd
Storybook: Fix storybook blocks imports (#67684)
tyxla Dec 6, 2024
5896920
RangeControl: Update the default marks styles to match the padding/ma…
youknowriad Dec 6, 2024
2331573
Bump actions/cache from 4.1.2 to 4.2.0 in the github-actions group (#…
dependabot[bot] Dec 6, 2024
00c32f4
Update pre-publish panel wording to accurately describe the review pr…
sarthaknagoshe2002 Dec 6, 2024
cf528bf
Fix useZoomOut inserter behavior (#67591)
jeryj Dec 6, 2024
65193ea
Site Editor: remove default page slug (#67673)
ramonjd Dec 6, 2024
96ceed1
Global Styles Preview: Don't use iframe component (#67682)
t-hamano Dec 7, 2024
959bb6b
Simplify description and option names in the Lock modal dialog (#67437)
sarthaknagoshe2002 Dec 7, 2024
72417c3
Style book: Fix critical error when blocks are not registered (#67703)
t-hamano Dec 7, 2024
df98e37
CreateTemplatePartModal: replace ts-ignore with ts-expect-error (#67709)
gigitux Dec 7, 2024
7cf1ced
Remove .components-item-group selector in edit-site components[2] (#6…
im3dabasia Dec 8, 2024
24c0076
Update global stylesheet docblocks with `custom-css` parameter. (#67716)
tellthemachines Dec 9, 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.
79 changes: 65 additions & 14 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ module.exports = {
'plugin:eslint-comments/recommended',
'plugin:storybook/recommended',
],
plugins: [ 'react-compiler' ],
globals: {
wp: 'off',
globalThis: 'readonly',
Expand All @@ -177,6 +178,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 +217,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 +246,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,45 +297,76 @@ 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)/**',
'packages/*/src/**/@(test|stories)/**',
'**/*.@(native|ios|android).js',
],
rules: {
'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.',
},
],
},
},
{
files: [
// Components package.
'packages/components/src/**/*.[tj]s?(x)',
// Navigation block.
'packages/block-library/src/navigation/**/*.[tj]s?(x)',
],
excludedFiles: [ ...developmentFiles ],
rules: {
'react-hooks/exhaustive-deps': 'error',
},
},
{
files: [ 'packages/jest*/**/*.js', '**/test/**/*.js' ],
excludedFiles: [ 'test/e2e/**/*.js', 'test/performance/**/*.js' ],
Expand Down Expand Up @@ -512,6 +562,7 @@ module.exports = {
{
files: [ 'packages/interactivity*/src/**' ],
rules: {
'react-compiler/react-compiler': 'off',
'react/react-in-jsx-scope': 'error',
},
},
Expand Down
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
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 Down Expand Up @@ -119,9 +119,9 @@
/packages/plugins @gziolo @adamsilverstein

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

# Project Management
/.github @desrosj
Expand Down
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,13 @@ body:
options:
- 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 -->|
23 changes: 13 additions & 10 deletions .github/workflows/build-plugin-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ name: Build Gutenberg Plugin Zip
on:
pull_request:
push:
branches: [trunk]
branches:
- trunk
- 'release/**'
- 'wp/**'
workflow_dispatch:
inputs:
version:
Expand Down Expand Up @@ -69,7 +72,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
token: ${{ secrets.GUTENBERG_TOKEN }}
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
Expand Down Expand Up @@ -165,13 +168,13 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ needs.bump-version.outputs.release_branch || github.ref }}
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Use desired version of Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: '.nvmrc'
check-latest: true
Expand Down Expand Up @@ -222,7 +225,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 2
ref: ${{ needs.bump-version.outputs.release_branch }}
Expand Down Expand Up @@ -270,12 +273,12 @@ jobs:
run: echo "version=$(echo $VERSION | cut -d / -f 3 | sed 's/-rc./ RC/' )" >> $GITHUB_OUTPUT

- name: Download Plugin Zip Artifact
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: gutenberg-plugin

- name: Download Release Notes Artifact
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: release-notes

Expand Down Expand Up @@ -311,14 +314,14 @@ jobs:
if: ${{ endsWith( needs.bump-version.outputs.new_version, '-rc.1' ) }}
steps:
- name: Checkout (for CLI)
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: main
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Checkout (for publishing)
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: publish
# Later, we switch this branch in the script that publishes packages.
Expand All @@ -333,7 +336,7 @@ jobs:
git config user.email [email protected]

- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: 'main/.nvmrc'
registry-url: 'https://registry.npmjs.org'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Use desired version of Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: '.nvmrc'
check-latest: true
cache: npm

- uses: preactjs/compressed-size-action@f780fd104362cfce9e118f9198df2ee37d12946c # v2.6.0
- uses: preactjs/compressed-size-action@6fa0e7ca017120c754863b31123c5ee2860fd434 # v2.7.0
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: '{build/**/*.min.js,build/**/*.css}'
pattern: '{build/**/*.min.js,build/**/*.css,build-module/**/*.min.js}'
clean-script: 'distclean'
4 changes: 2 additions & 2 deletions .github/workflows/check-backport-changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Verify Core Backport Changlog
name: Verify Core Backport Changelog

on:
pull_request:
Expand All @@ -22,7 +22,7 @@ jobs:
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:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-components-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: 'Get PR commit count'
run: echo "PR_COMMIT_COUNT=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cherry-pick-wp-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:

- name: Checkout repository
if: env.cherry_pick == 'true'
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
token: ${{ secrets.GUTENBERG_TOKEN }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
os: ['macos-latest', 'ubuntu-latest', 'windows-latest']

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

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

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down Expand Up @@ -102,12 +102,12 @@ jobs:
steps:
# Checkout defaults to using the branch which triggered the event, which
# isn't necessarily `trunk` (e.g. in the case of a merge).
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- uses: actions/[email protected].7
- uses: actions/[email protected].8
# Don't fail the job if there isn't any flaky tests report.
continue-on-error: true
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/enforce-pr-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
with:
mode: exactly
count: 1
labels: '[Type] Automated Testing, [Type] Breaking Change, [Type] Bug, [Type] Build Tooling, [Type] Code Quality, [Type] Copy, [Type] Developer Documentation, [Type] Enhancement, [Type] Experimental, [Type] Feature, [Type] New API, [Type] Task, [Type] Technical Prototype, [Type] Performance, [Type] Project Management, [Type] Regression, [Type] Security, [Type] WP Core Ticket, Backport from WordPress Core'
labels: '[Type] Automated Testing, [Type] Breaking Change, [Type] Bug, [Type] Build Tooling, [Type] Code Quality, [Type] Copy, [Type] Developer Documentation, [Type] Enhancement, [Type] Experimental, [Type] Feature, [Type] New API, [Type] Task, [Type] Technical Prototype, [Type] Performance, [Type] Project Management, [Type] Regression, [Type] Security, [Type] WP Core Ticket, Backport from WordPress Core, Gutenberg Plugin'
add_comment: true
message: "**Warning: Type of PR label mismatch**\n\n To merge this PR, it requires {{ errorString }} {{ count }} label indicating the type of PR. Other labels are optional and not being checked here. \n- **Type-related labels to choose from**: {{ provided }}.\n- **Labels found**: {{ applied }}.\n\nRead more about [Type labels in Gutenberg](https://github.com/WordPress/gutenberg/labels?q=type). Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task."
exit_type: failure
6 changes: 4 additions & 2 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ jobs:
name: 'Validation'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
- uses: gradle/wrapper-validation-action@v3
- name: Validate checksums
uses: gradle/actions/wrapper-validation@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
Loading
Loading