@jetbrains/ring-ui-built 8.0.0-beta.3 → 8.0.0-beta.5
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.
- package/components/_helpers/alert.js +3 -0
- package/components/_helpers/caption.js +1 -1
- package/components/_helpers/header.js +1 -1
- package/components/_helpers/heading.js +2 -2
- package/components/_helpers/table.js +1 -1
- package/components/_helpers/theme.js +1 -1
- package/components/alert/alert-actions.d.ts +4 -0
- package/components/alert/alert-actions.js +51 -0
- package/components/alert/alert-heading.d.ts +4 -0
- package/components/alert/alert-heading.js +62 -0
- package/components/alert/alert.d.ts +14 -1
- package/components/alert/alert.js +44 -26
- package/components/alert-service/alert-service.d.ts +2 -1
- package/components/alert-service/alert-service.js +15 -5
- package/components/auth/auth-core.d.ts +5 -9
- package/components/auth/auth-core.js +71 -17
- package/components/auth/auth.js +7 -1
- package/components/auth/down-notification.js +7 -1
- package/components/auth/iframe-flow.js +1 -1
- package/components/auth/storage.js +7 -1
- package/components/checkbox/checkbox.d.ts +1 -1
- package/components/clipboard/clipboard.js +7 -1
- package/components/collapsible-group/collapsible-group.d.ts +20 -0
- package/components/collapsible-group/collapsible-group.js +382 -0
- package/components/components/util-stories.js +63 -1
- package/components/data-list/data-list.js +1 -1
- package/components/data-list/title.js +1 -1
- package/components/date-picker/consts.d.ts +1 -0
- package/components/date-picker/date-input.js +3 -2
- package/components/date-picker/date-popup.js +3 -3
- package/components/dropdown-menu/dropdown-menu.js +6 -6
- package/components/editable-heading/editable-heading.js +122 -109
- package/components/expand/collapsible-group.d.ts +8 -20
- package/components/expand/collapsible-group.js +34 -365
- package/components/global/compose-refs.d.ts +2 -1
- package/components/global/compose-refs.js +44 -8
- package/components/global/focus-sensor-hoc.js +1 -0
- package/components/global/focus-with-temporary-tabindex.d.ts +11 -0
- package/components/global/focus-with-temporary-tabindex.js +23 -0
- package/components/global/intersection-observer-context.d.ts +29 -9
- package/components/global/intersection-observer-context.js +50 -52
- package/components/global/is-within-interactive-element.d.ts +6 -0
- package/components/global/is-within-interactive-element.js +11 -0
- package/components/global/is-within-navigable-element.d.ts +6 -0
- package/components/global/is-within-navigable-element.js +11 -0
- package/components/global/parse-css-duration.d.ts +5 -0
- package/components/global/parse-css-duration.js +14 -0
- package/components/global/rerender-hoc.js +1 -0
- package/components/global/schedule-with-cleanup.d.ts +12 -0
- package/components/global/schedule-with-cleanup.js +36 -0
- package/components/global/table-selection.js +1 -1
- package/components/global/theme.js +1 -1
- package/components/header/header.js +8 -2
- package/components/header/smart-profile.js +7 -1
- package/components/heading/heading.js +3 -3
- package/components/http/http.d.ts +2 -2
- package/components/http/http.js +2 -2
- package/components/i18n/i18n.d.ts +1 -0
- package/components/i18n/i18n.js +2 -0
- package/components/input/input.d.ts +1 -1
- package/components/internal/reorder-animation-context.js +159 -0
- package/components/internal/reorder-handle.js +750 -0
- package/components/internal/reorder-layout-context.js +141 -0
- package/components/internal/table-header.js +685 -0
- package/components/{table/table-virtualize.js → internal/virtualization.js} +123 -84
- package/components/legacy-table/header-cell.js +2 -2
- package/components/legacy-table/row-with-focus-sensor.js +1 -1
- package/components/legacy-table/row.d.ts +1 -1
- package/components/legacy-table/simple-table.js +1 -1
- package/components/legacy-table/smart-table.js +1 -1
- package/components/legacy-table/table.js +1 -1
- package/components/markdown/markdown.js +2 -2
- package/components/message/message.js +1 -1
- package/components/old-browsers-message/white-list.js +2 -2
- package/components/popup/popup.d.ts +2 -0
- package/components/popup/popup.js +5 -1
- package/components/select/select-popup.d.ts +1 -1
- package/components/select/select.d.ts +1 -1
- package/components/storage/storage-local.js +7 -1
- package/components/storage/storage.js +7 -1
- package/components/style.css +1 -1
- package/components/table/default-item-renderer.d.ts +29 -10
- package/components/table/default-item-renderer.js +151 -93
- package/components/table/internal/reorder-animation-context.d.ts +21 -0
- package/components/table/internal/reorder-handle.d.ts +9 -0
- package/components/table/internal/reorder-layout-context.d.ts +16 -0
- package/components/table/internal/table-header.d.ts +1 -0
- package/components/table/internal/virtualization.d.ts +41 -0
- package/components/table/item-virtualization.d.ts +37 -0
- package/components/table/item-virtualization.js +73 -0
- package/components/table/reorder-animation.d.ts +37 -0
- package/components/table/reorder-animation.js +18 -0
- package/components/table/reorder-item-layout.d.ts +32 -0
- package/components/table/reorder-item-layout.js +57 -0
- package/components/table/table-const.d.ts +8 -6
- package/components/table/table-const.js +8 -6
- package/components/table/table-primitives.d.ts +52 -16
- package/components/table/table-primitives.js +64 -207
- package/components/table/table-props.d.ts +304 -0
- package/components/table/table-props.js +1 -0
- package/components/table/table.d.ts +231 -209
- package/components/table/table.js +365 -17
- package/components/tooltip/tooltip.js +1 -1
- package/components/user-agreement/service.js +13 -7
- package/components/user-card/card.js +7 -1
- package/components/user-card/smart-user-card-tooltip.d.ts +1 -1
- package/components/user-card/smart-user-card-tooltip.js +7 -1
- package/components/user-card/tooltip.js +7 -1
- package/components/user-card/user-card.js +7 -1
- package/components/util-stories.d.ts +26 -0
- package/package.json +3 -3
- package/components/date-picker/use-intersection-observer.d.ts +0 -6
- package/components/date-picker/use-intersection-observer.js +0 -93
- package/components/global/composeRefs.d.ts +0 -6
- package/components/global/composeRefs.js +0 -9
- package/components/table/table-component.d.ts +0 -80
- package/components/table/table-component.js +0 -290
- package/components/table/table-row-focus.d.ts +0 -4
- package/components/table/table-row-focus.js +0 -41
- package/components/table/table-virtualize.d.ts +0 -32
|
@@ -50,20 +50,20 @@ import '../global/get-event-key.js';
|
|
|
50
50
|
import '../list/list-title.js';
|
|
51
51
|
import '../list/list-separator.js';
|
|
52
52
|
import '../list/list-hint.js';
|
|
53
|
-
import '../button/button.js';
|
|
54
|
-
import '@jetbrains/icons/chevron-down';
|
|
55
|
-
import '@jetbrains/icons/chevron-12px-down';
|
|
56
|
-
import '../global/controls-height.js';
|
|
57
|
-
import '../global/configuration.js';
|
|
58
|
-
import '../_helpers/button.classes.js';
|
|
59
53
|
import '../popup/popup.js';
|
|
60
54
|
import 'react-dom';
|
|
61
55
|
import '../tab-trap/tab-trap.js';
|
|
56
|
+
import '../global/configuration.js';
|
|
62
57
|
import '../popup/position.js';
|
|
63
58
|
import '../popup/popup.consts.js';
|
|
64
59
|
import '../popup/popup.target.js';
|
|
65
60
|
import '../popup/position-css.js';
|
|
66
61
|
import '../_helpers/theme.js';
|
|
62
|
+
import '../button/button.js';
|
|
63
|
+
import '@jetbrains/icons/chevron-down';
|
|
64
|
+
import '@jetbrains/icons/chevron-12px-down';
|
|
65
|
+
import '../global/controls-height.js';
|
|
66
|
+
import '../_helpers/button.classes.js';
|
|
67
67
|
|
|
68
68
|
const defaultAriaLabel = 'Dropdown menu';
|
|
69
69
|
function DropdownAnchorWrapper(t0) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { useEffectEvent, useEffect } from 'react';
|
|
3
|
+
import { useEffectEvent, useLayoutEffect, useEffect } from 'react';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import Heading, { Levels } from '../heading/heading.js';
|
|
6
6
|
import { Button } from '../button/button.js';
|
|
@@ -38,12 +38,12 @@ var styles = {"editableHeading":"ring-editable-heading-editableHeading","fullSiz
|
|
|
38
38
|
function noop() {}
|
|
39
39
|
// eslint-disable-next-line complexity
|
|
40
40
|
const EditableHeading = props => {
|
|
41
|
-
const $ = c(
|
|
42
|
-
if ($[0] !== "
|
|
43
|
-
for (let $i = 0; $i <
|
|
41
|
+
const $ = c(134);
|
|
42
|
+
if ($[0] !== "69c208dee49270703e9eadd0182734d1dca44cb4ecb35c235511c58f936a5946") {
|
|
43
|
+
for (let $i = 0; $i < 134; $i += 1) {
|
|
44
44
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
45
45
|
}
|
|
46
|
-
$[0] = "
|
|
46
|
+
$[0] = "69c208dee49270703e9eadd0182734d1dca44cb4ecb35c235511c58f936a5946";
|
|
47
47
|
}
|
|
48
48
|
let children;
|
|
49
49
|
let className;
|
|
@@ -274,12 +274,16 @@ const EditableHeading = props => {
|
|
|
274
274
|
t21 = $[56];
|
|
275
275
|
}
|
|
276
276
|
const inputClasses = t21;
|
|
277
|
-
const stretch = _temp2;
|
|
278
277
|
let t22;
|
|
279
278
|
if ($[57] !== multiline) {
|
|
280
|
-
t22 =
|
|
281
|
-
if (multiline &&
|
|
282
|
-
|
|
279
|
+
t22 = el => {
|
|
280
|
+
if (multiline && el && el.scrollHeight >= el.clientHeight) {
|
|
281
|
+
el.style.height = "0";
|
|
282
|
+
const {
|
|
283
|
+
paddingTop,
|
|
284
|
+
paddingBottom
|
|
285
|
+
} = window.getComputedStyle(el);
|
|
286
|
+
el.style.height = `${el.scrollHeight - parseFloat(paddingTop) - parseFloat(paddingBottom)}px`;
|
|
283
287
|
}
|
|
284
288
|
};
|
|
285
289
|
$[57] = multiline;
|
|
@@ -290,10 +294,10 @@ const EditableHeading = props => {
|
|
|
290
294
|
const checkValue = t22;
|
|
291
295
|
let t23;
|
|
292
296
|
if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
|
|
293
|
-
t23 =
|
|
294
|
-
const scrollHeight =
|
|
295
|
-
const clientHeight =
|
|
296
|
-
const scrollTop =
|
|
297
|
+
t23 = el_0 => {
|
|
298
|
+
const scrollHeight = el_0.scrollHeight || 0;
|
|
299
|
+
const clientHeight = el_0.clientHeight || 0;
|
|
300
|
+
const scrollTop = el_0.scrollTop || 0;
|
|
297
301
|
setIsScrolledToBottom(scrollHeight - clientHeight <= scrollTop);
|
|
298
302
|
setIsOverflow(scrollHeight > clientHeight);
|
|
299
303
|
};
|
|
@@ -398,8 +402,28 @@ const EditableHeading = props => {
|
|
|
398
402
|
}
|
|
399
403
|
const onInputBlur = t30;
|
|
400
404
|
let t31;
|
|
401
|
-
|
|
405
|
+
let t32;
|
|
406
|
+
if ($[78] !== checkValue || $[79] !== isEditing || $[80] !== multiline) {
|
|
402
407
|
t31 = () => {
|
|
408
|
+
if (multiline && isEditing && textAreaRef.current) {
|
|
409
|
+
checkValue(textAreaRef.current);
|
|
410
|
+
checkOverflow(textAreaRef.current);
|
|
411
|
+
}
|
|
412
|
+
};
|
|
413
|
+
t32 = [checkOverflow, checkValue, isEditing, multiline];
|
|
414
|
+
$[78] = checkValue;
|
|
415
|
+
$[79] = isEditing;
|
|
416
|
+
$[80] = multiline;
|
|
417
|
+
$[81] = t31;
|
|
418
|
+
$[82] = t32;
|
|
419
|
+
} else {
|
|
420
|
+
t31 = $[81];
|
|
421
|
+
t32 = $[82];
|
|
422
|
+
}
|
|
423
|
+
useLayoutEffect(t31, t32);
|
|
424
|
+
let t33;
|
|
425
|
+
if ($[83] !== onMouseMove || $[84] !== onMouseUp) {
|
|
426
|
+
t33 = () => {
|
|
403
427
|
window.addEventListener("mousemove", onMouseMove);
|
|
404
428
|
window.addEventListener("mouseup", onMouseUp);
|
|
405
429
|
return () => {
|
|
@@ -407,23 +431,23 @@ const EditableHeading = props => {
|
|
|
407
431
|
window.removeEventListener("mouseup", onMouseUp);
|
|
408
432
|
};
|
|
409
433
|
};
|
|
410
|
-
$[
|
|
411
|
-
$[
|
|
412
|
-
$[
|
|
434
|
+
$[83] = onMouseMove;
|
|
435
|
+
$[84] = onMouseUp;
|
|
436
|
+
$[85] = t33;
|
|
413
437
|
} else {
|
|
414
|
-
|
|
438
|
+
t33 = $[85];
|
|
415
439
|
}
|
|
416
|
-
let
|
|
417
|
-
if ($[
|
|
418
|
-
|
|
419
|
-
$[
|
|
440
|
+
let t34;
|
|
441
|
+
if ($[86] === Symbol.for("react.memo_cache_sentinel")) {
|
|
442
|
+
t34 = [];
|
|
443
|
+
$[86] = t34;
|
|
420
444
|
} else {
|
|
421
|
-
|
|
445
|
+
t34 = $[86];
|
|
422
446
|
}
|
|
423
|
-
useEffect(
|
|
424
|
-
let
|
|
425
|
-
if ($[
|
|
426
|
-
|
|
447
|
+
useEffect(t33, t34);
|
|
448
|
+
let t35;
|
|
449
|
+
if ($[87] !== autoFocus || $[88] !== children || $[89] !== dataTest || $[90] !== disabled || $[91] !== headingClasses || $[92] !== inputClasses || $[93] !== isEditing || $[94] !== isSaving || $[95] !== isScrolledToBottom || $[96] !== isShortcutsDisabled || $[97] !== level || $[98] !== maxInputRows || $[99] !== multiline || $[100] !== onChange || $[101] !== onInputBlur || $[102] !== onInputChange || $[103] !== onInputFocus || $[104] !== onInputScroll || $[105] !== restProps || $[106] !== shortcutsMap || $[107] !== shortcutsScope || $[108] !== size) {
|
|
450
|
+
t35 = !disabled && isEditing ? /*#__PURE__*/jsxs(Fragment, {
|
|
427
451
|
children: [/*#__PURE__*/jsx(Shortcuts, {
|
|
428
452
|
map: shortcutsMap,
|
|
429
453
|
scope: shortcutsScope,
|
|
@@ -470,44 +494,44 @@ const EditableHeading = props => {
|
|
|
470
494
|
children: children
|
|
471
495
|
})
|
|
472
496
|
});
|
|
473
|
-
$[
|
|
474
|
-
$[
|
|
475
|
-
$[
|
|
476
|
-
$[
|
|
477
|
-
$[
|
|
478
|
-
$[
|
|
479
|
-
$[
|
|
480
|
-
$[
|
|
481
|
-
$[
|
|
482
|
-
$[
|
|
483
|
-
$[
|
|
484
|
-
$[
|
|
485
|
-
$[
|
|
486
|
-
$[
|
|
487
|
-
$[
|
|
488
|
-
$[
|
|
489
|
-
$[
|
|
490
|
-
$[
|
|
491
|
-
$[
|
|
492
|
-
$[
|
|
493
|
-
$[
|
|
494
|
-
$[
|
|
495
|
-
$[
|
|
497
|
+
$[87] = autoFocus;
|
|
498
|
+
$[88] = children;
|
|
499
|
+
$[89] = dataTest;
|
|
500
|
+
$[90] = disabled;
|
|
501
|
+
$[91] = headingClasses;
|
|
502
|
+
$[92] = inputClasses;
|
|
503
|
+
$[93] = isEditing;
|
|
504
|
+
$[94] = isSaving;
|
|
505
|
+
$[95] = isScrolledToBottom;
|
|
506
|
+
$[96] = isShortcutsDisabled;
|
|
507
|
+
$[97] = level;
|
|
508
|
+
$[98] = maxInputRows;
|
|
509
|
+
$[99] = multiline;
|
|
510
|
+
$[100] = onChange;
|
|
511
|
+
$[101] = onInputBlur;
|
|
512
|
+
$[102] = onInputChange;
|
|
513
|
+
$[103] = onInputFocus;
|
|
514
|
+
$[104] = onInputScroll;
|
|
515
|
+
$[105] = restProps;
|
|
516
|
+
$[106] = shortcutsMap;
|
|
517
|
+
$[107] = shortcutsScope;
|
|
518
|
+
$[108] = size;
|
|
519
|
+
$[109] = t35;
|
|
496
520
|
} else {
|
|
497
|
-
|
|
521
|
+
t35 = $[109];
|
|
498
522
|
}
|
|
499
|
-
let
|
|
500
|
-
if ($[
|
|
501
|
-
|
|
502
|
-
$[
|
|
503
|
-
$[
|
|
504
|
-
$[
|
|
523
|
+
let t36;
|
|
524
|
+
if ($[110] !== isEditing || $[111] !== renderMenu) {
|
|
525
|
+
t36 = !isEditing && renderMenu();
|
|
526
|
+
$[110] = isEditing;
|
|
527
|
+
$[111] = renderMenu;
|
|
528
|
+
$[112] = t36;
|
|
505
529
|
} else {
|
|
506
|
-
|
|
530
|
+
t36 = $[112];
|
|
507
531
|
}
|
|
508
|
-
let
|
|
509
|
-
if ($[
|
|
510
|
-
|
|
532
|
+
let t37;
|
|
533
|
+
if ($[113] !== embedded || $[114] !== isCancelDisabled || $[115] !== isEditing || $[116] !== isSaveDisabled || $[117] !== isSaving || $[118] !== onCancel || $[119] !== onSave || $[120] !== translations) {
|
|
534
|
+
t37 = isEditing && !embedded && /*#__PURE__*/jsxs(Fragment, {
|
|
511
535
|
children: [/*#__PURE__*/jsx(Button, {
|
|
512
536
|
className: styles.button,
|
|
513
537
|
primary: true,
|
|
@@ -522,71 +546,60 @@ const EditableHeading = props => {
|
|
|
522
546
|
children: translations.cancel
|
|
523
547
|
})]
|
|
524
548
|
});
|
|
525
|
-
$[
|
|
526
|
-
$[
|
|
527
|
-
$[
|
|
528
|
-
$[
|
|
529
|
-
$[
|
|
530
|
-
$[
|
|
531
|
-
$[
|
|
532
|
-
$[
|
|
533
|
-
$[
|
|
549
|
+
$[113] = embedded;
|
|
550
|
+
$[114] = isCancelDisabled;
|
|
551
|
+
$[115] = isEditing;
|
|
552
|
+
$[116] = isSaveDisabled;
|
|
553
|
+
$[117] = isSaving;
|
|
554
|
+
$[118] = onCancel;
|
|
555
|
+
$[119] = onSave;
|
|
556
|
+
$[120] = translations;
|
|
557
|
+
$[121] = t37;
|
|
534
558
|
} else {
|
|
535
|
-
|
|
559
|
+
t37 = $[121];
|
|
536
560
|
}
|
|
537
|
-
let
|
|
538
|
-
if ($[
|
|
539
|
-
|
|
561
|
+
let t38;
|
|
562
|
+
if ($[122] !== classes || $[123] !== t35 || $[124] !== t36 || $[125] !== t37) {
|
|
563
|
+
t38 = /*#__PURE__*/jsxs("div", {
|
|
540
564
|
className: classes,
|
|
541
|
-
children: [
|
|
565
|
+
children: [t35, t36, t37]
|
|
542
566
|
});
|
|
543
|
-
$[
|
|
544
|
-
$[
|
|
545
|
-
$[
|
|
546
|
-
$[
|
|
547
|
-
$[
|
|
567
|
+
$[122] = classes;
|
|
568
|
+
$[123] = t35;
|
|
569
|
+
$[124] = t36;
|
|
570
|
+
$[125] = t37;
|
|
571
|
+
$[126] = t38;
|
|
548
572
|
} else {
|
|
549
|
-
|
|
573
|
+
t38 = $[126];
|
|
550
574
|
}
|
|
551
|
-
let
|
|
552
|
-
if ($[
|
|
553
|
-
|
|
575
|
+
let t39;
|
|
576
|
+
if ($[127] !== error || $[128] !== isEditing || $[129] !== size) {
|
|
577
|
+
t39 = isEditing && error && /*#__PURE__*/jsx("div", {
|
|
554
578
|
className: classNames(styles.errorText, size !== Size.AUTO && inputStyles[`size${size}`]),
|
|
555
579
|
children: error
|
|
556
580
|
});
|
|
557
|
-
$[
|
|
558
|
-
$[
|
|
559
|
-
$[
|
|
560
|
-
$[
|
|
581
|
+
$[127] = error;
|
|
582
|
+
$[128] = isEditing;
|
|
583
|
+
$[129] = size;
|
|
584
|
+
$[130] = t39;
|
|
561
585
|
} else {
|
|
562
|
-
|
|
586
|
+
t39 = $[130];
|
|
563
587
|
}
|
|
564
|
-
let
|
|
565
|
-
if ($[
|
|
566
|
-
|
|
567
|
-
children: [
|
|
588
|
+
let t40;
|
|
589
|
+
if ($[131] !== t38 || $[132] !== t39) {
|
|
590
|
+
t40 = /*#__PURE__*/jsxs(Fragment, {
|
|
591
|
+
children: [t38, t39]
|
|
568
592
|
});
|
|
569
|
-
$[
|
|
570
|
-
$[
|
|
571
|
-
$[
|
|
593
|
+
$[131] = t38;
|
|
594
|
+
$[132] = t39;
|
|
595
|
+
$[133] = t40;
|
|
572
596
|
} else {
|
|
573
|
-
|
|
597
|
+
t40 = $[133];
|
|
574
598
|
}
|
|
575
|
-
return
|
|
599
|
+
return t40;
|
|
576
600
|
};
|
|
577
601
|
function _temp() {
|
|
578
602
|
return null;
|
|
579
603
|
}
|
|
580
|
-
function _temp2(el) {
|
|
581
|
-
if (!el || !el.style) {
|
|
582
|
-
return;
|
|
583
|
-
}
|
|
584
|
-
el.style.height = "0";
|
|
585
|
-
const {
|
|
586
|
-
paddingTop,
|
|
587
|
-
paddingBottom
|
|
588
|
-
} = window.getComputedStyle(el);
|
|
589
|
-
el.style.height = `${el.scrollHeight - parseFloat(paddingTop) - parseFloat(paddingBottom)}px`;
|
|
590
|
-
}
|
|
591
604
|
|
|
592
605
|
export { EditableHeading, Levels, Size, EditableHeading as default };
|
|
@@ -1,20 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
defaultExpanded?: boolean;
|
|
10
|
-
expanded?: boolean | null | undefined;
|
|
11
|
-
onChange?: (expanded: boolean) => void;
|
|
12
|
-
disableAnimation?: boolean;
|
|
13
|
-
interactive?: boolean;
|
|
14
|
-
'data-test'?: string | null | undefined;
|
|
15
|
-
}
|
|
16
|
-
declare const CollapsibleGroup: {
|
|
17
|
-
({ ref, avatar, title, subtitle, children, className, defaultExpanded, expanded, onChange, disableAnimation, interactive, "data-test": dataTest, }: CollapsibleGroupProps): React.JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
|
-
};
|
|
20
|
-
export default CollapsibleGroup;
|
|
1
|
+
import { type CollapsibleGroupProps } from '../collapsible-group/collapsible-group';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated The `expand` module has been renamed to `collapsible-group`. This re-export will be removed in
|
|
4
|
+
* Ring UI 8.0. Use `CollapsibleGroup` from `@jetbrains/ring-ui/components/collapsible-group/collapsible-group` instead.
|
|
5
|
+
*/
|
|
6
|
+
declare const DeprecatedCollapsibleGroup: import("react").ForwardRefExoticComponent<Omit<CollapsibleGroupProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export type { CollapsibleGroupProps };
|
|
8
|
+
export default DeprecatedCollapsibleGroup;
|