@salutejs/plasma-new-hope 0.72.0-canary.1160.8612911363.0 → 0.72.0-canary.1160.8617165473.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Cell/Cell.js +2 -0
- package/cjs/components/Cell/Cell.js.map +1 -1
- package/cjs/components/TextField/TextField.js +5 -5
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/hooks/useKeyNavigation.js +5 -4
- package/cjs/components/TextField/hooks/useKeyNavigation.js.map +1 -1
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -3
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
- package/es/components/Cell/Cell.js +2 -0
- package/es/components/Cell/Cell.js.map +1 -1
- package/es/components/TextField/TextField.js +5 -5
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/hooks/useKeyNavigation.js +5 -4
- package/es/components/TextField/hooks/useKeyNavigation.js.map +1 -1
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -3
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Cell/Cell.js +2 -0
- package/styled-components/cjs/components/TextField/TextField.js +5 -5
- package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +5 -4
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -3
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +60 -12
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +60 -12
- package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.stories.tsx +60 -12
- package/styled-components/es/components/Cell/Cell.js +2 -0
- package/styled-components/es/components/TextField/TextField.js +5 -5
- package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +5 -4
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -3
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +60 -12
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +60 -12
- package/styled-components/es/examples/sds_engineer/components/TextField/TextField.stories.tsx +60 -12
- package/types/components/Cell/Cell.d.ts.map +1 -1
- package/types/components/TextField/TextField.types.d.ts +42 -19
- package/types/components/TextField/TextField.types.d.ts.map +1 -1
- package/types/components/TextField/hooks/useKeyNavigation.d.ts +2 -2
- package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +1 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +35 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextField/TextField.d.ts +35 -1
- package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/TextField/TextField.d.ts +35 -1
- package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -1
@@ -22,5 +22,39 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
22
22
|
readOnly: {
|
23
23
|
true: import("@linaria/core").LinariaClassName;
|
24
24
|
};
|
25
|
-
}> &
|
25
|
+
}> & (({
|
26
|
+
size?: string | undefined;
|
27
|
+
view?: string | undefined;
|
28
|
+
readOnly?: boolean | undefined;
|
29
|
+
disabled?: boolean | undefined;
|
30
|
+
} & {
|
31
|
+
label?: string | undefined;
|
32
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
33
|
+
leftHelper?: string | undefined;
|
34
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
35
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
36
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
37
|
+
} & {
|
38
|
+
chips?: undefined;
|
39
|
+
onChangeChips?: undefined;
|
40
|
+
enumerationType?: "plain" | undefined;
|
41
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
42
|
+
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLDivElement>) | ({
|
43
|
+
size?: string | undefined;
|
44
|
+
view?: string | undefined;
|
45
|
+
readOnly?: boolean | undefined;
|
46
|
+
disabled?: boolean | undefined;
|
47
|
+
} & {
|
48
|
+
label?: string | undefined;
|
49
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
50
|
+
leftHelper?: string | undefined;
|
51
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
52
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
53
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
54
|
+
} & {
|
55
|
+
enumerationType: "chip";
|
56
|
+
onSearch?: undefined;
|
57
|
+
chips?: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
58
|
+
onChangeChips?: ((value: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
59
|
+
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLDivElement>))>;
|
26
60
|
//# sourceMappingURL=TextField.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0HAA0B,CAAC"}
|