@jetbrains/ring-ui-built 7.0.123 → 8.0.0-beta.10

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 (257) hide show
  1. package/components/_helpers/anchor.js +1 -1
  2. package/components/_helpers/avatar-info.js +3 -5
  3. package/components/_helpers/icon-svg.js +2 -2
  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-actions.js +1 -1
  9. package/components/alert/alert-heading.js +1 -1
  10. package/components/alert/alert.js +1 -1
  11. package/components/alert-service/alert-service.js +1 -1
  12. package/components/auth/auth-core.js +1 -1
  13. package/components/auth/auth.js +1 -1
  14. package/components/auth/down-notification.js +1 -1
  15. package/components/auth/iframe-flow.js +1 -1
  16. package/components/auth/storage.js +1 -1
  17. package/components/auth-dialog/auth-dialog.js +2 -2
  18. package/components/auth-dialog-service/auth-dialog-service.js +2 -2
  19. package/components/avatar/avatar-info.js +1 -1
  20. package/components/avatar/avatar-size.d.ts +0 -4
  21. package/components/avatar/avatar-size.js +0 -4
  22. package/components/avatar/avatar.js +1 -8
  23. package/components/avatar/fallback-avatar.js +3 -48
  24. package/components/avatar-stack/avatar-stack.js +4 -4
  25. package/components/banner/banner.js +1 -1
  26. package/components/button/button.d.ts +0 -4
  27. package/components/button/button.js +3 -9
  28. package/components/button-group/button-group.js +1 -1
  29. package/components/checkbox/checkbox.d.ts +1 -1
  30. package/components/checkbox/checkbox.js +1 -1
  31. package/components/clipboard/clipboard.js +1 -1
  32. package/components/collapse/collapse-content.js +35 -43
  33. package/components/collapse/collapse-context.d.ts +1 -0
  34. package/components/collapse/collapse-context.js +1 -0
  35. package/components/collapse/collapse-control.js +5 -5
  36. package/components/collapse/collapse.js +34 -25
  37. package/components/collapsible-group/collapsible-group.d.ts +5 -1
  38. package/components/collapsible-group/collapsible-group.js +80 -97
  39. package/components/components/util-stories.js +63 -1
  40. package/components/confirm/confirm.js +2 -2
  41. package/components/confirm-service/confirm-service.js +3 -3
  42. package/components/contenteditable/contenteditable.js +1 -1
  43. package/components/control-help/control-help.js +1 -1
  44. package/components/control-label/control-label.js +1 -1
  45. package/components/data-list/data-list.d.ts +4 -4
  46. package/components/data-list/data-list.js +4 -4
  47. package/components/data-list/data-list.mock.d.ts +1 -1
  48. package/components/data-list/data-list.mock.js +1 -1
  49. package/components/data-list/item.d.ts +1 -1
  50. package/components/data-list/item.js +2 -2
  51. package/components/data-list/selection.d.ts +1 -1
  52. package/components/data-list/selection.js +2 -2
  53. package/components/data-list/title.js +1 -1
  54. package/components/date-picker/date-input.js +2 -2
  55. package/components/date-picker/date-picker.js +2 -3
  56. package/components/date-picker/date-popup.js +3 -4
  57. package/components/date-picker/month-names.js +1 -1
  58. package/components/date-picker/month-slider.js +1 -1
  59. package/components/date-picker/month.d.ts +0 -2
  60. package/components/date-picker/month.js +17 -18
  61. package/components/date-picker/months.js +43 -36
  62. package/components/date-picker/use-scroll-behavior.js +45 -45
  63. package/components/date-picker/weekdays.js +1 -1
  64. package/components/date-picker/years.js +61 -55
  65. package/components/dialog/dialog.d.ts +2 -2
  66. package/components/dialog/dialog.js +4 -4
  67. package/components/dropdown/anchor.js +2 -2
  68. package/components/dropdown/dropdown.js +2 -2
  69. package/components/dropdown-menu/dropdown-menu.d.ts +4 -4
  70. package/components/dropdown-menu/dropdown-menu.js +62 -57
  71. package/components/editable-heading/editable-heading.d.ts +1 -2
  72. package/components/editable-heading/editable-heading.js +13 -12
  73. package/components/error-bubble/error-bubble.js +1 -1
  74. package/components/error-message/error-message.js +1 -1
  75. package/components/footer/footer.js +1 -1
  76. package/components/global/compose-refs.d.ts +2 -1
  77. package/components/global/compose-refs.js +44 -8
  78. package/components/global/create-stateful-context.js +11 -11
  79. package/components/global/focus-sensor-hoc.js +1 -0
  80. package/components/global/focus-with-temporary-tabindex.d.ts +11 -0
  81. package/components/global/focus-with-temporary-tabindex.js +23 -0
  82. package/components/global/intersection-observer-context.d.ts +46 -0
  83. package/components/global/intersection-observer-context.js +138 -0
  84. package/components/global/is-within-interactive-element.d.ts +6 -0
  85. package/components/global/is-within-interactive-element.js +11 -0
  86. package/components/global/is-within-navigable-element.d.ts +6 -0
  87. package/components/global/is-within-navigable-element.js +11 -0
  88. package/components/global/parse-css-duration.d.ts +5 -0
  89. package/components/global/parse-css-duration.js +14 -0
  90. package/components/global/rerender-hoc.d.ts +4 -2
  91. package/components/global/rerender-hoc.js +11 -24
  92. package/components/global/schedule-with-cleanup.d.ts +12 -0
  93. package/components/global/schedule-with-cleanup.js +36 -0
  94. package/components/{table/selection.d.ts → global/table-selection.d.ts} +15 -15
  95. package/components/{table/selection.js → global/table-selection.js} +5 -5
  96. package/components/global/theme.d.ts +4 -3
  97. package/components/global/theme.js +1 -1
  98. package/components/global/variables.interface.d.ts +0 -4
  99. package/components/header/header-icon.js +2 -2
  100. package/components/header/header.js +2 -2
  101. package/components/header/links.js +1 -1
  102. package/components/header/logo.js +1 -1
  103. package/components/header/profile.js +4 -4
  104. package/components/header/services.js +2 -2
  105. package/components/header/smart-profile.js +2 -2
  106. package/components/header/smart-services.js +2 -2
  107. package/components/heading/heading.js +1 -1
  108. package/components/i18n/i18n-context.js +4 -4
  109. package/components/icon/icon-svg.js +1 -1
  110. package/components/icon/icon.d.ts +0 -1
  111. package/components/icon/icon.js +2 -5
  112. package/components/icon/index.js +1 -1
  113. package/components/input/input.d.ts +1 -1
  114. package/components/input/input.js +2 -2
  115. package/components/internal/reorder-animation-context.js +159 -0
  116. package/components/internal/reorder-handle.js +750 -0
  117. package/components/internal/reorder-layout-context.js +141 -0
  118. package/components/internal/table-header.js +685 -0
  119. package/components/internal/virtualization.js +368 -0
  120. package/components/island/adaptive-island-hoc.js +3 -3
  121. package/components/island/content.d.ts +7 -2
  122. package/components/island/content.js +27 -18
  123. package/components/island/header.js +1 -1
  124. package/components/island/island.js +1 -1
  125. package/components/{table → legacy-table}/cell.js +1 -1
  126. package/components/{table → legacy-table}/header-cell.js +2 -2
  127. package/components/{table → legacy-table}/header.js +2 -2
  128. package/components/{table → legacy-table}/multitable.d.ts +1 -1
  129. package/components/{table → legacy-table}/row-with-focus-sensor.js +2 -2
  130. package/components/{table → legacy-table}/row.d.ts +1 -1
  131. package/components/{table → legacy-table}/row.js +4 -4
  132. package/components/legacy-table/selection-adapter.d.ts +6 -0
  133. package/components/{table → legacy-table}/selection-shortcuts-hoc.d.ts +5 -5
  134. package/components/{table → legacy-table}/simple-table.d.ts +2 -2
  135. package/components/{table → legacy-table}/simple-table.js +4 -4
  136. package/components/{table → legacy-table}/smart-table.d.ts +5 -5
  137. package/components/{table → legacy-table}/smart-table.js +5 -5
  138. package/components/legacy-table/table.d.ts +109 -0
  139. package/components/legacy-table/table.js +369 -0
  140. package/components/list/consts.d.ts +0 -1
  141. package/components/list/consts.js +0 -1
  142. package/components/list/list-item.js +3 -4
  143. package/components/list/list-users-groups-source.js +1 -1
  144. package/components/list/list.d.ts +0 -4
  145. package/components/list/list.js +1 -1
  146. package/components/login-dialog/login-dialog.js +2 -2
  147. package/components/login-dialog/service.js +2 -2
  148. package/components/message/message.js +1 -1
  149. package/components/pager/pager.js +3 -3
  150. package/components/popup/popup.js +1 -1
  151. package/components/popup/popup.target.d.ts +3 -2
  152. package/components/popup/popup.target.js +32 -28
  153. package/components/popup-menu/popup-menu.js +1 -1
  154. package/components/query-assist/query-assist-suggestions.js +1 -1
  155. package/components/query-assist/query-assist.d.ts +3 -1
  156. package/components/query-assist/query-assist.js +2 -2
  157. package/components/radio/radio-item.d.ts +3 -3
  158. package/components/radio/radio-item.js +33 -19
  159. package/components/radio/radio.d.ts +2 -2
  160. package/components/radio/radio.js +2 -2
  161. package/components/scrollable-section/scrollable-section.js +1 -1
  162. package/components/select/chevron-button.js +2 -2
  163. package/components/select/select-filter.js +2 -2
  164. package/components/select/select-popup.d.ts +3 -2
  165. package/components/select/select-popup.js +9 -4
  166. package/components/select/select.d.ts +6 -2
  167. package/components/select/select.js +5 -4
  168. package/components/selection-toolbar/selection-toolbar.d.ts +11 -0
  169. package/components/selection-toolbar/selection-toolbar.js +200 -0
  170. package/components/slider/slider.js +100 -97
  171. package/components/storage/storage-local.js +1 -1
  172. package/components/storage/storage.js +1 -1
  173. package/components/style.css +1 -1
  174. package/components/tab-trap/tab-trap.d.ts +3 -3
  175. package/components/tab-trap/tab-trap.js +83 -80
  176. package/components/table/default-item-renderer.d.ts +55 -0
  177. package/components/table/default-item-renderer.js +240 -0
  178. package/components/table/internal/reorder-animation-context.d.ts +21 -0
  179. package/components/table/internal/reorder-handle.d.ts +9 -0
  180. package/components/table/internal/reorder-layout-context.d.ts +16 -0
  181. package/components/table/internal/table-header.d.ts +1 -0
  182. package/components/table/internal/virtualization.d.ts +41 -0
  183. package/components/table/item-virtualization.d.ts +37 -0
  184. package/components/table/item-virtualization.js +73 -0
  185. package/components/table/reorder-animation.d.ts +37 -0
  186. package/components/table/reorder-animation.js +18 -0
  187. package/components/table/reorder-item-layout.d.ts +32 -0
  188. package/components/table/reorder-item-layout.js +57 -0
  189. package/components/table/table-const.d.ts +10 -0
  190. package/components/table/table-const.js +13 -0
  191. package/components/table/table-primitives.d.ts +64 -0
  192. package/components/table/table-primitives.js +180 -0
  193. package/components/table/table-props.d.ts +304 -0
  194. package/components/table/table-props.js +1 -0
  195. package/components/table/table.d.ts +231 -107
  196. package/components/table/table.js +351 -346
  197. package/components/tabs/collapsible-more.js +1 -1
  198. package/components/tabs/collapsible-tab.js +1 -1
  199. package/components/tabs/collapsible-tabs.js +1 -1
  200. package/components/tabs/dumb-tabs.js +1 -1
  201. package/components/tabs/smart-tabs.js +1 -1
  202. package/components/tabs/tab-link.js +1 -1
  203. package/components/tabs/tabs.js +1 -1
  204. package/components/tag/tag.js +1 -1
  205. package/components/tags-input/tags-input.d.ts +3 -1
  206. package/components/tags-input/tags-input.js +3 -3
  207. package/components/tags-list/tags-list.js +1 -1
  208. package/components/toggle/toggle.js +1 -1
  209. package/components/tooltip/tooltip.d.ts +2 -1
  210. package/components/tooltip/tooltip.js +5 -3
  211. package/components/upload/upload.d.ts +4 -3
  212. package/components/upload/upload.js +7 -29
  213. package/components/user-agreement/service.js +2 -2
  214. package/components/user-agreement/user-agreement.js +2 -2
  215. package/components/user-card/card.js +4 -4
  216. package/components/user-card/smart-user-card-tooltip.js +2 -2
  217. package/components/user-card/tooltip.js +2 -2
  218. package/components/user-card/user-card.js +4 -4
  219. package/components/util-stories.d.ts +26 -0
  220. package/package.json +6 -7
  221. package/components/__mocks__/old-browsers-message.js +0 -3
  222. package/components/_helpers/grid.js +0 -3
  223. package/components/_helpers/sidebar.js +0 -110
  224. package/components/content-layout/content-layout.d.ts +0 -20
  225. package/components/content-layout/content-layout.js +0 -50
  226. package/components/content-layout/sidebar.d.ts +0 -26
  227. package/components/content-layout/sidebar.js +0 -5
  228. package/components/date-picker/use-intersection-observer.d.ts +0 -6
  229. package/components/date-picker/use-intersection-observer.js +0 -93
  230. package/components/expand/collapsible-group.d.ts +0 -8
  231. package/components/expand/collapsible-group.js +0 -51
  232. package/components/global/composeRefs.d.ts +0 -6
  233. package/components/global/composeRefs.js +0 -9
  234. package/components/global/use-event-callback.d.ts +0 -4
  235. package/components/global/use-event-callback.js +0 -49
  236. package/components/grid/col.d.ts +0 -16
  237. package/components/grid/col.js +0 -63
  238. package/components/grid/grid.d.ts +0 -13
  239. package/components/grid/grid.js +0 -27
  240. package/components/grid/row.d.ts +0 -21
  241. package/components/grid/row.js +0 -72
  242. package/components/old-browsers-message/old-browsers-message-stop.d.ts +0 -1
  243. package/components/old-browsers-message/old-browsers-message-stop.js +0 -5
  244. package/components/old-browsers-message/old-browsers-message.d.ts +0 -5
  245. package/components/old-browsers-message/old-browsers-message.js +0 -89
  246. package/components/old-browsers-message/white-list.d.ts +0 -2
  247. package/components/old-browsers-message/white-list.js +0 -30
  248. package/components/table/selection-adapter.d.ts +0 -6
  249. /package/components/{table → legacy-table}/cell.d.ts +0 -0
  250. /package/components/{table → legacy-table}/disable-hover-hoc.d.ts +0 -0
  251. /package/components/{table → legacy-table}/disable-hover-hoc.js +0 -0
  252. /package/components/{table → legacy-table}/header-cell.d.ts +0 -0
  253. /package/components/{table → legacy-table}/header.d.ts +0 -0
  254. /package/components/{table → legacy-table}/multitable.js +0 -0
  255. /package/components/{table → legacy-table}/row-with-focus-sensor.d.ts +0 -0
  256. /package/components/{table → legacy-table}/selection-adapter.js +0 -0
  257. /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';
