@atlaskit/editor-plugin-quick-insert 1.1.5 → 1.1.6
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/.eslintrc.js +4 -4
- package/CHANGELOG.md +6 -0
- package/LICENSE.md +6 -8
- package/package.json +3 -5
- package/report.api.md +19 -20
package/.eslintrc.js
CHANGED
package/CHANGELOG.md
CHANGED
package/LICENSE.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
Copyright 2023 Atlassian Pty Ltd
|
|
2
2
|
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
|
|
5
|
-
You may obtain a copy of the License at
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
|
4
|
+
compliance with the License. You may obtain a copy of the License at
|
|
6
5
|
|
|
7
6
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
7
|
|
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
distributed
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
limitations under the License.
|
|
8
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is
|
|
9
|
+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
10
|
+
implied. See the License for the specific language governing permissions and limitations under the
|
|
11
|
+
License.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-quick-insert",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "Quick insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/button": "^17.17.0",
|
|
37
|
-
"@atlaskit/editor-common": "^
|
|
37
|
+
"@atlaskit/editor-common": "^82.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-type-ahead": "^1.2.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
40
40
|
"@atlaskit/icon": "^22.3.0",
|
|
@@ -52,7 +52,6 @@
|
|
|
52
52
|
"@af/visual-regression": "*",
|
|
53
53
|
"@atlaskit/ssr": "*",
|
|
54
54
|
"@atlaskit/visual-regression": "*",
|
|
55
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
56
55
|
"@testing-library/react": "^12.1.5",
|
|
57
56
|
"react-dom": "^16.8.0",
|
|
58
57
|
"typescript": "~5.4.2",
|
|
@@ -90,6 +89,5 @@
|
|
|
90
89
|
"import-no-extraneous-disable-for-examples-and-docs"
|
|
91
90
|
]
|
|
92
91
|
}
|
|
93
|
-
}
|
|
94
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
92
|
+
}
|
|
95
93
|
}
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/editor-plugin-quick-insert"
|
|
4
4
|
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
5
|
+
> Do not edit this file. This report is auto-generated using
|
|
6
|
+
> [API Extractor](https://api-extractor.com/).
|
|
6
7
|
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
8
|
|
|
8
9
|
### Table of contents
|
|
@@ -28,22 +29,20 @@ import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
|
28
29
|
|
|
29
30
|
// @public (undocumented)
|
|
30
31
|
export type QuickInsertPlugin = NextEditorPlugin<
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
};
|
|
46
|
-
}
|
|
32
|
+
'quickInsert',
|
|
33
|
+
{
|
|
34
|
+
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
35
|
+
dependencies: [TypeAheadPlugin];
|
|
36
|
+
sharedState: QuickInsertSharedState | null;
|
|
37
|
+
actions: {
|
|
38
|
+
openTypeAhead: (inputMethod: TypeAheadInputMethod) => boolean;
|
|
39
|
+
insertItem: (item: QuickInsertItem) => Command;
|
|
40
|
+
getSuggestions: (searchOptions: QuickInsertSearchOptions) => QuickInsertItem[];
|
|
41
|
+
};
|
|
42
|
+
commands: {
|
|
43
|
+
openElementBrowserModal: EditorCommand;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
47
46
|
>;
|
|
48
47
|
|
|
49
48
|
// @public (undocumented)
|
|
@@ -51,7 +50,7 @@ export const quickInsertPlugin: QuickInsertPlugin;
|
|
|
51
50
|
|
|
52
51
|
// @public (undocumented)
|
|
53
52
|
export type QuickInsertSharedState = QuickInsertSharedState_2 & {
|
|
54
|
-
|
|
53
|
+
typeAheadHandler: TypeAheadHandler;
|
|
55
54
|
};
|
|
56
55
|
|
|
57
56
|
// (No @packageDocumentation comment for this package)
|
|
@@ -65,8 +64,8 @@ export type QuickInsertSharedState = QuickInsertSharedState_2 & {
|
|
|
65
64
|
|
|
66
65
|
```json
|
|
67
66
|
{
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
"react": "^16.8.0",
|
|
68
|
+
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
70
69
|
}
|
|
71
70
|
```
|
|
72
71
|
|