@jetbrains/ring-ui-built 7.0.115 → 8.0.0-beta.3

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 (189) hide show
  1. package/components/_helpers/anchor.js +1 -1
  2. package/components/_helpers/avatar-info.js +1 -1
  3. package/components/_helpers/icon-svg.js +1 -1
  4. package/components/_helpers/legacy-table.js +3 -0
  5. package/components/_helpers/tab-link.js +1 -1
  6. package/components/_helpers/table.js +2 -2
  7. package/components/_helpers/theme.js +49 -37
  8. package/components/alert/alert.js +1 -1
  9. package/components/alert-service/alert-service.js +1 -1
  10. package/components/auth/auth-core.js +1 -1
  11. package/components/auth/auth.js +1 -1
  12. package/components/auth/down-notification.js +1 -1
  13. package/components/auth/iframe-flow.js +1 -1
  14. package/components/auth/storage.js +1 -1
  15. package/components/auth-dialog/auth-dialog.js +1 -1
  16. package/components/auth-dialog-service/auth-dialog-service.js +2 -2
  17. package/components/avatar/avatar-info.js +1 -1
  18. package/components/avatar/avatar.js +1 -1
  19. package/components/avatar/fallback-avatar.js +1 -1
  20. package/components/avatar-stack/avatar-stack.js +1 -1
  21. package/components/banner/banner.js +1 -1
  22. package/components/button/button.js +1 -1
  23. package/components/button-group/button-group.js +1 -1
  24. package/components/checkbox/checkbox.js +1 -1
  25. package/components/clipboard/clipboard.js +1 -1
  26. package/components/collapse/collapse-content.js +5 -5
  27. package/components/collapse/collapse-control.js +5 -5
  28. package/components/collapse/collapse.js +4 -4
  29. package/components/confirm/confirm.js +1 -1
  30. package/components/confirm-service/confirm-service.js +2 -2
  31. package/components/contenteditable/contenteditable.js +1 -1
  32. package/components/control-help/control-help.js +1 -1
  33. package/components/control-label/control-label.js +1 -1
  34. package/components/data-list/data-list.d.ts +4 -4
  35. package/components/data-list/data-list.js +3 -3
  36. package/components/data-list/data-list.mock.d.ts +1 -1
  37. package/components/data-list/data-list.mock.js +1 -1
  38. package/components/data-list/item.d.ts +1 -1
  39. package/components/data-list/item.js +1 -1
  40. package/components/data-list/selection.d.ts +1 -1
  41. package/components/data-list/selection.js +2 -2
  42. package/components/data-list/title.js +1 -1
  43. package/components/date-picker/date-input.js +1 -1
  44. package/components/date-picker/date-picker.js +2 -3
  45. package/components/date-picker/date-popup.js +2 -3
  46. package/components/date-picker/month-names.js +1 -1
  47. package/components/date-picker/month-slider.js +1 -1
  48. package/components/date-picker/month.d.ts +0 -2
  49. package/components/date-picker/month.js +17 -18
  50. package/components/date-picker/months.js +43 -35
  51. package/components/date-picker/use-intersection-observer.js +1 -1
  52. package/components/date-picker/use-scroll-behavior.js +45 -44
  53. package/components/date-picker/weekdays.js +1 -1
  54. package/components/date-picker/years.js +61 -54
  55. package/components/dialog/dialog.d.ts +2 -2
  56. package/components/dialog/dialog.js +3 -3
  57. package/components/dropdown/anchor.js +1 -1
  58. package/components/dropdown/dropdown.js +1 -1
  59. package/components/dropdown-menu/dropdown-menu.d.ts +4 -4
  60. package/components/dropdown-menu/dropdown-menu.js +62 -57
  61. package/components/editable-heading/editable-heading.d.ts +1 -2
  62. package/components/editable-heading/editable-heading.js +13 -12
  63. package/components/error-bubble/error-bubble.js +1 -1
  64. package/components/error-message/error-message.js +1 -1
  65. package/components/expand/collapsible-group.d.ts +5 -1
  66. package/components/expand/collapsible-group.js +15 -14
  67. package/components/footer/footer.js +1 -1
  68. package/components/global/create-stateful-context.js +11 -11
  69. package/components/global/intersection-observer-context.d.ts +26 -0
  70. package/components/global/intersection-observer-context.js +140 -0
  71. package/components/global/rerender-hoc.d.ts +4 -2
  72. package/components/global/rerender-hoc.js +10 -24
  73. package/components/{table/selection.d.ts → global/table-selection.d.ts} +15 -15
  74. package/components/{table/selection.js → global/table-selection.js} +4 -4
  75. package/components/global/theme.d.ts +4 -3
  76. package/components/global/theme.js +1 -1
  77. package/components/header/header-icon.js +1 -1
  78. package/components/header/header.js +1 -1
  79. package/components/header/links.js +1 -1
  80. package/components/header/logo.js +1 -1
  81. package/components/header/profile.js +1 -1
  82. package/components/header/services.js +1 -1
  83. package/components/header/smart-profile.js +1 -1
  84. package/components/header/smart-services.js +1 -1
  85. package/components/heading/heading.js +1 -1
  86. package/components/i18n/i18n-context.js +4 -4
  87. package/components/icon/icon-svg.js +1 -1
  88. package/components/icon/icon.js +1 -1
  89. package/components/icon/index.js +1 -1
  90. package/components/input/input.js +1 -1
  91. package/components/island/adaptive-island-hoc.js +3 -3
  92. package/components/island/content.d.ts +7 -2
  93. package/components/island/content.js +27 -18
  94. package/components/island/header.js +1 -1
  95. package/components/island/island.js +1 -1
  96. package/components/{table → legacy-table}/cell.js +1 -1
  97. package/components/{table → legacy-table}/header-cell.js +4 -4
  98. package/components/{table → legacy-table}/header.js +2 -2
  99. package/components/{table → legacy-table}/multitable.d.ts +1 -1
  100. package/components/{table → legacy-table}/row-with-focus-sensor.js +2 -2
  101. package/components/{table → legacy-table}/row.js +4 -4
  102. package/components/legacy-table/selection-adapter.d.ts +6 -0
  103. package/components/{table → legacy-table}/selection-shortcuts-hoc.d.ts +5 -5
  104. package/components/{table → legacy-table}/simple-table.d.ts +2 -2
  105. package/components/{table → legacy-table}/simple-table.js +4 -4
  106. package/components/{table → legacy-table}/smart-table.d.ts +5 -5
  107. package/components/{table → legacy-table}/smart-table.js +5 -5
  108. package/components/legacy-table/table.d.ts +109 -0
  109. package/components/legacy-table/table.js +369 -0
  110. package/components/list/list-item.js +1 -1
  111. package/components/list/list-users-groups-source.js +1 -1
  112. package/components/list/list.js +1 -1
  113. package/components/login-dialog/login-dialog.js +1 -1
  114. package/components/login-dialog/service.js +2 -2
  115. package/components/message/message.js +1 -1
  116. package/components/old-browsers-message/white-list.js +2 -2
  117. package/components/pager/pager.js +1 -1
  118. package/components/popup/popup.js +1 -1
  119. package/components/popup/popup.target.d.ts +3 -2
  120. package/components/popup/popup.target.js +32 -28
  121. package/components/popup-menu/popup-menu.js +1 -1
  122. package/components/query-assist/query-assist-suggestions.js +1 -1
  123. package/components/query-assist/query-assist.d.ts +3 -1
  124. package/components/query-assist/query-assist.js +2 -2
  125. package/components/radio/radio-item.d.ts +3 -3
  126. package/components/radio/radio-item.js +32 -18
  127. package/components/radio/radio.d.ts +2 -2
  128. package/components/radio/radio.js +2 -2
  129. package/components/scrollable-section/scrollable-section.js +1 -1
  130. package/components/select/chevron-button.js +1 -1
  131. package/components/select/select-filter.js +1 -1
  132. package/components/select/select-popup.js +1 -1
  133. package/components/select/select.d.ts +3 -1
  134. package/components/select/select.js +1 -1
  135. package/components/slider/slider.js +100 -96
  136. package/components/storage/storage-local.js +1 -1
  137. package/components/storage/storage.js +1 -1
  138. package/components/style.css +1 -1
  139. package/components/tab-trap/tab-trap.d.ts +3 -3
  140. package/components/tab-trap/tab-trap.js +83 -80
  141. package/components/table/default-item-renderer.d.ts +36 -0
  142. package/components/table/default-item-renderer.js +182 -0
  143. package/components/table/table-component.d.ts +80 -0
  144. package/components/table/table-component.js +290 -0
  145. package/components/table/table-const.d.ts +8 -0
  146. package/components/table/table-const.js +11 -0
  147. package/components/table/table-primitives.d.ts +28 -0
  148. package/components/table/table-primitives.js +323 -0
  149. package/components/table/table-row-focus.d.ts +4 -0
  150. package/components/table/table-row-focus.js +41 -0
  151. package/components/table/table-virtualize.d.ts +32 -0
  152. package/components/table/table-virtualize.js +329 -0
  153. package/components/table/table.d.ts +206 -104
  154. package/components/table/table.js +19 -362
  155. package/components/tabs/collapsible-more.js +1 -1
  156. package/components/tabs/collapsible-tab.js +1 -1
  157. package/components/tabs/collapsible-tabs.js +1 -1
  158. package/components/tabs/dumb-tabs.js +1 -1
  159. package/components/tabs/smart-tabs.js +1 -1
  160. package/components/tabs/tab-link.js +1 -1
  161. package/components/tabs/tabs.js +1 -1
  162. package/components/tag/tag.js +1 -1
  163. package/components/tags-input/tags-input.d.ts +3 -1
  164. package/components/tags-input/tags-input.js +1 -1
  165. package/components/tags-list/tags-list.js +1 -1
  166. package/components/toggle/toggle.js +1 -1
  167. package/components/tooltip/tooltip.js +2 -2
  168. package/components/upload/upload.d.ts +4 -3
  169. package/components/upload/upload.js +7 -29
  170. package/components/user-agreement/service.js +2 -2
  171. package/components/user-agreement/user-agreement.js +1 -1
  172. package/components/user-card/card.js +1 -1
  173. package/components/user-card/smart-user-card-tooltip.js +1 -1
  174. package/components/user-card/tooltip.js +1 -1
  175. package/components/user-card/user-card.js +1 -1
  176. package/package.json +6 -6
  177. package/components/global/use-event-callback.d.ts +0 -1
  178. package/components/global/use-event-callback.js +0 -44
  179. package/components/table/selection-adapter.d.ts +0 -6
  180. /package/components/{table → legacy-table}/cell.d.ts +0 -0
  181. /package/components/{table → legacy-table}/disable-hover-hoc.d.ts +0 -0
  182. /package/components/{table → legacy-table}/disable-hover-hoc.js +0 -0
  183. /package/components/{table → legacy-table}/header-cell.d.ts +0 -0
  184. /package/components/{table → legacy-table}/header.d.ts +0 -0
  185. /package/components/{table → legacy-table}/multitable.js +0 -0
  186. /package/components/{table → legacy-table}/row-with-focus-sensor.d.ts +0 -0
  187. /package/components/{table → legacy-table}/row.d.ts +0 -0
  188. /package/components/{table → legacy-table}/selection-adapter.js +0 -0
  189. /package/components/{table → legacy-table}/selection-shortcuts-hoc.js +0 -0
