@jetbrains/ring-ui-built 6.0.34 → 6.0.36
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/_rollupPluginBabelHelpers.js +1 -10
- package/components/_helpers/anchor.js +9 -6
- package/components/_helpers/caption.js +5 -4
- package/components/_helpers/card.js +65 -49
- package/components/_helpers/icon__svg.js +4 -3
- package/components/_helpers/input.js +45 -36
- package/components/_helpers/query-assist__suggestions.js +18 -14
- package/components/_helpers/select__filter.js +22 -17
- package/components/_helpers/services-link.js +14 -12
- package/components/_helpers/sidebar.js +20 -16
- package/components/_helpers/tab-link.js +21 -13
- package/components/_helpers/theme.js +18 -11
- package/components/_helpers/title.js +20 -16
- package/components/alert/alert.d.ts +2 -1
- package/components/alert/alert.js +20 -17
- package/components/alert/container.d.ts +2 -2
- package/components/alert/container.js +14 -11
- package/components/alert-service/alert-service.d.ts +2 -2
- package/components/alert-service/alert-service.js +14 -14
- package/components/analytics/analytics.js +1 -1
- package/components/analytics/analytics__custom-plugin.js +1 -1
- package/components/auth/auth.js +1 -0
- package/components/auth/auth__core.js +3 -2
- package/components/auth/background-flow.js +1 -1
- package/components/auth/down-notification.d.ts +1 -1
- package/components/auth/down-notification.js +21 -14
- package/components/auth/iframe-flow.js +7 -5
- package/components/auth/request-builder.js +1 -1
- package/components/auth/response-parser.js +1 -1
- package/components/auth/storage.js +3 -2
- package/components/auth/token-validator.js +1 -1
- package/components/auth/window-flow.js +1 -1
- package/components/auth-dialog/auth-dialog.d.ts +2 -2
- package/components/auth-dialog/auth-dialog.js +42 -32
- package/components/auth-dialog-service/auth-dialog-service.js +6 -7
- package/components/avatar/avatar.d.ts +2 -2
- package/components/avatar/avatar.js +29 -28
- package/components/avatar/fallback-avatar.d.ts +2 -2
- package/components/avatar/fallback-avatar.js +50 -37
- package/components/badge/badge.d.ts +2 -2
- package/components/badge/badge.js +7 -8
- package/components/breadcrumbs/breadcrumbs.d.ts +6 -0
- package/components/breadcrumbs/breadcrumbs.js +27 -0
- package/components/button/button.d.ts +2 -1
- package/components/button/button.js +26 -25
- package/components/button-group/button-group.d.ts +4 -2
- package/components/button-group/button-group.js +19 -10
- package/components/button-group/caption.d.ts +2 -2
- package/components/button-group/caption.js +1 -0
- package/components/button-set/button-set.d.ts +2 -2
- package/components/button-set/button-set.js +7 -8
- package/components/button-toolbar/button-toolbar.d.ts +2 -2
- package/components/button-toolbar/button-toolbar.js +4 -6
- package/components/caret/caret.js +1 -1
- package/components/checkbox/checkbox.d.ts +3 -2
- package/components/checkbox/checkbox.js +33 -28
- package/components/clipboard/clipboard.js +3 -2
- package/components/code/code.d.ts +3 -3
- package/components/code/code.js +14 -11
- package/components/collapse/collapse-content.d.ts +2 -1
- package/components/collapse/collapse-content.js +13 -10
- package/components/collapse/collapse-control.d.ts +1 -1
- package/components/collapse/collapse-control.js +10 -11
- package/components/collapse/collapse.d.ts +2 -1
- package/components/collapse/collapse.js +16 -16
- package/components/confirm/confirm.d.ts +2 -1
- package/components/confirm/confirm.js +29 -21
- package/components/confirm-service/confirm-service.js +6 -4
- package/components/content-layout/content-layout.d.ts +2 -2
- package/components/content-layout/content-layout.js +12 -12
- package/components/content-layout/sidebar.d.ts +2 -2
- package/components/content-layout/sidebar.js +1 -0
- package/components/contenteditable/contenteditable.d.ts +3 -3
- package/components/contenteditable/contenteditable.js +5 -7
- package/components/control-help/control-help.d.ts +4 -0
- package/components/control-help/control-help.js +16 -0
- package/components/control-label/control-label.d.ts +2 -1
- package/components/control-label/control-label.js +7 -4
- package/components/data-list/data-list.d.ts +11 -11
- package/components/data-list/data-list.js +44 -40
- package/components/data-list/data-list.mock.d.ts +2 -2
- package/components/data-list/data-list.mock.js +165 -73
- package/components/data-list/item.d.ts +3 -3
- package/components/data-list/item.js +49 -40
- package/components/data-list/selection.js +1 -1
- package/components/data-list/title.d.ts +3 -3
- package/components/data-list/title.js +2 -0
- package/components/date-picker/date-input.d.ts +1 -1
- package/components/date-picker/date-input.js +5 -3
- package/components/date-picker/date-picker.d.ts +2 -1
- package/components/date-picker/date-picker.js +43 -34
- package/components/date-picker/date-popup.d.ts +2 -1
- package/components/date-picker/date-popup.js +51 -45
- package/components/date-picker/day.d.ts +2 -2
- package/components/date-picker/day.js +11 -8
- package/components/date-picker/month-names.d.ts +2 -2
- package/components/date-picker/month-names.js +27 -25
- package/components/date-picker/month-slider.d.ts +2 -2
- package/components/date-picker/month-slider.js +15 -13
- package/components/date-picker/month.d.ts +2 -2
- package/components/date-picker/month.js +18 -15
- package/components/date-picker/months.d.ts +2 -2
- package/components/date-picker/months.js +18 -15
- package/components/date-picker/weekdays.d.ts +2 -2
- package/components/date-picker/weekdays.js +14 -13
- package/components/date-picker/years.d.ts +3 -3
- package/components/date-picker/years.js +19 -17
- package/components/dialog/dialog.d.ts +2 -1
- package/components/dialog/dialog.js +48 -45
- package/components/dropdown/anchor.d.ts +3 -3
- package/components/dropdown/anchor.js +1 -0
- package/components/dropdown/dropdown.d.ts +2 -1
- package/components/dropdown/dropdown.js +12 -12
- package/components/dropdown-menu/dropdown-menu.d.ts +3 -3
- package/components/dropdown-menu/dropdown-menu.js +41 -29
- package/components/editable-heading/editable-heading.d.ts +2 -1
- package/components/editable-heading/editable-heading.js +74 -58
- package/components/error-bubble/error-bubble.d.ts +2 -2
- package/components/error-bubble/error-bubble.js +20 -19
- package/components/error-message/error-message.d.ts +2 -2
- package/components/error-message/error-message.js +22 -20
- package/components/footer/footer.d.ts +2 -2
- package/components/footer/footer.js +31 -27
- package/components/form/form.js +1 -1
- package/components/global/create-stateful-context.d.ts +5 -5
- package/components/global/create-stateful-context.js +10 -7
- package/components/global/data-tests.js +1 -1
- package/components/global/dom.js +1 -1
- package/components/global/focus-sensor-hoc.js +4 -3
- package/components/global/fuzzy-highlight.js +1 -1
- package/components/global/get-event-key.d.ts +1 -1
- package/components/global/inject-styles.js +1 -1
- package/components/global/listeners.js +1 -1
- package/components/global/normalize-indent.js +1 -1
- package/components/global/react-dom-renderer.d.ts +2 -2
- package/components/global/react-dom-renderer.js +4 -3
- package/components/global/rerender-hoc.d.ts +2 -2
- package/components/global/rerender-hoc.js +5 -4
- package/components/global/theme.d.ts +3 -3
- package/components/global/theme.js +1 -0
- package/components/global/trivial-template-tag.js +1 -1
- package/components/grid/col.d.ts +2 -2
- package/components/grid/col.js +7 -5
- package/components/grid/grid.d.ts +2 -2
- package/components/grid/grid.js +7 -8
- package/components/grid/row.d.ts +2 -2
- package/components/grid/row.js +7 -5
- package/components/group/group.d.ts +2 -2
- package/components/group/group.js +7 -8
- package/components/header/header.d.ts +2 -2
- package/components/header/header.js +12 -14
- package/components/header/logo.d.ts +2 -2
- package/components/header/logo.js +7 -5
- package/components/header/profile.d.ts +4 -3
- package/components/header/profile.js +40 -29
- package/components/header/services-link.d.ts +2 -2
- package/components/header/services-link.js +1 -0
- package/components/header/services.d.ts +2 -2
- package/components/header/services.js +31 -31
- package/components/header/smart-profile.d.ts +2 -2
- package/components/header/smart-profile.js +5 -3
- package/components/header/smart-services.d.ts +2 -2
- package/components/header/smart-services.js +4 -3
- package/components/header/tray-icon.d.ts +2 -2
- package/components/header/tray-icon.js +4 -3
- package/components/header/tray.d.ts +2 -2
- package/components/header/tray.js +11 -8
- package/components/heading/heading.d.ts +6 -6
- package/components/heading/heading.js +8 -9
- package/components/http/http.js +1 -1
- package/components/http/http.mock.js +2 -1
- package/components/hub-source/hub-source.js +1 -1
- package/components/hub-source/hub-source__user.js +1 -1
- package/components/hub-source/hub-source__users-groups.js +1 -1
- package/components/i18n/i18n-context.d.ts +1 -1
- package/components/i18n/i18n-context.js +7 -4
- package/components/icon/icon.d.ts +2 -2
- package/components/icon/icon.js +12 -10
- package/components/icon/icon__svg.d.ts +3 -3
- package/components/icon/icon__svg.js +1 -0
- package/components/icon/index.js +1 -0
- package/components/input/input.d.ts +3 -2
- package/components/input/input.js +2 -0
- package/components/island/adaptive-island-hoc.d.ts +11 -11
- package/components/island/adaptive-island-hoc.js +10 -7
- package/components/island/content.d.ts +3 -3
- package/components/island/content.js +29 -23
- package/components/island/header.d.ts +2 -2
- package/components/island/header.js +18 -13
- package/components/island/island.d.ts +10 -10
- package/components/island/island.js +7 -8
- package/components/island-legacy/content-legacy.d.ts +2 -2
- package/components/island-legacy/content-legacy.js +7 -5
- package/components/island-legacy/header-legacy.d.ts +2 -2
- package/components/island-legacy/header-legacy.js +10 -7
- package/components/island-legacy/island-legacy.d.ts +2 -2
- package/components/island-legacy/island-legacy.js +7 -5
- package/components/link/clickableLink.d.ts +2 -1
- package/components/link/clickableLink.js +8 -6
- package/components/link/link.d.ts +15 -15
- package/components/link/link.js +12 -9
- package/components/list/consts.d.ts +2 -1
- package/components/list/list.d.ts +10 -10
- package/components/list/list.js +109 -95
- package/components/list/list__custom.d.ts +2 -1
- package/components/list/list__custom.js +7 -5
- package/components/list/list__hint.d.ts +2 -2
- package/components/list/list__hint.js +7 -9
- package/components/list/list__item.d.ts +2 -2
- package/components/list/list__item.js +73 -65
- package/components/list/list__link.d.ts +2 -2
- package/components/list/list__link.js +8 -10
- package/components/list/list__separator.d.ts +2 -2
- package/components/list/list__separator.js +7 -5
- package/components/list/list__title.d.ts +2 -2
- package/components/list/list__title.js +15 -11
- package/components/list/list__users-groups-source.js +3 -1
- package/components/loader/loader.d.ts +2 -2
- package/components/loader/loader.js +5 -10
- package/components/loader/loader__core.js +1 -1
- package/components/loader-inline/loader-inline.d.ts +2 -2
- package/components/loader-inline/loader-inline.js +10 -9
- package/components/loader-screen/loader-screen.d.ts +2 -2
- package/components/loader-screen/loader-screen.js +10 -11
- package/components/login-dialog/login-dialog.d.ts +2 -2
- package/components/login-dialog/login-dialog.js +21 -16
- package/components/login-dialog/service.js +6 -4
- package/components/markdown/markdown.d.ts +2 -2
- package/components/markdown/markdown.js +7 -8
- package/components/message/message.d.ts +2 -2
- package/components/message/message.js +50 -41
- package/components/old-browsers-message/white-list.js +1 -1
- package/components/pager/pager.d.ts +2 -1
- package/components/pager/pager.js +71 -53
- package/components/panel/panel.d.ts +2 -2
- package/components/panel/panel.js +7 -8
- package/components/permissions/permissions.js +1 -1
- package/components/permissions/permissions__cache.js +1 -1
- package/components/popup/popup.d.ts +2 -1
- package/components/popup/popup.js +46 -39
- package/components/popup/popup.target.d.ts +3 -3
- package/components/popup/popup.target.js +11 -8
- package/components/popup-menu/popup-menu.d.ts +2 -2
- package/components/popup-menu/popup-menu.js +13 -9
- package/components/progress-bar/progress-bar.d.ts +2 -2
- package/components/progress-bar/progress-bar.js +17 -18
- package/components/query-assist/query-assist.d.ts +3 -2
- package/components/query-assist/query-assist.js +122 -109
- package/components/query-assist/query-assist__suggestions.d.ts +2 -2
- package/components/query-assist/query-assist__suggestions.js +3 -1
- package/components/radio/radio.d.ts +3 -3
- package/components/radio/radio.js +8 -8
- package/components/radio/radio__item.d.ts +9 -6
- package/components/radio/radio__item.js +46 -37
- package/components/select/select.d.ts +5 -2
- package/components/select/select.js +201 -180
- package/components/select/select__filter.d.ts +2 -2
- package/components/select/select__filter.js +2 -0
- package/components/select/select__popup.d.ts +6 -4
- package/components/select/select__popup.js +101 -84
- package/components/shortcuts/core.d.ts +0 -1
- package/components/shortcuts/core.js +1 -1
- package/components/shortcuts/shortcuts-hoc.d.ts +8 -8
- package/components/shortcuts/shortcuts-hoc.js +10 -8
- package/components/shortcuts/shortcuts.js +1 -1
- package/components/slider/slider.d.ts +2 -1
- package/components/slider/slider.js +78 -78
- package/components/slider/slider.utils.js +1 -1
- package/components/storage/storage.js +2 -1
- package/components/storage/storage__fallback.js +1 -1
- package/components/storage/storage__local.js +3 -2
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.d.ts +2 -1
- package/components/tab-trap/tab-trap.js +25 -20
- package/components/table/cell.d.ts +2 -2
- package/components/table/cell.js +7 -5
- package/components/table/disable-hover-hoc.d.ts +9 -9
- package/components/table/disable-hover-hoc.js +4 -3
- package/components/table/header-cell.d.ts +2 -2
- package/components/table/header-cell.js +17 -13
- package/components/table/header.d.ts +3 -3
- package/components/table/header.js +34 -26
- package/components/table/multitable.d.ts +2 -2
- package/components/table/multitable.js +12 -10
- package/components/table/row-with-focus-sensor.d.ts +3 -3
- package/components/table/row-with-focus-sensor.js +5 -3
- package/components/table/row.d.ts +2 -1
- package/components/table/row.js +50 -44
- package/components/table/selection-adapter.js +1 -1
- package/components/table/selection-shortcuts-hoc.js +4 -3
- package/components/table/selection.js +1 -1
- package/components/table/smart-table.d.ts +44 -44
- package/components/table/smart-table.js +5 -3
- package/components/table/table.d.ts +2 -1
- package/components/table/table.js +55 -45
- package/components/tabs/collapsible-more.d.ts +4 -4
- package/components/tabs/collapsible-more.js +37 -30
- package/components/tabs/collapsible-tab.d.ts +2 -1
- package/components/tabs/collapsible-tab.js +6 -6
- package/components/tabs/collapsible-tabs.d.ts +4 -4
- package/components/tabs/collapsible-tabs.js +51 -46
- package/components/tabs/dumb-tabs.d.ts +2 -1
- package/components/tabs/dumb-tabs.js +24 -18
- package/components/tabs/smart-tabs.d.ts +2 -2
- package/components/tabs/smart-tabs.js +8 -4
- package/components/tabs/tab-link.d.ts +3 -3
- package/components/tabs/tab-link.js +1 -0
- package/components/tabs/tab.d.ts +2 -2
- package/components/tabs/tab.js +7 -5
- package/components/tabs/tabs.js +2 -0
- package/components/tag/tag.d.ts +2 -1
- package/components/tag/tag.js +31 -28
- package/components/tags-input/tags-input.d.ts +3 -2
- package/components/tags-input/tags-input.js +52 -47
- package/components/tags-list/tags-list.d.ts +2 -1
- package/components/tags-list/tags-list.js +8 -5
- package/components/text/text.d.ts +2 -2
- package/components/text/text.js +7 -4
- package/components/toggle/toggle.d.ts +2 -2
- package/components/toggle/toggle.js +25 -20
- package/components/tooltip/tooltip.d.ts +2 -1
- package/components/tooltip/tooltip.js +26 -21
- package/components/user-agreement/service.js +20 -12
- package/components/user-agreement/user-agreement.d.ts +2 -2
- package/components/user-agreement/user-agreement.js +56 -39
- package/components/user-card/card.d.ts +2 -1
- package/components/user-card/card.js +1 -0
- package/components/user-card/smart-user-card-tooltip.d.ts +3 -3
- package/components/user-card/smart-user-card-tooltip.js +11 -7
- package/components/user-card/tooltip.d.ts +3 -3
- package/components/user-card/tooltip.js +15 -11
- package/components/user-card/user-card.js +1 -0
- package/package.json +5 -5
@@ -1,7 +1,8 @@
|
|
1
|
-
import React from 'react';
|
2
1
|
import Link from '../link/link.js';
|
3
2
|
import Badge from '../badge/badge.js';
|
3
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
4
4
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
5
|
+
import 'react';
|
5
6
|
import 'prop-types';
|
6
7
|
import 'classnames';
|
7
8
|
import '../global/data-tests.js';
|
@@ -15,7 +16,11 @@ import '../_helpers/badge.js';
|
|
15
16
|
|
16
17
|
var items = [{
|
17
18
|
id: 1,
|
18
|
-
title: /*#__PURE__*/
|
19
|
+
title: /*#__PURE__*/jsxs("span", {
|
20
|
+
children: [/*#__PURE__*/jsx("strong", {
|
21
|
+
children: "Assigner"
|
22
|
+
}), " in 60 projects"]
|
23
|
+
}),
|
19
24
|
collapsible: true,
|
20
25
|
selectable: true,
|
21
26
|
items: [{
|
@@ -26,48 +31,63 @@ var items = [{
|
|
26
31
|
items: [{
|
27
32
|
id: 111,
|
28
33
|
selectable: true,
|
29
|
-
title: /*#__PURE__*/
|
30
|
-
href: "#"
|
31
|
-
|
34
|
+
title: /*#__PURE__*/jsx(Link, {
|
35
|
+
href: "#",
|
36
|
+
children: "TeamCity"
|
37
|
+
})
|
32
38
|
}, {
|
33
39
|
id: 112,
|
34
40
|
selectable: true,
|
35
|
-
title: /*#__PURE__*/
|
36
|
-
href: "#"
|
37
|
-
|
41
|
+
title: /*#__PURE__*/jsx(Link, {
|
42
|
+
href: "#",
|
43
|
+
children: "YouTrack"
|
44
|
+
})
|
38
45
|
}, {
|
39
46
|
id: 113,
|
40
47
|
selectable: true,
|
41
|
-
title: /*#__PURE__*/
|
42
|
-
href: "#"
|
43
|
-
|
48
|
+
title: /*#__PURE__*/jsx(Link, {
|
49
|
+
href: "#",
|
50
|
+
children: "Sandbox"
|
51
|
+
})
|
44
52
|
}, {
|
45
53
|
id: 114,
|
46
54
|
selectable: true,
|
47
|
-
title: /*#__PURE__*/
|
48
|
-
href: "#"
|
49
|
-
|
55
|
+
title: /*#__PURE__*/jsx(Link, {
|
56
|
+
href: "#",
|
57
|
+
children: "Exception Analyzer"
|
58
|
+
})
|
50
59
|
}, {
|
51
60
|
id: 115,
|
52
61
|
selectable: true,
|
53
|
-
title: /*#__PURE__*/
|
54
|
-
href: "#"
|
55
|
-
|
62
|
+
title: /*#__PURE__*/jsx(Link, {
|
63
|
+
href: "#",
|
64
|
+
children: "MPS"
|
65
|
+
})
|
56
66
|
}]
|
57
67
|
}]
|
58
68
|
}, {
|
59
69
|
id: 2,
|
60
|
-
title: /*#__PURE__*/
|
70
|
+
title: /*#__PURE__*/jsxs("span", {
|
71
|
+
children: [/*#__PURE__*/jsx("strong", {
|
72
|
+
children: "Code Reviewer"
|
73
|
+
}), " in 5 projects"]
|
74
|
+
}),
|
61
75
|
selectable: true,
|
62
76
|
collapsible: true,
|
63
77
|
items: [{
|
64
78
|
id: 21,
|
65
79
|
selectable: true,
|
66
|
-
title: /*#__PURE__*/
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
80
|
+
title: /*#__PURE__*/jsxs("span", {
|
81
|
+
children: [/*#__PURE__*/jsx(Link, {
|
82
|
+
href: "#",
|
83
|
+
children: "JetProfile"
|
84
|
+
}), /*#__PURE__*/jsx("span", {
|
85
|
+
children: " "
|
86
|
+
}), /*#__PURE__*/jsx(Badge, {
|
87
|
+
gray: true,
|
88
|
+
children: "duplicate"
|
89
|
+
})]
|
90
|
+
})
|
71
91
|
}, {
|
72
92
|
id: 22,
|
73
93
|
title: '6 projects: as a member of jetbrains-team',
|
@@ -75,97 +95,157 @@ var items = [{
|
|
75
95
|
items: [{
|
76
96
|
id: 221,
|
77
97
|
collapsible: true,
|
78
|
-
title: /*#__PURE__*/
|
79
|
-
href: "#"
|
80
|
-
|
98
|
+
title: /*#__PURE__*/jsx(Link, {
|
99
|
+
href: "#",
|
100
|
+
children: "TeamCity"
|
101
|
+
})
|
81
102
|
}, {
|
82
103
|
id: 222,
|
83
104
|
collapsible: true,
|
84
|
-
title: /*#__PURE__*/
|
85
|
-
href: "#"
|
86
|
-
|
105
|
+
title: /*#__PURE__*/jsx(Link, {
|
106
|
+
href: "#",
|
107
|
+
children: "YouTrack"
|
108
|
+
})
|
87
109
|
}, {
|
88
110
|
id: 223,
|
89
111
|
collapsible: true,
|
90
|
-
title: /*#__PURE__*/
|
91
|
-
href: "#"
|
92
|
-
|
112
|
+
title: /*#__PURE__*/jsx(Link, {
|
113
|
+
href: "#",
|
114
|
+
children: "Sandbox"
|
115
|
+
})
|
93
116
|
}, {
|
94
117
|
id: 224,
|
95
118
|
collapsible: true,
|
96
|
-
title: /*#__PURE__*/
|
97
|
-
href: "#"
|
98
|
-
|
119
|
+
title: /*#__PURE__*/jsx(Link, {
|
120
|
+
href: "#",
|
121
|
+
children: "Exception Analyzer"
|
122
|
+
})
|
99
123
|
}, {
|
100
124
|
id: 225,
|
101
125
|
collapsible: true,
|
102
|
-
title: /*#__PURE__*/
|
103
|
-
href: "#"
|
104
|
-
|
126
|
+
title: /*#__PURE__*/jsx(Link, {
|
127
|
+
href: "#",
|
128
|
+
children: "MPS"
|
129
|
+
})
|
105
130
|
}]
|
106
131
|
}, {
|
107
132
|
id: 23,
|
108
133
|
collapsible: true,
|
109
|
-
title: /*#__PURE__*/
|
110
|
-
|
111
|
-
|
134
|
+
title: /*#__PURE__*/jsxs("span", {
|
135
|
+
children: [/*#__PURE__*/jsx(Link, {
|
136
|
+
href: "#",
|
137
|
+
children: "CustomJDK"
|
138
|
+
}), /*#__PURE__*/jsx("span", {
|
139
|
+
children: ": as a member of ide-developers"
|
140
|
+
})]
|
141
|
+
})
|
112
142
|
}]
|
113
143
|
}, {
|
114
144
|
id: 3,
|
115
|
-
title: /*#__PURE__*/
|
145
|
+
title: /*#__PURE__*/jsxs("span", {
|
146
|
+
children: [/*#__PURE__*/jsx("strong", {
|
147
|
+
children: "Code Viewer"
|
148
|
+
}), " in 5 projects"]
|
149
|
+
}),
|
116
150
|
selectable: true,
|
117
151
|
collapsible: true,
|
118
152
|
items: [{
|
119
153
|
id: 31,
|
120
154
|
collapsible: true,
|
121
|
-
title: /*#__PURE__*/
|
122
|
-
|
123
|
-
|
155
|
+
title: /*#__PURE__*/jsxs("span", {
|
156
|
+
children: [/*#__PURE__*/jsx(Link, {
|
157
|
+
href: "#",
|
158
|
+
children: "ide-frontend"
|
159
|
+
}), /*#__PURE__*/jsx("span", {
|
160
|
+
children: ": as a member of ide-developers"
|
161
|
+
})]
|
162
|
+
})
|
124
163
|
}, {
|
125
164
|
id: 32,
|
126
165
|
collapsible: true,
|
127
|
-
title: /*#__PURE__*/
|
128
|
-
|
129
|
-
|
166
|
+
title: /*#__PURE__*/jsxs("span", {
|
167
|
+
children: [/*#__PURE__*/jsx(Link, {
|
168
|
+
href: "#",
|
169
|
+
children: "ide-frontend"
|
170
|
+
}), /*#__PURE__*/jsx("span", {
|
171
|
+
children: ": as a member of ide-frontend Code Viewers"
|
172
|
+
})]
|
173
|
+
})
|
130
174
|
}]
|
131
175
|
}, {
|
132
176
|
id: 4,
|
133
|
-
title: /*#__PURE__*/
|
177
|
+
title: /*#__PURE__*/jsxs("span", {
|
178
|
+
children: [/*#__PURE__*/jsx("strong", {
|
179
|
+
children: "Commenter"
|
180
|
+
}), " in 12 projects"]
|
181
|
+
}),
|
134
182
|
collapsible: true,
|
135
183
|
items: [{
|
136
184
|
id: 41,
|
137
185
|
collapsible: true,
|
138
|
-
title: /*#__PURE__*/
|
139
|
-
|
140
|
-
|
186
|
+
title: /*#__PURE__*/jsxs("span", {
|
187
|
+
children: [/*#__PURE__*/jsx(Link, {
|
188
|
+
href: "#",
|
189
|
+
children: "Intellij IDEA"
|
190
|
+
}), /*#__PURE__*/jsx("span", {
|
191
|
+
children: ": as a member of Registered Users"
|
192
|
+
})]
|
193
|
+
})
|
141
194
|
}, {
|
142
195
|
id: 42,
|
143
196
|
collapsible: true,
|
144
|
-
title: /*#__PURE__*/
|
145
|
-
|
146
|
-
|
197
|
+
title: /*#__PURE__*/jsxs("span", {
|
198
|
+
children: [/*#__PURE__*/jsx(Link, {
|
199
|
+
href: "#",
|
200
|
+
children: "YouTrack Backlog"
|
201
|
+
}), /*#__PURE__*/jsx("span", {
|
202
|
+
children: ": as a member of jetbrains-team"
|
203
|
+
})]
|
204
|
+
})
|
147
205
|
}]
|
148
206
|
}, {
|
149
207
|
id: 5,
|
150
208
|
collapsible: true,
|
151
|
-
title: /*#__PURE__*/
|
209
|
+
title: /*#__PURE__*/jsxs("span", {
|
210
|
+
children: [/*#__PURE__*/jsx("strong", {
|
211
|
+
children: "Developer"
|
212
|
+
}), /*#__PURE__*/jsx("span", {
|
213
|
+
children: " in 57 projects "
|
214
|
+
}), /*#__PURE__*/jsx(Badge, {
|
215
|
+
children: "team role"
|
216
|
+
})]
|
217
|
+
}),
|
152
218
|
items: [{
|
153
219
|
id: 51,
|
154
220
|
selectable: true,
|
155
221
|
collapsible: true,
|
156
|
-
title: /*#__PURE__*/
|
157
|
-
href: "#"
|
158
|
-
|
222
|
+
title: /*#__PURE__*/jsx(Link, {
|
223
|
+
href: "#",
|
224
|
+
children: "Wasabi"
|
225
|
+
})
|
159
226
|
}]
|
160
227
|
}, {
|
161
228
|
id: 6,
|
162
229
|
collapsible: true,
|
163
|
-
title: /*#__PURE__*/
|
164
|
-
|
165
|
-
|
230
|
+
title: /*#__PURE__*/jsxs("span", {
|
231
|
+
children: [/*#__PURE__*/jsx("strong", {
|
232
|
+
children: "Git Hosting Admin"
|
233
|
+
}), /*#__PURE__*/jsx("span", {
|
234
|
+
children: " in project "
|
235
|
+
}), /*#__PURE__*/jsx(Link, {
|
236
|
+
href: "#",
|
237
|
+
children: "Hackathon 2016"
|
238
|
+
}), /*#__PURE__*/jsx("span", {
|
239
|
+
children: ": as a member of jetbrains-team"
|
240
|
+
})]
|
241
|
+
})
|
166
242
|
}, {
|
167
243
|
id: 7,
|
168
|
-
title: /*#__PURE__*/
|
244
|
+
title: /*#__PURE__*/jsxs("span", {
|
245
|
+
children: [/*#__PURE__*/jsx("strong", {
|
246
|
+
children: "Git Hosting Checkout"
|
247
|
+
}), " in 7 projects"]
|
248
|
+
}),
|
169
249
|
selectable: true,
|
170
250
|
collapsible: true
|
171
251
|
}];
|
@@ -173,20 +253,32 @@ var moreItems = [{
|
|
173
253
|
id: 91,
|
174
254
|
selectable: true,
|
175
255
|
collapsible: true,
|
176
|
-
title: /*#__PURE__*/
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
256
|
+
title: /*#__PURE__*/jsxs("span", {
|
257
|
+
children: [/*#__PURE__*/jsx(Link, {
|
258
|
+
href: "#",
|
259
|
+
children: "More item 1"
|
260
|
+
}), /*#__PURE__*/jsx("span", {
|
261
|
+
children: " "
|
262
|
+
}), /*#__PURE__*/jsx(Badge, {
|
263
|
+
gray: true,
|
264
|
+
children: "duplicate"
|
265
|
+
})]
|
266
|
+
})
|
181
267
|
}, {
|
182
268
|
id: 92,
|
183
269
|
selectable: true,
|
184
270
|
collapsible: true,
|
185
|
-
title: /*#__PURE__*/
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
271
|
+
title: /*#__PURE__*/jsxs("span", {
|
272
|
+
children: [/*#__PURE__*/jsx(Link, {
|
273
|
+
href: "#",
|
274
|
+
children: "More item 2"
|
275
|
+
}), /*#__PURE__*/jsx("span", {
|
276
|
+
children: " "
|
277
|
+
}), /*#__PURE__*/jsx(Badge, {
|
278
|
+
gray: true,
|
279
|
+
children: "duplicate"
|
280
|
+
})]
|
281
|
+
})
|
190
282
|
}];
|
191
283
|
|
192
284
|
export { items as default, moreItems };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import
|
1
|
+
import { PureComponent, ReactNode } from 'react';
|
2
2
|
import Selection, { SelectionItem } from '../table/selection';
|
3
3
|
export declare enum moreLessButtonStates {
|
4
4
|
UNUSED = 0,
|
@@ -45,6 +45,6 @@ export default class Item<T extends SelectionItem> extends PureComponent<ItemPro
|
|
45
45
|
onShowLess: () => void;
|
46
46
|
onFocus: () => void;
|
47
47
|
onSelect: (selected: boolean) => void;
|
48
|
-
renderItem: (model: T, parentShift: number) =>
|
49
|
-
render():
|
48
|
+
renderItem: (model: T, parentShift: number) => import("react").JSX.Element;
|
49
|
+
render(): import("react").JSX.Element;
|
50
50
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createClass,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, e as _classCallCheck, f as _callSuper } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.map.js';
|
4
|
-
import
|
4
|
+
import { PureComponent } from 'react';
|
5
5
|
import PropTypes from 'prop-types';
|
6
6
|
import chevronRightIcon from '@jetbrains/icons/chevron-right';
|
7
7
|
import chevronDownIcon from '@jetbrains/icons/chevron-down';
|
@@ -11,6 +11,7 @@ import LoaderInline from '../loader-inline/loader-inline.js';
|
|
11
11
|
import { Button } from '../button/button.js';
|
12
12
|
import Selection from '../table/selection.js';
|
13
13
|
import { m as modules_09d014b4, T as Title } from '../_helpers/title.js';
|
14
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
14
15
|
import 'classnames';
|
15
16
|
import '../global/data-tests.js';
|
16
17
|
import 'core-js/modules/es.array.reduce.js';
|
@@ -43,6 +44,7 @@ import 'core-js/modules/web.dom-collections.for-each.js';
|
|
43
44
|
import '../checkbox/checkbox.js';
|
44
45
|
import '@jetbrains/icons/checkmark-12px';
|
45
46
|
import '@jetbrains/icons/remove-12px';
|
47
|
+
import '../control-help/control-help.js';
|
46
48
|
import '../global/get-uid.js';
|
47
49
|
import 'core-js/modules/es.regexp.to-string.js';
|
48
50
|
|
@@ -95,8 +97,7 @@ var Item = /*#__PURE__*/function (_PureComponent) {
|
|
95
97
|
level = _this$props5.level,
|
96
98
|
itemFormatter = _this$props5.itemFormatter;
|
97
99
|
var item = itemFormatter(model);
|
98
|
-
return /*#__PURE__*/
|
99
|
-
key: item.key || item.id,
|
100
|
+
return /*#__PURE__*/jsx(Item, {
|
100
101
|
item: model,
|
101
102
|
title: item.title,
|
102
103
|
items: item.items,
|
@@ -113,7 +114,7 @@ var Item = /*#__PURE__*/function (_PureComponent) {
|
|
113
114
|
selectable: item.selectable,
|
114
115
|
selected: selection.isSelected(model),
|
115
116
|
onSelect: onSelect
|
116
|
-
});
|
117
|
+
}, item.key || item.id);
|
117
118
|
});
|
118
119
|
return _this;
|
119
120
|
}
|
@@ -137,28 +138,32 @@ var Item = /*#__PURE__*/function (_PureComponent) {
|
|
137
138
|
onExpand = _this$props6.onExpand;
|
138
139
|
var moreLessButton;
|
139
140
|
if (showMoreLessButton === moreLessButtonStates.MORE || showMoreLessButton === moreLessButtonStates.MORE_LOADING) {
|
140
|
-
moreLessButton = /*#__PURE__*/
|
141
|
-
info: true
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
141
|
+
moreLessButton = /*#__PURE__*/jsxs(Text, {
|
142
|
+
info: true,
|
143
|
+
children: [/*#__PURE__*/jsx(Link, {
|
144
|
+
inherit: true,
|
145
|
+
pseudo: true,
|
146
|
+
onClick: this.onShowMore,
|
147
|
+
children: 'Show more'
|
148
|
+
}), showMoreLessButton === moreLessButtonStates.MORE_LOADING && /*#__PURE__*/jsx(LoaderInline, {
|
149
|
+
className: modules_09d014b4.showMoreLoader
|
150
|
+
})]
|
151
|
+
});
|
149
152
|
} else if (showMoreLessButton === moreLessButtonStates.LESS) {
|
150
|
-
moreLessButton = /*#__PURE__*/
|
151
|
-
info: true
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
153
|
+
moreLessButton = /*#__PURE__*/jsx(Text, {
|
154
|
+
info: true,
|
155
|
+
children: /*#__PURE__*/jsx(Link, {
|
156
|
+
inherit: true,
|
157
|
+
pseudo: true,
|
158
|
+
onClick: this.onShowLess,
|
159
|
+
children: 'Show less'
|
160
|
+
})
|
161
|
+
});
|
157
162
|
}
|
158
163
|
var collapserExpander = null;
|
159
164
|
if (collapsible) {
|
160
165
|
if (collapsed) {
|
161
|
-
collapserExpander = /*#__PURE__*/
|
166
|
+
collapserExpander = /*#__PURE__*/jsx(Button, {
|
162
167
|
title: "Expand",
|
163
168
|
onClick: onExpand,
|
164
169
|
icon: chevronRightIcon,
|
@@ -167,7 +172,7 @@ var Item = /*#__PURE__*/function (_PureComponent) {
|
|
167
172
|
"data-test": "ring-data-list-expand"
|
168
173
|
});
|
169
174
|
} else {
|
170
|
-
collapserExpander = /*#__PURE__*/
|
175
|
+
collapserExpander = /*#__PURE__*/jsx(Button, {
|
171
176
|
title: "Collapse",
|
172
177
|
onClick: onCollapse,
|
173
178
|
icon: chevronDownIcon,
|
@@ -179,23 +184,27 @@ var Item = /*#__PURE__*/function (_PureComponent) {
|
|
179
184
|
}
|
180
185
|
var itemIsEmpty = !(items !== null && items !== void 0 && items.length) || collapsible && collapsed;
|
181
186
|
var offset = level * LIST_LEFT_OFFSET + ITEM_LEFT_OFFSET + parentShift;
|
182
|
-
return /*#__PURE__*/
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
187
|
+
return /*#__PURE__*/jsxs("li", {
|
188
|
+
children: [/*#__PURE__*/jsx(Title, {
|
189
|
+
title: title,
|
190
|
+
focused: showFocus,
|
191
|
+
showFocus: showFocus,
|
192
|
+
selectable: selectable,
|
193
|
+
selected: selected,
|
194
|
+
collapserExpander: collapserExpander,
|
195
|
+
onFocus: this.onFocus,
|
196
|
+
onSelect: this.onSelect,
|
197
|
+
offset: offset
|
198
|
+
}), !itemIsEmpty ? /*#__PURE__*/jsxs("ul", {
|
199
|
+
className: modules_09d014b4.itemContent,
|
200
|
+
children: [items.map(function (model) {
|
201
|
+
return _this2.renderItem(model, parentShift);
|
202
|
+
}), showMoreLessButton !== moreLessButtonStates.UNUSED ? /*#__PURE__*/jsx("li", {
|
203
|
+
className: modules_09d014b4.showMore,
|
204
|
+
children: moreLessButton
|
205
|
+
}) : null]
|
206
|
+
}) : null]
|
207
|
+
});
|
199
208
|
}
|
200
209
|
}]);
|
201
210
|
}(PureComponent);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a as _inherits, b as _createClass,
|
1
|
+
import { a as _inherits, b as _createClass, j as _toConsumableArray, l as _get, m as _getPrototypeOf, e as _classCallCheck, f as _callSuper } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.filter.js';
|
4
4
|
import 'core-js/modules/es.array.find.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import
|
1
|
+
import { PureComponent, ReactNode, ComponentType } from 'react';
|
2
2
|
import { FocusSensorAddProps } from '../global/focus-sensor-hoc';
|
3
3
|
export interface TitleProps extends FocusSensorAddProps<HTMLDivElement> {
|
4
4
|
onSelect: (selected: boolean) => void;
|
@@ -20,7 +20,7 @@ declare class Title extends PureComponent<TitleProps> {
|
|
20
20
|
onCheckboxFocus: () => void;
|
21
21
|
onCheckboxChange: () => void;
|
22
22
|
toggleSelection(): void;
|
23
|
-
render():
|
23
|
+
render(): import("react").JSX.Element;
|
24
24
|
}
|
25
|
-
declare const _default:
|
25
|
+
declare const _default: ComponentType<import("../global/focus-sensor-hoc").FocusSensorProps<TitleProps, HTMLDivElement, typeof Title>>;
|
26
26
|
export default _default;
|
@@ -8,6 +8,7 @@ import '../checkbox/checkbox.js';
|
|
8
8
|
import '../global/get-uid.js';
|
9
9
|
import '../global/prop-types.js';
|
10
10
|
export { T as default } from '../_helpers/title.js';
|
11
|
+
import 'react/jsx-runtime';
|
11
12
|
import '../global/composeRefs.js';
|
12
13
|
import 'core-js/modules/es.object.to-string.js';
|
13
14
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
@@ -25,4 +26,5 @@ import 'core-js/modules/es.array.iterator.js';
|
|
25
26
|
import 'core-js/modules/es.map.js';
|
26
27
|
import 'core-js/modules/es.weak-map.js';
|
27
28
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
29
|
+
import '../control-help/control-help.js';
|
28
30
|
import 'core-js/modules/es.regexp.to-string.js';
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, e as _classCallCheck, f as _callSuper } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.filter.js';
|
4
4
|
import 'core-js/modules/es.object.to-string.js';
|
5
5
|
import 'core-js/modules/es.regexp.exec.js';
|
6
6
|
import 'core-js/modules/es.string.replace.js';
|
7
|
-
import React from 'react';
|
7
|
+
import * as React from 'react';
|
8
8
|
import classNames from 'classnames';
|
9
9
|
import PropTypes from 'prop-types';
|
10
10
|
import { I as Input } from '../_helpers/input.js';
|
@@ -12,6 +12,7 @@ import { ControlsHeight } from '../global/controls-height.js';
|
|
12
12
|
import { I18nContext } from '../i18n/i18n-context.js';
|
13
13
|
import { dateType } from './consts.js';
|
14
14
|
import { m as modules_0c7b7d96 } from '../_helpers/date-picker.js';
|
15
|
+
import { jsx } from 'react/jsx-runtime';
|
15
16
|
import 'core-js/modules/es.object.values.js';
|
16
17
|
import '@jetbrains/icons/close-12px';
|
17
18
|
import '../global/prop-types.js';
|
@@ -34,6 +35,7 @@ import 'core-js/modules/es.regexp.to-string.js';
|
|
34
35
|
import '../global/composeRefs.js';
|
35
36
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
36
37
|
import '../control-label/control-label.js';
|
38
|
+
import '../control-help/control-help.js';
|
37
39
|
import '../i18n/i18n.js';
|
38
40
|
import 'core-js/modules/es.set.js';
|
39
41
|
import 'core-js/modules/es.array.index-of.js';
|
@@ -136,7 +138,7 @@ var DateInput = /*#__PURE__*/function (_React$PureComponent) {
|
|
136
138
|
}
|
137
139
|
}();
|
138
140
|
var classes = classNames(modules_0c7b7d96.filter, modules_0c7b7d96["".concat(name, "Input")], divider && modules_0c7b7d96["".concat(name, "InputWithDivider")], 'ring-js-shortcuts');
|
139
|
-
return /*#__PURE__*/
|
141
|
+
return /*#__PURE__*/jsx(Input, {
|
140
142
|
autoComplete: "off",
|
141
143
|
borderless: true,
|
142
144
|
height: ControlsHeight.L,
|