@atlaskit/editor-plugin-undo-redo 6.1.2 → 6.1.4

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-plugin-undo-redo
2
2
 
3
+ ## 6.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 6.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`ef001bf65d48f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ef001bf65d48f) -
14
+ Remove usage of `platform_editor_toolbar_aifc` inside editor packages - instead rely on checking
15
+ for new toolbar plugin option, make `enableNewToolbarExperience` mandatory for consumers to opt in
16
+ to new toolbar experience
17
+ - Updated dependencies
18
+
3
19
  ## 6.1.2
4
20
 
5
21
  ### Patch Changes
@@ -181,7 +197,6 @@
181
197
 
182
198
  - [`286abb4d35eba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/286abb4d35eba) -
183
199
  [ux] [ED-28960] Finish full page primary toolbar migration
184
-
185
200
  - Align with design update (separator, gap, height, icon size)
186
201
  - Add keyboard shortcut to focus toolbar and arrow key navigation
187
202
  - Address accessibility
@@ -268,7 +283,6 @@
268
283
  shared context or singletons.
269
284
 
270
285
  **HOW TO ADJUST:**
271
-
272
286
  - Consumers must now explicitly install `@atlaskit/editor-common` in their own project if they use
273
287
  any of these editor plugins.
274
288
  - Ensure the version you install matches the version required by the plugins.
@@ -53,7 +53,7 @@ var ToolbarUndoRedo = exports.ToolbarUndoRedo = function ToolbarUndoRedo(_ref) {
53
53
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
54
54
  (0, _react.jsx)("span", {
55
55
  css:
56
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration, @atlaskit/platform/ensure-feature-flag-prefix
56
+ // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration
57
57
  (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ?
58
58
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
59
59
  _styles.buttonGroupStyle :
@@ -25,9 +25,7 @@ var undoRedoPlugin = exports.undoRedoPlugin = function undoRedoPlugin(_ref) {
25
25
  var editorViewRef = {
26
26
  current: null
27
27
  };
28
- var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true, {
29
- exposure: true
30
- });
28
+ var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
31
29
  var primaryToolbarComponent = function primaryToolbarComponent(_ref2) {
32
30
  var editorView = _ref2.editorView,
33
31
  disabled = _ref2.disabled,
@@ -49,7 +49,7 @@ export const ToolbarUndoRedo = ({
49
49
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
50
50
  jsx("span", {
51
51
  css:
52
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration, @atlaskit/platform/ensure-feature-flag-prefix
52
+ // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration
53
53
  fg('platform-visual-refresh-icons') ?
54
54
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
55
55
  buttonGroupStyle :
@@ -18,9 +18,7 @@ export const undoRedoPlugin = ({
18
18
  const editorViewRef = {
19
19
  current: null
20
20
  };
21
- const isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true, {
22
- exposure: true
23
- });
21
+ const isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
24
22
  const primaryToolbarComponent = ({
25
23
  editorView,
26
24
  disabled,
@@ -45,7 +45,7 @@ export var ToolbarUndoRedo = function ToolbarUndoRedo(_ref) {
45
45
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
46
46
  jsx("span", {
47
47
  css:
48
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration, @atlaskit/platform/ensure-feature-flag-prefix
48
+ // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration
49
49
  fg('platform-visual-refresh-icons') ?
50
50
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
51
51
  buttonGroupStyle :
@@ -17,9 +17,7 @@ export var undoRedoPlugin = function undoRedoPlugin(_ref) {
17
17
  var editorViewRef = {
18
18
  current: null
19
19
  };
20
- var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true, {
21
- exposure: true
22
- });
20
+ var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
23
21
  var primaryToolbarComponent = function primaryToolbarComponent(_ref2) {
24
22
  var editorView = _ref2.editorView,
25
23
  disabled = _ref2.disabled,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-undo-redo",
3
- "version": "6.1.2",
3
+ "version": "6.1.4",
4
4
  "description": "Undo redo plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,22 +29,22 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/editor-plugin-history": "^6.0.0",
32
+ "@atlaskit/editor-plugin-history": "^6.1.0",
33
33
  "@atlaskit/editor-plugin-primary-toolbar": "^7.0.0",
34
- "@atlaskit/editor-plugin-toolbar": "^3.2.0",
35
- "@atlaskit/editor-plugin-type-ahead": "^6.4.0",
34
+ "@atlaskit/editor-plugin-toolbar": "^3.3.0",
35
+ "@atlaskit/editor-plugin-type-ahead": "^6.5.0",
36
36
  "@atlaskit/editor-prosemirror": "7.0.0",
37
- "@atlaskit/editor-toolbar": "^0.15.0",
37
+ "@atlaskit/editor-toolbar": "^0.16.0",
38
38
  "@atlaskit/editor-toolbar-model": "^0.2.0",
39
39
  "@atlaskit/icon": "^28.5.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
41
  "@atlaskit/prosemirror-history": "^0.2.0",
42
- "@atlaskit/tmp-editor-statsig": "^13.8.0",
42
+ "@atlaskit/tmp-editor-statsig": "^13.18.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@emotion/react": "^11.7.1"
45
45
  },
46
46
  "peerDependencies": {
47
- "@atlaskit/editor-common": "^110.10.0",
47
+ "@atlaskit/editor-common": "^110.16.0",
48
48
  "react": "^18.2.0",
49
49
  "react-intl-next": "npm:react-intl@^5.18.1"
50
50
  },