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

FIX: Replace the AM/PM toggle ButtonGroup with ToggleGroupControl. #61562

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
473 commits
Select commit Hold shift + click to select a range
9360d72
Always show Actions table header. (#61847)
afercia May 30, 2024
6314821
Format Library: Refactor 'Inline Image' edit component (#62135)
Mamaduka May 30, 2024
31fc3b2
Post Summary: Move PostTemplatePanel below Link and Author (#62137)
richtabor May 30, 2024
754bc0c
Image Block: Conditionally Render Block Control Based on Component Pr…
amitraj2203 May 30, 2024
295e580
Make it clearer how to edit a site's palette (#61364)
richtabor May 30, 2024
cbe794c
Update: Move duplicate pattern and template part actions to the edito…
jorgefilipecosta May 30, 2024
f43c3f2
Editor: render publish date control when the status is `future`(sched…
ntsekouras May 30, 2024
9f72304
Script modules: Add server to client data passing (#61658)
sirreal May 30, 2024
ee7d977
Editor: Remove uselss props from InserterSidebar component (#62103)
youknowriad May 30, 2024
8ae9a9a
Add curly brace autofix commit to git-blame-ignore-revs (#62144)
tyxla May 30, 2024
9022646
Block Variations: Support dot notation in `isActive` string array (#6…
ockham May 30, 2024
384dae7
Fixed : Update `alt text decision tree` links to be translatable (#62…
narenin May 30, 2024
3775860
Hide presets when there are less or exactly one presets available (#6…
draganescu May 30, 2024
af487fc
[Mobile] - Prevent deleting content when backspacing in the first Par…
May 30, 2024
3078ced
Link Control: Fix focus handlers in development mode (#62141)
Mamaduka May 30, 2024
d42b518
Documentation: PostDiscussionPanel editor component (#61966)
colorful-tones May 30, 2024
9191d75
Documentation: PostExcerptPanel editor component (#61967)
colorful-tones May 30, 2024
7f1385f
Documentation: PostPendingStatus + PostPendingStatusCheck editor comp…
colorful-tones May 30, 2024
77f33cc
Update: Implement new parent and order design. (#61918)
jorgefilipecosta May 30, 2024
233aa0f
ServerSideRender: Fix data loading in development mode (#62140)
Mamaduka May 30, 2024
da0a04b
Documentation: PostPingbacks editor component (#62035)
colorful-tones May 30, 2024
deb50de
Documentation: PostPreviewButton editor component (#62036)
colorful-tones May 30, 2024
914aa81
Editor: Move the InterfaceSkeleton to the editor package (#62118)
youknowriad May 30, 2024
1c55e66
Script Modules: Fix private method reflection access (#62154)
sirreal May 30, 2024
e559770
Update copy for color variations from "Presets" to "Palettes" (#62147)
richtabor May 30, 2024
fd3f745
Remove extra bracket in the site editor root padding styles (#62159)
tellthemachines May 31, 2024
00eaeba
Site Editor: Use site title as a link (#61258)
richtabor May 31, 2024
1b27150
Block Styles: Fix block style variation styles for blocks with comple…
aaronrobertshaw May 31, 2024
c298beb
Media & Text block: Remove the link option when the featured image is…
carolinan May 31, 2024
c80dc90
Add defaultSpacingSizes option (theme.json v3) (#61842)
ajlende May 31, 2024
e37d15c
Font Library Modal: Remove some contexts (#62042)
t-hamano May 31, 2024
2fdcb8b
[Mobile] - Adds new bridge functionality for content (#61796)
May 31, 2024
e0d70a2
Navigation block: Check for insert_hooked_blocks_into_rest_response i…
ockham May 31, 2024
573cd6e
Distraction Free: Unify the header animation (#62167)
youknowriad May 31, 2024
2fdc677
Writing flow: remove first empty paragraph on Backspace (#61889)
ellatrix May 31, 2024
94aa255
Make post meta row button treatment consistent (#61954)
jameskoster May 31, 2024
f401e05
Don't steal focus when opening browse all blocks from navigation link…
jeryj May 31, 2024
db52b18
Shadow Panel: Make subtitle translatable (#62022)
t-hamano May 31, 2024
743c8ac
Do not auto save post status changes (#62171)
ntsekouras May 31, 2024
9f98517
Global Styles: Add block-level Text Alignment UI (#61717)
t-hamano May 31, 2024
24ecb5f
Add documentation for the EditorProvider and ExperimentalEditorProvid…
nateinaction May 31, 2024
e36ced7
CustomSelectControl: Fix menuProps mutation (#62149)
tyxla May 31, 2024
df641a2
Synced Pattern: Wait for pattern creation in e2e tests (#62174)
Mamaduka May 31, 2024
d211b81
Tweak pattern categories sidebar (#62113)
richtabor May 31, 2024
f2b298c
Fix shadow and border for pattern category panel (#62158)
richtabor May 31, 2024
55f6c25
Fix syncing of publish date between publish and post status panel (#6…
ntsekouras May 31, 2024
e77eabf
Align the template title to the center in the 'Add template' screen (…
Aljullu May 31, 2024
c42420a
Block Bindings: Allow editing in post meta source (#61753)
SantosGuillamot May 31, 2024
93e1a4b
Fix links to lodash (#62188)
senadir May 31, 2024
c029d63
Site Editor: Update to use the EditorInterface component from the edi…
youknowriad May 31, 2024
b1a3148
Add `__default` binding for pattern overrides (#60694)
kevin940726 May 31, 2024
5878192
Add indicator for metadata changes to Save Panel when reviewing modif…
artemiomorales May 31, 2024
b7de286
Block Variations: Have `getActiveBlockVariation` return variation wit…
ockham May 31, 2024
ac4d2f3
Pages data view: Add Pending and Private views (#62138)
jameskoster May 31, 2024
3f81c4d
Block card: Fix typographic widow. (#61438)
jasmussen May 31, 2024
ea6cefa
Don't show non supported attributes (#62183)
SantosGuillamot May 31, 2024
2367f55
Inserter: show all blocks (alternative) (#62169)
ellatrix May 31, 2024
f4c1a71
Adjust the icons and text of the binding connected blocks (#61560)
kevin940726 May 31, 2024
f70bd56
tweak copy, remove extra description (#62161)
richtabor May 31, 2024
b6688cd
Bump plugin version to 18.5.0-rc.1
gutenbergplugin May 31, 2024
7f37669
Update Changelog for 18.5.0-rc.1
gutenbergplugin May 31, 2024
5693370
Update changelog files
gutenbergplugin May 31, 2024
c918299
chore(release): publish
gutenbergplugin May 31, 2024
904196c
Media & Text block: Fix nested Media & Text block media position issu…
amitraj2203 Jun 1, 2024
d3eb859
Fixed Media Text Block Issue : When crop image to fill is enabled, th…
narenin Jun 1, 2024
a434cd7
Update old document URLs to new ones (#62206)
shail-mehta Jun 3, 2024
62e5f67
Inserter: Update Openverse API URLs (#62241)
Mamaduka Jun 3, 2024
73545b8
Add lint rule for inaccessible disabled `Button` (#62080)
mirka Jun 3, 2024
7200573
Add doc for WordCount component (#62217)
amitraj2203 Jun 3, 2024
71f0470
Site Export: ensure that the export endpoint uses Gutenberg theme cla…
ramonjd Jun 4, 2024
64f2b7d
Checking for preview mode (another way of saying canvasMode === 'view…
ramonjd Jun 4, 2024
6d0aa24
Syncing changes from Core https://core.trac.wordpress.org/ticket/6102…
ramonjd Jun 4, 2024
58ed4b3
Script Modules: Adjust data filter name and script tag ID (#62170)
sirreal Jun 4, 2024
f2c19be
Update URL to uppercase. (#62231)
jasmussen Jun 4, 2024
a3f4d92
Update sidebar title + icon + site title alignment (#62191)
jameskoster Jun 4, 2024
4e077f9
Remove unused `syncDerivedUpdates` action (#62229)
SantosGuillamot Jun 4, 2024
9fd4b4e
[Mobile] - Unsupported block - UI improvements (#62240)
Jun 4, 2024
3810fef
Update: Block styles documentation.
jorgefilipecosta Jun 4, 2024
68c22cc
[Mobile] - Image corrector - Check the path extension is a valid one …
Jun 4, 2024
c580d59
Try: Fix mover positioning. (#62226)
jasmussen Jun 4, 2024
5308c6b
Update: Slotfill documentation samples (links, code, and rephrase). (…
jorgefilipecosta Jun 4, 2024
715d1bf
Update instances of text-wrap: pretty to fall back to balance (#62233)
jasmussen Jun 4, 2024
ab72bb2
Inserter: Return the same items when the state and parameters don't c…
Mamaduka Jun 4, 2024
816d4d6
Re-enable React StrictMode (#61943)
Mamaduka Jun 4, 2024
554712e
Fix: Remove unused code from dataviews styles. (#62275)
jorgefilipecosta Jun 4, 2024
eaee266
Make edit site pagination buttons accessibly disabled. (#62267)
afercia Jun 4, 2024
bbfb5f4
Tabs: Prevent accidental overflow in indicator (#61979)
t-hamano Jun 4, 2024
a934f32
MediaUpload: Remove dialog markup on close (#62168)
Mamaduka Jun 4, 2024
0eecb28
Chore: Simplify a padding style on dataviews. (#62276)
jorgefilipecosta Jun 4, 2024
0fbb662
Documentation: Better changelogs for the JSX transform upgrade (#62265)
youknowriad Jun 4, 2024
e5c9954
Scripts: Pin the @wordpress/scripts version to a version supported by…
youknowriad Jun 4, 2024
bcfc770
Editor: Cleanup styles and classnames (#62237)
youknowriad Jun 4, 2024
7a5c589
Add `default-spacing-sizes` and `default-font-sizes` options for clas…
ajlende Jun 4, 2024
16c1287
Editor: Avoid remounts of `DocumentBar` (#62214)
stokesman Jun 4, 2024
027093d
Chore: Simplify a padding style on global styles. (#62291)
jorgefilipecosta Jun 4, 2024
a6dc8e8
Fix UI order for theme.json spacing sizes (#62199)
ajlende Jun 4, 2024
74d4663
Top toolbar: fix half a pixel artifacting of the bottom border. (#62225)
jasmussen Jun 4, 2024
b0c2409
Fix unintended overwrite of eslint `no-restricted-syntax` (#62301)
mirka Jun 4, 2024
2f6aac9
Global styles code quality refactoring (#62299)
ajlende Jun 5, 2024
435628d
Revert CSS removal for editor interface footer breadcrumbs (#62309)
andrewserong Jun 5, 2024
dae9858
Site Editor: Remove unused code (#62286)
Mamaduka Jun 5, 2024
fa025cc
Try: Contextual frame bg color to avoid artifacting. (#62223)
jasmussen Jun 5, 2024
f7b5c26
Performance reporter: print the stdio/stderr from the worker (#62316)
jsnajdr Jun 5, 2024
a297d2b
Add safety check in case bindings don't exist (#62268)
SantosGuillamot Jun 5, 2024
dd8bf15
Mobile Release v1.119.1 (#62273)
Jun 5, 2024
5914da8
Parser: Update validateBlock to use fixedBlock (#62178)
tjcafferkey Jun 5, 2024
08a4923
Fix: Show homepage link on frontpage instead of the slug. (#62279)
jorgefilipecosta Jun 5, 2024
ae7b31a
Fix: Remove unused typography panel styles. (#62295)
jorgefilipecosta Jun 5, 2024
8573ae9
Removed warning for generated README from template (#62324)
juanmaguitar Jun 5, 2024
8043119
Migrate theme.json based on origin (#62305)
ajlende Jun 5, 2024
4e4e402
Block Variations: Detect active variation correctly based on RichText…
ockham Jun 5, 2024
c6a23db
Editor: Introduce the Editor component and use it in the site editor …
youknowriad Jun 5, 2024
ed1eb9b
Editor: Only render the site logo once if there's a fill (#62320)
youknowriad Jun 5, 2024
755380b
Data: Add error handle to the 'registry.batch' method (#62322)
Mamaduka Jun 5, 2024
269706e
Add `WP_ENV_TESTS_MYSQL_PORT` / `.wp-env.json` `.env.tests.mysqlPort`…
BrianHenryIE Jun 5, 2024
9310359
block.json schema: Add supports.splitting field (#62209)
t-hamano Jun 5, 2024
0df5a4b
Bump the github-actions group across 1 directory with 3 updates (#62238)
dependabot[bot] Jun 5, 2024
1cbb84b
E2E Utils: Add retry mechanism to the REST API discovery (#62331)
WunderBart Jun 5, 2024
961af55
Block Variations: Compare objects based on given properties (#62272)
ockham Jun 5, 2024
15275e7
Interactivity API: Increase directive `wp-each-child` priority. (#62293)
cbravobernal Jun 5, 2024
8619468
Bump plugin version to 18.5.0
gutenbergplugin Jun 5, 2024
30ed5e9
Update Changelog for 18.5.0
gutenbergplugin Jun 5, 2024
9bd6561
Data Views: Bulk toolbar covering other clickable elements (#62333)
amitraj2203 Jun 6, 2024
5aa0262
Editor: Refine availability of rename post action (#62248)
stokesman Jun 6, 2024
0c3d347
Revert changes to bindings replacement logic to not use regex (#62355)
SantosGuillamot Jun 6, 2024
9b93991
Editor: Use the Editor component in the post editor. (#62339)
youknowriad Jun 6, 2024
78354c4
Perf Tests: Use backward-compatible locators (#62362)
Mamaduka Jun 6, 2024
0955de0
Test using Node.js 22.x. (#62341)
desrosj Jun 6, 2024
1858bcc
Query: Adjust the position of sticky search field in Patterns modal (…
t-hamano Jun 6, 2024
af111fa
Core Data: Fix errors when the entities list doesn't contain config k…
Mamaduka Jun 6, 2024
e0f8096
Use data-wp-on-async directives in core blocks when handler does not …
westonruter Jun 6, 2024
01c565a
Mobile Release v1.120.0 (#62365)
Jun 6, 2024
a711429
FlatTermSelector: Update the term suggestion limit (#62359)
Mamaduka Jun 6, 2024
1c3b4d4
Site Editor Hub: Simplify (#61579)
youknowriad Jun 6, 2024
569f307
Fix: Omit default parameters from pages, template parts, and patterns…
jorgefilipecosta Jun 6, 2024
c658cda
Use border instead of hr for filtered block list separator (#62249)
jeryj Jun 6, 2024
d43c5db
Site Editor: Remove has-fixed-toolbar class
youknowriad Jun 6, 2024
05a6a9b
Revert "Site Editor: Remove has-fixed-toolbar class"
youknowriad Jun 6, 2024
aa48ac7
Documentation: TableOfContents editor component (#62385)
colorful-tones Jun 7, 2024
ac8f7e8
Documentation: PostSyncStatus editor component (#62382)
colorful-tones Jun 7, 2024
fe99d7c
Documentation: PostSwitchToDraftButton editor component (#62381)
colorful-tones Jun 7, 2024
746f3f8
Documentation: PostPublishPanel editor component (#62380)
colorful-tones Jun 7, 2024
920a89a
Editor: Deprecate PostSwitchToDraftButton (#62402)
ntsekouras Jun 7, 2024
32ff444
Documentation: EntitiesSavedStates editor component (#62377)
colorful-tones Jun 7, 2024
b0f6c4c
Documentation: PostTaxonomies, PostTaxonomiesCheck, PostTaxonomiesFla…
colorful-tones Jun 7, 2024
0b81cc1
Only run block bindings Gutenberg logic for sites using WordPress ver…
SantosGuillamot Jun 7, 2024
7c854bb
i18n: Patterns: Disambiguate singular & plural uses of 'Synced' & 'Un…
mcsf Jun 7, 2024
5d12b39
Posts Dashboard: Add a new experimental empty page (#62406)
youknowriad Jun 7, 2024
bd4fece
Editor: Combine selector in provider component (#62407)
Mamaduka Jun 7, 2024
e22622a
Use preview instead of publishing post in block bindings tests (#62235)
SantosGuillamot Jun 7, 2024
2351d57
Move the template part menu items to the editor package (#62366)
youknowriad Jun 7, 2024
3121d7e
Try: Fix flaky DataViews e2e test (#62413)
Mamaduka Jun 7, 2024
6c096ee
Documentation: useEntitiesSavedStatesIsDirty editor component (#62388)
colorful-tones Jun 7, 2024
9b8a84e
Documentation: ThemeSupportCheck editor component (#62387)
colorful-tones Jun 7, 2024
7148ed8
Fix: Update styles for checkbox and radio controls. (#61696)
vipul0425 Jun 7, 2024
7d2ce62
Embeds: Remove SlideShare embed block variation (#62394).
peterwilsoncc Jun 7, 2024
cca4d30
Global Styles: Fix UI appearing on blocks that don't support text ali…
t-hamano Jun 8, 2024
f764b81
Replace "Add new post" link text with more meaningful Label (v2) (#62…
carstingaxion Jun 8, 2024
73e3609
Several typo correction in documentations (#62433)
shail-mehta Jun 9, 2024
b4b4c31
Add @global PHP documentation (#60539)
shail-mehta Jun 9, 2024
10d79ee
Corrected @since Order in Php Docs (#61992)
shail-mehta Jun 9, 2024
3d37e45
Editor: Make revisions more prominent (#62323)
ntsekouras Jun 10, 2024
4e97431
Documentation: PostPublishButton, PostPublishButtonLabel editor compo…
colorful-tones Jun 10, 2024
6b718c7
fix move `CONTENT_ONLY_BLOCKS` into component body to ensure the `edi…
fabiankaegy Jun 10, 2024
1b93b32
Global styles: display tooltips for pagination buttons on styles revi…
ramonjd Jun 10, 2024
ddf8db9
Fix applying bindings or pattern overrides to button blocks with empt…
talldan Jun 10, 2024
918905d
Placeholders: Fix contrast. (#62416)
jasmussen Jun 10, 2024
4032dfa
Docs: Explicitly mention new behavior coming in WP 6.6 for block vari…
gziolo Jun 10, 2024
8dbd48f
Fix increasingly big canvas in the post editor when editing patterns …
talldan Jun 10, 2024
1c4b894
Color Variations: Use Grid rather than VStack (#62445)
richtabor Jun 10, 2024
466c425
LinkControl: refined the display of the link preview title and url wh…
amitraj2203 Jun 10, 2024
6297ca6
Fix: Add `network-active` to valid options in `PluginStatus` Type def…
fabiankaegy Jun 10, 2024
957c306
List: fix pasting (#62428)
ellatrix Jun 10, 2024
d77e0b5
DataViews: Fix unnecessary horizontal scrollbar in list layout (#62448)
t-hamano Jun 11, 2024
32fa0fa
List view: show context menu for content-only blocks in posts (#62354)
ramonjd Jun 11, 2024
0bd03e7
Fix flaky Site Editor command center e2e test (#62454)
Mamaduka Jun 11, 2024
1e84466
Page creation and duplication: Decode HTML entities in success notice…
carolinan Jun 11, 2024
a39cbd6
Section Styles: Register block style variations on `init` (#62461)
aaronrobertshaw Jun 11, 2024
c03b0ab
Fixed : Disambiguate "Cover" translatable string in the context of ba…
narenin Jun 11, 2024
b5c397c
Block Styles: Remove core block style variations filters and action (…
aaronrobertshaw Jun 11, 2024
67bb1e6
Site Editor: Remove editor specific classes from shell wrapper. (#62389)
youknowriad Jun 11, 2024
dd6d96c
Block style variation: rename hook (#62464)
ramonjd Jun 11, 2024
47ee312
Bootstrap the dashboard layout (#62409)
youknowriad Jun 11, 2024
1cab14c
DataViews: Bootstrap Actions Extensibility API (#62052)
youknowriad Jun 11, 2024
29b0cb7
Fix: (#62482)
sirreal Jun 11, 2024
3a7b2aa
Fix `@since` tag in docblock in `WP_Theme_JSON_Data_Gutenberg`. (#62425)
joemcgill Jun 11, 2024
2f80d5c
Fix showing double icons for connected blocks in pattern editor (#62317)
kevin940726 Jun 12, 2024
f4a6777
List View: Respect default shortcuts in modals (#62479)
t-hamano Jun 12, 2024
985f13a
Icons: Fix React warning error for offline icon (#62353)
t-hamano Jun 12, 2024
edb3d97
List View: Fix home and end key behaviour in very long lists (#62312)
andrewserong Jun 12, 2024
2a0f9e8
Post Date: Adds relative date format (#62298)
amitraj2203 Jun 12, 2024
491fdb0
Global Styles: Fix registration of theme style variation defined bloc…
aaronrobertshaw Jun 12, 2024
32a159a
Unify DataViews Header Title & Subtitle (#62429)
t-hamano Jun 12, 2024
83e076a
Verse block: add background image and minimum height support (#62498)
ramonjd Jun 12, 2024
d4afbfc
Quote blocks: add background image and minimum height support (#62497)
ramonjd Jun 12, 2024
afd5ba9
Update Node version for flaky test reporter (#62401)
Mamaduka Jun 12, 2024
7c2ae0f
Change `Site Editor` to `Edit site` (#62501)
up1512001 Jun 12, 2024
0b7b7c2
Block bindings: Change bindings panel title, add description. (#62489)
cbravobernal Jun 12, 2024
a1576d7
Update React API reference links in @wordpress/element reference-guid…
amitraj2203 Jun 12, 2024
a08875b
Fix: Invalid link on explanations documentation. (#62487)
jorgefilipecosta Jun 12, 2024
b34ea98
[Mobile] - Fix Inserter items list (#62334)
Jun 12, 2024
113334f
Ensure that openref is defined before accessing to .current (#62508)
gigitux Jun 12, 2024
00c1b83
[Mobile] Improve List block onSplit to avoid hiding the keyboard on e…
Jun 12, 2024
480e363
[Mobile] - RichText - Fix `undefined` onDelete callback (#62486)
Jun 12, 2024
c34cdfe
Add JSON Schema for `.wp-env.json` files (#36276)
fabiankaegy Jun 12, 2024
41b8dab
Inserter: Allow focus to move to the toggle when opening the inserter…
scruffian Jun 12, 2024
28f1890
Docs: Correct typos in GitHub and JavaScript wordmarks (#62459).
peterwilsoncc Jun 12, 2024
8c3bc62
Block Bindings / Pattern Overrides: Try preventing normal attribute u…
talldan Jun 13, 2024
4d247fa
Post content block: add background image and padding support (#62499)
ramonjd Jun 13, 2024
60b831f
Update custom CSS handling to be consistent with block global styles.…
tellthemachines Jun 13, 2024
1ae574e
Global styles: send theme object to setUserConfig (#61805)
ramonjd Jun 13, 2024
494d041
Build JS module only in development mode (#62398)
kevin940726 Jun 13, 2024
6c93a8b
Extract the pattern overrides toolbar indicator from the `block-edito…
kevin940726 Jun 13, 2024
be3baa1
Use stable reference for `getEntityActions` action (#62536)
ntsekouras Jun 13, 2024
e890935
Add support for local keyframes through a PostCSS plugin. (#62476)
DaniGuardiola Jun 13, 2024
fc53146
Fixing minor syntax in dataview example code (#62560)
aaronware Jun 14, 2024
018022a
Add custom CSS for block style variations. (#62526)
tellthemachines Jun 14, 2024
c7d3c02
Update fetchLinkSuggestions to sort results by relevancy (#62397)
noisysocks Jun 14, 2024
3e1d320
Fix "insert before/after" not showing for blocks in site editor (#62530)
kevin940726 Jun 14, 2024
83f1abb
Update all `ConfirmDialog`s in the codebase to be size=medium (#62532)
talldan Jun 14, 2024
3efbe72
Section styles: support i18n for variations declared in `theme.json` …
oandregal Jun 14, 2024
2e71b8c
Section styles: consolidate variation name (#62550)
oandregal Jun 14, 2024
ca962c8
Shortcut Help modal: Remove CSS hack for Internet Explorer 11 (#62564)
t-hamano Jun 14, 2024
89afed3
Speed up check-build-type-declaration-files (#62538)
sirreal Jun 14, 2024
4944923
Template inspector: Small visual adjustments. (#62537)
jasmussen Jun 14, 2024
5bf007d
Revert test data for `WithSlug` variation (#62579)
oandregal Jun 14, 2024
3c52da7
Blob: Convert package to TypeScript (#62569)
up1512001 Jun 14, 2024
a7426a8
Fix: Flakey deferred store test (#62571)
sirreal Jun 14, 2024
51057fa
Sort spacing sizes when all slugs begin numerically (#62567)
ajlende Jun 14, 2024
273c10b
Warning: Convert package to TypeScript (#62557)
up1512001 Jun 14, 2024
362184c
Added documentation for `PostTrash` & `PostTrashCheck` `TimeToRead` `…
narenin Jun 14, 2024
bef99da
Added doc for PostSticky components (#62100)
akasunil Jun 14, 2024
3224447
Autop: Convert package to TypeScript (#62583)
up1512001 Jun 14, 2024
dc669ca
Escape-html: Convert package to TypeScript (#62586)
up1512001 Jun 14, 2024
48ad7da
Block Editor: Remove 'rootClientId' argument for block lock selectors…
Mamaduka Jun 14, 2024
b20faa2
Global Styles: Only use single property variations as color/type pres…
scruffian Jun 14, 2024
df432bd
Token-list: Convert package to TypeScript (#62584)
up1512001 Jun 14, 2024
b8ee6db
Global Styles: Don't apply the background and text colors to typograp…
scruffian Jun 14, 2024
fedbaf2
Bump plugin version to 18.6.0-rc.1
gutenbergplugin Jun 15, 2024
b585ff1
Update changelog files
gutenbergplugin Jun 15, 2024
b7b0949
chore(release): publish
gutenbergplugin Jun 15, 2024
22d36e0
Add onChange on ToggleGroupControl.
patil-vipul Jun 17, 2024
ca9ce60
Remove aria-label
patil-vipul Jun 17, 2024
e0ee4f2
Update test to use `getByRole`
patil-vipul Jun 17, 2024
808f81b
Update the CHANGELOG.md
patil-vipul Jun 17, 2024
b50f8f1
Test symbols and numbers in block bindings (#62410)
SantosGuillamot Jun 16, 2024
ceae249
Account for partial string matches in fetchLinkSuggestions (#62570)
noisysocks Jun 17, 2024
4e6b150
Caption utility component: Allow the main CSS Class Name to be exclud…
aatanasovdev Jun 17, 2024
53af6b4
Update caniuse-lite dependency to latest version (#62611)
talldan Jun 17, 2024
5b9ce37
Update the CHANGELOG.md
patil-vipul Jun 17, 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
  •  
  •  
  •  
146 changes: 88 additions & 58 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,72 @@ const restrictedImports = [
},
];

const restrictedSyntax = [
// NOTE: We can't include the forward slash in our regex or
// we'll get a `SyntaxError` (Invalid regular expression: \ at end of pattern)
// here. That's why we use \\u002F in the regexes below.
{
selector:
'ImportDeclaration[source.value=/^@wordpress\\u002F.+\\u002F/]',
message: 'Path access on WordPress dependencies is not allowed.',
},
{
selector:
'CallExpression[callee.name="deprecated"] Property[key.name="version"][value.value=/' +
majorMinorRegExp +
'/]',
message:
'Deprecated functions must be removed before releasing this version.',
},
{
selector:
'CallExpression[callee.object.name="page"][callee.property.name="waitFor"]',
message:
'This method is deprecated. You should use the more explicit API methods available.',
},
{
selector:
'CallExpression[callee.object.name="page"][callee.property.name="waitForTimeout"]',
message: 'Prefer page.waitForSelector instead.',
},
{
selector: 'JSXAttribute[name.name="id"][value.type="Literal"]',
message:
'Do not use string literals for IDs; use withInstanceId instead.',
},
{
// Discourage the usage of `Math.random()` as it's a code smell
// for UUID generation, for which we already have a higher-order
// component: `withInstanceId`.
selector:
'CallExpression[callee.object.name="Math"][callee.property.name="random"]',
message:
'Do not use Math.random() to generate unique IDs; use withInstanceId instead. (If you’re not generating unique IDs: ignore this message.)',
},
{
selector:
'CallExpression[callee.name="withDispatch"] > :function > BlockStatement > :not(VariableDeclaration,ReturnStatement)',
message:
'withDispatch must return an object with consistent keys. Avoid performing logic in `mapDispatchToProps`.',
},
{
selector:
'LogicalExpression[operator="&&"][left.property.name="length"][right.type="JSXElement"]',
message:
'Avoid truthy checks on length property rendering, as zero length is rendered verbatim.',
},
];

/** `no-restricted-syntax` rules for components. */
const restrictedSyntaxComponents = [
{
selector:
'JSXOpeningElement[name.name="Button"]:not(:has(JSXAttribute[name.name="__experimentalIsFocusable"])) 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.)',
},
];

module.exports = {
root: true,
extends: [
Expand All @@ -92,6 +158,7 @@ module.exports = {
],
globals: {
wp: 'off',
globalThis: 'readonly',
},
settings: {
jsdoc: {
Expand All @@ -103,8 +170,12 @@ module.exports = {
rules: {
'jest/expect-expect': 'off',
'react/jsx-boolean-value': 'error',
'react/jsx-curly-brace-presence': [
'error',
{ props: 'never', children: 'never' },
],
'@wordpress/dependency-group': 'error',
'@wordpress/is-gutenberg-plugin': 'error',
'@wordpress/wp-global-usage': 'error',
'@wordpress/react-no-unsafe-timeout': 'error',
'@wordpress/i18n-text-domain': [
'error',
Expand Down Expand Up @@ -142,63 +213,7 @@ module.exports = {
disallowTypeAnnotations: false,
},
],
'no-restricted-syntax': [
'error',
// NOTE: We can't include the forward slash in our regex or
// we'll get a `SyntaxError` (Invalid regular expression: \ at end of pattern)
// here. That's why we use \\u002F in the regexes below.
{
selector:
'ImportDeclaration[source.value=/^@wordpress\\u002F.+\\u002F/]',
message:
'Path access on WordPress dependencies is not allowed.',
},
{
selector:
'CallExpression[callee.name="deprecated"] Property[key.name="version"][value.value=/' +
majorMinorRegExp +
'/]',
message:
'Deprecated functions must be removed before releasing this version.',
},
{
selector:
'CallExpression[callee.object.name="page"][callee.property.name="waitFor"]',
message:
'This method is deprecated. You should use the more explicit API methods available.',
},
{
selector:
'CallExpression[callee.object.name="page"][callee.property.name="waitForTimeout"]',
message: 'Prefer page.waitForSelector instead.',
},
{
selector: 'JSXAttribute[name.name="id"][value.type="Literal"]',
message:
'Do not use string literals for IDs; use withInstanceId instead.',
},
{
// Discourage the usage of `Math.random()` as it's a code smell
// for UUID generation, for which we already have a higher-order
// component: `withInstanceId`.
selector:
'CallExpression[callee.object.name="Math"][callee.property.name="random"]',
message:
'Do not use Math.random() to generate unique IDs; use withInstanceId instead. (If you’re not generating unique IDs: ignore this message.)',
},
{
selector:
'CallExpression[callee.name="withDispatch"] > :function > BlockStatement > :not(VariableDeclaration,ReturnStatement)',
message:
'withDispatch must return an object with consistent keys. Avoid performing logic in `mapDispatchToProps`.',
},
{
selector:
'LogicalExpression[operator="&&"][left.property.name="length"][right.type="JSXElement"]',
message:
'Avoid truthy checks on length property rendering, as zero length is rendered verbatim.',
},
],
'no-restricted-syntax': [ 'error', ...restrictedSyntax ],
},
overrides: [
{
Expand Down Expand Up @@ -248,6 +263,20 @@ module.exports = {
],
},
},
{
files: [
'packages/*/src/**/*.[tj]s?(x)',
'storybook/stories/**/*.[tj]s?(x)',
],
excludedFiles: [ '**/*.native.js' ],
rules: {
'no-restricted-syntax': [
'error',
...restrictedSyntax,
...restrictedSyntaxComponents,
],
},
},
{
files: [
// Components package.
Expand Down Expand Up @@ -367,6 +396,7 @@ module.exports = {
rules: {
'no-restricted-syntax': [
'error',
...restrictedSyntax,
{
selector:
':matches(Literal[value=/--wp-admin-theme-/],TemplateElement[value.cooked=/--wp-admin-theme-/])',
Expand Down
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ c56e8a1910ed74f405b74bbb12fe81dea974e5c3

# Autofix eslint curly rule.
0221522f253e094b277a1485b7a2d186cb172632

# ESLint: Enable react/jsx-curly-brace-presence
5d4baa9ab5f57d207cc3a048003216a8574574d9
10 changes: 5 additions & 5 deletions .github/workflows/build-plugin-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
token: ${{ secrets.GUTENBERG_TOKEN }}
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: ${{ needs.bump-version.outputs.release_branch || github.ref }}
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 2
ref: ${{ needs.bump-version.outputs.release_branch }}
Expand Down Expand Up @@ -311,14 +311,14 @@ jobs:
if: ${{ endsWith( needs.bump-version.outputs.new_version, '-rc.1' ) }}
steps:
- name: Checkout (for CLI)
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
path: main
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Checkout (for publishing)
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
path: publish
# Later, we switch this branch in the script that publishes packages.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 1
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/check-backport-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Verify Core Backport Changlog

on:
pull_request:
types: [opened, synchronize, labeled, unlabeled]
paths:
- 'lib/**'
- '!lib/load.php'
- '!lib/experiments-page.php'
- '!lib/experimental/**'
- 'phpunit/**'
- '!phpunit/experimental/**'
- '!phpunit/blocks/**'
- 'packages/**/*.php'
- '!packages/block-library/**'
- '!packages/e2e-tests/**'
jobs:
check:
name: Check CHANGELOG diff
runs-on: ubuntu-latest
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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
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') }}
env:
PR_NUMBER: ${{ github.event.number }}
run: |
changelog_folder="backport-changelog"

# Find any changelog file that contains the Gutenberg PR link
gutenberg_pr_url="https://github\.com/WordPress/gutenberg/pull/${PR_NUMBER}"
changelog_file=$(grep -rl "[-*] ${gutenberg_pr_url}" "${changelog_folder}" | head -n 1)

# Confirm that there is an entry containing the Gutenberg PR link
if [[ -z "${changelog_file}" ]]; then
echo "Please create a core backport PR and add a file with the path <wp-release-number>/<core-pr-number>.md in the $changelog_folder folder with the core backport PR URL and a list item with this PR URL."
echo "If changes are related to an existing, open core PR, you may add this PR URL to the core PR's file."
echo "See $changelog_folder/readme.md for more information."
exit 1
fi

core_pr_number=$(basename "${changelog_file}" .md)
core_pr_url="https://github\.com/WordPress/wordpress-develop/pull/${core_pr_number}"

# Confirm that the entry has the correct core backport PR URL.
if ! grep -q -e "${core_pr_url}" "${changelog_file}"; then
echo "Please update the content of ${changelog_file} to include the core backport PR URL, or update the file name to match the core backport PR number."
exit 1
fi
2 changes: 1 addition & 1 deletion .github/workflows/check-components-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ['20', '21']
node: ['20', '22']
os: ['macos-latest', 'ubuntu-latest', 'windows-latest']

steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

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

steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
steps:
# Checkout defaults to using the branch which triggered the event, which
# isn't necessarily `trunk` (e.g. in the case of a merge).
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
name: 'Validation'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
- uses: gradle/wrapper-validation-action@v3
3 changes: 2 additions & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ concurrency:

jobs:
performance:
timeout-minutes: 60
name: Run performance tests
runs-on: ubuntu-latest
if: ${{ github.repository == 'WordPress/gutenberg' }}
env:
WP_ARTIFACTS_PATH: ${{ github.workspace }}/artifacts

steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down
Loading