@atlaskit/editor-core 187.43.0 → 187.43.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,12 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 187.43.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`12843a6f104`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12843a6f104) - ED-19617 - Initial creation of editor-plugin-copy-button package
8
+ - Updated dependencies
9
+
3
10
  ## 187.43.0
4
11
 
5
12
  ### Minor Changes
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.nextMajorVersion = exports.name = void 0;
7
7
  var name = "@atlaskit/editor-core";
8
8
  exports.name = name;
9
- var version = "187.43.0";
9
+ var version = "187.43.3";
10
10
  exports.version = version;
11
11
  var nextMajorVersion = function nextMajorVersion() {
12
12
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "187.43.0";
2
+ export const version = "187.43.3";
3
3
  export const nextMajorVersion = () => {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "187.43.0";
2
+ export var version = "187.43.3";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,3 +1,3 @@
1
- import { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
- declare const copyButtonPlugin: NextEditorPlugin<'copyButton'>;
1
+ import type { CopyButtonPlugin } from '@atlaskit/editor-plugin-copy-button';
2
+ declare const copyButtonPlugin: CopyButtonPlugin;
3
3
  export default copyButtonPlugin;
@@ -1,12 +1,4 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import type { MarkType } from '@atlaskit/editor-prosemirror/model';
3
- type CopyButtonPluginState = {
4
- copied: boolean;
5
- markSelection?: {
6
- start: number;
7
- end: number;
8
- markType: MarkType;
9
- };
10
- };
2
+ import type { CopyButtonPluginState } from '@atlaskit/editor-plugin-copy-button';
11
3
  export declare function copyButtonPlugin(): SafePlugin<CopyButtonPluginState>;
12
4
  export default copyButtonPlugin;
@@ -1,3 +1,3 @@
1
- import { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
- declare const copyButtonPlugin: NextEditorPlugin<'copyButton'>;
1
+ import type { CopyButtonPlugin } from '@atlaskit/editor-plugin-copy-button';
2
+ declare const copyButtonPlugin: CopyButtonPlugin;
3
3
  export default copyButtonPlugin;
@@ -1,12 +1,4 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import type { MarkType } from '@atlaskit/editor-prosemirror/model';
3
- type CopyButtonPluginState = {
4
- copied: boolean;
5
- markSelection?: {
6
- start: number;
7
- end: number;
8
- markType: MarkType;
9
- };
10
- };
2
+ import type { CopyButtonPluginState } from '@atlaskit/editor-plugin-copy-button';
11
3
  export declare function copyButtonPlugin(): SafePlugin<CopyButtonPluginState>;
12
4
  export default copyButtonPlugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "187.43.0",
3
+ "version": "187.43.3",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -65,6 +65,7 @@
65
65
  "@atlaskit/editor-plugin-composition": "^0.1.0",
66
66
  "@atlaskit/editor-plugin-content-insertion": "^0.1.0",
67
67
  "@atlaskit/editor-plugin-context-panel": "^0.2.0",
68
+ "@atlaskit/editor-plugin-copy-button": "^0.1.0",
68
69
  "@atlaskit/editor-plugin-decorations": "^0.2.0",
69
70
  "@atlaskit/editor-plugin-editor-disabled": "^0.2.0",
70
71
  "@atlaskit/editor-plugin-emoji": "^0.3.0",
@@ -109,7 +110,7 @@
109
110
  "@atlaskit/radio": "^5.6.0",
110
111
  "@atlaskit/section-message": "^6.4.0",
111
112
  "@atlaskit/select": "^16.5.0",
112
- "@atlaskit/smart-card": "^26.25.0",
113
+ "@atlaskit/smart-card": "^26.26.0",
113
114
  "@atlaskit/smart-user-picker": "^6.3.0",
114
115
  "@atlaskit/spinner": "^15.5.0",
115
116
  "@atlaskit/status": "^1.3.0",
@@ -280,4 +281,4 @@
280
281
  "referenceOnly": "true"
281
282
  }
282
283
  }
283
- }
284
+ }