@jetbrains/ring-ui-built 7.0.72 → 7.0.73

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 (287) hide show
  1. package/components/_helpers/anchor.js +55 -13
  2. package/components/_helpers/avatar-info.js +44 -11
  3. package/components/_helpers/caption.js +2 -2
  4. package/components/_helpers/card.js +21 -21
  5. package/components/_helpers/icon-svg.js +75 -17
  6. package/components/_helpers/input.js +13 -13
  7. package/components/_helpers/query-assist-suggestions.js +5 -5
  8. package/components/_helpers/select-filter.js +5 -5
  9. package/components/_helpers/services-link.js +5 -5
  10. package/components/_helpers/sidebar.js +6 -6
  11. package/components/_helpers/tab-link.js +69 -17
  12. package/components/_helpers/theme.js +231 -54
  13. package/components/_helpers/title.js +5 -5
  14. package/components/alert/alert.d.ts +1 -1
  15. package/components/alert/alert.js +12 -10
  16. package/components/alert/container.js +4 -4
  17. package/components/alert-service/alert-service.d.ts +1 -1
  18. package/components/alert-service/alert-service.js +5 -4
  19. package/components/auth/auth-core.js +8 -8
  20. package/components/auth/auth.js +3 -2
  21. package/components/auth/down-notification.js +61 -17
  22. package/components/auth/iframe-flow.js +7 -6
  23. package/components/auth/storage.js +3 -2
  24. package/components/auth/token-validator.js +1 -1
  25. package/components/auth/window-flow.js +2 -2
  26. package/components/auth-dialog/auth-dialog.d.ts +1 -1
  27. package/components/auth-dialog/auth-dialog.js +15 -14
  28. package/components/auth-dialog-service/auth-dialog-service.js +4 -6
  29. package/components/avatar/avatar-info.d.ts +1 -1
  30. package/components/avatar/avatar-info.js +3 -2
  31. package/components/avatar/avatar.d.ts +1 -1
  32. package/components/avatar/avatar.js +16 -15
  33. package/components/avatar/fallback-avatar.d.ts +1 -1
  34. package/components/avatar/fallback-avatar.js +183 -59
  35. package/components/avatar-stack/avatar-stack.d.ts +1 -1
  36. package/components/avatar-stack/avatar-stack.js +115 -29
  37. package/components/banner/banner.d.ts +1 -1
  38. package/components/banner/banner.js +11 -10
  39. package/components/breadcrumbs/breadcrumbs.d.ts +1 -1
  40. package/components/breadcrumbs/breadcrumbs.js +3 -2
  41. package/components/button/button.d.ts +1 -1
  42. package/components/button/button.js +11 -10
  43. package/components/button-group/button-group.d.ts +1 -1
  44. package/components/button-group/button-group.js +6 -8
  45. package/components/button-group/caption.d.ts +1 -1
  46. package/components/button-group/caption.js +1 -1
  47. package/components/button-set/button-set.d.ts +1 -1
  48. package/components/button-set/button-set.js +2 -5
  49. package/components/button-toolbar/button-toolbar.d.ts +1 -1
  50. package/components/button-toolbar/button-toolbar.js +2 -5
  51. package/components/checkbox/checkbox.d.ts +1 -1
  52. package/components/checkbox/checkbox.js +12 -17
  53. package/components/clipboard/clipboard.js +2 -1
  54. package/components/code/code.d.ts +1 -1
  55. package/components/code/code.js +5 -5
  56. package/components/collapse/collapse-content.js +161 -77
  57. package/components/collapse/collapse-control.js +69 -22
  58. package/components/collapse/collapse.js +83 -31
  59. package/components/confirm/confirm.d.ts +1 -1
  60. package/components/confirm/confirm.js +11 -13
  61. package/components/confirm-service/confirm-service.js +4 -3
  62. package/components/content-layout/content-layout.d.ts +1 -1
  63. package/components/content-layout/content-layout.js +4 -7
  64. package/components/content-layout/sidebar.d.ts +1 -1
  65. package/components/content-layout/sidebar.js +1 -1
  66. package/components/contenteditable/contenteditable.d.ts +2 -2
  67. package/components/contenteditable/contenteditable.js +50 -14
  68. package/components/control-help/control-help.d.ts +1 -1
  69. package/components/control-help/control-help.js +45 -9
  70. package/components/control-label/control-label.js +62 -13
  71. package/components/data-list/data-list.d.ts +1 -1
  72. package/components/data-list/data-list.js +10 -9
  73. package/components/data-list/data-list.mock.d.ts +1 -1
  74. package/components/data-list/data-list.mock.js +79 -78
  75. package/components/data-list/item.d.ts +2 -2
  76. package/components/data-list/item.js +18 -17
  77. package/components/data-list/title.d.ts +1 -1
  78. package/components/data-list/title.js +2 -1
  79. package/components/date-picker/consts.js +1 -1
  80. package/components/date-picker/date-input.d.ts +1 -1
  81. package/components/date-picker/date-input.js +4 -3
  82. package/components/date-picker/date-picker.d.ts +1 -1
  83. package/components/date-picker/date-picker.js +97 -31
  84. package/components/date-picker/date-popup.d.ts +1 -1
  85. package/components/date-picker/date-popup.js +11 -10
  86. package/components/date-picker/day.d.ts +1 -1
  87. package/components/date-picker/day.js +4 -3
  88. package/components/date-picker/month-names.d.ts +1 -1
  89. package/components/date-picker/month-names.js +98 -22
  90. package/components/date-picker/month-slider.d.ts +1 -1
  91. package/components/date-picker/month-slider.js +4 -4
  92. package/components/date-picker/month.d.ts +1 -1
  93. package/components/date-picker/month.js +79 -18
  94. package/components/date-picker/months.d.ts +1 -1
  95. package/components/date-picker/months.js +163 -53
  96. package/components/date-picker/weekdays.d.ts +1 -1
  97. package/components/date-picker/weekdays.js +56 -16
  98. package/components/date-picker/years.d.ts +1 -1
  99. package/components/date-picker/years.js +5 -5
  100. package/components/dialog/dialog.d.ts +1 -1
  101. package/components/dialog/dialog.js +21 -23
  102. package/components/dropdown/anchor.d.ts +1 -1
  103. package/components/dropdown/anchor.js +2 -1
  104. package/components/dropdown/dropdown.d.ts +1 -1
  105. package/components/dropdown/dropdown.js +7 -8
  106. package/components/dropdown-menu/dropdown-menu.js +299 -83
  107. package/components/editable-heading/editable-heading.d.ts +2 -2
  108. package/components/editable-heading/editable-heading.js +523 -174
  109. package/components/error-bubble/error-bubble.d.ts +1 -1
  110. package/components/error-bubble/error-bubble.js +7 -9
  111. package/components/error-message/error-message.d.ts +1 -1
  112. package/components/error-message/error-message.js +8 -10
  113. package/components/footer/footer.js +205 -61
  114. package/components/global/create-stateful-context.d.ts +1 -1
  115. package/components/global/create-stateful-context.js +73 -18
  116. package/components/global/focus-sensor-hoc.js +2 -2
  117. package/components/global/get-uid.js +1 -1
  118. package/components/global/react-dom-renderer.d.ts +1 -1
  119. package/components/global/react-dom-renderer.js +2 -2
  120. package/components/global/rerender-hoc.js +23 -6
  121. package/components/global/theme.js +3 -2
  122. package/components/global/use-event-callback.js +37 -13
  123. package/components/grid/col.d.ts +1 -1
  124. package/components/grid/col.js +3 -3
  125. package/components/grid/grid.d.ts +1 -1
  126. package/components/grid/grid.js +3 -6
  127. package/components/grid/row.d.ts +1 -1
  128. package/components/grid/row.js +3 -3
  129. package/components/group/group.d.ts +1 -1
  130. package/components/group/group.js +3 -6
  131. package/components/header/header-icon.d.ts +1 -1
  132. package/components/header/header-icon.js +3 -2
  133. package/components/header/header.d.ts +1 -1
  134. package/components/header/header.js +7 -12
  135. package/components/header/links.d.ts +1 -1
  136. package/components/header/links.js +45 -10
  137. package/components/header/logo.d.ts +1 -1
  138. package/components/header/logo.js +4 -3
  139. package/components/header/profile.js +17 -16
  140. package/components/header/services-link.d.ts +1 -1
  141. package/components/header/services-link.js +1 -1
  142. package/components/header/services.d.ts +1 -1
  143. package/components/header/services.js +35 -16
  144. package/components/header/smart-profile.d.ts +1 -1
  145. package/components/header/smart-profile.js +6 -5
  146. package/components/header/smart-services.d.ts +1 -1
  147. package/components/header/smart-services.js +3 -2
  148. package/components/header/tray.d.ts +1 -1
  149. package/components/header/tray.js +3 -3
  150. package/components/heading/heading.js +188 -44
  151. package/components/i18n/i18n-context.js +51 -13
  152. package/components/icon/icon-svg.d.ts +1 -1
  153. package/components/icon/icon-svg.js +2 -1
  154. package/components/icon/icon.d.ts +1 -1
  155. package/components/icon/icon.js +6 -5
  156. package/components/icon/index.js +2 -1
  157. package/components/input/input.d.ts +1 -1
  158. package/components/input/input.js +2 -1
  159. package/components/island/adaptive-island-hoc.js +4 -4
  160. package/components/island/content.d.ts +1 -1
  161. package/components/island/content.js +36 -17
  162. package/components/island/header.d.ts +1 -1
  163. package/components/island/header.js +32 -14
  164. package/components/island/island.d.ts +1 -1
  165. package/components/island/island.js +3 -5
  166. package/components/link/clickable-link.d.ts +1 -1
  167. package/components/link/clickable-link.js +2 -2
  168. package/components/link/link.js +4 -4
  169. package/components/list/list-custom.d.ts +1 -1
  170. package/components/list/list-custom.js +2 -2
  171. package/components/list/list-hint.d.ts +1 -1
  172. package/components/list/list-hint.js +3 -7
  173. package/components/list/list-item.d.ts +1 -1
  174. package/components/list/list-item.js +23 -26
  175. package/components/list/list-separator.d.ts +1 -1
  176. package/components/list/list-separator.js +3 -3
  177. package/components/list/list-title.d.ts +1 -1
  178. package/components/list/list-title.js +7 -7
  179. package/components/list/list-users-groups-source.js +6 -5
  180. package/components/list/list.d.ts +6 -6
  181. package/components/list/list.js +33 -31
  182. package/components/loader/loader.d.ts +1 -1
  183. package/components/loader/loader.js +8 -14
  184. package/components/loader-inline/loader-inline.d.ts +1 -1
  185. package/components/loader-inline/loader-inline.js +4 -7
  186. package/components/loader-screen/loader-screen.d.ts +1 -1
  187. package/components/loader-screen/loader-screen.js +3 -6
  188. package/components/login-dialog/login-dialog.d.ts +1 -1
  189. package/components/login-dialog/login-dialog.js +10 -9
  190. package/components/login-dialog/service.js +4 -3
  191. package/components/markdown/markdown.d.ts +1 -1
  192. package/components/markdown/markdown.js +3 -6
  193. package/components/message/message.d.ts +1 -1
  194. package/components/message/message.js +13 -15
  195. package/components/old-browsers-message/white-list.js +2 -2
  196. package/components/pager/pager.d.ts +5 -5
  197. package/components/pager/pager.js +28 -27
  198. package/components/panel/panel.d.ts +1 -1
  199. package/components/panel/panel.js +3 -6
  200. package/components/popup/popup.d.ts +2 -2
  201. package/components/popup/popup.js +14 -11
  202. package/components/popup/popup.target.js +68 -16
  203. package/components/popup-menu/popup-menu.d.ts +1 -1
  204. package/components/popup-menu/popup-menu.js +7 -9
  205. package/components/progress-bar/progress-bar.d.ts +1 -1
  206. package/components/progress-bar/progress-bar.js +4 -7
  207. package/components/query-assist/query-assist-suggestions.d.ts +1 -1
  208. package/components/query-assist/query-assist-suggestions.js +5 -4
  209. package/components/query-assist/query-assist.d.ts +2 -2
  210. package/components/query-assist/query-assist.js +37 -34
  211. package/components/radio/radio-item.d.ts +1 -1
  212. package/components/radio/radio-item.js +40 -20
  213. package/components/radio/radio.d.ts +1 -1
  214. package/components/radio/radio.js +3 -5
  215. package/components/scrollable-section/scrollable-section.d.ts +1 -1
  216. package/components/scrollable-section/scrollable-section.js +100 -38
  217. package/components/select/select-filter.d.ts +1 -1
  218. package/components/select/select-filter.js +5 -4
  219. package/components/select/select-popup.d.ts +7 -7
  220. package/components/select/select-popup.js +26 -25
  221. package/components/select/select.d.ts +3 -3
  222. package/components/select/select.js +52 -52
  223. package/components/shortcuts/shortcuts-hoc.js +3 -3
  224. package/components/slider/slider.js +591 -196
  225. package/components/storage/storage-local.js +2 -1
  226. package/components/storage/storage.js +2 -1
  227. package/components/style.css +1 -1
  228. package/components/tab-trap/tab-trap.js +247 -102
  229. package/components/table/cell.d.ts +1 -1
  230. package/components/table/cell.js +2 -2
  231. package/components/table/disable-hover-hoc.js +3 -3
  232. package/components/table/header-cell.d.ts +1 -1
  233. package/components/table/header-cell.js +7 -6
  234. package/components/table/header.d.ts +2 -2
  235. package/components/table/header.js +14 -13
  236. package/components/table/multitable.d.ts +1 -1
  237. package/components/table/multitable.js +3 -3
  238. package/components/table/row-with-focus-sensor.d.ts +1 -1
  239. package/components/table/row-with-focus-sensor.js +3 -2
  240. package/components/table/row.d.ts +1 -1
  241. package/components/table/row.js +51 -24
  242. package/components/table/selection-shortcuts-hoc.js +2 -2
  243. package/components/table/simple-table.d.ts +1 -1
  244. package/components/table/simple-table.js +4 -3
  245. package/components/table/smart-table.d.ts +1 -1
  246. package/components/table/smart-table.js +4 -3
  247. package/components/table/table.d.ts +2 -2
  248. package/components/table/table.js +21 -23
  249. package/components/tabs/collapsible-more.d.ts +3 -3
  250. package/components/tabs/collapsible-more.js +253 -83
  251. package/components/tabs/collapsible-tab.d.ts +1 -1
  252. package/components/tabs/collapsible-tab.js +4 -3
  253. package/components/tabs/collapsible-tabs.d.ts +2 -2
  254. package/components/tabs/collapsible-tabs.js +450 -188
  255. package/components/tabs/dumb-tabs.d.ts +2 -2
  256. package/components/tabs/dumb-tabs.js +10 -9
  257. package/components/tabs/smart-tabs.d.ts +1 -1
  258. package/components/tabs/smart-tabs.js +6 -5
  259. package/components/tabs/tab-link.d.ts +1 -1
  260. package/components/tabs/tab-link.js +2 -1
  261. package/components/tabs/tab.d.ts +1 -1
  262. package/components/tabs/tab.js +2 -2
  263. package/components/tabs/tabs.js +5 -4
  264. package/components/tag/tag.d.ts +5 -5
  265. package/components/tag/tag.js +14 -13
  266. package/components/tags-input/tags-input.d.ts +1 -1
  267. package/components/tags-input/tags-input.js +10 -9
  268. package/components/tags-list/tags-list.d.ts +2 -2
  269. package/components/tags-list/tags-list.js +4 -3
  270. package/components/text/text.d.ts +1 -1
  271. package/components/text/text.js +2 -2
  272. package/components/toggle/toggle.d.ts +1 -1
  273. package/components/toggle/toggle.js +12 -11
  274. package/components/tooltip/tooltip.d.ts +1 -1
  275. package/components/tooltip/tooltip.js +7 -6
  276. package/components/upload/upload.js +10 -9
  277. package/components/user-agreement/service.js +11 -10
  278. package/components/user-agreement/user-agreement.d.ts +1 -1
  279. package/components/user-agreement/user-agreement.js +19 -18
  280. package/components/user-card/card.d.ts +1 -1
  281. package/components/user-card/card.js +3 -2
  282. package/components/user-card/smart-user-card-tooltip.d.ts +2 -2
  283. package/components/user-card/smart-user-card-tooltip.js +7 -6
  284. package/components/user-card/tooltip.d.ts +2 -2
  285. package/components/user-card/tooltip.js +7 -6
  286. package/components/user-card/user-card.js +4 -3
  287. package/package.json +3 -9
@@ -1,9 +1,10 @@
1
- import { jsx, jsxs } from 'react/jsx-runtime';
1
+ import { c } from 'react-compiler-runtime';
2
2
  import { Component } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import { interpolateLinear } from '../global/linear-function.js';
5
- import { s as styles } from '../_helpers/island.js';
6
5
  import { PhaseContext } from './adaptive-island-hoc.js';
6
+ import { s as styles } from '../_helpers/island.js';
7
+ import { jsx, jsxs } from 'react/jsx-runtime';
7
8
 
8
9
  const Start = {
9
10
  FONT_SIZE: 24,
@@ -66,12 +67,12 @@ class Header extends Component {
66
67
  paddingBottom: this.style('PADDING_BOTTOM')
67
68
  } : undefined;
68
69
  const titleStyle = this.getTitleStyle(phase);
69
- return jsxs("div", {
70
+ return /*#__PURE__*/jsxs("div", {
70
71
  ...restProps,
71
- "data-test": 'ring-island-header',
72
+ "data-test": "ring-island-header",
72
73
  className: classes,
73
74
  style: headerStyle,
74
- children: [wrapWithTitle && jsx("h2", {
75
+ children: [wrapWithTitle && /*#__PURE__*/jsx("h2", {
75
76
  className: styles.title,
76
77
  style: titleStyle,
77
78
  children: children
@@ -79,16 +80,33 @@ class Header extends Component {
79
80
  });
80
81
  }
81
82
  }
82
- const HeaderWrapper = props => jsx(PhaseContext.Consumer, {
83
- children: phase => {
84
- const addProps = phase !== null && phase !== undefined ? {
85
- phase
86
- } : {};
87
- return jsx(Header, {
88
- ...props,
89
- ...addProps
83
+ const HeaderWrapper = props => {
84
+ const $ = c(3);
85
+ if ($[0] !== "dbbfd9db484c81cb5d8abfe2d50de2fd9035c22d61c0a499e8f82dfe385f2c0e") {
86
+ for (let $i = 0; $i < 3; $i += 1) {
87
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
88
+ }
89
+ $[0] = "dbbfd9db484c81cb5d8abfe2d50de2fd9035c22d61c0a499e8f82dfe385f2c0e";
90
+ }
91
+ let t0;
92
+ if ($[1] !== props) {
93
+ t0 = /*#__PURE__*/jsx(PhaseContext.Consumer, {
94
+ children: phase => {
95
+ const addProps = phase !== null && phase !== undefined ? {
96
+ phase
97
+ } : {};
98
+ return /*#__PURE__*/jsx(Header, {
99
+ ...props,
100
+ ...addProps
101
+ });
102
+ }
90
103
  });
104
+ $[1] = props;
105
+ $[2] = t0;
106
+ } else {
107
+ t0 = $[2];
91
108
  }
92
- });
109
+ return t0;
110
+ };
93
111
 
94
112
  export { HeaderWrapper as default };
@@ -8,7 +8,7 @@ export interface IslandProps extends HTMLAttributes<HTMLElement> {
8
8
  * @name Island
9
9
  */
10
10
  export default class Island extends Component<IslandProps> {
11
- render(): import("react/jsx-runtime").JSX.Element;
11
+ render(): import("react").JSX.Element;
12
12
  }
13
13
  export declare const AdaptiveIsland: import("react").ComponentClass<IslandProps, any>;
14
14
  export { default as Header } from './header';
@@ -1,18 +1,16 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import { Component } from 'react';
3
2
  import classNames from 'classnames';
4
3
  import joinDataTestAttributes from '../global/data-tests.js';
5
4
  import adaptiveIslandHOC from './adaptive-island-hoc.js';
6
5
  import { s as styles } from '../_helpers/island.js';
6
+ import { jsx } from 'react/jsx-runtime';
7
7
  export { default as Header } from './header.js';
8
8
  export { default as Content } from './content.js';
9
9
  import '../global/linear-function.js';
10
+ import 'react-compiler-runtime';
10
11
  import 'element-resize-detector';
11
12
  import '../global/schedule-raf.js';
12
13
 
13
- /**
14
- * @name Island
15
- */
16
14
  class Island extends Component {
17
15
  render() {
18
16
  const {
@@ -27,7 +25,7 @@ class Island extends Component {
27
25
  [styles.narrowIsland]: narrow,
28
26
  [styles.withoutPaddings]: withoutPaddings
29
27
  });
30
- return jsx("div", {
28
+ return /*#__PURE__*/jsx("div", {
31
29
  ...restProps,
32
30
  className: classes,
33
31
  "data-test": joinDataTestAttributes('ring-island', dataTest),
@@ -8,5 +8,5 @@ export interface ClickableLinkProps extends AnchorHTMLAttributes<HTMLAnchorEleme
8
8
  }
9
9
  export default class ClickableLink extends PureComponent<ClickableLinkProps> {
10
10
  onClick: (e: React.MouseEvent<HTMLAnchorElement>) => void;
11
- render(): import("react/jsx-runtime").JSX.Element;
11
+ render(): React.JSX.Element;
12
12
  }
@@ -1,5 +1,5 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import { PureComponent } from 'react';
2
+ import { jsx } from 'react/jsx-runtime';
3
3
 
4
4
  const LEFT_BUTTON = 0;
5
5
  // Cmd/Ctrl/Shift/Alt + Click should trigger default browser behaviour. Same applies to non-left clicks
@@ -32,7 +32,7 @@ class ClickableLink extends PureComponent {
32
32
  children,
33
33
  ...restProps
34
34
  } = this.props;
35
- return jsx("a", {
35
+ return /*#__PURE__*/jsx("a", {
36
36
  href: href,
37
37
  ...restProps,
38
38
  onClick: this.onClick,
@@ -1,9 +1,9 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import { PureComponent } from 'react';
3
2
  import classNames from 'classnames';
4
3
  import joinDataTestAttributes from '../global/data-tests.js';
5
4
  import ClickableLink from './clickable-link.js';
6
5
  import { l as linkStyles } from '../_helpers/link.js';
6
+ import { jsx } from 'react/jsx-runtime';
7
7
 
8
8
  function linkHOC(ComposedComponent) {
9
9
  const isCustom = typeof ComposedComponent !== 'string' && ComposedComponent !== ClickableLink;
@@ -37,8 +37,8 @@ function linkHOC(ComposedComponent) {
37
37
  };
38
38
  }
39
39
  if (useButton) {
40
- return jsx("button", {
41
- type: 'button',
40
+ return /*#__PURE__*/jsx("button", {
41
+ type: "button",
42
42
  ...props,
43
43
  className: classes,
44
44
  onClick: onClick || onPlainLeftClick,
@@ -46,7 +46,7 @@ function linkHOC(ComposedComponent) {
46
46
  children: children
47
47
  });
48
48
  }
49
- return jsx(ComposedComponent, {
49
+ return /*#__PURE__*/jsx(ComposedComponent, {
50
50
  ...props,
51
51
  href: href,
52
52
  className: classes,
@@ -3,5 +3,5 @@ import * as React from 'react';
3
3
  import { type ListDataItemProps } from './consts';
4
4
  export default class ListCustom<T> extends PureComponent<ListDataItemProps<T>> {
5
5
  handleKeyPress: (event: React.KeyboardEvent) => void;
6
- render(): import("react/jsx-runtime").JSX.Element;
6
+ render(): React.JSX.Element;
7
7
  }
@@ -1,8 +1,8 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import { PureComponent } from 'react';
3
2
  import joinDataTestAttributes from '../global/data-tests.js';
4
3
  import getEventKey from '../global/get-event-key.js';
5
4
  import { getListClasses } from './list.classes.js';
5
+ import { jsx } from 'react/jsx-runtime';
6
6
  import 'classnames';
7
7
  import './consts.js';
8
8
  import '../_helpers/list.js';
@@ -31,7 +31,7 @@ class ListCustom extends PureComponent {
31
31
  }, this.props['data-test']);
32
32
  const content = typeof template === 'function' ? template(this.props) : template;
33
33
  const TagName = tagName || 'span';
34
- return jsx(TagName, {
34
+ return /*#__PURE__*/jsx(TagName, {
35
35
  role: role || 'button',
36
36
  "aria-disabled": disabled,
37
37
  tabIndex: tabIndex,
@@ -7,5 +7,5 @@ export interface ListHintProps {
7
7
  * @extends {ReactComponent}
8
8
  */
9
9
  export default class ListHint extends PureComponent<ListHintProps> {
10
- render(): import("react/jsx-runtime").JSX.Element;
10
+ render(): import("react").JSX.Element;
11
11
  }
@@ -1,17 +1,13 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import { PureComponent } from 'react';
3
2
  import classNames from 'classnames';
4
3
  import { s as styles } from '../_helpers/list.js';
4
+ import { jsx } from 'react/jsx-runtime';
5
5
 
6
- /**
7
- * @constructor
8
- * @extends {ReactComponent}
9
- */
10
6
  class ListHint extends PureComponent {
11
7
  render() {
12
- return jsx("span", {
8
+ return /*#__PURE__*/jsx("span", {
13
9
  className: classNames(styles.item, styles.hint),
14
- "data-test": 'ring-list-hint',
10
+ "data-test": "ring-list-hint",
15
11
  children: this.props.label
16
12
  });
17
13
  }
@@ -4,5 +4,5 @@ export default class ListItem<T> extends PureComponent<ListDataItemProps<T>> {
4
4
  id: string;
5
5
  stopBubbling: (e: SyntheticEvent) => void;
6
6
  private _isString;
7
- render(): import("react/jsx-runtime").JSX.Element;
7
+ render(): import("react").JSX.Element;
8
8
  }
@@ -1,4 +1,3 @@
1
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
1
  import { PureComponent } from 'react';
3
2
  import classNames from 'classnames';
4
3
  import joinDataTestAttributes from '../global/data-tests.js';
@@ -7,16 +6,18 @@ import Checkbox from '../checkbox/checkbox.js';
7
6
  import Icon from '../icon/icon.js';
8
7
  import getUID from '../global/get-uid.js';
9
8
  import Link, { linkHOC } from '../link/link.js';
10
- import { s as styles } from '../_helpers/list.js';
11
9
  import { Type } from './consts.js';
12
10
  import { getListClasses } from './list.classes.js';
11
+ import { s as styles } from '../_helpers/list.js';
12
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
13
13
  import { Size } from '../avatar/avatar-size.js';
14
14
  import 'util-deprecate';
15
15
  import '../global/url.js';
16
16
  import '../global/dom.js';
17
17
  import '../global/memoize.js';
18
- import '../_helpers/avatar-info.js';
19
18
  import '../avatar/fallback-avatar.js';
19
+ import 'react-compiler-runtime';
20
+ import '../_helpers/avatar-info.js';
20
21
  import '@jetbrains/icons/checkmark-12px';
21
22
  import '@jetbrains/icons/remove-12px';
22
23
  import '../global/compose-refs.js';
@@ -27,10 +28,6 @@ import '../_helpers/icon-svg.js';
27
28
  import '../link/clickable-link.js';
28
29
  import '../_helpers/link.js';
29
30
 
30
- /**
31
- * @constructor
32
- * @extends {ReactComponent}
33
- */
34
31
  const RING_UNIT = 8;
35
32
  const DEFAULT_PADDING = 8;
36
33
  const CHECKBOX_WIDTH = 28;
@@ -104,10 +101,10 @@ class ListItem extends PureComponent {
104
101
  'ring-list-item-selected': checkbox,
105
102
  'ring-list-link': isLink
106
103
  }, dataTest);
107
- const labelElement = jsx("span", {
104
+ const labelElement = /*#__PURE__*/jsx("span", {
108
105
  className: styles.label,
109
106
  title: computedTitle,
110
- "data-test": 'ring-list-item-label',
107
+ "data-test": "ring-list-item-label",
111
108
  children: label !== null && label !== void 0 ? label : children
112
109
  });
113
110
  const commonProps = {
@@ -121,68 +118,68 @@ class ListItem extends PureComponent {
121
118
  className: classes,
122
119
  style,
123
120
  disabled,
124
- children: jsxs(Fragment, {
125
- children: [jsxs("div", {
121
+ children: /*#__PURE__*/jsxs(Fragment, {
122
+ children: [/*#__PURE__*/jsxs("div", {
126
123
  className: styles.top,
127
124
  onMouseOut: this.stopBubbling,
128
125
  onBlur: this.stopBubbling,
129
- children: [!showCheckbox && jsxs("div", {
126
+ children: [!showCheckbox && /*#__PURE__*/jsxs("div", {
130
127
  className: styles.left,
131
- children: [leftNodes, glyph && jsx(Icon, {
128
+ children: [leftNodes, glyph && /*#__PURE__*/jsx(Icon, {
132
129
  className: styles.glyph,
133
130
  glyph: glyph,
134
131
  size: this.props.iconSize,
135
132
  suppressSizeWarning: this.props.suppressSizeWarning
136
- }), (avatar || shouldShowGeneratedAvatar) && jsx(Avatar, {
133
+ }), (avatar || shouldShowGeneratedAvatar) && /*#__PURE__*/jsx(Avatar, {
137
134
  className: styles.avatar,
138
135
  url: avatar,
139
136
  size: Size.Size20,
140
137
  subavatar: subavatar,
141
138
  username: username
142
139
  })]
143
- }), labelWrapper ? labelWrapper(labelElement) : labelElement, description && jsx("span", {
140
+ }), labelWrapper ? labelWrapper(labelElement) : labelElement, description && /*#__PURE__*/jsx("span", {
144
141
  className: styles.description,
145
- "data-test": 'ring-list-item-description',
142
+ "data-test": "ring-list-item-description",
146
143
  children: description
147
- }), jsxs("div", {
144
+ }), /*#__PURE__*/jsxs("div", {
148
145
  className: styles.right,
149
- children: [rightGlyph && jsx(Icon, {
146
+ children: [rightGlyph && /*#__PURE__*/jsx(Icon, {
150
147
  className: styles.rightGlyph,
151
148
  glyph: rightGlyph,
152
149
  suppressSizeWarning: this.props.suppressSizeWarning,
153
150
  size: this.props.iconSize
154
- }), icon && jsx("div", {
151
+ }), icon && /*#__PURE__*/jsx("div", {
155
152
  className: styles.icon,
156
153
  style: {
157
154
  backgroundImage: `url("${icon}")`
158
155
  }
159
156
  }), rightNodes]
160
157
  })]
161
- }), details && jsx("div", {
158
+ }), details && /*#__PURE__*/jsx("div", {
162
159
  className: detailsClasses,
163
160
  children: details
164
161
  })]
165
162
  })
166
163
  };
167
164
  const LinkComponentToUse = LinkComponent ? linkHOC(LinkComponent) : Link;
168
- return jsxs("div", {
165
+ return /*#__PURE__*/jsxs("div", {
169
166
  className: styles.itemContainer,
170
167
  "data-test": combinedDataTest,
171
- children: [showCheckbox && jsx("div", {
168
+ children: [showCheckbox && /*#__PURE__*/jsx("div", {
172
169
  className: styles.checkboxContainer,
173
- children: jsx(Checkbox, {
170
+ children: /*#__PURE__*/jsx(Checkbox, {
174
171
  "aria-labelledby": this.id,
175
172
  checked: checkbox,
176
173
  disabled: disabled,
177
174
  onChange: onCheckboxChange,
178
175
  onClick: this.stopBubbling
179
176
  })
180
- }), isLink ? jsx(LinkComponentToUse, {
177
+ }), isLink ? /*#__PURE__*/jsx(LinkComponentToUse, {
181
178
  pseudo: !restLinkProps.href,
182
179
  ...commonProps,
183
180
  ...restLinkProps
184
- }) : jsx("button", {
185
- type: 'button',
181
+ }) : /*#__PURE__*/jsx("button", {
182
+ type: "button",
186
183
  ...commonProps
187
184
  })]
188
185
  });
@@ -1,5 +1,5 @@
1
1
  import { PureComponent } from 'react';
2
2
  import { type ListDataItemProps } from './consts';
3
3
  export default class ListSeparator<T> extends PureComponent<ListDataItemProps<T>> {
4
- render(): import("react/jsx-runtime").JSX.Element;
4
+ render(): import("react").JSX.Element;
5
5
  }
@@ -1,7 +1,7 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import { PureComponent } from 'react';
3
2
  import classNames from 'classnames';
4
3
  import { s as styles } from '../_helpers/list.js';
4
+ import { jsx } from 'react/jsx-runtime';
5
5
 
6
6
  class ListSeparator extends PureComponent {
7
7
  render() {
@@ -13,8 +13,8 @@ class ListSeparator extends PureComponent {
13
13
  const classes = classNames(styles.separator, className, {
14
14
  [styles.separator_first]: isFirst
15
15
  });
16
- return jsx("span", {
17
- "data-test": 'ring-list-separator',
16
+ return /*#__PURE__*/jsx("span", {
17
+ "data-test": "ring-list-separator",
18
18
  className: classes,
19
19
  children: description
20
20
  });
@@ -1,5 +1,5 @@
1
1
  import { PureComponent } from 'react';
2
2
  import { type ListDataItemProps } from './consts';
3
3
  export default class ListTitle<T> extends PureComponent<ListDataItemProps<T>> {
4
- render(): import("react/jsx-runtime").JSX.Element;
4
+ render(): import("react").JSX.Element;
5
5
  }
@@ -1,7 +1,7 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
1
  import { PureComponent } from 'react';
3
2
  import classNames from 'classnames';
4
3
  import { s as styles } from '../_helpers/list.js';
4
+ import { jsxs, jsx } from 'react/jsx-runtime';
5
5
 
6
6
  class ListTitle extends PureComponent {
7
7
  render() {
@@ -14,16 +14,16 @@ class ListTitle extends PureComponent {
14
14
  const classes = classNames(styles.title, className, {
15
15
  [styles.title_first]: isFirst
16
16
  });
17
- return jsxs("span", {
17
+ return /*#__PURE__*/jsxs("span", {
18
18
  className: classes,
19
- "data-test": 'ring-list-title',
20
- children: [jsx("span", {
19
+ "data-test": "ring-list-title",
20
+ children: [/*#__PURE__*/jsx("span", {
21
21
  className: classNames(styles.label, styles.text),
22
- "data-test": 'ring-list-title-label',
22
+ "data-test": "ring-list-title-label",
23
23
  children: label
24
- }), jsx("div", {
24
+ }), /*#__PURE__*/jsx("div", {
25
25
  className: styles.description,
26
- "data-test": 'ring-list-title-description',
26
+ "data-test": "ring-list-title-description",
27
27
  children: description
28
28
  })]
29
29
  });
@@ -3,7 +3,6 @@ import HubSourceUsersGroups from '../hub-source/hub-source-users-groups.js';
3
3
  import List from './list.js';
4
4
  import '../hub-source/hub-source.js';
5
5
  import 'react';
6
- import 'react/jsx-runtime';
7
6
  import 'classnames';
8
7
  import 'react-virtualized/dist/es/List';
9
8
  import 'react-virtualized/dist/es/AutoSizer';
@@ -22,12 +21,14 @@ import 'combokeys';
22
21
  import '../global/sniffer.js';
23
22
  import 'sniffr';
24
23
  import '../global/create-stateful-context.js';
24
+ import 'react-compiler-runtime';
25
+ import 'react/jsx-runtime';
25
26
  import './list-item.js';
26
27
  import '../avatar/avatar.js';
27
28
  import '../global/url.js';
28
- import '../_helpers/avatar-info.js';
29
- import '../avatar/avatar-size.js';
30
29
  import '../avatar/fallback-avatar.js';
30
+ import '../avatar/avatar-size.js';
31
+ import '../_helpers/avatar-info.js';
31
32
  import '../checkbox/checkbox.js';
32
33
  import '@jetbrains/icons/checkmark-12px';
33
34
  import '@jetbrains/icons/remove-12px';
@@ -39,9 +40,9 @@ import '../control-help/control-help.js';
39
40
  import '../link/link.js';
40
41
  import '../link/clickable-link.js';
41
42
  import '../_helpers/link.js';
42
- import '../_helpers/list.js';
43
43
  import './consts.js';
44
44
  import './list.classes.js';
45
+ import '../_helpers/list.js';
45
46
  import './list-custom.js';
46
47
  import '../global/get-event-key.js';
47
48
  import './list-title.js';
@@ -54,7 +55,7 @@ const defaultOptions = {
54
55
  UsersTitle: 'Users',
55
56
  NoUsersTitle: 'No users',
56
57
  getPluralForUserCount: count => {
57
- // eslint-disable-next-line @typescript-eslint/no-magic-numbers
58
+ // eslint-disable-next-line no-magic-numbers
58
59
  const plural = count % 10 !== 1 || count % 100 === 11;
59
60
  return `${count} member${plural ? 's' : ''}`;
60
61
  }
@@ -50,7 +50,7 @@ export declare const ActiveItemContext: {
50
50
  ValueContext: import("react").Context<string | undefined>;
51
51
  UpdateContext: import("react").Context<(value: string | undefined) => void>;
52
52
  Provider: {
53
- ({ children }: import("../global/create-stateful-context").ProviderProps): import("react/jsx-runtime").JSX.Element;
53
+ ({ children }: import("../global/create-stateful-context").ProviderProps): import("react").JSX.Element;
54
54
  displayName: string;
55
55
  };
56
56
  useUpdate: (value: string | undefined, skipUpdate?: boolean) => void;
@@ -151,19 +151,19 @@ export default class List<T = unknown> extends Component<ListProps<T>, ListState
151
151
  getVisibleListHeight(maxHeight: number): number;
152
152
  private _deprecatedGenerateKeyFromContent;
153
153
  getId(item: ListDataItem<T> | null): string | undefined;
154
- renderItem: ({ index, style, isScrolling, parent, key }: Partial<ListRowProps>) => import("react/jsx-runtime").JSX.Element;
154
+ renderItem: ({ index, style, isScrolling, parent, key }: Partial<ListRowProps>) => import("react").JSX.Element;
155
155
  addItemDataTestToProp: (props: ListDataItemProps<T>) => ListDataItemProps<T>;
156
156
  virtualizedListRef: (el: VirtualizedList | null) => void;
157
157
  containerRef: (el: HTMLElement | null) => void;
158
158
  private _inner?;
159
159
  get inner(): HTMLElement | null | undefined;
160
- renderVirtualizedInner({ height, maxHeight, autoHeight, rowCount, isScrolling, onChildScroll, scrollTop, registerChild, }: RenderVirtualizedInnerParams): import("react/jsx-runtime").JSX.Element;
161
- renderVirtualized(maxHeight: number | null | undefined, rowCount: number): import("react/jsx-runtime").JSX.Element;
162
- renderSimple(maxHeight: number | null | undefined, rowCount: number): import("react/jsx-runtime").JSX.Element;
160
+ renderVirtualizedInner({ height, maxHeight, autoHeight, rowCount, isScrolling, onChildScroll, scrollTop, registerChild, }: RenderVirtualizedInnerParams): import("react").JSX.Element;
161
+ renderVirtualized(maxHeight: number | null | undefined, rowCount: number): import("react").JSX.Element;
162
+ renderSimple(maxHeight: number | null | undefined, rowCount: number): import("react").JSX.Element;
163
163
  id: string;
164
164
  shortcutsScope: string;
165
165
  shortcutsMap: ShortcutsMap;
166
166
  /** @override */
167
- render(): import("react/jsx-runtime").JSX.Element;
167
+ render(): import("react").JSX.Element;
168
168
  }
169
169
  export type ListAttrs<T = unknown> = React.JSX.LibraryManagedAttributes<typeof List, ListProps<T>>;