@@ -1,4 +1,4 @@
1
- import { c } from 'react-compiler-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';
@@ -1,4 +1,4 @@
1
- import { c } from 'react-compiler-runtime';
1
+ import { c } from 'react/compiler-runtime';
2
2
  import classNames from 'classnames';
3
3
  import { Size } from '../avatar/avatar-size.js';
4
4
  import { jsx } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { c } from 'react-compiler-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';
@@ -0,0 +1,3 @@
1
+ var style = {"row":"ring-legacy-table-row","dragHandle":"ring-legacy-table-dragHandle","tableWrapper":"ring-legacy-table-tableWrapper","table":"ring-legacy-table-table","userSelectNone":"ring-legacy-table-userSelectNone","headerCell":"ring-legacy-table-headerCell ring-global-font-smaller-lower ring-global-font-smaller ring-global-font-lower ring-global-font","headerCellSorted":"ring-legacy-table-headerCellSorted","headerCellSortable":"ring-legacy-table-headerCellSortable","sorter":"ring-legacy-table-sorter","sortedUp":"ring-legacy-table-sortedUp","icon":"ring-legacy-table-icon","caption":"ring-legacy-table-caption","tableHead":"ring-legacy-table-tableHead","subHeaderSticky":"ring-legacy-table-subHeaderSticky","disabledHover":"ring-legacy-table-disabledHover","rowSelected":"ring-legacy-table-rowSelected","rowFocused":"ring-legacy-table-rowFocused","cell":"ring-legacy-table-cell ring-global-ellipsis","loadingOverlay":"ring-legacy-table-loadingOverlay","wideFirstColumn":"ring-legacy-table-wideFirstColumn","cellUnlimited":"ring-legacy-table-cellUnlimited","cellRight":"ring-legacy-table-cellRight","metaColumn":"ring-legacy-table-metaColumn","headerMetaColumn":"ring-legacy-table-headerMetaColumn","visibleDragHandle":"ring-legacy-table-visibleDragHandle","rowCollapseExpandButton":"ring-legacy-table-rowCollapseExpandButton","draggingRow":"ring-legacy-table-draggingRow","draggingTable":"ring-legacy-table-draggingTable","tableMessage":"ring-legacy-table-tableMessage"};
2
+
3
+ export { style as s };
@@ -1,4 +1,4 @@
1
- import { c } from 'react-compiler-runtime';
1
+ import { c } from 'react/compiler-runtime';
2
2
  import { memo } from 'react';
