-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Upgrade WordPress packages (#66)
* build: Upgrade development dependencies * build: Upgrade @wordpress/icons * build: Upgrade @wordpress/base-styles * build: Upgrade @wordpress/preferences * build: Upgrade remaining WordPress packages Most of these depend upon one another and must be upgraded together. * fix: Ensure block canvas background color renders behind child margins The `display: flex;` declaration was removed in core: WordPress/gutenberg#66706 Its removal causes the post title's margin to extend beyond its parent boundaries, which caused the background color to not render the entire height of the editor. * refactor: Improve class name accuracy Rename classes to match component file names. * build: Downgrade eslint The latest version is incompatible with Gutenberg ESLint configuration. * Revert "build: Upgrade development dependencies" This reverts commit 147de47. * build: Upgrade non-ESLint development dependencies Postpone ESLint upgrades due to various configuration conflicts. * build: Upgrade eslint-plugin-react-refresh * build: Upgrade @wordpress/eslint-plugin * fix: Ensure block canvas fills its parent container width This resolves a regression introduced from changes in the following PR. Ideally we resolve this issue in Gutenberg core, rather than overriding the styles within GutenbergKit. WordPress/gutenberg#66706 * fix: Denote auto-draft status If Apple and Google allowed programmatic focus of interactive elements in web views, this would ensure the post title field is focused for new drafts. However, Apple and Google require user interaction--e.g., taps--for the virtual keyboard to display. Regardless, denoting the auto-draft status is likely still worthwhile.
- Loading branch information
Showing
9 changed files
with
1,108 additions
and
1,019 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,32 @@ | ||
$baseline-interactive-font-size: 17px; | ||
$min-menu-item-touch-target-size: 42px; | ||
|
||
.gutenberg-kit-editor-interface { | ||
.gutenberg-kit-editor { | ||
-webkit-tap-highlight-color: transparent; // Rely upon UI components to communicate touch feedback | ||
flex-grow: 1; | ||
} | ||
|
||
.gutenberg-kit-editor-interface__load-notice { | ||
.gutenberg-kit-editor__load-notice { | ||
bottom: 62px; | ||
left: 16px; | ||
position: fixed; | ||
right: 16px; | ||
} | ||
|
||
.gutenberg-kit-editor-interface .components-button { | ||
.gutenberg-kit-editor .components-button { | ||
font-size: $baseline-interactive-font-size; | ||
} | ||
|
||
.gutenberg-kit-editor-interface .components-dropdown-menu__menu-item, | ||
.gutenberg-kit-editor-interface | ||
.gutenberg-kit-editor .components-dropdown-menu__menu-item, | ||
.gutenberg-kit-editor | ||
.components-dropdown-menu__menu | ||
.components-menu-item__button, | ||
.gutenberg-kit-editor-interface | ||
.gutenberg-kit-editor | ||
.components-dropdown-menu__menu | ||
.components-menu-item__button.components-button { | ||
min-height: $min-menu-item-touch-target-size; | ||
} | ||
|
||
.gutenberg-kit-editor-interface | ||
.components-autocomplete__result.components-button { | ||
.gutenberg-kit-editor .components-autocomplete__result.components-button { | ||
min-height: $min-menu-item-touch-target-size; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters