@salutejs/plasma-web 1.480.0-canary.1654.12387953419.0 → 1.480.1-canary.1641.12395693752.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +6 -6
- package/components/Combobox/Legacy/Combobox.d.ts +2 -2
- package/components/DatePicker/DatePicker.d.ts +4 -4
- package/components/NumberInput/NumberInput.d.ts +2 -2
- package/components/Select/Select.d.ts +2 -2
- package/package.json +14 -15
- package/temp/plasma-web.api.md +6 -6
package/api/plasma-web.api.md
CHANGED
@@ -1761,8 +1761,6 @@ contentLeft?: ReactNode;
|
|
1761
1761
|
contentRight?: ReactNode;
|
1762
1762
|
leftHelper?: string | undefined;
|
1763
1763
|
requiredPlacement?: "right" | "left" | undefined;
|
1764
|
-
dividerVariant?: "none" | "icon" | "dash" | undefined;
|
1765
|
-
dividerIcon?: ReactNode;
|
1766
1764
|
firstValueError?: boolean | undefined;
|
1767
1765
|
secondValueError?: boolean | undefined;
|
1768
1766
|
firstValueSuccess?: boolean | undefined;
|
@@ -1773,14 +1771,16 @@ firstTextfieldContentLeft?: ReactElement<any, string | JSXElementConstructor<any
|
|
1773
1771
|
firstTextfieldContentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1774
1772
|
secondTextfieldContentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1775
1773
|
secondTextfieldContentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1776
|
-
firstTextfieldTextBefore?: string | undefined;
|
1777
|
-
secondTextfieldTextBefore?: string | undefined;
|
1778
1774
|
firstTextfieldTextAfter?: string | undefined;
|
1779
1775
|
secondTextfieldTextAfter?: string | undefined;
|
1780
1776
|
onFocusFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
1781
1777
|
onFocusSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
1782
1778
|
onBlurFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
1783
1779
|
onBlurSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
1780
|
+
firstTextfieldTextBefore?: string | undefined;
|
1781
|
+
secondTextfieldTextBefore?: string | undefined;
|
1782
|
+
dividerVariant?: "none" | "icon" | "dash" | undefined;
|
1783
|
+
dividerIcon?: ReactNode;
|
1784
1784
|
} & DatePickerCalendarProps & Omit<DatePickerPopoverProps, "placement"> & {
|
1785
1785
|
placement?: DatePickerRangePlacement | DatePickerRangePlacement[] | undefined;
|
1786
1786
|
isDoubleCalendar?: boolean | undefined;
|
@@ -3051,7 +3051,7 @@ onDecrement?: ((value: number) => void) | undefined;
|
|
3051
3051
|
} & {
|
3052
3052
|
segmentation?: "clear" | undefined;
|
3053
3053
|
inputBackgroundType?: undefined;
|
3054
|
-
} & Omit<InputHTMLAttributes_3<HTMLInputElement>, "onChange" | "
|
3054
|
+
} & Omit<InputHTMLAttributes_3<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
3055
3055
|
value?: number | undefined;
|
3056
3056
|
min?: number | undefined;
|
3057
3057
|
max?: number | undefined;
|
@@ -3076,7 +3076,7 @@ onDecrement?: ((value: number) => void) | undefined;
|
|
3076
3076
|
} & {
|
3077
3077
|
segmentation?: string | undefined;
|
3078
3078
|
inputBackgroundType?: string | undefined;
|
3079
|
-
} & Omit<InputHTMLAttributes_3<HTMLInputElement>, "onChange" | "
|
3079
|
+
} & Omit<InputHTMLAttributes_3<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>))>;
|
3080
3080
|
|
3081
3081
|
export { numberInputClasses }
|
3082
3082
|
|
@@ -9,11 +9,11 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
9
9
|
view: {
|
10
10
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
11
|
};
|
12
|
-
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "
|
12
|
+
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value" | "type" | "target" | "checked" | "minLength" | "maxLength"> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").CustomComboboxProps & {
|
13
13
|
valueType?: "single" | undefined;
|
14
14
|
value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue | undefined;
|
15
15
|
onChangeValue?: ((value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue | undefined) => void) | undefined;
|
16
|
-
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "
|
16
|
+
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value" | "type" | "target" | "checked" | "minLength" | "maxLength"> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").CustomComboboxProps & {
|
17
17
|
valueType: "multiple";
|
18
18
|
value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue[] | undefined;
|
19
19
|
onChangeValue?: ((value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
|
@@ -81,8 +81,6 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
|
|
81
81
|
contentRight?: import("react").ReactNode;
|
82
82
|
leftHelper?: string | undefined;
|
83
83
|
requiredPlacement?: "right" | "left" | undefined;
|
84
|
-
dividerVariant?: "none" | "icon" | "dash" | undefined;
|
85
|
-
dividerIcon?: import("react").ReactNode;
|
86
84
|
firstValueError?: boolean | undefined;
|
87
85
|
secondValueError?: boolean | undefined;
|
88
86
|
firstValueSuccess?: boolean | undefined;
|
@@ -93,14 +91,16 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
|
|
93
91
|
firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
94
92
|
secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
95
93
|
secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
96
|
-
firstTextfieldTextBefore?: string | undefined;
|
97
|
-
secondTextfieldTextBefore?: string | undefined;
|
98
94
|
firstTextfieldTextAfter?: string | undefined;
|
99
95
|
secondTextfieldTextAfter?: string | undefined;
|
100
96
|
onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
101
97
|
onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
102
98
|
onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
103
99
|
onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
100
|
+
firstTextfieldTextBefore?: string | undefined;
|
101
|
+
secondTextfieldTextBefore?: string | undefined;
|
102
|
+
dividerVariant?: "none" | "icon" | "dash" | undefined;
|
103
|
+
dividerIcon?: import("react").ReactNode;
|
104
104
|
} & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerCalendarProps & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types").DatePickerPopoverProps, "placement"> & {
|
105
105
|
placement?: import("@salutejs/plasma-new-hope/styled-components").DatePickerRangePlacement | import("@salutejs/plasma-new-hope/styled-components").DatePickerRangePlacement[] | undefined;
|
106
106
|
isDoubleCalendar?: boolean | undefined;
|
@@ -53,7 +53,7 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
|
|
53
53
|
} & {
|
54
54
|
segmentation?: "clear" | undefined;
|
55
55
|
inputBackgroundType?: undefined;
|
56
|
-
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "
|
56
|
+
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
57
57
|
value?: number | undefined;
|
58
58
|
min?: number | undefined;
|
59
59
|
max?: number | undefined;
|
@@ -78,4 +78,4 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
|
|
78
78
|
} & {
|
79
79
|
segmentation?: string | undefined;
|
80
80
|
inputBackgroundType?: string | undefined;
|
81
|
-
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "
|
81
|
+
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value"> & import("react").RefAttributes<HTMLInputElement>))>;
|
@@ -113,7 +113,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
113
113
|
isOpen?: boolean | undefined;
|
114
114
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
115
115
|
target: "button-like";
|
116
|
-
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "black" | "white" | "dark" |
|
116
|
+
view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "black" | "white" | "dark" | undefined;
|
117
117
|
contentLeft?: undefined;
|
118
118
|
placeholder?: undefined;
|
119
119
|
helperText?: undefined;
|
@@ -153,7 +153,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
153
153
|
isOpen?: boolean | undefined;
|
154
154
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
155
155
|
target: "button-like";
|
156
|
-
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "black" | "white" | "dark" |
|
156
|
+
view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "black" | "white" | "dark" | undefined;
|
157
157
|
contentLeft?: undefined;
|
158
158
|
placeholder?: undefined;
|
159
159
|
helperText?: undefined;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-web",
|
3
|
-
"version": "1.480.
|
3
|
+
"version": "1.480.1-canary.1641.12395693752.0",
|
4
4
|
"description": "Salute Design System / React UI kit for web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -19,14 +19,14 @@
|
|
19
19
|
"directory": "packages/plasma-web"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-core": "1.189.
|
23
|
-
"@salutejs/plasma-hope": "1.325.
|
24
|
-
"@salutejs/plasma-new-hope": "0.225.
|
25
|
-
"@salutejs/plasma-themes": "0.26.
|
26
|
-
"@salutejs/plasma-tokens-b2b": "1.43.0",
|
27
|
-
"@salutejs/plasma-tokens-b2c": "0.54.0",
|
28
|
-
"@salutejs/plasma-tokens-web": "1.59.0",
|
29
|
-
"@salutejs/plasma-typo": "0.40.0"
|
22
|
+
"@salutejs/plasma-core": "1.189.1-canary.1641.12395693752.0",
|
23
|
+
"@salutejs/plasma-hope": "1.325.1-canary.1641.12395693752.0",
|
24
|
+
"@salutejs/plasma-new-hope": "0.225.1-canary.1641.12395693752.0",
|
25
|
+
"@salutejs/plasma-themes": "0.26.1-canary.1641.12395693752.0",
|
26
|
+
"@salutejs/plasma-tokens-b2b": "1.43.1-canary.1641.12395693752.0",
|
27
|
+
"@salutejs/plasma-tokens-b2c": "0.54.1-canary.1641.12395693752.0",
|
28
|
+
"@salutejs/plasma-tokens-web": "1.59.1-canary.1641.12395693752.0",
|
29
|
+
"@salutejs/plasma-typo": "0.40.1-canary.1641.12395693752.0"
|
30
30
|
},
|
31
31
|
"peerDependencies": {
|
32
32
|
"@salutejs/plasma-icons": "^1.0.0",
|
@@ -48,10 +48,10 @@
|
|
48
48
|
"@rollup/plugin-babel": "6.0.4",
|
49
49
|
"@rollup/plugin-commonjs": "25.0.7",
|
50
50
|
"@rollup/plugin-node-resolve": "15.2.3",
|
51
|
-
"@salutejs/plasma-colors": "0.13.0",
|
52
|
-
"@salutejs/plasma-cy-utils": "0.120.
|
53
|
-
"@salutejs/plasma-icons": "1.209.0",
|
54
|
-
"@salutejs/plasma-sb-utils": "0.188.
|
51
|
+
"@salutejs/plasma-colors": "0.13.1-canary.1641.12395693752.0",
|
52
|
+
"@salutejs/plasma-cy-utils": "0.120.1-canary.1641.12395693752.0",
|
53
|
+
"@salutejs/plasma-icons": "1.209.1-canary.1641.12395693752.0",
|
54
|
+
"@salutejs/plasma-sb-utils": "0.188.1-canary.1641.12395693752.0",
|
55
55
|
"@storybook/addon-docs": "7.6.17",
|
56
56
|
"@storybook/addon-essentials": "7.6.17",
|
57
57
|
"@storybook/addons": "7.6.17",
|
@@ -73,7 +73,6 @@
|
|
73
73
|
"rollup": "3.28.0",
|
74
74
|
"storybook": "7.6.17",
|
75
75
|
"styled-components": "5.3.1",
|
76
|
-
"typescript": "4.2.4",
|
77
76
|
"typescript-coverage-report": "0.7.0",
|
78
77
|
"vite": "4.5.3"
|
79
78
|
},
|
@@ -112,5 +111,5 @@
|
|
112
111
|
"Fanil Zubairov"
|
113
112
|
],
|
114
113
|
"sideEffects": false,
|
115
|
-
"gitHead": "
|
114
|
+
"gitHead": "fe4e4cfd2523574941080de022a4b449085c17d7"
|
116
115
|
}
|
package/temp/plasma-web.api.md
CHANGED
@@ -1761,8 +1761,6 @@ contentLeft?: ReactNode;
|
|
1761
1761
|
contentRight?: ReactNode;
|
1762
1762
|
leftHelper?: string | undefined;
|
1763
1763
|
requiredPlacement?: "right" | "left" | undefined;
|
1764
|
-
dividerVariant?: "none" | "icon" | "dash" | undefined;
|
1765
|
-
dividerIcon?: ReactNode;
|
1766
1764
|
firstValueError?: boolean | undefined;
|
1767
1765
|
secondValueError?: boolean | undefined;
|
1768
1766
|
firstValueSuccess?: boolean | undefined;
|
@@ -1773,14 +1771,16 @@ firstTextfieldContentLeft?: ReactElement<any, string | JSXElementConstructor<any
|
|
1773
1771
|
firstTextfieldContentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1774
1772
|
secondTextfieldContentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1775
1773
|
secondTextfieldContentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1776
|
-
firstTextfieldTextBefore?: string | undefined;
|
1777
|
-
secondTextfieldTextBefore?: string | undefined;
|
1778
1774
|
firstTextfieldTextAfter?: string | undefined;
|
1779
1775
|
secondTextfieldTextAfter?: string | undefined;
|
1780
1776
|
onFocusFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
1781
1777
|
onFocusSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
1782
1778
|
onBlurFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
1783
1779
|
onBlurSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
1780
|
+
firstTextfieldTextBefore?: string | undefined;
|
1781
|
+
secondTextfieldTextBefore?: string | undefined;
|
1782
|
+
dividerVariant?: "none" | "icon" | "dash" | undefined;
|
1783
|
+
dividerIcon?: ReactNode;
|
1784
1784
|
} & DatePickerCalendarProps & Omit<DatePickerPopoverProps, "placement"> & {
|
1785
1785
|
placement?: DatePickerRangePlacement | DatePickerRangePlacement[] | undefined;
|
1786
1786
|
isDoubleCalendar?: boolean | undefined;
|
@@ -3051,7 +3051,7 @@ onDecrement?: ((value: number) => void) | undefined;
|
|
3051
3051
|
} & {
|
3052
3052
|
segmentation?: "clear" | undefined;
|
3053
3053
|
inputBackgroundType?: undefined;
|
3054
|
-
} & Omit<InputHTMLAttributes_3<HTMLInputElement>, "onChange" | "
|
3054
|
+
} & Omit<InputHTMLAttributes_3<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
3055
3055
|
value?: number | undefined;
|
3056
3056
|
min?: number | undefined;
|
3057
3057
|
max?: number | undefined;
|
@@ -3076,7 +3076,7 @@ onDecrement?: ((value: number) => void) | undefined;
|
|
3076
3076
|
} & {
|
3077
3077
|
segmentation?: string | undefined;
|
3078
3078
|
inputBackgroundType?: string | undefined;
|
3079
|
-
} & Omit<InputHTMLAttributes_3<HTMLInputElement>, "onChange" | "
|
3079
|
+
} & Omit<InputHTMLAttributes_3<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>))>;
|
3080
3080
|
|
3081
3081
|
export { numberInputClasses }
|
3082
3082
|
|