3
3
  import Link from '../link/link.js';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,3 +1,3 @@
1
- var style = {"row":"ring-table-row","dragHandle":"ring-table-dragHandle","tableWrapper":"ring-table-tableWrapper","table":"ring-table-table","userSelectNone":"ring-table-userSelectNone","headerCell":"ring-table-headerCell ring-global-font-smaller-lower ring-global-font-smaller ring-global-font-lower ring-global-font","headerCellSorted":"ring-table-headerCellSorted","headerCellSortable":"ring-table-headerCellSortable","sorter":"ring-table-sorter","sortedUp":"ring-table-sortedUp","icon":"ring-table-icon","caption":"ring-table-caption","tableHead":"ring-table-tableHead","subHeaderSticky":"ring-table-subHeaderSticky","disabledHover":"ring-table-disabledHover","rowSelected":"ring-table-rowSelected","rowFocused":"ring-table-rowFocused","cell":"ring-table-cell ring-global-ellipsis","loadingOverlay":"ring-table-loadingOverlay","wideFirstColumn":"ring-table-wideFirstColumn","cellUnlimited":"ring-table-cellUnlimited","cellRight":"ring-table-cellRight","metaColumn":"ring-table-metaColumn","headerMetaColumn":"ring-table-headerMetaColumn","visibleDragHandle":"ring-table-visibleDragHandle","rowCollapseExpandButton":"ring-table-rowCollapseExpandButton","draggingRow":"ring-table-draggingRow","draggingTable":"ring-table-draggingTable","tableMessage":"ring-table-tableMessage"};
1
+ var styles = {"table":"ring-table-table","headerRow":"ring-table-headerRow","headerCell":"ring-table-headerCell","spacerRow":"ring-table-spacerRow","spacerCell":"ring-table-spacerCell","row":"ring-table-row","clickableRow":"ring-table-clickableRow","selectedRow":"ring-table-selectedRow","cell":"ring-table-cell","headerButton":"ring-table-headerButton","deleteColumnButton":"ring-table-deleteColumnButton"};
2
2
 
