@atlaskit/editor-plugin-type-ahead 17.0.10 → 17.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/package.json +14 -14
  3. package/report.api.md +0 -131
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/editor-plugin-type-ahead
2
2
 
3
+ ## 17.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 17.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
14
+ Remove stale API report artifacts from published Platform packages.
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 17.0.10
4
21
 
5
22
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-type-ahead",
3
- "version": "17.0.10",
3
+ "version": "17.1.1",
4
4
  "description": "Type-ahead plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,27 +23,27 @@
23
23
  "dependencies": {
24
24
  "@atlaskit/adf-schema": "^57.2.0",
25
25
  "@atlaskit/css": "^1.1.0",
26
- "@atlaskit/editor-plugin-analytics": "^16.0.0",
26
+ "@atlaskit/editor-plugin-analytics": "^16.1.0",
27
27
  "@atlaskit/editor-plugin-connectivity": "^16.0.0",
28
- "@atlaskit/editor-plugin-context-panel": "^18.0.0",
28
+ "@atlaskit/editor-plugin-context-panel": "^18.1.0",
29
29
  "@atlaskit/editor-plugin-metrics": "^17.0.0",
30
30
  "@atlaskit/editor-plugin-ui-control-registry": "^10.0.0",
31
31
  "@atlaskit/editor-prosemirror": "^8.0.0",
32
- "@atlaskit/editor-shared-styles": "^4.0.0",
32
+ "@atlaskit/editor-shared-styles": "^4.1.0",
33
33
  "@atlaskit/editor-ui-control-model": "^2.9.0",
34
34
  "@atlaskit/feature-gate-js-client": "^6.0.0",
35
- "@atlaskit/heading": "^7.1.0",
36
- "@atlaskit/icon": "^37.5.0",
35
+ "@atlaskit/heading": "^7.2.0",
36
+ "@atlaskit/icon": "^37.6.0",
37
37
  "@atlaskit/insm": "^3.0.0",
38
- "@atlaskit/menu": "^10.1.0",
38
+ "@atlaskit/menu": "^10.2.0",
39
39
  "@atlaskit/platform-feature-experiments": "^0.3.0",
40
- "@atlaskit/platform-feature-flags": "^2.1.0",
41
- "@atlaskit/primitives": "^22.4.0",
40
+ "@atlaskit/platform-feature-flags": "^2.2.0",
41
+ "@atlaskit/primitives": "^22.5.0",
42
42
  "@atlaskit/prosemirror-history": "^1.2.0",
43
- "@atlaskit/prosemirror-input-rules": "^4.0.0",
44
- "@atlaskit/tmp-editor-statsig": "^168.0.0",
45
- "@atlaskit/tokens": "^16.9.0",
46
- "@atlaskit/visually-hidden": "^4.3.0",
43
+ "@atlaskit/prosemirror-input-rules": "^4.1.0",
44
+ "@atlaskit/tmp-editor-statsig": "^169.0.0",
45
+ "@atlaskit/tokens": "^16.10.0",
46
+ "@atlaskit/visually-hidden": "^4.4.0",
47
47
  "@babel/runtime": "^7.0.0",
48
48
  "@emotion/react": "^11.7.1",
49
49
  "lodash": "^4.17.21",
@@ -53,7 +53,7 @@
53
53
  "w3c-keyname": "^2.1.8"
54
54
  },
