Repository navigation
Description
Part of #63871
Throughout the app, there are still 167 instances of Button that use the old 36px default size. For consistency, we need to switch all these to the new 40px size.
Since this is a manual process requiring visual inspection of all instances, I broke the task down into manageable chunks so multiple people can work on it in parallel.
How to submit PRs
In the PR, post a review comment for each changed file including brief testing instructions and before/after screenshots.
See #64524 for an example.
Chunked tasks by package
To pick up a task, write your name by the checklist item or post a comment to this issue.
-
block-directory (@vipul0425 Fix: Button Replace remaining 40px default size violations [Block Directory] #65467)
Details
packages/block-directory/src/components/downloadable-block-list-item/index.js 98:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-directory/src/plugins/get-install-missing/index.js 103:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-directory/src/plugins/get-install-missing/install-button.js 24:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
block-editor 1 (@vipul0425 Fix: Button Replace remaining 40px default size violations [Block Editor 1]. #65034 )
Details
packages/block-editor/src/components/block-breadcrumb/index.js 68:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 98:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/block-compare/block-view.js 33:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/block-edit/multiple-usage-warning.js 26:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 35:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/block-list/block-invalid-warning.js 103:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/block-mover/button.js 131:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/block-mover/index.js 89:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
block-editor 2 (@dhruvang21 Fix: Button Replace remaining 40px default size violations [Block Editor 2] #65308)
Details
packages/block-editor/src/components/block-navigation/dropdown.js 29:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/block-pattern-setup/setup-toolbar.js 20:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 38:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 47:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 71:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 79:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/block-patterns-paging/index.js 40:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 51:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 76:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 87:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/block-quick-navigation/index.js 61:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/block-tools/block-selection-button.js 259:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 276:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
block-editor 3 (@vipul0425 Fix: Button Replace remaining 40px default size violations [Block Editor 3] #65225)
Details
packages/block-editor/src/components/block-variation-picker/index.js 66:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/block-variation-transforms/index.js 37:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/button-block-appender/index.js 62:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/colors-gradients/dropdown.js 91:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/global-styles/color-panel.js 242:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/global-styles/filters-panel.js 192:10 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/global-styles/shadow-panel-components.js 54:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 103:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 158:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
block-editor 4 (@vipul0425 Fix: Button Replace remaining 40px default size violations [Block Editor 4] #65257)
Details
packages/block-editor/src/components/inserter-listbox/item.js 46:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js 17:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/inserter/block-patterns-tab/index.js 63:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/inserter/media-tab/media-preview.js 105:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 115:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/inserter/media-tab/media-tab.js 73:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/inserter/quick-inserter.js 143:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
block-editor 5 (@PARTHVATALIYA Fix: Button Replace remaining 40px default size violations [Block Editor 5] #65361)
Details
packages/block-editor/src/components/inspector-controls-tabs/index.js 51:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/inspector-popover-header/index.js 33:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 47:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/link-control/index.js 410:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 472:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 480:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/link-control/settings-drawer.js 27:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/list-view/block-select-button.js 85:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/media-placeholder/index.js 53:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 89:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 388:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 418:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 435:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 476:10 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 507:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
block-editor 6 (@mirka Button: Add
__next40pxDefaultSizein block-editor 6 #65742)Details
packages/block-editor/src/components/skip-to-selected-block/index.js 30:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/tool-selector/index.js 43:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/url-input/button.js 40:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 55:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 67:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/components/url-input/index.js 541:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/hooks/layout.js 322:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-editor/src/layouts/flex.js 248:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
block-library 1 (@hbhalodia Fix: Button: Replace remaining 40px default size violations [Block library 1] #65033)
Details
packages/block-library/src/comments/edit/comments-legacy.js 31:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/embed/embed-placeholder.js 68:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 76:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/freeform/modal.js 27:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 125:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 135:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/missing/edit.js 52:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
block-library 2 (@hbhalodia Fix: Button: Replace remaining 40px default size violation [Block library] #65075)
Details
packages/block-library/src/navigation-link/link-ui.js 312:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/navigation/edit/deleted-navigation-warning.js 18:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/navigation/edit/index.js 593:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/navigation/edit/navigation-menu-delete-control.js 21:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/navigation/edit/placeholder/index.js 78:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/navigation/edit/responsive-wrapper.js 81:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 104:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
block-library 3 (@hbhalodia , Fix: Button: Replace remaining 40px default size violation [Block library 3] #65110)
Details
packages/block-library/src/page-list/convert-to-links-modal.js 34:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 42:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/page-list/edit.js 344:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/post-comments-form/form.js 86:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/post-featured-image/edit.js 310:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/site-logo/edit.js 629:11 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 676:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/social-link/edit.js 83:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
block-library 4 (@hbhalodia Fix: Button: Replace remaining 40px default size violation [Block library 4] #65143)
Details
packages/block-library/src/query/edit/enhanced-pagination-modal.js 78:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/query/edit/query-placeholder.js 81:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 91:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/template-part/edit/placeholder.js 77:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 88:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/video/edit.js 234:10 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 264:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/block-library/src/video/tracks-editor.js 60:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 149:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 179:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
customize-widgets, edit-post (@ciampo Customize widgets, edit post: refactor Button to new sizes #65807)
Details
packages/customize-widgets/src/components/error-boundary/index.js 14:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/customize-widgets/src/components/inserter/index.js 39:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/customize-widgets/src/components/welcome-guide/index.js 45:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-post/src/components/back-button/fullscreen-mode-close.js 93:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-post/src/components/init-pattern-modal/index.js 90:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-post/src/components/preferences-modal/enable-custom-fields.js 41:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
edit-site 1 (@hbhalodia Fix: Button: Replace remaining 40px default size violation [Edit Site 1] #65226)
Details
packages/edit-site/src/components/add-new-template/add-custom-template-modal-content.js 45:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/add-new-template/index.js 109:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/editor-canvas-container/index.js 138:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/editor/index.js 260:11 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/error-boundary/warning.js 12:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
edit-site 2 (@hbhalodia Fix: Button: Replace remaining 40px default size violation [Edit Site 2] #65258)
Details
packages/edit-site/src/components/global-styles/font-library-modal/font-card.js 30:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/global-styles/font-library-modal/font-collection.js 474:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/global-styles/font-library-modal/installed-fonts.js 439:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 449:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/global-styles/font-library-modal/upload-fonts.js 232:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/global-styles/palette.js 89:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/global-styles/screen-revisions/revisions-buttons.js 164:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/global-styles/shadows-edit-panel.js 236:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 248:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 383:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 396:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
edit-site 3 (@hbhalodia Fix: Button: Replace remaining 40px default size violation [Edit Site 3] #65309)
Details
packages/edit-site/src/components/page-patterns/fields.js 135:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/save-panel/index.js 152:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/sidebar-button/index.js 13:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/sidebar-dataviews/add-new-view.js 90:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 101:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-site/src/components/site-hub/index.js 64:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 82:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 103:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 151:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 172:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 188:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
edit-widgets (@dhruvang21 Fix: Button Replace remaining 40px default size violations [Edit widgets] #65367)
Details
packages/edit-widgets/src/components/error-boundary/index.js 14:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-widgets/src/components/secondary-sidebar/inserter-sidebar.js 46:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-widgets/src/components/secondary-sidebar/list-view-sidebar.js 53:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/edit-widgets/src/components/sidebar/widget-areas.js 68:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
editor 1 (@AKSHAT2802 Add props for buttons in editor 1 #65068)
Details
packages/editor/src/components/block-manager/index.js 69:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/editor-history/redo.js 27:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/editor-history/undo.js 23:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/error-boundary/index.js 32:3 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/post-excerpt/panel.js 200:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/post-featured-image/index.js 162:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 204:11 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 213:11 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
editor 2 (@AKSHAT2802 Add props for buttons in editor 2 #65083)
Details
packages/editor/src/components/post-format/index.js 102:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/post-last-revision/index.js 38:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/post-locked-modal/index.js 259:8 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 268:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/post-publish-panel/index.js 80:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/post-publish-panel/maybe-post-format-panel.js 27:2 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/post-publish-panel/maybe-upload-media.js 157:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
editor 3 (@AKSHAT2802 Add __next40pxDefaultSize for files in editor 3 #65139)
Details
packages/editor/src/components/post-taxonomies/hierarchical-term-selector.js 430:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/post-taxonomies/most-used-terms.js 64:7 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/post-template/classic-theme.js 179:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/post-url/index.js 112:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/save-publish-panels/index.js 73:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 88:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
editor 4 (@AKSHAT2802 Add __next40pxDefaultSize for files in editor 4 #65140)
Details
packages/editor/src/components/start-template-options/index.js 158:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/table-of-contents/index.js 32:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/components/text-editor/index.js 42:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/dataviews/actions/reset-post.tsx 116:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 126:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/editor/src/dataviews/actions/trash-post.tsx 69:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 79:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax -
dataviews, list-reusable-blocks, nux, reusable-blocks (@mirka Button: Add
__next40pxDefaultSizein dataviews, reusable-blocks, etc. #65715)Details
packages/dataviews/src/dataforms-layouts/panel/index.tsx 46:6 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/list-reusable-blocks/src/components/import-dropdown/index.js 19:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/list-reusable-blocks/src/components/import-form/index.js 86:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/nux/src/components/dot-tip/index.js 59:5 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 68:4 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax packages/reusable-blocks/src/components/reusable-blocks-menu-items/reusable-block-convert-button.js 193:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax 205:9 error Button should have the `__next40pxDefaultSize` prop to opt-in to the new default size no-restricted-syntax
Activity
hbhalodia commentedon Sep 4, 2024
Hi @mirka, I would like to pick up the task related to
block-library 1to start with, I would raise the PR for the same.Update: Here is the PR for updating the
Buttonforblock-library 1- #65033,Thank You,
I would like to pick
block-library 2,block-library 3,block-library 4as well. Would be working and raising PR for the same.vipul0425 commentedon Sep 4, 2024
Hi @mirka, I would like to pick up the task related to
block-editor 1. PR link : #65034AKSHAT2802 commentedon Sep 4, 2024
Hi @mirka, I would like to pick up the task related to editor 1. PR link : #65068
mirka commentedon Sep 4, 2024
Thank you so much for all your help, everyone! 🥹 It's super helpful because we'd like to land all these in time for WP 6.7. We'll get your PRs reviewed promptly.
hbhalodia commentedon Sep 5, 2024
Hi @mirka, Here is the PR to update the button components used in the chunk,
Block Library 2mentioned in the description - #65075.Thank You,
AKSHAT2802 commentedon Sep 5, 2024
Hi @mirka,
update the button components for
editor 2PR Link: #65083Thanks
hbhalodia commentedon Sep 6, 2024
Hi @mirka, Here is the PR to update the button components used in the chunk, Block Library 3 mentioned in the description - #65110.
Thank You,
hbhalodia commentedon Sep 10, 2024
Hi @mirka, Here is the PR to update the button components used in the chunk, Block Library 4 mentioned in the description - #65143.
Thank You,
4 remaining items
hbhalodia commentedon Sep 12, 2024
Hi @mirka @ciampo, Have raised the PR for
edit site 1- #65226,Thank You,
hbhalodia commentedon Sep 12, 2024
Hi @mirka @ciampo, Have raised the PR for
edit site 2- #65258Thank You,
tyxla commentedon Sep 12, 2024
Hmm, this actually looks unintended, as if the theme var rules unintentionally overwrote the temp migration ones.
Here's what happens when we enable the temp rules for the components package:
Except tests, stories and native files, we have these errors:
Opening #65270 to consider this, cc @mirka
dhruvang21 commentedon Sep 13, 2024
Hi @mirka, I have raised PR for block-editor-2 task: #65308
hbhalodia commentedon Sep 16, 2024
Hi @mirka, Raised the PR for
Edit Site 3- #65309,Thank You,
PARTHVATALIYA commentedon Sep 16, 2024
Hi @mirka, I have raised PR for
block-editor-5task: #65361dhruvang21 commentedon Sep 16, 2024
Hi @mirka, I have raised PR for edit-widgets task: #65367
ciampo commentedon Sep 16, 2024
Inspired by #65140 (comment), after all PRs are merged, we should also check that there are no usages left of
$button-sizevipul0425 commentedon Sep 18, 2024
Hi @mirka, I have added PR for block-directory, #65467
ciampo commentedon Oct 1, 2024
Last PR here: #65807
Also, there may be a couple more usages left to migrate
mirka commentedon Oct 2, 2024
Last bit: #65840
mirka commentedon Oct 3, 2024
All done 🎉 Thanks again to everyone who helped out! 💛
ciampo commentedon Oct 4, 2024
I also wanted to thank everyone who helped with this huge task, thank you!