@jetbrains/ring-ui-built 7.0.62 → 7.0.64
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/card.js +4 -3
- package/components/_helpers/{dialog__body-scroll-preventer.js → dialog-body-scroll-preventer.js} +4 -4
- package/components/_helpers/input.js +8 -8
- package/components/_helpers/{select__filter.js → select-filter.js} +1 -1
- package/components/_helpers/services-link.js +3 -3
- package/components/_helpers/theme.js +2 -2
- package/components/alert/alert.d.ts +1 -1
- package/components/alert/alert.js +9 -8
- package/components/alert/container.d.ts +1 -1
- package/components/alert/container.js +2 -2
- package/components/alert-service/alert-service.d.ts +2 -2
- package/components/alert-service/alert-service.js +4 -4
- package/components/analytics/{analytics__custom-plugin.d.ts → analytics-custom-plugin.d.ts} +1 -1
- package/components/analytics/{analytics__custom-plugin.js → analytics-custom-plugin.js} +2 -2
- package/components/auth/{auth__core.d.ts → auth-core.d.ts} +9 -8
- package/components/auth/{auth__core.js → auth-core.js} +18 -22
- package/components/auth/auth.d.ts +2 -2
- package/components/auth/auth.js +8 -8
- package/components/auth/background-flow.d.ts +2 -2
- package/components/auth/background-flow.js +1 -3
- package/components/auth/down-notification.js +6 -6
- package/components/auth/iframe-flow.d.ts +3 -3
- package/components/auth/iframe-flow.js +9 -11
- package/components/auth/request-builder.d.ts +2 -1
- package/components/auth/request-builder.js +1 -2
- package/components/auth/storage.d.ts +3 -3
- package/components/auth/storage.js +9 -11
- package/components/auth/token-validator.d.ts +2 -1
- package/components/auth/token-validator.js +12 -3
- package/components/auth/window-flow.d.ts +3 -3
- package/components/auth/window-flow.js +5 -7
- package/components/auth-dialog/auth-dialog.js +9 -9
- package/components/auth-dialog-service/auth-dialog-service.d.ts +1 -1
- package/components/auth-dialog-service/auth-dialog-service.js +5 -5
- package/components/avatar/avatar-info.d.ts +1 -1
- package/components/avatar/avatar.d.ts +1 -1
- package/components/avatar/avatar.figma.js +1 -2
- package/components/avatar/avatar.js +16 -17
- package/components/avatar/fallback-avatar.js +17 -18
- package/components/avatar-stack/avatar-stack.d.ts +3 -3
- package/components/avatar-stack/avatar-stack.figma.js +1 -2
- package/components/avatar-stack/avatar-stack.js +12 -12
- package/components/banner/banner.js +4 -4
- package/components/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/components/breadcrumbs/breadcrumbs.figma.js +1 -2
- package/components/button/{button__classes.d.ts → button.classes.d.ts} +1 -1
- package/components/button/button.classes.js +2 -0
- package/components/button/button.d.ts +4 -4
- package/components/button/button.figma.js +1 -2
- package/components/button/button.js +9 -9
- package/components/button-group/button-group.d.ts +1 -1
- package/components/button-group/button-group.js +1 -1
- package/components/button-group/caption.d.ts +1 -1
- package/components/button-set/button-set.d.ts +1 -1
- package/components/button-toolbar/button-toolbar.d.ts +1 -1
- package/components/caret/caret.js +24 -17
- package/components/checkbox/checkbox-group.figma.js +1 -2
- package/components/checkbox/checkbox.d.ts +1 -1
- package/components/checkbox/checkbox.figma.js +1 -2
- package/components/checkbox/checkbox.js +8 -8
- package/components/clipboard/clipboard.js +8 -8
- package/components/code/code.d.ts +1 -1
- package/components/code/code.js +3 -3
- package/components/collapse/collapse-content.d.ts +3 -3
- package/components/collapse/collapse-control.d.ts +2 -2
- package/components/collapse/collapse.d.ts +3 -3
- package/components/confirm/confirm.d.ts +1 -1
- package/components/confirm/confirm.js +8 -8
- package/components/confirm-service/confirm-service.d.ts +3 -3
- package/components/confirm-service/confirm-service.js +5 -5
- package/components/content-layout/content-layout.d.ts +1 -1
- package/components/content-layout/content-layout.js +2 -2
- package/components/content-layout/sidebar.d.ts +1 -1
- package/components/contenteditable/contenteditable.d.ts +1 -1
- package/components/contenteditable/contenteditable.js +2 -1
- package/components/control-help/control-help.d.ts +1 -1
- package/components/control-label/control-label.d.ts +1 -1
- package/components/data-list/data-list.d.ts +5 -5
- package/components/data-list/data-list.js +8 -8
- package/components/data-list/data-list.mock.d.ts +2 -2
- package/components/data-list/data-list.mock.js +24 -24
- package/components/data-list/item.d.ts +3 -3
- package/components/data-list/item.js +9 -9
- package/components/data-list/selection.d.ts +1 -1
- package/components/data-list/selection.js +8 -1
- package/components/data-list/title.d.ts +2 -2
- package/components/data-list/title.js +3 -3
- package/components/date-picker/consts.d.ts +1 -1
- package/components/date-picker/date-input.d.ts +1 -1
- package/components/date-picker/date-input.js +7 -7
- package/components/date-picker/date-picker.d.ts +5 -5
- package/components/date-picker/date-picker.js +27 -22
- package/components/date-picker/date-popup.d.ts +1 -1
- package/components/date-picker/date-popup.js +9 -8
- package/components/date-picker/day.d.ts +2 -2
- package/components/date-picker/day.js +4 -4
- package/components/date-picker/formats.js +1 -0
- package/components/date-picker/month-names.d.ts +1 -1
- package/components/date-picker/month-names.js +1 -1
- package/components/date-picker/month-slider.d.ts +2 -2
- package/components/date-picker/month-slider.js +1 -1
- package/components/date-picker/month.d.ts +1 -1
- package/components/date-picker/months.d.ts +1 -1
- package/components/date-picker/months.js +2 -2
- package/components/date-picker/years.d.ts +1 -1
- package/components/date-picker/years.js +2 -2
- package/components/dialog/{dialog__body-scroll-preventer.js → dialog-body-scroll-preventer.js} +1 -1
- package/components/dialog/dialog.d.ts +1 -1
- package/components/dialog/dialog.js +15 -15
- package/components/dropdown/anchor.d.ts +1 -1
- package/components/dropdown/anchor.js +4 -4
- package/components/dropdown/dropdown.d.ts +2 -2
- package/components/dropdown/dropdown.js +6 -6
- package/components/dropdown-menu/dropdown-menu.d.ts +5 -5
- package/components/dropdown-menu/dropdown-menu.js +11 -11
- package/components/editable-heading/editable-heading.d.ts +1 -1
- package/components/editable-heading/editable-heading.js +8 -7
- package/components/error-bubble/error-bubble.d.ts +1 -1
- package/components/error-bubble/error-bubble.figma.js +1 -2
- package/components/error-bubble/error-bubble.js +2 -2
- package/components/error-message/error-message.d.ts +2 -2
- package/components/error-message/error-message.js +3 -3
- package/components/footer/footer.d.ts +1 -1
- package/components/footer/footer.js +2 -2
- package/components/global/compose-refs.d.ts +2 -0
- package/components/global/compose-refs.js +19 -0
- package/components/global/composeRefs.d.ts +6 -2
- package/components/global/composeRefs.js +6 -16
- package/components/global/create-stateful-context.d.ts +1 -1
- package/components/global/dom.d.ts +1 -1
- package/components/global/dom.js +2 -3
- package/components/global/focus-sensor-hoc.d.ts +1 -1
- package/components/global/focus-sensor-hoc.js +2 -2
- package/components/global/fuzzy-highlight.d.ts +2 -2
- package/components/global/get-event-key.d.ts +1 -1
- package/components/global/memoize.js +1 -1
- package/components/global/rerender-hoc.d.ts +1 -1
- package/components/global/rerender-hoc.js +2 -2
- package/components/global/theme.d.ts +1 -1
- package/components/global/url.js +3 -3
- package/components/global/use-event-callback.js +1 -1
- package/components/grid/col.d.ts +1 -1
- package/components/grid/col.js +1 -1
- package/components/grid/grid.d.ts +1 -1
- package/components/grid/grid.js +1 -1
- package/components/grid/row.d.ts +1 -1
- package/components/grid/row.js +1 -1
- package/components/group/group.d.ts +1 -1
- package/components/group/group.js +1 -1
- package/components/header/header-icon.d.ts +2 -2
- package/components/header/header-icon.js +4 -4
- package/components/header/header.d.ts +1 -1
- package/components/header/header.js +17 -17
- package/components/header/links.d.ts +1 -1
- package/components/header/logo.d.ts +1 -1
- package/components/header/logo.js +2 -2
- package/components/header/profile.d.ts +5 -5
- package/components/header/profile.js +14 -14
- package/components/header/services-link.d.ts +1 -1
- package/components/header/services-link.js +1 -1
- package/components/header/services.d.ts +2 -2
- package/components/header/services.js +7 -7
- package/components/header/smart-profile.d.ts +3 -3
- package/components/header/smart-profile.js +25 -25
- package/components/header/smart-services.d.ts +3 -3
- package/components/header/smart-services.js +4 -4
- package/components/header/tray.d.ts +1 -1
- package/components/heading/heading.d.ts +1 -1
- package/components/http/http.mock.d.ts +1 -1
- package/components/hub-source/{hub-source__user.d.ts → hub-source-user.d.ts} +3 -2
- package/components/hub-source/{hub-source__users-groups.d.ts → hub-source-users-groups.d.ts} +3 -2
- package/components/hub-source/hub-source.d.ts +2 -2
- package/components/icon/{icon__svg.d.ts → icon-svg.d.ts} +1 -1
- package/components/icon/{icon__svg.js → icon-svg.js} +1 -1
- package/components/icon/icon.d.ts +2 -2
- package/components/icon/icon.js +3 -3
- package/components/icon/index.js +2 -2
- package/components/input/input.d.ts +3 -3
- package/components/input/input.figma.js +1 -2
- package/components/input/input.js +5 -5
- package/components/island/adaptive-island-hoc.d.ts +1 -1
- package/components/island/content.d.ts +1 -1
- package/components/island/content.js +2 -2
- package/components/island/header.d.ts +1 -1
- package/components/island/header.js +4 -4
- package/components/island/island.d.ts +1 -1
- package/components/link/clickable-link.d.ts +12 -0
- package/components/link/clickable-link.js +51 -0
- package/components/link/clickableLink.d.ts +11 -12
- package/components/link/clickableLink.js +5 -50
- package/components/link/link.d.ts +2 -2
- package/components/link/link.js +3 -3
- package/components/list/consts.d.ts +4 -5
- package/components/list/{list__custom.d.ts → list-custom.d.ts} +1 -1
- package/components/list/{list__custom.js → list-custom.js} +1 -1
- package/components/list/{list__hint.d.ts → list-hint.d.ts} +1 -1
- package/components/list/{list__hint.js → list-hint.js} +1 -1
- package/components/list/{list__item.d.ts → list-item.d.ts} +2 -2
- package/components/list/{list__item.js → list-item.js} +10 -9
- package/components/list/{list__separator.d.ts → list-separator.d.ts} +1 -1
- package/components/list/{list__separator.js → list-separator.js} +1 -1
- package/components/list/{list__title.d.ts → list-title.d.ts} +1 -1
- package/components/list/{list__title.js → list-title.js} +3 -3
- package/components/list/{list__users-groups-source.d.ts → list-users-groups-source.d.ts} +3 -2
- package/components/list/{list__users-groups-source.js → list-users-groups-source.js} +11 -11
- package/components/list/{list__classes.d.ts → list.classes.d.ts} +1 -1
- package/components/list/list.d.ts +7 -7
- package/components/list/list.js +36 -35
- package/components/loader/{loader__core.js → loader-core.js} +3 -2
- package/components/loader/loader.d.ts +2 -2
- package/components/loader/loader.js +1 -1
- package/components/loader-inline/loader-inline.d.ts +1 -1
- package/components/loader-screen/loader-screen.d.ts +1 -1
- package/components/loader-screen/loader-screen.js +1 -1
- package/components/login-dialog/login-dialog.d.ts +1 -1
- package/components/login-dialog/login-dialog.js +9 -9
- package/components/login-dialog/service.d.ts +1 -1
- package/components/login-dialog/service.js +6 -6
- package/components/markdown/markdown.d.ts +1 -1
- package/components/markdown/markdown.js +1 -1
- package/components/message/message.d.ts +4 -4
- package/components/message/message.js +7 -7
- package/components/old-browsers-message/old-browsers-message.js +1 -1
- package/components/pager/pager.d.ts +2 -2
- package/components/pager/pager.js +28 -27
- package/components/panel/panel.d.ts +1 -1
- package/components/panel/panel.js +1 -1
- package/components/permissions/{permissions__cache.js → permissions-cache.js} +4 -4
- package/components/permissions/permissions.d.ts +2 -2
- package/components/permissions/permissions.js +2 -3
- package/components/popup/popup.d.ts +2 -2
- package/components/popup/popup.js +4 -4
- package/components/popup/popup.target.d.ts +1 -1
- package/components/popup/position-css.js +2 -4
- package/components/popup/position.js +10 -9
- package/components/popup-menu/popup-menu.d.ts +4 -4
- package/components/popup-menu/popup-menu.js +10 -10
- package/components/progress-bar/progress-bar.d.ts +1 -1
- package/components/progress-bar/progress-bar.js +1 -1
- package/components/query-assist/{query-assist__suggestions.d.ts → query-assist-suggestions.d.ts} +1 -1
- package/components/query-assist/{query-assist__suggestions.js → query-assist-suggestions.js} +11 -11
- package/components/query-assist/query-assist.d.ts +4 -4
- package/components/query-assist/query-assist.js +30 -30
- package/components/radio/{radio__item.d.ts → radio-item.d.ts} +1 -1
- package/components/radio/{radio__item.js → radio-item.js} +3 -3
- package/components/radio/radio.d.ts +2 -2
- package/components/radio/radio.js +1 -1
- package/components/scrollable-section/scrollable-section.d.ts +1 -1
- package/components/scrollable-section/scrollable-section.js +1 -1
- package/components/select/{select__filter.d.ts → select-filter.d.ts} +2 -2
- package/components/select/{select__filter.js → select-filter.js} +12 -12
- package/components/select/{select__popup.d.ts → select-popup.d.ts} +8 -8
- package/components/select/{select__popup.js → select-popup.js} +21 -19
- package/components/select/select.d.ts +6 -6
- package/components/select/select.js +44 -42
- package/components/shortcuts/core.js +4 -4
- package/components/shortcuts/shortcuts-hoc.d.ts +2 -2
- package/components/shortcuts/shortcuts.d.ts +1 -1
- package/components/slider/slider.d.ts +5 -5
- package/components/slider/slider.js +7 -6
- package/components/slider/slider.utils.d.ts +1 -1
- package/components/slider/slider.utils.js +2 -3
- package/components/storage/{storage__local.d.ts → storage-local.d.ts} +1 -1
- package/components/storage/{storage__local.js → storage-local.js} +11 -11
- package/components/storage/storage.d.ts +1 -1
- package/components/storage/storage.js +5 -5
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.d.ts +1 -1
- package/components/tab-trap/tab-trap.js +1 -1
- package/components/table/cell.d.ts +1 -1
- package/components/table/disable-hover-hoc.d.ts +1 -1
- package/components/table/header-cell.d.ts +1 -1
- package/components/table/header-cell.js +3 -3
- package/components/table/header.d.ts +2 -2
- package/components/table/header.js +7 -7
- package/components/table/multitable.d.ts +3 -3
- package/components/table/multitable.js +1 -1
- package/components/table/row-with-focus-sensor.d.ts +3 -3
- package/components/table/row-with-focus-sensor.js +5 -5
- package/components/table/row.d.ts +4 -4
- package/components/table/row.js +5 -5
- package/components/table/selection-adapter.d.ts +2 -1
- package/components/table/selection-shortcuts-hoc.d.ts +4 -3
- package/components/table/selection-shortcuts-hoc.js +1 -2
- package/components/table/selection.js +5 -6
- package/components/table/simple-table.d.ts +2 -2
- package/components/table/simple-table.js +6 -6
- package/components/table/smart-table.d.ts +2 -2
- package/components/table/smart-table.js +6 -6
- package/components/table/table.d.ts +7 -7
- package/components/table/table.js +11 -11
- package/components/tabs/collapsible-more.d.ts +3 -3
- package/components/tabs/collapsible-more.js +12 -12
- package/components/tabs/collapsible-tab.d.ts +2 -2
- package/components/tabs/collapsible-tab.js +2 -2
- package/components/tabs/collapsible-tabs.d.ts +2 -2
- package/components/tabs/collapsible-tabs.js +18 -18
- package/components/tabs/custom-item.d.ts +2 -2
- package/components/tabs/dumb-tabs.d.ts +3 -3
- package/components/tabs/dumb-tabs.js +14 -14
- package/components/tabs/smart-tabs.d.ts +1 -1
- package/components/tabs/smart-tabs.js +11 -11
- package/components/tabs/tab-link.d.ts +2 -2
- package/components/tabs/tab-link.js +1 -1
- package/components/tabs/tab.d.ts +2 -2
- package/components/tabs/tabs.js +11 -11
- package/components/tag/tag.d.ts +5 -3
- package/components/tag/tag.js +14 -12
- package/components/tags-input/tags-input.d.ts +8 -8
- package/components/tags-input/tags-input.js +26 -20
- package/components/tags-list/tags-list.d.ts +2 -2
- package/components/tags-list/tags-list.js +5 -5
- package/components/text/text.d.ts +1 -1
- package/components/toggle/toggle.d.ts +1 -1
- package/components/toggle/toggle.js +2 -2
- package/components/tooltip/tooltip.d.ts +2 -2
- package/components/tooltip/tooltip.js +1 -1
- package/components/upload/upload.d.ts +3 -3
- package/components/upload/upload.js +7 -7
- package/components/user-agreement/service.d.ts +2 -2
- package/components/user-agreement/service.js +10 -11
- package/components/user-agreement/user-agreement.d.ts +1 -1
- package/components/user-agreement/user-agreement.js +10 -10
- package/components/user-card/card.d.ts +1 -1
- package/components/user-card/card.js +4 -4
- package/components/user-card/smart-user-card-tooltip.d.ts +2 -2
- package/components/user-card/smart-user-card-tooltip.js +4 -4
- package/components/user-card/tooltip.d.ts +3 -3
- package/components/user-card/tooltip.js +4 -4
- package/components/user-card/user-card.js +4 -4
- package/package.json +1 -1
- package/components/button/button__classes.js +0 -2
- /package/components/_helpers/{button__classes.js → button.classes.js} +0 -0
- /package/components/_helpers/{icon__svg.js → icon-svg.js} +0 -0
- /package/components/_helpers/{query-assist__suggestions.js → query-assist-suggestions.js} +0 -0
- /package/components/dialog/{dialog__body-scroll-preventer.d.ts → dialog-body-scroll-preventer.d.ts} +0 -0
- /package/components/global/{variables.d.ts → variables.interface.d.ts} +0 -0
- /package/components/global/{variables.js → variables.interface.js} +0 -0
- /package/components/hub-source/{hub-source__user.js → hub-source-user.js} +0 -0
- /package/components/hub-source/{hub-source__users-groups.js → hub-source-users-groups.js} +0 -0
- /package/components/icon/{icon__constants.d.ts → icon.constants.d.ts} +0 -0
- /package/components/icon/{icon__constants.js → icon.constants.js} +0 -0
- /package/components/list/{list__classes.js → list.classes.js} +0 -0
- /package/components/loader/{loader__core.d.ts → loader-core.d.ts} +0 -0
- /package/components/old-browsers-message/{old-browsers-message__stop.d.ts → old-browsers-message-stop.d.ts} +0 -0
- /package/components/old-browsers-message/{old-browsers-message__stop.js → old-browsers-message-stop.js} +0 -0
- /package/components/permissions/{permissions__cache.d.ts → permissions-cache.d.ts} +0 -0
|
@@ -7,18 +7,18 @@ import 'core-js/modules/web.dom-collections.iterator.js';
|
|
|
7
7
|
import '@jetbrains/icons/close-12px';
|
|
8
8
|
import '../icon/icon.js';
|
|
9
9
|
import 'util-deprecate';
|
|
10
|
-
import '../icon/
|
|
11
|
-
import '../_helpers/
|
|
10
|
+
import '../icon/icon.constants.js';
|
|
11
|
+
import '../_helpers/icon-svg.js';
|
|
12
12
|
import 'core-js/modules/es.regexp.exec.js';
|
|
13
13
|
import 'core-js/modules/es.string.replace.js';
|
|
14
14
|
import '../global/memoize.js';
|
|
15
15
|
import '../button/button.js';
|
|
16
16
|
import '@jetbrains/icons/chevron-down';
|
|
17
17
|
import '@jetbrains/icons/chevron-12px-down';
|
|
18
|
-
import '../link/
|
|
18
|
+
import '../link/clickable-link.js';
|
|
19
19
|
import '../global/controls-height.js';
|
|
20
20
|
import '../global/configuration.js';
|
|
21
|
-
import '../_helpers/
|
|
21
|
+
import '../_helpers/button.classes.js';
|
|
22
22
|
|
|
23
23
|
const _excluded = ["children", "className", "customTagComponent", "canNotBeEmpty", "handleClick", "tagClassName", "handleRemove", "tags", "activeIndex"];
|
|
24
24
|
function noop() {}
|
|
@@ -59,7 +59,7 @@ class TagsList extends Component {
|
|
|
59
59
|
const classes = classNames('ring-js-shortcuts', className);
|
|
60
60
|
const tagsList = (this.props.tags || []).map((tag, index) => this.renderTag(tag, this.props.activeIndex === index));
|
|
61
61
|
return jsxs("div", _objectSpread2(_objectSpread2({
|
|
62
|
-
"data-test":
|
|
62
|
+
"data-test": 'ring-tags-list',
|
|
63
63
|
className: classes
|
|
64
64
|
}, props), {}, {
|
|
65
65
|
children: [tagsList, children]
|
|
@@ -43,9 +43,9 @@ class Toggle extends PureComponent {
|
|
|
43
43
|
}), jsxs("span", {
|
|
44
44
|
className: styles.switchWrapper,
|
|
45
45
|
children: [jsx("input", _objectSpread2(_objectSpread2({
|
|
46
|
-
"data-test":
|
|
46
|
+
"data-test": 'ring-toggle-input'
|
|
47
47
|
}, restProps), {}, {
|
|
48
|
-
type:
|
|
48
|
+
type: 'checkbox',
|
|
49
49
|
disabled: disabled,
|
|
50
50
|
className: styles.input
|
|
51
51
|
})), jsx("span", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AllHTMLAttributes, Component, ReactNode } from 'react';
|
|
3
|
-
import Popup, { PopupAttrs } from '../popup/popup';
|
|
2
|
+
import { type AllHTMLAttributes, Component, type ReactNode } from 'react';
|
|
3
|
+
import Popup, { type PopupAttrs } from '../popup/popup';
|
|
4
4
|
import { Listeners } from '../global/dom';
|
|
5
5
|
import Theme from '../global/theme';
|
|
6
6
|
interface Context {
|
|
@@ -134,7 +134,7 @@ class Tooltip extends Component {
|
|
|
134
134
|
this.listeners.removeAll();
|
|
135
135
|
}
|
|
136
136
|
addListeners() {
|
|
137
|
-
if (this.containerNode
|
|
137
|
+
if (this.containerNode) {
|
|
138
138
|
this.listeners.add(this.containerNode, 'mouseenter', this.tryToShowPopup);
|
|
139
139
|
this.listeners.add(this.containerNode, 'mouseleave', ev => {
|
|
140
140
|
var _this$popup2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
2
|
export type UploadVariant = 'empty' | 'error' | 'success';
|
|
3
3
|
interface Props {
|
|
4
4
|
className?: string;
|
|
@@ -12,8 +12,8 @@ interface Props {
|
|
|
12
12
|
variant?: UploadVariant;
|
|
13
13
|
children?: ReactNode;
|
|
14
14
|
}
|
|
15
|
-
export
|
|
15
|
+
export interface UploadHandle {
|
|
16
16
|
openFilePicker: () => void;
|
|
17
|
-
}
|
|
17
|
+
}
|
|
18
18
|
export declare const Upload: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<UploadHandle>>;
|
|
19
19
|
export default Upload;
|
|
@@ -6,8 +6,8 @@ import attachmentIcon from '@jetbrains/icons/attachment';
|
|
|
6
6
|
import Icon from '../icon/icon.js';
|
|
7
7
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
8
8
|
import 'util-deprecate';
|
|
9
|
-
import '../icon/
|
|
10
|
-
import '../_helpers/
|
|
9
|
+
import '../icon/icon.constants.js';
|
|
10
|
+
import '../_helpers/icon-svg.js';
|
|
11
11
|
import 'core-js/modules/es.regexp.exec.js';
|
|
12
12
|
import 'core-js/modules/es.string.replace.js';
|
|
13
13
|
import '../global/memoize.js';
|
|
@@ -66,20 +66,20 @@ const Upload = /*#__PURE__*/forwardRef(function Upload(_ref, ref) {
|
|
|
66
66
|
[styles.success]: variant === 'success',
|
|
67
67
|
[styles.error]: variant === 'error'
|
|
68
68
|
}),
|
|
69
|
-
"data-test":
|
|
69
|
+
"data-test": 'ring-upload',
|
|
70
70
|
children: [jsx("input", {
|
|
71
71
|
onDragEnter: onDragEnter,
|
|
72
72
|
onDragOver: onDragOver,
|
|
73
73
|
onDragLeave: onDragLeave,
|
|
74
74
|
disabled: disabled,
|
|
75
75
|
ref: fileInputRef,
|
|
76
|
-
"data-test":
|
|
76
|
+
"data-test": 'ring-file-input',
|
|
77
77
|
multiple: multiple,
|
|
78
78
|
accept: accept,
|
|
79
79
|
onChange: onInputChange,
|
|
80
|
-
type:
|
|
81
|
-
autoComplete:
|
|
82
|
-
"aria-label":
|
|
80
|
+
type: 'file',
|
|
81
|
+
autoComplete: 'off',
|
|
82
|
+
"aria-label": 'file-picker',
|
|
83
83
|
className: styles.invisibleFileInput
|
|
84
84
|
}), renderIcon(), children]
|
|
85
85
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
2
|
import Storage from '../storage/storage';
|
|
3
|
-
import { UserAgreementAttrs, UserAgreementTranslations } from './user-agreement';
|
|
3
|
+
import { type UserAgreementAttrs, type UserAgreementTranslations } from './user-agreement';
|
|
4
4
|
export declare const showMessage = "userAgreementShow";
|
|
5
5
|
export declare const hideMessage = "userAgreementHide";
|
|
6
6
|
export interface Consent {
|
|
@@ -2,7 +2,7 @@ import { _ as _defineProperty, b as _objectSpread2 } from '../_helpers/_rollupPl
|
|
|
2
2
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
4
|
import { createRoot } from 'react-dom/client';
|
|
5
|
-
import LocalStorage from '../storage/
|
|
5
|
+
import LocalStorage from '../storage/storage-local.js';
|
|
6
6
|
import alertService from '../alert-service/alert-service.js';
|
|
7
7
|
import Link from '../link/link.js';
|
|
8
8
|
import Alert from '../alert/alert.js';
|
|
@@ -15,7 +15,7 @@ import 'react';
|
|
|
15
15
|
import 'react-dom';
|
|
16
16
|
import 'classnames';
|
|
17
17
|
import '../global/data-tests.js';
|
|
18
|
-
import '../link/
|
|
18
|
+
import '../link/clickable-link.js';
|
|
19
19
|
import '../_helpers/link.js';
|
|
20
20
|
import '@jetbrains/icons/exception';
|
|
21
21
|
import '@jetbrains/icons/checkmark';
|
|
@@ -23,8 +23,8 @@ import '@jetbrains/icons/warning';
|
|
|
23
23
|
import '@jetbrains/icons/close';
|
|
24
24
|
import '../icon/icon.js';
|
|
25
25
|
import 'util-deprecate';
|
|
26
|
-
import '../icon/
|
|
27
|
-
import '../_helpers/
|
|
26
|
+
import '../icon/icon.constants.js';
|
|
27
|
+
import '../_helpers/icon-svg.js';
|
|
28
28
|
import 'core-js/modules/es.regexp.exec.js';
|
|
29
29
|
import 'core-js/modules/es.string.replace.js';
|
|
30
30
|
import '../global/memoize.js';
|
|
@@ -33,7 +33,7 @@ import '../global/dom.js';
|
|
|
33
33
|
import '../button/button.js';
|
|
34
34
|
import '@jetbrains/icons/chevron-down';
|
|
35
35
|
import '@jetbrains/icons/chevron-12px-down';
|
|
36
|
-
import '../_helpers/
|
|
36
|
+
import '../_helpers/button.classes.js';
|
|
37
37
|
import '../_helpers/theme.js';
|
|
38
38
|
import '../popup/popup.target.js';
|
|
39
39
|
import '../popup/popup.js';
|
|
@@ -57,7 +57,7 @@ import '../_helpers/island.js';
|
|
|
57
57
|
import '../island/header.js';
|
|
58
58
|
import '../island/content.js';
|
|
59
59
|
import 'element-resize-detector';
|
|
60
|
-
import '../_helpers/
|
|
60
|
+
import '../_helpers/dialog-body-scroll-preventer.js';
|
|
61
61
|
import 'scrollbar-width';
|
|
62
62
|
import '../panel/panel.js';
|
|
63
63
|
import '../i18n/i18n-context.js';
|
|
@@ -113,7 +113,7 @@ class UserAgreementService {
|
|
|
113
113
|
this.hideDialog();
|
|
114
114
|
});
|
|
115
115
|
_defineProperty(this, "onStorageEvent", event => {
|
|
116
|
-
if (event.key === storageKey && event.newValue
|
|
116
|
+
if (event.key === storageKey && event.newValue) {
|
|
117
117
|
const {
|
|
118
118
|
tabId,
|
|
119
119
|
command
|
|
@@ -159,9 +159,8 @@ class UserAgreementService {
|
|
|
159
159
|
_defineProperty(this, "checkConsentAndShowDialog", async withoutNotifications => {
|
|
160
160
|
if (await this.checkConsent()) {
|
|
161
161
|
return this.hideDialogAndAlert(withoutNotifications);
|
|
162
|
-
} else {
|
|
163
|
-
return this.showDialogOrAlert(withoutNotifications);
|
|
164
162
|
}
|
|
163
|
+
return this.showDialogOrAlert(withoutNotifications);
|
|
165
164
|
});
|
|
166
165
|
_defineProperty(this, "checkConsent", async () => {
|
|
167
166
|
if (!this.checkingPromise) {
|
|
@@ -206,11 +205,11 @@ class UserAgreementService {
|
|
|
206
205
|
children: userAgreement || 'User Agreement'
|
|
207
206
|
}), jsx(Link, {
|
|
208
207
|
onClick: onReview,
|
|
209
|
-
"data-test":
|
|
208
|
+
"data-test": 'review',
|
|
210
209
|
children: reviewNow || 'Review now'
|
|
211
210
|
}), jsx(Link, {
|
|
212
211
|
onClick: onRemind,
|
|
213
|
-
"data-test":
|
|
212
|
+
"data-test": 'later',
|
|
214
213
|
children: remindLater || 'Remind me later'
|
|
215
214
|
})]
|
|
216
215
|
});
|
|
@@ -35,18 +35,18 @@ import '../popup/position.js';
|
|
|
35
35
|
import 'core-js/modules/es.array.sort.js';
|
|
36
36
|
import '../popup/popup.consts.js';
|
|
37
37
|
import '../popup/position-css.js';
|
|
38
|
-
import '../_helpers/
|
|
38
|
+
import '../_helpers/dialog-body-scroll-preventer.js';
|
|
39
39
|
import 'scrollbar-width';
|
|
40
40
|
import '@jetbrains/icons/chevron-down';
|
|
41
41
|
import '@jetbrains/icons/chevron-12px-down';
|
|
42
42
|
import 'util-deprecate';
|
|
43
43
|
import '../icon/icon.js';
|
|
44
|
-
import '../icon/
|
|
45
|
-
import '../_helpers/
|
|
44
|
+
import '../icon/icon.constants.js';
|
|
45
|
+
import '../_helpers/icon-svg.js';
|
|
46
46
|
import '../global/memoize.js';
|
|
47
|
-
import '../link/
|
|
47
|
+
import '../link/clickable-link.js';
|
|
48
48
|
import '../global/controls-height.js';
|
|
49
|
-
import '../_helpers/
|
|
49
|
+
import '../_helpers/button.classes.js';
|
|
50
50
|
import '../i18n/i18n.js';
|
|
51
51
|
|
|
52
52
|
var style = {"extra-small-screen-media":"(max-width: 639px)","agreementDialog":"ring-user-agreement-agreementDialog","dialogContent":"ring-user-agreement-dialogContent","suggestion":"ring-user-agreement-suggestion","remindLaterButton":"ring-user-agreement-remindLaterButton"};
|
|
@@ -93,7 +93,7 @@ class UserAgreement extends PureComponent {
|
|
|
93
93
|
contentClassName: style.dialogContent,
|
|
94
94
|
trapFocus: true,
|
|
95
95
|
autoFocusFirst: false,
|
|
96
|
-
"data-test":
|
|
96
|
+
"data-test": 'user-agreement',
|
|
97
97
|
children: [jsx(HeaderWrapper, {
|
|
98
98
|
children: (_translations$userAgr2 = translations === null || translations === void 0 ? void 0 : translations.userAgreement) !== null && _translations$userAgr2 !== void 0 ? _translations$userAgr2 : translate('userAgreement')
|
|
99
99
|
}), jsx(ContentWrapper, {
|
|
@@ -109,12 +109,12 @@ class UserAgreement extends PureComponent {
|
|
|
109
109
|
primary: true,
|
|
110
110
|
disabled: !scrolledDown,
|
|
111
111
|
onClick: onAccept,
|
|
112
|
-
"data-test":
|
|
112
|
+
"data-test": 'accept',
|
|
113
113
|
children: (_translations$accept = translations === null || translations === void 0 ? void 0 : translations.accept) !== null && _translations$accept !== void 0 ? _translations$accept : translate('accept')
|
|
114
114
|
}), jsx(Button, {
|
|
115
115
|
onClick: onDecline,
|
|
116
116
|
autoFocus: true,
|
|
117
|
-
"data-test":
|
|
117
|
+
"data-test": 'decline',
|
|
118
118
|
children: (_translations$decline = translations === null || translations === void 0 ? void 0 : translations.decline) !== null && _translations$decline !== void 0 ? _translations$decline : translate('decline')
|
|
119
119
|
}), !onRemindLater && !scrolledDown && jsx("span", {
|
|
120
120
|
className: style.suggestion,
|
|
@@ -122,14 +122,14 @@ class UserAgreement extends PureComponent {
|
|
|
122
122
|
}), onRemindLater && jsx(Button, {
|
|
123
123
|
className: style.remindLaterButton,
|
|
124
124
|
onClick: onRemindLater,
|
|
125
|
-
"data-test":
|
|
125
|
+
"data-test": 'later',
|
|
126
126
|
children: (_translations$remindL = translations === null || translations === void 0 ? void 0 : translations.remindLater) !== null && _translations$remindL !== void 0 ? _translations$remindL : translate('remindLater')
|
|
127
127
|
})]
|
|
128
128
|
}), preview && jsx(Panel, {
|
|
129
129
|
children: jsx(Button, {
|
|
130
130
|
onClick: onClose,
|
|
131
131
|
autoFocus: true,
|
|
132
|
-
"data-test":
|
|
132
|
+
"data-test": 'close',
|
|
133
133
|
children: (_translations$close = translations === null || translations === void 0 ? void 0 : translations.close) !== null && _translations$close !== void 0 ? _translations$close : translate('close')
|
|
134
134
|
})
|
|
135
135
|
})]
|
|
@@ -13,7 +13,7 @@ import '../i18n/i18n-context.js';
|
|
|
13
13
|
import '../tooltip/tooltip.js';
|
|
14
14
|
export { U as default } from '../_helpers/card.js';
|
|
15
15
|
import '../avatar/avatar-size.js';
|
|
16
|
-
import '../icon/
|
|
16
|
+
import '../icon/icon.constants.js';
|
|
17
17
|
import 'util-deprecate';
|
|
18
18
|
import '../global/url.js';
|
|
19
19
|
import 'core-js/modules/es.regexp.exec.js';
|
|
@@ -24,7 +24,7 @@ import '../_helpers/avatar-info.js';
|
|
|
24
24
|
import '../avatar/fallback-avatar.js';
|
|
25
25
|
import '../global/get-uid.js';
|
|
26
26
|
import '../global/data-tests.js';
|
|
27
|
-
import '../link/
|
|
27
|
+
import '../link/clickable-link.js';
|
|
28
28
|
import '../_helpers/link.js';
|
|
29
29
|
import '../alert-service/alert-service.js';
|
|
30
30
|
import 'react-dom/client';
|
|
@@ -39,8 +39,8 @@ import '@jetbrains/icons/chevron-down';
|
|
|
39
39
|
import '@jetbrains/icons/chevron-12px-down';
|
|
40
40
|
import '../global/controls-height.js';
|
|
41
41
|
import '../global/configuration.js';
|
|
42
|
-
import '../_helpers/
|
|
43
|
-
import '../_helpers/
|
|
42
|
+
import '../_helpers/button.classes.js';
|
|
43
|
+
import '../_helpers/icon-svg.js';
|
|
44
44
|
import '../_helpers/theme.js';
|
|
45
45
|
import 'react-dom';
|
|
46
46
|
import '../popup/popup.target.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
|
-
import { UserCardTooltipAttrs } from './tooltip';
|
|
3
|
-
import { UserCardUser } from './card';
|
|
2
|
+
import { type UserCardTooltipAttrs } from './tooltip';
|
|
3
|
+
import { type UserCardUser } from './card';
|
|
4
4
|
export interface SmartUserCardTooltipProps extends UserCardTooltipAttrs {
|
|
5
5
|
userDataSource: () => Promise<UserCardUser | null | undefined> | UserCardUser | null | undefined;
|
|
6
6
|
}
|
|
@@ -15,15 +15,15 @@ import '@jetbrains/icons/chevron-down';
|
|
|
15
15
|
import '@jetbrains/icons/chevron-12px-down';
|
|
16
16
|
import 'util-deprecate';
|
|
17
17
|
import '../icon/icon.js';
|
|
18
|
-
import '../icon/
|
|
19
|
-
import '../_helpers/
|
|
18
|
+
import '../icon/icon.constants.js';
|
|
19
|
+
import '../_helpers/icon-svg.js';
|
|
20
20
|
import 'core-js/modules/es.regexp.exec.js';
|
|
21
21
|
import 'core-js/modules/es.string.replace.js';
|
|
22
22
|
import '../global/memoize.js';
|
|
23
|
-
import '../link/
|
|
23
|
+
import '../link/clickable-link.js';
|
|
24
24
|
import '../global/controls-height.js';
|
|
25
25
|
import '../global/configuration.js';
|
|
26
|
-
import '../_helpers/
|
|
26
|
+
import '../_helpers/button.classes.js';
|
|
27
27
|
import '../popup/popup.js';
|
|
28
28
|
import 'react-dom';
|
|
29
29
|
import '../global/get-uid.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Component, ReactNode } from 'react';
|
|
2
|
-
import { DropdownAttrs, DropdownProps } from '../dropdown/dropdown';
|
|
3
|
-
import { UserCardAttrs, UserCardUser } from './card';
|
|
1
|
+
import { Component, type ReactNode } from 'react';
|
|
2
|
+
import { type DropdownAttrs, type DropdownProps } from '../dropdown/dropdown';
|
|
3
|
+
import { type UserCardAttrs, type UserCardUser } from './card';
|
|
4
4
|
export interface UserCardTooltipProps extends Omit<UserCardAttrs, 'children' | 'user'> {
|
|
5
5
|
user?: UserCardUser | null | undefined;
|
|
6
6
|
children: DropdownProps['anchor'];
|
|
@@ -14,15 +14,15 @@ import '@jetbrains/icons/chevron-down';
|
|
|
14
14
|
import '@jetbrains/icons/chevron-12px-down';
|
|
15
15
|
import 'util-deprecate';
|
|
16
16
|
import '../icon/icon.js';
|
|
17
|
-
import '../icon/
|
|
18
|
-
import '../_helpers/
|
|
17
|
+
import '../icon/icon.constants.js';
|
|
18
|
+
import '../_helpers/icon-svg.js';
|
|
19
19
|
import 'core-js/modules/es.regexp.exec.js';
|
|
20
20
|
import 'core-js/modules/es.string.replace.js';
|
|
21
21
|
import '../global/memoize.js';
|
|
22
|
-
import '../link/
|
|
22
|
+
import '../link/clickable-link.js';
|
|
23
23
|
import '../global/controls-height.js';
|
|
24
24
|
import '../global/configuration.js';
|
|
25
|
-
import '../_helpers/
|
|
25
|
+
import '../_helpers/button.classes.js';
|
|
26
26
|
import 'react-dom';
|
|
27
27
|
import '../global/get-uid.js';
|
|
28
28
|
import '../global/schedule-raf.js';
|
|
@@ -20,7 +20,7 @@ import '../avatar/fallback-avatar.js';
|
|
|
20
20
|
import '../global/get-uid.js';
|
|
21
21
|
import '../link/link.js';
|
|
22
22
|
import '../global/data-tests.js';
|
|
23
|
-
import '../link/
|
|
23
|
+
import '../link/clickable-link.js';
|
|
24
24
|
import '../_helpers/link.js';
|
|
25
25
|
import '../clipboard/clipboard.js';
|
|
26
26
|
import '../alert-service/alert-service.js';
|
|
@@ -31,15 +31,15 @@ import '@jetbrains/icons/checkmark';
|
|
|
31
31
|
import '@jetbrains/icons/warning';
|
|
32
32
|
import '@jetbrains/icons/close';
|
|
33
33
|
import '../icon/icon.js';
|
|
34
|
-
import '../icon/
|
|
35
|
-
import '../_helpers/
|
|
34
|
+
import '../icon/icon.constants.js';
|
|
35
|
+
import '../_helpers/icon-svg.js';
|
|
36
36
|
import '../loader-inline/loader-inline.js';
|
|
37
37
|
import '../button/button.js';
|
|
38
38
|
import '@jetbrains/icons/chevron-down';
|
|
39
39
|
import '@jetbrains/icons/chevron-12px-down';
|
|
40
40
|
import '../global/controls-height.js';
|
|
41
41
|
import '../global/configuration.js';
|
|
42
|
-
import '../_helpers/
|
|
42
|
+
import '../_helpers/button.classes.js';
|
|
43
43
|
import '../_helpers/theme.js';
|
|
44
44
|
import 'react-dom';
|
|
45
45
|
import '../popup/popup.target.js';
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/components/dialog/{dialog__body-scroll-preventer.d.ts → dialog-body-scroll-preventer.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|