@salutejs/plasma-new-hope 0.68.0-canary.1104.8452846373.0 → 0.68.0-canary.1148.8452547227.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Cell/Cell.css +3 -0
- package/cjs/components/Cell/Cell.js +71 -0
- package/cjs/components/Cell/Cell.js.map +1 -0
- package/cjs/components/Cell/Cell.styles.js +36 -0
- package/cjs/components/Cell/Cell.styles.js.map +1 -0
- package/cjs/components/Cell/Cell.tokens.js +50 -0
- package/cjs/components/Cell/Cell.tokens.js.map +1 -0
- package/cjs/components/Cell/Textbox/Textbox.js +20 -0
- package/cjs/components/Cell/Textbox/Textbox.js.map +1 -0
- package/cjs/components/Cell/Textbox/Textbox.styles.js +13 -0
- package/cjs/components/Cell/Textbox/Textbox.styles.js.map +1 -0
- package/cjs/components/Cell/Textbox/ui/TextLabel.js +17 -0
- package/cjs/components/Cell/Textbox/ui/TextLabel.js.map +1 -0
- package/cjs/components/Cell/Textbox/ui/TextSubtitle.js +17 -0
- package/cjs/components/Cell/Textbox/ui/TextSubtitle.js.map +1 -0
- package/cjs/components/Cell/Textbox/ui/TextTitle.js +17 -0
- package/cjs/components/Cell/Textbox/ui/TextTitle.js.map +1 -0
- package/cjs/components/Cell/variations/_size/base.js +9 -0
- package/cjs/components/Cell/variations/_size/base.js.map +1 -0
- package/cjs/components/Cell/variations/_size/base_x642ct.css +1 -0
- package/cjs/components/Cell/variations/_stretching/base.js +9 -0
- package/cjs/components/Cell/variations/_stretching/base.js.map +1 -0
- package/cjs/components/Cell/variations/_stretching/base_1ryz4br.css +1 -0
- package/cjs/components/Cell/variations/_view/base.js +9 -0
- package/cjs/components/Cell/variations/_view/base.js.map +1 -0
- package/cjs/components/Cell/variations/_view/base_13f5j4a.css +1 -0
- package/cjs/components/Dropdown/Dropdown.js +1 -2
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Popover/Popover.js +31 -46
- package/cjs/components/Popover/Popover.js.map +1 -1
- package/cjs/index.css +4 -0
- package/cjs/index.js +14 -0
- package/cjs/index.js.map +1 -1
- package/es/components/Cell/Cell.css +3 -0
- package/es/components/Cell/Cell.js +66 -0
- package/es/components/Cell/Cell.js.map +1 -0
- package/es/components/Cell/Cell.styles.js +29 -0
- package/es/components/Cell/Cell.styles.js.map +1 -0
- package/es/components/Cell/Cell.tokens.js +45 -0
- package/es/components/Cell/Cell.tokens.js.map +1 -0
- package/es/components/Cell/Textbox/Textbox.js +16 -0
- package/es/components/Cell/Textbox/Textbox.js.map +1 -0
- package/es/components/Cell/Textbox/Textbox.styles.js +9 -0
- package/es/components/Cell/Textbox/Textbox.styles.js.map +1 -0
- package/es/components/Cell/Textbox/ui/TextLabel.js +13 -0
- package/es/components/Cell/Textbox/ui/TextLabel.js.map +1 -0
- package/es/components/Cell/Textbox/ui/TextSubtitle.js +13 -0
- package/es/components/Cell/Textbox/ui/TextSubtitle.js.map +1 -0
- package/es/components/Cell/Textbox/ui/TextTitle.js +13 -0
- package/es/components/Cell/Textbox/ui/TextTitle.js.map +1 -0
- package/es/components/Cell/variations/_size/base.js +5 -0
- package/es/components/Cell/variations/_size/base.js.map +1 -0
- package/es/components/Cell/variations/_size/base_x642ct.css +1 -0
- package/es/components/Cell/variations/_stretching/base.js +5 -0
- package/es/components/Cell/variations/_stretching/base.js.map +1 -0
- package/es/components/Cell/variations/_stretching/base_1ryz4br.css +1 -0
- package/es/components/Cell/variations/_view/base.js +5 -0
- package/es/components/Cell/variations/_view/base.js.map +1 -0
- package/es/components/Cell/variations/_view/base_13f5j4a.css +1 -0
- package/es/components/Dropdown/Dropdown.js +1 -2
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/components/Popover/Popover.js +31 -46
- package/es/components/Popover/Popover.js.map +1 -1
- package/es/index.css +4 -0
- package/es/index.js +6 -0
- package/es/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Cell/Cell.js +71 -0
- package/styled-components/cjs/components/Cell/Cell.styles.js +32 -0
- package/styled-components/cjs/components/Cell/Cell.tokens.js +48 -0
- package/styled-components/cjs/components/Cell/Cell.types.js +5 -0
- package/styled-components/cjs/components/Cell/Textbox/Textbox.js +19 -0
- package/styled-components/cjs/components/Cell/Textbox/Textbox.styles.js +12 -0
- package/styled-components/cjs/components/Cell/Textbox/Textbox.types.js +5 -0
- package/styled-components/cjs/components/Cell/Textbox/ui/TextLabel.js +16 -0
- package/styled-components/cjs/components/Cell/Textbox/ui/TextSubtitle.js +16 -0
- package/styled-components/cjs/components/Cell/Textbox/ui/TextTitle.js +16 -0
- package/styled-components/cjs/components/Cell/index.js +59 -0
- package/styled-components/cjs/components/Cell/variations/_size/base.js +8 -0
- package/styled-components/cjs/components/Cell/variations/_size/tokens.json +1 -0
- package/styled-components/cjs/components/Cell/variations/_stretching/base.js +9 -0
- package/styled-components/cjs/components/Cell/variations/_stretching/tokens.json +1 -0
- package/styled-components/cjs/components/Cell/variations/_view/base.js +9 -0
- package/styled-components/cjs/components/Cell/variations/_view/tokens.json +1 -0
- package/styled-components/cjs/components/Dropdown/Dropdown.js +1 -2
- package/styled-components/cjs/components/Popover/Popover.js +31 -46
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.config.js +31 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.js +35 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +131 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +0 -7
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.config.js +31 -0
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.js +35 -0
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +131 -0
- package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
- package/styled-components/cjs/index.js +11 -0
- package/styled-components/es/components/Cell/Cell.js +62 -0
- package/styled-components/es/components/Cell/Cell.styles.js +25 -0
- package/styled-components/es/components/Cell/Cell.tokens.js +42 -0
- package/styled-components/es/components/Cell/Cell.types.js +1 -0
- package/styled-components/es/components/Cell/Textbox/Textbox.js +12 -0
- package/styled-components/es/components/Cell/Textbox/Textbox.styles.js +5 -0
- package/styled-components/es/components/Cell/Textbox/Textbox.types.js +1 -0
- package/styled-components/es/components/Cell/Textbox/ui/TextLabel.js +9 -0
- package/styled-components/es/components/Cell/Textbox/ui/TextSubtitle.js +9 -0
- package/styled-components/es/components/Cell/Textbox/ui/TextTitle.js +9 -0
- package/styled-components/es/components/Cell/index.js +6 -0
- package/styled-components/es/components/Cell/variations/_size/base.js +2 -0
- package/styled-components/es/components/Cell/variations/_size/tokens.json +1 -0
- package/styled-components/es/components/Cell/variations/_stretching/base.js +3 -0
- package/styled-components/es/components/Cell/variations/_stretching/tokens.json +1 -0
- package/styled-components/es/components/Cell/variations/_view/base.js +3 -0
- package/styled-components/es/components/Cell/variations/_view/tokens.json +1 -0
- package/styled-components/es/components/Dropdown/Dropdown.js +1 -2
- package/styled-components/es/components/Popover/Popover.js +31 -46
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.config.js +25 -0
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.js +6 -0
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +131 -0
- package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +0 -7
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.config.js +25 -0
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.js +6 -0
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +131 -0
- package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
- package/styled-components/es/index.js +1 -0
- package/types/components/Cell/Cell.d.ts +27 -0
- package/types/components/Cell/Cell.d.ts.map +1 -0
- package/types/components/Cell/Cell.styles.d.ts +10 -0
- package/types/components/Cell/Cell.styles.d.ts.map +1 -0
- package/types/components/Cell/Cell.tokens.d.ts +43 -0
- package/types/components/Cell/Cell.tokens.d.ts.map +1 -0
- package/types/components/Cell/Cell.types.d.ts +45 -0
- package/types/components/Cell/Cell.types.d.ts.map +1 -0
- package/types/components/Cell/Textbox/Textbox.d.ts +4 -0
- package/types/components/Cell/Textbox/Textbox.d.ts.map +1 -0
- package/types/components/Cell/Textbox/Textbox.styles.d.ts +2 -0
- package/types/components/Cell/Textbox/Textbox.styles.d.ts.map +1 -0
- package/types/components/Cell/Textbox/Textbox.types.d.ts +35 -0
- package/types/components/Cell/Textbox/Textbox.types.d.ts.map +1 -0
- package/types/components/Cell/Textbox/ui/TextLabel.d.ts +5 -0
- package/types/components/Cell/Textbox/ui/TextLabel.d.ts.map +1 -0
- package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts +5 -0
- package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts.map +1 -0
- package/types/components/Cell/Textbox/ui/TextTitle.d.ts +5 -0
- package/types/components/Cell/Textbox/ui/TextTitle.d.ts.map +1 -0
- package/types/components/Cell/index.d.ts +9 -0
- package/types/components/Cell/index.d.ts.map +1 -0
- package/types/components/Cell/variations/_size/base.d.ts +2 -0
- package/types/components/Cell/variations/_size/base.d.ts.map +1 -0
- package/types/components/Cell/variations/_stretching/base.d.ts +2 -0
- package/types/components/Cell/variations/_stretching/base.d.ts.map +1 -0
- package/types/components/Cell/variations/_view/base.d.ts +2 -0
- package/types/components/Cell/variations/_view/base.d.ts.map +1 -0
- package/types/components/Combobox/Combobox.styles.d.ts +2 -8
- package/types/components/Combobox/Combobox.styles.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.styles.d.ts +1 -7
- package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
- package/types/components/Popover/Popover.d.ts +2 -2
- package/types/components/Popover/Popover.d.ts.map +1 -1
- package/types/components/Popover/Popover.types.d.ts +14 -19
- package/types/components/Popover/Popover.types.d.ts.map +1 -1
- package/types/components/Select/Select.styles.d.ts +2 -8
- package/types/components/Select/Select.styles.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts +24 -0
- package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +48 -0
- package/types/examples/plasma_b2c/components/Cell/Cell.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +2 -2
- package/types/examples/plasma_b2c/components/Popover/Popover.d.ts +1 -7
- package/types/examples/plasma_b2c/components/Popover/Popover.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Cell/Cell.config.d.ts +24 -0
- package/types/examples/plasma_web/components/Cell/Cell.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Cell/Cell.d.ts +48 -0
- package/types/examples/plasma_web/components/Cell/Cell.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +2 -2
- package/types/examples/plasma_web/components/Popover/Popover.d.ts +1 -7
- package/types/examples/plasma_web/components/Popover/Popover.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/Popover/Popover.d.ts +1 -7
- package/types/examples/sds_engineer/components/Popover/Popover.d.ts.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Cell.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAwJlB,CAAC"}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Textbox, TextLabel, TextSubtitle, TextTitle } from '../../../../components/Cell';
|
3
|
+
export declare const Cell: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
4
|
+
view: {
|
5
|
+
default: import("@linaria/core").LinariaClassName;
|
6
|
+
};
|
7
|
+
size: {
|
8
|
+
l: import("@linaria/core").LinariaClassName;
|
9
|
+
m: import("@linaria/core").LinariaClassName;
|
10
|
+
s: import("@linaria/core").LinariaClassName;
|
11
|
+
xs: import("@linaria/core").LinariaClassName;
|
12
|
+
};
|
13
|
+
stretching: {
|
14
|
+
auto: import("@linaria/core").LinariaClassName;
|
15
|
+
filled: import("@linaria/core").LinariaClassName;
|
16
|
+
fixed: import("@linaria/core").LinariaClassName;
|
17
|
+
};
|
18
|
+
}> & (({
|
19
|
+
size?: string | undefined;
|
20
|
+
view: string;
|
21
|
+
contentLeft?: import("react").ReactNode;
|
22
|
+
contentRight?: import("react").ReactNode;
|
23
|
+
content?: import("react").ReactNode;
|
24
|
+
alignLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
25
|
+
alignRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
26
|
+
stretching?: "fixed" | "auto" | "filled" | undefined;
|
27
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & {
|
28
|
+
title?: import("react").ReactNode;
|
29
|
+
subtitle?: import("react").ReactNode;
|
30
|
+
label?: import("react").ReactNode;
|
31
|
+
children?: undefined;
|
32
|
+
} & import("react").RefAttributes<HTMLSelectElement>) | ({
|
33
|
+
size?: string | undefined;
|
34
|
+
view: string;
|
35
|
+
contentLeft?: import("react").ReactNode;
|
36
|
+
contentRight?: import("react").ReactNode;
|
37
|
+
content?: import("react").ReactNode;
|
38
|
+
alignLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
39
|
+
alignRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
40
|
+
stretching?: "fixed" | "auto" | "filled" | undefined;
|
41
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & {
|
42
|
+
title?: undefined;
|
43
|
+
subtitle?: undefined;
|
44
|
+
label?: undefined;
|
45
|
+
children?: import("react").ReactNode;
|
46
|
+
} & import("react").RefAttributes<HTMLSelectElement>))>;
|
47
|
+
export { Textbox, TextLabel, TextSubtitle, TextTitle };
|
48
|
+
//# sourceMappingURL=Cell.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.ts"],"names":[],"mappings":";AAAA,OAAO,EAAc,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAMtG,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC"}
|
@@ -9,11 +9,11 @@ export declare const Combobox: import("react").FunctionComponent<import("../../.
|
|
9
9
|
view: {
|
10
10
|
default: import("@linaria/core").LinariaClassName;
|
11
11
|
};
|
12
|
-
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "
|
12
|
+
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
|
13
13
|
valueType?: "single" | undefined;
|
14
14
|
value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined;
|
15
15
|
onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined) => void) | undefined;
|
16
|
-
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "
|
16
|
+
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
|
17
17
|
valueType: "multiple";
|
18
18
|
value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined;
|
19
19
|
onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
|
@@ -4,11 +4,5 @@ export declare const Popover: import("react").FunctionComponent<import("../../..
|
|
4
4
|
view: {
|
5
5
|
default: import("@linaria/core").LinariaClassName;
|
6
6
|
};
|
7
|
-
}> &
|
8
|
-
trigger?: "click" | undefined;
|
9
|
-
closeOnOverlayClick?: boolean | undefined;
|
10
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
|
11
|
-
trigger?: "hover" | undefined;
|
12
|
-
closeOnBeyondTargetHover?: boolean | undefined;
|
13
|
-
} & import("react").RefAttributes<HTMLDivElement>))>;
|
7
|
+
}> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
|
14
8
|
//# sourceMappingURL=Popover.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;gLAA0B,CAAC"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export declare const config: {
|
2
|
+
defaults: {
|
3
|
+
view: string;
|
4
|
+
size: string;
|
5
|
+
stretching: string;
|
6
|
+
};
|
7
|
+
variations: {
|
8
|
+
view: {
|
9
|
+
default: import("@linaria/core").LinariaClassName;
|
10
|
+
};
|
11
|
+
size: {
|
12
|
+
l: import("@linaria/core").LinariaClassName;
|
13
|
+
m: import("@linaria/core").LinariaClassName;
|
14
|
+
s: import("@linaria/core").LinariaClassName;
|
15
|
+
xs: import("@linaria/core").LinariaClassName;
|
16
|
+
};
|
17
|
+
stretching: {
|
18
|
+
auto: import("@linaria/core").LinariaClassName;
|
19
|
+
filled: import("@linaria/core").LinariaClassName;
|
20
|
+
fixed: import("@linaria/core").LinariaClassName;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
};
|
24
|
+
//# sourceMappingURL=Cell.config.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Cell.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Cell/Cell.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAyJlB,CAAC"}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Textbox, TextLabel, TextSubtitle, TextTitle } from '../../../../components/Cell';
|
3
|
+
export declare const Cell: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
4
|
+
view: {
|
5
|
+
default: import("@linaria/core").LinariaClassName;
|
6
|
+
};
|
7
|
+
size: {
|
8
|
+
l: import("@linaria/core").LinariaClassName;
|
9
|
+
m: import("@linaria/core").LinariaClassName;
|
10
|
+
s: import("@linaria/core").LinariaClassName;
|
11
|
+
xs: import("@linaria/core").LinariaClassName;
|
12
|
+
};
|
13
|
+
stretching: {
|
14
|
+
auto: import("@linaria/core").LinariaClassName;
|
15
|
+
filled: import("@linaria/core").LinariaClassName;
|
16
|
+
fixed: import("@linaria/core").LinariaClassName;
|
17
|
+
};
|
18
|
+
}> & (({
|
19
|
+
size?: string | undefined;
|
20
|
+
view: string;
|
21
|
+
contentLeft?: import("react").ReactNode;
|
22
|
+
contentRight?: import("react").ReactNode;
|
23
|
+
content?: import("react").ReactNode;
|
24
|
+
alignLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
25
|
+
alignRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
26
|
+
stretching?: "fixed" | "auto" | "filled" | undefined;
|
27
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & {
|
28
|
+
title?: import("react").ReactNode;
|
29
|
+
subtitle?: import("react").ReactNode;
|
30
|
+
label?: import("react").ReactNode;
|
31
|
+
children?: undefined;
|
32
|
+
} & import("react").RefAttributes<HTMLSelectElement>) | ({
|
33
|
+
size?: string | undefined;
|
34
|
+
view: string;
|
35
|
+
contentLeft?: import("react").ReactNode;
|
36
|
+
contentRight?: import("react").ReactNode;
|
37
|
+
content?: import("react").ReactNode;
|
38
|
+
alignLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
39
|
+
alignRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
40
|
+
stretching?: "fixed" | "auto" | "filled" | undefined;
|
41
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & {
|
42
|
+
title?: undefined;
|
43
|
+
subtitle?: undefined;
|
44
|
+
label?: undefined;
|
45
|
+
children?: import("react").ReactNode;
|
46
|
+
} & import("react").RefAttributes<HTMLSelectElement>))>;
|
47
|
+
export { Textbox, TextLabel, TextSubtitle, TextTitle };
|
48
|
+
//# sourceMappingURL=Cell.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Cell/Cell.ts"],"names":[],"mappings":";AAAA,OAAO,EAAc,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAMtG,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC"}
|
@@ -9,11 +9,11 @@ export declare const Combobox: import("react").FunctionComponent<import("../../.
|
|
9
9
|
view: {
|
10
10
|
default: import("@linaria/core").LinariaClassName;
|
11
11
|
};
|
12
|
-
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "
|
12
|
+
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
|
13
13
|
valueType?: "single" | undefined;
|
14
14
|
value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined;
|
15
15
|
onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined) => void) | undefined;
|
16
|
-
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "
|
16
|
+
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
|
17
17
|
valueType: "multiple";
|
18
18
|
value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined;
|
19
19
|
onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
|
@@ -4,11 +4,5 @@ export declare const Popover: import("react").FunctionComponent<import("../../..
|
|
4
4
|
view: {
|
5
5
|
default: import("@linaria/core").LinariaClassName;
|
6
6
|
};
|
7
|
-
}> &
|
8
|
-
trigger?: "click" | undefined;
|
9
|
-
closeOnOverlayClick?: boolean | undefined;
|
10
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
|
11
|
-
trigger?: "hover" | undefined;
|
12
|
-
closeOnBeyondTargetHover?: boolean | undefined;
|
13
|
-
} & import("react").RefAttributes<HTMLDivElement>))>;
|
7
|
+
}> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
|
14
8
|
//# sourceMappingURL=Popover.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;gLAA0B,CAAC"}
|
@@ -4,11 +4,5 @@ export declare const Popover: import("react").FunctionComponent<import("../../..
|
|
4
4
|
view: {
|
5
5
|
default: import("@linaria/core").LinariaClassName;
|
6
6
|
};
|
7
|
-
}> &
|
8
|
-
trigger?: "click" | undefined;
|
9
|
-
closeOnOverlayClick?: boolean | undefined;
|
10
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
|
11
|
-
trigger?: "hover" | undefined;
|
12
|
-
closeOnBeyondTargetHover?: boolean | undefined;
|
13
|
-
} & import("react").RefAttributes<HTMLDivElement>))>;
|
7
|
+
}> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
|
14
8
|
//# sourceMappingURL=Popover.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;gLAA0B,CAAC"}
|
package/types/index.d.ts
CHANGED
@@ -4,6 +4,7 @@ export * from './hooks';
|
|
4
4
|
export * from './components/Button';
|
5
5
|
export * from './components/ButtonGroup';
|
6
6
|
export * from './components/Chip';
|
7
|
+
export * from './components/Cell';
|
7
8
|
export * from './components/Link';
|
8
9
|
export * from './components/Spinner';
|
9
10
|
export * from './components/Checkbox';
|
package/types/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cA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