@salutejs/sdds-cs 0.318.1-canary.2030.15756642897.0 → 0.318.1-canary.2030.15819491481.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Combobox/Combobox.d.ts +24 -24
- package/components/Radiobox/Radiobox.d.ts +2 -28
- package/components/Select/Select.d.ts +6 -6
- package/components/Tokens/Colors/Colors.styles.d.ts +1 -1
- package/components/Tokens/Typography/Typography.styles.d.ts +1 -1
- package/emotion/cjs/components/Modal/Modal.stories.tsx +1 -1
- package/emotion/es/components/Modal/Modal.stories.tsx +1 -1
- package/package.json +3 -3
@@ -73,7 +73,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
73
73
|
hintOffset?: [number, number];
|
74
74
|
hintWidth?: string;
|
75
75
|
hintContentLeft?: React.ReactNode;
|
76
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
76
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
77
77
|
items: ComboboxItemOption[];
|
78
78
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
79
79
|
placeholder?: string;
|
@@ -127,7 +127,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
127
127
|
hintOffset?: never;
|
128
128
|
hintWidth?: never;
|
129
129
|
hintContentLeft?: never;
|
130
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
130
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
131
131
|
items: ComboboxItemOption[];
|
132
132
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
133
133
|
placeholder?: string;
|
@@ -181,7 +181,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
181
181
|
hintOffset?: [number, number];
|
182
182
|
hintWidth?: string;
|
183
183
|
hintContentLeft?: React.ReactNode;
|
184
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
184
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
185
185
|
items: ComboboxItemOption[];
|
186
186
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
187
187
|
placeholder?: string;
|
@@ -235,7 +235,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
235
235
|
hintOffset?: never;
|
236
236
|
hintWidth?: never;
|
237
237
|
hintContentLeft?: never;
|
238
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
238
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
239
239
|
items: ComboboxItemOption[];
|
240
240
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
241
241
|
placeholder?: string;
|
@@ -289,7 +289,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
289
289
|
hintOffset?: [number, number];
|
290
290
|
hintWidth?: string;
|
291
291
|
hintContentLeft?: React.ReactNode;
|
292
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
292
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
293
293
|
items: ComboboxItemOption[];
|
294
294
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
295
295
|
placeholder?: string;
|
@@ -343,7 +343,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
343
343
|
hintOffset?: never;
|
344
344
|
hintWidth?: never;
|
345
345
|
hintContentLeft?: never;
|
346
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
346
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
347
347
|
items: ComboboxItemOption[];
|
348
348
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
349
349
|
placeholder?: string;
|
@@ -397,7 +397,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
397
397
|
hintOffset?: [number, number];
|
398
398
|
hintWidth?: string;
|
399
399
|
hintContentLeft?: React.ReactNode;
|
400
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
400
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
401
401
|
items: ComboboxItemOption[];
|
402
402
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
403
403
|
placeholder?: string;
|
@@ -451,7 +451,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
451
451
|
hintOffset?: never;
|
452
452
|
hintWidth?: never;
|
453
453
|
hintContentLeft?: never;
|
454
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
454
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
455
455
|
items: ComboboxItemOption[];
|
456
456
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
457
457
|
placeholder?: string;
|
@@ -505,7 +505,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
505
505
|
hintOffset?: [number, number];
|
506
506
|
hintWidth?: string;
|
507
507
|
hintContentLeft?: React.ReactNode;
|
508
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
508
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
509
509
|
items: ComboboxItemOption[];
|
510
510
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
511
511
|
placeholder?: string;
|
@@ -559,7 +559,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
559
559
|
hintOffset?: never;
|
560
560
|
hintWidth?: never;
|
561
561
|
hintContentLeft?: never;
|
562
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
562
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
563
563
|
items: ComboboxItemOption[];
|
564
564
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
565
565
|
placeholder?: string;
|
@@ -613,7 +613,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
613
613
|
hintOffset?: [number, number];
|
614
614
|
hintWidth?: string;
|
615
615
|
hintContentLeft?: React.ReactNode;
|
616
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
616
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
617
617
|
items: ComboboxItemOption[];
|
618
618
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
619
619
|
placeholder?: string;
|
@@ -667,7 +667,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
667
667
|
hintOffset?: never;
|
668
668
|
hintWidth?: never;
|
669
669
|
hintContentLeft?: never;
|
670
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
670
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
671
671
|
items: ComboboxItemOption[];
|
672
672
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
673
673
|
placeholder?: string;
|
@@ -721,7 +721,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
721
721
|
hintOffset?: [number, number];
|
722
722
|
hintWidth?: string;
|
723
723
|
hintContentLeft?: React.ReactNode;
|
724
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
724
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
725
725
|
items: ComboboxItemOption[];
|
726
726
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
727
727
|
placeholder?: string;
|
@@ -775,7 +775,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
775
775
|
hintOffset?: never;
|
776
776
|
hintWidth?: never;
|
777
777
|
hintContentLeft?: never;
|
778
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
778
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
779
779
|
items: ComboboxItemOption[];
|
780
780
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
781
781
|
placeholder?: string;
|
@@ -829,7 +829,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
829
829
|
hintOffset?: [number, number];
|
830
830
|
hintWidth?: string;
|
831
831
|
hintContentLeft?: React.ReactNode;
|
832
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
832
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
833
833
|
items: ComboboxItemOption[];
|
834
834
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
835
835
|
placeholder?: string;
|
@@ -883,7 +883,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
883
883
|
hintOffset?: never;
|
884
884
|
hintWidth?: never;
|
885
885
|
hintContentLeft?: never;
|
886
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
886
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
887
887
|
items: ComboboxItemOption[];
|
888
888
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
889
889
|
placeholder?: string;
|
@@ -937,7 +937,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
937
937
|
hintOffset?: [number, number];
|
938
938
|
hintWidth?: string;
|
939
939
|
hintContentLeft?: React.ReactNode;
|
940
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
940
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
941
941
|
items: ComboboxItemOption[];
|
942
942
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
943
943
|
placeholder?: string;
|
@@ -991,7 +991,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
991
991
|
hintOffset?: never;
|
992
992
|
hintWidth?: never;
|
993
993
|
hintContentLeft?: never;
|
994
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
994
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
995
995
|
items: ComboboxItemOption[];
|
996
996
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
997
997
|
placeholder?: string;
|
@@ -1045,7 +1045,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1045
1045
|
hintOffset?: [number, number];
|
1046
1046
|
hintWidth?: string;
|
1047
1047
|
hintContentLeft?: React.ReactNode;
|
1048
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1048
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1049
1049
|
items: ComboboxItemOption[];
|
1050
1050
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1051
1051
|
placeholder?: string;
|
@@ -1099,7 +1099,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1099
1099
|
hintOffset?: never;
|
1100
1100
|
hintWidth?: never;
|
1101
1101
|
hintContentLeft?: never;
|
1102
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1102
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1103
1103
|
items: ComboboxItemOption[];
|
1104
1104
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1105
1105
|
placeholder?: string;
|
@@ -1153,7 +1153,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1153
1153
|
hintOffset?: [number, number];
|
1154
1154
|
hintWidth?: string;
|
1155
1155
|
hintContentLeft?: React.ReactNode;
|
1156
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1156
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1157
1157
|
items: ComboboxItemOption[];
|
1158
1158
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1159
1159
|
placeholder?: string;
|
@@ -1207,7 +1207,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1207
1207
|
hintOffset?: never;
|
1208
1208
|
hintWidth?: never;
|
1209
1209
|
hintContentLeft?: never;
|
1210
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1210
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1211
1211
|
items: ComboboxItemOption[];
|
1212
1212
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1213
1213
|
placeholder?: string;
|
@@ -1261,7 +1261,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1261
1261
|
hintOffset?: [number, number];
|
1262
1262
|
hintWidth?: string;
|
1263
1263
|
hintContentLeft?: React.ReactNode;
|
1264
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1264
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1265
1265
|
items: ComboboxItemOption[];
|
1266
1266
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1267
1267
|
placeholder?: string;
|
@@ -1315,7 +1315,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1315
1315
|
hintOffset?: never;
|
1316
1316
|
hintWidth?: never;
|
1317
1317
|
hintContentLeft?: never;
|
1318
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1318
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>))>;
|
1319
1319
|
type PropsFromConfig = keyof typeof config['variations'];
|
1320
1320
|
export type Props<T extends ComboboxItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
|
1321
1321
|
declare const Combobox: <T extends ComboboxItemOption>(props: Props<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement | null;
|
@@ -1,34 +1,8 @@
|
|
1
1
|
import { ComponentProps } from 'react';
|
2
|
-
declare const RadioboxComponent: import("react").FunctionComponent<
|
3
|
-
size: {
|
4
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
|
-
};
|
6
|
-
view: {
|
7
|
-
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
|
-
};
|
9
|
-
disabled: {
|
10
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
-
};
|
12
|
-
focused: {
|
13
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
|
-
};
|
15
|
-
}> & import("@salutejs/plasma-new-hope/types/engines/types").Filter<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("@salutejs/plasma-new-hope/styled-components").BaseboxProps, "indeterminate" | "appearance"> & import("react").RefAttributes<HTMLInputElement>>;
|
2
|
+
declare const RadioboxComponent: import("react").FunctionComponent<any>;
|
16
3
|
export type RadioboxProps = ComponentProps<typeof RadioboxComponent>;
|
17
4
|
/**
|
18
5
|
* Переключатель, или *радиокнопка*.
|
19
6
|
*/
|
20
|
-
export declare const Radiobox: import("react").FunctionComponent<
|
21
|
-
size: {
|
22
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
23
|
-
};
|
24
|
-
view: {
|
25
|
-
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
26
|
-
};
|
27
|
-
disabled: {
|
28
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
29
|
-
};
|
30
|
-
focused: {
|
31
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
32
|
-
};
|
33
|
-
}> & import("@salutejs/plasma-new-hope/types/engines/types").Filter<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("@salutejs/plasma-new-hope/styled-components").BaseboxProps, "indeterminate" | "appearance"> & import("react").RefAttributes<HTMLInputElement>>;
|
7
|
+
export declare const Radiobox: import("react").FunctionComponent<any>;
|
34
8
|
export { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -78,7 +78,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
78
78
|
isOpen?: boolean;
|
79
79
|
listHeight?: React.CSSProperties["height"];
|
80
80
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
81
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
81
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
82
82
|
hintText: string;
|
83
83
|
hintTrigger?: "hover" | "click";
|
84
84
|
hintView?: string;
|
@@ -136,7 +136,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
136
136
|
isOpen?: boolean;
|
137
137
|
listHeight?: React.CSSProperties["height"];
|
138
138
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
139
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
139
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
140
140
|
hintTrigger?: never;
|
141
141
|
hintText?: never;
|
142
142
|
hintView?: never;
|
@@ -193,7 +193,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
193
193
|
isOpen?: boolean;
|
194
194
|
listHeight?: React.CSSProperties["height"];
|
195
195
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
196
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
196
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
197
197
|
hintTrigger?: never;
|
198
198
|
hintText?: never;
|
199
199
|
hintView?: never;
|
@@ -251,7 +251,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
251
251
|
isOpen?: boolean;
|
252
252
|
listHeight?: React.CSSProperties["height"];
|
253
253
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
254
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
254
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
255
255
|
target: "button-like";
|
256
256
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
257
257
|
contentLeft?: never;
|
@@ -296,7 +296,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
296
296
|
isOpen?: boolean;
|
297
297
|
listHeight?: React.CSSProperties["height"];
|
298
298
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
299
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
299
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
300
300
|
target: "button-like";
|
301
301
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
302
302
|
contentLeft?: never;
|
@@ -342,7 +342,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
342
342
|
isOpen?: boolean;
|
343
343
|
listHeight?: React.CSSProperties["height"];
|
344
344
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
345
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
345
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
|
346
346
|
export type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
347
347
|
declare const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
|
348
348
|
export { Select };
|
@@ -28,7 +28,7 @@ export declare const StyledSegmentItem: import("styled-components").StyledCompon
|
|
28
28
|
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
29
29
|
export declare const Subcategory: import("styled-components").StyledComponent<"div", any, {}, never>;
|
30
30
|
export declare const ColumnTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
31
|
-
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "
|
31
|
+
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "title" | "onChange"> & {
|
32
32
|
value?: boolean;
|
33
33
|
type?: "clear" | "arrow" | "sign";
|
34
34
|
contentLeft?: React.ReactNode;
|
@@ -30,7 +30,7 @@ export declare const StyledSegmentItem: import("styled-components").StyledCompon
|
|
30
30
|
export declare const AccordionTypographyTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
31
31
|
export declare const FontFamily: import("styled-components").StyledComponent<"span", any, {}, never>;
|
32
32
|
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
33
|
-
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "
|
33
|
+
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "title" | "onChange"> & {
|
34
34
|
value?: boolean;
|
35
35
|
type?: "clear" | "arrow" | "sign";
|
36
36
|
contentLeft?: React.ReactNode;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { useCallback, useRef, useState } from 'react';
|
2
2
|
import type { ComponentProps } from 'react';
|
3
|
-
import styled from 'styled-components';
|
3
|
+
import styled, { css } from 'styled-components';
|
4
4
|
import type { Meta, StoryObj } from '@storybook/react';
|
5
5
|
import { InSpacingDecorator, disableProps } from '@salutejs/plasma-sb-utils';
|
6
6
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { useCallback, useRef, useState } from 'react';
|
2
2
|
import type { ComponentProps } from 'react';
|
3
|
-
import styled from 'styled-components';
|
3
|
+
import styled, { css } from 'styled-components';
|
4
4
|
import type { Meta, StoryObj } from '@storybook/react';
|
5
5
|
import { InSpacingDecorator, disableProps } from '@salutejs/plasma-sb-utils';
|
6
6
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-cs",
|
3
|
-
"version": "0.318.1-canary.2030.
|
3
|
+
"version": "0.318.1-canary.2030.15819491481.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS CS web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"directory": "packages/sdds-cs"
|
31
31
|
},
|
32
32
|
"dependencies": {
|
33
|
-
"@salutejs/plasma-new-hope": "0.326.1-canary.2030.
|
33
|
+
"@salutejs/plasma-new-hope": "0.326.1-canary.2030.15819491481.0",
|
34
34
|
"@salutejs/sdds-themes": "0.38.0"
|
35
35
|
},
|
36
36
|
"peerDependencies": {
|
@@ -123,5 +123,5 @@
|
|
123
123
|
"Anton Vinogradov"
|
124
124
|
],
|
125
125
|
"sideEffects": false,
|
126
|
-
"gitHead": "
|
126
|
+
"gitHead": "c84b8411ba0e743d506ffd51d34ad78f8e65245d"
|
127
127
|
}
|