@atlaskit/editor-plugin-collab-edit 1.1.3 → 1.1.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,18 @@
1
1
  # @atlaskit/editor-plugin-collab-edit
2
2
 
3
+ ## 1.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679) [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) - ED-22553 Updating adf-schema version to 35.6.0
8
+ - Updated dependencies
9
+
10
+ ## 1.1.4
11
+
12
+ ### Patch Changes
13
+
14
+ - [#75947](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75947) [`43549c3789b1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/43549c3789b1) - Migrate @atlaskit/editor-core to use declarative entry points
15
+
3
16
  ## 1.1.3
4
17
 
5
18
  ### Patch Changes
package/dist/cjs/utils.js CHANGED
@@ -26,7 +26,7 @@ var findPointers = exports.findPointers = function findPointers(id, decorations)
26
26
  };
27
27
  function style(options) {
28
28
  var color = options && options.color || 'black';
29
- return "border-left: 1px solid ".concat(color, "; border-right: 1px solid ").concat(color, "; margin-right: -2px;");
29
+ return "border-right: 2px solid ".concat(color, "; margin-right: -2px;");
30
30
  }
31
31
  function getAvatarColor(str) {
32
32
  var hash = 0;
@@ -36,7 +36,6 @@ function getAvatarColor(str) {
36
36
  hash = hash & hash;
37
37
  /* eslint-enable no-bitwise */
38
38
  }
39
-
40
39
  var index = Math.abs(hash) % _collab.colors.length;
41
40
  return {
42
41
  index: index,
@@ -7,7 +7,7 @@ export { colors };
7
7
  export const findPointers = (id, decorations) => decorations.find().reduce((arr, deco) => deco.spec.pointer.sessionId === id ? arr.concat(deco) : arr, []);
8
8
  function style(options) {
9
9
  const color = options && options.color || 'black';
10
- return `border-left: 1px solid ${color}; border-right: 1px solid ${color}; margin-right: -2px;`;
10
+ return `border-right: 2px solid ${color}; margin-right: -2px;`;
11
11
  }
12
12
  export function getAvatarColor(str) {
13
13
  let hash = 0;
@@ -17,7 +17,6 @@ export function getAvatarColor(str) {
17
17
  hash = hash & hash;
18
18
  /* eslint-enable no-bitwise */
19
19
  }
20
-
21
20
  const index = Math.abs(hash) % colors.length;
22
21
  return {
23
22
  index,
package/dist/esm/utils.js CHANGED
@@ -12,7 +12,7 @@ export var findPointers = function findPointers(id, decorations) {
12
12
  };
13
13
  function style(options) {
14
14
  var color = options && options.color || 'black';
15
- return "border-left: 1px solid ".concat(color, "; border-right: 1px solid ").concat(color, "; margin-right: -2px;");
15
+ return "border-right: 2px solid ".concat(color, "; margin-right: -2px;");
16
16
  }
17
17
  export function getAvatarColor(str) {
18
18
  var hash = 0;
@@ -22,7 +22,6 @@ export function getAvatarColor(str) {
22
22
  hash = hash & hash;
23
23
  /* eslint-enable no-bitwise */
24
24
  }
25
-
26
25
  var index = Math.abs(hash) % colors.length;
27
26
  return {
28
27
  index: index,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-collab-edit",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Collab Edit plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,8 +32,8 @@
32
32
  ".": "./src/index.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/editor-common": "^78.11.0",
36
- "@atlaskit/editor-plugin-analytics": "1.0.3",
35
+ "@atlaskit/editor-common": "^78.12.0",
36
+ "@atlaskit/editor-plugin-analytics": "1.0.4",
37
37
  "@atlaskit/editor-plugin-feature-flags": "^1.0.0",
38
38
  "@atlaskit/editor-prosemirror": "3.0.0",
39
39
  "@atlaskit/platform-feature-flags": "^0.2.5",
@@ -47,7 +47,7 @@
47
47
  "devDependencies": {
48
48
  "@af/integration-testing": "*",
49
49
  "@af/visual-regression": "*",
50
- "@atlaskit/adf-schema": "^35.5.2",
50
+ "@atlaskit/adf-schema": "^35.6.0",
51
51
  "@atlaskit/editor-plugin-mentions": "^1.0.0",
52
52
  "@atlaskit/editor-plugin-text-formatting": "^1.2.0",
53
53
  "@atlaskit/editor-plugin-type-ahead": "^1.0.0",