@@ -7,22 +7,20 @@ var styles = {"avatar":"ring-avatar-avatar","round":"ring-avatar-round","avatarI
7
7
 
8
8
  const fontSizes = {
9
9
  [Size.Size16]: 9,
10
- [Size.Size18]: 9,
11
10
  [Size.Size20]: 9,
12
11
  [Size.Size24]: 11,
13
12
  [Size.Size28]: 12,
14
13
  [Size.Size32]: 14,
15
14
  [Size.Size40]: 16,
16
- [Size.Size48]: 16,
17
15
  [Size.Size56]: 22
18
16
  };
19
17
  function AvatarInfo(t0) {
20
18
  const $ = c(7);
21
- if ($[0] !== "db386ebce597a72ca92c29748d7d2b70e27ec0dd005eced756c361b3bfc587ee") {
19
+ if ($[0] !== "33d9e62fc244e982736d73abc4599d28e2503bcb0c1be77e33e4cecd23099cfb") {
22
20
  for (let $i = 0; $i < 7; $i += 1) {
23
21
  $[$i] = Symbol.for("react.memo_cache_sentinel");
24
22
  }
25
- $[0] = "db386ebce597a72ca92c29748d7d2b70e27ec0dd005eced756c361b3bfc587ee";
23
+ $[0] = "33d9e62fc244e982736d73abc4599d28e2503bcb0c1be77e33e4cecd23099cfb";
26
24
  }
27
25
  const {
28
26
  size,
@@ -1,10 +1,10 @@
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';
5
5
  import { jsx } from 'react/jsx-runtime';
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
+ 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"};
8
8
 
9
9
  function convertReactSVGDOMProperty(str) {
10
10
  return str.replace(/[-|:]([a-z])/g, g => g[1].toUpperCase());
@@ -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 = {"headerCell":"ring-table-headerCell","columnReorderHandleMirror":"ring-table-columnReorderHandleMirror","columnReorderHandle":"ring-table-columnReorderHandle","table":"ring-table-table","stickyHeader":"ring-table-stickyHeader","reorderAnimationInitial":"ring-table-reorderAnimationInitial","reorderAnimationFadeOut":"ring-table-reorderAnimationFadeOut","headerCellInnerWrapper":"ring-table-headerCellInnerWrapper","sortAndHeader":"ring-table-sortAndHeader","rightButtons":"ring-table-rightButtons","tableButton":"ring-table-tableButton","deleteColumnButton":"ring-table-deleteColumnButton","theadColumnEditing":"ring-table-theadColumnEditing","itemReorderHandle":"ring-table-itemReorderHandle","editColumnsButton":"ring-table-editColumnsButton","dragFrame":"ring-table-dragFrame","insertionIndicator":"ring-table-insertionIndicator","spacerRow":"ring-table-spacerRow","spacerCell":"ring-table-spacerCell","row":"ring-table-row","clickableRow":"ring-table-clickableRow","selectedRow":"ring-table-selectedRow","cell":"ring-table-cell"};
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, ThemeProvider as a, ThemeContext as b, applyTheme as c, darkStyles as d, useThemeClasses as e, useTheme as u };
@@ -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 { s as styles } from '../_helpers/alert.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 classNames from 'classnames';
3
3
  import Heading, { Levels } from '../heading/heading.js';
4
4
  import { s as styles } from '../_helpers/alert.js';
@@ -19,7 +19,7 @@ export { default as Container } from './container.js';
19
19
  import 'util-deprecate';
20
20
  import '../icon/icon.constants.js';
21
21
  import '../_helpers/icon-svg.js';
22
- import 'react-compiler-runtime';
22
+ import 'react/compiler-runtime';
23
23
  import '../global/memoize.js';
24
24
  import '@jetbrains/icons/chevron-down';
25
25
  import '@jetbrains/icons/chevron-12px-down';
@@ -14,7 +14,7 @@ import '../icon/icon.js';
14
14
  import 'util-deprecate';
15
15
  import '../icon/icon.constants.js';
16
16
  import '../_helpers/icon-svg.js';
17
- import 'react-compiler-runtime';
17
+ import 'react/compiler-runtime';
18
18
  import '../global/memoize.js';
19
19
  import '../loader-inline/loader-inline.js';
20
20
  import '../global/data-tests.js';
@@ -25,7 +25,7 @@ import '../icon/icon.js';
25
25
  import 'util-deprecate';
26
26
  import '../icon/icon.constants.js';
27
27
  import '../_helpers/icon-svg.js';
28
- import 'react-compiler-runtime';
28
+ import 'react/compiler-runtime';
29
29
  import '../global/memoize.js';
30
30
  import 'react/jsx-runtime';
31
31
  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';
@@ -14,7 +14,7 @@ import '../icon/icon.js';
14
14
  import 'util-deprecate';
15
15
  import '../icon/icon.constants.js';
16
16
  import '../_helpers/icon-svg.js';
17
- import 'react-compiler-runtime';
17
+ import 'react/compiler-runtime';
18
18
  import '../global/memoize.js';
19
19
  import 'react/jsx-runtime';
20
20
  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';
@@ -36,8 +36,8 @@ import '../_helpers/dialog-body-scroll-preventer.js';
36
36
  import 'scrollbar-width';
37
37
  import '@jetbrains/icons/chevron-down';
38
38
  import '@jetbrains/icons/chevron-12px-down';
39
- import 'util-deprecate';
40
39
  import '../icon/icon.js';
40
+ import 'util-deprecate';
41
41
  import '../icon/icon.constants.js';
42
42
  import '../_helpers/icon-svg.js';
43
43
  import '../global/memoize.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';
@@ -3,14 +3,10 @@
3
3
  */
4
4
  export declare enum Size {
5
5
  Size16 = 16,
6
- /** @deprecated */
7
- Size18 = 18,
8
6
  Size20 = 20,
9
7
  Size24 = 24,
10
8
  Size28 = 28,
11
9
  Size32 = 32,
12
10
  Size40 = 40,
13
- /** @deprecated */
14
- Size48 = 48,
15
11
  Size56 = 56
16
12
  }
@@ -4,15 +4,11 @@
4
4
  var Size;
5
5
  (function (Size) {
6
6
  Size[Size["Size16"] = 16] = "Size16";
7
- /** @deprecated */
8
- Size[Size["Size18"] = 18] = "Size18";
9
7
  Size[Size["Size20"] = 20] = "Size20";
10
8
  Size[Size["Size24"] = 24] = "Size24";
11
9
  Size[Size["Size28"] = 28] = "Size28";
12
10
  Size[Size["Size32"] = 32] = "Size32";
13
11
  Size[Size["Size40"] = 40] = "Size40";
14
- /** @deprecated */
15
- Size[Size["Size48"] = 48] = "Size48";
16
12
  Size[Size["Size56"] = 56] = "Size56";
17
13
  })(Size || (Size = {}));
18
14
 
@@ -1,18 +1,14 @@
1
- import 'core-js/modules/es.array.includes.js';
2
1
  import { PureComponent } from 'react';
3
2
  import classNames from 'classnames';
4
- import deprecate from 'util-deprecate';
5
3
  import { isDataURI, parseQueryString, encodeURL } from '../global/url.js';
6
4
  import { getPixelRatio } from '../global/dom.js';
7
- import memoize from '../global/memoize.js';
8
5
  import FallbackAvatar from './fallback-avatar.js';
9
6
  import { Size } from './avatar-size.js';
10
7
  import { s as styles, A as AvatarInfo } from '../_helpers/avatar-info.js';
11
8
  import { jsxs, jsx } from 'react/jsx-runtime';
12
- import 'react-compiler-runtime';
9
+ import 'react/compiler-runtime';
13
10
  import '../global/get-uid.js';
14
11
 
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.`));
16
12
  class Avatar extends PureComponent {
17
13
  static defaultProps = {
18
14
  dpr: getPixelRatio(),
@@ -47,9 +43,6 @@ class Avatar extends PureComponent {
47
43
  skipParams,
48
44
  ...restProps
49
45
  } = this.props;
50
- if ([Size.Size18, Size.Size48].includes(size)) {
51
- warnSize(size)();
52
- }
53
46
  const sizeString = `${size}px`;
54
47
  const subavatarSizeString = `${subavatarSize}px`;
55
48
  const styleObj = {
@@ -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';
@@ -15,15 +15,6 @@ const SizesSquare = {
15
15
  fontSize: '8px',
16
16
  textAnchor: 'middle'
17
17
  },
18
- [Size.Size18]: {
19
- radius: 4,
20
- text: {
21
- x: 9,
22
- y: 13
23
- },
24
- fontSize: '11px',
25
- textAnchor: 'middle'
26
- },
27
18
  [Size.Size20]: {
28
19
  radius: 4,
29
20
  text: {
@@ -96,21 +87,6 @@ const SizesSquare = {
96
87
  height: 2.5
97
88
  }
98
89
  },
99
- [Size.Size48]: {
100
- radius: 4,
101
- text: {
102
- x: 3,
103
- y: 21
104
- },
105
- fontSize: '19px',
106
- letterSpacing: 1,
107
- underscore: {
108
- x: 5,
109
- y: 32,
110
- width: 15,
111
- height: 2.5
112
- }
113
- },
114
90
  [Size.Size56]: {
115
91
  radius: 4,
116
92
  text: {
@@ -138,16 +114,6 @@ const SizesRound = {
138
114
  textAnchor: 'middle',
139
115
  dominantBaseline: 'middle'
140
116
  },
141
- [Size.Size18]: {
142
- radius: 4,
143
- fontSize: '11px',
144
- text: {
145
- x: '50%',
146
- y: '54%'
147
- },
148
- textAnchor: 'middle',
149
- dominantBaseline: 'middle'
150
- },
151
117
  [Size.Size20]: {
152
118
  radius: 4,
153
119
  fontSize: '9px',
@@ -200,17 +166,6 @@ const SizesRound = {
200
166
  textAnchor: 'middle',
201
167
  dominantBaseline: 'middle'
202
168
  },
203
- [Size.Size48]: {
204
- radius: 4,
205
- fontSize: '19px',
206
- letterSpacing: 1,
207
- text: {
208
- x: '50%',
209
- y: '54%'
210
- },
211
- textAnchor: 'middle',
212
- dominantBaseline: 'middle'
213
- },
214
169
  [Size.Size56]: {
215
170
  radius: 4,
216
171
  fontSize: '26px',
@@ -247,11 +202,11 @@ function hashCode(s) {
247
202
  }
248
203
  function FallbackAvatar(t0) {
249
204
  const $ = c(38);
250
- if ($[0] !== "b668230117e1d8da4bff753c3c60cfa65c2cb38b8160a7b90f4e36892987cdc5") {
205
+ if ($[0] !== "1a4ecd5a43a79807aefab02d5c9ac8b224f24139f867e5804d91fecdd9285808") {
251
206
  for (let $i = 0; $i < 38; $i += 1) {
252
207
  $[$i] = Symbol.for("react.memo_cache_sentinel");
253
208
  }
254
- $[0] = "b668230117e1d8da4bff753c3c60cfa65c2cb38b8160a7b90f4e36892987cdc5";
209
+ $[0] = "1a4ecd5a43a79807aefab02d5c9ac8b224f24139f867e5804d91fecdd9285808";
255
210
  }
256
211
  const {
257
212
  username,
@@ -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';
@@ -70,11 +70,11 @@ var styles = {"avatarStack":"ring-avatar-stack-avatarStack","extraText":"ring-av
70
70
 
71
71
  function AvatarStack(t0) {
72
72
  const $ = c(28);
73
- if ($[0] !== "7c1a1eb1e78b51cf2e869808174f0a400bcb10f038b5fe22275d5cdc8f4f1bb3") {
73
+ if ($[0] !== "f469d96d157850b6a22cfb2dd7b1d71f151ee90317dbfd199eb6713e97a9ce55") {
74
74
  for (let $i = 0; $i < 28; $i += 1) {
75
75
  $[$i] = Symbol.for("react.memo_cache_sentinel");
76
76
  }
77
- $[0] = "7c1a1eb1e78b51cf2e869808174f0a400bcb10f038b5fe22275d5cdc8f4f1bb3";
77
+ $[0] = "f469d96d157850b6a22cfb2dd7b1d71f151ee90317dbfd199eb6713e97a9ce55";
78
78
  }
79
79
  let children;
80
80
  let className;
@@ -108,7 +108,7 @@ function AvatarStack(t0) {
108
108
  }
109
109
  const size = t1 === undefined ? Size.Size20 : t1;
110
110
  const [dropdownOpen, setDropdownOpen] = useState(false);
111
- const sizeClass = size !== Size.Size16 && size !== Size.Size18 && size !== Size.Size48 ? styles[`size${size}`] : undefined;
111
+ const sizeClass = size !== Size.Size16 ? styles[`size${size}`] : undefined;
112
112
  let t2;
113
113
  if ($[8] !== className || $[9] !== dropdownOpen || $[10] !== sizeClass) {
114
114
  t2 = classNames(styles.avatarStack, className, sizeClass, {
@@ -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';
@@ -15,10 +15,6 @@ export interface ButtonBaseProps {
15
15
  secondary?: boolean | null | undefined;
16
16
  ghost?: boolean | null | undefined;
17
17
  short?: boolean | null | undefined;
18
- /**
19
- * @deprecated Use inline instead
20
- */
21
- text?: boolean | null | undefined;
22
18
  inline?: boolean | null | undefined;
23
19
  dropdown?: boolean | null | undefined;
24
20
  disabled?: boolean | undefined;
@@ -2,19 +2,18 @@ import { PureComponent, createRef } from 'react';
2
2
  import classNames from 'classnames';
3
3
  import chevronDownIcon from '@jetbrains/icons/chevron-down';
4
4
  import chevron12pxDown from '@jetbrains/icons/chevron-12px-down';
5
- import deprecate from 'util-deprecate';
6
5
  import Icon from '../icon/icon.js';
7
6
  import ClickableLink from '../link/clickable-link.js';
8
7
  import { ControlsHeightContext } from '../global/controls-height.js';
9
8
  import { g as getButtonClasses, s as styles } from '../_helpers/button.classes.js';
10
9
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
11
10
  import { Size } from '../icon/icon.constants.js';
11
+ import 'util-deprecate';
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
 
17
- const warnText = deprecate(() => {}, 'Button: "text" prop is deprecated and will be removed in 8.0. Use inline instead.');
18
17
  function removeLinkProps(props) {
19
18
  const {
20
19
  download,
@@ -46,7 +45,6 @@ class Button extends PureComponent {
46
45
  static contextType = ControlsHeightContext;
47
46
  buttonRef = /*#__PURE__*/createRef();
48
47
  render() {
49
- var _ref;
50
48
  const {
51
49
  // Modifiers
52
50
  active,
@@ -59,7 +57,6 @@ class Button extends PureComponent {
59
57
  secondary,
60
58
  ghost,
61
59
  short,
62
- text,
63
60
  dropdown,
64
61
  height,
65
62
  // Props
@@ -75,10 +72,7 @@ class Button extends PureComponent {
75
72
  disabled,
76
73
  ...props
77
74
  } = this.props;
78
- const isInline = (_ref = inline !== null && inline !== void 0 ? inline : text) !== null && _ref !== void 0 ? _ref : !!icon;
79
- if (text) {
80
- warnText();
81
- }
75
+ const isInline = inline !== null && inline !== void 0 ? inline : !!icon;
82
76
  const classes = getButtonClasses({
83
77
  ...this.props,
84
78
  inline: isInline,
@@ -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;
@@ -24,6 +24,6 @@ export default class Checkbox extends PureComponent<CheckboxProps> {
24
24
  componentDidUpdate(prevProps: CheckboxProps): void;
25
25
  input?: HTMLInputElement | null;
26
26
  inputRef: (el: HTMLInputElement | null) => void;
27
- composedInputRef: import("memoize-one").MemoizedFn<(...refs: (Ref<HTMLInputElement> | undefined)[]) => (value: T | null) => void>;
27
+ composedInputRef: import("memoize-one").MemoizedFn<(...refs: (Ref<HTMLInputElement> | undefined)[]) => (value: T | null) => () => void>;
28
28
  render(): import("react").JSX.Element;
29
29
  }