@atlaskit/editor-common 72.0.1 → 72.1.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.
Files changed (29) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/dist/cjs/analytics/types/enums.js +1 -1
  3. package/dist/cjs/ui/DropList/index.js +1 -1
  4. package/dist/cjs/ui/PortalProvider/PortalProviderThemesProvider.js +5 -12
  5. package/dist/cjs/ui-color/ColorPalette/Palettes/textColorPalette.js +1 -7
  6. package/dist/cjs/ui-color/index.js +0 -6
  7. package/dist/cjs/version.json +1 -1
  8. package/dist/es2019/analytics/types/enums.js +1 -1
  9. package/dist/es2019/ui/DropList/index.js +1 -1
  10. package/dist/es2019/ui/PortalProvider/PortalProviderThemesProvider.js +5 -12
  11. package/dist/es2019/ui-color/ColorPalette/Palettes/textColorPalette.js +1 -5
  12. package/dist/es2019/ui-color/index.js +1 -1
  13. package/dist/es2019/version.json +1 -1
  14. package/dist/esm/analytics/types/enums.js +1 -1
  15. package/dist/esm/ui/DropList/index.js +1 -1
  16. package/dist/esm/ui/PortalProvider/PortalProviderThemesProvider.js +5 -12
  17. package/dist/esm/ui-color/ColorPalette/Palettes/textColorPalette.js +1 -5
  18. package/dist/esm/ui-color/index.js +1 -1
  19. package/dist/esm/version.json +1 -1
  20. package/dist/types/analytics/types/enums.d.ts +1 -1
  21. package/dist/types/analytics/types/events.d.ts +3 -2
  22. package/dist/types/analytics/types/experimental-events.d.ts +0 -1
  23. package/dist/types/analytics/types/general-events.d.ts +3 -1
  24. package/dist/types/types/feature-flags.d.ts +15 -5
  25. package/dist/types/types/floating-toolbar.d.ts +2 -0
  26. package/dist/types/ui-color/ColorPalette/Palettes/textColorPalette.d.ts +0 -1
  27. package/dist/types/ui-color/index.d.ts +1 -1
  28. package/package.json +5 -5
  29. package/report.api.md +16 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,77 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 72.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`055a333dad9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/055a333dad9) - [ux] Remove `moreTextColors` feature flag and deprecate `allowMoreTextColors` field of `allowTextColor` editor prop and `colorPaletteExtended` mark.
8
+
9
+ Showing more colors in the color selection palette is now a default behaviour.
10
+
11
+ ## **DEPRECATION WARNING:**
12
+
13
+ There are 2 deprecations in this change:
14
+
15
+ ### 1. `allowMoreTextColors` field of `allowTextColor` editor prop.
16
+
17
+ `allowMoreTextColors` field of `allowTextColor` editor prop. **is now deprecated and will be removed in the next stable release of `@atlaskit/editor-core` package**. Please take steps to remove that field from your code. E.g.:
18
+
19
+ ```tsx
20
+ <Editor
21
+ ...
22
+ allowTextColor ={
23
+ allowMoreTextColors: true // <-- Deprecated
24
+ defaultColour: {color: 'red', label: 'red'}
25
+ }
26
+ />
27
+ ```
28
+
29
+ Remove all instances of `allowMoreTextColors` field from `allowTextColor` `Editor` prop. I.e.:
30
+
31
+ ```tsx
32
+ <Editor
33
+ ...
34
+ allowTextColor ={
35
+ defaultColour: {color: 'red', label: 'red'}
36
+ }
37
+ />
38
+ ```
39
+
40
+ If the resulting `allowTextColor` prop is an empty object, set `allowTextColor` property value to `true`. E.g.:
41
+
42
+ ```tsx
43
+ <Editor
44
+ appearance="full-page"
45
+ ...
46
+ allowTextColor ={
47
+ allowMoreTextColors: true // <-- Invalid
48
+ }
49
+ />
50
+ ```
51
+
52
+ should become
53
+
54
+ ```tsx
55
+ <Editor
56
+ appearance="full-page"
57
+ ...
58
+ allowTextColor={true}
59
+ />
60
+ ```
61
+
62
+ ### 2. `colorPaletteExtended` mark of the ADF schema
63
+
64
+ `colorPaletteExtended` mark of the ADF schema **is now deprecated and will be removed in the next stable release**. The extended palette is now rolled into the main one. use `colorPalette` instead.
65
+
66
+ ### Patch Changes
67
+
68
+ - [`f7cdc36d75b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7cdc36d75b) - ED016195 update EDITOR_CRASHED_ADDITIONAL_INFORMATION event name
69
+ - [`efa8b7ee68e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efa8b7ee68e) - ED-15808 Changes to replace usage of enzyme with React test library
70
+ - [`70d0799eee0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70d0799eee0) - ED-14002 Added `safer-dispatched-transactions` featureFlag to preventtransactions from being mutated after dispatch at runtime.
71
+ - [`c6c0cab10e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6c0cab10e0) - [ux] ED-16205 - Fix missing yellow highlight on merged table cells when hover sort column options on table floating toolbar
72
+ - [`b9141027f87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9141027f87) - [ux] ED-13873 fixes a bug where after deleting a list in a panel or table the cursor would move to the cell to the right. Uses setSelection to position the cursor as expected after delete.
73
+ - Updated dependencies
74
+
3
75
  ## 72.0.1
