@jetbrains/ring-ui-built 7.0.124 → 8.0.0-beta.10
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/anchor.js +1 -1
- package/components/_helpers/avatar-info.js +3 -5
- package/components/_helpers/caption.js +1 -1
- package/components/_helpers/icon-svg.js +37 -52
- package/components/_helpers/legacy-table.js +3 -0
- package/components/_helpers/tab-link.js +1 -1
- package/components/_helpers/table.js +2 -2
- package/components/_helpers/theme.js +49 -37
- package/components/alert/alert-actions.js +1 -1
- package/components/alert/alert-heading.js +1 -1
- package/components/alert/alert.js +2 -2
- package/components/alert-service/alert-service.js +2 -2
- package/components/auth/auth-core.js +2 -2
- package/components/auth/auth.js +2 -2
- package/components/auth/down-notification.js +2 -2
- package/components/auth/iframe-flow.js +1 -1
- package/components/auth/storage.js +2 -2
- package/components/auth-dialog/auth-dialog.js +2 -2
- package/components/auth-dialog-service/auth-dialog-service.js +2 -2
- package/components/avatar/avatar-info.js +1 -1
- package/components/avatar/avatar-size.d.ts +0 -4
- package/components/avatar/avatar-size.js +0 -4
- package/components/avatar/avatar.js +1 -8
- package/components/avatar/fallback-avatar.js +3 -48
- package/components/avatar-stack/avatar-stack.js +5 -5
- package/components/banner/banner.js +2 -2
- package/components/button/button.d.ts +0 -4
- package/components/button/button.js +4 -10
- package/components/button-group/button-group.js +1 -1
- package/components/button-toolbar/button-toolbar.js +1 -1
- package/components/checkbox/checkbox.d.ts +1 -1
- package/components/checkbox/checkbox.js +1 -2
- package/components/clipboard/clipboard.js +2 -2
- package/components/collapse/collapse-content.js +35 -43
- package/components/collapse/collapse-context.d.ts +1 -0
- package/components/collapse/collapse-context.js +1 -0
- package/components/collapse/collapse-control.js +5 -5
- package/components/collapse/collapse.js +34 -25
- package/components/collapsible-group/collapsible-group.d.ts +5 -1
- package/components/collapsible-group/collapsible-group.js +80 -98
- package/components/components/util-stories.js +63 -1
- package/components/confirm/confirm.js +2 -2
- package/components/confirm-service/confirm-service.js +4 -4
- package/components/contenteditable/contenteditable.js +4 -5
- package/components/control-help/control-help.js +1 -1
- package/components/control-label/control-label.js +1 -1
- package/components/data-list/data-list.d.ts +4 -4
- package/components/data-list/data-list.js +5 -5
- package/components/data-list/data-list.mock.d.ts +1 -1
- package/components/data-list/data-list.mock.js +2 -2
- package/components/data-list/item.d.ts +1 -1
- package/components/data-list/item.js +3 -3
- package/components/data-list/selection.d.ts +1 -1
- package/components/data-list/selection.js +2 -2
- package/components/data-list/title.js +1 -2
- package/components/date-picker/date-input.js +2 -2
- package/components/date-picker/date-picker.js +2 -3
- package/components/date-picker/date-popup.js +4 -5
- package/components/date-picker/month-names.js +1 -1
- package/components/date-picker/month-slider.js +1 -1
- package/components/date-picker/month.d.ts +0 -2
- package/components/date-picker/month.js +17 -18
- package/components/date-picker/months.js +43 -36
- package/components/date-picker/use-scroll-behavior.js +45 -45
- package/components/date-picker/weekdays.js +1 -1
- package/components/date-picker/years.js +61 -55
- package/components/dialog/dialog.d.ts +2 -2
- package/components/dialog/dialog.js +5 -5
- package/components/dropdown/anchor.js +3 -3
- package/components/dropdown/dropdown.js +3 -3
- package/components/dropdown-menu/dropdown-menu.d.ts +4 -4
- package/components/dropdown-menu/dropdown-menu.js +63 -58
- package/components/editable-heading/editable-heading.d.ts +1 -2
- package/components/editable-heading/editable-heading.js +14 -13
- package/components/error-bubble/error-bubble.js +1 -1
- package/components/error-message/error-message.js +1 -2
- package/components/footer/footer.js +1 -1
- package/components/global/compose-refs.d.ts +2 -1
- package/components/global/compose-refs.js +44 -8
- package/components/global/configuration.d.ts +0 -5
- package/components/global/configuration.js +2 -10
- package/components/global/controls-height.js +1 -1
- package/components/global/create-stateful-context.js +11 -11
- package/components/global/focus-sensor-hoc.js +1 -0
- package/components/global/focus-with-temporary-tabindex.d.ts +11 -0
- package/components/global/focus-with-temporary-tabindex.js +23 -0
- package/components/global/intersection-observer-context.d.ts +46 -0
- package/components/global/intersection-observer-context.js +138 -0
- package/components/global/is-within-interactive-element.d.ts +6 -0
- package/components/global/is-within-interactive-element.js +11 -0
- package/components/global/is-within-navigable-element.d.ts +6 -0
- package/components/global/is-within-navigable-element.js +11 -0
- package/components/global/parse-css-duration.d.ts +5 -0
- package/components/global/parse-css-duration.js +14 -0
- package/components/global/rerender-hoc.d.ts +4 -2
- package/components/global/rerender-hoc.js +11 -24
- package/components/global/schedule-with-cleanup.d.ts +12 -0
- package/components/global/schedule-with-cleanup.js +36 -0
- package/components/{table/selection.d.ts → global/table-selection.d.ts} +15 -15
- package/components/{table/selection.js → global/table-selection.js} +5 -5
- package/components/global/theme.d.ts +4 -3
- package/components/global/theme.js +1 -1
- package/components/global/variables.interface.d.ts +0 -4
- package/components/header/header-icon.js +3 -3
- package/components/header/header.js +3 -3
- package/components/header/links.js +1 -1
- package/components/header/logo.js +1 -2
- package/components/header/profile.js +5 -5
- package/components/header/services.js +3 -3
- package/components/header/smart-profile.js +3 -3
- package/components/header/smart-services.js +3 -3
- package/components/heading/heading.js +1 -1
- package/components/i18n/i18n-context.js +4 -4
- package/components/icon/icon-svg.js +1 -2
- package/components/icon/icon.d.ts +0 -1
- package/components/icon/icon.js +2 -6
- package/components/icon/index.js +1 -2
- package/components/input/input.d.ts +1 -1
- package/components/input/input.js +3 -3
- package/components/internal/reorder-animation-context.js +159 -0
- package/components/internal/reorder-handle.js +750 -0
- package/components/internal/reorder-layout-context.js +141 -0
- package/components/internal/table-header.js +685 -0
- package/components/internal/virtualization.js +368 -0
- package/components/island/adaptive-island-hoc.js +3 -3
- package/components/island/content.d.ts +7 -2
- package/components/island/content.js +27 -18
- package/components/island/header.js +1 -1
- package/components/island/island.js +1 -1
- package/components/{table → legacy-table}/cell.js +1 -1
- package/components/{table → legacy-table}/header-cell.js +2 -3
- package/components/{table → legacy-table}/header.js +2 -3
- package/components/{table → legacy-table}/multitable.d.ts +1 -1
- package/components/{table → legacy-table}/row-with-focus-sensor.js +3 -3
- package/components/{table → legacy-table}/row.d.ts +1 -1
- package/components/{table → legacy-table}/row.js +5 -5
- package/components/legacy-table/selection-adapter.d.ts +6 -0
- package/components/{table → legacy-table}/selection-shortcuts-hoc.d.ts +5 -5
- package/components/{table → legacy-table}/simple-table.d.ts +2 -2
- package/components/{table → legacy-table}/simple-table.js +5 -5
- package/components/{table → legacy-table}/smart-table.d.ts +5 -5
- package/components/{table → legacy-table}/smart-table.js +6 -6
- package/components/legacy-table/table.d.ts +109 -0
- package/components/legacy-table/table.js +369 -0
- package/components/list/consts.d.ts +0 -1
- package/components/list/consts.js +0 -1
- package/components/list/list-item.js +3 -5
- package/components/list/list-users-groups-source.js +1 -2
- package/components/list/list.d.ts +0 -4
- package/components/list/list.js +1 -2
- package/components/login-dialog/login-dialog.js +3 -3
- package/components/login-dialog/service.js +2 -2
- package/components/message/message.js +1 -1
- package/components/pager/pager.js +3 -3
- package/components/popup/popup.js +1 -1
- package/components/popup/popup.target.d.ts +3 -2
- package/components/popup/popup.target.js +32 -28
- package/components/popup-menu/popup-menu.js +1 -1
- package/components/query-assist/query-assist-suggestions.js +1 -2
- package/components/query-assist/query-assist.d.ts +3 -1
- package/components/query-assist/query-assist.js +2 -2
- package/components/radio/radio-item.d.ts +3 -3
- package/components/radio/radio-item.js +33 -19
- package/components/radio/radio.d.ts +2 -2
- package/components/radio/radio.js +2 -2
- package/components/scrollable-section/scrollable-section.js +1 -1
- package/components/select/chevron-button.js +3 -3
- package/components/select/select-filter.js +3 -3
- package/components/select/select-popup.d.ts +3 -2
- package/components/select/select-popup.js +9 -4
- package/components/select/select.d.ts +6 -2
- package/components/select/select.js +5 -4
- package/components/selection-toolbar/selection-toolbar.d.ts +11 -0
- package/components/selection-toolbar/selection-toolbar.js +200 -0
- package/components/slider/slider.js +100 -97
- package/components/storage/storage-local.js +2 -2
- package/components/storage/storage.js +2 -2
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.d.ts +3 -3
- package/components/tab-trap/tab-trap.js +83 -80
- package/components/table/default-item-renderer.d.ts +55 -0
- package/components/table/default-item-renderer.js +240 -0
- package/components/table/internal/reorder-animation-context.d.ts +21 -0
- package/components/table/internal/reorder-handle.d.ts +9 -0
- package/components/table/internal/reorder-layout-context.d.ts +16 -0
- package/components/table/internal/table-header.d.ts +1 -0
- package/components/table/internal/virtualization.d.ts +41 -0
- package/components/table/item-virtualization.d.ts +37 -0
- package/components/table/item-virtualization.js +73 -0
- package/components/table/reorder-animation.d.ts +37 -0
- package/components/table/reorder-animation.js +18 -0
- package/components/table/reorder-item-layout.d.ts +32 -0
- package/components/table/reorder-item-layout.js +57 -0
- package/components/table/table-const.d.ts +10 -0
- package/components/table/table-const.js +13 -0
- package/components/table/table-primitives.d.ts +64 -0
- package/components/table/table-primitives.js +180 -0
- package/components/table/table-props.d.ts +304 -0
- package/components/table/table-props.js +1 -0
- package/components/table/table.d.ts +231 -107
- package/components/table/table.js +351 -346
- package/components/tabs/collapsible-more.js +1 -1
- package/components/tabs/collapsible-tab.js +1 -1
- package/components/tabs/collapsible-tabs.js +1 -1
- package/components/tabs/dumb-tabs.js +1 -1
- package/components/tabs/smart-tabs.js +1 -1
- package/components/tabs/tab-link.js +1 -1
- package/components/tabs/tabs.js +1 -1
- package/components/tag/tag.js +1 -1
- package/components/tags-input/tags-input.d.ts +3 -1
- package/components/tags-input/tags-input.js +4 -4
- package/components/tags-list/tags-list.js +2 -2
- package/components/toggle/toggle.js +1 -1
- package/components/tooltip/tooltip.d.ts +2 -1
- package/components/tooltip/tooltip.js +5 -3
- package/components/upload/upload.d.ts +4 -3
- package/components/upload/upload.js +7 -30
- package/components/user-agreement/service.js +3 -3
- package/components/user-agreement/user-agreement.js +2 -2
- package/components/user-card/card.js +4 -4
- package/components/user-card/smart-user-card-tooltip.js +3 -3
- package/components/user-card/tooltip.js +3 -3
- package/components/user-card/user-card.js +5 -5
- package/components/util-stories.d.ts +26 -0
- package/package.json +8 -9
- package/components/__mocks__/old-browsers-message.js +0 -3
- package/components/_helpers/grid.js +0 -3
- package/components/_helpers/sidebar.js +0 -110
- package/components/content-layout/content-layout.d.ts +0 -20
- package/components/content-layout/content-layout.js +0 -50
- package/components/content-layout/sidebar.d.ts +0 -26
- package/components/content-layout/sidebar.js +0 -5
- package/components/date-picker/use-intersection-observer.d.ts +0 -6
- package/components/date-picker/use-intersection-observer.js +0 -93
- package/components/expand/collapsible-group.d.ts +0 -8
- package/components/expand/collapsible-group.js +0 -52
- package/components/global/composeRefs.d.ts +0 -6
- package/components/global/composeRefs.js +0 -9
- package/components/global/use-event-callback.d.ts +0 -4
- package/components/global/use-event-callback.js +0 -49
- package/components/grid/col.d.ts +0 -16
- package/components/grid/col.js +0 -63
- package/components/grid/grid.d.ts +0 -13
- package/components/grid/grid.js +0 -27
- package/components/grid/row.d.ts +0 -21
- package/components/grid/row.js +0 -72
- package/components/old-browsers-message/old-browsers-message-stop.d.ts +0 -1
- package/components/old-browsers-message/old-browsers-message-stop.js +0 -5
- package/components/old-browsers-message/old-browsers-message.d.ts +0 -5
- package/components/old-browsers-message/old-browsers-message.js +0 -89
- package/components/old-browsers-message/white-list.d.ts +0 -2
- package/components/old-browsers-message/white-list.js +0 -30
- package/components/table/selection-adapter.d.ts +0 -6
- /package/components/{table → legacy-table}/cell.d.ts +0 -0
- /package/components/{table → legacy-table}/disable-hover-hoc.d.ts +0 -0
- /package/components/{table → legacy-table}/disable-hover-hoc.js +0 -0
- /package/components/{table → legacy-table}/header-cell.d.ts +0 -0
- /package/components/{table → legacy-table}/header.d.ts +0 -0
- /package/components/{table → legacy-table}/multitable.js +0 -0
- /package/components/{table → legacy-table}/row-with-focus-sensor.d.ts +0 -0
- /package/components/{table → legacy-table}/selection-adapter.js +0 -0
- /package/components/{table → legacy-table}/selection-shortcuts-hoc.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c } from 'react
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import { Size } from '../avatar/avatar-size.js';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -7,22 +7,20 @@ var styles = {"avatar":"ring-avatar-avatar","round":"ring-avatar-round","avatarI
|
|
|
7
7
|
|
|
8
8
|
const fontSizes = {
|
|
9
9
|
[Size.Size16]: 9,
|
|
10
|
-
[Size.Size18]: 9,
|
|
11
10
|
[Size.Size20]: 9,
|
|
12
11
|
[Size.Size24]: 11,
|
|
13
12
|
[Size.Size28]: 12,
|
|
14
13
|
[Size.Size32]: 14,
|
|
15
14
|
[Size.Size40]: 16,
|
|
16
|
-
[Size.Size48]: 16,
|
|
17
15
|
[Size.Size56]: 22
|
|
18
16
|
};
|
|
19
17
|
function AvatarInfo(t0) {
|
|
20
18
|
const $ = c(7);
|
|
21
|
-
if ($[0] !== "
|
|
19
|
+
if ($[0] !== "33d9e62fc244e982736d73abc4599d28e2503bcb0c1be77e33e4cecd23099cfb") {
|
|
22
20
|
for (let $i = 0; $i < 7; $i += 1) {
|
|
23
21
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
24
22
|
}
|
|
25
|
-
$[0] = "
|
|
23
|
+
$[0] = "33d9e62fc244e982736d73abc4599d28e2503bcb0c1be77e33e4cecd23099cfb";
|
|
26
24
|
}
|
|
27
25
|
const {
|
|
28
26
|
size,
|
|
@@ -2,7 +2,7 @@ import { PureComponent } from 'react';
|
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
|
-
var styles = {"
|
|
5
|
+
var styles = {"button":"ring-button-button","buttonActive":"ring-button-active","flat":"ring-button-flat","buttonGroup":"ring-button-group-buttonGroup ring-button-group-common ring-button-toolbar-buttonGroup","common":"ring-button-group-common","disabled":"ring-button-group-disabled","split":"ring-button-group-split ring-button-group-common ring-button-toolbar-buttonGroup","caption":"ring-button-group-caption ring-global-font","help":"ring-button-group-help"};
|
|
6
6
|
|
|
7
7
|
class Caption extends PureComponent {
|
|
8
8
|
render() {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { c } from 'react
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { memo } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
|
-
import { getTrustedHTML } from '../global/configuration.js';
|
|
5
4
|
import memoize from '../global/memoize.js';
|
|
6
5
|
import { jsx } from 'react/jsx-runtime';
|
|
7
6
|
|
|
8
|
-
var styles = {"icon":"ring-icon-icon","glyph":"ring-icon-glyph","compatibilityMode":"ring-icon-compatibilityMode","gray":"ring-icon-gray","hover":"ring-icon-hover","green":"ring-icon-green","magenta":"ring-icon-magenta","red":"ring-icon-red","blue":"ring-icon-blue","white":"ring-icon-white"
|
|
7
|
+
var styles = {"icon":"ring-icon-icon","glyph":"ring-icon-glyph","compatibilityMode":"ring-icon-compatibilityMode","gray":"ring-icon-gray","hover":"ring-icon-hover","green":"ring-icon-green","magenta":"ring-icon-magenta","red":"ring-icon-red","blue":"ring-icon-blue","white":"ring-icon-white"};
|
|
9
8
|
|
|
10
9
|
function convertReactSVGDOMProperty(str) {
|
|
11
10
|
return str.replace(/[-|:]([a-z])/g, g => g[1].toUpperCase());
|
|
@@ -30,7 +29,7 @@ function extractSVGProps(svgNode) {
|
|
|
30
29
|
}
|
|
31
30
|
const getSVGFromSource = memoize(src => {
|
|
32
31
|
const svgContainer = document.createElement('div');
|
|
33
|
-
svgContainer.innerHTML =
|
|
32
|
+
svgContainer.innerHTML = src;
|
|
34
33
|
const svg = svgContainer.firstElementChild;
|
|
35
34
|
if (svg.remove) {
|
|
36
35
|
svg.remove();
|
|
@@ -48,12 +47,12 @@ function isCompatibilityMode(iconSrc) {
|
|
|
48
47
|
return !hasWidth || !hasHeight;
|
|
49
48
|
}
|
|
50
49
|
function IconSVG(t0) {
|
|
51
|
-
const $ = c(
|
|
52
|
-
if ($[0] !== "
|
|
53
|
-
for (let $i = 0; $i <
|
|
50
|
+
const $ = c(17);
|
|
51
|
+
if ($[0] !== "589684e7b2c66c1a9d7d75c160f4be9d89cef892961d29196549a421758ee7d6") {
|
|
52
|
+
for (let $i = 0; $i < 17; $i += 1) {
|
|
54
53
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
55
54
|
}
|
|
56
|
-
$[0] = "
|
|
55
|
+
$[0] = "589684e7b2c66c1a9d7d75c160f4be9d89cef892961d29196549a421758ee7d6";
|
|
57
56
|
}
|
|
58
57
|
let className;
|
|
59
58
|
let rest;
|
|
@@ -86,58 +85,44 @@ function IconSVG(t0) {
|
|
|
86
85
|
}
|
|
87
86
|
const glyphClasses = t1;
|
|
88
87
|
let t2;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
const {
|
|
94
|
-
props,
|
|
95
|
-
html
|
|
96
|
-
} = getSVGFromSource(src);
|
|
97
|
-
t3 = props;
|
|
98
|
-
t4 = rest;
|
|
99
|
-
t5 = glyphClasses;
|
|
100
|
-
t2 = getTrustedHTML(html);
|
|
101
|
-
$[8] = glyphClasses;
|
|
102
|
-
$[9] = rest;
|
|
103
|
-
$[10] = src;
|
|
104
|
-
$[11] = t2;
|
|
105
|
-
$[12] = t3;
|
|
106
|
-
$[13] = t4;
|
|
107
|
-
$[14] = t5;
|
|
88
|
+
if ($[8] !== src) {
|
|
89
|
+
t2 = getSVGFromSource(src);
|
|
90
|
+
$[8] = src;
|
|
91
|
+
$[9] = t2;
|
|
108
92
|
} else {
|
|
109
|
-
t2 = $[
|
|
110
|
-
t3 = $[12];
|
|
111
|
-
t4 = $[13];
|
|
112
|
-
t5 = $[14];
|
|
93
|
+
t2 = $[9];
|
|
113
94
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
95
|
+
const {
|
|
96
|
+
props,
|
|
97
|
+
html
|
|
98
|
+
} = t2;
|
|
99
|
+
let t3;
|
|
100
|
+
if ($[10] !== html) {
|
|
101
|
+
t3 = {
|
|
102
|
+
__html: html
|
|
118
103
|
};
|
|
119
|
-
$[
|
|
120
|
-
$[
|
|
104
|
+
$[10] = html;
|
|
105
|
+
$[11] = t3;
|
|
121
106
|
} else {
|
|
122
|
-
|
|
107
|
+
t3 = $[11];
|
|
123
108
|
}
|
|
124
|
-
let
|
|
125
|
-
if ($[
|
|
126
|
-
|
|
127
|
-
...
|
|
128
|
-
...
|
|
129
|
-
className:
|
|
130
|
-
dangerouslySetInnerHTML:
|
|
109
|
+
let t4;
|
|
110
|
+
if ($[12] !== glyphClasses || $[13] !== props || $[14] !== rest || $[15] !== t3) {
|
|
111
|
+
t4 = /*#__PURE__*/jsx("svg", {
|
|
112
|
+
...props,
|
|
113
|
+
...rest,
|
|
114
|
+
className: glyphClasses,
|
|
115
|
+
dangerouslySetInnerHTML: t3
|
|
131
116
|
});
|
|
132
|
-
$[
|
|
133
|
-
$[
|
|
134
|
-
$[
|
|
135
|
-
$[
|
|
136
|
-
$[
|
|
117
|
+
$[12] = glyphClasses;
|
|
118
|
+
$[13] = props;
|
|
119
|
+
$[14] = rest;
|
|
120
|
+
$[15] = t3;
|
|
121
|
+
$[16] = t4;
|
|
137
122
|
} else {
|
|
138
|
-
|
|
123
|
+
t4 = $[16];
|
|
139
124
|
}
|
|
140
|
-
return
|
|
125
|
+
return t4;
|
|
141
126
|
}
|
|
142
127
|
var IconSVG$1 = /*#__PURE__*/memo(IconSVG);
|
|
143
128
|
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var style = {"row":"ring-legacy-table-row","dragHandle":"ring-legacy-table-dragHandle","tableWrapper":"ring-legacy-table-tableWrapper","table":"ring-legacy-table-table","userSelectNone":"ring-legacy-table-userSelectNone","headerCell":"ring-legacy-table-headerCell ring-global-font-smaller-lower ring-global-font-smaller ring-global-font-lower ring-global-font","headerCellSorted":"ring-legacy-table-headerCellSorted","headerCellSortable":"ring-legacy-table-headerCellSortable","sorter":"ring-legacy-table-sorter","sortedUp":"ring-legacy-table-sortedUp","icon":"ring-legacy-table-icon","caption":"ring-legacy-table-caption","tableHead":"ring-legacy-table-tableHead","subHeaderSticky":"ring-legacy-table-subHeaderSticky","disabledHover":"ring-legacy-table-disabledHover","rowSelected":"ring-legacy-table-rowSelected","rowFocused":"ring-legacy-table-rowFocused","cell":"ring-legacy-table-cell ring-global-ellipsis","loadingOverlay":"ring-legacy-table-loadingOverlay","wideFirstColumn":"ring-legacy-table-wideFirstColumn","cellUnlimited":"ring-legacy-table-cellUnlimited","cellRight":"ring-legacy-table-cellRight","metaColumn":"ring-legacy-table-metaColumn","headerMetaColumn":"ring-legacy-table-headerMetaColumn","visibleDragHandle":"ring-legacy-table-visibleDragHandle","rowCollapseExpandButton":"ring-legacy-table-rowCollapseExpandButton","draggingRow":"ring-legacy-table-draggingRow","draggingTable":"ring-legacy-table-draggingTable","tableMessage":"ring-legacy-table-tableMessage"};
|
|
2
|
+
|
|
3
|
+
export { style as s };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var
|
|
1
|
+
var styles = {"headerCell":"ring-table-headerCell","columnReorderHandleMirror":"ring-table-columnReorderHandleMirror","columnReorderHandle":"ring-table-columnReorderHandle","table":"ring-table-table","stickyHeader":"ring-table-stickyHeader","reorderAnimationInitial":"ring-table-reorderAnimationInitial","reorderAnimationFadeOut":"ring-table-reorderAnimationFadeOut","headerCellInnerWrapper":"ring-table-headerCellInnerWrapper","sortAndHeader":"ring-table-sortAndHeader","rightButtons":"ring-table-rightButtons","tableButton":"ring-table-tableButton","deleteColumnButton":"ring-table-deleteColumnButton","theadColumnEditing":"ring-table-theadColumnEditing","itemReorderHandle":"ring-table-itemReorderHandle","editColumnsButton":"ring-table-editColumnsButton","dragFrame":"ring-table-dragFrame","insertionIndicator":"ring-table-insertionIndicator","spacerRow":"ring-table-spacerRow","spacerCell":"ring-table-spacerCell","row":"ring-table-row","clickableRow":"ring-table-clickableRow","selectedRow":"ring-table-selectedRow","cell":"ring-table-cell"};
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { styles as s };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c } from 'react
|
|
2
|
-
import { createContext,
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
|
+
import { createContext, useEffect, useState } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -21,11 +21,11 @@ const darkMatcher = typeof window !== 'undefined' ? window.matchMedia('(prefers-
|
|
|
21
21
|
function useTheme() {
|
|
22
22
|
var _darkMatcher$matches;
|
|
23
23
|
const $ = c(3);
|
|
24
|
-
if ($[0] !== "
|
|
24
|
+
if ($[0] !== "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6") {
|
|
25
25
|
for (let $i = 0; $i < 3; $i += 1) {
|
|
26
26
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
27
27
|
}
|
|
28
|
-
$[0] = "
|
|
28
|
+
$[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
|
|
29
29
|
}
|
|
30
30
|
const [dark, setDark] = useState((_darkMatcher$matches = darkMatcher?.matches) !== null && _darkMatcher$matches !== void 0 ? _darkMatcher$matches : false);
|
|
31
31
|
let t0;
|
|
@@ -48,11 +48,11 @@ function useTheme() {
|
|
|
48
48
|
}
|
|
49
49
|
function useThemeClasses(theme) {
|
|
50
50
|
const $ = c(5);
|
|
51
|
-
if ($[0] !== "
|
|
51
|
+
if ($[0] !== "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6") {
|
|
52
52
|
for (let $i = 0; $i < 5; $i += 1) {
|
|
53
53
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
54
54
|
}
|
|
55
|
-
$[0] = "
|
|
55
|
+
$[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
|
|
56
56
|
}
|
|
57
57
|
const systemTheme = useTheme();
|
|
58
58
|
const resolvedTheme = theme === Theme.AUTO ? systemTheme : theme;
|
|
@@ -77,11 +77,11 @@ function useThemeClasses(theme) {
|
|
|
77
77
|
}
|
|
78
78
|
function WithThemeClasses(t0) {
|
|
79
79
|
const $ = c(4);
|
|
80
|
-
if ($[0] !== "
|
|
80
|
+
if ($[0] !== "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6") {
|
|
81
81
|
for (let $i = 0; $i < 4; $i += 1) {
|
|
82
82
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
83
83
|
}
|
|
84
|
-
$[0] = "
|
|
84
|
+
$[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
|
|
85
85
|
}
|
|
86
86
|
const {
|
|
87
87
|
theme,
|
|
@@ -110,35 +110,33 @@ function applyTheme(theme, container) {
|
|
|
110
110
|
container.classList.add(defaultStyles.light);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
|
|
114
|
-
const $ = c(
|
|
115
|
-
if ($[0] !== "
|
|
116
|
-
for (let $i = 0; $i <
|
|
113
|
+
function DefaultWrapper(props) {
|
|
114
|
+
const $ = c(3);
|
|
115
|
+
if ($[0] !== "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6") {
|
|
116
|
+
for (let $i = 0; $i < 3; $i += 1) {
|
|
117
117
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
118
118
|
}
|
|
119
|
-
$[0] = "
|
|
119
|
+
$[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
|
|
120
120
|
}
|
|
121
121
|
let t0;
|
|
122
|
-
if ($[1] !== props
|
|
122
|
+
if ($[1] !== props) {
|
|
123
123
|
t0 = /*#__PURE__*/jsx("div", {
|
|
124
|
-
...props
|
|
125
|
-
ref: ref
|
|
124
|
+
...props
|
|
126
125
|
});
|
|
127
126
|
$[1] = props;
|
|
128
|
-
$[2] =
|
|
129
|
-
$[3] = t0;
|
|
127
|
+
$[2] = t0;
|
|
130
128
|
} else {
|
|
131
|
-
t0 = $[
|
|
129
|
+
t0 = $[2];
|
|
132
130
|
}
|
|
133
131
|
return t0;
|
|
134
|
-
}
|
|
132
|
+
}
|
|
135
133
|
function ThemeProviderInner(t0) {
|
|
136
134
|
const $ = c(30);
|
|
137
|
-
if ($[0] !== "
|
|
135
|
+
if ($[0] !== "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6") {
|
|
138
136
|
for (let $i = 0; $i < 30; $i += 1) {
|
|
139
137
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
140
138
|
}
|
|
141
|
-
$[0] = "
|
|
139
|
+
$[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
|
|
142
140
|
}
|
|
143
141
|
let children;
|
|
144
142
|
let className;
|
|
@@ -243,7 +241,7 @@ function ThemeProviderInner(t0) {
|
|
|
243
241
|
}
|
|
244
242
|
let t8;
|
|
245
243
|
if ($[27] !== t7 || $[28] !== themeValue) {
|
|
246
|
-
t8 = /*#__PURE__*/jsx(ThemeContext
|
|
244
|
+
t8 = /*#__PURE__*/jsx(ThemeContext, {
|
|
247
245
|
value: themeValue,
|
|
248
246
|
children: t7
|
|
249
247
|
});
|
|
@@ -255,28 +253,42 @@ function ThemeProviderInner(t0) {
|
|
|
255
253
|
}
|
|
256
254
|
return t8;
|
|
257
255
|
}
|
|
258
|
-
|
|
259
|
-
const $ = c(
|
|
260
|
-
if ($[0] !== "
|
|
261
|
-
for (let $i = 0; $i <
|
|
256
|
+
function ThemeProvider(t0) {
|
|
257
|
+
const $ = c(7);
|
|
258
|
+
if ($[0] !== "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6") {
|
|
259
|
+
for (let $i = 0; $i < 7; $i += 1) {
|
|
262
260
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
263
261
|
}
|
|
264
|
-
$[0] = "
|
|
262
|
+
$[0] = "cfa03ef89adb87365510fd043be3a77234f81d819579a8ee5645ccddc6d812e6";
|
|
265
263
|
}
|
|
266
|
-
let
|
|
267
|
-
|
|
268
|
-
|
|
264
|
+
let props;
|
|
265
|
+
let ref;
|
|
266
|
+
if ($[1] !== t0) {
|
|
267
|
+
({
|
|
268
|
+
ref,
|
|
269
|
+
...props
|
|
270
|
+
} = t0);
|
|
271
|
+
$[1] = t0;
|
|
272
|
+
$[2] = props;
|
|
273
|
+
$[3] = ref;
|
|
274
|
+
} else {
|
|
275
|
+
props = $[2];
|
|
276
|
+
ref = $[3];
|
|
277
|
+
}
|
|
278
|
+
let t1;
|
|
279
|
+
if ($[4] !== props || $[5] !== ref) {
|
|
280
|
+
t1 = /*#__PURE__*/jsx(ThemeProviderInner, {
|
|
269
281
|
...props,
|
|
270
282
|
wrapperRef: ref
|
|
271
283
|
});
|
|
272
|
-
$[
|
|
273
|
-
$[
|
|
274
|
-
$[
|
|
284
|
+
$[4] = props;
|
|
285
|
+
$[5] = ref;
|
|
286
|
+
$[6] = t1;
|
|
275
287
|
} else {
|
|
276
|
-
|
|
288
|
+
t1 = $[6];
|
|
277
289
|
}
|
|
278
|
-
return
|
|
279
|
-
}
|
|
290
|
+
return t1;
|
|
291
|
+
}
|
|
280
292
|
var Theme$1 = Theme;
|
|
281
293
|
|
|
282
294
|
export { GLOBAL_DARK_CLASS_NAME as G, Theme$1 as T, WithThemeClasses as W, ThemeProvider as a, ThemeContext as b, applyTheme as c, darkStyles as d, useThemeClasses as e, useTheme as u };
|
|
@@ -19,13 +19,13 @@ export { default as Container } from './container.js';
|
|
|
19
19
|
import 'util-deprecate';
|
|
20
20
|
import '../icon/icon.constants.js';
|
|
21
21
|
import '../_helpers/icon-svg.js';
|
|
22
|
-
import 'react
|
|
23
|
-
import '../global/configuration.js';
|
|
22
|
+
import 'react/compiler-runtime';
|
|
24
23
|
import '../global/memoize.js';
|
|
25
24
|
import '@jetbrains/icons/chevron-down';
|
|
26
25
|
import '@jetbrains/icons/chevron-12px-down';
|
|
27
26
|
import '../link/clickable-link.js';
|
|
28
27
|
import '../global/controls-height.js';
|
|
28
|
+
import '../global/configuration.js';
|
|
29
29
|
import '../_helpers/button.classes.js';
|
|
30
30
|
import '../heading/heading.js';
|
|
31
31
|
import '../_helpers/heading.js';
|
|
@@ -14,8 +14,7 @@ import '../icon/icon.js';
|
|
|
14
14
|
import 'util-deprecate';
|
|
15
15
|
import '../icon/icon.constants.js';
|
|
16
16
|
import '../_helpers/icon-svg.js';
|
|
17
|
-
import 'react
|
|
18
|
-
import '../global/configuration.js';
|
|
17
|
+
import 'react/compiler-runtime';
|
|
19
18
|
import '../global/memoize.js';
|
|
20
19
|
import '../loader-inline/loader-inline.js';
|
|
21
20
|
import '../global/data-tests.js';
|
|
@@ -25,6 +24,7 @@ import '@jetbrains/icons/chevron-down';
|
|
|
25
24
|
import '@jetbrains/icons/chevron-12px-down';
|
|
26
25
|
import '../link/clickable-link.js';
|
|
27
26
|
import '../global/controls-height.js';
|
|
27
|
+
import '../global/configuration.js';
|
|
28
28
|
import '../_helpers/button.classes.js';
|
|
29
29
|
import '../_helpers/theme.js';
|
|
30
30
|
import '../alert/alert-heading.js';
|
|
@@ -25,8 +25,7 @@ import '../icon/icon.js';
|
|
|
25
25
|
import 'util-deprecate';
|
|
26
26
|
import '../icon/icon.constants.js';
|
|
27
27
|
import '../_helpers/icon-svg.js';
|
|
28
|
-
import 'react
|
|
29
|
-
import '../global/configuration.js';
|
|
28
|
+
import 'react/compiler-runtime';
|
|
30
29
|
import '../global/memoize.js';
|
|
31
30
|
import 'react/jsx-runtime';
|
|
32
31
|
import '../loader-inline/loader-inline.js';
|
|
@@ -37,6 +36,7 @@ import '@jetbrains/icons/chevron-down';
|
|
|
37
36
|
import '@jetbrains/icons/chevron-12px-down';
|
|
38
37
|
import '../link/clickable-link.js';
|
|
39
38
|
import '../global/controls-height.js';
|
|
39
|
+
import '../global/configuration.js';
|
|
40
40
|
import '../_helpers/button.classes.js';
|
|
41
41
|
import '../_helpers/theme.js';
|
|
42
42
|
import '../alert/alert-heading.js';
|
package/components/auth/auth.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Auth } from './auth-core.js';
|
|
|
4
4
|
export { DEFAULT_BACKGROUND_TIMEOUT, DEFAULT_EXPIRES_TIMEOUT, DOMAIN_USER_CHANGED_EVENT, LOGOUT_EVENT, LOGOUT_POSTPONED_EVENT, TOKEN_REFRESH_RETRY_DELAYS, USER_CHANGED_EVENT, USER_CHANGE_POSTPONED_EVENT } from './auth-core.js';
|
|
5
5
|
import './response-parser.js';
|
|
6
6
|
import '../global/url.js';
|
|
7
|
-
import 'react
|
|
7
|
+
import 'react/compiler-runtime';
|
|
8
8
|
import 'react';
|
|
9
9
|
import '../alert-service/alert-service.js';
|
|
10
10
|
import 'react-dom/client';
|
|
@@ -20,7 +20,6 @@ import '../icon/icon.js';
|
|
|
20
20
|
import 'util-deprecate';
|
|
21
21
|
import '../icon/icon.constants.js';
|
|
22
22
|
import '../_helpers/icon-svg.js';
|
|
23
|
-
import '../global/configuration.js';
|
|
24
23
|
import '../global/memoize.js';
|
|
25
24
|
import 'react/jsx-runtime';
|
|
26
25
|
import '../loader-inline/loader-inline.js';
|
|
@@ -31,6 +30,7 @@ import '@jetbrains/icons/chevron-down';
|
|
|
31
30
|
import '@jetbrains/icons/chevron-12px-down';
|
|
32
31
|
import '../link/clickable-link.js';
|
|
33
32
|
import '../global/controls-height.js';
|
|
33
|
+
import '../global/configuration.js';
|
|
34
34
|
import '../_helpers/button.classes.js';
|
|
35
35
|
import '../_helpers/theme.js';
|
|
36
36
|
import '../alert/alert-heading.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c } from 'react
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import 'react';
|
|
3
3
|
import alertService from '../alert-service/alert-service.js';
|
|
4
4
|
import Alert from '../alert/alert.js';
|
|
@@ -19,7 +19,6 @@ import '../icon/icon.js';
|
|
|
19
19
|
import 'util-deprecate';
|
|
20
20
|
import '../icon/icon.constants.js';
|
|
21
21
|
import '../_helpers/icon-svg.js';
|
|
22
|
-
import '../global/configuration.js';
|
|
23
22
|
import '../global/memoize.js';
|
|
24
23
|
import '../loader-inline/loader-inline.js';
|
|
25
24
|
import '../global/data-tests.js';
|
|
@@ -29,6 +28,7 @@ import '@jetbrains/icons/chevron-down';
|
|
|
29
28
|
import '@jetbrains/icons/chevron-12px-down';
|
|
30
29
|
import '../link/clickable-link.js';
|
|
31
30
|
import '../global/controls-height.js';
|
|
31
|
+
import '../global/configuration.js';
|
|
32
32
|
import '../_helpers/button.classes.js';
|
|
33
33
|
import '../_helpers/theme.js';
|
|
34
34
|
import '../alert/alert-heading.js';
|
|
@@ -18,7 +18,7 @@ import '../island/adaptive-island-hoc.js';
|
|
|
18
18
|
import '../global/linear-function.js';
|
|
19
19
|
import '../_helpers/island.js';
|
|
20
20
|
import '../island/header.js';
|
|
21
|
-
import 'react
|
|
21
|
+
import 'react/compiler-runtime';
|
|
22
22
|
import '../island/content.js';
|
|
23
23
|
import 'element-resize-detector';
|
|
24
24
|
import '../global/schedule-raf.js';
|
|
@@ -14,8 +14,7 @@ import '../icon/icon.js';
|
|
|
14
14
|
import 'util-deprecate';
|
|
15
15
|
import '../icon/icon.constants.js';
|
|
16
16
|
import '../_helpers/icon-svg.js';
|
|
17
|
-
import 'react
|
|
18
|
-
import '../global/configuration.js';
|
|
17
|
+
import 'react/compiler-runtime';
|
|
19
18
|
import '../global/memoize.js';
|
|
20
19
|
import 'react/jsx-runtime';
|
|
21
20
|
import '../loader-inline/loader-inline.js';
|
|
@@ -26,6 +25,7 @@ import '@jetbrains/icons/chevron-down';
|
|
|
26
25
|
import '@jetbrains/icons/chevron-12px-down';
|
|
27
26
|
import '../link/clickable-link.js';
|
|
28
27
|
import '../global/controls-height.js';
|
|
28
|
+
import '../global/configuration.js';
|
|
29
29
|
import '../_helpers/button.classes.js';
|
|
30
30
|
import '../_helpers/theme.js';
|
|
31
31
|
import '../alert/alert-heading.js';
|
|
@@ -2,7 +2,7 @@ import { Component } from 'react';
|
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import '../_helpers/island.js';
|
|
5
|
-
import 'react
|
|
5
|
+
import 'react/compiler-runtime';
|
|
6
6
|
import ContentWrapper from '../island/content.js';
|
|
7
7
|
import Dialog from '../dialog/dialog.js';
|
|
8
8
|
import { Button } from '../button/button.js';
|
|
@@ -36,8 +36,8 @@ import '../_helpers/dialog-body-scroll-preventer.js';
|
|
|
36
36
|
import 'scrollbar-width';
|
|
37
37
|
import '@jetbrains/icons/chevron-down';
|
|
38
38
|
import '@jetbrains/icons/chevron-12px-down';
|
|
39
|
-
import 'util-deprecate';
|
|
40
39
|
import '../icon/icon.js';
|
|
40
|
+
import 'util-deprecate';
|
|
41
41
|
import '../icon/icon.constants.js';
|
|
42
42
|
import '../_helpers/icon-svg.js';
|
|
43
43
|
import '../global/memoize.js';
|
|
@@ -7,7 +7,7 @@ import 'util-deprecate';
|
|
|
7
7
|
import '../global/configuration.js';
|
|
8
8
|
import 'classnames';
|
|
9
9
|
import '../_helpers/island.js';
|
|
10
|
-
import 'react
|
|
10
|
+
import 'react/compiler-runtime';
|
|
11
11
|
import '../island/content.js';
|
|
12
12
|
import 'element-resize-detector';
|
|
13
13
|
import '../global/schedule-raf.js';
|
|
@@ -54,7 +54,7 @@ const reactRoot = createRoot(containerElement);
|
|
|
54
54
|
* Renders AuthDialog into virtual node to skip maintaining container
|
|
55
55
|
*/
|
|
56
56
|
function renderAuthDialog(props) {
|
|
57
|
-
reactRoot.render(/*#__PURE__*/jsx(ControlsHeightContext
|
|
57
|
+
reactRoot.render(/*#__PURE__*/jsx(ControlsHeightContext, {
|
|
58
58
|
value: getGlobalControlsHeight(),
|
|
59
59
|
children: /*#__PURE__*/jsx(AuthDialog, {
|
|
60
60
|
...props
|
|
@@ -4,15 +4,11 @@
|
|
|
4
4
|
var Size;
|
|
5
5
|
(function (Size) {
|
|
6
6
|
Size[Size["Size16"] = 16] = "Size16";
|
|
7
|
-
/** @deprecated */
|
|
8
|
-
Size[Size["Size18"] = 18] = "Size18";
|
|
9
7
|
Size[Size["Size20"] = 20] = "Size20";
|
|
10
8
|
Size[Size["Size24"] = 24] = "Size24";
|
|
11
9
|
Size[Size["Size28"] = 28] = "Size28";
|
|
12
10
|
Size[Size["Size32"] = 32] = "Size32";
|
|
13
11
|
Size[Size["Size40"] = 40] = "Size40";
|
|
14
|
-
/** @deprecated */
|
|
15
|
-
Size[Size["Size48"] = 48] = "Size48";
|
|
16
12
|
Size[Size["Size56"] = 56] = "Size56";
|
|
17
13
|
})(Size || (Size = {}));
|
|
18
14
|
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import 'core-js/modules/es.array.includes.js';
|
|
2
1
|
import { PureComponent } from 'react';
|
|
3
2
|
import classNames from 'classnames';
|
|
4
|
-
import deprecate from 'util-deprecate';
|
|
5
3
|
import { isDataURI, parseQueryString, encodeURL } from '../global/url.js';
|
|
6
4
|
import { getPixelRatio } from '../global/dom.js';
|
|
7
|
-
import memoize from '../global/memoize.js';
|
|
8
5
|
import FallbackAvatar from './fallback-avatar.js';
|
|
9
6
|
import { Size } from './avatar-size.js';
|
|
10
7
|
import { s as styles, A as AvatarInfo } from '../_helpers/avatar-info.js';
|
|
11
8
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
12
|
-
import 'react
|
|
9
|
+
import 'react/compiler-runtime';
|
|
13
10
|
import '../global/get-uid.js';
|
|
14
11
|
|
|
15
|
-
const warnSize = memoize(size => deprecate(() => {}, `Avatar: Size${size} is deprecated and will be removed in 8.0. The supported sizes are: Size20, Size24, Size28, Size32, Size40.`));
|
|
16
12
|
class Avatar extends PureComponent {
|
|
17
13
|
static defaultProps = {
|
|
18
14
|
dpr: getPixelRatio(),
|
|
@@ -47,9 +43,6 @@ class Avatar extends PureComponent {
|
|
|
47
43
|
skipParams,
|
|
48
44
|
...restProps
|
|
49
45
|
} = this.props;
|
|
50
|
-
if ([Size.Size18, Size.Size48].includes(size)) {
|
|
51
|
-
warnSize(size)();
|
|
52
|
-
}
|
|
53
46
|
const sizeString = `${size}px`;
|
|
54
47
|
const subavatarSizeString = `${subavatarSize}px`;
|
|
55
48
|
const styleObj = {
|