@jetbrains/ring-ui-built 7.0.71 → 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,22 +1,64 @@
1
- import { jsx } from 'react/jsx-runtime';
1
+ import { c } from 'react-compiler-runtime';
2
2
  import { memo } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import { Button } from '../button/button.js';
5
+ import { jsx } from 'react/jsx-runtime';
5
6
 
6
7
  var styles = {"dropdown":"ring-dropdown-dropdown","anchor":"ring-dropdown-anchor"};
7
8
 
8
- const Anchor = ({
9
- children,
10
- className,
11
- ...restProps
12
- }) => jsx(Button, {
13
- "data-test-ring-dropdown-anchor": true,
14
- inline: true,
15
- dropdown: true,
16
- className: classNames(styles.anchor, className),
17
- ...restProps,
18
- children: children
19
- });
9
+ const Anchor = t0 => {
10
+ const $ = c(11);
11
+ if ($[0] !== "3067fd735de1a9a0c23aa0a7b746ef5c5300c54dd93a2de8daf6d53e43ecf99a") {
12
+ for (let $i = 0; $i < 11; $i += 1) {
13
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
14
+ }
15
+ $[0] = "3067fd735de1a9a0c23aa0a7b746ef5c5300c54dd93a2de8daf6d53e43ecf99a";
16
+ }
17
+ let children;
18
+ let className;
19
+ let restProps;
20
+ if ($[1] !== t0) {
21
+ ({
22
+ children,
23
+ className,
24
+ ...restProps
25
+ } = t0);
26
+ $[1] = t0;
27
+ $[2] = children;
28
+ $[3] = className;
29
+ $[4] = restProps;
30
+ } else {
31
+ children = $[2];
32
+ className = $[3];
33
+ restProps = $[4];
34
+ }
35
+ let t1;
36
+ if ($[5] !== className) {
37
+ t1 = classNames(styles.anchor, className);
38
+ $[5] = className;
39
+ $[6] = t1;
40
+ } else {
41
+ t1 = $[6];
42
+ }
43
+ let t2;
44
+ if ($[7] !== children || $[8] !== restProps || $[9] !== t1) {
45
+ t2 = /*#__PURE__*/jsx(Button, {
46
+ "data-test-ring-dropdown-anchor": true,
47
+ inline: true,
48
+ dropdown: true,
49
+ className: t1,
50
+ ...restProps,
51
+ children: children
52
+ });
53
+ $[7] = children;
54
+ $[8] = restProps;
55
+ $[9] = t1;
56
+ $[10] = t2;
57
+ } else {
58
+ t2 = $[10];
59
+ }
60
+ return t2;
61
+ };
20
62
  var Anchor$1 = /*#__PURE__*/memo(Anchor);
21
63
 
22
64
  export { Anchor$1 as A, styles as s };
@@ -1,6 +1,7 @@
1
- import { jsx } from 'react/jsx-runtime';
1
+ import { c } from 'react-compiler-runtime';
2
2
  import classNames from 'classnames';
3
3
  import { Size } from '../avatar/avatar-size.js';
4
+ import { jsx } from 'react/jsx-runtime';
4
5
 
5
6
  var styles = {"avatar":"ring-avatar-avatar","round":"ring-avatar-round","avatarShadow":"ring-avatar-avatarShadow","avatarInfo":"ring-avatar-avatarInfo","subavatar":"ring-avatar-subavatar","empty":"ring-avatar-empty"};
6
7
 
@@ -15,18 +16,50 @@ const fontSizes = {
15
16
  [Size.Size48]: 16,
16
17
  [Size.Size56]: 22
17
18
  };
