@atlaskit/editor-common 112.5.2 → 112.6.1
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/analytics/types/enums.js +1 -0
- 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/analytics/types/enums.js +1 -0
- 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/analytics/types/enums.js +1 -0
- 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/analytics/types/enums.d.ts +2 -1
- package/dist/types/analytics/types/insert-events.d.ts +1 -1
- 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/analytics/types/enums.d.ts +2 -1
- package/dist/types-ts4.5/analytics/types/insert-events.d.ts +1 -1
- 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 +3 -3
|
@@ -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;
|
|
@@ -20,5 +20,5 @@ export type OpenChangedEvent = {
|
|
|
20
20
|
event: MouseEvent | KeyboardEvent;
|
|
21
21
|
isOpen: boolean;
|
|
22
22
|
};
|
|
23
|
-
declare const _default_1: ForwardRefExoticComponent<Omit<Omit<Props, keyof WithAnalyticsEventsProps> & RefAttributes<unknown> & WithContextProps,
|
|
23
|
+
declare const _default_1: ForwardRefExoticComponent<Omit<Omit<Props, keyof WithAnalyticsEventsProps> & RefAttributes<unknown> & WithContextProps, 'ref'> & RefAttributes<unknown>>;
|
|
24
24
|
export default _default_1;
|
|
@@ -36,5 +36,5 @@ export interface Props {
|
|
|
36
36
|
tooltipContent?: TooltipProps['content'];
|
|
37
37
|
tooltipStyle?: React.ForwardRefExoticComponent<any> | React.ComponentType<any>;
|
|
38
38
|
}
|
|
39
|
-
declare const _default_1: React.FC<Omit<Props & React.RefAttributes<HTMLElement>,
|
|
39
|
+
declare const _default_1: React.FC<Omit<Props & React.RefAttributes<HTMLElement>, 'ref'> & Props & React.RefAttributes<HTMLElement>>;
|
|
40
40
|
export default _default_1;
|
|
@@ -104,5 +104,5 @@ export declare const MediaWrapper: {
|
|
|
104
104
|
type MediaBorderGapFillerProps = {
|
|
105
105
|
borderColor: string;
|
|
106
106
|
};
|
|
107
|
-
export declare const MediaBorderGapFiller: ({ borderColor }: MediaBorderGapFillerProps) => jsx.JSX.Element;
|
|
107
|
+
export declare const MediaBorderGapFiller: ({ borderColor, }: MediaBorderGapFillerProps) => jsx.JSX.Element;
|
|
108
108
|
export {};
|
|
@@ -8,7 +8,7 @@ import type { PaletteColor, PaletteTooltipMessages } from '../../ui-color';
|
|
|
8
8
|
import type { Position as PopupPosition } from '../../ui/Popup/utils';
|
|
9
9
|
declare const _default_1: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
10
10
|
absoluteOffset?: PopupPosition;
|
|
11
|
-
alignX?:
|
|
11
|
+
alignX?: 'left' | 'right' | 'center' | 'end';
|
|
12
12
|
colorPalette: PaletteColor[];
|
|
13
13
|
cols?: number;
|
|
14
14
|
currentColor?: string;
|
|
@@ -30,5 +30,5 @@ declare const _default_1: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
|
30
30
|
*/
|
|
31
31
|
skipFocusButtonAfterPick?: boolean;
|
|
32
32
|
title?: string;
|
|
33
|
-
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<unknown> & WithContextProps,
|
|
33
|
+
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<unknown> & WithContextProps, 'ref'> & React.RefAttributes<unknown>>;
|
|
34
34
|
export default _default_1;
|
|
@@ -36,11 +36,11 @@ export type Props = {
|
|
|
36
36
|
} & Pick<ButtonProps, 'aria-label' | 'children' | 'onFocus' | 'onBlur' | 'onMouseEnter' | 'onMouseLeave' | 'aria-controls' | 'rel'>;
|
|
37
37
|
export type ToolbarButtonRef = HTMLElement;
|
|
38
38
|
declare const ToolbarButton: React.ForwardRefExoticComponent<{
|
|
39
|
-
'aria-expanded'?: React.AriaAttributes[
|
|
40
|
-
'aria-haspopup'?: React.AriaAttributes[
|
|
41
|
-
'aria-keyshortcuts'?: React.AriaAttributes[
|
|
42
|
-
'aria-label'?: React.AriaAttributes[
|
|
43
|
-
'aria-pressed'?: React.AriaAttributes[
|
|
39
|
+
'aria-expanded'?: React.AriaAttributes['aria-expanded'];
|
|
40
|
+
'aria-haspopup'?: React.AriaAttributes['aria-haspopup'];
|
|
41
|
+
'aria-keyshortcuts'?: React.AriaAttributes['aria-keyshortcuts'];
|
|
42
|
+
'aria-label'?: React.AriaAttributes['aria-label'];
|
|
43
|
+
'aria-pressed'?: React.AriaAttributes['aria-pressed'];
|
|
44
44
|
buttonId?: TOOLBAR_ACTION_SUBJECT_ID;
|
|
45
45
|
className?: string;
|
|
46
46
|
'data-ds--level'?: string;
|
|
@@ -55,10 +55,10 @@ declare const ToolbarButton: React.ForwardRefExoticComponent<{
|
|
|
55
55
|
onItemClick?: (item: MenuItem) => void;
|
|
56
56
|
onKeyDown?: (event: React.KeyboardEvent<HTMLElement>) => void;
|
|
57
57
|
selected?: boolean;
|
|
58
|
-
spacing?:
|
|
58
|
+
spacing?: 'default' | 'compact' | 'none';
|
|
59
59
|
target?: string;
|
|
60
60
|
testId?: string;
|
|
61
61
|
title?: React.ReactNode;
|
|
62
62
|
titlePosition?: PositionType;
|
|
63
|
-
} & Pick<ButtonProps,
|
|
63
|
+
} & Pick<ButtonProps, 'children' | 'rel' | 'aria-controls' | 'aria-label' | 'onFocus' | 'onBlur' | 'onMouseEnter' | 'onMouseLeave'> & React.RefAttributes<HTMLElement>>;
|
|
64
64
|
export default ToolbarButton;
|
|
@@ -29,7 +29,7 @@ export declare const absoluteBreakoutWidth: (layout: "full-width" | "wide" | str
|
|
|
29
29
|
export { breakoutConsts };
|
|
30
30
|
export declare const calcWideWidth: (containerWidth?: number, maxWidth?: number, fallback?: string, padding?: number) => string;
|
|
31
31
|
export declare const calcBreakoutWidth: any;
|
|
32
|
-
export declare const calcBreakoutWithCustomWidth: (mode:
|
|
32
|
+
export declare const calcBreakoutWithCustomWidth: (mode: 'full-width' | 'wide', width: number | null, editorContainerWidth: number) => string;
|
|
33
33
|
export declare function calculateBreakoutStyles({ mode, widthStateLineLength, widthStateWidth, }: {
|
|
34
34
|
mode: BreakoutMarkAttrs['mode'];
|
|
35
35
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getModeFromTheme(theme: string):
|
|
1
|
+
export declare function getModeFromTheme(theme: string): 'dark' | 'light';
|
|
@@ -206,7 +206,7 @@ export declare const isInListItem: (state: EditorState) => boolean;
|
|
|
206
206
|
export declare const findFarthestParentNode: (predicate: (node: PMNode) => boolean) => ($pos: ResolvedPos) => ContentNodeWithPos | null;
|
|
207
207
|
export declare const insideTableCell: (state: EditorState) => boolean;
|
|
208
208
|
export declare function checkNodeDown(selection: Selection, doc: PMNode, filter: (node: PMNode) => boolean): boolean;
|
|
209
|
-
export declare const isEmptyNode: (schema: Schema) => (node: PMNode) => boolean;
|
|
209
|
+
export declare const isEmptyNode: (schema: Schema) => ((node: PMNode) => boolean);
|
|
210
210
|
/**
|
|
211
211
|
* Checks if a node has any content. Ignores node that only contain empty block nodes.
|
|
212
212
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "112.
|
|
3
|
+
"version": "112.6.1",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
"@atlaskit/task-decision": "^19.3.0",
|
|
83
83
|
"@atlaskit/textfield": "^8.2.0",
|
|
84
84
|
"@atlaskit/theme": "^22.0.0",
|
|
85
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
85
|
+
"@atlaskit/tmp-editor-statsig": "^41.0.0",
|
|
86
86
|
"@atlaskit/tokens": "^11.1.0",
|
|
87
|
-
"@atlaskit/tooltip": "^
|
|
87
|
+
"@atlaskit/tooltip": "^21.0.0",
|
|
88
88
|
"@atlaskit/width-detector": "^5.0.0",
|
|
89
89
|
"@babel/runtime": "^7.0.0",
|
|
90
90
|
"@compiled/react": "^0.20.0",
|