You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Remove default props for deprecated props in Input (#455)
* fix(utils): remove stacktrace from deprecation warnings
The stacktraces tend to be 20+ lines long and pollute the console.
* fix(components): remove default classnames props from input
These props are deprecated. Providing a default prop will always trigger the deprecation warning and
might confuse users. Since the current default prop is just an empty string, it's redundant.
Copy file name to clipboardexpand all lines: src/components/CurrencyInput/components/SimpleCurrencyInput/__snapshots__/SimpleCurrencyInput.spec.js.snap
+14-14
Original file line number
Diff line number
Diff line change
@@ -72,11 +72,11 @@ exports[`SimpleCurrencyInput should adjust input padding and postfix width to ma
72
72
}
73
73
74
74
<div
75
-
class="circuit-4 circuit-5"
75
+
class="circuit-4 circuit-5"
76
76
>
77
77
<input
78
78
aria-invalid="false"
79
-
class="circuit-0 circuit-1"
79
+
class="circuit-0 circuit-1"
80
80
placeholder="123,45"
81
81
type="text"
82
82
/>
@@ -163,12 +163,12 @@ exports[`SimpleCurrencyInput should prioritize disabled over error styles 1`] =
163
163
}
164
164
165
165
<div
166
-
class="circuit-4 circuit-5"
166
+
class="circuit-4 circuit-5"
167
167
disabled=""
168
168
>
169
169
<input
170
170
aria-invalid="true"
171
-
class="circuit-0 circuit-1"
171
+
class="circuit-0 circuit-1"
172
172
disabled=""
173
173
type="text"
174
174
/>
@@ -299,11 +299,11 @@ exports[`SimpleCurrencyInput should prioritize disabled over warning styles 1`]
299
299
}
300
300
301
301
<div
302
-
class="circuit-4 circuit-5"
302
+
class="circuit-4 circuit-5"
303
303
>
304
304
<input
305
305
aria-invalid="true"
306
-
class="circuit-0 circuit-1"
306
+
class="circuit-0 circuit-1"
307
307
type="text"
308
308
/>
309
309
<span
@@ -384,11 +384,11 @@ exports[`SimpleCurrencyInput should render with default styles 1`] = `
384
384
}
385
385
386
386
<div
387
-
class="circuit-4 circuit-5"
387
+
class="circuit-4 circuit-5"
388
388
>
389
389
<input
390
390
aria-invalid="false"
391
-
class="circuit-0 circuit-1"
391
+
class="circuit-0 circuit-1"
392
392
type="text"
393
393
/>
394
394
<span
@@ -495,11 +495,11 @@ exports[`SimpleCurrencyInput should render with error styles 1`] = `
495
495
}
496
496
497
497
<div
498
-
class="circuit-4 circuit-5"
498
+
class="circuit-4 circuit-5"
499
499
>
500
500
<input
501
501
aria-invalid="true"
502
-
class="circuit-0 circuit-1"
502
+
class="circuit-0 circuit-1"
503
503
type="text"
504
504
/>
505
505
<span
@@ -606,11 +606,11 @@ exports[`SimpleCurrencyInput should render with warning styles 1`] = `
606
606
}
607
607
608
608
<div
609
-
class="circuit-4 circuit-5"
609
+
class="circuit-4 circuit-5"
610
610
>
611
611
<input
612
612
aria-invalid="false"
613
-
class="circuit-0 circuit-1"
613
+
class="circuit-0 circuit-1"
614
614
type="text"
615
615
/>
616
616
<span
@@ -693,7 +693,7 @@ exports[`SimpleCurrencyInput should support rendering symbols on the left 1`] =
693
693
}
694
694
695
695
<div
696
-
class="circuit-4 circuit-5"
696
+
class="circuit-4 circuit-5"
697
697
>
698
698
<span
699
699
class="circuit-0 circuit-1"
@@ -702,7 +702,7 @@ exports[`SimpleCurrencyInput should support rendering symbols on the left 1`] =
0 commit comments