@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.
Files changed (44) hide show
  1. package/cjs/components/Cell/Cell.js +2 -0
  2. package/cjs/components/Cell/Cell.js.map +1 -1
  3. package/cjs/components/TextField/TextField.js +5 -5
  4. package/cjs/components/TextField/TextField.js.map +1 -1
  5. package/cjs/components/TextField/hooks/useKeyNavigation.js +5 -4
  6. package/cjs/components/TextField/hooks/useKeyNavigation.js.map +1 -1
  7. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -3
  8. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  9. package/es/components/Cell/Cell.js +2 -0
  10. package/es/components/Cell/Cell.js.map +1 -1
  11. package/es/components/TextField/TextField.js +5 -5
  12. package/es/components/TextField/TextField.js.map +1 -1
  13. package/es/components/TextField/hooks/useKeyNavigation.js +5 -4
  14. package/es/components/TextField/hooks/useKeyNavigation.js.map +1 -1
  15. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -3
  16. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  17. package/package.json +2 -2
  18. package/styled-components/cjs/components/Cell/Cell.js +2 -0
  19. package/styled-components/cjs/components/TextField/TextField.js +5 -5
  20. package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +5 -4
  21. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -3
  22. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +60 -12
  23. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +60 -12
  24. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.stories.tsx +60 -12
  25. package/styled-components/es/components/Cell/Cell.js +2 -0
  26. package/styled-components/es/components/TextField/TextField.js +5 -5
  27. package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +5 -4
  28. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -3
  29. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +60 -12
  30. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +60 -12
  31. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.stories.tsx +60 -12
  32. package/types/components/Cell/Cell.d.ts.map +1 -1
  33. package/types/components/TextField/TextField.types.d.ts +42 -19
  34. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  35. package/types/components/TextField/hooks/useKeyNavigation.d.ts +2 -2
  36. package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +1 -1
  37. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +1 -1
  38. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +1 -1
  39. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +35 -1
  40. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  41. package/types/examples/plasma_web/components/TextField/TextField.d.ts +35 -1
  42. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  43. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +35 -1
  44. 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
- }> & import("../../../../components/TextField").TextFieldProps & import("react").RefAttributes<HTMLDivElement>>;
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;;;;;;;;;;;;;;;;;;;;;;;+GAA0B,CAAC"}
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"}