@megafon/ui-core 3.0.0-beta.7 → 3.0.1

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.
Files changed (91) hide show
  1. package/CHANGELOG.md +56 -77
  2. package/README.md +2 -2
  3. package/dist/es/colors/Colors.d.ts +2 -2
  4. package/dist/es/colors/colorsData.js +1 -1
  5. package/dist/es/components/Accordion/Accordion.css +1 -15
  6. package/dist/es/components/Accordion/Accordion.d.ts +0 -2
  7. package/dist/es/components/Accordion/Accordion.js +2 -7
  8. package/dist/es/components/Banner/Banner.css +28 -0
  9. package/dist/es/components/Banner/Banner.d.ts +2 -0
  10. package/dist/es/components/Banner/Banner.js +15 -10
  11. package/dist/es/components/Button/Button.css +3 -3
  12. package/dist/es/components/Button/Button.js +3 -3
  13. package/dist/es/components/Calendar/Calendar.js +3 -2
  14. package/dist/es/components/Calendar/components/Day/Day.js +1 -1
  15. package/dist/es/components/Carousel/Carousel.js +17 -14
  16. package/dist/es/components/Checkbox/Checkbox.js +1 -1
  17. package/dist/es/components/Counter/Counter.js +3 -3
  18. package/dist/es/components/Link/Link.d.ts +1 -1
  19. package/dist/es/components/Link/Link.js +19 -27
  20. package/dist/es/components/Logo/Logo.js +1 -1
  21. package/dist/es/components/NavArrow/NavArrow.css +1 -1
  22. package/dist/es/components/Notification/Notification.css +34 -25
  23. package/dist/es/components/Notification/Notification.js +4 -2
  24. package/dist/es/components/Pagination/components/PaginationButton/PaginationButton.js +1 -1
  25. package/dist/es/components/Pagination/helpers.d.ts +1 -1
  26. package/dist/es/components/Paragraph/Paragraph.css +0 -9
  27. package/dist/es/components/Paragraph/Paragraph.d.ts +0 -3
  28. package/dist/es/components/Paragraph/Paragraph.js +1 -4
  29. package/dist/es/components/RadioButton/RadioButton.js +1 -1
  30. package/dist/es/components/Search/Search.js +4 -3
  31. package/dist/es/components/Select/Select.css +5 -2
  32. package/dist/es/components/Select/Select.d.ts +5 -45
  33. package/dist/es/components/Select/Select.js +364 -467
  34. package/dist/es/components/Select/reducer/selectReducer.d.ts +34 -0
  35. package/dist/es/components/Select/reducer/selectReducer.js +123 -0
  36. package/dist/es/components/Switcher/Switcher.css +19 -15
  37. package/dist/es/components/Switcher/Switcher.js +1 -1
  38. package/dist/es/components/Tabs/Tabs.d.ts +2 -0
  39. package/dist/es/components/Tabs/Tabs.js +94 -49
  40. package/dist/es/components/TextField/TextField.d.ts +3 -1
  41. package/dist/es/components/TextField/TextField.js +14 -10
  42. package/dist/es/components/Tile/Tile.js +1 -1
  43. package/dist/es/components/Tooltip/Tooltip.js +17 -17
  44. package/dist/es/index.d.ts +1 -0
  45. package/dist/es/index.js +1 -0
  46. package/dist/lib/colors/Colors.d.ts +2 -2
  47. package/dist/lib/colors/colorsData.js +1 -1
  48. package/dist/lib/components/Accordion/Accordion.css +1 -15
  49. package/dist/lib/components/Accordion/Accordion.d.ts +0 -2
  50. package/dist/lib/components/Accordion/Accordion.js +2 -7
  51. package/dist/lib/components/Banner/Banner.css +28 -0
  52. package/dist/lib/components/Banner/Banner.d.ts +2 -0
  53. package/dist/lib/components/Banner/Banner.js +15 -10
  54. package/dist/lib/components/Button/Button.css +3 -3
  55. package/dist/lib/components/Button/Button.js +3 -3
  56. package/dist/lib/components/Calendar/Calendar.js +3 -3
  57. package/dist/lib/components/Calendar/components/Day/Day.js +1 -1
  58. package/dist/lib/components/Carousel/Carousel.js +15 -12
  59. package/dist/lib/components/Checkbox/Checkbox.js +1 -1
  60. package/dist/lib/components/Counter/Counter.js +3 -3
  61. package/dist/lib/components/Link/Link.d.ts +1 -1
  62. package/dist/lib/components/Link/Link.js +28 -43
  63. package/dist/lib/components/Logo/Logo.js +1 -1
  64. package/dist/lib/components/NavArrow/NavArrow.css +1 -1
  65. package/dist/lib/components/Notification/Notification.css +34 -25
  66. package/dist/lib/components/Notification/Notification.js +4 -2
  67. package/dist/lib/components/Pagination/components/PaginationButton/PaginationButton.js +1 -1
  68. package/dist/lib/components/Pagination/helpers.d.ts +1 -1
  69. package/dist/lib/components/Paragraph/Paragraph.css +0 -9
  70. package/dist/lib/components/Paragraph/Paragraph.d.ts +0 -3
  71. package/dist/lib/components/Paragraph/Paragraph.js +1 -4
  72. package/dist/lib/components/RadioButton/RadioButton.js +1 -1
  73. package/dist/lib/components/Search/Search.js +4 -3
  74. package/dist/lib/components/Select/Select.css +5 -2
  75. package/dist/lib/components/Select/Select.d.ts +5 -45
  76. package/dist/lib/components/Select/Select.js +358 -490
  77. package/dist/lib/components/Select/reducer/selectReducer.d.ts +34 -0
  78. package/dist/lib/components/Select/reducer/selectReducer.js +136 -0
  79. package/dist/lib/components/Switcher/Switcher.css +19 -15
  80. package/dist/lib/components/Switcher/Switcher.js +1 -1
  81. package/dist/lib/components/Tabs/Tabs.d.ts +2 -0
  82. package/dist/lib/components/Tabs/Tabs.js +94 -49
  83. package/dist/lib/components/TextField/TextField.d.ts +3 -1
  84. package/dist/lib/components/TextField/TextField.js +14 -10
  85. package/dist/lib/components/Tile/Tile.js +1 -1
  86. package/dist/lib/components/Tooltip/Tooltip.js +17 -17
  87. package/dist/lib/index.d.ts +1 -0
  88. package/dist/lib/index.js +8 -0
  89. package/package.json +4 -4
  90. package/styles/colors.css +2 -2
  91. package/styles/colorsDark.css +1 -1
