@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,4 +1,3 @@
1
- import { jsx, jsxs } from 'react/jsx-runtime';
2
1
  import { PureComponent } from 'react';
3
2
  import classNames from 'classnames';
4
3
  import chevronLeftIcon from '@jetbrains/icons/chevron-left';
@@ -11,6 +10,7 @@ import memoize from '../global/memoize.js';
11
10
  import Link from '../link/link.js';
12
11
  import Icon from '../icon/icon.js';
13
12
  import { I18nContext } from '../i18n/i18n-context.js';
13
+ import { jsx, jsxs } from 'react/jsx-runtime';
14
14
  import '@jetbrains/icons/chevron-down';
15
15
  import '@jetbrains/icons/chevron-12px-down';
16
16
  import 'util-deprecate';
@@ -20,6 +20,7 @@ import '../global/configuration.js';
20
20
  import '../_helpers/button.classes.js';
21
21
  import '../icon/icon.constants.js';
22
22
  import '../_helpers/icon-svg.js';
23
+ import 'react-compiler-runtime';
23
24
  import '../global/data-tests.js';
24
25
  import '../control-label/control-label.js';
25
26
  import '../control-help/control-help.js';
@@ -31,10 +32,10 @@ import '../_helpers/anchor.js';
31
32
  import '../avatar/avatar.js';
32
33
  import '../global/url.js';
33
34
  import '../global/dom.js';
34
- import '../_helpers/avatar-info.js';
35
- import '../avatar/avatar-size.js';
36
35
  import '../avatar/fallback-avatar.js';
37
36
  import '../global/get-uid.js';
37
+ import '../avatar/avatar-size.js';
38
+ import '../_helpers/avatar-info.js';
38
39
  import '../popup/popup.js';
39
40
  import 'react-dom';
40
41
  import '../global/schedule-raf.js';
@@ -60,9 +61,9 @@ import '../checkbox/checkbox.js';
60
61
  import '@jetbrains/icons/checkmark-12px';
61
62
  import '@jetbrains/icons/remove-12px';
62
63
  import '../global/compose-refs.js';
63
- import '../_helpers/list.js';
64
64
  import '../list/consts.js';
65
65
  import '../list/list.classes.js';
66
+ import '../_helpers/list.js';
66
67
  import '../_helpers/link.js';
67
68
  import '../list/list-custom.js';
68
69
  import '../global/get-event-key.js';