4
76
 
5
77
  ### Patch Changes
@@ -47,7 +47,7 @@ exports.ACTION = ACTION;
47
47
  ACTION["DISPATCHED_VALID_TRANSACTION"] = "dispatchedValidTransaction";
48
48
  ACTION["EDITED"] = "edited";
49
49
  ACTION["EDITOR_CRASHED"] = "unhandledErrorCaught";
50
- ACTION["EDITOR_CRASHED_ADDITIONAL_INFORMATION"] = "unhandledErrorCaughtAdditionalInfo";
50
+ ACTION["EDITOR_CRASHED_ADDITIONAL_INFORMATION"] = "unhandledErrorCaughtAdditionalInfov2";
51
51
  ACTION["EDITOR_MOUNTED"] = "mounted";
52
52
  ACTION["EDITOR_TTI"] = "tti";
53
53
  ACTION["EDITOR_CONTENT_RETRIEVAL_PERFORMED"] = "contentRetrievalPerformed";
@@ -44,7 +44,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
44
44
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
45
45
 
46
46
  var packageName = "@atlaskit/editor-common";
47
- var packageVersion = "72.0.1";
47
+ var packageVersion = "72.1.0";
48
48
  var halfFocusRing = 1;
49
49
  var dropOffset = "0, ".concat((0, _constants.gridSize)(), "px");
50
50
 
@@ -45,16 +45,9 @@ function PortalProviderThemeProviders(props) {
45
45
  };
46
46
  }, [mode]);
47
47
 
48
- return (
49
- /*#__PURE__*/
50
- // TODO: ED-15585
51
- // import { ThemeProvider as DeprectateStyledComponentsProvider } from 'styled-components';
52
- // <DeprectateStyledComponentsProvider theme={styledComponentsAndEmotionTheme}>
53
- // </DeprectateStyledComponentsProvider>
54
- _react.default.createElement(_react2.ThemeProvider, {
55
- theme: styledComponentsAndEmotionTheme
56
- }, /*#__PURE__*/_react.default.createElement(_components.default.Provider, {
57
- value: atlaskitTheme
58
- }, children))
59
- );
48
+ return /*#__PURE__*/_react.default.createElement(_react2.ThemeProvider, {
49
+ theme: styledComponentsAndEmotionTheme
50
+ }, /*#__PURE__*/_react.default.createElement(_components.default.Provider, {
51
+ value: atlaskitTheme
52
+ }, children));
60
53
  }
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.textColorPaletteExtended = exports.textColorPalette = void 0;
8
+ exports.textColorPalette = void 0;
9
9
 
