@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
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import { c } from 'react
|
|
2
|
-
import { createContext
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
|
+
import { createContext } from 'react';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
const PopupTargetContext = /*#__PURE__*/createContext(undefined);
|
|
6
6
|
function normalizePopupTarget(value) {
|
|
7
7
|
return typeof value === 'string' || value instanceof Element ? value : value?.target;
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
const $ = c(
|
|
11
|
-
if ($[0] !== "
|
|
12
|
-
for (let $i = 0; $i <
|
|
9
|
+
function PopupTarget(t0) {
|
|
10
|
+
const $ = c(17);
|
|
11
|
+
if ($[0] !== "7699156479625bee795d2e20de6b2a333ee08e426b86af6e54a6a359d82ff1bc") {
|
|
12
|
+
for (let $i = 0; $i < 17; $i += 1) {
|
|
13
13
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
14
14
|
}
|
|
15
|
-
$[0] = "
|
|
15
|
+
$[0] = "7699156479625bee795d2e20de6b2a333ee08e426b86af6e54a6a359d82ff1bc";
|
|
16
16
|
}
|
|
17
17
|
let children;
|
|
18
18
|
let id;
|
|
19
|
+
let ref;
|
|
19
20
|
let restProps;
|
|
20
21
|
if ($[1] !== t0) {
|
|
21
22
|
({
|
|
23
|
+
ref,
|
|
22
24
|
id,
|
|
23
25
|
children,
|
|
24
26
|
...restProps
|
|
@@ -26,52 +28,54 @@ const PopupTarget = /*#__PURE__*/forwardRef(function PopupTarget(t0, ref) {
|
|
|
26
28
|
$[1] = t0;
|
|
27
29
|
$[2] = children;
|
|
28
30
|
$[3] = id;
|
|
29
|
-
$[4] =
|
|
31
|
+
$[4] = ref;
|
|
32
|
+
$[5] = restProps;
|
|
30
33
|
} else {
|
|
31
34
|
children = $[2];
|
|
32
35
|
id = $[3];
|
|
33
|
-
|
|
36
|
+
ref = $[4];
|
|
37
|
+
restProps = $[5];
|
|
34
38
|
}
|
|
35
39
|
const t1 = typeof children !== "function" && children;
|
|
36
40
|
let t2;
|
|
37
|
-
if ($[
|
|
41
|
+
if ($[6] !== id || $[7] !== ref || $[8] !== restProps || $[9] !== t1) {
|
|
38
42
|
t2 = /*#__PURE__*/jsx("div", {
|
|
39
43
|
...restProps,
|
|
40
44
|
"data-portaltarget": id,
|
|
41
45
|
ref: ref,
|
|
42
46
|
children: t1
|
|
43
47
|
});
|
|
44
|
-
$[
|
|
45
|
-
$[
|
|
46
|
-
$[
|
|
47
|
-
$[
|
|
48
|
-
$[
|
|
48
|
+
$[6] = id;
|
|
49
|
+
$[7] = ref;
|
|
50
|
+
$[8] = restProps;
|
|
51
|
+
$[9] = t1;
|
|
52
|
+
$[10] = t2;
|
|
49
53
|
} else {
|
|
50
|
-
t2 = $[
|
|
54
|
+
t2 = $[10];
|
|
51
55
|
}
|
|
52
56
|
const target = t2;
|
|
53
57
|
let t3;
|
|
54
|
-
if ($[
|
|
58
|
+
if ($[11] !== children || $[12] !== target) {
|
|
55
59
|
t3 = typeof children === "function" ? children(target) : target;
|
|
56
|
-
$[
|
|
57
|
-
$[
|
|
58
|
-
$[
|
|
60
|
+
$[11] = children;
|
|
61
|
+
$[12] = target;
|
|
62
|
+
$[13] = t3;
|
|
59
63
|
} else {
|
|
60
|
-
t3 = $[
|
|
64
|
+
t3 = $[13];
|
|
61
65
|
}
|
|
62
66
|
let t4;
|
|
63
|
-
if ($[
|
|
64
|
-
t4 = /*#__PURE__*/jsx(PopupTargetContext
|
|
67
|
+
if ($[14] !== id || $[15] !== t3) {
|
|
68
|
+
t4 = /*#__PURE__*/jsx(PopupTargetContext, {
|
|
65
69
|
value: id,
|
|
66
70
|
children: t3
|
|
67
71
|
});
|
|
68
|
-
$[
|
|
69
|
-
$[
|
|
70
|
-
$[
|
|
72
|
+
$[14] = id;
|
|
73
|
+
$[15] = t3;
|
|
74
|
+
$[16] = t4;
|
|
71
75
|
} else {
|
|
72
|
-
t4 = $[
|
|
76
|
+
t4 = $[16];
|
|
73
77
|
}
|
|
74
78
|
return t4;
|
|
75
|
-
}
|
|
79
|
+
}
|
|
76
80
|
|
|
77
81
|
export { PopupTarget, PopupTargetContext, normalizePopupTarget };
|
|
@@ -15,7 +15,7 @@ import '../global/sniffer.js';
|
|
|
15
15
|
import 'sniffr';
|
|
16
16
|
import '../global/data-tests.js';
|
|
17
17
|
import '../tab-trap/tab-trap.js';
|
|
18
|
-
import 'react
|
|
18
|
+
import 'react/compiler-runtime';
|
|
19
19
|
import '../global/configuration.js';
|
|
20
20
|
import '../popup/position.js';
|
|
21
21
|
import '../popup/popup.consts.js';
|
|
@@ -21,7 +21,7 @@ import 'combokeys';
|
|
|
21
21
|
import '../global/sniffer.js';
|
|
22
22
|
import 'sniffr';
|
|
23
23
|
import '../global/create-stateful-context.js';
|
|
24
|
-
import 'react
|
|
24
|
+
import 'react/compiler-runtime';
|
|
25
25
|
import '../list/list-item.js';
|
|
26
26
|
import '../avatar/avatar.js';
|
|
27
27
|
import '../global/url.js';
|
|
@@ -285,5 +285,7 @@ export default class QueryAssist extends Component<QueryAssistProps> {
|
|
|
285
285
|
render(): React.JSX.Element;
|
|
286
286
|
}
|
|
287
287
|
export type QueryAssistAttrs = React.JSX.LibraryManagedAttributes<typeof QueryAssist, QueryAssistProps>;
|
|
288
|
-
export declare const RerenderableQueryAssist:
|
|
288
|
+
export declare const RerenderableQueryAssist: ({ ref, ...props }: QueryAssistProps & {
|
|
289
|
+
ref?: React.Ref<QueryAssist> | undefined;
|
|
290
|
+
}) => React.JSX.Element;
|
|
289
291
|
export {};
|
|
@@ -22,7 +22,7 @@ import { I18nContext } from '../i18n/i18n-context.js';
|
|
|
22
22
|
import { Q as QueryAssistSuggestions, s as styles } from '../_helpers/query-assist-suggestions.js';
|
|
23
23
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
24
24
|
import { ControlsHeight } from '../global/configuration.js';
|
|
25
|
-
import 'react
|
|
25
|
+
import 'react/compiler-runtime';
|
|
26
26
|
import 'react-dom/server';
|
|
27
27
|
import '../popup/popup.js';
|
|
28
28
|
import 'react-dom';
|
|
@@ -841,7 +841,7 @@ class QueryAssist extends Component {
|
|
|
841
841
|
[styles.hugePlaceholder]: huge,
|
|
842
842
|
[styles.withoutGlass]: !glass || !renderLoader && huge
|
|
843
843
|
});
|
|
844
|
-
return /*#__PURE__*/jsx(ControlsHeightContext
|
|
844
|
+
return /*#__PURE__*/jsx(ControlsHeightContext, {
|
|
845
845
|
value: ControlsHeight.M,
|
|
846
846
|
children: /*#__PURE__*/jsx(I18nContext.Consumer, {
|
|
847
847
|
children: ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, type InputHTMLAttributes, type ReactNode } from 'react';
|
|
1
|
+
import { Component, type Ref, type InputHTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
export interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
|
|
3
3
|
value?: string | undefined;
|
|
4
4
|
onChange?: ((value: string) => void) | null | undefined;
|
|
@@ -17,7 +17,7 @@ export declare class RadioItemInner extends Component<RadioItemInnerProps> {
|
|
|
17
17
|
render(): import("react").JSX.Element;
|
|
18
18
|
}
|
|
19
19
|
export interface RadioItemProps extends RadioItemInnerProps {
|
|
20
|
+
ref?: Ref<RadioItemInner>;
|
|
20
21
|
value: string;
|
|
21
22
|
}
|
|
22
|
-
|
|
23
|
-
export default RadioItem;
|
|
23
|
+
export default function RadioItem({ ref, ...props }: RadioItemProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c } from 'react
|
|
2
|
-
import {
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
|
+
import { createContext, Component } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import getUID from '../global/get-uid.js';
|
|
5
5
|
import ControlHelp from '../control-help/control-help.js';
|
|
@@ -50,23 +50,37 @@ class RadioItemInner extends Component {
|
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
const $ = c(
|
|
55
|
-
if ($[0] !== "
|
|
56
|
-
for (let $i = 0; $i <
|
|
53
|
+
function RadioItem(t0) {
|
|
54
|
+
const $ = c(7);
|
|
55
|
+
if ($[0] !== "76a59b10a53963fdea791fd3fd6af13dc3cda49b18cdc493b183559c143d5694") {
|
|
56
|
+
for (let $i = 0; $i < 7; $i += 1) {
|
|
57
57
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
58
58
|
}
|
|
59
|
-
$[0] = "
|
|
59
|
+
$[0] = "76a59b10a53963fdea791fd3fd6af13dc3cda49b18cdc493b183559c143d5694";
|
|
60
60
|
}
|
|
61
|
-
let
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
let props;
|
|
62
|
+
let ref;
|
|
63
|
+
if ($[1] !== t0) {
|
|
64
|
+
({
|
|
65
|
+
ref,
|
|
66
|
+
...props
|
|
67
|
+
} = t0);
|
|
68
|
+
$[1] = t0;
|
|
69
|
+
$[2] = props;
|
|
70
|
+
$[3] = ref;
|
|
71
|
+
} else {
|
|
72
|
+
props = $[2];
|
|
73
|
+
ref = $[3];
|
|
74
|
+
}
|
|
75
|
+
let t1;
|
|
76
|
+
if ($[4] !== props || $[5] !== ref) {
|
|
77
|
+
t1 = /*#__PURE__*/jsx(RadioContext.Consumer, {
|
|
78
|
+
children: t2 => {
|
|
65
79
|
const {
|
|
66
80
|
value,
|
|
67
81
|
onChange,
|
|
68
82
|
...restContext
|
|
69
|
-
} =
|
|
83
|
+
} = t2;
|
|
70
84
|
return /*#__PURE__*/jsx(RadioItemInner, {
|
|
71
85
|
ref: ref,
|
|
72
86
|
...restContext,
|
|
@@ -76,13 +90,13 @@ const RadioItem = /*#__PURE__*/forwardRef(function RadioItem(props, ref) {
|
|
|
76
90
|
});
|
|
77
91
|
}
|
|
78
92
|
});
|
|
79
|
-
$[
|
|
80
|
-
$[
|
|
81
|
-
$[
|
|
93
|
+
$[4] = props;
|
|
94
|
+
$[5] = ref;
|
|
95
|
+
$[6] = t1;
|
|
82
96
|
} else {
|
|
83
|
-
|
|
97
|
+
t1 = $[6];
|
|
84
98
|
}
|
|
85
|
-
return
|
|
86
|
-
}
|
|
99
|
+
return t1;
|
|
100
|
+
}
|
|
87
101
|
|
|
88
102
|
export { RadioContext, RadioItemInner, RadioItem as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
|
-
import { type RadioProps } from './radio-item';
|
|
2
|
+
import RadioItem, { type RadioProps } from './radio-item';
|
|
3
3
|
/**
|
|
4
4
|
* @name Radio
|
|
5
5
|
*/
|
|
6
6
|
export default class Radio extends Component<RadioProps> {
|
|
7
|
-
static Item:
|
|
7
|
+
static Item: typeof RadioItem;
|
|
8
8
|
uid: string;
|
|
9
9
|
render(): import("react").JSX.Element;
|
|
10
10
|
}
|
|
@@ -2,7 +2,7 @@ import { Component } from 'react';
|
|
|
2
2
|
import getUID from '../global/get-uid.js';
|
|
3
3
|
import RadioItem, { RadioContext } from './radio-item.js';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
import 'react
|
|
5
|
+
import 'react/compiler-runtime';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../control-help/control-help.js';
|
|
8
8
|
import '../global/data-tests.js';
|
|
@@ -11,7 +11,7 @@ class Radio extends Component {
|
|
|
11
11
|
static Item = RadioItem;
|
|
12
12
|
uid = getUID('ring-radio-');
|
|
13
13
|
render() {
|
|
14
|
-
return /*#__PURE__*/jsx(RadioContext
|
|
14
|
+
return /*#__PURE__*/jsx(RadioContext, {
|
|
15
15
|
value: {
|
|
16
16
|
name: this.uid,
|
|
17
17
|
...this.props
|
|
@@ -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 '../global/controls-height.js';
|
|
@@ -26,7 +26,7 @@ import { ControlsHeight } from '../global/configuration.js';
|
|
|
26
26
|
import 'util-deprecate';
|
|
27
27
|
import '../icon/icon.constants.js';
|
|
28
28
|
import '../_helpers/icon-svg.js';
|
|
29
|
-
import 'react
|
|
29
|
+
import 'react/compiler-runtime';
|
|
30
30
|
import 'react-dom';
|
|
31
31
|
import '../global/schedule-raf.js';
|
|
32
32
|
import '../global/data-tests.js';
|
|
@@ -282,5 +282,7 @@ export default class Select<T = unknown> extends Component<SelectProps<T>, Selec
|
|
|
282
282
|
export type SingleSelectAttrs<T = unknown> = React.JSX.LibraryManagedAttributes<typeof Select, SingleSelectProps<T>>;
|
|
283
283
|
export type MultipleSelectAttrs<T = unknown> = React.JSX.LibraryManagedAttributes<typeof Select, MultipleSelectProps<T>>;
|
|
284
284
|
export type SelectAttrs<T = unknown> = React.JSX.LibraryManagedAttributes<typeof Select, SelectProps<T>>;
|
|
285
|
-
export declare const RerenderableSelect:
|
|
285
|
+
export declare const RerenderableSelect: ({ ref, ...props }: Omit<any, "ref"> & {
|
|
286
|
+
ref?: Ref<any> | undefined;
|
|
287
|
+
}) => React.JSX.Element;
|
|
286
288
|
export {};
|
|
@@ -24,7 +24,7 @@ import SelectPopup from './select-popup.js';
|
|
|
24
24
|
import ChevronButton from './chevron-button.js';
|
|
25
25
|
import { ControlsHeight } from '../global/configuration.js';
|
|
26
26
|
import { Size as Size$1 } from '../avatar/avatar-size.js';
|
|
27
|
-
import 'react
|
|
27
|
+
import 'react/compiler-runtime';
|
|
28
28
|
import 'core-js/modules/es.array.includes.js';
|
|
29
29
|
import 'util-deprecate';
|
|
30
30
|
import '../global/url.js';
|