Skip to content

Commit 901326d

Browse files
committed
fix: remove theme props from inputs
1 parent ed33f06 commit 901326d

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/rules/no-deprecated-props.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ const sizes = {
1717
xSmall: { name: 'size', value: 'x-small' },
1818
}
1919

20+
const theme = {
21+
dark: false,
22+
light: false,
23+
}
24+
2025
const inputs = {
2126
appendOuterIcon: 'append-icon',
2227
backgroundColor: 'bg-color',
@@ -38,6 +43,7 @@ const inputs = {
3843
successMessages: false,
3944
validateOnBlur: { name: 'validate-on', value: 'blur' },
4045
value: 'model-value',
46+
...theme,
4147
}
4248

4349
const select = {
@@ -57,11 +63,6 @@ const select = {
5763
dense: false,
5864
}
5965

60-
const theme = {
61-
dark: false,
62-
light: false,
63-
}
64-
6566
const link = {
6667
append: false,
6768
exactActiveClass: false,
@@ -458,7 +459,6 @@ const replacements = {
458459
loading: false,
459460
inverseLabel: false,
460461
...inputs,
461-
...theme,
462462
},
463463
VRangeSlider: {
464464
backgroundColor: false,
@@ -469,7 +469,6 @@ const replacements = {
469469
loading: false,
470470
inverseLabel: false,
471471
...inputs,
472-
...theme,
473472
},
474473
VRating: {
475474
backgroundColor: false,

0 commit comments

Comments
 (0)