@salutejs/plasma-new-hope 0.90.0-canary.1260.9580678742.0 → 0.91.0-canary.1261.9609334871.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. package/cjs/components/Dropdown/Dropdown.js +15 -16
  2. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  3. package/cjs/components/Popover/Popover.js +4 -5
  4. package/cjs/components/Popover/Popover.js.map +1 -1
  5. package/cjs/components/TextArea/TextArea.js +6 -4
  6. package/cjs/components/TextArea/TextArea.js.map +1 -1
  7. package/cjs/components/TextArea/hooks/useAutoResize.js +10 -4
  8. package/cjs/components/TextArea/hooks/useAutoResize.js.map +1 -1
  9. package/cjs/components/_Icon/IconRoot.js +1 -1
  10. package/cjs/components/_Icon/IconRoot.js.map +1 -1
  11. package/es/components/Dropdown/Dropdown.js +11 -12
  12. package/es/components/Dropdown/Dropdown.js.map +1 -1
  13. package/es/components/Popover/Popover.js +4 -5
  14. package/es/components/Popover/Popover.js.map +1 -1
  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/_Icon/IconRoot.js +1 -1
  20. package/es/components/_Icon/IconRoot.js.map +1 -1
  21. package/package.json +2 -2
  22. package/styled-components/cjs/components/Button/Button.template-doc.mdx +3 -3
  23. package/styled-components/cjs/components/Dropdown/Dropdown.js +11 -12
  24. package/styled-components/cjs/components/Popover/Popover.js +4 -5
  25. package/styled-components/cjs/components/Radiobox/Radiobox.template-doc.mdx +7 -5
  26. package/styled-components/cjs/components/Segment/Segment.template-doc.mdx +1 -1
  27. package/styled-components/cjs/components/TextArea/TextArea.js +11 -4
  28. package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +45 -6
  29. package/styled-components/cjs/components/TextArea/hooks/useAutoResize.js +10 -4
  30. package/styled-components/cjs/components/_Icon/IconRoot.js +1 -1
  31. package/styled-components/es/components/Button/Button.template-doc.mdx +3 -3
  32. package/styled-components/es/components/Dropdown/Dropdown.js +11 -12
  33. package/styled-components/es/components/Popover/Popover.js +4 -5
  34. package/styled-components/es/components/Radiobox/Radiobox.template-doc.mdx +7 -5
  35. package/styled-components/es/components/Segment/Segment.template-doc.mdx +1 -1
  36. package/styled-components/es/components/TextArea/TextArea.js +12 -4
  37. package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +45 -6
  38. package/styled-components/es/components/TextArea/hooks/useAutoResize.js +10 -4
  39. package/styled-components/es/components/_Icon/IconRoot.js +1 -1
  40. package/types/components/Dropdown/Dropdown.d.ts +2 -2
  41. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  42. package/types/components/Dropdown/Dropdown.types.d.ts +0 -4
  43. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  44. package/types/components/Popover/Popover.d.ts.map +1 -1
  45. package/types/components/TextArea/TextArea.d.ts +2 -2
  46. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  47. package/types/components/TextArea/TextArea.types.d.ts +49 -23
  48. package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
  49. package/types/components/TextArea/hooks/useAutoResize.d.ts +1 -1
  50. package/types/components/TextArea/hooks/useAutoResize.d.ts.map +1 -1
  51. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +31 -1
  52. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
  53. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +31 -1
  54. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
  55. package/types/examples/sds_engineer/components/TextArea/TextArea.d.ts +31 -1
  56. package/types/examples/sds_engineer/components/TextArea/TextArea.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"useAutoResize.d.ts","sourceRoot":"","sources":["../../../../src/components/TextArea/hooks/useAutoResize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE5D,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC,eAAO,MAAM,aAAa,0CACd,OAAO,mKA0BlB,CAAC"}
1
+ {"version":3,"file":"useAutoResize.d.ts","sourceRoot":"","sources":["../../../../src/components/TextArea/hooks/useAutoResize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE5D,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC,eAAO,MAAM,aAAa,0CACd,OAAO,+JAoClB,CAAC"}
@@ -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("@salutejs/plasma-core").TextareaHTMLAttributes<HTMLTextAreaElement> & import("../../../../components/TextArea/TextArea.types").TextAreaPropsExtends & import("react").RefAttributes<HTMLTextAreaElement>>;
18
+ }> & ((Omit<import("@salutejs/plasma-core").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("@salutejs/plasma-core").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("@salutejs/plasma-core").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_b2c/components/TextArea/TextArea.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;sNAA0B,CAAC"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextArea/TextArea.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAA0B,CAAC"}
@@ -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("@salutejs/plasma-core").TextareaHTMLAttributes<HTMLTextAreaElement> & import("../../../../components/TextArea/TextArea.types").TextAreaPropsExtends & import("react").RefAttributes<HTMLTextAreaElement>>;
18
+ }> & ((Omit<import("@salutejs/plasma-core").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("@salutejs/plasma-core").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("@salutejs/plasma-core").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;;;;;;;;;;;;;;;;sNAA0B,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("@salutejs/plasma-core").TextareaHTMLAttributes<HTMLTextAreaElement> & import("../../../../components/TextArea/TextArea.types").TextAreaPropsExtends & import("react").RefAttributes<HTMLTextAreaElement>>;
15
+ }> & ((Omit<import("@salutejs/plasma-core").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("@salutejs/plasma-core").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("@salutejs/plasma-core").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;;;;;;;;;;;;;sNAA0B,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"}