@jetbrains/ring-ui-built 7.0.101 → 7.0.102

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.
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ export interface CollapsibleGroupProps {
3
+ avatar?: React.ReactNode;
4
+ title: React.ReactNode;
5
+ subtitle?: React.ReactNode;
6
+ children?: React.ReactNode;
7
+ className?: string | null | undefined;
8
+ defaultExpanded?: boolean;
9
+ expanded?: boolean | null | undefined;
10
+ onChange?: (expanded: boolean) => void;
11
+ disableAnimation?: boolean;
12
+ interactive?: boolean;
13
+ 'data-test'?: string | null | undefined;
14
+ }
15
+ declare const CollapsibleGroup: React.ForwardRefExoticComponent<CollapsibleGroupProps & React.RefAttributes<HTMLDivElement>>;
16
+ export default CollapsibleGroup;
@@ -0,0 +1,381 @@
1
+ import { c } from 'react-compiler-runtime';
2
+ import { forwardRef, useState, useContext } from 'react';
3
+ import classNames from 'classnames';
4
+ import chevronRightIcon from '@jetbrains/icons/chevron-12px-right';
5
+ import chevron12pxDown from '@jetbrains/icons/chevron-12px-down';
6
+ import Icon from '../icon/icon.js';
7
+ import { Collapse } from '../collapse/collapse.js';
8
+ import { CollapseContent } from '../collapse/collapse-content.js';
9
+ import { CollapseContext } from '../collapse/collapse-context.js';
10
+ import { jsx, jsxs } from 'react/jsx-runtime';
11
+ import 'util-deprecate';
12
+ import '../icon/icon.constants.js';
13
+ import '../_helpers/icon-svg.js';
14
+ import '../global/memoize.js';
15
+ import '../collapse/consts.js';
16
+ import '../global/data-tests.js';
17
+ import '../global/dom.js';
18
+ import '../collapse/utils.js';
19
+
20
+ var styles = {"expand":"ring-collapsible-group-expand","collapseRoot":"ring-collapsible-group-collapseRoot","hovered":"ring-collapsible-group-hovered","expanded":"ring-collapsible-group-expanded","focused":"ring-collapsible-group-focused","header":"ring-collapsible-group-header","headerButton":"ring-collapsible-group-headerButton","headerStatic":"ring-collapsible-group-headerStatic","headerContent":"ring-collapsible-group-headerContent","avatarGroup":"ring-collapsible-group-avatarGroup","title":"ring-collapsible-group-title","subtitleGroup":"ring-collapsible-group-subtitleGroup","subtitle":"ring-collapsible-group-subtitle","subtitleChevron":"ring-collapsible-group-subtitleChevron","toggle":"ring-collapsible-group-toggle","toggleIcon":"ring-collapsible-group-toggleIcon","body":"ring-collapsible-group-body"};
21
+
22
+ function CollapsibleGroupHeaderContent(t0) {
23
+ const $ = c(16);
24
+ if ($[0] !== "248ebb691e89143680b26b525c22d5d37f19214f4f7f322680c1c724fd0796c3") {
25
+ for (let $i = 0; $i < 16; $i += 1) {
26
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
27
+ }
28
+ $[0] = "248ebb691e89143680b26b525c22d5d37f19214f4f7f322680c1c724fd0796c3";
29
+ }
30
+ const {
31
+ avatar,
32
+ titleContent,
33
+ subtitle
34
+ } = t0;
35
+ const {
36
+ collapsed
37
+ } = useContext(CollapseContext);
38
+ let t1;
39
+ if ($[1] !== titleContent) {
40
+ t1 = /*#__PURE__*/jsx("span", {
41
+ className: styles.title,
42
+ children: titleContent
43
+ });
44
+ $[1] = titleContent;
45
+ $[2] = t1;
46
+ } else {
47
+ t1 = $[2];
48
+ }
49
+ let t2;
50
+ if ($[3] !== avatar || $[4] !== t1) {
51
+ t2 = /*#__PURE__*/jsxs("span", {
52
+ className: styles.avatarGroup,
53
+ children: [avatar, t1]
54
+ });
55
+ $[3] = avatar;
56
+ $[4] = t1;
57
+ $[5] = t2;
58
+ } else {
59
+ t2 = $[5];
60
+ }
61
+ let t3;
62
+ if ($[6] !== subtitle) {
63
+ t3 = subtitle ? /*#__PURE__*/jsxs("span", {
64
+ className: styles.subtitleGroup,
65
+ children: [/*#__PURE__*/jsx(Icon, {
66
+ className: styles.subtitleChevron,
67
+ glyph: chevronRightIcon,
68
+ "aria-hidden": true
69
+ }), /*#__PURE__*/jsx("span", {
70
+ className: styles.subtitle,
71
+ children: subtitle
72
+ })]
73
+ }) : null;
74
+ $[6] = subtitle;
75
+ $[7] = t3;
76
+ } else {
77
+ t3 = $[7];
78
+ }
79
+ let t4;
80
+ if ($[8] !== t2 || $[9] !== t3) {
81
+ t4 = /*#__PURE__*/jsxs("span", {
82
+ className: styles.headerContent,
83
+ children: [t2, t3]
84
+ });
85
+ $[8] = t2;
86
+ $[9] = t3;
87
+ $[10] = t4;
88
+ } else {
89
+ t4 = $[10];
90
+ }
91
+ const t5 = collapsed ? chevronRightIcon : chevron12pxDown;
92
+ let t6;
93
+ if ($[11] !== t5) {
94
+ t6 = /*#__PURE__*/jsx("span", {
95
+ className: styles.toggle,
96
+ "aria-hidden": true,
97
+ children: /*#__PURE__*/jsx(Icon, {
98
+ className: styles.toggleIcon,
99
+ glyph: t5
100
+ })
101
+ });
102
+ $[11] = t5;
103
+ $[12] = t6;
104
+ } else {
105
+ t6 = $[12];
106
+ }
107
+ let t7;
108
+ if ($[13] !== t4 || $[14] !== t6) {
109
+ t7 = /*#__PURE__*/jsxs("span", {
110
+ className: styles.header,
111
+ children: [t4, t6]
112
+ });
113
+ $[13] = t4;
114
+ $[14] = t6;
115
+ $[15] = t7;
116
+ } else {
117
+ t7 = $[15];
118
+ }
119
+ return t7;
120
+ }
121
+ function CollapsibleGroupHeader(t0) {
122
+ const $ = c(16);
123
+ if ($[0] !== "248ebb691e89143680b26b525c22d5d37f19214f4f7f322680c1c724fd0796c3") {
124
+ for (let $i = 0; $i < 16; $i += 1) {
125
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
126
+ }
127
+ $[0] = "248ebb691e89143680b26b525c22d5d37f19214f4f7f322680c1c724fd0796c3";
128
+ }
129
+ let avatar;
130
+ let buttonProps;
131
+ let subtitle;
132
+ let titleContent;
133
+ if ($[1] !== t0) {
134
+ ({
135
+ avatar,
136
+ titleContent,
137
+ subtitle,
138
+ ...buttonProps
139
+ } = t0);
140
+ $[1] = t0;
141
+ $[2] = avatar;
142
+ $[3] = buttonProps;
143
+ $[4] = subtitle;
144
+ $[5] = titleContent;
145
+ } else {
146
+ avatar = $[2];
147
+ buttonProps = $[3];
148
+ subtitle = $[4];
149
+ titleContent = $[5];
150
+ }
151
+ const {
152
+ setCollapsed,
153
+ collapsed,
154
+ id
155
+ } = useContext(CollapseContext);
156
+ const t1 = `collapse-content-${id}`;
157
+ const t2 = !collapsed;
158
+ let t3;
159
+ if ($[6] !== avatar || $[7] !== subtitle || $[8] !== titleContent) {
160
+ t3 = /*#__PURE__*/jsx(CollapsibleGroupHeaderContent, {
161
+ avatar: avatar,
162
+ titleContent: titleContent,
163
+ subtitle: subtitle
164
+ });
165
+ $[6] = avatar;
166
+ $[7] = subtitle;
167
+ $[8] = titleContent;
168
+ $[9] = t3;
169
+ } else {
170
+ t3 = $[9];
171
+ }
172
+ let t4;
173
+ if ($[10] !== buttonProps || $[11] !== setCollapsed || $[12] !== t1 || $[13] !== t2 || $[14] !== t3) {
174
+ t4 = /*#__PURE__*/jsx("button", {
175
+ type: "button",
176
+ ...buttonProps,
177
+ className: styles.headerButton,
178
+ onClick: setCollapsed,
179
+ "aria-controls": t1,
180
+ "aria-expanded": t2,
181
+ children: t3
182
+ });
183
+ $[10] = buttonProps;
184
+ $[11] = setCollapsed;
185
+ $[12] = t1;
186
+ $[13] = t2;
187
+ $[14] = t3;
188
+ $[15] = t4;
189
+ } else {
190
+ t4 = $[15];
191
+ }
192
+ return t4;
193
+ }
194
+ function CollapsibleGroupHeaderStatic(t0) {
195
+ const $ = c(5);
196
+ if ($[0] !== "248ebb691e89143680b26b525c22d5d37f19214f4f7f322680c1c724fd0796c3") {
197
+ for (let $i = 0; $i < 5; $i += 1) {
198
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
199
+ }
200
+ $[0] = "248ebb691e89143680b26b525c22d5d37f19214f4f7f322680c1c724fd0796c3";
201
+ }
202
+ const {
203
+ avatar,
204
+ titleContent,
205
+ subtitle
206
+ } = t0;
207
+ let t1;
208
+ if ($[1] !== avatar || $[2] !== subtitle || $[3] !== titleContent) {
209
+ t1 = /*#__PURE__*/jsx("span", {
210
+ className: styles.headerStatic,
211
+ children: /*#__PURE__*/jsx(CollapsibleGroupHeaderContent, {
212
+ avatar: avatar,
213
+ titleContent: titleContent,
214
+ subtitle: subtitle
215
+ })
216
+ });
217
+ $[1] = avatar;
218
+ $[2] = subtitle;
219
+ $[3] = titleContent;
220
+ $[4] = t1;
221
+ } else {
222
+ t1 = $[4];
223
+ }
224
+ return t1;
225
+ }
226
+ const CollapsibleGroup = /*#__PURE__*/forwardRef((t0, ref) => {
227
+ const $ = c(29);
228
+ if ($[0] !== "248ebb691e89143680b26b525c22d5d37f19214f4f7f322680c1c724fd0796c3") {
229
+ for (let $i = 0; $i < 29; $i += 1) {
230
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
231
+ }
232
+ $[0] = "248ebb691e89143680b26b525c22d5d37f19214f4f7f322680c1c724fd0796c3";
233
+ }
234
+ const {
235
+ avatar,
236
+ title,
237
+ subtitle,
238
+ children,
239
+ className,
240
+ defaultExpanded: t1,
241
+ expanded: t2,
242
+ onChange: t3,
243
+ disableAnimation: t4,
244
+ interactive: t5,
245
+ "data-test": dataTest
246
+ } = t0;
247
+ const defaultExpanded = t1 === undefined ? false : t1;
248
+ const expanded = t2 === undefined ? null : t2;
249
+ const onChange = t3 === undefined ? _temp : t3;
250
+ const disableAnimation = t4 === undefined ? false : t4;
251
+ const interactive = t5 === undefined ? true : t5;
252
+ const [innerExpanded, setInnerExpanded] = useState(defaultExpanded);
253
+ const [hovered, setHovered] = useState(false);
254
+ const [focused, setFocused] = useState(false);
255
+ const isExpanded = expanded !== null && expanded !== void 0 ? expanded : innerExpanded;
256
+ let t6;
257
+ if ($[1] !== expanded || $[2] !== onChange) {
258
+ t6 = collapsed => {
259
+ const nextExpanded = !collapsed;
260
+ if (expanded == null) {
261
+ setInnerExpanded(nextExpanded);
262
+ }
263
+ onChange(nextExpanded);
264
+ };
265
+ $[1] = expanded;
266
+ $[2] = onChange;
267
+ $[3] = t6;
268
+ } else {
269
+ t6 = $[3];
270
+ }
271
+ const handleChange = t6;
272
+ let t7;
273
+ if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
274
+ t7 = event => {
275
+ const nextTarget = event.relatedTarget;
276
+ if (nextTarget instanceof Node && event.currentTarget.contains(nextTarget)) {
277
+ return;
278
+ }
279
+ setFocused(false);
280
+ };
281
+ $[4] = t7;
282
+ } else {
283
+ t7 = $[4];
284
+ }
285
+ const onBlur = t7;
286
+ let t8;
287
+ if ($[5] !== className || $[6] !== focused || $[7] !== hovered || $[8] !== isExpanded) {
288
+ t8 = classNames(styles.expand, className, {
289
+ [styles.hovered]: hovered,
290
+ [styles.expanded]: isExpanded,
291
+ [styles.focused]: focused
292
+ });
293
+ $[5] = className;
294
+ $[6] = focused;
295
+ $[7] = hovered;
296
+ $[8] = isExpanded;
297
+ $[9] = t8;
298
+ } else {
299
+ t8 = $[9];
300
+ }
301
+ const classes = t8;
302
+ const t9 = !defaultExpanded;
303
+ const t10 = expanded == null ? null : !expanded;
304
+ let t11;
305
+ if ($[10] !== avatar || $[11] !== interactive || $[12] !== subtitle || $[13] !== title) {
306
+ t11 = interactive ? /*#__PURE__*/jsx(CollapsibleGroupHeader, {
307
+ avatar: avatar,
308
+ titleContent: title,
309
+ subtitle: subtitle,
310
+ onMouseEnter: () => setHovered(true),
311
+ onMouseLeave: () => setHovered(false),
312
+ onFocus: () => setFocused(true),
313
+ onBlur: onBlur
314
+ }) : /*#__PURE__*/jsx(CollapsibleGroupHeaderStatic, {
315
+ avatar: avatar,
316
+ titleContent: title,
317
+ subtitle: subtitle
318
+ });
319
+ $[10] = avatar;
320
+ $[11] = interactive;
321
+ $[12] = subtitle;
322
+ $[13] = title;
323
+ $[14] = t11;
324
+ } else {
325
+ t11 = $[14];
326
+ }
327
+ let t12;
328
+ if ($[15] !== children) {
329
+ t12 = /*#__PURE__*/jsx(CollapseContent, {
330
+ children: /*#__PURE__*/jsx("div", {
331
+ className: styles.body,
332
+ children: children
333
+ })
334
+ });
335
+ $[15] = children;
336
+ $[16] = t12;
337
+ } else {
338
+ t12 = $[16];
339
+ }
340
+ let t13;
341
+ if ($[17] !== disableAnimation || $[18] !== handleChange || $[19] !== t10 || $[20] !== t11 || $[21] !== t12 || $[22] !== t9) {
342
+ t13 = /*#__PURE__*/jsxs(Collapse, {
343
+ defaultCollapsed: t9,
344
+ collapsed: t10,
345
+ onChange: handleChange,
346
+ disableAnimation: disableAnimation,
347
+ className: styles.collapseRoot,
348
+ children: [t11, t12]
349
+ });
350
+ $[17] = disableAnimation;
351
+ $[18] = handleChange;
352
+ $[19] = t10;
353
+ $[20] = t11;
354
+ $[21] = t12;
355
+ $[22] = t9;
356
+ $[23] = t13;
357
+ } else {
358
+ t13 = $[23];
359
+ }
360
+ let t14;
361
+ if ($[24] !== classes || $[25] !== dataTest || $[26] !== ref || $[27] !== t13) {
362
+ t14 = /*#__PURE__*/jsx("div", {
363
+ ref: ref,
364
+ className: classes,
365
+ "data-test": dataTest,
366
+ children: t13
367
+ });
368
+ $[24] = classes;
369
+ $[25] = dataTest;
370
+ $[26] = ref;
371
+ $[27] = t13;
372
+ $[28] = t14;
373
+ } else {
374
+ t14 = $[28];
375
+ }
376
+ return t14;
377
+ });
378
+ CollapsibleGroup.displayName = 'CollapsibleGroup';
379
+ function _temp() {}
380
+
381
+ export { CollapsibleGroup as default };
@@ -84,6 +84,7 @@ import '../caret/caret.js';
84
84
  import '../text/text.js';
