@jetbrains/ring-ui-built 7.0.6-beta.0 → 7.0.7
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 +6 -10
- package/components/_helpers/button__classes.js +1 -1
- package/components/_helpers/dialog__body-scroll-preventer.js +1 -1
- package/components/_helpers/tab-link.js +1 -1
- package/components/_helpers/theme.js +2 -2
- package/components/alert/alert.js +1 -0
- package/components/alert-service/alert-service.js +1 -0
- package/components/auth/auth.js +1 -0
- package/components/auth/auth__core.js +2 -1
- package/components/auth/down-notification.js +1 -0
- package/components/auth/iframe-flow.js +1 -0
- package/components/auth/storage.js +1 -0
- package/components/auth-dialog/auth-dialog.js +1 -0
- package/components/auth-dialog-service/auth-dialog-service.js +1 -0
- package/components/button/button.js +2 -1
- package/components/clipboard/clipboard.js +2 -1
- package/components/collapse/collapse-content.js +1 -1
- package/components/confirm/confirm.js +1 -0
- package/components/confirm-service/confirm-service.js +2 -1
- package/components/data-list/data-list.js +3 -2
- package/components/data-list/data-list.mock.js +1 -0
- package/components/data-list/item.js +1 -0
- package/components/date-picker/date-input.js +1 -0
- package/components/date-picker/date-picker.js +1 -1
- package/components/date-picker/date-popup.js +1 -0
- package/components/date-picker/month-names.js +1 -1
- package/components/date-picker/months.js +1 -1
- package/components/date-picker/years.js +1 -1
- package/components/dialog/dialog.js +5 -1
- package/components/dropdown/anchor.js +4 -4
- package/components/dropdown/dropdown.js +4 -4
- package/components/dropdown-menu/dropdown-menu.js +1 -1
- package/components/editable-heading/editable-heading.js +1 -0
- package/components/global/create-stateful-context.js +1 -1
- package/components/global/focus-sensor-hoc.js +1 -1
- package/components/header/header-icon.js +1 -0
- package/components/header/header.js +1 -1
- package/components/header/profile.js +1 -1
- package/components/header/services.js +5 -5
- package/components/header/smart-profile.js +1 -1
- package/components/header/smart-services.js +4 -4
- package/components/heading/heading.js +1 -1
- package/components/i18n/i18n-context.js +1 -1
- package/components/input/input.js +1 -0
- package/components/island/adaptive-island-hoc.js +1 -1
- package/components/island/content.js +2 -2
- package/components/island/header.js +2 -2
- package/components/list/list.js +7 -3
- package/components/login-dialog/login-dialog.js +1 -0
- package/components/login-dialog/service.js +1 -0
- package/components/message/message.js +1 -0
- package/components/pager/pager.js +1 -1
- package/components/panel/panel.js +3 -1
- package/components/popup/popup.js +1 -1
- package/components/popup/position.js +2 -2
- package/components/popup-menu/popup-menu.js +4 -1
- package/components/query-assist/query-assist.js +6 -1
- package/components/radio/radio__item.js +3 -3
- package/components/select/select.js +5 -2
- package/components/select/select__filter.js +1 -0
- package/components/select/select__popup.js +1 -0
- package/components/slider/slider.js +1 -1
- package/components/storage/storage.js +1 -0
- package/components/storage/storage__local.js +1 -0
- package/components/style.css +1 -1
- package/components/table/header-cell.js +3 -3
- package/components/table/header.js +2 -2
- package/components/table/row-with-focus-sensor.js +1 -0
- package/components/table/row.js +1 -0
- package/components/table/selection-shortcuts-hoc.js +1 -1
- package/components/table/simple-table.js +2 -2
- package/components/table/smart-table.js +2 -2
- package/components/table/table.js +6 -8
- package/components/tabs/collapsible-more.d.ts +2 -2
- package/components/tabs/collapsible-more.js +11 -14
- package/components/tabs/collapsible-tabs.js +1 -1
- package/components/tabs/dumb-tabs.js +1 -1
- package/components/tabs/smart-tabs.js +1 -1
- package/components/tabs/tabs.js +1 -1
- package/components/tag/tag.js +1 -0
- package/components/tags-input/tags-input.js +3 -3
- package/components/tags-list/tags-list.js +1 -0
- package/components/user-agreement/service.js +2 -1
- package/components/user-agreement/user-agreement.js +1 -0
- package/components/user-card/card.js +1 -0
- package/components/user-card/smart-user-card-tooltip.js +4 -4
- package/components/user-card/tooltip.js +5 -5
- package/components/user-card/user-card.js +1 -1
- package/package.json +3 -3
@@ -1,10 +1,10 @@
|
|
1
|
-
import { _ as _defineProperty,
|
1
|
+
import { _ as _defineProperty, a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import { Component } from 'react';
|
3
3
|
import classNames from 'classnames';
|
4
4
|
import { interpolateLinear } from '../global/linear-function.js';
|
5
5
|
import { s as styles } from '../_helpers/island.js';
|
6
6
|
import { PhaseContext } from './adaptive-island-hoc.js';
|
7
|
-
import {
|
7
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
8
8
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
9
9
|
|
10
10
|
const _excluded = ["children", "className", "wrapWithTitle", "border", "phase"];
|
package/components/list/list.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty,
|
1
|
+
import { _ as _defineProperty, a as _objectWithoutProperties, 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
4
|
import { Component, createElement } from 'react';
|
@@ -22,7 +22,7 @@ import ListCustom from './list__custom.js';
|
|
22
22
|
import ListTitle from './list__title.js';
|
23
23
|
import ListSeparator from './list__separator.js';
|
24
24
|
import ListHint from './list__hint.js';
|
25
|
-
import { Type,
|
25
|
+
import { Type, DEFAULT_ITEM_TYPE, Dimension } from './consts.js';
|
26
26
|
import { s as styles } from '../_helpers/list.js';
|
27
27
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
28
28
|
import 'core-js/modules/es.regexp.exec.js';
|
@@ -311,7 +311,11 @@ class List extends Component {
|
|
311
311
|
});
|
312
312
|
} else {
|
313
313
|
// Hack around SelectNG implementation
|
314
|
-
const
|
314
|
+
const {
|
315
|
+
selectedLabel,
|
316
|
+
originalModel
|
317
|
+
} = item,
|
318
|
+
restProps = _objectWithoutProperties(item, _excluded);
|
315
319
|
const cleanedProps = restProps;
|
316
320
|
if (cleanedProps.url) {
|
317
321
|
cleanedProps.href = cleanedProps.url;
|
@@ -28,6 +28,7 @@ import '../tab-trap/tab-trap.js';
|
|
28
28
|
import '../global/dom.js';
|
29
29
|
import '../button/button.js';
|
30
30
|
import '@jetbrains/icons/chevron-down';
|
31
|
+
import '@jetbrains/icons/chevron-12px-down';
|
31
32
|
import 'util-deprecate';
|
32
33
|
import '../icon/icon.js';
|
33
34
|
import '../icon/icon__constants.js';
|
@@ -29,6 +29,7 @@ import '../tab-trap/tab-trap.js';
|
|
29
29
|
import '../global/dom.js';
|
30
30
|
import '../button/button.js';
|
31
31
|
import '@jetbrains/icons/chevron-down';
|
32
|
+
import '@jetbrains/icons/chevron-12px-down';
|
32
33
|
import 'util-deprecate';
|
33
34
|
import '../icon/icon.js';
|
34
35
|
import '../icon/icon__constants.js';
|
@@ -32,6 +32,7 @@ import '../icon/icon__constants.js';
|
|
32
32
|
import '../_helpers/icon__svg.js';
|
33
33
|
import '../global/memoize.js';
|
34
34
|
import '@jetbrains/icons/chevron-down';
|
35
|
+
import '@jetbrains/icons/chevron-12px-down';
|
35
36
|
import '../link/clickableLink.js';
|
36
37
|
import '../global/controls-height.js';
|
37
38
|
import '../_helpers/button__classes.js';
|
@@ -14,6 +14,7 @@ import Icon from '../icon/icon.js';
|
|
14
14
|
import { I18nContext } from '../i18n/i18n-context.js';
|
15
15
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
16
16
|
import '@jetbrains/icons/chevron-down';
|
17
|
+
import '@jetbrains/icons/chevron-12px-down';
|
17
18
|
import 'util-deprecate';
|
18
19
|
import '../link/clickableLink.js';
|
19
20
|
import '../global/controls-height.js';
|
@@ -32,7 +33,6 @@ import 'dequal';
|
|
32
33
|
import '../dropdown/dropdown.js';
|
33
34
|
import '../global/typescript-utils.js';
|
34
35
|
import '../_helpers/anchor.js';
|
35
|
-
import '@jetbrains/icons/chevron-10px';
|
36
36
|
import '../avatar/avatar.js';
|
37
37
|
import '../global/url.js';
|
38
38
|
import '../global/dom.js';
|
@@ -15,7 +15,9 @@ class Panel extends PureComponent {
|
|
15
15
|
} = _this$props,
|
16
16
|
props = _objectWithoutProperties(_this$props, _excluded);
|
17
17
|
const classes = classNames(styles.panel, className);
|
18
|
-
return /*#__PURE__*/jsx("div", _objectSpread2(_objectSpread2({
|
18
|
+
return /*#__PURE__*/jsx("div", _objectSpread2(_objectSpread2({
|
19
|
+
"data-test": "ring-panel"
|
20
|
+
}, props), {}, {
|
19
21
|
className: classes,
|
20
22
|
children: children
|
21
23
|
}));
|
@@ -12,7 +12,7 @@ import Shortcuts from '../shortcuts/shortcuts.js';
|
|
12
12
|
import joinDataTestAttributes from '../global/data-tests.js';
|
13
13
|
import TabTrap from '../tab-trap/tab-trap.js';
|
14
14
|
import position from './position.js';
|
15
|
-
import { Display,
|
15
|
+
import { DEFAULT_DIRECTIONS, Display, MaxHeight, MinWidth, Dimension, Directions } from './popup.consts.js';
|
16
16
|
import { PopupTargetContext, PopupTarget } from './popup.target.js';
|
17
17
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
18
18
|
import '../shortcuts/core.js';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.sort.js';
|
3
|
-
import { getRect, isMounted,
|
4
|
-
import { MaxHeight, Dimension, MinWidth
|
3
|
+
import { getRect, isMounted, getDocumentScrollLeft, getDocumentScrollTop, getWindowHeight } from '../global/dom.js';
|
4
|
+
import { Directions, MaxHeight, Dimension, MinWidth } from './popup.consts.js';
|
5
5
|
import 'core-js/modules/es.regexp.exec.js';
|
6
6
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
7
7
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty,
|
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 Popup from '../popup/popup.js';
|
4
4
|
import List from '../list/list.js';
|
@@ -73,6 +73,9 @@ class PopupMenu extends Popup {
|
|
73
73
|
/** @override */
|
74
74
|
getInternalContent() {
|
75
75
|
const _this$props = this.props,
|
76
|
+
{
|
77
|
+
className
|
78
|
+
} = _this$props,
|
76
79
|
props = _objectWithoutProperties(_this$props, _excluded);
|
77
80
|
return /*#__PURE__*/jsx("div", {
|
78
81
|
children: /*#__PURE__*/jsx(List, _objectSpread2(_objectSpread2({
|
@@ -70,6 +70,7 @@ import 'sniffr';
|
|
70
70
|
import '../icon/icon__constants.js';
|
71
71
|
import '../_helpers/icon__svg.js';
|
72
72
|
import '@jetbrains/icons/chevron-down';
|
73
|
+
import '@jetbrains/icons/chevron-12px-down';
|
73
74
|
import '../_helpers/button__classes.js';
|
74
75
|
import '../control-label/control-label.js';
|
75
76
|
import '../i18n/i18n.js';
|
@@ -329,7 +330,10 @@ class QueryAssist extends Component {
|
|
329
330
|
}
|
330
331
|
});
|
331
332
|
_defineProperty(this, "handleStyleRangesResponse", _ref3 => {
|
332
|
-
let
|
333
|
+
let {
|
334
|
+
suggestions
|
335
|
+
} = _ref3,
|
336
|
+
restProps = _objectWithoutProperties(_ref3, _excluded);
|
333
337
|
return this.handleResponse(restProps);
|
334
338
|
});
|
335
339
|
_defineProperty(this, "handleResponse", function (_ref4) {
|
@@ -889,6 +893,7 @@ class QueryAssist extends Component {
|
|
889
893
|
onClick: this.handleCaretMove,
|
890
894
|
"data-test": "query-assist-placeholder",
|
891
895
|
disabled: this.props.disabled,
|
896
|
+
tabIndex: -1,
|
892
897
|
children: this.props.placeholder
|
893
898
|
}), actions.length ? /*#__PURE__*/jsx("div", {
|
894
899
|
"data-test": "ring-query-assist-actions",
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { a as _objectWithoutProperties, _ as _defineProperty, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
3
|
-
import { createContext, Component
|
3
|
+
import { forwardRef, createContext, Component } from 'react';
|
4
4
|
import classNames from 'classnames';
|
5
5
|
import getUID from '../global/get-uid.js';
|
6
6
|
import ControlHelp from '../control-help/control-help.js';
|
7
|
-
import {
|
7
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
8
8
|
|
9
9
|
var styles = {"radio":"radio_rui_798a","circle":"circle_rui_798a","input":"input_rui_798a","focus":"focus_rui_798a","label":"label_rui_798a"};
|
10
10
|
|
@@ -28,9 +28,9 @@ import { ControlsHeight, ControlsHeightContext } from '../global/controls-height
|
|
28
28
|
import SelectPopup from './select__popup.js';
|
29
29
|
import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
30
30
|
import { A as Anchor } from '../_helpers/anchor.js';
|
31
|
-
import '@jetbrains/icons/chevron-
|
32
|
-
import '../icon/icon.js';
|
31
|
+
import '@jetbrains/icons/chevron-12px-down';
|
33
32
|
import 'util-deprecate';
|
33
|
+
import '../icon/icon.js';
|
34
34
|
import '../icon/icon__constants.js';
|
35
35
|
import '../_helpers/icon__svg.js';
|
36
36
|
import '../link/clickableLink.js';
|
@@ -488,6 +488,9 @@ class Select extends Component {
|
|
488
488
|
} else {
|
489
489
|
const _prevState$multipleMa = prevState.multipleMap,
|
490
490
|
_selected$key = selected.key,
|
491
|
+
{
|
492
|
+
[_selected$key]: _
|
493
|
+
} = _prevState$multipleMa,
|
491
494
|
restMultipleMap = _objectWithoutProperties(_prevState$multipleMa, [_selected$key].map(_toPropertyKey));
|
492
495
|
nextState.multipleMap = restMultipleMap;
|
493
496
|
}
|
@@ -11,6 +11,7 @@ import 'react/jsx-runtime';
|
|
11
11
|
import '@jetbrains/icons/close-12px';
|
12
12
|
import '../button/button.js';
|
13
13
|
import '@jetbrains/icons/chevron-down';
|
14
|
+
import '@jetbrains/icons/chevron-12px-down';
|
14
15
|
import 'util-deprecate';
|
15
16
|
import '../icon/icon.js';
|
16
17
|
import '../icon/icon__constants.js';
|
@@ -66,6 +66,7 @@ import 'sniffr';
|
|
66
66
|
import '../tag/tag.js';
|
67
67
|
import '@jetbrains/icons/close-12px';
|
68
68
|
import '@jetbrains/icons/chevron-down';
|
69
|
+
import '@jetbrains/icons/chevron-12px-down';
|
69
70
|
import '../_helpers/button__classes.js';
|
70
71
|
import '../_helpers/input.js';
|
71
72
|
import '../i18n/i18n-context.js';
|
@@ -6,7 +6,7 @@ import classNames from 'classnames';
|
|
6
6
|
import { isArray } from '../global/typescript-utils.js';
|
7
7
|
import Shortcuts from '../shortcuts/shortcuts.js';
|
8
8
|
import getUID from '../global/get-uid.js';
|
9
|
-
import { toRange, validateValue, calculateMarks, toPercent, calculateValue, adjustValues
|
9
|
+
import { HUNDRED, toRange, validateValue, calculateMarks, toPercent, calculateValue, adjustValues } from './slider.utils.js';
|
10
10
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
11
11
|
import '../shortcuts/core.js';
|
12
12
|
import 'core-js/modules/es.regexp.exec.js';
|
@@ -24,6 +24,7 @@ import '../global/data-tests.js';
|
|
24
24
|
import '../global/dom.js';
|
25
25
|
import '../button/button.js';
|
26
26
|
import '@jetbrains/icons/chevron-down';
|
27
|
+
import '@jetbrains/icons/chevron-12px-down';
|
27
28
|
import '../link/clickableLink.js';
|
28
29
|
import '../global/controls-height.js';
|
29
30
|
import '../_helpers/button__classes.js';
|
@@ -23,6 +23,7 @@ import '../global/data-tests.js';
|
|
23
23
|
import '../global/dom.js';
|
24
24
|
import '../button/button.js';
|
25
25
|
import '@jetbrains/icons/chevron-down';
|
26
|
+
import '@jetbrains/icons/chevron-12px-down';
|
26
27
|
import '../link/clickableLink.js';
|
27
28
|
import '../global/controls-height.js';
|
28
29
|
import '../_helpers/button__classes.js';
|