@salutejs/plasma-new-hope 0.92.0-canary.1253.9663882094.0 → 0.92.0-canary.1261.9663085538.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/Range/Range.css +6 -6
  2. package/cjs/components/Slider/Slider.css +6 -6
  3. package/cjs/components/Slider/components/Double/Double.css +6 -6
  4. package/cjs/components/TextArea/TextArea.js +6 -4
  5. package/cjs/components/TextArea/TextArea.js.map +1 -1
  6. package/cjs/components/TextArea/hooks/useAutoResize.js +10 -4
  7. package/cjs/components/TextArea/hooks/useAutoResize.js.map +1 -1
  8. package/cjs/components/TextField/TextField.styles.js +1 -1
  9. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  10. package/cjs/components/TextField/{TextField.styles_9fkr1l.css → TextField.styles_aqmut.css} +2 -2
  11. package/cjs/index.css +6 -6
  12. package/es/components/Range/Range.css +6 -6
  13. package/es/components/Slider/Slider.css +6 -6
  14. package/es/components/Slider/components/Double/Double.css +6 -6
  15. package/es/components/TextArea/TextArea.js +7 -5
  16. package/es/components/TextArea/TextArea.js.map +1 -1
  17. package/es/components/TextArea/hooks/useAutoResize.js +10 -4
  18. package/es/components/TextArea/hooks/useAutoResize.js.map +1 -1
  19. package/es/components/TextField/TextField.styles.js +1 -1
  20. package/es/components/TextField/TextField.styles.js.map +1 -1
  21. package/es/components/TextField/{TextField.styles_9fkr1l.css → TextField.styles_aqmut.css} +2 -2
  22. package/es/index.css +6 -6
  23. package/package.json +2 -2
  24. package/styled-components/cjs/components/TextArea/TextArea.js +11 -4
  25. package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +45 -6
  26. package/styled-components/cjs/components/TextArea/hooks/useAutoResize.js +10 -4
  27. package/styled-components/cjs/components/TextField/TextField.styles.js +2 -2
  28. package/styled-components/es/components/TextArea/TextArea.js +12 -4
  29. package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +45 -6
  30. package/styled-components/es/components/TextArea/hooks/useAutoResize.js +10 -4
  31. package/styled-components/es/components/TextField/TextField.styles.js +2 -2
  32. package/types/components/TextArea/TextArea.d.ts +2 -2
  33. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  34. package/types/components/TextArea/TextArea.types.d.ts +49 -23
  35. package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
  36. package/types/components/TextArea/hooks/useAutoResize.d.ts +1 -1
  37. package/types/components/TextArea/hooks/useAutoResize.d.ts.map +1 -1
  38. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  39. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +31 -1
  40. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
  41. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +31 -1
  42. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
  43. package/types/examples/sds_engineer/components/TextArea/TextArea.d.ts +31 -1
  44. package/types/examples/sds_engineer/components/TextArea/TextArea.d.ts.map +1 -1
@@ -15,5 +15,35 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
15
15
  disabled: {
16
16
  true: import("@linaria/core").LinariaClassName;
17
17
  };
18
- }> & import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement> & import("../../../../components/TextArea/TextArea.types").TextAreaPropsExtends & import("react").RefAttributes<HTMLTextAreaElement>>;
18
+ }> & ((Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "rows" | "cols"> & import("../../../../components/TextArea/TextArea.types").TextAreaPropsExtends & {
19
+ autoResize?: boolean | undefined;
20
+ maxAuto?: number | undefined;
21
+ minAuto?: number | undefined;
22
+ } & {
23
+ height?: undefined;
24
+ width?: undefined;
25
+ } & {
26
+ rows?: undefined;
27
+ cols?: undefined;
28
+ } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "rows" | "cols"> & import("../../../../components/TextArea/TextArea.types").TextAreaPropsExtends & {
29
+ height?: string | number | undefined;
30
+ width?: string | number | undefined;
31
+ } & {
32
+ autoResize?: undefined;
33
+ maxAuto?: undefined;
34
+ minAuto?: undefined;
35
+ } & {
36
+ rows?: undefined;
37
+ cols?: undefined;
38
+ } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "rows" | "cols"> & import("../../../../components/TextArea/TextArea.types").TextAreaPropsExtends & {
39
+ rows?: number | undefined;
40
+ cols?: number | undefined;
41
+ } & {
42
+ autoResize?: undefined;
43
+ maxAuto?: undefined;
44
+ minAuto?: undefined;
45
+ } & {
46
+ height?: undefined;
47
+ width?: undefined;
48
+ } & import("react").RefAttributes<HTMLTextAreaElement>))>;
19
49
  //# sourceMappingURL=TextArea.d.ts.map
@@ -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;;;;;;;;;;;;;;;;kNAA0B,CAAC"}
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"}
@@ -12,5 +12,35 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
12
12
  disabled: {
13
13
  true: import("@linaria/core").LinariaClassName;
14
14
  };
15
- }> & import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement> & import("../../../../components/TextArea/TextArea.types").TextAreaPropsExtends & import("react").RefAttributes<HTMLTextAreaElement>>;
15
+ }> & ((Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "rows" | "cols"> & import("../../../../components/TextArea/TextArea.types").TextAreaPropsExtends & {
16
+ autoResize?: boolean | undefined;
17
+ maxAuto?: number | undefined;
18
+ minAuto?: number | undefined;
19
+ } & {
20
+ height?: undefined;
21
+ width?: undefined;
22
+ } & {
23
+ rows?: undefined;
24
+ cols?: undefined;
25
+ } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "rows" | "cols"> & import("../../../../components/TextArea/TextArea.types").TextAreaPropsExtends & {
26
+ height?: string | number | undefined;
27
+ width?: string | number | undefined;
28
+ } & {
29
+ autoResize?: undefined;
30
+ maxAuto?: undefined;
31
+ minAuto?: undefined;
32
+ } & {
33
+ rows?: undefined;
34
+ cols?: undefined;
35
+ } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "rows" | "cols"> & import("../../../../components/TextArea/TextArea.types").TextAreaPropsExtends & {
36
+ rows?: number | undefined;
37
+ cols?: number | undefined;
38
+ } & {
39
+ autoResize?: undefined;
40
+ maxAuto?: undefined;
41
+ minAuto?: undefined;
42
+ } & {
43
+ height?: undefined;
44
+ width?: undefined;
45
+ } & import("react").RefAttributes<HTMLTextAreaElement>))>;
16
46
  //# sourceMappingURL=TextArea.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/TextArea/TextArea.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;kNAA0B,CAAC"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/TextArea/TextArea.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAA0B,CAAC"}