85
85
  import '../_helpers/select-filter.js';
86
86
  import '../i18n/i18n.js';
87
+ import '../select/chevron-button.js';
87
88
 
88
89
  var style = {"pager":"ring-pager-pager","links":"ring-pager-links","link":"ring-pager-link","linkDisabled":"ring-pager-linkDisabled","actions":"ring-pager-actions","pageSize":"ring-pager-pageSize"};
89
90
 
@@ -0,0 +1,6 @@
1
+ import { type ButtonHTMLAttributes } from 'react';
2
+ import { type ControlsHeight } from '../global/configuration';
3
+ export default function ChevronButton({ className, disabled, height, ...props }: {
4
+ disabled?: boolean | null | undefined;
5
+ height?: ControlsHeight | undefined;
6
+ } & ButtonHTMLAttributes<HTMLButtonElement>): import("react").JSX.Element;
@@ -0,0 +1,82 @@
1
+ import { c } from 'react-compiler-runtime';
2
+ import chevronDownIcon from '@jetbrains/icons/chevron-down';
3
+ import classNames from 'classnames';
4
+ import { Button } from '../button/button.js';
5
+ import { jsx } from 'react/jsx-runtime';
6
+ import 'react';
7
+ import '@jetbrains/icons/chevron-12px-down';
8
+ import 'util-deprecate';
9
+ import '../icon/icon.js';
10
+ import '../icon/icon.constants.js';
11
+ import '../_helpers/icon-svg.js';
12
+ import '../global/memoize.js';
13
+ import '../link/clickable-link.js';
14
+ import '../global/controls-height.js';
15
+ import '../global/configuration.js';
16
+ import '../_helpers/button.classes.js';
17
+
18
+ var styles = {"chevronButton":"ring-chevron-button-chevronButton","chevronIcon":"ring-chevron-button-chevronIcon"};
19
+
20
+ function ChevronButton(t0) {
21
+ var _disabled;
22
+ const $ = c(13);
23
+ if ($[0] !== "ba95509b9da607dcfdd740a0e650c86615eac689106b2378e4c98d34d76ea485") {
24
+ for (let $i = 0; $i < 13; $i += 1) {
25
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
26
+ }
27
+ $[0] = "ba95509b9da607dcfdd740a0e650c86615eac689106b2378e4c98d34d76ea485";
28
+ }
29
+ let className;
30
+ let disabled;
31
+ let height;
32
+ let props;
33
+ if ($[1] !== t0) {
34
+ ({
35
+ className,
36
+ disabled,
37
+ height,
38
+ ...props
39
+ } = t0);
40
+ $[1] = t0;
41
+ $[2] = className;
42
+ $[3] = disabled;
43
+ $[4] = height;
44
+ $[5] = props;
45
+ } else {
46
+ className = $[2];
47
+ disabled = $[3];
48
+ height = $[4];
49
+ props = $[5];
50
+ }
51
+ let t1;
52
+ if ($[6] !== className) {
53
+ t1 = classNames(styles.chevronButton, className);
54
+ $[6] = className;
55
+ $[7] = t1;
56
+ } else {
57
+ t1 = $[7];
58
+ }
59
+ const t2 = (_disabled = disabled) !== null && _disabled !== void 0 ? _disabled : false;
60
+ let t3;
61
+ if ($[8] !== height || $[9] !== props || $[10] !== t1 || $[11] !== t2) {
62
+ t3 = /*#__PURE__*/jsx(Button, {
63
+ title: "Toggle options popup",
64
+ className: t1,
65
+ iconClassName: styles.chevronIcon,
66
+ icon: chevronDownIcon,
67
+ disabled: t2,
68
+ height: height,
69
+ ...props
70
+ });
71
+ $[8] = height;
72
+ $[9] = props;
73
+ $[10] = t1;
74
+ $[11] = t2;
75
+ $[12] = t3;
76
+ } else {
77
+ t3 = $[12];
78
+ }
79
+ return t3;
80
+ }
81
+
82
+ export { ChevronButton as default };
@@ -1,6 +1,5 @@
1
1
  import { Component, Fragment } from 'react';
