@jetbrains/ring-ui 4.1.1 → 4.1.5
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/README.md +5 -1
- package/components/alert/container.css +1 -2
- package/components/date-picker/date-picker.css +5 -5
- package/components/date-picker/date-picker.examples.js +1 -1
- package/components/dropdown/anchor.js +1 -0
- package/components/header/header.css +2 -2
- package/components/query-assist/query-assist.css +2 -2
- package/components/select/select.css +2 -2
- package/components/tabs/dumb-tabs.js +1 -0
- package/components/tag/tag.css +2 -2
- package/dist/_helpers/_rollupPluginBabelHelpers.js +34 -0
- package/dist/_helpers/anchor.js +33 -0
- package/dist/_helpers/badge.js +3 -0
- package/dist/_helpers/button-group.js +3 -0
- package/dist/_helpers/button-set.js +3 -0
- package/dist/_helpers/button-toolbar.js +3 -0
- package/dist/_helpers/button__classes.js +39 -0
- package/dist/_helpers/card.js +75 -0
- package/dist/_helpers/checkbox.js +3 -0
- package/dist/_helpers/date-picker.js +3 -0
- package/dist/_helpers/dialog__body-scroll-preventer.js +57 -0
- package/dist/_helpers/error-message.js +3 -0
- package/dist/_helpers/footer.js +121 -0
- package/dist/_helpers/grid.js +3 -0
- package/dist/_helpers/group.js +3 -0
- package/dist/_helpers/header.js +3 -0
- package/dist/_helpers/icon.js +3 -0
- package/dist/_helpers/inject-styles.js +22 -0
- package/dist/_helpers/input.js +3 -0
- package/dist/_helpers/island.js +3 -0
- package/dist/_helpers/link.js +3 -0
- package/dist/_helpers/list.js +3 -0
- package/dist/_helpers/loader-screen.js +3 -0
- package/dist/_helpers/panel.js +3 -0
- package/dist/_helpers/query-assist__suggestions.js +95 -0
- package/dist/_helpers/radio.js +3 -0
- package/dist/_helpers/select__filter.js +76 -0
- package/dist/_helpers/services-link.js +40 -0
- package/dist/_helpers/sidebar.js +125 -0
- package/dist/_helpers/table.js +3 -0
- package/dist/_helpers/tabs.js +3 -0
- package/dist/_helpers/title.js +99 -0
- package/dist/alert/alert.js +260 -0
- package/dist/alert/container.js +48 -0
- package/dist/alert-service/alert-service.js +170 -0
- package/dist/analytics/analytics.js +116 -0
- package/dist/analytics/analytics__custom-plugin.js +127 -0
- package/dist/analytics/analytics__fus-plugin.js +101 -0
- package/dist/analytics/analytics__ga-plugin.js +66 -0
- package/dist/analytics/analytics__plugin-utils.js +79 -0
- package/dist/analytics-ng/analytics-ng.js +94 -0
- package/dist/auth/auth.js +93 -0
- package/dist/auth/auth__core.js +1025 -0
- package/dist/auth/background-flow.js +122 -0
- package/dist/auth/down-notification.js +114 -0
- package/dist/auth/iframe-flow.js +150 -0
- package/dist/auth/landing-entry.js +5 -0
- package/dist/auth/landing.js +87 -0
- package/dist/auth/request-builder.js +75 -0
- package/dist/auth/response-parser.js +117 -0
- package/dist/auth/storage.js +280 -0
- package/dist/auth/token-validator.js +176 -0
- package/dist/auth/window-flow.js +133 -0
- package/dist/auth-dialog/auth-dialog.js +134 -0
- package/dist/auth-dialog-service/auth-dialog-service.js +68 -0
- package/dist/auth-ng/auth-ng.js +203 -0
- package/dist/auth-ng/auth-ng.mock.js +33 -0
- package/dist/autofocus-ng/autofocus-ng.js +50 -0
- package/dist/avatar/avatar-example-datauri.js +26 -0
- package/dist/avatar/avatar.js +161 -0
- package/dist/avatar/fallback-avatar.js +141 -0
- package/dist/avatar-editor-ng/avatar-editor-ng.js +164 -0
- package/dist/avatar-editor-ng/avatar-editor-ng__template.js +30 -0
- package/dist/avatar-ng/avatar-ng.js +18 -0
- package/dist/badge/badge.js +50 -0
- package/dist/badge-ng/badge-ng.js +16 -0
- package/dist/breadcrumb-ng/breadcrumb-ng.js +61 -0
- package/dist/button/button.js +123 -0
- package/dist/button/button__classes.js +5 -0
- package/dist/button-group/button-group.js +30 -0
- package/dist/button-group/caption.js +24 -0
- package/dist/button-group-ng/button-group-ng.js +38 -0
- package/dist/button-ng/button-ng.js +223 -0
- package/dist/button-set/button-set.js +26 -0
- package/dist/button-set-ng/button-set-ng.js +19 -0
- package/dist/button-toolbar/button-toolbar.js +29 -0
- package/dist/button-toolbar-ng/button-toolbar-ng.js +23 -0
- package/dist/caret/caret.js +264 -0
- package/dist/checkbox/checkbox.js +108 -0
- package/dist/checkbox-ng/checkbox-ng.js +55 -0
- package/dist/code/code.js +136 -0
- package/dist/compiler-ng/compiler-ng.js +53 -0
- package/dist/confirm/confirm.js +125 -0
- package/dist/confirm-ng/confirm-ng.js +66 -0
- package/dist/confirm-service/confirm-service.js +114 -0
- package/dist/content-layout/content-layout.js +65 -0
- package/dist/content-layout/sidebar.js +6 -0
- package/dist/contenteditable/contenteditable.js +78 -0
- package/dist/data-list/data-list.js +206 -0
- package/dist/data-list/data-list.mock.js +190 -0
- package/dist/data-list/item.js +227 -0
- package/dist/data-list/selection.js +101 -0
- package/dist/data-list/title.js +18 -0
- package/dist/data-list-ng/data-list-ng.js +59 -0
- package/dist/date-picker/consts.js +69 -0
- package/dist/date-picker/date-input.js +173 -0
- package/dist/date-picker/date-picker.js +365 -0
- package/dist/date-picker/date-popup.js +482 -0
- package/dist/date-picker/day.js +119 -0
- package/dist/date-picker/formats.js +3 -0
- package/dist/date-picker/month-names.js +99 -0
- package/dist/date-picker/month-slider.js +83 -0
- package/dist/date-picker/month.js +54 -0
- package/dist/date-picker/months.js +121 -0
- package/dist/date-picker/weekdays.js +32 -0
- package/dist/date-picker/years.js +109 -0
- package/dist/dialog/dialog.js +200 -0
- package/dist/dialog/dialog__body-scroll-preventer.js +2 -0
- package/dist/dialog-ng/dialog-ng.js +601 -0
- package/dist/dialog-ng/dialog-ng__template.js +71 -0
- package/dist/docked-panel-ng/docked-panel-ng.js +170 -0
- package/dist/dropdown/anchor.js +17 -0
- package/dist/dropdown/dropdown.js +234 -0
- package/dist/dropdown-menu/dropdown-menu.js +175 -0
- package/dist/error-bubble/error-bubble.js +57 -0
- package/dist/error-message/error-message.js +55 -0
- package/dist/error-message-ng/error-message-ng.js +53 -0
- package/dist/footer/footer.js +11 -0
- package/dist/footer-ng/footer-ng.js +75 -0
- package/dist/form-ng/form-ng.js +169 -0
- package/dist/global/angular-component-factory.js +82 -0
- package/dist/global/compose.js +9 -0
- package/dist/global/composeRefs.js +15 -0
- package/dist/global/conic-gradient.js +35 -0
- package/dist/global/create-stateful-context.js +54 -0
- package/dist/global/data-tests.js +22 -0
- package/dist/global/dom.js +124 -0
- package/dist/global/focus-sensor-hoc.js +145 -0
- package/dist/global/fuzzy-highlight.js +67 -0
- package/dist/global/get-event-key.js +111 -0
- package/dist/global/get-uid.js +15 -0
- package/dist/global/inject-styles.js +17 -0
- package/dist/global/linear-function.js +17 -0
- package/dist/global/listeners.js +42 -0
- package/dist/global/memoize.js +18 -0
- package/dist/global/normalize-indent.js +28 -0
- package/dist/global/promise-with-timeout.js +13 -0
- package/dist/global/radial-gradient-mask.js +49 -0
- package/dist/global/react-dom-renderer.js +45 -0
- package/dist/global/rerender-hoc.js +51 -0
- package/dist/global/ring-angular-component.js +24 -0
- package/dist/global/schedule-raf.js +31 -0
- package/dist/global/sniffer.js +6 -0
- package/dist/global/supports-css.js +20 -0
- package/dist/global/theme.js +54 -0
- package/dist/global/trivial-template-tag.js +15 -0
- package/dist/global/url.js +163 -0
- package/dist/global/variables_dark.js +57 -0
- package/dist/grid/col.js +60 -0
- package/dist/grid/grid.js +33 -0
- package/dist/grid/row.js +64 -0
- package/dist/group/group.js +31 -0
- package/dist/group-ng/group-ng.js +11 -0
- package/dist/header/header.js +147 -0
- package/dist/header/logo.js +38 -0
- package/dist/header/profile.js +217 -0
- package/dist/header/services-link.js +11 -0
- package/dist/header/services.js +136 -0
- package/dist/header/smart-profile.js +230 -0
- package/dist/header/smart-services.js +160 -0
- package/dist/header/tray-icon.js +45 -0
- package/dist/header/tray.js +31 -0
- package/dist/heading/heading.js +73 -0
- package/dist/http/http.js +216 -0
- package/dist/http/http.mock.js +65 -0
- package/dist/hub-source/hub-source.js +130 -0
- package/dist/hub-source/hub-source__user.js +28 -0
- package/dist/hub-source/hub-source__users-groups.js +62 -0
- package/dist/icon/icon.js +105 -0
- package/dist/icon/icon__constants.js +33 -0
- package/dist/icon/icon__svg.js +81 -0
- package/dist/icon/index.js +10 -0
- package/dist/icon-ng/icon-ng.js +89 -0
- package/dist/input/input.js +228 -0
- package/dist/input-ng/input-ng.js +166 -0
- package/dist/island/adaptive-island-hoc.js +47 -0
- package/dist/island/content.js +156 -0
- package/dist/island/header.js +83 -0
- package/dist/island/island.js +50 -0
- package/dist/island-legacy/content-legacy.js +26 -0
- package/dist/island-legacy/header-legacy.js +28 -0
- package/dist/island-legacy/island-legacy.js +28 -0
- package/dist/island-ng/island-content-ng.js +56 -0
- package/dist/island-ng/island-header-ng.js +32 -0
- package/dist/island-ng/island-ng-class-fixer.js +9 -0
- package/dist/island-ng/island-ng.js +31 -0
- package/dist/link/clickableLink.js +63 -0
- package/dist/link/link.js +114 -0
- package/dist/link-ng/link-ng.js +25 -0
- package/dist/list/consts.js +26 -0
- package/dist/list/list.js +812 -0
- package/dist/list/list__custom.js +85 -0
- package/dist/list/list__hint.js +26 -0
- package/dist/list/list__item.js +204 -0
- package/dist/list/list__link.js +64 -0
- package/dist/list/list__separator.js +30 -0
- package/dist/list/list__title.js +39 -0
- package/dist/list/list__users-groups-source.js +128 -0
- package/dist/loader/loader.js +70 -0
- package/dist/loader/loader__core.js +272 -0
- package/dist/loader-inline/inject-styles.js +11 -0
- package/dist/loader-inline/loader-inline.js +56 -0
- package/dist/loader-inline-ng/loader-inline-ng.js +42 -0
- package/dist/loader-ng/loader-ng.js +43 -0
- package/dist/loader-screen/loader-screen.js +43 -0
- package/dist/loader-screen-ng/loader-screen-ng.js +99 -0
- package/dist/login-dialog/login-dialog.js +186 -0
- package/dist/login-dialog/service.js +69 -0
- package/dist/markdown/code.js +30 -0
- package/dist/markdown/heading.js +23 -0
- package/dist/markdown/link.js +30 -0
- package/dist/markdown/markdown.js +73 -0
- package/dist/message/message.js +233 -0
- package/dist/message-bundle-ng/message-bundle-ng.js +111 -0
- package/dist/old-browsers-message/old-browsers-message.js +100 -0
- package/dist/old-browsers-message/old-browsers-message__stop.js +4 -0
- package/dist/old-browsers-message/white-list.js +33 -0
- package/dist/pager/pager.js +361 -0
- package/dist/pager-ng/pager-ng.js +96 -0
- package/dist/panel/panel.js +31 -0
- package/dist/panel-ng/panel-ng.js +16 -0
- package/dist/permissions/permissions.js +200 -0
- package/dist/permissions/permissions__cache.js +272 -0
- package/dist/permissions-ng/permissions-ng.js +274 -0
- package/dist/place-under-ng/place-under-ng.js +157 -0
- package/dist/popup/popup.consts.js +41 -0
- package/dist/popup/popup.js +389 -0
- package/dist/popup/popup.target.js +26 -0
- package/dist/popup/position.js +279 -0
- package/dist/popup-menu/popup-menu.js +115 -0
- package/dist/progress-bar/progress-bar.js +113 -0
- package/dist/progress-bar-ng/progress-bar-ng.js +15 -0
- package/dist/promised-click-ng/promised-click-ng.js +126 -0
- package/dist/proxy-attrs/proxy-attrs.js +19 -0
- package/dist/query-assist/query-assist.js +1092 -0
- package/dist/query-assist/query-assist__suggestions.js +47 -0
- package/dist/query-assist-ng/query-assist-ng.js +82 -0
- package/dist/radio/radio.js +41 -0
- package/dist/radio/radio__item.js +77 -0
- package/dist/radio-ng/radio-ng.js +63 -0
- package/dist/save-field-ng/save-field-ng.js +335 -0
- package/dist/save-field-ng/save-field-ng__template.js +34 -0
- package/dist/select/select.js +1336 -0
- package/dist/select/select__filter.js +54 -0
- package/dist/select/select__popup.js +546 -0
- package/dist/select-ng/select-ng.js +621 -0
- package/dist/select-ng/select-ng__lazy.js +150 -0
- package/dist/select-ng/select-ng__options.js +145 -0
- package/dist/shortcuts/core.js +245 -0
- package/dist/shortcuts/shortcut-title.js +51 -0
- package/dist/shortcuts/shortcuts-hoc.js +41 -0
- package/dist/shortcuts/shortcuts.js +72 -0
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +120 -0
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng__template.js +50 -0
- package/dist/shortcuts-ng/shortcuts-ng.js +261 -0
- package/dist/sidebar-ng/sidebar-ng.js +111 -0
- package/dist/sidebar-ng/sidebar-ng__button-template.js +20 -0
- package/dist/sidebar-ng/sidebar-ng__template.js +12 -0
- package/dist/storage/storage.js +56 -0
- package/dist/storage/storage__fallback.js +214 -0
- package/dist/storage/storage__local.js +151 -0
- package/dist/style.css +1 -0
- package/dist/tab-trap/tab-trap.js +176 -0
- package/dist/table/cell.js +25 -0
- package/dist/table/disable-hover-hoc.js +53 -0
- package/dist/table/header-cell.js +90 -0
- package/dist/table/header.js +191 -0
- package/dist/table/multitable.js +140 -0
- package/dist/table/row-with-focus-sensor.js +81 -0
- package/dist/table/row.js +271 -0
- package/dist/table/selection-adapter.js +14 -0
- package/dist/table/selection-shortcuts-hoc.js +214 -0
- package/dist/table/selection.js +221 -0
- package/dist/table/smart-table.js +119 -0
- package/dist/table/table.js +404 -0
- package/dist/table-legacy-ng/table-legacy-ng.js +501 -0
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +122 -0
- package/dist/table-legacy-ng/table-legacy-ng__selection-navigate-actions.js +123 -0
- package/dist/table-legacy-ng/table-legacy-ng__selection.js +179 -0
- package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +56 -0
- package/dist/table-ng/smart-table-ng.js +65 -0
- package/dist/table-ng/table-ng.js +64 -0
- package/dist/tabs/collapsible-more.js +196 -0
- package/dist/tabs/collapsible-tab.js +90 -0
- package/dist/tabs/collapsible-tabs.js +360 -0
- package/dist/tabs/custom-item.js +13 -0
- package/dist/tabs/dumb-tabs.js +162 -0
- package/dist/tabs/smart-tabs.js +104 -0
- package/dist/tabs/tab-link.js +41 -0
- package/dist/tabs/tab.js +32 -0
- package/dist/tabs/tabs.js +69 -0
- package/dist/tabs-ng/tabs-ng.js +193 -0
- package/dist/tabs-ng/tabs-ng__template.js +40 -0
- package/dist/tag/tag.js +196 -0
- package/dist/tags-input/tags-input.js +478 -0
- package/dist/tags-input-ng/tags-input-ng.js +89 -0
- package/dist/tags-list/tags-list.js +93 -0
- package/dist/template-ng/template-ng.js +70 -0
- package/dist/text/text.js +36 -0
- package/dist/theme-ng/theme-ng.js +44 -0
- package/dist/title-ng/title-ng.js +114 -0
- package/dist/toggle/toggle.js +77 -0
- package/dist/toggle-ng/toggle-ng.js +16 -0
- package/dist/tooltip/tooltip.js +207 -0
- package/dist/tooltip-ng/tooltip-ng.js +98 -0
- package/dist/user-agreement/service.js +409 -0
- package/dist/user-agreement/toolbox.eula.js +162 -0
- package/dist/user-agreement/user-agreement.js +167 -0
- package/dist/user-card/card.js +17 -0
- package/dist/user-card/smart-user-card-tooltip.js +112 -0
- package/dist/user-card/tooltip.js +93 -0
- package/dist/user-card/user-card.js +49 -0
- package/dist/user-card-ng/user-card-ng.js +59 -0
- package/package.json +31 -26
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import React, { PureComponent } from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
import Dialog from '../dialog/dialog.js';
|
|
6
|
+
import '../island/island.js';
|
|
7
|
+
import Panel from '../panel/panel.js';
|
|
8
|
+
import Button from '../button/button.js';
|
|
9
|
+
import Markdown from '../markdown/markdown.js';
|
|
10
|
+
import HeaderWrapper from '../island/header.js';
|
|
11
|
+
import ContentWrapper from '../island/content.js';
|
|
12
|
+
import 'react-dom';
|
|
13
|
+
import '@jetbrains/icons/close';
|
|
14
|
+
import '../global/get-uid.js';
|
|
15
|
+
import '../global/data-tests.js';
|
|
16
|
+
import '../shortcuts/shortcuts.js';
|
|
17
|
+
import '../shortcuts/core.js';
|
|
18
|
+
import 'combokeys';
|
|
19
|
+
import '../global/sniffer.js';
|
|
20
|
+
import 'sniffr';
|
|
21
|
+
import '../tab-trap/tab-trap.js';
|
|
22
|
+
import '../global/dom.js';
|
|
23
|
+
import '../popup/popup.target.js';
|
|
24
|
+
import '../_helpers/dialog__body-scroll-preventer.js';
|
|
25
|
+
import 'scrollbar-width';
|
|
26
|
+
import '../island/adaptive-island-hoc.js';
|
|
27
|
+
import '../global/linear-function.js';
|
|
28
|
+
import '../_helpers/island.js';
|
|
29
|
+
import 'element-resize-detector';
|
|
30
|
+
import '../global/schedule-raf.js';
|
|
31
|
+
import 'focus-visible';
|
|
32
|
+
import '@jetbrains/icons/chevron-10px';
|
|
33
|
+
import '../icon/icon.js';
|
|
34
|
+
import 'util-deprecate';
|
|
35
|
+
import '../icon/icon__constants.js';
|
|
36
|
+
import '../_helpers/icon.js';
|
|
37
|
+
import '../icon/icon__svg.js';
|
|
38
|
+
import '../global/memoize.js';
|
|
39
|
+
import '../global/theme.js';
|
|
40
|
+
import '../link/clickableLink.js';
|
|
41
|
+
import '../_helpers/button__classes.js';
|
|
42
|
+
import '../_helpers/panel.js';
|
|
43
|
+
import 'react-markdown';
|
|
44
|
+
import 'remark-breaks';
|
|
45
|
+
import 'remark-gfm';
|
|
46
|
+
import '../global/normalize-indent.js';
|
|
47
|
+
import '../global/trivial-template-tag.js';
|
|
48
|
+
import '../markdown/code.js';
|
|
49
|
+
import '../code/code.js';
|
|
50
|
+
import 'highlight.js/lib/core';
|
|
51
|
+
import '../markdown/link.js';
|
|
52
|
+
import '../link/link.js';
|
|
53
|
+
import '../_helpers/link.js';
|
|
54
|
+
import '../markdown/heading.js';
|
|
55
|
+
import '../heading/heading.js';
|
|
56
|
+
|
|
57
|
+
var modules_f5ed85cf = {"unit":"8px","extra-small-screen-media":"(max-width:639px)","agreementDialog":"agreementDialog_rui_4f66","dialogContent":"dialogContent_rui_4f66","suggestion":"suggestion_rui_4f66","remindLaterButton":"remindLaterButton_rui_4f66"};
|
|
58
|
+
|
|
59
|
+
function noop() {}
|
|
60
|
+
/**
|
|
61
|
+
* A component that displays a user agreement dialog.
|
|
62
|
+
*/
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
class UserAgreement extends PureComponent {
|
|
66
|
+
constructor() {
|
|
67
|
+
super(...arguments);
|
|
68
|
+
|
|
69
|
+
_defineProperty(this, "state", {
|
|
70
|
+
scrolledDown: false
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
_defineProperty(this, "onScrollToBottom", () => this.setState({
|
|
74
|
+
scrolledDown: true
|
|
75
|
+
}));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
render() {
|
|
79
|
+
const {
|
|
80
|
+
scrolledDown
|
|
81
|
+
} = this.state;
|
|
82
|
+
const {
|
|
83
|
+
translations,
|
|
84
|
+
onAccept,
|
|
85
|
+
onDecline,
|
|
86
|
+
onClose,
|
|
87
|
+
onRemindLater,
|
|
88
|
+
text,
|
|
89
|
+
show,
|
|
90
|
+
preview,
|
|
91
|
+
className
|
|
92
|
+
} = this.props;
|
|
93
|
+
return /*#__PURE__*/React.createElement(Dialog, {
|
|
94
|
+
label: translations.userAgreement,
|
|
95
|
+
show: show,
|
|
96
|
+
className: classNames(modules_f5ed85cf.agreementDialog, className),
|
|
97
|
+
contentClassName: modules_f5ed85cf.dialogContent,
|
|
98
|
+
trapFocus: true,
|
|
99
|
+
autoFocusFirst: false,
|
|
100
|
+
"data-test": "user-agreement"
|
|
101
|
+
}, /*#__PURE__*/React.createElement(HeaderWrapper, null, translations.userAgreement), /*#__PURE__*/React.createElement(ContentWrapper, {
|
|
102
|
+
fade: true,
|
|
103
|
+
onScrollToBottom: this.onScrollToBottom
|
|
104
|
+
}, /*#__PURE__*/React.createElement(Markdown, {
|
|
105
|
+
source: text,
|
|
106
|
+
tabindex: -1
|
|
107
|
+
})), !preview && /*#__PURE__*/React.createElement(Panel, null, onRemindLater && !scrolledDown && /*#__PURE__*/React.createElement("div", {
|
|
108
|
+
className: modules_f5ed85cf.suggestion
|
|
109
|
+
}, translations.scrollToAccept), /*#__PURE__*/React.createElement(Button, {
|
|
110
|
+
primary: true,
|
|
111
|
+
disabled: !scrolledDown,
|
|
112
|
+
onClick: onAccept,
|
|
113
|
+
"data-test": "accept"
|
|
114
|
+
}, translations.accept), /*#__PURE__*/React.createElement(Button, {
|
|
115
|
+
onClick: onDecline,
|
|
116
|
+
autoFocus: true,
|
|
117
|
+
"data-test": "decline"
|
|
118
|
+
}, translations.decline), !onRemindLater && !scrolledDown && /*#__PURE__*/React.createElement("span", {
|
|
119
|
+
className: modules_f5ed85cf.suggestion
|
|
120
|
+
}, translations.scrollToAccept), onRemindLater && /*#__PURE__*/React.createElement(Button, {
|
|
121
|
+
className: modules_f5ed85cf.remindLaterButton,
|
|
122
|
+
onClick: onRemindLater,
|
|
123
|
+
"data-test": "later"
|
|
124
|
+
}, translations.remindLater)), preview && /*#__PURE__*/React.createElement(Panel, null, /*#__PURE__*/React.createElement(Button, {
|
|
125
|
+
onClick: onClose,
|
|
126
|
+
autoFocus: true,
|
|
127
|
+
"data-test": "close"
|
|
128
|
+
}, translations.close)));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
_defineProperty(UserAgreement, "propTypes", {
|
|
134
|
+
show: PropTypes.bool,
|
|
135
|
+
preview: PropTypes.bool,
|
|
136
|
+
text: PropTypes.string.isRequired,
|
|
137
|
+
onAccept: PropTypes.func,
|
|
138
|
+
onDecline: PropTypes.func,
|
|
139
|
+
onClose: PropTypes.func,
|
|
140
|
+
onRemindLater: PropTypes.func,
|
|
141
|
+
translations: PropTypes.shape({
|
|
142
|
+
userAgreement: PropTypes.string.isRequired,
|
|
143
|
+
accept: PropTypes.string.isRequired,
|
|
144
|
+
decline: PropTypes.string.isRequired,
|
|
145
|
+
close: PropTypes.string.isRequired,
|
|
146
|
+
scrollToAccept: PropTypes.string.isRequired,
|
|
147
|
+
remindLater: PropTypes.string.isRequired
|
|
148
|
+
}),
|
|
149
|
+
className: PropTypes.string
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
_defineProperty(UserAgreement, "defaultProps", {
|
|
153
|
+
translations: {
|
|
154
|
+
userAgreement: 'User Agreement',
|
|
155
|
+
accept: 'Accept',
|
|
156
|
+
decline: 'Decline',
|
|
157
|
+
close: 'Close',
|
|
158
|
+
scrollToAccept: 'View the entire agreement to continue',
|
|
159
|
+
remindLater: 'Remind me later'
|
|
160
|
+
},
|
|
161
|
+
show: false,
|
|
162
|
+
onAccept: noop,
|
|
163
|
+
onDecline: noop,
|
|
164
|
+
onClose: noop
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
export { UserAgreement as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import 'prop-types';
|
|
4
|
+
import 'classnames';
|
|
5
|
+
import '../avatar/avatar.js';
|
|
6
|
+
import '../link/link.js';
|
|
7
|
+
import '../_helpers/badge.js';
|
|
8
|
+
export { U as default } from '../_helpers/card.js';
|
|
9
|
+
import '../global/url.js';
|
|
10
|
+
import '../global/dom.js';
|
|
11
|
+
import '../avatar/fallback-avatar.js';
|
|
12
|
+
import '../global/get-uid.js';
|
|
13
|
+
import 'focus-visible';
|
|
14
|
+
import '../global/memoize.js';
|
|
15
|
+
import '../global/data-tests.js';
|
|
16
|
+
import '../link/clickableLink.js';
|
|
17
|
+
import '../_helpers/link.js';
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import React, { Component } from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import LoaderInline from '../loader-inline/loader-inline.js';
|
|
5
|
+
import UserCardTooltip from './tooltip.js';
|
|
6
|
+
import { m as modules_a4196c17 } from '../_helpers/card.js';
|
|
7
|
+
import 'classnames';
|
|
8
|
+
import '../global/theme.js';
|
|
9
|
+
import '../global/data-tests.js';
|
|
10
|
+
import '../_helpers/inject-styles.js';
|
|
11
|
+
import '../global/conic-gradient.js';
|
|
12
|
+
import 'conic-gradient';
|
|
13
|
+
import '../global/memoize.js';
|
|
14
|
+
import '../global/supports-css.js';
|
|
15
|
+
import '../global/inject-styles.js';
|
|
16
|
+
import '../global/radial-gradient-mask.js';
|
|
17
|
+
import '../global/get-uid.js';
|
|
18
|
+
import '../dropdown/dropdown.js';
|
|
19
|
+
import '../_helpers/anchor.js';
|
|
20
|
+
import '@jetbrains/icons/chevron-10px';
|
|
21
|
+
import '../icon/icon.js';
|
|
22
|
+
import 'util-deprecate';
|
|
23
|
+
import '../icon/icon__constants.js';
|
|
24
|
+
import '../_helpers/icon.js';
|
|
25
|
+
import '../icon/icon__svg.js';
|
|
26
|
+
import '../button/button.js';
|
|
27
|
+
import 'focus-visible';
|
|
28
|
+
import '../link/clickableLink.js';
|
|
29
|
+
import '../_helpers/button__classes.js';
|
|
30
|
+
import '../popup/popup.js';
|
|
31
|
+
import 'react-dom';
|
|
32
|
+
import '../global/schedule-raf.js';
|
|
33
|
+
import '../global/dom.js';
|
|
34
|
+
import '../shortcuts/shortcuts.js';
|
|
35
|
+
import '../shortcuts/core.js';
|
|
36
|
+
import 'combokeys';
|
|
37
|
+
import '../global/sniffer.js';
|
|
38
|
+
import 'sniffr';
|
|
39
|
+
import '../tab-trap/tab-trap.js';
|
|
40
|
+
import '../popup/position.js';
|
|
41
|
+
import '../popup/popup.consts.js';
|
|
42
|
+
import '../popup/popup.target.js';
|
|
43
|
+
import '../avatar/avatar.js';
|
|
44
|
+
import '../global/url.js';
|
|
45
|
+
import '../avatar/fallback-avatar.js';
|
|
46
|
+
import '../link/link.js';
|
|
47
|
+
import '../_helpers/link.js';
|
|
48
|
+
import '../_helpers/badge.js';
|
|
49
|
+
|
|
50
|
+
class SmartUserCardTooltip extends Component {
|
|
51
|
+
constructor() {
|
|
52
|
+
super(...arguments);
|
|
53
|
+
|
|
54
|
+
_defineProperty(this, "state", {
|
|
55
|
+
user: null,
|
|
56
|
+
loading: false
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
_defineProperty(this, "loadUser", async () => {
|
|
60
|
+
if (this.state.user) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
try {
|
|
65
|
+
this.setState({
|
|
66
|
+
loading: true
|
|
67
|
+
});
|
|
68
|
+
const user = await this.props.userDataSource();
|
|
69
|
+
this.setState({
|
|
70
|
+
user
|
|
71
|
+
});
|
|
72
|
+
} catch (e) {// Skip it
|
|
73
|
+
} finally {
|
|
74
|
+
this.setState({
|
|
75
|
+
loading: false
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
_defineProperty(this, "renderNoUser", () => this.state.loading ? /*#__PURE__*/React.createElement("div", {
|
|
81
|
+
className: modules_a4196c17.userCardSpaced
|
|
82
|
+
}, /*#__PURE__*/React.createElement(LoaderInline, null)) : '');
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
render() {
|
|
86
|
+
const {
|
|
87
|
+
user
|
|
88
|
+
} = this.state;
|
|
89
|
+
const {
|
|
90
|
+
children,
|
|
91
|
+
userDataSource,
|
|
92
|
+
...restProps
|
|
93
|
+
} = this.props;
|
|
94
|
+
const dropdownProps = {
|
|
95
|
+
onMouseEnter: this.loadUser,
|
|
96
|
+
...UserCardTooltip.defaultProps.dropdownProps
|
|
97
|
+
};
|
|
98
|
+
return /*#__PURE__*/React.createElement(UserCardTooltip, _extends({
|
|
99
|
+
user: user,
|
|
100
|
+
renderNoUser: this.renderNoUser,
|
|
101
|
+
dropdownProps: dropdownProps
|
|
102
|
+
}, restProps), children);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
_defineProperty(SmartUserCardTooltip, "propTypes", {
|
|
108
|
+
children: PropTypes.node,
|
|
109
|
+
userDataSource: PropTypes.func
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
export { SmartUserCardTooltip as default };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import React, { Component } from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import PropTypes from 'prop-types';
|
|
5
|
+
import Dropdown from '../dropdown/dropdown.js';
|
|
6
|
+
import Popup from '../popup/popup.js';
|
|
7
|
+
import { U as UserCard, m as modules_a4196c17 } from '../_helpers/card.js';
|
|
8
|
+
import '../global/data-tests.js';
|
|
9
|
+
import '../_helpers/anchor.js';
|
|
10
|
+
import '@jetbrains/icons/chevron-10px';
|
|
11
|
+
import '../icon/icon.js';
|
|
12
|
+
import 'util-deprecate';
|
|
13
|
+
import '../icon/icon__constants.js';
|
|
14
|
+
import '../_helpers/icon.js';
|
|
15
|
+
import '../icon/icon__svg.js';
|
|
16
|
+
import '../global/memoize.js';
|
|
17
|
+
import '../button/button.js';
|
|
18
|
+
import 'focus-visible';
|
|
19
|
+
import '../global/theme.js';
|
|
20
|
+
import '../link/clickableLink.js';
|
|
21
|
+
import '../_helpers/button__classes.js';
|
|
22
|
+
import 'react-dom';
|
|
23
|
+
import '../global/get-uid.js';
|
|
24
|
+
import '../global/schedule-raf.js';
|
|
25
|
+
import '../global/dom.js';
|
|
26
|
+
import '../shortcuts/shortcuts.js';
|
|
27
|
+
import '../shortcuts/core.js';
|
|
28
|
+
import 'combokeys';
|
|
29
|
+
import '../global/sniffer.js';
|
|
30
|
+
import 'sniffr';
|
|
31
|
+
import '../tab-trap/tab-trap.js';
|
|
32
|
+
import '../popup/position.js';
|
|
33
|
+
import '../popup/popup.consts.js';
|
|
34
|
+
import '../popup/popup.target.js';
|
|
35
|
+
import '../avatar/avatar.js';
|
|
36
|
+
import '../global/url.js';
|
|
37
|
+
import '../avatar/fallback-avatar.js';
|
|
38
|
+
import '../link/link.js';
|
|
39
|
+
import '../_helpers/link.js';
|
|
40
|
+
import '../_helpers/badge.js';
|
|
41
|
+
|
|
42
|
+
const DEFAULT_TIMEOUT = 300;
|
|
43
|
+
class UserCardTooltip extends Component {
|
|
44
|
+
render() {
|
|
45
|
+
const {
|
|
46
|
+
children,
|
|
47
|
+
user,
|
|
48
|
+
renderUserCard,
|
|
49
|
+
renderNoUser,
|
|
50
|
+
dropdownProps
|
|
51
|
+
} = this.props;
|
|
52
|
+
return /*#__PURE__*/React.createElement(Dropdown, _extends({
|
|
53
|
+
anchor: children,
|
|
54
|
+
hoverMode: true,
|
|
55
|
+
clickMode: false
|
|
56
|
+
}, dropdownProps), /*#__PURE__*/React.createElement(Popup, {
|
|
57
|
+
attached: false
|
|
58
|
+
}, user ? renderUserCard(this.props) : renderNoUser()));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
_defineProperty(UserCardTooltip, "propTypes", {
|
|
64
|
+
className: PropTypes.string,
|
|
65
|
+
children: PropTypes.node,
|
|
66
|
+
dropdownProps: PropTypes.object,
|
|
67
|
+
user: PropTypes.object,
|
|
68
|
+
renderUserCard: PropTypes.func,
|
|
69
|
+
renderNoUser: PropTypes.func
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
_defineProperty(UserCardTooltip, "defaultProps", {
|
|
73
|
+
renderUserCard: props => {
|
|
74
|
+
const {
|
|
75
|
+
className,
|
|
76
|
+
children,
|
|
77
|
+
renderUserCard,
|
|
78
|
+
renderNoUser,
|
|
79
|
+
dropdownProps,
|
|
80
|
+
...restProps
|
|
81
|
+
} = props;
|
|
82
|
+
return /*#__PURE__*/React.createElement(UserCard, _extends({}, restProps, {
|
|
83
|
+
className: classNames(modules_a4196c17.userCardSpaced, className)
|
|
84
|
+
}));
|
|
85
|
+
},
|
|
86
|
+
renderNoUser: () => '',
|
|
87
|
+
dropdownProps: {
|
|
88
|
+
hoverShowTimeOut: DEFAULT_TIMEOUT,
|
|
89
|
+
hoverHideTimeOut: DEFAULT_TIMEOUT
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
export { UserCardTooltip as default };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export { U as UserCard } from '../_helpers/card.js';
|
|
2
|
+
export { default as UserCardTooltip } from './tooltip.js';
|
|
3
|
+
export { default as SmartUserCardTooltip } from './smart-user-card-tooltip.js';
|
|
4
|
+
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
5
|
+
import 'react';
|
|
6
|
+
import 'prop-types';
|
|
7
|
+
import 'classnames';
|
|
8
|
+
import '../avatar/avatar.js';
|
|
9
|
+
import '../global/url.js';
|
|
10
|
+
import '../global/dom.js';
|
|
11
|
+
import '../avatar/fallback-avatar.js';
|
|
12
|
+
import '../global/get-uid.js';
|
|
13
|
+
import '../link/link.js';
|
|
14
|
+
import 'focus-visible';
|
|
15
|
+
import '../global/memoize.js';
|
|
16
|
+
import '../global/data-tests.js';
|
|
17
|
+
import '../link/clickableLink.js';
|
|
18
|
+
import '../_helpers/link.js';
|
|
19
|
+
import '../_helpers/badge.js';
|
|
20
|
+
import '../dropdown/dropdown.js';
|
|
21
|
+
import '../_helpers/anchor.js';
|
|
22
|
+
import '@jetbrains/icons/chevron-10px';
|
|
23
|
+
import '../icon/icon.js';
|
|
24
|
+
import 'util-deprecate';
|
|
25
|
+
import '../icon/icon__constants.js';
|
|
26
|
+
import '../_helpers/icon.js';
|
|
27
|
+
import '../icon/icon__svg.js';
|
|
28
|
+
import '../button/button.js';
|
|
29
|
+
import '../global/theme.js';
|
|
30
|
+
import '../_helpers/button__classes.js';
|
|
31
|
+
import '../popup/popup.js';
|
|
32
|
+
import 'react-dom';
|
|
33
|
+
import '../global/schedule-raf.js';
|
|
34
|
+
import '../shortcuts/shortcuts.js';
|
|
35
|
+
import '../shortcuts/core.js';
|
|
36
|
+
import 'combokeys';
|
|
37
|
+
import '../global/sniffer.js';
|
|
38
|
+
import 'sniffr';
|
|
39
|
+
import '../tab-trap/tab-trap.js';
|
|
40
|
+
import '../popup/position.js';
|
|
41
|
+
import '../popup/popup.consts.js';
|
|
42
|
+
import '../popup/popup.target.js';
|
|
43
|
+
import '../loader-inline/loader-inline.js';
|
|
44
|
+
import '../_helpers/inject-styles.js';
|
|
45
|
+
import '../global/conic-gradient.js';
|
|
46
|
+
import 'conic-gradient';
|
|
47
|
+
import '../global/supports-css.js';
|
|
48
|
+
import '../global/inject-styles.js';
|
|
49
|
+
import '../global/radial-gradient-mask.js';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import angular from 'angular';
|
|
2
|
+
import { createAngularComponent } from '../global/angular-component-factory.js';
|
|
3
|
+
import SmartUserCardTooltip from '../user-card/smart-user-card-tooltip.js';
|
|
4
|
+
import UserCardTooltip from '../user-card/tooltip.js';
|
|
5
|
+
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
6
|
+
import 'react';
|
|
7
|
+
import 'react-dom';
|
|
8
|
+
import '../global/ring-angular-component.js';
|
|
9
|
+
import '../global/react-dom-renderer.js';
|
|
10
|
+
import 'prop-types';
|
|
11
|
+
import '../loader-inline/loader-inline.js';
|
|
12
|
+
import 'classnames';
|
|
13
|
+
import '../global/theme.js';
|
|
14
|
+
import '../global/data-tests.js';
|
|
15
|
+
import '../_helpers/inject-styles.js';
|
|
16
|
+
import '../global/conic-gradient.js';
|
|
17
|
+
import 'conic-gradient';
|
|
18
|
+
import '../global/memoize.js';
|
|
19
|
+
import '../global/supports-css.js';
|
|
20
|
+
import '../global/inject-styles.js';
|
|
21
|
+
import '../global/radial-gradient-mask.js';
|
|
22
|
+
import '../global/get-uid.js';
|
|
23
|
+
import '../_helpers/card.js';
|
|
24
|
+
import '../avatar/avatar.js';
|
|
25
|
+
import '../global/url.js';
|
|
26
|
+
import '../global/dom.js';
|
|
27
|
+
import '../avatar/fallback-avatar.js';
|
|
28
|
+
import '../link/link.js';
|
|
29
|
+
import 'focus-visible';
|
|
30
|
+
import '../link/clickableLink.js';
|
|
31
|
+
import '../_helpers/link.js';
|
|
32
|
+
import '../_helpers/badge.js';
|
|
33
|
+
import '../dropdown/dropdown.js';
|
|
34
|
+
import '../_helpers/anchor.js';
|
|
35
|
+
import '@jetbrains/icons/chevron-10px';
|
|
36
|
+
import '../icon/icon.js';
|
|
37
|
+
import 'util-deprecate';
|
|
38
|
+
import '../icon/icon__constants.js';
|
|
39
|
+
import '../_helpers/icon.js';
|
|
40
|
+
import '../icon/icon__svg.js';
|
|
41
|
+
import '../button/button.js';
|
|
42
|
+
import '../_helpers/button__classes.js';
|
|
43
|
+
import '../popup/popup.js';
|
|
44
|
+
import '../global/schedule-raf.js';
|
|
45
|
+
import '../shortcuts/shortcuts.js';
|
|
46
|
+
import '../shortcuts/core.js';
|
|
47
|
+
import 'combokeys';
|
|
48
|
+
import '../global/sniffer.js';
|
|
49
|
+
import 'sniffr';
|
|
50
|
+
import '../tab-trap/tab-trap.js';
|
|
51
|
+
import '../popup/position.js';
|
|
52
|
+
import '../popup/popup.consts.js';
|
|
53
|
+
import '../popup/popup.target.js';
|
|
54
|
+
|
|
55
|
+
const angularModule = angular.module('Ring.user-card', []);
|
|
56
|
+
angularModule.component('rgUserCardTooltip', createAngularComponent(UserCardTooltip)).component('rgSmartUserCardTooltip', createAngularComponent(SmartUserCardTooltip));
|
|
57
|
+
var userCardNg = angularModule.name;
|
|
58
|
+
|
|
59
|
+
export { userCardNg as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/ring-ui",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"description": "JetBrains UI library",
|
|
5
5
|
"author": "JetBrains",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -70,25 +70,25 @@
|
|
|
70
70
|
"@babel/cli": "^7.16.0",
|
|
71
71
|
"@babel/eslint-parser": "^7.16.3",
|
|
72
72
|
"@jetbrains/eslint-config": "^5.3.1",
|
|
73
|
-
"@jetbrains/generator-ring-ui": "^4.1.
|
|
73
|
+
"@jetbrains/generator-ring-ui": "^4.1.2",
|
|
74
74
|
"@jetbrains/stylelint-config": "^3.0.2",
|
|
75
75
|
"@primer/octicons": "^16.1.1",
|
|
76
76
|
"@rollup/plugin-babel": "^5.3.0",
|
|
77
77
|
"@rollup/plugin-replace": "^3.0.0",
|
|
78
|
-
"@storybook/addon-a11y": "6.
|
|
79
|
-
"@storybook/addon-docs": "6.
|
|
80
|
-
"@storybook/addon-essentials": "6.
|
|
81
|
-
"@storybook/addon-storyshots": "6.3
|
|
82
|
-
"@storybook/addon-storyshots-puppeteer": "6.3
|
|
83
|
-
"@storybook/addon-storysource": "6.3
|
|
84
|
-
"@storybook/addons": "6.
|
|
85
|
-
"@storybook/builder-webpack5": "6.
|
|
86
|
-
"@storybook/client-api": "6.
|
|
87
|
-
"@storybook/core": "6.
|
|
88
|
-
"@storybook/html": "6.
|
|
89
|
-
"@storybook/manager-webpack5": "^6.
|
|
90
|
-
"@storybook/source-loader": "6.
|
|
91
|
-
"@storybook/theming": "6.
|
|
78
|
+
"@storybook/addon-a11y": "6.4.8",
|
|
79
|
+
"@storybook/addon-docs": "6.4.4",
|
|
80
|
+
"@storybook/addon-essentials": "6.4.8",
|
|
81
|
+
"@storybook/addon-storyshots": "6.4.3",
|
|
82
|
+
"@storybook/addon-storyshots-puppeteer": "6.4.3",
|
|
83
|
+
"@storybook/addon-storysource": "6.4.3",
|
|
84
|
+
"@storybook/addons": "6.4.8",
|
|
85
|
+
"@storybook/builder-webpack5": "6.4.8",
|
|
86
|
+
"@storybook/client-api": "6.4.8",
|
|
87
|
+
"@storybook/core": "6.4.4",
|
|
88
|
+
"@storybook/html": "6.4.5",
|
|
89
|
+
"@storybook/manager-webpack5": "^6.4.5",
|
|
90
|
+
"@storybook/source-loader": "6.4.8",
|
|
91
|
+
"@storybook/theming": "6.4.5",
|
|
92
92
|
"@testing-library/react": "^12.1.2",
|
|
93
93
|
"@testing-library/user-event": "^13.5.0",
|
|
94
94
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.5",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"cheerio": "^0.22.0",
|
|
105
105
|
"core-js": "^3.19.1",
|
|
106
106
|
"enzyme": "^3.11.0",
|
|
107
|
-
"eslint": "^8.
|
|
107
|
+
"eslint": "^8.3.0",
|
|
108
108
|
"eslint-import-resolver-webpack": "^0.13.2",
|
|
109
109
|
"eslint-plugin-angular": "^4.1.0",
|
|
110
110
|
"eslint-plugin-bdd": "^2.1.1",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
113
113
|
"eslint-plugin-react": "^7.27.1",
|
|
114
114
|
"events": "^3.3.0",
|
|
115
|
-
"glob": "^7.
|
|
115
|
+
"glob": "^7.2.0",
|
|
116
116
|
"html-webpack-plugin": "^5.5.0",
|
|
117
117
|
"husky": "^7.0.4",
|
|
118
118
|
"identity-obj-proxy": "^3.0.0",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"react-dom": "^17.0.2",
|
|
137
137
|
"react-test-renderer": "^17.0.2",
|
|
138
138
|
"regenerator-runtime": "^0.13.9",
|
|
139
|
-
"rollup": "^2.60.
|
|
139
|
+
"rollup": "^2.60.2",
|
|
140
140
|
"rollup-plugin-clear": "^2.0.7",
|
|
141
141
|
"rollup-plugin-styles": "^3.14.1",
|
|
142
142
|
"sinon": "^12.0.1",
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"teamcity-service-messages": "^0.1.11",
|
|
148
148
|
"terser-webpack-plugin": "^5.2.5",
|
|
149
149
|
"wallaby-webpack": "^3.9.16",
|
|
150
|
-
"webpack": "^5.64.
|
|
150
|
+
"webpack": "^5.64.4",
|
|
151
151
|
"webpack-cli": "^4.9.1",
|
|
152
152
|
"xmlappend": "^1.0.4",
|
|
153
153
|
"yo": "^4.3.0"
|
|
@@ -156,12 +156,17 @@
|
|
|
156
156
|
"core-js": ">=3.0.0",
|
|
157
157
|
"react": ">=16.8.0",
|
|
158
158
|
"react-dom": ">=16.8.0",
|
|
159
|
-
"webpack": "^5.64.
|
|
159
|
+
"webpack": "^5.64.4"
|
|
160
|
+
},
|
|
161
|
+
"peerDependenciesMeta": {
|
|
162
|
+
"webpack": {
|
|
163
|
+
"optional": true
|
|
164
|
+
}
|
|
160
165
|
},
|
|
161
166
|
"dependencies": {
|
|
162
167
|
"@babel/core": "^7.16.0",
|
|
163
168
|
"@jetbrains/angular-elastic": "^2.5.1",
|
|
164
|
-
"@jetbrains/babel-preset-jetbrains": "^2.3.
|
|
169
|
+
"@jetbrains/babel-preset-jetbrains": "^2.3.2",
|
|
165
170
|
"@jetbrains/icons": "^3.18.0",
|
|
166
171
|
"@jetbrains/logos": "^1.4.27",
|
|
167
172
|
"@jetbrains/postcss-require-hover": "^0.1.2",
|
|
@@ -175,7 +180,7 @@
|
|
|
175
180
|
"compile-code-loader": "^1.0.0",
|
|
176
181
|
"conic-gradient": "^1.0.0",
|
|
177
182
|
"css-loader": "^6.5.1",
|
|
178
|
-
"date-fns": "^2.
|
|
183
|
+
"date-fns": "^2.27.0",
|
|
179
184
|
"deep-equal": "^2.0.4",
|
|
180
185
|
"element-resize-detector": "^1.2.3",
|
|
181
186
|
"es6-error": "^4.1.1",
|
|
@@ -190,11 +195,11 @@
|
|
|
190
195
|
"interpolate-loader": "^2.0.1",
|
|
191
196
|
"just-debounce-it": "^3.0.1",
|
|
192
197
|
"memoize-one": "^6.0.0",
|
|
193
|
-
"postcss": "^8.
|
|
198
|
+
"postcss": "^8.4.4",
|
|
194
199
|
"postcss-calc": "^8.0.0",
|
|
195
200
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
196
201
|
"postcss-font-family-system-ui": "^5.0.0",
|
|
197
|
-
"postcss-loader": "^6.2.
|
|
202
|
+
"postcss-loader": "^6.2.1",
|
|
198
203
|
"postcss-modules-values-replace": "^3.4.0",
|
|
199
204
|
"postcss-preset-env": "^7.0.1",
|
|
200
205
|
"prop-types": "^15.7.2",
|
|
@@ -216,5 +221,5 @@
|
|
|
216
221
|
"node": ">=7.4",
|
|
217
222
|
"npm": ">=6.0.0"
|
|
218
223
|
},
|
|
219
|
-
"gitHead": "
|
|
224
|
+
"gitHead": "0450d0ab9b11c78a6ede431e8a41935d46b51b30"
|
|
220
225
|
}
|