@atlaskit/editor-common 72.7.2 → 72.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/.eslintrc.js +13 -0
- package/CHANGELOG.md +44 -0
- package/dist/cjs/analytics/types/general-events.js +1 -1
- package/dist/cjs/analytics/types/table-events.js +3 -1
- package/dist/cjs/card/index.js +20 -1
- package/dist/cjs/card/utils.js +54 -0
- package/dist/cjs/extensions/default-extension-provider.js +8 -7
- package/dist/cjs/extensions/extension-fields-helpers.js +12 -11
- package/dist/cjs/extensions/extension-handlers.js +6 -5
- package/dist/cjs/extensions/manifest-helpers.js +4 -3
- package/dist/cjs/extensions/module-helpers.js +8 -7
- package/dist/cjs/keymaps/index.js +6 -1
- package/dist/cjs/preset/builder.js +2 -1
- package/dist/cjs/provider-helpers/combine-providers.js +10 -9
- package/dist/cjs/styles/shared/panel.js +1 -0
- package/dist/cjs/styles/shared/shadow.js +1 -0
- package/dist/cjs/styles/shared/table.js +1 -0
- package/dist/cjs/styles/shared/tableCell.js +1 -0
- package/dist/cjs/ui/Caption/index.js +1 -0
- package/dist/cjs/ui/DropList/index.js +3 -2
- package/dist/cjs/ui/Expand/index.js +1 -0
- package/dist/cjs/ui/Layer/index.js +1 -1
- package/dist/cjs/ui/MediaSingle/styled.js +5 -4
- package/dist/cjs/ui/Messages/index.js +1 -0
- package/dist/cjs/ui/Popup/index.js +4 -0
- package/dist/cjs/ui/UnsupportedBlock/index.js +1 -0
- package/dist/cjs/ui/UnsupportedInline/index.js +1 -0
- package/dist/cjs/ui/WidthProvider/index.js +1 -1
- package/dist/cjs/ui-color/ColorPalette/Color/index.js +1 -1
- package/dist/cjs/ui-color/ColorPalette/Palettes/index.js +6 -0
- package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +199 -1
- package/dist/cjs/ui-color/ColorPalette/Palettes/panelBackgroundPalette.js +2 -1
- package/dist/cjs/ui-color/index.js +6 -0
- package/dist/cjs/ui-menu/DropdownMenu/index.js +1 -0
- package/dist/cjs/ui-menu/ToolbarButton/index.js +1 -0
- package/dist/cjs/ui-react/with-react-editor-view-outer-listeners.js +1 -0
- package/dist/cjs/utils/validator.js +22 -0
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/with-plugin-state/index.js +9 -0
- package/dist/es2019/analytics/types/general-events.js +1 -1
- package/dist/es2019/analytics/types/table-events.js +3 -1
- package/dist/es2019/card/index.js +1 -1
- package/dist/es2019/card/utils.js +47 -0
- package/dist/es2019/extensions/types/field-definitions.js +0 -1
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/keymaps/index.js +2 -0
- package/dist/es2019/preset/builder.js +2 -1
- package/dist/es2019/ui/DropList/index.js +2 -1
- package/dist/es2019/ui/MediaSingle/styled.js +3 -0
- package/dist/es2019/ui/Popup/index.js +5 -0
- package/dist/es2019/ui-color/ColorPalette/Palettes/index.js +1 -1
- package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +198 -0
- package/dist/es2019/ui-color/index.js +1 -1
- package/dist/es2019/ui-react/with-react-editor-view-outer-listeners.js +3 -0
- package/dist/es2019/utils/dom.js +0 -1
- package/dist/es2019/utils/validator.js +23 -0
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/with-plugin-state/index.js +10 -0
- package/dist/esm/analytics/types/general-events.js +1 -1
- package/dist/esm/analytics/types/table-events.js +3 -1
- package/dist/esm/card/index.js +1 -1
- package/dist/esm/card/utils.js +45 -0
- package/dist/esm/extensions/default-extension-provider.js +8 -7
- package/dist/esm/extensions/extension-fields-helpers.js +12 -11
- package/dist/esm/extensions/extension-handlers.js +6 -5
- package/dist/esm/extensions/manifest-helpers.js +4 -3
- package/dist/esm/extensions/module-helpers.js +8 -7
- package/dist/esm/extensions/types/field-definitions.js +0 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/keymaps/index.js +2 -0
- package/dist/esm/preset/builder.js +2 -1
- package/dist/esm/provider-helpers/combine-providers.js +10 -9
- package/dist/esm/ui/DropList/index.js +2 -1
- package/dist/esm/ui/MediaSingle/styled.js +4 -4
- package/dist/esm/ui/Popup/index.js +4 -0
- package/dist/esm/ui-color/ColorPalette/Palettes/index.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +196 -0
- package/dist/esm/ui-color/index.js +1 -1
- package/dist/esm/ui-react/with-react-editor-view-outer-listeners.js +2 -0
- package/dist/esm/utils/dom.js +0 -1
- package/dist/esm/utils/validator.js +23 -0
- package/dist/esm/version.json +1 -1
- package/dist/esm/with-plugin-state/index.js +9 -0
- package/dist/types/analytics/types/smart-links.d.ts +1 -1
- package/dist/types/card/cardOptions.d.ts +2 -0
- package/dist/types/card/index.d.ts +1 -0
- package/dist/types/card/utils.d.ts +18 -0
- package/dist/types/keymaps/index.d.ts +2 -0
- package/dist/types/types/feature-flags.d.ts +7 -0
- package/dist/types/ui-color/ColorPalette/Palettes/index.d.ts +1 -1
- package/dist/types/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.d.ts +548 -0
- package/dist/types/ui-color/index.d.ts +1 -1
- package/package.json +9 -9
|
@@ -247,6 +247,202 @@ export var backgroundPaletteTooltipMessages = {
|
|
|
247
247
|
light: lightBackgroundPaletteTooltipMessages,
|
|
248
248
|
dark: darkBackgroundPaletteTooltipMessages
|
|
249
249
|
};
|
|
250
|
+
export var lightChartsColorPaletteTooltipMessages = defineMessages({
|
|
251
|
+
// Blue color
|
|
252
|
+
'#7AB2FF': {
|
|
253
|
+
id: 'fabric.theme.subtle-blue',
|
|
254
|
+
defaultMessage: 'Subtle blue',
|
|
255
|
+
description: 'Name of a color'
|
|
256
|
+
},
|
|
257
|
+
'#247FFF': {
|
|
258
|
+
id: 'fabric.theme.blue',
|
|
259
|
+
defaultMessage: 'Blue',
|
|
260
|
+
description: 'Name of a color'
|
|
261
|
+
},
|
|
262
|
+
'#0055CC': {
|
|
263
|
+
id: 'fabric.theme.bold-blue',
|
|
264
|
+
defaultMessage: 'Bold blue',
|
|
265
|
+
description: 'Name of a color'
|
|
266
|
+
},
|
|
267
|
+
'#003884': {
|
|
268
|
+
id: 'fabric.theme.bolder-blue',
|
|
269
|
+
defaultMessage: 'Bolder blue',
|
|
270
|
+
description: 'Name of a color'
|
|
271
|
+
},
|
|
272
|
+
// Teal color
|
|
273
|
+
'#60C6D2': {
|
|
274
|
+
id: 'fabric.theme.subtle-teal',
|
|
275
|
+
defaultMessage: 'Subtle teal',
|
|
276
|
+
description: 'Name of a color'
|
|
277
|
+
},
|
|
278
|
+
'#1D9AAA': {
|
|
279
|
+
id: 'fabric.theme.teal',
|
|
280
|
+
defaultMessage: 'Teal',
|
|
281
|
+
description: 'Name of a color'
|
|
282
|
+
},
|
|
283
|
+
'#1D7F8C': {
|
|
284
|
+
id: 'fabric.theme.bold-teal',
|
|
285
|
+
defaultMessage: 'Bold teal',
|
|
286
|
+
description: 'Name of a color'
|
|
287
|
+
},
|
|
288
|
+
'#206B74': {
|
|
289
|
+
id: 'fabric.theme.bolder-teal',
|
|
290
|
+
defaultMessage: 'Bolder teal',
|
|
291
|
+
description: 'Name of a color'
|
|
292
|
+
},
|
|
293
|
+
// Green color
|
|
294
|
+
'#6BE1B0': {
|
|
295
|
+
id: 'fabric.theme.subtle-green',
|
|
296
|
+
defaultMessage: 'Subtle green',
|
|
297
|
+
description: 'Name of a color'
|
|
298
|
+
},
|
|
299
|
+
'#23A971': {
|
|
300
|
+
id: 'fabric.theme.green',
|
|
301
|
+
defaultMessage: 'Green',
|
|
302
|
+
description: 'Name of a color'
|
|
303
|
+
},
|
|
304
|
+
'#177D52': {
|
|
305
|
+
id: 'fabric.theme.bold-green',
|
|
306
|
+
defaultMessage: 'Bold green',
|
|
307
|
+
description: 'Name of a color'
|
|
308
|
+
},
|
|
309
|
+
'#055C3F': {
|
|
310
|
+
id: 'fabric.theme.bolder-green',
|
|
311
|
+
defaultMessage: 'Bolder green',
|
|
312
|
+
description: 'Name of a color'
|
|
313
|
+
},
|
|
314
|
+
// Yellow color
|
|
315
|
+
'#FFDB57': {
|
|
316
|
+
id: 'fabric.theme.subtle-yellow',
|
|
317
|
+
defaultMessage: 'Subtle yellow',
|
|
318
|
+
description: 'Name of a color'
|
|
319
|
+
},
|
|
320
|
+
'#FFBE33': {
|
|
321
|
+
id: 'fabric.theme.yellow',
|
|
322
|
+
defaultMessage: 'Yellow',
|
|
323
|
+
description: 'Name of a color'
|
|
324
|
+
},
|
|
325
|
+
'#FF9D00': {
|
|
326
|
+
id: 'fabric.theme.bold-yellow',
|
|
327
|
+
defaultMessage: 'Bold yellow',
|
|
328
|
+
description: 'Name of a color'
|
|
329
|
+
},
|
|
330
|
+
'#946104': {
|
|
331
|
+
id: 'fabric.theme.bolder-yellow',
|
|
332
|
+
defaultMessage: 'Bolder yellow',
|
|
333
|
+
description: 'Name of a color'
|
|
334
|
+
},
|
|
335
|
+
// Red color
|
|
336
|
+
'#FF8F73': {
|
|
337
|
+
id: 'fabric.theme.subtle-red',
|
|
338
|
+
defaultMessage: 'Subtle red',
|
|
339
|
+
description: 'Name of a color'
|
|
340
|
+
},
|
|
341
|
+
'#FC552C': {
|
|
342
|
+
id: 'fabric.theme.red',
|
|
343
|
+
defaultMessage: 'Red',
|
|
344
|
+
description: 'Name of a color.'
|
|
345
|
+
},
|
|
346
|
+
'#D32D03': {
|
|
347
|
+
id: 'fabric.theme.bold-red',
|
|
348
|
+
defaultMessage: 'Bold red',
|
|
349
|
+
description: 'Name of a color'
|
|
350
|
+
},
|
|
351
|
+
'#A32000': {
|
|
352
|
+
id: 'fabric.theme.bolder-red',
|
|
353
|
+
defaultMessage: 'Bolder red',
|
|
354
|
+
description: 'Name of a color'
|
|
355
|
+
},
|
|
356
|
+
// Orange color
|
|
357
|
+
'#FAA53D': {
|
|
358
|
+
id: 'fabric.theme.subtle-orange',
|
|
359
|
+
defaultMessage: 'Subtle orange',
|
|
360
|
+
description: 'Name of a color'
|
|
361
|
+
},
|
|
362
|
+
'#D97008': {
|
|
363
|
+
id: 'fabric.theme.orange',
|
|
364
|
+
defaultMessage: 'Orange',
|
|
365
|
+
description: 'Name of a color.'
|
|
366
|
+
},
|
|
367
|
+
'#B65C02': {
|
|
368
|
+
id: 'fabric.theme.bold-orange',
|
|
369
|
+
defaultMessage: 'Bold orange',
|
|
370
|
+
description: 'Name of a color'
|
|
371
|
+
},
|
|
372
|
+
'#974F0C': {
|
|
373
|
+
id: 'fabric.theme.bolder-orange',
|
|
374
|
+
defaultMessage: 'Bolder orange',
|
|
375
|
+
description: 'Name of a color'
|
|
376
|
+
},
|
|
377
|
+
// Magenta color
|
|
378
|
+
'#E774BB': {
|
|
379
|
+
id: 'fabric.theme.subtle-magenta',
|
|
380
|
+
defaultMessage: 'Subtle magenta',
|
|
381
|
+
description: 'Name of a color'
|
|
382
|
+
},
|
|
383
|
+
'#DA62AC': {
|
|
384
|
+
id: 'fabric.theme.magenta',
|
|
385
|
+
defaultMessage: 'Magenta',
|
|
386
|
+
description: 'Name of a color'
|
|
387
|
+
},
|
|
388
|
+
'#CD519D': {
|
|
389
|
+
id: 'fabric.theme.bold-magenta',
|
|
390
|
+
defaultMessage: 'Bold magenta',
|
|
391
|
+
description: 'Name of a color'
|
|
392
|
+
},
|
|
393
|
+
'#943D73': {
|
|
394
|
+
id: 'fabric.theme.bolder-magenta',
|
|
395
|
+
defaultMessage: 'Bolder magenta',
|
|
396
|
+
description: 'Name of a color'
|
|
397
|
+
},
|
|
398
|
+
// Purple color
|
|
399
|
+
'#B5A7FB': {
|
|
400
|
+
id: 'fabric.theme.subtle-purple',
|
|
401
|
+
defaultMessage: 'Subtle purple',
|
|
402
|
+
description: 'Name of a color'
|
|
403
|
+
},
|
|
404
|
+
'#8B77EE': {
|
|
405
|
+
id: 'fabric.theme.purple',
|
|
406
|
+
defaultMessage: 'Purple',
|
|
407
|
+
description: 'Name of a color'
|
|
408
|
+
},
|
|
409
|
+
'#5A43D0': {
|
|
410
|
+
id: 'fabric.theme.bold-purple',
|
|
411
|
+
defaultMessage: 'Bold purple',
|
|
412
|
+
description: 'Name of a color'
|
|
413
|
+
},
|
|
414
|
+
'#44368B': {
|
|
415
|
+
id: 'fabric.theme.bolder-purple',
|
|
416
|
+
defaultMessage: 'Bolder purple',
|
|
417
|
+
description: 'Name of a color'
|
|
418
|
+
},
|
|
419
|
+
// Gray color
|
|
420
|
+
'#8993A5': {
|
|
421
|
+
id: 'fabric.theme.subtle-gray',
|
|
422
|
+
defaultMessage: 'Subtle gray',
|
|
423
|
+
description: 'Name of a color'
|
|
424
|
+
},
|
|
425
|
+
'#8590A2': {
|
|
426
|
+
id: 'fabric.theme.gray',
|
|
427
|
+
defaultMessage: 'Gray',
|
|
428
|
+
description: 'Name of a color'
|
|
429
|
+
},
|
|
430
|
+
'#758195': {
|
|
431
|
+
id: 'fabric.theme.bold-gray',
|
|
432
|
+
defaultMessage: 'Bold gray',
|
|
433
|
+
description: 'Name of a color'
|
|
434
|
+
},
|
|
435
|
+
'#44546F': {
|
|
436
|
+
id: 'fabric.theme.bolder-gray',
|
|
437
|
+
defaultMessage: 'Bolder gray',
|
|
438
|
+
description: 'Name of a color'
|
|
439
|
+
}
|
|
440
|
+
});
|
|
441
|
+
var darkChartsColorPaletteTooltipMessages = _objectSpread({}, lightChartsColorPaletteTooltipMessages);
|
|
442
|
+
export var chartsColorPaletteTooltipMessages = {
|
|
443
|
+
light: lightChartsColorPaletteTooltipMessages,
|
|
444
|
+
dark: darkChartsColorPaletteTooltipMessages
|
|
445
|
+
};
|
|
250
446
|
var lightBorderPaletteTooltipMessages = defineMessages({
|
|
251
447
|
'#091E4224': {
|
|
252
448
|
id: 'fabric.theme.subtle-gray',
|
|
@@ -6,6 +6,6 @@ export { default as colorPaletteMessages } from './ColorPalette/Palettes/palette
|
|
|
6
6
|
export { panelBackgroundPalette, panelDarkModeBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
|
|
7
7
|
export { lightModeStatusColorPalette, darkModeStatusColorPalette } from './ColorPalette/Palettes/statusColorPalette';
|
|
8
8
|
export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
|
|
9
|
-
export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, textPaletteTooltipMessages } from './ColorPalette/Palettes';
|
|
9
|
+
export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, chartsColorPaletteTooltipMessages, textPaletteTooltipMessages } from './ColorPalette/Palettes';
|
|
10
10
|
export { DEFAULT_BORDER_COLOR } from './ColorPalette/Palettes/common';
|
|
11
11
|
export { default as borderColorPalette } from './ColorPalette/Palettes/borderColorPalette';
|
|
@@ -12,6 +12,8 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
12
12
|
import React, { PureComponent } from 'react';
|
|
13
13
|
import ReactDOM from 'react-dom';
|
|
14
14
|
import ReactEditorViewContext from './ReactEditorViewContext';
|
|
15
|
+
|
|
16
|
+
// This needs exporting to be used alongisde `withReactEditorViewOuterListeners`
|
|
15
17
|
var WithOutsideClick = /*#__PURE__*/function (_PureComponent) {
|
|
16
18
|
_inherits(WithOutsideClick, _PureComponent);
|
|
17
19
|
var _super = _createSuper(WithOutsideClick);
|
package/dist/esm/utils/dom.js
CHANGED
|
@@ -8,6 +8,29 @@ export var ADFStages = {
|
|
|
8
8
|
FINAL: 'final',
|
|
9
9
|
STAGE_0: 'stage0'
|
|
10
10
|
};
|
|
11
|
+
|
|
12
|
+
/*
|
|
13
|
+
* An ADF Document JSON object. The document is the root node and documents are
|
|
14
|
+
* composed of nodes. This type accepts an array of ADNode types as content.
|
|
15
|
+
*
|
|
16
|
+
* It is basically the same as the JSONNodeDoc interface from editor-json-transformer.
|
|
17
|
+
*
|
|
18
|
+
* Do not use this type for content nodes as they require additional attributes.
|
|
19
|
+
*
|
|
20
|
+
* Use ADNode instead for content nodes (any node other than the doc).
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/*
|
|
24
|
+
* An ADF Node object. This type is used as content for the ADDoc interface.
|
|
25
|
+
|
|
26
|
+
* It is basically the same as the JSONNode type from editor-json-transformer
|
|
27
|
+
* but the types are a little more strict.
|
|
28
|
+
*
|
|
29
|
+
* It is a serialisable form of ADFEntity.
|
|
30
|
+
*
|
|
31
|
+
* Do not use this for ADF documents - they should use the ADDoc interface.
|
|
32
|
+
*/
|
|
33
|
+
|
|
11
34
|
/*
|
|
12
35
|
* It's important that this order follows the marks rank defined here:
|
|
13
36
|
* https://product-fabric.atlassian.net/wiki/spaces/E/pages/11174043/Document+structure#Documentstructure-Rank
|
package/dist/esm/version.json
CHANGED
|
@@ -17,6 +17,11 @@ import { analyticsEventKey, startMeasure, stopMeasure } from '../utils';
|
|
|
17
17
|
import { getParticipantsCount } from '../utils/collab';
|
|
18
18
|
var DEFAULT_SAMPLING_RATE = 100;
|
|
19
19
|
var DEFAULT_SLOW_THRESHOLD = 4;
|
|
20
|
+
|
|
21
|
+
// That context was exctract from the old WithPluginState from editor-core
|
|
22
|
+
// It was using some private types from
|
|
23
|
+
// - EditorAction: packages/editor/editor-core/src/actions/index.ts
|
|
24
|
+
// - EditorSharedConfig: packages/editor/editor-core/src/labs/next/internal/context/shared-config.tsx
|
|
20
25
|
/**
|
|
21
26
|
* Wraps component in a high order component that watches state changes of given plugins
|
|
22
27
|
* and passes those states to the wrapped component.
|
|
@@ -126,6 +131,10 @@ var WithPluginState = /*#__PURE__*/function (_React$Component) {
|
|
|
126
131
|
var props = maybeProps || this.props;
|
|
127
132
|
return props.eventDispatcher || this.context && this.context.editorActions && this.context.editorActions._privateGetEventDispatcher() || this.context && this.context.editorSharedConfig && this.context.editorSharedConfig.eventDispatcher;
|
|
128
133
|
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Debounces setState calls in order to reduce number of re-renders caused by several plugin state changes.
|
|
137
|
+
*/
|
|
129
138
|
}, {
|
|
130
139
|
key: "getPluginsStates",
|
|
131
140
|
value: function getPluginsStates(plugins, editorView) {
|
|
@@ -5,7 +5,7 @@ export declare const SmartLinkNodeContexts: {
|
|
|
5
5
|
[P in SmartLinkNodeContext]: P;
|
|
6
6
|
};
|
|
7
7
|
export declare type InsertSmartLinkAEP = InsertAEP<ACTION_SUBJECT_ID.SMART_LINK, {
|
|
8
|
-
inputMethod: INPUT_METHOD.CLIPBOARD | INPUT_METHOD.AUTO_DETECT | INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.MANUAL | INPUT_METHOD.FORMATTING;
|
|
8
|
+
inputMethod: INPUT_METHOD.CLIPBOARD | INPUT_METHOD.AUTO_DETECT | INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.MANUAL | INPUT_METHOD.FORMATTING | INPUT_METHOD.FLOATING_TB;
|
|
9
9
|
nodeType: 'inlineCard' | 'blockCard' | 'embedCard';
|
|
10
10
|
nodeContext: SmartLinkNodeContext;
|
|
11
11
|
fromCurrentDomain: boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EditorState, ReadonlyTransaction, Selection, Transaction } from 'prosemirror-state';
|
|
2
|
+
import { EditorView } from 'prosemirror-view';
|
|
3
|
+
import { LinkStepMetadata } from '@atlaskit/adf-schema/steps';
|
|
4
|
+
/**
|
|
5
|
+
* Records metadata about the user action and input method relating to a transaction
|
|
6
|
+
* as a custom LinkStepMetadata prosemirror step so that it is preserved in
|
|
7
|
+
* the history for undo/redo
|
|
8
|
+
*/
|
|
9
|
+
export declare function addLinkMetadata(initialSelection: Selection, tr: Transaction, metadata: LinkStepMetadata): Transaction<any>;
|
|
10
|
+
export declare function getLinkMetadataFromTransaction(tr: Transaction | ReadonlyTransaction): LinkStepMetadata;
|
|
11
|
+
export declare type CommandDispatch = (tr: Transaction) => void;
|
|
12
|
+
export declare type Command = (state: EditorState, dispatch?: CommandDispatch, view?: EditorView) => boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Adds metadata to the transaction created from a command
|
|
15
|
+
* The metadata describes the user intent and input method
|
|
16
|
+
* for executing the command
|
|
17
|
+
*/
|
|
18
|
+
export declare const commandWithMetadata: (command: Command, metadata: LinkStepMetadata) => Command;
|
|
@@ -3,6 +3,8 @@ import React from 'react';
|
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
4
|
import type { Command } from '../types/command';
|
|
5
5
|
export declare const addAltText: Keymap;
|
|
6
|
+
export declare const navToEditorToolbar: Keymap;
|
|
7
|
+
export declare const navToFloatingToolbar: Keymap;
|
|
6
8
|
export declare const toggleBold: Keymap;
|
|
7
9
|
export declare const toggleItalic: Keymap;
|
|
8
10
|
export declare const toggleUnderline: Keymap;
|
|
@@ -319,6 +319,13 @@ export declare type FeatureFlags = {
|
|
|
319
319
|
* @default false
|
|
320
320
|
*/
|
|
321
321
|
lpLinkPickerFocusTrap?: boolean;
|
|
322
|
+
/**
|
|
323
|
+
* @description
|
|
324
|
+
* Enables linking platform event tracking using @atlaskit/link-analytics
|
|
325
|
+
*
|
|
326
|
+
* @default false
|
|
327
|
+
*/
|
|
328
|
+
lpAnalyticsEventsNext?: boolean;
|
|
322
329
|
/**
|
|
323
330
|
* @description
|
|
324
331
|
* Show link settings button in the Floating toolbar
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export type { PaletteColor } from './type';
|
|
2
2
|
export { DEFAULT_BORDER_COLOR } from './common';
|
|
3
|
-
export {
|
|
3
|
+
export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, chartsColorPaletteTooltipMessages, textPaletteTooltipMessages, } from './paletteMessagesTokenModeNames';
|