@@ -1,33 +1,25 @@
1
- import "core-js/modules/es.symbol";
2
- import "core-js/modules/es.array.index-of";
3
1
  import _extends from "@babel/runtime/helpers/extends";
4
-
5
- var __rest = this && this.__rest || function (s, e) {
6
- var t = {};
7
-
8
- for (var p in s) {
9
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
10
- }
11
-
12
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
13
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
14
- }
15
- return t;
16
- };
17
-
18
- import * as React from 'react';
2
+ import React from 'react';
19
3
  import { filterDataAttrs } from '@megafon/ui-helpers';
20
- import * as PropTypes from 'prop-types';
21
-
22
- var Link = function Link(_a) {
23
- var dataAttrs = _a.dataAttrs,
24
- props = __rest(_a, ["dataAttrs"]);
4
+ import PropTypes from 'prop-types';
25
5
 
26
- return (
27
- /*#__PURE__*/
28
- // eslint-disable-next-line jsx-a11y/anchor-has-content
29
- React.createElement("a", _extends({}, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), props))
30
- );
6
+ var Link = function Link(_ref) {
7
+ var target = _ref.target,
8
+ href = _ref.href,
9
+ rel = _ref.rel,
10
+ onClick = _ref.onClick,
11
+ className = _ref.className,
12
+ download = _ref.download,
13
+ children = _ref.children,
14
+ dataAttrs = _ref.dataAttrs;
15
+ return /*#__PURE__*/React.createElement("a", _extends({
16
+ className: className,
17
+ href: href,
18
+ target: target,
19
+ rel: rel,
20
+ download: download,
21
+ onClick: onClick
22
+ }, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root)), children);
31
23
  };
