From d2c25754deccd43199372ccfd8bf5de0791c7c04 Mon Sep 17 00:00:00 2001 From: simurai Date: Thu, 2 Jul 2020 17:33:20 +0900 Subject: [PATCH] Update deprecations.js --- deprecations.js | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/deprecations.js b/deprecations.js index 6ec713c3..331d3ef9 100644 --- a/deprecations.js +++ b/deprecations.js @@ -7,10 +7,33 @@ const versionDeprecations = { '15.0.0': [ { selectors: [ + '.btn-outline:active .Counter', + '.btn-outline.selected .Counter', + '.btn-outline[aria-selected=true] .Counter', + '.tabnav .Counter', + '.SideNav-item:hover::before', + '.SideNav-item:focus::before', + '.UnderlineNav-item:hover .UnderlineNav-octicon', + '.UnderlineNav-item:focus .UnderlineNav-octicon', + '.UnderlineNav--right .UnderlineNav-item', + '.pagination::before', + '.pagination::after', + '.pagination a:first-child', + '.pagination span:first-child', + '.pagination em:first-child', + '.pagination a:last-child', + '.pagination span:last-child', + '.pagination em:last-child', + '.pagination .selected', + '.IssueLabel--big .g-emoji', + '.IssueLabel--big:hover', + '.SelectMenu-item[aria-checked="true"]', + '.SelectMenu-item[aria-checked="true"] .SelectMenu-icon--check', '.SelectMenu-tab:not([aria-checked="true"]):hover', - '.SelectMenu-tab:not([aria-checked="true"]):active' + '.SelectMenu-tab:not([aria-checked="true"]):active', + '.SelectMenu-tab:not([aria-selected="true"]):hover' ], - message: `Please use aria-selected="true" to indicate the selected state of a SelectMenu-tab item.` + message: `This selector is not available in Primer CSS 15.0.0. Please refer to the documentation.` } ], '14.4.0': [