Skip to content

Commit 4fbeb26

Browse files
committed
Add negative 0 selectors to deprecation list
1 parent aeae963 commit 4fbeb26

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

deprecations.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@
55
*/
66
const versionDeprecations = {
77
'17.0.0': [
8+
{
9+
selectors: [
10+
'.top-n0',
11+
'.right-n0',
12+
'.bottom-n0',
13+
'.left-n0',
14+
'.top-md-n0',
15+
'.right-md-n0',
16+
'.bottom-md-n0',
17+
'.left-md-n0',
18+
'.top-lg-n0',
19+
'.right-lg-n0',
20+
'.bottom-lg-n0',
21+
'.left-lg-n0'
22+
],
23+
message: `This selector is deprecated, please use a non-negative selector to set the value to 0 (e.g. top-md-0)".`
24+
},
825
{
926
selectors: ['.bg-shade-gradient'],
1027
message: `This selector is deprecated, please use "color-bg-secondary" instead of "bg-shade-gradient".`

0 commit comments

Comments
 (0)