10
10
  var _adfSchema = require("@atlaskit/adf-schema");
11
11
 
@@ -29,13 +29,7 @@ var mapPaletteColor = function mapPaletteColor(label, color) {
29
29
 
30
30
  var textColorPalette = [];
31
31
  exports.textColorPalette = textColorPalette;
32
- var textColorPaletteExtended = [];
33
- exports.textColorPaletteExtended = textColorPaletteExtended;
34
32
 
35
33
  _adfSchema.colorPalette.forEach(function (label, color) {
36
34
  textColorPalette.push(mapPaletteColor(label, color));
37
- });
38
-
39
- _adfSchema.colorPaletteExtended.forEach(function (label, color) {
40
- textColorPaletteExtended.push(mapPaletteColor(label, color));
41
35
  });
@@ -65,12 +65,6 @@ Object.defineProperty(exports, "textColorPalette", {
65
65
  return _textColorPalette.textColorPalette;
66
66
  }
67
67
  });
68
- Object.defineProperty(exports, "textColorPaletteExtended", {
69
- enumerable: true,
70
- get: function get() {
71
- return _textColorPalette.textColorPaletteExtended;
72
- }
73
- });
74
68
 
75
69
  var _ColorPalette = _interopRequireDefault(require("./ColorPalette"));
76
70
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "72.0.1",
3
+ "version": "72.1.0",
4
4
  "sideEffects": false
5
5
  }
@@ -39,7 +39,7 @@ export let ACTION;
39
39
  ACTION["DISPATCHED_VALID_TRANSACTION"] = "dispatchedValidTransaction";
40
40
  ACTION["EDITED"] = "edited";
41
41
  ACTION["EDITOR_CRASHED"] = "unhandledErrorCaught";
42
- ACTION["EDITOR_CRASHED_ADDITIONAL_INFORMATION"] = "unhandledErrorCaughtAdditionalInfo";
42
+ ACTION["EDITOR_CRASHED_ADDITIONAL_INFORMATION"] = "unhandledErrorCaughtAdditionalInfov2";
43
43
  ACTION["EDITOR_MOUNTED"] = "mounted";
44
44
  ACTION["EDITOR_TTI"] = "tti";
45
45
  ACTION["EDITOR_CONTENT_RETRIEVAL_PERFORMED"] = "contentRetrievalPerformed";
@@ -9,7 +9,7 @@ import { themed } from '@atlaskit/theme/components';
9
9
  import { borderRadius, gridSize } from '@atlaskit/theme/constants';
10
10
  import Layer from '../Layer';
11
11
  const packageName = "@atlaskit/editor-common";
12
- const packageVersion = "72.0.1";
12
+ const packageVersion = "72.1.0";
13
13
  const halfFocusRing = 1;
14
14
  const dropOffset = `0, ${gridSize()}px`;
15
15
 
@@ -28,16 +28,9 @@ export function PortalProviderThemeProviders(props) {
28
28
  const atlaskitTheme = React.useCallback(() => ({
29
29
  mode
30
30
  }), [mode]);
31
- return (
32
- /*#__PURE__*/
33
- // TODO: ED-15585
34
- // import { ThemeProvider as DeprectateStyledComponentsProvider } from 'styled-components';
35
- // <DeprectateStyledComponentsProvider theme={styledComponentsAndEmotionTheme}>
36
- // </DeprectateStyledComponentsProvider>
37
- React.createElement(ThemeProvider, {
38
- theme: styledComponentsAndEmotionTheme
39
- }, /*#__PURE__*/React.createElement(AtlaskitTheme.Provider, {
40
- value: atlaskitTheme
41
- }, children))
42
- );
31
+ return /*#__PURE__*/React.createElement(ThemeProvider, {
32
+ theme: styledComponentsAndEmotionTheme
33
+ }, /*#__PURE__*/React.createElement(AtlaskitTheme.Provider, {
34
+ value: atlaskitTheme
35
+ }, children));
43
36
  }
