Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Update wordpress monorepo (#2929)
Browse files Browse the repository at this point in the history
* Update wordpress monorepo

* Add missing Gutenberg grid variables

* Fix button styling

* Fix snapshots (new classes and events are passed through from WP components update)

* Adjust button overwrites

* Update package-lock.json

* Fix focus issues/conflicts with react-dates and Dropdown

* Maintain DateRange focus without impacting expected "click outside" behavior.

* Resolve multiple React versions, update testing dependencies.

* blow away package-lock.json and refresh

- this fixed tests after an npm install on my end

* Allow tabbing to month nav and calendar grid.

* Fix keyboard navigation of DayPicker elements.

Add prop for specifying an element that's allowed to take focus from DateRange.

* refresh package-lock
  • Loading branch information
renovate[bot] authored and jeffstieler committed Oct 23, 2019
1 parent a6453bf commit 23a28b3
Show file tree
Hide file tree
Showing 13 changed files with 1,975 additions and 2,080 deletions.
4 changes: 0 additions & 4 deletions client/header/activity-panel/activity-card/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@
& > * + * {
margin-left: 0.5em;
}

a.components-button.is-button {
color: $gray-text;
}
}

.woocommerce-activity-card.is-loading {
Expand Down
3 changes: 3 additions & 0 deletions client/stylesheets/abstracts/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ $gray-text: $core-grey-dark-500;

// Gutenberg
$button-hover: #fafafa;
$button-hover-border: #999;
$button-disabled: #a0a5aa;
$button-disabled-border: #ddd;
$button-focus-inner: #00435d;
$button-focus-outer: #bfe7f3;
$input-active-border: #00a0d2;
Expand Down
4 changes: 4 additions & 0 deletions client/stylesheets/abstracts/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ $toggle-border-width: 2px;
$radius-round-rectangle: 4px;
$icon-button-size: 36px;
$icon-button-size-small: 24px;
$grid-size-small: 4px;
$grid-size: 8px;
$grid-size-large: 16px;
$grid-size-xlarge: 24px;

// Newspack variables. These are temporary until we move away from Newspack components.
$muriel-white: $studio-white;
Expand Down
32 changes: 32 additions & 0 deletions client/stylesheets/shared/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,48 @@

.components-button.is-button.is-primary {
color: $studio-white;
box-shadow: none;

&:not(:disabled) {
&:hover,
&:active,
&:focus {
box-shadow: none;
color: $studio-white;
}
}
}

.components-button.is-button.is-default {
color: $gray-text;
border-color: $button-border;
background: $button;
box-shadow: none;

&:not(:disabled) {
&:hover,
&:active,
&:focus {
color: $gray-text;
background: $button-hover;
border-color: $button-hover-border;
}
}
}

.components-button.is-default:disabled {
color: $button-disabled;
border-color: $button-disabled-border;
background: $button;
&:hover,
&:active,
&:focus {
color: $button-disabled;
border-color: $button-disabled-border;
background: $button;
}
}

input:focus,
select:focus,
button:focus {
Expand Down
Loading

0 comments on commit 23a28b3

Please sign in to comment.