@salutejs/plasma-new-hope 0.86.0-dev.0 → 0.86.1-canary.1217.9270863557.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Button/Button.styles.js +1 -0
- package/cjs/components/Button/Button.styles.js.map +1 -1
- package/cjs/components/Checkbox/Checkbox.styles.js.map +1 -1
- package/cjs/components/Combobox/Combobox.js +1 -0
- package/cjs/components/Combobox/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +1 -0
- package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
- package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +1 -0
- package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
- package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +1 -0
- package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
- package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +1 -0
- package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
- package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +1 -0
- package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
- package/cjs/components/Drawer/Drawer.js +1 -0
- package/cjs/components/Drawer/Drawer.js.map +1 -1
- package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js +1 -0
- package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
- package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js +1 -0
- package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
- package/cjs/components/Dropdown/Dropdown.js +1 -0
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -0
- package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -0
- package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
- package/cjs/components/IconButton/IconButton.styles.js +1 -0
- package/cjs/components/IconButton/IconButton.styles.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -0
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/cjs/components/Radiobox/Radiobox.js.map +1 -1
- package/cjs/components/Select/Select.js +1 -0
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +1 -0
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -1
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +1 -0
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -1
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +1 -0
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -1
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +1 -0
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -1
- package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +1 -0
- package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
- package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +1 -0
- package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
- package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js +1 -0
- package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
- package/cjs/index.js +2 -0
- package/cjs/index.js.map +1 -1
- package/cjs/mixins/applyDisabled.js +19 -0
- package/cjs/mixins/applyDisabled.js.map +1 -0
- package/es/components/Button/Button.styles.js +1 -0
- package/es/components/Button/Button.styles.js.map +1 -1
- package/es/components/Checkbox/Checkbox.styles.js.map +1 -1
- package/es/components/Combobox/Combobox.js +1 -0
- package/es/components/Combobox/Combobox.js.map +1 -1
- package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +1 -0
- package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
- package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +1 -0
- package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
- package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +1 -0
- package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
- package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +1 -0
- package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
- package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +1 -0
- package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
- package/es/components/Drawer/Drawer.js +1 -0
- package/es/components/Drawer/Drawer.js.map +1 -1
- package/es/components/Drawer/ui/DrawerContent/DrawerContent.js +1 -0
- package/es/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
- package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js +1 -0
- package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
- package/es/components/Dropdown/Dropdown.js +1 -0
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -0
- package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -0
- package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
- package/es/components/IconButton/IconButton.styles.js +1 -0
- package/es/components/IconButton/IconButton.styles.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -0
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/es/components/Radiobox/Radiobox.js.map +1 -1
- package/es/components/Select/Select.js +1 -0
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/ui/SelectDivider/SelectDivider.js +1 -0
- package/es/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -1
- package/es/components/Select/ui/SelectFooter/SelectFooter.js +1 -0
- package/es/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -1
- package/es/components/Select/ui/SelectGroup/SelectGroup.js +1 -0
- package/es/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -1
- package/es/components/Select/ui/SelectHeader/SelectHeader.js +1 -0
- package/es/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -1
- package/es/components/Select/ui/SelectItem/SelectItem.styles.js +1 -0
- package/es/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
- package/es/components/Skeleton/LineSkeleton/LineSkeleton.js +1 -0
- package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
- package/es/components/Skeleton/RectSkeleton/RectSkeleton.js +1 -0
- package/es/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es/mixins/applyDisabled.js +15 -0
- package/es/mixins/applyDisabled.js.map +1 -0
- package/package.json +2 -2
- package/styled-components/cjs/mixins/applyDisabled.js +17 -0
- package/styled-components/cjs/mixins/index.js +11 -0
- package/styled-components/cjs/types/InputHTMLAttributes.js +5 -0
- package/styled-components/es/mixins/applyDisabled.js +11 -0
- package/styled-components/es/mixins/index.js +2 -1
- package/styled-components/es/types/InputHTMLAttributes.js +1 -0
- package/types/components/Checkbox/Checkbox.types.d.ts +2 -1
- package/types/components/Checkbox/Checkbox.types.d.ts.map +1 -1
- package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.d.ts +4 -4
- package/types/components/Drawer/Drawer.d.ts +2 -2
- package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts +4 -4
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +4 -4
- package/types/components/Radiobox/Radiobox.d.ts +1 -1
- package/types/components/Radiobox/Radiobox.d.ts.map +1 -1
- package/types/components/Select/ui/SelectItem/SelectItem.d.ts +4 -4
- package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +2 -2
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +4 -4
- package/types/examples/plasma_b2c/components/Drawer/Drawer.d.ts +1 -1
- package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts +1 -1
- package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.d.ts +2 -2
- package/types/examples/plasma_web/components/Cell/Cell.d.ts +2 -2
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +4 -4
- package/types/examples/plasma_web/components/Drawer/Drawer.d.ts +1 -1
- package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts +1 -1
- package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Select/Select.d.ts +2 -2
- package/types/examples/sds_engineer/components/Drawer/Drawer.d.ts +1 -1
- package/types/examples/sds_engineer/components/Radiobox/Radiobox.d.ts +1 -1
- package/types/examples/sds_engineer/components/Radiobox/Radiobox.d.ts.map +1 -1
- package/types/mixins/applyDisabled.d.ts +14 -0
- package/types/mixins/applyDisabled.d.ts.map +1 -0
- package/types/mixins/index.d.ts +1 -0
- package/types/mixins/index.d.ts.map +1 -1
- package/types/types/InputHTMLAttributes.d.ts +53 -0
- package/types/types/InputHTMLAttributes.d.ts.map +1 -0
- package/types/types/index.d.ts +1 -0
- package/types/types/index.d.ts.map +1 -1
@@ -4,8 +4,8 @@ export declare const selectItemRoot: (Root: import("../../../..").RootProps<HTML
|
|
4
4
|
disabled?: boolean | undefined;
|
5
5
|
label?: import("react").ReactNode;
|
6
6
|
role?: string | undefined;
|
7
|
-
contentLeft?: string | number | boolean | import("react").
|
8
|
-
contentRight?: string | number | boolean | import("react").
|
7
|
+
contentLeft?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
8
|
+
contentRight?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
9
9
|
name?: string | undefined;
|
10
10
|
checked?: boolean | undefined;
|
11
11
|
text?: string | undefined;
|
@@ -24,8 +24,8 @@ export declare const selectItemConfig: {
|
|
24
24
|
disabled?: boolean | undefined;
|
25
25
|
label?: import("react").ReactNode;
|
26
26
|
role?: string | undefined;
|
27
|
-
contentLeft?: string | number | boolean | import("react").
|
28
|
-
contentRight?: string | number | boolean | import("react").
|
27
|
+
contentLeft?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
28
|
+
contentRight?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
29
29
|
name?: string | undefined;
|
30
30
|
checked?: boolean | undefined;
|
31
31
|
text?: string | undefined;
|
@@ -17,7 +17,7 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
|
|
17
17
|
contentRight?: import("react").ReactNode;
|
18
18
|
alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
19
19
|
alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
20
|
-
stretching?: "
|
20
|
+
stretching?: "auto" | "fixed" | "filled" | undefined;
|
21
21
|
content?: import("react").ReactNode;
|
22
22
|
description?: string | undefined;
|
23
23
|
} & {
|
@@ -32,7 +32,7 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
|
|
32
32
|
contentRight?: import("react").ReactNode;
|
33
33
|
alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
34
34
|
alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
35
|
-
stretching?: "
|
35
|
+
stretching?: "auto" | "fixed" | "filled" | undefined;
|
36
36
|
content?: import("react").ReactNode;
|
37
37
|
description?: string | undefined;
|
38
38
|
} & {
|
@@ -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>, "
|
12
|
+
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "target" | "type" | "onChange" | "value" | "checked" | "maxLength" | "minLength" | "size"> & 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>, "
|
16
|
+
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "target" | "type" | "onChange" | "value" | "checked" | "maxLength" | "minLength" | "size"> & 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;
|
@@ -23,8 +23,8 @@ export declare const ComboboxItem: import("react").FunctionComponent<import("../
|
|
23
23
|
disabled?: boolean | undefined;
|
24
24
|
label?: import("react").ReactNode;
|
25
25
|
role?: string | undefined;
|
26
|
-
contentLeft?: string | number | boolean | import("react").
|
27
|
-
contentRight?: string | number | boolean | import("react").
|
26
|
+
contentLeft?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
27
|
+
contentRight?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
28
28
|
name?: string | undefined;
|
29
29
|
checked?: boolean | undefined;
|
30
30
|
text?: string | undefined;
|
@@ -11,7 +11,7 @@ export declare const Drawer: import("react").FunctionComponent<import("../../../
|
|
11
11
|
default: import("@linaria/core").LinariaClassName;
|
12
12
|
};
|
13
13
|
}> & import("../../../..").PopupProps & import("../../../../components/Panel").PanelProps & {
|
14
|
-
placement?: "left" | "right" | "
|
14
|
+
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
15
15
|
asModal?: boolean | undefined;
|
16
16
|
withBlur?: boolean | undefined;
|
17
17
|
closeOnEsc?: boolean | undefined;
|
@@ -20,5 +20,5 @@ export declare const Radiobox: import("react").FunctionComponent<import("../../.
|
|
20
20
|
focused: {
|
21
21
|
true: import("@linaria/core").LinariaClassName;
|
22
22
|
};
|
23
|
-
}> & import("../../../../engines/types").Filter<import("
|
23
|
+
}> & import("../../../../engines/types").Filter<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("../../../..").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
|
24
24
|
//# sourceMappingURL=Radiobox.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;yOAA0B,CAAC"}
|
@@ -27,8 +27,8 @@ export declare const SelectItem: import("react").FunctionComponent<import("../..
|
|
27
27
|
disabled?: boolean | undefined;
|
28
28
|
label?: import("react").ReactNode;
|
29
29
|
role?: string | undefined;
|
30
|
-
contentLeft?: string | number | boolean | import("react").
|
31
|
-
contentRight?: string | number | boolean | import("react").
|
30
|
+
contentLeft?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
31
|
+
contentRight?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
32
32
|
name?: string | undefined;
|
33
33
|
checked?: boolean | undefined;
|
34
34
|
text?: string | undefined;
|
@@ -17,7 +17,7 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
|
|
17
17
|
contentRight?: import("react").ReactNode;
|
18
18
|
alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
19
19
|
alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
20
|
-
stretching?: "
|
20
|
+
stretching?: "auto" | "fixed" | "filled" | undefined;
|
21
21
|
content?: import("react").ReactNode;
|
22
22
|
description?: string | undefined;
|
23
23
|
} & {
|
@@ -32,7 +32,7 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
|
|
32
32
|
contentRight?: import("react").ReactNode;
|
33
33
|
alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
34
34
|
alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
35
|
-
stretching?: "
|
35
|
+
stretching?: "auto" | "fixed" | "filled" | undefined;
|
36
36
|
content?: import("react").ReactNode;
|
37
37
|
description?: string | undefined;
|
38
38
|
} & {
|
@@ -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>, "
|
12
|
+
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "target" | "type" | "onChange" | "value" | "checked" | "maxLength" | "minLength" | "size"> & 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>, "
|
16
|
+
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "target" | "type" | "onChange" | "value" | "checked" | "maxLength" | "minLength" | "size"> & 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;
|
@@ -23,8 +23,8 @@ export declare const ComboboxItem: import("react").FunctionComponent<import("../
|
|
23
23
|
disabled?: boolean | undefined;
|
24
24
|
label?: import("react").ReactNode;
|
25
25
|
role?: string | undefined;
|
26
|
-
contentLeft?: string | number | boolean | import("react").
|
27
|
-
contentRight?: string | number | boolean | import("react").
|
26
|
+
contentLeft?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
27
|
+
contentRight?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
28
28
|
name?: string | undefined;
|
29
29
|
checked?: boolean | undefined;
|
30
30
|
text?: string | undefined;
|
@@ -11,7 +11,7 @@ export declare const Drawer: import("react").FunctionComponent<import("../../../
|
|
11
11
|
default: import("@linaria/core").LinariaClassName;
|
12
12
|
};
|
13
13
|
}> & import("../../../..").PopupProps & import("../../../../components/Panel").PanelProps & {
|
14
|
-
placement?: "left" | "right" | "
|
14
|
+
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
15
15
|
asModal?: boolean | undefined;
|
16
16
|
withBlur?: boolean | undefined;
|
17
17
|
closeOnEsc?: boolean | undefined;
|
@@ -20,5 +20,5 @@ export declare const Radiobox: import("react").FunctionComponent<import("../../.
|
|
20
20
|
focused: {
|
21
21
|
true: import("@linaria/core").LinariaClassName;
|
22
22
|
};
|
23
|
-
}> & import("../../../../engines/types").Filter<import("
|
23
|
+
}> & import("../../../../engines/types").Filter<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("../../../..").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
|
24
24
|
//# sourceMappingURL=Radiobox.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;yOAA0B,CAAC"}
|
@@ -27,8 +27,8 @@ export declare const SelectItem: import("react").FunctionComponent<import("../..
|
|
27
27
|
disabled?: boolean | undefined;
|
28
28
|
label?: import("react").ReactNode;
|
29
29
|
role?: string | undefined;
|
30
|
-
contentLeft?: string | number | boolean | import("react").
|
31
|
-
contentRight?: string | number | boolean | import("react").
|
30
|
+
contentLeft?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
31
|
+
contentRight?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
|
32
32
|
name?: string | undefined;
|
33
33
|
checked?: boolean | undefined;
|
34
34
|
text?: string | undefined;
|
@@ -11,7 +11,7 @@ export declare const Drawer: import("react").FunctionComponent<import("../../../
|
|
11
11
|
default: import("@linaria/core").LinariaClassName;
|
12
12
|
};
|
13
13
|
}> & import("../../../..").PopupProps & import("../../../../components/Panel").PanelProps & {
|
14
|
-
placement?: "left" | "right" | "
|
14
|
+
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
15
15
|
asModal?: boolean | undefined;
|
16
16
|
withBlur?: boolean | undefined;
|
17
17
|
closeOnEsc?: boolean | undefined;
|
@@ -20,5 +20,5 @@ export declare const Radiobox: import("react").FunctionComponent<import("../../.
|
|
20
20
|
focused: {
|
21
21
|
true: import("@linaria/core").LinariaClassName;
|
22
22
|
};
|
23
|
-
}> & import("../../../../engines/types").Filter<import("
|
23
|
+
}> & import("../../../../engines/types").Filter<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("../../../..").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
|
24
24
|
//# sourceMappingURL=Radiobox.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;yOAA0B,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { InterpolationFunction } from 'styled-components';
|
2
|
+
export interface DisabledProps {
|
3
|
+
/**
|
4
|
+
* Компонент неактивен
|
5
|
+
*/
|
6
|
+
disabled?: boolean;
|
7
|
+
}
|
8
|
+
/**
|
9
|
+
* Миксин неактивной кнопки
|
10
|
+
*/
|
11
|
+
export declare const applyDisabled: InterpolationFunction<DisabledProps & {
|
12
|
+
$disabled?: boolean;
|
13
|
+
}>;
|
14
|
+
//# sourceMappingURL=applyDisabled.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"applyDisabled.d.ts","sourceRoot":"","sources":["../../src/mixins/applyDisabled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAaD;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,qBAAqB,CAAC,aAAa,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,CASxF,CAAC"}
|
package/types/mixins/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mixins/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mixins/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC"}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { DisabledProps } from '../mixins';
|
3
|
+
export interface InputHTMLAttributes<T> extends DisabledProps, React.InputHTMLAttributes<T> {
|
4
|
+
/**
|
5
|
+
* Тип элемента формы
|
6
|
+
*/
|
7
|
+
type?: string;
|
8
|
+
/**
|
9
|
+
* Определяет уникальное имя элемента формы
|
10
|
+
*/
|
11
|
+
name?: string;
|
12
|
+
/**
|
13
|
+
* Определяет значение элемента формы
|
14
|
+
*/
|
15
|
+
value?: string | ReadonlyArray<string> | number;
|
16
|
+
/**
|
17
|
+
* Помечен ли заранее такой элемент формы, как флажок или переключатель
|
18
|
+
*/
|
19
|
+
checked?: boolean;
|
20
|
+
/**
|
21
|
+
* Элемент формы не может изменяться пользователем
|
22
|
+
*/
|
23
|
+
readOnly?: boolean;
|
24
|
+
/**
|
25
|
+
* Выводит текст внутри поля формы, который исчезает при получении фокуса
|
26
|
+
*/
|
27
|
+
placeholder?: string;
|
28
|
+
/**
|
29
|
+
* Флаг обязательности поля
|
30
|
+
*/
|
31
|
+
required?: boolean;
|
32
|
+
/**
|
33
|
+
* Минимальная длина значения поля
|
34
|
+
*/
|
35
|
+
minLength?: number;
|
36
|
+
/**
|
37
|
+
* Максимальная длина значения поля
|
38
|
+
*/
|
39
|
+
maxLength?: number;
|
40
|
+
/**
|
41
|
+
* Обработчик изменения элемента формы
|
42
|
+
*/
|
43
|
+
onChange?: React.InputHTMLAttributes<T>['onChange'];
|
44
|
+
/**
|
45
|
+
* Обработчик фокуса на элементе формы
|
46
|
+
*/
|
47
|
+
onFocus?: React.InputHTMLAttributes<T>['onFocus'];
|
48
|
+
/**
|
49
|
+
* Обработчик блюра на элементе формы
|
50
|
+
*/
|
51
|
+
onBlur?: React.InputHTMLAttributes<T>['onBlur'];
|
52
|
+
}
|
53
|
+
//# sourceMappingURL=InputHTMLAttributes.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"InputHTMLAttributes.d.ts","sourceRoot":"","sources":["../../src/types/InputHTMLAttributes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,MAAM,WAAW,mBAAmB,CAAC,CAAC,CAAE,SAAQ,aAAa,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC;IACvF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAChD;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IACpD;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CACnD"}
|
package/types/types/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACpE,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|