@jetbrains/ring-ui-built 7.0.19 → 7.0.21
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 +5 -5
- package/components/_helpers/card.js +5 -5
- package/components/_helpers/input.js +7 -7
- package/components/_helpers/list.js +1 -1
- package/components/_helpers/select__filter.js +2 -2
- package/components/_helpers/sidebar.js +2 -2
- package/components/alert/alert.js +2 -2
- package/components/alert-service/alert-service.js +2 -2
- package/components/analytics/analytics.js +1 -1
- package/components/analytics/analytics__custom-plugin.js +8 -8
- package/components/auth/auth__core.js +54 -54
- package/components/auth/background-flow.js +4 -4
- package/components/auth/iframe-flow.js +7 -7
- package/components/auth/request-builder.js +3 -3
- package/components/auth/response-parser.js +4 -4
- package/components/auth/storage.js +12 -12
- package/components/auth/token-validator.js +7 -7
- package/components/auth/window-flow.js +7 -7
- package/components/auth-dialog/auth-dialog.js +1 -1
- package/components/avatar/avatar.d.ts +2 -0
- package/components/avatar/avatar.js +8 -0
- package/components/avatar-stack/avatar-stack.d.ts +15 -0
- package/components/avatar-stack/avatar-stack.js +117 -0
- package/components/button/button.js +2 -2
- package/components/caret/caret.js +6 -6
- package/components/checkbox/checkbox.js +1 -1
- package/components/clipboard/clipboard-fallback.js +3 -3
- package/components/code/code.js +1 -1
- package/components/collapse/collapse-content.js +2 -2
- package/components/collapse/collapse.js +1 -1
- package/components/data-list/data-list.js +3 -3
- package/components/data-list/item.js +1 -1
- package/components/date-picker/consts.js +1 -1
- package/components/date-picker/date-input.js +5 -5
- package/components/date-picker/date-picker.js +9 -9
- package/components/date-picker/date-popup.js +4 -4
- package/components/date-picker/years.js +1 -1
- package/components/dialog/dialog.js +1 -1
- package/components/dropdown/dropdown.js +4 -4
- package/components/editable-heading/editable-heading.js +4 -4
- package/components/global/focus-sensor-hoc.js +10 -10
- package/components/global/memoize.js +1 -1
- package/components/global/normalize-indent.js +1 -1
- package/components/global/react-dom-renderer.js +1 -1
- package/components/global/schedule-raf.js +1 -1
- package/components/header/profile.js +8 -8
- package/components/header/smart-profile.js +2 -2
- package/components/header/smart-services.js +4 -4
- package/components/http/http.js +9 -9
- package/components/http/http.mock.js +3 -3
- package/components/hub-source/hub-source.js +6 -6
- package/components/hub-source/hub-source__user.js +2 -2
- package/components/hub-source/hub-source__users-groups.js +4 -4
- package/components/i18n/i18n.js +1 -1
- package/components/island/adaptive-island-hoc.js +1 -1
- package/components/island/content.js +3 -3
- package/components/island/header.js +1 -1
- package/components/list/list.js +4 -4
- package/components/list/list__item.js +2 -2
- package/components/list/list__link.js +1 -1
- package/components/list/list__users-groups-source.js +2 -2
- package/components/loader/loader.js +2 -2
- package/components/loader/loader__core.js +27 -27
- package/components/login-dialog/login-dialog.js +1 -1
- package/components/message/message.js +14 -14
- package/components/old-browsers-message/white-list.js +3 -3
- package/components/pager/pager.js +9 -9
- package/components/permissions/permissions.js +7 -7
- package/components/permissions/permissions__cache.js +4 -4
- package/components/popup/popup.js +8 -8
- package/components/popup/position.js +1 -1
- package/components/popup-menu/popup-menu.js +1 -1
- package/components/progress-bar/progress-bar.js +2 -2
- package/components/query-assist/query-assist.js +43 -43
- package/components/radio/radio__item.js +2 -2
- package/components/select/select.js +27 -27
- package/components/select/select__popup.js +9 -9
- package/components/shortcuts/core.js +1 -1
- package/components/slider/slider.js +8 -8
- package/components/slider/slider.utils.js +1 -1
- package/components/storage/storage__local.js +1 -1
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.js +4 -4
- package/components/table/header-cell.js +2 -2
- package/components/table/multitable.js +7 -7
- package/components/table/row-with-focus-sensor.js +4 -4
- package/components/table/row.js +1 -1
- package/components/table/selection-shortcuts-hoc.js +12 -12
- package/components/table/selection.js +7 -7
- package/components/table/table.js +1 -1
- package/components/tabs/collapsible-tab.js +3 -3
- package/components/tabs/collapsible-tabs.js +6 -6
- package/components/tabs/dumb-tabs.js +1 -1
- package/components/tabs/smart-tabs.js +1 -1
- package/components/tag/tag.js +2 -2
- package/components/tags-input/tags-input.js +17 -17
- package/components/tooltip/tooltip.js +10 -10
- package/components/upload/upload.js +3 -3
- package/components/user-agreement/service.js +3 -3
- package/components/user-agreement/user-agreement.js +8 -8
- package/components/user-card/card.js +2 -2
- package/components/user-card/user-card.js +2 -2
- package/package.json +3 -3
- package/typings.d.ts +5 -0
@@ -85,7 +85,7 @@ class UserAgreement extends PureComponent {
|
|
85
85
|
translate
|
86
86
|
} = _ref;
|
87
87
|
return jsxs(Dialog, {
|
88
|
-
label: (_translations$userAgr = translations === null || translations ===
|
88
|
+
label: (_translations$userAgr = translations === null || translations === undefined ? undefined : translations.userAgreement) !== null && _translations$userAgr !== undefined ? _translations$userAgr : translate('userAgreement'),
|
89
89
|
show: show,
|
90
90
|
className: classNames(style.agreementDialog, className),
|
91
91
|
contentClassName: style.dialogContent,
|
@@ -93,7 +93,7 @@ class UserAgreement extends PureComponent {
|
|
93
93
|
autoFocusFirst: false,
|
94
94
|
"data-test": "user-agreement",
|
95
95
|
children: [jsx(HeaderWrapper, {
|
96
|
-
children: (_translations$userAgr2 = translations === null || translations ===
|
96
|
+
children: (_translations$userAgr2 = translations === null || translations === undefined ? undefined : translations.userAgreement) !== null && _translations$userAgr2 !== undefined ? _translations$userAgr2 : translate('userAgreement')
|
97
97
|
}), jsx(ContentWrapper, {
|
98
98
|
fade: true,
|
99
99
|
onScrollToBottom: this.onScrollToBottom,
|
@@ -101,33 +101,33 @@ class UserAgreement extends PureComponent {
|
|
101
101
|
}), !preview && jsxs(Panel, {
|
102
102
|
children: [onRemindLater && !scrolledDown && jsx("div", {
|
103
103
|
className: style.suggestion,
|
104
|
-
children: (_translations$scrollT = translations === null || translations ===
|
104
|
+
children: (_translations$scrollT = translations === null || translations === undefined ? undefined : translations.scrollToAccept) !== null && _translations$scrollT !== undefined ? _translations$scrollT : translate('scrollToAccept')
|
105
105
|
}), jsx(Button, {
|
106
106
|
primary: true,
|
107
107
|
disabled: !scrolledDown,
|
108
108
|
onClick: onAccept,
|
109
109
|
"data-test": "accept",
|
110
|
-
children: (_translations$accept = translations === null || translations ===
|
110
|
+
children: (_translations$accept = translations === null || translations === undefined ? undefined : translations.accept) !== null && _translations$accept !== undefined ? _translations$accept : translate('accept')
|
111
111
|
}), jsx(Button, {
|
112
112
|
onClick: onDecline,
|
113
113
|
autoFocus: true,
|
114
114
|
"data-test": "decline",
|
115
|
-
children: (_translations$decline = translations === null || translations ===
|
115
|
+
children: (_translations$decline = translations === null || translations === undefined ? undefined : translations.decline) !== null && _translations$decline !== undefined ? _translations$decline : translate('decline')
|
116
116
|
}), !onRemindLater && !scrolledDown && jsx("span", {
|
117
117
|
className: style.suggestion,
|
118
|
-
children: (_translations$scrollT2 = translations === null || translations ===
|
118
|
+
children: (_translations$scrollT2 = translations === null || translations === undefined ? undefined : translations.scrollToAccept) !== null && _translations$scrollT2 !== undefined ? _translations$scrollT2 : translate('scrollToAccept')
|
119
119
|
}), onRemindLater && jsx(Button, {
|
120
120
|
className: style.remindLaterButton,
|
121
121
|
onClick: onRemindLater,
|
122
122
|
"data-test": "later",
|
123
|
-
children: (_translations$remindL = translations === null || translations ===
|
123
|
+
children: (_translations$remindL = translations === null || translations === undefined ? undefined : translations.remindLater) !== null && _translations$remindL !== undefined ? _translations$remindL : translate('remindLater')
|
124
124
|
})]
|
125
125
|
}), preview && jsx(Panel, {
|
126
126
|
children: jsx(Button, {
|
127
127
|
onClick: onClose,
|
128
128
|
autoFocus: true,
|
129
129
|
"data-test": "close",
|
130
|
-
children: (_translations$close = translations === null || translations ===
|
130
|
+
children: (_translations$close = translations === null || translations === undefined ? undefined : translations.close) !== null && _translations$close !== undefined ? _translations$close : translate('close')
|
131
131
|
})
|
132
132
|
})]
|
133
133
|
});
|
@@ -13,10 +13,12 @@ import '../i18n/i18n-context.js';
|
|
13
13
|
import '../tooltip/tooltip.js';
|
14
14
|
export { U as default } from '../_helpers/card.js';
|
15
15
|
import '../icon/icon__constants.js';
|
16
|
+
import 'util-deprecate';
|
16
17
|
import '../global/url.js';
|
17
18
|
import 'core-js/modules/es.regexp.exec.js';
|
18
19
|
import 'core-js/modules/es.string.replace.js';
|
19
20
|
import '../global/dom.js';
|
21
|
+
import '../global/memoize.js';
|
20
22
|
import '../avatar/fallback-avatar.js';
|
21
23
|
import '../global/get-uid.js';
|
22
24
|
import '../global/data-tests.js';
|
@@ -33,11 +35,9 @@ import '../loader-inline/loader-inline.js';
|
|
33
35
|
import '../button/button.js';
|
34
36
|
import '@jetbrains/icons/chevron-down';
|
35
37
|
import '@jetbrains/icons/chevron-12px-down';
|
36
|
-
import 'util-deprecate';
|
37
38
|
import '../global/controls-height.js';
|
38
39
|
import '../_helpers/button__classes.js';
|
39
40
|
import '../_helpers/icon__svg.js';
|
40
|
-
import '../global/memoize.js';
|
41
41
|
import '../_helpers/theme.js';
|
42
42
|
import 'react-dom';
|
43
43
|
import '../popup/popup.target.js';
|
@@ -8,10 +8,12 @@ import 'react';
|
|
8
8
|
import 'classnames';
|
9
9
|
import '@jetbrains/icons/copy';
|
10
10
|
import '../avatar/avatar.js';
|
11
|
+
import 'util-deprecate';
|
11
12
|
import '../global/url.js';
|
12
13
|
import 'core-js/modules/es.regexp.exec.js';
|
13
14
|
import 'core-js/modules/es.string.replace.js';
|
14
15
|
import '../global/dom.js';
|
16
|
+
import '../global/memoize.js';
|
15
17
|
import '../avatar/fallback-avatar.js';
|
16
18
|
import '../global/get-uid.js';
|
17
19
|
import '../link/link.js';
|
@@ -27,10 +29,8 @@ import '@jetbrains/icons/checkmark';
|
|
27
29
|
import '@jetbrains/icons/warning';
|
28
30
|
import '@jetbrains/icons/close';
|
29
31
|
import '../icon/icon.js';
|
30
|
-
import 'util-deprecate';
|
31
32
|
import '../icon/icon__constants.js';
|
32
33
|
import '../_helpers/icon__svg.js';
|
33
|
-
import '../global/memoize.js';
|
34
34
|
import '../loader-inline/loader-inline.js';
|
35
35
|
import '../button/button.js';
|
36
36
|
import '@jetbrains/icons/chevron-down';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jetbrains/ring-ui-built",
|
3
|
-
"version": "7.0.
|
3
|
+
"version": "7.0.21",
|
4
4
|
"description": "JetBrains UI library",
|
5
5
|
"author": {
|
6
6
|
"name": "JetBrains"
|
@@ -50,7 +50,7 @@
|
|
50
50
|
"figma-connect-publish-local": "dotenv -- npm run figma-connect-publish",
|
51
51
|
"figma-connect-unpublish": "npx figma connect unpublish --token=$FIGMA_CODE_CONNECT_TOKEN",
|
52
52
|
"figma-connect-unpublish-local": "dotenv -- npm run figma-connect-unpublish",
|
53
|
-
"prebuild": "rimraf components && tsc --project tsconfig-build.json && cpy './**/*' '!**/*.ts' '!**/*.tsx' '!**/__mocks__/**' ../components --parents --cwd=src/",
|
53
|
+
"prebuild": "rimraf components && tsc --project tsconfig-build.json && cpy './**/*' '!**/*.stories.*' '!**/*.ts' '!**/*.tsx' '!**/__mocks__/**' ../components --parents --cwd=src/",
|
54
54
|
"build": "./node_modules/.bin/rollup -c --bundleConfigAsCjs",
|
55
55
|
"postbuild": "cpy './**/*.d.ts' ../dist --parents --cwd=components/",
|
56
56
|
"serve": "http-server storybook-dist/ -p 9999",
|
@@ -106,7 +106,7 @@
|
|
106
106
|
"element-resize-detector": "^1.2.4",
|
107
107
|
"es6-error": "^4.1.1",
|
108
108
|
"fastdom": "^1.0.12",
|
109
|
-
"focus-trap": "^7.6.
|
109
|
+
"focus-trap": "^7.6.4",
|
110
110
|
"highlight.js": "^10.7.2",
|
111
111
|
"just-debounce-it": "^3.2.0",
|
112
112
|
"memoize-one": "^6.0.0",
|
package/typings.d.ts
CHANGED