Fixeswoocommerce/woocommerce-admin#4732
This updates `@wordpress/base-styles`, and because `@wordpress/components` depends on variables from it, that must be updated as well.
There are 3 major changes required as part of updating:
1. The $theme-color variable is no longer exposed by base-styles. Instead there are 3 css vars exposed. These are made available by use of a provided mixin. Situations where $theme-color was darkened using scss have been mapped as best as possible to the 2 other darkened shades of the css var that are available such as `--wp-admin-theme-color-darker-20` and `--wp-admin-theme-color-darker-10`. In some cases this means the colors are not exactly the same as before.
2. The post css `theme()` call is no longer available. All uses of this have been consolidated to use of the main theme css var `--wp-admin-theme-color`. This means that calls like `theme(secondary)` or `theme(outline)` etc have all been consolidated to the one color.
3. Many of the variables used for different shades of gray have been deprecated. These have been mapped across to the new gray variables. (Mapped according to the list described in woocommerce/woocommerce-admin#4732)
* align code styles with the same configuration as Woo-Blocks
* initial pass of reformat-files
* applies manual fixes to various new linting errors surfaced by the configuration change.
* Fix state mutation in image-upload
* remove unused pre-commit-hook.js
* requestAnimationFrame -> window.requestAnimationFrame
* wc-api eslint changes
* eslint fixes on client/lib and client/settings
* client/header eslint changes
* fixes for client/dashboard part 1
* fixes client/dashboard part 2 of 2
* client/analytics part 1
* client/analytics continued
* client/analytics, last batch
* rename __mock__ directory
* pass in useEffect, useState from React component or function
* remove '+' from sprintf string argument
* use ref instead of findDOMNode
* reformat and repaply package.json changes
* install deps before running linter in Travis
* useGetCountryStateAutofill
* counryStateAutofill
* countryStateAutofill
Co-authored-by: Paul Sealock <psealock@gmail.com>
* Style Search component for 5.3.
* Reset native select control styles.
* Fix styling of selected radio options.
* Fix bottom margin on select inputs in filters and pagination.
* Update DropdownButton styles for WP 5.3.
* Style DropdownButton arrow as a chevron.
* Fix tooltip arrow styling.
* Style TextControlWithAffixes for WP 5.3.
* Flatten pagination button style.
* Use SelectControl for StoreAlert snooze action.
* Remove 3D look and use chevron on SplitButton.
* Add changelog entry.
* Fix stylelint issues.
* Update test snapshots.
* Add TextControlWithAffixes disabled prop to documentation and proptypes.
* Use WP checkboxes in ReportTable columns.
* Fix TableCard header background colors.
* Add padding to EllipsisMenu toggle controls.
* Remove version-specific styles.
We require WP 5.3 as a minimum now.
* Use core/notices for product creation notices
* Only show task list return notice on first save of taxes
* Update tax completion notice
* Check if tax task is complete before loading script
* 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
* Add loading indiciators for the revenue report.
* Improve accessibility, and fix up some documentation comments.
* Fix top border on mobile
* Add EmptyContent Component and revenue error/empty states. (https://github.com/woocommerce/woocommerce-admin/pull/348)
* Add EmptyContent Component and revenue error/empty states.
* Move relative image handling to ImageAsset, combine secondary and primary action rendering, add some missing isRequired proptypes, add empty error handling.
* Handle PR Feedback: Clean up button css, set a default for illustration, fix deprecation typo, some code cleanup.
* Table: Add a hover state for rows
* Expand target area for table links to take over entire cell
* Add a purple link style for default links
* Increase contrast for links-on-hover-color
* Add “isNumeric” column identifier & right-align these cols
* Move non-reset SCSS to a new file
* Split shared files and “meta” files into two folders
This also creates two new base scss files for the different app vs embedded CSS files
* Move notice & embed-specific css out of reset
* Update README with folder structure notes