@salutejs/sdds-finportal 0.164.0-canary.1538.11794569428.0 → 0.164.0-canary.1550.11795356464.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,13 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- import { selectConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
3
- import React, { forwardRef } from 'react';
2
+ import { selectConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope/styled-components';
3
+ import React from 'react';
4
4
  import { config } from './Select.config';
5
5
  var mergedConfig = /*#__PURE__*/mergeConfig(selectConfig, config);
6
6
  var SelectNewHope = /*#__PURE__*/component(mergedConfig);
7
- var Select = /*#__PURE__*/forwardRef(function (props, ref) {
7
+ var SelectComponent = function SelectComponent(props, ref) {
8
8
  return /*#__PURE__*/React.createElement(SelectNewHope, _extends({
9
9
  ref: ref
10
10
  }, props));
11
- });
11
+ };
12
+ var Select = /*#__PURE__*/fixedForwardRef(SelectComponent);
12
13
  export { Select };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-finportal",
3
- "version": "0.164.0-canary.1538.11794569428.0",
3
+ "version": "0.164.0-canary.1550.11795356464.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS FinPortal web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "directory": "packages/sdds-finportal"
20
20
  },
21
21
  "dependencies": {
22
- "@salutejs/plasma-new-hope": "0.190.0-canary.1538.11794569428.0",
22
+ "@salutejs/plasma-new-hope": "0.190.0-canary.1550.11795356464.0",
23
23
  "@salutejs/sdds-themes": "0.27.0-dev.0"
24
24
  },
25
25
  "peerDependencies": {
@@ -94,5 +94,5 @@
94
94
  "Vasiliy Loginevskiy"
95
95
  ],
96
96
  "sideEffects": false,
97
- "gitHead": "c91b71dd2e8f5fbddfe17f1f97154126407fa026"
97
+ "gitHead": "4e78de8d62201d568c1d33cf67898f161909c6b4"
98
98
  }
@@ -11,7 +11,7 @@ import { addFocus } from '@salutejs/plasma-new-hope/styled-components';
11
11
  import { addNotification } from '@salutejs/plasma-new-hope/styled-components';
12
12
  import { AlignProp } from '@salutejs/plasma-new-hope/types/components/Cell/Cell.types';
13
13
  import { AnchorHTMLAttributes } from 'react';
14
- import { AsProps } from '@salutejs/plasma-new-hope/types/types';
14
+ import { AsProps } from '@salutejs/plasma-new-hope/styled-components';
15
15
  import { AvatarGroupProps } from '@salutejs/plasma-new-hope/styled-components';
16
16
  import { AvatarProps } from '@salutejs/plasma-new-hope/styled-components';