2
2
  import classNames from 'classnames';
3
- import chevronDownIcon from '@jetbrains/icons/chevron-down';
4
3
  import closeIcon from '@jetbrains/icons/close-12px';
5
4
  import { dequal } from 'dequal';
6
5
  import joinDataTestAttributes from '../global/data-tests.js';
@@ -22,6 +21,7 @@ import { I18nContext } from '../i18n/i18n-context.js';
22
21
  import { createComposedRef } from '../global/compose-refs.js';
23
22
  import { ControlsHeightContext } from '../global/controls-height.js';
24
23
  import SelectPopup from './select-popup.js';
24
+ import ChevronButton from './chevron-button.js';
25
25
  import { ControlsHeight } from '../global/configuration.js';
26
26
  import { Size as Size$1 } from '../avatar/avatar-size.js';
27
27
  import 'react-compiler-runtime';
@@ -67,6 +67,7 @@ import '../global/get-event-key.js';
67
67
  import '../list/list-title.js';
68
68
  import '../list/list-separator.js';
69
69
  import '../list/list-hint.js';
70
+ import '@jetbrains/icons/chevron-down';
70
71
  import '@jetbrains/icons/chevron-12px-down';
71
72
  import '../_helpers/button.classes.js';
72
73
  import '../i18n/i18n.js';
