@atlaskit/editor-core 215.13.3 → 215.13.5

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,21 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 215.13.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`63628e69e52e7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/63628e69e52e7) -
8
+ [ux] [EDITOR-2557] Disable sync block creation, edition and deletion in offline mode
9
+ - Updated dependencies
10
+
11
+ ## 215.13.4
12
+
13
+ ### Patch Changes
14
+
15
+ - [`42bd907443147`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/42bd907443147) -
16
+ NO-ISSUE Ensures INP metrics and other analytics account for max appearance
17
+ - Updated dependencies
18
+
3
19
  ## 215.13.3
4
20
 
5
21
  ### Patch Changes
@@ -3,7 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
6
- "outDir": "../../../../../tsDist/@atlaskit__editor-core/app",
6
+ "outDir": "../../../../../jira/tsDist/@atlaskit__editor-core/app",
7
7
  "rootDir": "../",
8
8
  "composite": true
9
9
  },
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.CoreEditor = CoreEditor;
8
8
  exports.default = void 0;
9
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
+ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
10
11
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
12
  var _react = require("react");
12
13
  var _react2 = require("@emotion/react");
@@ -17,6 +18,7 @@ var _useAnalyticsEvents2 = require("@atlaskit/analytics-next/useAnalyticsEvents"
17
18
  var _analytics = require("@atlaskit/editor-common/analytics");
18
19
  var _performanceMeasures = require("@atlaskit/editor-common/performance-measures");
19
20
  var _analytics2 = require("@atlaskit/editor-common/utils/analytics");
21
+ var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
20
22
  var _actions = _interopRequireDefault(require("../actions"));
21
23
  var _EditorContext = require("../ui/EditorContext");
22
24
  var _featureFlagsFromProps = require("../utils/feature-flags-from-props");
@@ -93,8 +95,8 @@ function Editor(passedProps) {
93
95
  onSaveFromProps(view);
94
96
  }
95
97
  }, [onSaveFromProps]);
96
- var isFullPageApperance = Boolean(props.appearance && ['full-page', 'full-width'].includes(props.appearance));
97
- return (0, _react2.jsx)(_react.Fragment, null, isFullPageApperance ? (0, _react2.jsx)(_editorInpMetrics.EditorINPMetrics, null) : null, (0, _react2.jsx)(_editorInternal.EditorInternal, {
98
+ var isFullPageAppearance = Boolean(props.appearance && ['full-page', 'full-width'].concat((0, _toConsumableArray2.default)((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_synced_block', 'isEnabled', true) ? ['max'] : [])).includes(props.appearance));
99
+ return (0, _react2.jsx)(_react.Fragment, null, isFullPageAppearance ? (0, _react2.jsx)(_editorInpMetrics.EditorINPMetrics, null) : null, (0, _react2.jsx)(_editorInternal.EditorInternal, {
98
100
  props: props,
99
101
  handleAnalyticsEvent: handleAnalyticsEvent,
100
102
  createAnalyticsEvent: createAnalyticsEvent,
@@ -121,7 +121,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
121
121
  var theme = (0, _react2.useTheme)();
122
122
  var _useThemeObserver = (0, _tokens.useThemeObserver)(),
123
123
  colorMode = _useThemeObserver.colorMode;
124
- var isFullPage = appearance === 'full-page' || appearance === 'full-width' || (0, _expValEquals.expValEquals)('editor_tinymce_full_width_mode', 'isEnabled', true) && appearance === 'max';
124
+ var isFullPage = appearance === 'full-page' || appearance === 'full-width' || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('editor_tinymce_full_width_mode', 'isEnabled', true) && appearance === 'max';
125
125
  var isComment = appearance === 'comment';
126
126
  var baseFontSize = (0, _getBaseFontSize.getBaseFontSize)(appearance, contentMode);
127
127
  var style = (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true, {
@@ -14,7 +14,7 @@ var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
14
14
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
15
15
  var syncBlockStyles = exports.syncBlockStyles = (0, _react.css)((0, _defineProperty2.default)({
16
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
17
- '.ProseMirror': (0, _defineProperty2.default)({}, ".".concat(_syncBlock.SyncBlockSharedCssClassName.prefix, ", .").concat(_syncBlock.BodiedSyncBlockSharedCssClassName.prefix), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
17
+ '.ProseMirror': (0, _defineProperty2.default)({}, ".".concat(_syncBlock.SyncBlockSharedCssClassName.prefix, ", .").concat(_syncBlock.BodiedSyncBlockSharedCssClassName.prefix), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
18
18
  position: 'relative',
19
19
  cursor: 'pointer',
20
20
  borderRadius: "var(--ds-radius-small, 3px)",
@@ -86,6 +86,15 @@ var syncBlockStyles = exports.syncBlockStyles = (0, _react.css)((0, _definePrope
86
86
  pointerEvents: 'none',
87
87
  zIndex: -1
88
88
  }
89
+ })), "&.".concat(_syncBlock.SyncBlockStateCssClassName.disabledClassName), (0, _defineProperty2.default)({
90
+ backgroundColor: "var(--ds-background-disabled, #17171708)",
91
+ boxShadow: "0 0 0 1px ".concat("var(--ds-border-disabled, #0515240F)"),
92
+ userSelect: 'none'
93
+ }, ".".concat(_syncBlock.SyncBlockLabelSharedCssClassName.labelClassName), {
94
+ backgroundColor: "var(--ds-surface, #FFFFFF)",
95
+ '&::before': {
96
+ border: 'none'
97
+ }
89
98
  })), "&has(.".concat(_syncBlock.SyncBlockSharedCssClassName.error, ")"), (0, _defineProperty2.default)({
90
99
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
91
100
  '&:hover:not(.ak-editor-selected-node)': {
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "215.13.2";
8
+ var version = exports.version = "0.0.0-development";
@@ -15,6 +15,7 @@ import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents'
15
15
  import { ACTION, fireAnalyticsEvent } from '@atlaskit/editor-common/analytics';
16
16
  import { startMeasure, stopMeasure } from '@atlaskit/editor-common/performance-measures';
17
17
  import { getAnalyticsAppearance } from '@atlaskit/editor-common/utils/analytics';
18
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
18
19
  import EditorActions from '../actions';
19
20
  import { useEditorContext } from '../ui/EditorContext';
20
21
  import { createFeatureFlagsFromProps } from '../utils/feature-flags-from-props';
@@ -91,8 +92,8 @@ function Editor(passedProps) {
91
92
  onSaveFromProps(view);
92
93
  }
93
94
  }, [onSaveFromProps]);
94
- const isFullPageApperance = Boolean(props.appearance && ['full-page', 'full-width'].includes(props.appearance));
95
- return jsx(Fragment, null, isFullPageApperance ? jsx(EditorINPMetrics, null) : null, jsx(EditorInternal, {
95
+ const isFullPageAppearance = Boolean(props.appearance && ['full-page', 'full-width', ...(expValEqualsNoExposure('platform_synced_block', 'isEnabled', true) ? ['max'] : [])].includes(props.appearance));
96
+ return jsx(Fragment, null, isFullPageAppearance ? jsx(EditorINPMetrics, null) : null, jsx(EditorInternal, {
96
97
  props: props,
97
98
  handleAnalyticsEvent: handleAnalyticsEvent,
98
99
  createAnalyticsEvent: createAnalyticsEvent,
@@ -117,7 +117,7 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
117
117
  const {
118
118
  colorMode
119
119
  } = useThemeObserver();
120
- const isFullPage = appearance === 'full-page' || appearance === 'full-width' || expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) && appearance === 'max';
120
+ const isFullPage = appearance === 'full-page' || appearance === 'full-width' || expValEqualsNoExposure('editor_tinymce_full_width_mode', 'isEnabled', true) && appearance === 'max';
121
121
  const isComment = appearance === 'comment';
122
122
  const baseFontSize = getBaseFontSize(appearance, contentMode);
123
123
  const style = editorExperiment('platform_editor_preview_panel_responsiveness', true, {
@@ -1,6 +1,6 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
2
2
  import { css } from '@emotion/react';
3
- import { BodiedSyncBlockSharedCssClassName, SyncBlockSharedCssClassName, SyncBlockLabelSharedCssClassName } from '@atlaskit/editor-common/sync-block';
3
+ import { BodiedSyncBlockSharedCssClassName, SyncBlockSharedCssClassName, SyncBlockLabelSharedCssClassName, SyncBlockStateCssClassName } from '@atlaskit/editor-common/sync-block';
4
4
  import { akEditorGutterPadding } from '@atlaskit/editor-shared-styles';
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
6
6
  export const syncBlockStyles = css({
@@ -96,6 +96,20 @@ export const syncBlockStyles = css({
96
96
  }
97
97
  }
98
98
  },
99
+ /* Node disabled state */
100
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
101
+ [`&.${SyncBlockStateCssClassName.disabledClassName}`]: {
102
+ backgroundColor: "var(--ds-background-disabled, #17171708)",
103
+ boxShadow: `0 0 0 1px ${"var(--ds-border-disabled, #0515240F)"}`,
104
+ userSelect: 'none',
105
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
106
+ [`.${SyncBlockLabelSharedCssClassName.labelClassName}`]: {
107
+ backgroundColor: "var(--ds-surface, #FFFFFF)",
108
+ '&::before': {
109
+ border: 'none'
110
+ }
111
+ }
112
+ },
99
113
  /* Error state */
100
114
  /* In error state sync block should not have hover styles or show the label */
101
115
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "215.13.2";
2
+ export const version = "0.0.0-development";
@@ -1,4 +1,5 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
+ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -18,6 +19,7 @@ import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents'
18
19
  import { ACTION, fireAnalyticsEvent } from '@atlaskit/editor-common/analytics';
19
20
  import { startMeasure, stopMeasure } from '@atlaskit/editor-common/performance-measures';
20
21
  import { getAnalyticsAppearance } from '@atlaskit/editor-common/utils/analytics';
22
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
21
23
  import EditorActions from '../actions';
22
24
  import { useEditorContext } from '../ui/EditorContext';
23
25
  import { createFeatureFlagsFromProps } from '../utils/feature-flags-from-props';
@@ -89,8 +91,8 @@ function Editor(passedProps) {
89
91
  onSaveFromProps(view);
90
92
  }
91
93
  }, [onSaveFromProps]);
92
- var isFullPageApperance = Boolean(props.appearance && ['full-page', 'full-width'].includes(props.appearance));
93
- return jsx(Fragment, null, isFullPageApperance ? jsx(EditorINPMetrics, null) : null, jsx(EditorInternal, {
94
+ var isFullPageAppearance = Boolean(props.appearance && ['full-page', 'full-width'].concat(_toConsumableArray(expValEqualsNoExposure('platform_synced_block', 'isEnabled', true) ? ['max'] : [])).includes(props.appearance));
95
+ return jsx(Fragment, null, isFullPageAppearance ? jsx(EditorINPMetrics, null) : null, jsx(EditorInternal, {
94
96
  props: props,
95
97
  handleAnalyticsEvent: handleAnalyticsEvent,
96
98
  createAnalyticsEvent: createAnalyticsEvent,
@@ -113,7 +113,7 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
113
113
  var theme = useTheme();
114
114
  var _useThemeObserver = useThemeObserver(),
115
115
  colorMode = _useThemeObserver.colorMode;
116
- var isFullPage = appearance === 'full-page' || appearance === 'full-width' || expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) && appearance === 'max';
116
+ var isFullPage = appearance === 'full-page' || appearance === 'full-width' || expValEqualsNoExposure('editor_tinymce_full_width_mode', 'isEnabled', true) && appearance === 'max';
117
117
  var isComment = appearance === 'comment';
118
118
  var baseFontSize = getBaseFontSize(appearance, contentMode);
119
119
  var style = editorExperiment('platform_editor_preview_panel_responsiveness', true, {
@@ -1,12 +1,12 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
3
3
  import { css } from '@emotion/react';
4
- import { BodiedSyncBlockSharedCssClassName, SyncBlockSharedCssClassName, SyncBlockLabelSharedCssClassName } from '@atlaskit/editor-common/sync-block';
4
+ import { BodiedSyncBlockSharedCssClassName, SyncBlockSharedCssClassName, SyncBlockLabelSharedCssClassName, SyncBlockStateCssClassName } from '@atlaskit/editor-common/sync-block';
5
5
  import { akEditorGutterPadding } from '@atlaskit/editor-shared-styles';
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
7
7
  export var syncBlockStyles = css(_defineProperty({
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
9
- '.ProseMirror': _defineProperty({}, ".".concat(SyncBlockSharedCssClassName.prefix, ", .").concat(BodiedSyncBlockSharedCssClassName.prefix), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
9
+ '.ProseMirror': _defineProperty({}, ".".concat(SyncBlockSharedCssClassName.prefix, ", .").concat(BodiedSyncBlockSharedCssClassName.prefix), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
10
10
  position: 'relative',
11
11
  cursor: 'pointer',
12
12
  borderRadius: "var(--ds-radius-small, 3px)",
@@ -78,6 +78,15 @@ export var syncBlockStyles = css(_defineProperty({
78
78
  pointerEvents: 'none',
79
79
  zIndex: -1
80
80
  }
81
+ })), "&.".concat(SyncBlockStateCssClassName.disabledClassName), _defineProperty({
82
+ backgroundColor: "var(--ds-background-disabled, #17171708)",
83
+ boxShadow: "0 0 0 1px ".concat("var(--ds-border-disabled, #0515240F)"),
84
+ userSelect: 'none'
85
+ }, ".".concat(SyncBlockLabelSharedCssClassName.labelClassName), {
86
+ backgroundColor: "var(--ds-surface, #FFFFFF)",
87
+ '&::before': {
88
+ border: 'none'
89
+ }
81
90
  })), "&has(.".concat(SyncBlockSharedCssClassName.error, ")"), _defineProperty({
82
91
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
83
92
  '&:hover:not(.ak-editor-selected-node)': {
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "215.13.2";
2
+ export var version = "0.0.0-development";
@@ -56,8 +56,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
56
56
  copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
57
57
  insertSyncedBlock: () => import("@atlaskit/editor-common/types").EditorCommand;
58
58
  };
59
- dependencies: [import("@atlaskit/editor-plugins/selection").SelectionPlugin, import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPlugin, import("@atlaskit/editor-plugins/decorations").DecorationsPlugin, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/toolbar").ToolbarPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-menu").BlockMenuPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
59
+ dependencies: [import("@atlaskit/editor-plugins/selection").SelectionPlugin, import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPlugin, import("@atlaskit/editor-plugins/decorations").DecorationsPlugin, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/toolbar").ToolbarPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-menu").BlockMenuPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/connectivity").ConnectivityPlugin>];
60
60
  pluginConfiguration: import("@atlaskit/editor-plugins/synced-block").SyncedBlockPluginOptions | undefined;
61
+ sharedState: import("packages/editor/editor-plugin-synced-block/dist/types/types").SyncedBlockSharedState | undefined;
61
62
  }, import("@atlaskit/editor-plugins/synced-block").SyncedBlockPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
62
63
  actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
63
64
  commands: import("@atlaskit/editor-plugins/status").StatusPluginCommands;
@@ -127,8 +127,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
127
127
  copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
128
128
  insertSyncedBlock: () => import("@atlaskit/editor-common/types").EditorCommand;
129
129
  };
130
- dependencies: [import("@atlaskit/editor-plugins/selection").SelectionPlugin, import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPlugin, import("@atlaskit/editor-plugins/decorations").DecorationsPlugin, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/toolbar").ToolbarPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-menu").BlockMenuPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
130
+ dependencies: [import("@atlaskit/editor-plugins/selection").SelectionPlugin, import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPlugin, import("@atlaskit/editor-plugins/decorations").DecorationsPlugin, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/toolbar").ToolbarPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-menu").BlockMenuPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/connectivity").ConnectivityPlugin>];
131
131
  pluginConfiguration: import("@atlaskit/editor-plugins/synced-block").SyncedBlockPluginOptions | undefined;
132
+ sharedState: import("packages/editor/editor-plugin-synced-block/dist/types/types").SyncedBlockSharedState | undefined;
132
133
  }, import("@atlaskit/editor-plugins/synced-block").SyncedBlockPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
133
134
  actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
134
135
  commands: import("@atlaskit/editor-plugins/status").StatusPluginCommands;
@@ -56,8 +56,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
56
56
  copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
57
57
  insertSyncedBlock: () => import("@atlaskit/editor-common/types").EditorCommand;
58
58
  };
59
- dependencies: [import("@atlaskit/editor-plugins/selection").SelectionPlugin, import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPlugin, import("@atlaskit/editor-plugins/decorations").DecorationsPlugin, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/toolbar").ToolbarPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-menu").BlockMenuPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
59
+ dependencies: [import("@atlaskit/editor-plugins/selection").SelectionPlugin, import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPlugin, import("@atlaskit/editor-plugins/decorations").DecorationsPlugin, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/toolbar").ToolbarPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-menu").BlockMenuPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/connectivity").ConnectivityPlugin>];
60
60
  pluginConfiguration: import("@atlaskit/editor-plugins/synced-block").SyncedBlockPluginOptions | undefined;
61
+ sharedState: import("packages/editor/editor-plugin-synced-block/dist/types/types").SyncedBlockSharedState | undefined;
61
62
  }, import("@atlaskit/editor-plugins/synced-block").SyncedBlockPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
62
63
  actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
63
64
  commands: import("@atlaskit/editor-plugins/status").StatusPluginCommands;
@@ -161,9 +161,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
161
161
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>,
162
162
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/toolbar").ToolbarPlugin>,
163
163
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-menu").BlockMenuPlugin>,
164
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
164
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>,
165
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/connectivity").ConnectivityPlugin>
165
166
  ];
166
167
  pluginConfiguration: import("@atlaskit/editor-plugins/synced-block").SyncedBlockPluginOptions | undefined;
168
+ sharedState: import("packages/editor/editor-plugin-synced-block/dist/types/types").SyncedBlockSharedState | undefined;
167
169
  }, import("@atlaskit/editor-plugins/synced-block").SyncedBlockPluginOptions | undefined> | undefined,
168
170
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
169
171
  actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
@@ -232,9 +232,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
232
232
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>,
233
233
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/toolbar").ToolbarPlugin>,
234
234
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-menu").BlockMenuPlugin>,
235
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
235
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>,
236
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/connectivity").ConnectivityPlugin>
236
237
  ];
237
238
  pluginConfiguration: import("@atlaskit/editor-plugins/synced-block").SyncedBlockPluginOptions | undefined;
239
+ sharedState: import("packages/editor/editor-plugin-synced-block/dist/types/types").SyncedBlockSharedState | undefined;
238
240
  }, import("@atlaskit/editor-plugins/synced-block").SyncedBlockPluginOptions | undefined> | undefined,
239
241
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
240
242
  actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
@@ -161,9 +161,11 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
161
161
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>,
162
162
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/toolbar").ToolbarPlugin>,
163
163
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-menu").BlockMenuPlugin>,
164
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
164
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>,
165
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/connectivity").ConnectivityPlugin>
165
166
  ];
166
167
  pluginConfiguration: import("@atlaskit/editor-plugins/synced-block").SyncedBlockPluginOptions | undefined;
168
+ sharedState: import("packages/editor/editor-plugin-synced-block/dist/types/types").SyncedBlockSharedState | undefined;
167
169
  }, import("@atlaskit/editor-plugins/synced-block").SyncedBlockPluginOptions | undefined> | undefined,
168
170
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
169
171
  actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "215.13.3",
3
+ "version": "215.13.5",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/activity-provider": "^2.5.0",
42
42
  "@atlaskit/adf-schema": "^51.3.2",
43
43
  "@atlaskit/afm-i18n-platform-editor-editor-core": "2.10.0",
44
- "@atlaskit/analytics-namespaced-context": "^7.1.0",
44
+ "@atlaskit/analytics-namespaced-context": "^7.2.0",
45
45
  "@atlaskit/analytics-next": "^11.1.0",
46
46
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
47
47
  "@atlaskit/button": "^23.6.0",
@@ -81,7 +81,7 @@
81
81
  "uuid": "^3.1.0"
82
82
  },
83
83
  "peerDependencies": {
84
- "@atlaskit/editor-common": "^110.29.0",
84
+ "@atlaskit/editor-common": "^110.30.0",
85
85
  "@atlaskit/link-provider": "^4.0.0",
86
86
  "@atlaskit/media-core": "^37.0.0",
87
87
  "react": "^18.2.0",
@@ -107,7 +107,7 @@
107
107
  "@atlaskit/primitives": "^16.1.0",
108
108
  "@atlaskit/renderer": "^124.13.0",
109
109
  "@atlaskit/section-message": "^8.9.0",
110
- "@atlaskit/smart-card": "^43.6.0",
110
+ "@atlaskit/smart-card": "^43.7.0",
111
111
  "@atlaskit/synchrony-test-helpers": "workspace:^",
112
112
  "@atlaskit/toggle": "^15.1.0",
113
113
  "@atlaskit/util-data-test": "^18.3.0",