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 1,878 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1878 commits
Select commit Hold shift + click to select a range
fe56004
Clean up: adjust reusable-blocks dependencies (#66302)
ellatrix Oct 22, 2024
0e65adc
Set image width to `fit-content` to solve aspect ratio problems in Fi…
juanfra Oct 22, 2024
a4aeb1a
Storybook: Add BlockPatternsList story (#66227)
ntsekouras Oct 22, 2024
0b76a25
Site editor routes: add docs for areas and prevent `edit` area from r…
oandregal Oct 22, 2024
58362df
Site Editor: Remove synchronization of canvas mode into store (#66213)
youknowriad Oct 22, 2024
c0317dd
Data views: Fix alignment of action items in list layout (#66273)
jameskoster Oct 22, 2024
e43a1c5
Pull request automation: use full npm install (#66314)
sirreal Oct 22, 2024
d0771cd
Edit Site: Fix canvasMode var (#66316)
tyxla Oct 22, 2024
9fcb43b
Update a few function definitions (#66315)
tyxla Oct 22, 2024
ba2d08e
Archives: Add border block support (#63400)
carolinan Oct 22, 2024
1461ef1
SpacingSizesControl: Use generic label for linked button (#66304)
t-hamano Oct 22, 2024
d1c3508
Add theme type to the bug report issue template (#63851)
carolinan Oct 22, 2024
ca8c191
Editor Interface: Remove small header from global styles/plugin sideb…
t-hamano Oct 22, 2024
c926d69
Fix: Activate zoom out on large viewport (#66308)
PARTHVATALIYA Oct 22, 2024
80fcf02
Bump the github-actions group across 1 directory with 2 updates (#66325)
dependabot[bot] Oct 22, 2024
d9e7ee7
Stabilize isPreviewMode flag (#66149)
zaguiini Oct 22, 2024
8170442
ESLint: Remove various React Compiler mutation violations (#66327)
tyxla Oct 22, 2024
bed7639
Icons: Add align-item related icons (#66242)
t-hamano Oct 22, 2024
acf661c
Bump reactivecircus/android-emulator-runner in the react-native group…
dependabot[bot] Oct 22, 2024
b152b21
Buttons: Fix the initial white space in nofollow rel (#66303)
vipul0425 Oct 23, 2024
8d1f222
Link Shortcut: Only trigger the link shortcut if there's a text selec…
youknowriad Oct 23, 2024
6184562
Interface: Remove duplicate 'withComplementaryAreaContext' file (#66348)
Mamaduka Oct 23, 2024
9421bc9
Editor: Use plugin context hook in 'PluginPreviewMenuItem' (#66350)
Mamaduka Oct 23, 2024
f57081e
Editor: Use plugin context hook in 'PluginMoreMenuItem' (#66351)
Mamaduka Oct 23, 2024
8a7a381
Remove toggle verb from post list data views (#66334)
AhmarZaidi Oct 23, 2024
a02ce46
Zoom Out: Use the zoom-level value to scale the iframe (#66280)
youknowriad Oct 23, 2024
4440247
Quick Edit: Fix JS error when bulk editing pages (#66358)
youknowriad Oct 23, 2024
abe3767
Zoom Out: Remove double click to exit hook from the block-editor pack…
youknowriad Oct 23, 2024
0433d90
Use npm workspaces for packages (second attempt) (#66272)
sirreal Oct 23, 2024
2dbd0a6
Interface: Use plugin context hook instead of HoC (#66362)
Mamaduka Oct 23, 2024
adcd7d0
Bump plugin version to 19.5.0
gutenbergplugin Oct 23, 2024
d9f03d2
Update Changelog for 19.5.0
gutenbergplugin Oct 23, 2024
78b65c5
Block editor: remove patterns UI stylesheet from iframe (#66306)
ellatrix Oct 23, 2024
71bb8b8
Plugins: Deprecate 'withPluginContext' HOC (#66363)
Mamaduka Oct 23, 2024
77f62e0
QuickEdit: Add Featured Image Control (#64496)
gigitux Oct 23, 2024
609d573
Footnotes: Remove extra callback when parsing content (#66370)
tyxla Oct 23, 2024
1ca8001
QuickEdit: Add slug field control (#65196)
gigitux Oct 23, 2024
a775b7c
Add Inline comment experimental flag (#60622)
poojabhimani12 Oct 23, 2024
b0db4f8
Make useZoomOut hook private (#66374)
jeryj Oct 23, 2024
5437114
Style Book: Add color tab (#65692)
aaronrobertshaw Oct 23, 2024
67fca2e
Backport: Caching of global styles for blocks from core (#66349)
aaronrobertshaw Oct 24, 2024
e9fb510
Fix typo after #63669. (#66396)
afercia Oct 24, 2024
02b1ec4
Block registration: normalize blockType.parent to `array` (#66250)
oandregal Oct 24, 2024
0d91946
Add radius foundation and tokens to storybook (#66219)
jameskoster Oct 24, 2024
5b7ac9e
Add Transformation from Separator to Spacer (#66230)
rudrakshi-gupta Oct 24, 2024
335201b
Search: Replace ButtonGroup usage with ToggleGroupControl (#65340)
Mamaduka Oct 24, 2024
a7e59f9
ESLint: Fix a couple of React Compiler reassignment errors (#66331)
tyxla Oct 24, 2024
20e10fe
Block Editor: Fix 'useInstanceId' hook reference (#66406)
Mamaduka Oct 24, 2024
9c7847d
Change text color to gray-800 to improve color contrast (#66360)
Vrishabhsk Oct 24, 2024
87ab311
Gallery: Fix React Comiler reassignment error (#66408)
Mamaduka Oct 24, 2024
0faf4c5
Border support added to comments (#66354)
rinkalpagdar Oct 24, 2024
62e0e6f
Block Library: Cleanup unnecessary notice removal (#66409)
tyxla Oct 24, 2024
ae9db95
Global Styles: Fix React Compiler variable mutation error (#66410)
Mamaduka Oct 24, 2024
27b1d9d
Zoom Out: Fix bouncy drop zones (#66399)
talldan Oct 24, 2024
a712932
Remove meetings (#66421)
ndiego Oct 24, 2024
d2ba0dc
Site editor: remove "default" admin CSS (#66431)
ellatrix Oct 24, 2024
187ef63
Fix: JSON Schema Docgen doesn't work on Windows OS (#66414)
t-hamano Oct 25, 2024
268b0fe
Revise zoom layout shift fix (#66390)
stokesman Oct 25, 2024
5b30321
Zoom out: Add keyboard shortcut in editor (#66400)
ntsekouras Oct 25, 2024
8fab6dd
Compose: Fix React Complier error for 'useCopyToClipboard' (#66444)
Mamaduka Oct 25, 2024
351e092
Style Book: Fix React Compiler error (#66445)
Mamaduka Oct 25, 2024
7dbe0be
Documenation: Update documentation about build process changes (#66428)
sirreal Oct 25, 2024
2036d7e
Button Block: Apply Stretch Styles Correctly (#64770)
t-hamano Oct 25, 2024
22a3bf5
Style Book: Avoid state/effect combo when generating values (#66446)
Mamaduka Oct 25, 2024
808195d
Tabs and ToggleGroupControl: round indicator size (#66426)
ciampo Oct 25, 2024
51437a9
HTML Block: Force HTML preview in view mode (#66440)
t-hamano Oct 25, 2024
56e011b
ESLint: Stop disabling `react-hooks/exhaustive-deps` rule (#66324)
tyxla Oct 25, 2024
7cda674
Don't switch editor mode when changing entities (#66452)
getdave Oct 25, 2024
f1b307a
Remove purple coloring from DocumentBar and PostCard (#66451)
ntsekouras Oct 25, 2024
399d585
ESLint: Remove explicit react-hooks/exhaustive-deps disabling (#66461)
tyxla Oct 25, 2024
b2d692c
Fields: Fix React Compiler mutation errors (#66464)
tyxla Oct 25, 2024
e7f2d01
Remove viewport check from useZoomOut hook (#66341)
jeryj Oct 25, 2024
029716e
Rich Text: Fix React Complier error for 'useEventListeners' (#66460)
Mamaduka Oct 25, 2024
7941d47
Iterate zoom out shuffle into a more visual control (#66194)
ntsekouras Oct 25, 2024
8a2480a
Site Editor: remove content styles outside canvas (#66432)
ellatrix Oct 25, 2024
6347583
Follow up of 66451 - leftovers from removed styles (#66472)
ntsekouras Oct 25, 2024
cf4aa6f
Style Book: fix comment output in styles (#66439)
stokesman Oct 25, 2024
506342b
Set `ResizableEditor` height based on border-box (#66342)
stokesman Oct 25, 2024
0466f7d
Editor: Multi-entity saving: Show correct count of entities to be sav…
mcsf Oct 25, 2024
76a5ba1
BorderBoxControl: Deprecate 36px default size (#65752)
mirka Oct 26, 2024
bf84ac6
BorderControl: Deprecate 36px default size (#65755)
mirka Oct 26, 2024
c40eb72
DrodownMenuV2: Rename folder to `menu` (#66473)
ciampo Oct 27, 2024
7751045
Meta boxes: Fix typo "metabox pane" to "meta box panel". (#66502)
peterwilsoncc Oct 27, 2024
86a3bc9
Misc i18n fixes (#66510)
swissspidy Oct 28, 2024
76e4dc7
Improve the link preview accessibility and labels. (#60908)
afercia Oct 28, 2024
d36959d
Create Block: Adds `--target-dir` flag to allow the tool to target wh…
ryanwelcher Oct 28, 2024
1f9f17c
Fix: Text overflow in Patterns filter (#66504)
t-hamano Oct 28, 2024
13be440
Site Editor: Fix button hover style in sidebar navigation screen (#66…
t-hamano Oct 28, 2024
6372ef7
Show paragraph block variations in rich text inserter (#66318)
SantosGuillamot Oct 28, 2024
dd7451f
BaseControl: Auto-generate readme (#66500)
mirka Oct 28, 2024
6052847
Preload: fix multiple regressions around global styles (#66468)
ellatrix Oct 28, 2024
bff0fcb
Tabs: remove custom logic (#66097)
ciampo Oct 28, 2024
b7f143f
Navigation: Improve trigger for fallback navigation (#66478)
tyxla Oct 28, 2024
624501c
README: Add Storybook badge (#66529)
tyxla Oct 28, 2024
c4b8e51
Revert 66431 (Site editor: remove "default" admin CSS) (#66540)
andrewserong Oct 28, 2024
02da291
Fix extraneous scrollbar in device previews (#66494)
stokesman Oct 29, 2024
dc4bd05
Global styles: move preload paths filter to 6.7 (previously 6.8) (#66…
ramonjd Oct 29, 2024
d4db1b4
Composer: Fix React Compiler errors for 'useDropZone' (#66469)
Mamaduka Oct 29, 2024
b5cd6e9
Block Editor: Fix React Complier error for Duotone (#66492)
Mamaduka Oct 29, 2024
ffba007
Block Editor: Fix React Complier error for 'useEventListeners' (#66495)
Mamaduka Oct 29, 2024
ba17e59
Components: Fix React Compiler error for 'useAutocomplete' (#66496)
Mamaduka Oct 29, 2024
f760da0
Site editor: Fix save shortcut (#66423)
ntsekouras Oct 29, 2024
90fbc53
Create block: Ensure $slug is replaced with passed slug (#66528)
ryanwelcher Oct 29, 2024
0da9f62
WP Scripts: Add a `--root-folder` argument to the `plugin-zip` comman…
nicolasgalvez Oct 29, 2024
f73c3ad
ImageSizeControls: Replace ButtonGroup with ToggleGroupControl (#65386)
hbhalodia Oct 29, 2024
471900b
Fix undo/redo Button size in Storybook playground (#66538)
mirka Oct 29, 2024
648c458
Import only the actually used PostCSS exports (#66379)
jsnajdr Oct 29, 2024
7ca9567
Fix: Improve the DocumentBar post type label for the Homepage and Pos…
hbhalodia Oct 29, 2024
7c64d0a
Remove most of the occurrences of the verb toggle. (#66371)
afercia Oct 29, 2024
26123cd
Rich text: remove empty file (#66553)
swissspidy Oct 29, 2024
7714bce
TabPanel: Add 40px size prop to tab Button (#66557)
mirka Oct 29, 2024
3a4cc10
`DropdownMenuV2`: rename to `Menu` (#66289)
ciampo Oct 29, 2024
bcdba59
PostTaxonomiesFlatTermSelector: Restore space between tag list and mo…
t-hamano Oct 29, 2024
aa7bb5a
Fix zoom out shortcut on Windows (#66506)
t-hamano Oct 29, 2024
6ffb672
Interface: remove unused private API support (#66565)
jsnajdr Oct 29, 2024
828868d
Backport from Core: Reuse block metadata in WP_Theme_JSON::get_valid_…
ramonjd Oct 29, 2024
246258c
Fix Parent Check Condition in `buildTermsTree` (#66006)
torounit Oct 30, 2024
49a9318
Templates: hide mediaField in list view if not provided (#66573)
oandregal Oct 30, 2024
e6bdfd5
QuickEdit: Add Parent field (#66527)
gigitux Oct 30, 2024
b95553f
Backport from WordPres core: Improvements for the post format query l…
carolinan Oct 30, 2024
f0ef1ac
Inline Commenting: Disable comments on published posts for now (#66583)
rinkalpagdar Oct 30, 2024
5432049
Core Data: Add the 'getEntitiesConfig' resolver (#65871)
Mamaduka Oct 30, 2024
986fc55
Bump plugin version to 19.6.0-rc.1
gutenbergplugin Oct 30, 2024
e320ecd
Inline Commenting: Optimize store selector and misc changes (#66592)
Mamaduka Oct 30, 2024
df0fef1
Update changelog files
gutenbergplugin Oct 30, 2024
ceeb8ab
chore(release): publish
gutenbergplugin Oct 30, 2024
2b67cd9
Update Changelog for 19.6.0-rc.1
gutenbergplugin Oct 30, 2024
09def42
Introduce React Scanner for component usage stats (#65463)
tyxla Oct 30, 2024
355dfd5
Storybook: Log `warning()` when in dev mode (#66568)
mirka Oct 30, 2024
d4c153a
Panel: Add 40px size prop to Button (#66589)
mirka Oct 30, 2024
6db9782
Bump the github-actions group across 1 directory with 2 updates (#66475)
dependabot[bot] Oct 30, 2024
1f09e91
Popover: Add small size prop to close button (#66587)
mirka Oct 30, 2024
cd476fd
DataViews: Fix 'aria-label' for pattern preview element (#66601)
Mamaduka Oct 30, 2024
e62588a
Snackbar: Use `link` variant for action Button (#66560)
mirka Oct 30, 2024
3e151e2
Add `isVisible` option to fields within DataForm (#65826)
louwie17 Oct 30, 2024
422987b
PaletteEdit: Add appropriate size props to Buttons (#66590)
mirka Oct 30, 2024
9d46c69
Site Editor: restore block-library editor.css outside canvas (#66556)
ellatrix Oct 30, 2024
aa2279b
Block Bindings: Docs API reference. (#66251)
cbravobernal Oct 30, 2024
9a40ea0
Site Editor: preload settings requests (#66488)
ellatrix Oct 30, 2024
3e2b03b
Guide: Use small size button for page controls (#66607)
mirka Oct 30, 2024
ad72cba
Bump plugin version to 19.6.0-rc.2
gutenbergplugin Oct 30, 2024
2ca4aa0
Update Changelog for 19.6.0-rc.2
gutenbergplugin Oct 30, 2024
8a11ce4
Quick Edit - Slug Field: improve slug preview (#66559)
gigitux Oct 30, 2024
d2b3c1f
Notice: Add appropriate size props to Buttons (#66593)
mirka Oct 30, 2024
fb7b17a
Improve cover block z-index solution (#66249)
renatho Oct 30, 2024
ed178c3
Perf: avoid fetching all reusable blocks on load in patterns preferen…
ellatrix Oct 30, 2024
beae8ad
Global styles: preload user global styles based on user caps (#66541)
ramonjd Oct 31, 2024
bf08f06
PostTaxonomiesFlatTermSelector: abstract wrapper component (#66625)
ramonjd Oct 31, 2024
37e8b9c
MenuItem: Add 40px size prop on Button (#66596)
mirka Oct 31, 2024
fb511a6
Disable device preview in pattern/template part/navitation editor (#6…
t-hamano Oct 31, 2024
7d4ee56
Block editor: exclude wp- styles from iframe compat styles (#66628)
ellatrix Oct 31, 2024
7725c94
Fix : Snackbar Notice Inconsistency (#66405)
Vrishabhsk Oct 31, 2024
3ed56ac
Query Loop: Use templateSlug and postType for more context (#65820)
mikachan Oct 31, 2024
fc2bf3a
QuickEdit: Add password field to the pages quick edit (#66567)
louwie17 Oct 31, 2024
f73888a
Radio: Deprecate 36px default size (#66572)
mirka Oct 31, 2024
d8cc9a8
Appender: fix outside-canvas styles (#66630)
ellatrix Oct 31, 2024
51fc086
Site Editor: speed up load by preloading home and front-page template…
ellatrix Oct 31, 2024
7387fd0
Fix: Show Meta Boxes at the bottom of the screen regardless of the cu…
fabiankaegy Oct 31, 2024
3b9bb77
Site editor: preload post if needed (#66631)
ellatrix Oct 31, 2024
489f606
Safari: fix site editor template error (#66647)
ellatrix Oct 31, 2024
2f088e4
Query Loop: Check for postTypeFromContext before using it (#66655)
mikachan Oct 31, 2024
fbdc0f9
VisualEditor: Always output has-global-padding classname when in post…
andrewserong Nov 1, 2024
99d2275
Prevent duplicate post format taxonomy queries (#66627)
carolinan Nov 1, 2024
11e2d06
Theme JSON: replace top-level background style objects on merge (#66656)
ramonjd Nov 1, 2024
0fa9ca0
Media Library: Expose filters dropdown for individual images, such as…
andrewserong Nov 1, 2024
160a45a
Style engine: wrap array_merge in conditionals to prevent unnecessary…
ramonjd Nov 1, 2024
5205f1f
Editor: Restore the 'PluginPostStatusInfo' slot position (#66665)
Mamaduka Nov 1, 2024
77122c5
getDefaultTemplateId: ensure entity config is loaded (#66650)
ellatrix Nov 1, 2024
29c8af3
Convert the emitter module in data package to TS (#66669)
manzoorwanijk Nov 1, 2024
d6cb227
TypeScript: Fix and improve types for private-apis (#66667)
manzoorwanijk Nov 1, 2024
b69bca9
Post Editor: Set the default value of the editorTool to edit (#66636)
arthur791004 Nov 1, 2024
86ca73a
Image block: Add support for "more" dropdown for additional tools in …
ntsekouras Nov 1, 2024
e74dce1
Update Changelog for 19.5.1
gutenbergplugin Nov 1, 2024
7ec6d6f
Bump plugin version to 19.6.0-rc.3
gutenbergplugin Nov 1, 2024
98f6210
Speak 'Block moved up/down' after using keyboard actions to move up/d…
n2erjo00 Nov 1, 2024
ec3d2c1
Update Changelog for 19.6.0-rc.3
gutenbergplugin Nov 1, 2024
33c3bb7
Optimize `getVisibleElementBounds` in scrollable cases (#66546)
stokesman Nov 1, 2024
d2157ff
Fix unset array key warning in block-bindings.php (#66337)
benharri Nov 1, 2024
49c3bf9
FormTokenField: Fix token styles (#66640)
mirka Nov 1, 2024
48341a1
Typography: Stabilize typography block supports within block processi…
andrewserong Nov 3, 2024
4e6bd4d
Theme JSON Resolver: remove theme json merge in resolve_theme_file_ur…
ramonjd Nov 4, 2024
03225e0
Block Inspector: Restore bottm margin for RadioControl (#66688)
t-hamano Nov 4, 2024
2a18aae
Site editor: integrate global styles controls and style book preview …
jorgefilipecosta Nov 4, 2024
c5921d7
Ensure HEIC files selectable from “Upload” button (#66292)
adamsilverstein Nov 4, 2024
5274126
Media Utils: add experimental `sideloadMedia` (#66378)
swissspidy Nov 4, 2024
238451e
Query Loop: Remove postTypeFromContext (#66681)
mikachan Nov 4, 2024
1ec454c
Set the `fit-content` width for images that are not `.svg` (#66643)
juanfra Nov 4, 2024
7c7c206
Post template block: Adjust the editor preview on taxonomy archive te…
carolinan Nov 4, 2024
5445afc
Inline Commenting: Avoid querying comments on editor load (#66670)
Mamaduka Nov 4, 2024
b992649
Components: Fix React Compiler error for 'useScrollRectIntoView' (#66…
Mamaduka Nov 4, 2024
d2b48e7
URLInput: Fix incorrect classname for suggestions (#66714)
t-hamano Nov 4, 2024
7bf1d96
Appender: fix initial position (#66711)
t-hamano Nov 4, 2024
6df457c
Block toolbar: restrict visible child calculation to known blocks (#6…
ramonjd Nov 4, 2024
adf7e26
Shadow panel: Make the delete modal text translatable (#66712)
t-hamano Nov 5, 2024
25849be
ComplementaryArea: Fix button position (#66677)
t-hamano Nov 5, 2024
630ceb4
Add "show template" to preview dropdown. (#66514)
tellthemachines Nov 5, 2024
5d6ea1e
Remove unnecessary tooltip from Video block Text tracks button. (#66716)
afercia Nov 5, 2024
6d57cb4
Docs: Include a note about supported licenses in WordPress packages (…
gziolo Nov 5, 2024
adaeff3
Storybook: fix Dataviews action modals (#66727)
oandregal Nov 5, 2024
6270af6
Documentation: reorganize to bootstrap DataForm API section (#66729)
oandregal Nov 5, 2024
2da866b
Document `filterSortAndPaginate` & `isItemValid` utilities (#66738)
oandregal Nov 5, 2024
3dece5e
Documentation: move docs for filters to proper place (#66743)
oandregal Nov 5, 2024
0c869d4
Documentation: add missing properties for DataViews/DataForm componen…
oandregal Nov 5, 2024
6cfeadc
Tools: Enforce the same order of fields in `package.json` files (#66239)
gziolo Nov 5, 2024
e6ee784
Site Editor: fix template for page-on-front option (#66739)
ellatrix Nov 5, 2024
bdc3ab2
WP Scripts: Make watch mode more resilient for developer errors (#66752)
gziolo Nov 5, 2024
d50ff80
Documentation: add section about the Fields API (#66761)
oandregal Nov 5, 2024
0583549
Documentation: improve readability of DataViews docs (#66766)
oandregal Nov 5, 2024
c41b219
Zoom-out: Move default background to the iframe component (#66284)
youknowriad Nov 5, 2024
f1fe404
BlockPatternsList: use the Async component (#66744)
ellatrix Nov 5, 2024
177c6a2
Block Editor: Fix ESLint warning for 'useBlockTypesState' hook (#66757)
Mamaduka Nov 5, 2024
ae29450
Perf metrics: update select and other metrics to use non-empty paragr…
ellatrix Nov 5, 2024
7f49b39
Patterns: receive intermediate responses while unbound request is res…
ellatrix Nov 5, 2024
9bd184d
Edit Site: Remove leftover 'priority-queue' dependency (#66773)
Mamaduka Nov 6, 2024
471e4bd
ci: Address stalling Android E2E test tasks (#66771)
dcalhoun Nov 6, 2024
7ff7679
Cover: Fix media library image selection (#66782)
Mamaduka Nov 6, 2024
5c6e6f3
Fix TS types for editor package (#66754)
manzoorwanijk Nov 6, 2024
452d3b0
Fix Paragraph appender layout shift (building on 66061) (#66779)
andrewserong Nov 6, 2024
fe2dcb6
DataViews: Tweak primary field in patterns grid layout (#66733)
t-hamano Nov 6, 2024
84048f8
Added toggle control to set any image as feature image if no feature …
up1512001 Nov 6, 2024
bd11f59
Select Mode: Hide tool selector in the post editor and force design m…
youknowriad Nov 6, 2024
624c938
Delay block hydration to allow stores to initialize (#66772)
westonruter Nov 6, 2024
fc740ff
Bump plugin version to 19.6.0
gutenbergplugin Nov 6, 2024
fb9587e
Update Changelog for 19.6.0
gutenbergplugin Nov 6, 2024
b252874
Post Content: Add border and spacing support (#66366)
rinkalpagdar Nov 6, 2024
3e46fe7
Global styles revisions: move focus and active state to list item (#6…
ramonjd Nov 7, 2024
4651b82
Block Gap: Fix block spacing control for axial gap supported blocks (…
aaronrobertshaw Nov 7, 2024
a0b0e5f
Group the storybook components in feedback category (#66660)
hbhalodia Nov 7, 2024
88cf9bd
Revert "Set image width to `fit-content` to solve aspect ratio proble…
kevin940726 Nov 7, 2024
20b773b
Feat: Storybook: Improve component organisation - Navigation Category…
hbhalodia Nov 7, 2024
b9b1a52
Relocate “View” external link to end of editor header controls (#66785)
ntsekouras Nov 7, 2024
8be8e46
ESLint: Fix React Compiler violations in various commands (#66787)
tyxla Nov 7, 2024
f15b4c1
Fix inconsistent sidebars close buttons sizes (#66756)
afercia Nov 7, 2024
b0d2041
Iframe: always enable for block themes, in core too (#66800)
ellatrix Nov 7, 2024
69f71e1
Data: Rename useSelect internals to fix React Compiler violations (#6…
tyxla Nov 7, 2024
7874fc5
Block Editor: Fix React Compiler error for 'BlockProps' util (#66809)
Mamaduka Nov 7, 2024
cb24e93
Enable zoom out mode for non-iframe editor (#66789)
t-hamano Nov 7, 2024
9671f7c
Core Commands: Fix add new post URL assignment (#66830)
tyxla Nov 7, 2024
ab6e729
Iframe: Fix relative wp-content URLs (#66751)
Soean Nov 7, 2024
457fcf8
Process Block Type: Copy deprecation to a new object instead of mutat…
andrewserong Nov 8, 2024
54aaec6
Image: Add `aria-haspopup` prop write mode `more` tools menu items (#…
ntsekouras Nov 8, 2024
bee12b1
adds anchor support in details block (#66734)
amitraj2203 Nov 8, 2024
706691e
Block Editor: Fix stale dependencies of selectors depending on editor…
mcsf Nov 8, 2024
93a025d
Update Commands docs with the existing contexts (#66860)
ntsekouras Nov 8, 2024
3a29771
Remove unnecessary boolean assignments (#66857)
ntsekouras Nov 8, 2024
77166e0
update: Add Media to Add media in cover block (#66835)
up1512001 Nov 8, 2024
55a44fd
Bump plugin version to 19.6.1
gutenbergplugin Nov 8, 2024
36f0847
Update Changelog for 19.6.1
gutenbergplugin Nov 8, 2024
f1a4f1c
Fix flash when clicking template name in the editor when a plugin reg…
Aljullu Nov 8, 2024
1a1db8b
Update placeholder text for blocks that support drag and drop (#66842)
matiasbenedetto Nov 8, 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.
106 changes: 97 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 Down Expand Up @@ -177,6 +177,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 +216,12 @@ module.exports = {
},
],
'no-restricted-syntax': [ 'error', ...restrictedSyntax ],
'jsdoc/check-tag-names': [
'error',
{
definedTags: [ 'jest-environment' ],
},
],
},
overrides: [
{
Expand Down Expand Up @@ -278,15 +286,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 +464,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 +487,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
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
10 changes: 5 additions & 5 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 @@ -18,7 +18,7 @@
/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'
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 gutenberg@wordpress.org

- 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'
17 changes: 5 additions & 12 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 @@ -18,22 +18,15 @@ on:
- '!packages/e2e-tests/**'
jobs:
check:
name: Check CHANGELOG diff
name: Check for a Core backport changelog entry
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:
- 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 }}
fetch-depth: ${{ env.PR_COMMIT_COUNT }}
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
- name: 'Fetch relevant history from origin'
run: git fetch origin ${{ github.event.pull_request.base.ref }}
- name: Check CHANGELOG status
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Core Sync Required') && !contains(github.event.pull_request.labels.*.name, 'Backport from WordPress Core') }}
- name: Check the changelog folder
env:
PR_NUMBER: ${{ github.event.number }}
run: |
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
Loading