@atlaskit/editor-plugin-autocomplete 12.0.0 → 14.0.0

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-autocomplete
2
2
 
3
+ ## 14.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 13.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 12.0.0
4
16
 
5
17
  ### Patch Changes
@@ -13,7 +13,6 @@
13
13
 
14
14
  import { ConcurrentExperience } from '@atlaskit/ufo/concurrent-experience';
15
15
  import { ExperiencePerformanceTypes, ExperienceTypes } from '@atlaskit/ufo/experience-types';
16
-
17
16
  /**
18
17
  * Experience name strings are surfaced downstream by the UFO pipeline as
19
18
  * `platform.fe.<type>.<platform.component>.<name>` (e.g.
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { autocompletePlugin } from '../autocompletePlugin';
@@ -16,7 +16,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
 
17
17
  import { ConcurrentExperience } from '@atlaskit/ufo/concurrent-experience';
18
18
  import { ExperiencePerformanceTypes, ExperienceTypes } from '@atlaskit/ufo/experience-types';
19
-
20
19
  /**
21
20
  * Experience name strings are surfaced downstream by the UFO pipeline as
22
21
  * `platform.fe.<type>.<platform.component>.<name>` (e.g.
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { autocompletePlugin } from '../autocompletePlugin';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-autocomplete",
3
- "version": "12.0.0",
3
+ "version": "14.0.0",
4
4
  "description": "Client-side text autocomplete plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -19,7 +19,7 @@
19
19
  "sideEffects": false,
20
20
  "atlaskit:src": "src/index.ts",
21
21
  "dependencies": {
22
- "@atlaskit/editor-prosemirror": "^8.0.0",
22
+ "@atlaskit/editor-prosemirror": "^9.0.0",
23
23
  "@atlaskit/ufo": "^1.2.0",
24
24
  "@babel/runtime": "^7.0.0",
25
25
  "@mlc-ai/web-llm": "^0.2.78",
@@ -27,8 +27,8 @@
27
27
  "wink-nlp": "^2.4.0"
28
28
  },
29
29
  "peerDependencies": {
30
- "@atlaskit/editor-common": "^122.0.0",
31
- "@atlaskit/editor-plugin-analytics": "^18.0.0",
30
+ "@atlaskit/editor-common": "^124.0.0",
31
+ "@atlaskit/editor-plugin-analytics": "^20.0.0",
32
32
  "react": "^18.2.0 || ^19.2.0"
33
33
  },
34
34
  "devDependencies": {
@@ -12,8 +12,8 @@
12
12
  */
13
13
 
14
14
  import { ConcurrentExperience } from '@atlaskit/ufo/concurrent-experience';
15
- import type { CustomData } from '@atlaskit/ufo/types';
16
15
  import { ExperiencePerformanceTypes, ExperienceTypes } from '@atlaskit/ufo/experience-types';
16
+ import type { CustomData } from '@atlaskit/ufo/types';
17
17
 
18
18
  /**
19
19
  * Experience name strings are surfaced downstream by the UFO pipeline as
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { autocompletePlugin } from '../autocompletePlugin';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export type { AutocompletePlugin } from '../autocompletePluginType';
@@ -15,7 +15,6 @@ import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
15
15
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
16
16
 
17
17
  import type { AutocompletePlugin } from '../autocompletePluginType';
18
-
19
18
  import {
20
19
  CTC_STYLES,
21
20
  ctcTag,
@@ -36,7 +36,6 @@
36
36
  import type { AppConfig, InitProgressReport, MLCEngine } from '@mlc-ai/web-llm';
37
37
 
38
38
  import { abortExp, EXPERIENCE_NAME, failExp, startExp, succeedExp } from '../analytics/ufo';
39
-
40
39
  import { fetchAutocompleteArtifactJson } from './artifact-loader';
41
40
  import { ARTIFACT_NAME } from './artifacts-manifest';
42
41
  import {
@@ -9,7 +9,6 @@
9
9
  */
