mirror of
https://github.com/primer/css.git
synced 2024-12-23 22:24:11 +03:00
Fix "test deprecations"
These selectors are not really needed anymore. - `.subnav-item.selected:hover/focus` can be removed because `.subnav-item.selected` already overrides `.subnav-item:hover/focus`. - `.autocomplete-item[aria-selected="true"]` got changed to `[aria-selected=true]` without the quotes to be consistent with the rest.
This commit is contained in:
parent
f914053af9
commit
9b5fdbca0f
@ -4,6 +4,17 @@
|
||||
* array and a "message" string.
|
||||
*/
|
||||
const versionDeprecations = {
|
||||
'14.2.0': [
|
||||
{
|
||||
selectors: [
|
||||
'.subnav-item.selected:hover',
|
||||
'.subnav-item.selected:focus',
|
||||
'.autocomplete-item[aria-selected="true"]',
|
||||
'.autocomplete-item[aria-selected="true"] *'
|
||||
],
|
||||
message: `These selectors are not needed anymore.`
|
||||
}
|
||||
],
|
||||
'14.0.0': [
|
||||
{
|
||||
selectors: [
|
||||
|
Loading…
Reference in New Issue
Block a user