@salutejs/sdds-dfa 0.167.1-canary.1517.11744378817.0 → 0.168.0-canary.1550.11767527974.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-dfa.api.md +35 -28
- package/components/Combobox/Combobox.d.ts +12 -12
- package/components/Combobox/index.d.ts +12 -12
- package/components/Select/Select.config.d.ts +15 -7
- package/components/Select/Select.config.js +29 -21
- package/components/Select/Select.d.ts +22 -15
- package/components/Steps/Steps.config.js +1 -1
- package/es/components/Select/Select.config.js +30 -22
- package/es/components/Steps/Steps.config.js +1 -1
- package/package.json +3 -3
- package/temp/sdds-dfa.api.md +35 -28
package/api/sdds-dfa.api.md
CHANGED
@@ -118,6 +118,7 @@ import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
118
118
|
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
|
119
119
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
|
120
120
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
121
|
+
import { ItemOption as ItemOption_2 } from '@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types';
|
121
122
|
import { JSXElementConstructor } from 'react';
|
122
123
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
123
124
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
@@ -127,7 +128,6 @@ import { MergedDropdownNode } from '@salutejs/plasma-new-hope/types/components/S
|
|
127
128
|
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
|
128
129
|
import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
|
129
130
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
130
|
-
import { MutableRefObject } from 'react';
|
131
131
|
import { numberInputClasses } from '@salutejs/plasma-new-hope/styled-components';
|
132
132
|
import { numberInputTokens } from '@salutejs/plasma-new-hope/styled-components';
|
133
133
|
import { Orientation } from '@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types';
|
@@ -1015,7 +1015,7 @@ true: PolymorphicClassName;
|
|
1015
1015
|
listOverflow?: Property.Overflow | undefined;
|
1016
1016
|
listHeight?: Property.Height<string | number> | undefined;
|
1017
1017
|
listWidth?: Property.Width<string | number> | undefined;
|
1018
|
-
portal?:
|
1018
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1019
1019
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1020
1020
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1021
1021
|
closeAfterSelect?: boolean | undefined;
|
@@ -1051,7 +1051,7 @@ true: PolymorphicClassName;
|
|
1051
1051
|
listOverflow?: Property.Overflow | undefined;
|
1052
1052
|
listHeight?: Property.Height<string | number> | undefined;
|
1053
1053
|
listWidth?: Property.Width<string | number> | undefined;
|
1054
|
-
portal?:
|
1054
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1055
1055
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1056
1056
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1057
1057
|
closeAfterSelect?: boolean | undefined;
|
@@ -1087,7 +1087,7 @@ true: PolymorphicClassName;
|
|
1087
1087
|
listOverflow?: Property.Overflow | undefined;
|
1088
1088
|
listHeight?: Property.Height<string | number> | undefined;
|
1089
1089
|
listWidth?: Property.Width<string | number> | undefined;
|
1090
|
-
portal?:
|
1090
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1091
1091
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1092
1092
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1093
1093
|
closeAfterSelect?: boolean | undefined;
|
@@ -1123,7 +1123,7 @@ true: PolymorphicClassName;
|
|
1123
1123
|
listOverflow?: Property.Overflow | undefined;
|
1124
1124
|
listHeight?: Property.Height<string | number> | undefined;
|
1125
1125
|
listWidth?: Property.Width<string | number> | undefined;
|
1126
|
-
portal?:
|
1126
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1127
1127
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1128
1128
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1129
1129
|
closeAfterSelect?: boolean | undefined;
|
@@ -1159,7 +1159,7 @@ true: PolymorphicClassName;
|
|
1159
1159
|
listOverflow?: Property.Overflow | undefined;
|
1160
1160
|
listHeight?: Property.Height<string | number> | undefined;
|
1161
1161
|
listWidth?: Property.Width<string | number> | undefined;
|
1162
|
-
portal?:
|
1162
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1163
1163
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1164
1164
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1165
1165
|
closeAfterSelect?: boolean | undefined;
|
@@ -1195,7 +1195,7 @@ true: PolymorphicClassName;
|
|
1195
1195
|
listOverflow?: Property.Overflow | undefined;
|
1196
1196
|
listHeight?: Property.Height<string | number> | undefined;
|
1197
1197
|
listWidth?: Property.Width<string | number> | undefined;
|
1198
|
-
portal?:
|
1198
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1199
1199
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1200
1200
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1201
1201
|
closeAfterSelect?: boolean | undefined;
|
@@ -1231,7 +1231,7 @@ true: PolymorphicClassName;
|
|
1231
1231
|
listOverflow?: Property.Overflow | undefined;
|
1232
1232
|
listHeight?: Property.Height<string | number> | undefined;
|
1233
1233
|
listWidth?: Property.Width<string | number> | undefined;
|
1234
|
-
portal?:
|
1234
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1235
1235
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1236
1236
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1237
1237
|
closeAfterSelect?: boolean | undefined;
|
@@ -1267,7 +1267,7 @@ true: PolymorphicClassName;
|
|
1267
1267
|
listOverflow?: Property.Overflow | undefined;
|
1268
1268
|
listHeight?: Property.Height<string | number> | undefined;
|
1269
1269
|
listWidth?: Property.Width<string | number> | undefined;
|
1270
|
-
portal?:
|
1270
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1271
1271
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1272
1272
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1273
1273
|
closeAfterSelect?: boolean | undefined;
|
@@ -1303,7 +1303,7 @@ true: PolymorphicClassName;
|
|
1303
1303
|
listOverflow?: Property.Overflow | undefined;
|
1304
1304
|
listHeight?: Property.Height<string | number> | undefined;
|
1305
1305
|
listWidth?: Property.Width<string | number> | undefined;
|
1306
|
-
portal?:
|
1306
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1307
1307
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1308
1308
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1309
1309
|
closeAfterSelect?: boolean | undefined;
|
@@ -1339,7 +1339,7 @@ true: PolymorphicClassName;
|
|
1339
1339
|
listOverflow?: Property.Overflow | undefined;
|
1340
1340
|
listHeight?: Property.Height<string | number> | undefined;
|
1341
1341
|
listWidth?: Property.Width<string | number> | undefined;
|
1342
|
-
portal?:
|
1342
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1343
1343
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1344
1344
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1345
1345
|
closeAfterSelect?: boolean | undefined;
|
@@ -1375,7 +1375,7 @@ true: PolymorphicClassName;
|
|
1375
1375
|
listOverflow?: Property.Overflow | undefined;
|
1376
1376
|
listHeight?: Property.Height<string | number> | undefined;
|
1377
1377
|
listWidth?: Property.Width<string | number> | undefined;
|
1378
|
-
portal?:
|
1378
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1379
1379
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1380
1380
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1381
1381
|
closeAfterSelect?: boolean | undefined;
|
@@ -1411,7 +1411,7 @@ true: PolymorphicClassName;
|
|
1411
1411
|
listOverflow?: Property.Overflow | undefined;
|
1412
1412
|
listHeight?: Property.Height<string | number> | undefined;
|
1413
1413
|
listWidth?: Property.Width<string | number> | undefined;
|
1414
|
-
portal?:
|
1414
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1415
1415
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1416
1416
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1417
1417
|
closeAfterSelect?: boolean | undefined;
|
@@ -3497,13 +3497,7 @@ export { SegmentProvider }
|
|
3497
3497
|
export { SegmentProviderProps }
|
3498
3498
|
|
3499
3499
|
// @public (undocumented)
|
3500
|
-
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps
|
3501
|
-
size: {
|
3502
|
-
xs: PolymorphicClassName;
|
3503
|
-
s: PolymorphicClassName;
|
3504
|
-
m: PolymorphicClassName;
|
3505
|
-
l: PolymorphicClassName;
|
3506
|
-
};
|
3500
|
+
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps<ItemOption_2>, "view" | "size" | "chipView"> & Pick<PropsType< {
|
3507
3501
|
view: {
|
3508
3502
|
default: PolymorphicClassName;
|
3509
3503
|
positive: PolymorphicClassName;
|
@@ -3516,11 +3510,24 @@ dark: PolymorphicClassName;
|
|
3516
3510
|
black: PolymorphicClassName;
|
3517
3511
|
white: PolymorphicClassName;
|
3518
3512
|
};
|
3513
|
+
size: {
|
3514
|
+
l: PolymorphicClassName;
|
3515
|
+
m: PolymorphicClassName;
|
3516
|
+
s: PolymorphicClassName;
|
3517
|
+
xs: PolymorphicClassName;
|
3518
|
+
};
|
3519
|
+
labelPlacement: {
|
3520
|
+
inner: PolymorphicClassName;
|
3521
|
+
outer: PolymorphicClassName;
|
3522
|
+
};
|
3519
3523
|
chipView: {
|
3520
3524
|
default: PolymorphicClassName;
|
3521
3525
|
secondary: PolymorphicClassName;
|
3522
3526
|
accent: PolymorphicClassName;
|
3523
3527
|
};
|
3528
|
+
disabled: {
|
3529
|
+
true: PolymorphicClassName;
|
3530
|
+
};
|
3524
3531
|
}> & (({
|
3525
3532
|
target?: "textfield-like" | undefined;
|
3526
3533
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
@@ -3532,7 +3539,7 @@ accent: PolymorphicClassName;
|
|
3532
3539
|
multiselect?: false | undefined;
|
3533
3540
|
separator?: undefined;
|
3534
3541
|
} & {
|
3535
|
-
value
|
3542
|
+
value?: any;
|
3536
3543
|
onChange?: ((value: any) => void) | undefined;
|
3537
3544
|
listOverflow?: Property.Overflow | undefined;
|
3538
3545
|
listHeight?: Property.Height<string | number> | undefined;
|
@@ -3547,7 +3554,7 @@ accent: PolymorphicClassName;
|
|
3547
3554
|
isOpen?: boolean | undefined;
|
3548
3555
|
isTargetAmount?: boolean | undefined;
|
3549
3556
|
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3550
|
-
placement?: ("
|
3557
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3551
3558
|
label?: string | undefined;
|
3552
3559
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3553
3560
|
variant?: "normal" | "tight" | undefined;
|
@@ -3570,7 +3577,7 @@ accent: PolymorphicClassName;
|
|
3570
3577
|
multiselect?: true | undefined;
|
3571
3578
|
separator?: string | undefined;
|
3572
3579
|
} & {
|
3573
|
-
value
|
3580
|
+
value?: any;
|
3574
3581
|
onChange?: ((value: any) => void) | undefined;
|
3575
3582
|
listOverflow?: Property.Overflow | undefined;
|
3576
3583
|
listHeight?: Property.Height<string | number> | undefined;
|
@@ -3585,7 +3592,7 @@ accent: PolymorphicClassName;
|
|
3585
3592
|
isOpen?: boolean | undefined;
|
3586
3593
|
isTargetAmount?: boolean | undefined;
|
3587
3594
|
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3588
|
-
placement?: ("
|
3595
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3589
3596
|
label?: string | undefined;
|
3590
3597
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3591
3598
|
variant?: "normal" | "tight" | undefined;
|
@@ -3608,7 +3615,7 @@ accent: PolymorphicClassName;
|
|
3608
3615
|
multiselect?: false | undefined;
|
3609
3616
|
separator?: undefined;
|
3610
3617
|
} & {
|
3611
|
-
value
|
3618
|
+
value?: any;
|
3612
3619
|
onChange?: ((value: any) => void) | undefined;
|
3613
3620
|
listOverflow?: Property.Overflow | undefined;
|
3614
3621
|
listHeight?: Property.Height<string | number> | undefined;
|
@@ -3623,7 +3630,7 @@ accent: PolymorphicClassName;
|
|
3623
3630
|
isOpen?: boolean | undefined;
|
3624
3631
|
isTargetAmount?: boolean | undefined;
|
3625
3632
|
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3626
|
-
placement?: ("
|
3633
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3627
3634
|
label?: string | undefined;
|
3628
3635
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3629
3636
|
variant?: "normal" | "tight" | undefined;
|
@@ -3646,7 +3653,7 @@ accent: PolymorphicClassName;
|
|
3646
3653
|
multiselect?: true | undefined;
|
3647
3654
|
separator?: string | undefined;
|
3648
3655
|
} & {
|
3649
|
-
value
|
3656
|
+
value?: any;
|
3650
3657
|
onChange?: ((value: any) => void) | undefined;
|
3651
3658
|
listOverflow?: Property.Overflow | undefined;
|
3652
3659
|
listHeight?: Property.Height<string | number> | undefined;
|
@@ -3661,7 +3668,7 @@ accent: PolymorphicClassName;
|
|
3661
3668
|
isOpen?: boolean | undefined;
|
3662
3669
|
isTargetAmount?: boolean | undefined;
|
3663
3670
|
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3664
|
-
placement?: ("
|
3671
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3665
3672
|
label?: string | undefined;
|
3666
3673
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3667
3674
|
variant?: "normal" | "tight" | undefined;
|
@@ -35,7 +35,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
35
35
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
36
36
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
37
37
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
38
|
-
portal?: import("react").
|
38
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
39
39
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
40
40
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
41
41
|
closeAfterSelect?: boolean | undefined;
|
@@ -71,7 +71,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
71
71
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
72
72
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
73
73
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
74
|
-
portal?: import("react").
|
74
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
75
75
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
76
76
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
77
77
|
closeAfterSelect?: boolean | undefined;
|
@@ -107,7 +107,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
107
107
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
108
108
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
109
109
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
110
|
-
portal?: import("react").
|
110
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
111
111
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
112
112
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
113
113
|
closeAfterSelect?: boolean | undefined;
|
@@ -143,7 +143,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
143
143
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
144
144
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
145
145
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
146
|
-
portal?: import("react").
|
146
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
147
147
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
148
148
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
149
149
|
closeAfterSelect?: boolean | undefined;
|
@@ -179,7 +179,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
179
179
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
180
180
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
181
181
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
182
|
-
portal?: import("react").
|
182
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
183
183
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
184
184
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
185
185
|
closeAfterSelect?: boolean | undefined;
|
@@ -215,7 +215,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
215
215
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
216
216
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
217
217
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
218
|
-
portal?: import("react").
|
218
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
219
219
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
220
220
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
221
221
|
closeAfterSelect?: boolean | undefined;
|
@@ -251,7 +251,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
251
251
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
252
252
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
253
253
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
254
|
-
portal?: import("react").
|
254
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
255
255
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
256
256
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
257
257
|
closeAfterSelect?: boolean | undefined;
|
@@ -287,7 +287,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
287
287
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
288
288
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
289
289
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
290
|
-
portal?: import("react").
|
290
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
291
291
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
292
292
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
293
293
|
closeAfterSelect?: boolean | undefined;
|
@@ -323,7 +323,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
323
323
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
324
324
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
325
325
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
326
|
-
portal?: import("react").
|
326
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
327
327
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
328
328
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
329
329
|
closeAfterSelect?: boolean | undefined;
|
@@ -359,7 +359,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
359
359
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
360
360
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
361
361
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
362
|
-
portal?: import("react").
|
362
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
363
363
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
364
364
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
365
365
|
closeAfterSelect?: boolean | undefined;
|
@@ -395,7 +395,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
395
395
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
396
396
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
397
397
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
398
|
-
portal?: import("react").
|
398
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
399
399
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
400
400
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
401
401
|
closeAfterSelect?: boolean | undefined;
|
@@ -431,7 +431,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
431
431
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
432
432
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
433
433
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
434
|
-
portal?: import("react").
|
434
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
435
435
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
436
436
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
437
437
|
closeAfterSelect?: boolean | undefined;
|
@@ -40,7 +40,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
40
40
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
41
41
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
42
42
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
43
|
-
portal?: import("react").
|
43
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
44
44
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
45
45
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
46
46
|
closeAfterSelect?: boolean | undefined;
|
@@ -76,7 +76,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
76
76
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
77
77
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
78
78
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
79
|
-
portal?: import("react").
|
79
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
80
80
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
81
81
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
82
82
|
closeAfterSelect?: boolean | undefined;
|
@@ -112,7 +112,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
112
112
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
113
113
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
114
114
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
115
|
-
portal?: import("react").
|
115
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
116
116
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
117
117
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
118
118
|
closeAfterSelect?: boolean | undefined;
|
@@ -148,7 +148,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
148
148
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
149
149
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
150
150
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
151
|
-
portal?: import("react").
|
151
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
152
152
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
153
153
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
154
154
|
closeAfterSelect?: boolean | undefined;
|
@@ -184,7 +184,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
184
184
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
185
185
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
186
186
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
187
|
-
portal?: import("react").
|
187
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
188
188
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
189
189
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
190
190
|
closeAfterSelect?: boolean | undefined;
|
@@ -220,7 +220,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
220
220
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
221
221
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
222
222
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
223
|
-
portal?: import("react").
|
223
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
224
224
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
225
225
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
226
226
|
closeAfterSelect?: boolean | undefined;
|
@@ -256,7 +256,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
256
256
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
257
257
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
258
258
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
259
|
-
portal?: import("react").
|
259
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
260
260
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
261
261
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
262
262
|
closeAfterSelect?: boolean | undefined;
|
@@ -292,7 +292,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
292
292
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
293
293
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
294
294
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
295
|
-
portal?: import("react").
|
295
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
296
296
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
297
297
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
298
298
|
closeAfterSelect?: boolean | undefined;
|
@@ -328,7 +328,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
328
328
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
329
329
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
330
330
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
331
|
-
portal?: import("react").
|
331
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
332
332
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
333
333
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
334
334
|
closeAfterSelect?: boolean | undefined;
|
@@ -364,7 +364,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
364
364
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
365
365
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
366
366
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
367
|
-
portal?: import("react").
|
367
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
368
368
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
369
369
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
370
370
|
closeAfterSelect?: boolean | undefined;
|
@@ -400,7 +400,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
400
400
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
401
401
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
402
402
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
403
|
-
portal?: import("react").
|
403
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
404
404
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
405
405
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
406
406
|
closeAfterSelect?: boolean | undefined;
|
@@ -436,7 +436,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
436
436
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
437
437
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
438
438
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
439
|
-
portal?: import("react").
|
439
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
440
440
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
441
441
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
442
442
|
closeAfterSelect?: boolean | undefined;
|
@@ -1,16 +1,11 @@
|
|
1
1
|
export declare const config: {
|
2
2
|
defaults: {
|
3
3
|
view: string;
|
4
|
-
chipView: string;
|
5
4
|
size: string;
|
5
|
+
labelPlacement: string;
|
6
|
+
chipView: string;
|
6
7
|
};
|
7
8
|
variations: {
|
8
|
-
size: {
|
9
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
-
};
|
14
9
|
view: {
|
15
10
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
16
11
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -23,10 +18,23 @@ export declare const config: {
|
|
23
18
|
black: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
24
19
|
white: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
25
20
|
};
|
21
|
+
size: {
|
22
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
23
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
24
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
25
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
26
|
+
};
|
27
|
+
labelPlacement: {
|
28
|
+
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
29
|
+
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
30
|
+
};
|
26
31
|
chipView: {
|
27
32
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
28
33
|
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
29
34
|
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
30
35
|
};
|
36
|
+
disabled: {
|
37
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
38
|
+
};
|
31
39
|
};
|
32
40
|
};
|