55
55
  "peerDependencies": {
56
- "@atlaskit/editor-common": "^120.7.0",
56
+ "@atlaskit/editor-common": "^120.10.0",
57
57
  "react": "^18.2.0 || ^19.2.0",
58
58
  "react-dom": "^18.2.0 || ^19.2.0",
59
59
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
package/report.api.md DELETED
@@ -1,131 +0,0 @@
1
- <!-- API Report Version: 2.3 -->
2
-
3
- ## API Report File for "@atlaskit/editor-plugin-type-ahead"
4
-
5
- > Do not edit this file. This report is auto-generated using
6
- > [API Extractor](https://api-extractor.com/).
7
- > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
8
-
9
- ### Table of contents
10
-
11
- - [Main Entry Types](#main-entry-types)
12
- - [Peer Dependencies](#peer-dependencies)
13
-
14
- ### Main Entry Types
15
-
16
- <!--SECTION START: Main Entry Types-->
17
-
18
- ```ts
19
- import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
20
- import type { Command } from '@atlaskit/editor-common/types';
21
- import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
22
- import type { EditorState } from '@atlaskit/editor-prosemirror/state';
23
- import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
24
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
25
- import type { OptionalPlugin } from '@atlaskit/editor-common/types';
26
- import type { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
27
- import type { Transaction } from '@atlaskit/editor-prosemirror/state';
28
- import type { TypeAheadHandler } from '@atlaskit/editor-common/types';
29
- import type { TypeAheadItem } from '@atlaskit/editor-common/types';
30
- import type { TypeAheadStats } from '@atlaskit/editor-common/types';
31
-
32
- // @public (undocumented)
33
- type CloseTypeAheadProps = {
34
- insertCurrentQueryAsRawText: boolean;
35
- attachCommand?: Command;
36
- };
37
-
38
- // @public (undocumented)
39
- type InsertTypeAheadItemProps = {
40
- triggerHandler: TypeAheadHandler;
41
- contentItem: TypeAheadItem;
42
- query: string;
43
- sourceListItem: TypeAheadItem[];
44
- mode?: SelectItemMode;
45
- };
46
-
47
- // @public (undocumented)
48
- type OpenTypeAheadProps = {
49
- triggerHandler: TypeAheadHandler;
50
- inputMethod: TypeAheadInputMethod;
51
- query?: string;
52
- };
53
-
54
- export { TypeAheadHandler };
55
-
56
- // @public (undocumented)
57
- export type TypeAheadInputMethod =
58
- | INPUT_METHOD.INSERT_MENU
59
- | INPUT_METHOD.KEYBOARD
60
- | INPUT_METHOD.QUICK_INSERT
61
- | INPUT_METHOD.TOOLBAR;
62
-
63
- // @public
64
- export type TypeAheadPlugin = NextEditorPlugin<
65
- 'typeAhead',
66
- {
67
- pluginConfiguration: TypeAheadPluginOptions | undefined;
68
- dependencies: [OptionalPlugin<AnalyticsPlugin>];
69
- sharedState: {
70
- query: string;
71
- isOpen: boolean;
72
- isAllowed: boolean;
73
- currentHandler?: TypeAheadHandler;
74
- };
75
- actions: {
76
- isOpen: (editorState: EditorState) => boolean;
77
- isAllowed: (editorState: EditorState) => boolean;
78
- insert: (props: InsertTypeAheadItemProps) => boolean;
79
- findHandlerByTrigger: (trigger: string) => TypeAheadHandler | null;
80
- open: (props: OpenTypeAheadProps) => boolean;
81
- close: (props: CloseTypeAheadProps) => boolean;
82
- openAtTransaction: (props: OpenTypeAheadProps) => (tr: Transaction) => boolean;
83
- };
84
- }
85
- >;
86
-
87
- // @public
88
- export const typeAheadPlugin: TypeAheadPlugin;
89
-
90
- // @public (undocumented)
91
- export type TypeAheadPluginOptions = {
92
- isMobile?: boolean;
93
- };
94
-
95
- // @public (undocumented)
96
- export type TypeAheadPluginState = {
97
- decorationSet: DecorationSet;
98
- decorationElement: HTMLElement | null;
99
- typeAheadHandlers: Array<TypeAheadHandler>;
100
- query: string;
101
- items: Array<TypeAheadItem>;
102
- triggerHandler?: TypeAheadHandler;
103
- selectedIndex: number;
104
- stats: TypeAheadStatsSerializable | null;
105
- inputMethod: TypeAheadInputMethod | null;
106
- };
107
-
108
- // @public (undocumented)
109
- interface TypeAheadStatsSerializable extends TypeAheadStats {
110
- // (undocumented)
111
- serialize: () => TypeAheadStats;
112
- }
113
-
114
- // (No @packageDocumentation comment for this package)
115
- ```
116
-
117
- <!--SECTION END: Main Entry Types-->
118
-
119
- ### Peer Dependencies
120
-
121
- <!--SECTION START: Peer Dependencies-->
122
-
123
- ```json
124
- {
125
- "react": "^16.8.0",
126
- "react-dom": "^16.8.0",
127
- "react-intl": "npm:react-intl@^5.18.1"
128
- }
129
- ```
130
-
131
- <!--SECTION END: Peer Dependencies-->