Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
400 commits
Select commit Hold shift + click to select a range
d31bba6
Fix dataviews scroll and footer stickiness (#72150)
tellthemachines Oct 9, 2025
5f1cd54
Breadcrumbs: Php improvements (#72155)
ntsekouras Oct 9, 2025
ef4b75c
Changelog automation: change "Block Commenting" to "Notes" (#72192)
t-hamano Oct 9, 2025
e5b408b
Block Comments: Try the alt method for transferring focus to sidebar …
Mamaduka Oct 9, 2025
33b2866
Block Comments: Try alternative method for spotlight (#72194)
Mamaduka Oct 9, 2025
652ea10
Block support: add allowedBlocks support for more blocks (#72191)
t-hamano Oct 9, 2025
46a9702
Build v2: Improve script modules dependency handling (#72188)
youknowriad Oct 9, 2025
ad6a992
Navigation Link: Fix custom links creating empty bindings and severed…
getdave Oct 9, 2025
bd95fe0
Add Additional CSS Classes setting to Inline Text Link UI (#67560)
getdave Oct 9, 2025
4a4522e
Accordion: Remove headingLevel from Reset All Attributes (#72186)
shimotmk Oct 9, 2025
7b51396
Pages: reuse embedded info for authors (#72200)
oandregal Oct 9, 2025
1c57b61
Accordion Item block: add layout support (#72176)
sidharthpandita1 Oct 9, 2025
9b99886
Fix navigation link URL binding resolution on frontend (#72169)
getdave Oct 9, 2025
6c5979c
Fix Nav Block Link UI regression for blocks with id but no binding (#…
getdave Oct 9, 2025
33793ea
Fix block card back arrow in inserter preview (#72199)
talldan Oct 9, 2025
215409c
Add keyboard shortcut toggle block visibility (#72172)
t-hamano Oct 9, 2025
4a09fcd
Notes: Hide block settings menu items for mulit-selection (#72206)
Mamaduka Oct 9, 2025
56cb31e
Resolving Comments hide reserved space for comments (#72210)
karthick-murugan Oct 9, 2025
191acf8
Accordion Panel Block: Add layout support (#72211)
t-hamano Oct 9, 2025
63bbc42
Add fitText field to block.json schema (#72198)
aditya241104 Oct 9, 2025
688c9be
Terms Query: Move variations from `Term template` (#72197)
ntsekouras Oct 9, 2025
9c725d0
CheckboxControl, RadioControl, ToggleControl: Ensure focus on click (…
mirka Oct 9, 2025
96bd0b2
Pages: use embedded info for feature media (#72213)
oandregal Oct 9, 2025
e5e95ff
Don't applySelection change for off-canvas text length changes (#72221)
jeryj Oct 9, 2025
c48bb6f
Block Comments: Improve focus management for comment interactions (#7…
karthick-murugan Oct 10, 2025
7e69ee6
Fix PHP tests (#72236)
ntsekouras Oct 10, 2025
bc435eb
Term Description: Fix front end context (#72238)
mikachan Oct 10, 2025
69a0b12
Remove old pattern overrides back compat code and update tests (#72231)
talldan Oct 10, 2025
834da76
Build V2: Support JSX and JSON (#72202)
youknowriad Oct 10, 2025
d415904
Add Term Name block (#72129)
mikachan Oct 10, 2025
609cd09
Bump the github-actions group across 1 directory with 3 updates (#72108)
dependabot[bot] Oct 10, 2025
bed994a
Fix entity binding not cleared when unsyncing and entering custom URL…
getdave Oct 10, 2025
fd16d0e
Block Comments: Add focus on Comment deletion (#71974)
karthick-murugan Oct 10, 2025
0a7e1cc
Build V2: Supports packages with styles (#72242)
youknowriad Oct 10, 2025
d3c04eb
Time to Read: Add word count icon (#72240)
mikachan Oct 10, 2025
c714a67
Fix the undefined type problem with api docgen for typescript files (…
ingeniumed Oct 10, 2025
87ef865
Add Navigation block toolbar buttons to Template Part editor (#72008)
getdave Oct 10, 2025
4f06ff1
Fix: Prevent submenu hover in contentOnly mode (#72007)
getdave Oct 10, 2025
b6989b7
Refactor sync provider into a `createSyncManager` factory function (#…
chriszarate Oct 10, 2025
3608aa3
DataForm: do not add empty option to select by default (#72241)
sidharthpandita1 Oct 10, 2025
8604a8b
Fix: Underline text decoration propagates to badge fields (#72097)
jorgefilipecosta Oct 10, 2025
7888a1e
Move Yjs providers into subfolder (#72224)
chriszarate Oct 10, 2025
f064f92
Build v2: Migrate another batch of packages to v2 pipeline (#72251)
youknowriad Oct 10, 2025
d637bbf
Block Editor: Hide Navigation block children from Content sidebar in …
getdave Oct 10, 2025
4ea1103
Components: Fix color scale functions (#72255)
mirka Oct 10, 2025
ec9d3f5
Build v2: Fix scss watching (#72257)
mirka Oct 10, 2025
a45715d
Notes: Remove unnecessary horizontal scrollbar (#72250)
t-hamano Oct 11, 2025
ab245bd
Details Block: remove accordion keyword to avoid confusion with Accor…
nani-samireddy Oct 11, 2025
efd174a
Ensure meta boxes are not hidden when legacy (#72220)
stokesman Oct 11, 2025
1f977f4
Accordion heading:remove toggle icon typography (#72227)
shimotmk Oct 11, 2025
9688e5b
Add Term Count block (#72218)
cr0ybot Oct 12, 2025
aedbe01
Notes: Add more e2e tests for keyboard navigation (#72271)
t-hamano Oct 13, 2025
2773daa
Remove write/navigation mode experiment, tool and selectors. (#72193)
tellthemachines Oct 13, 2025
1093d11
Notes: Add skip link button to back to block (#72270)
t-hamano Oct 13, 2025
580041c
Fix changelog example to match standard format (#72164)
DAreRodz Oct 13, 2025
caec014
Notes/Block Comments: Use arguments from the schema for creation (#72…
Mamaduka Oct 13, 2025
7691c10
Terms Query: Remove block bindings (#72275)
ntsekouras Oct 13, 2025
73ccf6b
Pages: disable filter for discussion field (#72201)
oandregal Oct 13, 2025
c5024f1
Notes: Add privacy info text (#72276)
karthick-murugan Oct 13, 2025
81142e2
rename "hierarchical" to "showNested" (#72273)
cr0ybot Oct 13, 2025
3b542e1
Build V2: Fix emotion transpiling (#72280)
youknowriad Oct 13, 2025
0d9fee5
Fix: don’t allow unlocking accordion item and panel blocks (#72290)
fabiankaegy Oct 13, 2025
525f643
Build V2: Migrate more packages including block-editor (#72259)
youknowriad Oct 13, 2025
f87e9a7
Terms Query: Use `perPage` attribute to fetch only required terms (#7…
ntsekouras Oct 13, 2025
286afd3
Terms Query: Use `templateSlug` from context (#72295)
ntsekouras Oct 13, 2025
3007066
Switch to using sass-embedded for build-v2 (#72258)
aduth Oct 13, 2025
29c305a
Update Terms Query block variation names and icons (#72298)
cr0ybot Oct 13, 2025
f23e6ee
Terms Query block: remove duplicate server-rendered wrapper (#72296)
cr0ybot Oct 13, 2025
dd9cd12
Build: Cross-package style dependencies should use built files and no…
youknowriad Oct 13, 2025
8ef5e38
Notes: Floating comments aligned with blocks that avoid overlapping (…
adamsilverstein Oct 14, 2025
8b4cca5
Block Comments: Capture resolution history & display in thread (#71563)
yashjawale Oct 14, 2025
23231c6
use linked term names in variations (#72307)
cr0ybot Oct 14, 2025
71b05e6
Perf: Avoid busting the memo cache for `useDebounce` options (#72279)
talldan Oct 14, 2025
0c4370b
Notes: Rename comment type (#72310)
Mamaduka Oct 14, 2025
2f21898
Note: Fix the error when creating a new note (#72312)
Mamaduka Oct 14, 2025
8881cf5
Notes: Tweak thead style (#72308)
t-hamano Oct 14, 2025
f0929e7
Remove redundant max percentage from download progress (#72282)
mathiscode Oct 14, 2025
d762216
Packages Build: Fix watch mode for style files (#72315)
youknowriad Oct 14, 2025
f54ef78
Notes: improve REST API checks for resolution notes (#72316)
t-hamano Oct 14, 2025
49f3617
Notes: Audit and update translation strings (#72311)
Mamaduka Oct 14, 2025
2dce9df
PHP-only blocks: add documentation (#72068)
priethor Oct 14, 2025
0cc1592
Details block: Add name attribute in editor (#71054)
Soean Oct 14, 2025
f13dcfa
Build v2: Migrate DataViews and Admin UI (#72319)
youknowriad Oct 14, 2025
e82f668
Icons: Bundle generated source code (#72299)
mcsf Oct 14, 2025
b3bfc4c
Build V2: Migrate more packages (#72324)
youknowriad Oct 14, 2025
61199c6
Allow Post Content when "Force Page Reload" is disable in the Query L…
SantosGuillamot Oct 14, 2025
1839787
Template activation: improve back compat (#72223)
ellatrix Oct 14, 2025
a854174
Notes: Allow creating duplicate comments for all notes (#72320)
t-hamano Oct 14, 2025
539640a
Field types: move element validation to `isValid.elements` (#72325)
oandregal Oct 14, 2025
248d8db
Build v2: Migrate more packages including editor (#72328)
youknowriad Oct 14, 2025
930ac0b
Workflows: Performance: Fix RegExp for wpVersion option (#72327)
mcsf Oct 14, 2025
8401993
Improve CRDT "merge logic" for post entities (#72262)
chriszarate Oct 14, 2025
dac6ab4
Bump plugin version to 21.8.1
gutenbergplugin Oct 14, 2025
7d32d46
Update Changelog for 21.8.1
gutenbergplugin Oct 14, 2025
750f4f1
DataForm: reorganize validation tests (#72330)
oandregal Oct 14, 2025
0b439e8
Block Bindings: Refactor UI, improve consistency, add more info about…
cbravobernal Oct 14, 2025
1e155a5
Time to Read: Don't use `wp_word_count()` function (#72091)
t-hamano Oct 15, 2025
94ec7e5
Badge: Fix styles (#72302)
mirka Oct 15, 2025
7829b63
iAPI: Add official support for unique IDs (#72161)
luisherranz Oct 15, 2025
041c7b4
Notes: Move focus to the parent thread when a reply was deleted (#72341)
Mamaduka Oct 15, 2025
d8d1d68
Editor: Don't use deprecated '__experimentalGetDefaultTemplateType' s…
Mamaduka Oct 15, 2025
4780d2c
Drag and drop: direct drag: move block instead of drag chip (#67470)
ellatrix Oct 15, 2025
75bf886
Notes: Avoid losing sidebar reference (#72342)
Mamaduka Oct 15, 2025
e6e0f56
Notes: Graduate from experiments (#72344)
Mamaduka Oct 15, 2025
8b4c486
Breadcrumbs: Do not allow empty separator (#72347)
ntsekouras Oct 15, 2025
983b40b
Build v2: Migrate block library (#72333)
youknowriad Oct 15, 2025
a486bd6
Build v2: Fix block-editor default colors (#72349)
youknowriad Oct 15, 2025
35ba775
Build v2: Migrate edit-* packages to the new build script (#72354)
youknowriad Oct 15, 2025
ee7f264
Revert "Template activation: redirect theme templates urls to wp_regi…
ellatrix Oct 15, 2025
0dfe731
Notes: Don't change 'type' schema (#72357)
Mamaduka Oct 15, 2025
fb36358
DataForm: refactor RelativeDateControl to use DataFormControl props (…
oandregal Oct 15, 2025
43b5eb8
Standardise DataForm typography (#72284)
jameskoster Oct 15, 2025
d7800bf
Add Link UI tests for entity-bound navigation links (#72209)
getdave Oct 15, 2025
bd8c753
Fix transpilation warnings (#72359)
Utsav-Ladani Oct 16, 2025
2929249
Categories block: Improve and harden JavaScript used when displayed a…
westonruter Oct 16, 2025
820d9f7
DataViews and DataViews Picker: ensure title overflows correctly in G…
ramonjd Oct 16, 2025
0efc3f2
Terms Query: Update `inherit` control and functionality (#72313)
ntsekouras Oct 16, 2025
bec6868
Term Name: Decode HTML entities (#72375)
t-hamano Oct 16, 2025
f1ba4d6
Notes: Fix commentId `cleanEmptyObject` attributes (#72369)
shimotmk Oct 16, 2025
435890c
BlockRenameModal: Fix Rename `cleanEmptyObject` attributes (#72371)
shimotmk Oct 16, 2025
fca898b
Terms Query: Add `include` specific terms support (#72286)
ntsekouras Oct 16, 2025
a4cc66d
Icons: Add `prepare` script to generate source; don't bundle (#72365)
mcsf Oct 16, 2025
e6883d7
Bump plugin version to 21.8.2
gutenbergplugin Oct 16, 2025
3ca7316
Block Bindings: Move bindable attributes to privateContext. (#72351)
cbravobernal Oct 16, 2025
043b5af
Update Changelog for 21.8.2
gutenbergplugin Oct 16, 2025
9f018d6
Build V2: Fix DataViews export file (#72387)
youknowriad Oct 16, 2025
8df5174
Block Transforms: In metadata transform, remove check for block bindi…
ockham Oct 16, 2025
854935e
Update `modalHeader` to support dynamic modal header text based on se…
gigitux Oct 16, 2025
0218c1f
Terms Query: Stabilize the block (#72380)
ntsekouras Oct 16, 2025
fd17383
Build V2: Cleanup v1 build scripts (#72358)
youknowriad Oct 16, 2025
99a5118
Terms Query: Small PHP code quality changes (#72385)
ntsekouras Oct 16, 2025
6a200d5
Try: Fix flaky router styles e2e tests (#72329)
Mamaduka Oct 16, 2025
76c835c
Breadcrumbs: Make experimental (#72234)
ntsekouras Oct 16, 2025
a466c51
Create block: update DocBlock with exposed variables for render.php t…
benoitchantre Oct 16, 2025
4dbf51e
Notes: Update button labels (#72352)
Mamaduka Oct 16, 2025
f05fe79
DataForm: introduce `validity` prop (#71412)
oandregal Oct 16, 2025
782cd64
iAPI: Handle all `getServerState` and `getServerContext` sync scenari…
luisherranz Oct 16, 2025
91c4492
HTML API: Refactor layout image container. (#72264)
dmsnell Oct 11, 2025
1ac6925
Notes: Add More Menu Item (#72377)
t-hamano Oct 17, 2025
2f0415b
Notes: Update snackbar text (#72409)
t-hamano Oct 17, 2025
6400c45
iAPI: fix unexpected browser warning for withSyncEvent() wrapper (#70…
t-hamano Oct 17, 2025
ee357b3
Fix: Change ordering of multiple `data-wp-context` directives in iAPI…
SantosGuillamot Oct 17, 2025
ef01bf2
Release Documentation: Add quick reference guide (#72388)
priethor Oct 17, 2025
6d809f3
Fit-Text: Resize immediately, but limit max size when block is select…
jorgefilipecosta Oct 17, 2025
7bc0330
Notes: Change metadata key (#72411)
t-hamano Oct 17, 2025
d1ab635
bindableAttributes is undefined, as we removed the array (#72401)
cbravobernal Oct 17, 2025
59884e7
Breadcrumbs: Add `post with terms` breadcrumbs support (#72124)
ntsekouras Oct 17, 2025
66fe709
Paragraph and Heading Block: Remove stretchy text variation (#72408)
t-hamano Oct 17, 2025
9f726e4
Notes: When thread active push previous floating comments up (#72309)
adamsilverstein Oct 17, 2025
7f4335a
Block Bindings: Move support for Navigation blocks url attribute to c…
ockham Oct 17, 2025
72314cf
Remove core/entity binding in favour of post and term data bindings. …
getdave Oct 17, 2025
018ce8e
Notes: Remove 'isDefaultEmptyBlock' condition (#72427)
Mamaduka Oct 17, 2025
c58a8ba
Add missing type export (#72428)
dilirity Oct 17, 2025
e5fab99
Notes: Show orphaned notes in archive sidebar (#72420)
t-hamano Oct 17, 2025
d05373e
Terms Query: Fix display all terms in editor (#72419)
ntsekouras Oct 17, 2025
2d3beaf
Notes: Relocate privacy info text (#72421)
Mamaduka Oct 17, 2025
3d52698
Build v2: Move the php files copying to the v2 script and make the co…
youknowriad Oct 17, 2025
c03a38d
iAPI Router: Selectively preload interactivity script modules (#72340)
samueljseay Oct 17, 2025
26b210c
Block Bindings: Remove spurious attributes from supported-by-6.8 list…
ockham Oct 17, 2025
685aa04
Notes: Fix logic for opening feature sidebar areas (#72431)
karthick-murugan Oct 17, 2025
e000aac
iAPI: Skip directive execution for "lazy" derived state props (#71125)
DAreRodz Oct 17, 2025
83bc2b6
iAPI: Fix `wp-each` item contexts for objects with same key (#70424)
DAreRodz Oct 17, 2025
48d21c2
Block Transforms: use new getTransformedAttributes() function (#72196)
t-hamano Oct 17, 2025
4dbc97e
Fix Page List to Navigation Link conversion with entity bindings (#72…
getdave Oct 17, 2025
34fc507
Wait for transpilation of all JS files before compiling styles (#72435)
Utsav-Ladani Oct 17, 2025
896d2d6
Build V2: Adhoc script to build vendors and remove webpack (#72441)
youknowriad Oct 17, 2025
4d1610a
Template activation: fix theme field for old REST API endpoint (#72366)
ellatrix Oct 17, 2025
a311feb
Add math block and rich text format (#72182)
ellatrix Oct 17, 2025
4c5ef3a
Template activation: duplicate modal on static template click, remove…
ellatrix Oct 17, 2025
fb90cd3
Build v2: Cleanup and simplify build and dev scripts (#72448)
youknowriad Oct 17, 2025
c06b2ed
Field API: support async loading elements (#72254)
oandregal Oct 17, 2025
965b541
Icons: Make tracked file checker work in more environments (#72337)
mirka Oct 17, 2025
0d83c9c
Eslint: Ignore `build-wp` (#72404)
mirka Oct 17, 2025
dedce1b
Build v2: Fix watch of nested dependencies (#72451)
youknowriad Oct 17, 2025
44b6d89
Block Bindings: Migrate post-data and term-data source to use `field`…
cbravobernal Oct 17, 2025
e185a04
Template activation: clear notice on post change (#72403)
ellatrix Oct 17, 2025
1c5b208
Bump plugin version to 21.9.0-rc.1
gutenbergplugin Oct 17, 2025
2a67fa8
Cleanup clearBinding usage (#72439)
jeryj Oct 17, 2025
1930d79
Update Changelog for 21.9.0-rc.1
gutenbergplugin Oct 17, 2025
42fc6dc
Bundled packages should expose their styles as public APIs (#72438)
youknowriad Oct 17, 2025
70a06a7
Remove specific logger in test environments
youknowriad Oct 17, 2025
8017700
Revert "Remove specific logger in test environments"
youknowriad Oct 17, 2025
38669a9
Build: Fix primitives package warning (#72456)
youknowriad Oct 17, 2025
94786bb
Remove specific logger in test environments (#72457)
youknowriad Oct 17, 2025
c472af8
Update changelog files
gutenbergplugin Oct 17, 2025
98e9295
chore(release): publish
gutenbergplugin Oct 17, 2025
eedc21c
Button: update font-weight to `500` (#70787)
ciampo Oct 20, 2025
217954a
TabPanel: Update tab font-weight (#72455)
mirka Oct 20, 2025
0c3ce35
DataViews: Use Text-Based Links for Primary Actions (#72417)
jorgefilipecosta Oct 20, 2025
2c92834
Enqueue non-minified JS files when `SCRIPT_DEBUG` is enabled (#72480)
Utsav-Ladani Oct 20, 2025
e26dc34
Notes: Don't render 'no results' message for floating sidebar (#72484)
Mamaduka Oct 20, 2025
b3e3e44
Move backport to 7.0 folder (#72472)
oandregal Oct 20, 2025
83ba85d
Fix focus loss from unsync and edit button in navigation link inspect…
jeryj Oct 20, 2025
bc703dd
Post Date: Add block deprecation to change source arg to field (#72483)
ockham Oct 20, 2025
6a0e7e1
Fix empty url value from unbinding entity from inspector sidebar (#72…
jeryj Oct 20, 2025
418ab4c
Add end to end tests for Fit Text (#72406)
jorgefilipecosta Oct 20, 2025
d7548cb
Prevent registering private APIs twice (#72493)
oandregal Oct 20, 2025
b1c6b59
Bump plugin version to 21.9.0-rc.2
gutenbergplugin Oct 20, 2025
71650de
Update Changelog for 21.9.0-rc.2
gutenbergplugin Oct 20, 2025
8b865d5
chore(release): publish
gutenbergplugin Oct 20, 2025
1fb8a63
Build: Update output folders for scripts and modules (#72482)
youknowriad Oct 20, 2025
e01800b
Storybook: Fix `dev` script (#72487)
mirka Oct 21, 2025
0d2b36b
Remove broken content only settings menu items feature (#72470)
talldan Oct 21, 2025
977ac21
Dataviews: Make bulk actions buttons text based (#72501)
jorgefilipecosta Oct 21, 2025
c1f90a6
Button: Ensure that icons don't shrink (#72474)
mirka Oct 21, 2025
7b1a5c2
Optimize CI: Limit the number of job variations (PHP and JS matrix) i…
youknowriad Oct 21, 2025
e86dd9d
Template activation: duplicate action should be available outside GB …
ellatrix Oct 21, 2025
bd9d7ad
Template activation: improve UX for custom templates (#72499)
mcsf Oct 21, 2025
9b06483
Update changelog files
gutenbergplugin Oct 21, 2025
3430c47
chore(release): publish
gutenbergplugin Oct 21, 2025
9595c60
Ensure Yjs imports are inside experimental flag check (#72503)
chriszarate Oct 21, 2025
ea8144b
Post Date block: In deprecation, add check if source is `core/post-da…
ockham Oct 21, 2025
e0211c4
Consistently use font-weight 499 instead of 500 (#72473)
mirka Oct 21, 2025
bfdcbfe
Bump plugin version to 21.9.0-rc.3
gutenbergplugin Oct 21, 2025
50701f1
Update Changelog for 21.9.0-rc.3
gutenbergplugin Oct 21, 2025
6d8fd43
Improve output buffer for sending server-timing header (#72536)
westonruter Oct 21, 2025
fa08e73
Styles: Move global styles data logic to a dedicated package (#72464)
youknowriad Oct 21, 2025
c47437c
Notes: Fix the focus transfer issue when switching the sidebars (#72486)
Mamaduka Oct 21, 2025
e9ea0c6
Notes: Fix the 'glitch' when selecting a note with a missing block (#…
Mamaduka Oct 21, 2025
70c1f96
Move grid experiment changelog to 7.0 folder (#72508)
tellthemachines Oct 21, 2025
8501118
Fix Popover closing unexpectedly when a Menu inside it is closed. (#7…
tellthemachines Oct 22, 2025
157517c
Fix error with display of Heading block style variations in style boo…
tellthemachines Oct 22, 2025
4de505f
Notes: Fix 'View notes' on mobile screens (#72546)
Mamaduka Oct 22, 2025
d8c3571
Persist credentials when cherry-picking commits to a release branch (…
talldan Oct 22, 2025
8fd4c71
Reuse wp_script_attributes filter for adding data-wp-router-options a…
samueljseay Oct 22, 2025
4d30918
Pattern Overrides: Add support for Image `caption` attribute (#72476)
ockham Oct 22, 2025
00b71c5
Add `theme` package (#72305)
mirka Oct 22, 2025
22c2484
Update: Disable font size when fit text is enabled and the opposite. …
jorgefilipecosta Oct 22, 2025
d80398c
iAPI: Update deprecated usage of data-wp-on-async (#72445)
t-hamano Oct 22, 2025
751d986
Fix Classic Menu to Navigation Link conversion with entity bindings (…
getdave Oct 22, 2025
c8165de
GitHub Actions: Allow writing PRs when auto-cherry-picking (#72573)
t-hamano Oct 22, 2025
ce1f2bb
Notes: Backport REST API changes in core (#72554)
t-hamano Oct 22, 2025
ad91e0b
Date block: Update block description (#72565)
ockham Oct 22, 2025
074731f
Bump plugin version to 21.9.0
gutenbergplugin Oct 22, 2025
479b6a7
Update Changelog for 21.9.0
gutenbergplugin Oct 22, 2025
44a00b6
Use default popover placement for image format popover (#72550)
stokesman Oct 22, 2025
c363f1c
Build: Fix script_debug modules and scripts (#72485)
youknowriad Oct 22, 2025
a763086
Fix build command for tokens package on Windows (#72605)
aduth Oct 22, 2025
1de4360
Fix contentOnly insertion, removal, and moving (#72416)
talldan Oct 23, 2025
6224fbf
Terms Query: Show nested terms toggle when inheriting (#72510)
mikachan Oct 23, 2025
7203f01
Check for RichText bindings from context instead of new subscription …
jeryj Oct 23, 2025
c99daa5
Block Notes: Fix issue where box shadow is cut off when active commen…
roseg43 Oct 23, 2025
a56188f
Update: Hide primary action buttons on mobile (#72597)
jorgefilipecosta Oct 23, 2025
8696b08
DataForm: set spacing for regular and card layouts (#72249)
jameskoster Oct 23, 2025
871cbaf
Fit text: Remove sizing limitation when the block is selected. (#72570)
jorgefilipecosta Oct 23, 2025
4422c74
Fit text: update help text to clarify override of font-size (#72303)
sidharthpandita1 Oct 23, 2025
542b88f
Notes: Render the sidebar next to the default editor sidebar (#72618)
Mamaduka Oct 23, 2025
1490580
Update: Label of "Move to trash" action to "Trash". (#72596)
jorgefilipecosta Oct 23, 2025
b5550d0
merge complete
sethrubenstein Oct 23, 2025
3cca63f
Merge branch 'core/tabs' into merge/trunk
sethrubenstein Oct 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add theme package (WordPress#72305)
* Add `theme` package

Co-authored-by: ciampo <[email protected]>
Co-authored-by: jsnajdr <[email protected]>

* Remove ts extensions

* Handle CSS modules

* Update package lock

* Allow public documentation

* Add content to readme

* Lock private APIs

* Fix missing React error in test file

Due to "moduleResolution": "bundler" tsconfig in this package

* Remove test for now (requires jest 30)

* Remove Storybook for now (punt to follow-up)

* Remove build scripts to bin

* Move to prebuild folder

* Lint all prebuild files

* Move `design-tokens.ts` file to prebuild folder

* Fixup

* Prebuild as part of root build process

* Try resolving floating point differences

* Update readme

* Remove layers from stylesheet

* Reduce color ramp tests

* Move prebuild files into src (fixes types)

* Allow theme package to participate in private APIs

* Output combined stylesheet

* Rename prebuild to prebuilt

---------

Co-authored-by: ciampo <[email protected]>
Co-authored-by: jsnajdr <[email protected]>
Co-authored-by: mirka <[email protected]>
  • Loading branch information
4 people authored Oct 22, 2025
commit 00b71c561e22a505d585ab3b1d7f47a74e52be9b
9 changes: 8 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ const developmentFiles = [
'**/@(__mocks__|__tests__|test)/**/*.[tj]s?(x)',
'**/@(storybook|stories)/**/*.[tj]s?(x)',
'packages/babel-preset-default/bin/**/*.js',
'packages/theme/bin/**/*.[tj]s?(x)',
'packages/theme/terrazzo.config.ts',
];

// All files from packages that have types provided with TypeScript.
Expand Down Expand Up @@ -430,7 +432,12 @@ module.exports = {
},
},
{
files: [ 'bin/**/*.js', 'bin/**/*.mjs', 'packages/env/**' ],
files: [
'bin/**/*.js',
'bin/**/*.mjs',
'packages/env/**',
'packages/theme/bin/**/*.[tj]s?(x)',
],
rules: {
'no-console': 'off',
},
Expand Down
85 changes: 77 additions & 8 deletions bin/packages/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import chokidar from 'chokidar';
import browserslistToEsbuild from 'browserslist-to-esbuild';
import { sassPlugin } from 'esbuild-sass-plugin';
import postcss from 'postcss';
import postcssModulesPlugin from 'postcss-modules';
import autoprefixer from 'autoprefixer';
import rtlcss from 'rtlcss';
import cssnano from 'cssnano';
Expand Down Expand Up @@ -870,8 +871,10 @@ async function transpilePackage( packageName ) {

/**
* Compile styles for a single package.
* Discovers and compiles SCSS entry points based on package configuration.
* Supports wpStyleEntryPoints in package.json for custom entry point patterns.
*
* Discovers and compiles SCSS entry points based on package configuration
* (supporting wpStyleEntryPoints in package.json for custom entry point patterns),
* and all .module.css files in src/ directory.
*
* @param {string} packageName Package name.
* @return {Promise<number|null>} Build time in milliseconds, or null if no styles.
Expand All @@ -881,27 +884,93 @@ async function compileStyles( packageName ) {
const packageJsonPath = path.join( packageDir, 'package.json' );
const packageJson = JSON.parse( await readFile( packageJsonPath, 'utf8' ) );

// Get entry point patterns from package.json, default to root-level only
const entryPointPatterns = packageJson.wpStyleEntryPoints || [
// Get SCSS entry point patterns from package.json, default to root-level only
const scssEntryPointPatterns = packageJson.wpStyleEntryPoints || [
'src/*.scss',
];

const styleEntries = await glob(
entryPointPatterns.map( ( pattern ) =>
// Find all matching SCSS files
const scssEntries = await glob(
scssEntryPointPatterns.map( ( pattern ) =>
normalizePath( path.join( packageDir, pattern ) )
)
);

if ( styleEntries.length === 0 ) {
// Get CSS modules from anywhere in src/
const cssModuleEntries = await glob(
normalizePath( path.join( packageDir, 'src/**/*.module.css' ) ),
{ ignore: IGNORE_PATTERNS }
);

if ( scssEntries.length === 0 && cssModuleEntries.length === 0 ) {
return null;
}

const startTime = Date.now();
const buildStyleDir = path.join( packageDir, 'build-style' );
const srcDir = path.join( packageDir, 'src' );

// Process .module.css files and generate JS modules
const cssResults = await Promise.all(
cssModuleEntries.map( async ( styleEntryPath ) => {
const buildDir = path.join( packageDir, 'build' );
const buildModuleDir = path.join( packageDir, 'build-module' );

const cssContent = await readFile( styleEntryPath, 'utf8' );
const relativePath = path.relative( srcDir, styleEntryPath );

let mappings = {};
const result = await postcss( [
postcssModulesPlugin( {
getJSON: ( _, json ) => ( mappings = json ),
} ),
] ).process( cssContent, { from: styleEntryPath } );

// Write processed CSS to build-style (preserving directory structure)
const cssOutPath = path.join(
buildStyleDir,
relativePath.replace( '.module.css', '.css' )
);
await mkdir( path.dirname( cssOutPath ), { recursive: true } );
await writeFile( cssOutPath, result.css );

// Generate JS modules with class name mappings (preserving directory structure)
const jsExport = JSON.stringify( mappings );
const jsPath = `${ relativePath }.js`;
await Promise.all( [
mkdir( path.dirname( path.join( buildDir, jsPath ) ), {
recursive: true,
} ),
mkdir( path.dirname( path.join( buildModuleDir, jsPath ) ), {
recursive: true,
} ),
] );
await Promise.all( [
writeFile(
path.join( buildDir, jsPath ),
`"use strict";\nmodule.exports = ${ jsExport };\n`
),
writeFile(
path.join( buildModuleDir, jsPath ),
`export default ${ jsExport };\n`
),
] );

// Return the processed CSS for combining
return result.css;
} )
);

// Generate combined stylesheet from all CSS modules
if ( cssResults.length > 0 ) {
const combinedCss = cssResults.join( '\n' );
await mkdir( buildStyleDir, { recursive: true } );
await writeFile( path.join( buildStyleDir, 'style.css' ), combinedCss );
}

// Process SCSS files
await Promise.all(
styleEntries.map( async ( styleEntryPath ) => {
scssEntries.map( async ( styleEntryPath ) => {
// Calculate relative path from src/ to preserve directory structure
const relativePath = path.relative( srcDir, styleEntryPath );
const relativeDir = path.dirname( relativePath );
Expand Down
6 changes: 6 additions & 0 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1985,6 +1985,12 @@
"markdown_source": "../packages/sync/README.md",
"parent": "packages"
},
{
"title": "@wordpress/theme",
"slug": "packages-theme",
"markdown_source": "../packages/theme/README.md",
"parent": "packages"
},
{
"title": "@wordpress/token-list",
"slug": "packages-token-list",
Expand Down
Loading