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

Open
wants to merge 2,391 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2391 commits
Select commit Hold shift + click to select a range
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
57c5f84
Improve DataViews README (#67711)
dknauss Dec 9, 2024
9e03973
Data views: expand config drop down on mobile (#67715)
ramonjd Dec 9, 2024
ce01840
Data: Include more details when shallow equality fails in 'useSelect'…
Mamaduka Dec 9, 2024
0d757db
Feature: add ability to show drop cap setting in paragraph block by d…
fabiankaegy Dec 9, 2024
c20ad9f
Feature: Allow Post Template block to get deeply nested within Query …
fabiankaegy Dec 9, 2024
5e3d575
DataViews: Refactor actions to render modal outside of the menu (#67664)
ntsekouras Dec 9, 2024
91b130b
[Block Library]: Update the relationship of `No results` block to `a…
ntsekouras Dec 9, 2024
0154339
Stylebook: render overview colors in 4 columns (#67597)
matiasbenedetto Dec 9, 2024
e772438
Navigation: Fix active item hover color (#67732)
tyxla Dec 9, 2024
896b316
Components: Deprecate `COLORS.white` (#67649)
mirka Dec 9, 2024
9da58a7
Data: Expose 'useSelect' warning to third-party consumers (#67735)
Mamaduka Dec 9, 2024
e85937f
Feature: Add `navigation.isLoading` state to core/router store (#67680)
fabiankaegy Dec 9, 2024
6b8e47f
TypeScript: Convert factory utils in data package to TS (#67667)
manzoorwanijk Dec 9, 2024
9ae9ec3
DataViews: Fix filters lost when switching layouts (#67740)
youknowriad Dec 9, 2024
d03eeae
wp-env: Add phpMyAdmin support (#67588)
mcsf Dec 9, 2024
ad0c1d4
Replace remaining custom deep cloning with 'structuredClone' (#67707)
Mamaduka Dec 9, 2024
95cbcdf
Inserter: Should receive focus on open (#67754)
jeryj Dec 9, 2024
f430cd7
Fix: Dataviews remove primary field concept from some classes. (#67689)
jorgefilipecosta Dec 9, 2024
7159a78
Add stylebook screen for classic themes (#66851)
tellthemachines Dec 10, 2024
4867dfc
Fix re-renders caused by `getEntityRecordsPermissions` after #67667 (…
manzoorwanijk Dec 10, 2024
358fe48
Site Editor: fix sidebar item animation regression (#67771)
ramonjd Dec 10, 2024
20a9a81
Image: Updated the featured image text in dropdown (#67775)
benazeer-ben Dec 10, 2024
8e048a8
DataViews: Preserve filters when switching layouts in templates datav…
youknowriad Dec 10, 2024
8d9ce17
Inline commenting: UX Enhancements for Comments (#67385)
akasunil Dec 10, 2024
630384a
Update bulk header with actions (#67743)
louwie17 Dec 10, 2024
eddc1df
Update the title, description, and order of Experiments page (#67762)
annezazu Dec 10, 2024
244c145
DataViews: Fix hidden List layout actions dropdown (#67778)
youknowriad Dec 10, 2024
55075af
Added https in several urls in docs (#67706)
shail-mehta Dec 10, 2024
8884fb8
Shadows: Improve design and a11y of remove button (#67705)
t-hamano Dec 10, 2024
11f10fb
Plugin: Only override REST server for older WP versions (#67779)
Mamaduka Dec 10, 2024
7649b99
BoxControl: Refactor and unify the different sides implementation (#6…
youknowriad Dec 10, 2024
207dfe3
DataViews: Fix reordering fields in list and grid layouts (#67777)
youknowriad Dec 10, 2024
53ed803
Storybook: Add WritingModeControl story (#67343)
Sukhendu2002 Dec 10, 2024
101bbd2
Storybook: Add stories for HeadingLevelDropdown component (#67294)
Sukhendu2002 Dec 10, 2024
4e67ab6
Add reset button to color control (#67116)
juanfra Dec 10, 2024
b62887b
CreateTemplatePartModal: avoid identity warning in useSelect (#67786)
jsnajdr Dec 10, 2024
eeaef67
Docs: Include the strategy for setting `engines` for WordPress packag…
gziolo Dec 10, 2024
e4124df
[ New Block ] Add Query Total block for displaying total query result…
sarthaknagoshe2002 Dec 10, 2024
26fa958
Security: Update npm dependencies to fix issues reported by audit (#6…
gziolo Dec 10, 2024
deb2d5d
Document layout in Storybook (#67628)
jameskoster Dec 10, 2024
7065f49
[Dataviews] Fix: Space does not triggers the media button on grid vie…
jorgefilipecosta Dec 10, 2024
788ceba
Stabilize `LinkControl` Component (#56384)
fabiankaegy Dec 10, 2024
601ede4
[a11y] Fix: Media button on the page view grid does not have an acces…
jorgefilipecosta Dec 10, 2024
8042535
Inserter: Hide child blocks from the inserter when needed (#67734)
youknowriad Dec 10, 2024
4020989
e2e-test-utils-playwright: Increase timeout of site-editor selector (…
alexflorisca Dec 10, 2024
a16f2cb
Fix incorrect usage of ItemGroup in the Image block filters panel. (#…
afercia Dec 10, 2024
9a63c4b
CI: Skip native jobs (#67799)
youknowriad Dec 10, 2024
da012ed
Image Block: Change how the Image's overlay styles are applied (#67788)
DAreRodz Dec 10, 2024
84f29ea
Renders `DataForm` component only when data has been fetched (#67694)
gigitux Dec 10, 2024
2eec579
Button: Revise documentation (#66617)
mirka Dec 10, 2024
9387206
CustomSelectControl: Update Value from Fresh State (#67733)
subodhr258 Dec 10, 2024
467e4a2
Bump plugin version to 19.9.0-rc.1
gutenbergplugin Dec 11, 2024
0555e8d
Update changelog files
gutenbergplugin Dec 11, 2024
d2d0762
chore(release): publish
gutenbergplugin Dec 11, 2024
849ee8d
DataViews: Fix text in action for setting site home page (#67787)
t-hamano Dec 11, 2024
ed4c2d3
ChildLayoutControl: Use units defined in theme.json (#67784)
t-hamano Dec 11, 2024
7952846
Update Changelog for 19.9.0-rc.1
gutenbergplugin Dec 11, 2024
114aa68
Extensibility: Make Block Bindings work with `editor.BlockEdit` hook …
gziolo Dec 11, 2024
b659e93
Button: Increase font weight, add hover style to `secondary` variant …
jameskoster Dec 11, 2024
af34d1e
[Dataviews] Fix: Media item focus style is not visible on Grid. (#67789)
jorgefilipecosta Dec 11, 2024
db42416
Components: Unite inline Ariakit imports (#67818)
tyxla Dec 11, 2024
b658230
Fix: Templates and patterns are nesting two elements with the button …
jorgefilipecosta Dec 11, 2024
f2ba0fd
Add a Playground blueprint json to the /assets/blueprints folder of P…
bph Dec 11, 2024
6470e09
add: Added css classname to the itemgroup in MainSidebarNavigationCon…
im3dabasia Dec 11, 2024
de098d9
Stylebook: avoid double line in subcategory titles (#67752)
matiasbenedetto Dec 11, 2024
b66f9ff
Add --glob argument to rimraf cli scripts (#67829)
sirreal Dec 11, 2024
bb8a147
Hide separators for currently dragged section in Zoom Out (#67638)
getdave Dec 11, 2024
eb01c74
Storybook: Upgrade to v8.0.x (#67574)
tyxla Dec 11, 2024
1a8771b
Update platform docs intro so following it actually works (#61341)
stokesman Dec 11, 2024
c45b333
Clean script: Use braces instead of @-pattern for glob (#67833)
sirreal Dec 11, 2024
bf2be67
Bump nanoid from 3.3.7 to 3.3.8 (#67831)
dependabot[bot] Dec 11, 2024
8a10c75
Bump rexml from 3.2.8 to 3.3.9 in /packages/react-native-editor/ios (…
dependabot[bot] Dec 11, 2024
bd7e9c2
SelectControl : Deprecate 36px default size (#66898)
PARTHVATALIYA Dec 11, 2024
795e9c2
InputControl : Deprecate 36px default size (#66897)
PARTHVATALIYA Dec 11, 2024
1168fa5
CustomSelectControl: Refactor to use Ariakit store state for current …
yogeshbhutkar Dec 12, 2024
7eba688
Visual Refactor: Add Chevron Icon for Shadows in Global Styles (#67720)
yogeshbhutkar Dec 12, 2024
29978b7
Introduce new filter "render_block_core_navigation_link_allowed_post_…
Chrico Dec 12, 2024
8277a74
Fix: Script with glob option doesn't work on Windows (#67862)
t-hamano Dec 12, 2024
40022a3
Image: Avoid link class loss when pasting for raw transformation (#67…
Mamaduka Dec 12, 2024
9e3bdeb
BoxControl: Better minimum value support (#67819)
youknowriad Dec 12, 2024
b1d943f
Update "Call to Action" to "Call to action" (#67876)
juanfra Dec 12, 2024
e283f73
Storybook: Upgrade to the latest version (v8.4.7) (#67863)
tyxla Dec 12, 2024
f1f5988
Make Write mode and Zoom out block options menus consistent (#67749)
draganescu Dec 12, 2024
0ef8a35
Widget Editor: Fix: close button is not working (#65443)
PARTHVATALIYA Dec 12, 2024
3de8dfb
Block Hooks: Apply to Post Content (on frontend and in editor) (#67272)
ockham Dec 12, 2024
4263e85
BoxControl: Add support for presets (#67688)
youknowriad Dec 12, 2024
f88ec2b
WIP: wp-env: add multisite support (#67845)
mcsf Dec 12, 2024
9437f7e
RangeControl: animate thumb and track only when using marks (#67836)
ciampo Dec 12, 2024
b74283b
Refactor "Settings" panel of Archives block to use ToolsPanel instead…
im3dabasia Dec 12, 2024
70c6cb7
LineHeightControl: Deprecate 36px default size (#67850)
mirka Dec 12, 2024
7571321
FontAppearanceControl: Deprecate 36px default size (#67854)
mirka Dec 12, 2024
4db3120
FontFamilyControl: Deprecate 36px default size (#67853)
mirka Dec 12, 2024
51e124c
Refactor "Settings" panel of Button block to use ToolsPanel instead o…
Mayank-Tripathi32 Dec 12, 2024
63b0e7f
Adding @fabiankaegy as a code owner of the block library package (#67…
fabiankaegy Dec 12, 2024
cff73d4
Pages: update layout-specific config when the view is updated (#67881)
oandregal Dec 12, 2024
8d6b8c5
Refactor "Settings" panel of Table block to use ToolsPanel instead of…
Sukhendu2002 Dec 12, 2024
aca8187
Storybook: Fix warnings in Layout document (#67865)
tyxla Dec 13, 2024
cbe7ef4
Refactor "Settings" panel of Date block to use ToolsPanel instead of …
Sukhendu2002 Dec 13, 2024
7050a44
Fix: Fix link to minimal-block example plugin code. (#67888)
jorgefilipecosta Dec 13, 2024
7e85993
Plugin: Fix eligibility check for post types' default rendering mode …
Mamaduka Dec 13, 2024
25e9753
[Docs] Fix: Two broken links to the packages reference API and to blo…
jorgefilipecosta Dec 13, 2024
20f4174
Create a catalog list of private APIs (#66558)
jsnajdr Dec 13, 2024
d988d28
Refactor "Settings" panel of Columns block to use ToolsPanel instead …
prasadkarmalkar Dec 13, 2024
d90fbad
Refactor "Settings" panel of Column block to use ToolsPanel instead o…
prasadkarmalkar Dec 13, 2024
662455d
Make sure the sidebar navigation item focus style is fully visible. (…
afercia Dec 13, 2024
673f80d
Fix dataviews commonjs export (#67962)
manzoorwanijk Dec 13, 2024
750c8e4
Editor: Remove the 'content-only' check from 'TemplatePartConverterMe…
Mamaduka Dec 13, 2024
0b1a6b6
Improve logic to show entities saved panel description. (#67971)
afercia Dec 13, 2024
6291232
Customizer Widgets: Fix inserter button size and animation (#67880)
t-hamano Dec 13, 2024
67557ed
Storybook: Add stories for the TextAlignmentControl component (#67371)
himanshupathak95 Dec 13, 2024
3d17c61
TreeSelect: Deprecate 36px default size (#67855)
mirka Dec 13, 2024
c8cdff3
Refactor "Settings" panel of Site Title block to use ToolsPanel inste…
Sukhendu2002 Dec 13, 2024
0d7f1e3
Refactor "Settings" panel of Excerpt block to use ToolsPanel instead …
Sukhendu2002 Dec 13, 2024
d0d1045
Button: Replace ButtonGroup usage with ToggleGroupControl (#65346)
Mamaduka Dec 13, 2024
2b5da49
Refactor "Settings" panel of Details block to use ToolsPanel instead …
Mayank-Tripathi32 Dec 13, 2024
afb6752
Refactor "Settings" panel of Social Icon block to use ToolsPanel inst…
Mayank-Tripathi32 Dec 13, 2024
bae6236
Refactor "Settings" panel of Login/Logour block to use ToolsPanel ins…
Infinite-Null Dec 13, 2024
18e4eda
Refactor "Settings" panel of Tag Cloud block to use ToolsPanel instea…
Sukhendu2002 Dec 13, 2024
75289cf
Refactor "Settings" panel of Social Icons block to use ToolsPanel ins…
Mayank-Tripathi32 Dec 13, 2024
b371f6e
Icons: Deprecate `warning` and rename to `cautionFilled` (#67895)
mirka Dec 13, 2024
5931dd5
Pages: scope padding to custom items (#67977)
oandregal Dec 13, 2024
24d5f78
Enhancement : Badge Component (#66555)
Vrishabhsk Dec 13, 2024
9bdbada
Pages: Add "Set as posts page" action (#67650)
mikachan Dec 13, 2024
8066995
SlotFill: use observableMap everywhere, remove manual rerendering (#6…
jsnajdr Dec 13, 2024
e9fb12f
Refactor "Settings" panel of Page List block to use ToolsPanel instea…
im3dabasia Dec 13, 2024
84d26fc
Refactor "Settings" panel of Navigation Submenu block to use ToolsPan…
im3dabasia Dec 13, 2024
85912cb
Refactor "Settings" panel of Query Page Numbers block to use ToolsPan…
im3dabasia Dec 13, 2024
183d93a
Featured Image Block: Refactor setting panel (#67456)
akasunil Dec 14, 2024
aed83a9
Updated Document URL in Documentation (#67990)
mayurprajapatii Dec 14, 2024
6e85888
Columns: Replace some store selectors with 'getBlockOrder' (#67991)
Mamaduka Dec 14, 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.
118 changes: 109 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ const restrictedSyntax = [
const restrictedSyntaxComponents = [
{
selector:
'JSXOpeningElement[name.name="Button"]:not(:has(JSXAttribute[name.name="__experimentalIsFocusable"])) JSXAttribute[name.name="disabled"]',
'JSXOpeningElement[name.name="Button"]:not(:has(JSXAttribute[name.name="accessibleWhenDisabled"])) JSXAttribute[name.name="disabled"]',
message:
'`disabled` used without the `__experimentalIsFocusable` prop. Disabling a control without maintaining focusability can cause accessibility issues, by hiding their presence from screen reader users, or preventing focus from returning to a trigger element. (Ignore this error if you truly mean to disable.)',
'`disabled` used without the `accessibleWhenDisabled` prop. Disabling a control without maintaining focusability can cause accessibility issues, by hiding their presence from screen reader users, or preventing focus from returning to a trigger element. (Ignore this error if you truly mean to disable.)',
},
];

Expand All @@ -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,15 +297,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 +475,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 +498,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 +562,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
12 changes: 6 additions & 6 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 All @@ -13,12 +13,12 @@
/packages/data-controls @nerrad

# Blocks
/packages/block-library @ajitbohra
/packages/block-library @ajitbohra @fabiankaegy
/packages/block-library/src/gallery @geriux
/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 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 -->|
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'
Loading
Loading