10
10
 
11
11
  import { EXPERIENCE_NAME, failExp, startExp, succeedExp } from '../analytics/ufo';
12
-
13
12
  import { ARTIFACT_NAME, fetchArtifactJson } from './artifacts-manifest';
14
13
  import type { CanonicalLmEvidence } from './canonical-lm-scoring';
15
14
  import { isAutocompleteDebugEnabled } from './debug-mode';
@@ -8,7 +8,6 @@
8
8
  */
9
9
 
10
10
  import { abortExp, EXPERIENCE_NAME, failExp, startExp, succeedExp } from '../analytics/ufo';
11
-
12
11
  import { buildAutocompleteGatewayUrl } from './artifact-loader';
13
12
  import type {
14
13
  BoundaryLmState,
@@ -19,7 +19,6 @@
19
19
  */
20
20
 
21
21
  import { EXPERIENCE_NAME, failExp, startExp, succeedExp } from '../analytics/ufo';
22
-
23
22
  import { fetchAutocompleteArtifactBinary, fetchAutocompleteArtifactJson } from './artifact-loader';
24
23
  import { ARTIFACT_NAME, type ArtifactName } from './artifacts-manifest';
25
24
  import {
package/tsconfig.app.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "extends": "../../../tsconfig.base.json",
3
- "include": ["./src/**/*.ts", "./src/**/*.tsx", "./src/**/*.json"],
4
- "exclude": [
5
- "**/*.docs.tsx",
3
+ "include": [
4
+ "./src/**/*.ts",
5
+ "./src/**/*.tsx",
6
+ "./src/**/*.json",
6
7
  "**/docs/**/*",
7
8
  "**/__tests__/**/*",
8
9
  "**/vr-tests/**/*",
@@ -27,6 +28,7 @@
27
28
  "**/codemods/**/*.ts",
28
29
  "**/codemods/**/*.tsx"
29
30
  ],
31
+ "exclude": [],
30
32
  "compilerOptions": {
31
33
  "composite": true,
32
34
  "outDir": "../../../tsDist/@atlaskit__editor-plugin-autocomplete/app",
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "./tsconfig.dev.json",
2
+ "extends": "./tsconfig.app.json",
3
3
  "compilerOptions": {
4
4
  "disableReferencedProjectLoad": true,
5
5
  "disableSolutionSearching": true
package/tsconfig.dev.json DELETED
@@ -1,39 +0,0 @@
1
- {
2
- "extends": "../../../tsconfig.base.json",
3
- "include": [
4
- "**/docs/**/*",
5
- "**/__tests__/**/*",
6
- "**/vr-tests/**/*",
7
- "**/__perf__/**/*",
8
- "**/*.test.*",
9
- "**/test.*",
10
- "**/test-*",
11
- "**/examples.ts",
12
- "**/examples.tsx",
13
- "**/examples/*.ts",
14
- "**/examples/*.tsx",
15
- "**/examples/**/*.ts",
16
- "**/examples/**/*.tsx",
17
- "**/storybook/**/*",
18
- "**/constellation/**/*",
19
- ".storybook/*",
20
- "./__fixtures__/**/*",
21
- "./__generated__/**/*",
22
- "./mocks/**/*",
23
- "./__mocks__/**/*",
24
- "**/mock.*",
25
- "**/codemods/**/*.ts",
26
- "**/codemods/**/*.tsx"
27
- ],
28
- "exclude": ["./dist/**/*", "./build/**/*", "./node_modules/**/*"],
29
- "compilerOptions": {
30
- "composite": true,
31
- "outDir": "../../../tsDist/@atlaskit__editor-plugin-autocomplete/dev",
32
- "isolatedDeclarations": true
33
- },
34
- "references": [
35
- {
36
- "path": "./tsconfig.app.json"
37
- }
38
- ]
39
- }