1
1
mirror of https://github.com/primer/css.git synced 2024-12-25 07:03:35 +03:00

Add deprecation for btn-large-mktg, with proper deprecation message

This commit is contained in:
Tobias Ahlin 2021-04-26 10:36:48 +02:00
parent de84738054
commit 658422c6bd

View File

@ -5,6 +5,10 @@
*/ */
const versionDeprecations = { const versionDeprecations = {
'17.0.0': [ '17.0.0': [
{
selectors: ['.btn-large-mktg'],
message: `Please use the ".btn-lg-mktg" class instead of "btn-large-mktg".`
},
{ {
selectors: [':-ms-input-placeholder'], selectors: [':-ms-input-placeholder'],
message: 'Browserslist update to match github has removed the need for this pseudoselector' message: 'Browserslist update to match github has removed the need for this pseudoselector'