@jetbrains/ring-ui-built 7.0.0-beta.3 → 7.0.0-beta.4
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 +0 -5
- package/components/_helpers/caption.js +1 -5
- package/components/_helpers/card.js +0 -28
- package/components/_helpers/icon__svg.js +0 -6
- package/components/_helpers/input.js +0 -21
- package/components/_helpers/select__filter.js +0 -8
- package/components/_helpers/services-link.js +1 -11
- package/components/_helpers/sidebar.js +0 -9
- package/components/_helpers/tab-link.js +0 -6
- package/components/_helpers/theme.js +1 -1
- package/components/_helpers/title.js +0 -15
- package/components/alert/alert.d.ts +7 -24
- package/components/alert/alert.js +0 -24
- package/components/alert/container.d.ts +0 -5
- package/components/alert/container.js +1 -6
- package/components/alert-service/alert-service.js +0 -1
- package/components/auth/auth.js +0 -1
- package/components/auth/auth__core.d.ts +3 -3
- package/components/auth/auth__core.js +28 -20
- package/components/auth/down-notification.js +0 -9
- package/components/auth/iframe-flow.js +0 -1
- package/components/auth/storage.js +0 -1
- package/components/auth-dialog/auth-dialog.d.ts +0 -18
- package/components/auth-dialog/auth-dialog.js +7 -25
- package/components/auth-dialog-service/auth-dialog-service.js +4 -5
- package/components/avatar/avatar.d.ts +0 -13
- package/components/avatar/avatar.js +0 -13
- package/components/avatar/fallback-avatar.d.ts +1 -10
- package/components/avatar/fallback-avatar.js +0 -6
- package/components/badge/badge.d.ts +0 -10
- package/components/badge/badge.js +1 -11
- package/components/button/button.d.ts +0 -21
- package/components/button/button.js +0 -21
- package/components/button-group/button-group.d.ts +0 -5
- package/components/button-group/button-group.js +1 -6
- package/components/button-group/caption.d.ts +0 -4
- package/components/button-group/caption.js +0 -1
- package/components/button-set/button-set.d.ts +0 -6
- package/components/button-set/button-set.js +1 -7
- package/components/button-toolbar/button-toolbar.d.ts +0 -6
- package/components/button-toolbar/button-toolbar.js +1 -7
- package/components/checkbox/checkbox.d.ts +0 -19
- package/components/checkbox/checkbox.js +0 -18
- package/components/clipboard/clipboard.js +0 -1
- package/components/code/code.d.ts +0 -12
- package/components/code/code.js +0 -12
- package/components/confirm/confirm.d.ts +0 -14
- package/components/confirm/confirm.js +10 -24
- package/components/confirm-service/confirm-service.js +0 -1
- package/components/content-layout/content-layout.d.ts +0 -7
- package/components/content-layout/content-layout.js +0 -7
- package/components/content-layout/sidebar.d.ts +0 -9
- package/components/content-layout/sidebar.js +0 -1
- package/components/contenteditable/contenteditable.d.ts +1 -22
- package/components/contenteditable/contenteditable.js +1 -16
- package/components/control-label/control-label.js +0 -6
- package/components/data-list/data-list.d.ts +0 -2
- package/components/data-list/data-list.js +2 -23
- package/components/data-list/data-list.mock.js +0 -1
- package/components/data-list/item.js +0 -26
- package/components/data-list/title.d.ts +2 -2
- package/components/data-list/title.js +0 -2
- package/components/date-picker/consts.d.ts +0 -2
- package/components/date-picker/consts.js +1 -3
- package/components/date-picker/date-input.d.ts +0 -20
- package/components/date-picker/date-input.js +0 -23
- package/components/date-picker/date-picker.d.ts +0 -29
- package/components/date-picker/date-picker.js +3 -40
- package/components/date-picker/date-popup.d.ts +0 -22
- package/components/date-picker/date-popup.js +1 -24
- package/components/date-picker/day.d.ts +0 -14
- package/components/date-picker/day.js +1 -15
- package/components/date-picker/month-names.d.ts +1 -11
- package/components/date-picker/month-names.js +2 -14
- package/components/date-picker/month-slider.d.ts +0 -9
- package/components/date-picker/month-slider.js +1 -10
- package/components/date-picker/month.d.ts +1 -9
- package/components/date-picker/month.js +1 -6
- package/components/date-picker/months.d.ts +1 -9
- package/components/date-picker/months.js +1 -6
- package/components/date-picker/weekdays.d.ts +2 -8
- package/components/date-picker/weekdays.js +0 -4
- package/components/date-picker/years.d.ts +0 -6
- package/components/date-picker/years.js +1 -7
- package/components/dialog/dialog.d.ts +0 -20
- package/components/dialog/dialog.js +2 -24
- package/components/dropdown/anchor.d.ts +1 -8
- package/components/dropdown/anchor.js +0 -1
- package/components/dropdown/dropdown.d.ts +4 -22
- package/components/dropdown/dropdown.js +0 -22
- package/components/dropdown-menu/dropdown-menu.js +9 -33
- package/components/editable-heading/editable-heading.js +0 -2
- package/components/error-bubble/error-bubble.d.ts +0 -6
- package/components/error-bubble/error-bubble.js +1 -7
- package/components/error-message/error-message.d.ts +0 -10
- package/components/error-message/error-message.js +1 -11
- package/components/footer/footer.js +0 -15
- package/components/global/create-stateful-context.d.ts +0 -4
- package/components/global/create-stateful-context.js +0 -4
- package/components/global/focus-sensor-hoc.js +7 -27
- package/components/global/react-dom-renderer.d.ts +0 -5
- package/components/global/react-dom-renderer.js +0 -5
- package/components/global/theme.d.ts +1 -0
- package/components/global/theme.js +1 -2
- package/components/grid/col.d.ts +0 -14
- package/components/grid/col.js +1 -16
- package/components/grid/grid.d.ts +0 -5
- package/components/grid/grid.js +1 -6
- package/components/grid/row.d.ts +0 -18
- package/components/grid/row.js +1 -19
- package/components/group/group.d.ts +0 -5
- package/components/group/group.js +1 -6
- package/components/header/header-icon.d.ts +0 -22
- package/components/header/header-icon.js +1 -6
- package/components/header/header.d.ts +0 -6
- package/components/header/header.js +0 -7
- package/components/header/logo.d.ts +0 -4
- package/components/header/logo.js +0 -4
- package/components/header/profile.d.ts +1 -39
- package/components/header/profile.js +1 -40
- package/components/header/services-link.d.ts +0 -10
- package/components/header/services-link.js +0 -1
- package/components/header/services.d.ts +0 -14
- package/components/header/services.js +1 -13
- package/components/header/smart-profile.d.ts +0 -9
- package/components/header/smart-profile.js +19 -28
- package/components/header/smart-services.d.ts +0 -4
- package/components/header/smart-services.js +17 -51
- package/components/header/tray.d.ts +0 -5
- package/components/header/tray.js +1 -6
- package/components/heading/heading.js +0 -6
- package/components/icon/icon.d.ts +0 -11
- package/components/icon/icon.js +0 -11
- package/components/icon/icon__svg.d.ts +0 -8
- package/components/icon/icon__svg.js +0 -1
- package/components/icon/index.js +0 -1
- package/components/input/input.js +0 -2
- package/components/island/adaptive-island-hoc.d.ts +0 -1
- package/components/island/adaptive-island-hoc.js +3 -4
- package/components/island/content.d.ts +0 -10
- package/components/island/content.js +2 -12
- package/components/island/header.js +2 -10
- package/components/island/island.d.ts +0 -9
- package/components/island/island.js +1 -9
- package/components/island-legacy/content-legacy.d.ts +0 -5
- package/components/island-legacy/content-legacy.js +1 -6
- package/components/island-legacy/header-legacy.d.ts +0 -5
- package/components/island-legacy/header-legacy.js +1 -6
- package/components/island-legacy/island-legacy.d.ts +0 -5
- package/components/island-legacy/island-legacy.js +1 -6
- package/components/link/clickableLink.d.ts +0 -9
- package/components/link/clickableLink.js +0 -9
- package/components/link/link.d.ts +0 -25
- package/components/link/link.js +3 -16
- package/components/list/list.d.ts +0 -32
- package/components/list/list.js +1 -31
- package/components/list/list__custom.js +0 -17
- package/components/list/list__hint.d.ts +0 -4
- package/components/list/list__hint.js +0 -5
- package/components/list/list__item.js +0 -33
- package/components/list/list__link.js +2 -13
- package/components/list/list__separator.js +0 -6
- package/components/list/list__title.js +0 -7
- package/components/list/list__users-groups-source.js +0 -2
- package/components/loader/loader.d.ts +0 -10
- package/components/loader/loader.js +0 -10
- package/components/loader-inline/loader-inline.d.ts +0 -6
- package/components/loader-inline/loader-inline.js +1 -7
- package/components/loader-screen/loader-screen.d.ts +0 -6
- package/components/loader-screen/loader-screen.js +1 -7
- package/components/login-dialog/login-dialog.d.ts +0 -11
- package/components/login-dialog/login-dialog.js +12 -23
- package/components/login-dialog/service.js +3 -2
- package/components/markdown/markdown.js +0 -5
- package/components/message/message.js +0 -16
- package/components/pager/pager.js +0 -20
- package/components/panel/panel.d.ts +0 -5
- package/components/panel/panel.js +1 -6
- package/components/popup/popup.js +0 -41
- package/components/popup/popup.target.js +0 -5
- package/components/popup-menu/popup-menu.js +1 -12
- package/components/progress-bar/progress-bar.d.ts +19 -33
- package/components/progress-bar/progress-bar.js +0 -33
- package/components/query-assist/query-assist.d.ts +63 -93
- package/components/query-assist/query-assist.js +0 -94
- package/components/query-assist/query-assist__suggestions.js +0 -2
- package/components/radio/radio.d.ts +0 -8
- package/components/radio/radio.js +0 -8
- package/components/radio/radio__item.d.ts +0 -9
- package/components/radio/radio__item.js +0 -10
- package/components/select/select.js +0 -65
- package/components/select/select__filter.js +0 -2
- package/components/select/select__popup.js +1 -52
- package/components/shortcuts/core.js +1 -1
- package/components/shortcuts/shortcuts-hoc.d.ts +0 -5
- package/components/shortcuts/shortcuts-hoc.js +2 -7
- package/components/shortcuts/shortcuts.d.ts +0 -8
- package/components/shortcuts/shortcuts.js +0 -8
- package/components/slider/slider.js +0 -1
- package/components/storage/storage.js +0 -1
- package/components/storage/storage__local.js +0 -1
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.js +0 -8
- package/components/table/cell.d.ts +0 -6
- package/components/table/cell.js +1 -7
- package/components/table/disable-hover-hoc.d.ts +0 -1
- package/components/table/disable-hover-hoc.js +1 -1
- package/components/table/header-cell.d.ts +0 -10
- package/components/table/header-cell.js +0 -10
- package/components/table/header.d.ts +0 -15
- package/components/table/header.js +0 -16
- package/components/table/multitable.d.ts +0 -4
- package/components/table/multitable.js +0 -4
- package/components/table/row-with-focus-sensor.d.ts +2 -2
- package/components/table/row-with-focus-sensor.js +0 -3
- package/components/table/row.js +0 -35
- package/components/table/selection-shortcuts-hoc.js +3 -22
- package/components/table/simple-table.d.ts +0 -44
- package/components/table/simple-table.js +1 -7
- package/components/table/smart-table.d.ts +0 -48
- package/components/table/smart-table.js +1 -10
- package/components/table/table.d.ts +0 -2
- package/components/table/table.js +3 -52
- package/components/tabs/collapsible-more.d.ts +1 -9
- package/components/tabs/collapsible-more.js +0 -24
- package/components/tabs/collapsible-tab.js +1 -9
- package/components/tabs/collapsible-tabs.d.ts +2 -29
- package/components/tabs/collapsible-tabs.js +0 -13
- package/components/tabs/custom-item.d.ts +1 -7
- package/components/tabs/custom-item.js +0 -5
- package/components/tabs/dumb-tabs.d.ts +0 -11
- package/components/tabs/dumb-tabs.js +0 -12
- package/components/tabs/smart-tabs.d.ts +0 -6
- package/components/tabs/smart-tabs.js +0 -7
- package/components/tabs/tab-link.d.ts +0 -8
- package/components/tabs/tab-link.js +0 -1
- package/components/tabs/tab.d.ts +0 -8
- package/components/tabs/tab.js +0 -9
- package/components/tabs/tabs.js +0 -2
- package/components/tag/tag.d.ts +0 -17
- package/components/tag/tag.js +0 -17
- package/components/tags-input/tags-input.d.ts +7 -33
- package/components/tags-input/tags-input.js +1 -34
- package/components/tags-list/tags-list.d.ts +0 -13
- package/components/tags-list/tags-list.js +0 -13
- package/components/text/text.d.ts +0 -7
- package/components/text/text.js +0 -7
- package/components/toggle/toggle.d.ts +0 -15
- package/components/toggle/toggle.js +0 -15
- package/components/tooltip/tooltip.d.ts +0 -9
- package/components/tooltip/tooltip.js +0 -9
- package/components/user-agreement/service.js +0 -1
- package/components/user-agreement/user-agreement.d.ts +0 -18
- package/components/user-agreement/user-agreement.js +11 -29
- package/components/user-card/card.d.ts +0 -35
- package/components/user-card/card.js +0 -1
- package/components/user-card/smart-user-card-tooltip.d.ts +0 -5
- package/components/user-card/smart-user-card-tooltip.js +0 -5
- package/components/user-card/tooltip.d.ts +0 -9
- package/components/user-card/tooltip.js +0 -9
- package/components/user-card/user-card.js +0 -1
- package/package.json +1 -2
- package/components/global/prop-types.d.ts +0 -4
- package/components/global/prop-types.js +0 -7
@@ -1,7 +1,6 @@
|
|
1
|
-
import { _ as _defineProperty,
|
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 {
|
4
|
-
import PropTypes from 'prop-types';
|
3
|
+
import { forwardRef, Component } from 'react';
|
5
4
|
import classNames from 'classnames';
|
6
5
|
import createResizeDetector from 'element-resize-detector';
|
7
6
|
import scheduleRAF from '../global/schedule-raf.js';
|
@@ -112,15 +111,6 @@ class Content extends Component {
|
|
112
111
|
}));
|
113
112
|
}
|
114
113
|
}
|
115
|
-
_defineProperty(Content, "propTypes", {
|
116
|
-
children: PropTypes.node,
|
117
|
-
className: PropTypes.string,
|
118
|
-
scrollableWrapperClassName: PropTypes.string,
|
119
|
-
fade: PropTypes.bool,
|
120
|
-
bottomBorder: PropTypes.bool,
|
121
|
-
onScroll: PropTypes.func,
|
122
|
-
onScrollToBottom: PropTypes.func
|
123
|
-
});
|
124
114
|
_defineProperty(Content, "defaultProps", {
|
125
115
|
fade: true,
|
126
116
|
bottomBorder: false,
|
@@ -1,11 +1,10 @@
|
|
1
|
-
import { _ as _defineProperty,
|
1
|
+
import { _ as _defineProperty, b as _objectSpread2, a as _objectWithoutProperties } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import { Component } from 'react';
|
3
|
-
import PropTypes from 'prop-types';
|
4
3
|
import classNames from 'classnames';
|
5
4
|
import { interpolateLinear } from '../global/linear-function.js';
|
6
5
|
import { m as modules_e6a056e1 } from '../_helpers/island.js';
|
7
6
|
import { PhaseContext } from './adaptive-island-hoc.js';
|
8
|
-
import {
|
7
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
9
8
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
10
9
|
|
11
10
|
const _excluded = ["children", "className", "wrapWithTitle", "border", "phase"];
|
@@ -71,13 +70,6 @@ class Header extends Component {
|
|
71
70
|
}));
|
72
71
|
}
|
73
72
|
}
|
74
|
-
_defineProperty(Header, "propTypes", {
|
75
|
-
children: PropTypes.node,
|
76
|
-
className: PropTypes.string,
|
77
|
-
border: PropTypes.bool,
|
78
|
-
wrapWithTitle: PropTypes.bool,
|
79
|
-
phase: PropTypes.number
|
80
|
-
});
|
81
73
|
_defineProperty(Header, "defaultProps", {
|
82
74
|
wrapWithTitle: true
|
83
75
|
});
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { Component, HTMLAttributes } from 'react';
|
2
|
-
import PropTypes from 'prop-types';
|
3
2
|
export interface IslandProps extends HTMLAttributes<HTMLElement> {
|
4
3
|
narrow?: boolean | null | undefined;
|
5
4
|
withoutPaddings?: boolean | null | undefined;
|
@@ -9,13 +8,6 @@ export interface IslandProps extends HTMLAttributes<HTMLElement> {
|
|
9
8
|
* @name Island
|
10
9
|
*/
|
11
10
|
export default class Island extends Component<IslandProps> {
|
12
|
-
static propTypes: {
|
13
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
14
|
-
className: PropTypes.Requireable<string>;
|
15
|
-
narrow: PropTypes.Requireable<boolean>;
|
16
|
-
withoutPaddings: PropTypes.Requireable<boolean>;
|
17
|
-
'data-test': PropTypes.Requireable<string>;
|
18
|
-
};
|
19
11
|
render(): import("react").JSX.Element;
|
20
12
|
}
|
21
13
|
export declare const AdaptiveIsland: {
|
@@ -71,7 +63,6 @@ export declare const AdaptiveIsland: {
|
|
71
63
|
componentWillUpdate?(nextProps: Readonly<IslandProps>, nextState: Readonly<{}>, nextContext: any): void;
|
72
64
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<IslandProps>, nextState: Readonly<{}>, nextContext: any): void;
|
73
65
|
};
|
74
|
-
propTypes: import("react").WeakValidationMap<IslandProps> | undefined;
|
75
66
|
contextType?: import("react").Context<any> | undefined;
|
76
67
|
};
|
77
68
|
export { default as Header } from './header';
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import { Component } from 'react';
|
3
|
-
import PropTypes from 'prop-types';
|
4
3
|
import classNames from 'classnames';
|
5
4
|
import joinDataTestAttributes from '../global/data-tests.js';
|
6
5
|
import adaptiveIslandHOC from './adaptive-island-hoc.js';
|
@@ -37,13 +36,6 @@ class Island extends Component {
|
|
37
36
|
}));
|
38
37
|
}
|
39
38
|
}
|
40
|
-
_defineProperty(Island, "propTypes", {
|
41
|
-
children: PropTypes.node,
|
42
|
-
className: PropTypes.string,
|
43
|
-
narrow: PropTypes.bool,
|
44
|
-
withoutPaddings: PropTypes.bool,
|
45
|
-
'data-test': PropTypes.string
|
46
|
-
});
|
47
39
|
const AdaptiveIsland = adaptiveIslandHOC(Island);
|
48
40
|
|
49
41
|
export { AdaptiveIsland, Island as default };
|
@@ -1,10 +1,5 @@
|
|
1
1
|
import { HTMLAttributes, PureComponent } from 'react';
|
2
|
-
import PropTypes from 'prop-types';
|
3
2
|
import './island-legacy.css';
|
4
3
|
export default class Content extends PureComponent<HTMLAttributes<HTMLElement>> {
|
5
|
-
static propTypes: {
|
6
|
-
className: PropTypes.Requireable<string>;
|
7
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
8
|
-
};
|
9
4
|
render(): import("react").JSX.Element;
|
10
5
|
}
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import { PureComponent } from 'react';
|
3
|
-
import PropTypes from 'prop-types';
|
4
3
|
import classNames from 'classnames';
|
5
4
|
import { jsx } from 'react/jsx-runtime';
|
6
5
|
|
@@ -20,9 +19,5 @@ class Content extends PureComponent {
|
|
20
19
|
}));
|
21
20
|
}
|
22
21
|
}
|
23
|
-
_defineProperty(Content, "propTypes", {
|
24
|
-
className: PropTypes.string,
|
25
|
-
children: PropTypes.node
|
26
|
-
});
|
27
22
|
|
28
23
|
export { Content as default };
|
@@ -1,10 +1,5 @@
|
|
1
1
|
import { HTMLAttributes, PureComponent } from 'react';
|
2
|
-
import PropTypes from 'prop-types';
|
3
2
|
import './island-legacy.css';
|
4
3
|
export default class Header extends PureComponent<HTMLAttributes<HTMLElement>> {
|
5
|
-
static propTypes: {
|
6
|
-
className: PropTypes.Requireable<string>;
|
7
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
8
|
-
};
|
9
4
|
render(): import("react").JSX.Element;
|
10
5
|
}
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import { PureComponent } from 'react';
|
3
|
-
import PropTypes from 'prop-types';
|
4
3
|
import classNames from 'classnames';
|
5
4
|
import { jsx } from 'react/jsx-runtime';
|
6
5
|
|
@@ -23,9 +22,5 @@ class Header extends PureComponent {
|
|
23
22
|
}));
|
24
23
|
}
|
25
24
|
}
|
26
|
-
_defineProperty(Header, "propTypes", {
|
27
|
-
className: PropTypes.string,
|
28
|
-
children: PropTypes.node
|
29
|
-
});
|
30
25
|
|
31
26
|
export { Header as default };
|
@@ -1,11 +1,6 @@
|
|
1
1
|
import { HTMLAttributes, PureComponent } from 'react';
|
2
|
-
import PropTypes from 'prop-types';
|
3
2
|
import './island-legacy.css';
|
4
3
|
export default class Island extends PureComponent<HTMLAttributes<HTMLElement>> {
|
5
|
-
static propTypes: {
|
6
|
-
className: PropTypes.Requireable<string>;
|
7
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
8
|
-
};
|
9
4
|
render(): import("react").JSX.Element;
|
10
5
|
}
|
11
6
|
export { default as Header } from './header-legacy';
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import { PureComponent } from 'react';
|
3
|
-
import PropTypes from 'prop-types';
|
4
3
|
import classNames from 'classnames';
|
5
4
|
import { jsx } from 'react/jsx-runtime';
|
6
5
|
export { default as Header } from './header-legacy.js';
|
@@ -22,9 +21,5 @@ class Island extends PureComponent {
|
|
22
21
|
}));
|
23
22
|
}
|
24
23
|
}
|
25
|
-
_defineProperty(Island, "propTypes", {
|
26
|
-
className: PropTypes.string,
|
27
|
-
children: PropTypes.node
|
28
|
-
});
|
29
24
|
|
30
25
|
export { Island as default };
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { PureComponent, AnchorHTMLAttributes } from 'react';
|
2
2
|
import * as React from 'react';
|
3
|
-
import PropTypes from 'prop-types';
|
4
3
|
export interface ClickableLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
5
4
|
onConditionalClick?: ((isPlainLeft: boolean, e: React.MouseEvent<HTMLAnchorElement>) => void) | null | undefined;
|
6
5
|
onPlainLeftClick?: ((e: React.MouseEvent<HTMLAnchorElement>) => void) | null | undefined;
|
@@ -8,14 +7,6 @@ export interface ClickableLinkProps extends AnchorHTMLAttributes<HTMLAnchorEleme
|
|
8
7
|
disabled?: boolean | undefined;
|
9
8
|
}
|
10
9
|
export default class ClickableLink extends PureComponent<ClickableLinkProps> {
|
11
|
-
static propTypes: {
|
12
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
13
|
-
onPlainLeftClick: PropTypes.Requireable<(...args: any[]) => any>;
|
14
|
-
onConditionalClick: PropTypes.Requireable<(...args: any[]) => any>;
|
15
|
-
activeClassName: PropTypes.Requireable<string>;
|
16
|
-
href: PropTypes.Validator<string>;
|
17
|
-
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
18
|
-
};
|
19
10
|
onClick: (e: React.MouseEvent<HTMLAnchorElement>) => void;
|
20
11
|
render(): React.JSX.Element;
|
21
12
|
}
|
@@ -1,7 +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
3
|
import { PureComponent } from 'react';
|
4
|
-
import PropTypes from 'prop-types';
|
5
4
|
import { jsx } from 'react/jsx-runtime';
|
6
5
|
|
7
6
|
const _excluded = ["onConditionalClick", "onPlainLeftClick", "activeClassName", "href", "children"];
|
@@ -48,13 +47,5 @@ class ClickableLink extends PureComponent {
|
|
48
47
|
}));
|
49
48
|
}
|
50
49
|
}
|
51
|
-
_defineProperty(ClickableLink, "propTypes", {
|
52
|
-
onClick: PropTypes.func,
|
53
|
-
onPlainLeftClick: PropTypes.func,
|
54
|
-
onConditionalClick: PropTypes.func,
|
55
|
-
activeClassName: PropTypes.string,
|
56
|
-
href: PropTypes.string.isRequired,
|
57
|
-
children: PropTypes.node.isRequired
|
58
|
-
});
|
59
50
|
|
60
51
|
export { ClickableLink as default };
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { ReactNode, ComponentType } from 'react';
|
2
|
-
import PropTypes from 'prop-types';
|
3
2
|
import { ClickableLinkProps } from './clickableLink';
|
4
3
|
/**
|
5
4
|
* @name Link
|
@@ -60,18 +59,6 @@ export declare function linkHOC<P extends ClickableLinkProps>(ComposedComponent:
|
|
60
59
|
componentWillUpdate?(nextProps: Readonly<LinkProps<P>>, nextState: Readonly<{}>, nextContext: any): void;
|
61
60
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<LinkProps<P>>, nextState: Readonly<{}>, nextContext: any): void;
|
62
61
|
};
|
63
|
-
propTypes: {
|
64
|
-
className: PropTypes.Requireable<string>;
|
65
|
-
active: PropTypes.Requireable<boolean>;
|
66
|
-
inherit: PropTypes.Requireable<boolean>;
|
67
|
-
pseudo: PropTypes.Requireable<boolean>;
|
68
|
-
hover: PropTypes.Requireable<boolean>;
|
69
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
70
|
-
'data-test': PropTypes.Requireable<string>;
|
71
|
-
href: PropTypes.Requireable<string>;
|
72
|
-
onPlainLeftClick: PropTypes.Requireable<(...args: any[]) => any>;
|
73
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
74
|
-
};
|
75
62
|
contextType?: import("react").Context<any> | undefined;
|
76
63
|
};
|
77
64
|
declare const _default: {
|
@@ -121,18 +108,6 @@ declare const _default: {
|
|
121
108
|
componentWillUpdate?(nextProps: Readonly<LinkProps<ClickableLinkProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
122
109
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<LinkProps<ClickableLinkProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
123
110
|
};
|
124
|
-
propTypes: {
|
125
|
-
className: PropTypes.Requireable<string>;
|
126
|
-
active: PropTypes.Requireable<boolean>;
|
127
|
-
inherit: PropTypes.Requireable<boolean>;
|
128
|
-
pseudo: PropTypes.Requireable<boolean>;
|
129
|
-
hover: PropTypes.Requireable<boolean>;
|
130
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
131
|
-
'data-test': PropTypes.Requireable<string>;
|
132
|
-
href: PropTypes.Requireable<string>;
|
133
|
-
onPlainLeftClick: PropTypes.Requireable<(...args: any[]) => any>;
|
134
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
135
|
-
};
|
136
111
|
contextType?: import("react").Context<any> | undefined;
|
137
112
|
};
|
138
113
|
export default _default;
|
package/components/link/link.js
CHANGED
@@ -1,6 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import { PureComponent } from 'react';
|
3
|
-
import PropTypes from 'prop-types';
|
4
3
|
import classNames from 'classnames';
|
5
4
|
import joinDataTestAttributes from '../global/data-tests.js';
|
6
5
|
import ClickableLink from './clickableLink.js';
|
@@ -11,9 +10,8 @@ import 'core-js/modules/web.dom-collections.iterator.js';
|
|
11
10
|
|
12
11
|
const _excluded = ["active", "inherit", "pseudo", "hover", "className", "data-test", "href", "children", "onPlainLeftClick", "onClick"];
|
13
12
|
function linkHOC(ComposedComponent) {
|
14
|
-
var _Link;
|
15
13
|
const isCustom = typeof ComposedComponent !== 'string' && ComposedComponent !== ClickableLink;
|
16
|
-
return
|
14
|
+
return class Link extends PureComponent {
|
17
15
|
render() {
|
18
16
|
const _this$props = this.props,
|
19
17
|
{
|
@@ -61,18 +59,7 @@ function linkHOC(ComposedComponent) {
|
|
61
59
|
children: children
|
62
60
|
}));
|
63
61
|
}
|
64
|
-
}
|
65
|
-
className: PropTypes.string,
|
66
|
-
active: PropTypes.bool,
|
67
|
-
inherit: PropTypes.bool,
|
68
|
-
pseudo: PropTypes.bool,
|
69
|
-
hover: PropTypes.bool,
|
70
|
-
children: PropTypes.node,
|
71
|
-
'data-test': PropTypes.string,
|
72
|
-
href: PropTypes.string,
|
73
|
-
onPlainLeftClick: PropTypes.func,
|
74
|
-
onClick: PropTypes.func
|
75
|
-
}), _Link;
|
62
|
+
};
|
76
63
|
}
|
77
64
|
var Link = linkHOC(ClickableLink);
|
78
65
|
|
@@ -2,7 +2,6 @@
|
|
2
2
|
* @name List
|
3
3
|
*/
|
4
4
|
import { Component, ReactNode, SyntheticEvent } from 'react';
|
5
|
-
import PropTypes from 'prop-types';
|
6
5
|
import VirtualizedList, { ListRowProps } from 'react-virtualized/dist/es/List';
|
7
6
|
import { Size } from 'react-virtualized/dist/es/AutoSizer';
|
8
7
|
import { WindowScrollerChildProps } from 'react-virtualized/dist/es/WindowScroller';
|
@@ -52,9 +51,6 @@ export declare const ActiveItemContext: {
|
|
52
51
|
UpdateContext: import("react").Context<(value: string | undefined) => void>;
|
53
52
|
Provider: {
|
54
53
|
({ children }: import("../global/create-stateful-context").ProviderProps): import("react").JSX.Element;
|
55
|
-
propTypes: {
|
56
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
57
|
-
};
|
58
54
|
displayName: string;
|
59
55
|
};
|
60
56
|
useUpdate: (value: string | undefined, skipUpdate?: boolean) => void;
|
@@ -89,34 +85,6 @@ interface RenderVirtualizedInnerParams extends Partial<WindowScrollerChildProps>
|
|
89
85
|
* Displays a list of items.
|
90
86
|
*/
|
91
87
|
export default class List<T = unknown> extends Component<ListProps<T>, ListState<T>> {
|
92
|
-
static propTypes: {
|
93
|
-
id: PropTypes.Requireable<string>;
|
94
|
-
className: PropTypes.Requireable<string>;
|
95
|
-
hint: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
96
|
-
hintOnSelection: PropTypes.Requireable<string>;
|
97
|
-
data: PropTypes.Requireable<any[]>;
|
98
|
-
maxHeight: PropTypes.Requireable<number>;
|
99
|
-
activeIndex: PropTypes.Requireable<number>;
|
100
|
-
restoreActiveIndex: PropTypes.Requireable<boolean>;
|
101
|
-
activateSingleItem: PropTypes.Requireable<boolean>;
|
102
|
-
activateFirstItem: PropTypes.Requireable<boolean>;
|
103
|
-
shortcuts: PropTypes.Requireable<boolean>;
|
104
|
-
shortcutsMap: PropTypes.Requireable<object>;
|
105
|
-
onMouseOut: PropTypes.Requireable<(...args: any[]) => any>;
|
106
|
-
onSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
107
|
-
onScrollToBottom: PropTypes.Requireable<(...args: any[]) => any>;
|
108
|
-
onResize: PropTypes.Requireable<(...args: any[]) => any>;
|
109
|
-
useMouseUp: PropTypes.Requireable<boolean>;
|
110
|
-
visible: PropTypes.Requireable<boolean>;
|
111
|
-
renderOptimization: PropTypes.Requireable<boolean>;
|
112
|
-
disableMoveOverflow: PropTypes.Requireable<boolean>;
|
113
|
-
disableMoveDownOverflow: PropTypes.Requireable<boolean>;
|
114
|
-
compact: PropTypes.Requireable<boolean>;
|
115
|
-
disableScrollToActive: PropTypes.Requireable<boolean>;
|
116
|
-
hidden: PropTypes.Requireable<boolean>;
|
117
|
-
ariaLabel: PropTypes.Requireable<string>;
|
118
|
-
preventListOverscroll: PropTypes.Requireable<boolean>;
|
119
|
-
};
|
120
88
|
static defaultProps: {
|
121
89
|
data: never[];
|
122
90
|
restoreActiveIndex: boolean;
|
package/components/list/list.js
CHANGED
@@ -1,8 +1,7 @@
|
|
1
|
-
import { _ as _defineProperty,
|
1
|
+
import { _ as _defineProperty, b as _objectSpread2, a as _objectWithoutProperties } 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
4
|
import { Component, createElement } from 'react';
|
5
|
-
import PropTypes from 'prop-types';
|
6
5
|
import classNames from 'classnames';
|
7
6
|
import VirtualizedList from 'react-virtualized/dist/es/List';
|
8
7
|
import AutoSizer from 'react-virtualized/dist/es/AutoSizer';
|
@@ -45,7 +44,6 @@ import '@jetbrains/icons/remove-12px';
|
|
45
44
|
import '../icon/icon.js';
|
46
45
|
import '../icon/icon__constants.js';
|
47
46
|
import '../_helpers/icon__svg.js';
|
48
|
-
import '../global/prop-types.js';
|
49
47
|
import '../global/composeRefs.js';
|
50
48
|
import '../control-help/control-help.js';
|
51
49
|
import '../global/get-event-key.js';
|
@@ -677,34 +675,6 @@ class List extends Component {
|
|
677
675
|
});
|
678
676
|
}
|
679
677
|
}
|
680
|
-
_defineProperty(List, "propTypes", {
|
681
|
-
id: PropTypes.string,
|
682
|
-
className: PropTypes.string,
|
683
|
-
hint: PropTypes.node,
|
684
|
-
hintOnSelection: PropTypes.string,
|
685
|
-
data: PropTypes.array,
|
686
|
-
maxHeight: PropTypes.number,
|
687
|
-
activeIndex: PropTypes.number,
|
688
|
-
restoreActiveIndex: PropTypes.bool,
|
689
|
-
activateSingleItem: PropTypes.bool,
|
690
|
-
activateFirstItem: PropTypes.bool,
|
691
|
-
shortcuts: PropTypes.bool,
|
692
|
-
shortcutsMap: PropTypes.object,
|
693
|
-
onMouseOut: PropTypes.func,
|
694
|
-
onSelect: PropTypes.func,
|
695
|
-
onScrollToBottom: PropTypes.func,
|
696
|
-
onResize: PropTypes.func,
|
697
|
-
useMouseUp: PropTypes.bool,
|
698
|
-
visible: PropTypes.bool,
|
699
|
-
renderOptimization: PropTypes.bool,
|
700
|
-
disableMoveOverflow: PropTypes.bool,
|
701
|
-
disableMoveDownOverflow: PropTypes.bool,
|
702
|
-
compact: PropTypes.bool,
|
703
|
-
disableScrollToActive: PropTypes.bool,
|
704
|
-
hidden: PropTypes.bool,
|
705
|
-
ariaLabel: PropTypes.string,
|
706
|
-
preventListOverscroll: PropTypes.bool
|
707
|
-
});
|
708
678
|
_defineProperty(List, "defaultProps", {
|
709
679
|
data: [],
|
710
680
|
restoreActiveIndex: false,
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { _ as _defineProperty, a as _objectWithoutProperties } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
3
3
|
import { PureComponent } from 'react';
|
4
|
-
import PropTypes from 'prop-types';
|
5
4
|
import classNames from 'classnames';
|
6
5
|
import joinDataTestAttributes from '../global/data-tests.js';
|
7
6
|
import getEventKey from '../global/get-event-key.js';
|
@@ -62,21 +61,5 @@ class ListCustom extends PureComponent {
|
|
62
61
|
});
|
63
62
|
}
|
64
63
|
}
|
65
|
-
ListCustom.propTypes = {
|
66
|
-
scrolling: PropTypes.bool.isRequired,
|
67
|
-
hover: PropTypes.bool.isRequired,
|
68
|
-
className: PropTypes.string,
|
69
|
-
disabled: PropTypes.bool,
|
70
|
-
rgItemType: PropTypes.number,
|
71
|
-
tabIndex: PropTypes.number.isRequired,
|
72
|
-
template: PropTypes.oneOfType([PropTypes.func, PropTypes.element, PropTypes.string]),
|
73
|
-
onClick: PropTypes.func.isRequired,
|
74
|
-
onMouseOver: PropTypes.func.isRequired,
|
75
|
-
onMouseUp: PropTypes.func,
|
76
|
-
onCheckboxChange: PropTypes.func.isRequired,
|
77
|
-
role: PropTypes.string,
|
78
|
-
tagName: PropTypes.string,
|
79
|
-
'data-test': PropTypes.string
|
80
|
-
};
|
81
64
|
|
82
65
|
export { ListCustom as default };
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { PureComponent, ReactNode } from 'react';
|
2
|
-
import PropTypes from 'prop-types';
|
3
2
|
export interface ListHintProps {
|
4
3
|
label: ReactNode;
|
5
4
|
}
|
@@ -8,8 +7,5 @@ export interface ListHintProps {
|
|
8
7
|
* @extends {ReactComponent}
|
9
8
|
*/
|
10
9
|
export default class ListHint extends PureComponent<ListHintProps> {
|
11
|
-
static propTypes: {
|
12
|
-
label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
13
|
-
};
|
14
10
|
render(): import("react").JSX.Element;
|
15
11
|
}
|
@@ -1,6 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
1
|
import { PureComponent } from 'react';
|
3
|
-
import PropTypes from 'prop-types';
|
4
2
|
import classNames from 'classnames';
|
5
3
|
import { m as modules_3b67a421 } from '../_helpers/list.js';
|
6
4
|
import { jsx } from 'react/jsx-runtime';
|
@@ -14,8 +12,5 @@ class ListHint extends PureComponent {
|
|
14
12
|
});
|
15
13
|
}
|
16
14
|
}
|
17
|
-
_defineProperty(ListHint, "propTypes", {
|
18
|
-
label: PropTypes.node
|
19
|
-
});
|
20
15
|
|
21
16
|
export { ListHint as default };
|
@@ -2,7 +2,6 @@ import { _ as _defineProperty, a as _objectWithoutProperties } from '../_helpers
|
|
2
2
|
import 'core-js/modules/es.symbol.description.js';
|
3
3
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
4
4
|
import { PureComponent } from 'react';
|
5
|
-
import PropTypes from 'prop-types';
|
6
5
|
import classNames from 'classnames';
|
7
6
|
import joinDataTestAttributes from '../global/data-tests.js';
|
8
7
|
import Avatar, { Size } from '../avatar/avatar.js';
|
@@ -19,7 +18,6 @@ import '../global/dom.js';
|
|
19
18
|
import '../avatar/fallback-avatar.js';
|
20
19
|
import '@jetbrains/icons/checkmark-12px';
|
21
20
|
import '@jetbrains/icons/remove-12px';
|
22
|
-
import '../global/prop-types.js';
|
23
21
|
import '../global/composeRefs.js';
|
24
22
|
import 'memoize-one';
|
25
23
|
import '../control-help/control-help.js';
|
@@ -180,36 +178,5 @@ class ListItem extends PureComponent {
|
|
180
178
|
});
|
181
179
|
}
|
182
180
|
}
|
183
|
-
ListItem.propTypes = {
|
184
|
-
scrolling: PropTypes.bool,
|
185
|
-
hover: PropTypes.bool,
|
186
|
-
details: PropTypes.string,
|
187
|
-
disabled: PropTypes.bool,
|
188
|
-
className: PropTypes.string,
|
189
|
-
tabIndex: PropTypes.number,
|
190
|
-
checkbox: PropTypes.bool,
|
191
|
-
description: PropTypes.oneOfType([PropTypes.string, PropTypes.element, PropTypes.array]),
|
192
|
-
showGeneratedAvatar: PropTypes.bool,
|
193
|
-
username: PropTypes.string,
|
194
|
-
avatar: PropTypes.string,
|
195
|
-
subavatar: PropTypes.string,
|
196
|
-
glyph: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),
|
197
|
-
icon: PropTypes.string,
|
198
|
-
iconSize: PropTypes.number,
|
199
|
-
rightNodes: PropTypes.oneOfType([PropTypes.string, PropTypes.element, PropTypes.array]),
|
200
|
-
leftNodes: PropTypes.oneOfType([PropTypes.string, PropTypes.element, PropTypes.array]),
|
201
|
-
label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
202
|
-
title: PropTypes.string,
|
203
|
-
level: PropTypes.number,
|
204
|
-
rgItemType: PropTypes.number,
|
205
|
-
rightGlyph: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),
|
206
|
-
compact: PropTypes.bool,
|
207
|
-
onClick: PropTypes.func,
|
208
|
-
onCheckboxChange: PropTypes.func,
|
209
|
-
onMouseOver: PropTypes.func,
|
210
|
-
onMouseDown: PropTypes.func,
|
211
|
-
onMouseUp: PropTypes.func,
|
212
|
-
'data-test': PropTypes.string
|
213
|
-
};
|
214
181
|
|
215
182
|
export { ListItem as default };
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.symbol.description.js';
|
3
|
-
import {
|
4
|
-
import PropTypes from 'prop-types';
|
3
|
+
import { PureComponent } from 'react';
|
5
4
|
import classNames from 'classnames';
|
6
5
|
import Link, { linkHOC } from '../link/link.js';
|
7
6
|
import joinDataTestAttributes from '../global/data-tests.js';
|
@@ -49,15 +48,5 @@ class ListLink extends PureComponent {
|
|
49
48
|
}));
|
50
49
|
}
|
51
50
|
}
|
52
|
-
ListLink.propTypes = _objectSpread2(_objectSpread2({}, Link.propTypes), {}, {
|
53
|
-
description: PropTypes.string,
|
54
|
-
label: PropTypes.oneOfType([PropTypes.element, PropTypes.string, PropTypes.func]),
|
55
|
-
rgItemType: PropTypes.number,
|
56
|
-
scrolling: PropTypes.bool.isRequired,
|
57
|
-
url: PropTypes.string,
|
58
|
-
LinkComponent: PropTypes.oneOfType([PropTypes.instanceOf(Component), PropTypes.func, PropTypes.string]),
|
59
|
-
onCheckboxChange: PropTypes.func.isRequired,
|
60
|
-
compact: PropTypes.bool
|
61
|
-
});
|
62
51
|
|
63
52
|
export { ListLink as default };
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import 'core-js/modules/es.symbol.description.js';
|
2
2
|
import { PureComponent } from 'react';
|
3
|
-
import PropTypes from 'prop-types';
|
4
3
|
import classNames from 'classnames';
|
5
4
|
import { m as modules_3b67a421 } from '../_helpers/list.js';
|
6
5
|
import { jsx } from 'react/jsx-runtime';
|
@@ -21,10 +20,5 @@ class ListSeparator extends PureComponent {
|
|
21
20
|
});
|
22
21
|
}
|
23
22
|
}
|
24
|
-
ListSeparator.propTypes = {
|
25
|
-
className: PropTypes.string,
|
26
|
-
description: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),
|
27
|
-
isFirst: PropTypes.bool
|
28
|
-
};
|
29
23
|
|
30
24
|
export { ListSeparator as default };
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import 'core-js/modules/es.symbol.description.js';
|
2
2
|
import { PureComponent } from 'react';
|
3
|
-
import PropTypes from 'prop-types';
|
4
3
|
import classNames from 'classnames';
|
5
4
|
import { m as modules_3b67a421 } from '../_helpers/list.js';
|
6
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
@@ -31,11 +30,5 @@ class ListTitle extends PureComponent {
|
|
31
30
|
});
|
32
31
|
}
|
33
32
|
}
|
34
|
-
ListTitle.propTypes = {
|
35
|
-
className: PropTypes.string,
|
36
|
-
description: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),
|
37
|
-
label: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),
|
38
|
-
isFirst: PropTypes.bool
|
39
|
-
};
|
40
33
|
|
41
34
|
export { ListTitle as default };
|
@@ -6,7 +6,6 @@ import List from './list.js';
|
|
6
6
|
import '../hub-source/hub-source.js';
|
7
7
|
import 'core-js/modules/es.symbol.description.js';
|
8
8
|
import 'react';
|
9
|
-
import 'prop-types';
|
10
9
|
import 'classnames';
|
11
10
|
import 'react-virtualized/dist/es/List';
|
12
11
|
import 'react-virtualized/dist/es/AutoSizer';
|
@@ -44,7 +43,6 @@ import '@jetbrains/icons/remove-12px';
|
|
44
43
|
import '../icon/icon.js';
|
45
44
|
import '../icon/icon__constants.js';
|
46
45
|
import '../_helpers/icon__svg.js';
|
47
|
-
import '../global/prop-types.js';
|
48
46
|
import '../global/composeRefs.js';
|
49
47
|
import '../control-help/control-help.js';
|
50
48
|
import './list__custom.js';
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { HTMLAttributes, PureComponent } from 'react';
|
2
|
-
import PropTypes from 'prop-types';
|
3
2
|
import LoaderCore, { LoaderCoreProps } from './loader__core';
|
4
3
|
export interface LoaderProps extends Partial<LoaderCoreProps>, HTMLAttributes<HTMLElement> {
|
5
4
|
'data-test'?: string | null | undefined;
|
@@ -11,15 +10,6 @@ export interface LoaderProps extends Partial<LoaderCoreProps>, HTMLAttributes<HT
|
|
11
10
|
* Displays a large animated loader with an optional caption. Typical use cases: page loading animation, major action animation.
|
12
11
|
*/
|
13
12
|
export default class Loader extends PureComponent<LoaderProps> {
|
14
|
-
static propTypes: {
|
15
|
-
className: PropTypes.Requireable<string>;
|
16
|
-
size: PropTypes.Requireable<number>;
|
17
|
-
colors: PropTypes.Requireable<any[]>;
|
18
|
-
message: PropTypes.Requireable<string>;
|
19
|
-
'data-test': PropTypes.Requireable<string>;
|
20
|
-
stop: PropTypes.Requireable<boolean>;
|
21
|
-
deterministic: PropTypes.Requireable<boolean>;
|
22
|
-
};
|
23
13
|
componentDidUpdate(prevProps: LoaderProps): void;
|
24
14
|
componentWillUnmount(): void;
|
25
15
|
loader?: LoaderCore;
|