@jetbrains/ring-ui 5.0.139 → 5.0.141
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/alert/alert.d.ts +1 -1
- package/components/alert-service/alert-service.d.ts +2 -2
- package/components/auth-dialog/auth-dialog.d.ts +2 -2
- package/components/avatar/avatar.d.ts +2 -2
- package/components/avatar/fallback-avatar.d.ts +2 -1
- package/components/badge/badge.d.ts +2 -2
- package/components/button/button.d.ts +1 -1
- package/components/button-group/button-group.d.ts +2 -2
- package/components/button-group/caption.d.ts +2 -2
- package/components/button-set/button-set.d.ts +2 -2
- package/components/button-toolbar/button-toolbar.d.ts +2 -2
- package/components/checkbox/checkbox.d.ts +2 -2
- package/components/code/code.d.ts +1 -1
- package/components/confirm/confirm.d.ts +1 -1
- package/components/content-layout/content-layout.d.ts +2 -2
- package/components/content-layout/sidebar.d.ts +2 -2
- package/components/contenteditable/contenteditable.d.ts +3 -3
- package/components/data-list/data-list.d.ts +3 -3
- package/components/data-list/data-list.mock.d.ts +2 -2
- package/components/data-list/item.d.ts +3 -3
- package/components/data-list/title.d.ts +1 -1
- package/components/date-picker/consts.d.ts +5 -5
- package/components/date-picker/date-input.d.ts +3 -12
- package/components/date-picker/date-input.js +7 -15
- package/components/date-picker/date-picker.d.ts +8 -6
- package/components/date-picker/date-picker.js +9 -15
- package/components/date-picker/date-popup.d.ts +1 -1
- package/components/date-picker/day.d.ts +2 -2
- package/components/date-picker/month-names.d.ts +2 -1
- package/components/date-picker/month-slider.d.ts +2 -2
- package/components/date-picker/month.d.ts +2 -1
- package/components/date-picker/months.d.ts +2 -1
- package/components/date-picker/weekdays.d.ts +2 -1
- package/components/date-picker/years.d.ts +2 -2
- package/components/dropdown/anchor.d.ts +1 -1
- package/components/dropdown/dropdown.d.ts +8 -1
- package/components/editable-heading/editable-heading.d.ts +2 -2
- package/components/error-bubble/error-bubble.d.ts +2 -2
- package/components/error-message/error-message.d.ts +2 -2
- package/components/global/create-stateful-context.d.ts +1 -1
- package/components/global/react-dom-renderer.d.ts +2 -2
- package/components/grid/col.d.ts +2 -2
- package/components/grid/grid.d.ts +2 -2
- package/components/grid/row.d.ts +2 -2
- package/components/group/group.d.ts +2 -2
- package/components/header/header.d.ts +2 -2
- package/components/header/logo.d.ts +2 -2
- package/components/header/profile.d.ts +1 -1
- package/components/header/services-link.d.ts +2 -2
- package/components/header/services.d.ts +2 -2
- package/components/header/smart-profile.d.ts +2 -2
- package/components/header/smart-services.d.ts +2 -2
- package/components/header/tray-icon.d.ts +2 -2
- package/components/header/tray.d.ts +2 -2
- package/components/icon/icon.d.ts +2 -2
- package/components/icon/icon__svg.d.ts +1 -1
- package/components/input/input-label.d.ts +2 -2
- package/components/input/input.d.ts +1 -1
- package/components/island/adaptive-island-hoc.d.ts +2 -2
- package/components/island/content.d.ts +1 -1
- package/components/island/header.d.ts +2 -2
- package/components/island/island.d.ts +3 -3
- package/components/island-legacy/content-legacy.d.ts +2 -2
- package/components/island-legacy/header-legacy.d.ts +2 -2
- package/components/island-legacy/island-legacy.d.ts +2 -2
- package/components/link/clickableLink.d.ts +1 -1
- package/components/link/link.d.ts +8 -8
- package/components/list/list.d.ts +6 -6
- package/components/list/list__custom.d.ts +1 -1
- package/components/list/list__hint.d.ts +2 -2
- package/components/list/list__item.d.ts +2 -2
- package/components/list/list__link.d.ts +2 -2
- package/components/list/list__separator.d.ts +2 -2
- package/components/list/list__title.d.ts +2 -2
- package/components/loader/loader.d.ts +2 -2
- package/components/loader-inline/loader-inline.d.ts +2 -2
- package/components/loader-screen/loader-screen.d.ts +2 -2
- package/components/login-dialog/login-dialog.d.ts +2 -2
- package/components/markdown/code.d.ts +2 -1
- package/components/markdown/heading.d.ts +2 -1
- package/components/markdown/link.d.ts +2 -1
- package/components/markdown/markdown.d.ts +2 -2
- package/components/message/message.d.ts +2 -2
- package/components/pager/pager.d.ts +5 -5
- package/components/panel/panel.d.ts +2 -2
- package/components/popup/popup.d.ts +2 -2
- package/components/popup-menu/popup-menu.d.ts +2 -2
- package/components/progress-bar/progress-bar.d.ts +2 -2
- package/components/query-assist/query-assist.d.ts +2 -2
- package/components/query-assist/query-assist__suggestions.d.ts +2 -1
- package/components/radio/radio.d.ts +1 -1
- package/components/radio/radio__item.d.ts +1 -1
- package/components/select/select.d.ts +4 -4
- package/components/select/select.js +1 -1
- package/components/select/select__filter.d.ts +2 -2
- package/components/select/select__popup.d.ts +7 -7
- package/components/shortcuts/shortcuts-hoc.d.ts +2 -2
- package/components/tab-trap/tab-trap.d.ts +1 -1
- package/components/table/cell.d.ts +2 -2
- package/components/table/disable-hover-hoc.d.ts +2 -2
- package/components/table/header-cell.d.ts +2 -2
- package/components/table/header.d.ts +3 -3
- package/components/table/multitable.d.ts +2 -2
- package/components/table/row-with-focus-sensor.d.ts +1 -1
- package/components/table/row.d.ts +1 -1
- package/components/table/smart-table.d.ts +1 -1
- package/components/table/table.d.ts +4 -4
- package/components/tabs/collapsible-more.d.ts +3 -3
- package/components/tabs/collapsible-tab.d.ts +1 -1
- package/components/tabs/collapsible-tabs.d.ts +2 -2
- package/components/tabs/dumb-tabs.d.ts +3 -3
- package/components/tabs/smart-tabs.d.ts +2 -2
- package/components/tabs/tab-link.d.ts +1 -1
- package/components/tabs/tab.d.ts +2 -2
- package/components/tag/tag.d.ts +5 -5
- package/components/tags-input/tags-input.d.ts +1 -1
- package/components/tags-list/tags-list.d.ts +2 -2
- package/components/text/text.d.ts +2 -2
- package/components/toggle/toggle.d.ts +2 -2
- package/components/tooltip/tooltip.d.ts +1 -1
- package/components/user-agreement/user-agreement.d.ts +2 -2
- package/components/user-card/card.d.ts +1 -1
- package/components/user-card/smart-user-card-tooltip.d.ts +3 -3
- package/components/user-card/tooltip.d.ts +3 -3
- package/dist/_helpers/anchor.js +1 -1
- package/dist/_helpers/badge.js +1 -1
- package/dist/_helpers/button-group.js +1 -1
- package/dist/_helpers/button-set.js +1 -1
- package/dist/_helpers/button-toolbar.js +1 -1
- package/dist/_helpers/button__classes.js +1 -1
- package/dist/_helpers/card.js +1 -1
- package/dist/_helpers/checkbox.js +1 -1
- package/dist/_helpers/date-picker.js +1 -1
- package/dist/_helpers/dialog__body-scroll-preventer.js +1 -1
- package/dist/_helpers/error-message.js +1 -1
- package/dist/_helpers/footer.js +1 -1
- package/dist/_helpers/grid.js +1 -1
- package/dist/_helpers/group.js +1 -1
- package/dist/_helpers/header.js +1 -1
- package/dist/_helpers/icon.js +1 -1
- package/dist/_helpers/input.js +1 -1
- package/dist/_helpers/island.js +1 -1
- package/dist/_helpers/link.js +1 -1
- package/dist/_helpers/list.js +1 -1
- package/dist/_helpers/loader-inline.js +1 -1
- package/dist/_helpers/loader-screen.js +1 -1
- package/dist/_helpers/panel.js +1 -1
- package/dist/_helpers/query-assist__suggestions.js +1 -1
- package/dist/_helpers/radio.js +1 -1
- package/dist/_helpers/select__filter.js +1 -1
- package/dist/_helpers/services-link.js +1 -1
- package/dist/_helpers/sidebar.js +1 -1
- package/dist/_helpers/table.js +1 -1
- package/dist/_helpers/tabs.js +1 -1
- package/dist/_helpers/theme.js +1 -1
- package/dist/_helpers/title.js +1 -1
- package/dist/alert/alert.d.ts +1 -1
- package/dist/alert/alert.js +1 -1
- package/dist/alert/container.js +1 -1
- package/dist/alert-service/alert-service.d.ts +2 -2
- package/dist/auth/down-notification.js +1 -1
- package/dist/auth/iframe-flow.js +1 -1
- package/dist/auth/landing.js +3 -3
- package/dist/auth-dialog/auth-dialog.d.ts +2 -2
- package/dist/auth-dialog/auth-dialog.js +1 -1
- package/dist/avatar/avatar.d.ts +2 -2
- package/dist/avatar/avatar.js +1 -1
- package/dist/avatar/fallback-avatar.d.ts +2 -1
- package/dist/avatar-editor-ng/avatar-editor-ng.js +2 -2
- package/dist/badge/badge.d.ts +2 -2
- package/dist/breadcrumb-ng/breadcrumb-ng.js +3 -3
- package/dist/button/button.d.ts +1 -1
- package/dist/button-group/button-group.d.ts +2 -2
- package/dist/button-group/caption.d.ts +2 -2
- package/dist/button-ng/button-ng.js +3 -3
- package/dist/button-set/button-set.d.ts +2 -2
- package/dist/button-toolbar/button-toolbar.d.ts +2 -2
- package/dist/checkbox/checkbox.d.ts +2 -2
- package/dist/code/code.d.ts +1 -1
- package/dist/code/code.js +1 -1
- package/dist/confirm/confirm.d.ts +1 -1
- package/dist/confirm/confirm.js +1 -1
- package/dist/confirm-ng/confirm-ng.js +2 -2
- package/dist/content-layout/content-layout.d.ts +2 -2
- package/dist/content-layout/sidebar.d.ts +2 -2
- package/dist/contenteditable/contenteditable.d.ts +3 -3
- package/dist/data-list/data-list.d.ts +3 -3
- package/dist/data-list/data-list.mock.d.ts +2 -2
- package/dist/data-list/item.d.ts +3 -3
- package/dist/data-list/title.d.ts +1 -1
- package/dist/date-picker/consts.d.ts +5 -5
- package/dist/date-picker/date-input.d.ts +3 -12
- package/dist/date-picker/date-input.js +11 -17
- package/dist/date-picker/date-picker.d.ts +8 -6
- package/dist/date-picker/date-picker.js +15 -18
- package/dist/date-picker/date-popup.d.ts +1 -1
- package/dist/date-picker/date-popup.js +1 -1
- package/dist/date-picker/day.d.ts +2 -2
- package/dist/date-picker/month-names.d.ts +2 -1
- package/dist/date-picker/month-slider.d.ts +2 -2
- package/dist/date-picker/month.d.ts +2 -1
- package/dist/date-picker/months.d.ts +2 -1
- package/dist/date-picker/weekdays.d.ts +2 -1
- package/dist/date-picker/years.d.ts +2 -2
- package/dist/dialog-ng/dialog-ng.js +9 -9
- package/dist/docked-panel-ng/docked-panel-ng.js +1 -1
- package/dist/dropdown/anchor.d.ts +1 -1
- package/dist/dropdown/dropdown.d.ts +8 -1
- package/dist/editable-heading/editable-heading.d.ts +2 -2
- package/dist/error-bubble/error-bubble.d.ts +2 -2
- package/dist/error-bubble/error-bubble.js +1 -1
- package/dist/error-message/error-message.d.ts +2 -2
- package/dist/error-message-ng/error-message-ng.js +2 -2
- package/dist/form-ng/form-ng.js +2 -2
- package/dist/global/create-stateful-context.d.ts +1 -1
- package/dist/global/react-dom-renderer.d.ts +2 -2
- package/dist/grid/col.d.ts +2 -2
- package/dist/grid/grid.d.ts +2 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/group/group.d.ts +2 -2
- package/dist/header/header.d.ts +2 -2
- package/dist/header/logo.d.ts +2 -2
- package/dist/header/profile.d.ts +1 -1
- package/dist/header/services-link.d.ts +2 -2
- package/dist/header/services.d.ts +2 -2
- package/dist/header/smart-profile.d.ts +2 -2
- package/dist/header/smart-services.d.ts +2 -2
- package/dist/header/tray-icon.d.ts +2 -2
- package/dist/header/tray.d.ts +2 -2
- package/dist/heading/heading.js +1 -1
- package/dist/icon/icon.d.ts +2 -2
- package/dist/icon/icon__svg.d.ts +1 -1
- package/dist/input/input-label.d.ts +2 -2
- package/dist/input/input.d.ts +1 -1
- package/dist/input-ng/input-ng.js +2 -2
- package/dist/island/adaptive-island-hoc.d.ts +2 -2
- package/dist/island/content.d.ts +1 -1
- package/dist/island/header.d.ts +2 -2
- package/dist/island/island.d.ts +3 -3
- package/dist/island-legacy/content-legacy.d.ts +2 -2
- package/dist/island-legacy/header-legacy.d.ts +2 -2
- package/dist/island-legacy/island-legacy.d.ts +2 -2
- package/dist/link/clickableLink.d.ts +1 -1
- package/dist/link/link.d.ts +8 -8
- package/dist/link/link.js +1 -1
- package/dist/link-ng/link-ng.js +2 -2
- package/dist/list/list.d.ts +6 -6
- package/dist/list/list__custom.d.ts +1 -1
- package/dist/list/list__hint.d.ts +2 -2
- package/dist/list/list__item.d.ts +2 -2
- package/dist/list/list__link.d.ts +2 -2
- package/dist/list/list__separator.d.ts +2 -2
- package/dist/list/list__title.d.ts +2 -2
- package/dist/loader/loader.d.ts +2 -2
- package/dist/loader/loader__core.js +1 -1
- package/dist/loader-inline/loader-inline.d.ts +2 -2
- package/dist/loader-screen/loader-screen.d.ts +2 -2
- package/dist/login-dialog/login-dialog.d.ts +2 -2
- package/dist/login-dialog/login-dialog.js +1 -1
- package/dist/markdown/code.d.ts +2 -1
- package/dist/markdown/heading.d.ts +2 -1
- package/dist/markdown/link.d.ts +2 -1
- package/dist/markdown/markdown.d.ts +2 -2
- package/dist/markdown/markdown.js +1 -1
- package/dist/message/message.d.ts +2 -2
- package/dist/message/message.js +1 -1
- package/dist/message-bundle-ng/message-bundle-ng.js +2 -2
- package/dist/old-browsers-message/white-list.js +2 -2
- package/dist/pager/pager.d.ts +5 -5
- package/dist/pager/pager.js +1 -1
- package/dist/panel/panel.d.ts +2 -2
- package/dist/popup/popup.d.ts +2 -2
- package/dist/popup/popup.js +1 -1
- package/dist/popup-menu/popup-menu.d.ts +2 -2
- package/dist/progress-bar/progress-bar.d.ts +2 -2
- package/dist/progress-bar/progress-bar.js +1 -1
- package/dist/query-assist/query-assist.d.ts +2 -2
- package/dist/query-assist/query-assist.js +4 -4
- package/dist/query-assist/query-assist__suggestions.d.ts +2 -1
- package/dist/radio/radio.d.ts +1 -1
- package/dist/radio/radio__item.d.ts +1 -1
- package/dist/save-field-ng/save-field-ng.js +5 -5
- package/dist/select/select.d.ts +4 -4
- package/dist/select/select.js +3 -3
- package/dist/select/select__filter.d.ts +2 -2
- package/dist/select/select__popup.d.ts +7 -7
- package/dist/select/select__popup.js +4 -4
- package/dist/select-ng/select-ng.js +2 -2
- package/dist/shortcuts/core.js +2 -2
- package/dist/shortcuts/shortcuts-hoc.d.ts +2 -2
- package/dist/shortcuts/shortcuts.js +6 -6
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +3 -3
- package/dist/shortcuts-ng/shortcuts-ng.js +24 -24
- package/dist/sidebar-ng/sidebar-ng.js +2 -2
- package/dist/style.css +1 -1
- package/dist/tab-trap/tab-trap.d.ts +1 -1
- package/dist/tab-trap/tab-trap.js +1 -1
- package/dist/table/cell.d.ts +2 -2
- package/dist/table/disable-hover-hoc.d.ts +2 -2
- package/dist/table/header-cell.d.ts +2 -2
- package/dist/table/header.d.ts +3 -3
- package/dist/table/multitable.d.ts +2 -2
- package/dist/table/row-with-focus-sensor.d.ts +1 -1
- package/dist/table/row.d.ts +1 -1
- package/dist/table/smart-table.d.ts +1 -1
- package/dist/table/table.d.ts +4 -4
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +2 -2
- package/dist/tabs/collapsible-more.d.ts +3 -3
- package/dist/tabs/collapsible-more.js +5 -5
- package/dist/tabs/collapsible-tab.d.ts +1 -1
- package/dist/tabs/collapsible-tabs.d.ts +2 -2
- package/dist/tabs/dumb-tabs.d.ts +3 -3
- package/dist/tabs/smart-tabs.d.ts +2 -2
- package/dist/tabs/tab-link.d.ts +1 -1
- package/dist/tabs/tab.d.ts +2 -2
- package/dist/tag/tag.d.ts +5 -5
- package/dist/tag/tag.js +1 -1
- package/dist/tags-input/tags-input.d.ts +1 -1
- package/dist/tags-input/tags-input.js +1 -1
- package/dist/tags-list/tags-list.d.ts +2 -2
- package/dist/text/text.d.ts +2 -2
- package/dist/text/text.js +1 -1
- package/dist/toggle/toggle.d.ts +2 -2
- package/dist/toggle/toggle.js +1 -1
- package/dist/tooltip/tooltip.d.ts +1 -1
- package/dist/tooltip/tooltip.js +1 -1
- package/dist/user-agreement/service.js +7 -7
- package/dist/user-agreement/user-agreement.d.ts +2 -2
- package/dist/user-agreement/user-agreement.js +4 -4
- package/dist/user-card/card.d.ts +1 -1
- package/dist/user-card/smart-user-card-tooltip.d.ts +3 -3
- package/dist/user-card/smart-user-card-tooltip.js +28 -28
- package/dist/user-card/tooltip.d.ts +3 -3
- package/dist/user-card-ng/user-card-ng.js +4 -4
- package/package.json +43 -43
package/dist/icon/icon__svg.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
export interface IconSVGProps extends SVGAttributes<SVGSVGElement> {
|
|
4
4
|
src: string;
|
|
5
5
|
}
|
|
6
|
-
declare function IconSVG({ src, className, ...rest }: IconSVGProps): JSX.Element;
|
|
6
|
+
declare function IconSVG({ src, className, ...rest }: IconSVGProps): React.JSX.Element;
|
|
7
7
|
declare namespace IconSVG {
|
|
8
8
|
var propTypes: {
|
|
9
9
|
className: PropTypes.Requireable<string>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { PureComponent, ReactNode } from 'react';
|
|
1
|
+
import React, { PureComponent, ReactNode } from 'react';
|
|
2
2
|
interface InputLabelProps {
|
|
3
3
|
htmlFor?: string;
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
label: ReactNode;
|
|
6
6
|
}
|
|
7
7
|
export declare class InputLabel extends PureComponent<InputLabelProps> {
|
|
8
|
-
render(): JSX.Element;
|
|
8
|
+
render(): React.JSX.Element;
|
|
9
9
|
}
|
|
10
10
|
export default InputLabel;
|
package/dist/input/input.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ export declare class Input extends PureComponent<InputProps> {
|
|
|
65
65
|
clear: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
66
66
|
handleInputChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
67
67
|
handleTextareaChange: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
68
|
-
render(): JSX.Element;
|
|
68
|
+
render(): React.JSX.Element;
|
|
69
69
|
}
|
|
70
70
|
export type ContainerProps<P extends InputProps> = JSX.LibraryManagedAttributes<typeof Input, P>;
|
|
71
71
|
export type InputSpecificAttrs = ContainerProps<InputSpecificProps>;
|
|
@@ -3,7 +3,7 @@ import classNames from 'classnames';
|
|
|
3
3
|
import closeIcon from '@jetbrains/icons/close';
|
|
4
4
|
import RingAngularComponent from '../global/ring-angular-component.js';
|
|
5
5
|
import { m as modules_88cfaf40 } from '../_helpers/input.js';
|
|
6
|
-
import
|
|
6
|
+
import ButtonNG from '../button-ng/button-ng.js';
|
|
7
7
|
import '../global/dom.js';
|
|
8
8
|
import '../icon-ng/icon-ng.js';
|
|
9
9
|
import '../icon/icon__constants.js';
|
|
@@ -15,7 +15,7 @@ import 'react';
|
|
|
15
15
|
|
|
16
16
|
var modules_c40fa551 = {"errorText":"errorText_rui_d15a","clear":"clear_rui_d15a"};
|
|
17
17
|
|
|
18
|
-
const angularModule = angular.module('Ring.input', [
|
|
18
|
+
const angularModule = angular.module('Ring.input', [ButtonNG]);
|
|
19
19
|
class RingInputComponent extends RingAngularComponent {
|
|
20
20
|
static require = {
|
|
21
21
|
ngModelCtrl: '?ngModel'
|
|
@@ -8,7 +8,7 @@ export default function adaptiveIslandHOC<P>(ComposedComponent: ComponentType<P>
|
|
|
8
8
|
phase: null;
|
|
9
9
|
};
|
|
10
10
|
onContentScroll: ({ scrollTop, scrollHeight, clientHeight }: Element) => void;
|
|
11
|
-
render(): JSX.Element;
|
|
11
|
+
render(): React.JSX.Element;
|
|
12
12
|
context: unknown;
|
|
13
13
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<P>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
14
14
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
@@ -34,7 +34,7 @@ export default function adaptiveIslandHOC<P>(ComposedComponent: ComponentType<P>
|
|
|
34
34
|
phase: null;
|
|
35
35
|
};
|
|
36
36
|
onContentScroll: ({ scrollTop, scrollHeight, clientHeight }: Element) => void;
|
|
37
|
-
render(): JSX.Element;
|
|
37
|
+
render(): React.JSX.Element;
|
|
38
38
|
context: unknown;
|
|
39
39
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<P>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
40
40
|
forceUpdate(callback?: (() => void) | undefined): void;
|
package/dist/island/content.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ declare class Content extends Component<IslandContentInnerProps> {
|
|
|
37
37
|
calculateScrollPosition: () => void;
|
|
38
38
|
scrollableNode?: HTMLElement | null;
|
|
39
39
|
setScrollableNodeAndCalculatePosition: (node: HTMLElement | null) => void;
|
|
40
|
-
render(): JSX.Element;
|
|
40
|
+
render(): React.JSX.Element;
|
|
41
41
|
}
|
|
42
42
|
declare const ContentWrapper: React.ForwardRefExoticComponent<IslandContentProps & React.RefAttributes<Content>>;
|
|
43
43
|
export default ContentWrapper;
|
package/dist/island/header.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
2
|
export interface IslandHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
wrapWithTitle?: boolean | undefined;
|
|
4
4
|
border?: boolean | null | undefined;
|
|
5
5
|
phase?: number | undefined;
|
|
6
6
|
}
|
|
7
|
-
declare const HeaderWrapper: (props: IslandHeaderProps) => JSX.Element;
|
|
7
|
+
declare const HeaderWrapper: (props: IslandHeaderProps) => React.JSX.Element;
|
|
8
8
|
export default HeaderWrapper;
|
package/dist/island/island.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export default class Island extends Component<IslandProps> {
|
|
|
16
16
|
withoutPaddings: PropTypes.Requireable<boolean>;
|
|
17
17
|
'data-test': PropTypes.Requireable<string>;
|
|
18
18
|
};
|
|
19
|
-
render(): JSX.Element;
|
|
19
|
+
render(): React.JSX.Element;
|
|
20
20
|
}
|
|
21
21
|
export declare const AdaptiveIsland: {
|
|
22
22
|
new (props: IslandProps | Readonly<IslandProps>): {
|
|
@@ -24,7 +24,7 @@ export declare const AdaptiveIsland: {
|
|
|
24
24
|
phase: null;
|
|
25
25
|
};
|
|
26
26
|
onContentScroll: ({ scrollTop, scrollHeight, clientHeight }: Element) => void;
|
|
27
|
-
render(): JSX.Element;
|
|
27
|
+
render(): React.JSX.Element;
|
|
28
28
|
context: unknown;
|
|
29
29
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<IslandProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
30
30
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
@@ -50,7 +50,7 @@ export declare const AdaptiveIsland: {
|
|
|
50
50
|
phase: null;
|
|
51
51
|
};
|
|
52
52
|
onContentScroll: ({ scrollTop, scrollHeight, clientHeight }: Element) => void;
|
|
53
|
-
render(): JSX.Element;
|
|
53
|
+
render(): React.JSX.Element;
|
|
54
54
|
context: unknown;
|
|
55
55
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<IslandProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
56
56
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PureComponent } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PureComponent } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import './island-legacy.css';
|
|
4
4
|
export default class Content extends PureComponent<HTMLAttributes<HTMLElement>> {
|
|
@@ -6,5 +6,5 @@ export default class Content extends PureComponent<HTMLAttributes<HTMLElement>>
|
|
|
6
6
|
className: PropTypes.Requireable<string>;
|
|
7
7
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
8
8
|
};
|
|
9
|
-
render(): JSX.Element;
|
|
9
|
+
render(): React.JSX.Element;
|
|
10
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PureComponent } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PureComponent } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import './island-legacy.css';
|
|
4
4
|
export default class Header extends PureComponent<HTMLAttributes<HTMLElement>> {
|
|
@@ -6,5 +6,5 @@ export default class Header extends PureComponent<HTMLAttributes<HTMLElement>> {
|
|
|
6
6
|
className: PropTypes.Requireable<string>;
|
|
7
7
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
8
8
|
};
|
|
9
|
-
render(): JSX.Element;
|
|
9
|
+
render(): React.JSX.Element;
|
|
10
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PureComponent } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PureComponent } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import './island-legacy.css';
|
|
4
4
|
export default class Island extends PureComponent<HTMLAttributes<HTMLElement>> {
|
|
@@ -6,7 +6,7 @@ export default class Island extends PureComponent<HTMLAttributes<HTMLElement>> {
|
|
|
6
6
|
className: PropTypes.Requireable<string>;
|
|
7
7
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
8
8
|
};
|
|
9
|
-
render(): JSX.Element;
|
|
9
|
+
render(): React.JSX.Element;
|
|
10
10
|
}
|
|
11
11
|
export { default as Header } from './header-legacy';
|
|
12
12
|
export { default as Content } from './content-legacy';
|
|
@@ -16,5 +16,5 @@ export default class ClickableLink extends PureComponent<ClickableLinkProps> {
|
|
|
16
16
|
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
17
17
|
};
|
|
18
18
|
onClick: (e: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
19
|
-
render(): JSX.Element;
|
|
19
|
+
render(): React.JSX.Element;
|
|
20
20
|
}
|
package/dist/link/link.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ export interface LinkBaseProps {
|
|
|
19
19
|
export type LinkProps<P extends ClickableLinkProps = ClickableLinkProps> = Omit<P, keyof LinkBaseProps> & LinkBaseProps;
|
|
20
20
|
export declare function linkHOC<P extends ClickableLinkProps>(ComposedComponent: ComponentType<P> | string): {
|
|
21
21
|
new (props: LinkProps<P> | Readonly<LinkProps<P>>): {
|
|
22
|
-
getChildren(): string | number | boolean | JSX.Element | React.ReactFragment | null | undefined;
|
|
23
|
-
render(): JSX.Element;
|
|
22
|
+
getChildren(): string | number | boolean | React.JSX.Element | React.ReactFragment | null | undefined;
|
|
23
|
+
render(): React.JSX.Element;
|
|
24
24
|
context: unknown;
|
|
25
25
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<LinkProps<P>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
26
26
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
@@ -43,8 +43,8 @@ export declare function linkHOC<P extends ClickableLinkProps>(ComposedComponent:
|
|
|
43
43
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<LinkProps<P>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
44
44
|
};
|
|
45
45
|
new (props: LinkProps<P>, context: any): {
|
|
46
|
-
getChildren(): string | number | boolean | JSX.Element | React.ReactFragment | null | undefined;
|
|
47
|
-
render(): JSX.Element;
|
|
46
|
+
getChildren(): string | number | boolean | React.JSX.Element | React.ReactFragment | null | undefined;
|
|
47
|
+
render(): React.JSX.Element;
|
|
48
48
|
context: unknown;
|
|
49
49
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<LinkProps<P>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
50
50
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
@@ -83,8 +83,8 @@ export declare function linkHOC<P extends ClickableLinkProps>(ComposedComponent:
|
|
|
83
83
|
};
|
|
84
84
|
declare const _default: {
|
|
85
85
|
new (props: LinkProps<ClickableLinkProps> | Readonly<LinkProps<ClickableLinkProps>>): {
|
|
86
|
-
getChildren(): string | number | boolean | JSX.Element | React.ReactFragment | null | undefined;
|
|
87
|
-
render(): JSX.Element;
|
|
86
|
+
getChildren(): string | number | boolean | React.JSX.Element | React.ReactFragment | null | undefined;
|
|
87
|
+
render(): React.JSX.Element;
|
|
88
88
|
context: unknown;
|
|
89
89
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<LinkProps<ClickableLinkProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
90
90
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
@@ -107,8 +107,8 @@ declare const _default: {
|
|
|
107
107
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<LinkProps<ClickableLinkProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
108
108
|
};
|
|
109
109
|
new (props: LinkProps<ClickableLinkProps>, context: any): {
|
|
110
|
-
getChildren(): string | number | boolean | JSX.Element | React.ReactFragment | null | undefined;
|
|
111
|
-
render(): JSX.Element;
|
|
110
|
+
getChildren(): string | number | boolean | React.JSX.Element | React.ReactFragment | null | undefined;
|
|
111
|
+
render(): React.JSX.Element;
|
|
112
112
|
context: unknown;
|
|
113
113
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<LinkProps<ClickableLinkProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
114
114
|
forceUpdate(callback?: (() => void) | undefined): void;
|
package/dist/link/link.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import React, {
|
|
2
|
+
import React, { PureComponent, memo } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import memoize from '../global/memoize.js';
|
package/dist/link-ng/link-ng.js
CHANGED
package/dist/list/list.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare const ActiveItemContext: {
|
|
|
49
49
|
ValueContext: React.Context<string | undefined>;
|
|
50
50
|
UpdateContext: React.Context<(value: string | undefined) => void>;
|
|
51
51
|
Provider: {
|
|
52
|
-
({ children }: import("../global/create-stateful-context").ProviderProps): JSX.Element;
|
|
52
|
+
({ children }: import("../global/create-stateful-context").ProviderProps): React.JSX.Element;
|
|
53
53
|
propTypes: {
|
|
54
54
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
55
55
|
};
|
|
@@ -176,19 +176,19 @@ export default class List<T = unknown> extends Component<ListProps<T>, ListState
|
|
|
176
176
|
getVisibleListHeight(maxHeight: number): number;
|
|
177
177
|
private _deprecatedGenerateKeyFromContent;
|
|
178
178
|
getId(item: ListDataItem<T> | null): string | undefined;
|
|
179
|
-
renderItem: ({ index, style, isScrolling, parent, key }: Partial<ListRowProps>) => JSX.Element;
|
|
179
|
+
renderItem: ({ index, style, isScrolling, parent, key }: Partial<ListRowProps>) => React.JSX.Element;
|
|
180
180
|
addItemDataTestToProp: (props: ListDataItemProps<T>) => ListDataItemProps<T>;
|
|
181
181
|
virtualizedListRef: (el: VirtualizedList | null) => void;
|
|
182
182
|
containerRef: (el: HTMLElement | null) => void;
|
|
183
183
|
private _inner?;
|
|
184
184
|
get inner(): HTMLElement | null | undefined;
|
|
185
|
-
renderVirtualizedInner({ height, maxHeight, autoHeight, rowCount, isScrolling, onChildScroll, scrollTop, registerChild }: RenderVirtualizedInnerParams): JSX.Element;
|
|
186
|
-
renderVirtualized(maxHeight: number | null | undefined, rowCount: number): JSX.Element;
|
|
187
|
-
renderSimple(maxHeight: number | null | undefined, rowCount: number): JSX.Element;
|
|
185
|
+
renderVirtualizedInner({ height, maxHeight, autoHeight, rowCount, isScrolling, onChildScroll, scrollTop, registerChild }: RenderVirtualizedInnerParams): React.JSX.Element;
|
|
186
|
+
renderVirtualized(maxHeight: number | null | undefined, rowCount: number): React.JSX.Element;
|
|
187
|
+
renderSimple(maxHeight: number | null | undefined, rowCount: number): React.JSX.Element;
|
|
188
188
|
id: string;
|
|
189
189
|
shortcutsScope: string;
|
|
190
190
|
shortcutsMap: ShortcutsMap;
|
|
191
191
|
/** @override */
|
|
192
|
-
render(): JSX.Element;
|
|
192
|
+
render(): React.JSX.Element;
|
|
193
193
|
}
|
|
194
194
|
export type ListAttrs<T = unknown> = JSX.LibraryManagedAttributes<typeof List, ListProps<T>>;
|
|
@@ -2,5 +2,5 @@ import React, { PureComponent } from 'react';
|
|
|
2
2
|
import { ListDataItemProps } from './consts';
|
|
3
3
|
export default class ListCustom<T> extends PureComponent<ListDataItemProps<T>> {
|
|
4
4
|
handleKeyPress: (event: React.KeyboardEvent) => void;
|
|
5
|
-
render(): JSX.Element;
|
|
5
|
+
render(): React.JSX.Element;
|
|
6
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PureComponent, ReactNode } from 'react';
|
|
1
|
+
import React, { PureComponent, ReactNode } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
export interface ListHintProps {
|
|
4
4
|
label: ReactNode;
|
|
@@ -11,5 +11,5 @@ export default class ListHint extends PureComponent<ListHintProps> {
|
|
|
11
11
|
static propTypes: {
|
|
12
12
|
label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
13
13
|
};
|
|
14
|
-
render(): JSX.Element;
|
|
14
|
+
render(): React.JSX.Element;
|
|
15
15
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PureComponent, SyntheticEvent } from 'react';
|
|
1
|
+
import React, { PureComponent, SyntheticEvent } from 'react';
|
|
2
2
|
import { ListDataItemProps } from './consts';
|
|
3
3
|
export default class ListItem<T> extends PureComponent<ListDataItemProps<T>> {
|
|
4
4
|
id: string;
|
|
5
5
|
stopBubbling: (e: SyntheticEvent) => void;
|
|
6
6
|
private _isString;
|
|
7
|
-
render(): JSX.Element;
|
|
7
|
+
render(): React.JSX.Element;
|
|
8
8
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
1
|
+
import React, { PureComponent } from 'react';
|
|
2
2
|
import { ListDataItemProps } from './consts';
|
|
3
3
|
/**
|
|
4
4
|
* @constructor
|
|
5
5
|
* @extends {ReactComponent}
|
|
6
6
|
*/
|
|
7
7
|
export default class ListLink<T> extends PureComponent<ListDataItemProps<T>> {
|
|
8
|
-
render(): JSX.Element;
|
|
8
|
+
render(): React.JSX.Element;
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
1
|
+
import React, { PureComponent } from 'react';
|
|
2
2
|
import { ListDataItemProps } from './consts';
|
|
3
3
|
export default class ListSeparator<T> extends PureComponent<ListDataItemProps<T>> {
|
|
4
|
-
render(): JSX.Element;
|
|
4
|
+
render(): React.JSX.Element;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
1
|
+
import React, { PureComponent } from 'react';
|
|
2
2
|
import { ListDataItemProps } from './consts';
|
|
3
3
|
export default class ListTitle<T> extends PureComponent<ListDataItemProps<T>> {
|
|
4
|
-
render(): JSX.Element;
|
|
4
|
+
render(): React.JSX.Element;
|
|
5
5
|
}
|
package/dist/loader/loader.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PureComponent } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PureComponent } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import LoaderCore, { LoaderCoreProps } from './loader__core';
|
|
4
4
|
export interface LoaderProps extends Partial<LoaderCoreProps>, HTMLAttributes<HTMLElement> {
|
|
@@ -24,5 +24,5 @@ export default class Loader extends PureComponent<LoaderProps> {
|
|
|
24
24
|
componentWillUnmount(): void;
|
|
25
25
|
loader?: LoaderCore;
|
|
26
26
|
initLoader: (el: Node | null) => void;
|
|
27
|
-
render(): JSX.Element;
|
|
27
|
+
render(): React.JSX.Element;
|
|
28
28
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getPixelRatio } from '../global/dom.js';
|
|
2
2
|
|
|
3
|
-
var modules_00b5ad26 = {"unit":"i__const_unit_0","light":"
|
|
3
|
+
var modules_00b5ad26 = {"unit":"i__const_unit_0","light":"light_rui_2ac4","canvas":"canvas_rui_47a4","animate":"animate_rui_47a4","rotation-keyframes":"rotation-keyframes_rui_47a4","text":"text_rui_47a4"};
|
|
4
4
|
|
|
5
5
|
const INITIAL_TICKS = 100;
|
|
6
6
|
class Particle {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PureComponent } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PureComponent } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
export interface LoaderInlineProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
'data-test'?: string | null | undefined;
|
|
@@ -12,7 +12,7 @@ declare class LoaderInline extends PureComponent<LoaderInlineProps> {
|
|
|
12
12
|
'data-test': PropTypes.Requireable<string>;
|
|
13
13
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
14
14
|
};
|
|
15
|
-
render(): JSX.Element;
|
|
15
|
+
render(): React.JSX.Element;
|
|
16
16
|
}
|
|
17
17
|
export type LoaderInlineAtrrs = JSX.LibraryManagedAttributes<typeof LoaderInline, LoaderInlineProps>;
|
|
18
18
|
export default LoaderInline;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
1
|
+
import React, { PureComponent } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { LoaderProps } from '../loader/loader';
|
|
4
4
|
export interface LoaderScreenProps extends LoaderProps {
|
|
@@ -13,5 +13,5 @@ export default class LoaderScreen extends PureComponent<LoaderScreenProps> {
|
|
|
13
13
|
containerClassName: PropTypes.Requireable<string>;
|
|
14
14
|
message: PropTypes.Requireable<string>;
|
|
15
15
|
};
|
|
16
|
-
render(): JSX.Element;
|
|
16
|
+
render(): React.JSX.Element;
|
|
17
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, ReactNode } from 'react';
|
|
1
|
+
import React, { Component, ReactNode } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
export interface LoginDialogProps {
|
|
4
4
|
onCancel: () => void;
|
|
@@ -42,6 +42,6 @@ export default class LoginDialog extends Component<LoginDialogProps> {
|
|
|
42
42
|
showFallbackTimout?: number;
|
|
43
43
|
startFallbackCountdown(): void;
|
|
44
44
|
onMessage: (event: MessageEvent) => void;
|
|
45
|
-
render(): JSX.Element;
|
|
45
|
+
render(): React.JSX.Element;
|
|
46
46
|
}
|
|
47
47
|
export type LoginDialogAttrs = JSX.LibraryManagedAttributes<typeof LoginDialog, LoginDialogProps>;
|
|
@@ -45,7 +45,7 @@ import '../auth/response-parser.js';
|
|
|
45
45
|
import 'es6-error';
|
|
46
46
|
import '../global/url.js';
|
|
47
47
|
|
|
48
|
-
var modules_45da1992 = {"unit":"i__const_unit_0","light":"
|
|
48
|
+
var modules_45da1992 = {"unit":"i__const_unit_0","light":"light_rui_2ac4","iFrame":"iFrame_rui_ea70","dialogContent":"dialogContent_rui_ea70","nonOpaqueLoader":"nonOpaqueLoader_rui_ea70","fallbackLinkContainer":"fallbackLinkContainer_rui_ea70"};
|
|
49
49
|
|
|
50
50
|
const HUB_AUTH_PAGE_LOGIN_STARTED = 'HUB_AUTH_PAGE_LOGIN_STARTED';
|
|
51
51
|
const HUB_AUTH_PAGE_LOGIN_DIMENSIONS = 'HUB_AUTH_PAGE_LOGIN_DIMENSIONS';
|
package/dist/markdown/code.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { CodeProps } from 'react-markdown/lib/ast-to-react';
|
|
2
3
|
export interface MarkdownCodeProps extends CodeProps {
|
|
3
4
|
language?: string;
|
|
4
5
|
}
|
|
5
|
-
declare const MarkdownCode: ({ children, language, inline, className }: MarkdownCodeProps) => JSX.Element;
|
|
6
|
+
declare const MarkdownCode: ({ children, language, inline, className }: MarkdownCodeProps) => React.JSX.Element;
|
|
6
7
|
export default MarkdownCode;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
3
|
import { HeadingProps } from 'react-markdown/lib/ast-to-react';
|
|
3
4
|
declare const MarkdownHeading: {
|
|
4
|
-
({ level, children }: HeadingProps): JSX.Element;
|
|
5
|
+
({ level, children }: HeadingProps): React.JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
7
|
level: PropTypes.Validator<number>;
|
|
7
8
|
children: PropTypes.Validator<any[]>;
|
package/dist/markdown/link.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
3
|
import { ReactMarkdownProps } from 'react-markdown/lib/complex-types';
|
|
3
4
|
declare const MarkdownLink: {
|
|
4
|
-
({ href, title, children }: JSX.IntrinsicElements['a'] & ReactMarkdownProps): JSX.Element;
|
|
5
|
+
({ href, title, children }: JSX.IntrinsicElements['a'] & ReactMarkdownProps): React.JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
7
|
href: PropTypes.Requireable<string>;
|
|
7
8
|
title: PropTypes.Requireable<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
1
|
+
import React, { PureComponent } from 'react';
|
|
2
2
|
import { Options } from 'react-markdown';
|
|
3
3
|
export interface BaseMarkdownProps {
|
|
4
4
|
inline?: boolean | null | undefined;
|
|
@@ -9,7 +9,7 @@ export type MarkdownProps = Options & BaseMarkdownProps;
|
|
|
9
9
|
* @name Markdown
|
|
10
10
|
*/
|
|
11
11
|
export default class Markdown extends PureComponent<MarkdownProps> {
|
|
12
|
-
render(): JSX.Element;
|
|
12
|
+
render(): React.JSX.Element;
|
|
13
13
|
}
|
|
14
14
|
declare const md: (strings: TemplateStringsArray, ...interpolations: unknown[]) => void;
|
|
15
15
|
export { md };
|
|
@@ -20,7 +20,7 @@ import '../_helpers/link.js';
|
|
|
20
20
|
import '../heading/heading.js';
|
|
21
21
|
import 'util-deprecate';
|
|
22
22
|
|
|
23
|
-
var modules_9c709e64 = {"unit":"i__const_unit_0","p-margin":"10px","light":"
|
|
23
|
+
var modules_9c709e64 = {"unit":"i__const_unit_0","p-margin":"10px","light":"light_rui_2ac4","inline":"inline_rui_e3b3","markdown":"markdown_rui_e3b3 font_rui_8bff"};
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* @name Markdown
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, ReactNode } from 'react';
|
|
1
|
+
import React, { Component, ReactNode } from 'react';
|
|
2
2
|
import Popup, { PopupAttrs } from '../popup/popup';
|
|
3
3
|
import { Directions } from '../popup/popup.consts';
|
|
4
4
|
import { IconType } from '../icon/icon';
|
|
@@ -49,7 +49,7 @@ export default class Message extends Component<MessageProps> {
|
|
|
49
49
|
node?: HTMLElement | null;
|
|
50
50
|
popupRef: (el: Popup | null) => void;
|
|
51
51
|
getTailOffset(): number;
|
|
52
|
-
render(): JSX.Element;
|
|
52
|
+
render(): React.JSX.Element;
|
|
53
53
|
}
|
|
54
54
|
export type MessageAttrs = JSX.LibraryManagedAttributes<typeof Message, MessageProps>;
|
|
55
55
|
export {};
|
package/dist/message/message.js
CHANGED
|
@@ -33,7 +33,7 @@ import '../global/controls-height.js';
|
|
|
33
33
|
import '../_helpers/button__classes.js';
|
|
34
34
|
import '../i18n/i18n.js';
|
|
35
35
|
|
|
36
|
-
var modules_8b837449 = {"unit":"i__const_unit_0","padding":"12px","light":"
|
|
36
|
+
var modules_8b837449 = {"unit":"i__const_unit_0","padding":"12px","light":"light_rui_2ac4","container":"container_rui_f3db","message":"message_rui_f3db","icon":"icon_rui_f3db","title":"title_rui_f3db font-lower_rui_8bff font_rui_8bff","description":"description_rui_f3db","button":"button_rui_f3db","tail":"tail_rui_f3db"};
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* @name Message
|
|
@@ -63,6 +63,6 @@ function RingMessageBundle(ringI18n) {
|
|
|
63
63
|
|
|
64
64
|
angularModule.factory('ringI18n', emptyI18n);
|
|
65
65
|
angularModule.service('RingMessageBundle', ['ringI18n', RingMessageBundle]);
|
|
66
|
-
var
|
|
66
|
+
var MessageBundle = angularModule.name;
|
|
67
67
|
|
|
68
|
-
export {
|
|
68
|
+
export { MessageBundle as default };
|
|
@@ -5,11 +5,11 @@ const MAJOR_VERSION_INDEX = 0;
|
|
|
5
5
|
/**
|
|
6
6
|
* SUPPORTED_BROWSERS are defined by Babel plugin, see babel config
|
|
7
7
|
*/
|
|
8
|
-
if (!["and_chr
|
|
8
|
+
if (!["and_chr 113", "chrome 112", "chrome 111", "chrome 109", "edge 112", "edge 111", "firefox 111", "ios_saf 16.4", "ios_saf 16.3", "ios_saf 16.2", "ios_saf 16.1", "safari 16.3", "samsung 20"]) {
|
|
9
9
|
// eslint-disable-next-line no-console
|
|
10
10
|
console.warn('Ring UI: no SUPPORTED_BROWSERS passed. Please check babel config.');
|
|
11
11
|
}
|
|
12
|
-
const SUPPORTED = ["and_chr
|
|
12
|
+
const SUPPORTED = ["and_chr 113", "chrome 112", "chrome 111", "chrome 109", "edge 112", "edge 111", "firefox 111", "ios_saf 16.4", "ios_saf 16.3", "ios_saf 16.2", "ios_saf 16.1", "safari 16.3", "samsung 20"] || [];
|
|
13
13
|
const WHITE_LISTED_BROWSERS = ['chrome', 'firefox', 'safari', 'edge'];
|
|
14
14
|
const WHITE_LIST = SUPPORTED.reduce((acc, item) => {
|
|
15
15
|
var _item$match;
|
package/dist/pager/pager.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export default class Pager extends PureComponent<PagerProps> {
|
|
|
57
57
|
handleNextClick: () => void;
|
|
58
58
|
handlePageChange: (arg: number) => (event: React.MouseEvent) => void;
|
|
59
59
|
handleLoadMore: (arg: number) => () => void;
|
|
60
|
-
getButton(page: number, content: ReactNode, key?: number, active?: boolean): JSX.Element;
|
|
60
|
+
getButton(page: number, content: ReactNode, key?: number, active?: boolean): React.JSX.Element;
|
|
61
61
|
getClickProps(onClick: (e: React.MouseEvent) => void): {
|
|
62
62
|
onPlainLeftClick?: undefined;
|
|
63
63
|
onClick?: undefined;
|
|
@@ -68,11 +68,11 @@ export default class Pager extends PureComponent<PagerProps> {
|
|
|
68
68
|
onClick: (e: React.MouseEvent) => void;
|
|
69
69
|
onPlainLeftClick?: undefined;
|
|
70
70
|
};
|
|
71
|
-
getPageSizeSelector(): false | JSX.Element;
|
|
72
|
-
getPagerLinks(): JSX.Element;
|
|
71
|
+
getPageSizeSelector(): false | React.JSX.Element;
|
|
72
|
+
getPagerLinks(): React.JSX.Element;
|
|
73
73
|
generateHref(page: number): string | undefined;
|
|
74
|
-
getPagerContent(): JSX.Element;
|
|
75
|
-
render(): JSX.Element;
|
|
74
|
+
getPagerContent(): React.JSX.Element;
|
|
75
|
+
render(): React.JSX.Element;
|
|
76
76
|
}
|
|
77
77
|
export type PagerAttrs = JSX.LibraryManagedAttributes<typeof Pager, PagerProps>;
|
|
78
78
|
export {};
|
package/dist/pager/pager.js
CHANGED
|
@@ -88,7 +88,7 @@ import '../caret/caret.js';
|
|
|
88
88
|
import '../text/text.js';
|
|
89
89
|
import '../_helpers/select__filter.js';
|
|
90
90
|
|
|
91
|
-
var modules_1a5f0d42 = {"unit":"i__const_unit_0","light":"
|
|
91
|
+
var modules_1a5f0d42 = {"unit":"i__const_unit_0","light":"light_rui_2ac4","pager":"pager_rui_2db7","links":"links_rui_2db7","link":"link_rui_2db7","linkDisabled":"linkDisabled_rui_2db7"};
|
|
92
92
|
|
|
93
93
|
class Pager extends PureComponent {
|
|
94
94
|
static defaultProps = {
|
package/dist/panel/panel.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PureComponent } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PureComponent } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
/**
|
|
4
4
|
* @name Panel
|
|
@@ -8,5 +8,5 @@ export default class Panel extends PureComponent<HTMLAttributes<HTMLElement>> {
|
|
|
8
8
|
className: PropTypes.Requireable<string>;
|
|
9
9
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
10
10
|
};
|
|
11
|
-
render(): JSX.Element;
|
|
11
|
+
render(): React.JSX.Element;
|
|
12
12
|
}
|
package/dist/popup/popup.d.ts
CHANGED
|
@@ -136,12 +136,12 @@ export default class Popup<P extends BasePopupProps = PopupProps> extends PureCo
|
|
|
136
136
|
* @private
|
|
137
137
|
*/
|
|
138
138
|
private _onDocumentClick;
|
|
139
|
-
getInternalContent(): JSX.Element | P["children"] | undefined;
|
|
139
|
+
getInternalContent(): React.JSX.Element | P["children"] | undefined;
|
|
140
140
|
shortcutsScope: string;
|
|
141
141
|
shortcutsMap: {
|
|
142
142
|
esc: (evt: KeyboardEvent) => void;
|
|
143
143
|
};
|
|
144
|
-
render(): JSX.Element;
|
|
144
|
+
render(): React.JSX.Element;
|
|
145
145
|
}
|
|
146
146
|
export type PopupAttrs = JSX.LibraryManagedAttributes<typeof Popup, PopupProps>;
|
|
147
147
|
export type BasePopupAttrs = JSX.LibraryManagedAttributes<typeof Popup, BasePopupProps>;
|
package/dist/popup/popup.js
CHANGED
|
@@ -17,7 +17,7 @@ import '../global/sniffer.js';
|
|
|
17
17
|
import 'sniffr';
|
|
18
18
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
19
19
|
|
|
20
|
-
var modules_2f69e2e2 = {"light":"
|
|
20
|
+
var modules_2f69e2e2 = {"light":"light_rui_2ac4","popup":"popup_rui_7cd4 font_rui_8bff","hidden":"hidden_rui_7cd4","showing":"showing_rui_7cd4","attached":"attached_rui_7cd4"};
|
|
21
21
|
|
|
22
22
|
const stop = e => e.stopPropagation();
|
|
23
23
|
const getPopupContainer = target => typeof target === 'string' ? document.querySelector(`[data-portaltarget=${target}]`) : target;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SyntheticEvent } from 'react';
|
|
1
|
+
import React, { SyntheticEvent } from 'react';
|
|
2
2
|
import Popup, { BasePopupProps } from '../popup/popup';
|
|
3
3
|
import List, { ListProps as ListPropsType } from '../list/list';
|
|
4
4
|
import { ListDataItem } from '../list/consts';
|
|
@@ -51,7 +51,7 @@ export default class PopupMenu<T = unknown> extends Popup<PopupMenuProps<T>> {
|
|
|
51
51
|
list?: List<T> | null;
|
|
52
52
|
listRef: (el: List<T> | null) => void;
|
|
53
53
|
/** @override */
|
|
54
|
-
getInternalContent(): JSX.Element;
|
|
54
|
+
getInternalContent(): React.JSX.Element;
|
|
55
55
|
}
|
|
56
56
|
export type PopupMenuAttrs<T = unknown> = JSX.LibraryManagedAttributes<typeof PopupMenu, PopupMenuProps<T>>;
|
|
57
57
|
export declare const ListProps: {
|