18
- function AvatarInfo({
19
- size,
20
- children
21
- }) {
19
+ function AvatarInfo(t0) {
20
+ const $ = c(7);
21
+ if ($[0] !== "db386ebce597a72ca92c29748d7d2b70e27ec0dd005eced756c361b3bfc587ee") {
22
+ for (let $i = 0; $i < 7; $i += 1) {
23
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
24
+ }
25
+ $[0] = "db386ebce597a72ca92c29748d7d2b70e27ec0dd005eced756c361b3bfc587ee";
26
+ }
27
+ const {
28
+ size,
29
+ children
30
+ } = t0;
22
31
  const fontSize = fontSizes[size];
23
- return jsx("span", {
24
- style: {
32
+ let t1;
33
+ if ($[1] !== fontSize) {
34
+ t1 = {
25
35
  fontSize
26
- },
27
- className: classNames(styles.avatarInfo),
28
- children: children
29
- });
36
+ };
37
+ $[1] = fontSize;
38
+ $[2] = t1;
39
+ } else {
40
+ t1 = $[2];
41
+ }
42
+ let t2;
43
+ if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
44
+ t2 = classNames(styles.avatarInfo);
45
+ $[3] = t2;
46
+ } else {
47
+ t2 = $[3];
48
+ }
49
+ let t3;
50
+ if ($[4] !== children || $[5] !== t1) {
51
+ t3 = /*#__PURE__*/jsx("span", {
52
+ style: t1,
53
+ className: t2,
54
+ children: children
55
+ });
56
+ $[4] = children;
57
+ $[5] = t1;
58
+ $[6] = t3;
59
+ } else {
60
+ t3 = $[6];
61
+ }
62
+ return t3;
30
63
  }
31
64
 
32
65
  export { AvatarInfo as A, fontSizes as f, styles as s };
@@ -1,6 +1,6 @@
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 = {"button":"ring-button-button","active":"ring-button-active","flat":"ring-button-flat","buttonGroup":"ring-button-group-buttonGroup ring-button-group-common ring-button-toolbar-buttonGroup","common":"ring-button-group-common","disabled":"ring-button-group-disabled","split":"ring-button-group-split ring-button-group-common ring-button-toolbar-buttonGroup","caption":"ring-button-group-caption ring-global-font","help":"ring-button-group-help"};
6
6
 
@@ -10,7 +10,7 @@ class Caption extends PureComponent {
10
10
  className
11
11
  } = this.props;
12
12
  const classes = classNames(styles.caption, className);
