@jetbrains/ring-ui-built 7.0.11 → 7.0.12
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 +2 -2
- package/components/_helpers/caption.js +2 -2
- package/components/_helpers/card.js +19 -19
- package/components/_helpers/icon__svg.js +2 -2
- package/components/_helpers/input.js +11 -11
- package/components/_helpers/query-assist__suggestions.js +5 -5
- package/components/_helpers/select__filter.js +4 -4
- package/components/_helpers/services-link.js +4 -4
- package/components/_helpers/sidebar.js +6 -6
- package/components/_helpers/tab-link.js +7 -7
- package/components/_helpers/theme.js +7 -7
- package/components/_helpers/title.js +5 -5
- package/components/alert/alert.d.ts +1 -1
- package/components/alert/alert.js +7 -8
- package/components/alert/container.js +2 -2
- package/components/alert-service/alert-service.d.ts +1 -1
- package/components/alert-service/alert-service.js +7 -4
- package/components/auth/auth.js +2 -2
- package/components/auth/auth__core.js +1 -1
- package/components/auth/down-notification.js +9 -9
- package/components/auth/iframe-flow.js +2 -2
- package/components/auth/storage.js +1 -1
- package/components/auth-dialog/auth-dialog.d.ts +1 -1
- package/components/auth-dialog/auth-dialog.js +10 -10
- package/components/auth-dialog-service/auth-dialog-service.js +6 -3
- package/components/avatar/avatar.d.ts +1 -1
- package/components/avatar/avatar.js +10 -7
- package/components/avatar/fallback-avatar.d.ts +1 -1
- package/components/avatar/fallback-avatar.js +12 -12
- package/components/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/components/breadcrumbs/breadcrumbs.js +2 -3
- package/components/button/button.d.ts +1 -1
- package/components/button/button.js +7 -7
- package/components/button-group/button-group.d.ts +1 -1
- package/components/button-group/button-group.js +8 -5
- package/components/button-group/caption.d.ts +1 -1
- package/components/button-group/caption.js +1 -1
- package/components/button-set/button-set.d.ts +1 -1
- package/components/button-set/button-set.js +5 -2
- package/components/button-toolbar/button-toolbar.d.ts +1 -1
- package/components/button-toolbar/button-toolbar.js +5 -2
- package/components/checkbox/checkbox.d.ts +1 -1
- package/components/checkbox/checkbox.js +15 -9
- package/components/clipboard/clipboard.js +1 -1
- package/components/code/code.d.ts +1 -1
- package/components/code/code.js +4 -4
- package/components/collapse/collapse-content.js +4 -4
- package/components/collapse/collapse-control.js +5 -2
- package/components/collapse/collapse.js +6 -3
- package/components/confirm/confirm.d.ts +1 -1
- package/components/confirm/confirm.js +11 -8
- package/components/confirm-service/confirm-service.js +3 -3
- package/components/content-layout/content-layout.d.ts +1 -1
- package/components/content-layout/content-layout.js +6 -3
- package/components/content-layout/sidebar.d.ts +1 -1
- package/components/content-layout/sidebar.js +1 -1
- package/components/contenteditable/contenteditable.d.ts +2 -2
- package/components/contenteditable/contenteditable.js +7 -5
- package/components/control-help/control-help.d.ts +1 -1
- package/components/control-help/control-help.js +2 -2
- package/components/control-label/control-label.js +2 -3
- package/components/data-list/data-list.d.ts +3 -3
- package/components/data-list/data-list.js +8 -8
- package/components/data-list/data-list.mock.d.ts +1 -1
- package/components/data-list/data-list.mock.js +58 -58
- package/components/data-list/item.d.ts +2 -2
- package/components/data-list/item.js +13 -13
- package/components/data-list/title.d.ts +1 -1
- package/components/data-list/title.js +1 -1
- package/components/date-picker/date-input.d.ts +1 -1
- package/components/date-picker/date-input.js +2 -2
- package/components/date-picker/date-picker.d.ts +1 -1
- package/components/date-picker/date-picker.js +10 -10
- package/components/date-picker/date-popup.d.ts +1 -1
- package/components/date-picker/date-popup.js +9 -9
- package/components/date-picker/day.d.ts +1 -1
- package/components/date-picker/day.js +2 -3
- package/components/date-picker/month-names.d.ts +1 -1
- package/components/date-picker/month-names.js +6 -6
- package/components/date-picker/month-slider.d.ts +1 -1
- package/components/date-picker/month-slider.js +3 -3
- package/components/date-picker/month.d.ts +1 -1
- package/components/date-picker/month.js +6 -6
- package/components/date-picker/months.d.ts +1 -1
- package/components/date-picker/months.js +6 -6
- package/components/date-picker/weekdays.d.ts +1 -1
- package/components/date-picker/weekdays.js +3 -3
- package/components/date-picker/years.d.ts +1 -1
- package/components/date-picker/years.js +3 -3
- package/components/dialog/dialog.d.ts +1 -1
- package/components/dialog/dialog.js +15 -12
- package/components/dropdown/anchor.d.ts +1 -1
- package/components/dropdown/anchor.js +1 -1
- package/components/dropdown/dropdown.d.ts +1 -1
- package/components/dropdown/dropdown.js +7 -5
- package/components/dropdown-menu/dropdown-menu.js +8 -8
- package/components/editable-heading/editable-heading.d.ts +2 -2
- package/components/editable-heading/editable-heading.js +15 -15
- package/components/error-bubble/error-bubble.d.ts +1 -1
- package/components/error-bubble/error-bubble.js +7 -4
- package/components/error-message/error-message.d.ts +1 -1
- package/components/error-message/error-message.js +9 -6
- package/components/footer/footer.js +8 -8
- package/components/global/create-stateful-context.d.ts +1 -1
- package/components/global/create-stateful-context.js +3 -3
- package/components/global/focus-sensor-hoc.js +2 -2
- package/components/global/react-dom-renderer.d.ts +1 -1
- package/components/global/react-dom-renderer.js +2 -2
- package/components/global/rerender-hoc.js +3 -3
- package/components/global/theme.js +1 -1
- package/components/grid/col.d.ts +1 -1
- package/components/grid/col.js +2 -2
- package/components/grid/grid.d.ts +1 -1
- package/components/grid/grid.js +5 -2
- package/components/grid/row.d.ts +1 -1
- package/components/grid/row.js +2 -2
- package/components/group/group.d.ts +1 -1
- package/components/group/group.js +5 -2
- package/components/header/header-icon.d.ts +1 -1
- package/components/header/header-icon.js +2 -2
- package/components/header/header.d.ts +1 -1
- package/components/header/header.js +9 -3
- package/components/header/links.d.ts +1 -1
- package/components/header/links.js +3 -2
- package/components/header/logo.d.ts +1 -1
- package/components/header/logo.js +3 -3
- package/components/header/profile.d.ts +1 -1
- package/components/header/profile.js +11 -11
- package/components/header/services-link.d.ts +1 -1
- package/components/header/services-link.js +1 -1
- package/components/header/services.d.ts +1 -1
- package/components/header/services.js +8 -8
- package/components/header/smart-profile.d.ts +1 -1
- package/components/header/smart-profile.js +2 -2
- package/components/header/smart-services.d.ts +1 -1
- package/components/header/smart-services.js +2 -2
- package/components/header/tray.d.ts +1 -1
- package/components/header/tray.js +3 -3
- package/components/heading/heading.js +9 -6
- package/components/i18n/i18n-context.js +2 -2
- package/components/icon/icon.d.ts +1 -1
- package/components/icon/icon.js +4 -4
- package/components/icon/icon__svg.d.ts +1 -1
- package/components/icon/icon__svg.js +1 -1
- package/components/icon/index.js +1 -1
- package/components/input/input.d.ts +1 -1
- package/components/input/input.js +1 -1
- package/components/island/adaptive-island-hoc.d.ts +2 -2
- package/components/island/adaptive-island-hoc.js +4 -4
- package/components/island/content.d.ts +1 -1
- package/components/island/content.js +6 -6
- package/components/island/header.d.ts +1 -1
- package/components/island/header.js +5 -5
- package/components/island/island.d.ts +3 -3
- package/components/island/island.js +5 -2
- package/components/link/clickableLink.d.ts +1 -1
- package/components/link/clickableLink.js +2 -2
- package/components/link/link.d.ts +4 -4
- package/components/link/link.js +3 -3
- package/components/list/list.d.ts +6 -6
- package/components/list/list.js +20 -21
- package/components/list/list__custom.d.ts +1 -1
- package/components/list/list__custom.js +2 -2
- package/components/list/list__hint.d.ts +1 -1
- package/components/list/list__hint.js +6 -2
- package/components/list/list__item.d.ts +1 -1
- package/components/list/list__item.js +19 -15
- package/components/list/list__link.d.ts +1 -1
- package/components/list/list__link.js +6 -2
- package/components/list/list__separator.d.ts +1 -1
- package/components/list/list__separator.js +2 -2
- package/components/list/list__title.d.ts +1 -1
- package/components/list/list__title.js +4 -4
- package/components/list/list__users-groups-source.js +1 -1
- package/components/loader/loader.d.ts +1 -1
- package/components/loader/loader.js +8 -2
- package/components/loader-inline/loader-inline.d.ts +1 -1
- package/components/loader-inline/loader-inline.js +7 -4
- package/components/loader-screen/loader-screen.d.ts +1 -1
- package/components/loader-screen/loader-screen.js +6 -3
- package/components/login-dialog/login-dialog.d.ts +1 -1
- package/components/login-dialog/login-dialog.js +6 -6
- package/components/login-dialog/service.js +3 -3
- package/components/markdown/markdown.d.ts +1 -1
- package/components/markdown/markdown.js +5 -2
- package/components/message/message.d.ts +1 -1
- package/components/message/message.js +14 -11
- package/components/old-browsers-message/white-list.js +2 -2
- package/components/pager/pager.d.ts +5 -5
- package/components/pager/pager.js +21 -21
- package/components/panel/panel.d.ts +1 -1
- package/components/panel/panel.js +5 -2
- package/components/popup/popup.d.ts +2 -2
- package/components/popup/popup.js +9 -11
- package/components/popup/popup.target.js +3 -3
- package/components/popup-menu/popup-menu.d.ts +1 -1
- package/components/popup-menu/popup-menu.js +6 -3
- package/components/progress-bar/progress-bar.d.ts +1 -1
- package/components/progress-bar/progress-bar.js +6 -3
- package/components/query-assist/query-assist.d.ts +2 -2
- package/components/query-assist/query-assist.js +20 -22
- package/components/query-assist/query-assist__suggestions.d.ts +1 -1
- package/components/query-assist/query-assist__suggestions.js +1 -1
- package/components/radio/radio.d.ts +1 -1
- package/components/radio/radio.js +5 -2
- package/components/radio/radio__item.d.ts +1 -1
- package/components/radio/radio__item.js +8 -8
- package/components/scrollable-section/scrollable-section.d.ts +1 -1
- package/components/scrollable-section/scrollable-section.js +2 -2
- package/components/select/select.d.ts +3 -3
- package/components/select/select.js +35 -34
- package/components/select/select__filter.d.ts +1 -1
- package/components/select/select__filter.js +1 -1
- package/components/select/select__popup.d.ts +7 -7
- package/components/select/select__popup.js +18 -18
- package/components/shortcuts/shortcuts-hoc.d.ts +2 -2
- package/components/shortcuts/shortcuts-hoc.js +3 -3
- package/components/slider/slider.js +9 -10
- package/components/storage/storage.js +1 -1
- package/components/storage/storage__local.js +1 -1
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.js +5 -5
- package/components/table/cell.d.ts +1 -1
- package/components/table/cell.js +2 -2
- package/components/table/disable-hover-hoc.d.ts +2 -2
- package/components/table/disable-hover-hoc.js +2 -2
- package/components/table/header-cell.d.ts +1 -1
- package/components/table/header-cell.js +5 -5
- package/components/table/header.d.ts +2 -2
- package/components/table/header.js +8 -8
- package/components/table/multitable.d.ts +1 -1
- package/components/table/multitable.js +2 -2
- package/components/table/row-with-focus-sensor.d.ts +1 -1
- package/components/table/row-with-focus-sensor.js +2 -2
- package/components/table/row.d.ts +1 -1
- package/components/table/row.js +12 -12
- package/components/table/selection-shortcuts-hoc.js +2 -2
- package/components/table/simple-table.d.ts +1 -1
- package/components/table/simple-table.js +2 -2
- package/components/table/smart-table.d.ts +1 -1
- package/components/table/smart-table.js +2 -2
- package/components/table/table.d.ts +4 -4
- package/components/table/table.js +17 -14
- package/components/tabs/collapsible-more.d.ts +3 -3
- package/components/tabs/collapsible-more.js +8 -8
- package/components/tabs/collapsible-tab.d.ts +1 -1
- package/components/tabs/collapsible-tab.js +3 -3
- package/components/tabs/collapsible-tabs.d.ts +2 -2
- package/components/tabs/collapsible-tabs.js +6 -6
- package/components/tabs/dumb-tabs.d.ts +2 -3
- package/components/tabs/dumb-tabs.js +6 -6
- package/components/tabs/smart-tabs.d.ts +1 -1
- package/components/tabs/smart-tabs.js +2 -2
- package/components/tabs/tab-link.d.ts +1 -1
- package/components/tabs/tab-link.js +1 -1
- package/components/tabs/tab.d.ts +1 -1
- package/components/tabs/tab.js +2 -2
- package/components/tabs/tabs.js +1 -1
- package/components/tag/tag.d.ts +5 -5
- package/components/tag/tag.js +12 -9
- package/components/tags-input/tags-input.d.ts +1 -1
- package/components/tags-input/tags-input.js +5 -5
- package/components/tags-list/tags-list.d.ts +2 -2
- package/components/tags-list/tags-list.js +2 -2
- package/components/text/text.d.ts +1 -1
- package/components/text/text.js +2 -2
- package/components/toggle/toggle.d.ts +1 -1
- package/components/toggle/toggle.js +9 -9
- package/components/tooltip/tooltip.d.ts +1 -1
- package/components/tooltip/tooltip.js +6 -6
- package/components/user-agreement/service.js +7 -7
- package/components/user-agreement/user-agreement.d.ts +1 -1
- package/components/user-agreement/user-agreement.js +13 -13
- package/components/user-card/card.d.ts +1 -1
- package/components/user-card/card.js +1 -1
- package/components/user-card/smart-user-card-tooltip.d.ts +2 -2
- package/components/user-card/smart-user-card-tooltip.js +4 -4
- package/components/user-card/tooltip.d.ts +2 -2
- package/components/user-card/tooltip.js +4 -4
- package/components/user-card/user-card.js +1 -1
- package/package.json +2 -2
@@ -1,9 +1,9 @@
|
|
1
1
|
import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
3
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
3
4
|
import { Component } from 'react';
|
4
5
|
import Dialog from '../dialog/dialog.js';
|
5
6
|
import 'classnames';
|
6
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
7
7
|
import '../_helpers/island.js';
|
8
8
|
import '../island/header.js';
|
9
9
|
import ContentWrapper from '../island/content.js';
|
@@ -131,7 +131,7 @@ class LoginDialog extends Component {
|
|
131
131
|
height,
|
132
132
|
width
|
133
133
|
};
|
134
|
-
return
|
134
|
+
return jsxs(Dialog, {
|
135
135
|
"data-test": "ring-login-dialog",
|
136
136
|
className: className,
|
137
137
|
contentClassName: styles.dialogContent,
|
@@ -140,18 +140,18 @@ class LoginDialog extends Component {
|
|
140
140
|
show: show,
|
141
141
|
showCloseButton: true,
|
142
142
|
onCloseAttempt: onCancel,
|
143
|
-
children: [
|
144
|
-
children:
|
143
|
+
children: [jsx(ContentWrapper, {
|
144
|
+
children: jsx("iframe", {
|
145
145
|
title: "Login dialog",
|
146
146
|
style: iFrameStyle,
|
147
147
|
src: url,
|
148
148
|
className: styles.iFrame,
|
149
149
|
scrolling: "no"
|
150
150
|
})
|
151
|
-
}), loading &&
|
151
|
+
}), loading && jsx(LoaderScreen, {
|
152
152
|
message: loadingMessage,
|
153
153
|
containerClassName: styles.nonOpaqueLoader
|
154
|
-
}), showFallbackLink &&
|
154
|
+
}), showFallbackLink && jsx("div", {
|
155
155
|
className: styles.fallbackLinkContainer,
|
156
156
|
children: renderFallbackLink(loggingIn)
|
157
157
|
})]
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
2
3
|
import { createRoot } from 'react-dom/client';
|
3
4
|
import { ControlsHeightContext, getGlobalControlsHeight } from '../global/controls-height.js';
|
4
5
|
import LoginDialog from './login-dialog.js';
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
6
6
|
import 'react';
|
7
7
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
8
8
|
import '../dialog/dialog.js';
|
@@ -55,9 +55,9 @@ const reactRoot = createRoot(containerElement);
|
|
55
55
|
* Renders LoginDialog into virtual node to skip maintaining container
|
56
56
|
*/
|
57
57
|
function renderLoginDialog(props) {
|
58
|
-
reactRoot.render(
|
58
|
+
reactRoot.render(jsx(ControlsHeightContext.Provider, {
|
59
59
|
value: getGlobalControlsHeight(),
|
60
|
-
children:
|
60
|
+
children: jsx(LoginDialog, _objectSpread2({}, props))
|
61
61
|
}));
|
62
62
|
}
|
63
63
|
function noop() {}
|
@@ -1,11 +1,14 @@
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
1
2
|
import { PureComponent } from 'react';
|
2
3
|
import classNames from 'classnames';
|
3
4
|
import { s as styles$1 } from '../_helpers/heading.js';
|
4
5
|
import { l as linkStyles } from '../_helpers/link.js';
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
6
6
|
|
7
7
|
var styles = {"inline":"inline_rui_e3b3","markdown":"markdown_rui_e3b3 font_rui_8bff"};
|
8
8
|
|
9
|
+
/**
|
10
|
+
* @name Markdown
|
11
|
+
*/
|
9
12
|
class Markdown extends PureComponent {
|
10
13
|
render() {
|
11
14
|
const {
|
@@ -17,7 +20,7 @@ class Markdown extends PureComponent {
|
|
17
20
|
[styles.markdown]: !inline,
|
18
21
|
[styles.inline]: inline
|
19
22
|
});
|
20
|
-
return
|
23
|
+
return jsx("div", {
|
21
24
|
"data-test": "ring-markdown",
|
22
25
|
className: classes,
|
23
26
|
children: children
|
@@ -49,7 +49,7 @@ export default class Message extends Component<MessageProps> {
|
|
49
49
|
node?: HTMLElement | null;
|
50
50
|
popupRef: (el: Popup | null) => void;
|
51
51
|
getTailOffset(): number;
|
52
|
-
render(): import("react").JSX.Element;
|
52
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
53
53
|
}
|
54
54
|
export type MessageAttrs = JSX.LibraryManagedAttributes<typeof Message, MessageProps>;
|
55
55
|
export {};
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { _ as _defineProperty, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.symbol.description.js';
|
3
3
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
4
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
4
5
|
import { Component } from 'react';
|
5
6
|
import classNames from 'classnames';
|
6
7
|
import gift from '@jetbrains/icons/gift';
|
@@ -10,7 +11,6 @@ import Icon from '../icon/icon.js';
|
|
10
11
|
import { Button } from '../button/button.js';
|
11
12
|
import { I18nContext } from '../i18n/i18n-context.js';
|
12
13
|
import { T as Theme, d as darkStyles, W as WithThemeClasses, a as ThemeProvider } from '../_helpers/theme.js';
|
13
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
14
14
|
import 'core-js/modules/es.regexp.exec.js';
|
15
15
|
import 'core-js/modules/es.string.replace.js';
|
16
16
|
import 'react-dom';
|
@@ -40,6 +40,9 @@ import '../i18n/i18n.js';
|
|
40
40
|
|
41
41
|
var styles = {"container":"container_rui_f3db","message":"message_rui_f3db","icon":"icon_rui_f3db","title":"title_rui_f3db font-lower_rui_8bff font_rui_8bff","description":"description_rui_f3db","gotIt":"gotIt_rui_f3db","tail":"tail_rui_f3db"};
|
42
42
|
|
43
|
+
/**
|
44
|
+
* @name Message
|
45
|
+
*/
|
43
46
|
const UNIT = 8;
|
44
47
|
const TAIL_SIZE = 11;
|
45
48
|
const getTailOffsets = offset => ({
|
@@ -164,16 +167,16 @@ class Message extends Component {
|
|
164
167
|
const {
|
165
168
|
direction
|
166
169
|
} = this.state;
|
167
|
-
return
|
170
|
+
return jsx(I18nContext.Consumer, {
|
168
171
|
children: _ref => {
|
169
172
|
let {
|
170
173
|
translate
|
171
174
|
} = _ref;
|
172
|
-
return
|
175
|
+
return jsx(WithThemeClasses, {
|
173
176
|
theme: theme,
|
174
177
|
children: themeClasses => {
|
175
178
|
var _translations$gotIt, _translations$dismiss;
|
176
|
-
return
|
179
|
+
return jsx(Popup, _objectSpread2(_objectSpread2({
|
177
180
|
ref: this.popupRef,
|
178
181
|
hidden: false,
|
179
182
|
directions: popupDirections,
|
@@ -181,29 +184,29 @@ class Message extends Component {
|
|
181
184
|
offset: UNIT * 2,
|
182
185
|
onDirectionChange: this._onDirectionChange
|
183
186
|
}, popupProps), {}, {
|
184
|
-
children:
|
187
|
+
children: jsxs(ThemeProvider, {
|
185
188
|
theme: theme,
|
186
189
|
passToPopups: true,
|
187
|
-
children: [direction &&
|
190
|
+
children: [direction && jsx("div", {
|
188
191
|
className: tailClasses,
|
189
192
|
style: getTailOffsets(this.getTailOffset())[direction]
|
190
|
-
}), icon &&
|
193
|
+
}), icon && jsx(Icon, {
|
191
194
|
className: styles.icon,
|
192
195
|
glyph: icon
|
193
|
-
}), title &&
|
196
|
+
}), title && jsx("h1", {
|
194
197
|
"data-test": "rgMessageTitle",
|
195
198
|
className: styles.title,
|
196
199
|
children: title
|
197
|
-
}), children &&
|
200
|
+
}), children && jsx("div", {
|
198
201
|
className: styles.description,
|
199
202
|
children: children
|
200
|
-
}), (onClose || buttonProps) &&
|
203
|
+
}), (onClose || buttonProps) && jsx(Button, _objectSpread2(_objectSpread2({
|
201
204
|
className: styles.gotIt,
|
202
205
|
onClick: onClose,
|
203
206
|
primary: true
|
204
207
|
}, buttonProps), {}, {
|
205
208
|
children: (_translations$gotIt = translations === null || translations === void 0 ? void 0 : translations.gotIt) !== null && _translations$gotIt !== void 0 ? _translations$gotIt : translate('gotIt')
|
206
|
-
})), onDismiss &&
|
209
|
+
})), onDismiss && jsx(Button, {
|
207
210
|
onClick: onDismiss,
|
208
211
|
inline: true,
|
209
212
|
children: (_translations$dismiss = translations === null || translations === void 0 ? void 0 : translations.dismiss) !== null && _translations$dismiss !== void 0 ? _translations$dismiss : translate('dismiss')
|
@@ -8,11 +8,11 @@ const MAJOR_VERSION_INDEX = 0;
|
|
8
8
|
/**
|
9
9
|
* SUPPORTED_BROWSERS are defined by Babel plugin, see babel config
|
10
10
|
*/
|
11
|
-
if (!["and_chr 131", "
|
11
|
+
if (!["and_chr 131", "chrome 131", "chrome 130", "chrome 109", "edge 131", "edge 130", "firefox 132", "ios_saf 18.1", "ios_saf 18.0", "ios_saf 17.6-17.7", "safari 17.6", "samsung 26"]) {
|
12
12
|
// eslint-disable-next-line no-console
|
13
13
|
console.warn('Ring UI: no SUPPORTED_BROWSERS passed. Please check babel config.');
|
14
14
|
}
|
15
|
-
const SUPPORTED = ["and_chr 131", "
|
15
|
+
const SUPPORTED = ["and_chr 131", "chrome 131", "chrome 130", "chrome 109", "edge 131", "edge 130", "firefox 132", "ios_saf 18.1", "ios_saf 18.0", "ios_saf 17.6-17.7", "safari 17.6", "samsung 26"] || [];
|
16
16
|
const WHITE_LISTED_BROWSERS = ['chrome', 'firefox', 'safari', 'edge'];
|
17
17
|
const WHITE_LIST = SUPPORTED.reduce((acc, item) => {
|
18
18
|
var _item$match;
|
@@ -59,7 +59,7 @@ export default class Pager extends PureComponent<PagerProps> {
|
|
59
59
|
handleNextClick: () => void;
|
60
60
|
handlePageChange: (arg: number) => (event: React.MouseEvent) => void;
|
61
61
|
handleLoadMore: (arg: number) => () => void;
|
62
|
-
getButton(page: number, content: ReactNode, key?: number, active?: boolean):
|
62
|
+
getButton(page: number, content: ReactNode, key?: number, active?: boolean): import("react/jsx-runtime").JSX.Element;
|
63
63
|
getClickProps(onClick: (e: React.MouseEvent) => void): {
|
64
64
|
onPlainLeftClick?: undefined;
|
65
65
|
onClick?: undefined;
|
@@ -70,11 +70,11 @@ export default class Pager extends PureComponent<PagerProps> {
|
|
70
70
|
onClick: (e: React.MouseEvent) => void;
|
71
71
|
onPlainLeftClick?: undefined;
|
72
72
|
};
|
73
|
-
getPageSizeSelector(): false |
|
74
|
-
getPagerLinks():
|
73
|
+
getPageSizeSelector(): false | import("react/jsx-runtime").JSX.Element;
|
74
|
+
getPagerLinks(): import("react/jsx-runtime").JSX.Element;
|
75
75
|
generateHref(page: number): string | undefined;
|
76
|
-
getPagerContent():
|
77
|
-
render():
|
76
|
+
getPagerContent(): import("react/jsx-runtime").JSX.Element;
|
77
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
78
78
|
}
|
79
79
|
export type PagerAttrs = JSX.LibraryManagedAttributes<typeof Pager, PagerProps>;
|
80
80
|
export {};
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { _ as _defineProperty, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
3
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
3
4
|
import { PureComponent } from 'react';
|
4
5
|
import classNames from 'classnames';
|
5
6
|
import chevronLeftIcon from '@jetbrains/icons/chevron-left';
|
@@ -12,7 +13,6 @@ import memoize from '../global/memoize.js';
|
|
12
13
|
import Link from '../link/link.js';
|
13
14
|
import Icon from '../icon/icon.js';
|
14
15
|
import { I18nContext } from '../i18n/i18n-context.js';
|
15
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
16
16
|
import '@jetbrains/icons/chevron-down';
|
17
17
|
import '@jetbrains/icons/chevron-12px-down';
|
18
18
|
import 'util-deprecate';
|
@@ -158,7 +158,7 @@ class Pager extends PureComponent {
|
|
158
158
|
return Math.ceil(total / pageSize);
|
159
159
|
}
|
160
160
|
getButton(page, content, key, active) {
|
161
|
-
return
|
161
|
+
return jsx(Button, _objectSpread2(_objectSpread2({
|
162
162
|
href: this.generateHref(page),
|
163
163
|
active: active,
|
164
164
|
disabled: this.props.loader && !active && !this.props.loaderNavigation,
|
@@ -186,10 +186,10 @@ class Pager extends PureComponent {
|
|
186
186
|
}
|
187
187
|
getPageSizeSelector() {
|
188
188
|
const selectOptions = this.getSelectOptions();
|
189
|
-
return !this.props.disablePageSizeSelector &&
|
189
|
+
return !this.props.disablePageSizeSelector && jsx("div", {
|
190
190
|
"data-test": "ring-pager-page-size-selector",
|
191
191
|
className: style.pageSize,
|
192
|
-
children:
|
192
|
+
children: jsx(Select, {
|
193
193
|
data: selectOptions.data,
|
194
194
|
selected: selectOptions.selected,
|
195
195
|
onSelect: this.handlePageSizeChange,
|
@@ -205,18 +205,18 @@ class Pager extends PureComponent {
|
|
205
205
|
} = this.context;
|
206
206
|
const prevLinkAvailable = this.props.currentPage !== 1;
|
207
207
|
const nextLinkAvailable = this.props.openTotal || this.props.currentPage !== this.getTotalPages();
|
208
|
-
const nextIcon =
|
208
|
+
const nextIcon = jsx(Icon, {
|
209
209
|
glyph: chevronRightIcon
|
210
210
|
}, "icon");
|
211
|
-
const prevIcon =
|
211
|
+
const prevIcon = jsx(Icon, {
|
212
212
|
glyph: chevronLeftIcon
|
213
213
|
}, "icon");
|
214
214
|
const prevText = (_this$props$translati3 = (_this$props$translati4 = this.props.translations) === null || _this$props$translati4 === void 0 ? void 0 : _this$props$translati4.previousPage) !== null && _this$props$translati3 !== void 0 ? _this$props$translati3 : translate('previousPage');
|
215
215
|
const nextText = (_this$props$translati5 = (_this$props$translati6 = this.props.translations) === null || _this$props$translati6 === void 0 ? void 0 : _this$props$translati6.nextPage) !== null && _this$props$translati5 !== void 0 ? _this$props$translati5 : translate('nextPage');
|
216
|
-
const nextLinkContent = [
|
216
|
+
const nextLinkContent = [jsx("span", {
|
217
217
|
children: nextText
|
218
218
|
}, "text"), nextIcon];
|
219
|
-
const prevLinkContent = [prevIcon,
|
219
|
+
const prevLinkContent = [prevIcon, jsx("span", {
|
220
220
|
children: prevText
|
221
221
|
}, "text")];
|
222
222
|
const prevLinkHref = this.generateHref(this.props.currentPage - 1);
|
@@ -225,26 +225,26 @@ class Pager extends PureComponent {
|
|
225
225
|
[style.link]: true,
|
226
226
|
[style.linkDisabled]: true
|
227
227
|
});
|
228
|
-
return
|
228
|
+
return jsxs("div", {
|
229
229
|
className: style.links,
|
230
|
-
children: [prevLinkAvailable && (!this.props.loader || this.props.loaderNavigation) ?
|
230
|
+
children: [prevLinkAvailable && (!this.props.loader || this.props.loaderNavigation) ? jsx(Link, _objectSpread2(_objectSpread2({
|
231
231
|
href: prevLinkHref,
|
232
232
|
className: style.link
|
233
233
|
}, this.getClickProps(this.handlePrevClick)), {}, {
|
234
234
|
children: prevLinkContent
|
235
|
-
})) :
|
235
|
+
})) : jsxs("span", {
|
236
236
|
className: disabledLinkClasses,
|
237
|
-
children: [prevIcon,
|
237
|
+
children: [prevIcon, jsx("span", {
|
238
238
|
children: prevText
|
239
239
|
}, "text")]
|
240
|
-
}), nextLinkAvailable && (!this.props.loader || this.props.loaderNavigation) ?
|
240
|
+
}), nextLinkAvailable && (!this.props.loader || this.props.loaderNavigation) ? jsx(Link, _objectSpread2(_objectSpread2({
|
241
241
|
href: nextLinkHref,
|
242
242
|
className: style.link
|
243
243
|
}, this.getClickProps(this.handleNextClick)), {}, {
|
244
244
|
children: nextLinkContent
|
245
|
-
})) :
|
245
|
+
})) : jsxs("span", {
|
246
246
|
className: disabledLinkClasses,
|
247
|
-
children: [
|
247
|
+
children: [jsx("span", {
|
248
248
|
children: nextText
|
249
249
|
}, "text"), nextIcon]
|
250
250
|
})]
|
@@ -297,12 +297,12 @@ class Pager extends PureComponent {
|
|
297
297
|
buttons.push(this.getButton(i, i, i, i === currentPage));
|
298
298
|
}
|
299
299
|
const lastPageButtonAvailable = !this.props.disableLastPageButton && end < totalPages && !this.props.openTotal || this.props.openTotal && this.props.canLoadLastPageWithOpenTotal;
|
300
|
-
return
|
301
|
-
children: [this.getPagerLinks(),
|
300
|
+
return jsxs("div", {
|
301
|
+
children: [this.getPagerLinks(), jsxs("div", {
|
302
302
|
className: style.actions,
|
303
|
-
children: [
|
304
|
-
children: [start > 1 && this.getButton(1, (_this$props$translati7 = (_this$props$translati8 = this.props.translations) === null || _this$props$translati8 === void 0 ? void 0 : _this$props$translati8.firstPage) !== null && _this$props$translati7 !== void 0 ? _this$props$translati7 : translate('firstPage')),
|
305
|
-
children: [start > 1 && this.getButton(start - 1, '...'), buttons, end < totalPages && this.getButton(end + 1, '...'), end === totalPages && this.props.openTotal &&
|
303
|
+
children: [jsxs(ButtonToolbar, {
|
304
|
+
children: [start > 1 && this.getButton(1, (_this$props$translati7 = (_this$props$translati8 = this.props.translations) === null || _this$props$translati8 === void 0 ? void 0 : _this$props$translati8.firstPage) !== null && _this$props$translati7 !== void 0 ? _this$props$translati7 : translate('firstPage')), jsxs(ButtonGroup, {
|
305
|
+
children: [start > 1 && this.getButton(start - 1, '...'), buttons, end < totalPages && this.getButton(end + 1, '...'), end === totalPages && this.props.openTotal && jsx(Button, _objectSpread2(_objectSpread2({
|
306
306
|
href: this.generateHref(end + 1),
|
307
307
|
disabled: this.props.loader
|
308
308
|
}, this.getClickProps(this.handleLoadMore(end + 1))), {}, {
|
@@ -315,7 +315,7 @@ class Pager extends PureComponent {
|
|
315
315
|
}
|
316
316
|
render() {
|
317
317
|
const classes = classNames(style.pager, this.props.className);
|
318
|
-
return
|
318
|
+
return jsx("div", {
|
319
319
|
"data-test": "ring-pager",
|
320
320
|
className: classes,
|
321
321
|
children: this.getTotalPages() > 1 || this.props.openTotal ? this.getPagerContent() : this.getPageSizeSelector()
|
@@ -1,11 +1,14 @@
|
|
1
1
|
import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
2
3
|
import { PureComponent } from 'react';
|
3
4
|
import classNames from 'classnames';
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
5
5
|
|
6
6
|
var styles = {"panel":"panel_rui_1067 panel_rui_381e"};
|
7
7
|
|
8
8
|
const _excluded = ["className", "children"];
|
9
|
+
/**
|
10
|
+
* @name Panel
|
11
|
+
*/
|
9
12
|
class Panel extends PureComponent {
|
10
13
|
render() {
|
11
14
|
const _this$props = this.props,
|
@@ -15,7 +18,7 @@ class Panel extends PureComponent {
|
|
15
18
|
} = _this$props,
|
16
19
|
props = _objectWithoutProperties(_this$props, _excluded);
|
17
20
|
const classes = classNames(styles.panel, className);
|
18
|
-
return
|
21
|
+
return jsx("div", _objectSpread2(_objectSpread2({
|
19
22
|
"data-test": "ring-panel"
|
20
23
|
}, props), {}, {
|
21
24
|
className: classes,
|
@@ -138,12 +138,12 @@ export default class Popup<P extends BasePopupProps = PopupProps> extends PureCo
|
|
138
138
|
* @private
|
139
139
|
*/
|
140
140
|
private _onDocumentClick;
|
141
|
-
getInternalContent():
|
141
|
+
getInternalContent(): import("react/jsx-runtime").JSX.Element | P["children"] | undefined;
|
142
142
|
shortcutsScope: string;
|
143
143
|
shortcutsMap: {
|
144
144
|
esc: (evt: KeyboardEvent) => void;
|
145
145
|
};
|
146
|
-
render():
|
146
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
147
147
|
}
|
148
148
|
export type PopupAttrs = JSX.LibraryManagedAttributes<typeof Popup, PopupProps>;
|
149
149
|
export type BasePopupAttrs = JSX.LibraryManagedAttributes<typeof Popup, BasePopupProps>;
|
@@ -2,6 +2,7 @@ import { _ as _defineProperty, b as _objectSpread2 } from '../_helpers/_rollupPl
|
|
2
2
|
import 'core-js/modules/es.regexp.exec.js';
|
3
3
|
import 'core-js/modules/es.string.replace.js';
|
4
4
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
5
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
5
6
|
import { PureComponent } from 'react';
|
6
7
|
import { createPortal } from 'react-dom';
|
7
8
|
import classNames from 'classnames';
|
@@ -14,7 +15,6 @@ import TabTrap from '../tab-trap/tab-trap.js';
|
|
14
15
|
import position from './position.js';
|
15
16
|
import { Display, DEFAULT_DIRECTIONS, Directions, Dimension, MinWidth, MaxHeight } from './popup.consts.js';
|
16
17
|
import { PopupTargetContext, PopupTarget } from './popup.target.js';
|
17
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
18
18
|
import '../shortcuts/core.js';
|
19
19
|
import 'combokeys';
|
20
20
|
import '../global/sniffer.js';
|
@@ -264,7 +264,7 @@ class Popup extends PureComponent {
|
|
264
264
|
autoFocusFirst,
|
265
265
|
children
|
266
266
|
} = this.props;
|
267
|
-
return trapFocus ?
|
267
|
+
return trapFocus ? jsx(TabTrap, {
|
268
268
|
autoFocusFirst: autoFocusFirst,
|
269
269
|
focusBackOnExit: true,
|
270
270
|
children: children
|
@@ -294,20 +294,19 @@ class Popup extends PureComponent {
|
|
294
294
|
[styles.largeBorderRadius]: largeBorderRadius
|
295
295
|
});
|
296
296
|
const direction = (this.state.direction || '').toLowerCase().replace(/[_]/g, '-');
|
297
|
-
return
|
297
|
+
return jsx(PopupTargetContext.Consumer, {
|
298
298
|
children: value => {
|
299
299
|
this.ringPopupTarget = value;
|
300
|
-
return
|
300
|
+
return jsxs("span", {
|
301
301
|
// prevent bubbling through portal
|
302
|
-
onClick: stop
|
302
|
+
onClick: stop,
|
303
303
|
// This handler only blocks bubbling through React portal
|
304
|
-
,
|
305
304
|
role: "presentation",
|
306
305
|
ref: this.portalRef,
|
307
|
-
children: [this.shouldUseShortcuts() &&
|
306
|
+
children: [this.shouldUseShortcuts() && jsx(Shortcuts, {
|
308
307
|
map: this.shortcutsMap,
|
309
308
|
scope: this.shortcutsScope
|
310
|
-
}), (client || this.state.client) && (keepMounted || !hidden) && /*#__PURE__*/createPortal(
|
309
|
+
}), (client || this.state.client) && (keepMounted || !hidden) && /*#__PURE__*/createPortal(jsx(PopupTarget, {
|
311
310
|
id: this.uid,
|
312
311
|
ref: this.containerRef,
|
313
312
|
onMouseOver: onMouseOver,
|
@@ -315,7 +314,7 @@ class Popup extends PureComponent {
|
|
315
314
|
onMouseOut: onMouseOut,
|
316
315
|
onBlur: onMouseOut,
|
317
316
|
onContextMenu: onContextMenu,
|
318
|
-
children:
|
317
|
+
children: jsx("div", {
|
319
318
|
"data-test": joinDataTestAttributes('ring-popup', dataTest),
|
320
319
|
"data-test-shown": !hidden && !showing,
|
321
320
|
"data-test-direction": direction,
|
@@ -323,9 +322,8 @@ class Popup extends PureComponent {
|
|
323
322
|
className: classes,
|
324
323
|
style: style,
|
325
324
|
onMouseDown: onMouseDown,
|
326
|
-
onMouseUp: onMouseUp
|
325
|
+
onMouseUp: onMouseUp,
|
327
326
|
// mouse handlers are used to track clicking on inner elements
|
328
|
-
,
|
329
327
|
role: "presentation",
|
330
328
|
children: this.getInternalContent()
|
331
329
|
})
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
|
-
import { createContext, forwardRef } from 'react';
|
3
2
|
import { jsx } from 'react/jsx-runtime';
|
3
|
+
import { createContext, forwardRef } from 'react';
|
4
4
|
|
5
5
|
const _excluded = ["id", "children"];
|
6
6
|
const PopupTargetContext = /*#__PURE__*/createContext(undefined);
|
@@ -10,12 +10,12 @@ const PopupTarget = /*#__PURE__*/forwardRef(function PopupTarget(_ref, ref) {
|
|
10
10
|
children
|
11
11
|
} = _ref,
|
12
12
|
restProps = _objectWithoutProperties(_ref, _excluded);
|
13
|
-
const target =
|
13
|
+
const target = jsx("div", _objectSpread2(_objectSpread2({}, restProps), {}, {
|
14
14
|
"data-portaltarget": id,
|
15
15
|
ref: ref,
|
16
16
|
children: typeof children !== 'function' && children
|
17
17
|
}));
|
18
|
-
return
|
18
|
+
return jsx(PopupTargetContext.Provider, {
|
19
19
|
value: id,
|
20
20
|
children: typeof children === 'function' ? children(target) : target
|
21
21
|
});
|
@@ -62,7 +62,7 @@ export default class PopupMenu<T = unknown> extends Popup<PopupMenuProps<T>> {
|
|
62
62
|
list?: List<T> | null;
|
63
63
|
listRef: (el: List<T> | null) => void;
|
64
64
|
/** @override */
|
65
|
-
getInternalContent(): import("react").JSX.Element;
|
65
|
+
getInternalContent(): import("react/jsx-runtime").JSX.Element;
|
66
66
|
}
|
67
67
|
export type PopupMenuAttrs<T = unknown> = JSX.LibraryManagedAttributes<typeof PopupMenu, PopupMenuProps<T>>;
|
68
68
|
export declare const ListProps: {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { _ as _defineProperty, b as _objectSpread2, a as _objectWithoutProperties } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
3
4
|
import Popup from '../popup/popup.js';
|
4
5
|
import List from '../list/list.js';
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
6
6
|
import 'core-js/modules/es.regexp.exec.js';
|
7
7
|
import 'core-js/modules/es.string.replace.js';
|
8
8
|
import 'react';
|
@@ -56,6 +56,9 @@ import '../list/list__hint.js';
|
|
56
56
|
import '../list/consts.js';
|
57
57
|
|
58
58
|
const _excluded = ["className"];
|
59
|
+
/**
|
60
|
+
* @name Popup Menu
|
61
|
+
*/
|
59
62
|
class PopupMenu extends Popup {
|
60
63
|
constructor() {
|
61
64
|
super(...arguments);
|
@@ -74,8 +77,8 @@ class PopupMenu extends Popup {
|
|
74
77
|
getInternalContent() {
|
75
78
|
const _this$props = this.props,
|
76
79
|
props = _objectWithoutProperties(_this$props, _excluded);
|
77
|
-
return
|
78
|
-
children:
|
80
|
+
return jsx("div", {
|
81
|
+
children: jsx(List, _objectSpread2(_objectSpread2({
|
79
82
|
ref: this.listRef
|
80
83
|
}, props), {}, {
|
81
84
|
maxHeight: this.popup && parseFloat(this.popup.style.maxHeight),
|
@@ -45,6 +45,6 @@ export default class ProgressBar extends PureComponent<ProgressBarProps> {
|
|
45
45
|
progressbarWrapperRef: (el: HTMLElement | null) => void;
|
46
46
|
progressbar?: HTMLElement | null;
|
47
47
|
progressbarRef: (el: HTMLElement | null) => void;
|
48
|
-
render(): import("react").JSX.Element;
|
48
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
49
49
|
}
|
50
50
|
export type ProgressBarAttrs = JSX.LibraryManagedAttributes<typeof ProgressBar, ProgressBarProps>;
|
@@ -1,12 +1,15 @@
|
|
1
1
|
import { _ as _defineProperty, a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
3
4
|
import { PureComponent } from 'react';
|
4
5
|
import classNames from 'classnames';
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
6
6
|
|
7
7
|
var styles = {"progressBar":"progressBar_rui_5875","globalMode":"globalMode_rui_5875","line":"line_rui_5875","progress-bar-animation":"progress-bar-animation_rui_5875","staticLineColor":"staticLineColor_rui_5875"};
|
8
8
|
|
9
9
|
const _excluded = ["className", "global", "max", "value", "label", "staticColor"];
|
10
|
+
/**
|
11
|
+
* @name Progress Bar
|
12
|
+
*/
|
10
13
|
class ProgressBar extends PureComponent {
|
11
14
|
constructor() {
|
12
15
|
super(...arguments);
|
@@ -46,10 +49,10 @@ class ProgressBar extends PureComponent {
|
|
46
49
|
[styles.globalMode]: global,
|
47
50
|
[styles.staticLineColor]: staticColor
|
48
51
|
});
|
49
|
-
return
|
52
|
+
return jsx("div", _objectSpread2(_objectSpread2({}, otherProps), {}, {
|
50
53
|
className: classes,
|
51
54
|
ref: this.progressbarWrapperRef,
|
52
|
-
children:
|
55
|
+
children: jsx("div", {
|
53
56
|
className: styles.line,
|
54
57
|
ref: this.progressbarRef,
|
55
58
|
role: "progressbar",
|
@@ -251,7 +251,7 @@ export default class QueryAssist extends Component<QueryAssistProps> {
|
|
251
251
|
setupRequestHandler(delay?: number | null): void;
|
252
252
|
private _renderSuggestion;
|
253
253
|
renderSuggestions(): import("../list/consts").ListDataItem<SuggestionItem>[];
|
254
|
-
renderQuery(): "" |
|
254
|
+
renderQuery(): "" | import("react/jsx-runtime").JSX.Element[] | null | undefined;
|
255
255
|
setFocus(focus: boolean | null | undefined): void;
|
256
256
|
input?: HTMLElement | null;
|
257
257
|
caret?: Caret;
|
@@ -270,7 +270,7 @@ export default class QueryAssist extends Component<QueryAssistProps> {
|
|
270
270
|
shortcutsMap: ShortcutsMap;
|
271
271
|
listShortcutsMap: ShortcutsMap;
|
272
272
|
renderActions(): ReactNode[];
|
273
|
-
render():
|
273
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
274
274
|
}
|
275
275
|
export type QueryAssistAttrs = JSX.LibraryManagedAttributes<typeof QueryAssist, QueryAssistProps>;
|
276
276
|
export declare const RerenderableQueryAssist: React.ForwardRefExoticComponent<QueryAssistProps & React.RefAttributes<QueryAssist>>;
|