@jetbrains/ring-ui-built 7.0.72 → 7.0.73
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 +55 -13
- package/components/_helpers/avatar-info.js +44 -11
- package/components/_helpers/caption.js +2 -2
- package/components/_helpers/card.js +21 -21
- package/components/_helpers/icon-svg.js +75 -17
- package/components/_helpers/input.js +13 -13
- package/components/_helpers/query-assist-suggestions.js +5 -5
- package/components/_helpers/select-filter.js +5 -5
- package/components/_helpers/services-link.js +5 -5
- package/components/_helpers/sidebar.js +6 -6
- package/components/_helpers/tab-link.js +69 -17
- package/components/_helpers/theme.js +231 -54
- package/components/_helpers/title.js +5 -5
- package/components/alert/alert.d.ts +1 -1
- package/components/alert/alert.js +12 -10
- package/components/alert/container.js +4 -4
- package/components/alert-service/alert-service.d.ts +1 -1
- package/components/alert-service/alert-service.js +5 -4
- package/components/auth/auth-core.js +8 -8
- package/components/auth/auth.js +3 -2
- package/components/auth/down-notification.js +61 -17
- package/components/auth/iframe-flow.js +7 -6
- package/components/auth/storage.js +3 -2
- package/components/auth/token-validator.js +1 -1
- package/components/auth/window-flow.js +2 -2
- package/components/auth-dialog/auth-dialog.d.ts +1 -1
- package/components/auth-dialog/auth-dialog.js +15 -14
- package/components/auth-dialog-service/auth-dialog-service.js +4 -6
- package/components/avatar/avatar-info.d.ts +1 -1
- package/components/avatar/avatar-info.js +3 -2
- package/components/avatar/avatar.d.ts +1 -1
- package/components/avatar/avatar.js +16 -15
- package/components/avatar/fallback-avatar.d.ts +1 -1
- package/components/avatar/fallback-avatar.js +183 -59
- package/components/avatar-stack/avatar-stack.d.ts +1 -1
- package/components/avatar-stack/avatar-stack.js +115 -29
- package/components/banner/banner.d.ts +1 -1
- package/components/banner/banner.js +11 -10
- package/components/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/components/breadcrumbs/breadcrumbs.js +3 -2
- package/components/button/button.d.ts +1 -1
- package/components/button/button.js +11 -10
- package/components/button-group/button-group.d.ts +1 -1
- package/components/button-group/button-group.js +6 -8
- package/components/button-group/caption.d.ts +1 -1
- package/components/button-group/caption.js +1 -1
- package/components/button-set/button-set.d.ts +1 -1
- package/components/button-set/button-set.js +2 -5
- package/components/button-toolbar/button-toolbar.d.ts +1 -1
- package/components/button-toolbar/button-toolbar.js +2 -5
- package/components/checkbox/checkbox.d.ts +1 -1
- package/components/checkbox/checkbox.js +12 -17
- package/components/clipboard/clipboard.js +2 -1
- package/components/code/code.d.ts +1 -1
- package/components/code/code.js +5 -5
- package/components/collapse/collapse-content.js +161 -77
- package/components/collapse/collapse-control.js +69 -22
- package/components/collapse/collapse.js +83 -31
- package/components/confirm/confirm.d.ts +1 -1
- package/components/confirm/confirm.js +11 -13
- package/components/confirm-service/confirm-service.js +4 -3
- package/components/content-layout/content-layout.d.ts +1 -1
- package/components/content-layout/content-layout.js +4 -7
- package/components/content-layout/sidebar.d.ts +1 -1
- package/components/content-layout/sidebar.js +1 -1
- package/components/contenteditable/contenteditable.d.ts +2 -2
- package/components/contenteditable/contenteditable.js +50 -14
- package/components/control-help/control-help.d.ts +1 -1
- package/components/control-help/control-help.js +45 -9
- package/components/control-label/control-label.js +62 -13
- package/components/data-list/data-list.d.ts +1 -1
- package/components/data-list/data-list.js +10 -9
- package/components/data-list/data-list.mock.d.ts +1 -1
- package/components/data-list/data-list.mock.js +79 -78
- package/components/data-list/item.d.ts +2 -2
- package/components/data-list/item.js +18 -17
- package/components/data-list/title.d.ts +1 -1
- package/components/data-list/title.js +2 -1
- package/components/date-picker/consts.js +1 -1
- package/components/date-picker/date-input.d.ts +1 -1
- package/components/date-picker/date-input.js +4 -3
- package/components/date-picker/date-picker.d.ts +1 -1
- package/components/date-picker/date-picker.js +97 -31
- package/components/date-picker/date-popup.d.ts +1 -1
- package/components/date-picker/date-popup.js +11 -10
- package/components/date-picker/day.d.ts +1 -1
- package/components/date-picker/day.js +4 -3
- package/components/date-picker/month-names.d.ts +1 -1
- package/components/date-picker/month-names.js +98 -22
- package/components/date-picker/month-slider.d.ts +1 -1
- package/components/date-picker/month-slider.js +4 -4
- package/components/date-picker/month.d.ts +1 -1
- package/components/date-picker/month.js +79 -18
- package/components/date-picker/months.d.ts +1 -1
- package/components/date-picker/months.js +163 -53
- package/components/date-picker/weekdays.d.ts +1 -1
- package/components/date-picker/weekdays.js +56 -16
- package/components/date-picker/years.d.ts +1 -1
- package/components/date-picker/years.js +5 -5
- package/components/dialog/dialog.d.ts +1 -1
- package/components/dialog/dialog.js +21 -23
- package/components/dropdown/anchor.d.ts +1 -1
- package/components/dropdown/anchor.js +2 -1
- package/components/dropdown/dropdown.d.ts +1 -1
- package/components/dropdown/dropdown.js +7 -8
- package/components/dropdown-menu/dropdown-menu.js +299 -83
- package/components/editable-heading/editable-heading.d.ts +2 -2
- package/components/editable-heading/editable-heading.js +523 -174
- package/components/error-bubble/error-bubble.d.ts +1 -1
- package/components/error-bubble/error-bubble.js +7 -9
- package/components/error-message/error-message.d.ts +1 -1
- package/components/error-message/error-message.js +8 -10
- package/components/footer/footer.js +205 -61
- package/components/global/create-stateful-context.d.ts +1 -1
- package/components/global/create-stateful-context.js +73 -18
- package/components/global/focus-sensor-hoc.js +2 -2
- package/components/global/get-uid.js +1 -1
- package/components/global/react-dom-renderer.d.ts +1 -1
- package/components/global/react-dom-renderer.js +2 -2
- package/components/global/rerender-hoc.js +23 -6
- package/components/global/theme.js +3 -2
- package/components/global/use-event-callback.js +37 -13
- package/components/grid/col.d.ts +1 -1
- package/components/grid/col.js +3 -3
- package/components/grid/grid.d.ts +1 -1
- package/components/grid/grid.js +3 -6
- package/components/grid/row.d.ts +1 -1
- package/components/grid/row.js +3 -3
- package/components/group/group.d.ts +1 -1
- package/components/group/group.js +3 -6
- package/components/header/header-icon.d.ts +1 -1
- package/components/header/header-icon.js +3 -2
- package/components/header/header.d.ts +1 -1
- package/components/header/header.js +7 -12
- package/components/header/links.d.ts +1 -1
- package/components/header/links.js +45 -10
- package/components/header/logo.d.ts +1 -1
- package/components/header/logo.js +4 -3
- package/components/header/profile.js +17 -16
- package/components/header/services-link.d.ts +1 -1
- package/components/header/services-link.js +1 -1
- package/components/header/services.d.ts +1 -1
- package/components/header/services.js +35 -16
- package/components/header/smart-profile.d.ts +1 -1
- package/components/header/smart-profile.js +6 -5
- package/components/header/smart-services.d.ts +1 -1
- package/components/header/smart-services.js +3 -2
- package/components/header/tray.d.ts +1 -1
- package/components/header/tray.js +3 -3
- package/components/heading/heading.js +188 -44
- package/components/i18n/i18n-context.js +51 -13
- package/components/icon/icon-svg.d.ts +1 -1
- package/components/icon/icon-svg.js +2 -1
- package/components/icon/icon.d.ts +1 -1
- package/components/icon/icon.js +6 -5
- package/components/icon/index.js +2 -1
- package/components/input/input.d.ts +1 -1
- package/components/input/input.js +2 -1
- package/components/island/adaptive-island-hoc.js +4 -4
- package/components/island/content.d.ts +1 -1
- package/components/island/content.js +36 -17
- package/components/island/header.d.ts +1 -1
- package/components/island/header.js +32 -14
- package/components/island/island.d.ts +1 -1
- package/components/island/island.js +3 -5
- package/components/link/clickable-link.d.ts +1 -1
- package/components/link/clickable-link.js +2 -2
- package/components/link/link.js +4 -4
- package/components/list/list-custom.d.ts +1 -1
- package/components/list/list-custom.js +2 -2
- package/components/list/list-hint.d.ts +1 -1
- package/components/list/list-hint.js +3 -7
- package/components/list/list-item.d.ts +1 -1
- package/components/list/list-item.js +23 -26
- package/components/list/list-separator.d.ts +1 -1
- package/components/list/list-separator.js +3 -3
- package/components/list/list-title.d.ts +1 -1
- package/components/list/list-title.js +7 -7
- package/components/list/list-users-groups-source.js +6 -5
- package/components/list/list.d.ts +6 -6
- package/components/list/list.js +33 -31
- package/components/loader/loader.d.ts +1 -1
- package/components/loader/loader.js +8 -14
- package/components/loader-inline/loader-inline.d.ts +1 -1
- package/components/loader-inline/loader-inline.js +4 -7
- package/components/loader-screen/loader-screen.d.ts +1 -1
- package/components/loader-screen/loader-screen.js +3 -6
- package/components/login-dialog/login-dialog.d.ts +1 -1
- package/components/login-dialog/login-dialog.js +10 -9
- package/components/login-dialog/service.js +4 -3
- package/components/markdown/markdown.d.ts +1 -1
- package/components/markdown/markdown.js +3 -6
- package/components/message/message.d.ts +1 -1
- package/components/message/message.js +13 -15
- package/components/old-browsers-message/white-list.js +2 -2
- package/components/pager/pager.d.ts +5 -5
- package/components/pager/pager.js +28 -27
- package/components/panel/panel.d.ts +1 -1
- package/components/panel/panel.js +3 -6
- package/components/popup/popup.d.ts +2 -2
- package/components/popup/popup.js +14 -11
- package/components/popup/popup.target.js +68 -16
- package/components/popup-menu/popup-menu.d.ts +1 -1
- package/components/popup-menu/popup-menu.js +7 -9
- package/components/progress-bar/progress-bar.d.ts +1 -1
- package/components/progress-bar/progress-bar.js +4 -7
- package/components/query-assist/query-assist-suggestions.d.ts +1 -1
- package/components/query-assist/query-assist-suggestions.js +5 -4
- package/components/query-assist/query-assist.d.ts +2 -2
- package/components/query-assist/query-assist.js +37 -34
- package/components/radio/radio-item.d.ts +1 -1
- package/components/radio/radio-item.js +40 -20
- package/components/radio/radio.d.ts +1 -1
- package/components/radio/radio.js +3 -5
- package/components/scrollable-section/scrollable-section.d.ts +1 -1
- package/components/scrollable-section/scrollable-section.js +100 -38
- package/components/select/select-filter.d.ts +1 -1
- package/components/select/select-filter.js +5 -4
- package/components/select/select-popup.d.ts +7 -7
- package/components/select/select-popup.js +26 -25
- package/components/select/select.d.ts +3 -3
- package/components/select/select.js +52 -52
- package/components/shortcuts/shortcuts-hoc.js +3 -3
- package/components/slider/slider.js +591 -196
- package/components/storage/storage-local.js +2 -1
- package/components/storage/storage.js +2 -1
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.js +247 -102
- package/components/table/cell.d.ts +1 -1
- package/components/table/cell.js +2 -2
- package/components/table/disable-hover-hoc.js +3 -3
- package/components/table/header-cell.d.ts +1 -1
- package/components/table/header-cell.js +7 -6
- package/components/table/header.d.ts +2 -2
- package/components/table/header.js +14 -13
- package/components/table/multitable.d.ts +1 -1
- package/components/table/multitable.js +3 -3
- package/components/table/row-with-focus-sensor.d.ts +1 -1
- package/components/table/row-with-focus-sensor.js +3 -2
- package/components/table/row.d.ts +1 -1
- package/components/table/row.js +51 -24
- package/components/table/selection-shortcuts-hoc.js +2 -2
- package/components/table/simple-table.d.ts +1 -1
- package/components/table/simple-table.js +4 -3
- package/components/table/smart-table.d.ts +1 -1
- package/components/table/smart-table.js +4 -3
- package/components/table/table.d.ts +2 -2
- package/components/table/table.js +21 -23
- package/components/tabs/collapsible-more.d.ts +3 -3
- package/components/tabs/collapsible-more.js +253 -83
- package/components/tabs/collapsible-tab.d.ts +1 -1
- package/components/tabs/collapsible-tab.js +4 -3
- package/components/tabs/collapsible-tabs.d.ts +2 -2
- package/components/tabs/collapsible-tabs.js +450 -188
- package/components/tabs/dumb-tabs.d.ts +2 -2
- package/components/tabs/dumb-tabs.js +10 -9
- package/components/tabs/smart-tabs.d.ts +1 -1
- package/components/tabs/smart-tabs.js +6 -5
- package/components/tabs/tab-link.d.ts +1 -1
- package/components/tabs/tab-link.js +2 -1
- package/components/tabs/tab.d.ts +1 -1
- package/components/tabs/tab.js +2 -2
- package/components/tabs/tabs.js +5 -4
- package/components/tag/tag.d.ts +5 -5
- package/components/tag/tag.js +14 -13
- package/components/tags-input/tags-input.d.ts +1 -1
- package/components/tags-input/tags-input.js +10 -9
- package/components/tags-list/tags-list.d.ts +2 -2
- package/components/tags-list/tags-list.js +4 -3
- package/components/text/text.d.ts +1 -1
- package/components/text/text.js +2 -2
- package/components/toggle/toggle.d.ts +1 -1
- package/components/toggle/toggle.js +12 -11
- package/components/tooltip/tooltip.d.ts +1 -1
- package/components/tooltip/tooltip.js +7 -6
- package/components/upload/upload.js +10 -9
- package/components/user-agreement/service.js +11 -10
- package/components/user-agreement/user-agreement.d.ts +1 -1
- package/components/user-agreement/user-agreement.js +19 -18
- package/components/user-card/card.d.ts +1 -1
- package/components/user-card/card.js +3 -2
- package/components/user-card/smart-user-card-tooltip.d.ts +2 -2
- package/components/user-card/smart-user-card-tooltip.js +7 -6
- package/components/user-card/tooltip.d.ts +2 -2
- package/components/user-card/tooltip.js +7 -6
- package/components/user-card/user-card.js +4 -3
- package/package.json +3 -9
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
1
|
import { PureComponent } from 'react';
|
|
3
2
|
import alertService from '../alert-service/alert-service.js';
|
|
4
3
|
import Profile from './profile.js';
|
|
5
4
|
import '../auth/auth.js';
|
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
import { USER_CHANGED_EVENT, LOGOUT_POSTPONED_EVENT, USER_CHANGE_POSTPONED_EVENT } from '../auth/auth-core.js';
|
|
7
7
|
import 'react-dom/client';
|
|
8
8
|
import '../global/get-uid.js';
|
|
@@ -16,6 +16,7 @@ import '../icon/icon.js';
|
|
|
16
16
|
import 'util-deprecate';
|
|
17
17
|
import '../icon/icon.constants.js';
|
|
18
18
|
import '../_helpers/icon-svg.js';
|
|
19
|
+
import 'react-compiler-runtime';
|
|
19
20
|
import '../global/memoize.js';
|
|
20
21
|
import '../loader-inline/loader-inline.js';
|
|
21
22
|
import '../global/data-tests.js';
|
|
@@ -44,9 +45,9 @@ import '../popup/position-css.js';
|
|
|
44
45
|
import '../alert/container.js';
|
|
45
46
|
import '../avatar/avatar.js';
|
|
46
47
|
import '../global/url.js';
|
|
47
|
-
import '../_helpers/avatar-info.js';
|
|
48
|
-
import '../avatar/avatar-size.js';
|
|
49
48
|
import '../avatar/fallback-avatar.js';
|
|
49
|
+
import '../avatar/avatar-size.js';
|
|
50
|
+
import '../_helpers/avatar-info.js';
|
|
50
51
|
import '../dropdown-menu/dropdown-menu.js';
|
|
51
52
|
import '../list/list.js';
|
|
52
53
|
import 'react-virtualized/dist/es/List';
|
|
@@ -63,9 +64,9 @@ import '../global/compose-refs.js';
|
|
|
63
64
|
import '../control-help/control-help.js';
|
|
64
65
|
import '../link/link.js';
|
|
65
66
|
import '../_helpers/link.js';
|
|
66
|
-
import '../_helpers/list.js';
|
|
67
67
|
import '../list/consts.js';
|
|
68
68
|
import '../list/list.classes.js';
|
|
69
|
+
import '../_helpers/list.js';
|
|
69
70
|
import '../list/list-custom.js';
|
|
70
71
|
import '../global/get-event-key.js';
|
|
71
72
|
import '../list/list-title.js';
|
|
@@ -184,7 +185,7 @@ class SmartProfile extends PureComponent {
|
|
|
184
185
|
...props
|
|
185
186
|
} = this.props;
|
|
186
187
|
const url = profileUrl || (user ? `${auth.config.serverUri}users/${user.id}` : '');
|
|
187
|
-
return jsx(Profile, {
|
|
188
|
+
return /*#__PURE__*/jsx(Profile, {
|
|
188
189
|
onLogin: this.login,
|
|
189
190
|
onLogout: this.logout,
|
|
190
191
|
onSwitchUser: this.switchUser,
|
|
@@ -18,5 +18,5 @@ export default class SmartServices extends Component<SmartServicesProps> {
|
|
|
18
18
|
stopLoading: () => void;
|
|
19
19
|
getServicesContent: () => void;
|
|
20
20
|
getServices(fields: string): Promise<Service[]> | undefined;
|
|
21
|
-
render(): import("react
|
|
21
|
+
render(): import("react").JSX.Element | null;
|
|
22
22
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
1
|
import { Component } from 'react';
|
|
3
2
|
import HTTP from '../http/http.js';
|
|
4
3
|
import Services from './services.js';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
import '../global/url.js';
|
|
6
|
+
import 'react-compiler-runtime';
|
|
6
7
|
import '@jetbrains/icons/services-20px';
|
|
7
8
|
import 'classnames';
|
|
8
9
|
import '../dropdown/dropdown.js';
|
|
@@ -98,7 +99,7 @@ class SmartServices extends Component {
|
|
|
98
99
|
if (!visible) {
|
|
99
100
|
return null;
|
|
100
101
|
}
|
|
101
|
-
return jsx(Services, {
|
|
102
|
+
return /*#__PURE__*/jsx(Services, {
|
|
102
103
|
...props,
|
|
103
104
|
clientId: auth.config.clientId,
|
|
104
105
|
initShown: true,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
1
|
import { Component, Children } from 'react';
|
|
3
2
|
import classNames from 'classnames';
|
|
4
3
|
import { s as styles } from '../_helpers/header.js';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
|
-
const wrapChild = child => child && jsx("div", {
|
|
6
|
+
const wrapChild = child => child && /*#__PURE__*/jsx("div", {
|
|
7
7
|
className: styles.trayItem,
|
|
8
8
|
children: child
|
|
9
9
|
});
|
|
@@ -15,7 +15,7 @@ class Tray extends Component {
|
|
|
15
15
|
...restProps
|
|
16
16
|
} = this.props;
|
|
17
17
|
const classes = classNames(styles.tray, className);
|
|
18
|
-
return jsx("div", {
|
|
18
|
+
return /*#__PURE__*/jsx("div", {
|
|
19
19
|
...restProps,
|
|
20
20
|
className: classes,
|
|
21
21
|
children: Children.map(children, wrapChild)
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { memo } from 'react';
|
|
1
|
+
import { c } from 'react-compiler-runtime';
|
|
2
|
+
import { memo, useEffect } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import deprecate from 'util-deprecate';
|
|
5
5
|
import { s as styles } from '../_helpers/heading.js';
|
|
6
|
+
import { jsx } from 'react/jsx-runtime';
|
|
6
7
|
|
|
7
|
-
/**
|
|
8
|
-
* @name Heading
|
|
9
|
-
*/
|
|
10
8
|
var Levels;
|
|
11
9
|
(function (Levels) {
|
|
12
10
|
Levels[Levels["H1"] = 1] = "H1";
|
|
@@ -14,54 +12,200 @@ var Levels;
|
|
|
14
12
|
Levels[Levels["H3"] = 3] = "H3";
|
|
15
13
|
Levels[Levels["H4"] = 4] = "H4";
|
|
16
14
|
})(Levels || (Levels = {}));
|
|
17
|
-
const
|
|
18
|
-
const HeadingMemo = /*#__PURE__*/memo(function Heading({
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
15
|
+
const warnFallbackHeading = deprecate(() => {}, 'Headings of level 5 and higher are replaced with h3');
|
|
16
|
+
const HeadingMemo = /*#__PURE__*/memo(function Heading(t0) {
|
|
17
|
+
const $ = c(16);
|
|
18
|
+
if ($[0] !== "9f4538e180b30a0a8f1026b4057246b9b8f6ecaa39875bb67aa3caa7d9a451e8") {
|
|
19
|
+
for (let $i = 0; $i < 16; $i += 1) {
|
|
20
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
21
|
+
}
|
|
22
|
+
$[0] = "9f4538e180b30a0a8f1026b4057246b9b8f6ecaa39875bb67aa3caa7d9a451e8";
|
|
23
|
+
}
|
|
24
|
+
let children;
|
|
25
|
+
let className;
|
|
26
|
+
let restProps;
|
|
27
|
+
let t1;
|
|
28
|
+
if ($[1] !== t0) {
|
|
29
|
+
({
|
|
30
|
+
children,
|
|
31
|
+
className,
|
|
32
|
+
level: t1,
|
|
33
|
+
...restProps
|
|
34
|
+
} = t0);
|
|
35
|
+
$[1] = t0;
|
|
36
|
+
$[2] = children;
|
|
37
|
+
$[3] = className;
|
|
38
|
+
$[4] = restProps;
|
|
39
|
+
$[5] = t1;
|
|
40
|
+
} else {
|
|
41
|
+
children = $[2];
|
|
42
|
+
className = $[3];
|
|
43
|
+
restProps = $[4];
|
|
44
|
+
t1 = $[5];
|
|
45
|
+
}
|
|
46
|
+
const level = t1 === undefined ? Levels.H1 : t1;
|
|
47
|
+
let t2;
|
|
48
|
+
if ($[6] !== className) {
|
|
49
|
+
t2 = classNames(styles.heading, className);
|
|
50
|
+
$[6] = className;
|
|
51
|
+
$[7] = t2;
|
|
52
|
+
} else {
|
|
53
|
+
t2 = $[7];
|
|
54
|
+
}
|
|
55
|
+
const classes = t2;
|
|
56
|
+
const isSupportedLevel = level <= Levels.H4;
|
|
57
|
+
let t3;
|
|
58
|
+
let t4;
|
|
59
|
+
if ($[8] !== isSupportedLevel) {
|
|
60
|
+
t3 = () => {
|
|
61
|
+
if (!isSupportedLevel) {
|
|
62
|
+
warnFallbackHeading();
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
t4 = [isSupportedLevel];
|
|
66
|
+
$[8] = isSupportedLevel;
|
|
67
|
+
$[9] = t3;
|
|
68
|
+
$[10] = t4;
|
|
69
|
+
} else {
|
|
70
|
+
t3 = $[9];
|
|
71
|
+
t4 = $[10];
|
|
72
|
+
}
|
|
73
|
+
useEffect(t3, t4);
|
|
74
|
+
const Tag = isSupportedLevel ? `h${level}` : "h3";
|
|
75
|
+
let t5;
|
|
76
|
+
if ($[11] !== Tag || $[12] !== children || $[13] !== classes || $[14] !== restProps) {
|
|
77
|
+
t5 = /*#__PURE__*/jsx(Tag, {
|
|
78
|
+
...restProps,
|
|
79
|
+
className: classes,
|
|
80
|
+
children: children
|
|
81
|
+
});
|
|
82
|
+
$[11] = Tag;
|
|
83
|
+
$[12] = children;
|
|
84
|
+
$[13] = classes;
|
|
85
|
+
$[14] = restProps;
|
|
86
|
+
$[15] = t5;
|
|
87
|
+
} else {
|
|
88
|
+
t5 = $[15];
|
|
89
|
+
}
|
|
90
|
+
return t5;
|
|
31
91
|
});
|
|
32
92
|
const Heading = HeadingMemo;
|
|
33
93
|
Heading.Levels = Levels;
|
|
34
94
|
const H1 = /*#__PURE__*/memo(function H1(props) {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
95
|
+
const $ = c(3);
|
|
96
|
+
if ($[0] !== "9f4538e180b30a0a8f1026b4057246b9b8f6ecaa39875bb67aa3caa7d9a451e8") {
|
|
97
|
+
for (let $i = 0; $i < 3; $i += 1) {
|
|
98
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
99
|
+
}
|
|
100
|
+
$[0] = "9f4538e180b30a0a8f1026b4057246b9b8f6ecaa39875bb67aa3caa7d9a451e8";
|
|
101
|
+
}
|
|
102
|
+
let t0;
|
|
103
|
+
if ($[1] !== props) {
|
|
104
|
+
t0 = /*#__PURE__*/jsx(Heading, {
|
|
105
|
+
...props,
|
|
106
|
+
level: Levels.H1
|
|
107
|
+
});
|
|
108
|
+
$[1] = props;
|
|
109
|
+
$[2] = t0;
|
|
110
|
+
} else {
|
|
111
|
+
t0 = $[2];
|
|
112
|
+
}
|
|
113
|
+
return t0;
|
|
39
114
|
});
|
|
40
115
|
const H2 = /*#__PURE__*/memo(function H2(props) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
116
|
+
const $ = c(3);
|
|
117
|
+
if ($[0] !== "9f4538e180b30a0a8f1026b4057246b9b8f6ecaa39875bb67aa3caa7d9a451e8") {
|
|
118
|
+
for (let $i = 0; $i < 3; $i += 1) {
|
|
119
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
120
|
+
}
|
|
121
|
+
$[0] = "9f4538e180b30a0a8f1026b4057246b9b8f6ecaa39875bb67aa3caa7d9a451e8";
|
|
122
|
+
}
|
|
123
|
+
let t0;
|
|
124
|
+
if ($[1] !== props) {
|
|
125
|
+
t0 = /*#__PURE__*/jsx(Heading, {
|
|
126
|
+
...props,
|
|
127
|
+
level: Levels.H2
|
|
128
|
+
});
|
|
129
|
+
$[1] = props;
|
|
130
|
+
$[2] = t0;
|
|
131
|
+
} else {
|
|
132
|
+
t0 = $[2];
|
|
133
|
+
}
|
|
134
|
+
return t0;
|
|
45
135
|
});
|
|
46
136
|
const H3 = /*#__PURE__*/memo(function H3(props) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
137
|
+
const $ = c(3);
|
|
138
|
+
if ($[0] !== "9f4538e180b30a0a8f1026b4057246b9b8f6ecaa39875bb67aa3caa7d9a451e8") {
|
|
139
|
+
for (let $i = 0; $i < 3; $i += 1) {
|
|
140
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
141
|
+
}
|
|
142
|
+
$[0] = "9f4538e180b30a0a8f1026b4057246b9b8f6ecaa39875bb67aa3caa7d9a451e8";
|
|
143
|
+
}
|
|
144
|
+
let t0;
|
|
145
|
+
if ($[1] !== props) {
|
|
146
|
+
t0 = /*#__PURE__*/jsx(Heading, {
|
|
147
|
+
...props,
|
|
148
|
+
level: Levels.H3
|
|
149
|
+
});
|
|
150
|
+
$[1] = props;
|
|
151
|
+
$[2] = t0;
|
|
152
|
+
} else {
|
|
153
|
+
t0 = $[2];
|
|
154
|
+
}
|
|
155
|
+
return t0;
|
|
51
156
|
});
|
|
52
|
-
const H4 = /*#__PURE__*/memo(function H4({
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
[
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
157
|
+
const H4 = /*#__PURE__*/memo(function H4(t0) {
|
|
158
|
+
const $ = c(11);
|
|
159
|
+
if ($[0] !== "9f4538e180b30a0a8f1026b4057246b9b8f6ecaa39875bb67aa3caa7d9a451e8") {
|
|
160
|
+
for (let $i = 0; $i < 11; $i += 1) {
|
|
161
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
162
|
+
}
|
|
163
|
+
$[0] = "9f4538e180b30a0a8f1026b4057246b9b8f6ecaa39875bb67aa3caa7d9a451e8";
|
|
164
|
+
}
|
|
165
|
+
let bold;
|
|
166
|
+
let className;
|
|
167
|
+
let restProps;
|
|
168
|
+
if ($[1] !== t0) {
|
|
169
|
+
({
|
|
170
|
+
className,
|
|
171
|
+
bold,
|
|
172
|
+
...restProps
|
|
173
|
+
} = t0);
|
|
174
|
+
$[1] = t0;
|
|
175
|
+
$[2] = bold;
|
|
176
|
+
$[3] = className;
|
|
177
|
+
$[4] = restProps;
|
|
178
|
+
} else {
|
|
179
|
+
bold = $[2];
|
|
180
|
+
className = $[3];
|
|
181
|
+
restProps = $[4];
|
|
182
|
+
}
|
|
183
|
+
let t1;
|
|
184
|
+
if ($[5] !== bold || $[6] !== className) {
|
|
185
|
+
t1 = classNames(className, {
|
|
186
|
+
[styles.bold]: bold
|
|
187
|
+
});
|
|
188
|
+
$[5] = bold;
|
|
189
|
+
$[6] = className;
|
|
190
|
+
$[7] = t1;
|
|
191
|
+
} else {
|
|
192
|
+
t1 = $[7];
|
|
193
|
+
}
|
|
194
|
+
const classes = t1;
|
|
195
|
+
let t2;
|
|
196
|
+
if ($[8] !== classes || $[9] !== restProps) {
|
|
197
|
+
t2 = /*#__PURE__*/jsx(Heading, {
|
|
198
|
+
...restProps,
|
|
199
|
+
className: classes,
|
|
200
|
+
level: Levels.H4
|
|
201
|
+
});
|
|
202
|
+
$[8] = classes;
|
|
203
|
+
$[9] = restProps;
|
|
204
|
+
$[10] = t2;
|
|
205
|
+
} else {
|
|
206
|
+
t2 = $[10];
|
|
207
|
+
}
|
|
208
|
+
return t2;
|
|
65
209
|
});
|
|
66
210
|
|
|
67
211
|
export { H1, H2, H3, H4, Levels, Heading as default };
|
|
@@ -1,26 +1,64 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c } from 'react-compiler-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useEffect } from 'react';
|
|
4
4
|
import { translate, getTranslations, setTranslations } from './i18n.js';
|
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
6
|
|
|
6
7
|
const I18nContext = /*#__PURE__*/React.createContext({
|
|
7
8
|
messages: getTranslations(),
|
|
8
9
|
translate
|
|
9
10
|
});
|
|
10
|
-
const I18nContextHolder =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
const I18nContextHolder = t0 => {
|
|
12
|
+
const $ = c(9);
|
|
13
|
+
if ($[0] !== "4fad998682170be27811243d88e42f31c504dd0399035c12efa95d91c74b2a8d") {
|
|
14
|
+
for (let $i = 0; $i < 9; $i += 1) {
|
|
15
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
16
|
+
}
|
|
17
|
+
$[0] = "4fad998682170be27811243d88e42f31c504dd0399035c12efa95d91c74b2a8d";
|
|
18
|
+
}
|
|
19
|
+
const {
|
|
20
|
+
children,
|
|
21
|
+
messages
|
|
22
|
+
} = t0;
|
|
23
|
+
let t1;
|
|
24
|
+
let t2;
|
|
25
|
+
if ($[1] !== messages) {
|
|
26
|
+
t1 = () => {
|
|
27
|
+
setTranslations(messages);
|
|
28
|
+
};
|
|
29
|
+
t2 = [messages];
|
|
30
|
+
$[1] = messages;
|
|
31
|
+
$[2] = t1;
|
|
32
|
+
$[3] = t2;
|
|
33
|
+
} else {
|
|
34
|
+
t1 = $[2];
|
|
35
|
+
t2 = $[3];
|
|
36
|
+
}
|
|
37
|
+
useEffect(t1, t2);
|
|
38
|
+
let t3;
|
|
39
|
+
if ($[4] !== messages) {
|
|
40
|
+
t3 = {
|
|
19
41
|
messages,
|
|
20
42
|
translate
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
43
|
+
};
|
|
44
|
+
$[4] = messages;
|
|
45
|
+
$[5] = t3;
|
|
46
|
+
} else {
|
|
47
|
+
t3 = $[5];
|
|
48
|
+
}
|
|
49
|
+
let t4;
|
|
50
|
+
if ($[6] !== children || $[7] !== t3) {
|
|
51
|
+
t4 = /*#__PURE__*/jsx(I18nContext.Provider, {
|
|
52
|
+
value: t3,
|
|
53
|
+
children: children
|
|
54
|
+
});
|
|
55
|
+
$[6] = children;
|
|
56
|
+
$[7] = t3;
|
|
57
|
+
$[8] = t4;
|
|
58
|
+
} else {
|
|
59
|
+
t4 = $[8];
|
|
60
|
+
}
|
|
61
|
+
return t4;
|
|
24
62
|
};
|
|
25
63
|
|
|
26
64
|
export { I18nContext, I18nContextHolder };
|
|
@@ -2,6 +2,6 @@ import { type SVGAttributes } from 'react';
|
|
|
2
2
|
export interface IconSVGProps extends SVGAttributes<SVGSVGElement> {
|
|
3
3
|
src: string;
|
|
4
4
|
}
|
|
5
|
-
declare function IconSVG({ src, className, ...rest }: IconSVGProps): import("react
|
|
5
|
+
declare function IconSVG({ src, className, ...rest }: IconSVGProps): import("react").JSX.Element;
|
|
6
6
|
declare const _default: import("react").MemoExoticComponent<typeof IconSVG>;
|
|
7
7
|
export default _default;
|
|
@@ -38,7 +38,7 @@ export default class Icon extends PureComponent<IconProps> {
|
|
|
38
38
|
width: number | undefined;
|
|
39
39
|
height: number | undefined;
|
|
40
40
|
} | undefined;
|
|
41
|
-
render(): import("react
|
|
41
|
+
render(): import("react").JSX.Element | null;
|
|
42
42
|
}
|
|
43
43
|
export type IconAttrs = React.JSX.LibraryManagedAttributes<typeof Icon, IconProps>;
|
|
44
44
|
export { Color, Size };
|
package/components/icon/icon.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
1
|
import { PureComponent } from 'react';
|
|
3
2
|
import classNames from 'classnames';
|
|
4
3
|
import deprecate from 'util-deprecate';
|
|
5
4
|
import { Color, Size } from './icon.constants.js';
|
|
6
5
|
import { s as styles, I as IconSVG } from '../_helpers/icon-svg.js';
|
|
6
|
+
import { jsx } from 'react/jsx-runtime';
|
|
7
|
+
import 'react-compiler-runtime';
|
|
7
8
|
import '../global/memoize.js';
|
|
8
9
|
|
|
9
10
|
const warnSize = deprecate(() => {}, `\`size\`, \`width\` and \`height\` props are not recommended to use in Ring UI \`Icon\` component. The intrinsic sizes of SVG icon (\`width\` and \`height\` SVG attributes) are used instead.
|
|
@@ -67,14 +68,14 @@ class Icon extends PureComponent {
|
|
|
67
68
|
[styles[color]]: !!color,
|
|
68
69
|
[styles.loading]: loading
|
|
69
70
|
}, className);
|
|
70
|
-
return jsx("span", {
|
|
71
|
-
"data-test":
|
|
71
|
+
return /*#__PURE__*/jsx("span", {
|
|
72
|
+
"data-test": "ring-icon",
|
|
72
73
|
...restProps,
|
|
73
74
|
className: classes,
|
|
74
|
-
children: typeof Glyph === 'string' ? jsx(IconSVG, {
|
|
75
|
+
children: typeof Glyph === 'string' ? /*#__PURE__*/jsx(IconSVG, {
|
|
75
76
|
src: Glyph,
|
|
76
77
|
style: this.getStyle()
|
|
77
|
-
}) : jsx(Glyph, {
|
|
78
|
+
}) : /*#__PURE__*/jsx(Glyph, {
|
|
78
79
|
className: styles.glyph,
|
|
79
80
|
style: this.getStyle()
|
|
80
81
|
})
|
package/components/icon/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export { default } from './icon.js';
|
|
2
2
|
export { Color, Size } from './icon.constants.js';
|
|
3
|
-
import 'react/jsx-runtime';
|
|
4
3
|
import 'react';
|
|
5
4
|
import 'classnames';
|
|
6
5
|
import 'util-deprecate';
|
|
7
6
|
import '../_helpers/icon-svg.js';
|
|
7
|
+
import 'react-compiler-runtime';
|
|
8
8
|
import '../global/memoize.js';
|
|
9
|
+
import 'react/jsx-runtime';
|
|
@@ -72,7 +72,7 @@ export declare class Input extends PureComponent<InputProps> {
|
|
|
72
72
|
clear: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
73
73
|
handleInputChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
74
74
|
handleTextareaChange: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
75
|
-
render():
|
|
75
|
+
render(): React.JSX.Element;
|
|
76
76
|
}
|
|
77
77
|
export type ContainerProps<P extends InputProps> = React.JSX.LibraryManagedAttributes<typeof Input, P>;
|
|
78
78
|
export type InputSpecificAttrs = ContainerProps<InputSpecificProps>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import 'react/jsx-runtime';
|
|
2
1
|
import 'react';
|
|
3
2
|
import 'classnames';
|
|
4
3
|
import '@jetbrains/icons/close-12px';
|
|
@@ -11,6 +10,7 @@ import '../global/controls-height.js';
|
|
|
11
10
|
import '../control-label/control-label.js';
|
|
12
11
|
import '../control-help/control-help.js';
|
|
13
12
|
export { I as Input, S as Size, I as default } from '../_helpers/input.js';
|
|
13
|
+
import 'react/jsx-runtime';
|
|
14
14
|
import '@jetbrains/icons/chevron-down';
|
|
15
15
|
import '@jetbrains/icons/chevron-12px-down';
|
|
16
16
|
import 'util-deprecate';
|
|
@@ -18,6 +18,7 @@ import '../link/clickable-link.js';
|
|
|
18
18
|
import '../_helpers/button.classes.js';
|
|
19
19
|
import '../icon/icon.constants.js';
|
|
20
20
|
import '../_helpers/icon-svg.js';
|
|
21
|
+
import 'react-compiler-runtime';
|
|
21
22
|
import '../global/memoize.js';
|
|
22
23
|
import '../global/configuration.js';
|
|
23
24
|
import '../i18n/i18n.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
1
|
import { createContext, Component } from 'react';
|
|
3
2
|
import { interpolateLinear } from '../global/linear-function.js';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
const TITLE_RESIZE_END = 20;
|
|
6
6
|
const TITLE_RESIZE_THRESHOLD = 36;
|
|
@@ -25,11 +25,11 @@ function adaptiveIslandHOC(ComposedComponent) {
|
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
render() {
|
|
28
|
-
return jsx(PhaseContext.Provider, {
|
|
28
|
+
return /*#__PURE__*/jsx(PhaseContext.Provider, {
|
|
29
29
|
value: this.state.phase,
|
|
30
|
-
children: jsx(ScrollHandlerContext.Provider, {
|
|
30
|
+
children: /*#__PURE__*/jsx(ScrollHandlerContext.Provider, {
|
|
31
31
|
value: this.onContentScroll,
|
|
32
|
-
children: jsx(ComposedComponent, {
|
|
32
|
+
children: /*#__PURE__*/jsx(ComposedComponent, {
|
|
33
33
|
...this.props
|
|
34
34
|
})
|
|
35
35
|
})
|
|
@@ -27,7 +27,7 @@ declare class Content extends Component<IslandContentInnerProps> {
|
|
|
27
27
|
calculateScrollPosition: () => void;
|
|
28
28
|
scrollableNode?: HTMLElement | null;
|
|
29
29
|
setScrollableNodeAndCalculatePosition: (node: HTMLElement | null) => void;
|
|
30
|
-
render(): import("react
|
|
30
|
+
render(): import("react").JSX.Element;
|
|
31
31
|
}
|
|
32
32
|
declare const ContentWrapper: import("react").ForwardRefExoticComponent<IslandContentProps & import("react").RefAttributes<Content>>;
|
|
33
33
|
export default ContentWrapper;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c } from 'react-compiler-runtime';
|
|
2
2
|
import { forwardRef, Component } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import createResizeDetector from 'element-resize-detector';
|
|
5
5
|
import scheduleRAF from '../global/schedule-raf.js';
|
|
6
|
-
import { s as styles } from '../_helpers/island.js';
|
|
7
6
|
import { ScrollHandlerContext } from './adaptive-island-hoc.js';
|
|
7
|
+
import { s as styles } from '../_helpers/island.js';
|
|
8
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
9
|
import '../global/linear-function.js';
|
|
9
10
|
|
|
10
11
|
const scheduleScrollAction = scheduleRAF();
|
|
@@ -93,16 +94,16 @@ class Content extends Component {
|
|
|
93
94
|
[styles.withBottomBorder]: bottomBorder && !scrolledToBottom
|
|
94
95
|
});
|
|
95
96
|
const scrollableWrapperClasses = classNames(styles.scrollableWrapper, scrollableWrapperClassName);
|
|
96
|
-
return jsx("div", {
|
|
97
|
+
return /*#__PURE__*/jsx("div", {
|
|
97
98
|
...restProps,
|
|
98
|
-
"data-test":
|
|
99
|
+
"data-test": "ring-island-content",
|
|
99
100
|
className: classes,
|
|
100
|
-
children: jsxs("div", {
|
|
101
|
+
children: /*#__PURE__*/jsxs("div", {
|
|
101
102
|
tabIndex: tabIndex,
|
|
102
103
|
className: scrollableWrapperClasses,
|
|
103
104
|
ref: this.setScrollableNodeAndCalculatePosition,
|
|
104
105
|
onScroll: fade ? this.calculateScrollPosition : noop,
|
|
105
|
-
children: [fade && jsx("div", {
|
|
106
|
+
children: [fade && /*#__PURE__*/jsx("div", {
|
|
106
107
|
ref: this.setWrapper,
|
|
107
108
|
children: children
|
|
108
109
|
}), !fade && children]
|
|
@@ -110,19 +111,37 @@ class Content extends Component {
|
|
|
110
111
|
});
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
|
-
const ContentWrapper = /*#__PURE__*/forwardRef((props, ref) =>
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
114
|
+
const ContentWrapper = /*#__PURE__*/forwardRef((props, ref) => {
|
|
115
|
+
const $ = c(4);
|
|
116
|
+
if ($[0] !== "c32a71969444a48a67d8737ca30be3eaf2fe1249949706470667058a052ec377") {
|
|
117
|
+
for (let $i = 0; $i < 4; $i += 1) {
|
|
118
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
119
|
+
}
|
|
120
|
+
$[0] = "c32a71969444a48a67d8737ca30be3eaf2fe1249949706470667058a052ec377";
|
|
121
|
+
}
|
|
122
|
+
let t0;
|
|
123
|
+
if ($[1] !== props || $[2] !== ref) {
|
|
124
|
+
t0 = /*#__PURE__*/jsx(ScrollHandlerContext.Consumer, {
|
|
125
|
+
children: onScroll => {
|
|
126
|
+
const addProps = onScroll ? {
|
|
127
|
+
onScroll,
|
|
128
|
+
bottomBorder: true
|
|
129
|
+
} : {};
|
|
130
|
+
return /*#__PURE__*/jsx(Content, {
|
|
131
|
+
...props,
|
|
132
|
+
...addProps,
|
|
133
|
+
ref: ref
|
|
134
|
+
});
|
|
135
|
+
}
|
|
123
136
|
});
|
|
137
|
+
$[1] = props;
|
|
138
|
+
$[2] = ref;
|
|
139
|
+
$[3] = t0;
|
|
140
|
+
} else {
|
|
141
|
+
t0 = $[3];
|
|
124
142
|
}
|
|
125
|
-
|
|
143
|
+
return t0;
|
|
144
|
+
});
|
|
126
145
|
ContentWrapper.displayName = 'ContentWrapper';
|
|
127
146
|
|
|
128
147
|
export { ContentWrapper as default };
|
|
@@ -4,5 +4,5 @@ export interface IslandHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
|
4
4
|
border?: boolean | null | undefined;
|
|
5
5
|
phase?: number | undefined;
|
|
6
6
|
}
|
|
7
|
-
declare const HeaderWrapper: (props: IslandHeaderProps) => import("react
|
|
7
|
+
declare const HeaderWrapper: (props: IslandHeaderProps) => import("react").JSX.Element;
|
|
8
8
|
export default HeaderWrapper;
|