@jetbrains/ring-ui 5.0.0-beta.3 → 5.0.0-beta.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/CHANGELOG.md +49 -1
- package/babel.config.js +1 -12
- package/components/alert/alert.css +3 -14
- package/components/alert/alert.d.ts +3 -0
- package/components/alert/alert.js +8 -7
- package/components/alert/container.css +0 -2
- package/components/alert-service/alert-service.examples.css +5 -3
- package/components/auth/auth__core.d.ts +3 -1
- package/components/auth/auth__core.js +42 -15
- package/components/auth/down-notification.css +1 -1
- package/components/auth-dialog/auth-dialog.d.ts +11 -0
- package/components/auth-dialog/auth-dialog.js +33 -2
- package/components/autofocus-ng/autofocus-ng.js +1 -1
- package/components/autofocus-ng/autofocus-ng.test.js +1 -1
- package/components/button/button.css +93 -204
- package/components/button/button.d.ts +7 -8
- package/components/button/button.js +6 -8
- package/components/button/button__classes.d.ts +1 -1
- package/components/button/button__classes.js +4 -7
- package/components/button-group/button-group.css +136 -19
- package/components/button-group/button-group.d.ts +4 -1
- package/components/button-group/button-group.js +3 -3
- package/components/button-group-ng/button-group-ng.css +1 -0
- package/components/button-group-ng/button-group-ng.examples.js +1 -1
- package/components/button-ng/button-ng.examples.js +6 -7
- package/components/button-ng/button-ng.js +6 -25
- package/components/button-set/button-set.css +1 -0
- package/components/button-toolbar/button-toolbar.css +2 -0
- package/components/checkbox/checkbox.css +10 -4
- package/components/date-picker/date-input.js +2 -1
- package/components/date-picker/date-picker.css +2 -1
- package/components/dialog/dialog.css +10 -3
- package/components/dialog-ng/dialog-ng__template.js +1 -0
- package/components/error-bubble/error-bubble-legacy.css +1 -1
- package/components/error-bubble/error-bubble.css +1 -1
- package/components/global/controls-height.d.ts +7 -0
- package/components/global/controls-height.js +8 -0
- package/components/global/theme.d.ts +7 -20
- package/components/global/theme.js +26 -32
- package/components/global/variables.css +30 -25
- package/components/global/variables.d.ts +10 -8
- package/components/global/variables_dark.css +68 -0
- package/components/header/header.css +19 -10
- package/components/header/header.d.ts +7 -69
- package/components/header/header.js +10 -9
- package/components/header/services.css +3 -3
- package/components/header/services.d.ts +5 -0
- package/components/header/services.js +8 -2
- package/components/header/tray-icon.d.ts +18 -575
- package/components/heading/heading.css +4 -1
- package/components/icon/icon.css +1 -1
- package/components/input/input.css +81 -151
- package/components/input/input.d.ts +13 -17
- package/components/input/input.js +28 -32
- package/components/input-ng/input-ng.examples.js +1 -1
- package/components/input-ng/input-ng.js +45 -49
- package/components/island/adaptive-island-hoc.d.ts +2 -2
- package/components/island/adaptive-island-hoc.js +2 -2
- package/components/island/content.js +2 -7
- package/components/island/header.js +7 -4
- package/components/island/island.css +8 -5
- package/components/island/island.d.ts +2 -2
- package/components/island-legacy/island-legacy.css +1 -1
- package/components/list/list.d.ts +1 -1
- package/components/loader-inline/loader-inline.css +14 -0
- package/components/loader-inline/loader-inline.d.ts +4 -41
- package/components/loader-inline/loader-inline.js +3 -11
- package/components/loader-inline-ng/loader-inline-ng.js +1 -17
- package/components/loader-inline-ng/loader-inline-ng.test.js +0 -11
- package/components/markdown/code.d.ts +6 -13
- package/components/markdown/code.js +2 -2
- package/components/markdown/heading.d.ts +5 -9
- package/components/markdown/heading.js +2 -2
- package/components/markdown/link.d.ts +4 -8
- package/components/markdown/link.js +1 -1
- package/components/markdown/markdown.d.ts +2 -3
- package/components/markdown/markdown.js +14 -11
- package/components/message/message.css +7 -3
- package/components/message/message.d.ts +3 -0
- package/components/message/message.js +16 -9
- package/components/pager/pager.js +2 -8
- package/components/popup/popup.css +1 -1
- package/components/popup/popup.target.d.ts +1 -0
- package/components/progress-bar/progress-bar.css +8 -12
- package/components/progress-bar/progress-bar.d.ts +0 -4
- package/components/progress-bar/progress-bar.js +1 -6
- package/components/progress-bar-ng/progress-bar-ng.examples.js +3 -2
- package/components/query-assist/query-assist.css +48 -64
- package/components/query-assist/query-assist.d.ts +0 -5
- package/components/query-assist/query-assist.js +4 -10
- package/components/radio/radio.css +10 -4
- package/components/select/select.css +19 -37
- package/components/select/select.d.ts +4 -6
- package/components/select/select.js +17 -30
- package/components/select/select__filter.js +2 -1
- package/components/select/select__popup.js +1 -2
- package/components/select-ng/select-ng.examples.js +1 -0
- package/components/select-ng/select-ng.js +3 -1
- package/components/select-ng/select-ng.test.js +1 -1
- package/components/select-ng/select-ng__lazy.js +1 -2
- package/components/shortcuts-hint-ng/shortcuts-hint-ng.css +1 -1
- package/components/shortcuts-hint-ng/shortcuts-hint-ng.examples.js +1 -1
- package/components/tabs/collapsible-tab.js +2 -2
- package/components/tabs/dumb-tabs.d.ts +4 -107
- package/components/tabs/dumb-tabs.js +5 -9
- package/components/tabs/tab.d.ts +2 -0
- package/components/tabs/tabs.css +8 -28
- package/components/tabs-ng/tabs-ng.examples.js +11 -3
- package/components/tabs-ng/tabs-ng.js +1 -4
- package/components/tabs-ng/tabs-ng__template.js +1 -1
- package/components/tag/tag.css +31 -8
- package/components/tag/tag.d.ts +1 -0
- package/components/tag/tag.js +1 -0
- package/components/tags-input/tags-input.css +10 -4
- package/components/toggle/toggle.css +61 -35
- package/components/toggle/toggle.d.ts +9 -89
- package/components/toggle/toggle.js +7 -7
- package/components/tooltip/tooltip.css +7 -0
- package/components/tooltip/tooltip.d.ts +1 -0
- package/components/tooltip/tooltip.js +3 -2
- package/components/user-agreement/service.d.ts +2 -2
- package/components/user-agreement/user-agreement.js +1 -1
- package/dist/_helpers/anchor.js +3 -3
- package/dist/_helpers/badge.js +1 -1
- package/dist/_helpers/button-group.js +1 -1
- package/dist/_helpers/button-set.js +1 -1
- package/dist/_helpers/button-toolbar.js +1 -1
- package/dist/_helpers/button__classes.js +5 -8
- package/dist/_helpers/card.js +1 -1
- package/dist/_helpers/checkbox.js +1 -1
- package/dist/_helpers/date-picker.js +1 -1
- package/dist/_helpers/dialog__body-scroll-preventer.js +1 -1
- package/dist/_helpers/error-message.js +1 -1
- package/dist/_helpers/footer.js +1 -1
- package/dist/_helpers/grid.js +1 -1
- package/dist/_helpers/group.js +1 -1
- package/dist/_helpers/header.js +1 -1
- package/dist/_helpers/icon.js +1 -1
- package/dist/_helpers/input.js +1 -1
- package/dist/_helpers/island.js +1 -1
- package/dist/_helpers/link.js +1 -1
- package/dist/_helpers/list.js +1 -1
- package/dist/_helpers/loader-inline.js +3 -0
- package/dist/_helpers/loader-screen.js +1 -1
- package/dist/_helpers/panel.js +1 -1
- package/dist/_helpers/query-assist__suggestions.js +1 -1
- package/dist/_helpers/radio.js +1 -1
- package/dist/_helpers/select__filter.js +5 -3
- package/dist/_helpers/services-link.js +1 -1
- package/dist/_helpers/sidebar.js +1 -1
- package/dist/_helpers/table.js +1 -1
- package/dist/_helpers/tabs.js +1 -1
- package/dist/_helpers/theme.js +50 -0
- package/dist/_helpers/title.js +1 -1
- package/dist/alert/alert.d.ts +3 -0
- package/dist/alert/alert.js +21 -19
- package/dist/alert/container.js +1 -1
- package/dist/alert-service/alert-service.js +9 -7
- package/dist/auth/auth.js +9 -9
- package/dist/auth/auth__core.d.ts +3 -1
- package/dist/auth/auth__core.js +58 -26
- package/dist/auth/down-notification.js +8 -8
- package/dist/auth/iframe-flow.js +1 -1
- package/dist/auth/landing.js +9 -9
- package/dist/auth/storage.js +9 -7
- package/dist/auth-dialog/auth-dialog.d.ts +11 -0
- package/dist/auth-dialog/auth-dialog.js +52 -7
- package/dist/auth-dialog-service/auth-dialog-service.js +1 -1
- package/dist/auth-ng/auth-ng.js +9 -9
- package/dist/autofocus-ng/autofocus-ng.js +1 -1
- package/dist/avatar/avatar.js +1 -1
- package/dist/avatar-editor-ng/avatar-editor-ng.js +9 -7
- package/dist/breadcrumb-ng/breadcrumb-ng.js +1 -1
- package/dist/button/button.d.ts +7 -8
- package/dist/button/button.js +6 -8
- package/dist/button/button__classes.d.ts +1 -1
- package/dist/button/button__classes.js +0 -3
- package/dist/button-group/button-group.d.ts +4 -1
- package/dist/button-group/button-group.js +5 -3
- package/dist/button-group-ng/button-group-ng.js +1 -1
- package/dist/button-ng/button-ng.js +6 -31
- package/dist/code/code.js +1 -1
- package/dist/confirm/confirm.js +5 -5
- package/dist/confirm-ng/confirm-ng.js +1 -1
- package/dist/confirm-service/confirm-service.js +1 -1
- package/dist/data-list/data-list.js +2 -7
- package/dist/data-list/item.js +8 -13
- package/dist/data-list-ng/data-list-ng.js +2 -7
- package/dist/date-picker/date-input.js +4 -3
- package/dist/date-picker/date-picker.js +1 -1
- package/dist/date-picker/date-popup.js +1 -1
- package/dist/dialog/dialog.js +3 -3
- package/dist/dialog-ng/dialog-ng.js +3 -3
- package/dist/dialog-ng/dialog-ng__template.js +1 -0
- package/dist/docked-panel-ng/docked-panel-ng.js +1 -1
- package/dist/dropdown/anchor.js +1 -1
- package/dist/dropdown/dropdown.js +1 -1
- package/dist/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/error-bubble/error-bubble.js +1 -1
- package/dist/global/controls-height.d.ts +7 -0
- package/dist/global/controls-height.js +13 -0
- package/dist/global/theme.d.ts +7 -20
- package/dist/global/theme.js +7 -62
- package/dist/global/variables.d.ts +10 -8
- package/dist/header/header.d.ts +7 -69
- package/dist/header/header.js +13 -17
- package/dist/header/profile.js +3 -3
- package/dist/header/services.d.ts +5 -0
- package/dist/header/services.js +11 -3
- package/dist/header/smart-profile.js +10 -14
- package/dist/header/smart-services.js +9 -13
- package/dist/header/tray-icon.d.ts +18 -575
- package/dist/header/tray-icon.js +4 -4
- package/dist/heading/heading.js +1 -1
- package/dist/input/input.d.ts +13 -17
- package/dist/input/input.js +32 -41
- package/dist/input-ng/input-ng.js +46 -49
- package/dist/island/adaptive-island-hoc.d.ts +2 -2
- package/dist/island/adaptive-island-hoc.js +4 -2
- package/dist/island/content.js +2 -9
- package/dist/island/header.js +7 -4
- package/dist/island/island.d.ts +2 -2
- package/dist/list/list.d.ts +1 -1
- package/dist/loader/loader__core.js +1 -1
- package/dist/loader-inline/loader-inline.d.ts +4 -41
- package/dist/loader-inline/loader-inline.js +3 -21
- package/dist/loader-inline-ng/loader-inline-ng.js +2 -30
- package/dist/login-dialog/login-dialog.js +2 -2
- package/dist/login-dialog/service.js +1 -1
- package/dist/markdown/code.d.ts +6 -13
- package/dist/markdown/code.js +3 -3
- package/dist/markdown/heading.d.ts +5 -9
- package/dist/markdown/heading.js +2 -2
- package/dist/markdown/link.d.ts +4 -8
- package/dist/markdown/link.js +1 -1
- package/dist/markdown/markdown.d.ts +2 -3
- package/dist/markdown/markdown.js +16 -16
- package/dist/message/message.d.ts +3 -0
- package/dist/message/message.js +18 -10
- package/dist/pager/pager.js +8 -12
- package/dist/pager-ng/pager-ng.js +3 -7
- package/dist/permissions-ng/permissions-ng.js +9 -9
- package/dist/popup/popup.js +1 -1
- package/dist/popup/popup.target.d.ts +1 -0
- package/dist/progress-bar/progress-bar.d.ts +0 -4
- package/dist/progress-bar/progress-bar.js +1 -7
- package/dist/progress-bar-ng/progress-bar-ng.js +0 -1
- package/dist/promised-click-ng/promised-click-ng.js +2 -2
- package/dist/query-assist/query-assist.d.ts +0 -5
- package/dist/query-assist/query-assist.js +10 -26
- package/dist/query-assist-ng/query-assist-ng.js +2 -7
- package/dist/save-field-ng/save-field-ng.js +2 -9
- package/dist/select/select.d.ts +4 -6
- package/dist/select/select.js +35 -58
- package/dist/select/select__filter.js +1 -1
- package/dist/select/select__popup.js +7 -13
- package/dist/select-ng/select-ng.js +5 -9
- package/dist/select-ng/select-ng__lazy.js +7 -11
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +2 -2
- package/dist/sidebar-ng/sidebar-ng.js +2 -2
- package/dist/storage/storage.js +9 -7
- package/dist/storage/storage__local.js +9 -7
- package/dist/style.css +1 -1
- package/dist/tab-trap/tab-trap.js +1 -1
- package/dist/table/row-with-focus-sensor.js +1 -1
- package/dist/table/row.js +5 -5
- package/dist/table/smart-table.js +1 -1
- package/dist/table/table.js +1 -1
- package/dist/table-legacy-ng/table-legacy-ng.js +3 -7
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +3 -7
- package/dist/table-ng/smart-table-ng.js +1 -1
- package/dist/table-ng/table-ng.js +1 -1
- package/dist/tabs/collapsible-more.js +1 -1
- package/dist/tabs/collapsible-tab.js +3 -2
- package/dist/tabs/collapsible-tabs.js +1 -1
- package/dist/tabs/dumb-tabs.d.ts +4 -107
- package/dist/tabs/dumb-tabs.js +6 -12
- package/dist/tabs/smart-tabs.js +3 -3
- package/dist/tabs/tab.d.ts +2 -0
- package/dist/tabs/tabs.js +1 -1
- package/dist/tabs-ng/tabs-ng.js +1 -6
- package/dist/tabs-ng/tabs-ng__template.js +1 -1
- package/dist/tag/tag.d.ts +1 -0
- package/dist/tag/tag.js +5 -4
- package/dist/tags-input/tags-input.js +5 -9
- package/dist/tags-input-ng/tags-input-ng.js +4 -8
- package/dist/tags-list/tags-list.js +1 -1
- package/dist/text/text.js +1 -1
- package/dist/toggle/toggle.d.ts +9 -89
- package/dist/toggle/toggle.js +7 -8
- package/dist/toggle-ng/toggle-ng.js +2 -3
- package/dist/tooltip/tooltip.d.ts +1 -0
- package/dist/tooltip/tooltip.js +6 -3
- package/dist/user-agreement/service.d.ts +2 -2
- package/dist/user-agreement/service.js +9 -13
- package/dist/user-agreement/user-agreement.js +8 -10
- package/dist/user-card/smart-user-card-tooltip.js +6 -11
- package/dist/user-card/tooltip.js +1 -1
- package/dist/user-card/user-card.js +2 -7
- package/dist/user-card-ng/user-card-ng.js +4 -9
- package/package.json +5 -5
- package/webpack.config.js +0 -11
- package/components/global/conic-gradient.d.ts +0 -796
- package/components/global/conic-gradient.js +0 -21
- package/components/global/radial-gradient-mask.d.ts +0 -9
- package/components/global/radial-gradient-mask.js +0 -39
- package/components/global/supports-css.d.ts +0 -2
- package/components/global/supports-css.js +0 -14
- package/components/global/variables_dark.d.ts +0 -3
- package/components/global/variables_dark.js +0 -53
- package/components/loader-inline/inject-styles.d.ts +0 -2
- package/components/loader-inline/inject-styles.js +0 -17
- package/dist/_helpers/inject-styles.js +0 -22
- package/dist/global/conic-gradient.d.ts +0 -796
- package/dist/global/conic-gradient.js +0 -35
- package/dist/global/radial-gradient-mask.d.ts +0 -9
- package/dist/global/radial-gradient-mask.js +0 -49
- package/dist/global/supports-css.d.ts +0 -2
- package/dist/global/supports-css.js +0 -20
- package/dist/global/variables_dark.d.ts +0 -3
- package/dist/global/variables_dark.js +0 -57
- package/dist/loader-inline/inject-styles.d.ts +0 -2
- package/dist/loader-inline/inject-styles.js +0 -11
package/dist/select/select.js
CHANGED
|
@@ -2,25 +2,26 @@ import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBa
|
|
|
2
2
|
import React, { Component, Fragment } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
-
import
|
|
5
|
+
import chevronDownIcon from '@jetbrains/icons/chevron-down';
|
|
6
6
|
import closeIcon from '@jetbrains/icons/close';
|
|
7
7
|
import deepEqual from 'deep-equal';
|
|
8
8
|
import '../dropdown/dropdown.js';
|
|
9
9
|
import Avatar, { Size as Size$1 } from '../avatar/avatar.js';
|
|
10
10
|
import Popup from '../popup/popup.js';
|
|
11
11
|
import List, { ActiveItemContext } from '../list/list.js';
|
|
12
|
-
import
|
|
12
|
+
import { Size, Input } from '../input/input.js';
|
|
13
13
|
import Shortcuts from '../shortcuts/shortcuts.js';
|
|
14
|
-
import
|
|
14
|
+
import { Button } from '../button/button.js';
|
|
15
15
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
16
16
|
import getUID from '../global/get-uid.js';
|
|
17
17
|
import rerenderHOC from '../global/rerender-hoc.js';
|
|
18
18
|
import fuzzyHighlight from '../global/fuzzy-highlight.js';
|
|
19
|
-
import Theme from '../global/theme.js';
|
|
20
19
|
import memoize from '../global/memoize.js';
|
|
21
20
|
import { isArray } from '../global/typescript-utils.js';
|
|
21
|
+
import { ControlsHeightContext } from '../global/controls-height.js';
|
|
22
22
|
import SelectPopup from './select__popup.js';
|
|
23
23
|
import { A as Anchor } from '../_helpers/anchor.js';
|
|
24
|
+
import '@jetbrains/icons/chevron-10px';
|
|
24
25
|
import '../icon/icon.js';
|
|
25
26
|
import 'util-deprecate';
|
|
26
27
|
import '../icon/icon__constants.js';
|
|
@@ -68,12 +69,7 @@ import '../global/composeRefs.js';
|
|
|
68
69
|
import '../_helpers/input.js';
|
|
69
70
|
import '@jetbrains/icons/search';
|
|
70
71
|
import '../loader-inline/loader-inline.js';
|
|
71
|
-
import '../_helpers/
|
|
72
|
-
import '../global/conic-gradient.js';
|
|
73
|
-
import 'conic-gradient';
|
|
74
|
-
import '../global/supports-css.js';
|
|
75
|
-
import '../global/inject-styles.js';
|
|
76
|
-
import '../global/radial-gradient-mask.js';
|
|
72
|
+
import '../_helpers/loader-inline.js';
|
|
77
73
|
import '../shortcuts/shortcuts-hoc.js';
|
|
78
74
|
import '../tags-list/tags-list.js';
|
|
79
75
|
import '../tag/tag.js';
|
|
@@ -81,7 +77,7 @@ import '../caret/caret.js';
|
|
|
81
77
|
import '../text/text.js';
|
|
82
78
|
import '../_helpers/select__filter.js';
|
|
83
79
|
|
|
84
|
-
var modules_9d0de074 = {"unit":"8px","select":"
|
|
80
|
+
var modules_9d0de074 = {"unit":"8px","button-shadow":"inset 0 0 0 1px","select":"select_rui_bf62","value":"value_rui_bf62 ellipsis_rui_750f font_rui_750f","icons":"icons_rui_bf62","toolbar":"toolbar_rui_bf62","button":"button_rui_bf62","buttonSpaced":"buttonSpaced_rui_bf62","inputMode":"inputMode_rui_bf62","selectedIcon":"selectedIcon_rui_bf62 resetButton_rui_750f","clearIcon":"clearIcon_rui_bf62","sizeS":"sizeS_rui_bf62","sizeM":"sizeM_rui_bf62","sizeL":"sizeL_rui_bf62","sizeFULL":"sizeFULL_rui_bf62","sizeAUTO":"sizeAUTO_rui_bf62","buttonMode":"buttonMode_rui_bf62","open":"open_rui_bf62","buttonContainer":"buttonContainer_rui_bf62","buttonValue":"buttonValue_rui_bf62 ellipsis_rui_750f","buttonValueOpen":"buttonValueOpen_rui_bf62","label":"label_rui_bf62","disabled":"disabled_rui_bf62","avatar":"avatar_rui_bf62","popup":"popup_rui_bf62","chevron":"chevron_rui_bf62","chevronIcon":"chevronIcon_rui_bf62","heightS":"heightS_rui_bf62"};
|
|
85
81
|
|
|
86
82
|
/**
|
|
87
83
|
* @name Select
|
|
@@ -100,13 +96,13 @@ var Type;
|
|
|
100
96
|
Type["INPUT"] = "INPUT";
|
|
101
97
|
Type["CUSTOM"] = "CUSTOM";
|
|
102
98
|
Type["INLINE"] = "INLINE";
|
|
103
|
-
Type["MATERIAL"] = "MATERIAL";
|
|
104
99
|
Type["INPUT_WITHOUT_CONTROLS"] = "INPUT_WITHOUT_CONTROLS";
|
|
105
100
|
})(Type || (Type = {}));
|
|
106
101
|
|
|
102
|
+
const ICONS_OFFSET = 12;
|
|
107
103
|
const ICON_WIDTH = 20;
|
|
108
104
|
const getStyle = memoize(iconsLength => ({
|
|
109
|
-
paddingRight: iconsLength * ICON_WIDTH
|
|
105
|
+
paddingRight: ICONS_OFFSET + iconsLength * ICON_WIDTH
|
|
110
106
|
}));
|
|
111
107
|
|
|
112
108
|
const isInputMode = type => type === Type.INPUT || type === Type.INPUT_WITHOUT_CONTROLS;
|
|
@@ -424,6 +420,16 @@ class Select extends Component {
|
|
|
424
420
|
}
|
|
425
421
|
});
|
|
426
422
|
|
|
423
|
+
_defineProperty(this, "_openPopupIfClosed", () => {
|
|
424
|
+
if (this.props.disabled || this.state.showPopup) {
|
|
425
|
+
return;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
this.props.onBeforeOpen();
|
|
429
|
+
|
|
430
|
+
this._showPopup();
|
|
431
|
+
});
|
|
432
|
+
|
|
427
433
|
_defineProperty(this, "_filterChangeHandler", e => {
|
|
428
434
|
this._setFilter(e.currentTarget.value, e);
|
|
429
435
|
});
|
|
@@ -646,12 +652,6 @@ class Select extends Component {
|
|
|
646
652
|
return false;
|
|
647
653
|
});
|
|
648
654
|
|
|
649
|
-
_defineProperty(this, "button", void 0);
|
|
650
|
-
|
|
651
|
-
_defineProperty(this, "buttonRef", el => {
|
|
652
|
-
this.button = el;
|
|
653
|
-
});
|
|
654
|
-
|
|
655
655
|
_defineProperty(this, "filter", void 0);
|
|
656
656
|
|
|
657
657
|
_defineProperty(this, "filterRef", el => {
|
|
@@ -791,7 +791,7 @@ class Select extends Component {
|
|
|
791
791
|
separator: reset.separator,
|
|
792
792
|
key: reset.label,
|
|
793
793
|
rgItemType: List.ListProps.Type.CUSTOM,
|
|
794
|
-
template: /*#__PURE__*/React.createElement(
|
|
794
|
+
template: /*#__PURE__*/React.createElement(Button, {
|
|
795
795
|
text: true,
|
|
796
796
|
className: modules_9d0de074.button,
|
|
797
797
|
"data-test": "ring-select-reset-tags-button"
|
|
@@ -929,7 +929,7 @@ class Select extends Component {
|
|
|
929
929
|
[modules_9d0de074.toolbar]: !!this.state.addButton
|
|
930
930
|
}),
|
|
931
931
|
"data-test": "ring-select-toolbar"
|
|
932
|
-
}, this.state.addButton && /*#__PURE__*/React.createElement(
|
|
932
|
+
}, this.state.addButton && /*#__PURE__*/React.createElement(Button, {
|
|
933
933
|
text: true,
|
|
934
934
|
delayed: delayed,
|
|
935
935
|
className: classNames(modules_9d0de074.button, modules_9d0de074.buttonSpaced),
|
|
@@ -1027,7 +1027,7 @@ class Select extends Component {
|
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
1029
|
if (clear && !disabled && !this._selectionIsEmpty()) {
|
|
1030
|
-
icons.push( /*#__PURE__*/React.createElement(
|
|
1030
|
+
icons.push( /*#__PURE__*/React.createElement(Button, {
|
|
1031
1031
|
title: "Clear selection",
|
|
1032
1032
|
"data-test": "ring-clear-select",
|
|
1033
1033
|
className: modules_9d0de074.clearIcon,
|
|
@@ -1039,11 +1039,11 @@ class Select extends Component {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
|
|
1041
1041
|
if (!hideArrow) {
|
|
1042
|
-
icons.push( /*#__PURE__*/React.createElement(
|
|
1042
|
+
icons.push( /*#__PURE__*/React.createElement(Button, {
|
|
1043
1043
|
title: "Toggle options popup",
|
|
1044
1044
|
className: modules_9d0de074.chevron,
|
|
1045
1045
|
iconClassName: modules_9d0de074.chevronIcon,
|
|
1046
|
-
icon:
|
|
1046
|
+
icon: chevronDownIcon,
|
|
1047
1047
|
key: "hide",
|
|
1048
1048
|
disabled: this.props.disabled,
|
|
1049
1049
|
onClick: this._clickHandler
|
|
@@ -1085,7 +1085,7 @@ class Select extends Component {
|
|
|
1085
1085
|
const {
|
|
1086
1086
|
shortcutsEnabled
|
|
1087
1087
|
} = this.state;
|
|
1088
|
-
const classes = classNames(modules_9d0de074.select, 'ring-js-shortcuts', this.props.className, {
|
|
1088
|
+
const classes = classNames(modules_9d0de074.select, 'ring-js-shortcuts', this.props.className, modules_9d0de074[`height${this.props.height || this.context}`], {
|
|
1089
1089
|
[modules_9d0de074[`size${this.props.size}`]]: this.props.type !== Type.INLINE,
|
|
1090
1090
|
[modules_9d0de074.disabled]: this.props.disabled
|
|
1091
1091
|
});
|
|
@@ -1111,7 +1111,8 @@ class Select extends Component {
|
|
|
1111
1111
|
}, shortcutsEnabled && /*#__PURE__*/React.createElement(Shortcuts, {
|
|
1112
1112
|
map: this.getShortcutsMap(),
|
|
1113
1113
|
scope: this.shortcutsScope
|
|
1114
|
-
}), /*#__PURE__*/React.createElement(
|
|
1114
|
+
}), /*#__PURE__*/React.createElement(Input, _extends({}, ariaProps, {
|
|
1115
|
+
height: this.props.height,
|
|
1115
1116
|
autoComplete: "off",
|
|
1116
1117
|
id: this.props.id,
|
|
1117
1118
|
onClick: this._clickHandler,
|
|
@@ -1130,8 +1131,9 @@ class Select extends Component {
|
|
|
1130
1131
|
"data-test": "ring-select__focus",
|
|
1131
1132
|
enableShortcuts: shortcutsEnabled ? Object.keys({ ...this.getShortcutsMap(),
|
|
1132
1133
|
...((_this$_popup5 = this._popup) === null || _this$_popup5 === void 0 ? void 0 : (_this$_popup5$list = _this$_popup5.list) === null || _this$_popup5$list === void 0 ? void 0 : _this$_popup5$list.shortcutsMap)
|
|
1133
|
-
}) : undefined
|
|
1134
|
-
|
|
1134
|
+
}) : undefined,
|
|
1135
|
+
afterInput: this.props.type === Type.INPUT && iconsNode
|
|
1136
|
+
})), this._renderPopup());
|
|
1135
1137
|
|
|
1136
1138
|
case Type.BUTTON:
|
|
1137
1139
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -1143,7 +1145,8 @@ class Select extends Component {
|
|
|
1143
1145
|
scope: this.shortcutsScope
|
|
1144
1146
|
}), /*#__PURE__*/React.createElement("div", {
|
|
1145
1147
|
className: modules_9d0de074.buttonContainer
|
|
1146
|
-
}, /*#__PURE__*/React.createElement(
|
|
1148
|
+
}, /*#__PURE__*/React.createElement(Button, _extends({}, ariaProps, {
|
|
1149
|
+
height: this.props.height,
|
|
1147
1150
|
id: this.props.id,
|
|
1148
1151
|
onClick: this._clickHandler,
|
|
1149
1152
|
className: classNames(this.props.buttonClassName, modules_9d0de074.buttonValue, {
|
|
@@ -1154,31 +1157,6 @@ class Select extends Component {
|
|
|
1154
1157
|
"data-test": "ring-select__button ring-select__focus"
|
|
1155
1158
|
}), this._getAvatar(), this._selectionIsEmpty() ? this._getLabel() : this._getSelectedString()), iconsNode), this._renderPopup());
|
|
1156
1159
|
|
|
1157
|
-
case Type.MATERIAL:
|
|
1158
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
1159
|
-
ref: this.nodeRef,
|
|
1160
|
-
className: classNames(classes, modules_9d0de074.materialMode),
|
|
1161
|
-
"data-test": joinDataTestAttributes('ring-select', dataTest)
|
|
1162
|
-
}, shortcutsEnabled && /*#__PURE__*/React.createElement(Shortcuts, {
|
|
1163
|
-
map: this.getShortcutsMap(),
|
|
1164
|
-
scope: this.shortcutsScope
|
|
1165
|
-
}), !this._selectionIsEmpty() && this.props.selectedLabel && /*#__PURE__*/React.createElement("span", {
|
|
1166
|
-
className: modules_9d0de074.selectedLabel
|
|
1167
|
-
}, this.props.selectedLabel), /*#__PURE__*/React.createElement("button", _extends({}, ariaProps, {
|
|
1168
|
-
id: this.props.id,
|
|
1169
|
-
onClick: this._clickHandler,
|
|
1170
|
-
type: "button",
|
|
1171
|
-
disabled: this.props.disabled,
|
|
1172
|
-
className: classNames(this.props.buttonClassName, modules_9d0de074.value, {
|
|
1173
|
-
[modules_9d0de074.open]: this.state.showPopup,
|
|
1174
|
-
[modules_9d0de074.label]: this._selectionIsEmpty()
|
|
1175
|
-
}),
|
|
1176
|
-
"aria-label": this._getLabel(),
|
|
1177
|
-
style: style,
|
|
1178
|
-
"data-test": "ring-select__focus",
|
|
1179
|
-
ref: this.buttonRef
|
|
1180
|
-
}), this._getAvatar(), this._selectionIsEmpty() ? this._getLabel() : this._getSelectedString()), iconsNode, this._renderPopup());
|
|
1181
|
-
|
|
1182
1160
|
case Type.INLINE:
|
|
1183
1161
|
return /*#__PURE__*/React.createElement("div", {
|
|
1184
1162
|
className: classes,
|
|
@@ -1239,7 +1217,7 @@ _defineProperty(Select, "defaultProps", {
|
|
|
1239
1217
|
disabled: false,
|
|
1240
1218
|
loadingMessage: 'Loading...',
|
|
1241
1219
|
notFoundMessage: 'No options found',
|
|
1242
|
-
type: Type.
|
|
1220
|
+
type: Type.BUTTON,
|
|
1243
1221
|
size: Size.M,
|
|
1244
1222
|
targetElement: null,
|
|
1245
1223
|
hideSelected: false,
|
|
@@ -1272,12 +1250,12 @@ _defineProperty(Select, "defaultProps", {
|
|
|
1272
1250
|
dir: 'ltr'
|
|
1273
1251
|
});
|
|
1274
1252
|
|
|
1253
|
+
_defineProperty(Select, "contextType", ControlsHeightContext);
|
|
1254
|
+
|
|
1275
1255
|
_defineProperty(Select, "Type", Type);
|
|
1276
1256
|
|
|
1277
1257
|
_defineProperty(Select, "Size", Size);
|
|
1278
1258
|
|
|
1279
|
-
_defineProperty(Select, "Theme", Theme);
|
|
1280
|
-
|
|
1281
1259
|
Select.propTypes = {
|
|
1282
1260
|
className: PropTypes.string,
|
|
1283
1261
|
buttonClassName: PropTypes.string,
|
|
@@ -1328,7 +1306,6 @@ Select.propTypes = {
|
|
|
1328
1306
|
hideArrow: PropTypes.bool,
|
|
1329
1307
|
compact: PropTypes.bool,
|
|
1330
1308
|
size: PropTypes.oneOf(Object.values(Size)),
|
|
1331
|
-
theme: PropTypes.string,
|
|
1332
1309
|
customAnchor: PropTypes.func,
|
|
1333
1310
|
disableMoveOverflow: PropTypes.bool,
|
|
1334
1311
|
disableScrollToActive: PropTypes.bool,
|
|
@@ -5,9 +5,9 @@ import 'classnames';
|
|
|
5
5
|
import '../input/input.js';
|
|
6
6
|
import '../global/sniffer.js';
|
|
7
7
|
import '../list/list.js';
|
|
8
|
+
import '../global/controls-height.js';
|
|
8
9
|
export { S as default } from '../_helpers/select__filter.js';
|
|
9
10
|
import '@jetbrains/icons/close';
|
|
10
|
-
import '../global/theme.js';
|
|
11
11
|
import '../global/prop-types.js';
|
|
12
12
|
import '../button/button.js';
|
|
13
13
|
import 'focus-visible';
|
|
@@ -9,7 +9,7 @@ import Popup, { getPopupContainer } from '../popup/popup.js';
|
|
|
9
9
|
import { maxHeightForDirection } from '../popup/position.js';
|
|
10
10
|
import { PopupTargetContext } from '../popup/popup.target.js';
|
|
11
11
|
import List from '../list/list.js';
|
|
12
|
-
import
|
|
12
|
+
import LoaderInline from '../loader-inline/loader-inline.js';
|
|
13
13
|
import shortcutsHOC from '../shortcuts/shortcuts-hoc.js';
|
|
14
14
|
import { getStyles } from '../global/dom.js';
|
|
15
15
|
import getUID from '../global/get-uid.js';
|
|
@@ -17,7 +17,7 @@ import memoize from '../global/memoize.js';
|
|
|
17
17
|
import TagsList from '../tags-list/tags-list.js';
|
|
18
18
|
import Caret from '../caret/caret.js';
|
|
19
19
|
import Shortcuts from '../shortcuts/shortcuts.js';
|
|
20
|
-
import
|
|
20
|
+
import { Button } from '../button/button.js';
|
|
21
21
|
import Text from '../text/text.js';
|
|
22
22
|
import { DEFAULT_DIRECTIONS } from '../popup/popup.consts.js';
|
|
23
23
|
import { S as SelectFilter, m as modules_b607bec2 } from '../_helpers/select__filter.js';
|
|
@@ -58,23 +58,17 @@ import '../list/list__title.js';
|
|
|
58
58
|
import '../list/list__separator.js';
|
|
59
59
|
import '../list/list__hint.js';
|
|
60
60
|
import '../list/consts.js';
|
|
61
|
-
import '../
|
|
62
|
-
import '../_helpers/inject-styles.js';
|
|
63
|
-
import '../global/conic-gradient.js';
|
|
64
|
-
import 'conic-gradient';
|
|
65
|
-
import '../global/supports-css.js';
|
|
66
|
-
import '../global/inject-styles.js';
|
|
67
|
-
import '../global/radial-gradient-mask.js';
|
|
61
|
+
import '../_helpers/loader-inline.js';
|
|
68
62
|
import '../tag/tag.js';
|
|
69
63
|
import '@jetbrains/icons/close';
|
|
70
64
|
import '@jetbrains/icons/chevron-10px';
|
|
65
|
+
import '../global/controls-height.js';
|
|
71
66
|
import '../_helpers/button__classes.js';
|
|
72
67
|
import '../input/input.js';
|
|
73
68
|
import '../global/prop-types.js';
|
|
74
69
|
import '../global/composeRefs.js';
|
|
75
70
|
import '../_helpers/input.js';
|
|
76
71
|
|
|
77
|
-
const INPUT_MARGIN_COMPENSATION = -14;
|
|
78
72
|
const FILTER_HEIGHT = 35;
|
|
79
73
|
const TOOLBAR_HEIGHT = 49;
|
|
80
74
|
|
|
@@ -173,7 +167,7 @@ class SelectPopup extends PureComponent {
|
|
|
173
167
|
const activeFilters = this.props.data.filter(item => !item.disabled);
|
|
174
168
|
return Array.isArray(this.props.selected) && /*#__PURE__*/React.createElement("div", {
|
|
175
169
|
className: modules_b607bec2.selectAll
|
|
176
|
-
}, activeFilters.length === 0 ? /*#__PURE__*/React.createElement("span", null) : /*#__PURE__*/React.createElement(
|
|
170
|
+
}, activeFilters.length === 0 ? /*#__PURE__*/React.createElement("span", null) : /*#__PURE__*/React.createElement(Button, {
|
|
177
171
|
text: true,
|
|
178
172
|
inline: true,
|
|
179
173
|
onClick: this.handleSelectAll
|
|
@@ -401,7 +395,7 @@ class SelectPopup extends PureComponent {
|
|
|
401
395
|
} = this.props;
|
|
402
396
|
return (loading || message) && /*#__PURE__*/React.createElement("div", {
|
|
403
397
|
className: modules_b607bec2.bottomLine
|
|
404
|
-
}, loading && /*#__PURE__*/React.createElement(
|
|
398
|
+
}, loading && /*#__PURE__*/React.createElement(LoaderInline, null), message && /*#__PURE__*/React.createElement("div", {
|
|
405
399
|
className: modules_b607bec2.message
|
|
406
400
|
}, message));
|
|
407
401
|
}
|
|
@@ -483,7 +477,7 @@ class SelectPopup extends PureComponent {
|
|
|
483
477
|
minWidth: minWidth,
|
|
484
478
|
onCloseAttempt: onCloseAttempt,
|
|
485
479
|
directions: directions,
|
|
486
|
-
top: top
|
|
480
|
+
top: top,
|
|
487
481
|
left: left,
|
|
488
482
|
onMouseDown: this.mouseDownHandler,
|
|
489
483
|
target: this.props.ringPopupTarget,
|
|
@@ -4,18 +4,20 @@ import { unmountComponentAtNode, render } from 'react-dom';
|
|
|
4
4
|
import getEventKey from '../global/get-event-key.js';
|
|
5
5
|
import Select, { RerenderableSelect } from '../select/select.js';
|
|
6
6
|
import MessageBundle from '../message-bundle-ng/message-bundle-ng.js';
|
|
7
|
+
import { ControlsHeight } from '../global/controls-height.js';
|
|
7
8
|
import SelectNgOptions from './select-ng__options.js';
|
|
8
9
|
import SelectLazy from './select-ng__lazy.js';
|
|
9
10
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
10
11
|
import 'classnames';
|
|
11
12
|
import 'prop-types';
|
|
12
|
-
import '@jetbrains/icons/chevron-
|
|
13
|
+
import '@jetbrains/icons/chevron-down';
|
|
13
14
|
import '@jetbrains/icons/close';
|
|
14
15
|
import 'deep-equal';
|
|
15
16
|
import '../dropdown/dropdown.js';
|
|
16
17
|
import '../global/data-tests.js';
|
|
17
18
|
import '../global/typescript-utils.js';
|
|
18
19
|
import '../_helpers/anchor.js';
|
|
20
|
+
import '@jetbrains/icons/chevron-10px';
|
|
19
21
|
import '../icon/icon.js';
|
|
20
22
|
import 'util-deprecate';
|
|
21
23
|
import '../icon/icon__constants.js';
|
|
@@ -24,7 +26,6 @@ import '../icon/icon__svg.js';
|
|
|
24
26
|
import '../global/memoize.js';
|
|
25
27
|
import '../button/button.js';
|
|
26
28
|
import 'focus-visible';
|
|
27
|
-
import '../global/theme.js';
|
|
28
29
|
import '../link/clickableLink.js';
|
|
29
30
|
import '../_helpers/button__classes.js';
|
|
30
31
|
import '../avatar/avatar.js';
|
|
@@ -73,12 +74,7 @@ import '../global/fuzzy-highlight.js';
|
|
|
73
74
|
import '../select/select__popup.js';
|
|
74
75
|
import '@jetbrains/icons/search';
|
|
75
76
|
import '../loader-inline/loader-inline.js';
|
|
76
|
-
import '../_helpers/
|
|
77
|
-
import '../global/conic-gradient.js';
|
|
78
|
-
import 'conic-gradient';
|
|
79
|
-
import '../global/supports-css.js';
|
|
80
|
-
import '../global/inject-styles.js';
|
|
81
|
-
import '../global/radial-gradient-mask.js';
|
|
77
|
+
import '../_helpers/loader-inline.js';
|
|
82
78
|
import '../shortcuts/shortcuts-hoc.js';
|
|
83
79
|
import '../tags-list/tags-list.js';
|
|
84
80
|
import '../tag/tag.js';
|
|
@@ -99,7 +95,6 @@ angularModule.directive('rgSelect', function rgSelectDirective() {
|
|
|
99
95
|
const types = {
|
|
100
96
|
input: Select.Type.INPUT,
|
|
101
97
|
button: Select.Type.BUTTON,
|
|
102
|
-
material: Select.Type.MATERIAL,
|
|
103
98
|
dropdown: Select.Type.CUSTOM,
|
|
104
99
|
suggest: Select.Type.INPUT
|
|
105
100
|
};
|
|
@@ -482,6 +477,7 @@ angularModule.directive('rgSelect', function rgSelectDirective() {
|
|
|
482
477
|
notFoundMessage: ctrl.notFoundMessage || RingMessageBundle.select_options_not_found(),
|
|
483
478
|
targetElement: getType() === 'dropdown' ? element : null,
|
|
484
479
|
size: getSelectSize(),
|
|
480
|
+
height: ControlsHeight.S,
|
|
485
481
|
onBeforeOpen: () => {
|
|
486
482
|
resetMemorizedOptions();
|
|
487
483
|
ctrl.loadOptionsToSelect(ctrl.query);
|
|
@@ -5,13 +5,14 @@ import React from 'react';
|
|
|
5
5
|
import { RerenderableSelect } from '../select/select.js';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import '@jetbrains/icons/chevron-
|
|
8
|
+
import '@jetbrains/icons/chevron-down';
|
|
9
9
|
import '@jetbrains/icons/close';
|
|
10
10
|
import 'deep-equal';
|
|
11
11
|
import '../dropdown/dropdown.js';
|
|
12
12
|
import '../global/data-tests.js';
|
|
13
13
|
import '../global/typescript-utils.js';
|
|
14
14
|
import '../_helpers/anchor.js';
|
|
15
|
+
import '@jetbrains/icons/chevron-10px';
|
|
15
16
|
import '../icon/icon.js';
|
|
16
17
|
import 'util-deprecate';
|
|
17
18
|
import '../icon/icon__constants.js';
|
|
@@ -20,8 +21,8 @@ import '../icon/icon__svg.js';
|
|
|
20
21
|
import '../global/memoize.js';
|
|
21
22
|
import '../button/button.js';
|
|
22
23
|
import 'focus-visible';
|
|
23
|
-
import '../global/theme.js';
|
|
24
24
|
import '../link/clickableLink.js';
|
|
25
|
+
import '../global/controls-height.js';
|
|
25
26
|
import '../_helpers/button__classes.js';
|
|
26
27
|
import '../avatar/avatar.js';
|
|
27
28
|
import '../global/url.js';
|
|
@@ -70,12 +71,7 @@ import '../global/fuzzy-highlight.js';
|
|
|
70
71
|
import '../select/select__popup.js';
|
|
71
72
|
import '@jetbrains/icons/search';
|
|
72
73
|
import '../loader-inline/loader-inline.js';
|
|
73
|
-
import '../_helpers/
|
|
74
|
-
import '../global/conic-gradient.js';
|
|
75
|
-
import 'conic-gradient';
|
|
76
|
-
import '../global/supports-css.js';
|
|
77
|
-
import '../global/inject-styles.js';
|
|
78
|
-
import '../global/radial-gradient-mask.js';
|
|
74
|
+
import '../_helpers/loader-inline.js';
|
|
79
75
|
import '../shortcuts/shortcuts-hoc.js';
|
|
80
76
|
import '../tags-list/tags-list.js';
|
|
81
77
|
import '../tag/tag.js';
|
|
@@ -140,12 +136,12 @@ class SelectLazy {
|
|
|
140
136
|
this.detachEvents();
|
|
141
137
|
|
|
142
138
|
if (this.type === 'dropdown') {
|
|
143
|
-
this.ctrl.selectInstance = render(this.reactSelect, this.container);
|
|
144
|
-
|
|
145
|
-
this.ctrl.selectInstance._clickHandler();
|
|
139
|
+
this.ctrl.selectInstance = render(this.reactSelect, this.container);
|
|
146
140
|
} else {
|
|
147
141
|
this.ctrl.selectInstance = hydrate(this.reactSelect, this.container);
|
|
148
142
|
}
|
|
143
|
+
|
|
144
|
+
this.ctrl.selectInstance._openPopupIfClosed();
|
|
149
145
|
}
|
|
150
146
|
|
|
151
147
|
}
|
|
@@ -17,9 +17,9 @@ import '../global/sniffer.js';
|
|
|
17
17
|
import 'sniffr';
|
|
18
18
|
import '../button-ng/button-ng.js';
|
|
19
19
|
import 'classnames';
|
|
20
|
-
import '../global/theme.js';
|
|
21
|
-
import 'react';
|
|
22
20
|
import '../_helpers/button__classes.js';
|
|
21
|
+
import '../global/controls-height.js';
|
|
22
|
+
import 'react';
|
|
23
23
|
import '../icon/icon__constants.js';
|
|
24
24
|
import '../_helpers/icon.js';
|
|
25
25
|
import '../promised-click-ng/promised-click-ng.js';
|
|
@@ -15,9 +15,9 @@ import '../icon/icon__constants.js';
|
|
|
15
15
|
import '../template-ng/template-ng.js';
|
|
16
16
|
import '../_helpers/icon.js';
|
|
17
17
|
import 'classnames';
|
|
18
|
-
import '../global/theme.js';
|
|
19
|
-
import 'react';
|
|
20
18
|
import '../_helpers/button__classes.js';
|
|
19
|
+
import '../global/controls-height.js';
|
|
20
|
+
import 'react';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @name Sidebar Ng
|
package/dist/storage/storage.js
CHANGED
|
@@ -19,15 +19,17 @@ import '../_helpers/icon.js';
|
|
|
19
19
|
import '../icon/icon__svg.js';
|
|
20
20
|
import '../global/memoize.js';
|
|
21
21
|
import '../loader-inline/loader-inline.js';
|
|
22
|
-
import '../global/theme.js';
|
|
23
22
|
import '../global/data-tests.js';
|
|
24
|
-
import '../_helpers/
|
|
25
|
-
import '../global/conic-gradient.js';
|
|
26
|
-
import 'conic-gradient';
|
|
27
|
-
import '../global/supports-css.js';
|
|
28
|
-
import '../global/inject-styles.js';
|
|
29
|
-
import '../global/radial-gradient-mask.js';
|
|
23
|
+
import '../_helpers/loader-inline.js';
|
|
30
24
|
import '../global/dom.js';
|
|
25
|
+
import '../button/button.js';
|
|
26
|
+
import 'focus-visible';
|
|
27
|
+
import '@jetbrains/icons/chevron-10px';
|
|
28
|
+
import '../link/clickableLink.js';
|
|
29
|
+
import '../global/controls-height.js';
|
|
30
|
+
import '../_helpers/button__classes.js';
|
|
31
|
+
import '../_helpers/theme.js';
|
|
32
|
+
import '../popup/popup.target.js';
|
|
31
33
|
import '../alert/container.js';
|
|
32
34
|
import 'deep-equal';
|
|
33
35
|
|
|
@@ -17,15 +17,17 @@ import '../_helpers/icon.js';
|
|
|
17
17
|
import '../icon/icon__svg.js';
|
|
18
18
|
import '../global/memoize.js';
|
|
19
19
|
import '../loader-inline/loader-inline.js';
|
|
20
|
-
import '../global/theme.js';
|
|
21
20
|
import '../global/data-tests.js';
|
|
22
|
-
import '../_helpers/
|
|
23
|
-
import '../global/conic-gradient.js';
|
|
24
|
-
import 'conic-gradient';
|
|
25
|
-
import '../global/supports-css.js';
|
|
26
|
-
import '../global/inject-styles.js';
|
|
27
|
-
import '../global/radial-gradient-mask.js';
|
|
21
|
+
import '../_helpers/loader-inline.js';
|
|
28
22
|
import '../global/dom.js';
|
|
23
|
+
import '../button/button.js';
|
|
24
|
+
import 'focus-visible';
|
|
25
|
+
import '@jetbrains/icons/chevron-10px';
|
|
26
|
+
import '../link/clickableLink.js';
|
|
27
|
+
import '../global/controls-height.js';
|
|
28
|
+
import '../_helpers/button__classes.js';
|
|
29
|
+
import '../_helpers/theme.js';
|
|
30
|
+
import '../popup/popup.target.js';
|
|
29
31
|
import '../alert/container.js';
|
|
30
32
|
|
|
31
33
|
/**
|