@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
@@ -8,5 +8,5 @@ export type ErrorBubbleProps<P> = Partial<P> & {
8
8
  * @name Error Bubble
9
9
  */
10
10
  export default class ErrorBubble<P> extends PureComponent<ErrorBubbleProps<P>> {
11
- render(): import("react/jsx-runtime").JSX.Element;
11
+ render(): import("react").JSX.Element;
12
12
  }
@@ -1,8 +1,8 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
1
  import { PureComponent, Children, cloneElement } from 'react';
3
2
  import classNames from 'classnames';
4
3
  import Popup from '../popup/popup.js';
5
4
  import { Directions } from '../popup/popup.consts.js';
5
+ import { jsxs, jsx } from 'react/jsx-runtime';
6
6
  import 'react-dom';
7
7
  import '../global/get-uid.js';
8
8
  import '../global/schedule-raf.js';
@@ -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.target.js';
@@ -21,9 +22,6 @@ import '../popup/position-css.js';
21
22
 
22
23
  var styles = {"errorBubblePopup":"ring-error-bubble-errorBubblePopup","errorBubbleWrapper":"ring-error-bubble-errorBubbleWrapper","errorBubble":"ring-error-bubble-errorBubble"};
23
24
 
24
- /**
25
- * @name Error Bubble
26
- */
27
25
  class ErrorBubble extends PureComponent {
28
26
  render() {
29
27
  const {
@@ -32,21 +30,21 @@ class ErrorBubble extends PureComponent {
32
30
  ...restProps
33
31
  } = this.props;
34
32
  const errorBubbleClasses = classNames(styles.errorBubble, className);
35
- return jsxs("div", {
33
+ return /*#__PURE__*/jsxs("div", {
36
34
  className: styles.errorBubbleWrapper,
37
- "data-test": 'ring-error-bubble-wrapper',
35
+ "data-test": "ring-error-bubble-wrapper",
38
36
  children: [children && Children.map(children, child => /*#__PURE__*/cloneElement(child, {
39
37
  ...child.props,
40
38
  ...restProps
41
- })), restProps.error && jsx(Popup, {
39
+ })), restProps.error && /*#__PURE__*/jsx(Popup, {
42
40
  trapFocus: false,
43
41
  className: styles.errorBubblePopup,
44
42
  hidden: false,
45
43
  attached: false,
46
44
  directions: [Directions.RIGHT_CENTER, Directions.RIGHT_BOTTOM, Directions.RIGHT_TOP],
47
- children: jsx("div", {
45
+ children: /*#__PURE__*/jsx("div", {
48
46
  className: errorBubbleClasses,
49
- "data-test": 'ring-error-bubble',
47
+ "data-test": "ring-error-bubble",
50
48
  children: restProps.error
51
49
  })
52
50
  })]
@@ -13,5 +13,5 @@ export interface ErrorMessageProps {
13
13
  * @name Error Message
14
14
  */
15
15
  export default class ErrorMessage extends Component<ErrorMessageProps> {
16
- render(): import("react/jsx-runtime").JSX.Element;
16
+ render(): import("react").JSX.Element;
17
17
  }
@@ -1,18 +1,16 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
1
  import { Component } from 'react';
3
2
  import classNames from 'classnames';
4
3
  import Icon from '../icon/icon.js';
5
4
  import { Size } from '../icon/icon.constants.js';
6
5
  import joinDataTestAttributes from '../global/data-tests.js';
6
+ import { jsxs, jsx } from 'react/jsx-runtime';
7
7
  import 'util-deprecate';
8
8
  import '../_helpers/icon-svg.js';
9
+ import 'react-compiler-runtime';
9
10
  import '../global/memoize.js';
10
11
 
11
12
  var styles = {"errorMessage":"ring-error-message-errorMessage","title":"ring-error-message-title","description":"ring-error-message-description","content":"ring-error-message-content","icon":"ring-error-message-icon"};
12
13
 
13
- /**
14
- * @name Error Message
15
- */
16
14
  class ErrorMessage extends Component {
17
15
  render() {
18
16
  const {
@@ -25,21 +23,21 @@ class ErrorMessage extends Component {
25
23
  'data-test': dataTest
26
24
  } = this.props;
27
25
  const classes = classNames(styles.errorMessage, className);
28
- return jsxs("div", {
26
+ return /*#__PURE__*/jsxs("div", {
29
27
  className: classes,
30
28
  "data-test": joinDataTestAttributes('ring-error-message', dataTest),
31
- children: [icon && jsx(Icon, {
29
+ children: [icon && /*#__PURE__*/jsx(Icon, {
32
30
  className: styles.icon,
33
31
  glyph: icon,
34
32
  size: Size.Size64,
35
33
  suppressSizeWarning: true
36
- }), jsxs("div", {
34
+ }), /*#__PURE__*/jsxs("div", {
37
35
  className: styles.content,
38
- children: [jsxs("div", {
36
+ children: [/*#__PURE__*/jsxs("div", {
39
37
  className: styles.title,
40
- "data-test": 'ring-error-message-title',
38
+ "data-test": "ring-error-message-title",
41
39
  children: [code && `${code}:`, " ", message]
42
- }), description && jsx("div", {
40
+ }), description && /*#__PURE__*/jsx("div", {
43
41
  className: styles.description,
44
42
  children: description
45
43
  }), children]
@@ -1,29 +1,68 @@
1
- import { jsx } from 'react/jsx-runtime';
1
+ import { c } from 'react-compiler-runtime';
2
2
  import { memo, isValidElement } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import Link from '../link/link.js';
5
+ import { jsx } from 'react/jsx-runtime';
5
6
  import '../global/data-tests.js';
6
7
  import '../link/clickable-link.js';
7
8
  import '../_helpers/link.js';
8
9
 
9
10
  var styles = {"footer":"ring-footer-footer ring-global-font","footerFloating":"ring-footer-footerFloating ring-footer-footer ring-global-font","column":"ring-footer-column","columnItem":"ring-footer-columnItem","columnLeft":"ring-footer-columnLeft ring-footer-column","columnCenter":"ring-footer-columnCenter ring-footer-column","line":"ring-footer-line","columnRight":"ring-footer-columnRight ring-footer-column","lineCenter":"ring-footer-lineCenter"};
10
11
 
11
- const FooterColumn = /*#__PURE__*/memo(function FooterColumn({
12
- position,
13
- children
14
- }) {
15
- const classes = classNames({
16
- [styles.columnLeft]: position === 'left',
17
- [styles.columnCenter]: position === 'center',
18
- [styles.columnRight]: position === 'right'
19
- });
20
- return jsx("div", {
21
- className: classes,
22
- children: jsx("ul", {
12
+ const FooterColumn = /*#__PURE__*/memo(function FooterColumn(t0) {
13
+ const $ = c(10);
14
+ if ($[0] !== "af9372db3a745385e563b057c762368495083e0451baa8ec82b5600f64499a77") {
15
+ for (let $i = 0; $i < 10; $i += 1) {
16
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
17
+ }
18
+ $[0] = "af9372db3a745385e563b057c762368495083e0451baa8ec82b5600f64499a77";
19
+ }
20
+ const {
21
+ position,
22
+ children
23
+ } = t0;
24
+ const t1 = position === "left";
25
+ const t2 = position === "center";
26
+ const t3 = position === "right";
27
+ let t4;
28
+ if ($[1] !== t1 || $[2] !== t2 || $[3] !== t3) {
29
+ t4 = classNames({
30
+ [styles.columnLeft]: t1,
31
+ [styles.columnCenter]: t2,
32
+ [styles.columnRight]: t3
33
+ });
34
+ $[1] = t1;
35
+ $[2] = t2;
36
+ $[3] = t3;
37
+ $[4] = t4;
38
+ } else {
39
+ t4 = $[4];
40
+ }
41
+ const classes = t4;
42
+ let t5;
43
+ if ($[5] !== children) {
44
+ t5 = /*#__PURE__*/jsx("ul", {
23
45
  className: styles.columnItem,
24
46
  children: children
25
- })
26
- });
47
+ });
48
+ $[5] = children;
49
+ $[6] = t5;
50
+ } else {
51
+ t5 = $[6];
52
+ }
53
+ let t6;
54
+ if ($[7] !== classes || $[8] !== t5) {
55
+ t6 = /*#__PURE__*/jsx("div", {
56
+ className: classes,
57
+ children: t5
58
+ });
59
+ $[7] = classes;
60
+ $[8] = t5;
61
+ $[9] = t6;
62
+ } else {
63
+ t6 = $[9];
64
+ }
65
+ return t6;
27
66
  });
28
67
  /**
29
68
  * Return copyright string
@@ -46,56 +85,161 @@ function copyright(year) {
46
85
  * @extends {ReactComponent}
47
86
  */
48
87
  const FooterLine = /*#__PURE__*/memo(function FooterLine(props) {
49
- const items = Array.isArray(props.item) ? props.item : [props.item];
50
- function renderItem(item) {
51
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
52
- if (/*#__PURE__*/isValidElement(item) || typeof item !== 'object') {
53
- return item;
54
- }
55
- const element = (item.copyright ? copyright(item.copyright) : '') + (item.label || item);
56
- if (item.url) {
57
- return jsx(Link, {
58
- href: item.url,
59
- target: item.target,
60
- title: item.title,
61
- children: element
62
- }, item.url + item.title);
88
+ const $ = c(8);
89
+ if ($[0] !== "af9372db3a745385e563b057c762368495083e0451baa8ec82b5600f64499a77") {
90
+ for (let $i = 0; $i < 8; $i += 1) {
91
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
63
92
  }
64
- return element;
93
+ $[0] = "af9372db3a745385e563b057c762368495083e0451baa8ec82b5600f64499a77";
65
94
  }
66
- return jsx("li", {
67
- className: styles.line,
68
- children: items.map(renderItem)
69
- });
95
+ let t0;
96
+ if ($[1] !== props.item) {
97
+ t0 = Array.isArray(props.item) ? props.item : [props.item];
98
+ $[1] = props.item;
99
+ $[2] = t0;
100
+ } else {
101
+ t0 = $[2];
102
+ }
103
+ const items = t0;
104
+ let t1;
105
+ if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
106
+ t1 = function renderItem(item) {
107
+ if (/*#__PURE__*/isValidElement(item) || typeof item !== "object") {
108
+ return item;
109
+ }
110
+ const element = (item.copyright ? copyright(item.copyright) : "") + (item.label || item);
111
+ if (item.url) {
112
+ return /*#__PURE__*/jsx(Link, {
113
+ href: item.url,
114
+ target: item.target,
115
+ title: item.title,
116
+ children: element
117
+ }, item.url + item.title);
118
+ }
119
+ return element;
120
+ };
121
+ $[3] = t1;
122
+ } else {
123
+ t1 = $[3];
124
+ }
125
+ const renderItem = t1;
126
+ let t2;
127
+ if ($[4] !== items) {
128
+ t2 = items.map(renderItem);
129
+ $[4] = items;
130
+ $[5] = t2;
131
+ } else {
132
+ t2 = $[5];
133
+ }
134
+ let t3;
135
+ if ($[6] !== t2) {
136
+ t3 = /*#__PURE__*/jsx("li", {
137
+ className: styles.line,
138
+ children: t2
139
+ });
140
+ $[6] = t2;
141
+ $[7] = t3;
142
+ } else {
143
+ t3 = $[7];
144
+ }
145
+ return t3;
70
146
  });
71
- const Footer = /*#__PURE__*/memo(function Footer({
72
- floating,
73
- className,
74
- left,
75
- center,
76
- right
77
- }) {
78
- function content(elements, position) {
79
- if (!elements) {
80
- return false;
147
+ const Footer = /*#__PURE__*/memo(function Footer(t0) {
148
+ const $ = c(18);
149
+ if ($[0] !== "af9372db3a745385e563b057c762368495083e0451baa8ec82b5600f64499a77") {
150
+ for (let $i = 0; $i < 18; $i += 1) {
151
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
81
152
  }
82
- return jsx(FooterColumn, {
83
- position: position,
84
- children: elements.map((item, idx) => jsx(FooterLine
85
- // eslint-disable-next-line react/no-array-index-key
86
- , {
87
- item: item
88
- }, idx))
89
- }, position);
90
- }
91
- const classes = classNames(styles.footer, className, {
92
- [styles.footerFloating]: floating
93
- });
94
- return jsx("footer", {
95
- className: classes,
96
- "data-test": 'ring-footer',
97
- children: [content(left, 'left'), content(center, 'center'), content(right, 'right')]
98
- });
153
+ $[0] = "af9372db3a745385e563b057c762368495083e0451baa8ec82b5600f64499a77";
154
+ }
155
+ const {
156
+ floating,
157
+ className,
158
+ left,
159
+ center,
160
+ right
161
+ } = t0;
162
+ let t1;
163
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
164
+ t1 = function content(elements, position) {
165
+ if (!elements) {
166
+ return false;
167
+ }
168
+ return /*#__PURE__*/jsx(FooterColumn, {
169
+ position: position,
170
+ children: elements.map(_temp)
171
+ }, position);
172
+ };
173
+ $[1] = t1;
174
+ } else {
175
+ t1 = $[1];
176
+ }
177
+ const content = t1;
178
+ let t2;
179
+ if ($[2] !== className || $[3] !== floating) {
180
+ t2 = classNames(styles.footer, className, {
181
+ [styles.footerFloating]: floating
182
+ });
183
+ $[2] = className;
184
+ $[3] = floating;
185
+ $[4] = t2;
186
+ } else {
187
+ t2 = $[4];
188
+ }
189
+ const classes = t2;
190
+ let t3;
191
+ if ($[5] !== left) {
192
+ t3 = content(left, "left");
193
+ $[5] = left;
194
+ $[6] = t3;
195
+ } else {
196
+ t3 = $[6];
197
+ }
198
+ let t4;
199
+ if ($[7] !== center) {
200
+ t4 = content(center, "center");
201
+ $[7] = center;
202
+ $[8] = t4;
203
+ } else {
204
+ t4 = $[8];
205
+ }
206
+ let t5;
207
+ if ($[9] !== right) {
208
+ t5 = content(right, "right");
209
+ $[9] = right;
210
+ $[10] = t5;
211
+ } else {
212
+ t5 = $[10];
213
+ }
214
+ let t6;
215
+ if ($[11] !== t3 || $[12] !== t4 || $[13] !== t5) {
216
+ t6 = [t3, t4, t5];
217
+ $[11] = t3;
218
+ $[12] = t4;
219
+ $[13] = t5;
220
+ $[14] = t6;
221
+ } else {
222
+ t6 = $[14];
223
+ }
224
+ let t7;
225
+ if ($[15] !== classes || $[16] !== t6) {
226
+ t7 = /*#__PURE__*/jsx("footer", {
227
+ className: classes,
228
+ "data-test": "ring-footer",
229
+ children: t6
230
+ });
231
+ $[15] = classes;
232
+ $[16] = t6;
233
+ $[17] = t7;
234
+ } else {
235
+ t7 = $[17];
236
+ }
237
+ return t7;
99
238
  });
239
+ function _temp(item, idx) {
240
+ return /*#__PURE__*/jsx(FooterLine, {
241
+ item: item
242
+ }, idx);
243
+ }
100
244
 
101
245
  export { copyright, Footer as default };
@@ -11,7 +11,7 @@ export default function createStatefulContext<T>(initialValue: T, name?: string)
11
11
  ValueContext: import("react").Context<T>;
12
12
  UpdateContext: import("react").Context<Update<T>>;
13
13
  Provider: {
14
- ({ children }: ProviderProps): import("react/jsx-runtime").JSX.Element;
14
+ ({ children }: ProviderProps): import("react").JSX.Element;
15
15
  displayName: string;
16
16
  };
17
17
  useUpdate: (value: T, skipUpdate?: boolean) => void;
@@ -1,34 +1,89 @@
1
- import { jsx } from 'react/jsx-runtime';
1
+ import { c } from 'react-compiler-runtime';
2
2
  import { memo, createContext, useState, useContext, useEffect } from 'react';
3
+ import { jsx } from 'react/jsx-runtime';
3
4
 
4
5
  function createStatefulContext(initialValue, name = '') {
5
6
  const ValueContext = /*#__PURE__*/createContext(initialValue);
6
7
  const UpdateContext = /*#__PURE__*/createContext(() => {});
7
- function Provider({
8
- children
9
- }) {
8
+ function Provider(t0) {
9
+ const $ = c(6);
10
+ if ($[0] !== "576d375e78a62076caf2193d98749eebdfd60d1ce7b219f4ea1f080358177a6e") {
11
+ for (let $i = 0; $i < 6; $i += 1) {
12
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
13
+ }
14
+ $[0] = "576d375e78a62076caf2193d98749eebdfd60d1ce7b219f4ea1f080358177a6e";
15
+ }
16
+ const {
17
+ children
18
+ } = t0;
10
19
  const [value, update] = useState(initialValue);
11
- return jsx(ValueContext.Provider, {
12
- value: value,
13
- children: jsx(UpdateContext.Provider, {
20
+ let t1;
21
+ if ($[1] !== children) {
22
+ t1 = /*#__PURE__*/jsx(UpdateContext.Provider, {
14
23
  value: update,
15
24
  children: children
16
- })
17
- });
25
+ });
26
+ $[1] = children;
27
+ $[2] = t1;
28
+ } else {
29
+ t1 = $[2];
30
+ }
31
+ let t2;
32
+ if ($[3] !== t1 || $[4] !== value) {
33
+ t2 = /*#__PURE__*/jsx(ValueContext.Provider, {
34
+ value: value,
35
+ children: t1
36
+ });
37
+ $[3] = t1;
38
+ $[4] = value;
39
+ $[5] = t2;
40
+ } else {
41
+ t2 = $[5];
42
+ }
43
+ return t2;
18
44
  }
19
45
  Provider.displayName = `${name}Provider`;
20
46
  function useUpdate(value, skipUpdate) {
21
- const update = useContext(UpdateContext);
22
- useEffect(() => {
23
- if (!skipUpdate) {
24
- update(value);
47
+ const $ = c(6);
48
+ if ($[0] !== "576d375e78a62076caf2193d98749eebdfd60d1ce7b219f4ea1f080358177a6e") {
49
+ for (let $i = 0; $i < 6; $i += 1) {
50
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
25
51
  }
26
- }, [update, value, skipUpdate]);
52
+ $[0] = "576d375e78a62076caf2193d98749eebdfd60d1ce7b219f4ea1f080358177a6e";
53
+ }
54
+ const update = useContext(UpdateContext);
55
+ let t0;
56
+ let t1;
57
+ if ($[1] !== skipUpdate || $[2] !== update || $[3] !== value) {
58
+ t0 = () => {
59
+ if (!skipUpdate) {
60
+ update(value);
61
+ }
62
+ };
63
+ t1 = [update, value, skipUpdate];
64
+ $[1] = skipUpdate;
65
+ $[2] = update;
66
+ $[3] = value;
67
+ $[4] = t0;
68
+ $[5] = t1;
69
+ } else {
70
+ t0 = $[4];
71
+ t1 = $[5];
72
+ }
73
+ useEffect(t0, t1);
27
74
  }
28
- function Updater({
29
- value,
30
- skipUpdate
31
- }) {
75
+ function Updater(t0) {
76
+ const $ = c(1);
77
+ if ($[0] !== "576d375e78a62076caf2193d98749eebdfd60d1ce7b219f4ea1f080358177a6e") {
78
+ for (let $i = 0; $i < 1; $i += 1) {
79
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
80
+ }
81
+ $[0] = "576d375e78a62076caf2193d98749eebdfd60d1ce7b219f4ea1f080358177a6e";
82
+ }
83
+ const {
84
+ value,
85
+ skipUpdate
86
+ } = t0;
32
87
  useUpdate(value, skipUpdate);
33
88
  return null;
34
89
  }
@@ -1,6 +1,6 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import { Component } from 'react';
3
2
  import { createComposedRef } from './compose-refs.js';
3
+ import { jsx } from 'react/jsx-runtime';
4
4
  import 'memoize-one';
5
5
 
6
6
  function focusSensorHOC(ComposedComponent) {
@@ -106,7 +106,7 @@ function focusSensorHOC(ComposedComponent) {
106
106
  scrollOnTableFocus,
107
107
  ...rest
108
108
  } = this.props;
109
- return jsx(ComposedComponent, {
109
+ return /*#__PURE__*/jsx(ComposedComponent, {
110
110
  ...rest,
111
111
  innerRef: this.composedRef(innerRef, this.onRefUpdate),
112
112
  focused: this.state.focused,
@@ -1,6 +1,6 @@
1
1
  const idCounters = {};
2
2
  function generateSalt() {
3
- // eslint-disable-next-line @typescript-eslint/no-magic-numbers
3
+ // eslint-disable-next-line no-magic-numbers
4
4
  return (Date.now() * Math.random()).toString(36).substring(0, 4);
5
5
  }
6
6
  const salt = generateSalt();
@@ -7,5 +7,5 @@ export default class Renderer extends Component<RendererProps> {
7
7
  componentDidMount(): void;
8
8
  node?: HTMLElement | null;
9
9
  nodeRef: (node: HTMLElement | null) => void;
10
- render(): import("react/jsx-runtime").JSX.Element;
10
+ render(): import("react").JSX.Element;
11
11
  }
@@ -1,5 +1,5 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import { Component } from 'react';
2
+ import { jsx } from 'react/jsx-runtime';
3
3
 
4
4
  class Renderer extends Component {
5
5
  componentDidMount() {
@@ -22,7 +22,7 @@ class Renderer extends Component {
22
22
  const {
23
23
  className
24
24
  } = this.props;
25
- return jsx("div", {
25
+ return /*#__PURE__*/jsx("div", {
26
26
  className: className,
27
27
  ref: this.nodeRef
28
28
  });
@@ -1,6 +1,7 @@
1
- import { jsx } from 'react/jsx-runtime';
1
+ import { c } from 'react-compiler-runtime';
2
2
  import { forwardRef, Component } from 'react';
3
3
  import { createComposedRef } from './compose-refs.js';
4
+ import { jsx } from 'react/jsx-runtime';
4
5
  import 'memoize-one';
5
6
 
6
7
  function rerenderHOC(ComposedComponent) {
@@ -9,7 +10,7 @@ function rerenderHOC(ComposedComponent) {
9
10
  composedRef = createComposedRef();
10
11
  render() {
11
12
  const ref = this.composedRef(this.props.forwardedRef);
12
- return jsx(ComposedComponent, {
13
+ return /*#__PURE__*/jsx(ComposedComponent, {
13
14
  ...this.state,
14
15
  ref: instance => ref(instance ? {
15
16
  ...instance,
@@ -19,10 +20,26 @@ function rerenderHOC(ComposedComponent) {
19
20
  }
20
21
  }
21
22
  return /*#__PURE__*/forwardRef(function RerendererForwardRef(props, ref) {
22
- return jsx(Rerenderer, {
23
- props: props,
24
- forwardedRef: ref
25
- });
23
+ const $ = c(4);
24
+ if ($[0] !== "ac36aeaece54c7d00df3e23ff1d0deb675c0bc1bf4659806ffc7c8497029aeb7") {
25
+ for (let $i = 0; $i < 4; $i += 1) {
26
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
27
+ }
28
+ $[0] = "ac36aeaece54c7d00df3e23ff1d0deb675c0bc1bf4659806ffc7c8497029aeb7";
29
+ }
30
+ let t0;
31
+ if ($[1] !== props || $[2] !== ref) {
32
+ t0 = /*#__PURE__*/jsx(Rerenderer, {
33
+ props: props,
34
+ forwardedRef: ref
35
+ });
36
+ $[1] = props;
37
+ $[2] = ref;
38
+ $[3] = t0;
39
+ } else {
40
+ t0 = $[3];
41
+ }
42
+ return t0;
26
43
  });
27
44
  }
28
45
 
@@ -1,11 +1,12 @@
1
- import 'react/jsx-runtime';
1
+ import 'react-compiler-runtime';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import 'react-dom';
5
5
  import '../popup/popup.target.js';
6
6
  import '../popup/popup.js';
7
- export { G as GLOBAL_DARK_CLASS_NAME, b as ThemeContext, a as ThemeProvider, W as WithThemeClasses, e as applyTheme, T as default, u as useTheme, c as useThemeClasses } from '../_helpers/theme.js';
8
7
  import './get-uid.js';
8
+ export { G as GLOBAL_DARK_CLASS_NAME, b as ThemeContext, a as ThemeProvider, W as WithThemeClasses, e as applyTheme, T as default, u as useTheme, c as useThemeClasses } from '../_helpers/theme.js';
9
+ import 'react/jsx-runtime';
9
10
  import './schedule-raf.js';
10
11
  import './dom.js';
11
12
  import '../shortcuts/shortcuts.js';