@xqmsg/ui-core 0.9.2 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/input/InputTypes.d.ts +5 -3
- package/dist/components/input/StackedInput/StackedInput.d.ts +0 -3
- package/dist/components/input/StackedMultiSelect/index.d.ts +1 -1
- package/dist/components/input/StackedSelect/StackedSelect.d.ts +7 -3
- package/dist/components/input/components/dropdown/index.d.ts +10 -0
- package/dist/components/input/components/label/index.d.ts +9 -0
- package/dist/components/input/components/token/Token.stories.d.ts +5 -0
- package/dist/components/input/components/token/index.d.ts +7 -0
- package/dist/components/input/index.d.ts +1 -3
- package/dist/theme/components/form-error.d.ts +3 -3
- package/dist/theme/components/form-label.d.ts +4 -6
- package/dist/theme/components/form.d.ts +3 -3
- package/dist/theme/components/input.d.ts +32 -161
- package/dist/theme/components/select.d.ts +27 -153
- package/dist/theme/components/textarea.d.ts +10 -117
- package/dist/theme/foundations/colors.d.ts +30 -0
- package/dist/ui-core.cjs.development.js +455 -490
- package/dist/ui-core.cjs.development.js.map +1 -1
- package/dist/ui-core.cjs.production.min.js +1 -1
- package/dist/ui-core.cjs.production.min.js.map +1 -1
- package/dist/ui-core.esm.js +459 -494
- package/dist/ui-core.esm.js.map +1 -1
- package/package.json +5 -3
- package/src/components/input/Input.stories.tsx +28 -12
- package/src/components/input/InputTypes.ts +7 -1
- package/src/components/input/StackedInput/StackedInput.tsx +3 -15
- package/src/components/input/StackedMultiSelect/components/MultiValue/index.tsx +2 -2
- package/src/components/input/StackedMultiSelect/index.tsx +89 -93
- package/src/components/input/StackedPilledInput/index.tsx +145 -56
- package/src/components/input/StackedSelect/StackedSelect.tsx +63 -20
- package/src/components/input/StackedSelect/assets/svg/subtract.svg +3 -0
- package/src/components/input/components/dropdown/index.tsx +79 -0
- package/src/components/input/components/label/index.tsx +24 -0
- package/src/components/input/components/token/Token.stories.tsx +22 -0
- package/src/components/input/components/token/assets/svg/close.svg +3 -0
- package/src/components/input/components/token/index.tsx +37 -0
- package/src/components/input/index.tsx +8 -20
- package/src/theme/components/alert.ts +4 -4
- package/src/theme/components/form-error.ts +11 -14
- package/src/theme/components/form-label.ts +8 -8
- package/src/theme/components/form.ts +10 -13
- package/src/theme/components/input.ts +17 -191
- package/src/theme/components/select.ts +5 -10
- package/src/theme/components/textarea.ts +2 -38
- package/src/theme/foundations/colors.ts +17 -1
- package/dist/components/input/components/InputTag/index.d.ts +0 -7
- package/src/components/input/components/InputTag/index.tsx +0 -24
|
@@ -8,10 +8,12 @@ export declare type FieldProps = {
|
|
|
8
8
|
errorText?: string;
|
|
9
9
|
};
|
|
10
10
|
export declare type InputType = 'text' | 'select' | 'multi-select' | 'pilled-text' | 'textarea' | 'radio' | 'checkbox' | 'switch';
|
|
11
|
-
export declare type
|
|
11
|
+
export declare type FieldOption = {
|
|
12
12
|
label: string;
|
|
13
|
-
value: string;
|
|
14
|
-
|
|
13
|
+
value: string | 'section_header';
|
|
14
|
+
sortValue: number;
|
|
15
|
+
};
|
|
16
|
+
export declare type FieldOptions = FieldOption[];
|
|
15
17
|
export interface ValidationProps {
|
|
16
18
|
isRequired: boolean;
|
|
17
19
|
isInvalid?: boolean;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { InputFieldProps } from '../InputTypes';
|
|
3
3
|
export interface StackedInputProps extends InputFieldProps {
|
|
4
|
-
label?: string;
|
|
5
4
|
isRequired?: boolean;
|
|
6
|
-
leftElement?: React.ReactNode;
|
|
7
|
-
rightElement?: React.ReactNode;
|
|
8
5
|
}
|
|
9
6
|
/**
|
|
10
7
|
* A functional React component utilized to render the `StackedInput` component.
|
|
@@ -9,5 +9,5 @@ export interface StackedMultiSelectProps extends ReactSelectFieldProps {
|
|
|
9
9
|
/**
|
|
10
10
|
* A functional React component utilized to render the `StackedMultiSelect` component.
|
|
11
11
|
*/
|
|
12
|
-
declare const StackedMultiSelect: React.ForwardRefExoticComponent<StackedMultiSelectProps & React.RefAttributes<
|
|
12
|
+
declare const StackedMultiSelect: React.ForwardRefExoticComponent<StackedMultiSelectProps & React.RefAttributes<HTMLInputElement>>;
|
|
13
13
|
export default StackedMultiSelect;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { FieldOptions
|
|
3
|
-
|
|
2
|
+
import { FieldOptions } from '../InputTypes';
|
|
3
|
+
import { StackedInputProps } from '../StackedInput/StackedInput';
|
|
4
|
+
import { UseFormSetValue, FieldValues, Control } from 'react-hook-form';
|
|
5
|
+
export interface StackedSelectProps extends StackedInputProps {
|
|
4
6
|
options: FieldOptions;
|
|
7
|
+
setValue: UseFormSetValue<FieldValues>;
|
|
8
|
+
control: Control<FieldValues, any>;
|
|
5
9
|
}
|
|
6
10
|
/**
|
|
7
11
|
* A functional React component utilized to render the `StackedSelect` component.
|
|
8
12
|
*/
|
|
9
|
-
declare const StackedSelect: React.ForwardRefExoticComponent<StackedSelectProps & React.RefAttributes<
|
|
13
|
+
declare const StackedSelect: React.ForwardRefExoticComponent<StackedSelectProps & React.RefAttributes<HTMLInputElement>>;
|
|
10
14
|
export default StackedSelect;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FieldOption, FieldOptions } from '../../InputTypes';
|
|
3
|
+
export interface DropdownProps {
|
|
4
|
+
onSelectItem: (option: FieldOption) => void;
|
|
5
|
+
options: FieldOptions;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* A functional React component utilized to render the `Dropdown` component
|
|
9
|
+
*/
|
|
10
|
+
export declare const Dropdown: React.FC<DropdownProps>;
|
|
@@ -12,8 +12,6 @@ export interface InputProps<T extends FieldValues> extends ValidationProps {
|
|
|
12
12
|
options?: FieldOptions;
|
|
13
13
|
maxLength?: number;
|
|
14
14
|
helperText?: React.ReactNode;
|
|
15
|
-
leftElement?: React.ReactNode;
|
|
16
|
-
rightElement?: React.ReactNode;
|
|
17
15
|
control?: Control<T, any>;
|
|
18
16
|
onChange?: (args?: any) => void;
|
|
19
17
|
disabled?: boolean;
|
|
@@ -23,4 +21,4 @@ export interface InputProps<T extends FieldValues> extends ValidationProps {
|
|
|
23
21
|
* A functional React component utilized to render the `Input` component. Utilizes a switch statement
|
|
24
22
|
* to render the correct input based on the `inputType`.
|
|
25
23
|
*/
|
|
26
|
-
export declare function Input<T extends FieldValues>({ inputType, label, ariaLabel, className, placeholder, name, helperText,
|
|
24
|
+
export declare function Input<T extends FieldValues>({ inputType, label, ariaLabel, className, placeholder, name, helperText, options, isInvalid, errorText, isRequired, maxLength, defaultValue, control, disabled, onChange, setValue, }: InputProps<T>): JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
parts: string[];
|
|
3
|
-
baseStyle: (
|
|
3
|
+
baseStyle: () => {
|
|
4
4
|
text: {
|
|
5
5
|
color: string;
|
|
6
6
|
mt: number;
|
|
7
|
-
|
|
7
|
+
ml: number;
|
|
8
8
|
fontSize: string;
|
|
9
9
|
};
|
|
10
10
|
icon: {
|
|
11
|
-
|
|
11
|
+
ml: number;
|
|
12
12
|
color: string;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
baseStyle: {
|
|
3
3
|
fontSize: string;
|
|
4
|
-
|
|
4
|
+
position: string;
|
|
5
|
+
top: number;
|
|
6
|
+
display: string;
|
|
7
|
+
ml: number;
|
|
5
8
|
mb: number;
|
|
6
|
-
fontWeight: string;
|
|
7
9
|
color: string;
|
|
8
|
-
transition: string;
|
|
9
10
|
opacity: number;
|
|
10
|
-
_disabled: {
|
|
11
|
-
opacity: number;
|
|
12
|
-
};
|
|
13
11
|
};
|
|
14
12
|
};
|
|
15
13
|
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
parts: string[];
|
|
3
|
-
baseStyle: (
|
|
3
|
+
baseStyle: () => {
|
|
4
4
|
requiredIndicator: {
|
|
5
5
|
ml: number;
|
|
6
6
|
color: string;
|
|
7
7
|
};
|
|
8
8
|
helperText: {
|
|
9
|
-
mt: number;
|
|
10
9
|
color: string;
|
|
11
|
-
|
|
10
|
+
mt: number;
|
|
11
|
+
ml: number;
|
|
12
12
|
fontSize: string;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
@@ -1,181 +1,52 @@
|
|
|
1
|
-
declare type Dict = Record<string, any>;
|
|
2
|
-
declare function variantOutline(props: Dict): {
|
|
3
|
-
field: {
|
|
4
|
-
border: string;
|
|
5
|
-
borderColor: string;
|
|
6
|
-
bg: string;
|
|
7
|
-
_hover: {
|
|
8
|
-
borderColor: string;
|
|
9
|
-
};
|
|
10
|
-
_readOnly: {
|
|
11
|
-
boxShadow: string;
|
|
12
|
-
userSelect: string;
|
|
13
|
-
};
|
|
14
|
-
_disabled: {
|
|
15
|
-
opacity: number;
|
|
16
|
-
cursor: string;
|
|
17
|
-
};
|
|
18
|
-
_focus: {
|
|
19
|
-
zIndex: number;
|
|
20
|
-
borderColor: any;
|
|
21
|
-
boxShadow: string;
|
|
22
|
-
};
|
|
23
|
-
_invalid: {
|
|
24
|
-
borderColor: any;
|
|
25
|
-
boxShadow: string;
|
|
26
|
-
_focus: {
|
|
27
|
-
boxShadow: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
addon: {
|
|
32
|
-
border: string;
|
|
33
|
-
borderColor: string;
|
|
34
|
-
bg: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
declare function variantFilled(props: Dict): {
|
|
38
|
-
field: {
|
|
39
|
-
border: string;
|
|
40
|
-
borderColor: string;
|
|
41
|
-
bg: string;
|
|
42
|
-
_hover: {
|
|
43
|
-
bg: string;
|
|
44
|
-
};
|
|
45
|
-
_readOnly: {
|
|
46
|
-
boxShadow: string;
|
|
47
|
-
userSelect: string;
|
|
48
|
-
};
|
|
49
|
-
_disabled: {
|
|
50
|
-
opacity: number;
|
|
51
|
-
cursor: string;
|
|
52
|
-
};
|
|
53
|
-
_focus: {
|
|
54
|
-
bg: string;
|
|
55
|
-
borderColor: any;
|
|
56
|
-
};
|
|
57
|
-
_invalid: {
|
|
58
|
-
borderColor: any;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
addon: {
|
|
62
|
-
border: string;
|
|
63
|
-
borderColor: string;
|
|
64
|
-
bg: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
declare function variantFlushed(props: Dict): {
|
|
68
|
-
field: {
|
|
69
|
-
borderBottom: string;
|
|
70
|
-
borderRadius: number;
|
|
71
|
-
pl: number;
|
|
72
|
-
pr: number;
|
|
73
|
-
bg: string;
|
|
74
|
-
_readOnly: {
|
|
75
|
-
boxShadow: string;
|
|
76
|
-
userSelect: string;
|
|
77
|
-
};
|
|
78
|
-
_focus: {
|
|
79
|
-
borderColor: any;
|
|
80
|
-
boxShadow: string;
|
|
81
|
-
};
|
|
82
|
-
_invalid: {
|
|
83
|
-
borderColor: any;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
addon: {
|
|
87
|
-
borderBottom: string;
|
|
88
|
-
borderColor: string;
|
|
89
|
-
borderRadius: number;
|
|
90
|
-
paddingX: number;
|
|
91
|
-
bg: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
1
|
declare const _default: {
|
|
95
2
|
parts: string[];
|
|
96
3
|
baseStyle: {
|
|
97
4
|
field: {
|
|
98
|
-
|
|
99
|
-
outline: number;
|
|
100
|
-
position: string;
|
|
101
|
-
appearance: string;
|
|
102
|
-
transition: string;
|
|
5
|
+
fontSize: string;
|
|
103
6
|
'::placeholder': {
|
|
104
7
|
color: string;
|
|
105
8
|
};
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
h: number;
|
|
115
|
-
borderRadius: string;
|
|
116
|
-
};
|
|
117
|
-
addon: {
|
|
118
|
-
fontSize: string;
|
|
119
|
-
pl: number;
|
|
120
|
-
pr: number;
|
|
121
|
-
h: number;
|
|
122
|
-
borderRadius: string;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
md: {
|
|
126
|
-
field: {
|
|
127
|
-
fontSize: string;
|
|
128
|
-
pl: number;
|
|
129
|
-
pr: number;
|
|
130
|
-
h: number;
|
|
131
|
-
borderRadius: string;
|
|
132
|
-
};
|
|
133
|
-
addon: {
|
|
134
|
-
fontSize: string;
|
|
135
|
-
pl: number;
|
|
136
|
-
pr: number;
|
|
137
|
-
h: number;
|
|
138
|
-
borderRadius: string;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
sm: {
|
|
142
|
-
field: {
|
|
143
|
-
fontSize: string;
|
|
144
|
-
pl: number;
|
|
145
|
-
pr: number;
|
|
146
|
-
h: number;
|
|
147
|
-
borderRadius: string;
|
|
9
|
+
py: string;
|
|
10
|
+
px: string;
|
|
11
|
+
border: string;
|
|
12
|
+
borderColor: string;
|
|
13
|
+
_disabled: {
|
|
14
|
+
cursor: string;
|
|
15
|
+
bg: string;
|
|
16
|
+
color: string;
|
|
148
17
|
};
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
h: number;
|
|
154
|
-
borderRadius: string;
|
|
18
|
+
_focus: {
|
|
19
|
+
bg: string;
|
|
20
|
+
border: string;
|
|
21
|
+
borderColor: string;
|
|
155
22
|
};
|
|
156
23
|
};
|
|
157
24
|
};
|
|
158
25
|
variants: {
|
|
159
|
-
|
|
160
|
-
filled: typeof variantFilled;
|
|
161
|
-
flushed: typeof variantFlushed;
|
|
162
|
-
unstyled: {
|
|
26
|
+
default: {
|
|
163
27
|
field: {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
28
|
+
fontSize: string;
|
|
29
|
+
'::placeholder': {
|
|
30
|
+
color: string;
|
|
31
|
+
};
|
|
32
|
+
py: string;
|
|
33
|
+
px: string;
|
|
34
|
+
border: string;
|
|
35
|
+
borderColor: string;
|
|
36
|
+
_disabled: {
|
|
37
|
+
cursor: string;
|
|
38
|
+
bg: string;
|
|
39
|
+
color: string;
|
|
40
|
+
};
|
|
41
|
+
_focus: {
|
|
42
|
+
bg: string;
|
|
43
|
+
border: string;
|
|
44
|
+
borderColor: string;
|
|
45
|
+
};
|
|
174
46
|
};
|
|
175
47
|
};
|
|
176
48
|
};
|
|
177
49
|
defaultProps: {
|
|
178
|
-
size: string;
|
|
179
50
|
variant: string;
|
|
180
51
|
};
|
|
181
52
|
};
|
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
parts: string[];
|
|
3
|
-
baseStyle: (
|
|
3
|
+
baseStyle: () => {
|
|
4
4
|
field: {
|
|
5
5
|
appearance: string;
|
|
6
6
|
paddingBottom: string;
|
|
7
7
|
lineHeight: string;
|
|
8
8
|
bg: string;
|
|
9
|
-
'> option': {
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
width: string;
|
|
13
|
-
outline: number;
|
|
14
|
-
position: string;
|
|
15
|
-
transition: string;
|
|
9
|
+
'> option': {};
|
|
10
|
+
fontSize: string;
|
|
16
11
|
'::placeholder': {
|
|
17
12
|
color: string;
|
|
18
13
|
};
|
|
14
|
+
py: string;
|
|
15
|
+
px: string;
|
|
16
|
+
border: string;
|
|
17
|
+
borderColor: string;
|
|
18
|
+
_disabled: {
|
|
19
|
+
cursor: string;
|
|
20
|
+
bg: string;
|
|
21
|
+
color: string;
|
|
22
|
+
};
|
|
23
|
+
_focus: {
|
|
24
|
+
bg: string;
|
|
25
|
+
border: string;
|
|
26
|
+
borderColor: string;
|
|
27
|
+
};
|
|
19
28
|
};
|
|
20
29
|
icon: {
|
|
21
30
|
color: string;
|
|
@@ -25,166 +34,31 @@ declare const _default: {
|
|
|
25
34
|
};
|
|
26
35
|
};
|
|
27
36
|
};
|
|
28
|
-
sizes: {
|
|
29
|
-
lg: {
|
|
30
|
-
field: {
|
|
31
|
-
fontSize: string;
|
|
32
|
-
pl: number;
|
|
33
|
-
pr: number;
|
|
34
|
-
h: number;
|
|
35
|
-
borderRadius: string;
|
|
36
|
-
};
|
|
37
|
-
addon: {
|
|
38
|
-
fontSize: string;
|
|
39
|
-
pl: number;
|
|
40
|
-
pr: number;
|
|
41
|
-
h: number;
|
|
42
|
-
borderRadius: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
md: {
|
|
46
|
-
field: {
|
|
47
|
-
fontSize: string;
|
|
48
|
-
pl: number;
|
|
49
|
-
pr: number;
|
|
50
|
-
h: number;
|
|
51
|
-
borderRadius: string;
|
|
52
|
-
};
|
|
53
|
-
addon: {
|
|
54
|
-
fontSize: string;
|
|
55
|
-
pl: number;
|
|
56
|
-
pr: number;
|
|
57
|
-
h: number;
|
|
58
|
-
borderRadius: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
sm: {
|
|
62
|
-
field: {
|
|
63
|
-
fontSize: string;
|
|
64
|
-
pl: number;
|
|
65
|
-
pr: number;
|
|
66
|
-
h: number;
|
|
67
|
-
borderRadius: string;
|
|
68
|
-
};
|
|
69
|
-
addon: {
|
|
70
|
-
fontSize: string;
|
|
71
|
-
pl: number;
|
|
72
|
-
pr: number;
|
|
73
|
-
h: number;
|
|
74
|
-
borderRadius: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
37
|
variants: {
|
|
79
|
-
|
|
38
|
+
default: {
|
|
80
39
|
field: {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
_hover: {
|
|
85
|
-
borderColor: string;
|
|
86
|
-
};
|
|
87
|
-
_readOnly: {
|
|
88
|
-
boxShadow: string;
|
|
89
|
-
userSelect: string;
|
|
90
|
-
};
|
|
91
|
-
_disabled: {
|
|
92
|
-
opacity: number;
|
|
93
|
-
cursor: string;
|
|
94
|
-
};
|
|
95
|
-
_focus: {
|
|
96
|
-
zIndex: number;
|
|
97
|
-
borderColor: any;
|
|
98
|
-
boxShadow: string;
|
|
99
|
-
};
|
|
100
|
-
_invalid: {
|
|
101
|
-
borderColor: any;
|
|
102
|
-
boxShadow: string;
|
|
103
|
-
_focus: {
|
|
104
|
-
boxShadow: string;
|
|
105
|
-
};
|
|
40
|
+
fontSize: string;
|
|
41
|
+
'::placeholder': {
|
|
42
|
+
color: string;
|
|
106
43
|
};
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
border: string;
|
|
110
|
-
borderColor: string;
|
|
111
|
-
bg: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
filled: (props: Record<string, any>) => {
|
|
115
|
-
field: {
|
|
44
|
+
py: string;
|
|
45
|
+
px: string;
|
|
116
46
|
border: string;
|
|
117
47
|
borderColor: string;
|
|
118
|
-
bg: string;
|
|
119
|
-
_hover: {
|
|
120
|
-
bg: string;
|
|
121
|
-
};
|
|
122
|
-
_readOnly: {
|
|
123
|
-
boxShadow: string;
|
|
124
|
-
userSelect: string;
|
|
125
|
-
};
|
|
126
48
|
_disabled: {
|
|
127
|
-
opacity: number;
|
|
128
49
|
cursor: string;
|
|
129
|
-
};
|
|
130
|
-
_focus: {
|
|
131
50
|
bg: string;
|
|
132
|
-
|
|
133
|
-
};
|
|
134
|
-
_invalid: {
|
|
135
|
-
borderColor: any;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
addon: {
|
|
139
|
-
border: string;
|
|
140
|
-
borderColor: string;
|
|
141
|
-
bg: string;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
flushed: (props: Record<string, any>) => {
|
|
145
|
-
field: {
|
|
146
|
-
borderBottom: string;
|
|
147
|
-
borderRadius: number;
|
|
148
|
-
pl: number;
|
|
149
|
-
pr: number;
|
|
150
|
-
bg: string;
|
|
151
|
-
_readOnly: {
|
|
152
|
-
boxShadow: string;
|
|
153
|
-
userSelect: string;
|
|
51
|
+
color: string;
|
|
154
52
|
};
|
|
155
53
|
_focus: {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
_invalid: {
|
|
160
|
-
borderColor: any;
|
|
54
|
+
bg: string;
|
|
55
|
+
border: string;
|
|
56
|
+
borderColor: string;
|
|
161
57
|
};
|
|
162
58
|
};
|
|
163
|
-
addon: {
|
|
164
|
-
borderBottom: string;
|
|
165
|
-
borderColor: string;
|
|
166
|
-
borderRadius: number;
|
|
167
|
-
paddingX: number;
|
|
168
|
-
bg: string;
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
unstyled: {
|
|
172
|
-
field: {
|
|
173
|
-
bg: string;
|
|
174
|
-
pl: number;
|
|
175
|
-
pr: number;
|
|
176
|
-
height: string;
|
|
177
|
-
};
|
|
178
|
-
addon: {
|
|
179
|
-
bg: string;
|
|
180
|
-
pl: number;
|
|
181
|
-
pr: number;
|
|
182
|
-
height: string;
|
|
183
|
-
};
|
|
184
59
|
};
|
|
185
60
|
};
|
|
186
61
|
defaultProps: {
|
|
187
|
-
size: string;
|
|
188
62
|
variant: string;
|
|
189
63
|
};
|
|
190
64
|
};
|