@jetbrains/ring-ui-built 7.0.0-beta.13 → 7.0.0-beta.15

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 (192) hide show
  1. package/components/_helpers/anchor.js +4 -4
  2. package/components/_helpers/badge.js +2 -2
  3. package/components/_helpers/button__classes.js +13 -13
  4. package/components/_helpers/caption.js +3 -3
  5. package/components/_helpers/card.js +18 -18
  6. package/components/_helpers/date-picker.js +2 -2
  7. package/components/_helpers/dialog__body-scroll-preventer.js +4 -4
  8. package/components/_helpers/grid.js +2 -2
  9. package/components/_helpers/header.js +2 -2
  10. package/components/_helpers/heading.js +2 -2
  11. package/components/_helpers/icon__svg.js +6 -6
  12. package/components/_helpers/input.js +14 -14
  13. package/components/_helpers/island.js +2 -2
  14. package/components/_helpers/link.js +2 -2
  15. package/components/_helpers/list.js +2 -2
  16. package/components/_helpers/query-assist__suggestions.js +7 -7
  17. package/components/_helpers/select__filter.js +3 -3
  18. package/components/_helpers/services-link.js +3 -3
  19. package/components/_helpers/sidebar.js +9 -9
  20. package/components/_helpers/tab-link.js +7 -7
  21. package/components/_helpers/table.js +2 -2
  22. package/components/_helpers/theme.js +9 -9
  23. package/components/_helpers/title.js +7 -7
  24. package/components/alert/alert.d.ts +2 -2
  25. package/components/alert/alert.js +12 -13
  26. package/components/alert/container.js +3 -3
  27. package/components/alert-service/alert-service.js +0 -1
  28. package/components/auth/auth.js +0 -1
  29. package/components/auth/auth__core.js +1 -2
  30. package/components/auth/background-flow.js +2 -2
  31. package/components/auth/down-notification.js +3 -4
  32. package/components/auth/iframe-flow.js +0 -1
  33. package/components/auth/storage.js +0 -1
  34. package/components/auth/token-validator.js +1 -1
  35. package/components/auth-dialog/auth-dialog.js +10 -11
  36. package/components/auth-dialog-service/auth-dialog-service.js +1 -2
  37. package/components/avatar/avatar.js +6 -6
  38. package/components/badge/badge.js +6 -7
  39. package/components/breadcrumbs/breadcrumbs.js +2 -2
  40. package/components/button/button.js +4 -4
  41. package/components/button/button__classes.d.ts +1 -1
  42. package/components/button-group/button-group.js +3 -4
  43. package/components/button-set/button-set.js +2 -3
  44. package/components/button-toolbar/button-toolbar.d.ts +1 -1
  45. package/components/button-toolbar/button-toolbar.js +2 -3
  46. package/components/checkbox/checkbox.js +8 -8
  47. package/components/clipboard/clipboard.js +0 -1
  48. package/components/code/code.d.ts +1 -1
  49. package/components/code/code.js +6 -6
  50. package/components/collapse/collapse-content.js +4 -5
  51. package/components/collapse/collapse-control.js +0 -1
  52. package/components/confirm/confirm.d.ts +2 -2
  53. package/components/confirm/confirm.js +3 -4
  54. package/components/confirm-service/confirm-service.d.ts +1 -1
  55. package/components/confirm-service/confirm-service.js +0 -1
  56. package/components/content-layout/content-layout.js +4 -4
  57. package/components/contenteditable/contenteditable.d.ts +1 -1
  58. package/components/control-help/control-help.js +2 -2
  59. package/components/control-label/control-label.js +5 -5
  60. package/components/data-list/data-list.d.ts +2 -2
  61. package/components/data-list/data-list.js +6 -7
  62. package/components/data-list/data-list.mock.js +0 -1
  63. package/components/data-list/item.js +8 -9
  64. package/components/date-picker/date-input.js +2 -2
  65. package/components/date-picker/date-picker.js +8 -9
  66. package/components/date-picker/date-popup.js +4 -5
  67. package/components/date-picker/day.js +15 -15
  68. package/components/date-picker/month-names.js +5 -5
  69. package/components/date-picker/month-slider.js +3 -3
  70. package/components/date-picker/month.js +3 -3
  71. package/components/date-picker/months.js +3 -3
  72. package/components/date-picker/weekdays.js +4 -4
  73. package/components/date-picker/years.js +5 -5
  74. package/components/dialog/dialog.js +13 -14
  75. package/components/dropdown/dropdown.d.ts +2 -2
  76. package/components/dropdown/dropdown.js +2 -3
  77. package/components/dropdown-menu/dropdown-menu.js +0 -1
  78. package/components/editable-heading/editable-heading.js +19 -19
  79. package/components/error-bubble/error-bubble.js +4 -5
  80. package/components/error-message/error-message.js +6 -7
  81. package/components/footer/footer.js +8 -9
  82. package/components/form/form.js +2 -3
  83. package/components/global/compose.js +0 -2
  84. package/components/global/data-tests.js +0 -1
  85. package/components/global/theme.js +1 -2
  86. package/components/grid/col.js +4 -4
  87. package/components/grid/grid.js +2 -3
  88. package/components/grid/row.js +4 -5
  89. package/components/group/group.js +2 -2
  90. package/components/header/header-icon.js +4 -4
  91. package/components/header/header.js +3 -4
  92. package/components/header/links.js +2 -2
  93. package/components/header/logo.js +2 -2
  94. package/components/header/profile.d.ts +2 -2
  95. package/components/header/profile.js +10 -11
  96. package/components/header/services-link.js +0 -1
  97. package/components/header/services.js +7 -8
  98. package/components/header/smart-profile.js +0 -1
  99. package/components/header/smart-services.js +0 -1
  100. package/components/header/tray.js +3 -3
  101. package/components/heading/heading.js +3 -3
  102. package/components/http/http.d.ts +3 -3
  103. package/components/icon/icon.js +8 -6
  104. package/components/input/input-legacy.js +2 -3
  105. package/components/input-size/input-size.js +2 -3
  106. package/components/island/content.js +7 -7
  107. package/components/island/header.js +4 -4
  108. package/components/island/island.js +4 -5
  109. package/components/link/link.js +7 -8
  110. package/components/list/list.d.ts +1 -1
  111. package/components/list/list.js +5 -6
  112. package/components/list/list__custom.js +5 -6
  113. package/components/list/list__hint.js +2 -2
  114. package/components/list/list__item.js +22 -23
  115. package/components/list/list__link.js +5 -6
  116. package/components/list/list__separator.js +3 -3
  117. package/components/list/list__title.js +5 -5
  118. package/components/list/list__users-groups-source.js +0 -1
  119. package/components/loader/loader.js +0 -1
  120. package/components/loader/loader__core.js +5 -5
  121. package/components/loader-inline/loader-inline.js +3 -4
  122. package/components/loader-screen/loader-screen.js +4 -5
  123. package/components/login-dialog/login-dialog.js +6 -7
  124. package/components/login-dialog/service.js +0 -1
  125. package/components/markdown/markdown.d.ts +2 -2
  126. package/components/markdown/markdown.js +6 -6
  127. package/components/message/message.js +9 -10
  128. package/components/old-browsers-message/old-browsers-message.js +0 -1
  129. package/components/old-browsers-message/old-browsers-message__stop.js +0 -1
  130. package/components/old-browsers-message/white-list.js +2 -3
  131. package/components/pager/pager.js +9 -10
  132. package/components/panel/panel.js +2 -2
  133. package/components/permissions/permissions.js +0 -1
  134. package/components/permissions/permissions__cache.js +2 -3
  135. package/components/popup/popup.js +5 -6
  136. package/components/popup/position.js +2 -2
  137. package/components/popup-menu/popup-menu.js +0 -1
  138. package/components/progress-bar/progress-bar.d.ts +2 -2
  139. package/components/progress-bar/progress-bar.js +5 -5
  140. package/components/query-assist/query-assist.js +25 -26
  141. package/components/query-assist/query-assist__suggestions.js +0 -1
  142. package/components/radio/radio__item.js +5 -5
  143. package/components/scrollable-section/scrollable-section.js +6 -6
  144. package/components/select/select.d.ts +1 -1
  145. package/components/select/select.js +22 -22
  146. package/components/select/select__filter.js +0 -1
  147. package/components/select/select__popup.js +11 -12
  148. package/components/shortcuts/core.js +1 -1
  149. package/components/slider/slider.js +20 -20
  150. package/components/storage/storage.js +0 -1
  151. package/components/storage/storage__local.js +0 -1
  152. package/components/style.css +1 -1
  153. package/components/tab-trap/tab-trap.js +2 -2
  154. package/components/table/cell.js +2 -3
  155. package/components/table/header-cell.js +8 -9
  156. package/components/table/header.js +6 -7
  157. package/components/table/row-with-focus-sensor.js +0 -1
  158. package/components/table/row.js +10 -11
  159. package/components/table/selection.d.ts +2 -3
  160. package/components/table/simple-table.js +2 -3
  161. package/components/table/smart-table.js +0 -1
  162. package/components/table/table.js +12 -13
  163. package/components/tabs/collapsible-more.d.ts +1 -1
  164. package/components/tabs/collapsible-more.js +6 -7
  165. package/components/tabs/collapsible-tab.js +4 -5
  166. package/components/tabs/collapsible-tabs.d.ts +2 -2
  167. package/components/tabs/collapsible-tabs.js +5 -6
  168. package/components/tabs/dumb-tabs.js +5 -6
  169. package/components/tabs/smart-tabs.js +0 -1
  170. package/components/tabs/tab-link.js +0 -1
  171. package/components/tabs/tab.js +0 -1
  172. package/components/tabs/tabs.js +0 -1
  173. package/components/tag/tag.js +13 -13
  174. package/components/tags-input/tags-input.js +8 -9
  175. package/components/text/text.js +7 -7
  176. package/components/toggle/toggle.d.ts +2 -2
  177. package/components/toggle/toggle.js +12 -13
  178. package/components/tooltip/tooltip.js +3 -4
  179. package/components/user-agreement/service.js +0 -1
  180. package/components/user-agreement/user-agreement.js +7 -8
  181. package/components/user-card/card.js +0 -1
  182. package/components/user-card/smart-user-card-tooltip.js +2 -3
  183. package/components/user-card/tooltip.js +2 -3
  184. package/components/user-card/user-card.js +0 -1
  185. package/package.json +8 -7
  186. package/typings.d.ts +2 -4
  187. package/components/island-legacy/content-legacy.d.ts +0 -5
  188. package/components/island-legacy/content-legacy.js +0 -23
  189. package/components/island-legacy/header-legacy.d.ts +0 -5
  190. package/components/island-legacy/header-legacy.js +0 -26
  191. package/components/island-legacy/island-legacy.d.ts +0 -7
  192. package/components/island-legacy/island-legacy.js +0 -25
