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

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 (158) 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 -12
  26. package/components/alert/container.js +3 -3
  27. package/components/auth/auth__core.js +1 -1
  28. package/components/auth/background-flow.js +2 -2
  29. package/components/auth/down-notification.js +3 -3
  30. package/components/auth/token-validator.js +1 -1
  31. package/components/auth-dialog/auth-dialog.js +10 -10
  32. package/components/auth-dialog-service/auth-dialog-service.js +1 -1
  33. package/components/avatar/avatar.js +6 -6
  34. package/components/badge/badge.js +6 -6
  35. package/components/breadcrumbs/breadcrumbs.js +2 -2
  36. package/components/button/button.js +4 -4
  37. package/components/button/button__classes.d.ts +1 -1
  38. package/components/button-group/button-group.js +3 -3
  39. package/components/button-set/button-set.js +2 -2
  40. package/components/button-toolbar/button-toolbar.d.ts +1 -1
  41. package/components/button-toolbar/button-toolbar.js +2 -2
  42. package/components/checkbox/checkbox.js +8 -8
  43. package/components/code/code.d.ts +1 -1
  44. package/components/code/code.js +6 -6
  45. package/components/collapse/collapse-content.js +4 -4
  46. package/components/confirm/confirm.d.ts +2 -2
  47. package/components/confirm/confirm.js +3 -3
  48. package/components/confirm-service/confirm-service.d.ts +1 -1
  49. package/components/content-layout/content-layout.js +4 -4
  50. package/components/contenteditable/contenteditable.d.ts +1 -1
  51. package/components/control-help/control-help.js +2 -2
  52. package/components/control-label/control-label.js +5 -5
  53. package/components/data-list/data-list.d.ts +2 -2
  54. package/components/data-list/data-list.js +6 -6
  55. package/components/data-list/item.js +8 -8
  56. package/components/date-picker/date-input.js +2 -2
  57. package/components/date-picker/date-picker.js +8 -8
  58. package/components/date-picker/date-popup.js +4 -4
  59. package/components/date-picker/day.js +15 -15
  60. package/components/date-picker/month-names.js +5 -5
  61. package/components/date-picker/month-slider.js +3 -3
  62. package/components/date-picker/month.js +3 -3
  63. package/components/date-picker/months.js +3 -3
  64. package/components/date-picker/weekdays.js +4 -4
  65. package/components/date-picker/years.js +5 -5
  66. package/components/dialog/dialog.js +13 -13
  67. package/components/dropdown/dropdown.d.ts +2 -2
  68. package/components/dropdown/dropdown.js +2 -2
  69. package/components/editable-heading/editable-heading.js +19 -19
  70. package/components/error-bubble/error-bubble.js +4 -4
  71. package/components/error-message/error-message.js +6 -6
  72. package/components/footer/footer.js +8 -8
  73. package/components/form/form.js +2 -3
  74. package/components/global/theme.js +1 -1
  75. package/components/grid/col.js +4 -4
  76. package/components/grid/grid.js +2 -2
  77. package/components/grid/row.js +4 -4
  78. package/components/group/group.js +2 -2
  79. package/components/header/header-icon.js +4 -4
  80. package/components/header/header.js +3 -3
  81. package/components/header/links.js +2 -2
  82. package/components/header/logo.js +2 -2
  83. package/components/header/profile.d.ts +2 -2
  84. package/components/header/profile.js +10 -10
  85. package/components/header/services.js +7 -7
  86. package/components/header/tray.js +3 -3
  87. package/components/heading/heading.js +3 -3
  88. package/components/http/http.d.ts +3 -3
  89. package/components/icon/icon.js +8 -6
  90. package/components/input/input-legacy.js +2 -3
  91. package/components/input-size/input-size.js +2 -3
  92. package/components/island/content.js +7 -7
  93. package/components/island/header.js +4 -4
  94. package/components/island/island.js +4 -4
  95. package/components/link/link.js +7 -7
  96. package/components/list/list.d.ts +1 -1
  97. package/components/list/list.js +5 -5
  98. package/components/list/list__custom.js +5 -5
  99. package/components/list/list__hint.js +2 -2
  100. package/components/list/list__item.js +22 -22
  101. package/components/list/list__link.js +5 -5
  102. package/components/list/list__separator.js +3 -3
  103. package/components/list/list__title.js +5 -5
  104. package/components/loader/loader__core.js +5 -5
  105. package/components/loader-inline/loader-inline.js +3 -3
  106. package/components/loader-screen/loader-screen.js +4 -4
  107. package/components/login-dialog/login-dialog.js +6 -6
  108. package/components/markdown/markdown.d.ts +2 -2
  109. package/components/markdown/markdown.js +6 -6
  110. package/components/message/message.js +9 -9
  111. package/components/old-browsers-message/white-list.js +2 -2
  112. package/components/pager/pager.js +9 -9
  113. package/components/panel/panel.js +2 -2
  114. package/components/permissions/permissions__cache.js +2 -2
  115. package/components/popup/popup.js +5 -5
  116. package/components/popup/position.js +2 -2
  117. package/components/progress-bar/progress-bar.d.ts +2 -2
  118. package/components/progress-bar/progress-bar.js +5 -5
  119. package/components/query-assist/query-assist.js +25 -25
  120. package/components/radio/radio__item.js +5 -5
  121. package/components/scrollable-section/scrollable-section.js +6 -6
  122. package/components/select/select.d.ts +1 -1
  123. package/components/select/select.js +22 -21
  124. package/components/select/select__popup.js +11 -11
  125. package/components/shortcuts/core.js +1 -1
  126. package/components/slider/slider.js +20 -20
  127. package/components/style.css +1 -1
  128. package/components/tab-trap/tab-trap.js +2 -2
  129. package/components/table/cell.js +2 -2
  130. package/components/table/header-cell.js +8 -8
  131. package/components/table/header.js +6 -6
  132. package/components/table/row.js +10 -10
  133. package/components/table/selection.d.ts +2 -3
  134. package/components/table/simple-table.js +2 -2
  135. package/components/table/table.js +12 -12
  136. package/components/tabs/collapsible-more.d.ts +1 -1
  137. package/components/tabs/collapsible-more.js +6 -6
  138. package/components/tabs/collapsible-tab.js +4 -4
  139. package/components/tabs/collapsible-tabs.d.ts +2 -2
  140. package/components/tabs/collapsible-tabs.js +5 -5
  141. package/components/tabs/dumb-tabs.js +5 -5
  142. package/components/tag/tag.js +13 -13
  143. package/components/tags-input/tags-input.js +8 -8
  144. package/components/text/text.js +7 -7
  145. package/components/toggle/toggle.d.ts +2 -2
  146. package/components/toggle/toggle.js +12 -12
  147. package/components/tooltip/tooltip.js +3 -3
  148. package/components/user-agreement/user-agreement.js +7 -7
  149. package/components/user-card/smart-user-card-tooltip.js +2 -2
  150. package/components/user-card/tooltip.js +2 -2
  151. package/package.json +8 -7
  152. package/typings.d.ts +2 -4
  153. package/components/island-legacy/content-legacy.d.ts +0 -5
  154. package/components/island-legacy/content-legacy.js +0 -23
  155. package/components/island-legacy/header-legacy.d.ts +0 -5
  156. package/components/island-legacy/header-legacy.js +0 -26
  157. package/components/island-legacy/island-legacy.d.ts +0 -7
  158. package/components/island-legacy/island-legacy.js +0 -25
