File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
src/components/fields/Select Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,6 @@ import { mergeProps, useCombinedRefs } from '../../../utils/react/index';
4444import { useFocus } from '../../../utils/react/interactions' ;
4545import { getOverlayTransitionCSS } from '../../../utils/transitions' ;
4646import {
47- DANGER_CLEAR_STYLES ,
48- DANGER_LINK_STYLES ,
49- DANGER_NEUTRAL_STYLES ,
50- DANGER_OUTLINE_STYLES ,
51- DANGER_PRIMARY_STYLES ,
52- DANGER_SECONDARY_STYLES ,
5347 DEFAULT_BUTTON_STYLES ,
5448 DEFAULT_CLEAR_STYLES ,
5549 DEFAULT_LINK_STYLES ,
@@ -63,12 +57,6 @@ import {
6357 SPECIAL_OUTLINE_STYLES ,
6458 SPECIAL_PRIMARY_STYLES ,
6559 SPECIAL_SECONDARY_STYLES ,
66- SUCCESS_CLEAR_STYLES ,
67- SUCCESS_LINK_STYLES ,
68- SUCCESS_NEUTRAL_STYLES ,
69- SUCCESS_OUTLINE_STYLES ,
70- SUCCESS_PRIMARY_STYLES ,
71- SUCCESS_SECONDARY_STYLES ,
7260} from '../../actions/index' ;
7361import { useFieldProps , useFormProps , wrapWithField } from '../../form' ;
7462import { OverlayWrapper } from '../../overlays/OverlayWrapper' ;
@@ -148,7 +136,9 @@ type VariantType =
148136 | 'special.clear'
149137 | 'special.link' ;
150138
151- function WithValidationState ( styles : Styles & { border ?: Styles [ 'border' ] } ) {
139+ function WithValidationState (
140+ styles : Styles & { border ?: Record < string , string > } ,
141+ ) {
152142 return {
153143 ...styles ,
154144 border : {
You can’t perform that action at this time.
0 commit comments