@atlaskit/editor-core 169.1.0 → 169.1.1

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,11 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 169.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ebe16f97977`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ebe16f97977) - [ux] ED-15292 adjusted weights for the quickinsert search to match weighting system used in newer version of fuse.js (library that we use for fuzzy search)
8
+
3
9
  ## 169.1.0
4
10
 
5
11
  ### Minor Changes
@@ -16,16 +16,15 @@ var _utils = require("../../utils");
16
16
 
17
17
  var options = {
18
18
  threshold: 0.3,
19
- keys: [// Weights must sum to <= 1.0
20
- {
19
+ keys: [{
21
20
  name: 'title',
22
- weight: 0.5
21
+ weight: 0.57
23
22
  }, {
24
23
  name: 'priority',
25
24
  weight: 0.3
26
25
  }, {
27
26
  name: 'keywords',
28
- weight: 0.15
27
+ weight: 0.08
29
28
  }, {
30
29
  name: 'description',
31
30
  weight: 0.04
@@ -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 = "169.1.0";
9
+ var version = "169.1.1";
10
10
  exports.version = version;
11
11
 
12
12
  var nextMajorVersion = function nextMajorVersion() {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "169.1.0",
3
+ "version": "169.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -2,16 +2,15 @@ import Fuse from 'fuse.js';
2
2
  import { dedupe } from '../../utils';
3
3
  const options = {
4
4
  threshold: 0.3,
5
- keys: [// Weights must sum to <= 1.0
6
- {
5
+ keys: [{
7
6
  name: 'title',
8
- weight: 0.5
7
+ weight: 0.57
9
8
  }, {
10
9
  name: 'priority',
11
10
  weight: 0.3
12
11
  }, {
13
12
  name: 'keywords',
14
- weight: 0.15
13
+ weight: 0.08
15
14
  }, {
16
15
  name: 'description',
17
16
  weight: 0.04
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "169.1.0";
2
+ export const version = "169.1.1";
3
3
  export const nextMajorVersion = () => {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "169.1.0",
3
+ "version": "169.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -3,16 +3,15 @@ import Fuse from 'fuse.js';
3
3
  import { dedupe } from '../../utils';
4
4
  var options = {
5
5
  threshold: 0.3,
6
- keys: [// Weights must sum to <= 1.0
7
- {
6
+ keys: [{
8
7
  name: 'title',
9
- weight: 0.5
8
+ weight: 0.57
10
9
  }, {
11
10
  name: 'priority',
12
11
  weight: 0.3
13
12
  }, {
14
13
  name: 'keywords',
15
- weight: 0.15
14
+ weight: 0.08
16
15
  }, {
17
16
  name: 'description',
18
17
  weight: 0.04
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "169.1.0";
2
+ export var version = "169.1.1";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "169.1.0",
3
+ "version": "169.1.1",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "169.1.0",
3
+ "version": "169.1.1",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -165,7 +165,7 @@
165
165
  "@atlaskit/textarea": "^4.3.0",
166
166
  "@atlaskit/toggle": "^12.4.0",
167
167
  "@atlaskit/ufo": "^0.1.0",
168
- "@atlaskit/util-data-test": "^17.4.0",
168
+ "@atlaskit/util-data-test": "^17.5.0",
169
169
  "@atlaskit/visual-regression": "*",
170
170
  "@atlaskit/webdriver-runner": "*",
171
171
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",