@atlaskit/editor-common 114.28.0 → 114.29.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 114.29.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`14b617e1204ad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/14b617e1204ad) -
8
+ Cleanup confluence_frontend_fix_date_hydration_error experiment
9
+ - [`a94026f1bcd86`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a94026f1bcd86) -
10
+ [ux] fix: scope card queue to inserted range when inserting MAUI embed via Add to Doc
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 114.28.0
4
17
 
5
18
  ### Minor Changes
@@ -95,5 +95,10 @@ var toolbarMessages = exports.toolbarMessages = (0, _reactIntl.defineMessages)({
95
95
  id: 'fabric.editor.layout.resizeLayout',
96
96
  defaultMessage: 'Resize layout',
97
97
  description: 'The text is shown as a label on a button or handle when the user can resize the layout columns in the editor.'
98
+ },
99
+ distributeColumns: {
100
+ id: 'fabric.editor.layout.distributeColumns',
101
+ defaultMessage: 'Distribute columns',
102
+ description: 'The text is shown as a label for an option that distributes layout columns evenly.'
98
103
  }
99
104
  });
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
19
19
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
20
20
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
21
21
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
22
- var packageVersion = "114.27.0";
22
+ var packageVersion = "114.28.0";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "114.27.0";
27
+ var packageVersion = "114.28.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.todayTimestampInUTC = exports.timestampToUTCDate = exports.timestampToTaskContext = exports.timestampToString = exports.timestampToIsoFormat = exports.isPastDate = void 0;
8
8
  var _differenceInCalendarDays = _interopRequireDefault(require("date-fns/differenceInCalendarDays"));
9
9
  var _isBefore = _interopRequireDefault(require("date-fns/isBefore"));
10
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
11
10
  var FORMATS = /*#__PURE__*/function (FORMATS) {
12
11
  FORMATS["ISO_FORMAT"] = "YYYY-MM-DD";
13
12
  FORMATS["LOCALIZED_FORMAT"] = "LOCALIZED_FORMAT";
@@ -26,7 +25,7 @@ var timestampToUTCDate = exports.timestampToUTCDate = function timestampToUTCDat
26
25
  };
27
26
  var todayTimestampInUTC = exports.todayTimestampInUTC = function todayTimestampInUTC(timeZone) {
28
27
  var today = new Date(Date.now());
29
- if (timeZone && (0, _expValEquals.expValEquals)('confluence_frontend_fix_date_hydration_error', 'isEnabled', true)) {
28
+ if (timeZone) {
30
29
  var _parts$find, _parts$find2, _parts$find3;
31
30
  var parts = new Intl.DateTimeFormat('en-US', {
32
31
  timeZone: timeZone,
@@ -89,5 +89,10 @@ export const toolbarMessages = defineMessages({
89
89
  id: 'fabric.editor.layout.resizeLayout',
90
90
  defaultMessage: 'Resize layout',
91
91
  description: 'The text is shown as a label on a button or handle when the user can resize the layout columns in the editor.'
92
+ },
93
+ distributeColumns: {
94
+ id: 'fabric.editor.layout.distributeColumns',
95
+ defaultMessage: 'Distribute columns',
96
+ description: 'The text is shown as a label for an option that distributes layout columns evenly.'
92
97
  }
93
98
  });
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
4
4
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
5
5
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
6
6
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
7
- const packageVersion = "114.27.0";
7
+ const packageVersion = "114.28.0";
8
8
  const sanitiseSentryEvents = (data, _hint) => {
9
9
  // Remove URL as it has UGC
10
10
  // Ignored via go/ees007
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "114.27.0";
17
+ const packageVersion = "114.28.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -1,6 +1,5 @@
1
1
  import differenceInCalendarDays from 'date-fns/differenceInCalendarDays';
2
2
  import isBefore from 'date-fns/isBefore';
3
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
3
  var FORMATS = /*#__PURE__*/function (FORMATS) {
5
4
  FORMATS["ISO_FORMAT"] = "YYYY-MM-DD";
6
5
  FORMATS["LOCALIZED_FORMAT"] = "LOCALIZED_FORMAT";
@@ -19,7 +18,7 @@ export const timestampToUTCDate = timestamp => {
19
18
  };
20
19
  export const todayTimestampInUTC = timeZone => {
21
20
  const today = new Date(Date.now());
22
- if (timeZone && expValEquals('confluence_frontend_fix_date_hydration_error', 'isEnabled', true)) {
21
+ if (timeZone) {
23
22
  var _parts$find, _parts$find2, _parts$find3;
24
23
  const parts = new Intl.DateTimeFormat('en-US', {
25
24
  timeZone,
@@ -89,5 +89,10 @@ export var toolbarMessages = defineMessages({
89
89
  id: 'fabric.editor.layout.resizeLayout',
90
90
  defaultMessage: 'Resize layout',
91
91
  description: 'The text is shown as a label on a button or handle when the user can resize the layout columns in the editor.'
92
+ },
93
+ distributeColumns: {
94
+ id: 'fabric.editor.layout.distributeColumns',
95
+ defaultMessage: 'Distribute columns',
96
+ description: 'The text is shown as a label for an option that distributes layout columns evenly.'
92
97
  }
93
98
  });
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
10
10
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
11
11
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
12
12
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
13
- var packageVersion = "114.27.0";
13
+ var packageVersion = "114.28.0";
14
14
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
15
15
  // Remove URL as it has UGC
16
16
  // Ignored via go/ees007
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "114.27.0";
24
+ var packageVersion = "114.28.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -1,6 +1,5 @@
1
1
  import differenceInCalendarDays from 'date-fns/differenceInCalendarDays';
2
2
  import isBefore from 'date-fns/isBefore';
3
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
3
  var FORMATS = /*#__PURE__*/function (FORMATS) {
5
4
  FORMATS["ISO_FORMAT"] = "YYYY-MM-DD";
6
5
  FORMATS["LOCALIZED_FORMAT"] = "LOCALIZED_FORMAT";
@@ -19,7 +18,7 @@ export var timestampToUTCDate = function timestampToUTCDate(timestamp) {
19
18
  };
20
19
  export var todayTimestampInUTC = function todayTimestampInUTC(timeZone) {
21
20
  var today = new Date(Date.now());
22
- if (timeZone && expValEquals('confluence_frontend_fix_date_hydration_error', 'isEnabled', true)) {
21
+ if (timeZone) {
23
22
  var _parts$find, _parts$find2, _parts$find3;
24
23
  var parts = new Intl.DateTimeFormat('en-US', {
25
24
  timeZone: timeZone,
@@ -2,7 +2,7 @@ export type { CardOptions, OnClickCallback } from './cardOptions';
2
2
  export { addLinkMetadata, getLinkMetadataFromTransaction, commandWithMetadata } from './utils';
3
3
  export { default as buildLayoutButtons, alignmentIcons, wrappingIcons, layoutToMessages, buildLayoutDropdown, } from './MediaAndEmbedsToolbar';
4
4
  export type { IconMap, LayoutIcon } from './MediaAndEmbedsToolbar';
5
- export type { OptionConfig, CardPluginActions, QueueCardsFromTransactionAction, HideLinkToolbarAction, ChangeSelectedCardToLink, SetSelectedCardAppearance, CardReplacementInputMethod, EmbedCardTransformAttrs, EmbedCardNodeTransformer, EmbedCardTransformCommandOptions, CreateEmbedCardTransformCommand, EmbedCardTransformers, } from './types';
5
+ export type { OptionConfig, CardPluginActions, QueueCardsFromTransactionAction, QueueCardsFromRangeAction, HideLinkToolbarAction, ChangeSelectedCardToLink, SetSelectedCardAppearance, CardReplacementInputMethod, EmbedCardTransformAttrs, EmbedCardNodeTransformer, EmbedCardTransformCommandOptions, CreateEmbedCardTransformCommand, EmbedCardTransformers, } from './types';
6
6
  export { LinkToolbarButtonGroup } from './LinkToolbarButtonGroup';
7
7
  export { appearancePropsMap, getButtonGroupOption } from './link-toolbar-button-group-options';
8
8
  export { getDropdownOption } from './link-toolbar-dropdown-options';
@@ -18,6 +18,12 @@ export interface OptionConfig {
18
18
  }
19
19
  export type CardReplacementInputMethod = INPUT_METHOD.CLIPBOARD | INPUT_METHOD.AUTO_DETECT | INPUT_METHOD.FORMATTING | INPUT_METHOD.MANUAL | INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.FLOATING_TB;
20
20
  export type QueueCardsFromTransactionAction = (state: EditorState, tr: Transaction, source: CardReplacementInputMethod, analyticsAction?: ACTION, normalizeLinkText?: boolean, sourceEvent?: UIAnalyticsEvent | null | undefined, appearance?: CardAppearance) => Transaction;
21
+ /**
22
+ * Like {@link QueueCardsFromTransactionAction} but scoped to an explicit
23
+ * document range (`from`..`to`) instead of the entire step range of the
24
+ * transaction. Use this when only newly-inserted content should be resolved.
25
+ */
26
+ export type QueueCardsFromRangeAction = (state: EditorState, tr: Transaction, from: number, to: number, source: CardReplacementInputMethod, analyticsAction?: ACTION, normalizeLinkText?: boolean, sourceEvent?: UIAnalyticsEvent | null | undefined, appearance?: CardAppearance) => Transaction;
21
27
  export type HideLinkToolbarAction = (tr: Transaction) => Transaction;
22
28
  export type ChangeSelectedCardToLink = (text?: string, href?: string, sendAnalytics?: boolean, node?: Node, pos?: number, editorAnalyticsApi?: EditorAnalyticsAPI) => Command;
23
29
  export type SetSelectedCardAppearance = (appearance: CardAppearance, editorAnalyticsApi: EditorAnalyticsAPI | undefined) => Command;
@@ -74,6 +80,21 @@ export interface EmbedCardTransformers {
74
80
  embedCardNodeTransformer: EmbedCardNodeTransformer;
75
81
  }
76
82
  export type CardPluginActions = {
83
+ getEndingToolbarItems: GetEndingToolbarItems;
84
+ getStartingToolbarItems: GetStartingToolbarItems;
85
+ hideLinkToolbar: HideLinkToolbarAction;
86
+ queueCardsFromChangedTr: QueueCardsFromTransactionAction;
87
+ /**
88
+ * Like `queueCardsFromChangedTr` but scoped to an explicit document range.
89
+ * Use when only newly-inserted content should be resolved, to avoid
90
+ * accidentally converting pre-existing links in the surrounding document.
91
+ *
92
+ * Optional for backward compatibility — older versions of the card plugin
93
+ * may not expose this action. Callers should fall back to
94
+ * `queueCardsFromChangedTr` when unavailable.
95
+ */
96
+ queueCardsFromRange?: QueueCardsFromRangeAction;
97
+ registerEmbedCardTransformer: (transformers: EmbedCardTransformers) => void;
77
98
  /**
78
99
  * Resolves a URL via the Object Resolver Service and returns the canonical
79
100
  * expanded URL. Useful for expanding Confluence short-link URLs
@@ -83,10 +104,5 @@ export type CardPluginActions = {
83
104
  * usable URL in its response data.
84
105
  */
85
106
  resolveShortLinkUrl: (url: string) => Promise<string | undefined>;
86
- getEndingToolbarItems: GetEndingToolbarItems;
87
- getStartingToolbarItems: GetStartingToolbarItems;
88
- hideLinkToolbar: HideLinkToolbarAction;
89
- queueCardsFromChangedTr: QueueCardsFromTransactionAction;
90
- registerEmbedCardTransformer: (transformers: EmbedCardTransformers) => void;
91
107
  setProvider: (provider: Promise<CardProvider>) => Promise<boolean>;
92
108
  };
@@ -1,92 +1,97 @@
1
1
  export declare const toolbarMessages: {
2
- singleColumn: {
3
- id: string;
2
+ columnOption: {
4
3
  defaultMessage: string;
5
4
  description: string;
6
- };
7
- twoColumns: {
8
5
  id: string;
9
- defaultMessage: string;
10
- description: string;
11
6
  };
12
- singleColumnAdvancedLayout: {
13
- id: string;
7
+ controlslayoutPlaceholder: {
14
8
  defaultMessage: string;
15
9
  description: string;
16
- };
17
- twoColumnsAdvancedLayout: {
18
10
  id: string;
11
+ };
12
+ distributeColumns: {
19
13
  defaultMessage: string;
20
14
  description: string;
21
- };
22
- threeColumns: {
23
15
  id: string;
16
+ };
17
+ fiveColumns: {
24
18
  defaultMessage: string;
25
19
  description: string;
26
- };
27
- threeColumnsAdvancedLayout: {
28
20
  id: string;
21
+ };
22
+ floatingToolbarRadioGroupAriaLabel: {
29
23
  defaultMessage: string;
30
24
  description: string;
25
+ id: string;
31
26
  };
32
27
  fourColumns: {
28
+ defaultMessage: string;
29
+ description: string;
33
30
  id: string;
31
+ };
32
+ layoutPlaceholder: {
34
33
  defaultMessage: string;
35
34
  description: string;
35
+ id: string;
36
36
  };
37
- fiveColumns: {
37
+ leftSidebar: {
38
+ defaultMessage: string;
39
+ description: string;
38
40
  id: string;
41
+ };
42
+ resizeLayout: {
39
43
  defaultMessage: string;
40
44
  description: string;
45
+ id: string;
41
46
  };
42
47
  rightSidebar: {
43
- id: string;
44
48
  defaultMessage: string;
45
49
  description: string;
46
- };
47
- leftSidebar: {
48
50
  id: string;
51
+ };
52
+ singleColumn: {
49
53
  defaultMessage: string;
50
54
  description: string;
51
- };
52
- threeColumnsWithSidebars: {
53
55
  id: string;
56
+ };
57
+ singleColumnAdvancedLayout: {
54
58
  defaultMessage: string;
55
59
  description: string;
56
- };
57
- threeColumnsWithLeftSidebars: {
58
60
  id: string;
61
+ };
62
+ threeColumns: {
59
63
  defaultMessage: string;
60
64
  description: string;
61
- };
62
- threeColumnsWithRightSidebars: {
63
65
  id: string;
66
+ };
67
+ threeColumnsAdvancedLayout: {
64
68
  defaultMessage: string;
65
69
  description: string;
66
- };
67
- floatingToolbarRadioGroupAriaLabel: {
68
70
  id: string;
71
+ };
72
+ threeColumnsWithLeftSidebars: {
69
73
  defaultMessage: string;
70
74
  description: string;
71
- };
72
- layoutPlaceholder: {
73
75
  id: string;
76
+ };
77
+ threeColumnsWithRightSidebars: {
74
78
  defaultMessage: string;
75
79
  description: string;
76
- };
77
- controlslayoutPlaceholder: {
78
80
  id: string;
81
+ };
82
+ threeColumnsWithSidebars: {
79
83
  defaultMessage: string;
80
84
  description: string;
81
- };
82
- columnOption: {
83
85
  id: string;
86
+ };
87
+ twoColumns: {
84
88
  defaultMessage: string;
85
89
  description: string;
86
- };
87
- resizeLayout: {
88
90
  id: string;
91
+ };
92
+ twoColumnsAdvancedLayout: {
89
93
  defaultMessage: string;
90
94
  description: string;
95
+ id: string;
91
96
  };
92
97
  };
@@ -2,7 +2,7 @@ export type { CardOptions, OnClickCallback } from './cardOptions';
2
2
  export { addLinkMetadata, getLinkMetadataFromTransaction, commandWithMetadata } from './utils';
3
3
  export { default as buildLayoutButtons, alignmentIcons, wrappingIcons, layoutToMessages, buildLayoutDropdown, } from './MediaAndEmbedsToolbar';
4
4
  export type { IconMap, LayoutIcon } from './MediaAndEmbedsToolbar';
5
- export type { OptionConfig, CardPluginActions, QueueCardsFromTransactionAction, HideLinkToolbarAction, ChangeSelectedCardToLink, SetSelectedCardAppearance, CardReplacementInputMethod, EmbedCardTransformAttrs, EmbedCardNodeTransformer, EmbedCardTransformCommandOptions, CreateEmbedCardTransformCommand, EmbedCardTransformers, } from './types';
5
+ export type { OptionConfig, CardPluginActions, QueueCardsFromTransactionAction, QueueCardsFromRangeAction, HideLinkToolbarAction, ChangeSelectedCardToLink, SetSelectedCardAppearance, CardReplacementInputMethod, EmbedCardTransformAttrs, EmbedCardNodeTransformer, EmbedCardTransformCommandOptions, CreateEmbedCardTransformCommand, EmbedCardTransformers, } from './types';
6
6
  export { LinkToolbarButtonGroup } from './LinkToolbarButtonGroup';
7
7
  export { appearancePropsMap, getButtonGroupOption } from './link-toolbar-button-group-options';
8
8
  export { getDropdownOption } from './link-toolbar-dropdown-options';
@@ -18,6 +18,12 @@ export interface OptionConfig {
18
18
  }
19
19
  export type CardReplacementInputMethod = INPUT_METHOD.CLIPBOARD | INPUT_METHOD.AUTO_DETECT | INPUT_METHOD.FORMATTING | INPUT_METHOD.MANUAL | INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.FLOATING_TB;
20
20
  export type QueueCardsFromTransactionAction = (state: EditorState, tr: Transaction, source: CardReplacementInputMethod, analyticsAction?: ACTION, normalizeLinkText?: boolean, sourceEvent?: UIAnalyticsEvent | null | undefined, appearance?: CardAppearance) => Transaction;
21
+ /**
22
+ * Like {@link QueueCardsFromTransactionAction} but scoped to an explicit
23
+ * document range (`from`..`to`) instead of the entire step range of the
24
+ * transaction. Use this when only newly-inserted content should be resolved.
25
+ */
26
+ export type QueueCardsFromRangeAction = (state: EditorState, tr: Transaction, from: number, to: number, source: CardReplacementInputMethod, analyticsAction?: ACTION, normalizeLinkText?: boolean, sourceEvent?: UIAnalyticsEvent | null | undefined, appearance?: CardAppearance) => Transaction;
21
27
  export type HideLinkToolbarAction = (tr: Transaction) => Transaction;
22
28
  export type ChangeSelectedCardToLink = (text?: string, href?: string, sendAnalytics?: boolean, node?: Node, pos?: number, editorAnalyticsApi?: EditorAnalyticsAPI) => Command;
23
29
  export type SetSelectedCardAppearance = (appearance: CardAppearance, editorAnalyticsApi: EditorAnalyticsAPI | undefined) => Command;
@@ -74,6 +80,21 @@ export interface EmbedCardTransformers {
74
80
  embedCardNodeTransformer: EmbedCardNodeTransformer;
75
81
  }
76
82
  export type CardPluginActions = {
83
+ getEndingToolbarItems: GetEndingToolbarItems;
84
+ getStartingToolbarItems: GetStartingToolbarItems;
85
+ hideLinkToolbar: HideLinkToolbarAction;
86
+ queueCardsFromChangedTr: QueueCardsFromTransactionAction;
87
+ /**
88
+ * Like `queueCardsFromChangedTr` but scoped to an explicit document range.
89
+ * Use when only newly-inserted content should be resolved, to avoid
90
+ * accidentally converting pre-existing links in the surrounding document.
91
+ *
92
+ * Optional for backward compatibility — older versions of the card plugin
93
+ * may not expose this action. Callers should fall back to
94
+ * `queueCardsFromChangedTr` when unavailable.
95
+ */
96
+ queueCardsFromRange?: QueueCardsFromRangeAction;
97
+ registerEmbedCardTransformer: (transformers: EmbedCardTransformers) => void;
77
98
  /**
78
99
  * Resolves a URL via the Object Resolver Service and returns the canonical
79
100
  * expanded URL. Useful for expanding Confluence short-link URLs
@@ -83,10 +104,5 @@ export type CardPluginActions = {
83
104
  * usable URL in its response data.
84
105
  */
85
106
  resolveShortLinkUrl: (url: string) => Promise<string | undefined>;
86
- getEndingToolbarItems: GetEndingToolbarItems;
87
- getStartingToolbarItems: GetStartingToolbarItems;
88
- hideLinkToolbar: HideLinkToolbarAction;
89
- queueCardsFromChangedTr: QueueCardsFromTransactionAction;
90
- registerEmbedCardTransformer: (transformers: EmbedCardTransformers) => void;
91
107
  setProvider: (provider: Promise<CardProvider>) => Promise<boolean>;
92
108
  };
@@ -1,92 +1,97 @@
1
1
  export declare const toolbarMessages: {
2
- singleColumn: {
3
- id: string;
2
+ columnOption: {
4
3
  defaultMessage: string;
5
4
  description: string;
6
- };
7
- twoColumns: {
8
5
  id: string;
9
- defaultMessage: string;
10
- description: string;
11
6
  };
12
- singleColumnAdvancedLayout: {
13
- id: string;
7
+ controlslayoutPlaceholder: {
14
8
  defaultMessage: string;
15
9
  description: string;
16
- };
17
- twoColumnsAdvancedLayout: {
18
10
  id: string;
11
+ };
12
+ distributeColumns: {
19
13
  defaultMessage: string;
20
14
  description: string;
21
- };
22
- threeColumns: {
23
15
  id: string;
16
+ };
17
+ fiveColumns: {
24
18
  defaultMessage: string;
25
19
  description: string;
26
- };
27
- threeColumnsAdvancedLayout: {
28
20
  id: string;
21
+ };
22
+ floatingToolbarRadioGroupAriaLabel: {
29
23
  defaultMessage: string;
30
24
  description: string;
25
+ id: string;
31
26
  };
32
27
  fourColumns: {
28
+ defaultMessage: string;
29
+ description: string;
33
30
  id: string;
31
+ };
32
+ layoutPlaceholder: {
34
33
  defaultMessage: string;
35
34
  description: string;
35
+ id: string;
36
36
  };
37
- fiveColumns: {
37
+ leftSidebar: {
38
+ defaultMessage: string;
39
+ description: string;
38
40
  id: string;
41
+ };
42
+ resizeLayout: {
39
43
  defaultMessage: string;
40
44
  description: string;
45
+ id: string;
41
46
  };
42
47
  rightSidebar: {
43
- id: string;
44
48
  defaultMessage: string;
45
49
  description: string;
46
- };
47
- leftSidebar: {
48
50
  id: string;
51
+ };
52
+ singleColumn: {
49
53
  defaultMessage: string;
50
54
  description: string;
51
- };
52
- threeColumnsWithSidebars: {
53
55
  id: string;
56
+ };
57
+ singleColumnAdvancedLayout: {
54
58
  defaultMessage: string;
55
59
  description: string;
56
- };
57
- threeColumnsWithLeftSidebars: {
58
60
  id: string;
61
+ };
62
+ threeColumns: {
59
63
  defaultMessage: string;
60
64
  description: string;
61
- };
62
- threeColumnsWithRightSidebars: {
63
65
  id: string;
66
+ };
67
+ threeColumnsAdvancedLayout: {
64
68
  defaultMessage: string;
65
69
  description: string;
66
- };
67
- floatingToolbarRadioGroupAriaLabel: {
68
70
  id: string;
71
+ };
72
+ threeColumnsWithLeftSidebars: {
69
73
  defaultMessage: string;
70
74
  description: string;
71
- };
72
- layoutPlaceholder: {
73
75
  id: string;
76
+ };
77
+ threeColumnsWithRightSidebars: {
74
78
  defaultMessage: string;
75
79
  description: string;
76
- };
77
- controlslayoutPlaceholder: {
78
80
  id: string;
81
+ };
82
+ threeColumnsWithSidebars: {
79
83
  defaultMessage: string;
80
84
  description: string;
81
- };
82
- columnOption: {
83
85
  id: string;
86
+ };
87
+ twoColumns: {
84
88
  defaultMessage: string;
85
89
  description: string;
86
- };
87
- resizeLayout: {
88
90
  id: string;
91
+ };
92
+ twoColumnsAdvancedLayout: {
89
93
  defaultMessage: string;
90
94
  description: string;
95
+ id: string;
91
96
  };
92
97
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "114.28.0",
3
+ "version": "114.29.0",
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/"
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@atlaskit/activity-provider": "^2.5.0",
40
- "@atlaskit/adf-schema": "^52.10.0",
40
+ "@atlaskit/adf-schema": "^52.11.0",
41
41
  "@atlaskit/adf-utils": "^19.29.0",
42
42
  "@atlaskit/afm-i18n-platform-editor-editor-common": "2.18.0",
43
43
  "@atlaskit/analytics-listeners": "^10.0.0",
@@ -55,7 +55,7 @@
55
55
  "@atlaskit/editor-prosemirror": "^7.3.0",
56
56
  "@atlaskit/editor-shared-styles": "^3.10.0",
57
57
  "@atlaskit/editor-tables": "^2.9.0",
58
- "@atlaskit/editor-toolbar": "^1.0.0",
58
+ "@atlaskit/editor-toolbar": "^1.1.0",
59
59
  "@atlaskit/editor-toolbar-model": "^0.4.0",
60
60
  "@atlaskit/emoji": "^70.5.0",
61
61
  "@atlaskit/icon": "^34.5.0",
@@ -77,7 +77,7 @@
77
77
  "@atlaskit/platform-feature-flags": "^1.1.0",
78
78
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
79
79
  "@atlaskit/primitives": "^19.0.0",
80
- "@atlaskit/profilecard": "^25.4.0",
80
+ "@atlaskit/profilecard": "^25.5.0",
81
81
  "@atlaskit/prosemirror-history": "^0.2.0",
82
82
  "@atlaskit/react-ufo": "^5.20.0",
83
83
  "@atlaskit/section-message": "^8.12.0",
@@ -86,9 +86,9 @@
86
86
  "@atlaskit/spinner": "^19.1.0",
87
87
  "@atlaskit/task-decision": "^20.0.0",
88
88
  "@atlaskit/textfield": "^8.3.0",
89
- "@atlaskit/tmp-editor-statsig": "^78.0.0",
89
+ "@atlaskit/tmp-editor-statsig": "^79.0.0",
90
90
  "@atlaskit/tokens": "^13.0.0",
91
- "@atlaskit/tooltip": "^22.1.0",
91
+ "@atlaskit/tooltip": "^22.2.0",
92
92
  "@atlaskit/width-detector": "^5.1.0",
93
93
  "@babel/runtime": "^7.0.0",
94
94
  "@compiled/react": "^0.20.0",