@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,5 +1,5 @@
|
|
|
1
|
-
import { c } from 'react
|
|
2
|
-
import React__default, {
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
|
+
import React__default, { useState, use } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import chevronRightIcon from '@jetbrains/icons/chevron-12px-right';
|
|
5
5
|
import chevron12pxDown from '@jetbrains/icons/chevron-12px-down';
|
|
@@ -11,22 +11,22 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
11
11
|
import 'util-deprecate';
|
|
12
12
|
import '../icon/icon.constants.js';
|
|
13
13
|
import '../_helpers/icon-svg.js';
|
|
14
|
-
import '../global/configuration.js';
|
|
15
14
|
import '../global/memoize.js';
|
|
16
15
|
import '../collapse/consts.js';
|
|
17
16
|
import '../global/data-tests.js';
|
|
18
17
|
import '../global/dom.js';
|
|
18
|
+
import '../global/parse-css-duration.js';
|
|
19
19
|
import '../collapse/utils.js';
|
|
20
20
|
|
|
21
|
-
var styles = {"expand":"ring-collapsible-group-expand","collapseRoot":"ring-collapsible-group-collapseRoot","hovered":"ring-collapsible-group-hovered","expanded":"ring-collapsible-group-expanded","
|
|
21
|
+
var styles = {"expand":"ring-collapsible-group-expand","collapseRoot":"ring-collapsible-group-collapseRoot","hovered":"ring-collapsible-group-hovered","expanded":"ring-collapsible-group-expanded","headerButton":"ring-collapsible-group-headerButton","header":"ring-collapsible-group-header","heading":"ring-collapsible-group-heading","headerStatic":"ring-collapsible-group-headerStatic","headerContent":"ring-collapsible-group-headerContent","avatarGroup":"ring-collapsible-group-avatarGroup","title":"ring-collapsible-group-title","subtitleGroup":"ring-collapsible-group-subtitleGroup","subtitle":"ring-collapsible-group-subtitle","subtitleChevron":"ring-collapsible-group-subtitleChevron","toggle":"ring-collapsible-group-toggle","toggleIcon":"ring-collapsible-group-toggleIcon","body":"ring-collapsible-group-body"};
|
|
22
22
|
|
|
23
23
|
function CollapsibleGroupHeaderContent(t0) {
|
|
24
24
|
const $ = c(16);
|
|
25
|
-
if ($[0] !== "
|
|
25
|
+
if ($[0] !== "1f361c2ded768218a0a90f8cd47ebb79eb0ef7a40f501eb82fe1f1443b14d037") {
|
|
26
26
|
for (let $i = 0; $i < 16; $i += 1) {
|
|
27
27
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
28
28
|
}
|
|
29
|
-
$[0] = "
|
|
29
|
+
$[0] = "1f361c2ded768218a0a90f8cd47ebb79eb0ef7a40f501eb82fe1f1443b14d037";
|
|
30
30
|
}
|
|
31
31
|
const {
|
|
32
32
|
avatar,
|
|
@@ -35,7 +35,7 @@ function CollapsibleGroupHeaderContent(t0) {
|
|
|
35
35
|
} = t0;
|
|
36
36
|
const {
|
|
37
37
|
collapsed
|
|
38
|
-
} =
|
|
38
|
+
} = use(CollapseContext);
|
|
39
39
|
let t1;
|
|
40
40
|
if ($[1] !== titleContent) {
|
|
41
41
|
t1 = /*#__PURE__*/jsx("span", {
|
|
@@ -121,11 +121,11 @@ function CollapsibleGroupHeaderContent(t0) {
|
|
|
121
121
|
}
|
|
122
122
|
function CollapsibleGroupHeader(t0) {
|
|
123
123
|
const $ = c(16);
|
|
124
|
-
if ($[0] !== "
|
|
124
|
+
if ($[0] !== "1f361c2ded768218a0a90f8cd47ebb79eb0ef7a40f501eb82fe1f1443b14d037") {
|
|
125
125
|
for (let $i = 0; $i < 16; $i += 1) {
|
|
126
126
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
127
127
|
}
|
|
128
|
-
$[0] = "
|
|
128
|
+
$[0] = "1f361c2ded768218a0a90f8cd47ebb79eb0ef7a40f501eb82fe1f1443b14d037";
|
|
129
129
|
}
|
|
130
130
|
let avatar;
|
|
131
131
|
let buttonProps;
|
|
@@ -153,7 +153,7 @@ function CollapsibleGroupHeader(t0) {
|
|
|
153
153
|
setCollapsed,
|
|
154
154
|
collapsed,
|
|
155
155
|
id
|
|
156
|
-
} =
|
|
156
|
+
} = use(CollapseContext);
|
|
157
157
|
const t1 = `collapse-content-${id}`;
|
|
158
158
|
const t2 = !collapsed;
|
|
159
159
|
let t3;
|
|
@@ -194,11 +194,11 @@ function CollapsibleGroupHeader(t0) {
|
|
|
194
194
|
}
|
|
195
195
|
function CollapsibleGroupHeaderStatic(t0) {
|
|
196
196
|
const $ = c(5);
|
|
197
|
-
if ($[0] !== "
|
|
197
|
+
if ($[0] !== "1f361c2ded768218a0a90f8cd47ebb79eb0ef7a40f501eb82fe1f1443b14d037") {
|
|
198
198
|
for (let $i = 0; $i < 5; $i += 1) {
|
|
199
199
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
200
200
|
}
|
|
201
|
-
$[0] = "
|
|
201
|
+
$[0] = "1f361c2ded768218a0a90f8cd47ebb79eb0ef7a40f501eb82fe1f1443b14d037";
|
|
202
202
|
}
|
|
203
203
|
const {
|
|
204
204
|
avatar,
|
|
@@ -224,15 +224,16 @@ function CollapsibleGroupHeaderStatic(t0) {
|
|
|
224
224
|
}
|
|
225
225
|
return t1;
|
|
226
226
|
}
|
|
227
|
-
const CollapsibleGroup =
|
|
228
|
-
const $ = c(
|
|
229
|
-
if ($[0] !== "
|
|
230
|
-
for (let $i = 0; $i <
|
|
227
|
+
const CollapsibleGroup = t0 => {
|
|
228
|
+
const $ = c(31);
|
|
229
|
+
if ($[0] !== "1f361c2ded768218a0a90f8cd47ebb79eb0ef7a40f501eb82fe1f1443b14d037") {
|
|
230
|
+
for (let $i = 0; $i < 31; $i += 1) {
|
|
231
231
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
232
232
|
}
|
|
233
|
-
$[0] = "
|
|
233
|
+
$[0] = "1f361c2ded768218a0a90f8cd47ebb79eb0ef7a40f501eb82fe1f1443b14d037";
|
|
234
234
|
}
|
|
235
235
|
const {
|
|
236
|
+
ref,
|
|
236
237
|
avatar,
|
|
237
238
|
title,
|
|
238
239
|
subtitle,
|
|
@@ -255,7 +256,6 @@ const CollapsibleGroup = /*#__PURE__*/forwardRef((t0, ref) => {
|
|
|
255
256
|
const keepMounted = t6 === undefined ? false : t6;
|
|
256
257
|
const [innerExpanded, setInnerExpanded] = useState(defaultExpanded);
|
|
257
258
|
const [hovered, setHovered] = useState(false);
|
|
258
|
-
const [focused, setFocused] = useState(false);
|
|
259
259
|
const isExpanded = expanded !== null && expanded !== void 0 ? expanded : innerExpanded;
|
|
260
260
|
let t7;
|
|
261
261
|
if ($[1] !== expanded || $[2] !== onChange) {
|
|
@@ -274,125 +274,107 @@ const CollapsibleGroup = /*#__PURE__*/forwardRef((t0, ref) => {
|
|
|
274
274
|
}
|
|
275
275
|
const handleChange = t7;
|
|
276
276
|
let t8;
|
|
277
|
-
if ($[4]
|
|
278
|
-
t8 =
|
|
279
|
-
const nextTarget = event.relatedTarget;
|
|
280
|
-
if (nextTarget instanceof Node && event.currentTarget.contains(nextTarget)) {
|
|
281
|
-
return;
|
|
282
|
-
}
|
|
283
|
-
setFocused(false);
|
|
284
|
-
};
|
|
285
|
-
$[4] = t8;
|
|
286
|
-
} else {
|
|
287
|
-
t8 = $[4];
|
|
288
|
-
}
|
|
289
|
-
const onBlur = t8;
|
|
290
|
-
let t9;
|
|
291
|
-
if ($[5] !== className || $[6] !== focused || $[7] !== hovered || $[8] !== isExpanded) {
|
|
292
|
-
t9 = classNames(styles.expand, className, {
|
|
277
|
+
if ($[4] !== className || $[5] !== hovered || $[6] !== isExpanded) {
|
|
278
|
+
t8 = classNames(styles.expand, className, {
|
|
293
279
|
[styles.hovered]: hovered,
|
|
294
|
-
[styles.expanded]: isExpanded
|
|
295
|
-
[styles.focused]: focused
|
|
280
|
+
[styles.expanded]: isExpanded
|
|
296
281
|
});
|
|
297
|
-
$[
|
|
298
|
-
$[
|
|
299
|
-
$[
|
|
300
|
-
$[
|
|
301
|
-
$[9] = t9;
|
|
282
|
+
$[4] = className;
|
|
283
|
+
$[5] = hovered;
|
|
284
|
+
$[6] = isExpanded;
|
|
285
|
+
$[7] = t8;
|
|
302
286
|
} else {
|
|
303
|
-
|
|
287
|
+
t8 = $[7];
|
|
304
288
|
}
|
|
305
|
-
const classes =
|
|
306
|
-
let
|
|
307
|
-
if ($[
|
|
308
|
-
|
|
289
|
+
const classes = t8;
|
|
290
|
+
let t9;
|
|
291
|
+
if ($[8] !== avatar || $[9] !== interactive || $[10] !== subtitle || $[11] !== title) {
|
|
292
|
+
t9 = interactive ? /*#__PURE__*/jsx(CollapsibleGroupHeader, {
|
|
309
293
|
avatar: avatar,
|
|
310
294
|
titleContent: title,
|
|
311
295
|
subtitle: subtitle,
|
|
312
296
|
onMouseEnter: () => setHovered(true),
|
|
313
|
-
onMouseLeave: () => setHovered(false)
|
|
314
|
-
onFocus: () => setFocused(true),
|
|
315
|
-
onBlur: onBlur
|
|
297
|
+
onMouseLeave: () => setHovered(false)
|
|
316
298
|
}) : /*#__PURE__*/jsx(CollapsibleGroupHeaderStatic, {
|
|
317
299
|
avatar: avatar,
|
|
318
300
|
titleContent: title,
|
|
319
301
|
subtitle: subtitle
|
|
320
302
|
});
|
|
321
|
-
$[
|
|
322
|
-
$[
|
|
323
|
-
$[
|
|
324
|
-
$[
|
|
325
|
-
$[
|
|
303
|
+
$[8] = avatar;
|
|
304
|
+
$[9] = interactive;
|
|
305
|
+
$[10] = subtitle;
|
|
306
|
+
$[11] = title;
|
|
307
|
+
$[12] = t9;
|
|
326
308
|
} else {
|
|
327
|
-
|
|
309
|
+
t9 = $[12];
|
|
328
310
|
}
|
|
329
|
-
const header =
|
|
330
|
-
const
|
|
331
|
-
const
|
|
332
|
-
let
|
|
333
|
-
if ($[
|
|
334
|
-
|
|
311
|
+
const header = t9;
|
|
312
|
+
const t10 = !defaultExpanded;
|
|
313
|
+
const t11 = expanded == null ? null : !expanded;
|
|
314
|
+
let t12;
|
|
315
|
+
if ($[13] !== header || $[14] !== headingLevel) {
|
|
316
|
+
t12 = headingLevel != null ? /*#__PURE__*/React__default.createElement(`h${headingLevel}`, {
|
|
335
317
|
className: styles.heading
|
|
336
318
|
}, header) : header;
|
|
337
|
-
$[
|
|
338
|
-
$[
|
|
339
|
-
$[
|
|
319
|
+
$[13] = header;
|
|
320
|
+
$[14] = headingLevel;
|
|
321
|
+
$[15] = t12;
|
|
340
322
|
} else {
|
|
341
|
-
|
|
323
|
+
t12 = $[15];
|
|
342
324
|
}
|
|
343
|
-
let
|
|
344
|
-
if ($[
|
|
345
|
-
|
|
325
|
+
let t13;
|
|
326
|
+
if ($[16] !== children) {
|
|
327
|
+
t13 = /*#__PURE__*/jsx(CollapseContent, {
|
|
346
328
|
children: /*#__PURE__*/jsx("div", {
|
|
347
329
|
className: styles.body,
|
|
348
330
|
children: children
|
|
349
331
|
})
|
|
350
332
|
});
|
|
351
|
-
$[
|
|
352
|
-
$[
|
|
333
|
+
$[16] = children;
|
|
334
|
+
$[17] = t13;
|
|
353
335
|
} else {
|
|
354
|
-
|
|
336
|
+
t13 = $[17];
|
|
355
337
|
}
|
|
356
|
-
let
|
|
357
|
-
if ($[
|
|
358
|
-
|
|
359
|
-
defaultCollapsed:
|
|
360
|
-
collapsed:
|
|
338
|
+
let t14;
|
|
339
|
+
if ($[18] !== disableAnimation || $[19] !== handleChange || $[20] !== keepMounted || $[21] !== t10 || $[22] !== t11 || $[23] !== t12 || $[24] !== t13) {
|
|
340
|
+
t14 = /*#__PURE__*/jsxs(Collapse, {
|
|
341
|
+
defaultCollapsed: t10,
|
|
342
|
+
collapsed: t11,
|
|
361
343
|
onChange: handleChange,
|
|
362
344
|
disableAnimation: disableAnimation,
|
|
363
345
|
keepMounted: keepMounted,
|
|
364
346
|
className: styles.collapseRoot,
|
|
365
|
-
children: [
|
|
347
|
+
children: [t12, t13]
|
|
366
348
|
});
|
|
367
|
-
$[
|
|
368
|
-
$[
|
|
369
|
-
$[
|
|
370
|
-
$[
|
|
371
|
-
$[
|
|
372
|
-
$[
|
|
373
|
-
$[
|
|
374
|
-
$[
|
|
349
|
+
$[18] = disableAnimation;
|
|
350
|
+
$[19] = handleChange;
|
|
351
|
+
$[20] = keepMounted;
|
|
352
|
+
$[21] = t10;
|
|
353
|
+
$[22] = t11;
|
|
354
|
+
$[23] = t12;
|
|
355
|
+
$[24] = t13;
|
|
356
|
+
$[25] = t14;
|
|
375
357
|
} else {
|
|
376
|
-
|
|
358
|
+
t14 = $[25];
|
|
377
359
|
}
|
|
378
|
-
let
|
|
379
|
-
if ($[
|
|
380
|
-
|
|
360
|
+
let t15;
|
|
361
|
+
if ($[26] !== classes || $[27] !== dataTest || $[28] !== ref || $[29] !== t14) {
|
|
362
|
+
t15 = /*#__PURE__*/jsx("div", {
|
|
381
363
|
ref: ref,
|
|
382
364
|
className: classes,
|
|
383
365
|
"data-test": dataTest,
|
|
384
|
-
children:
|
|
366
|
+
children: t14
|
|
385
367
|
});
|
|
386
|
-
$[
|
|
387
|
-
$[
|
|
388
|
-
$[
|
|
389
|
-
$[
|
|
390
|
-
$[
|
|
368
|
+
$[26] = classes;
|
|
369
|
+
$[27] = dataTest;
|
|
370
|
+
$[28] = ref;
|
|
371
|
+
$[29] = t14;
|
|
372
|
+
$[30] = t15;
|
|
391
373
|
} else {
|
|
392
|
-
|
|
374
|
+
t15 = $[30];
|
|
393
375
|
}
|
|
394
|
-
return
|
|
395
|
-
}
|
|
376
|
+
return t15;
|
|
377
|
+
};
|
|
396
378
|
CollapsibleGroup.displayName = 'CollapsibleGroup';
|
|
397
379
|
function _temp() {}
|
|
398
380
|
|
|
@@ -1,3 +1,65 @@
|
|
|
1
|
+
/* eslint-disable no-magic-numbers */
|
|
1
2
|
const hideAddonsPanelParam = 'hideAddonsPanel';
|
|
3
|
+
function createRandom(seed) {
|
|
4
|
+
const u64Mask = 2n ** 64n - 1n;
|
|
5
|
+
const u64Range = 2n ** 64n;
|
|
6
|
+
const scrambleConst = 2685821657736338717n;
|
|
7
|
+
let x = seed & u64Mask;
|
|
8
|
+
if (!x) throw new Error('Seed must be non-zero');
|
|
9
|
+
function nextFractional() {
|
|
10
|
+
x ^= x >> 12n;
|
|
11
|
+
x ^= x << 25n & u64Mask;
|
|
12
|
+
x ^= x >> 27n;
|
|
13
|
+
const scrambled = x * scrambleConst & u64Mask;
|
|
14
|
+
return Number(scrambled) / Number(u64Range);
|
|
15
|
+
}
|
|
16
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
17
|
+
return (...args) => {
|
|
18
|
+
if (!args.length) {
|
|
19
|
+
return nextFractional();
|
|
20
|
+
}
|
|
21
|
+
if (args.length === 1) {
|
|
22
|
+
const [a] = args;
|
|
23
|
+
if (typeof a === 'number') {
|
|
24
|
+
return Math.floor(nextFractional() * a);
|
|
25
|
+
}
|
|
26
|
+
if (Array.isArray(a)) {
|
|
27
|
+
return a[Math.floor(nextFractional() * a.length)];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
if (args.length === 2) {
|
|
31
|
+
const [a, b] = args;
|
|
32
|
+
let fromNum;
|
|
33
|
+
let toNum;
|
|
34
|
+
let isDate = false;
|
|
35
|
+
if (typeof a === 'number' && typeof b === 'number') {
|
|
36
|
+
fromNum = a;
|
|
37
|
+
toNum = b;
|
|
38
|
+
}
|
|
39
|
+
if (a instanceof Date && b instanceof Date) {
|
|
40
|
+
fromNum = a.getTime();
|
|
41
|
+
toNum = b.getTime();
|
|
42
|
+
isDate = true;
|
|
43
|
+
}
|
|
44
|
+
if (fromNum != null && toNum != null && fromNum < toNum) {
|
|
45
|
+
const r = Math.floor(nextFractional() * (toNum - fromNum)) + fromNum;
|
|
46
|
+
return isDate ? new Date(r) : r;
|
|
47
|
+
}
|
|
48
|
+
if (Array.isArray(a) && typeof b === 'number') {
|
|
49
|
+
const aIndices = Array.from({
|
|
50
|
+
length: a.length
|
|
51
|
+
}, (_, i) => i);
|
|
52
|
+
const sample = [];
|
|
53
|
+
for (let i = 0; i < b && aIndices.length; i++) {
|
|
54
|
+
const indexIndex = Math.floor(nextFractional() * aIndices.length);
|
|
55
|
+
const [aIndex] = aIndices.splice(indexIndex, 1);
|
|
56
|
+
sample.push(a[aIndex]);
|
|
57
|
+
}
|
|
58
|
+
return sample;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
throw new Error(`Bad args: ${JSON.stringify(args)}`);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
2
64
|
|
|
3
|
-
export { hideAddonsPanelParam };
|
|
65
|
+
export { createRandom, hideAddonsPanelParam };
|
|
@@ -13,7 +13,7 @@ import '../island/island.js';
|
|
|
13
13
|
import '../global/data-tests.js';
|
|
14
14
|
import '../island/adaptive-island-hoc.js';
|
|
15
15
|
import '../global/linear-function.js';
|
|
16
|
-
import 'react
|
|
16
|
+
import 'react/compiler-runtime';
|
|
17
17
|
import 'element-resize-detector';
|
|
18
18
|
import '../global/schedule-raf.js';
|
|
19
19
|
import '../global/get-uid.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';
|
|
@@ -13,7 +13,7 @@ import '../island/adaptive-island-hoc.js';
|
|
|
13
13
|
import '../global/linear-function.js';
|
|
14
14
|
import '../_helpers/island.js';
|
|
15
15
|
import '../island/header.js';
|
|
16
|
-
import 'react
|
|
16
|
+
import 'react/compiler-runtime';
|
|
17
17
|
import '../island/content.js';
|
|
18
18
|
import 'element-resize-detector';
|
|
19
19
|
import '../global/schedule-raf.js';
|
|
@@ -29,14 +29,14 @@ import '../global/dom.js';
|
|
|
29
29
|
import '../button/button.js';
|
|
30
30
|
import '@jetbrains/icons/chevron-down';
|
|
31
31
|
import '@jetbrains/icons/chevron-12px-down';
|
|
32
|
-
import 'util-deprecate';
|
|
33
32
|
import '../icon/icon.js';
|
|
33
|
+
import 'util-deprecate';
|
|
34
34
|
import '../icon/icon.constants.js';
|
|
35
35
|
import '../_helpers/icon-svg.js';
|
|
36
|
-
import '../global/configuration.js';
|
|
37
36
|
import '../global/memoize.js';
|
|
38
37
|
import '../link/clickable-link.js';
|
|
39
38
|
import '../_helpers/button.classes.js';
|
|
39
|
+
import '../global/configuration.js';
|
|
40
40
|
import '../popup/popup.target.js';
|
|
41
41
|
import '../popup/popup.js';
|
|
42
42
|
import '../popup/position.js';
|
|
@@ -57,7 +57,7 @@ function renderConfirm(props) {
|
|
|
57
57
|
buttonsHeight = getGlobalControlsHeight(),
|
|
58
58
|
...restProps
|
|
59
59
|
} = props;
|
|
60
|
-
reactRoot.render(/*#__PURE__*/jsx(ControlsHeightContext
|
|
60
|
+
reactRoot.render(/*#__PURE__*/jsx(ControlsHeightContext, {
|
|
61
61
|
value: buttonsHeight,
|
|
62
62
|
children: /*#__PURE__*/jsx(Confirm, {
|
|
63
63
|
...restProps
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { c } from 'react
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { Component } from 'react';
|
|
3
3
|
import { renderToStaticMarkup } from 'react-dom/server';
|
|
4
|
-
import { getTrustedHTML } from '../global/configuration.js';
|
|
5
4
|
import { jsx } from 'react/jsx-runtime';
|
|
6
5
|
|
|
7
6
|
function noop() {}
|
|
@@ -39,18 +38,18 @@ class ContentEditableBase extends Component {
|
|
|
39
38
|
tabIndex: disabled ? undefined : tabIndex,
|
|
40
39
|
contentEditable: !this.props.disabled,
|
|
41
40
|
dangerouslySetInnerHTML: {
|
|
42
|
-
__html
|
|
41
|
+
__html
|
|
43
42
|
}
|
|
44
43
|
});
|
|
45
44
|
}
|
|
46
45
|
}
|
|
47
46
|
const ContentEditable = t0 => {
|
|
48
47
|
const $ = c(9);
|
|
49
|
-
if ($[0] !== "
|
|
48
|
+
if ($[0] !== "a16faaa5b9814b3292a3bdccbd3ed2550092bea3ba98e71aa85f18aa005eb348") {
|
|
50
49
|
for (let $i = 0; $i < 9; $i += 1) {
|
|
51
50
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
52
51
|
}
|
|
53
|
-
$[0] = "
|
|
52
|
+
$[0] = "a16faaa5b9814b3292a3bdccbd3ed2550092bea3ba98e71aa85f18aa005eb348";
|
|
54
53
|
}
|
|
55
54
|
let children;
|
|
56
55
|
let props;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Component } from 'react';
|
|
5
5
|
import { type FocusSensorOuterProps } from '../global/focus-sensor-hoc';
|
|
6
|
-
import { type SelectionShortcutsAddProps, type SelectionShortcutsOuterProps } from '../table/selection-shortcuts-hoc';
|
|
7
|
-
import { type DisableHoverAddProps } from '../table/disable-hover-hoc';
|
|
8
|
-
import { type SelectionItem } from '../table
|
|
6
|
+
import { type SelectionShortcutsAddProps, type SelectionShortcutsOuterProps } from '../legacy-table/selection-shortcuts-hoc';
|
|
7
|
+
import { type DisableHoverAddProps } from '../legacy-table/disable-hover-hoc';
|
|
8
|
+
import { type SelectionItem } from '../global/table-selection';
|
|
9
9
|
import { type FormattedItem, moreLessButtonStates } from './item';
|
|
10
10
|
export interface DataListBaseProps<T extends SelectionItem> {
|
|
11
11
|
data: readonly T[];
|
|
@@ -20,7 +20,7 @@ export interface DataListBaseProps<T extends SelectionItem> {
|
|
|
20
20
|
type FocusableProps<T extends SelectionItem> = DataListBaseProps<T> & DisableHoverAddProps & FocusSensorOuterProps<HTMLDivElement> & SelectionShortcutsAddProps<T>;
|
|
21
21
|
export type DataListContainerProps<T extends SelectionItem> = DataListBaseProps<T> & FocusSensorOuterProps<HTMLDivElement> & SelectionShortcutsOuterProps<T>;
|
|
22
22
|
export default class DataListContainer<T extends SelectionItem> extends Component<DataListContainerProps<T>> {
|
|
23
|
-
DataList: import("react").ComponentClass<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>, any>;
|
|
23
|
+
DataList: import("react").ComponentClass<import("../legacy-table/disable-hover-hoc").DisableHoverProps<import("../legacy-table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>, any>;
|
|
24
24
|
render(): import("react").JSX.Element;
|
|
25
25
|
}
|
|
26
26
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Component, PureComponent } from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import focusSensorHOC from '../global/focus-sensor-hoc.js';
|
|
4
|
-
import selectionShortcutsHOC from '../table/selection-shortcuts-hoc.js';
|
|
5
|
-
import disableHoverHOC from '../table/disable-hover-hoc.js';
|
|
4
|
+
import selectionShortcutsHOC from '../legacy-table/selection-shortcuts-hoc.js';
|
|
5
|
+
import disableHoverHOC from '../legacy-table/disable-hover-hoc.js';
|
|
6
6
|
import getUID from '../global/get-uid.js';
|
|
7
7
|
import Shortcuts from '../shortcuts/shortcuts.js';
|
|
8
8
|
import Loader from '../loader/loader.js';
|
|
@@ -10,6 +10,7 @@ import Item, { moreLessButtonStates } from './item.js';
|
|
|
10
10
|
import { s as styles } from '../_helpers/title.js';
|
|
11
11
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
12
12
|
import '../global/compose-refs.js';
|
|
13
|
+
import 'react/compiler-runtime';
|
|
13
14
|
import 'memoize-one';
|
|
14
15
|
import 'core-js/modules/es.array.includes.js';
|
|
15
16
|
import '../shortcuts/core.js';
|
|
@@ -28,14 +29,13 @@ import '../text/text.js';
|
|
|
28
29
|
import '../loader-inline/loader-inline.js';
|
|
29
30
|
import '../button/button.js';
|
|
30
31
|
import '@jetbrains/icons/chevron-12px-down';
|
|
31
|
-
import 'util-deprecate';
|
|
32
32
|
import '../icon/icon.js';
|
|
33
|
+
import 'util-deprecate';
|
|
33
34
|
import '../icon/icon.constants.js';
|
|
34
35
|
import '../_helpers/icon-svg.js';
|
|
35
|
-
import 'react-compiler-runtime';
|
|
36
|
-
import '../global/configuration.js';
|
|
37
36
|
import '../global/memoize.js';
|
|
38
37
|
import '../global/controls-height.js';
|
|
38
|
+
import '../global/configuration.js';
|
|
39
39
|
import '../_helpers/button.classes.js';
|
|
40
40
|
import '../checkbox/checkbox.js';
|
|
41
41
|
import '@jetbrains/icons/checkmark-12px';
|
|
@@ -11,13 +11,13 @@ import '../icon/icon.js';
|
|
|
11
11
|
import 'util-deprecate';
|
|
12
12
|
import '../icon/icon.constants.js';
|
|
13
13
|
import '../_helpers/icon-svg.js';
|
|
14
|
-
import 'react
|
|
15
|
-
import '../global/configuration.js';
|
|
14
|
+
import 'react/compiler-runtime';
|
|
16
15
|
import '../global/memoize.js';
|
|
17
16
|
import '../button/button.js';
|
|
18
17
|
import '@jetbrains/icons/chevron-down';
|
|
19
18
|
import '@jetbrains/icons/chevron-12px-down';
|
|
20
19
|
import '../global/controls-height.js';
|
|
20
|
+
import '../global/configuration.js';
|
|
21
21
|
import '../_helpers/button.classes.js';
|
|
22
22
|
|
|
23
23
|
const items = [{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PureComponent, type ReactNode } from 'react';
|
|
2
|
-
import { type SelectionItem } from '../table
|
|
2
|
+
import { type SelectionItem } from '../global/table-selection';
|
|
3
3
|
import type Selection from './selection';
|
|
4
4
|
export declare enum moreLessButtonStates {
|
|
5
5
|
UNUSED = 0,
|
|
@@ -12,14 +12,14 @@ import '../global/data-tests.js';
|
|
|
12
12
|
import '../link/clickable-link.js';
|
|
13
13
|
import '../_helpers/link.js';
|
|
14
14
|
import '@jetbrains/icons/chevron-12px-down';
|
|
15
|
-
import 'util-deprecate';
|
|
16
15
|
import '../icon/icon.js';
|
|
16
|
+
import 'util-deprecate';
|
|
17
17
|
import '../icon/icon.constants.js';
|
|
18
18
|
import '../_helpers/icon-svg.js';
|
|
19
|
-
import 'react
|
|
20
|
-
import '../global/configuration.js';
|
|
19
|
+
import 'react/compiler-runtime';
|
|
21
20
|
import '../global/memoize.js';
|
|
22
21
|
import '../global/controls-height.js';
|
|
22
|
+
import '../global/configuration.js';
|
|
23
23
|
import '../_helpers/button.classes.js';
|
|
24
24
|
import '../global/focus-sensor-hoc.js';
|
|
25
25
|
import '../global/compose-refs.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import TableSelection, { type CloneWithConfig, type SelectionItem, type TableSelectionConfig } from '../table
|
|
1
|
+
import TableSelection, { type CloneWithConfig, type SelectionItem, type TableSelectionConfig } from '../global/table-selection';
|
|
2
2
|
interface DataListSelectionConfig<T extends SelectionItem> extends TableSelectionConfig<T> {
|
|
3
3
|
partialSelected?: Set<T> | undefined;
|
|
4
4
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'core-js/modules/es.array.includes.js';
|
|
2
|
-
import
|
|
2
|
+
import TableSelection from '../global/table-selection.js';
|
|
3
3
|
|
|
4
|
-
class Selection extends
|
|
4
|
+
class Selection extends TableSelection {
|
|
5
5
|
_partialSelected;
|
|
6
6
|
constructor({
|
|
7
7
|
partialSelected = new Set(),
|
|
@@ -6,6 +6,7 @@ import '../global/get-uid.js';
|
|
|
6
6
|
export { T as default } from '../_helpers/title.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import '../global/compose-refs.js';
|
|
9
|
+
import 'react/compiler-runtime';
|
|
9
10
|
import 'memoize-one';
|
|
10
11
|
import '@jetbrains/icons/checkmark-12px';
|
|
11
12
|
import '@jetbrains/icons/remove-12px';
|
|
@@ -13,8 +14,6 @@ import '../icon/icon.js';
|
|
|
13
14
|
import 'util-deprecate';
|
|
14
15
|
import '../icon/icon.constants.js';
|
|
15
16
|
import '../_helpers/icon-svg.js';
|
|
16
|
-
import 'react-compiler-runtime';
|
|
17
|
-
import '../global/configuration.js';
|
|
18
17
|
import '../global/memoize.js';
|
|
19
18
|
import '../control-help/control-help.js';
|
|
20
19
|
import '../global/data-tests.js';
|
|
@@ -10,11 +10,11 @@ import '@jetbrains/icons/close-12px';
|
|
|
10
10
|
import '../button/button.js';
|
|
11
11
|
import '@jetbrains/icons/chevron-down';
|
|
12
12
|
import '@jetbrains/icons/chevron-12px-down';
|
|
13
|
-
import 'util-deprecate';
|
|
14
13
|
import '../icon/icon.js';
|
|
14
|
+
import 'util-deprecate';
|
|
15
15
|
import '../icon/icon.constants.js';
|
|
16
16
|
import '../_helpers/icon-svg.js';
|
|
17
|
-
import 'react
|
|
17
|
+
import 'react/compiler-runtime';
|
|
18
18
|
import '../global/memoize.js';
|
|
19
19
|
import '../link/clickable-link.js';
|
|
20
20
|
import '../_helpers/button.classes.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c } from 'react
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { PureComponent } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { format } from 'date-fns/format';
|
|
@@ -72,10 +72,9 @@ import 'date-fns/getDate';
|
|
|
72
72
|
import 'date-fns/isToday';
|
|
73
73
|
import './consts.js';
|
|
74
74
|
import 'date-fns/add';
|
|
75
|
-
import '
|
|
75
|
+
import '../global/intersection-observer-context.js';
|
|
76
76
|
import './scroll-arith.js';
|
|
77
77
|
import './use-scroll-behavior.js';
|
|
78
|
-
import '../global/use-event-callback.js';
|
|
79
78
|
import './years.js';
|
|
80
79
|
import 'date-fns/addYears';
|
|
81
80
|
import 'date-fns/getYear';
|