@atlaskit/editor-plugin-undo-redo 1.2.1 → 1.2.3

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,17 @@
1
1
  # @atlaskit/editor-plugin-undo-redo
2
2
 
3
+ ## 1.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.2.1
4
16
 
5
17
  ### Patch Changes
@@ -16,6 +16,7 @@ var _redo = _interopRequireDefault(require("@atlaskit/icon/glyph/redo"));
16
16
  var _undo = _interopRequireDefault(require("@atlaskit/icon/glyph/undo"));
17
17
  var _commands = require("../../commands");
18
18
  /** @jsx jsx */
19
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
19
20
 
20
21
  var closeTypeAheadAndRunCommand = function closeTypeAheadAndRunCommand(editorView, api) {
21
22
  return function (command) {
@@ -62,7 +63,7 @@ var ToolbarUndoRedo = exports.ToolbarUndoRedo = function ToolbarUndoRedo(_ref) {
62
63
  canUndo = _ref2.canUndo,
63
64
  canRedo = _ref2.canRedo;
64
65
  return (
65
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
66
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
66
67
  (0, _react.jsx)("span", {
67
68
  css: _styles.buttonGroupStyle
68
69
  }, (0, _react.jsx)(_uiMenu.ToolbarButton, {
@@ -96,6 +97,7 @@ var ToolbarUndoRedo = exports.ToolbarUndoRedo = function ToolbarUndoRedo(_ref) {
96
97
  "aria-label": (0, _keymaps.tooltip)(_keymaps.redo, labelRedo),
97
98
  "aria-keyshortcuts": (0, _keymaps.getAriaKeyshortcuts)(_keymaps.redo)
98
99
  }), !(api !== null && api !== void 0 && api.primaryToolbar) && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
100
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
99
101
  (0, _react.jsx)("span", {
100
102
  css: _styles.separatorStyles
101
103
  }))
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { jsx } from '@emotion/react';
3
4
  import { injectIntl } from 'react-intl-next';
4
5
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
@@ -55,7 +56,7 @@ export const ToolbarUndoRedo = ({
55
56
  canRedo
56
57
  } = historyState !== null && historyState !== void 0 ? historyState : {};
57
58
  return (
58
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
59
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
59
60
  jsx("span", {
60
61
  css: buttonGroupStyle
61
62
  }, jsx(ToolbarButton, {
@@ -89,6 +90,7 @@ export const ToolbarUndoRedo = ({
89
90
  "aria-label": tooltip(redoKeymap, labelRedo),
90
91
  "aria-keyshortcuts": getAriaKeyshortcuts(redoKeymap)
91
92
  }), !(api !== null && api !== void 0 && api.primaryToolbar) && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
93
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
92
94
  jsx("span", {
93
95
  css: separatorStyles
94
96
  }))
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { jsx } from '@emotion/react';
3
4
  import { injectIntl } from 'react-intl-next';
4
5
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
@@ -54,7 +55,7 @@ export var ToolbarUndoRedo = function ToolbarUndoRedo(_ref) {
54
55
  canUndo = _ref2.canUndo,
55
56
  canRedo = _ref2.canRedo;
56
57
  return (
57
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
58
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
58
59
  jsx("span", {
59
60
  css: buttonGroupStyle
60
61
  }, jsx(ToolbarButton, {
@@ -88,6 +89,7 @@ export var ToolbarUndoRedo = function ToolbarUndoRedo(_ref) {
88
89
  "aria-label": tooltip(redoKeymap, labelRedo),
89
90
  "aria-keyshortcuts": getAriaKeyshortcuts(redoKeymap)
90
91
  }), !(api !== null && api !== void 0 && api.primaryToolbar) && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
92
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
91
93
  jsx("span", {
92
94
  css: separatorStyles
93
95
  }))
package/package.json CHANGED
@@ -1,89 +1,89 @@
1
1
  {
2
- "name": "@atlaskit/editor-plugin-undo-redo",
3
- "version": "1.2.1",
4
- "description": "Undo redo plugin for @atlaskit/editor-core",
5
- "author": "Atlassian Pty Ltd",
6
- "license": "Apache-2.0",
7
- "publishConfig": {
8
- "registry": "https://registry.npmjs.org/"
9
- },
10
- "atlassian": {
11
- "team": "Editor: Lego",
12
- "singleton": true,
13
- "releaseModel": "continuous",
14
- "runReact18": false
15
- },
16
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
17
- "main": "dist/cjs/index.js",
18
- "module": "dist/esm/index.js",
19
- "module:es2019": "dist/es2019/index.js",
20
- "types": "dist/types/index.d.ts",
21
- "typesVersions": {
22
- ">=4.5 <4.9": {
23
- "*": [
24
- "dist/types-ts4.5/*",
25
- "dist/types-ts4.5/index.d.ts"
26
- ]
27
- }
28
- },
29
- "sideEffects": false,
30
- "atlaskit:src": "src/index.ts",
31
- "af:exports": {
32
- ".": "./src/index.ts"
33
- },
34
- "dependencies": {
35
- "@atlaskit/editor-common": "^82.0.0",
36
- "@atlaskit/editor-plugin-history": "^1.1.0",
37
- "@atlaskit/editor-plugin-primary-toolbar": "^1.1.0",
38
- "@atlaskit/editor-plugin-type-ahead": "^1.2.0",
39
- "@atlaskit/editor-prosemirror": "4.0.1",
40
- "@atlaskit/icon": "^22.3.0",
41
- "@babel/runtime": "^7.0.0",
42
- "@emotion/react": "^11.7.1"
43
- },
44
- "peerDependencies": {
45
- "react": "^16.8.0",
46
- "react-intl-next": "npm:react-intl@^5.18.1"
47
- },
48
- "devDependencies": {
49
- "typescript": "~5.4.2"
50
- },
51
- "techstack": {
52
- "@atlassian/frontend": {
53
- "import-structure": [
54
- "atlassian-conventions"
55
- ],
56
- "circular-dependencies": [
57
- "file-and-folder-level"
58
- ]
59
- },
60
- "@repo/internal": {
61
- "dom-events": "use-bind-event-listener",
62
- "analytics": [
63
- "analytics-next"
64
- ],
65
- "design-tokens": [
66
- "color"
67
- ],
68
- "theming": [
69
- "react-context"
70
- ],
71
- "ui-components": [
72
- "lite-mode"
73
- ],
74
- "deprecation": "no-deprecated-imports",
75
- "styling": [
76
- "emotion",
77
- "emotion"
78
- ],
79
- "imports": [
80
- "import-no-extraneous-disable-for-examples-and-docs"
81
- ]
82
- }
83
- },
84
- "stricter": {
85
- "no-unused-dependencies": {
86
- "checkDevDependencies": true
87
- }
88
- }
89
- }
2
+ "name": "@atlaskit/editor-plugin-undo-redo",
3
+ "version": "1.2.3",
4
+ "description": "Undo redo plugin for @atlaskit/editor-core",
5
+ "author": "Atlassian Pty Ltd",
6
+ "license": "Apache-2.0",
7
+ "publishConfig": {
8
+ "registry": "https://registry.npmjs.org/"
9
+ },
10
+ "atlassian": {
11
+ "team": "Editor: Lego",
12
+ "singleton": true,
13
+ "releaseModel": "continuous",
14
+ "runReact18": false
15
+ },
16
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
17
+ "main": "dist/cjs/index.js",
18
+ "module": "dist/esm/index.js",
19
+ "module:es2019": "dist/es2019/index.js",
20
+ "types": "dist/types/index.d.ts",
21
+ "typesVersions": {
22
+ ">=4.5 <4.9": {
23
+ "*": [
24
+ "dist/types-ts4.5/*",
25
+ "dist/types-ts4.5/index.d.ts"
26
+ ]
27
+ }
28
+ },
29
+ "sideEffects": false,
30
+ "atlaskit:src": "src/index.ts",
31
+ "af:exports": {
32
+ ".": "./src/index.ts"
33
+ },
34
+ "dependencies": {
35
+ "@atlaskit/editor-common": "^84.0.0",
36
+ "@atlaskit/editor-plugin-history": "^1.1.0",
37
+ "@atlaskit/editor-plugin-primary-toolbar": "^1.1.0",
38
+ "@atlaskit/editor-plugin-type-ahead": "^1.4.0",
39
+ "@atlaskit/editor-prosemirror": "4.0.1",
40
+ "@atlaskit/icon": "^22.5.0",
41
+ "@babel/runtime": "^7.0.0",
42
+ "@emotion/react": "^11.7.1"
43
+ },
44
+ "peerDependencies": {
45
+ "react": "^16.8.0",
46
+ "react-intl-next": "npm:react-intl@^5.18.1"
47
+ },
48
+ "devDependencies": {
49
+ "typescript": "~5.4.2"
50
+ },
51
+ "techstack": {
52
+ "@atlassian/frontend": {
53
+ "import-structure": [
54
+ "atlassian-conventions"
55
+ ],
56
+ "circular-dependencies": [
57
+ "file-and-folder-level"
58
+ ]
59
+ },
60
+ "@repo/internal": {
61
+ "dom-events": "use-bind-event-listener",
62
+ "analytics": [
63
+ "analytics-next"
64
+ ],
65
+ "design-tokens": [
66
+ "color"
67
+ ],
68
+ "theming": [
69
+ "react-context"
70
+ ],
71
+ "ui-components": [
72
+ "lite-mode"
73
+ ],
74
+ "deprecation": "no-deprecated-imports",
75
+ "styling": [
76
+ "emotion",
77
+ "emotion"
78
+ ],
79
+ "imports": [
80
+ "import-no-extraneous-disable-for-examples-and-docs"
81
+ ]
82
+ }
83
+ },
84
+ "stricter": {
85
+ "no-unused-dependencies": {
86
+ "checkDevDependencies": true
87
+ }
88
+ }
89
+ }