@jetbrains/ring-ui-built 8.0.0-beta.2 → 8.0.0-beta.4
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 +1 -1
- package/components/_helpers/heading.js +2 -2
- package/components/_helpers/icon-svg.js +1 -1
- package/components/_helpers/legacy-table.js +3 -0
- package/components/_helpers/tab-link.js +1 -1
- package/components/_helpers/table.js +1 -1
- package/components/_helpers/theme.js +50 -38
- package/components/alert/alert.js +2 -2
- package/components/alert-service/alert-service.js +1 -1
- package/components/auth/auth-core.js +1 -1
- package/components/auth/auth.js +1 -1
- package/components/auth/down-notification.js +1 -1
- package/components/auth/iframe-flow.js +2 -2
- package/components/auth/storage.js +1 -1
- package/components/auth-dialog/auth-dialog.js +1 -1
- package/components/auth-dialog-service/auth-dialog-service.js +2 -2
- package/components/avatar/avatar-info.js +1 -1
- package/components/avatar/avatar.js +1 -1
- package/components/avatar/fallback-avatar.js +1 -1
- package/components/avatar-stack/avatar-stack.js +1 -1
- package/components/banner/banner.js +1 -1
- package/components/button/button.js +1 -1
- package/components/button-group/button-group.js +1 -1
- package/components/checkbox/checkbox.d.ts +1 -1
- package/components/checkbox/checkbox.js +1 -1
- package/components/clipboard/clipboard.js +1 -1
- package/components/collapse/collapse-content.js +5 -5
- package/components/collapse/collapse-control.js +5 -5
- package/components/collapse/collapse.js +4 -4
- package/components/collapsible-group/collapsible-group.d.ts +20 -0
- package/components/collapsible-group/collapsible-group.js +382 -0
- package/components/components/util-stories.js +63 -1
- package/components/confirm/confirm.js +1 -1
- package/components/confirm-service/confirm-service.js +2 -2
- package/components/contenteditable/contenteditable.js +1 -1
- 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 +1 -1
- package/components/data-list/data-list.js +1 -1
- package/components/data-list/data-list.mock.d.ts +1 -1
- package/components/data-list/data-list.mock.js +1 -1
- package/components/data-list/item.d.ts +1 -1
- package/components/data-list/item.js +1 -1
- package/components/data-list/selection.d.ts +1 -1
- package/components/data-list/selection.js +2 -2
- package/components/data-list/title.js +1 -1
- package/components/date-picker/date-input.js +1 -1
- package/components/date-picker/date-picker.js +1 -2
- 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.js +1 -1
- package/components/date-picker/months.js +4 -5
- package/components/date-picker/use-scroll-behavior.js +45 -44
- package/components/date-picker/weekdays.js +1 -1
- package/components/date-picker/years.js +6 -7
- package/components/dialog/dialog.d.ts +2 -2
- package/components/dialog/dialog.js +3 -3
- package/components/dropdown/anchor.js +1 -1
- package/components/dropdown/dropdown.js +1 -1
- package/components/dropdown-menu/dropdown-menu.d.ts +4 -4
- package/components/dropdown-menu/dropdown-menu.js +68 -63
- package/components/editable-heading/editable-heading.d.ts +1 -2
- package/components/editable-heading/editable-heading.js +127 -113
- package/components/error-bubble/error-bubble.js +1 -1
- package/components/error-message/error-message.js +1 -1
- package/components/expand/collapsible-group.d.ts +8 -16
- package/components/expand/collapsible-group.js +34 -364
- 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/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 +31 -11
- package/components/global/intersection-observer-context.js +55 -57
- 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/{legacy-table/selection.d.ts → global/table-selection.d.ts} +14 -14
- package/components/{legacy-table/selection.js → global/table-selection.js} +4 -4
- package/components/global/theme.d.ts +4 -3
- package/components/global/theme.js +2 -2
- package/components/header/header-icon.js +1 -1
- package/components/header/header.js +2 -2
- package/components/header/links.js +1 -1
- package/components/header/logo.js +1 -1
- package/components/header/profile.js +1 -1
- package/components/header/services.js +1 -1
- package/components/header/smart-profile.js +1 -1
- package/components/header/smart-services.js +1 -1
- package/components/heading/heading.js +4 -4
- package/components/i18n/i18n-context.js +4 -4
- package/components/icon/icon-svg.js +1 -1
- package/components/icon/icon.js +1 -1
- package/components/icon/index.js +1 -1
- package/components/input/input.d.ts +1 -1
- package/components/input/input.js +1 -1
- package/components/internal/column-animation.js +133 -0
- package/components/internal/table-header.js +1109 -0
- package/components/internal/virtual-items.js +353 -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/legacy-table/cell.js +1 -1
- package/components/legacy-table/header-cell.js +4 -4
- package/components/legacy-table/header.js +2 -2
- package/components/legacy-table/multitable.d.ts +1 -1
- package/components/legacy-table/row-with-focus-sensor.js +2 -2
- package/components/legacy-table/row.d.ts +1 -1
- package/components/legacy-table/row.js +4 -4
- package/components/legacy-table/selection-adapter.d.ts +3 -3
- package/components/legacy-table/selection-shortcuts-hoc.d.ts +5 -5
- package/components/legacy-table/simple-table.d.ts +2 -2
- package/components/legacy-table/simple-table.js +4 -4
- package/components/legacy-table/smart-table.d.ts +5 -5
- package/components/legacy-table/smart-table.js +5 -5
- package/components/legacy-table/table.js +2 -2
- package/components/list/list-item.js +1 -1
- package/components/list/list-users-groups-source.js +1 -1
- package/components/list/list.js +1 -1
- package/components/login-dialog/login-dialog.js +1 -1
- package/components/login-dialog/service.js +2 -2
- package/components/markdown/markdown.js +2 -2
- package/components/message/message.js +2 -2
- package/components/old-browsers-message/white-list.js +2 -2
- package/components/pager/pager.js +1 -1
- package/components/popup/popup.d.ts +2 -0
- package/components/popup/popup.js +6 -2
- 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 -1
- 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 +32 -18
- 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 +1 -1
- package/components/select/select-filter.js +1 -1
- package/components/select/select-popup.d.ts +1 -1
- package/components/select/select-popup.js +1 -1
- package/components/select/select.d.ts +4 -2
- package/components/select/select.js +1 -1
- package/components/slider/slider.js +100 -96
- package/components/storage/storage-local.js +1 -1
- package/components/storage/storage.js +1 -1
- 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 +35 -11
- package/components/table/default-item-renderer.js +118 -171
- package/components/table/internal/column-animation.d.ts +16 -0
- package/components/table/internal/table-header.d.ts +4 -0
- package/components/table/internal/virtual-items.d.ts +34 -0
- package/components/table/item-virtualization.d.ts +35 -0
- package/components/table/item-virtualization.js +71 -0
- package/components/table/table-const.d.ts +40 -6
- package/components/table/table-const.js +15 -6
- package/components/table/table-primitives.d.ts +21 -0
- package/components/table/table-primitives.js +123 -0
- package/components/table/table-props.d.ts +280 -0
- package/components/table/table-props.js +1 -0
- package/components/table/table.d.ts +205 -224
- package/components/table/table.js +356 -14
- 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 +1 -1
- package/components/tags-list/tags-list.js +1 -1
- package/components/toggle/toggle.js +1 -1
- package/components/tooltip/tooltip.js +3 -3
- package/components/upload/upload.d.ts +4 -3
- package/components/upload/upload.js +7 -29
- package/components/user-agreement/service.js +8 -8
- package/components/user-agreement/user-agreement.js +1 -1
- package/components/user-card/card.js +1 -1
- package/components/user-card/smart-user-card-tooltip.js +1 -1
- package/components/user-card/tooltip.js +1 -1
- package/components/user-card/user-card.js +1 -1
- package/components/util-stories.d.ts +26 -0
- package/package.json +7 -7
- package/components/_helpers/table2.js +0 -3
- package/components/date-picker/use-intersection-observer.d.ts +0 -6
- package/components/date-picker/use-intersection-observer.js +0 -93
- package/components/global/composeRefs.d.ts +0 -6
- package/components/global/composeRefs.js +0 -9
- package/components/global/use-event-callback.d.ts +0 -1
- package/components/global/use-event-callback.js +0 -44
- package/components/table/table-base.d.ts +0 -24
- package/components/table/table-base.js +0 -311
- package/components/table/table-component.d.ts +0 -53
- package/components/table/table-component.js +0 -316
- package/components/table/table-virtualize.d.ts +0 -32
- package/components/table/table-virtualize.js +0 -330
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var
|
|
1
|
+
var headingStyles = {"contentWithHeadings":"ring-heading-contentWithHeadings","heading":"ring-heading-heading ring-global-font ring-heading-contentWithHeadings","caps":"ring-heading-caps","bold":"ring-heading-bold"};
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { headingStyles as h };
|
|
@@ -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 styles = {"table":"ring-table-
|
|
1
|
+
var styles = {"headerCell":"ring-table-headerCell","columnReorderHandleMirror":"ring-table-columnReorderHandleMirror","columnReorderHandle":"ring-table-columnReorderHandle","table":"ring-table-table","stickyHeader":"ring-table-stickyHeader","animatedColumnInitial":"ring-table-animatedColumnInitial","animatedColumnFadeOut":"ring-table-animatedColumnFadeOut","headerCellInnerWrapper":"ring-table-headerCellInnerWrapper","sortAndHeader":"ring-table-sortAndHeader","rightButtons":"ring-table-rightButtons","headerButton":"ring-table-headerButton","deleteColumnButton":"ring-table-deleteColumnButton","theadColumnEditing":"ring-table-theadColumnEditing","editColumnsButton":"ring-table-editColumnsButton","columnDragFrame":"ring-table-columnDragFrame","columnInsertionIndicator":"ring-table-columnInsertionIndicator","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
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
|
-
export { GLOBAL_DARK_CLASS_NAME as G, Theme$1 as T, WithThemeClasses as W,
|
|
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 };
|
|
@@ -9,13 +9,13 @@ import LoaderInline from '../loader-inline/loader-inline.js';
|
|
|
9
9
|
import { getRect } from '../global/dom.js';
|
|
10
10
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
11
11
|
import { Button } from '../button/button.js';
|
|
12
|
-
import { T as Theme,
|
|
12
|
+
import { T as Theme, a as ThemeProvider } from '../_helpers/theme.js';
|
|
13
13
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
14
14
|
export { default as Container } from './container.js';
|
|
15
15
|
import { Color } from '../icon/icon.constants.js';
|
|
16
16
|
import 'util-deprecate';
|
|
17
17
|
import '../_helpers/icon-svg.js';
|
|
18
|
-
import 'react
|
|
18
|
+
import 'react/compiler-runtime';
|
|
19
19
|
import '../global/memoize.js';
|
|
20
20
|
import '@jetbrains/icons/chevron-down';
|
|
21
21
|
import '@jetbrains/icons/chevron-12px-down';
|
|
@@ -13,7 +13,7 @@ import '../icon/icon.js';
|
|
|
13
13
|
import 'util-deprecate';
|
|
14
14
|
import '../icon/icon.constants.js';
|
|
15
15
|
import '../_helpers/icon-svg.js';
|
|
16
|
-
import 'react
|
|
16
|
+
import 'react/compiler-runtime';
|
|
17
17
|
import '../global/memoize.js';
|
|
18
18
|
import '../loader-inline/loader-inline.js';
|
|
19
19
|
import '../global/data-tests.js';
|
|
@@ -24,7 +24,7 @@ import '../icon/icon.js';
|
|
|
24
24
|
import 'util-deprecate';
|
|
25
25
|
import '../icon/icon.constants.js';
|
|
26
26
|
import '../_helpers/icon-svg.js';
|
|
27
|
-
import 'react
|
|
27
|
+
import 'react/compiler-runtime';
|
|
28
28
|
import '../global/memoize.js';
|
|
29
29
|
import 'react/jsx-runtime';
|
|
30
30
|
import '../loader-inline/loader-inline.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';
|
|
@@ -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';
|
|
@@ -52,8 +52,8 @@ import '../loader-screen/loader-screen.js';
|
|
|
52
52
|
import '../loader/loader.js';
|
|
53
53
|
import '../_helpers/loader-core.js';
|
|
54
54
|
import './background-flow.js';
|
|
55
|
-
import '../global/url.js';
|
|
56
55
|
import '../_helpers/link.js';
|
|
56
|
+
import '../global/url.js';
|
|
57
57
|
|
|
58
58
|
class IFrameFlow {
|
|
59
59
|
hideDialog = null;
|
|
@@ -13,7 +13,7 @@ import '../icon/icon.js';
|
|
|
13
13
|
import 'util-deprecate';
|
|
14
14
|
import '../icon/icon.constants.js';
|
|
15
15
|
import '../_helpers/icon-svg.js';
|
|
16
|
-
import 'react
|
|
16
|
+
import 'react/compiler-runtime';
|
|
17
17
|
import '../global/memoize.js';
|
|
18
18
|
import 'react/jsx-runtime';
|
|
19
19
|
import '../loader-inline/loader-inline.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';
|
|
@@ -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
|
|
@@ -9,7 +9,7 @@ import FallbackAvatar from './fallback-avatar.js';
|
|
|
9
9
|
import { Size } from './avatar-size.js';
|
|
10
10
|
import { s as styles, A as AvatarInfo } from '../_helpers/avatar-info.js';
|
|
11
11
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
12
|
-
import 'react
|
|
12
|
+
import 'react/compiler-runtime';
|
|
13
13
|
import '../global/get-uid.js';
|
|
14
14
|
|
|
15
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.`));
|
|
@@ -10,7 +10,7 @@ import { g as getButtonClasses, s as styles } from '../_helpers/button.classes.j
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
11
11
|
import { Size } from '../icon/icon.constants.js';
|
|
12
12
|
import '../_helpers/icon-svg.js';
|
|
13
|
-
import 'react
|
|
13
|
+
import 'react/compiler-runtime';
|
|
14
14
|
import '../global/memoize.js';
|
|
15
15
|
import '../global/configuration.js';
|
|
16
16
|
|
|
@@ -6,7 +6,7 @@ import ControlHelp from '../control-help/control-help.js';
|
|
|
6
6
|
import { s as styles } from '../_helpers/caption.js';
|
|
7
7
|
export { C as Caption } from '../_helpers/caption.js';
|
|
8
8
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
9
|
-
import 'react
|
|
9
|
+
import 'react/compiler-runtime';
|
|
10
10
|
|
|
11
11
|
function allChildrenDisabled(children) {
|
|
12
12
|
if (!children || typeof children !== 'object') return false;
|
|
@@ -24,6 +24,6 @@ export default class Checkbox extends PureComponent<CheckboxProps> {
|
|
|
24
24
|
componentDidUpdate(prevProps: CheckboxProps): void;
|
|
25
25
|
input?: HTMLInputElement | null;
|
|
26
26
|
inputRef: (el: HTMLInputElement | null) => void;
|
|
27
|
-
composedInputRef: import("memoize-one").MemoizedFn<(...refs: (Ref<HTMLInputElement> | undefined)[]) => (value: T | null) => void>;
|
|
27
|
+
composedInputRef: import("memoize-one").MemoizedFn<(...refs: (Ref<HTMLInputElement> | undefined)[]) => (value: T | null) => () => void>;
|
|
28
28
|
render(): import("react").JSX.Element;
|
|
29
29
|
}
|
|
@@ -10,7 +10,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
10
10
|
import 'util-deprecate';
|
|
11
11
|
import '../icon/icon.constants.js';
|
|
12
12
|
import '../_helpers/icon-svg.js';
|
|
13
|
-
import 'react
|
|
13
|
+
import 'react/compiler-runtime';
|
|
14
14
|
import '../global/memoize.js';
|
|
15
15
|
import 'memoize-one';
|
|
16
16
|
|
|
@@ -13,7 +13,7 @@ import '../icon/icon.js';
|
|
|
13
13
|
import 'util-deprecate';
|
|
14
14
|
import '../icon/icon.constants.js';
|
|
15
15
|
import '../_helpers/icon-svg.js';
|
|
16
|
-
import 'react
|
|
16
|
+
import 'react/compiler-runtime';
|
|
17
17
|
import '../global/memoize.js';
|
|
18
18
|
import 'react/jsx-runtime';
|
|
19
19
|
import '../loader-inline/loader-inline.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c } from 'react
|
|
2
|
-
import {
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
|
+
import { use, useRef, useState, useEffect } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
5
5
|
import { getRect } from '../global/dom.js';
|
|
@@ -19,11 +19,11 @@ const HIDDEN = 0;
|
|
|
19
19
|
*/
|
|
20
20
|
const CollapseContent = t0 => {
|
|
21
21
|
const $ = c(29);
|
|
22
|
-
if ($[0] !== "
|
|
22
|
+
if ($[0] !== "db13df5cd36e9e8017f88ee099234f4bd4acb2f34d80bfcbd6171247616c949c") {
|
|
23
23
|
for (let $i = 0; $i < 29; $i += 1) {
|
|
24
24
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
25
25
|
}
|
|
26
|
-
$[0] = "
|
|
26
|
+
$[0] = "db13df5cd36e9e8017f88ee099234f4bd4acb2f34d80bfcbd6171247616c949c";
|
|
27
27
|
}
|
|
28
28
|
const {
|
|
29
29
|
children,
|
|
@@ -36,7 +36,7 @@ const CollapseContent = t0 => {
|
|
|
36
36
|
duration,
|
|
37
37
|
id,
|
|
38
38
|
disableAnimation
|
|
39
|
-
} =
|
|
39
|
+
} = use(CollapseContext);
|
|
40
40
|
const containerRef = useRef(null);
|
|
41
41
|
const contentRef = useRef(null);
|
|
42
42
|
const [initialContentHeight] = useState(minHeight);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c } from 'react
|
|
2
|
-
import {
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
|
+
import { use, cloneElement } from 'react';
|
|
3
3
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
4
4
|
import { CollapseContext } from './collapse-context.js';
|
|
5
5
|
import { COLLAPSE_CONTROL_TEST_ID } from './consts.js';
|
|
@@ -7,11 +7,11 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
7
7
|
|
|
8
8
|
const CollapseControl = t0 => {
|
|
9
9
|
const $ = c(13);
|
|
10
|
-
if ($[0] !== "
|
|
10
|
+
if ($[0] !== "10418ecc7774e31a4915bc1ad8a8ad001213057f5df8fc3f9a59adab69451dd6") {
|
|
11
11
|
for (let $i = 0; $i < 13; $i += 1) {
|
|
12
12
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
13
13
|
}
|
|
14
|
-
$[0] = "
|
|
14
|
+
$[0] = "10418ecc7774e31a4915bc1ad8a8ad001213057f5df8fc3f9a59adab69451dd6";
|
|
15
15
|
}
|
|
16
16
|
const {
|
|
17
17
|
children,
|
|
@@ -21,7 +21,7 @@ const CollapseControl = t0 => {
|
|
|
21
21
|
setCollapsed,
|
|
22
22
|
collapsed,
|
|
23
23
|
id
|
|
24
|
-
} =
|
|
24
|
+
} = use(CollapseContext);
|
|
25
25
|
let t1;
|
|
26
26
|
let t2;
|
|
27
27
|
if ($[1] !== children || $[2] !== collapsed || $[3] !== dataTest || $[4] !== id || $[5] !== setCollapsed) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c } from 'react
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { useState, useId } from 'react';
|
|
3
3
|
import { CollapseContext } from './collapse-context.js';
|
|
4
4
|
import { BASE_ANIMATION_DURATION } from './consts.js';
|
|
@@ -6,11 +6,11 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
6
6
|
|
|
7
7
|
const Collapse = t0 => {
|
|
8
8
|
const $ = c(16);
|
|
9
|
-
if ($[0] !== "
|
|
9
|
+
if ($[0] !== "82eaf77725c22a5c861c79e76fbc1b71c454cd55ea6a0d6b6ce3ecd951f15271") {
|
|
10
10
|
for (let $i = 0; $i < 16; $i += 1) {
|
|
11
11
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
12
12
|
}
|
|
13
|
-
$[0] = "
|
|
13
|
+
$[0] = "82eaf77725c22a5c861c79e76fbc1b71c454cd55ea6a0d6b6ce3ecd951f15271";
|
|
14
14
|
}
|
|
15
15
|
const {
|
|
16
16
|
children,
|
|
@@ -63,7 +63,7 @@ const Collapse = t0 => {
|
|
|
63
63
|
}
|
|
64
64
|
let t9;
|
|
65
65
|
if ($[10] !== children || $[11] !== t8) {
|
|
66
|
-
t9 = /*#__PURE__*/jsx(CollapseContext
|
|
66
|
+
t9 = /*#__PURE__*/jsx(CollapseContext, {
|
|
67
67
|
value: t8,
|
|
68
68
|
children: children
|
|
69
69
|
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface CollapsibleGroupProps {
|
|
3
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
4
|
+
avatar?: React.ReactNode;
|
|
5
|
+
title: React.ReactNode;
|
|
6
|
+
subtitle?: React.ReactNode;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
className?: string | null | undefined;
|
|
9
|
+
defaultExpanded?: boolean;
|
|
10
|
+
expanded?: boolean | null | undefined;
|
|
11
|
+
onChange?: (expanded: boolean) => void;
|
|
12
|
+
disableAnimation?: boolean;
|
|
13
|
+
interactive?: boolean;
|
|
14
|
+
'data-test'?: string | null | undefined;
|
|
15
|
+
}
|
|
16
|
+
declare const CollapsibleGroup: {
|
|
17
|
+
({ ref, avatar, title, subtitle, children, className, defaultExpanded, expanded, onChange, disableAnimation, interactive, "data-test": dataTest, }: CollapsibleGroupProps): React.JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
export default CollapsibleGroup;
|