@atlaskit/editor-common 99.7.2 → 99.8.0
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/CHANGELOG.md +9 -0
- package/dist/cjs/collab/index.js +1 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/collab/index.js +2 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/collab/index.js +2 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/card/ui/assets/card.d.ts +2 -2
- package/dist/types/card/ui/assets/embed.d.ts +2 -2
- package/dist/types/card/ui/assets/inline.d.ts +2 -2
- package/dist/types/card/ui/assets/url.d.ts +2 -2
- package/dist/types/collab/index.d.ts +5 -0
- package/dist/types/doc-utils/editor-use-only.d.ts +2 -2
- package/dist/types/element-browser/ElementBrowser.d.ts +2 -2
- package/dist/types/extensibility/Extension/Extension/index.d.ts +2 -2
- package/dist/types/extensibility/Extension.d.ts +2 -2
- package/dist/types/extensibility/ExtensionComponent.d.ts +4 -4
- package/dist/types/extensibility/extensionNodeView.d.ts +2 -2
- package/dist/types/icons/shared/BorderIcon.d.ts +2 -2
- package/dist/types/icons/shared/PanelErrorIcon.d.ts +2 -2
- package/dist/types/icons/shared/PanelInfoIcon.d.ts +2 -2
- package/dist/types/icons/shared/PanelNoteIcon.d.ts +2 -2
- package/dist/types/icons/shared/PanelSuccessIcon.d.ts +2 -2
- package/dist/types/icons/shared/PanelWarningIcon.d.ts +2 -2
- package/dist/types/icons/shared/table.d.ts +2 -2
- package/dist/types/link/LinkPicker/EditorLinkPicker/index.d.ts +1 -1
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +2 -2
- package/dist/types/link/LinkSearch/index.d.ts +4 -4
- package/dist/types/link/LinkSearch/withActivityProvider.d.ts +4 -4
- package/dist/types/media-single/CommentBadgeNext.d.ts +1 -1
- package/dist/types/media-single/ExternalImageBadge.d.ts +2 -2
- package/dist/types/media-single/MediaBadges.d.ts +2 -2
- package/dist/types/portal/PortalBucket.d.ts +2 -2
- package/dist/types/portal/common.d.ts +1 -1
- package/dist/types/quick-insert/assets/action.d.ts +2 -2
- package/dist/types/quick-insert/assets/code.d.ts +2 -2
- package/dist/types/quick-insert/assets/custom-panel.d.ts +2 -2
- package/dist/types/quick-insert/assets/datasource-assets-objects.d.ts +2 -2
- package/dist/types/quick-insert/assets/datasource-confluence-search.d.ts +2 -2
- package/dist/types/quick-insert/assets/datasource-jira-issue.d.ts +2 -2
- package/dist/types/quick-insert/assets/date.d.ts +2 -2
- package/dist/types/quick-insert/assets/decision.d.ts +2 -2
- package/dist/types/quick-insert/assets/divider.d.ts +2 -2
- package/dist/types/quick-insert/assets/emoji.d.ts +2 -2
- package/dist/types/quick-insert/assets/expand.d.ts +2 -2
- package/dist/types/quick-insert/assets/fallback.d.ts +2 -2
- package/dist/types/quick-insert/assets/feedback.d.ts +2 -2
- package/dist/types/quick-insert/assets/five-column-layout.d.ts +2 -2
- package/dist/types/quick-insert/assets/four-column-layout.d.ts +2 -2
- package/dist/types/quick-insert/assets/heading1.d.ts +2 -2
- package/dist/types/quick-insert/assets/heading2.d.ts +2 -2
- package/dist/types/quick-insert/assets/heading3.d.ts +2 -2
- package/dist/types/quick-insert/assets/heading4.d.ts +2 -2
- package/dist/types/quick-insert/assets/heading5.d.ts +2 -2
- package/dist/types/quick-insert/assets/heading6.d.ts +2 -2
- package/dist/types/quick-insert/assets/images.d.ts +2 -2
- package/dist/types/quick-insert/assets/index.d.ts +1 -1
- package/dist/types/quick-insert/assets/layout.d.ts +2 -2
- package/dist/types/quick-insert/assets/link.d.ts +2 -2
- package/dist/types/quick-insert/assets/list-number.d.ts +2 -2
- package/dist/types/quick-insert/assets/list.d.ts +2 -2
- package/dist/types/quick-insert/assets/loom.d.ts +2 -2
- package/dist/types/quick-insert/assets/mention.d.ts +2 -2
- package/dist/types/quick-insert/assets/one-column-layout.d.ts +2 -2
- package/dist/types/quick-insert/assets/panel-error.d.ts +2 -2
- package/dist/types/quick-insert/assets/panel-note.d.ts +2 -2
- package/dist/types/quick-insert/assets/panel-success.d.ts +2 -2
- package/dist/types/quick-insert/assets/panel-warning.d.ts +2 -2
- package/dist/types/quick-insert/assets/panel.d.ts +2 -2
- package/dist/types/quick-insert/assets/quote.d.ts +2 -2
- package/dist/types/quick-insert/assets/status.d.ts +2 -2
- package/dist/types/quick-insert/assets/three-column-layout.d.ts +2 -2
- package/dist/types/quick-insert/assets/two-column-layout.d.ts +2 -2
- package/dist/types/resizer/BreakoutResizer.d.ts +2 -2
- package/dist/types/ui/BaseTheme/index.d.ts +2 -2
- package/dist/types/ui/ContextPanel/context.d.ts +1 -1
- package/dist/types/ui/Emoji/index.d.ts +1 -1
- package/dist/types/ui/FloatingToolbar/Button.d.ts +1 -1
- package/dist/types/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +2 -2
- package/dist/types/ui/IntlErrorBoundary/index.d.ts +1 -1
- package/dist/types/ui/Layer/index.d.ts +1 -1
- package/dist/types/ui/Mention/index.d.ts +2 -2
- package/dist/types/ui/Mention/mention-with-profilecard.d.ts +2 -2
- package/dist/types/ui/Mention/mention-with-providers.d.ts +3 -3
- package/dist/types/ui/OverflowShadow/index.d.ts +2 -2
- package/dist/types/ui/Popup/index.d.ts +1 -1
- package/dist/types/ui/Pulse/Pulse.d.ts +2 -2
- package/dist/types/ui/ResizerLegacy/index.d.ts +1 -1
- package/dist/types/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.d.ts +1 -1
- package/dist/types/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.d.ts +1 -1
- package/dist/types/ui-menu/ArrowKeyNavigationProvider/index.d.ts +1 -1
- package/dist/types/ui-menu/ColorPickerButton/index.d.ts +1 -1
- package/dist/types/ui-menu/Dropdown/index.d.ts +1 -1
- package/dist/types/utils/withFeatureFlaggedComponent.d.ts +1 -1
- package/dist/types/with-plugin-state/index.d.ts +1 -1
- package/dist/types-ts4.5/card/ui/assets/card.d.ts +2 -2
- package/dist/types-ts4.5/card/ui/assets/embed.d.ts +2 -2
- package/dist/types-ts4.5/card/ui/assets/inline.d.ts +2 -2
- package/dist/types-ts4.5/card/ui/assets/url.d.ts +2 -2
- package/dist/types-ts4.5/collab/index.d.ts +5 -0
- package/dist/types-ts4.5/doc-utils/editor-use-only.d.ts +2 -2
- package/dist/types-ts4.5/element-browser/ElementBrowser.d.ts +2 -2
- package/dist/types-ts4.5/extensibility/Extension/Extension/index.d.ts +2 -2
- package/dist/types-ts4.5/extensibility/Extension.d.ts +2 -2
- package/dist/types-ts4.5/extensibility/ExtensionComponent.d.ts +4 -4
- package/dist/types-ts4.5/extensibility/extensionNodeView.d.ts +2 -2
- package/dist/types-ts4.5/icons/shared/BorderIcon.d.ts +2 -2
- package/dist/types-ts4.5/icons/shared/PanelErrorIcon.d.ts +2 -2
- package/dist/types-ts4.5/icons/shared/PanelInfoIcon.d.ts +2 -2
- package/dist/types-ts4.5/icons/shared/PanelNoteIcon.d.ts +2 -2
- package/dist/types-ts4.5/icons/shared/PanelSuccessIcon.d.ts +2 -2
- package/dist/types-ts4.5/icons/shared/PanelWarningIcon.d.ts +2 -2
- package/dist/types-ts4.5/icons/shared/table.d.ts +2 -2
- package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/index.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +2 -2
- package/dist/types-ts4.5/link/LinkSearch/index.d.ts +4 -4
- package/dist/types-ts4.5/link/LinkSearch/withActivityProvider.d.ts +4 -4
- package/dist/types-ts4.5/media-single/CommentBadgeNext.d.ts +1 -1
- package/dist/types-ts4.5/media-single/ExternalImageBadge.d.ts +2 -2
- package/dist/types-ts4.5/media-single/MediaBadges.d.ts +2 -2
- package/dist/types-ts4.5/portal/PortalBucket.d.ts +2 -2
- package/dist/types-ts4.5/portal/common.d.ts +1 -1
- package/dist/types-ts4.5/quick-insert/assets/action.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/code.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/custom-panel.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/datasource-assets-objects.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/datasource-confluence-search.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/datasource-jira-issue.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/date.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/decision.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/divider.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/emoji.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/expand.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/fallback.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/feedback.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/five-column-layout.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/four-column-layout.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/heading1.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/heading2.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/heading3.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/heading4.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/heading5.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/heading6.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/images.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/index.d.ts +1 -1
- package/dist/types-ts4.5/quick-insert/assets/layout.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/link.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/list-number.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/list.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/loom.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/mention.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/one-column-layout.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/panel-error.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/panel-note.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/panel-success.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/panel-warning.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/panel.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/quote.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/status.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/three-column-layout.d.ts +2 -2
- package/dist/types-ts4.5/quick-insert/assets/two-column-layout.d.ts +2 -2
- package/dist/types-ts4.5/resizer/BreakoutResizer.d.ts +2 -2
- package/dist/types-ts4.5/ui/BaseTheme/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/ContextPanel/context.d.ts +1 -1
- package/dist/types-ts4.5/ui/Emoji/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +1 -1
- package/dist/types-ts4.5/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +2 -2
- package/dist/types-ts4.5/ui/IntlErrorBoundary/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Layer/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Mention/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/Mention/mention-with-profilecard.d.ts +2 -2
- package/dist/types-ts4.5/ui/Mention/mention-with-providers.d.ts +3 -3
- package/dist/types-ts4.5/ui/OverflowShadow/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/Popup/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Pulse/Pulse.d.ts +2 -2
- package/dist/types-ts4.5/ui/ResizerLegacy/index.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/index.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/Dropdown/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/withFeatureFlaggedComponent.d.ts +1 -1
- package/dist/types-ts4.5/with-plugin-state/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function IconLink(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function IconLink(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function IconListOrdered(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function IconListOrdered(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function IconList(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function IconList(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function IconLayout(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function IconLayout(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function IconMention(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function IconMention(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function OneColumnLayoutIcon(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function OneColumnLayoutIcon(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function IconPanelError(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function IconPanelError(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function IconPanelNote(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function IconPanelNote(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function IconPanelSuccess(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function IconPanelSuccess(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function IconPanelWarning(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function IconPanelWarning(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function IconPanel(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function IconPanel(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function IconQuote(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function IconQuote(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function IconStatus(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function IconStatus(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function ThreeColumnLayoutIcon(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function ThreeColumnLayoutIcon(): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function TwoColumnLayoutIcon(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function TwoColumnLayoutIcon(): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '../analytics';
|
|
4
4
|
import { type EditorContainerWidth, type getPosHandlerNode } from '../types';
|
|
@@ -23,5 +23,5 @@ declare const BreakoutResizer: ({ editorView, nodeType, getPos, getRef, disabled
|
|
|
23
23
|
parentRef?: HTMLElement | undefined;
|
|
24
24
|
editorAnalyticsApi?: EditorAnalyticsAPI | undefined;
|
|
25
25
|
displayGapCursor: (toggle: boolean) => boolean;
|
|
26
|
-
}) => JSX.Element;
|
|
26
|
+
}) => React.JSX.Element;
|
|
27
27
|
export { BreakoutResizer };
|
|
@@ -12,10 +12,10 @@ declare module '@emotion/react' {
|
|
|
12
12
|
layoutMaxWidth: number;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
export declare function BaseThemeWrapper({ baseFontSize, children }: BaseThemeWrapperProps): JSX.Element;
|
|
15
|
+
export declare function BaseThemeWrapper({ baseFontSize, children }: BaseThemeWrapperProps): React.JSX.Element;
|
|
16
16
|
type BaseThemeProps = {
|
|
17
17
|
children: React.ReactNode;
|
|
18
18
|
baseFontSize?: number;
|
|
19
19
|
};
|
|
20
|
-
export declare function BaseTheme({ children, baseFontSize }: BaseThemeProps): JSX.Element;
|
|
20
|
+
export declare function BaseTheme({ children, baseFontSize }: BaseThemeProps): React.JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -18,7 +18,7 @@ export declare class ContextPanelWidthProvider extends React.Component<any, Cont
|
|
|
18
18
|
constructor(props: any);
|
|
19
19
|
broadcastSidebarWidth: (width: number) => void;
|
|
20
20
|
broadcastPosition: (positionedOverEditor: boolean) => void;
|
|
21
|
-
render(): JSX.Element;
|
|
21
|
+
render(): React.JSX.Element;
|
|
22
22
|
}
|
|
23
23
|
declare const Provider: React.Provider<ContextPanelContext>, Consumer: React.Consumer<ContextPanelContext>;
|
|
24
24
|
export { Provider as ContextPanelProvider, Consumer as ContextPanelConsumer };
|
|
@@ -10,5 +10,5 @@ export interface EmojiProps extends EmojiId {
|
|
|
10
10
|
resourceConfig?: EmojiResourceConfig;
|
|
11
11
|
emojiProvider?: EmojiProvider;
|
|
12
12
|
}
|
|
13
|
-
declare const _default: React.MemoExoticComponent<(props: EmojiProps) => JSX.Element>;
|
|
13
|
+
declare const _default: React.MemoExoticComponent<(props: EmojiProps) => React.JSX.Element>;
|
|
14
14
|
export default _default;
|
|
@@ -34,5 +34,5 @@ export interface Props {
|
|
|
34
34
|
pulse?: boolean;
|
|
35
35
|
spotlightConfig?: FloatingToolbarButtonSpotlightConfig;
|
|
36
36
|
}
|
|
37
|
-
declare const _default: ({ title, icon, iconAfter, onClick, onKeyDown, onMouseEnter, onMouseLeave, onFocus, onBlur, onMount, onUnmount, selected, disabled, href, target, appearance, children, className, tooltipContent, tooltipStyle, testId, hideTooltipOnClick, ariaHasPopup, tabIndex, areaControls, ariaLabel, isRadioButton, pulse, spotlightConfig, }: Props) => JSX.Element;
|
|
37
|
+
declare const _default: ({ title, icon, iconAfter, onClick, onKeyDown, onMouseEnter, onMouseLeave, onFocus, onBlur, onMount, onUnmount, selected, disabled, href, target, appearance, children, className, tooltipContent, tooltipStyle, testId, hideTooltipOnClick, ariaHasPopup, tabIndex, areaControls, ariaLabel, isRadioButton, pulse, spotlightConfig, }: Props) => React.JSX.Element;
|
|
38
38
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentProps } from 'react';
|
|
1
|
+
import React, { type ComponentProps } from 'react';
|
|
2
2
|
import { SpotlightCard } from '@atlaskit/onboarding';
|
|
3
3
|
import { type Placement } from '@atlaskit/popper';
|
|
4
4
|
type PropsFromSpotlightCard = ComponentProps<typeof SpotlightCard>;
|
|
@@ -6,5 +6,5 @@ export type ButtonSpotlightCardProps = PropsFromSpotlightCard & {
|
|
|
6
6
|
referenceElement: HTMLElement;
|
|
7
7
|
placement?: Placement;
|
|
8
8
|
};
|
|
9
|
-
export declare const ButtonSpotlightCard: (props: ButtonSpotlightCardProps) => JSX.Element;
|
|
9
|
+
export declare const ButtonSpotlightCard: (props: ButtonSpotlightCardProps) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -11,6 +11,6 @@ export declare class IntlErrorBoundary extends React.Component<ErrorBoundaryProp
|
|
|
11
11
|
missingIntlProviderInAncestry: boolean;
|
|
12
12
|
};
|
|
13
13
|
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
14
|
-
render(): string | number | boolean | React.
|
|
14
|
+
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
15
15
|
}
|
|
16
16
|
export {};
|
|
@@ -44,5 +44,5 @@ export default class Layer extends Component<Props, State> {
|
|
|
44
44
|
calculateMaxHeight(originalHeight: number, currentHeight: number, positionTop: number, cssPosition: string): number | null;
|
|
45
45
|
extractStyles: (state: Data) => void;
|
|
46
46
|
applyPopper(props: Props): void;
|
|
47
|
-
render(): JSX.Element;
|
|
47
|
+
render(): React.JSX.Element;
|
|
48
48
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
1
|
+
import React, { PureComponent } from 'react';
|
|
2
2
|
import { ProviderFactory } from '../../provider-factory';
|
|
3
3
|
import { type ProfilecardProvider } from '../../provider-factory/profile-card-provider';
|
|
4
4
|
import { type MentionEventHandlers } from '../EventHandlers';
|
|
@@ -18,5 +18,5 @@ export default class Mention extends PureComponent<MentionProps, Object> {
|
|
|
18
18
|
constructor(props: MentionProps);
|
|
19
19
|
componentWillUnmount(): void;
|
|
20
20
|
private renderWithProvider;
|
|
21
|
-
render(): JSX.Element;
|
|
21
|
+
render(): React.JSX.Element;
|
|
22
22
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { MentionProvider } from '@atlaskit/mention';
|
|
3
3
|
import type { ProfilecardProvider } from '../../provider-factory/profile-card-provider';
|
|
4
4
|
import type { MentionEventHandler } from '../EventHandlers';
|
|
@@ -14,4 +14,4 @@ export interface Props {
|
|
|
14
14
|
onMouseLeave?: MentionEventHandler;
|
|
15
15
|
localId?: string;
|
|
16
16
|
}
|
|
17
|
-
export default function MentionWithProfileCard({ autoFocus, id, text, accessLevel, mentionProvider, profilecardProvider, onClick, onMouseEnter, onMouseLeave, localId, }: Props): JSX.Element;
|
|
17
|
+
export default function MentionWithProfileCard({ autoFocus, id, text, accessLevel, mentionProvider, profilecardProvider, onClick, onMouseEnter, onMouseLeave, localId, }: Props): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
1
|
+
import React, { PureComponent } from 'react';
|
|
2
2
|
import type { MentionProvider } from '@atlaskit/mention/resource';
|
|
3
3
|
import type { ProfilecardProvider } from '../../provider-factory/profile-card-provider';
|
|
4
4
|
import type { MentionEventHandlers } from '../EventHandlers';
|
|
@@ -14,11 +14,11 @@ export interface Props {
|
|
|
14
14
|
export interface State {
|
|
15
15
|
profilecardProvider: ProfilecardProvider | null;
|
|
16
16
|
}
|
|
17
|
-
export declare const MentionWithProviders: ({ accessLevel, eventHandlers, id, mentionProvider, profilecardProvider: profilecardProviderResolver, text, localId, }: Props) => JSX.Element;
|
|
17
|
+
export declare const MentionWithProviders: ({ accessLevel, eventHandlers, id, mentionProvider, profilecardProvider: profilecardProviderResolver, text, localId, }: Props) => React.JSX.Element;
|
|
18
18
|
export declare class MentionWithProvidersOld extends PureComponent<Props, State> {
|
|
19
19
|
state: State;
|
|
20
20
|
UNSAFE_componentWillMount(): void;
|
|
21
21
|
UNSAFE_componentWillReceiveProps(nextProps: Props): void;
|
|
22
22
|
private updateProfilecardProvider;
|
|
23
|
-
render(): JSX.Element;
|
|
23
|
+
render(): React.JSX.Element;
|
|
24
24
|
}
|
|
@@ -37,7 +37,7 @@ export default function overflowShadow<P>(Component: React.ComponentType<React.P
|
|
|
37
37
|
calcScrollableWidth: () => number;
|
|
38
38
|
handleContainer: (container: HTMLElement | null) => void;
|
|
39
39
|
initShadowObserver(): void;
|
|
40
|
-
render(): JSX.Element;
|
|
40
|
+
render(): React.JSX.Element;
|
|
41
41
|
context: unknown;
|
|
42
42
|
setState<K extends keyof OverflowShadowState>(state: OverflowShadowState | ((prevState: Readonly<OverflowShadowState>, props: Readonly<P>) => OverflowShadowState | Pick<OverflowShadowState, K> | null) | Pick<OverflowShadowState, K> | null, callback?: (() => void) | undefined): void;
|
|
43
43
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
@@ -76,7 +76,7 @@ export default function overflowShadow<P>(Component: React.ComponentType<React.P
|
|
|
76
76
|
calcScrollableWidth: () => number;
|
|
77
77
|
handleContainer: (container: HTMLElement | null) => void;
|
|
78
78
|
initShadowObserver(): void;
|
|
79
|
-
render(): JSX.Element;
|
|
79
|
+
render(): React.JSX.Element;
|
|
80
80
|
context: unknown;
|
|
81
81
|
setState<K extends keyof OverflowShadowState>(state: OverflowShadowState | ((prevState: Readonly<OverflowShadowState>, props: Readonly<P>) => OverflowShadowState | Pick<OverflowShadowState, K> | null) | Pick<OverflowShadowState, K> | null, callback?: (() => void) | undefined): void;
|
|
82
82
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
2
|
interface Props {
|
|
3
3
|
/** If true, the component will have pulse onboarding effect around it. */
|
|
4
4
|
pulse?: boolean;
|
|
@@ -14,5 +14,5 @@ interface Props {
|
|
|
14
14
|
* This custom component exists because the {@link SpotlightPulse} with `pulse={false}` renders extra `div` around `children`.
|
|
15
15
|
* We want to keep `children` as it is if there is no `pulse`.
|
|
16
16
|
*/
|
|
17
|
-
export declare function Pulse({ pulse, radius, children }: Props): JSX.Element;
|
|
17
|
+
export declare function Pulse({ pulse, radius, children }: Props): React.JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -4,4 +4,4 @@ import type { ColorPaletteArrowKeyNavigationProps } from '../types';
|
|
|
4
4
|
* This component is a wrapper for color picker which listens to keydown events of children
|
|
5
5
|
* and handles arrow key navigation
|
|
6
6
|
*/
|
|
7
|
-
export declare const ColorPaletteArrowKeyNavigationProvider: ({ children, selectedRowIndex, selectedColumnIndex, isOpenedByKeyboard, isPopupPositioned, handleClose, closeOnTab, editorRef, ignoreEscapeKey, popupsMountPoint, }: React.PropsWithChildren<Omit<ColorPaletteArrowKeyNavigationProps, 'type'>>) => JSX.Element;
|
|
7
|
+
export declare const ColorPaletteArrowKeyNavigationProvider: ({ children, selectedRowIndex, selectedColumnIndex, isOpenedByKeyboard, isPopupPositioned, handleClose, closeOnTab, editorRef, ignoreEscapeKey, popupsMountPoint, }: React.PropsWithChildren<Omit<ColorPaletteArrowKeyNavigationProps, 'type'>>) => React.JSX.Element;
|
package/dist/types/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ import type { MenuArrowKeyNavigationProviderProps } from '../types';
|
|
|
4
4
|
* This component is a wrapper of vertical menus which listens to keydown events of children
|
|
5
5
|
* and handles up/down arrow key navigation
|
|
6
6
|
*/
|
|
7
|
-
export declare const MenuArrowKeyNavigationProvider: ({ children, handleClose, disableArrowKeyNavigation, keyDownHandlerContext, closeOnTab, onSelection, editorRef, popupsMountPoint, disableCloseOnArrowClick, }: React.PropsWithChildren<Omit<MenuArrowKeyNavigationProviderProps, 'type'>>) => JSX.Element;
|
|
7
|
+
export declare const MenuArrowKeyNavigationProvider: ({ children, handleClose, disableArrowKeyNavigation, keyDownHandlerContext, closeOnTab, onSelection, editorRef, popupsMountPoint, disableCloseOnArrowClick, }: React.PropsWithChildren<Omit<MenuArrowKeyNavigationProviderProps, 'type'>>) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ArrowKeyNavigationProviderProps } from './types';
|
|
3
|
-
export declare const ArrowKeyNavigationProvider: (props: React.PropsWithChildren<ArrowKeyNavigationProviderProps>) => JSX.Element;
|
|
3
|
+
export declare const ArrowKeyNavigationProvider: (props: React.PropsWithChildren<ArrowKeyNavigationProviderProps>) => React.JSX.Element;
|
|
@@ -14,7 +14,7 @@ declare const _default: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
|
14
14
|
colorPalette: PaletteColor[];
|
|
15
15
|
placement: string;
|
|
16
16
|
cols?: number | undefined;
|
|
17
|
-
alignX?: "
|
|
17
|
+
alignX?: "left" | "right" | "center" | "end" | undefined;
|
|
18
18
|
size?: {
|
|
19
19
|
width: string;
|
|
20
20
|
height: string;
|
|
@@ -34,7 +34,7 @@ export declare class Dropdown extends PureComponent<Props, State> {
|
|
|
34
34
|
private handleCloseAndFocus;
|
|
35
35
|
private handleClose;
|
|
36
36
|
private renderDropdown;
|
|
37
|
-
render(): JSX.Element;
|
|
37
|
+
render(): React.JSX.Element;
|
|
38
38
|
}
|
|
39
39
|
export type DropdownPropsWithOutsideClickProps = Props & WithOutsideClickProps;
|
|
40
40
|
declare const DropdownWithOuterListeners: React.ComponentType<React.PropsWithChildren<DropdownPropsWithOutsideClickProps>>;
|
|
@@ -6,4 +6,4 @@ import React from 'react';
|
|
|
6
6
|
* @param featureFlagFn function that returns a boolean value to switch to the next component, e.g. () => fg('platform_editor_react18_phase2_v2')
|
|
7
7
|
* @returns
|
|
8
8
|
*/
|
|
9
|
-
export declare const withFeatureFlaggedComponent: <P extends object>(ComponentOld: React.ComponentType<P>, ComponentNext: React.ComponentType<P>, featureFlagFn: () => boolean) => (props: P) => JSX.Element;
|
|
9
|
+
export declare const withFeatureFlaggedComponent: <P extends object>(ComponentOld: React.ComponentType<P>, ComponentNext: React.ComponentType<P>, featureFlagFn: () => boolean) => (props: P) => React.JSX.Element;
|
|
@@ -75,7 +75,7 @@ export interface Props<P extends NamedPluginKeys> {
|
|
|
75
75
|
*/
|
|
76
76
|
declare class WithPluginState<P extends NamedPluginKeys> extends React.Component<WithPluginStateInnerProps<P>, State> {
|
|
77
77
|
constructor(props: WithPluginStateInnerProps<P>);
|
|
78
|
-
render(): JSX.Element;
|
|
78
|
+
render(): React.JSX.Element;
|
|
79
79
|
}
|
|
80
80
|
type WithPluginStateInnerProps<P extends NamedPluginKeys> = Props<P> & {
|
|
81
81
|
editorActions?: EditorActionsPrivateAccess;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { NewIconProps } from '@atlaskit/icon/types';
|
|
3
|
-
export declare const IconCard: (props: NewIconProps) => JSX.Element;
|
|
3
|
+
export declare const IconCard: (props: NewIconProps) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { NewIconProps } from '@atlaskit/icon/types';
|
|
3
|
-
export declare const IconEmbed: (props: NewIconProps) => JSX.Element;
|
|
3
|
+
export declare const IconEmbed: (props: NewIconProps) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { NewIconProps } from '@atlaskit/icon/types';
|
|
3
|
-
export declare const IconInline: (props: NewIconProps) => JSX.Element;
|
|
3
|
+
export declare const IconInline: (props: NewIconProps) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { NewCoreIconProps } from '@atlaskit/icon/types';
|
|
3
|
-
export declare const IconUrl: (props: NewCoreIconProps) => JSX.Element;
|
|
3
|
+
export declare const IconUrl: (props: NewCoreIconProps) => React.JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
2
|
import { type BatchAttrsStep, type OverrideDocumentStepJSON as OverrideDocumentStep } from '@atlaskit/adf-schema/steps';
|
|
3
3
|
import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
4
|
+
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
5
|
import type { EditorState, ReadonlyTransaction, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
5
6
|
import type { Step } from '@atlaskit/editor-prosemirror/transform';
|
|
6
7
|
import { token } from '@atlaskit/tokens';
|
|
@@ -416,6 +417,9 @@ export type UserPermitType = {
|
|
|
416
417
|
isPermittedToEdit: boolean;
|
|
417
418
|
};
|
|
418
419
|
export type CollabPermissionEventPayload = UserPermitType;
|
|
420
|
+
export interface CollabEventConflictPayload {
|
|
421
|
+
offlineDoc: PMNode;
|
|
422
|
+
}
|
|
419
423
|
export interface CollabEvents {
|
|
420
424
|
/**
|
|
421
425
|
* Experimental Only: Teammate Presence (Confluence Land and Onboarding)
|
|
@@ -446,6 +450,7 @@ export interface CollabEvents {
|
|
|
446
450
|
permission: CollabPermissionEventPayload;
|
|
447
451
|
'commit-status': CollabCommitStatusEventPayload;
|
|
448
452
|
'namespace-lock:check': CollabNamespaceLockCheckPayload;
|
|
453
|
+
'data:conflict': CollabEventConflictPayload;
|
|
449
454
|
}
|
|
450
455
|
export type SyncUpErrorFunction = (attributes: NewCollabSyncUpErrorAttributes) => void;
|
|
451
456
|
export interface CollabEditProvider<Events extends CollabEvents = CollabEvents> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
1
|
+
import React, { PureComponent } from 'react';
|
|
2
2
|
import type { CellMeasurerCache } from 'react-virtualized/dist/commonjs/CellMeasurer';
|
|
3
3
|
import type { QuickInsertItem } from '../provider-factory';
|
|
4
4
|
import type { EmptyStateHandler } from '../types';
|
|
@@ -35,5 +35,5 @@ export default class ElementBrowser extends PureComponent<Props, State> {
|
|
|
35
35
|
componentDidUpdate(prevProps: Props, prevState: State): void;
|
|
36
36
|
handleSearch: (searchTerm: string) => void;
|
|
37
37
|
handleCategorySelection: (clickedCategory: Category) => void;
|
|
38
|
-
render(): JSX.Element;
|
|
38
|
+
render(): React.JSX.Element;
|
|
39
39
|
}
|
|
@@ -47,7 +47,7 @@ declare const _default: {
|
|
|
47
47
|
calcScrollableWidth: () => number;
|
|
48
48
|
handleContainer: (container: HTMLElement | null) => void;
|
|
49
49
|
initShadowObserver(): void;
|
|
50
|
-
render(): JSX.Element;
|
|
50
|
+
render(): React.JSX.Element;
|
|
51
51
|
context: unknown;
|
|
52
52
|
setState<K extends keyof import("../../../ui").OverflowShadowState>(state: import("../../../ui").OverflowShadowState | ((prevState: Readonly<import("../../../ui").OverflowShadowState>, props: Readonly<Props>) => import("../../../ui").OverflowShadowState | Pick<import("../../../ui").OverflowShadowState, K> | null) | Pick<import("../../../ui").OverflowShadowState, K> | null, callback?: (() => void) | undefined): void;
|
|
53
53
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
@@ -86,7 +86,7 @@ declare const _default: {
|
|
|
86
86
|
calcScrollableWidth: () => number;
|
|
87
87
|
handleContainer: (container: HTMLElement | null) => void;
|
|
88
88
|
initShadowObserver(): void;
|
|
89
|
-
render(): JSX.Element;
|
|
89
|
+
render(): React.JSX.Element;
|
|
90
90
|
context: unknown;
|
|
91
91
|
setState<K extends keyof import("../../../ui").OverflowShadowState>(state: import("../../../ui").OverflowShadowState | ((prevState: Readonly<import("../../../ui").OverflowShadowState>, props: Readonly<Props>) => import("../../../ui").OverflowShadowState | Pick<import("../../../ui").OverflowShadowState, K> | null) | Pick<import("../../../ui").OverflowShadowState, K> | null, callback?: (() => void) | undefined): void;
|
|
92
92
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
2
|
import { type ADFEntity } from '@atlaskit/adf-utils/types';
|
|
3
3
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -30,5 +30,5 @@ export declare class Extension extends Component<Props, any> {
|
|
|
30
30
|
constructor(props: Props);
|
|
31
31
|
componentWillUnmount(): void;
|
|
32
32
|
private renderWithProvider;
|
|
33
|
-
render(): JSX.Element;
|
|
33
|
+
render(): React.JSX.Element;
|
|
34
34
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
2
|
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
3
3
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -53,7 +53,7 @@ export declare class ExtensionComponentOld extends Component<Props, State> {
|
|
|
53
53
|
getExtensionModuleNodePrivateProps: import("memoize-one").MemoizedFn<typeof getExtensionModuleNodePrivateProps>;
|
|
54
54
|
setIsNodeHovered: (isHovered: boolean) => void;
|
|
55
55
|
setShowBodiedExtensionRendererView: (showRendererView: boolean) => void;
|
|
56
|
-
render(): JSX.Element | null;
|
|
56
|
+
render(): React.JSX.Element | null;
|
|
57
57
|
private setStateFromPromise;
|
|
58
58
|
/**
|
|
59
59
|
* Parses any private nodes once an extension provider is available.
|
|
@@ -66,5 +66,5 @@ export declare class ExtensionComponentOld extends Component<Props, State> {
|
|
|
66
66
|
private tryExtensionHandler;
|
|
67
67
|
private handleExtension;
|
|
68
68
|
}
|
|
69
|
-
export declare const ExtensionComponentNew: (props: Props) => JSX.Element;
|
|
70
|
-
export declare const ExtensionComponent: (props: Props) => JSX.Element;
|
|
69
|
+
export declare const ExtensionComponentNew: (props: Props) => React.JSX.Element;
|
|
70
|
+
export declare const ExtensionComponent: (props: Props) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type ADFEntity } from '@atlaskit/adf-utils/types';
|
|
3
3
|
import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -30,7 +30,7 @@ export declare class ExtensionNode extends ReactNodeView {
|
|
|
30
30
|
showLivePagesBodiedMacrosRendererView?: (node: ADFEntity) => boolean;
|
|
31
31
|
showUpdatedLivePages1PBodiedExtensionUI?: (node: ADFEntity) => boolean;
|
|
32
32
|
rendererExtensionHandlers?: ExtensionHandlers;
|
|
33
|
-
}, forwardRef: ForwardRef): JSX.Element;
|
|
33
|
+
}, forwardRef: ForwardRef): React.JSX.Element;
|
|
34
34
|
}
|
|
35
35
|
export default function ExtensionNodeView(portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, extensionHandlers: ExtensionHandlers, extensionNodeViewOptions: ExtensionNodeViewOptions, pluginInjectionApi: ExtensionsPluginInjectionAPI, macroInteractionDesignFeatureFlags?: MacroInteractionDesignFeatureFlags, showLivePagesBodiedMacrosRendererView?: (node: ADFEntity) => boolean, showUpdatedLivePages1PBodiedExtensionUI?: (node: ADFEntity) => boolean, rendererExtensionHandlers?: ExtensionHandlers): (node: PmNode, view: EditorView, getPos: getPosHandler) => NodeView;
|
|
36
36
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { GlyphProps } from '@atlaskit/icon/types';
|
|
3
|
-
export declare const BorderIcon: (props: GlyphProps) => JSX.Element;
|
|
3
|
+
export declare const BorderIcon: (props: GlyphProps) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { GlyphProps } from '@atlaskit/icon/types';
|
|
3
|
-
export declare const PanelErrorIcon: (props: GlyphProps) => JSX.Element;
|
|
3
|
+
export declare const PanelErrorIcon: (props: GlyphProps) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { GlyphProps } from '@atlaskit/icon/types';
|
|
3
|
-
export declare const PanelInfoIcon: (props: GlyphProps) => JSX.Element;
|
|
3
|
+
export declare const PanelInfoIcon: (props: GlyphProps) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { GlyphProps } from '@atlaskit/icon/types';
|
|
3
|
-
export declare const PanelNoteIcon: (props: GlyphProps) => JSX.Element;
|
|
3
|
+
export declare const PanelNoteIcon: (props: GlyphProps) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { GlyphProps } from '@atlaskit/icon/types';
|
|
3
|
-
export declare const PanelSuccessIcon: (props: GlyphProps) => JSX.Element;
|
|
3
|
+
export declare const PanelSuccessIcon: (props: GlyphProps) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { GlyphProps } from '@atlaskit/icon/types';
|
|
3
|
-
export declare const PanelWarningIcon: (props: GlyphProps) => JSX.Element;
|
|
3
|
+
export declare const PanelWarningIcon: (props: GlyphProps) => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function IconTable(): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function IconTable(): React.JSX.Element;
|
|
@@ -19,5 +19,5 @@ export interface EditorLinkPickerProps extends OptionalKeys<React.ComponentProps
|
|
|
19
19
|
onEscapeCallback?: Command;
|
|
20
20
|
onClickAwayCallback?: Command;
|
|
21
21
|
}
|
|
22
|
-
export declare const EditorLinkPicker: ({ view, onCancel, invokeMethod, editorAppearance, onClose, onEscapeCallback, onClickAwayCallback, ...restProps }: EditorLinkPickerProps) => JSX.Element;
|
|
22
|
+
export declare const EditorLinkPicker: ({ view, onCancel, invokeMethod, editorAppearance, onClose, onEscapeCallback, onClickAwayCallback, ...restProps }: EditorLinkPickerProps) => React.JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { ProviderFactory } from '../../../provider-factory';
|
|
@@ -19,4 +19,4 @@ export interface HyperlinkAddToolbarProps extends Pick<EditorLinkPickerProps, 'o
|
|
|
19
19
|
searchSessionId?: string;
|
|
20
20
|
timesViewed?: number;
|
|
21
21
|
}
|
|
22
|
-
export declare function HyperlinkAddToolbar({ linkPickerOptions, onSubmit, displayText, displayUrl, providerFactory, view, onCancel, invokeMethod, lpLinkPicker, onClose, onEscapeCallback, onClickAwayCallback, editorAppearance, inputMethod, searchSessionId, timesViewed, }: HyperlinkAddToolbarProps): JSX.Element;
|
|
22
|
+
export declare function HyperlinkAddToolbar({ linkPickerOptions, onSubmit, displayText, displayUrl, providerFactory, view, onCancel, invokeMethod, lpLinkPicker, onClose, onEscapeCallback, onClickAwayCallback, editorAppearance, inputMethod, searchSessionId, timesViewed, }: HyperlinkAddToolbarProps): React.JSX.Element;
|
|
@@ -3,8 +3,8 @@ import { type RecentSearchProps } from './types';
|
|
|
3
3
|
import { type WithActivityProviderProps } from './withActivityProvider';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
new (props: (import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps) | Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>): {
|
|
6
|
-
renderNode: (providers: import("../../provider-factory").Providers) => JSX.Element;
|
|
7
|
-
render(): JSX.Element;
|
|
6
|
+
renderNode: (providers: import("../../provider-factory").Providers) => React.JSX.Element;
|
|
7
|
+
render(): React.JSX.Element;
|
|
8
8
|
context: unknown;
|
|
9
9
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
10
10
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
@@ -27,8 +27,8 @@ declare const _default: {
|
|
|
27
27
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
28
28
|
};
|
|
29
29
|
new (props: import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps, context: any): {
|
|
30
|
-
renderNode: (providers: import("../../provider-factory").Providers) => JSX.Element;
|
|
31
|
-
render(): JSX.Element;
|
|
30
|
+
renderNode: (providers: import("../../provider-factory").Providers) => React.JSX.Element;
|
|
31
|
+
render(): React.JSX.Element;
|
|
32
32
|
context: unknown;
|
|
33
33
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
34
34
|
forceUpdate(callback?: (() => void) | undefined): void;
|