@@ -5,7 +5,7 @@ import { isNodeInVisiblePartOfPage } from '../global/dom.js';
5
5
  import { jsx, jsxs } from 'react/jsx-runtime';
6
6
  import 'core-js/modules/es.regexp.exec.js';
7
7
 
8
- var modules_6dce58ae = {"light":"light_rui_2ac4","trapButton":"trapButton_rui_11f0"};
8
+ var styles = {"trapButton":"trapButton_rui_11f0"};
9
9
 
10
10
  const _excluded = ["children", "trapDisabled", "autoFocusFirst", "focusBackOnClose", "focusBackOnExit"];
11
11
  const FOCUSABLE_ELEMENTS = 'input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])';
@@ -130,7 +130,7 @@ const TabTrap = /*#__PURE__*/forwardRef(function TabTrap(_ref, ref) {
130
130
  // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
131
131
  tabIndex: 0,
132
132
  ref: trapButtonNodeRef,
133
- className: modules_6dce58ae.trapButton,
133
+ className: styles.trapButton,
134
134
  onFocus: focusLastIfEnabled,
135
135
  onBlur: handleBlurIfWithoutFocus,
136
136
  "data-trap-button": true
@@ -2,14 +2,14 @@ import { b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import { PureComponent } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import joinDataTestAttributes from '../global/data-tests.js';
5
- import { m as modules_1db4bbca } from '../_helpers/table.js';
5
+ import { s as style } from '../_helpers/table.js';
6
6
  import { jsx } from 'react/jsx-runtime';
7
7
  import 'core-js/modules/es.array.reduce.js';
8
8
  import 'core-js/modules/web.dom-collections.iterator.js';
9
9
 
10
10
  class Cell extends PureComponent {
11
11
  render() {
12
- const classes = classNames(modules_1db4bbca.cell, this.props.className);
12
+ const classes = classNames(style.cell, this.props.className);
13
13
  return /*#__PURE__*/jsx("td", _objectSpread2(_objectSpread2({}, this.props), {}, {
14
14
  className: classes,
15
15
  "data-test": joinDataTestAttributes('ring-table-cell', this.props['data-test']),
@@ -6,7 +6,7 @@ import sortableIcon from '@jetbrains/icons/unsorted-10px';
6
6
  import chevronDown from '@jetbrains/icons/chevron-10px';
7
7
  import Icon from '../icon/icon.js';
8
8
  import joinDataTestAttributes from '../global/data-tests.js';
9
- import { m as modules_1db4bbca } from '../_helpers/table.js';
9
+ import { s as style } from '../_helpers/table.js';
10
10
  import { jsxs, jsx } from 'react/jsx-runtime';
11
11
  import 'util-deprecate';
12
12
  import '../icon/icon__constants.js';
@@ -54,11 +54,11 @@ class HeaderCell extends PureComponent {
54
54
  this.sorted = sortKey === column.id;
55
55
  const glyph = this.sorted ? chevronDown : sortableIcon;
56
56
  const classes = classNames(className, column.headerClassName, {
57
- [modules_1db4bbca.headerCell]: true,
58
- [modules_1db4bbca.headerCellSortable]: this.sortable,
59
- [modules_1db4bbca.headerCellSorted]: this.sorted,
60
- [modules_1db4bbca.sortedUp]: sortOrder && this.sorted,
61
- [modules_1db4bbca.cellRight]: column.rightAlign
57
+ [style.headerCell]: true,
58
+ [style.headerCellSortable]: this.sortable,
59
+ [style.headerCellSorted]: this.sorted,
60
+ [style.sortedUp]: sortOrder && this.sorted,
61
+ [style.cellRight]: column.rightAlign
62
62
  });
63
63
  return /*#__PURE__*/jsxs("th", _objectSpread2(_objectSpread2({}, restProps), {}, {
64
64
  className: classes,
@@ -69,10 +69,10 @@ class HeaderCell extends PureComponent {
69
69
  role: "presentation",
70
70
  children: this.props.children
71
71
  }), column.getHeaderValue ? column.getHeaderValue() : column.title, this.sortable && /*#__PURE__*/jsx("span", {
72
- className: modules_1db4bbca.sorter,
72
+ className: style.sorter,
73
73
  children: /*#__PURE__*/jsx(Icon, {
74
74
  glyph: glyph,
75
- className: modules_1db4bbca.icon
75
+ className: style.icon
76
76
  })
77
77
  })]
78
78
  }));
@@ -4,7 +4,7 @@ import { PureComponent } from 'react';
4
4
  import classNames from 'classnames';
5
5
  import Checkbox from '../checkbox/checkbox.js';
6
6
  import getUID from '../global/get-uid.js';
7
- import { m as modules_1db4bbca } from '../_helpers/table.js';
7
+ import { s as style } from '../_helpers/table.js';
8
8
  import HeaderCell from './header-cell.js';
9
9
  import { jsx, jsxs } from 'react/jsx-runtime';
10
10
  import '@jetbrains/icons/checkmark-12px';
@@ -45,7 +45,7 @@ class Header extends PureComponent {
45
45
  sortKey,
46
46
  sortOrder
47
47
  } = this.props;
48
- const metaColumnClasses = classNames(modules_1db4bbca.metaColumn, modules_1db4bbca.headerMetaColumn);
48
+ const metaColumnClasses = classNames(style.metaColumn, style.headerMetaColumn);
49
49
  const metaColumn = /*#__PURE__*/jsx("div", {
50
50
  className: metaColumnClasses,
51
51
  children: selectable && /*#__PURE__*/jsx(Checkbox, {
@@ -88,19 +88,19 @@ class Header extends PureComponent {
88
88
  top: topStickOffset
89
89
  },
90
90
  className: classNames({
91
- [modules_1db4bbca.tableHead]: true,
92
- [modules_1db4bbca.subHeaderSticky]: sticky
91
+ [style.tableHead]: true,
92
+ [style.subHeaderSticky]: sticky
93
93
  }),
94
94
  children: [caption && /*#__PURE__*/jsx("tr", {
95
95
  "data-test": "ring-table-header-row",
96
96
  children: /*#__PURE__*/jsx("th", {
97
- className: classNames(modules_1db4bbca.headerCell, modules_1db4bbca.caption),
97
+ className: classNames(style.headerCell, style.caption),
98
98
  colSpan: regularCells.length + 1,
99
99
  "data-test": "ring-table-header-cell",
100
100
  children: caption
101
101
  })
102
102
  }), /*#__PURE__*/jsx("tr", {
103
- className: modules_1db4bbca.subHeader,
103
+ className: style.subHeader,
104
104
  "data-test": "ring-table-header-row",
105
105
  children: regularCells
106
106
  })]
@@ -12,7 +12,7 @@ import joinDataTestAttributes from '../global/data-tests.js';
12
12
  import getUID from '../global/get-uid.js';
13
13
  import { createComposedRef } from '../global/composeRefs.js';
14
14
  import Cell from './cell.js';
15
- import { m as modules_1db4bbca } from '../_helpers/table.js';
15
+ import { s as style } from '../_helpers/table.js';
16
16
  import { jsxs, jsx } from 'react/jsx-runtime';
17
17
  import '@jetbrains/icons/checkmark-12px';
18
18
  import '@jetbrains/icons/remove-12px';
@@ -51,8 +51,8 @@ const DragHandle = _ref => {
51
51
  alwaysShowDragHandle,
52
52
  dragHandleTitle = 'Drag to reorder'
53
53
  } = _ref;
54
- const classes = classNames(modules_1db4bbca.dragHandle, {
55
- [modules_1db4bbca.visibleDragHandle]: alwaysShowDragHandle
54
+ const classes = classNames(style.dragHandle, {
55
+ [style.visibleDragHandle]: alwaysShowDragHandle
56
56
  });
57
57
  return /*#__PURE__*/jsx(Button, {
58
58
  "data-movable-handle": true,
@@ -142,15 +142,15 @@ class Row extends PureComponent {
142
142
  } = _this$props,
143
143
  restProps = _objectWithoutProperties(_this$props, _excluded);
144
144
  const classes = classNames(className, {
145
- [modules_1db4bbca.row]: true,
146
- [modules_1db4bbca.rowFocused]: showFocus,
147
- [modules_1db4bbca.rowSelected]: selected
145
+ [style.row]: true,
146
+ [style.rowFocused]: showFocus,
147
+ [style.rowSelected]: selected
148
148
  });
149
149
  const testAttrs = {
150
150
  'data-test-focused': showFocus || undefined,
151
151
  'data-test-selected': selected || undefined
152
152
  };
153
- const metaColumnClasses = classNames(metaColumnClassName, modules_1db4bbca.metaColumn);
153
+ const metaColumnClasses = classNames(metaColumnClassName, style.metaColumn);
154
154
  const SUBITEM_OFFSET = 30;
155
155
  const COLLAPSIBLE_PARENT_OFFSET = 20;
156
156
  const gap = level * SUBITEM_OFFSET + (parentCollapsible ? COLLAPSIBLE_PARENT_OFFSET : 0);
@@ -181,11 +181,11 @@ class Row extends PureComponent {
181
181
  disabled: true
182
182
  })
183
183
  }), collapsible && collapsed && /*#__PURE__*/jsx(Button, {
184
- className: modules_1db4bbca.rowCollapseExpandButton,
184
+ className: style.rowCollapseExpandButton,
185
185
  icon: chevronRightIcon,
186
186
  onClick: () => onExpand(item)
187
187
  }), collapsible && !collapsed && /*#__PURE__*/jsx(Button, {
188
- className: modules_1db4bbca.rowCollapseExpandButton,
188
+ className: style.rowCollapseExpandButton,
189
189
  icon: chevronDownIcon,
190
190
  onClick: () => onCollapse(item)
191
191
  })]
@@ -196,7 +196,7 @@ class Row extends PureComponent {
196
196
  const getDataTest = column.getDataTest || (() => column.id);
197
197
  const value = getValue(item, column);
198
198
  const cellClasses = classNames({
199
- [modules_1db4bbca.cellRight]: column.rightAlign
199
+ [style.cellRight]: column.rightAlign
200
200
  }, column.className);
201
201
  const showMetaColumn = draggable || selectable || collapsible || showDisabledSelection || !!level;
202
202
  return /*#__PURE__*/jsxs(Cell, {
@@ -1,6 +1,5 @@
1
1
  export interface SelectionItem {
2
2
  id: string | number;
3
- [key: string]: unknown;
4
3
  }
5
4
  export interface TableSelectionConfig<T extends SelectionItem> {
6
5
  data?: readonly T[] | undefined;
@@ -17,13 +16,13 @@ export interface CloneWithConfig<T> {
17
16
  }
18
17
  export default class Selection<T extends SelectionItem> {
19
18
  private _rawData;
20
- protected _getChildren: ((item: T) => readonly T[]);
19
+ protected _getChildren: (item: T) => readonly T[];
21
20
  protected _data: Set<T>;
22
21
  protected _selected: Set<T>;
23
22
  protected _focused: T | null;
24
23
  private _getKey;
25
24
  protected _isItemSelectable: (item: T) => boolean | undefined;
26
- constructor({ data, selected, focused, getKey, getChildren, isItemSelectable }?: TableSelectionConfig<T>);
25
+ constructor({ data, selected, focused, getKey, getChildren, isItemSelectable, }?: TableSelectionConfig<T>);
27
26
  protected _buildData(data: readonly T[] | null | undefined): Set<T>;
28
27
  protected _buildSelected(data: Set<T>, selected: Set<T>): Set<T>;
29
28
  cloneWith({ data, selected, focused }: CloneWithConfig<T>): Selection<T>;
@@ -2,7 +2,7 @@ import { _ as _defineProperty, b as _objectSpread2 } from '../_helpers/_rollupPl
2
2
  import 'core-js/modules/web.dom-collections.iterator.js';
3
3
  import { PureComponent } from 'react';
4
4
  import classNames from 'classnames';
5
- import { m as modules_1db4bbca } from '../_helpers/table.js';
5
+ import { s as style } from '../_helpers/table.js';
6
6
  import TableContainer from './table.js';
7
7
  import Selection$1 from './selection.js';
8
8
  import { jsx } from 'react/jsx-runtime';
@@ -67,7 +67,7 @@ class SimpleTable extends PureComponent {
67
67
  data: this.props.data
68
68
  })
69
69
  });
70
- _defineProperty(this, "classes", classNames(modules_1db4bbca.disabledHover, this.props.className));
70
+ _defineProperty(this, "classes", classNames(style.disabledHover, this.props.className));
71
71
  }
72
72
  render() {
73
73
  return /*#__PURE__*/jsx(TableContainer, _objectSpread2(_objectSpread2({}, this.props), {}, {
@@ -8,7 +8,7 @@ import getUID from '../global/get-uid.js';
8
8
  import Shortcuts from '../shortcuts/shortcuts.js';
9
9
  import Loader from '../loader/loader.js';
10
10
  import Header from './header.js';
11
- import { m as modules_1db4bbca } from '../_helpers/table.js';
11
+ import { s as style } from '../_helpers/table.js';
12
12
  import selectionShortcutsHOC from './selection-shortcuts-hoc.js';
13
13
  import disableHoverHOC from './disable-hover-hoc.js';
14
14
  import RowWithFocusSensorCallbacks from './row-with-focus-sensor.js';
@@ -211,15 +211,15 @@ class Table extends PureComponent {
211
211
  headerProps.onCheckboxChange = this.onCheckboxChange;
212
212
  headerProps.checkboxDisabled = this.props.data.length === 0;
213
213
  const wrapperClasses = classNames({
214
- [modules_1db4bbca.tableWrapper]: true,
215
- [modules_1db4bbca.loading]: loading
214
+ [style.tableWrapper]: true,
215
+ [style.loading]: loading
216
216
  });
217
217
  const classes = classNames(this.props.className, {
218
- [modules_1db4bbca.table]: true,
219
- [modules_1db4bbca.wideFirstColumn]: this.props.wideFirstColumn,
220
- [modules_1db4bbca.multiSelection]: selection.getSelected().size > 0,
221
- [modules_1db4bbca.userSelectNone]: this.state.userSelectNone,
222
- [modules_1db4bbca.disabledHover]: this.props.disabledHover
218
+ [style.table]: true,
219
+ [style.wideFirstColumn]: this.props.wideFirstColumn,
220
+ [style.multiSelection]: selection.getSelected().size > 0,
221
+ [style.userSelectNone]: this.state.userSelectNone,
222
+ [style.disabledHover]: this.props.disabledHover
223
223
  });
224
224
  const renderList = _ref3 => {
225
225
  let {
@@ -229,7 +229,7 @@ class Table extends PureComponent {
229
229
  const empty = /*#__PURE__*/jsx("tr", {
230
230
  children: /*#__PURE__*/jsx("td", {
231
231
  colSpan: columnsArray.length || 1,
232
- className: modules_1db4bbca.tableMessage,
232
+ className: style.tableMessage,
233
233
  children: renderEmpty ? renderEmpty() : null
234
234
  })
235
235
  });
@@ -278,7 +278,7 @@ class Table extends PureComponent {
278
278
  showDisabledSelection: isDisabledSelectionVisible(value),
279
279
  checkboxTooltip: getCheckboxTooltip(value),
280
280
  className: classNames(getItemClassName(value), {
281
- [modules_1db4bbca.draggingRow]: isDragged
281
+ [style.draggingRow]: isDragged
282
282
  }),
283
283
  metaColumnClassName: getMetaColumnClassName(value),
284
284
  draggable: draggable,
@@ -291,7 +291,7 @@ class Table extends PureComponent {
291
291
  }));
292
292
  return isDragged ? /*#__PURE__*/jsx("table", {
293
293
  style: _objectSpread2({}, props.style),
294
- className: modules_1db4bbca.draggingTable,
294
+ className: style.draggingTable,
295
295
  children: /*#__PURE__*/jsx("tbody", {
296
296
  children: row
297
297
  })
@@ -319,7 +319,7 @@ class Table extends PureComponent {
319
319
  }))
320
320
  })
321
321
  }), loading && /*#__PURE__*/jsx("div", {
322
- className: modules_1db4bbca.loadingOverlay,
322
+ className: style.loadingOverlay,
323
323
  children: /*#__PURE__*/jsx(Loader, {
324
324
  className: loaderClassName
325
325
  })
@@ -17,5 +17,5 @@ export interface MoreButtonProps {
17
17
  morePopupItemClassName?: string | undefined;
18
18
  morePopupBeforeEnd: ReactNode;
19
19
  }
20
- export declare const MoreButton: import("react").MemoExoticComponent<({ items, selected, onSelect, moreClassName, moreActiveClassName, morePopupClassName, morePopupItemClassName, morePopupBeforeEnd }: MoreButtonProps) => import("react").JSX.Element | null>;
20
+ export declare const MoreButton: import("react").MemoExoticComponent<({ items, selected, onSelect, moreClassName, moreActiveClassName, morePopupClassName, morePopupItemClassName, morePopupBeforeEnd, }: MoreButtonProps) => import("react").JSX.Element | null>;
21
21
  export declare const FakeMoreButton: import("react").MemoExoticComponent<({ moreClassName, moreActiveClassName, hasActiveChildren }: FakeMoreButtonProps) => import("react").JSX.Element>;
@@ -7,7 +7,7 @@ import PopupMenu, { ListProps } from '../popup-menu/popup-menu.js';
7
7
  import Dropdown from '../dropdown/dropdown.js';
8
8
  import Link from '../link/link.js';
9
9
  import Icon from '../icon/icon.js';
10
- import { m as modules_02138f4a } from '../_helpers/tab-link.js';
10
+ import { s as styles } from '../_helpers/tab-link.js';
11
11
  import getTabTitles from './collapsible-tab.js';
12
12
  import { CustomItem } from './custom-item.js';
13
13
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -76,14 +76,14 @@ const AnchorLink = _ref => {
76
76
  moreActiveClassName
77
77
  } = _ref,
78
78
  restProps = _objectWithoutProperties(_ref, _excluded);
79
- const classnames = classNames(modules_02138f4a.title, hasActiveChildren && modules_02138f4a.selected, hasActiveChildren && moreActiveClassName, moreClassName);
79
+ const classnames = classNames(styles.title, hasActiveChildren && styles.selected, hasActiveChildren && moreActiveClassName, moreClassName);
80
80
  return /*#__PURE__*/jsxs(Link, _objectSpread2(_objectSpread2({
81
81
  title: 'More',
82
82
  className: classnames
83
83
  }, restProps), {}, {
84
84
  children: ['More', /*#__PURE__*/jsx(Icon, {
85
85
  glyph: chevronDown,
86
- className: modules_02138f4a.chevron
86
+ className: styles.chevron
87
87
  })]
88
88
  }));
89
89
  };
@@ -128,7 +128,7 @@ const MoreButton = /*#__PURE__*/memo(_ref2 => {
128
128
  popupItems.push({
129
129
  template: morePopupBeforeEnd,
130
130
  key: 'before-end-content',
131
- className: modules_02138f4a.morePopupBeforeEnd,
131
+ className: styles.morePopupBeforeEnd,
132
132
  rgItemType: ListProps.Type.CUSTOM
133
133
  });
134
134
  }
@@ -149,7 +149,7 @@ const MoreButton = /*#__PURE__*/memo(_ref2 => {
149
149
  return null;
150
150
  }
151
151
  return /*#__PURE__*/jsx("div", {
152
- className: classNames(modules_02138f4a.title, moreClassName, hasActiveChild && moreActiveClassName),
152
+ className: classNames(styles.title, moreClassName, hasActiveChild && moreActiveClassName),
153
153
  children: /*#__PURE__*/jsx(Dropdown, {
154
154
  hoverMode: true,
155
155
  anchor: popupAnchor,
@@ -165,7 +165,7 @@ const FakeMoreButton = /*#__PURE__*/memo(_ref3 => {
165
165
  hasActiveChildren
166
166
  } = _ref3;
167
167
  return /*#__PURE__*/jsx("div", {
168
- className: classNames(modules_02138f4a.moreButton, modules_02138f4a.title),
168
+ className: classNames(styles.moreButton, styles.title),
169
169
  children: /*#__PURE__*/jsx(AnchorLink, {
170
170
  moreClassName: moreClassName,
171
171
  moreActiveClassName: moreActiveClassName,
@@ -1,7 +1,7 @@
1
1
  import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import * as React from 'react';
3
3
  import classNames from 'classnames';
4
- import { m as modules_02138f4a, T as TabLink } from '../_helpers/tab-link.js';
4
+ import { s as styles, T as TabLink } from '../_helpers/tab-link.js';
5
5
  import { CustomItem } from './custom-item.js';
6
6
  import { jsx } from 'react/jsx-runtime';
7
7
  import '../link/link.js';
@@ -34,9 +34,9 @@ const TabTitle = /*#__PURE__*/React.memo(function TabTitle(_ref) {
34
34
  collapsedClassName,
35
35
  collapsedActiveClassName
36
36
  } = child.props;
37
- const titleClasses = classNames(modules_02138f4a.title, className, {
38
- [modules_02138f4a.selected]: selected,
39
- [modules_02138f4a.collapsed]: collapsed,
37
+ const titleClasses = classNames(styles.title, className, {
38
+ [styles.selected]: selected,
39
+ [styles.collapsed]: collapsed,
40
40
  [activeClassName !== null && activeClassName !== void 0 ? activeClassName : '']: selected,
41
41
  [collapsedClassName !== null && collapsedClassName !== void 0 ? collapsedClassName : '']: collapsed,
42
42
  [collapsedActiveClassName !== null && collapsedActiveClassName !== void 0 ? collapsedActiveClassName : '']: collapsed && selected
@@ -11,6 +11,6 @@ export interface CollapsibleTabsProps {
11
11
  initialVisibleItems?: number | null | undefined;
12
12
  morePopupBeforeEnd?: ReactNode;
13
13
  }
14
- export declare const CollapsibleTabs: ({ children, selected, onSelect, moreClassName, moreActiveClassName, morePopupClassName, morePopupBeforeEnd, morePopupItemClassName, initialVisibleItems }: CollapsibleTabsProps) => import("react").JSX.Element;
15
- declare const _default: import("react").MemoExoticComponent<({ children, selected, onSelect, moreClassName, moreActiveClassName, morePopupClassName, morePopupBeforeEnd, morePopupItemClassName, initialVisibleItems }: CollapsibleTabsProps) => import("react").JSX.Element>;
14
+ export declare const CollapsibleTabs: ({ children, selected, onSelect, moreClassName, moreActiveClassName, morePopupClassName, morePopupBeforeEnd, morePopupItemClassName, initialVisibleItems, }: CollapsibleTabsProps) => import("react").JSX.Element;
15
+ declare const _default: import("react").MemoExoticComponent<({ children, selected, onSelect, moreClassName, moreActiveClassName, morePopupClassName, morePopupBeforeEnd, morePopupItemClassName, initialVisibleItems, }: CollapsibleTabsProps) => import("react").JSX.Element>;
16
16
  export default _default;
@@ -5,7 +5,7 @@ import 'core-js/modules/web.dom-collections.iterator.js';
5
5
  import { memo, useState, useRef, useMemo, useCallback, useEffect } from 'react';
6
6
  import classNames from 'classnames';
7
7
  import fastdom from 'fastdom';
8
- import { m as modules_02138f4a } from '../_helpers/tab-link.js';
8
+ import { s as styles } from '../_helpers/tab-link.js';
9
9
  import { MoreButton, FakeMoreButton } from './collapsible-more.js';
10
10
  import getTabTitles from './collapsible-tab.js';
11
11
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -257,11 +257,11 @@ const CollapsibleTabs = _ref => {
257
257
  };
258
258
  }, [adjustTabs]);
259
259
  const isAdjusted = elements.lastVisibleIndex !== null && preparedElements.ready === true || initialVisibleItems;
260
- const className = classNames(modules_02138f4a.titles, modules_02138f4a.autoCollapse, isAdjusted && modules_02138f4a.adjusted);
260
+ const className = classNames(styles.titles, styles.autoCollapse, isAdjusted && styles.adjusted);
261
261
  return /*#__PURE__*/jsxs("div", {
262
- className: modules_02138f4a.autoCollapseContainer,
262
+ className: styles.autoCollapseContainer,
263
263
  children: [/*#__PURE__*/jsxs("div", {
264
- className: classNames(className, modules_02138f4a.rendered),
264
+ className: classNames(className, styles.rendered),
265
265
  children: [visibleElements, /*#__PURE__*/jsx(MoreButton, {
266
266
  moreClassName: moreClassName,
267
267
  moreActiveClassName: moreActiveClassName,
@@ -274,7 +274,7 @@ const CollapsibleTabs = _ref => {
274
274
  })]
275
275
  }), /*#__PURE__*/jsxs("div", {
276
276
  ref: measureRef,
277
- className: classNames(className, modules_02138f4a.measure),
277
+ className: classNames(className, styles.measure),
278
278
  children: [childrenToMeasure, /*#__PURE__*/jsx(FakeMoreButton, {
279
279
  hasActiveChildren: preparedElements.hidden.some(item => item.props.alwaysHidden && item.props.id === selected),
280
280
  moreClassName: moreClassName,
@@ -5,7 +5,7 @@ import { PureComponent } from 'react';
5
5
  import classNames from 'classnames';
6
6
  import memoize from '../global/memoize.js';
7
7
  import joinDataTestAttributes from '../global/data-tests.js';
8
- import { m as modules_02138f4a, T as TabLink } from '../_helpers/tab-link.js';
8
+ import { s as styles, T as TabLink } from '../_helpers/tab-link.js';
9
9
  import CollapsibleTabs from './collapsible-tabs.js';
10
10
  import { CustomItem } from './custom-item.js';
11
11
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -95,8 +95,8 @@ class Tabs extends PureComponent {
95
95
  } = child.props;
96
96
  const key = id || String(i);
97
97
  const isSelected = key === selected;
98
- const titleClasses = classNames(modules_02138f4a.title, className, isSelected && activeClassName, {
99
- [modules_02138f4a.selected]: isSelected
98
+ const titleClasses = classNames(styles.title, className, isSelected && activeClassName, {
99
+ [styles.selected]: isSelected
100
100
  });
101
101
  return /*#__PURE__*/jsx(TabLink, _objectSpread2({
102
102
  title: title,
@@ -119,7 +119,7 @@ class Tabs extends PureComponent {
119
119
  'data-test': dataTest
120
120
  } = _this$props,
121
121
  restProps = _objectWithoutProperties(_this$props, _excluded);
122
- const classes = classNames(modules_02138f4a.tabs, className);
122
+ const classes = classNames(styles.tabs, className);
123
123
  const childrenArray = React.Children.toArray(children).filter(Boolean);
124
124
  return /*#__PURE__*/jsxs("div", {
125
125
  className: classes,
@@ -129,7 +129,7 @@ class Tabs extends PureComponent {
129
129
  selected: selected,
130
130
  children: childrenArray
131
131
  })) : /*#__PURE__*/jsx("div", {
132
- className: modules_02138f4a.titles,
132
+ className: styles.titles,
133
133
  children: childrenArray.map(this.getTabTitle)
134
134
  }), /*#__PURE__*/jsx("div", {
135
135
  className: classNames(tabContainerClassName),
@@ -17,7 +17,7 @@ import '@jetbrains/icons/chevron-down';
17
17
  import '../link/clickableLink.js';
18
18
  import '../_helpers/button__classes.js';
19
19
 
20
- var modules_2f9be069 = {"max-height":"20px","tag":"tag_rui_5765 resetButton_rui_f295","light":"light_rui_2ac4","withRemove":"withRemove_rui_5765","container":"container_rui_5765","focused":"focused_rui_5765","content":"content_rui_5765 ellipsis_rui_f295","disabled":"disabled_rui_5765","remove":"remove_rui_5765","removeIcon":"removeIcon_rui_5765","icon":"icon_rui_5765","avatarContainer":"avatarContainer_rui_5765","customIcon":"customIcon_rui_5765","avatarIcon":"avatarIcon_rui_5765"};
20
+ var styles = {"tag":"tag_rui_5765 resetButton_rui_f295","withRemove":"withRemove_rui_5765","container":"container_rui_5765","focused":"focused_rui_5765","content":"content_rui_5765 ellipsis_rui_f295","disabled":"disabled_rui_5765","remove":"remove_rui_5765","removeIcon":"removeIcon_rui_5765","icon":"icon_rui_5765","avatarContainer":"avatarContainer_rui_5765","customIcon":"customIcon_rui_5765","avatarIcon":"avatarIcon_rui_5765"};
21
21
 
22
22
  class Tag extends PureComponent {
23
23
  constructor() {
@@ -65,7 +65,7 @@ class Tag extends PureComponent {
65
65
  renderCustomIcon() {
66
66
  if (this.props.rgTagIcon) {
67
67
  return /*#__PURE__*/jsx(Icon, {
68
- className: modules_2f9be069.icon,
68
+ className: styles.icon,
69
69
  title: this.props.rgTagTitle,
70
70
  glyph: this.props.rgTagIcon
71
71
  });
@@ -74,8 +74,8 @@ class Tag extends PureComponent {
74
74
  }
75
75
  _renderImageElement(avatarSrc) {
76
76
  const classes = classNames({
77
- [modules_2f9be069.customIcon]: this.props.icon,
78
- [modules_2f9be069.avatarIcon]: avatarSrc
77
+ [styles.customIcon]: this.props.icon,
78
+ [styles.avatarIcon]: avatarSrc
79
79
  });
80
80
  return /*#__PURE__*/jsx("img", {
81
81
  alt: avatarSrc ? 'Avatar' : 'Icon',
@@ -92,7 +92,7 @@ class Tag extends PureComponent {
92
92
  renderAvatar() {
93
93
  if (this.props.avatar) {
94
94
  return /*#__PURE__*/jsx("span", {
95
- className: modules_2f9be069.avatarContainer,
95
+ className: styles.avatarContainer,
96
96
  children: this._renderImageElement(this.props.avatar)
97
97
  });
98
98
  }
@@ -104,8 +104,8 @@ class Tag extends PureComponent {
104
104
  title: "Remove",
105
105
  icon: closeIcon,
106
106
  "data-test": "ring-tag-remove",
107
- className: modules_2f9be069.remove,
108
- iconClassName: modules_2f9be069.removeIcon,
107
+ className: styles.remove,
108
+ iconClassName: styles.removeIcon,
109
109
  onClick: this.props.onRemove,
110
110
  style: {
111
111
  '--ring-icon-secondary-color': this.props.textColor
@@ -116,10 +116,10 @@ class Tag extends PureComponent {
116
116
  return null;
117
117
  }
118
118
  render() {
119
- const classes = classNames('ring-js-shortcuts', modules_2f9be069.tag, {
120
- [modules_2f9be069.focused]: this.state.focused,
121
- [modules_2f9be069.disabled]: this.props.disabled,
122
- [modules_2f9be069.withRemove]: !this.props.readOnly
119
+ const classes = classNames('ring-js-shortcuts', styles.tag, {
120
+ [styles.focused]: this.state.focused,
121
+ [styles.disabled]: this.props.disabled,
122
+ [styles.withRemove]: !this.props.readOnly
123
123
  }, this.props.className);
124
124
  const {
125
125
  backgroundColor,
@@ -127,7 +127,7 @@ class Tag extends PureComponent {
127
127
  render
128
128
  } = this.props;
129
129
  return /*#__PURE__*/jsxs("span", {
130
- className: modules_2f9be069.container,
130
+ className: styles.container,
131
131
  children: [render({
132
132
  'data-test': 'ring-tag',
133
133
  className: classes,
@@ -140,7 +140,7 @@ class Tag extends PureComponent {
140
140
  disabled: this.props.disabled,
141
141
  children: /*#__PURE__*/jsxs(Fragment, {
142
142
  children: [this.renderAvatar(), this.renderCustomIcon(), this.renderImage(), /*#__PURE__*/jsx("span", {
143
- className: modules_2f9be069.content,
143
+ className: styles.content,
144
144
  children: this.props.children
145
145
  })]
146
146
  })
@@ -8,7 +8,7 @@ import TagsList from '../tags-list/tags-list.js';
8
8
  import Caret from '../caret/caret.js';
9
9
  import memoize from '../global/memoize.js';
10
10
  import rerenderHOC from '../global/rerender-hoc.js';
11
- import { S as Size, m as modules_88cfaf40 } from '../_helpers/input.js';
11
+ import { S as Size, i as inputStyles } from '../_helpers/input.js';
12
12
  import { ControlsHeightContext } from '../global/controls-height.js';
13
13
  import getUID from '../global/get-uid.js';
14
14
  import { ControlLabel } from '../control-label/control-label.js';
@@ -83,7 +83,7 @@ import '../text/text.js';
83
83
  import '../_helpers/select__filter.js';
84
84
  import '../tag/tag.js';
85
85
 
86
- var modules_5aa8aaf3 = {"outerContainer":"outerContainer_rui_1f0c","container":"container_rui_1f0c","input":"input_rui_1f0c","light":"light_rui_2ac4","tagsInput":"tagsInput_rui_2ffe","tagsInputDisabled":"tagsInputDisabled_rui_2ffe","tagsInputFocused":"tagsInputFocused_rui_2ffe","tagsList":"tagsList_rui_2ffe","tagsSelect":"tagsSelect_rui_2ffe"};
86
+ var styles = {"outerContainer":"outerContainer_rui_1f0c","container":"container_rui_1f0c","input":"input_rui_1f0c","tagsInput":"tagsInput_rui_2ffe","tagsInputDisabled":"tagsInputDisabled_rui_2ffe","tagsInputFocused":"tagsInputFocused_rui_2ffe","tagsList":"tagsList_rui_2ffe","tagsSelect":"tagsSelect_rui_2ffe"};
87
87
 
88
88
  function noop() {}
89
89
  /**
@@ -338,9 +338,9 @@ class TagsInput extends PureComponent {
338
338
  height = this.context,
339
339
  label
340
340
  } = this.props;
341
- const classes = classNames(modules_5aa8aaf3.tagsInput, [modules_88cfaf40["size".concat(size)]], [modules_88cfaf40["height".concat(height)]], {
342
- [modules_5aa8aaf3.tagsInputDisabled]: disabled,
343
- [modules_5aa8aaf3.tagsInputFocused]: focused
341
+ const classes = classNames(styles.tagsInput, [inputStyles["size".concat(size)]], [inputStyles["height".concat(height)]], {
342
+ [styles.tagsInputDisabled]: disabled,
343
+ [styles.tagsInputFocused]: focused
344
344
  }, this.props.className);
345
345
  return /*#__PURE__*/jsxs("div", {
346
346
  // it transfers focus to input
@@ -360,8 +360,8 @@ class TagsInput extends PureComponent {
360
360
  disabled: disabled,
361
361
  canNotBeEmpty: canNotBeEmpty,
362
362
  handleRemove: this.handleRemove,
363
- className: modules_5aa8aaf3.tagsList,
364
- tagClassName: modules_5aa8aaf3.tag,
363
+ className: styles.tagsList,
364
+ tagClassName: styles.tag,
365
365
  handleClick: this.handleClick,
366
366
  customTagComponent: this.props.customTagComponent,
367
367
  children: /*#__PURE__*/jsx(Select, {
@@ -371,7 +371,7 @@ class TagsInput extends PureComponent {
371
371
  type: Select.Type.INPUT_WITHOUT_CONTROLS,
372
372
  inputPlaceholder: this.props.placeholder,
373
373
  data: this.state.suggestions,
374
- className: classNames(modules_5aa8aaf3.tagsSelect),
374
+ className: classNames(styles.tagsSelect),
375
375
  onSelect: this.addTag,
376
376
  onFocus: this._focusHandler,
377
377
  onBlur: this._blurHandler,
@@ -3,7 +3,7 @@ import { Component } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
6
- var modules_78d1bce6 = {"light":"light_rui_2ac4","text":"text_rui_2f31","sizeS":"sizeS_rui_2f31","sizeM":"sizeM_rui_2f31","sizeL":"sizeL_rui_2f31","info":"info_rui_2f31","bold":"bold_rui_2f31"};
6
+ var styles = {"text":"text_rui_2f31","sizeS":"sizeS_rui_2f31","sizeM":"sizeM_rui_2f31","sizeL":"sizeL_rui_2f31","info":"info_rui_2f31","bold":"bold_rui_2f31"};
7
7
 
8
8
  const _excluded = ["children", "className", "info", "size", "bold"];
9
9
  const TextSize = {
@@ -25,12 +25,12 @@ class Text extends Component {
25
25
  bold
26
26
  } = _this$props,
27
27
  restProps = _objectWithoutProperties(_this$props, _excluded);
28
- const classes = classNames(modules_78d1bce6.text, className, {
29
- [modules_78d1bce6.info]: info,
30
- [modules_78d1bce6.bold]: bold,
31
- [modules_78d1bce6.sizeS]: size === Text.Size.S,
32
- [modules_78d1bce6.sizeM]: size === Text.Size.M,
33
- [modules_78d1bce6.sizeL]: size === Text.Size.L
28
+ const classes = classNames(styles.text, className, {
29
+ [styles.info]: info,
30
+ [styles.bold]: bold,
31
+ [styles.sizeS]: size === Text.Size.S,
32
+ [styles.sizeM]: size === Text.Size.M,
33
+ [styles.sizeL]: size === Text.Size.L
34
34
  });
35
35
  return /*#__PURE__*/jsx("span", _objectSpread2(_objectSpread2({
36
36
  className: classes
@@ -5,8 +5,8 @@ export declare const Size: {
5
5
  Size20: string;
6
6
  };
7
7
  /**
8
- * @name Toggle
9
- */
8
+ * @name Toggle
9
+ */
10
10
  export interface ToggleProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
11
11
  size: string;
12
12
  leftLabel?: ReactNode;