13
- return jsx("span", {
13
+ return /*#__PURE__*/jsx("span", {
14
14
  ...this.props,
15
15
  className: classes
16
16
  });
@@ -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 copyIcon from '@jetbrains/icons/copy';
@@ -9,6 +8,7 @@ import Tag, { TagType } from '../tag/tag.js';
9
8
  import Icon from '../icon/icon.js';
10
9
  import { I18nContext } from '../i18n/i18n-context.js';
11
10
  import Tooltip from '../tooltip/tooltip.js';
11
+ import { jsx, jsxs } from 'react/jsx-runtime';
12
12
  import { Size } from '../avatar/avatar-size.js';
13
13
  import { Size as Size$1 } from '../icon/icon.constants.js';
14
14
 
@@ -41,61 +41,61 @@ class UserCard extends PureComponent {
41
41
  const translations = this.props.translations;
42
42
  const classes = classNames(className, {});
43
43
  const userActiveStatusClasses = classNames(styles.userActiveStatus, user.online ? styles.online : '');
44
- return jsx("div", {
44
+ return /*#__PURE__*/jsx("div", {
45
45
  ...restProps,
46
46
  className: classes,
47
- children: jsxs("div", {
47
+ children: /*#__PURE__*/jsxs("div", {
48
48
  className: styles.userInformationContainer,
49
- children: [jsxs("div", {
49
+ children: [/*#__PURE__*/jsxs("div", {
50
50
  className: styles.userAvatar,
51
- children: [jsx(Avatar, {
51
+ children: [/*#__PURE__*/jsx(Avatar, {
52
52
  size: Size.Size56,
53
53
  url: user.avatarUrl,
54
54
  username: user.name,
55
55
  round: true
56
56
  }), !!avatarInfo && avatarInfo]
57
- }), jsxs("div", {
57
+ }), /*#__PURE__*/jsxs("div", {
58
58
  className: styles.userInformation,
59
- children: [jsxs("div", {
59
+ children: [/*#__PURE__*/jsxs("div", {
60
60
  className: styles.userInformationGeneral,
61
- children: [jsxs("div", {
61
+ children: [/*#__PURE__*/jsxs("div", {
62
62
  className: styles.userNameLine,
63
- children: [user.href && jsx(Link, {
63
+ children: [user.href && /*#__PURE__*/jsx(Link, {
64
64
  href: user.href,
65
65
  className: styles.userName,
66
- "data-test": 'user-card-link',
66
+ "data-test": "user-card-link",
67
67
  children: user.name
68
- }), !user.href && jsx("span", {
68
+ }), !user.href && /*#__PURE__*/jsx("span", {
69
69
  className: styles.userName,
70
70
  children: user.name
71
- }), typeof user.online === 'boolean' && jsx("span", {
71
+ }), typeof user.online === 'boolean' && /*#__PURE__*/jsx("span", {
72
72
  className: userActiveStatusClasses,
73
73
  title: user.online ? (_translations$online = translations?.online) !== null && _translations$online !== void 0 ? _translations$online : translate('online') : (_translations$offline = translations?.offline) !== null && _translations$offline !== void 0 ? _translations$offline : translate('offline')
74
- }), !!info && jsx("span", {
74
+ }), !!info && /*#__PURE__*/jsx("span", {
75
75
  className: styles.userNameInfo,
76
76
  children: info
77
- }), user.banned && jsx(Tooltip, {
77
+ }), user.banned && /*#__PURE__*/jsx(Tooltip, {
78
78
  title: user.banReason,
79
- children: jsx(Tag, {
79
+ children: /*#__PURE__*/jsx(Tag, {
80
80
  tagType: TagType.ERROR,
81
81
  children: (_translations$banned = translations?.banned) !== null && _translations$banned !== void 0 ? _translations$banned : translate('banned')
82
82
  })
83
83
  })]
84
- }), jsx("div", {
84
+ }), /*#__PURE__*/jsx("div", {
85
85
  className: styles.userLogin,
86
86
  children: user.login
87
- }), user.email && jsxs("span", {
87
+ }), user.email && /*#__PURE__*/jsxs("span", {
88
88
  className: styles.userEmailWrapper,
89
- children: [jsx(Link, {
89
+ children: [/*#__PURE__*/jsx(Link, {
90
90
  href: `mailto:${user.email}`,
91
91
  title: `mailto:${user.email}`,
92
- target: '_blank',
92
+ target: "_blank",
93
93
  className: styles.userEmail,
94
94
  children: user.email
95
- }), user.unverifiedEmail && jsx("span", {
95
+ }), user.unverifiedEmail && /*#__PURE__*/jsx("span", {
96
96
  className: styles.unverifiedLabel,
97
97
  children: (_translations$unverif = translations?.unverified) !== null && _translations$unverif !== void 0 ? _translations$unverif : translate('unverified')
98
- }), jsx(Icon, {
98
+ }), /*#__PURE__*/jsx(Icon, {
99
99
  title: (_translations$copyToC = translations?.copyToClipboard) !== null && _translations$copyToC !== void 0 ? _translations$copyToC : translate('copyToClipboard'),
100
100
  className: styles.userCopyIcon,
101
101
  onClick: this.copyEmail,
@@ -1,7 +1,8 @@
1
- import { jsx } from 'react/jsx-runtime';
1
+ import { c } from 'react-compiler-runtime';
2
2
  import { memo } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import memoize from '../global/memoize.js';
5
+ import { jsx } from 'react/jsx-runtime';
5
6
 
6
7
  var styles = {"icon":"ring-icon-icon","glyph":"ring-icon-glyph","compatibilityMode":"ring-icon-compatibilityMode","gray":"ring-icon-gray","hover":"ring-icon-hover","green":"ring-icon-green","magenta":"ring-icon-magenta","red":"ring-icon-red","blue":"ring-icon-blue","white":"ring-icon-white","loading":"ring-icon-loading","icon-loading":"ring-icon-icon-loading"};
7
8
 
@@ -45,26 +46,83 @@ function isCompatibilityMode(iconSrc) {
45
46
  const hasHeight = /height=".+"/gi.test(iconSrc);
46
47
  return !hasWidth || !hasHeight;
47
48
  }
48
- function IconSVG({
49
- src,
50
- className,
51
- ...rest
52
- }) {
53
- const glyphClasses = classNames(styles.glyph, {
54
- [styles.compatibilityMode]: isCompatibilityMode(src)
55
- }, className);
49
+ function IconSVG(t0) {
50
+ const $ = c(17);
51
+ if ($[0] !== "589684e7b2c66c1a9d7d75c160f4be9d89cef892961d29196549a421758ee7d6") {
52
+ for (let $i = 0; $i < 17; $i += 1) {
53
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
54
+ }
55
+ $[0] = "589684e7b2c66c1a9d7d75c160f4be9d89cef892961d29196549a421758ee7d6";
56
+ }
57
+ let className;
58
+ let rest;
59
+ let src;
60
+ if ($[1] !== t0) {
61
+ ({
62
+ src,
63
+ className,
64
+ ...rest
65
+ } = t0);
66
+ $[1] = t0;
67
+ $[2] = className;
68
+ $[3] = rest;
69
+ $[4] = src;
70
+ } else {
71
+ className = $[2];
72
+ rest = $[3];
73
+ src = $[4];
74
+ }
75
+ let t1;
76
+ if ($[5] !== className || $[6] !== src) {
77
+ t1 = classNames(styles.glyph, {
78
+ [styles.compatibilityMode]: isCompatibilityMode(src)
79
+ }, className);
80
+ $[5] = className;
81
+ $[6] = src;
82
+ $[7] = t1;
83
+ } else {
84
+ t1 = $[7];
85
+ }
86
+ const glyphClasses = t1;
87
+ let t2;
88
+ if ($[8] !== src) {
89
+ t2 = getSVGFromSource(src);
90
+ $[8] = src;
91
+ $[9] = t2;
92
+ } else {
93
+ t2 = $[9];
94
+ }
56
95
  const {
57
96
  props,
58
97
  html
59
- } = getSVGFromSource(src);
60
- return jsx("svg", {
61
- ...props,
62
- ...rest,
63
- className: glyphClasses,
64
- dangerouslySetInnerHTML: {
98
+ } = t2;
99
+ let t3;
100
+ if ($[10] !== html) {
101
+ t3 = {
65
102
  __html: html
66
- }
67
- });
103
+ };
104
+ $[10] = html;
105
+ $[11] = t3;
106
+ } else {
107
+ t3 = $[11];
108
+ }
109
+ let t4;
110
+ if ($[12] !== glyphClasses || $[13] !== props || $[14] !== rest || $[15] !== t3) {
111
+ t4 = /*#__PURE__*/jsx("svg", {
112
+ ...props,
113
+ ...rest,
114
+ className: glyphClasses,
115
+ dangerouslySetInnerHTML: t3
116
+ });
117
+ $[12] = glyphClasses;
118
+ $[13] = props;
119
+ $[14] = rest;
120
+ $[15] = t3;
121
+ $[16] = t4;
122
+ } else {
123
+ t4 = $[16];
124
+ }
125
+ return t4;
68
126
  }
69
127
  var IconSVG$1 = /*#__PURE__*/memo(IconSVG);
70
128
 
@@ -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 closeIcon from '@jetbrains/icons/close-12px';
@@ -10,6 +9,7 @@ import { createComposedRef } from '../global/compose-refs.js';
10
9
  import { ControlsHeightContext } from '../global/controls-height.js';
11
10
  import { ControlLabel } from '../control-label/control-label.js';
12
11
  import ControlHelp from '../control-help/control-help.js';
12
+ import { jsx, jsxs } from 'react/jsx-runtime';
13
13
 
14
14
  var inputStyles = {"outerContainer":"ring-input-outerContainer","borderless":"ring-input-borderless","container":"ring-input-container","input":"ring-input-input","error":"ring-input-error","withIcon":"ring-input-withIcon","clearable":"ring-input-clearable","icon":"ring-input-icon","clear":"ring-input-clear","empty":"ring-input-empty","errorText":"ring-input-errorText","helpText":"ring-input-helpText","sizeS":"ring-input-sizeS","sizeM":"ring-input-sizeM","sizeL":"ring-input-sizeL","sizeFULL":"ring-input-sizeFULL","heightS":"ring-input-heightS","heightM":"ring-input-heightM","heightL":"ring-input-heightL"};
15
15
 
@@ -145,44 +145,44 @@ class Input extends PureComponent {
145
145
  'aria-label': typeof label === 'string' && label ? label : placeholder,
146
146
  'data-enabled-shortcuts': Array.isArray(enableShortcuts) ? enableShortcuts.join(',') : null
147
147
  };
148
- return jsx(I18nContext.Consumer, {
148
+ return /*#__PURE__*/jsx(I18nContext.Consumer, {
149
149
  children: ({
150
150
  translate
151
151
  }) => {
152
152
  var _translations$clear;
153
- return jsxs("div", {
153
+ return /*#__PURE__*/jsxs("div", {
154
154
  className: classes,
155
- "data-test": 'ring-input',
156
- children: [label && jsx(ControlLabel, {
155
+ "data-test": "ring-input",
156
+ children: [label && /*#__PURE__*/jsx(ControlLabel, {
157
157
  htmlFor: this.getId(),
158
158
  disabled: disabled,
159
159
  type: labelType,
160
160
  children: label
161
- }), jsxs("div", {
161
+ }), /*#__PURE__*/jsxs("div", {
162
162
  className: inputStyles.container,
163
- children: [icon && jsx(Icon, {
163
+ children: [icon && /*#__PURE__*/jsx(Icon, {
164
164
  glyph: icon,
165
165
  className: inputStyles.icon
166
- }), beforeInput, multiline ? jsx("textarea", {
166
+ }), beforeInput, multiline ? /*#__PURE__*/jsx("textarea", {
167
167
  onChange: this.handleTextareaChange,
168
168
  rows: 1,
169
169
  ...commonProps,
170
170
  ...restProps
171
- }) : jsx("input", {
171
+ }) : /*#__PURE__*/jsx("input", {
172
172
  onChange: this.handleInputChange,
173
173
  ...commonProps,
174
174
  ...restProps
175
- }), clearable && !disabled && jsx(Button, {
175
+ }), clearable && !disabled && /*#__PURE__*/jsx(Button, {
176
176
  title: (_translations$clear = translations?.clear) !== null && _translations$clear !== void 0 ? _translations$clear : translate('clear'),
177
- "data-test": 'ring-input-clear',
177
+ "data-test": "ring-input-clear",
178
178
  className: inputStyles.clear,
179
179
  icon: closeIcon,
180
180
  onClick: this.clear
181
181
  }), afterInput]
182
- }), error ? jsx("div", {
182
+ }), error ? /*#__PURE__*/jsx("div", {
183
183
  className: inputStyles.errorText,
184
184
  children: error
185
- }) : help && jsx(ControlHelp, {
185
+ }) : help && /*#__PURE__*/jsx(ControlHelp, {
186
186
  className: inputStyles.helpText,
187
187
  children: help
188
188
  })]
@@ -1,5 +1,5 @@
1
- import { jsx, jsxs } from 'react/jsx-runtime';
2
1
  import List from '../list/list.js';
2
+ import { jsx, jsxs } from 'react/jsx-runtime';
3
3
 
4
4
  var styles = {"queryAssist":"ring-query-assist-queryAssist","error":"ring-query-assist-error","queryAssistDisabled":"ring-query-assist-queryAssistDisabled","huge":"ring-query-assist-huge","actions":"ring-query-assist-actions","input":"ring-query-assist-input","letter-text":"ring-query-assist-letter-text","letterDefault":"ring-query-assist-letterDefault","letter-field-name":"ring-query-assist-letter-field-name","letter-field-value":"ring-query-assist-letter-field-value","letter-operator":"ring-query-assist-letter-operator","letter-error":"ring-query-assist-letter-error","highlight":"ring-query-assist-highlight","service":"ring-query-assist-service","placeholder":"ring-query-assist-placeholder ring-global-resetButton","hugePlaceholder":"ring-query-assist-hugePlaceholder","letter":"ring-query-assist-letter","icon":"ring-query-assist-icon","rightSearchButton":"ring-query-assist-rightSearchButton","clear":"ring-query-assist-clear","withoutGlass":"ring-query-assist-withoutGlass","loaderActive":"ring-query-assist-loaderActive","loaderOnTheRight":"ring-query-assist-loaderOnTheRight","inputRevertOrder":"ring-query-assist-inputRevertOrder"};
5
5
 
@@ -34,7 +34,7 @@ class QueryAssistSuggestions {
34
34
  let after = '';
35
35
  if (matchingStart !== matchingEnd) {
36
36
  before = option.substring(0, matchingStart);
37
- wrappedOption = jsx("span", {
37
+ wrappedOption = /*#__PURE__*/jsx("span", {
38
38
  className: styles.highlight,
39
39
  children: option.substring(matchingStart, matchingEnd)
40
40
  });
@@ -42,15 +42,15 @@ class QueryAssistSuggestions {
42
42
  } else {
43
43
  wrappedOption = option;
44
44
  }
45
- const wrappedPrefix = prefix && jsx("span", {
45
+ const wrappedPrefix = prefix && /*#__PURE__*/jsx("span", {
46
46
  className: styles.service,
47
47
  children: prefix
48
48
  });
49
- const wrappedSuffix = suffix && jsx("span", {
49
+ const wrappedSuffix = suffix && /*#__PURE__*/jsx("span", {
50
50
  className: styles.service,
51
51
  children: suffix
52
52
  });
53
- return jsxs("span", {
53
+ return /*#__PURE__*/jsxs("span", {
54
54
  className: className,
55
55
  children: [wrappedPrefix, before, wrappedOption, after, wrappedSuffix]
56
56
  });
@@ -1,10 +1,10 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import { Component } from 'react';
3
2
  import classNames from 'classnames';
4
3
  import { I as Input } from './input.js';
5
4
  import sniffr from '../global/sniffer.js';
6
5
  import { ActiveItemContext } from '../list/list.js';
7
6
  import { I18nContext } from '../i18n/i18n-context.js';
7
+ import { jsx } from 'react/jsx-runtime';
8
8
 
9
9
  var styles = {"filterWithTagsFocused":"ring-select-popup-filterWithTagsFocused","filterWithTags":"ring-select-popup-filterWithTags","filterWrapper":"ring-select-popup-filterWrapper","filterWithTagsInput":"ring-select-popup-filterWithTagsInput","filter":"ring-select-popup-filter","popup":"ring-select-popup-popup","filterIcon":"ring-select-popup-filterIcon","bottomLine":"ring-select-popup-bottomLine","bottomLineOverItem":"ring-select-popup-bottomLineOverItem","message":"ring-select-popup-message","selectAll":"ring-select-popup-selectAll"};
10
10
 
@@ -42,18 +42,18 @@ class SelectFilter extends Component {
42
42
  ...restProps
43
43
  } = this.props;
44
44
  const classes = classNames(styles.filter, className);
45
- return jsx(ActiveItemContext.ValueContext.Consumer, {
46
- children: activeItemId => jsx(I18nContext.Consumer, {
45
+ return /*#__PURE__*/jsx(ActiveItemContext.ValueContext.Consumer, {
46
+ children: activeItemId => /*#__PURE__*/jsx(I18nContext.Consumer, {
47
47
  children: ({
48
48
  translate
49
49
  }) => {
50
50
  var _restProps$placeholde;
51
- return jsx(Input, {
51
+ return /*#__PURE__*/jsx(Input, {
52
52
  ...restProps,
53
53
  placeholder: (_restProps$placeholde = restProps.placeholder) !== null && _restProps$placeholde !== void 0 ? _restProps$placeholde : translate('filterItems'),
54
54
  "aria-owns": listId,
55
55
  "aria-activedescendant": activeItemId,
56
- autoComplete: 'off',
56
+ autoComplete: "off",
57
57
  autoFocus: true,
58
58
  borderless: true,
59
59
  inputRef: this.inputRef,
@@ -1,6 +1,6 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import { PureComponent } from 'react';
3
2
  import Link from '../link/link.js';
3
+ import { jsx } from 'react/jsx-runtime';
4
4
 
5
5
  var styles = {"services":"ring-services-services","active":"ring-services-active","item":"ring-services-item","itemLogo":"ring-services-itemLogo","activeItem":"ring-services-activeItem ring-services-item ring-services-active","line":"ring-services-line","itemStacked":"ring-services-itemStacked","activeItemStacked":"ring-services-activeItemStacked ring-services-itemStacked ring-services-active"};
6
6
 
@@ -10,16 +10,16 @@ class ServicesLink extends PureComponent {
10
10
  service,
11
11
  ...props
12
12
  } = this.props;
13
- return jsx(Link, {
14
- target: '_self',
13
+ return /*#__PURE__*/jsx(Link, {
14
+ target: "_self",
15
15
  href: service.homeUrl,
16
16
  ...props,
17
- children: service.iconUrl ? [jsx("span", {
17
+ children: service.iconUrl ? [/*#__PURE__*/jsx("span", {
18
18
  className: styles.itemLogo,
19
19
  style: {
20
20
  backgroundImage: `url(${service.iconUrl})`
21
21
  }
22
- }, 'icon'), jsx("div", {
22
+ }, 'icon'), /*#__PURE__*/jsx("div", {
23
23
  children: service.name
24
24
  }, 'text')] : service.name
25
25
  });
@@ -1,7 +1,7 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
1
  import { Component } from 'react';
3
2
  import classNames from 'classnames';
4
3
  import { Waypoint } from 'react-waypoint';
4
+ import { jsxs, jsx } from 'react/jsx-runtime';
5
5
 
6
6
  var styles = {"extra-small-screen-media":"(max-width: 639px)","small-screen-media":"(min-width: 640px) and (max-width: 959px)","contentLayout":"ring-content-layout-contentLayout","contentLayoutContent":"ring-content-layout-contentLayoutContent","sidebarContainer":"ring-content-layout-sidebarContainer","sidebarContainerRight":"ring-content-layout-sidebarContainerRight","sidebar":"ring-content-layout-sidebar","sidebarRight":"ring-content-layout-sidebarRight","sidebarFixedTop":"ring-content-layout-sidebarFixedTop","sidebarFixedBottom":"ring-content-layout-sidebarFixedBottom","bottomMarker":"ring-content-layout-bottomMarker","contentLayoutResponsive":"ring-content-layout-contentLayoutResponsive"};
7
7
 
@@ -81,20 +81,20 @@ class Sidebar extends Component {
81
81
  const style = {
82
82
  maxHeight: shouldFixateBottom && sidebarVisibleHeight ? `${sidebarVisibleHeight}px` : undefined
83
83
  };
84
- return jsxs("aside", {
84
+ return /*#__PURE__*/jsxs("aside", {
85
85
  className: containerClasses,
86
86
  ref: this.sidebarRef,
87
- children: [jsx(Waypoint, {
87
+ children: [/*#__PURE__*/jsx(Waypoint, {
88
88
  onEnter: this.handleTopWaypoint,
89
89
  onLeave: this.handleTopWaypoint
90
- }), jsx("div", {
90
+ }), /*#__PURE__*/jsx("div", {
91
91
  ...restProps,
92
92
  style: style,
93
93
  className: classes,
94
94
  children: children
95
- }), jsx("div", {
95
+ }), /*#__PURE__*/jsx("div", {
96
96
  className: styles.bottomMarker,
97
- children: jsx(Waypoint, {
97
+ children: /*#__PURE__*/jsx(Waypoint, {
98
98
  onEnter: this.handleBottomWaypoint,
99
99
  onLeave: this.handleBottomWaypoint
100
100
  })