17
17
  import { BadgeProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -83,6 +83,8 @@ import { DatePickerRangeProps } from '@salutejs/plasma-new-hope/styled-component
83
83
  import { DatePickerTextFieldProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types';
84
84
  import { datePickerTokens } from '@salutejs/plasma-new-hope/styled-components';
85
85
  import { DatePickerVariationProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types';
86
+ import type { DistributiveOmit } from '@salutejs/plasma-new-hope';
87
+ import type { DistributivePick } from '@salutejs/plasma-new-hope';
86
88
  import { DividerProps } from '@salutejs/plasma-new-hope/styled-components';
87
89
  import { dividerTokens } from '@salutejs/plasma-new-hope/styled-components';
88
90
  import { DoubleSliderProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -90,6 +92,7 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
90
92
  import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
91
93
  import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
92
94
  import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
95
+ import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
93
96
  import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
94
97
  import { dsplL } from '@salutejs/sdds-themes/tokens';
95
98
  import { dsplLBold } from '@salutejs/sdds-themes/tokens';
@@ -119,19 +122,18 @@ import { HTMLAttributes } from 'react';
119
122
  import { ImageProps } from '@salutejs/plasma-new-hope/styled-components';
120
123
  import { ImgHTMLAttributes } from 'react';
121
124
  import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
122
- import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
125
+ import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
123
126
  import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
124
127
  import type { ItemOption } from '@salutejs/plasma-new-hope';
128
+ import type { ItemOptionSelect } from '@salutejs/plasma-new-hope';
125
129
  import { JSXElementConstructor } from 'react';
126
130
  import { KeyboardEvent as KeyboardEvent_2 } from 'react';
127
131
  import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
128
132
  import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
129
133
  import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
130
- import { MergedDropdownNode } from '@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types';
131
134
  import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
132
135
  import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
133
136
  import { MouseEvent as MouseEvent_2 } from 'react';
134
- import { MutableRefObject } from 'react';
135
137
  import { NotificationIconPlacement } from '@salutejs/plasma-new-hope/styled-components';
136
138
  import { NotificationLayout } from '@salutejs/plasma-new-hope/styled-components';
137
139
  import { NotificationPlacement } from '@salutejs/plasma-new-hope/styled-components';
@@ -180,7 +182,7 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
180
182
  import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
181
183
  import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
182
184
  import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
183
- import type { SelectProps } from '@salutejs/plasma-new-hope/styled-components';
185
+ import type { SelectProps as SelectProps_2 } from '@salutejs/plasma-new-hope';
184
186
  import { sheetClasses } from '@salutejs/plasma-new-hope/styled-components';
185
187
  import { SheetProps } from '@salutejs/plasma-new-hope/styled-components';
186
188
  import { ShowToastArgs } from '@salutejs/plasma-new-hope/styled-components';
@@ -202,7 +204,7 @@ import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
202
204
  import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
203
205
  import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
204
206
  import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
205
- import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
207
+ import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
206
208
  import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
207
209
  import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
208
210
  import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
@@ -1068,7 +1070,7 @@ true: PolymorphicClassName;
1068
1070
  listOverflow?: Property.Overflow | undefined;
1069
1071
  listHeight?: Property.Height<string | number> | undefined;
1070
1072
  listWidth?: Property.Width<string | number> | undefined;
1071
- portal?: MutableRefObject<HTMLElement | null> | undefined;
1073
+ portal?: string | RefObject<HTMLElement> | undefined;
1072
1074
  renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1073
1075
  filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1074
1076
  closeAfterSelect?: boolean | undefined;
@@ -1104,7 +1106,7 @@ true: PolymorphicClassName;
1104
1106
  listOverflow?: Property.Overflow | undefined;
1105
1107
  listHeight?: Property.Height<string | number> | undefined;
1106
1108
  listWidth?: Property.Width<string | number> | undefined;
1107
- portal?: MutableRefObject<HTMLElement | null> | undefined;
1109
+ portal?: string | RefObject<HTMLElement> | undefined;
1108
1110
  renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1109
1111
  filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1110
1112
  closeAfterSelect?: boolean | undefined;
@@ -1140,7 +1142,7 @@ true: PolymorphicClassName;
1140
1142
  listOverflow?: Property.Overflow | undefined;
1141
1143
  listHeight?: Property.Height<string | number> | undefined;
1142
1144
  listWidth?: Property.Width<string | number> | undefined;
1143
- portal?: MutableRefObject<HTMLElement | null> | undefined;
1145
+ portal?: string | RefObject<HTMLElement> | undefined;
1144
1146
  renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1145
1147
  filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1146
1148
  closeAfterSelect?: boolean | undefined;
@@ -1176,7 +1178,7 @@ true: PolymorphicClassName;
1176
1178
  listOverflow?: Property.Overflow | undefined;
1177
1179
  listHeight?: Property.Height<string | number> | undefined;
1178
1180
  listWidth?: Property.Width<string | number> | undefined;
1179
- portal?: MutableRefObject<HTMLElement | null> | undefined;
1181
+ portal?: string | RefObject<HTMLElement> | undefined;
1180
1182
  renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1181
1183
  filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1182
1184
  closeAfterSelect?: boolean | undefined;
@@ -1212,7 +1214,7 @@ true: PolymorphicClassName;
1212
1214
  listOverflow?: Property.Overflow | undefined;
1213
1215
  listHeight?: Property.Height<string | number> | undefined;
1214
1216
  listWidth?: Property.Width<string | number> | undefined;
1215
- portal?: MutableRefObject<HTMLElement | null> | undefined;
1217
+ portal?: string | RefObject<HTMLElement> | undefined;
1216
1218
  renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1217
1219
  filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1218
1220
  closeAfterSelect?: boolean | undefined;
@@ -1248,7 +1250,7 @@ true: PolymorphicClassName;
1248
1250
  listOverflow?: Property.Overflow | undefined;
1249
1251
  listHeight?: Property.Height<string | number> | undefined;
1250
1252
  listWidth?: Property.Width<string | number> | undefined;
1251
- portal?: MutableRefObject<HTMLElement | null> | undefined;
1253
+ portal?: string | RefObject<HTMLElement> | undefined;
1252
1254
  renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1253
1255
  filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1254
1256
  closeAfterSelect?: boolean | undefined;
@@ -1284,7 +1286,7 @@ true: PolymorphicClassName;
1284
1286
  listOverflow?: Property.Overflow | undefined;
1285
1287
  listHeight?: Property.Height<string | number> | undefined;
1286
1288
  listWidth?: Property.Width<string | number> | undefined;
1287
- portal?: MutableRefObject<HTMLElement | null> | undefined;
1289
+ portal?: string | RefObject<HTMLElement> | undefined;
1288
1290
  renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1289
1291
  filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1290
1292
  closeAfterSelect?: boolean | undefined;
@@ -1320,7 +1322,7 @@ true: PolymorphicClassName;
1320
1322
  listOverflow?: Property.Overflow | undefined;
1321
1323
  listHeight?: Property.Height<string | number> | undefined;
1322
1324
  listWidth?: Property.Width<string | number> | undefined;
1323
- portal?: MutableRefObject<HTMLElement | null> | undefined;
1325
+ portal?: string | RefObject<HTMLElement> | undefined;
1324
1326
  renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1325
1327
  filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1326
1328
  closeAfterSelect?: boolean | undefined;
@@ -1356,7 +1358,7 @@ true: PolymorphicClassName;
1356
1358
  listOverflow?: Property.Overflow | undefined;
1357
1359
  listHeight?: Property.Height<string | number> | undefined;
1358
1360
  listWidth?: Property.Width<string | number> | undefined;
1359
- portal?: MutableRefObject<HTMLElement | null> | undefined;
1361
+ portal?: string | RefObject<HTMLElement> | undefined;
1360
1362
  renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1361
1363
  filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1362
1364
  closeAfterSelect?: boolean | undefined;
@@ -1392,7 +1394,7 @@ true: PolymorphicClassName;
1392
1394
  listOverflow?: Property.Overflow | undefined;
1393
1395
  listHeight?: Property.Height<string | number> | undefined;
1394
1396
  listWidth?: Property.Width<string | number> | undefined;
1395
- portal?: MutableRefObject<HTMLElement | null> | undefined;
1397
+ portal?: string | RefObject<HTMLElement> | undefined;
1396
1398
  renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1397
1399
  filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1398
1400
  closeAfterSelect?: boolean | undefined;
@@ -1428,7 +1430,7 @@ true: PolymorphicClassName;
1428
1430
  listOverflow?: Property.Overflow | undefined;
1429
1431
  listHeight?: Property.Height<string | number> | undefined;
1430
1432
  listWidth?: Property.Width<string | number> | undefined;
1431
- portal?: MutableRefObject<HTMLElement | null> | undefined;
1433
+ portal?: string | RefObject<HTMLElement> | undefined;
1432
1434
  renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1433
1435
  filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1434
1436
  closeAfterSelect?: boolean | undefined;
@@ -1464,7 +1466,7 @@ true: PolymorphicClassName;
1464
1466
  listOverflow?: Property.Overflow | undefined;
1465
1467
  listHeight?: Property.Height<string | number> | undefined;
1466
1468
  listWidth?: Property.Width<string | number> | undefined;
1467
- portal?: MutableRefObject<HTMLElement | null> | undefined;
1469
+ portal?: string | RefObject<HTMLElement> | undefined;
1468
1470
  renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1469
1471
  filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1470
1472
  closeAfterSelect?: boolean | undefined;
@@ -3594,184 +3596,10 @@ export { SegmentProvider }
3594
3596
 
3595
3597
  export { SegmentProviderProps }
3596
3598
 
3599
+ // Warning: (ae-forgotten-export) The symbol "SelectProps" needs to be exported by the entry point index.d.ts
3600
+ //
3597
3601
  // @public (undocumented)
3598
- export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps, "view" | "size" | "chipView"> & Pick<PropsType< {
3599
- size: {
3600
- xs: PolymorphicClassName;
3601
- s: PolymorphicClassName;
3602
- m: PolymorphicClassName;
3603
- l: PolymorphicClassName;
3604
- };
3605
- view: {
3606
- default: PolymorphicClassName;
3607
- positive: PolymorphicClassName;
3608
- warning: PolymorphicClassName;
3609
- negative: PolymorphicClassName;
3610
- accent: PolymorphicClassName;
3611
- secondary: PolymorphicClassName;
3612
- clear: PolymorphicClassName;
3613
- dark: PolymorphicClassName;
3614
- black: PolymorphicClassName;
3615
- white: PolymorphicClassName;
3616
- };
3617
- chipView: {
3618
- default: PolymorphicClassName;
3619
- secondary: PolymorphicClassName;
3620
- accent: PolymorphicClassName;
3621
- };
3622
- }> & (({
3623
- target?: "textfield-like" | undefined;
3624
- view?: "default" | "positive" | "warning" | "negative" | undefined;
3625
- contentLeft?: React_2.ReactNode;
3626
- labelPlacement?: "outer" | "inner" | undefined;
3627
- placeholder?: string | undefined;
3628
- helperText?: string | undefined;
3629
- } & {
3630
- multiselect?: false | undefined;
3631
- separator?: undefined;
3632
- } & {
3633
- value: any;
3634
- onChange?: ((value: any) => void) | undefined;
3635
- listOverflow?: Property.Overflow | undefined;
3636
- listHeight?: Property.Height<string | number> | undefined;
3637
- status?: "warning" | "success" | "error" | undefined;
3638
- placeholder?: string | undefined;
3639
- helperText?: string | undefined;
3640
- disabled?: boolean | undefined;
3641
- items?: MergedDropdownNode[] | undefined;
3642
- onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
3643
- hasItems?: boolean | undefined;
3644
- children?: undefined;
3645
- isOpen?: boolean | undefined;
3646
- isTargetAmount?: boolean | undefined;
3647
- renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
3648
- placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
3649
- label?: string | undefined;
3650
- onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
3651
- variant?: "normal" | "tight" | undefined;
3652
- listWidth?: Property.Width<string | number> | undefined;
3653
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
3654
- renderValue?: ((item: MergedDropdownNode) => string) | undefined;
3655
- renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
3656
- closeAfterSelect?: boolean | undefined;
3657
- size?: string | undefined;
3658
- view?: string | undefined;
3659
- chipView?: string | undefined;
3660
- } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3661
- target?: "textfield-like" | undefined;
3662
- view?: "default" | "positive" | "warning" | "negative" | undefined;
3663
- contentLeft?: React_2.ReactNode;
3664
- labelPlacement?: "outer" | "inner" | undefined;
3665
- placeholder?: string | undefined;
3666
- helperText?: string | undefined;
3667
- } & {
3668
- multiselect?: true | undefined;
3669
- separator?: string | undefined;
3670
- } & {
3671
- value: any;
3672
- onChange?: ((value: any) => void) | undefined;
3673
- listOverflow?: Property.Overflow | undefined;
3674
- listHeight?: Property.Height<string | number> | undefined;
3675
- status?: "warning" | "success" | "error" | undefined;
3676
- placeholder?: string | undefined;
3677
- helperText?: string | undefined;
3678
- disabled?: boolean | undefined;
3679
- items?: MergedDropdownNode[] | undefined;
3680
- onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
3681
- hasItems?: boolean | undefined;
3682
- children?: undefined;
3683
- isOpen?: boolean | undefined;
3684
- isTargetAmount?: boolean | undefined;
3685
- renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
3686
- placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
3687
- label?: string | undefined;
3688
- onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
3689
- variant?: "normal" | "tight" | undefined;
3690
- listWidth?: Property.Width<string | number> | undefined;
3691
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
3692
- renderValue?: ((item: MergedDropdownNode) => string) | undefined;
3693
- renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
3694
- closeAfterSelect?: boolean | undefined;
3695
- size?: string | undefined;
3696
- view?: string | undefined;
3697
- chipView?: string | undefined;
3698
- } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3699
- target?: "button-like" | undefined;
3700
- view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
3701
- contentLeft?: undefined;
3702
- labelPlacement?: undefined;
3703
- placeholder?: undefined;
3704
- helperText?: undefined;
3705
- } & {
3706
- multiselect?: false | undefined;
3707
- separator?: undefined;
3708
- } & {
3709
- value: any;
3710
- onChange?: ((value: any) => void) | undefined;
3711
- listOverflow?: Property.Overflow | undefined;
3712
- listHeight?: Property.Height<string | number> | undefined;
3713
- status?: "warning" | "success" | "error" | undefined;
3714
- placeholder?: string | undefined;
3715
- helperText?: string | undefined;
3716
- disabled?: boolean | undefined;
3717
- items?: MergedDropdownNode[] | undefined;
3718
- onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
3719
- hasItems?: boolean | undefined;
3720
- children?: undefined;
3721
- isOpen?: boolean | undefined;
3722
- isTargetAmount?: boolean | undefined;
3723
- renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
3724
- placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
3725
- label?: string | undefined;
3726
- onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
3727
- variant?: "normal" | "tight" | undefined;
3728
- listWidth?: Property.Width<string | number> | undefined;
3729
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
3730
- renderValue?: ((item: MergedDropdownNode) => string) | undefined;
3731
- renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
3732
- closeAfterSelect?: boolean | undefined;
3733
- size?: string | undefined;
3734
- view?: string | undefined;
3735
- chipView?: string | undefined;
3736
- } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3737
- target?: "button-like" | undefined;
3738
- view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
3739
- contentLeft?: undefined;
3740
- labelPlacement?: undefined;
3741
- placeholder?: undefined;
3742
- helperText?: undefined;
3743
- } & {
3744
- multiselect?: true | undefined;
3745
- separator?: string | undefined;
3746
- } & {
3747
- value: any;
3748
- onChange?: ((value: any) => void) | undefined;
3749
- listOverflow?: Property.Overflow | undefined;
3750
- listHeight?: Property.Height<string | number> | undefined;
3751
- status?: "warning" | "success" | "error" | undefined;
3752
- placeholder?: string | undefined;
3753
- helperText?: string | undefined;
3754
- disabled?: boolean | undefined;
3755
- items?: MergedDropdownNode[] | undefined;
3756
- onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
3757
- hasItems?: boolean | undefined;
3758
- children?: undefined;
3759
- isOpen?: boolean | undefined;
3760
- isTargetAmount?: boolean | undefined;
3761
- renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
3762
- placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
3763
- label?: string | undefined;
3764
- onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
3765
- variant?: "normal" | "tight" | undefined;
3766
- listWidth?: Property.Width<string | number> | undefined;
3767
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
3768
- renderValue?: ((item: MergedDropdownNode) => string) | undefined;
3769
- renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
3770
- closeAfterSelect?: boolean | undefined;
3771
- size?: string | undefined;
3772
- view?: string | undefined;
3773
- chipView?: string | undefined;
3774
- } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>)), "view" | "size" | "chipView"> & React_2.RefAttributes<HTMLButtonElement>>;
3602
+ export const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
3775
3603
 
3776
3604
  // @public
3777
3605
  export const Sheet: FunctionComponent<PropsType< {