32
24
 
33
25
  Link.propTypes = {
@@ -25,7 +25,7 @@ var greenVerticalImg = function greenVerticalImg(props) {
25
25
  fill: "none",
26
26
  d: "M-213 356.4h169v128.5h-169z"
27
27
  }), /*#__PURE__*/React.createElement("g", {
28
- fill: "#00985F"
28
+ fill: "#00B956"
29
29
  }, /*#__PURE__*/React.createElement("path", {
30
30
  d: "M-124.9 372.3v32.4c0 1.4-1.2 2.5-2.6 2.5h-3.9c-.2 0-.3.2-.3.3v27.2c1 .1 1.9.1 2.9.1 17.4 0 31.5-14.1 31.5-31.5 0-15.8-12-29.1-27.6-31zm-.6 48.4c-2.2 0-3.9-1.8-3.9-3.9 0-2.2 1.8-3.9 3.9-3.9 2.2 0 3.9 1.8 3.9 3.9 0 2.2-1.8 3.9-3.9 3.9zm9.2 0c-2.2 0-3.9-1.8-3.9-3.9 0-2.2 1.8-3.9 3.9-3.9 2.2 0 3.9 1.8 3.9 3.9 0 2.2-1.7 3.9-3.9 3.9zm9.2 0c-2.2 0-3.9-1.8-3.9-3.9 0-2.2 1.8-3.9 3.9-3.9s3.9 1.8 3.9 3.9c0 2.2-1.7 3.9-3.9 3.9z"
31
31
  }), /*#__PURE__*/React.createElement("path", {
@@ -28,7 +28,7 @@
28
28
  background-color: var(--brandPurple);
29
29
  }
30
30
  .mfui-nav-arrow_theme_purple:hover:not(:disabled) {
31
- background-color: var(--buttonhoverPurple);
31
+ background-color: var(--buttonHoverPurple);
32
32
  }
33
33
  .mfui-nav-arrow_theme_dark {
34
34
  background-color: var(--stcBlack20);
@@ -126,31 +126,38 @@ h5 {
126
126
  }
127
127
  .mfui-notification__close {
128
128
  position: absolute;
129
- top: 12px;
130
- right: 12px;
129
+ top: 8px;
130
+ right: 8px;
131
131
  display: -webkit-box;
132
132
  display: -ms-flexbox;
133
133
  display: flex;
134
+ -webkit-box-align: center;
135
+ -ms-flex-align: center;
136
+ align-items: center;
137
+ -webkit-box-pack: center;
138
+ -ms-flex-pack: center;
139
+ justify-content: center;
140
+ width: 24px;
141
+ height: 24px;
134
142
  padding: 0;
135
143
  border: none;
136
144
  border-radius: 50%;
137
- background: transparent;
138
- cursor: pointer;
139
- }
140
- .mfui-notification__close:hover {
141
145
  background-color: var(--stcBlack5);
142
- }
143
- .mfui-notification__close-icon {
144
- width: 20px;
145
- height: 20px;
146
- fill: var(--content);
146
+ cursor: pointer;
147
147
  }
148
148
  @media screen and (min-width: 768px) {
149
- .mfui-notification__close-icon {
149
+ .mfui-notification__close {
150
+ top: 12px;
151
+ right: 12px;
150
152
  width: 32px;
151
153
  height: 32px;
152
154
  }
153
155
  }
156
+ .mfui-notification__close-icon {
157
+ width: 10px;
158
+ height: 10px;
159
+ fill: var(--stcBlack50);
160
+ }
154
161
  .mfui-notification_type_error .mfui-notification__icon-container {
155
162
  background-color: var(--fury20);
156
163
  }
@@ -182,36 +189,38 @@ h5 {
182
189
  .mfui-notification_colored .mfui-notification__icon-container {
183
190
  background-color: var(--stcWhite);
184
191
  }
185
- .mfui-notification_colored .mfui-notification__close:hover {
186
- background-color: var(--stcWhite);
192
+ .mfui-notification_colored.mfui-notification_type_success {
193
+ background-color: var(--brandGreen20);
187
194
  }
188
195
  .mfui-notification_colored.mfui-notification_type_success .mfui-notification__title,
189
- .mfui-notification_colored.mfui-notification_type_error .mfui-notification__title,
190
196
  .mfui-notification_colored.mfui-notification_type_success .mfui-notification__text,
197
+ .mfui-notification_colored.mfui-notification_type_success .mfui-notification__link {
198
+ color: var(--stcBlack);
199
+ }
200
+ .mfui-notification_colored.mfui-notification_type_success .mfui-notification__right-arrow {
201
+ fill: var(--stcBlack);
202
+ }
203
+ .mfui-notification_colored.mfui-notification_type_success .mfui-notification__icon-container {
204
+ background-color: var(--stcWhite);
205
+ }
206
+ .mfui-notification_colored.mfui-notification_type_error {
207
+ background-color: var(--fury80);
208
+ }
209
+ .mfui-notification_colored.mfui-notification_type_error .mfui-notification__title,
191
210
  .mfui-notification_colored.mfui-notification_type_error .mfui-notification__text,
192
- .mfui-notification_colored.mfui-notification_type_success .mfui-notification__link,
193
211
  .mfui-notification_colored.mfui-notification_type_error .mfui-notification__link {
194
212
  color: var(--stcWhite);
195
213
  }
196
- .mfui-notification_colored.mfui-notification_type_success .mfui-notification__right-arrow,
197
214
  .mfui-notification_colored.mfui-notification_type_error .mfui-notification__right-arrow {
198
215
  fill: var(--stcWhite);
199
216
  }
200
- .mfui-notification_colored.mfui-notification_type_success .mfui-notification__icon-container,
201
217
  .mfui-notification_colored.mfui-notification_type_error .mfui-notification__icon-container {
202
218
  background-color: var(--stcWhite20);
203
219
  }
204
- .mfui-notification_colored.mfui-notification_type_success .mfui-notification__icon-container svg,
205
220
  .mfui-notification_colored.mfui-notification_type_error .mfui-notification__icon-container svg {
206
221
  /* stylelint-disable-line max-nesting-depth */
207
222
  fill: var(--stcWhite);
208
223
  }
209
- .mfui-notification_colored.mfui-notification_type_success {
210
- background-color: var(--brandGreen);
211
- }
212
- .mfui-notification_colored.mfui-notification_type_error {
213
- background-color: var(--fury80);
214
- }
215
224
  .mfui-notification_colored.mfui-notification_type_info .mfui-notification__title,
216
225
  .mfui-notification_colored.mfui-notification_type_warning .mfui-notification__title,
217
226
  .mfui-notification_colored.mfui-notification_type_info .mfui-notification__text,
@@ -53,9 +53,11 @@ var InfoIcon = function InfoIcon(props) {
53
53
 
54
54
  var CancelIcon = function CancelIcon(props) {
55
55
  return /*#__PURE__*/React.createElement("svg", _extends({
56
- viewBox: "0 0 40 40"
56
+ viewBox: "0 0 10 10"
57
57
  }, props), /*#__PURE__*/React.createElement("path", {
58
- d: "M20 18.586l6.364-6.364 1.414 1.414L21.414 20l6.364 6.364-1.414 1.414L20 21.414l-6.364 6.364-1.414-1.414L18.586 20l-6.364-6.364 1.414-1.414L20 18.586z"
58
+ fillRule: "evenodd",
59
+ clipRule: "evenodd",
60
+ d: "M5 3.75L1.25 0 0 1.25 3.75 5 0 8.75 1.25 10 5 6.25 8.75 10 10 8.75 6.25 5 10 1.25 8.75 0 5 3.75z"
59
61
  }));
60
62
  };
61
63
 
@@ -19,7 +19,7 @@ var PaginationButton = function PaginationButton(_ref) {
19
19
  dataAttrs = _ref.dataAttrs;
20
20
 
21
21
  var handleClick = function handleClick() {
22
- onClick && onClick(value);
22
+ onClick === null || onClick === void 0 ? void 0 : onClick(value);
23
23
  };
24
24
 
25
25
  return /*#__PURE__*/React.createElement("button", _extends({}, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), {
@@ -1,2 +1,2 @@
1
- declare const getRange: (from: any, to: any, step?: number) => number[];
1
+ declare const getRange: (from: number, to: number, step?: number) => number[];
2
2
  export default getRange;
@@ -38,12 +38,3 @@
38
38
  .mfui-paragraph_color_purple {
39
39
  color: var(--brandPurple);
40
40
  }
41
- .mfui-paragraph_color_spbSky0 {
42
- color: var(--spbSky0);
43
- }
44
- .mfui-paragraph_color_spbSky1 {
45
- color: var(--spbSky1);
46
- }
47
- .mfui-paragraph_color_spbSky2 {
48
- color: var(--spbSky2);
49
- }
@@ -6,9 +6,6 @@ declare const COLORS: {
6
6
  readonly WHITE: "white";
7
7
  readonly GREEN: "green";
8
8
  readonly PURPLE: "purple";
9
- readonly SPB_SKY_0: "spbSky0";
10
- readonly SPB_SKY_1: "spbSky1";
11
- readonly SPB_SKY_2: "spbSky2";
12
9
  };
13
10
  declare type ColorType = typeof COLORS[keyof typeof COLORS];
14
11
  export interface IParagraphProps {
@@ -9,10 +9,7 @@ var COLORS = {
9
9
  DEFAULT: 'default',
10
10
  WHITE: 'white',
11
11
  GREEN: 'green',
12
- PURPLE: 'purple',
13
- SPB_SKY_0: 'spbSky0',
14
- SPB_SKY_1: 'spbSky1',
15
- SPB_SKY_2: 'spbSky2'
12
+ PURPLE: 'purple'
16
13
  };
17
14
  var cn = cnCreate('mfui-paragraph');
18
15
 
@@ -30,7 +30,7 @@ var RadioButton = function RadioButton(_ref) {
30
30
  var rootClassNames = Array.isArray(className) ? [].concat(_toConsumableArray(className), [classes.root]) : [className, classes.root];
31
31
 
32
32
  var handleChange = function handleChange() {
33
- return onChange && onChange(value);
33
+ return onChange === null || onChange === void 0 ? void 0 : onChange(value);
34
34
  };
35
35
 
36
36
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -72,7 +72,7 @@ var Search = function Search(_ref) {
72
72
  setActiveIndex(-1);
73
73
 
74
74
  if (changeDelay === 0) {
75
- onChange && onChange(inputValue);
75
+ onChange === null || onChange === void 0 ? void 0 : onChange(inputValue);
76
76
  } else {
77
77
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
78
78
  // @ts-ignore
@@ -93,7 +93,7 @@ var Search = function Search(_ref) {
93
93
  }
94
94
 
95
95
  var chosenValue = items[index].value;
96
- onSubmit && onSubmit(chosenValue);
96
+ onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(chosenValue);
97
97
  }, [disabled, items, onSubmit]);
98
98
  var handleSelectSubmit = React.useCallback(function () {
99
99
  return function () {
@@ -105,7 +105,7 @@ var Search = function Search(_ref) {
105
105
  }, []);
106
106
  var handleBlur = React.useCallback(function (e) {
107
107
  setFocus(false);
108
- onBlur && onBlur(e);
108
+ onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
109
109
  }, [onBlur]);
110
110
  var handleClick = React.useCallback(function () {
111
111
  if (activeIndex >= 0) {
@@ -125,6 +125,7 @@ var Search = function Search(_ref) {
125
125
  e.preventDefault();
126
126
  } else if (e.key === 'Enter' && activeIndex > -1) {
127
127
  handleItemSubmit(activeIndex);
128
+ e.preventDefault();
128
129
  } else if (e.key === 'Enter' && activeIndex === -1) {
129
130
  handleSearchSubmit();
130
131
  }
@@ -150,7 +150,7 @@
150
150
  background-color: var(--base);
151
151
  cursor: pointer;
152
152
  }
153
- .mfui-select__list-item_active {
153
+ .mfui-select__list-item_hovered {
154
154
  background-color: var(--spbSky0);
155
155
  }
156
156
  .mfui-select__item-title {
@@ -177,7 +177,10 @@
177
177
  background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--base)));
178
178
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--base));
179
179
  }
180
- .mfui-select__list-item_active .mfui-select__item-title:after {
180
+ .mfui-select__item-title_active {
181
+ font-weight: bold;
182
+ }
183
+ .mfui-select__list-item_hovered .mfui-select__item-title:after {
181
184
  background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--spbSky0)));
182
185
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--spbSky0));
183
186
  }
@@ -15,6 +15,7 @@ export declare type SelectItemValueType = number | string | undefined;
15
15
  declare type ElementOrString = JSX.Element[] | JSX.Element | Element[] | Element | string;
16
16
  declare type ViewCallbackArguments = {
17
17
  filterValue: string;
18
+ isItemActive: boolean;
18
19
  };
19
20
  export interface ISelectItem<T extends SelectItemValueType> {
20
21
  /** Заголовок элемента в выпадающем списке */
@@ -79,16 +80,9 @@ export interface ISelectProps<T extends SelectItemValueType> {
79
80
  /** Обработчик при закрытом селекте */
80
81
  onClosed?: () => void;
81
82
  }
82
- interface ISelectState<T extends SelectItemValueType> {
83
- isOpened: boolean;
84
- activeIndex: number;
85
- filteredItems: Array<ISelectItem<T>>;
86
- comparableInputValue: string;
87
- inputValue: string;
88
- isChoosenItem: boolean;
89
- }
90
- declare class Select<T extends SelectItemValueType> extends React.Component<ISelectProps<T>, ISelectState<T>> {
91
- static propTypes: {
83
+ declare const Select: {
84
+ <T extends string | number | undefined>({ type, disabled, verification, noticeText, label, labelId, required, className, classes, dataAttrs, notFoundText, items, placeholder, currentValue, onClosed, onOpened, onSelect, }: ISelectProps<T>): JSX.Element;
85
+ propTypes: {
92
86
  type: PropTypes.Requireable<"classic" | "combobox">;
93
87
  label: PropTypes.Requireable<string>;
94
88
  id: PropTypes.Requireable<string>;
@@ -145,39 +139,5 @@ declare class Select<T extends SelectItemValueType> extends React.Component<ISel
145
139
  onOpened: PropTypes.Requireable<(...args: any[]) => any>;
146
140
  onClosed: PropTypes.Requireable<(...args: any[]) => any>;
147
141
  };
148
- static defaultProps: {
149
- disabled: boolean;
150
- required: boolean;
151
- type: string;
152
- notFoundText: string;
153
- };
154
- itemWrapperNode: HTMLDivElement;
155
- itemsNodeList: HTMLDivElement[];
156
- selectNode: HTMLDivElement;
157
- isTouch: boolean;
158
- debouncedComboboxChange: any;
159
- constructor(props: ISelectProps<T>);
160
- componentDidMount(): void;
161
- componentDidUpdate({ items: prevItems }: ISelectProps<T>): void;
162
- componentWillUnmount(): void;
163
- isEqualItems: (items: ISelectItem<T>[], prevItems: ISelectItem<T>[]) => boolean;
164
- handleOpened: () => void;
165
- handleClosed: () => void;
166
- handleClickOutside: (e: MouseEvent) => void;
167
- handleOpenDropdown: () => void;
168
- handleSelectItem: (e: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
169
- handleHoverItem: (index: number) => (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
170
- handleComboboxFocus: (e: React.FocusEvent<HTMLInputElement>) => void;
171
- handleChangeCombobox: (e: React.ChangeEvent<HTMLInputElement>) => void;
172
- handleKeyDown: (e: React.KeyboardEvent<HTMLDivElement>) => boolean;
173
- highlightString: (title: string, view?: string | Element | JSX.Element | JSX.Element[] | Element[] | ((data: ViewCallbackArguments) => ElementOrString) | undefined) => ElementOrString;
174
- getItemWrapper: (node: any) => void;
175
- getSelectNode: (node: any) => void;
176
- getNodeList: (node: any) => number;
177
- scrollList(activeIndex: number): void;
178
- renderTitle(): JSX.Element;
179
- renderCombobox(): JSX.Element;
180
- renderChildren(): JSX.Element;
181
- render(): JSX.Element;
182
- }
142
+ };
183
143
  export default Select;