@jetbrains/ring-ui-built 8.0.0-beta.13 → 8.0.0-beta.15
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/table.js +1 -1
- package/components/auth/iframe-flow.js +0 -1
- package/components/auth-dialog/auth-dialog.js +0 -1
- package/components/auth-dialog-service/auth-dialog-service.js +0 -1
- package/components/collapsible-group/collapsible-group.d.ts +2 -1
- package/components/collapsible-group/collapsible-group.js +74 -77
- package/components/column-resize/column-group.js +69 -0
- package/components/column-resize/column-resize-drag.js +147 -0
- package/components/column-resize/column-resize-handle.js +86 -0
- package/components/column-resize/column-sizing-context.js +200 -0
- package/components/confirm/confirm.js +0 -1
- package/components/confirm-service/confirm-service.js +0 -1
- package/components/dialog/dialog.js +11 -2
- package/components/internal/column-indicator-vertical-span.js +23 -0
- package/components/internal/drag-auto-scroll.js +118 -0
- package/components/internal/reorder-handle.js +198 -210
- package/components/internal/table-header.js +152 -113
- package/components/island/content.d.ts +2 -4
- package/components/island/content.js +21 -21
- package/components/island/island.js +0 -1
- package/components/login-dialog/login-dialog.js +0 -1
- package/components/login-dialog/service.js +0 -1
- package/components/style.css +1 -1
- package/components/table/default-item-renderer.js +6 -4
- package/components/table/internal/column-indicator-vertical-span.d.ts +8 -0
- package/components/table/internal/column-resize/column-group.d.ts +8 -0
- package/components/table/internal/column-resize/column-resize-drag.d.ts +27 -0
- package/components/table/internal/column-resize/column-resize-handle.d.ts +5 -0
- package/components/table/internal/column-resize/column-sizing-context.d.ts +27 -0
- package/components/table/internal/drag-auto-scroll.d.ts +18 -0
- package/components/table/item-virtualization.d.ts +2 -1
- package/components/table/table-const.d.ts +6 -0
- package/components/table/table-const.js +7 -1
- package/components/table/table-primitives.js +2 -0
- package/components/table/table-props.d.ts +39 -0
- package/components/table/table.d.ts +8 -0
- package/components/table/table.js +239 -165
- package/components/user-agreement/service.js +0 -1
- package/components/user-agreement/user-agreement.js +0 -1
- package/package.json +1 -2
|
@@ -11,8 +11,10 @@ import { TableHeader } from '../internal/table-header.js';
|
|
|
11
11
|
import { keyboardFocusableAttrName } from './table-primitives.js';
|
|
12
12
|
import { isWithinNavigableElement } from '../global/is-within-navigable-element.js';
|
|
13
13
|
import { useReorderLayoutContextValue, ReorderLayoutContext } from '../internal/reorder-layout-context.js';
|
|
14
|
+
import { useColumnSizing, ColumnSizingContext } from '../column-resize/column-sizing-context.js';
|
|
15
|
+
import { ColumnGroup } from '../column-resize/column-group.js';
|
|
14
16
|
import { s as styles } from '../_helpers/table.js';
|
|
15
|
-
import {
|
|
17
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
16
18
|
import '../global/intersection-observer-context.js';
|
|
17
19
|
import '../global/schedule-with-cleanup.js';
|
|
18
20
|
import './item-virtualization.js';
|
|
@@ -26,20 +28,25 @@ import '../icon/icon.constants.js';
|
|
|
26
28
|
import '../_helpers/icon-svg.js';
|
|
27
29
|
import '../global/memoize.js';
|
|
28
30
|
import '../global/parse-css-duration.js';
|
|
31
|
+
import '../internal/drag-auto-scroll.js';
|
|
32
|
+
import '../internal/column-indicator-vertical-span.js';
|
|
29
33
|
import '@jetbrains/icons/arrow-12px-down';
|
|
30
34
|
import '@jetbrains/icons/arrow-12px-up';
|
|
31
35
|
import '@jetbrains/icons/settings-12px';
|
|
32
36
|
import '@jetbrains/icons/trash-12px';
|
|
33
37
|
import '@jetbrains/icons/unsorted-12px';
|
|
34
38
|
import '../global/is-within-interactive-element.js';
|
|
39
|
+
import '../column-resize/column-resize-handle.js';
|
|
40
|
+
import 'react-dom';
|
|
41
|
+
import '../column-resize/column-resize-drag.js';
|
|
35
42
|
|
|
36
43
|
function Table(props) {
|
|
37
|
-
const $ = c(
|
|
38
|
-
if ($[0] !== "
|
|
39
|
-
for (let $i = 0; $i <
|
|
44
|
+
const $ = c(87);
|
|
45
|
+
if ($[0] !== "2e6f88b38cddfdad9cd21a3ef9b1be5d47fbc63d06391ff13d27422f180af032") {
|
|
46
|
+
for (let $i = 0; $i < 87; $i += 1) {
|
|
40
47
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
41
48
|
}
|
|
42
|
-
$[0] = "
|
|
49
|
+
$[0] = "2e6f88b38cddfdad9cd21a3ef9b1be5d47fbc63d06391ff13d27422f180af032";
|
|
43
50
|
}
|
|
44
51
|
let className;
|
|
45
52
|
let columns;
|
|
@@ -47,9 +54,11 @@ function Table(props) {
|
|
|
47
54
|
let getKey;
|
|
48
55
|
let noColumnReorderAnimation;
|
|
49
56
|
let noItemReorderAnimation;
|
|
57
|
+
let onColumnResize;
|
|
50
58
|
let renderItem;
|
|
51
59
|
let restProps;
|
|
52
60
|
let scrollerRef;
|
|
61
|
+
let style;
|
|
53
62
|
let t0;
|
|
54
63
|
let t1;
|
|
55
64
|
let t2;
|
|
@@ -67,43 +76,47 @@ function Table(props) {
|
|
|
67
76
|
onSort,
|
|
68
77
|
onColumnDelete,
|
|
69
78
|
onColumnReorder,
|
|
70
|
-
|
|
79
|
+
onColumnResize: t8,
|
|
80
|
+
noColumnReorderAnimation: t9,
|
|
71
81
|
canReorderItem,
|
|
72
82
|
onItemReorder,
|
|
73
|
-
noItemReorderAnimation:
|
|
74
|
-
renderItem:
|
|
75
|
-
virtualizeRows:
|
|
76
|
-
scrollerRef:
|
|
77
|
-
estimateHeight:
|
|
78
|
-
lookaheadPx:
|
|
79
|
-
retentionMarginPx:
|
|
80
|
-
minScrollAndResizeDeltaPx:
|
|
83
|
+
noItemReorderAnimation: t10,
|
|
84
|
+
renderItem: t11,
|
|
85
|
+
virtualizeRows: t12,
|
|
86
|
+
scrollerRef: t13,
|
|
87
|
+
estimateHeight: t14,
|
|
88
|
+
lookaheadPx: t15,
|
|
89
|
+
retentionMarginPx: t16,
|
|
90
|
+
minScrollAndResizeDeltaPx: t17,
|
|
81
91
|
columnEditing,
|
|
82
92
|
onColumnEditingRequest,
|
|
83
93
|
columnEditButton,
|
|
84
94
|
theadClassName,
|
|
85
95
|
theadTrClassName,
|
|
86
|
-
tbodyClassName:
|
|
87
|
-
ref:
|
|
88
|
-
className:
|
|
89
|
-
|
|
96
|
+
tbodyClassName: t18,
|
|
97
|
+
ref: t19,
|
|
98
|
+
className: t20,
|
|
99
|
+
style: t21,
|
|
100
|
+
...t22
|
|
90
101
|
} = props;
|
|
91
102
|
data = t5;
|
|
92
103
|
columns = t6;
|
|
93
104
|
getKey = t7;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
onColumnResize = t8;
|
|
106
|
+
noColumnReorderAnimation = t9;
|
|
107
|
+
noItemReorderAnimation = t10;
|
|
108
|
+
renderItem = t11;
|
|
109
|
+
t0 = t12;
|
|
110
|
+
scrollerRef = t13;
|
|
111
|
+
t1 = t14;
|
|
112
|
+
t2 = t15;
|
|
113
|
+
t3 = t16;
|
|
114
|
+
t4 = t17;
|
|
115
|
+
tbodyClassName = t18;
|
|
116
|
+
userRef = t19;
|
|
117
|
+
className = t20;
|
|
118
|
+
style = t21;
|
|
119
|
+
restProps = t22;
|
|
107
120
|
$[1] = props;
|
|
108
121
|
$[2] = className;
|
|
109
122
|
$[3] = columns;
|
|
@@ -111,16 +124,18 @@ function Table(props) {
|
|
|
111
124
|
$[5] = getKey;
|
|
112
125
|
$[6] = noColumnReorderAnimation;
|
|
113
126
|
$[7] = noItemReorderAnimation;
|
|
114
|
-
$[8] =
|
|
115
|
-
$[9] =
|
|
116
|
-
$[10] =
|
|
117
|
-
$[11] =
|
|
118
|
-
$[12] =
|
|
119
|
-
$[13] =
|
|
120
|
-
$[14] =
|
|
121
|
-
$[15] =
|
|
122
|
-
$[16] =
|
|
123
|
-
$[17] =
|
|
127
|
+
$[8] = onColumnResize;
|
|
128
|
+
$[9] = renderItem;
|
|
129
|
+
$[10] = restProps;
|
|
130
|
+
$[11] = scrollerRef;
|
|
131
|
+
$[12] = style;
|
|
132
|
+
$[13] = t0;
|
|
133
|
+
$[14] = t1;
|
|
134
|
+
$[15] = t2;
|
|
135
|
+
$[16] = t3;
|
|
136
|
+
$[17] = t4;
|
|
137
|
+
$[18] = tbodyClassName;
|
|
138
|
+
$[19] = userRef;
|
|
124
139
|
} else {
|
|
125
140
|
className = $[2];
|
|
126
141
|
columns = $[3];
|
|
@@ -128,16 +143,18 @@ function Table(props) {
|
|
|
128
143
|
getKey = $[5];
|
|
129
144
|
noColumnReorderAnimation = $[6];
|
|
130
145
|
noItemReorderAnimation = $[7];
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
146
|
+
onColumnResize = $[8];
|
|
147
|
+
renderItem = $[9];
|
|
148
|
+
restProps = $[10];
|
|
149
|
+
scrollerRef = $[11];
|
|
150
|
+
style = $[12];
|
|
151
|
+
t0 = $[13];
|
|
152
|
+
t1 = $[14];
|
|
153
|
+
t2 = $[15];
|
|
154
|
+
t3 = $[16];
|
|
155
|
+
t4 = $[17];
|
|
156
|
+
tbodyClassName = $[18];
|
|
157
|
+
userRef = $[19];
|
|
141
158
|
}
|
|
142
159
|
const virtualizeRows = t0 === undefined ? false : t0;
|
|
143
160
|
const estimateHeight = t1 === undefined ? _temp : t1;
|
|
@@ -146,26 +163,40 @@ function Table(props) {
|
|
|
146
163
|
const minScrollAndResizeDeltaPx = t4 === undefined ? 50 : t4;
|
|
147
164
|
const localRef = useRef(null);
|
|
148
165
|
let t5;
|
|
149
|
-
if ($[
|
|
166
|
+
if ($[20] !== columns || $[21] !== onColumnResize) {
|
|
150
167
|
t5 = {
|
|
168
|
+
columns,
|
|
169
|
+
onColumnResize,
|
|
170
|
+
tableRef: localRef
|
|
171
|
+
};
|
|
172
|
+
$[20] = columns;
|
|
173
|
+
$[21] = onColumnResize;
|
|
174
|
+
$[22] = t5;
|
|
175
|
+
} else {
|
|
176
|
+
t5 = $[22];
|
|
177
|
+
}
|
|
178
|
+
const columnSizing = useColumnSizing(t5);
|
|
179
|
+
let t6;
|
|
180
|
+
if ($[23] !== columns || $[24] !== data || $[25] !== noColumnReorderAnimation || $[26] !== noItemReorderAnimation) {
|
|
181
|
+
t6 = {
|
|
151
182
|
noColumnReorderAnimation,
|
|
152
183
|
noItemReorderAnimation,
|
|
153
184
|
tableRef: localRef,
|
|
154
185
|
data,
|
|
155
186
|
columns
|
|
156
187
|
};
|
|
157
|
-
$[
|
|
158
|
-
$[
|
|
159
|
-
$[
|
|
160
|
-
$[
|
|
161
|
-
$[
|
|
188
|
+
$[23] = columns;
|
|
189
|
+
$[24] = data;
|
|
190
|
+
$[25] = noColumnReorderAnimation;
|
|
191
|
+
$[26] = noItemReorderAnimation;
|
|
192
|
+
$[27] = t6;
|
|
162
193
|
} else {
|
|
163
|
-
|
|
194
|
+
t6 = $[27];
|
|
164
195
|
}
|
|
165
|
-
const reorderAnimationContextValue = useReorderAnimationContextValue(
|
|
166
|
-
let
|
|
167
|
-
if ($[
|
|
168
|
-
|
|
196
|
+
const reorderAnimationContextValue = useReorderAnimationContextValue(t6);
|
|
197
|
+
let t7;
|
|
198
|
+
if ($[28] === Symbol.for("react.memo_cache_sentinel")) {
|
|
199
|
+
t7 = function handleRowNavigation(e) {
|
|
169
200
|
if (e.defaultPrevented || isWithinNavigableElement(e.target)) {
|
|
170
201
|
return;
|
|
171
202
|
}
|
|
@@ -188,14 +219,14 @@ function Table(props) {
|
|
|
188
219
|
}
|
|
189
220
|
}
|
|
190
221
|
};
|
|
191
|
-
$[
|
|
222
|
+
$[28] = t7;
|
|
192
223
|
} else {
|
|
193
|
-
|
|
224
|
+
t7 = $[28];
|
|
194
225
|
}
|
|
195
|
-
const handleRowNavigation =
|
|
196
|
-
let
|
|
197
|
-
if ($[
|
|
198
|
-
|
|
226
|
+
const handleRowNavigation = t7;
|
|
227
|
+
let t8;
|
|
228
|
+
if ($[29] !== data || $[30] !== estimateHeight || $[31] !== lookaheadPx || $[32] !== minScrollAndResizeDeltaPx || $[33] !== retentionMarginPx || $[34] !== scrollerRef || $[35] !== virtualizeRows) {
|
|
229
|
+
t8 = {
|
|
199
230
|
enabled: virtualizeRows,
|
|
200
231
|
data,
|
|
201
232
|
scrollerRef,
|
|
@@ -205,44 +236,83 @@ function Table(props) {
|
|
|
205
236
|
retentionMarginPx,
|
|
206
237
|
minScrollAndResizeDeltaPx
|
|
207
238
|
};
|
|
208
|
-
$[
|
|
209
|
-
$[
|
|
210
|
-
$[
|
|
211
|
-
$[
|
|
212
|
-
$[
|
|
213
|
-
$[
|
|
214
|
-
$[
|
|
215
|
-
$[
|
|
239
|
+
$[29] = data;
|
|
240
|
+
$[30] = estimateHeight;
|
|
241
|
+
$[31] = lookaheadPx;
|
|
242
|
+
$[32] = minScrollAndResizeDeltaPx;
|
|
243
|
+
$[33] = retentionMarginPx;
|
|
244
|
+
$[34] = scrollerRef;
|
|
245
|
+
$[35] = virtualizeRows;
|
|
246
|
+
$[36] = t8;
|
|
216
247
|
} else {
|
|
217
|
-
|
|
248
|
+
t8 = $[36];
|
|
218
249
|
}
|
|
219
250
|
const {
|
|
220
251
|
virtualItems,
|
|
221
252
|
virtualizationContextValue
|
|
222
|
-
} = useVirtualItems(
|
|
253
|
+
} = useVirtualItems(t8);
|
|
223
254
|
const itemReorderLayoutContextValue = useReorderLayoutContextValue();
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
$[
|
|
255
|
+
const t9 = columnSizing.fixedLayout && styles.fixedLayout;
|
|
256
|
+
let t10;
|
|
257
|
+
if ($[37] !== className || $[38] !== t9) {
|
|
258
|
+
t10 = classNames(styles.table, t9, className);
|
|
259
|
+
$[37] = className;
|
|
260
|
+
$[38] = t9;
|
|
261
|
+
$[39] = t10;
|
|
229
262
|
} else {
|
|
230
|
-
|
|
263
|
+
t10 = $[39];
|
|
231
264
|
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
265
|
+
let t11;
|
|
266
|
+
if ($[40] !== columnSizing.fixedLayout || $[41] !== columnSizing.totalWidth || $[42] !== style) {
|
|
267
|
+
t11 = columnSizing.fixedLayout ? {
|
|
268
|
+
...style,
|
|
269
|
+
width: columnSizing.totalWidth
|
|
270
|
+
} : style;
|
|
271
|
+
$[40] = columnSizing.fixedLayout;
|
|
272
|
+
$[41] = columnSizing.totalWidth;
|
|
273
|
+
$[42] = style;
|
|
274
|
+
$[43] = t11;
|
|
275
|
+
} else {
|
|
276
|
+
t11 = $[43];
|
|
277
|
+
}
|
|
278
|
+
const t12 = useComposedRef(userRef, localRef);
|
|
279
|
+
let t13;
|
|
280
|
+
if ($[44] !== columnSizing.hasColgroup || $[45] !== columnSizing.widths || $[46] !== columns) {
|
|
281
|
+
t13 = columnSizing.hasColgroup && /*#__PURE__*/jsx(ColumnGroup, {
|
|
282
|
+
columns: columns,
|
|
283
|
+
widths: columnSizing.widths
|
|
284
|
+
});
|
|
285
|
+
$[44] = columnSizing.hasColgroup;
|
|
286
|
+
$[45] = columnSizing.widths;
|
|
287
|
+
$[46] = columns;
|
|
288
|
+
$[47] = t13;
|
|
237
289
|
} else {
|
|
238
|
-
|
|
290
|
+
t13 = $[47];
|
|
239
291
|
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
292
|
+
let t14;
|
|
293
|
+
if ($[48] === Symbol.for("react.memo_cache_sentinel")) {
|
|
294
|
+
t14 = /*#__PURE__*/jsx(TableHeader, {});
|
|
295
|
+
$[48] = t14;
|
|
296
|
+
} else {
|
|
297
|
+
t14 = $[48];
|
|
298
|
+
}
|
|
299
|
+
let t15;
|
|
300
|
+
if ($[49] !== columnSizing.contextValue) {
|
|
301
|
+
t15 = /*#__PURE__*/jsx(ColumnSizingContext, {
|
|
302
|
+
value: columnSizing.contextValue,
|
|
303
|
+
children: t14
|
|
304
|
+
});
|
|
305
|
+
$[49] = columnSizing.contextValue;
|
|
306
|
+
$[50] = t15;
|
|
307
|
+
} else {
|
|
308
|
+
t15 = $[50];
|
|
309
|
+
}
|
|
310
|
+
const t16 = virtualizeRows ? virtualItems : data;
|
|
311
|
+
let t17;
|
|
312
|
+
if ($[51] !== columns || $[52] !== data || $[53] !== getKey || $[54] !== renderItem || $[55] !== t16 || $[56] !== virtualizeRows) {
|
|
313
|
+
let t18;
|
|
314
|
+
if ($[58] !== columns || $[59] !== data || $[60] !== getKey || $[61] !== renderItem || $[62] !== virtualizeRows) {
|
|
315
|
+
t18 = (item, index) => {
|
|
246
316
|
let dataItem;
|
|
247
317
|
let dataItemIndex;
|
|
248
318
|
if (virtualizeRows) {
|
|
@@ -268,104 +338,108 @@ function Table(props) {
|
|
|
268
338
|
})
|
|
269
339
|
}, getKey(dataItem, dataItemIndex, data));
|
|
270
340
|
};
|
|
271
|
-
$[
|
|
272
|
-
$[
|
|
273
|
-
$[
|
|
274
|
-
$[
|
|
275
|
-
$[
|
|
276
|
-
$[
|
|
341
|
+
$[58] = columns;
|
|
342
|
+
$[59] = data;
|
|
343
|
+
$[60] = getKey;
|
|
344
|
+
$[61] = renderItem;
|
|
345
|
+
$[62] = virtualizeRows;
|
|
346
|
+
$[63] = t18;
|
|
277
347
|
} else {
|
|
278
|
-
|
|
348
|
+
t18 = $[63];
|
|
279
349
|
}
|
|
280
|
-
|
|
281
|
-
$[
|
|
282
|
-
$[
|
|
283
|
-
$[
|
|
284
|
-
$[
|
|
285
|
-
$[
|
|
286
|
-
$[
|
|
287
|
-
$[
|
|
350
|
+
t17 = t16.map(t18);
|
|
351
|
+
$[51] = columns;
|
|
352
|
+
$[52] = data;
|
|
353
|
+
$[53] = getKey;
|
|
354
|
+
$[54] = renderItem;
|
|
355
|
+
$[55] = t16;
|
|
356
|
+
$[56] = virtualizeRows;
|
|
357
|
+
$[57] = t17;
|
|
288
358
|
} else {
|
|
289
|
-
|
|
359
|
+
t17 = $[57];
|
|
290
360
|
}
|
|
291
|
-
let
|
|
292
|
-
if ($[
|
|
293
|
-
|
|
361
|
+
let t18;
|
|
362
|
+
if ($[64] !== itemReorderLayoutContextValue || $[65] !== t17) {
|
|
363
|
+
t18 = /*#__PURE__*/jsx(ReorderLayoutContext, {
|
|
294
364
|
value: itemReorderLayoutContextValue,
|
|
295
|
-
children:
|
|
365
|
+
children: t17
|
|
296
366
|
});
|
|
297
|
-
$[
|
|
298
|
-
$[
|
|
299
|
-
$[
|
|
367
|
+
$[64] = itemReorderLayoutContextValue;
|
|
368
|
+
$[65] = t17;
|
|
369
|
+
$[66] = t18;
|
|
300
370
|
} else {
|
|
301
|
-
|
|
371
|
+
t18 = $[66];
|
|
302
372
|
}
|
|
303
|
-
let
|
|
304
|
-
if ($[
|
|
305
|
-
|
|
373
|
+
let t19;
|
|
374
|
+
if ($[67] !== t18 || $[68] !== virtualizationContextValue) {
|
|
375
|
+
t19 = /*#__PURE__*/jsx(VirtualizationContext, {
|
|
306
376
|
value: virtualizationContextValue,
|
|
307
|
-
children:
|
|
377
|
+
children: t18
|
|
308
378
|
});
|
|
309
|
-
$[
|
|
310
|
-
$[
|
|
311
|
-
$[
|
|
379
|
+
$[67] = t18;
|
|
380
|
+
$[68] = virtualizationContextValue;
|
|
381
|
+
$[69] = t19;
|
|
312
382
|
} else {
|
|
313
|
-
|
|
383
|
+
t19 = $[69];
|
|
314
384
|
}
|
|
315
|
-
let
|
|
316
|
-
if ($[
|
|
317
|
-
|
|
385
|
+
let t20;
|
|
386
|
+
if ($[70] !== t19 || $[71] !== tbodyClassName) {
|
|
387
|
+
t20 = /*#__PURE__*/jsx("tbody", {
|
|
318
388
|
className: tbodyClassName,
|
|
319
389
|
onKeyDown: handleRowNavigation,
|
|
320
|
-
children:
|
|
390
|
+
children: t19
|
|
321
391
|
});
|
|
322
|
-
$[
|
|
323
|
-
$[
|
|
324
|
-
$[
|
|
392
|
+
$[70] = t19;
|
|
393
|
+
$[71] = tbodyClassName;
|
|
394
|
+
$[72] = t20;
|
|
325
395
|
} else {
|
|
326
|
-
|
|
396
|
+
t20 = $[72];
|
|
327
397
|
}
|
|
328
|
-
let
|
|
329
|
-
if ($[
|
|
330
|
-
|
|
331
|
-
className:
|
|
332
|
-
|
|
398
|
+
let t21;
|
|
399
|
+
if ($[73] !== restProps || $[74] !== t10 || $[75] !== t11 || $[76] !== t12 || $[77] !== t13 || $[78] !== t15 || $[79] !== t20) {
|
|
400
|
+
t21 = /*#__PURE__*/jsxs("table", {
|
|
401
|
+
className: t10,
|
|
402
|
+
style: t11,
|
|
403
|
+
ref: t12,
|
|
333
404
|
...restProps,
|
|
334
|
-
children: [
|
|
405
|
+
children: [t13, t15, t20]
|
|
335
406
|
});
|
|
336
|
-
$[
|
|
337
|
-
$[
|
|
338
|
-
$[
|
|
339
|
-
$[
|
|
340
|
-
$[
|
|
407
|
+
$[73] = restProps;
|
|
408
|
+
$[74] = t10;
|
|
409
|
+
$[75] = t11;
|
|
410
|
+
$[76] = t12;
|
|
411
|
+
$[77] = t13;
|
|
412
|
+
$[78] = t15;
|
|
413
|
+
$[79] = t20;
|
|
414
|
+
$[80] = t21;
|
|
341
415
|
} else {
|
|
342
|
-
|
|
416
|
+
t21 = $[80];
|
|
343
417
|
}
|
|
344
|
-
let
|
|
345
|
-
if ($[
|
|
346
|
-
|
|
418
|
+
let t22;
|
|
419
|
+
if ($[81] !== reorderAnimationContextValue || $[82] !== t21) {
|
|
420
|
+
t22 = /*#__PURE__*/jsx(ReorderAnimationContext, {
|
|
347
421
|
value: reorderAnimationContextValue,
|
|
348
|
-
children:
|
|
422
|
+
children: t21
|
|
349
423
|
});
|
|
350
|
-
$[
|
|
351
|
-
$[
|
|
352
|
-
$[
|
|
424
|
+
$[81] = reorderAnimationContextValue;
|
|
425
|
+
$[82] = t21;
|
|
426
|
+
$[83] = t22;
|
|
353
427
|
} else {
|
|
354
|
-
|
|
428
|
+
t22 = $[83];
|
|
355
429
|
}
|
|
356
|
-
let
|
|
357
|
-
if ($[
|
|
358
|
-
|
|
430
|
+
let t23;
|
|
431
|
+
if ($[84] !== props || $[85] !== t22) {
|
|
432
|
+
t23 = /*#__PURE__*/jsx(TablePropsContext, {
|
|
359
433
|
value: props,
|
|
360
|
-
children:
|
|
434
|
+
children: t22
|
|
361
435
|
});
|
|
362
|
-
$[
|
|
363
|
-
$[
|
|
364
|
-
$[
|
|
436
|
+
$[84] = props;
|
|
437
|
+
$[85] = t22;
|
|
438
|
+
$[86] = t23;
|
|
365
439
|
} else {
|
|
366
|
-
|
|
440
|
+
t23 = $[86];
|
|
367
441
|
}
|
|
368
|
-
return
|
|
442
|
+
return t23;
|
|
369
443
|
}
|
|
370
444
|
function _temp() {
|
|
371
445
|
return defaultRowHeight;
|
|
@@ -46,7 +46,6 @@ import '../global/linear-function.js';
|
|
|
46
46
|
import '../_helpers/island.js';
|
|
47
47
|
import '../island/header.js';
|
|
48
48
|
import '../island/content.js';
|
|
49
|
-
import 'element-resize-detector';
|
|
50
49
|
import '../global/schedule-raf.js';
|
|
51
50
|
import '../shortcuts/shortcuts.js';
|
|
52
51
|
import '../shortcuts/core.js';
|
|
@@ -14,7 +14,6 @@ import '../global/data-tests.js';
|
|
|
14
14
|
import '../island/adaptive-island-hoc.js';
|
|
15
15
|
import '../global/linear-function.js';
|
|
16
16
|
import 'react/compiler-runtime';
|
|
17
|
-
import 'element-resize-detector';
|
|
18
17
|
import '../global/schedule-raf.js';
|
|
19
18
|
import '../global/get-uid.js';
|
|
20
19
|
import '../shortcuts/shortcuts.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/ring-ui-built",
|
|
3
|
-
"version": "8.0.0-beta.
|
|
3
|
+
"version": "8.0.0-beta.15",
|
|
4
4
|
"description": "JetBrains UI library",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "JetBrains"
|
|
@@ -118,7 +118,6 @@
|
|
|
118
118
|
"combokeys": "^3.0.1",
|
|
119
119
|
"date-fns": "^4.4.0",
|
|
120
120
|
"dequal": "^2.0.3",
|
|
121
|
-
"element-resize-detector": "^1.2.4",
|
|
122
121
|
"fastdom": "^1.0.12",
|
|
123
122
|
"focus-trap": "^8.2.2",
|
|
124
123
|
"highlight.js": "^10.7.2",
|