@salutejs/plasma-new-hope 0.139.0-canary.1352.10686935940.0 → 0.139.0-canary.1352.10698100498.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/TextArea/TextArea.js +4 -2
- package/cjs/components/TextArea/TextArea.js.map +1 -1
- package/cjs/components/TextField/TextField.js +2 -3
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/emotion/cjs/components/TextArea/TextArea.js +5 -3
- package/emotion/cjs/components/TextField/TextField.js +3 -4
- package/emotion/cjs/components/TextField/TextField.template-doc.mdx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +13 -1
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +12 -0
- package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +13 -1
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +12 -0
- package/emotion/es/components/TextArea/TextArea.js +5 -3
- package/emotion/es/components/TextField/TextField.js +3 -4
- package/emotion/es/components/TextField/TextField.template-doc.mdx +1 -1
- package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +13 -1
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +12 -0
- package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +13 -1
- package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +12 -0
- package/es/components/TextArea/TextArea.js +4 -2
- package/es/components/TextArea/TextArea.js.map +1 -1
- package/es/components/TextField/TextField.js +2 -3
- package/es/components/TextField/TextField.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/TextArea/TextArea.js +4 -2
- package/styled-components/cjs/components/TextField/TextField.js +2 -3
- package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +13 -1
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +12 -0
- package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +13 -1
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +12 -0
- package/styled-components/es/components/TextArea/TextArea.js +4 -2
- package/styled-components/es/components/TextField/TextField.js +2 -3
- package/styled-components/es/components/TextField/TextField.template-doc.mdx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +13 -1
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +12 -0
- package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +13 -1
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +12 -0
- package/types/components/Autocomplete/Autocomplete.d.ts +2 -2
- package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/components/Autocomplete/Autocomplete.types.d.ts +1 -1
- package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +59 -7
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +59 -7
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
- package/types/components/Range/Range.styles.d.ts +59 -7
- package/types/components/Range/Range.styles.d.ts.map +1 -1
- package/types/components/Slider/components/Double/Double.styles.d.ts +59 -7
- package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.types.d.ts +30 -18
- package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
- package/types/components/TextField/TextField.types.d.ts +27 -15
- package/types/components/TextField/TextField.types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +1 -1
- package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +135 -3
- package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +59 -7
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +1 -1
- package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +135 -3
- package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextField/TextField.d.ts +59 -7
- package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
@@ -15,7 +15,24 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
|
|
15
15
|
disabled: {
|
16
16
|
true: import("@linaria/core").LinariaClassName;
|
17
17
|
};
|
18
|
-
}> & ((Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
18
|
+
}> & ((Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
19
|
+
status?: "" | "error" | "success" | "warning" | undefined;
|
20
|
+
label?: string | undefined;
|
21
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
22
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
23
|
+
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
24
|
+
helperText?: string | undefined;
|
25
|
+
leftHelper?: string | undefined;
|
26
|
+
rightHelper?: string | undefined;
|
27
|
+
} & {
|
28
|
+
requiredPlacement?: "left" | "right" | undefined;
|
29
|
+
} & {
|
30
|
+
required: true;
|
31
|
+
optional?: false | undefined;
|
32
|
+
} & {
|
33
|
+
size?: string | undefined;
|
34
|
+
view?: string | undefined;
|
35
|
+
} & {
|
19
36
|
autoResize?: boolean | undefined;
|
20
37
|
maxAuto?: number | undefined;
|
21
38
|
minAuto?: number | undefined;
|
@@ -25,7 +42,24 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
|
|
25
42
|
} & {
|
26
43
|
rows?: undefined;
|
27
44
|
cols?: undefined;
|
28
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
45
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
46
|
+
status?: "" | "error" | "success" | "warning" | undefined;
|
47
|
+
label?: string | undefined;
|
48
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
49
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
50
|
+
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
51
|
+
helperText?: string | undefined;
|
52
|
+
leftHelper?: string | undefined;
|
53
|
+
rightHelper?: string | undefined;
|
54
|
+
} & {
|
55
|
+
requiredPlacement?: "left" | "right" | undefined;
|
56
|
+
} & {
|
57
|
+
required: true;
|
58
|
+
optional?: false | undefined;
|
59
|
+
} & {
|
60
|
+
size?: string | undefined;
|
61
|
+
view?: string | undefined;
|
62
|
+
} & {
|
29
63
|
height?: string | number | undefined;
|
30
64
|
width?: string | number | undefined;
|
31
65
|
} & {
|
@@ -35,7 +69,105 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
|
|
35
69
|
} & {
|
36
70
|
rows?: undefined;
|
37
71
|
cols?: undefined;
|
38
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
72
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
73
|
+
status?: "" | "error" | "success" | "warning" | undefined;
|
74
|
+
label?: string | undefined;
|
75
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
76
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
77
|
+
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
78
|
+
helperText?: string | undefined;
|
79
|
+
leftHelper?: string | undefined;
|
80
|
+
rightHelper?: string | undefined;
|
81
|
+
} & {
|
82
|
+
requiredPlacement?: "left" | "right" | undefined;
|
83
|
+
} & {
|
84
|
+
required: true;
|
85
|
+
optional?: false | undefined;
|
86
|
+
} & {
|
87
|
+
size?: string | undefined;
|
88
|
+
view?: string | undefined;
|
89
|
+
} & {
|
90
|
+
rows?: number | undefined;
|
91
|
+
cols?: number | undefined;
|
92
|
+
} & {
|
93
|
+
autoResize?: undefined;
|
94
|
+
maxAuto?: undefined;
|
95
|
+
minAuto?: undefined;
|
96
|
+
} & {
|
97
|
+
height?: undefined;
|
98
|
+
width?: undefined;
|
99
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
100
|
+
status?: "" | "error" | "success" | "warning" | undefined;
|
101
|
+
label?: string | undefined;
|
102
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
103
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
104
|
+
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
105
|
+
helperText?: string | undefined;
|
106
|
+
leftHelper?: string | undefined;
|
107
|
+
rightHelper?: string | undefined;
|
108
|
+
} & {
|
109
|
+
requiredPlacement?: "left" | "right" | undefined;
|
110
|
+
} & {
|
111
|
+
optional?: true | undefined;
|
112
|
+
required?: false | undefined;
|
113
|
+
} & {
|
114
|
+
size?: string | undefined;
|
115
|
+
view?: string | undefined;
|
116
|
+
} & {
|
117
|
+
autoResize?: boolean | undefined;
|
118
|
+
maxAuto?: number | undefined;
|
119
|
+
minAuto?: number | undefined;
|
120
|
+
} & {
|
121
|
+
height?: undefined;
|
122
|
+
width?: undefined;
|
123
|
+
} & {
|
124
|
+
rows?: undefined;
|
125
|
+
cols?: undefined;
|
126
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
127
|
+
status?: "" | "error" | "success" | "warning" | undefined;
|
128
|
+
label?: string | undefined;
|
129
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
130
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
131
|
+
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
132
|
+
helperText?: string | undefined;
|
133
|
+
leftHelper?: string | undefined;
|
134
|
+
rightHelper?: string | undefined;
|
135
|
+
} & {
|
136
|
+
requiredPlacement?: "left" | "right" | undefined;
|
137
|
+
} & {
|
138
|
+
optional?: true | undefined;
|
139
|
+
required?: false | undefined;
|
140
|
+
} & {
|
141
|
+
size?: string | undefined;
|
142
|
+
view?: string | undefined;
|
143
|
+
} & {
|
144
|
+
height?: string | number | undefined;
|
145
|
+
width?: string | number | undefined;
|
146
|
+
} & {
|
147
|
+
autoResize?: undefined;
|
148
|
+
maxAuto?: undefined;
|
149
|
+
minAuto?: undefined;
|
150
|
+
} & {
|
151
|
+
rows?: undefined;
|
152
|
+
cols?: undefined;
|
153
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
154
|
+
status?: "" | "error" | "success" | "warning" | undefined;
|
155
|
+
label?: string | undefined;
|
156
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
157
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
158
|
+
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
159
|
+
helperText?: string | undefined;
|
160
|
+
leftHelper?: string | undefined;
|
161
|
+
rightHelper?: string | undefined;
|
162
|
+
} & {
|
163
|
+
requiredPlacement?: "left" | "right" | undefined;
|
164
|
+
} & {
|
165
|
+
optional?: true | undefined;
|
166
|
+
required?: false | undefined;
|
167
|
+
} & {
|
168
|
+
size?: string | undefined;
|
169
|
+
view?: string | undefined;
|
170
|
+
} & {
|
39
171
|
rows?: number | undefined;
|
40
172
|
cols?: number | undefined;
|
41
173
|
} & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextArea/TextArea.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextArea/TextArea.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAA0B,CAAC"}
|
@@ -35,16 +35,42 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
35
35
|
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
36
36
|
textBefore?: string | undefined;
|
37
37
|
textAfter?: string | undefined;
|
38
|
-
optional?: boolean | undefined;
|
39
|
-
required?: boolean | undefined;
|
40
|
-
requiredPlacement?: "left" | "right" | undefined;
|
41
38
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
39
|
+
} & {
|
40
|
+
requiredPlacement?: "left" | "right" | undefined;
|
41
|
+
} & {
|
42
|
+
required: true;
|
43
|
+
optional?: false | undefined;
|
42
44
|
} & {
|
43
45
|
chips?: undefined;
|
44
46
|
onChangeChips?: undefined;
|
45
47
|
enumerationType?: "plain" | undefined;
|
46
48
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
47
|
-
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
49
|
+
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
50
|
+
size?: string | undefined;
|
51
|
+
view?: string | undefined;
|
52
|
+
readOnly?: boolean | undefined;
|
53
|
+
disabled?: boolean | undefined;
|
54
|
+
} & {
|
55
|
+
label?: string | undefined;
|
56
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
57
|
+
leftHelper?: string | undefined;
|
58
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
59
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
60
|
+
textBefore?: string | undefined;
|
61
|
+
textAfter?: string | undefined;
|
62
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
63
|
+
} & {
|
64
|
+
requiredPlacement?: "left" | "right" | undefined;
|
65
|
+
} & {
|
66
|
+
required: true;
|
67
|
+
optional?: false | undefined;
|
68
|
+
} & {
|
69
|
+
enumerationType: "chip";
|
70
|
+
onSearch?: undefined;
|
71
|
+
chips?: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
72
|
+
onChangeChips?: ((value: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
73
|
+
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
48
74
|
size?: string | undefined;
|
49
75
|
view?: string | undefined;
|
50
76
|
readOnly?: boolean | undefined;
|
@@ -57,14 +83,40 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
57
83
|
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
58
84
|
textBefore?: string | undefined;
|
59
85
|
textAfter?: string | undefined;
|
60
|
-
|
61
|
-
|
86
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
87
|
+
} & {
|
62
88
|
requiredPlacement?: "left" | "right" | undefined;
|
89
|
+
} & {
|
90
|
+
optional?: true | undefined;
|
91
|
+
required?: false | undefined;
|
92
|
+
} & {
|
93
|
+
chips?: undefined;
|
94
|
+
onChangeChips?: undefined;
|
95
|
+
enumerationType?: "plain" | undefined;
|
96
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
97
|
+
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
98
|
+
size?: string | undefined;
|
99
|
+
view?: string | undefined;
|
100
|
+
readOnly?: boolean | undefined;
|
101
|
+
disabled?: boolean | undefined;
|
102
|
+
} & {
|
103
|
+
label?: string | undefined;
|
104
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
105
|
+
leftHelper?: string | undefined;
|
106
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
107
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
108
|
+
textBefore?: string | undefined;
|
109
|
+
textAfter?: string | undefined;
|
63
110
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
111
|
+
} & {
|
112
|
+
requiredPlacement?: "left" | "right" | undefined;
|
113
|
+
} & {
|
114
|
+
optional?: true | undefined;
|
115
|
+
required?: false | undefined;
|
64
116
|
} & {
|
65
117
|
enumerationType: "chip";
|
66
118
|
onSearch?: undefined;
|
67
119
|
chips?: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
68
120
|
onChangeChips?: ((value: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
69
|
-
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
121
|
+
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
70
122
|
//# sourceMappingURL=TextField.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yIAA0B,CAAC"}
|