@jetbrains/ring-ui-built 8.0.0-beta.2 → 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.
- package/components/_helpers/anchor.js +1 -1
- package/components/_helpers/avatar-info.js +1 -1
- package/components/_helpers/icon-svg.js +1 -1
- package/components/_helpers/legacy-table.js +3 -0
- package/components/_helpers/tab-link.js +1 -1
- package/components/_helpers/theme.js +49 -37
- package/components/alert/alert.js +1 -1
- package/components/alert-service/alert-service.js +1 -1
- package/components/auth/auth-core.js +1 -1
- package/components/auth/auth.js +1 -1
- package/components/auth/down-notification.js +1 -1
- package/components/auth/iframe-flow.js +1 -1
- package/components/auth/storage.js +1 -1
- package/components/auth-dialog/auth-dialog.js +1 -1
- package/components/auth-dialog-service/auth-dialog-service.js +2 -2
- package/components/avatar/avatar-info.js +1 -1
- package/components/avatar/avatar.js +1 -1
- package/components/avatar/fallback-avatar.js +1 -1
- package/components/avatar-stack/avatar-stack.js +1 -1
- package/components/banner/banner.js +1 -1
- package/components/button/button.js +1 -1
- package/components/button-group/button-group.js +1 -1
- package/components/checkbox/checkbox.js +1 -1
- package/components/clipboard/clipboard.js +1 -1
- package/components/collapse/collapse-content.js +5 -5
- package/components/collapse/collapse-control.js +5 -5
- package/components/collapse/collapse.js +4 -4
- package/components/confirm/confirm.js +1 -1
- package/components/confirm-service/confirm-service.js +2 -2
- package/components/contenteditable/contenteditable.js +1 -1
- package/components/control-help/control-help.js +1 -1
- package/components/control-label/control-label.js +1 -1
- package/components/data-list/data-list.d.ts +1 -1
- package/components/data-list/data-list.js +1 -1
- package/components/data-list/data-list.mock.d.ts +1 -1
- package/components/data-list/data-list.mock.js +1 -1
- package/components/data-list/item.d.ts +1 -1
- package/components/data-list/item.js +1 -1
- package/components/data-list/selection.d.ts +1 -1
- package/components/data-list/selection.js +2 -2
- package/components/data-list/title.js +1 -1
- package/components/date-picker/date-input.js +1 -1
- package/components/date-picker/date-picker.js +1 -2
- package/components/date-picker/date-popup.js +1 -2
- package/components/date-picker/month-names.js +1 -1
- package/components/date-picker/month-slider.js +1 -1
- package/components/date-picker/month.js +1 -1
- package/components/date-picker/months.js +4 -5
- package/components/date-picker/use-intersection-observer.js +1 -1
- package/components/date-picker/use-scroll-behavior.js +45 -44
- package/components/date-picker/weekdays.js +1 -1
- package/components/date-picker/years.js +6 -7
- package/components/dialog/dialog.d.ts +2 -2
- package/components/dialog/dialog.js +3 -3
- package/components/dropdown/anchor.js +1 -1
- package/components/dropdown/dropdown.js +1 -1
- package/components/dropdown-menu/dropdown-menu.d.ts +4 -4
- package/components/dropdown-menu/dropdown-menu.js +62 -57
- package/components/editable-heading/editable-heading.d.ts +1 -2
- package/components/editable-heading/editable-heading.js +13 -12
- package/components/error-bubble/error-bubble.js +1 -1
- package/components/error-message/error-message.js +1 -1
- package/components/expand/collapsible-group.d.ts +5 -1
- package/components/expand/collapsible-group.js +15 -14
- package/components/footer/footer.js +1 -1
- package/components/global/create-stateful-context.js +11 -11
- package/components/global/intersection-observer-context.d.ts +2 -2
- package/components/global/intersection-observer-context.js +12 -12
- package/components/global/rerender-hoc.d.ts +4 -2
- package/components/global/rerender-hoc.js +10 -24
- package/components/{legacy-table/selection.d.ts → global/table-selection.d.ts} +14 -14
- package/components/{legacy-table/selection.js → global/table-selection.js} +3 -3
- package/components/global/theme.d.ts +4 -3
- package/components/global/theme.js +1 -1
- package/components/header/header-icon.js +1 -1
- package/components/header/header.js +1 -1
- package/components/header/links.js +1 -1
- package/components/header/logo.js +1 -1
- package/components/header/profile.js +1 -1
- package/components/header/services.js +1 -1
- package/components/header/smart-profile.js +1 -1
- package/components/header/smart-services.js +1 -1
- package/components/heading/heading.js +1 -1
- package/components/i18n/i18n-context.js +4 -4
- package/components/icon/icon-svg.js +1 -1
- package/components/icon/icon.js +1 -1
- package/components/icon/index.js +1 -1
- package/components/input/input.js +1 -1
- package/components/island/adaptive-island-hoc.js +3 -3
- package/components/island/content.d.ts +7 -2
- package/components/island/content.js +27 -18
- package/components/island/header.js +1 -1
- package/components/island/island.js +1 -1
- package/components/legacy-table/cell.js +1 -1
- package/components/legacy-table/header-cell.js +2 -2
- package/components/legacy-table/header.js +2 -2
- package/components/legacy-table/multitable.d.ts +1 -1
- package/components/legacy-table/row-with-focus-sensor.js +2 -2
- package/components/legacy-table/row.js +4 -4
- package/components/legacy-table/selection-adapter.d.ts +3 -3
- package/components/legacy-table/selection-shortcuts-hoc.d.ts +5 -5
- package/components/legacy-table/simple-table.d.ts +2 -2
- package/components/legacy-table/simple-table.js +4 -4
- package/components/legacy-table/smart-table.d.ts +5 -5
- package/components/legacy-table/smart-table.js +5 -5
- package/components/legacy-table/table.js +2 -2
- package/components/list/list-item.js +1 -1
- package/components/list/list-users-groups-source.js +1 -1
- package/components/list/list.js +1 -1
- package/components/login-dialog/login-dialog.js +1 -1
- package/components/login-dialog/service.js +2 -2
- package/components/message/message.js +1 -1
- package/components/pager/pager.js +1 -1
- package/components/popup/popup.js +1 -1
- package/components/popup/popup.target.d.ts +3 -2
- package/components/popup/popup.target.js +32 -28
- package/components/popup-menu/popup-menu.js +1 -1
- package/components/query-assist/query-assist-suggestions.js +1 -1
- package/components/query-assist/query-assist.d.ts +3 -1
- package/components/query-assist/query-assist.js +2 -2
- package/components/radio/radio-item.d.ts +3 -3
- package/components/radio/radio-item.js +32 -18
- package/components/radio/radio.d.ts +2 -2
- package/components/radio/radio.js +2 -2
- package/components/scrollable-section/scrollable-section.js +1 -1
- package/components/select/chevron-button.js +1 -1
- package/components/select/select-filter.js +1 -1
- package/components/select/select-popup.js +1 -1
- package/components/select/select.d.ts +3 -1
- package/components/select/select.js +1 -1
- package/components/slider/slider.js +100 -96
- package/components/storage/storage-local.js +1 -1
- package/components/storage/storage.js +1 -1
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.d.ts +3 -3
- package/components/tab-trap/tab-trap.js +83 -80
- package/components/table/default-item-renderer.d.ts +20 -9
- package/components/table/default-item-renderer.js +83 -142
- package/components/table/table-component.d.ts +43 -16
- package/components/table/table-component.js +162 -188
- package/components/table/table-primitives.d.ts +28 -0
- package/components/table/{table-base.js → table-primitives.js} +110 -98
- package/components/table/table-row-focus.d.ts +4 -0
- package/components/table/table-row-focus.js +41 -0
- package/components/table/table-virtualize.d.ts +3 -3
- package/components/table/table-virtualize.js +111 -112
- package/components/table/table.d.ts +9 -24
- package/components/table/table.js +4 -3
- package/components/tabs/collapsible-more.js +1 -1
- package/components/tabs/collapsible-tab.js +1 -1
- package/components/tabs/collapsible-tabs.js +1 -1
- package/components/tabs/dumb-tabs.js +1 -1
- package/components/tabs/smart-tabs.js +1 -1
- package/components/tabs/tab-link.js +1 -1
- package/components/tabs/tabs.js +1 -1
- package/components/tag/tag.js +1 -1
- package/components/tags-input/tags-input.d.ts +3 -1
- package/components/tags-input/tags-input.js +1 -1
- package/components/tags-list/tags-list.js +1 -1
- package/components/toggle/toggle.js +1 -1
- package/components/tooltip/tooltip.js +2 -2
- package/components/upload/upload.d.ts +4 -3
- package/components/upload/upload.js +7 -29
- package/components/user-agreement/service.js +2 -2
- package/components/user-agreement/user-agreement.js +1 -1
- package/components/user-card/card.js +1 -1
- package/components/user-card/smart-user-card-tooltip.js +1 -1
- package/components/user-card/tooltip.js +1 -1
- package/components/user-card/user-card.js +1 -1
- package/package.json +6 -6
- package/components/_helpers/table2.js +0 -3
- package/components/global/use-event-callback.d.ts +0 -1
- package/components/global/use-event-callback.js +0 -44
- package/components/table/table-base.d.ts +0 -24
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
import { c } from 'react
|
|
2
|
-
import { createContext,
|
|
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] !== "
|
|
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] = "
|
|
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] !== "
|
|
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] = "
|
|
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] !== "
|
|
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] = "
|
|
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
|
-
|
|
114
|
-
const $ = c(
|
|
115
|
-
if ($[0] !== "
|
|
116
|
-
for (let $i = 0; $i <
|
|
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] = "
|
|
119
|
+
$[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
|
|
120
120
|
}
|
|
121
121
|
let t0;
|
|
122
|
-
if ($[1] !== props
|
|
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] =
|
|
129
|
-
$[3] = t0;
|
|
127
|
+
$[2] = t0;
|
|
130
128
|
} else {
|
|
131
|
-
t0 = $[
|
|
129
|
+
t0 = $[2];
|
|
132
130
|
}
|
|
133
131
|
return t0;
|
|
134
|
-
}
|
|
132
|
+
}
|
|
135
133
|
function ThemeProviderInner(t0) {
|
|
136
134
|
const $ = c(30);
|
|
137
|
-
if ($[0] !== "
|
|
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] = "
|
|
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
|
|
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
|
-
|
|
259
|
-
const $ = c(
|
|
260
|
-
if ($[0] !== "
|
|
261
|
-
for (let $i = 0; $i <
|
|
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] = "
|
|
262
|
+
$[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
|
|
265
263
|
}
|
|
266
|
-
let
|
|
267
|
-
|
|
268
|
-
|
|
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
|
-
$[
|
|
273
|
-
$[
|
|
274
|
-
$[
|
|
284
|
+
$[4] = props;
|
|
285
|
+
$[5] = ref;
|
|
286
|
+
$[6] = t1;
|
|
275
287
|
} else {
|
|
276
|
-
|
|
288
|
+
t1 = $[6];
|
|
277
289
|
}
|
|
278
|
-
return
|
|
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
|
|
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
|
|
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
|
|
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';
|
package/components/auth/auth.js
CHANGED
|
@@ -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
|
|
7
|
+
import 'react/compiler-runtime';
|
|
8
8
|
import 'react';
|
|
9
9
|
import '../alert-service/alert-service.js';
|
|
10
10
|
import 'react-dom/client';
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
57
|
+
reactRoot.render(/*#__PURE__*/jsx(ControlsHeightContext, {
|
|
58
58
|
value: getGlobalControlsHeight(),
|
|
59
59
|
children: /*#__PURE__*/jsx(AuthDialog, {
|
|
60
60
|
...props
|
|
@@ -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
|
|
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.`));
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
2
|
-
import {
|
|
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] !== "
|
|
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] = "
|
|
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
|
-
} =
|
|
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
|
|
2
|
-
import {
|
|
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] !== "
|
|
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] = "
|
|
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
|
-
} =
|
|
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
|
|
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] !== "
|
|
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] = "
|
|
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
|
|
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
|
|
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
|
|
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
|
|
60
|
+
reactRoot.render(/*#__PURE__*/jsx(ControlsHeightContext, {
|
|
61
61
|
value: buttonsHeight,
|
|
62
62
|
children: /*#__PURE__*/jsx(Confirm, {
|
|
63
63
|
...restProps
|
|
@@ -5,7 +5,7 @@ import { Component } from 'react';
|
|
|
5
5
|
import { type FocusSensorOuterProps } from '../global/focus-sensor-hoc';
|
|
6
6
|
import { type SelectionShortcutsAddProps, type SelectionShortcutsOuterProps } from '../legacy-table/selection-shortcuts-hoc';
|
|
7
7
|
import { type DisableHoverAddProps } from '../legacy-table/disable-hover-hoc';
|
|
8
|
-
import { type SelectionItem } from '../
|
|
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[];
|
|
@@ -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
|
|
35
|
+
import 'react/compiler-runtime';
|
|
36
36
|
import '../global/memoize.js';
|
|
37
37
|
import '../global/controls-height.js';
|
|
38
38
|
import '../global/configuration.js';
|
|
@@ -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
|
|
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 '../
|
|
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
|
|
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 '../
|
|
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
|
|
2
|
+
import TableSelection from '../global/table-selection.js';
|
|
3
3
|
|
|
4
|
-
class Selection extends
|
|
4
|
+
class Selection extends TableSelection {
|
|
5
5
|
_partialSelected;
|
|
6
6
|
constructor({
|
|
7
7
|
partialSelected = new Set(),
|
|
@@ -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
|
|
16
|
+
import 'react/compiler-runtime';
|
|
17
17
|
import '../global/memoize.js';
|
|
18
18
|
import '../control-help/control-help.js';
|
|
19
19
|
import '../global/data-tests.js';
|
|
@@ -14,7 +14,7 @@ import 'util-deprecate';
|
|
|
14
14
|
import '../icon/icon.js';
|
|
15
15
|
import '../icon/icon.constants.js';
|
|
16
16
|
import '../_helpers/icon-svg.js';
|
|
17
|
-
import 'react
|
|
17
|
+
import 'react/compiler-runtime';
|
|
18
18
|
import '../global/memoize.js';
|
|
19
19
|
import '../link/clickable-link.js';
|
|
20
20
|
import '../_helpers/button.classes.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c } from 'react
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { PureComponent } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { format } from 'date-fns/format';
|
|
@@ -75,7 +75,6 @@ import 'date-fns/add';
|
|
|
75
75
|
import '../global/intersection-observer-context.js';
|
|
76
76
|
import './scroll-arith.js';
|
|
77
77
|
import './use-scroll-behavior.js';
|
|
78
|
-
import '../global/use-event-callback.js';
|
|
79
78
|
import './years.js';
|
|
80
79
|
import 'date-fns/addYears';
|
|
81
80
|
import 'date-fns/getYear';
|