@@ -89,7 +90,7 @@ class Pager extends PureComponent {
89
90
  static defaultProps = {
90
91
  currentPage: 1,
91
92
  pageSize: 50,
92
- // eslint-disable-next-line @typescript-eslint/no-magic-numbers
93
+ // eslint-disable-next-line no-magic-numbers
93
94
  pageSizes: [20, 50, 100],
94
95
  visiblePagesLimit: 7,
95
96
  disablePageSizeSelector: false,
@@ -163,7 +164,7 @@ class Pager extends PureComponent {
163
164
  this.props.onLoadPage(i);
164
165
  });
165
166
  getButton(page, content, key, active) {
166
- return jsx(Button, {
167
+ return /*#__PURE__*/jsx(Button, {
167
168
  href: this.generateHref(page),
168
169
  active: active,
169
170
  disabled: this.props.loader && !active && !this.props.loaderNavigation,
@@ -191,10 +192,10 @@ class Pager extends PureComponent {
191
192
  }
192
193
  getPageSizeSelector() {
193
194
  const selectOptions = this.getSelectOptions();
194
- return !this.props.disablePageSizeSelector && jsx("div", {
195
- "data-test": 'ring-pager-page-size-selector',
195
+ return !this.props.disablePageSizeSelector && /*#__PURE__*/jsx("div", {
196
+ "data-test": "ring-pager-page-size-selector",
196
197
  className: style.pageSize,
197
- children: jsx(Select, {
198
+ children: /*#__PURE__*/jsx(Select, {
198
199
  data: selectOptions.data,
199
200
  selected: selectOptions.selected,
200
201
  onSelect: this.handlePageSizeChange,
@@ -210,18 +211,18 @@ class Pager extends PureComponent {
210
211
  } = this.context;
211
212
  const prevLinkAvailable = this.props.currentPage !== 1;
212
213
  const nextLinkAvailable = this.props.openTotal || this.props.currentPage !== this.getTotalPages();
213
- const nextIcon = jsx(Icon, {
214
+ const nextIcon = /*#__PURE__*/jsx(Icon, {
214
215
  glyph: chevronRightIcon
215
216
  }, 'icon');
216
- const prevIcon = jsx(Icon, {
217
+ const prevIcon = /*#__PURE__*/jsx(Icon, {
217
218
  glyph: chevronLeftIcon
218
219
  }, 'icon');
219
220
  const prevText = (_this$props$translati2 = this.props.translations?.previousPage) !== null && _this$props$translati2 !== void 0 ? _this$props$translati2 : translate('previousPage');
220
221
  const nextText = (_this$props$translati3 = this.props.translations?.nextPage) !== null && _this$props$translati3 !== void 0 ? _this$props$translati3 : translate('nextPage');
221
- const nextLinkContent = [jsx("span", {
222
+ const nextLinkContent = [/*#__PURE__*/jsx("span", {
222
223
  children: nextText
223
224
  }, 'text'), nextIcon];
224
- const prevLinkContent = [prevIcon, jsx("span", {
225
+ const prevLinkContent = [prevIcon, /*#__PURE__*/jsx("span", {
225
226
  children: prevText
226
227
  }, 'text')];
227
228
  const prevLinkHref = this.generateHref(this.props.currentPage - 1);
@@ -230,26 +231,26 @@ class Pager extends PureComponent {
230
231
  [style.link]: true,
231
232
  [style.linkDisabled]: true
232
233
  });
233
- return jsxs("div", {
234
+ return /*#__PURE__*/jsxs("div", {
234
235
  className: style.links,
235
- children: [prevLinkAvailable && (!this.props.loader || this.props.loaderNavigation) ? jsx(Link, {
236
+ children: [prevLinkAvailable && (!this.props.loader || this.props.loaderNavigation) ? /*#__PURE__*/jsx(Link, {
236
237
  href: prevLinkHref,
237
238
  className: style.link,
238
239
  ...this.getClickProps(this.handlePrevClick),
239
240
  children: prevLinkContent
240
- }) : jsxs("span", {
241
+ }) : /*#__PURE__*/jsxs("span", {
241
242
  className: disabledLinkClasses,
242
- children: [prevIcon, jsx("span", {
243
+ children: [prevIcon, /*#__PURE__*/jsx("span", {
243
244
  children: prevText
244
245
  }, 'text')]
245
- }), nextLinkAvailable && (!this.props.loader || this.props.loaderNavigation) ? jsx(Link, {
246
+ }), nextLinkAvailable && (!this.props.loader || this.props.loaderNavigation) ? /*#__PURE__*/jsx(Link, {
246
247
  href: nextLinkHref,
247
248
  className: style.link,
248
249
  ...this.getClickProps(this.handleNextClick),
249
250
  children: nextLinkContent
250
- }) : jsxs("span", {
251
+ }) : /*#__PURE__*/jsxs("span", {
251
252
  className: disabledLinkClasses,
252
- children: [jsx("span", {
253
+ children: [/*#__PURE__*/jsx("span", {
253
254
  children: nextText
254
255
  }, 'text'), nextIcon]
255
256
  })]
@@ -302,12 +303,12 @@ class Pager extends PureComponent {
302
303
  buttons.push(this.getButton(i, i, i, i === currentPage));
303
304
  }
304
305
  const lastPageButtonAvailable = !this.props.disableLastPageButton && end < totalPages && !this.props.openTotal || this.props.openTotal && this.props.canLoadLastPageWithOpenTotal;
305
- return jsxs("div", {
306
- children: [this.getPagerLinks(), jsxs("div", {
306
+ return /*#__PURE__*/jsxs("div", {
307
+ children: [this.getPagerLinks(), /*#__PURE__*/jsxs("div", {
307
308
  className: style.actions,
308
- children: [jsxs(ButtonToolbar, {
309
- children: [start > 1 && this.getButton(1, (_this$props$translati4 = this.props.translations?.firstPage) !== null && _this$props$translati4 !== void 0 ? _this$props$translati4 : translate('firstPage')), jsxs(ButtonGroup, {
310
- children: [start > 1 && this.getButton(start - 1, '...'), buttons, end < totalPages && this.getButton(end + 1, '...'), end === totalPages && this.props.openTotal && jsx(Button, {
309
+ children: [/*#__PURE__*/jsxs(ButtonToolbar, {
310
+ children: [start > 1 && this.getButton(1, (_this$props$translati4 = this.props.translations?.firstPage) !== null && _this$props$translati4 !== void 0 ? _this$props$translati4 : translate('firstPage')), /*#__PURE__*/jsxs(ButtonGroup, {
311
+ children: [start > 1 && this.getButton(start - 1, '...'), buttons, end < totalPages && this.getButton(end + 1, '...'), end === totalPages && this.props.openTotal && /*#__PURE__*/jsx(Button, {
311
312
  href: this.generateHref(end + 1),
312
313
  disabled: this.props.loader,
313
314
  ...this.getClickProps(this.handleLoadMore(end + 1)),
@@ -324,8 +325,8 @@ class Pager extends PureComponent {
324
325
  if (!shouldRenderPagerContent && this.props.disablePageSizeSelector) {
325
326
  return null;
326
327
  }
327
- return jsx("div", {
328
- "data-test": 'ring-pager',
328
+ return /*#__PURE__*/jsx("div", {
329
+ "data-test": "ring-pager",
329
330
  className: classes,
330
331
  children: shouldRenderPagerContent ? this.getPagerContent() : this.getPageSizeSelector()
331
332
  });
@@ -3,5 +3,5 @@ import { type HTMLAttributes, PureComponent } from 'react';
3
3
  * @name Panel
4
4
  */
5
5
  export default class Panel extends PureComponent<HTMLAttributes<HTMLElement>> {
6
- render(): import("react/jsx-runtime").JSX.Element;
6
+ render(): import("react").JSX.Element;
7
7
  }
@@ -1,12 +1,9 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import { PureComponent } from 'react';
3
2
  import classNames from 'classnames';
3
+ import { jsx } from 'react/jsx-runtime';
4
4
 
5
5
  var styles = {"panel":"ring-panel-panel"};
6
6
 
7
- /**
8
- * @name Panel
9
- */
10
7
  class Panel extends PureComponent {
11
8
  render() {
12
9
  const {
@@ -15,8 +12,8 @@ class Panel extends PureComponent {
15
12
  ...props
16
13
  } = this.props;
17
14
  const classes = classNames(styles.panel, className);
18
- return jsx("div", {
19
- "data-test": 'ring-panel',
15
+ return /*#__PURE__*/jsx("div", {
16
+ "data-test": "ring-panel",
20
17
  ...props,
21
18
  className: classes,
22
19
  children: children
@@ -141,12 +141,12 @@ export default class Popup<P extends BasePopupProps = PopupProps> extends PureCo
141
141
  * @private
142
142
  */
143
143
  private _onDocumentClick;
144
- getInternalContent(): import("react/jsx-runtime").JSX.Element | P["children"] | undefined;
144
+ getInternalContent(): React.JSX.Element | P["children"] | undefined;
145
145
  shortcutsScope: string;
146
146
  shortcutsMap: {
147
147
  esc: (evt: KeyboardEvent) => void;
148
148
  };
149
- render(): import("react/jsx-runtime").JSX.Element;
149
+ render(): React.JSX.Element;
150
150
  }
151
151
  export type PopupAttrs = React.JSX.LibraryManagedAttributes<typeof Popup, PopupProps>;
152
152
  export type BasePopupAttrs = React.JSX.LibraryManagedAttributes<typeof Popup, BasePopupProps>;
@@ -1,4 +1,3 @@
1
- import { jsx, jsxs } from 'react/jsx-runtime';
2
1
  import { PureComponent } from 'react';
3
2
  import { createPortal } from 'react-dom';
4
3
  import classNames from 'classnames';
@@ -13,10 +12,12 @@ import position from './position.js';
13
12
  import { DEFAULT_DIRECTIONS, Display, MaxHeight, MinWidth, Dimension, Directions } from './popup.consts.js';
14
13
  import { PopupTargetContext, PopupTarget } from './popup.target.js';
15
14
  import { supportsCSSAnchorPositioning, setCSSAnchorPositioning } from './position-css.js';
15
+ import { jsx, jsxs } from 'react/jsx-runtime';
16
16
  import '../shortcuts/core.js';
17
17
  import 'combokeys';
18
18
  import '../global/sniffer.js';
19
19
  import 'sniffr';
20
+ import 'react-compiler-runtime';
20
21
 
21
22
  var styles = {"popup":"ring-popup-popup ring-global-font","cssAnchoredPopup":"ring-popup-cssAnchoredPopup","largeBorderRadius":"ring-popup-largeBorderRadius","hidden":"ring-popup-hidden","showing":"ring-popup-showing","attached":"ring-popup-attached"};
22
23
 
@@ -305,7 +306,7 @@ class Popup extends PureComponent {
305
306
  autoFocusFirst,
306
307
  children
307
308
  } = this.props;
308
- return trapFocus ? jsx(TabTrap, {
309
+ return trapFocus ? /*#__PURE__*/jsx(TabTrap, {
309
310
  autoFocusFirst: autoFocusFirst,
310
311
  focusBackOnExit: true,
311
312
  children: children
@@ -340,19 +341,20 @@ class Popup extends PureComponent {
340
341
  [styles.largeBorderRadius]: largeBorderRadius
341
342
  });
342
343
  const direction = (this.state.direction || '').toLowerCase().replace(/[_]/g, '-');
343
- return jsx(PopupTargetContext.Consumer, {
344
+ return /*#__PURE__*/jsx(PopupTargetContext.Consumer, {
344
345
  children: value => {
345
346
  this.ringPopupTarget = value;
346
- return jsxs("span", {
347
+ return /*#__PURE__*/jsxs("span", {
347
348
  // prevent bubbling through portal
348
- onClick: stop,
349
+ onClick: stop
349
350
  // This handler only blocks bubbling through React portal
350
- role: 'presentation',
351
+ ,
352
+ role: "presentation",
351
353
  ref: this.portalRef,
352
- children: [this.shouldUseShortcuts() && jsx(Shortcuts, {
354
+ children: [this.shouldUseShortcuts() && /*#__PURE__*/jsx(Shortcuts, {
353
355
  map: this.shortcutsMap,
354
356
  scope: this.shortcutsScope
355
- }), client !== false && (keepMounted || !hidden) && /*#__PURE__*/createPortal(jsx(PopupTarget, {
357
+ }), client !== false && (keepMounted || !hidden) && /*#__PURE__*/createPortal(/*#__PURE__*/jsx(PopupTarget, {
356
358
  id: this.uid,
357
359
  ref: this.containerRef,
358
360
  onMouseOver: onMouseOver,
@@ -360,7 +362,7 @@ class Popup extends PureComponent {
360
362
  onMouseOut: onMouseOut,
361
363
  onBlur: onMouseOut,
362
364
  onContextMenu: onContextMenu,
363
- children: jsx("div", {
365
+ children: /*#__PURE__*/jsx("div", {
364
366
  "data-test": joinDataTestAttributes('ring-popup', dataTest),
365
367
  "data-test-shown": !hidden && !showing,
366
368
  "data-test-direction": direction,
@@ -368,9 +370,10 @@ class Popup extends PureComponent {
368
370
  className: classes,
369
371
  style: style,
370
372
  onMouseDown: onMouseDown,
371
- onMouseUp: onMouseUp,
373
+ onMouseUp: onMouseUp
372
374
  // mouse handlers are used to track clicking on inner elements
373
- role: 'presentation',
375
+ ,
376
+ role: "presentation",
374
377
  children: this.getInternalContent()
375
378
  })
376
379
  }), this.getContainer() || document.body)]
@@ -1,22 +1,74 @@
1
- import { jsx } from 'react/jsx-runtime';
1
+ import { c } from 'react-compiler-runtime';
2
2
  import { createContext, forwardRef } from 'react';
3
+ import { jsx } from 'react/jsx-runtime';
3
4
 
4
5
  const PopupTargetContext = /*#__PURE__*/createContext(undefined);
5
- const PopupTarget = /*#__PURE__*/forwardRef(function PopupTarget({
6
- id,
7
- children,
8
- ...restProps
9
- }, ref) {
10
- const target = jsx("div", {
11
- ...restProps,
12
- "data-portaltarget": id,
13
- ref: ref,
14
- children: typeof children !== 'function' && children
15
- });
16
- return jsx(PopupTargetContext.Provider, {
17
- value: id,
18
- children: typeof children === 'function' ? children(target) : target
19
- });
6
+ const PopupTarget = /*#__PURE__*/forwardRef(function PopupTarget(t0, ref) {
7
+ const $ = c(16);
8
+ if ($[0] !== "cd7853174a74114db99dbe80583a6d13c2de13a265e3549291bec1d28f76662d") {
9
+ for (let $i = 0; $i < 16; $i += 1) {
10
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
11
+ }
12
+ $[0] = "cd7853174a74114db99dbe80583a6d13c2de13a265e3549291bec1d28f76662d";
13
+ }
14
+ let children;
15
+ let id;
16
+ let restProps;
17
+ if ($[1] !== t0) {
18
+ ({
19
+ id,
20
+ children,
21
+ ...restProps
22
+ } = t0);
23
+ $[1] = t0;
24
+ $[2] = children;
25
+ $[3] = id;
26
+ $[4] = restProps;
27
+ } else {
28
+ children = $[2];
29
+ id = $[3];
30
+ restProps = $[4];
31
+ }
32
+ const t1 = typeof children !== "function" && children;
33
+ let t2;
34
+ if ($[5] !== id || $[6] !== ref || $[7] !== restProps || $[8] !== t1) {
35
+ t2 = /*#__PURE__*/jsx("div", {
36
+ ...restProps,
37
+ "data-portaltarget": id,
38
+ ref: ref,
39
+ children: t1
40
+ });
41
+ $[5] = id;
42
+ $[6] = ref;
43
+ $[7] = restProps;
44
+ $[8] = t1;
45
+ $[9] = t2;
46
+ } else {
47
+ t2 = $[9];
48
+ }
49
+ const target = t2;
50
+ let t3;
51
+ if ($[10] !== children || $[11] !== target) {
52
+ t3 = typeof children === "function" ? children(target) : target;
53
+ $[10] = children;
54
+ $[11] = target;
55
+ $[12] = t3;
56
+ } else {
57
+ t3 = $[12];
58
+ }
59
+ let t4;
60
+ if ($[13] !== id || $[14] !== t3) {
61
+ t4 = /*#__PURE__*/jsx(PopupTargetContext.Provider, {
62
+ value: id,
63
+ children: t3
64
+ });
65
+ $[13] = id;
66
+ $[14] = t3;
67
+ $[15] = t4;
68
+ } else {
69
+ t4 = $[15];
70
+ }
71
+ return t4;
20
72
  });
21
73
 
22
74
  export { PopupTarget, PopupTargetContext };
@@ -62,7 +62,7 @@ export default class PopupMenu<T = unknown> extends Popup<PopupMenuProps<T>> {
62
62
  list?: List<T> | null;
63
63
  listRef: (el: List<T> | null) => void;
64
64
  /** @override */
65
- getInternalContent(): import("react/jsx-runtime").JSX.Element;
65
+ getInternalContent(): import("react").JSX.Element;
66
66
  }
67
67
  export type PopupMenuAttrs<T = unknown> = React.JSX.LibraryManagedAttributes<typeof PopupMenu, PopupMenuProps<T>>;
68
68
  export declare const ListProps: {
@@ -1,6 +1,6 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import Popup from '../popup/popup.js';
3
2
  import List from '../list/list.js';
3
+ import { jsx } from 'react/jsx-runtime';
4
4
  import 'react';
5
5
  import 'react-dom';
6
6
  import 'classnames';
@@ -14,6 +14,7 @@ import '../global/sniffer.js';
14
14
  import 'sniffr';
15
15
  import '../global/data-tests.js';
16
16
  import '../tab-trap/tab-trap.js';
17
+ import 'react-compiler-runtime';
17
18
  import '../global/configuration.js';
18
19
  import '../popup/position.js';
19
20
  import '../popup/popup.consts.js';
@@ -30,9 +31,9 @@ import '../global/create-stateful-context.js';
30
31
  import '../list/list-item.js';
31
32
  import '../avatar/avatar.js';
32
33
  import '../global/url.js';
33
- import '../_helpers/avatar-info.js';
34
- import '../avatar/avatar-size.js';
35
34
  import '../avatar/fallback-avatar.js';
35
+ import '../avatar/avatar-size.js';
36
+ import '../_helpers/avatar-info.js';
36
37
  import '../checkbox/checkbox.js';
37
38
  import '@jetbrains/icons/checkmark-12px';
38
39
  import '@jetbrains/icons/remove-12px';
@@ -44,18 +45,15 @@ import '../control-help/control-help.js';
44
45
  import '../link/link.js';
45
46
  import '../link/clickable-link.js';
46
47
  import '../_helpers/link.js';
47
- import '../_helpers/list.js';
48
48
  import '../list/consts.js';
49
49
  import '../list/list.classes.js';
50
+ import '../_helpers/list.js';
50
51
  import '../list/list-custom.js';
51
52
  import '../global/get-event-key.js';
52
53
  import '../list/list-title.js';
53
54
  import '../list/list-separator.js';
54
55
  import '../list/list-hint.js';
55
56
 
56
- /**
57
- * @name Popup Menu
58
- */
59
57
  class PopupMenu extends Popup {
60
58
  static isItemType = List.isItemType;
61
59
  static ListProps = List.ListProps;
@@ -82,8 +80,8 @@ class PopupMenu extends Popup {
82
80
  className,
83
81
  ...props
84
82
  } = this.props;
85
- return jsx("div", {
86
- children: jsx(List, {
83
+ return /*#__PURE__*/jsx("div", {
84
+ children: /*#__PURE__*/jsx(List, {
87
85
  ref: this.listRef,
88
86
  ...props,
89
87
  maxHeight: this.popup && parseFloat(this.popup.style.maxHeight),
@@ -45,6 +45,6 @@ export default class ProgressBar extends PureComponent<ProgressBarProps> {
45
45
  progressbarWrapperRef: (el: HTMLElement | null) => void;
46
46
  progressbar?: HTMLElement | null;
47
47
  progressbarRef: (el: HTMLElement | null) => void;
48
- render(): import("react/jsx-runtime").JSX.Element;
48
+ render(): import("react").JSX.Element;
49
49
  }
50
50
  export type ProgressBarAttrs = React.JSX.LibraryManagedAttributes<typeof ProgressBar, ProgressBarProps>;
@@ -1,12 +1,9 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import { PureComponent } from 'react';
3
2
  import classNames from 'classnames';
3
+ import { jsx } from 'react/jsx-runtime';
4
4
 
5
5
  var styles = {"progressBar":"ring-progress-bar-progressBar","globalMode":"ring-progress-bar-globalMode","line":"ring-progress-bar-line","progress-bar-animation":"ring-progress-bar-progress-bar-animation","staticLineColor":"ring-progress-bar-staticLineColor"};
6
6
 
7
- /**
8
- * @name Progress Bar
9
- */
10
7
  class ProgressBar extends PureComponent {
11
8
  /**
12
9
  * @param {number} value The progress task value
@@ -47,14 +44,14 @@ class ProgressBar extends PureComponent {
47
44
  [styles.globalMode]: global,
48
45
  [styles.staticLineColor]: staticColor
49
46
  });
50
- return jsx("div", {
47
+ return /*#__PURE__*/jsx("div", {
51
48
  ...otherProps,
52
49
  className: classes,
53
50
  ref: this.progressbarWrapperRef,
54
- children: jsx("div", {
51
+ children: /*#__PURE__*/jsx("div", {
55
52
  className: styles.line,
56
53
  ref: this.progressbarRef,
57
- role: 'progressbar',
54
+ role: "progressbar",
58
55
  "aria-label": label,
59
56
  "aria-valuenow": value,
60
57
  "aria-valuemin": 0,
@@ -18,7 +18,7 @@ export interface SuggestionItem {
18
18
  }
19
19
  export default class QueryAssistSuggestions {
20
20
  static createKey(suggestion: QueryAssistSuggestion): string;
21
- static renderLabel(suggestion: QueryAssistSuggestion): import("react/jsx-runtime").JSX.Element;
21
+ static renderLabel(suggestion: QueryAssistSuggestion): import("react").JSX.Element;
22
22
  static renderGroupSeparator(suggestion: QueryAssistSuggestion, prevSuggestion: string): {
23
23
  key: string;
24
24
  description: string;
@@ -1,6 +1,6 @@
1
- import 'react/jsx-runtime';
2
1
  import '../list/list.js';
3
2
  export { Q as default } from '../_helpers/query-assist-suggestions.js';
3
+ import 'react/jsx-runtime';
4
4
  import 'react';
5
5
  import 'classnames';
6
6
  import 'react-virtualized/dist/es/List';
@@ -20,12 +20,13 @@ import 'combokeys';
20
20
  import '../global/sniffer.js';
21
21
  import 'sniffr';
22
22
  import '../global/create-stateful-context.js';
23
+ import 'react-compiler-runtime';
23
24
  import '../list/list-item.js';
24
25
  import '../avatar/avatar.js';
25
26
  import '../global/url.js';
26
- import '../_helpers/avatar-info.js';
27
- import '../avatar/avatar-size.js';
28
27
  import '../avatar/fallback-avatar.js';
28
+ import '../avatar/avatar-size.js';
29
+ import '../_helpers/avatar-info.js';
29
30
  import '../checkbox/checkbox.js';
30
31
  import '@jetbrains/icons/checkmark-12px';
31
32
  import '@jetbrains/icons/remove-12px';
@@ -37,9 +38,9 @@ import '../control-help/control-help.js';
37
38
  import '../link/link.js';
38
39
  import '../link/clickable-link.js';
39
40
  import '../_helpers/link.js';
40
- import '../_helpers/list.js';
41
41
  import '../list/consts.js';
42
42
  import '../list/list.classes.js';
43
+ import '../_helpers/list.js';
43
44
  import '../list/list-custom.js';
44
45
  import '../global/get-event-key.js';
45
46
  import '../list/list-title.js';
@@ -251,7 +251,7 @@ export default class QueryAssist extends Component<QueryAssistProps> {
251
251
  setupRequestHandler(delay?: number | null): void;
252
252
  private _renderSuggestion;
253
253
  renderSuggestions(): import("../list/consts").ListDataItem<SuggestionItem>[];
254
- renderQuery(): "" | import("react/jsx-runtime").JSX.Element[] | null | undefined;
254
+ renderQuery(): "" | React.JSX.Element[] | null | undefined;
255
255
  setFocus(focus: boolean | null | undefined): void;
256
256
  input?: HTMLElement | null;
257
257
  caret?: Caret;
@@ -270,7 +270,7 @@ export default class QueryAssist extends Component<QueryAssistProps> {
270
270
  shortcutsMap: ShortcutsMap;
271
271
  listShortcutsMap: ShortcutsMap;
272
272
  renderActions(): ReactNode[];
273
- render(): import("react/jsx-runtime").JSX.Element;
273
+ render(): React.JSX.Element;
274
274
  }
275
275
  export type QueryAssistAttrs = React.JSX.LibraryManagedAttributes<typeof QueryAssist, QueryAssistProps>;
276
276
  export declare const RerenderableQueryAssist: React.ForwardRefExoticComponent<QueryAssistProps & React.RefAttributes<QueryAssist>>;