@@ -79,7 +80,7 @@ import '../caret/caret.js';
79
80
  import '../text/text.js';
80
81
  import '../_helpers/select-filter.js';
81
82
 
82
- var styles = {"select":"ring-select-select","value":"ring-select-value ring-global-ellipsis ring-global-font","icons":"ring-select-icons","toolbar":"ring-select-toolbar","button":"ring-select-button","buttonSpaced":"ring-select-buttonSpaced","inputMode":"ring-select-inputMode","heightS":"ring-select-heightS","heightL":"ring-select-heightL","selectedIcon":"ring-select-selectedIcon ring-global-resetButton","clearIcon":"ring-select-clearIcon","sizeS":"ring-select-sizeS","sizeM":"ring-select-sizeM","sizeL":"ring-select-sizeL","sizeFULL":"ring-select-sizeFULL","sizeAUTO":"ring-select-sizeAUTO","buttonMode":"ring-select-buttonMode","open":"ring-select-open","buttonContainer":"ring-select-buttonContainer","buttonValue":"ring-select-buttonValue ring-global-ellipsis","buttonValueOpen":"ring-select-buttonValueOpen","buttonValueEmpty":"ring-select-buttonValueEmpty","label":"ring-select-label","disabled":"ring-select-disabled","avatar":"ring-select-avatar","popup":"ring-select-popup","chevron":"ring-select-chevron","chevronIcon":"ring-select-chevronIcon"};
83
+ var styles = {"select":"ring-select-select","value":"ring-select-value ring-global-ellipsis ring-global-font","icons":"ring-select-icons","toolbar":"ring-select-toolbar","button":"ring-select-button","buttonSpaced":"ring-select-buttonSpaced","inputMode":"ring-select-inputMode","heightS":"ring-select-heightS","heightL":"ring-select-heightL","selectedIcon":"ring-select-selectedIcon ring-global-resetButton","clearIcon":"ring-select-clearIcon","sizeS":"ring-select-sizeS","sizeM":"ring-select-sizeM","sizeL":"ring-select-sizeL","sizeFULL":"ring-select-sizeFULL","sizeAUTO":"ring-select-sizeAUTO","buttonMode":"ring-select-buttonMode","open":"ring-select-open","buttonContainer":"ring-select-buttonContainer","buttonValue":"ring-select-buttonValue ring-global-ellipsis","buttonValueOpen":"ring-select-buttonValueOpen","buttonValueEmpty":"ring-select-buttonValueEmpty","label":"ring-select-label","disabled":"ring-select-disabled","avatar":"ring-select-avatar","popup":"ring-select-popup"};
83
84
 
84
85
  function noop() {}
85
86
  /**
@@ -980,15 +981,11 @@ class Select extends Component {
980
981
  }, 'close'));
981
982
  }
982
983
  if (!hideArrow) {
983
- icons.push(/*#__PURE__*/jsx(Button, {
984
- title: "Toggle options popup",
985
- className: styles.chevron,
986
- iconClassName: styles.chevronIcon,
987
- icon: chevronDownIcon,
984
+ icons.push(/*#__PURE__*/jsx(ChevronButton, {
988
985
  disabled: this.props.disabled,
989
986
  height: height,
990
987
  onClick: this._clickHandler
991
- }, 'hide'));
988
+ }, 'chevron'));
992
989
  }
993
990
  return icons;
994
991
  }