@@ -1,5 +1,4 @@
1
1
  import { b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
- import 'core-js/modules/es.array.reduce.js';
3
2
  import 'core-js/modules/es.regexp.exec.js';
4
3
  import 'core-js/modules/web.dom-collections.iterator.js';
5
4
  import sniffr from '../global/sniffer.js';
@@ -9,11 +8,11 @@ const MAJOR_VERSION_INDEX = 0;
9
8
  /**
10
9
  * SUPPORTED_BROWSERS are defined by Babel plugin, see babel config
11
10
  */
12
- if (!["and_chr 129", "and_uc 15.5", "chrome 128", "chrome 127", "chrome 126", "chrome 109", "edge 127", "firefox 129", "ios_saf 17.6", "ios_saf 17.5", "op_mob 80", "safari 17.5", "samsung 25"]) {
11
+ if (!["and_chr 130", "and_uc 15.5", "chrome 129", "chrome 128", "chrome 127", "chrome 109", "edge 129", "edge 128", "firefox 130", "ios_saf 17.6-17.7", "ios_saf 17.5", "op_mob 80", "safari 17.6"]) {
13
12
  // eslint-disable-next-line no-console
14
13
  console.warn('Ring UI: no SUPPORTED_BROWSERS passed. Please check babel config.');
15
14
  }
16
- const SUPPORTED = ["and_chr 129", "and_uc 15.5", "chrome 128", "chrome 127", "chrome 126", "chrome 109", "edge 127", "firefox 129", "ios_saf 17.6", "ios_saf 17.5", "op_mob 80", "safari 17.5", "samsung 25"] || [];
15
+ const SUPPORTED = ["and_chr 130", "and_uc 15.5", "chrome 129", "chrome 128", "chrome 127", "chrome 109", "edge 129", "edge 128", "firefox 130", "ios_saf 17.6-17.7", "ios_saf 17.5", "op_mob 80", "safari 17.6"] || [];
17
16
  const WHITE_LISTED_BROWSERS = ['chrome', 'firefox', 'safari', 'edge'];
18
17
  const WHITE_LIST = SUPPORTED.reduce((acc, item) => {
19
18
  var _item$match;
@@ -23,7 +23,6 @@ import '../_helpers/icon__svg.js';
23
23
  import 'core-js/modules/es.regexp.exec.js';
24
24
  import 'core-js/modules/es.string.replace.js';
25
25
  import '../global/data-tests.js';
26
- import 'core-js/modules/es.array.reduce.js';
27
26
  import '../control-label/control-label.js';
28
27
  import '../control-help/control-help.js';
29
28
  import '../_helpers/caption.js';
@@ -88,7 +87,7 @@ import '../text/text.js';
88
87
  import '../_helpers/select__filter.js';
89
88
  import '../i18n/i18n.js';
90
89
 
91
- var modules_1a5f0d42 = {"light":"light_rui_2ac4","pager":"pager_rui_ad65","links":"links_rui_ad65","link":"link_rui_ad65","linkDisabled":"linkDisabled_rui_ad65","actions":"actions_rui_ad65","pageSize":"pageSize_rui_ad65"};
90
+ var style = {"pager":"pager_rui_ad65","links":"links_rui_ad65","link":"link_rui_ad65","linkDisabled":"linkDisabled_rui_ad65","actions":"actions_rui_ad65","pageSize":"pageSize_rui_ad65"};
92
91
 
93
92
  class Pager extends PureComponent {
94
93
  constructor() {
@@ -189,7 +188,7 @@ class Pager extends PureComponent {
189
188
  const selectOptions = this.getSelectOptions();
190
189
  return !this.props.disablePageSizeSelector && /*#__PURE__*/jsx("div", {
191
190
  "data-test": "ring-pager-page-size-selector",
192
- className: modules_1a5f0d42.pageSize,
191
+ className: style.pageSize,
193
192
  children: /*#__PURE__*/jsx(Select, {
194
193
  data: selectOptions.data,
195
194
  selected: selectOptions.selected,
@@ -223,14 +222,14 @@ class Pager extends PureComponent {
223
222
  const prevLinkHref = this.generateHref(this.props.currentPage - 1);
224
223
  const nextLinkHref = this.generateHref(this.props.currentPage + 1);
225
224
  const disabledLinkClasses = classNames({
226
- [modules_1a5f0d42.link]: true,
227
- [modules_1a5f0d42.linkDisabled]: true
225
+ [style.link]: true,
226
+ [style.linkDisabled]: true
228
227
  });
229
228
  return /*#__PURE__*/jsxs("div", {
230
- className: modules_1a5f0d42.links,
229
+ className: style.links,
231
230
  children: [prevLinkAvailable && (!this.props.loader || this.props.loaderNavigation) ? /*#__PURE__*/jsx(Link, _objectSpread2(_objectSpread2({
232
231
  href: prevLinkHref,
233
- className: modules_1a5f0d42.link
232
+ className: style.link
234
233
  }, this.getClickProps(this.handlePrevClick)), {}, {
235
234
  children: prevLinkContent
236
235
  })) : /*#__PURE__*/jsxs("span", {
@@ -240,7 +239,7 @@ class Pager extends PureComponent {
240
239
  }, "text")]
241
240
  }), nextLinkAvailable && (!this.props.loader || this.props.loaderNavigation) ? /*#__PURE__*/jsx(Link, _objectSpread2(_objectSpread2({
242
241
  href: nextLinkHref,
243
- className: modules_1a5f0d42.link
242
+ className: style.link
244
243
  }, this.getClickProps(this.handleNextClick)), {}, {
245
244
  children: nextLinkContent
246
245
  })) : /*#__PURE__*/jsxs("span", {
@@ -300,7 +299,7 @@ class Pager extends PureComponent {
300
299
  const lastPageButtonAvailable = !this.props.disableLastPageButton && end < totalPages && !this.props.openTotal || this.props.openTotal && this.props.canLoadLastPageWithOpenTotal;
301
300
  return /*#__PURE__*/jsxs("div", {
302
301
  children: [this.getPagerLinks(), /*#__PURE__*/jsxs("div", {
303
- className: modules_1a5f0d42.actions,
302
+ className: style.actions,
304
303
  children: [/*#__PURE__*/jsxs(ButtonToolbar, {
305
304
  children: [start > 1 && this.getButton(1, (_this$props$translati7 = (_this$props$translati8 = this.props.translations) === null || _this$props$translati8 === void 0 ? void 0 : _this$props$translati8.firstPage) !== null && _this$props$translati7 !== void 0 ? _this$props$translati7 : translate('firstPage')), /*#__PURE__*/jsxs(ButtonGroup, {
306
305
  children: [start > 1 && this.getButton(start - 1, '...'), buttons, end < totalPages && this.getButton(end + 1, '...'), end === totalPages && this.props.openTotal && /*#__PURE__*/jsx(Button, _objectSpread2(_objectSpread2({
@@ -315,7 +314,7 @@ class Pager extends PureComponent {
315
314
  });
316
315
  }
317
316
  render() {
318
- const classes = classNames(modules_1a5f0d42.pager, this.props.className);
317
+ const classes = classNames(style.pager, this.props.className);
319
318
  return /*#__PURE__*/jsx("div", {
320
319
  "data-test": "ring-pager",
321
320
  className: classes,
@@ -3,7 +3,7 @@ import { PureComponent } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
6
- var modules_cf670408 = {"light":"light_rui_2ac4","panel":"panel_rui_e32c panel_rui_027b"};
6
+ var styles = {"panel":"panel_rui_e32c panel_rui_027b"};
7
7
 
8
8
  const _excluded = ["className", "children"];
9
9
  class Panel extends PureComponent {
@@ -14,7 +14,7 @@ class Panel extends PureComponent {
14
14
  children
15
15
  } = _this$props,
16
16
  props = _objectWithoutProperties(_this$props, _excluded);
17
- const classes = classNames(modules_cf670408.panel, className);
17
+ const classes = classNames(styles.panel, className);
18
18
  return /*#__PURE__*/jsx("div", _objectSpread2(_objectSpread2({}, props), {}, {
19
19
  className: classes,
20
20
  children: children
@@ -1,6 +1,5 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import PermissionCache from './permissions__cache.js';
3
- import 'core-js/modules/es.array.reduce.js';
4
3
 
5
4
  /**
6
5
  * <code>
@@ -1,5 +1,4 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
- import 'core-js/modules/es.array.reduce.js';
3
2
 
4
3
  /**
5
4
  * Converts an array of cached permissions to a a map of a permission key
@@ -140,7 +139,7 @@ class PermissionCache {
140
139
  let result = this.and(lexems, projectId);
141
140
  while (lexems.length > 0 && lexems[0] !== ')') {
142
141
  if (lexems.shift() !== '|') {
143
- throw new Error('Operator \'|\' was expected');
142
+ throw new Error("Operator '|' was expected");
144
143
  }
145
144
  result = this.and(lexems, projectId) || result;
146
145
  }
@@ -192,7 +191,7 @@ class PermissionCache {
192
191
  result = this.or(lexems, projectId);
193
192
  // Expect ')'
194
193
  if (lexems.shift() !== ')') {
195
- throw new Error('Operator \')\' was expected');
194
+ throw new Error("Operator ')' was expected");
196
195
  }
197
196
  } else {
198
197
  result = t != null && this.testPermission(t, projectId);
@@ -19,10 +19,9 @@ import '../shortcuts/core.js';
19
19
  import 'combokeys';
20
20
  import '../global/sniffer.js';
21
21
  import 'sniffr';
22
- import 'core-js/modules/es.array.reduce.js';
23
22
  import 'core-js/modules/es.array.sort.js';
24
23
 
25
- var modules_2f69e2e2 = {"light":"light_rui_2ac4","popup":"popup_rui_871b font_rui_f295","hidden":"hidden_rui_871b","showing":"showing_rui_871b","attached":"attached_rui_871b"};
24
+ var styles = {"popup":"popup_rui_871b font_rui_f295","hidden":"hidden_rui_871b","showing":"showing_rui_871b","attached":"attached_rui_871b"};
26
25
 
27
26
  const isPossibleClientSideNavigation = event => {
28
27
  const target = event.target;
@@ -287,10 +286,10 @@ class Popup extends PureComponent {
287
286
  'data-test': dataTest
288
287
  } = this.props;
289
288
  const showing = this.state.display === Display.SHOWING;
290
- const classes = classNames(className, modules_2f69e2e2.popup, {
291
- [modules_2f69e2e2.attached]: attached,
292
- [modules_2f69e2e2.hidden]: hidden,
293
- [modules_2f69e2e2.showing]: showing
289
+ const classes = classNames(className, styles.popup, {
290
+ [styles.attached]: attached,
291
+ [styles.hidden]: hidden,
292
+ [styles.showing]: showing
294
293
  });
295
294
  const direction = (this.state.direction || '').toLowerCase().replace(/[_]/g, '-');
296
295
  return /*#__PURE__*/jsx(PopupTargetContext.Consumer, {
@@ -206,9 +206,9 @@ function position(attrs) {
206
206
  styles = directionsMatrix[directions[0]];
207
207
  chosenDirection = directions[0];
208
208
  } else {
209
- const sortedByIncreasingOverflow = directions.
209
+ const sortedByIncreasingOverflow = directions
210
210
  // Fall back to the first option
211
- concat(directions[0]).filter(direction => directionsMatrix[direction]).map(direction => ({
211
+ .concat(directions[0]).filter(direction => directionsMatrix[direction]).map(direction => ({
212
212
  styles: directionsMatrix[direction],
213
213
  direction
214
214
  })).sort((_ref2, _ref3) => {
@@ -17,7 +17,6 @@ import 'combokeys';
17
17
  import '../global/sniffer.js';
18
18
  import 'sniffr';
19
19
  import '../global/data-tests.js';
20
- import 'core-js/modules/es.array.reduce.js';
21
20
  import '../tab-trap/tab-trap.js';
22
21
  import '../popup/position.js';
23
22
  import 'core-js/modules/es.array.sort.js';
@@ -41,9 +41,9 @@ export default class ProgressBar extends PureComponent<ProgressBarProps> {
41
41
  value: number;
42
42
  label: string;
43
43
  };
44
- progressbarWrapper?: (HTMLElement | null);
44
+ progressbarWrapper?: HTMLElement | null;
45
45
  progressbarWrapperRef: (el: HTMLElement | null) => void;
46
- progressbar?: (HTMLElement | null);
46
+ progressbar?: HTMLElement | null;
47
47
  progressbarRef: (el: HTMLElement | null) => void;
48
48
  render(): import("react").JSX.Element;
49
49
  }
@@ -4,7 +4,7 @@ import { PureComponent } from 'react';
4
4
  import classNames from 'classnames';
5
5
  import { jsx } from 'react/jsx-runtime';
6
6
 
7
- var modules_fb7af416 = {"dark":"dark_rui_f090","light":"light_rui_2ac4","progressBar":"progressBar_rui_7662","globalMode":"globalMode_rui_7662","line":"line_rui_7662","progress-bar-animation":"progress-bar-animation_rui_7662","staticLineColor":"staticLineColor_rui_7662"};
7
+ var styles = {"progressBar":"progressBar_rui_7662","globalMode":"globalMode_rui_7662","line":"line_rui_7662","progress-bar-animation":"progress-bar-animation_rui_7662","staticLineColor":"staticLineColor_rui_7662"};
8
8
 
9
9
  const _excluded = ["className", "global", "max", "value", "label", "staticColor"];
10
10
  class ProgressBar extends PureComponent {
@@ -42,15 +42,15 @@ class ProgressBar extends PureComponent {
42
42
  } = _this$props,
43
43
  otherProps = _objectWithoutProperties(_this$props, _excluded);
44
44
  const width = value ? "".concat(ProgressBar.toPercent(value, max), "%") : undefined;
45
- const classes = classNames(modules_fb7af416.progressBar, className, {
46
- [modules_fb7af416.globalMode]: global,
47
- [modules_fb7af416.staticLineColor]: staticColor
45
+ const classes = classNames(styles.progressBar, className, {
46
+ [styles.globalMode]: global,
47
+ [styles.staticLineColor]: staticColor
48
48
  });
49
49
  return /*#__PURE__*/jsx("div", _objectSpread2(_objectSpread2({}, otherProps), {}, {
50
50
  className: classes,
51
51
  ref: this.progressbarWrapperRef,
52
52
  children: /*#__PURE__*/jsx("div", {
53
- className: modules_fb7af416.line,
53
+ className: styles.line,
54
54
  ref: this.progressbarRef,
55
55
  role: "progressbar",
56
56
  "aria-label": label,
@@ -21,11 +21,10 @@ import rerenderHOC from '../global/rerender-hoc.js';
21
21
  import { Button } from '../button/button.js';
22
22
  import Icon from '../icon/icon.js';
23
23
  import { ControlsHeightContext, ControlsHeight } from '../global/controls-height.js';
24
- import { S as Size, m as modules_88cfaf40 } from '../_helpers/input.js';
24
+ import { S as Size, i as inputStyles } from '../_helpers/input.js';
25
25
  import { I18nContext } from '../i18n/i18n-context.js';
26
- import { Q as QueryAssistSuggestions, m as modules_da7ab055 } from '../_helpers/query-assist__suggestions.js';
26
+ import { Q as QueryAssistSuggestions, s as styles } from '../_helpers/query-assist__suggestions.js';
27
27
  import { jsx, jsxs } from 'react/jsx-runtime';
28
- import 'core-js/modules/es.array.reduce.js';
29
28
  import 'react-dom/server';
30
29
  import '../popup/popup.js';
31
30
  import 'react-dom';
@@ -737,7 +736,7 @@ class QueryAssist extends Component {
737
736
  } = this.state;
738
737
  const classes = [];
739
738
  const LETTER_CLASS = 'letter';
740
- const LETTER_DEFAULT_CLASS = modules_da7ab055.letterDefault;
739
+ const LETTER_DEFAULT_CLASS = styles.letterDefault;
741
740
  if (styleRanges && styleRanges.length) {
742
741
  styleRanges.forEach((item, index) => {
743
742
  if (dirty && index === styleRanges.length - 1 && item.style === 'text') {
@@ -745,12 +744,12 @@ class QueryAssist extends Component {
745
744
  }
746
745
  const styleName = "".concat(LETTER_CLASS, "-").concat(item.style.replace('_', '-'));
747
746
  for (let i = item.start; i < item.start + item.length; i++) {
748
- classes[i] = modules_da7ab055[styleName];
747
+ classes[i] = styles[styleName];
749
748
  }
750
749
  });
751
750
  }
752
751
  return query && Array.from(query).map((letter, index, letters) => {
753
- const className = classNames(modules_da7ab055.letter, classes[index] || LETTER_DEFAULT_CLASS);
752
+ const className = classNames(styles.letter, classes[index] || LETTER_DEFAULT_CLASS);
754
753
  const dataTest = letters.length - 1 === index ? 'ring-query-assist-last-letter' : null;
755
754
  // \u00a0 === &nbsp;
756
755
  return /*#__PURE__*/jsx("span", {
@@ -787,7 +786,7 @@ class QueryAssist extends Component {
787
786
  } = _ref6;
788
787
  return /*#__PURE__*/jsx(Button, {
789
788
  icon: closeIcon,
790
- className: modules_da7ab055.clear,
789
+ className: styles.clear,
791
790
  title: (_this$props$translati = (_this$props$translati2 = this.props.translations) === null || _this$props$translati2 === void 0 ? void 0 : _this$props$translati2.clearTitle) !== null && _this$props$translati !== void 0 ? _this$props$translati : translate('clearTitle'),
792
791
  ref: this.clearRef,
793
792
  onClick: this.clearQuery,
@@ -812,23 +811,23 @@ class QueryAssist extends Component {
812
811
  const renderLoader = this.props.loader !== false && this.state.loading;
813
812
  const renderGlass = glass && !renderLoader;
814
813
  const actions = this.renderActions();
815
- const containerClasses = classNames(className, modules_88cfaf40["size".concat(huge ? Size.FULL : size)], {
816
- [modules_da7ab055.queryAssist]: true,
817
- [modules_da7ab055.withIcon]: renderGlass && !huge || renderLoader,
818
- [modules_da7ab055.huge]: huge,
819
- [modules_da7ab055.queryAssistDisabled]: this.props.disabled
814
+ const containerClasses = classNames(className, inputStyles["size".concat(huge ? Size.FULL : size)], {
815
+ [styles.queryAssist]: true,
816
+ [styles.withIcon]: renderGlass && !huge || renderLoader,
817
+ [styles.huge]: huge,
818
+ [styles.queryAssistDisabled]: this.props.disabled
820
819
  });
821
820
  const inputClasses = classNames(this.props.inputClassName, {
822
- ["".concat(modules_da7ab055.input, " ring-js-shortcuts")]: true,
823
- [modules_da7ab055.inputGap]: actions.length || this.isRenderingGlassOrLoader() && !glass,
824
- [modules_da7ab055.inputGap2]: actions.length === 2,
821
+ ["".concat(styles.input, " ring-js-shortcuts")]: true,
822
+ [styles.inputGap]: actions.length || this.isRenderingGlassOrLoader() && !glass,
823
+ [styles.inputGap2]: actions.length === 2,
825
824
  // TODO: replace with flex-box layout
826
- [modules_da7ab055.inputRevertOrder]: !glass || huge
825
+ [styles.inputRevertOrder]: !glass || huge
827
826
  });
828
827
  const placeholderStyles = classNames({
829
- [modules_da7ab055.placeholder]: true,
830
- [modules_da7ab055.hugePlaceholder]: huge,
831
- [modules_da7ab055.withoutGlass]: !glass || !renderLoader && huge
828
+ [styles.placeholder]: true,
829
+ [styles.hugePlaceholder]: huge,
830
+ [styles.withoutGlass]: !glass || !renderLoader && huge
832
831
  });
833
832
  return /*#__PURE__*/jsx(ControlsHeightContext.Provider, {
834
833
  value: ControlsHeight.M,
@@ -848,14 +847,14 @@ class QueryAssist extends Component {
848
847
  scope: this.shortcutsScope
849
848
  }), renderGlass && !huge && /*#__PURE__*/jsx(Icon, {
850
849
  glyph: searchIcon,
851
- className: modules_da7ab055.icon,
850
+ className: styles.icon,
852
851
  title: (_translations$searchT = translations === null || translations === void 0 ? void 0 : translations.searchTitle) !== null && _translations$searchT !== void 0 ? _translations$searchT : translate('searchTitle'),
853
852
  ref: this.glassRef,
854
853
  "data-test": "query-assist-search-icon"
855
854
  }), renderLoader && /*#__PURE__*/jsx("div", {
856
- className: classNames(modules_da7ab055.icon, modules_da7ab055.loader, {
857
- [modules_da7ab055.loaderOnTheRight]: !glass && !huge,
858
- [modules_da7ab055.loaderActive]: renderLoader
855
+ className: classNames(styles.icon, styles.loader, {
856
+ [styles.loaderOnTheRight]: !glass && !huge,
857
+ [styles.loaderActive]: renderLoader
859
858
  }),
860
859
  ref: this.loaderRef,
861
860
  children: /*#__PURE__*/jsx(LoaderInline, {})
@@ -893,7 +892,7 @@ class QueryAssist extends Component {
893
892
  children: this.props.placeholder
894
893
  }), actions.length ? /*#__PURE__*/jsx("div", {
895
894
  "data-test": "ring-query-assist-actions",
896
- className: modules_da7ab055.actions,
895
+ className: styles.actions,
897
896
  children: actions
898
897
  }) : null, /*#__PURE__*/jsx(PopupMenu, {
899
898
  hidden: !this.state.showPopup,
@@ -915,11 +914,11 @@ class QueryAssist extends Component {
915
914
  onMouseUp: this.trackPopupMouseState,
916
915
  onSelect: item => this.handleComplete(item)
917
916
  }), glass && huge && /*#__PURE__*/jsx("div", {
918
- className: modules_da7ab055.rightSearchButton,
917
+ className: styles.rightSearchButton,
919
918
  "data-test": "query-assist-search-button",
920
919
  children: /*#__PURE__*/jsx(Icon, {
921
920
  glyph: searchIcon,
922
- className: modules_da7ab055.rightSearchIcon,
921
+ className: styles.rightSearchIcon,
923
922
  title: (_translations$searchT3 = translations === null || translations === void 0 ? void 0 : translations.searchTitle) !== null && _translations$searchT3 !== void 0 ? _translations$searchT3 : translate('searchTitle'),
924
923
  onClick: this.handleApply,
925
924
  ref: this.glassRef,
@@ -13,7 +13,6 @@ import 'react-virtualized/dist/es/CellMeasurer';
13
13
  import 'util-deprecate';
14
14
  import 'memoize-one';
15
15
  import '../global/data-tests.js';
16
- import 'core-js/modules/es.array.reduce.js';
17
16
  import '../global/get-uid.js';
18
17
  import '../global/schedule-raf.js';
19
18
  import '../global/memoize.js';
@@ -6,7 +6,7 @@ import getUID from '../global/get-uid.js';
6
6
  import ControlHelp from '../control-help/control-help.js';
7
7
  import { jsxs, jsx } from 'react/jsx-runtime';
8
8
 
9
- var modules_df92307a = {"light":"light_rui_2ac4","radio":"radio_rui_798a","circle":"circle_rui_798a","input":"input_rui_798a","focus":"focus_rui_798a","label":"label_rui_798a"};
9
+ var styles = {"radio":"radio_rui_798a","circle":"circle_rui_798a","input":"input_rui_798a","focus":"focus_rui_798a","label":"label_rui_798a"};
10
10
 
11
11
  const _excluded = ["className", "children", "help"],
12
12
  _excluded2 = ["value", "onChange"];
@@ -32,7 +32,7 @@ class RadioItemInner extends Component {
32
32
  help
33
33
  } = _this$props,
34
34
  restProps = _objectWithoutProperties(_this$props, _excluded);
35
- const classes = classNames(modules_df92307a.radio, className);
35
+ const classes = classNames(styles.radio, className);
36
36
  return /*#__PURE__*/jsxs("label", {
37
37
  ref: this.labelRef,
38
38
  className: classes,
@@ -41,12 +41,12 @@ class RadioItemInner extends Component {
41
41
  id: this.uid
42
42
  }, restProps), {}, {
43
43
  ref: this.inputRef,
44
- className: modules_df92307a.input,
44
+ className: styles.input,
45
45
  type: "radio"
46
46
  })), /*#__PURE__*/jsx("span", {
47
- className: modules_df92307a.circle
47
+ className: styles.circle
48
48
  }), /*#__PURE__*/jsxs("span", {
49
- className: modules_df92307a.label,
49
+ className: styles.label,
50
50
  children: [children, help && /*#__PURE__*/jsx(ControlHelp, {
51
51
  children: help
52
52
  })]
@@ -4,7 +4,7 @@ import { useState, useRef, useCallback, useEffect } from 'react';
4
4
  import classNames from 'classnames';
5
5
  import { jsx } from 'react/jsx-runtime';
6
6
 
7
- var modules_8c094df0 = {"scrollableSection":"scrollableSection_rui_29c1","withTopBorder":"withTopBorder_rui_29c1","withRightBorder":"withRightBorder_rui_29c1","withBottomBorder":"withBottomBorder_rui_29c1","withLeftBorder":"withLeftBorder_rui_29c1"};
7
+ var styles = {"scrollableSection":"scrollableSection_rui_29c1","withTopBorder":"withTopBorder_rui_29c1","withRightBorder":"withRightBorder_rui_29c1","withBottomBorder":"withBottomBorder_rui_29c1","withLeftBorder":"withLeftBorder_rui_29c1"};
8
8
 
9
9
  const _excluded = ["className"];
10
10
  function ScrollableSection(_ref) {
@@ -39,11 +39,11 @@ function ScrollableSection(_ref) {
39
39
  return () => window.removeEventListener('resize', calculateScrollPosition);
40
40
  }, [calculateScrollPosition]);
41
41
  return /*#__PURE__*/jsx("div", _objectSpread2(_objectSpread2({}, restProps), {}, {
42
- className: classNames(modules_8c094df0.scrollableSection, className, {
43
- [modules_8c094df0.withTopBorder]: !scrolledToTop,
44
- [modules_8c094df0.withRightBorder]: !scrolledToRight,
45
- [modules_8c094df0.withBottomBorder]: !scrolledToBottom,
46
- [modules_8c094df0.withLeftBorder]: !scrolledToLeft
42
+ className: classNames(styles.scrollableSection, className, {
43
+ [styles.withTopBorder]: !scrolledToTop,
44
+ [styles.withRightBorder]: !scrolledToRight,
45
+ [styles.withBottomBorder]: !scrolledToBottom,
46
+ [styles.withLeftBorder]: !scrolledToLeft
47
47
  }),
48
48
  ref: ref,
49
49
  onScroll: calculateScrollPosition
@@ -49,7 +49,7 @@ export interface CustomAnchorProps {
49
49
  } & DataTestProps;
50
50
  popup: ReactNode;
51
51
  }
52
- export type CustomAnchor = ((props: CustomAnchorProps) => ReactNode);
52
+ export type CustomAnchor = (props: CustomAnchorProps) => ReactNode;
53
53
  export interface BaseSelectProps<T = unknown> {
54
54
  data: readonly SelectItem<T>[];
55
55
  filter: boolean | Filter<T>;
@@ -1,5 +1,4 @@
1
1
  import { _ as _defineProperty, b as _objectSpread2, a as _objectWithoutProperties, c as _toPropertyKey } from '../_helpers/_rollupPluginBabelHelpers.js';
2
- import 'core-js/modules/es.array.reduce.js';
3
2
  import 'core-js/modules/es.regexp.exec.js';
4
3
  import 'core-js/modules/es.string.replace.js';
5
4
  import 'core-js/modules/es.string.trim.js';
@@ -13,7 +12,7 @@ import '../dropdown/dropdown.js';
13
12
  import Avatar, { Size as Size$1 } from '../avatar/avatar.js';
14
13
  import Popup from '../popup/popup.js';
15
14
  import List, { ActiveItemContext } from '../list/list.js';
16
- import { S as Size, I as Input, m as modules_88cfaf40 } from '../_helpers/input.js';
15
+ import { S as Size, I as Input, i as inputStyles } from '../_helpers/input.js';
17
16
  import { ControlLabel } from '../control-label/control-label.js';
18
17
  import Shortcuts from '../shortcuts/shortcuts.js';
19
18
  import { Button } from '../button/button.js';
@@ -82,7 +81,7 @@ import '../caret/caret.js';
82
81
  import '../text/text.js';
83
82
  import '../_helpers/select__filter.js';
84
83
 
85
- var modules_9d0de074 = {"button-shadow":"i__const_button_shadow_0","select":"select_rui_e9c2","value":"value_rui_e9c2 ellipsis_rui_f295 font_rui_f295","icons":"icons_rui_e9c2","light":"light_rui_2ac4","toolbar":"toolbar_rui_e9c2","button":"button_rui_e9c2","buttonSpaced":"buttonSpaced_rui_e9c2","inputMode":"inputMode_rui_e9c2","heightS":"heightS_rui_e9c2","heightL":"heightL_rui_e9c2","selectedIcon":"selectedIcon_rui_e9c2 resetButton_rui_f295","clearIcon":"clearIcon_rui_e9c2","sizeS":"sizeS_rui_e9c2","sizeM":"sizeM_rui_e9c2","sizeL":"sizeL_rui_e9c2","sizeFULL":"sizeFULL_rui_e9c2","sizeAUTO":"sizeAUTO_rui_e9c2","buttonMode":"buttonMode_rui_e9c2","open":"open_rui_e9c2","buttonContainer":"buttonContainer_rui_e9c2","buttonValue":"buttonValue_rui_e9c2 ellipsis_rui_f295","buttonValueOpen":"buttonValueOpen_rui_e9c2","buttonValueEmpty":"buttonValueEmpty_rui_e9c2","label":"label_rui_e9c2","disabled":"disabled_rui_e9c2","avatar":"avatar_rui_e9c2","popup":"popup_rui_e9c2","chevron":"chevron_rui_e9c2","chevronIcon":"chevronIcon_rui_e9c2"};
84
+ var styles = {"select":"select_rui_e9c2","value":"value_rui_e9c2 ellipsis_rui_f295 font_rui_f295","icons":"icons_rui_e9c2","toolbar":"toolbar_rui_e9c2","button":"button_rui_e9c2","buttonSpaced":"buttonSpaced_rui_e9c2","inputMode":"inputMode_rui_e9c2","heightS":"heightS_rui_e9c2","heightL":"heightL_rui_e9c2","selectedIcon":"selectedIcon_rui_e9c2 resetButton_rui_f295","clearIcon":"clearIcon_rui_e9c2","sizeS":"sizeS_rui_e9c2","sizeM":"sizeM_rui_e9c2","sizeL":"sizeL_rui_e9c2","sizeFULL":"sizeFULL_rui_e9c2","sizeAUTO":"sizeAUTO_rui_e9c2","buttonMode":"buttonMode_rui_e9c2","open":"open_rui_e9c2","buttonContainer":"buttonContainer_rui_e9c2","buttonValue":"buttonValue_rui_e9c2 ellipsis_rui_f295","buttonValueOpen":"buttonValueOpen_rui_e9c2","buttonValueEmpty":"buttonValueEmpty_rui_e9c2","label":"label_rui_e9c2","disabled":"disabled_rui_e9c2","avatar":"avatar_rui_e9c2","popup":"popup_rui_e9c2","chevron":"chevron_rui_e9c2","chevronIcon":"chevronIcon_rui_e9c2"};
86
85
 
87
86
  function noop() {}
88
87
  /**
@@ -422,6 +421,7 @@ class Select extends Component {
422
421
  _defineProperty(this, "_redrawPopup", () => {
423
422
  if (this.props.multiple) {
424
423
  setTimeout(() => {
424
+ //setTimeout solves events order and bubbling issue
425
425
  if (this.isInputMode()) {
426
426
  this.clearFilter();
427
427
  }
@@ -696,7 +696,7 @@ class Select extends Component {
696
696
  rgItemType: List.ListProps.Type.CUSTOM,
697
697
  template: /*#__PURE__*/jsx(Button, {
698
698
  text: true,
699
- className: modules_9d0de074.button,
699
+ className: styles.button,
700
700
  "data-test": "ring-select-reset-tags-button",
701
701
  height: ControlsHeight.S,
702
702
  children: reset.label
@@ -801,13 +801,13 @@ class Select extends Component {
801
801
  }
802
802
  return /*#__PURE__*/jsxs("div", {
803
803
  className: classNames({
804
- [modules_9d0de074.toolbar]: Boolean(this.state.addButton || renderBottomToolbar)
804
+ [styles.toolbar]: Boolean(this.state.addButton || renderBottomToolbar)
805
805
  }),
806
806
  "data-test": "ring-select-toolbar",
807
807
  children: [renderBottomToolbar && renderBottomToolbar(), this.state.addButton && /*#__PURE__*/jsx(Button, {
808
808
  text: true,
809
809
  delayed: delayed,
810
- className: classNames(modules_9d0de074.button, modules_9d0de074.buttonSpaced),
810
+ className: classNames(styles.button, styles.buttonSpaced),
811
811
  onClick: this.addHandler,
812
812
  "data-test": "ring-select-toolbar-button",
813
813
  children: prefix ? "".concat(prefix, " ").concat(label) : label
@@ -894,7 +894,7 @@ class Select extends Component {
894
894
  icons.push(/*#__PURE__*/jsx("button", {
895
895
  title: "Toggle options popup",
896
896
  type: "button",
897
- className: modules_9d0de074.selectedIcon,
897
+ className: styles.selectedIcon,
898
898
  disabled: this.props.disabled,
899
899
  onClick: this._clickHandler,
900
900
  style: {
@@ -906,7 +906,7 @@ class Select extends Component {
906
906
  icons.push(/*#__PURE__*/jsx(Button, {
907
907
  title: "Clear selection",
908
908
  "data-test": "ring-clear-select",
909
- className: modules_9d0de074.clearIcon,
909
+ className: styles.clearIcon,
910
910
  disabled: this.props.disabled,
911
911
  onClick: this.clear,
912
912
  height: height,
@@ -916,8 +916,8 @@ class Select extends Component {
916
916
  if (!hideArrow) {
917
917
  icons.push(/*#__PURE__*/jsx(Button, {
918
918
  title: "Toggle options popup",
919
- className: modules_9d0de074.chevron,
920
- iconClassName: modules_9d0de074.chevronIcon,
919
+ className: styles.chevron,
920
+ iconClassName: styles.chevronIcon,
921
921
  icon: chevronDownIcon,
922
922
  disabled: this.props.disabled,
923
923
  height: height,
@@ -929,7 +929,7 @@ class Select extends Component {
929
929
  _getAvatar() {
930
930
  var _this$state$selected, _this$state$selected2;
931
931
  return !Array.isArray(this.state.selected) && (((_this$state$selected = this.state.selected) === null || _this$state$selected === void 0 ? void 0 : _this$state$selected.avatar) || ((_this$state$selected2 = this.state.selected) === null || _this$state$selected2 === void 0 ? void 0 : _this$state$selected2.showGeneratedAvatar)) && /*#__PURE__*/jsx(Avatar, {
932
- className: modules_9d0de074.avatar,
932
+ className: styles.avatar,
933
933
  url: this.state.selected.avatar,
934
934
  username: this.state.selected.username,
935
935
  size: Size$1.Size20
@@ -957,9 +957,9 @@ class Select extends Component {
957
957
  const {
958
958
  shortcutsEnabled
959
959
  } = this.state;
960
- const classes = classNames(modules_9d0de074.select, 'ring-js-shortcuts', this.props.className, modules_9d0de074["height".concat(this.props.height || this.context)], {
961
- [modules_9d0de074["size".concat(this.props.size)]]: this.props.type !== Type.INLINE,
962
- [modules_9d0de074.disabled]: this.props.disabled
960
+ const classes = classNames(styles.select, 'ring-js-shortcuts', this.props.className, styles["height".concat(this.props.height || this.context)], {
961
+ [styles["size".concat(this.props.size)]]: this.props.type !== Type.INLINE,
962
+ [styles.disabled]: this.props.disabled
963
963
  });
964
964
  let style;
965
965
  let iconsNode;
@@ -967,7 +967,7 @@ class Select extends Component {
967
967
  const icons = this._getIcons();
968
968
  style = getStyle(icons.length);
969
969
  iconsNode = /*#__PURE__*/jsx("div", {
970
- className: modules_9d0de074.icons,
970
+ className: styles.icons,
971
971
  children: icons
972
972
  });
973
973
  }
@@ -984,7 +984,7 @@ class Select extends Component {
984
984
  return /*#__PURE__*/jsxs(Fragment$1, {
985
985
  children: [/*#__PURE__*/jsxs("div", {
986
986
  ref: this.nodeRef,
987
- className: classNames(classes, modules_9d0de074.inputMode),
987
+ className: classNames(classes, styles.inputMode),
988
988
  "data-test": joinDataTestAttributes('ring-select', dataTest),
989
989
  role: "presentation" // has interactive elements inside
990
990
  ,
@@ -1019,14 +1019,14 @@ class Select extends Component {
1019
1019
  afterInput: iconsNode
1020
1020
  })), this._renderPopup()]
1021
1021
  }), this.props.error && /*#__PURE__*/jsx("div", {
1022
- className: classNames(modules_88cfaf40.errorText, modules_88cfaf40["size".concat(this.props.size)]),
1022
+ className: classNames(inputStyles.errorText, inputStyles["size".concat(this.props.size)]),
1023
1023
  children: this.props.error
1024
1024
  })]
1025
1025
  });
1026
1026
  case Type.BUTTON:
1027
1027
  return /*#__PURE__*/jsxs("div", {
1028
1028
  ref: this.nodeRef,
1029
- className: classNames(classes, modules_9d0de074.buttonMode),
1029
+ className: classNames(classes, styles.buttonMode),
1030
1030
  "data-test": joinDataTestAttributes('ring-select', dataTest),
1031
1031
  children: [selectedLabel && /*#__PURE__*/jsx(ControlLabel, {
1032
1032
  type: this.props.labelType,
@@ -1037,14 +1037,14 @@ class Select extends Component {
1037
1037
  map: this.getShortcutsMap(),
1038
1038
  scope: this.shortcutsScope
1039
1039
  }), /*#__PURE__*/jsxs("div", {
1040
- className: modules_9d0de074.buttonContainer,
1040
+ className: styles.buttonContainer,
1041
1041
  children: [/*#__PURE__*/jsxs(Button, _objectSpread2(_objectSpread2({}, ariaProps), {}, {
1042
1042
  height: this.props.height,
1043
1043
  id: this.props.id,
1044
1044
  onClick: this._clickHandler,
1045
- className: classNames(this.props.buttonClassName, modules_9d0de074.buttonValue, {
1046
- [modules_9d0de074.buttonValueOpen]: this.state.showPopup,
1047
- [modules_9d0de074.buttonValueEmpty]: this._selectionIsEmpty()
1045
+ className: classNames(this.props.buttonClassName, styles.buttonValue, {
1046
+ [styles.buttonValueOpen]: this.state.showPopup,
1047
+ [styles.buttonValueEmpty]: this._selectionIsEmpty()
1048
1048
  }),
1049
1049
  disabled: this.props.disabled,
1050
1050
  style: style,
@@ -33,7 +33,6 @@ import 'react-virtualized/dist/es/AutoSizer';
33
33
  import 'react-virtualized/dist/es/WindowScroller';
34
34
  import 'react-virtualized/dist/es/CellMeasurer';
35
35
  import '../global/data-tests.js';
36
- import 'core-js/modules/es.array.reduce.js';
37
36
  import '../global/schedule-raf.js';
38
37
  import '../global/dom.js';
39
38
  import '../shortcuts/shortcuts.js';