@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.
- package/cjs/components/Dropdown/Dropdown.js +15 -16
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Popover/Popover.js +4 -5
- package/cjs/components/Popover/Popover.js.map +1 -1
- package/cjs/components/TextArea/TextArea.js +6 -4
- package/cjs/components/TextArea/TextArea.js.map +1 -1
- package/cjs/components/TextArea/hooks/useAutoResize.js +10 -4
- package/cjs/components/TextArea/hooks/useAutoResize.js.map +1 -1
- package/cjs/components/_Icon/IconRoot.js +1 -1
- package/cjs/components/_Icon/IconRoot.js.map +1 -1
- package/es/components/Dropdown/Dropdown.js +11 -12
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/components/Popover/Popover.js +4 -5
- package/es/components/Popover/Popover.js.map +1 -1
- package/es/components/TextArea/TextArea.js +7 -5
- package/es/components/TextArea/TextArea.js.map +1 -1
- package/es/components/TextArea/hooks/useAutoResize.js +10 -4
- package/es/components/TextArea/hooks/useAutoResize.js.map +1 -1
- package/es/components/_Icon/IconRoot.js +1 -1
- package/es/components/_Icon/IconRoot.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Button/Button.template-doc.mdx +3 -3
- package/styled-components/cjs/components/Dropdown/Dropdown.js +11 -12
- package/styled-components/cjs/components/Popover/Popover.js +4 -5
- package/styled-components/cjs/components/Radiobox/Radiobox.template-doc.mdx +7 -5
- package/styled-components/cjs/components/Segment/Segment.template-doc.mdx +1 -1
- package/styled-components/cjs/components/TextArea/TextArea.js +11 -4
- package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +45 -6
- package/styled-components/cjs/components/TextArea/hooks/useAutoResize.js +10 -4
- package/styled-components/cjs/components/_Icon/IconRoot.js +1 -1
- package/styled-components/es/components/Button/Button.template-doc.mdx +3 -3
- package/styled-components/es/components/Dropdown/Dropdown.js +11 -12
- package/styled-components/es/components/Popover/Popover.js +4 -5
- package/styled-components/es/components/Radiobox/Radiobox.template-doc.mdx +7 -5
- package/styled-components/es/components/Segment/Segment.template-doc.mdx +1 -1
- package/styled-components/es/components/TextArea/TextArea.js +12 -4
- package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +45 -6
- package/styled-components/es/components/TextArea/hooks/useAutoResize.js +10 -4
- package/styled-components/es/components/_Icon/IconRoot.js +1 -1
- package/types/components/Dropdown/Dropdown.d.ts +2 -2
- package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.types.d.ts +0 -4
- package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
- package/types/components/Popover/Popover.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.d.ts +2 -2
- package/types/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.types.d.ts +49 -23
- package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
- package/types/components/TextArea/hooks/useAutoResize.d.ts +1 -1
- package/types/components/TextArea/hooks/useAutoResize.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +31 -1
- package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +31 -1
- package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/TextArea/TextArea.d.ts +31 -1
- 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,
|
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 &
|
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
|
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 &
|
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
|
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 &
|
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
|
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"}
|