@@ -1,4 +1,4 @@
1
- import { colorPalette, colorPaletteExtended } from '@atlaskit/adf-schema';
1
+ import { colorPalette } from '@atlaskit/adf-schema';
2
2
  import { DEFAULT_BORDER_COLOR } from './common';
3
3
  import getColorMessage from './getColorMessage';
4
4
  import paletteMessages from './paletteMessages';
@@ -16,10 +16,6 @@ const mapPaletteColor = (label, color) => {
16
16
 
17
17
 
18
18
  export const textColorPalette = [];
19
- export const textColorPaletteExtended = [];
20
19
  colorPalette.forEach((label, color) => {
21
20
  textColorPalette.push(mapPaletteColor(label, color));
22
- });
23
- colorPaletteExtended.forEach((label, color) => {
24
- textColorPaletteExtended.push(mapPaletteColor(label, color));
25
21
  });
@@ -4,5 +4,5 @@ export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/c
4
4
  export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
5
5
  export { panelBackgroundPalette, panelDarkModeBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
6
6
  export { lightModeStatusColorPalette, darkModeStatusColorPalette } from './ColorPalette/Palettes/statusColorPalette';
7
- export { textColorPalette, textColorPaletteExtended } from './ColorPalette/Palettes/textColorPalette';
7
+ export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
8
8
  export { DEFAULT_BORDER_COLOR } from './ColorPalette/Palettes/common';
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "72.0.1",
3
+ "version": "72.1.0",
4
4
  "sideEffects": false
5
5
  }
@@ -39,7 +39,7 @@ export var ACTION;
39
39
  ACTION["DISPATCHED_VALID_TRANSACTION"] = "dispatchedValidTransaction";
40
40
  ACTION["EDITED"] = "edited";
41
41
  ACTION["EDITOR_CRASHED"] = "unhandledErrorCaught";
42
- ACTION["EDITOR_CRASHED_ADDITIONAL_INFORMATION"] = "unhandledErrorCaughtAdditionalInfo";
42
+ ACTION["EDITOR_CRASHED_ADDITIONAL_INFORMATION"] = "unhandledErrorCaughtAdditionalInfov2";
43
43
  ACTION["EDITOR_MOUNTED"] = "mounted";
44
44
  ACTION["EDITOR_TTI"] = "tti";
45
45
  ACTION["EDITOR_CONTENT_RETRIEVAL_PERFORMED"] = "contentRetrievalPerformed";
@@ -22,7 +22,7 @@ import { themed } from '@atlaskit/theme/components';
22
22
  import { borderRadius, gridSize } from '@atlaskit/theme/constants';
23
23
  import Layer from '../Layer';
24
24
  var packageName = "@atlaskit/editor-common";
25
- var packageVersion = "72.0.1";
25
+ var packageVersion = "72.1.0";
26
26
  var halfFocusRing = 1;
27
27
  var dropOffset = "0, ".concat(gridSize(), "px");
28
28
 
@@ -28,16 +28,9 @@ export function PortalProviderThemeProviders(props) {
28
28
  mode: mode
29
29
  };
30
30
  }, [mode]);
31
- return (
32
- /*#__PURE__*/
33
- // TODO: ED-15585
34
- // import { ThemeProvider as DeprectateStyledComponentsProvider } from 'styled-components';
35
- // <DeprectateStyledComponentsProvider theme={styledComponentsAndEmotionTheme}>
36
- // </DeprectateStyledComponentsProvider>
37
- React.createElement(ThemeProvider, {
38
- theme: styledComponentsAndEmotionTheme
39
- }, /*#__PURE__*/React.createElement(AtlaskitTheme.Provider, {
40
- value: atlaskitTheme
41
- }, children))
42
- );
31
+ return /*#__PURE__*/React.createElement(ThemeProvider, {
32
+ theme: styledComponentsAndEmotionTheme
33
+ }, /*#__PURE__*/React.createElement(AtlaskitTheme.Provider, {
34
+ value: atlaskitTheme
35
+ }, children));
43
36
  }