3
- export { style as s };
3
+ export { styles as s };
@@ -1,5 +1,5 @@
1
- import { c } from 'react-compiler-runtime';
2
- import { createContext, forwardRef, useEffect, useState } from 'react';
1
+ import { c } from 'react/compiler-runtime';
2
+ import { createContext, useEffect, useState } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -21,11 +21,11 @@ const darkMatcher = typeof window !== 'undefined' ? window.matchMedia('(prefers-
21
21
  function useTheme() {
22
22
  var _darkMatcher$matches;
23
23
  const $ = c(3);
24
- if ($[0] !== "4a3ee1675c0bca0c5645fa43dba8f8678ee294b7ae46bb66959a11f3f15923aa") {
24
+ if ($[0] !== "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6") {
25
25
  for (let $i = 0; $i < 3; $i += 1) {
26
26
  $[$i] = Symbol.for("react.memo_cache_sentinel");
27
27
  }
28
- $[0] = "4a3ee1675c0bca0c5645fa43dba8f8678ee294b7ae46bb66959a11f3f15923aa";
28
+ $[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
29
29
  }
30
30
  const [dark, setDark] = useState((_darkMatcher$matches = darkMatcher?.matches) !== null && _darkMatcher$matches !== void 0 ? _darkMatcher$matches : false);
31
31
  let t0;
@@ -48,11 +48,11 @@ function useTheme() {
48
48
  }
49
49
  function useThemeClasses(theme) {
50
50
  const $ = c(5);
51
- if ($[0] !== "4a3ee1675c0bca0c5645fa43dba8f8678ee294b7ae46bb66959a11f3f15923aa") {
51
+ if ($[0] !== "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6") {
52
52
  for (let $i = 0; $i < 5; $i += 1) {
53
53
  $[$i] = Symbol.for("react.memo_cache_sentinel");
54
54
  }
55
- $[0] = "4a3ee1675c0bca0c5645fa43dba8f8678ee294b7ae46bb66959a11f3f15923aa";
55
+ $[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
56
56
  }
57
57
  const systemTheme = useTheme();
58
58
  const resolvedTheme = theme === Theme.AUTO ? systemTheme : theme;
@@ -77,11 +77,11 @@ function useThemeClasses(theme) {
77
77
  }
78
78
  function WithThemeClasses(t0) {
79
79
  const $ = c(4);
80
- if ($[0] !== "4a3ee1675c0bca0c5645fa43dba8f8678ee294b7ae46bb66959a11f3f15923aa") {
80
+ if ($[0] !== "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6") {
81
81
  for (let $i = 0; $i < 4; $i += 1) {
82
82
  $[$i] = Symbol.for("react.memo_cache_sentinel");
83
83
  }
84
- $[0] = "4a3ee1675c0bca0c5645fa43dba8f8678ee294b7ae46bb66959a11f3f15923aa";
84
+ $[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
85
85
  }
86
86
  const {
87
87
  theme,
@@ -110,35 +110,33 @@ function applyTheme(theme, container) {
110
110
  container.classList.add(defaultStyles.light);
111
111
  }
112
112
  }
113
- const DefaultWrapper = /*#__PURE__*/forwardRef(function Wrapper(props, ref) {
114
- const $ = c(4);
115
- if ($[0] !== "4a3ee1675c0bca0c5645fa43dba8f8678ee294b7ae46bb66959a11f3f15923aa") {
116
- for (let $i = 0; $i < 4; $i += 1) {
113
+ function DefaultWrapper(props) {
114
+ const $ = c(3);
115
+ if ($[0] !== "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6") {
116
+ for (let $i = 0; $i < 3; $i += 1) {
117
117
  $[$i] = Symbol.for("react.memo_cache_sentinel");
118
118
  }
119
- $[0] = "4a3ee1675c0bca0c5645fa43dba8f8678ee294b7ae46bb66959a11f3f15923aa";
119
+ $[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
120
120
  }
121
121
  let t0;
122
- if ($[1] !== props || $[2] !== ref) {
122
+ if ($[1] !== props) {
123
123
  t0 = /*#__PURE__*/jsx("div", {
124
- ...props,
125
- ref: ref
124
+ ...props
126
125
  });
127
126
  $[1] = props;
128
- $[2] = ref;
129
- $[3] = t0;
127
+ $[2] = t0;
130
128
  } else {
131
- t0 = $[3];
129
+ t0 = $[2];
132
130
  }
133
131
  return t0;
134
- });
132
+ }
135
133
  function ThemeProviderInner(t0) {
136
134
  const $ = c(30);
137
- if ($[0] !== "4a3ee1675c0bca0c5645fa43dba8f8678ee294b7ae46bb66959a11f3f15923aa") {
135
+ if ($[0] !== "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6") {
138
136
  for (let $i = 0; $i < 30; $i += 1) {
139
137
  $[$i] = Symbol.for("react.memo_cache_sentinel");
140
138
  }
141
- $[0] = "4a3ee1675c0bca0c5645fa43dba8f8678ee294b7ae46bb66959a11f3f15923aa";
139
+ $[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
142
140
  }
143
141
  let children;
144
142
  let className;
@@ -243,7 +241,7 @@ function ThemeProviderInner(t0) {
243
241
  }
244
242
  let t8;
245
243
  if ($[27] !== t7 || $[28] !== themeValue) {
246
- t8 = /*#__PURE__*/jsx(ThemeContext.Provider, {
244
+ t8 = /*#__PURE__*/jsx(ThemeContext, {
247
245
  value: themeValue,
248
246
  children: t7
249
247
  });
@@ -255,28 +253,42 @@ function ThemeProviderInner(t0) {
255
253
  }
256
254
  return t8;
257
255
  }
258
- const ThemeProvider = /*#__PURE__*/forwardRef(function ThemeProvider(props, ref) {
259
- const $ = c(4);
260
- if ($[0] !== "4a3ee1675c0bca0c5645fa43dba8f8678ee294b7ae46bb66959a11f3f15923aa") {
261
- for (let $i = 0; $i < 4; $i += 1) {
256
+ function ThemeProvider(t0) {
257
+ const $ = c(7);
258
+ if ($[0] !== "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6") {
259
+ for (let $i = 0; $i < 7; $i += 1) {
262
260
  $[$i] = Symbol.for("react.memo_cache_sentinel");
263
261
  }
264
- $[0] = "4a3ee1675c0bca0c5645fa43dba8f8678ee294b7ae46bb66959a11f3f15923aa";
262
+ $[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
265
263
  }
266
- let t0;
267
- if ($[1] !== props || $[2] !== ref) {
268
- t0 = /*#__PURE__*/jsx(ThemeProviderInner, {
264
+ let props;
265
+ let ref;
266
+ if ($[1] !== t0) {
267
+ ({
268
+ ref,
269
+ ...props
270
+ } = t0);
271
+ $[1] = t0;
272
+ $[2] = props;
273
+ $[3] = ref;
274
+ } else {
275
+ props = $[2];
276
+ ref = $[3];
277
+ }
278
+ let t1;
279
+ if ($[4] !== props || $[5] !== ref) {
280
+ t1 = /*#__PURE__*/jsx(ThemeProviderInner, {
269
281
  ...props,
270
282
  wrapperRef: ref
271
283
  });
272
- $[1] = props;
273
- $[2] = ref;
274
- $[3] = t0;
284
+ $[4] = props;
285
+ $[5] = ref;
286
+ $[6] = t1;
275
287
  } else {
276
- t0 = $[3];
288
+ t1 = $[6];
277
289
  }
278
- return t0;
279
- });
290
+ return t1;
291
+ }
280
292
  var Theme$1 = Theme;
281
293
 
282
294
  export { GLOBAL_DARK_CLASS_NAME as G, Theme$1 as T, WithThemeClasses as W, ThemeContext as a, ThemeProvider as b, applyTheme as c, darkStyles as d, useThemeClasses as e, useTheme as u };
@@ -15,7 +15,7 @@ export { default as Container } from './container.js';
15
15
  import { Color } from '../icon/icon.constants.js';
16
16
  import 'util-deprecate';
17
17
  import '../_helpers/icon-svg.js';
18
- import 'react-compiler-runtime';
18
+ import 'react/compiler-runtime';
19
19
  import '../global/memoize.js';
20
20
  import '@jetbrains/icons/chevron-down';
21
21
  import '@jetbrains/icons/chevron-12px-down';
@@ -13,7 +13,7 @@ import '../icon/icon.js';
13
13
  import 'util-deprecate';
14
14
  import '../icon/icon.constants.js';
15
15
  import '../_helpers/icon-svg.js';
16
- import 'react-compiler-runtime';
16
+ import 'react/compiler-runtime';
17
17
  import '../global/memoize.js';
18
18
  import '../loader-inline/loader-inline.js';
19
19
  import '../global/data-tests.js';
@@ -24,7 +24,7 @@ import '../icon/icon.js';
24
24
  import 'util-deprecate';
25
25
  import '../icon/icon.constants.js';
26
26
  import '../_helpers/icon-svg.js';
27
- import 'react-compiler-runtime';
27
+ import 'react/compiler-runtime';
28
28
  import '../global/memoize.js';
29
29
  import 'react/jsx-runtime';
30
30
  import '../loader-inline/loader-inline.js';
@@ -4,7 +4,7 @@ import { Auth } from './auth-core.js';
4
4
  export { DEFAULT_BACKGROUND_TIMEOUT, DEFAULT_EXPIRES_TIMEOUT, DOMAIN_USER_CHANGED_EVENT, LOGOUT_EVENT, LOGOUT_POSTPONED_EVENT, TOKEN_REFRESH_RETRY_DELAYS, USER_CHANGED_EVENT, USER_CHANGE_POSTPONED_EVENT } from './auth-core.js';
5
5
  import './response-parser.js';
6
6
  import '../global/url.js';
7
- import 'react-compiler-runtime';
7
+ import 'react/compiler-runtime';
8
8
  import 'react';
9
9
  import '../alert-service/alert-service.js';
10
10
  import 'react-dom/client';
@@ -1,4 +1,4 @@
1
- import { c } from 'react-compiler-runtime';
1
+ import { c } from 'react/compiler-runtime';
2
2
  import 'react';
3
3
  import alertService from '../alert-service/alert-service.js';
4
4
  import Alert from '../alert/alert.js';
@@ -18,7 +18,7 @@ import '../island/adaptive-island-hoc.js';
18
18
  import '../global/linear-function.js';
19
19
  import '../_helpers/island.js';
20
20
  import '../island/header.js';
21
- import 'react-compiler-runtime';
21
+ import 'react/compiler-runtime';
22
22
  import '../island/content.js';
23
23
  import 'element-resize-detector';
24
24
  import '../global/schedule-raf.js';
@@ -13,7 +13,7 @@ import '../icon/icon.js';
13
13
  import 'util-deprecate';
14
14
  import '../icon/icon.constants.js';
15
15
  import '../_helpers/icon-svg.js';
16
- import 'react-compiler-runtime';
16
+ import 'react/compiler-runtime';
17
17
  import '../global/memoize.js';
18
18
  import 'react/jsx-runtime';
19
19
  import '../loader-inline/loader-inline.js';
@@ -2,7 +2,7 @@ import { Component } from 'react';
2
2
  import classNames from 'classnames';
3
3
  import { jsx, jsxs } from 'react/jsx-runtime';
4
4
  import '../_helpers/island.js';
5
- import 'react-compiler-runtime';
5
+ import 'react/compiler-runtime';
6
6
  import ContentWrapper from '../island/content.js';
7
7
  import Dialog from '../dialog/dialog.js';
8
8
  import { Button } from '../button/button.js';
@@ -7,7 +7,7 @@ import 'util-deprecate';
7
7
  import '../global/configuration.js';
8
8
  import 'classnames';
9
9
  import '../_helpers/island.js';
10
- import 'react-compiler-runtime';
10
+ import 'react/compiler-runtime';
11
11
  import '../island/content.js';
12
12
  import 'element-resize-detector';
13
13
  import '../global/schedule-raf.js';
@@ -54,7 +54,7 @@ const reactRoot = createRoot(containerElement);
54
54
  * Renders AuthDialog into virtual node to skip maintaining container
55
55
  */
56
56
  function renderAuthDialog(props) {
57
- reactRoot.render(/*#__PURE__*/jsx(ControlsHeightContext.Provider, {
57
+ reactRoot.render(/*#__PURE__*/jsx(ControlsHeightContext, {
58
58
  value: getGlobalControlsHeight(),
59
59
  children: /*#__PURE__*/jsx(AuthDialog, {
60
60
  ...props
@@ -1,4 +1,4 @@
1
- import 'react-compiler-runtime';
1
+ import 'react/compiler-runtime';
2
2
  import 'classnames';
3
3
  import './avatar-size.js';
4
4
  export { A as default, f as fontSizes } from '../_helpers/avatar-info.js';
@@ -9,7 +9,7 @@ import FallbackAvatar from './fallback-avatar.js';
9
9
  import { Size } from './avatar-size.js';
10
10
  import { s as styles, A as AvatarInfo } from '../_helpers/avatar-info.js';
11
11
  import { jsxs, jsx } from 'react/jsx-runtime';
12
- import 'react-compiler-runtime';
12
+ import 'react/compiler-runtime';
13
13
  import '../global/get-uid.js';
14
14
 
15
15
  const warnSize = memoize(size => deprecate(() => {}, `Avatar: Size${size} is deprecated and will be removed in 8.0. The supported sizes are: Size20, Size24, Size28, Size32, Size40.`));
@@ -1,4 +1,4 @@
1
- import { c } from 'react-compiler-runtime';
1
+ import { c } from 'react/compiler-runtime';
2
2
  import { useState } from 'react';
3
3
  import getUID from '../global/get-uid.js';
4
4
  import { Size } from './avatar-size.js';
@@ -1,4 +1,4 @@
1
- import { c } from 'react-compiler-runtime';
1
+ import { c } from 'react/compiler-runtime';
2
2
  import { useState, Children } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import DropdownMenu from '../dropdown-menu/dropdown-menu.js';
@@ -1,4 +1,4 @@
1
- import { c } from 'react-compiler-runtime';
1
+ import { c } from 'react/compiler-runtime';
2
2
  import React__default from 'react';
3
3
  import classNames from 'classnames';
4
4
  import infoIcon from '@jetbrains/icons/info-filled';
@@ -10,7 +10,7 @@ import { g as getButtonClasses, s as styles } from '../_helpers/button.classes.j
10
10
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
11
11
  import { Size } from '../icon/icon.constants.js';
12
12
  import '../_helpers/icon-svg.js';
13
- import 'react-compiler-runtime';
13
+ import 'react/compiler-runtime';
14
14
  import '../global/memoize.js';
15
15
  import '../global/configuration.js';
16
16
 
@@ -6,7 +6,7 @@ import ControlHelp from '../control-help/control-help.js';
6
6
  import { s as styles } from '../_helpers/caption.js';
7
7
  export { C as Caption } from '../_helpers/caption.js';
8
8
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
9
- import 'react-compiler-runtime';
9
+ import 'react/compiler-runtime';
10
10
 
11
11
  function allChildrenDisabled(children) {
12
12
  if (!children || typeof children !== 'object') return false;
@@ -10,7 +10,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
10
10
  import 'util-deprecate';
11
11
  import '../icon/icon.constants.js';
12
12
  import '../_helpers/icon-svg.js';
13
- import 'react-compiler-runtime';
13
+ import 'react/compiler-runtime';
14
14
  import '../global/memoize.js';
15
15
  import 'memoize-one';
16
16
 
@@ -13,7 +13,7 @@ import '../icon/icon.js';
13
13
  import 'util-deprecate';
14
14
  import '../icon/icon.constants.js';
15
15
  import '../_helpers/icon-svg.js';
16
- import 'react-compiler-runtime';
16
+ import 'react/compiler-runtime';
17
17
  import '../global/memoize.js';
18
18
  import 'react/jsx-runtime';
19
19
  import '../loader-inline/loader-inline.js';
@@ -1,5 +1,5 @@
1
- import { c } from 'react-compiler-runtime';
2
- import { useContext, useRef, useState, useEffect } from 'react';
1
+ import { c } from 'react/compiler-runtime';
2
+ import { use, useRef, useState, useEffect } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import joinDataTestAttributes from '../global/data-tests.js';
5
5
  import { getRect } from '../global/dom.js';
@@ -19,11 +19,11 @@ const HIDDEN = 0;
19
19
  */
20
20
  const CollapseContent = t0 => {
21
21
  const $ = c(29);
22
- if ($[0] !== "f05635de80c1ecb2484d9a8273c8da5ce7d933172be03e8d761443c32d96d937") {
22
+ if ($[0] !== "db13df5cd36e9e8017f88ee099234f4bd4acb2f34d80bfcbd6171247616c949c") {
23
23
  for (let $i = 0; $i < 29; $i += 1) {
24
24
  $[$i] = Symbol.for("react.memo_cache_sentinel");
25
25
  }
26
- $[0] = "f05635de80c1ecb2484d9a8273c8da5ce7d933172be03e8d761443c32d96d937";
26
+ $[0] = "db13df5cd36e9e8017f88ee099234f4bd4acb2f34d80bfcbd6171247616c949c";
27
27
  }
28
28
  const {
29
29
  children,
@@ -36,7 +36,7 @@ const CollapseContent = t0 => {
36
36
  duration,
37
37
  id,
38
38
  disableAnimation
39
- } = useContext(CollapseContext);
39
+ } = use(CollapseContext);
40
40
  const containerRef = useRef(null);
41
41
  const contentRef = useRef(null);
42
42
  const [initialContentHeight] = useState(minHeight);
@@ -1,5 +1,5 @@
1
- import { c } from 'react-compiler-runtime';
2
- import { useContext, cloneElement } from 'react';
1
+ import { c } from 'react/compiler-runtime';
2
+ import { use, cloneElement } from 'react';
3
3
  import joinDataTestAttributes from '../global/data-tests.js';
4
4
  import { CollapseContext } from './collapse-context.js';
5
5
  import { COLLAPSE_CONTROL_TEST_ID } from './consts.js';
@@ -7,11 +7,11 @@ import { jsx } from 'react/jsx-runtime';
7
7
 
8
8
  const CollapseControl = t0 => {
9
9
  const $ = c(13);
10
- if ($[0] !== "37a6daba1dc720b937e7d2a844af157177f8338140503553968cf8ae1ecf6263") {
10
+ if ($[0] !== "10418ecc7774e31a4915bc1ad8a8ad001213057f5df8fc3f9a59adab69451dd6") {
11
11
  for (let $i = 0; $i < 13; $i += 1) {
12
12
  $[$i] = Symbol.for("react.memo_cache_sentinel");
13
13
  }
14
- $[0] = "37a6daba1dc720b937e7d2a844af157177f8338140503553968cf8ae1ecf6263";
14
+ $[0] = "10418ecc7774e31a4915bc1ad8a8ad001213057f5df8fc3f9a59adab69451dd6";
15
15
  }
16
16
  const {
17
17
  children,
@@ -21,7 +21,7 @@ const CollapseControl = t0 => {
21
21
  setCollapsed,
22
22
  collapsed,
23
23
  id
24
- } = useContext(CollapseContext);
24
+ } = use(CollapseContext);
25
25
  let t1;
26
26
  let t2;
27
27
  if ($[1] !== children || $[2] !== collapsed || $[3] !== dataTest || $[4] !== id || $[5] !== setCollapsed) {
@@ -1,4 +1,4 @@
1
- import { c } from 'react-compiler-runtime';
1
+ import { c } from 'react/compiler-runtime';
2
2
  import { useState, useId } from 'react';
3
3
  import { CollapseContext } from './collapse-context.js';
4
4
  import { BASE_ANIMATION_DURATION } from './consts.js';
@@ -6,11 +6,11 @@ import { jsx } from 'react/jsx-runtime';
6
6
 
7
7
  const Collapse = t0 => {
8
8
  const $ = c(16);
9
- if ($[0] !== "4b1bc7149bb2f70cda665f353438e1d305c0392543f5779c6ac7ceb49ca39f10") {
9
+ if ($[0] !== "82eaf77725c22a5c861c79e76fbc1b71c454cd55ea6a0d6b6ce3ecd951f15271") {
10
10
  for (let $i = 0; $i < 16; $i += 1) {
11
11
  $[$i] = Symbol.for("react.memo_cache_sentinel");
12
12
  }
13
- $[0] = "4b1bc7149bb2f70cda665f353438e1d305c0392543f5779c6ac7ceb49ca39f10";
13
+ $[0] = "82eaf77725c22a5c861c79e76fbc1b71c454cd55ea6a0d6b6ce3ecd951f15271";
14
14
  }
15
15
  const {
16
16
  children,
@@ -63,7 +63,7 @@ const Collapse = t0 => {
63
63
  }
64
64
  let t9;
65
65
  if ($[10] !== children || $[11] !== t8) {
66
- t9 = /*#__PURE__*/jsx(CollapseContext.Provider, {
66
+ t9 = /*#__PURE__*/jsx(CollapseContext, {
67
67
  value: t8,
68
68
  children: children
69
69
  });
@@ -13,7 +13,7 @@ import '../island/island.js';
13
13
  import '../global/data-tests.js';
14
14
  import '../island/adaptive-island-hoc.js';
15
15
  import '../global/linear-function.js';
16
- import 'react-compiler-runtime';
16
+ import 'react/compiler-runtime';
17
17
  import 'element-resize-detector';
18
18
  import '../global/schedule-raf.js';
19
19
  import '../global/get-uid.js';
@@ -13,7 +13,7 @@ import '../island/adaptive-island-hoc.js';
13
13
  import '../global/linear-function.js';
14
14
  import '../_helpers/island.js';
15
15
  import '../island/header.js';
16
- import 'react-compiler-runtime';
16
+ import 'react/compiler-runtime';
17
17
  import '../island/content.js';
18
18
  import 'element-resize-detector';
19
19
  import '../global/schedule-raf.js';
@@ -57,7 +57,7 @@ function renderConfirm(props) {
57
57
  buttonsHeight = getGlobalControlsHeight(),
58
58
  ...restProps
59
59
  } = props;
60
- reactRoot.render(/*#__PURE__*/jsx(ControlsHeightContext.Provider, {
60
+ reactRoot.render(/*#__PURE__*/jsx(ControlsHeightContext, {
61
61
  value: buttonsHeight,
62
62
  children: /*#__PURE__*/jsx(Confirm, {
63
63
  ...restProps
@@ -1,4 +1,4 @@
1
- import { c } from 'react-compiler-runtime';
1
+ import { c } from 'react/compiler-runtime';
2
2
  import { Component } from 'react';
3
3
  import { renderToStaticMarkup } from 'react-dom/server';
4
4
  import { jsx } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { c } from 'react-compiler-runtime';
1
+ import { c } from 'react/compiler-runtime';
2
2
  import classNames from 'classnames';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
@@ -1,4 +1,4 @@
1
- import { c } from 'react-compiler-runtime';
1
+ import { c } from 'react/compiler-runtime';
2
2
  import 'react';
3
3
  import classNames from 'classnames';
4
4
  import { jsx } from 'react/jsx-runtime';
@@ -3,9 +3,9 @@
3
3
  */
4
4
  import { Component } from 'react';
5
5
  import { type FocusSensorOuterProps } from '../global/focus-sensor-hoc';
6
- import { type SelectionShortcutsAddProps, type SelectionShortcutsOuterProps } from '../table/selection-shortcuts-hoc';
7
- import { type DisableHoverAddProps } from '../table/disable-hover-hoc';
8
- import { type SelectionItem } from '../table/selection';
6
+ import { type SelectionShortcutsAddProps, type SelectionShortcutsOuterProps } from '../legacy-table/selection-shortcuts-hoc';
7
+ import { type DisableHoverAddProps } from '../legacy-table/disable-hover-hoc';
8
+ import { type SelectionItem } from '../global/table-selection';
9
9
  import { type FormattedItem, moreLessButtonStates } from './item';
10
10
  export interface DataListBaseProps<T extends SelectionItem> {
11
11
  data: readonly T[];
@@ -20,7 +20,7 @@ export interface DataListBaseProps<T extends SelectionItem> {
20
20
  type FocusableProps<T extends SelectionItem> = DataListBaseProps<T> & DisableHoverAddProps & FocusSensorOuterProps<HTMLDivElement> & SelectionShortcutsAddProps<T>;
21
21
  export type DataListContainerProps<T extends SelectionItem> = DataListBaseProps<T> & FocusSensorOuterProps<HTMLDivElement> & SelectionShortcutsOuterProps<T>;
22
22
  export default class DataListContainer<T extends SelectionItem> extends Component<DataListContainerProps<T>> {
23
- DataList: import("react").ComponentClass<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>, any>;
23
+ DataList: import("react").ComponentClass<import("../legacy-table/disable-hover-hoc").DisableHoverProps<import("../legacy-table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>, any>;
24
24
  render(): import("react").JSX.Element;
25
25
  }
26
26
  export {};
@@ -1,8 +1,8 @@
1
1
  import { Component, PureComponent } from 'react';
2
2
  import classNames from 'classnames';
3
3
  import focusSensorHOC from '../global/focus-sensor-hoc.js';
4
- import selectionShortcutsHOC from '../table/selection-shortcuts-hoc.js';
5
- import disableHoverHOC from '../table/disable-hover-hoc.js';
4
+ import selectionShortcutsHOC from '../legacy-table/selection-shortcuts-hoc.js';
5
+ import disableHoverHOC from '../legacy-table/disable-hover-hoc.js';
6
6
  import getUID from '../global/get-uid.js';
7
7
  import Shortcuts from '../shortcuts/shortcuts.js';
8
8
  import Loader from '../loader/loader.js';
@@ -32,7 +32,7 @@ import 'util-deprecate';
32
32
  import '../icon/icon.js';
33
33
  import '../icon/icon.constants.js';
34
34
  import '../_helpers/icon-svg.js';
35
- import 'react-compiler-runtime';
35
+ import 'react/compiler-runtime';
36
36
  import '../global/memoize.js';
37
37
  import '../global/controls-height.js';
38
38
  import '../global/configuration.js';
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from 'react';
2
- import { type SelectionItem } from '../table/selection';
2
+ import { type SelectionItem } from '../global/table-selection';
3
3
  export interface Item extends SelectionItem {
4
4
  title: ReactNode;
5
5
  collapsible?: boolean;
@@ -11,7 +11,7 @@ import '../icon/icon.js';
11
11
  import 'util-deprecate';
12
12
  import '../icon/icon.constants.js';
13
13
  import '../_helpers/icon-svg.js';
14
- import 'react-compiler-runtime';
14
+ import 'react/compiler-runtime';
15
15
  import '../global/memoize.js';
16
16
  import '../button/button.js';
17
17
  import '@jetbrains/icons/chevron-down';
@@ -1,5 +1,5 @@
1
1
  import { PureComponent, type ReactNode } from 'react';
2
- import { type SelectionItem } from '../table/selection';
2
+ import { type SelectionItem } from '../global/table-selection';
3
3
  import type Selection from './selection';
4
4
  export declare enum moreLessButtonStates {
5
5
  UNUSED = 0,
@@ -16,7 +16,7 @@ import 'util-deprecate';
16
16
  import '../icon/icon.js';
17
17
  import '../icon/icon.constants.js';
18
18
  import '../_helpers/icon-svg.js';
19
- import 'react-compiler-runtime';
19
+ import 'react/compiler-runtime';
20
20
  import '../global/memoize.js';
21
21
  import '../global/controls-height.js';
22
22
  import '../global/configuration.js';
@@ -1,4 +1,4 @@
1
- import TableSelection, { type CloneWithConfig, type SelectionItem, type TableSelectionConfig } from '../table/selection';
1
+ import TableSelection, { type CloneWithConfig, type SelectionItem, type TableSelectionConfig } from '../global/table-selection';
2
2
  interface DataListSelectionConfig<T extends SelectionItem> extends TableSelectionConfig<T> {
3
3
  partialSelected?: Set<T> | undefined;
4
4
  }
@@ -1,7 +1,7 @@
1
1
  import 'core-js/modules/es.array.includes.js';
2
- import Selection$1 from '../table/selection.js';
2
+ import TableSelection from '../global/table-selection.js';
3
3
 
4
- class Selection extends Selection$1 {
4
+ class Selection extends TableSelection {
5
5
  _partialSelected;
6
6
  constructor({
7
7
  partialSelected = new Set(),