@jetbrains/ring-ui-built 7.0.10 → 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,8 +1,8 @@
|
|
1
1
|
import { a as _objectWithoutProperties, 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 { forwardRef, useRef, useImperativeHandle, useCallback, useEffect } from 'react';
|
4
5
|
import { isNodeInVisiblePartOfPage } from '../global/dom.js';
|
5
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
6
6
|
import 'core-js/modules/es.regexp.exec.js';
|
7
7
|
|
8
8
|
var styles = {"trapButton":"trapButton_rui_3588"};
|
@@ -116,16 +116,16 @@ const TabTrap = /*#__PURE__*/forwardRef(function TabTrap(_ref, ref) {
|
|
116
116
|
focusLast();
|
117
117
|
}
|
118
118
|
if (trapDisabled) {
|
119
|
-
return
|
119
|
+
return jsx("div", _objectSpread2(_objectSpread2({
|
120
120
|
ref: nodeRef
|
121
121
|
}, restProps), {}, {
|
122
122
|
children: children
|
123
123
|
}));
|
124
124
|
}
|
125
|
-
return
|
125
|
+
return jsxs("div", _objectSpread2(_objectSpread2({
|
126
126
|
ref: nodeRef
|
127
127
|
}, restProps), {}, {
|
128
|
-
children: [
|
128
|
+
children: [jsx("div", {
|
129
129
|
// It never actually stays focused
|
130
130
|
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
|
131
131
|
tabIndex: 0,
|
@@ -134,7 +134,7 @@ const TabTrap = /*#__PURE__*/forwardRef(function TabTrap(_ref, ref) {
|
|
134
134
|
onFocus: focusLastIfEnabled,
|
135
135
|
onBlur: handleBlurIfWithoutFocus,
|
136
136
|
"data-trap-button": true
|
137
|
-
}), children,
|
137
|
+
}), children, jsx("div", {
|
138
138
|
// It never actually stays focused
|
139
139
|
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
|
140
140
|
tabIndex: 0,
|
@@ -3,5 +3,5 @@ export interface CellProps extends TdHTMLAttributes<HTMLTableDataCellElement> {
|
|
3
3
|
'data-test'?: string | null | undefined;
|
4
4
|
}
|
5
5
|
export default class Cell extends PureComponent<CellProps> {
|
6
|
-
render(): import("react").JSX.Element;
|
6
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
7
7
|
}
|
package/components/table/cell.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { 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
5
|
import joinDataTestAttributes from '../global/data-tests.js';
|
5
6
|
import { s as style } from '../_helpers/table.js';
|
6
|
-
import { jsx } from 'react/jsx-runtime';
|
7
7
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
8
8
|
|
9
9
|
class Cell extends PureComponent {
|
10
10
|
render() {
|
11
11
|
const classes = classNames(style.cell, this.props.className);
|
12
|
-
return
|
12
|
+
return jsx("td", _objectSpread2(_objectSpread2({}, this.props), {}, {
|
13
13
|
className: classes,
|
14
14
|
"data-test": joinDataTestAttributes('ring-table-cell', this.props['data-test']),
|
15
15
|
children: this.props.children
|
@@ -12,7 +12,7 @@ export default function disableHoverHOC<P extends DisableHoverAddProps>(Composed
|
|
12
12
|
componentWillUnmount(): void;
|
13
13
|
onMouseMove: () => void;
|
14
14
|
onKeyDown: (e: KeyboardEvent) => void;
|
15
|
-
render(): import("react").JSX.Element;
|
15
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
16
16
|
context: unknown;
|
17
17
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<DisableHoverProps<P>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
18
18
|
forceUpdate(callback?: (() => void) | undefined): void;
|
@@ -39,7 +39,7 @@ export default function disableHoverHOC<P extends DisableHoverAddProps>(Composed
|
|
39
39
|
componentWillUnmount(): void;
|
40
40
|
onMouseMove: () => void;
|
41
41
|
onKeyDown: (e: KeyboardEvent) => void;
|
42
|
-
render(): import("react").JSX.Element;
|
42
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
43
43
|
context: unknown;
|
44
44
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<DisableHoverProps<P>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
45
45
|
forceUpdate(callback?: (() => void) | undefined): void;
|
@@ -1,7 +1,7 @@
|
|
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 { PureComponent } from 'react';
|
4
3
|
import { jsx } from 'react/jsx-runtime';
|
4
|
+
import { PureComponent } from 'react';
|
5
5
|
|
6
6
|
function disableHoverHOC(ComposedComponent) {
|
7
7
|
var _DisableHover;
|
@@ -36,7 +36,7 @@ function disableHoverHOC(ComposedComponent) {
|
|
36
36
|
document.removeEventListener('keydown', this.onKeyDown, true);
|
37
37
|
}
|
38
38
|
render() {
|
39
|
-
return
|
39
|
+
return jsx(ComposedComponent, _objectSpread2(_objectSpread2({}, this.props), {}, {
|
40
40
|
disabledHover: this.state.disabledHover
|
41
41
|
}));
|
42
42
|
}
|
@@ -1,5 +1,6 @@
|
|
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 { jsxs, jsx } from 'react/jsx-runtime';
|
3
4
|
import { PureComponent } from 'react';
|
4
5
|
import classNames from 'classnames';
|
5
6
|
import sortableIcon from '@jetbrains/icons/unsorted-12px';
|
@@ -7,7 +8,6 @@ import chevron12pxDown from '@jetbrains/icons/chevron-12px-down';
|
|
7
8
|
import Icon from '../icon/icon.js';
|
8
9
|
import joinDataTestAttributes from '../global/data-tests.js';
|
9
10
|
import { s as style } from '../_helpers/table.js';
|
10
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
11
11
|
import 'util-deprecate';
|
12
12
|
import '../icon/icon__constants.js';
|
13
13
|
import '../_helpers/icon__svg.js';
|
@@ -59,17 +59,17 @@ class HeaderCell extends PureComponent {
|
|
59
59
|
[style.sortedUp]: sortOrder && this.sorted,
|
60
60
|
[style.cellRight]: column.rightAlign
|
61
61
|
});
|
62
|
-
return
|
62
|
+
return jsxs("th", _objectSpread2(_objectSpread2({}, restProps), {}, {
|
63
63
|
className: classes,
|
64
64
|
onClick: this.onClick,
|
65
65
|
"data-test": joinDataTestAttributes('ring-table-header-cell', dataTest),
|
66
|
-
children: [
|
66
|
+
children: [jsx("span", {
|
67
67
|
onClick: this.onChildrenClick,
|
68
68
|
role: "presentation",
|
69
69
|
children: this.props.children
|
70
|
-
}), column.getHeaderValue ? column.getHeaderValue() : column.title, this.sortable &&
|
70
|
+
}), column.getHeaderValue ? column.getHeaderValue() : column.title, this.sortable && jsx("span", {
|
71
71
|
className: style.sorter,
|
72
|
-
children:
|
72
|
+
children: jsx(Icon, {
|
73
73
|
glyph: glyph,
|
74
74
|
className: style.icon
|
75
75
|
})
|
@@ -28,7 +28,7 @@ export default class Header extends PureComponent<HeaderProps> {
|
|
28
28
|
};
|
29
29
|
id: string;
|
30
30
|
onCheckboxFocus: (event: SyntheticEvent<HTMLElement>) => void;
|
31
|
-
createCells(widths?: never[]): import("react").JSX.Element[];
|
32
|
-
render(): import("react").JSX.Element;
|
31
|
+
createCells(widths?: never[]): import("react/jsx-runtime").JSX.Element[];
|
32
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
33
33
|
}
|
34
34
|
export type HeaderAttrs = JSX.LibraryManagedAttributes<typeof Header, HeaderProps>;
|
@@ -1,12 +1,12 @@
|
|
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 Checkbox from '../checkbox/checkbox.js';
|
6
7
|
import getUID from '../global/get-uid.js';
|
7
8
|
import { s as style } from '../_helpers/table.js';
|
8
9
|
import HeaderCell from './header-cell.js';
|
9
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
10
10
|
import '@jetbrains/icons/checkmark-12px';
|
11
11
|
import '@jetbrains/icons/remove-12px';
|
12
12
|
import '../icon/icon.js';
|
@@ -45,9 +45,9 @@ class Header extends PureComponent {
|
|
45
45
|
sortOrder
|
46
46
|
} = this.props;
|
47
47
|
const metaColumnClasses = classNames(style.metaColumn, style.headerMetaColumn);
|
48
|
-
const metaColumn =
|
48
|
+
const metaColumn = jsx("div", {
|
49
49
|
className: metaColumnClasses,
|
50
|
-
children: selectable &&
|
50
|
+
children: selectable && jsx(Checkbox, {
|
51
51
|
"aria-labelledby": this.id,
|
52
52
|
disabled: checkboxDisabled,
|
53
53
|
checked: checked,
|
@@ -66,7 +66,7 @@ class Header extends PureComponent {
|
|
66
66
|
sortOrder,
|
67
67
|
style: columnStyle
|
68
68
|
};
|
69
|
-
return
|
69
|
+
return jsx(HeaderCell, _objectSpread2(_objectSpread2({
|
70
70
|
"data-test": column.id
|
71
71
|
}, props), {}, {
|
72
72
|
children: index === 0 && (draggable || selectable) && metaColumn
|
@@ -80,7 +80,7 @@ class Header extends PureComponent {
|
|
80
80
|
topStickOffset
|
81
81
|
} = this.props;
|
82
82
|
const regularCells = this.createCells();
|
83
|
-
return
|
83
|
+
return jsxs("thead", {
|
84
84
|
id: this.id,
|
85
85
|
"data-test": "ring-table-header",
|
86
86
|
style: {
|
@@ -90,15 +90,15 @@ class Header extends PureComponent {
|
|
90
90
|
[style.tableHead]: true,
|
91
91
|
[style.subHeaderSticky]: sticky
|
92
92
|
}),
|
93
|
-
children: [caption &&
|
93
|
+
children: [caption && jsx("tr", {
|
94
94
|
"data-test": "ring-table-header-row",
|
95
|
-
children:
|
95
|
+
children: jsx("th", {
|
96
96
|
className: classNames(style.headerCell, style.caption),
|
97
97
|
colSpan: regularCells.length + 1,
|
98
98
|
"data-test": "ring-table-header-cell",
|
99
99
|
children: caption
|
100
100
|
})
|
101
|
-
}),
|
101
|
+
}), jsx("tr", {
|
102
102
|
className: style.subHeader,
|
103
103
|
"data-test": "ring-table-header-row",
|
104
104
|
children: regularCells
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
3
|
-
import { PureComponent, Children, cloneElement } from 'react';
|
4
3
|
import { jsx } from 'react/jsx-runtime';
|
4
|
+
import { PureComponent, Children, cloneElement } from 'react';
|
5
5
|
|
6
6
|
class MultiTable extends PureComponent {
|
7
7
|
constructor() {
|
@@ -115,7 +115,7 @@ class MultiTable extends PureComponent {
|
|
115
115
|
}
|
116
116
|
}
|
117
117
|
render() {
|
118
|
-
return
|
118
|
+
return jsx("div", {
|
119
119
|
"data-test": "ring-multitable",
|
120
120
|
children: Children.map(this.props.children, child => {
|
121
121
|
const props = {
|
@@ -14,5 +14,5 @@ export default class RowWithFocusSensorCallbacks<T extends SelectionItem> extend
|
|
14
14
|
onSelect: (item: T, selected: boolean) => void;
|
15
15
|
onCollapse: () => void;
|
16
16
|
onExpand: () => void;
|
17
|
-
render(): import("react").JSX.Element;
|
17
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
18
18
|
}
|
@@ -1,9 +1,9 @@
|
|
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 } from 'react/jsx-runtime';
|
3
4
|
import { PureComponent } from 'react';
|
4
5
|
import focusSensorHOC from '../global/focus-sensor-hoc.js';
|
5
6
|
import Row from './row.js';
|
6
|
-
import { jsx } from 'react/jsx-runtime';
|
7
7
|
import '../global/composeRefs.js';
|
8
8
|
import 'memoize-one';
|
9
9
|
import 'classnames';
|
@@ -71,7 +71,7 @@ class RowWithFocusSensorCallbacks extends PureComponent {
|
|
71
71
|
});
|
72
72
|
}
|
73
73
|
render() {
|
74
|
-
return
|
74
|
+
return jsx(this.RowWithFocusSensor, _objectSpread2(_objectSpread2({}, this.props), {}, {
|
75
75
|
onFocus: this.onFocus,
|
76
76
|
onSelect: this.onSelect,
|
77
77
|
onCollapse: this.onCollapse,
|
@@ -56,6 +56,6 @@ export default class Row<T extends SelectionItem> extends PureComponent<RowProps
|
|
56
56
|
row?: HTMLElement | null;
|
57
57
|
rowRef: (el: HTMLElement | null) => void;
|
58
58
|
composedRowRef: import("memoize-one").MemoizedFn<(...refs: (React.Ref<HTMLElement> | undefined)[]) => (value: HTMLElement | null) => void>;
|
59
|
-
render():
|
59
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
60
60
|
}
|
61
61
|
export type RowAttrs<T extends SelectionItem> = JSX.LibraryManagedAttributes<typeof Row, RowProps<T>>;
|
package/components/table/row.js
CHANGED
@@ -1,5 +1,6 @@
|
|
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 { jsxs, jsx } from 'react/jsx-runtime';
|
3
4
|
import { PureComponent } from 'react';
|
4
5
|
import classNames from 'classnames';
|
5
6
|
import chevronRightIcon from '@jetbrains/icons/chevron-right';
|
@@ -13,7 +14,6 @@ import getUID from '../global/get-uid.js';
|
|
13
14
|
import { createComposedRef } from '../global/composeRefs.js';
|
14
15
|
import Cell from './cell.js';
|
15
16
|
import { s as style } from '../_helpers/table.js';
|
16
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
17
17
|
import '@jetbrains/icons/checkmark-12px';
|
18
18
|
import '@jetbrains/icons/remove-12px';
|
19
19
|
import '../icon/icon.js';
|
@@ -54,7 +54,7 @@ const DragHandle = _ref => {
|
|
54
54
|
const classes = classNames(style.dragHandle, {
|
55
55
|
[style.visibleDragHandle]: alwaysShowDragHandle
|
56
56
|
});
|
57
|
-
return
|
57
|
+
return jsx(Button, {
|
58
58
|
"data-movable-handle": true,
|
59
59
|
title: dragHandleTitle,
|
60
60
|
className: classes,
|
@@ -157,15 +157,15 @@ class Row extends PureComponent {
|
|
157
157
|
const metaColumnStyle = {
|
158
158
|
paddingLeft: "".concat(gap, "px")
|
159
159
|
};
|
160
|
-
const metaColumn =
|
160
|
+
const metaColumn = jsxs("div", {
|
161
161
|
className: metaColumnClasses,
|
162
162
|
style: metaColumnStyle,
|
163
|
-
children: [draggable &&
|
163
|
+
children: [draggable && jsx(DragHandle, {
|
164
164
|
alwaysShowDragHandle: alwaysShowDragHandle,
|
165
165
|
dragHandleTitle: dragHandleTitle
|
166
|
-
}), selectable &&
|
166
|
+
}), selectable && jsx(Tooltip, {
|
167
167
|
title: checkboxTooltip,
|
168
|
-
children:
|
168
|
+
children: jsx(Checkbox, {
|
169
169
|
"aria-labelledby": this.id,
|
170
170
|
className: showFocus ? 'ring-checkbox_focus' : '',
|
171
171
|
checked: selected,
|
@@ -173,18 +173,18 @@ class Row extends PureComponent {
|
|
173
173
|
onChange: this.onCheckboxChange,
|
174
174
|
tabIndex: -1
|
175
175
|
})
|
176
|
-
}), !selectable && showDisabledSelection &&
|
176
|
+
}), !selectable && showDisabledSelection && jsx(Tooltip, {
|
177
177
|
title: checkboxTooltip,
|
178
|
-
children:
|
178
|
+
children: jsx(Checkbox, {
|
179
179
|
"aria-labelledby": this.id,
|
180
180
|
checked: selected,
|
181
181
|
disabled: true
|
182
182
|
})
|
183
|
-
}), collapsible && collapsed &&
|
183
|
+
}), collapsible && collapsed && jsx(Button, {
|
184
184
|
className: style.rowCollapseExpandButton,
|
185
185
|
icon: chevronRightIcon,
|
186
186
|
onClick: () => onExpand(item)
|
187
|
-
}), collapsible && !collapsed &&
|
187
|
+
}), collapsible && !collapsed && jsx(Button, {
|
188
188
|
className: style.rowCollapseExpandButton,
|
189
189
|
icon: chevronDownIcon,
|
190
190
|
onClick: () => onCollapse(item)
|
@@ -199,14 +199,14 @@ class Row extends PureComponent {
|
|
199
199
|
[style.cellRight]: column.rightAlign
|
200
200
|
}, column.className);
|
201
201
|
const showMetaColumn = draggable || selectable || collapsible || showDisabledSelection || !!level;
|
202
|
-
return
|
202
|
+
return jsxs(Cell, {
|
203
203
|
colSpan: column.colSpan,
|
204
204
|
className: cellClasses,
|
205
205
|
"data-test": getDataTest(item, column),
|
206
206
|
children: [index === 0 && showMetaColumn && metaColumn, value]
|
207
207
|
}, column.id);
|
208
208
|
});
|
209
|
-
return
|
209
|
+
return jsx("tr", _objectSpread2(_objectSpread2(_objectSpread2({
|
210
210
|
id: this.id,
|
211
211
|
ref: this.composedRowRef(this.rowRef, innerRef),
|
212
212
|
className: classes,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { b as _objectSpread2, _ as _defineProperty, a as _objectWithoutProperties } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
3
|
-
import { PureComponent } from 'react';
|
4
3
|
import { jsx } from 'react/jsx-runtime';
|
4
|
+
import { PureComponent } from 'react';
|
5
5
|
|
6
6
|
const _excluded = ["selection", "selectable", "onSelect", "shortcuts"];
|
7
7
|
function selectionShortcutsHOC(ComposedComponent) {
|
@@ -161,7 +161,7 @@ function selectionShortcutsHOC(ComposedComponent) {
|
|
161
161
|
shortcuts
|
162
162
|
} = _this$props,
|
163
163
|
restProps = _objectWithoutProperties(_this$props, _excluded);
|
164
|
-
return
|
164
|
+
return jsx(ComposedComponent, _objectSpread2(_objectSpread2({}, restProps), {}, {
|
165
165
|
selection: selection,
|
166
166
|
selectable: selectable,
|
167
167
|
onSelect: onSelect,
|
@@ -12,6 +12,6 @@ declare class SimpleTable<T extends SelectionItem> extends PureComponent<SimpleT
|
|
12
12
|
selection: Selection<T>;
|
13
13
|
};
|
14
14
|
classes: string;
|
15
|
-
render(): import("react").JSX.Element;
|
15
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
16
16
|
}
|
17
17
|
export default SimpleTable;
|
@@ -1,11 +1,11 @@
|
|
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 } from 'react/jsx-runtime';
|
3
4
|
import { PureComponent } from 'react';
|
4
5
|
import classNames from 'classnames';
|
5
6
|
import { s as style } from '../_helpers/table.js';
|
6
7
|
import TableContainer from './table.js';
|
7
8
|
import Selection$1 from './selection.js';
|
8
|
-
import { jsx } from 'react/jsx-runtime';
|
9
9
|
import 'react-movable';
|
10
10
|
import '../global/focus-sensor-hoc.js';
|
11
11
|
import '../global/composeRefs.js';
|
@@ -69,7 +69,7 @@ class SimpleTable extends PureComponent {
|
|
69
69
|
_defineProperty(this, "classes", classNames(style.disabledHover, this.props.className));
|
70
70
|
}
|
71
71
|
render() {
|
72
|
-
return
|
72
|
+
return jsx(TableContainer, _objectSpread2(_objectSpread2({}, this.props), {}, {
|
73
73
|
className: this.classes
|
74
74
|
}, this.state));
|
75
75
|
}
|
@@ -14,6 +14,6 @@ declare class SmartTable<T extends SelectionItem> extends PureComponent<SmartTab
|
|
14
14
|
};
|
15
15
|
UNSAFE_componentWillReceiveProps(nextProps: SmartTableProps<T>): void;
|
16
16
|
onSelect: (selection: Selection<T>) => void;
|
17
|
-
render(): import("react").JSX.Element;
|
17
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
18
18
|
}
|
19
19
|
export default SmartTable;
|
@@ -1,9 +1,9 @@
|
|
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 } from 'react/jsx-runtime';
|
3
4
|
import { PureComponent } from 'react';
|
4
5
|
import TableContainer from './table.js';
|
5
6
|
import Selection$1 from './selection.js';
|
6
|
-
import { jsx } from 'react/jsx-runtime';
|
7
7
|
import 'classnames';
|
8
8
|
import 'react-movable';
|
9
9
|
import '../global/focus-sensor-hoc.js';
|
@@ -94,7 +94,7 @@ class SmartTable extends PureComponent {
|
|
94
94
|
}
|
95
95
|
}
|
96
96
|
render() {
|
97
|
-
return
|
97
|
+
return jsx(TableContainer, _objectSpread2(_objectSpread2({}, this.props), {}, {
|
98
98
|
selection: this.state.selection,
|
99
99
|
onSelect: this.onSelect
|
100
100
|
}));
|
@@ -97,7 +97,7 @@ export declare class Table<T extends SelectionItem> extends PureComponent<TableP
|
|
97
97
|
onSortEnd: ({ oldIndex, newIndex }: OnChangeMeta) => void;
|
98
98
|
onCheckboxChange: (e: SyntheticEvent<HTMLInputElement>) => void;
|
99
99
|
restoreFocusWithoutScroll: () => void;
|
100
|
-
render():
|
100
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
101
101
|
}
|
102
102
|
export type TableAttrs<T extends SelectionItem> = DisableHoverProps<SelectionShortcutsProps<T, FocusSensorProps<TableProps<T>, HTMLTableRowElement, typeof Table>>>;
|
103
103
|
export default class TableContainer<T extends SelectionItem> extends Component<TableAttrs<T>> {
|
@@ -110,7 +110,7 @@ export default class TableContainer<T extends SelectionItem> extends Component<T
|
|
110
110
|
componentWillUnmount(): void;
|
111
111
|
onMouseMove: () => void;
|
112
112
|
onKeyDown: (e: KeyboardEvent) => void;
|
113
|
-
render():
|
113
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
114
114
|
context: unknown;
|
115
115
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<DisableHoverProps<SelectionShortcutsProps<T, FocusSensorProps<TableProps<T>, HTMLTableRowElement, typeof Table>>>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
116
116
|
forceUpdate(callback?: (() => void) | undefined): void;
|
@@ -137,7 +137,7 @@ export default class TableContainer<T extends SelectionItem> extends Component<T
|
|
137
137
|
componentWillUnmount(): void;
|
138
138
|
onMouseMove: () => void;
|
139
139
|
onKeyDown: (e: KeyboardEvent) => void;
|
140
|
-
render():
|
140
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
141
141
|
context: unknown;
|
142
142
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<DisableHoverProps<SelectionShortcutsProps<T, FocusSensorProps<TableProps<T>, HTMLTableRowElement, typeof Table>>>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
143
143
|
forceUpdate(callback?: (() => void) | undefined): void;
|
@@ -159,5 +159,5 @@ export default class TableContainer<T extends SelectionItem> extends Component<T
|
|
159
159
|
defaultProps: Partial<SelectionShortcutsProps<T, FocusSensorProps<TableProps<T>, HTMLTableRowElement, typeof Table>>> | undefined;
|
160
160
|
contextType?: React.Context<any> | undefined;
|
161
161
|
};
|
162
|
-
render():
|
162
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
163
163
|
}
|
@@ -1,6 +1,7 @@
|
|
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
3
|
import { Component, PureComponent, createElement } from 'react';
|
4
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
4
5
|
import classNames from 'classnames';
|
5
6
|
import { arrayMove, List } from 'react-movable';
|
6
7
|
import focusSensorHOC from '../global/focus-sensor-hoc.js';
|
@@ -12,7 +13,6 @@ import { s as style } from '../_helpers/table.js';
|
|
12
13
|
import selectionShortcutsHOC from './selection-shortcuts-hoc.js';
|
13
14
|
import disableHoverHOC from './disable-hover-hoc.js';
|
14
15
|
import RowWithFocusSensorCallbacks from './row-with-focus-sensor.js';
|
15
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
16
16
|
import '../global/composeRefs.js';
|
17
17
|
import 'memoize-one';
|
18
18
|
import '../shortcuts/core.js';
|
@@ -57,6 +57,9 @@ import '../_helpers/theme.js';
|
|
57
57
|
import './cell.js';
|
58
58
|
|
59
59
|
const _excluded = ["ref"];
|
60
|
+
/**
|
61
|
+
* Interactive table with selection and keyboard navigation support.
|
62
|
+
*/
|
60
63
|
class Table extends PureComponent {
|
61
64
|
constructor() {
|
62
65
|
super(...arguments);
|
@@ -225,18 +228,18 @@ class Table extends PureComponent {
|
|
225
228
|
children,
|
226
229
|
props
|
227
230
|
} = _ref3;
|
228
|
-
const empty =
|
229
|
-
children:
|
231
|
+
const empty = jsx("tr", {
|
232
|
+
children: jsx("td", {
|
230
233
|
colSpan: columnsArray.length || 1,
|
231
234
|
className: style.tableMessage,
|
232
235
|
children: renderEmpty ? renderEmpty() : null
|
233
236
|
})
|
234
237
|
});
|
235
238
|
const tbody = Array.isArray(children) && children.length > 0 ? children : empty;
|
236
|
-
return
|
239
|
+
return jsxs("table", {
|
237
240
|
className: classes,
|
238
241
|
"data-test": "ring-table",
|
239
|
-
children: [
|
242
|
+
children: [jsx(Header, _objectSpread2({}, headerProps)), jsx("tbody", _objectSpread2(_objectSpread2({}, props), {}, {
|
240
243
|
"data-test": "ring-table-body",
|
241
244
|
children: tbody
|
242
245
|
}))]
|
@@ -288,25 +291,25 @@ class Table extends PureComponent {
|
|
288
291
|
}, restProps), {}, {
|
289
292
|
key: (_restProps$key = restProps.key) !== null && _restProps$key !== void 0 ? _restProps$key : getItemKey(value)
|
290
293
|
}));
|
291
|
-
return isDragged ?
|
294
|
+
return isDragged ? jsx("table", {
|
292
295
|
style: _objectSpread2({}, props.style),
|
293
296
|
className: style.draggingTable,
|
294
|
-
children:
|
297
|
+
children: jsx("tbody", {
|
295
298
|
children: row
|
296
299
|
})
|
297
300
|
}) : row;
|
298
301
|
};
|
299
|
-
return
|
302
|
+
return jsxs("div", {
|
300
303
|
className: wrapperClasses,
|
301
304
|
"data-test": "ring-table-wrapper",
|
302
305
|
ref: this.props.innerRef,
|
303
|
-
children: [focused &&
|
306
|
+
children: [focused && jsx(Shortcuts, {
|
304
307
|
map: this.props.shortcutsMap,
|
305
308
|
scope: this.state.shortcutsScope
|
306
|
-
}),
|
309
|
+
}), jsx("div", {
|
307
310
|
role: "presentation",
|
308
311
|
onMouseDown: this.onMouseDown,
|
309
|
-
children: draggable ?
|
312
|
+
children: draggable ? jsx(List, {
|
310
313
|
values: data,
|
311
314
|
renderList: renderList,
|
312
315
|
renderItem: renderItem,
|
@@ -317,9 +320,9 @@ class Table extends PureComponent {
|
|
317
320
|
index
|
318
321
|
}))
|
319
322
|
})
|
320
|
-
}), loading &&
|
323
|
+
}), loading && jsx("div", {
|
321
324
|
className: style.loadingOverlay,
|
322
|
-
children:
|
325
|
+
children: jsx(Loader, {
|
323
326
|
className: loaderClassName
|
324
327
|
})
|
325
328
|
})]
|
@@ -363,7 +366,7 @@ class TableContainer extends Component {
|
|
363
366
|
_defineProperty(this, "Table", getContainer());
|
364
367
|
}
|
365
368
|
render() {
|
366
|
-
return
|
369
|
+
return jsx(this.Table, _objectSpread2({}, this.props));
|
367
370
|
}
|
368
371
|
}
|
369
372
|
|
@@ -6,7 +6,7 @@ export interface FakeMoreButtonProps {
|
|
6
6
|
moreClassName?: string | null | undefined;
|
7
7
|
moreActiveClassName?: string | null | undefined;
|
8
8
|
}
|
9
|
-
export declare const AnchorLink: ({ hasActiveChildren, moreClassName, moreActiveClassName, ...restProps }: Omit<ContainerProps<ButtonButtonProps>, "children"> & FakeMoreButtonProps) => import("react").JSX.Element;
|
9
|
+
export declare const AnchorLink: ({ hasActiveChildren, moreClassName, moreActiveClassName, ...restProps }: Omit<ContainerProps<ButtonButtonProps>, "children"> & FakeMoreButtonProps) => import("react/jsx-runtime").JSX.Element;
|
10
10
|
export interface MoreButtonProps {
|
11
11
|
items: ReactElement<TabProps>[];
|
12
12
|
selected?: string | undefined;
|
@@ -17,5 +17,5 @@ export interface MoreButtonProps {
|
|
17
17
|
morePopupItemClassName?: string | undefined;
|
18
18
|
morePopupBeforeEnd: ReactNode;
|
19
19
|
}
|
20
|
-
export declare const MoreButton: import("react").MemoExoticComponent<({ items, selected, onSelect, moreClassName, moreActiveClassName, morePopupClassName, morePopupItemClassName, morePopupBeforeEnd, }: MoreButtonProps) => import("react").JSX.Element | null>;
|
21
|
-
export declare const FakeMoreButton: import("react").MemoExoticComponent<({ moreClassName, moreActiveClassName, hasActiveChildren }: FakeMoreButtonProps) => import("react").JSX.Element>;
|
20
|
+
export declare const MoreButton: import("react").MemoExoticComponent<({ items, selected, onSelect, moreClassName, moreActiveClassName, morePopupClassName, morePopupItemClassName, morePopupBeforeEnd, }: MoreButtonProps) => import("react/jsx-runtime").JSX.Element | null>;
|
21
|
+
export declare const FakeMoreButton: import("react").MemoExoticComponent<({ moreClassName, moreActiveClassName, hasActiveChildren }: FakeMoreButtonProps) => import("react/jsx-runtime").JSX.Element>;
|