@atlaskit/editor-common 112.6.0 → 112.7.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 +17 -0
- package/codemods/migrates/entry-points.ts +8 -3
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +0 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/FloatingToolbar/ButtonSpotlightCard.js +1 -1
- package/dist/cjs/ui/Pulse/Pulse.js +2 -0
- package/dist/cjs/ui-menu/DropdownMenu/index.js +0 -2
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +0 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/FloatingToolbar/ButtonSpotlightCard.js +2 -0
- package/dist/es2019/ui/Pulse/Pulse.js +2 -0
- package/dist/es2019/ui-menu/DropdownMenu/index.js +0 -2
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +0 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/FloatingToolbar/ButtonSpotlightCard.js +2 -0
- package/dist/esm/ui/Pulse/Pulse.js +2 -0
- package/dist/esm/ui-menu/DropdownMenu/index.js +0 -2
- package/dist/types/ai-messages/ai-languages.d.ts +190 -190
- package/dist/types/card/LinkToolbarButtonGroup.d.ts +1 -1
- package/dist/types/element-browser/components/CategoryList.d.ts +1 -1
- package/dist/types/element-browser/components/ElementList/ElementList.d.ts +1 -1
- package/dist/types/element-browser/components/ElementSearch.d.ts +1 -1
- package/dist/types/element-browser/components/StatelessElementBrowser.d.ts +1 -1
- package/dist/types/element-browser/components/ViewMore.d.ts +1 -1
- package/dist/types/element-browser/constants.d.ts +2 -2
- package/dist/types/experiences/types.d.ts +1 -1
- package/dist/types/extensions/UnknownMacroPlaceholder.d.ts +1 -1
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +1 -1
- package/dist/types/link/LinkSearch/LinkSearchListItem.d.ts +1 -1
- package/dist/types/media-inline/views/frame.d.ts +1 -1
- package/dist/types/resizer/ResizerBreakoutModeLabel.d.ts +1 -1
- package/dist/types/selection/utils.d.ts +1 -1
- package/dist/types/styles/shared/resizer.d.ts +3 -3
- package/dist/types/styles/shared/table.d.ts +23 -23
- package/dist/types/toolbar/rank.d.ts +151 -151
- package/dist/types/ui/Announcer/announcer.d.ts +1 -1
- package/dist/types/ui/DropList/index.d.ts +1 -1
- package/dist/types/ui/FloatingToolbar/Button.d.ts +1 -1
- package/dist/types/ui/MediaSingle/styled.d.ts +1 -1
- package/dist/types/ui/Toolbar/DropdownTriggerWrapper.d.ts +1 -1
- package/dist/types/ui-menu/ColorPickerButton/index.d.ts +2 -2
- package/dist/types/ui-menu/ToolbarButton/index.d.ts +7 -7
- package/dist/types/utils/breakout.d.ts +1 -1
- package/dist/types/utils/getModeFromTheme.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types-ts4.5/ai-messages/ai-languages.d.ts +190 -190
- package/dist/types-ts4.5/card/LinkToolbarButtonGroup.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/CategoryList.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementList/ElementList.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/StatelessElementBrowser.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ViewMore.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/constants.d.ts +2 -2
- package/dist/types-ts4.5/experiences/types.d.ts +1 -1
- package/dist/types-ts4.5/extensions/UnknownMacroPlaceholder.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkSearch/LinkSearchListItem.d.ts +1 -1
- package/dist/types-ts4.5/media-inline/views/frame.d.ts +1 -1
- package/dist/types-ts4.5/resizer/ResizerBreakoutModeLabel.d.ts +1 -1
- package/dist/types-ts4.5/selection/utils.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/resizer.d.ts +3 -3
- package/dist/types-ts4.5/styles/shared/table.d.ts +23 -23
- package/dist/types-ts4.5/toolbar/rank.d.ts +151 -151
- package/dist/types-ts4.5/ui/Announcer/announcer.d.ts +1 -1
- package/dist/types-ts4.5/ui/DropList/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +1 -1
- package/dist/types-ts4.5/ui/MediaSingle/styled.d.ts +1 -1
- package/dist/types-ts4.5/ui/Toolbar/DropdownTriggerWrapper.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +2 -2
- package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +7 -7
- package/dist/types-ts4.5/utils/breakout.d.ts +1 -1
- package/dist/types-ts4.5/utils/getModeFromTheme.d.ts +1 -1
- package/dist/types-ts4.5/utils/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -9,8 +9,8 @@ export declare const FLEX_ITEMS_CONTAINER_BREAKPOINT_NUMBERS: {
|
|
|
9
9
|
medium: number;
|
|
10
10
|
large: number;
|
|
11
11
|
};
|
|
12
|
-
export declare const SIDEBAR_WIDTH:
|
|
13
|
-
export declare const SIDEBAR_HEADING_WRAPPER_HEIGHT:
|
|
12
|
+
export declare const SIDEBAR_WIDTH: '200px';
|
|
13
|
+
export declare const SIDEBAR_HEADING_WRAPPER_HEIGHT: '48px';
|
|
14
14
|
export declare const SIDEBAR_HEADING_PADDING_LEFT = "12px";
|
|
15
15
|
export declare const INLINE_SIDEBAR_HEIGHT = "54px";
|
|
16
16
|
export declare const SEARCH_ITEM_HEIGHT_WIDTH = "20px";
|
|
@@ -8,6 +8,6 @@ export type CustomExperienceMetadata = {
|
|
|
8
8
|
* Represents the state of an experience throughout its lifecycle.
|
|
9
9
|
*/
|
|
10
10
|
export type ExperienceState = 'pending' | 'started' | 'aborted' | 'failed' | 'succeeded';
|
|
11
|
-
declare const EXPERIENCE_IDS: (
|
|
11
|
+
declare const EXPERIENCE_IDS: ('asyncOperation' | 'menuAction' | 'menuOpen' | 'toolbarAction' | 'toolbarOpen')[];
|
|
12
12
|
export type ExperienceId = (typeof EXPERIENCE_IDS)[number];
|
|
13
13
|
export {};
|
|
@@ -3,5 +3,5 @@ import type { Parameters } from './types/extension-parameters';
|
|
|
3
3
|
interface UnknownMacroPlaceholderProps {
|
|
4
4
|
extensionNode: ExtensionParams<Parameters>;
|
|
5
5
|
}
|
|
6
|
-
export declare function UnknownMacroPlaceholder({ extensionNode }: UnknownMacroPlaceholderProps): JSX.Element;
|
|
6
|
+
export declare function UnknownMacroPlaceholder({ extensionNode, }: UnknownMacroPlaceholderProps): JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -124,7 +124,7 @@ export declare class HyperlinkLinkAddToolbar extends PureComponent<Props, State>
|
|
|
124
124
|
export declare const HyperlinkLinkAddToolbarWithIntl: React.FC<WithIntlProps<HyperlinkLinkAddToolbarProps>> & {
|
|
125
125
|
WrappedComponent: React.ComponentType<HyperlinkLinkAddToolbarProps>;
|
|
126
126
|
};
|
|
127
|
-
declare const _default_1: React.ForwardRefExoticComponent<Omit<Omit<HyperlinkLinkAddToolbarProps,
|
|
127
|
+
declare const _default_1: React.ForwardRefExoticComponent<Omit<Omit<HyperlinkLinkAddToolbarProps, 'intl'> & {
|
|
128
128
|
forwardedRef?: React.Ref<unknown>;
|
|
129
129
|
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<unknown>>;
|
|
130
130
|
export default _default_1;
|
|
@@ -22,7 +22,7 @@ export interface Props {
|
|
|
22
22
|
role?: string;
|
|
23
23
|
selected: boolean;
|
|
24
24
|
}
|
|
25
|
-
export declare const ForwardedLinkSearchListItemWithIntl: React.ForwardRefExoticComponent<Omit<WithIntlProps<React.PropsWithChildren<Props & WrappedComponentProps & React.RefAttributes<HTMLDivElement>>>,
|
|
25
|
+
export declare const ForwardedLinkSearchListItemWithIntl: React.ForwardRefExoticComponent<Omit<WithIntlProps<React.PropsWithChildren<Props & WrappedComponentProps & React.RefAttributes<HTMLDivElement>>>, 'ref'> & React.RefAttributes<any>> & {
|
|
26
26
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
27
|
};
|
|
28
28
|
export default ForwardedLinkSearchListItemWithIntl;
|
|
@@ -8,5 +8,5 @@ interface FrameViewProps {
|
|
|
8
8
|
/** A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests */
|
|
9
9
|
testId?: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const Frame: ({ children, testId }: React.PropsWithChildren<FrameViewProps>) => jsx.JSX.Element;
|
|
11
|
+
export declare const Frame: ({ children, testId, }: React.PropsWithChildren<FrameViewProps>) => jsx.JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -3,5 +3,5 @@ import type { BreakoutMode } from '../types';
|
|
|
3
3
|
type props = {
|
|
4
4
|
layout: BreakoutMode;
|
|
5
5
|
};
|
|
6
|
-
export declare const ResizerBreakoutModeLabel: ({ layout: breakoutLayout }: props) => "" | React.JSX.Element | null;
|
|
6
|
+
export declare const ResizerBreakoutModeLabel: ({ layout: breakoutLayout, }: props) => "" | React.JSX.Element | null;
|
|
7
7
|
export {};
|
|
@@ -61,7 +61,7 @@ export declare const expandToBlockRange: ($from: ResolvedPos, $to: ResolvedPos,
|
|
|
61
61
|
* @param selection The selection to expand
|
|
62
62
|
* @returns The expanded selection
|
|
63
63
|
*/
|
|
64
|
-
export declare const expandSelectionToBlockRange: ({ $from, $to }: Selection) => {
|
|
64
|
+
export declare const expandSelectionToBlockRange: ({ $from, $to, }: Selection) => {
|
|
65
65
|
$from: ResolvedPos;
|
|
66
66
|
$to: ResolvedPos;
|
|
67
67
|
range?: undefined;
|
|
@@ -2,9 +2,9 @@ export declare const resizerItemClassName = "resizer-item";
|
|
|
2
2
|
export declare const resizerHoverZoneClassName = "resizer-hover-zone";
|
|
3
3
|
export declare const resizerExtendedZone = "resizer-is-extended";
|
|
4
4
|
export declare const resizerHandleClassName = "resizer-handle";
|
|
5
|
-
export declare const resizerHandleTrackClassName:
|
|
6
|
-
export declare const resizerHandleThumbClassName:
|
|
7
|
-
export declare const resizerDangerClassName:
|
|
5
|
+
export declare const resizerHandleTrackClassName: 'resizer-handle-track';
|
|
6
|
+
export declare const resizerHandleThumbClassName: 'resizer-handle-thumb';
|
|
7
|
+
export declare const resizerDangerClassName: 'resizer-handle-danger';
|
|
8
8
|
export declare const handleWrapperClass = "resizer-handle-wrapper";
|
|
9
9
|
export declare const resizerHandleThumbWidth = 3;
|
|
10
10
|
export declare const resizerHandleZIndex = 1;
|
|
@@ -12,29 +12,29 @@ export declare const tableResizeHandleWidth = 6;
|
|
|
12
12
|
export declare const tablePadding = 8;
|
|
13
13
|
export declare const tableControlsSpacing: number;
|
|
14
14
|
export declare const TableSharedCssClassName: {
|
|
15
|
-
readonly TABLE_CONTAINER:
|
|
16
|
-
readonly TABLE_NODE_WRAPPER:
|
|
17
|
-
readonly TABLE_NODE_WRAPPER_NO_OVERFLOW:
|
|
18
|
-
readonly TABLE_SCROLL_INLINE_SHADOW:
|
|
19
|
-
readonly TABLE_RIGHT_BORDER:
|
|
20
|
-
readonly TABLE_LEFT_BORDER:
|
|
21
|
-
readonly TABLE_LEFT_SHADOW:
|
|
22
|
-
readonly TABLE_RIGHT_SHADOW:
|
|
23
|
-
readonly TABLE_STICKY_SHADOW:
|
|
24
|
-
readonly TABLE_STICKY_WRAPPER:
|
|
25
|
-
readonly TABLE_STICKY_SCROLLBAR_CONTAINER:
|
|
26
|
-
readonly TABLE_STICKY_SENTINEL_TOP:
|
|
27
|
-
readonly TABLE_STICKY_SENTINEL_BOTTOM:
|
|
28
|
-
readonly TABLE_STICKY_SCROLLBAR_SENTINEL_TOP:
|
|
29
|
-
readonly TABLE_STICKY_SCROLLBAR_SENTINEL_BOTTOM:
|
|
30
|
-
readonly TABLE_SHADOW_SENTINEL_LEFT:
|
|
31
|
-
readonly TABLE_SHADOW_SENTINEL_RIGHT:
|
|
32
|
-
readonly TABLE_CELL_NODEVIEW_CONTENT_DOM:
|
|
33
|
-
readonly TABLE_CELL_WRAPPER:
|
|
34
|
-
readonly TABLE_HEADER_CELL_WRAPPER:
|
|
35
|
-
readonly TABLE_ROW_CONTROLS_WRAPPER:
|
|
36
|
-
readonly TABLE_COLUMN_CONTROLS_DECORATIONS:
|
|
37
|
-
readonly TABLE_RESIZER_CONTAINER:
|
|
15
|
+
readonly TABLE_CONTAINER: 'pm-table-container';
|
|
16
|
+
readonly TABLE_NODE_WRAPPER: 'pm-table-wrapper';
|
|
17
|
+
readonly TABLE_NODE_WRAPPER_NO_OVERFLOW: 'pm-table-wrapper-no-overflow';
|
|
18
|
+
readonly TABLE_SCROLL_INLINE_SHADOW: 'pm-table-scroll-inline-shadow';
|
|
19
|
+
readonly TABLE_RIGHT_BORDER: 'pm-table-right-border';
|
|
20
|
+
readonly TABLE_LEFT_BORDER: 'pm-table-left-border';
|
|
21
|
+
readonly TABLE_LEFT_SHADOW: 'pm-table-with-left-shadow';
|
|
22
|
+
readonly TABLE_RIGHT_SHADOW: 'pm-table-with-right-shadow';
|
|
23
|
+
readonly TABLE_STICKY_SHADOW: 'pm-table-sticky-shadow';
|
|
24
|
+
readonly TABLE_STICKY_WRAPPER: 'pm-table-sticky-wrapper';
|
|
25
|
+
readonly TABLE_STICKY_SCROLLBAR_CONTAINER: 'pm-table-sticky-scrollbar-container';
|
|
26
|
+
readonly TABLE_STICKY_SENTINEL_TOP: 'pm-table-sticky-sentinel-top';
|
|
27
|
+
readonly TABLE_STICKY_SENTINEL_BOTTOM: 'pm-table-sticky-sentinel-bottom';
|
|
28
|
+
readonly TABLE_STICKY_SCROLLBAR_SENTINEL_TOP: 'pm-table-sticky-scrollbar-sentinel-top';
|
|
29
|
+
readonly TABLE_STICKY_SCROLLBAR_SENTINEL_BOTTOM: 'pm-table-sticky-scrollbar-sentinel-bottom';
|
|
30
|
+
readonly TABLE_SHADOW_SENTINEL_LEFT: 'pm-table-shadow-sentinel-left';
|
|
31
|
+
readonly TABLE_SHADOW_SENTINEL_RIGHT: 'pm-table-shadow-sentinel-right';
|
|
32
|
+
readonly TABLE_CELL_NODEVIEW_CONTENT_DOM: 'pm-table-cell-nodeview-content-dom';
|
|
33
|
+
readonly TABLE_CELL_WRAPPER: 'pm-table-cell-content-wrap';
|
|
34
|
+
readonly TABLE_HEADER_CELL_WRAPPER: 'pm-table-header-content-wrap';
|
|
35
|
+
readonly TABLE_ROW_CONTROLS_WRAPPER: 'pm-table-row-controls-wrapper';
|
|
36
|
+
readonly TABLE_COLUMN_CONTROLS_DECORATIONS: 'pm-table-column-controls-decoration';
|
|
37
|
+
readonly TABLE_RESIZER_CONTAINER: 'pm-table-resizer-container';
|
|
38
38
|
};
|
|
39
39
|
declare const tableSharedStyle: () => SerializedStyles;
|
|
40
40
|
export declare const calcTableWidth: (layout: TableLayout, containerWidth?: number, addControllerPadding?: boolean) => number | "inherit";
|
|
@@ -1,327 +1,327 @@
|
|
|
1
1
|
export declare const TOOLBAR_RANK: {
|
|
2
|
-
readonly
|
|
3
|
-
readonly
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
2
|
+
readonly 'ai-section': 100;
|
|
3
|
+
readonly 'ai-view-section': 100;
|
|
4
|
+
readonly 'text-section': 200;
|
|
5
|
+
readonly 'text-section-collapsed': 200;
|
|
6
|
+
readonly 'insert-block-section': 300;
|
|
7
|
+
readonly 'linking-section': 400;
|
|
8
|
+
readonly 'collab-section': 500;
|
|
9
|
+
readonly 'apps-section': 600;
|
|
10
|
+
readonly 'track-changes-section': 700;
|
|
11
|
+
readonly 'overflow-section': 800;
|
|
12
|
+
readonly 'pin-section': 900;
|
|
13
|
+
readonly 'overflow-section-primary-toolbar': 1000;
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
16
|
* AI section
|
|
17
17
|
*/
|
|
18
18
|
export declare const AI_SECTION_RANK: {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
'rovo-group': number;
|
|
20
|
+
'rovo-group-display-small': number;
|
|
21
|
+
'rovo-group-primary-toolbar': number;
|
|
22
|
+
'define-group': number;
|
|
23
|
+
'improve-writing-group': number;
|
|
24
|
+
'hero-prompt-button-group': number;
|
|
25
25
|
};
|
|
26
26
|
export declare const ROVO_GROUP_RANK: {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
'rovo-hero-button': number;
|
|
28
|
+
'rovo-write-button-primary-toolbar': number;
|
|
29
|
+
'rovo-menu': number;
|
|
30
30
|
};
|
|
31
31
|
export declare const ROVO_GROUP_DISPLAY_SMALL_RANK: {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
'rovo-hero-button': number;
|
|
33
|
+
'rovo-menu-display-small': number;
|
|
34
34
|
};
|
|
35
35
|
export declare const DEFINE_GROUP_RANK: {
|
|
36
|
-
|
|
36
|
+
'define-button': number;
|
|
37
37
|
};
|
|
38
38
|
export declare const IMPROVE_WRITING_GROUP_RANK: {
|
|
39
|
-
|
|
39
|
+
'improve-writing-button': number;
|
|
40
40
|
};
|
|
41
41
|
export declare const HERO_PROMPT_BUTTON_GROUP_RANK: {
|
|
42
|
-
|
|
42
|
+
'hero-prompt-button': number;
|
|
43
43
|
};
|
|
44
44
|
export declare const ROVO_MENU_RANK: {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
'rovo-prompt-menu-section-display-small': number;
|
|
46
|
+
'rovo-prompt-menu-section': number;
|
|
47
47
|
};
|
|
48
48
|
export declare const ROVO_PROMPT_MENU_SECTION_RANK: {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
49
|
+
'improve-writing-menu-item': number;
|
|
50
|
+
'hero-prompt-menu-item': number;
|
|
51
|
+
'add-polish-menu-item': number;
|
|
52
|
+
'spelling-and-grammar-menu-item': number;
|
|
53
|
+
'change-tone-nested-menu': number;
|
|
54
|
+
'make-shorter-menu-item': number;
|
|
55
|
+
'make-longer-menu-item': number;
|
|
56
|
+
'translate-nested-menu': number;
|
|
57
|
+
'define-menu-item': number;
|
|
58
58
|
};
|
|
59
59
|
export declare const CHANGE_TONE_MENU_RANK: {
|
|
60
|
-
|
|
60
|
+
'change-tone-default-menu-section': number;
|
|
61
61
|
};
|
|
62
62
|
export declare const CHANGE_TONE_MENU_SECTION_RANK: {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
'more-professional-menu-item': number;
|
|
64
|
+
'more-casual-menu-item': number;
|
|
65
|
+
'more-empathetic-menu-item': number;
|
|
66
66
|
};
|
|
67
67
|
export declare const TRANSLATE_MENU_RANK: {
|
|
68
|
-
|
|
68
|
+
'translate-menu-section': number;
|
|
69
69
|
};
|
|
70
70
|
/**
|
|
71
71
|
* Text section
|
|
72
72
|
*/
|
|
73
73
|
export declare const TEXT_SECTION_RANK: {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
74
|
+
'text-styles-group': number;
|
|
75
|
+
'text-formatting-group': number;
|
|
76
|
+
'lists-indentation-group': number;
|
|
77
|
+
'alignment-group': number;
|
|
78
|
+
'text-color-highlight-group': number;
|
|
79
79
|
};
|
|
80
80
|
export declare const TEXT_SECTION_PRIMARY_TOOLBAR_RANK: {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
81
|
+
'text-styles-group': number;
|
|
82
|
+
'bold-button-group': number;
|
|
83
|
+
'underline-button-group': number;
|
|
84
|
+
'text-formatting-group': number;
|
|
85
|
+
'bullet-list-button-group': number;
|
|
86
|
+
'lists-indentation-group': number;
|
|
87
|
+
'alignment-group': number;
|
|
88
|
+
'text-color-highlight-group': number;
|
|
89
89
|
};
|
|
90
90
|
export declare const TEXT_SECTION_COLLAPSED_RANK: {
|
|
91
|
-
|
|
91
|
+
'text-collapsed-group': number;
|
|
92
92
|
};
|
|
93
93
|
export declare const TEXT_COLLAPSED_GROUP_RANK: {
|
|
94
|
-
|
|
94
|
+
'text-collapsed-menu': number;
|
|
95
95
|
};
|
|
96
96
|
export declare const TEXT_COLLAPSED_MENU_RANK: {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
'text-styles-menu-section': number;
|
|
98
|
+
'text-formatting-menu-section': number;
|
|
99
|
+
'clear-formatting-menu-section': number;
|
|
100
|
+
'lists-indendation-menu-section': number;
|
|
101
|
+
'alignment-menu-section': number;
|
|
102
|
+
'text-color-highlight-menu-section': number;
|
|
103
103
|
};
|
|
104
104
|
/**
|
|
105
105
|
* Text styles group
|
|
106
106
|
*/
|
|
107
107
|
export declare const TEXT_STYLES_GROUP_RANK: {
|
|
108
|
-
|
|
108
|
+
'text-styles-menu': number;
|
|
109
109
|
};
|
|
110
110
|
export declare const TEXT_STYLES_MENU_RANK: {
|
|
111
|
-
|
|
111
|
+
'text-styles-menu-section': number;
|
|
112
112
|
};
|
|
113
113
|
export declare const TEXT_STYLES_MENU_SECTION_RANK: Record<string, number>;
|
|
114
114
|
/**
|
|
115
115
|
* Text formatting group
|
|
116
116
|
*/
|
|
117
117
|
export declare const TEXT_FORMAT_GROUP_RANK: {
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
'text-formatting-hero-button': number;
|
|
119
|
+
'text-formatting-menu': number;
|
|
120
120
|
};
|
|
121
121
|
export declare const TEXT_FORMAT_GROUP_COLLAPSED_RANK: {
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
'text-formatting-hero-button-collapsed': number;
|
|
123
|
+
'text-formatting-menu': number;
|
|
124
124
|
};
|
|
125
125
|
export declare const TEXT_FORMAT_MENU_RANK: {
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
'text-formatting-menu-section': number;
|
|
127
|
+
'clear-formatting-menu-section': number;
|
|
128
128
|
};
|
|
129
129
|
export declare const TEXT_FORMATTING_MENU_SECTION_RANK: {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
130
|
+
'bold-menu-item': number;
|
|
131
|
+
'italic-menu-item': number;
|
|
132
|
+
'underline-menu-item': number;
|
|
133
|
+
'strike-menu-item': number;
|
|
134
|
+
'code-menu-item': number;
|
|
135
|
+
'subscript-menu-item': number;
|
|
136
|
+
'superscript-menu-item': number;
|
|
137
137
|
};
|
|
138
138
|
export declare const CLEAR_FORMARTTING_MENU_SECTION_RANK: {
|
|
139
|
-
|
|
139
|
+
'clear-formatting-menu-item': number;
|
|
140
140
|
};
|
|
141
141
|
export declare const SYNCED_BLOCK_SECTION_RANK: {
|
|
142
|
-
|
|
142
|
+
'synced-block-button': number;
|
|
143
143
|
};
|
|
144
144
|
export declare const LISTS_INDENTATION_GROUP_RANK: {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
'bullet-list-button': number;
|
|
146
|
+
'lists-indentation-hero-button': number;
|
|
147
|
+
'lists-indentation-menu': number;
|
|
148
148
|
};
|
|
149
149
|
export declare const LISTS_INDENTATION_GROUP_COLLAPSED_RANK: {
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
'lists-indentation-hero-button-collapsed': number;
|
|
151
|
+
'lists-indentation-menu': number;
|
|
152
152
|
};
|
|
153
153
|
export declare const LISTS_INDENTATION_MENU_RANK: {
|
|
154
|
-
|
|
154
|
+
'lists-indendation-menu-section': number;
|
|
155
155
|
};
|
|
156
156
|
export declare const LISTS_INDENTATION_MENU_SECTION_RANK: {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
157
|
+
'bullet-list-menu-item': number;
|
|
158
|
+
'numbered-list-menu-item': number;
|
|
159
|
+
'task-list-menu-item': number;
|
|
160
|
+
'outdent-menu-item': number;
|
|
161
|
+
'indent-menu-item': number;
|
|
162
162
|
};
|
|
163
163
|
/**
|
|
164
164
|
* Alignment group
|
|
165
165
|
*/
|
|
166
166
|
export declare const ALIGNMENT_GROUP_RANK: {
|
|
167
|
-
|
|
167
|
+
'alignment-menu': number;
|
|
168
168
|
};
|
|
169
169
|
export declare const ALIGNMENT_MENU_RANK: {
|
|
170
|
-
|
|
170
|
+
'alignment-menu-section': number;
|
|
171
171
|
};
|
|
172
172
|
export declare const ALIGNMENT_MENU_SECTION_RANK: {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
'align-left-menu-item': number;
|
|
174
|
+
'align-center-menu-item': number;
|
|
175
|
+
'align-right-menu-item': number;
|
|
176
176
|
};
|
|
177
177
|
export declare const TEXT_COLOR_HIGHLIGHT_GROUP_RANK: {
|
|
178
|
-
|
|
178
|
+
'text-color-highlight-menu': number;
|
|
179
179
|
};
|
|
180
180
|
export declare const TEXT_COLOR_HIGHLIGHT_MENU_RANK: {
|
|
181
|
-
|
|
181
|
+
'text-color-highlight-menu-section': number;
|
|
182
182
|
};
|
|
183
183
|
export declare const TEXT_COLOR_HIGHLIGHT_MENU_SECTION_RANK: {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
184
|
+
'text-color-menu-item': number;
|
|
185
|
+
'highlight-menu-item': number;
|
|
186
|
+
'clear-color-menu-item': number;
|
|
187
187
|
};
|
|
188
188
|
/**
|
|
189
189
|
* Insert block section
|
|
190
190
|
*/
|
|
191
191
|
export declare const INSERT_BLOCK_SECTION_RANK: {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
192
|
+
'task-list-group': number;
|
|
193
|
+
'media-group': number;
|
|
194
|
+
'code-block-group': number;
|
|
195
|
+
'mention-group': number;
|
|
196
|
+
'emoji-group': number;
|
|
197
|
+
'layout-group': number;
|
|
198
|
+
'synced-block-group': number;
|
|
199
|
+
'table-group': number;
|
|
200
|
+
'insert-group': number;
|
|
201
201
|
};
|
|
202
202
|
export declare const TASK_LIST_GROUP_RANK: {
|
|
203
|
-
|
|
203
|
+
'task-list-button': number;
|
|
204
204
|
};
|
|
205
205
|
export declare const MEDIA_GROUP_RANK: {
|
|
206
|
-
|
|
206
|
+
'media-button': number;
|
|
207
207
|
};
|
|
208
208
|
export declare const CODE_BLOCK_GROUP_RANK: {
|
|
209
|
-
|
|
209
|
+
'code-block-button': number;
|
|
210
210
|
};
|
|
211
211
|
export declare const MENTION_GROUP_RANK: {
|
|
212
|
-
|
|
212
|
+
'mention-button': number;
|
|
213
213
|
};
|
|
214
214
|
export declare const EMOJI_GROUP_RANK: {
|
|
215
|
-
|
|
215
|
+
'emoji-button': number;
|
|
216
216
|
};
|
|
217
217
|
export declare const LAYOUT_GROUP_RANK: {
|
|
218
|
-
|
|
218
|
+
'layout-button': number;
|
|
219
219
|
};
|
|
220
220
|
export declare const TABLE_GROUP_RANK: {
|
|
221
|
-
|
|
222
|
-
|
|
221
|
+
'table-button': number;
|
|
222
|
+
'table-size-picker': number;
|
|
223
223
|
};
|
|
224
224
|
export declare const INSERT_GROUP_RANK: {
|
|
225
|
-
|
|
225
|
+
'insert-button': number;
|
|
226
226
|
};
|
|
227
227
|
/**
|
|
228
228
|
* Link section
|
|
229
229
|
*/
|
|
230
230
|
export declare const LINKING_SECTION_RANK: {
|
|
231
|
-
|
|
231
|
+
'linking-group': number;
|
|
232
232
|
};
|
|
233
233
|
export declare const LINKING_GROUP_RANK: {
|
|
234
|
-
|
|
234
|
+
'linking-button': number;
|
|
235
235
|
};
|
|
236
236
|
/**
|
|
237
237
|
* Collab section
|
|
238
238
|
*/
|
|
239
239
|
export declare const COLLAB_SECTION_RANK: {
|
|
240
|
-
|
|
240
|
+
'comment-group': number;
|
|
241
241
|
};
|
|
242
242
|
export declare const COMMENT_GROUP_RANK: {
|
|
243
|
-
|
|
243
|
+
'comment-hero-button': number;
|
|
244
244
|
};
|
|
245
245
|
/**
|
|
246
246
|
* Track changes section
|
|
247
247
|
*/
|
|
248
248
|
export declare const TRACK_CHANGES_SECTION_RANK: {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
'undo-changes-group': number;
|
|
250
|
+
'redo-changes-group': number;
|
|
251
|
+
'track-changes-group': number;
|
|
252
252
|
};
|
|
253
253
|
export declare const UNDO_CHANGES_GROUP_RANK: {
|
|
254
|
-
|
|
254
|
+
'undo-button': number;
|
|
255
255
|
};
|
|
256
256
|
export declare const REDO_CHANGES_GROUP_RANK: {
|
|
257
|
-
|
|
257
|
+
'redo-button': number;
|
|
258
258
|
};
|
|
259
259
|
export declare const TRACK_CHANGES_GROUP_RANK: {
|
|
260
|
-
|
|
260
|
+
'track-changes-button': number;
|
|
261
261
|
};
|
|
262
262
|
/**
|
|
263
263
|
* Overflow section
|
|
264
264
|
*/
|
|
265
265
|
export declare const OVERFLOW_SECTION_RANK: {
|
|
266
|
-
|
|
266
|
+
'overflow-group': number;
|
|
267
267
|
};
|
|
268
268
|
export declare const OVERFLOW_GROUP_RANK: {
|
|
269
|
-
|
|
269
|
+
'overflow-menu': number;
|
|
270
270
|
};
|
|
271
271
|
export declare const OVERFLOW_MENU_RANK: {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
272
|
+
'pin-menu-section': number;
|
|
273
|
+
'loom-menu-section': number;
|
|
274
|
+
'overflow-extensions-menu-section': number;
|
|
275
|
+
'selection-extension-menu-section': number;
|
|
276
|
+
'synced-block-section': number;
|
|
277
277
|
};
|
|
278
278
|
export declare const PIN_MENU_SECTION_RANK: {
|
|
279
|
-
|
|
279
|
+
'pin-menu-item': number;
|
|
280
280
|
};
|
|
281
281
|
export declare const OVERFLOW_EXTENSIONS_MENU_SECTION_RANK: {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
282
|
+
'loom-menu-item': number;
|
|
283
|
+
'first-party-extensions-menu-item': number;
|
|
284
|
+
'external-extensions-menu-item': number;
|
|
285
285
|
};
|
|
286
286
|
/**
|
|
287
287
|
* Overflow section in primary toolbar
|
|
288
288
|
*/
|
|
289
289
|
export declare const OVERFLOW_SECTION_PRIMARY_TOOLBAR_RANK: {
|
|
290
|
-
|
|
290
|
+
'overflow-group-primary-toolbar': number;
|
|
291
291
|
};
|
|
292
292
|
export declare const OVERFLOW_GROUP_PRIMARY_TOOLBAR_RANK: {
|
|
293
|
-
|
|
293
|
+
'overflow-menu-primary-toolbar': number;
|
|
294
294
|
};
|
|
295
295
|
export declare const OVERFLOW_MENU_PRIMARY_TOOLBAR_RANK: {
|
|
296
|
-
|
|
296
|
+
'loom-menu-section': number;
|
|
297
297
|
};
|
|
298
298
|
/**
|
|
299
299
|
* Pin section
|
|
300
300
|
*/
|
|
301
301
|
export declare const PIN_SECTION_RANK: {
|
|
302
|
-
|
|
302
|
+
'pin-group': number;
|
|
303
303
|
};
|
|
304
304
|
export declare const PIN_GROUP_RANK: {
|
|
305
|
-
|
|
305
|
+
'pin-button': number;
|
|
306
306
|
};
|
|
307
307
|
/**
|
|
308
308
|
* Loom menu section
|
|
309
309
|
*/
|
|
310
310
|
export declare const LOOM_MENU_SECTION_RANK: {
|
|
311
|
-
|
|
311
|
+
'loom-menu-item': number;
|
|
312
312
|
};
|
|
313
313
|
/**
|
|
314
314
|
* Paste options section
|
|
315
315
|
*/
|
|
316
316
|
export declare const PASTE_MENU_RANK: Record<string, number>;
|
|
317
317
|
export declare const PASTE_MENU_SECTION_RANK: {
|
|
318
|
-
|
|
318
|
+
'paste-nested-menu': number;
|
|
319
319
|
};
|
|
320
320
|
export declare const PASTE_NESTED_MENU_RANK: {
|
|
321
|
-
|
|
321
|
+
'paste-menu-nested-section': number;
|
|
322
322
|
};
|
|
323
323
|
export declare const PASTE_MENU_NESTED_SECTION_RANK: {
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
324
|
+
'rich-text-menu-item': number;
|
|
325
|
+
'markdown-menu-item': number;
|
|
326
|
+
'plain-text-menu-item': number;
|
|
327
327
|
};
|
|
@@ -19,5 +19,5 @@ type AnnouncerProps = {
|
|
|
19
19
|
/** Text message that will be announced */
|
|
20
20
|
text: string;
|
|
21
21
|
};
|
|
22
|
-
declare const _default_1: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<AnnouncerProps>,
|
|
22
|
+
declare const _default_1: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<AnnouncerProps>, 'ref'> & React.RefAttributes<HTMLDivElement>>>;
|
|
23
23
|
export default _default_1;
|