@@ -1,4 +1,4 @@
1
- import { colorPalette, colorPaletteExtended } from '@atlaskit/adf-schema';
1
+ import { colorPalette } from '@atlaskit/adf-schema';
2
2
  import { DEFAULT_BORDER_COLOR } from './common';
3
3
  import getColorMessage from './getColorMessage';
4
4
  import paletteMessages from './paletteMessages';
@@ -16,10 +16,6 @@ var mapPaletteColor = function mapPaletteColor(label, color) {
16
16
 
17
17
 
18
18
  export var textColorPalette = [];
19
- export var textColorPaletteExtended = [];
20
19
  colorPalette.forEach(function (label, color) {
21
20
  textColorPalette.push(mapPaletteColor(label, color));
22
- });
23
- colorPaletteExtended.forEach(function (label, color) {
24
- textColorPaletteExtended.push(mapPaletteColor(label, color));
25
21
  });
@@ -4,5 +4,5 @@ export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/c
4
4
  export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
5
5
  export { panelBackgroundPalette, panelDarkModeBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
6
6
  export { lightModeStatusColorPalette, darkModeStatusColorPalette } from './ColorPalette/Palettes/statusColorPalette';
7
- export { textColorPalette, textColorPaletteExtended } from './ColorPalette/Palettes/textColorPalette';
7
+ export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
8
8
  export { DEFAULT_BORDER_COLOR } from './ColorPalette/Palettes/common';
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "72.0.1",
3
+ "version": "72.1.0",
4
4
  "sideEffects": false
5
5
  }
@@ -37,7 +37,7 @@ export declare enum ACTION {
37
37
  DISPATCHED_VALID_TRANSACTION = "dispatchedValidTransaction",
38
38
  EDITED = "edited",
39
39
  EDITOR_CRASHED = "unhandledErrorCaught",
40
- EDITOR_CRASHED_ADDITIONAL_INFORMATION = "unhandledErrorCaughtAdditionalInfo",
40
+ EDITOR_CRASHED_ADDITIONAL_INFORMATION = "unhandledErrorCaughtAdditionalInfov2",
41
41
  EDITOR_MOUNTED = "mounted",
42
42
  EDITOR_TTI = "tti",
43
43
  EDITOR_CONTENT_RETRIEVAL_PERFORMED = "contentRetrievalPerformed",
@@ -109,9 +109,10 @@ export declare type ErrorEventAttributes = {
109
109
  };
110
110
  declare type ComponentCrashErrorAEP = OperationalAEP<ACTION.EDITOR_CRASHED, ACTION_SUBJECT.FLOATING_CONTEXTUAL_BUTTON | ACTION_SUBJECT.PLUGIN_SLOT | ACTION_SUBJECT.REACT_NODE_VIEW | ACTION_SUBJECT.TABLES_PLUGIN | ACTION_SUBJECT.FLOATING_TOOLBAR_PLUGIN | ACTION_SUBJECT.EDITOR, ACTION_SUBJECT_ID | FLOATING_CONTROLS_TITLE, ErrorEventAttributes, undefined>;
111
111
  declare type ComponentCrashAdditionalInfoErrorAEP = OperationalAEP<ACTION.EDITOR_CRASHED_ADDITIONAL_INFORMATION, ACTION_SUBJECT.EDITOR, undefined, {
112
- errorStack: string;
113
112
  errorId: string;
114
- }, undefined>;
113
+ }, {
114
+ errorStack: string;
115
+ }>;
115
116
  declare type SmartLinkErrorAEP = OperationalAEP<ACTION.ERRORED, ACTION_SUBJECT.SMART_LINK, undefined, {
116
117
  error: string;
117
118
  errorStack?: string;
@@ -6,7 +6,6 @@ declare type ExperimentalAEP<Action, ActionSubject, ActionSubjectId, Attributes>
6
6
  }, undefined>;
7
7
  export interface TextColorSelectedAttr {
8
8
  color: string;
9
- isNewColor: boolean;
10
9
  }
11
10
  export declare type TextColorSelectedAEP = ExperimentalAEP<ACTION.FORMATTED, ACTION_SUBJECT.TEXT, ACTION_SUBJECT_ID.FORMAT_COLOR, TextColorSelectedAttr>;
12
11
  export interface TextColorShowPaletteToggleAttr {
@@ -99,7 +99,9 @@ declare type DispatchedTransactionAEP = OperationalAEP<ACTION.TRANSACTION_DISPAT
99
99
  }, undefined>;
100
100
  declare type TransactionMutatedAEP = OperationalAEP<ACTION.TRANSACTION_MUTATED_AFTER_DISPATCH, ACTION_SUBJECT.EDITOR, undefined, {
101
101
  pluginKey: string;
102
- }, undefined>;
102
+ }, {
103
+ stack: string | undefined;
104
+ }>;
103
105
  declare type WithPluginStateCalledAEP = OperationalAEP<ACTION.WITH_PLUGIN_STATE_CALLED, ACTION_SUBJECT.EDITOR, undefined, {
104
106
  plugin: string;
105
107
  duration: number;
@@ -60,12 +60,13 @@ export declare type FeatureFlags = {
60
60
  placeholderBracketHint?: boolean;
61
61
  /**
62
62
  * @description
63
- * Enable additional text colours within the colour palette.
63
+ * Whether placeholder hints were provided (`string[] => boolean`)
64
+ * Placeholder text values to display on new empty lines.
64
65
  *
65
- * @see https://product-fabric.atlassian.net/l/c/YhyvfWqg
66
+ * @see https://product-fabric.atlassian.net/l/c/GG1Yv9cK
66
67
  * @default false
67
68
  */
68
- moreTextColors?: boolean;
69
+ placeholderHints?: boolean;
69
70
  /**
70
71
  * @description
71
72
  * Enable find/replace functionality within the editor
@@ -219,13 +220,22 @@ export declare type FeatureFlags = {
219
220
  */
220
221
  twoLineEditorToolbar?: boolean;
221
222
  /**
222
- * Prevent transactions from being mutated (e.g. apply, filterTransaction,
223
- * appendTransaction) after being dispatched
223
+ * Prevent transactions from being mutated (e.g. apply, filterTransaction, appendTransaction) after being dispatched,
224
+ * will throw on transaction dispatch unless saferDispatchedTransactionsAnalyticsOnly is enabled.
224
225
  * @see https://product-fabric.atlassian.net/wiki/spaces/E/pages/3131836958/Editor+DACI+013+Avoid+content+loss+with+bad+transactions+Ghost+Steps
225
226
  * @see https://product-fabric.atlassian.net/browse/ED-14002
226
227
  * @default false
227
228
  */
228
229
  saferDispatchedTransactions?: boolean;
230
+ /**
231
+ * Detect when transaction is being mutated after being dispatched and emit analytics event if so (e.g. apply, filterTransaction,
232
+ * appendTransaction)
233
+ * @see https://product-fabric.atlassian.net/wiki/spaces/E/pages/3131836958/Editor+DACI+013+Avoid+content+loss+with+bad+transactions+Ghost+Steps
234
+ * @see https://product-fabric.atlassian.net/browse/ED-14002
235
+ * @see https://product-fabric.atlassian.net/wiki/spaces/AS/pages/3321201329/Rolling+out+safer-dispatched+transaction
236
+ * @default false
237
+ */
238
+ saferDispatchedTransactionsAnalyticsOnly?: boolean;
229
239
  /**
230
240
  * @description
231
241
  * Enable new collab service
@@ -17,9 +17,11 @@ export interface DropdownOptionT<T> {
17
17
  id?: string;
18
18
  title: string;
19
19
  onClick: T;
20
+ onMouseDown?: T;
20
21
  onMouseOver?: T;
21
22
  onMouseEnter?: T;
22
23
  onMouseLeave?: T;
24
+ onMouseOut?: T;
23
25
  onFocus?: T;
24
26
  onBlur?: T;
25
27
  selected?: boolean;
@@ -1,3 +1,2 @@
1
1
  import { PaletteColor } from './type';
2
2
  export declare const textColorPalette: Array<PaletteColor>;
3
- export declare const textColorPaletteExtended: Array<PaletteColor>;
@@ -4,6 +4,6 @@ export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/c
4
4
  export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
5
5
  export { panelBackgroundPalette, panelDarkModeBackgroundPalette, } from './ColorPalette/Palettes/panelBackgroundPalette';
6
6
  export { lightModeStatusColorPalette, darkModeStatusColorPalette, } from './ColorPalette/Palettes/statusColorPalette';
7
- export { textColorPalette, textColorPaletteExtended, } from './ColorPalette/Palettes/textColorPalette';
7
+ export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
8
8
  export { DEFAULT_BORDER_COLOR } from './ColorPalette/Palettes/common';
9
9
  export type { PaletteColor } from './ColorPalette/Palettes/type';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "72.0.1",
3
+ "version": "72.1.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/"
@@ -57,7 +57,7 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@atlaskit/activity-provider": "^2.3.0",
60
- "@atlaskit/adf-schema": "^25.0.0",
60
+ "@atlaskit/adf-schema": "^25.1.0",
61
61
  "@atlaskit/adf-utils": "^18.0.0",
62
62
  "@atlaskit/analytics-listeners": "^8.3.0",
63
63
  "@atlaskit/analytics-namespaced-context": "^6.5.0",
@@ -73,12 +73,12 @@
73
73
  "@atlaskit/icon": "^21.11.0",
74
74
  "@atlaskit/in-product-testing": "^0.1.0",
75
75
  "@atlaskit/media-card": "^74.4.0",
76
- "@atlaskit/media-client": "^19.1.0",
76
+ "@atlaskit/media-client": "^20.0.0",
77
77
  "@atlaskit/media-picker": "^64.1.0",
78
78
  "@atlaskit/mention": "^21.0.0",
79
79
  "@atlaskit/menu": "^1.4.0",
80
80
  "@atlaskit/profilecard": "^18.1.0",
81
- "@atlaskit/smart-card": "^23.11.0",
81
+ "@atlaskit/smart-card": "^23.12.0",
82
82
  "@atlaskit/smart-user-picker": "^6.0.0",
83
83
  "@atlaskit/task-decision": "^17.5.0",
84
84
  "@atlaskit/theme": "^12.2.0",
@@ -114,7 +114,7 @@
114
114
  "react-intl-next": "npm:react-intl@^5.18.1"
115
115
  },
116
116
  "devDependencies": {
117
- "@atlaskit/editor-core": "^177.0.0",
117
+ "@atlaskit/editor-core": "^178.0.0",
118
118
  "@atlaskit/editor-json-transformer": "^8.8.0",
119
119
  "@atlaskit/editor-plugin-table": "^1.0.0",
120
120
  "@atlaskit/editor-test-helpers": "^18.0.0",
package/report.api.md CHANGED
@@ -8,6 +8,7 @@
8
8
  ### Table of contents
9
9
 
10
10
  - [Main Entry Types](#main-entry-types)
11
+ - [Peer Dependencies](#peer-dependencies)
11
12
 
12
13
  ### Main Entry Types
13
14
 
@@ -18,3 +19,18 @@
18
19
  ```
19
20
 
20
21
  <!--SECTION END: Main Entry Types-->
22
+
23
+ ### Peer Dependencies
24
+
25
+ <!--SECTION START: Peer Dependencies-->
26
+
27
+ ```json
28
+ {
29
+ "@atlaskit/media-core": "^34.0.1",
30
+ "react": "^16.8.0",
31
+ "react-dom": "^16.8.0",
32
+ "react-intl-next": "npm:react-intl@^5.18.1"
33
+ }
34
+ ```
35
+
36
+ <!--SECTION END: Peer Dependencies-->