This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update @wordpress/components to v. 11.1.1 and @wordpress/base-styles …
…to v. 3.2.0 (#3457) * Update @wordpress/components and @wordpress/base-styles * Fix JS warning in Select/downshift * Remove color definitions that are now imported from @wordpress/base-styles. Fixes #3311 * Use -unit values from @wordpress/base-styles. Fixes #3313 * Update snapshots * Fix payment methods test * Don't extract dependencies that are not available in WP 5.3 * Avoid extracting @wordpress/compose since last version doesn't have resize observer * Remove unnecessary uses of @wordpress/compose in a frontend scripts * Add missing spaces
- Loading branch information
Showing
11 changed files
with
302 additions
and
455 deletions.
There are no files selected for viewing
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,14 +1,12 @@ | ||
@import "node_modules/@wordpress/base-styles/variables"; | ||
|
||
// @todo replace with $grid-unit values when `@woocommerce/base-styles` is updated. | ||
// see: https://github.com/WordPress/gutenberg/blob/master/packages/base-styles/_variables.scss#L23-L36 | ||
$gap-largest: 40px; // $grid-unit-50 | ||
$gap-larger: 36px; | ||
$gap-large: 24px; // $grid-unit-30 | ||
$gap: 16px; // $grid-unit-20 | ||
$gap-small: 12px; // $grid-unit-15 | ||
$gap-smaller: 8px; // $grid-unit-10 | ||
$gap-smallest: 4px; // $grid-unit-05 | ||
$gap-largest: $grid-unit-50; | ||
$gap-larger: 4.5 * $grid-unit; | ||
$gap-large: $grid-unit-30; | ||
$gap: $grid-unit-20; | ||
$gap-small: $grid-unit-15; | ||
$gap-smaller: $grid-unit-10; | ||
$gap-smallest: $grid-unit-05; | ||
|
||
// Cart block | ||
$cart-image-width: 5rem; |
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
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
Oops, something went wrong.