@atlaskit/editor-plugin-expand 0.1.4 → 0.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/CHANGELOG.md +32 -0
- package/dist/types/plugin.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types-ts4.5/plugin.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +1 -1
- package/package.json +4 -4
- package/report.api.md +1 -1
- package/tmp/api-report-tmp.d.ts +0 -62
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 0.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790) [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) - ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
8
|
+
|
|
9
|
+
## 0.1.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646) [`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make feature flags plugin optional in all plugins including:
|
|
14
|
+
|
|
15
|
+
- analytics
|
|
16
|
+
- base
|
|
17
|
+
- card
|
|
18
|
+
- code-block
|
|
19
|
+
- expand
|
|
20
|
+
- extension
|
|
21
|
+
- floating-toolbar
|
|
22
|
+
- hyperlink
|
|
23
|
+
- insert-block
|
|
24
|
+
- layout
|
|
25
|
+
- layout
|
|
26
|
+
- list
|
|
27
|
+
- media
|
|
28
|
+
- paste
|
|
29
|
+
- rule
|
|
30
|
+
- table
|
|
31
|
+
- tasks-and-decisions
|
|
32
|
+
|
|
33
|
+
We already treat it as optional in the plugins, so this is just ensuring that the plugin is not mandatory to be added to the preset.
|
|
34
|
+
|
|
3
35
|
## 0.1.4
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ interface ExpandPluginOptions extends LongPressSelectionPluginOptions {
|
|
|
11
11
|
export type ExpandPlugin = NextEditorPlugin<'expand', {
|
|
12
12
|
pluginConfiguration: ExpandPluginOptions | undefined;
|
|
13
13
|
dependencies: [
|
|
14
|
-
FeatureFlagsPlugin
|
|
14
|
+
OptionalPlugin<FeatureFlagsPlugin>,
|
|
15
15
|
DecorationsPlugin,
|
|
16
16
|
SelectionPlugin,
|
|
17
17
|
OptionalPlugin<AnalyticsPlugin>
|
package/dist/types/types.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export interface ExpandPluginOptions extends LongPressSelectionPluginOptions {
|
|
|
20
20
|
export type ExpandPlugin = NextEditorPlugin<'expand', {
|
|
21
21
|
pluginConfiguration: ExpandPluginOptions | undefined;
|
|
22
22
|
dependencies: [
|
|
23
|
-
FeatureFlagsPlugin
|
|
23
|
+
OptionalPlugin<FeatureFlagsPlugin>,
|
|
24
24
|
DecorationsPlugin,
|
|
25
25
|
SelectionPlugin,
|
|
26
26
|
OptionalPlugin<AnalyticsPlugin>
|
|
@@ -11,7 +11,7 @@ interface ExpandPluginOptions extends LongPressSelectionPluginOptions {
|
|
|
11
11
|
export type ExpandPlugin = NextEditorPlugin<'expand', {
|
|
12
12
|
pluginConfiguration: ExpandPluginOptions | undefined;
|
|
13
13
|
dependencies: [
|
|
14
|
-
FeatureFlagsPlugin
|
|
14
|
+
OptionalPlugin<FeatureFlagsPlugin>,
|
|
15
15
|
DecorationsPlugin,
|
|
16
16
|
SelectionPlugin,
|
|
17
17
|
OptionalPlugin<AnalyticsPlugin>
|
|
@@ -20,7 +20,7 @@ export interface ExpandPluginOptions extends LongPressSelectionPluginOptions {
|
|
|
20
20
|
export type ExpandPlugin = NextEditorPlugin<'expand', {
|
|
21
21
|
pluginConfiguration: ExpandPluginOptions | undefined;
|
|
22
22
|
dependencies: [
|
|
23
|
-
FeatureFlagsPlugin
|
|
23
|
+
OptionalPlugin<FeatureFlagsPlugin>,
|
|
24
24
|
DecorationsPlugin,
|
|
25
25
|
SelectionPlugin,
|
|
26
26
|
OptionalPlugin<AnalyticsPlugin>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/adf-schema": "^34.0.
|
|
34
|
+
"@atlaskit/adf-schema": "^34.0.1",
|
|
35
35
|
"@atlaskit/button": "^16.17.0",
|
|
36
|
-
"@atlaskit/editor-common": "^76.
|
|
36
|
+
"@atlaskit/editor-common": "^76.23.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^0.3.0",
|
|
38
38
|
"@atlaskit/editor-plugin-decorations": "^0.2.0",
|
|
39
39
|
"@atlaskit/editor-plugin-feature-flags": "^1.0.1",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@atlaskit/editor-plugin-content-insertion": "^0.1.0",
|
|
58
58
|
"@atlaskit/editor-plugin-guideline": "^0.5.0",
|
|
59
59
|
"@atlaskit/editor-plugin-quick-insert": "^0.2.0",
|
|
60
|
-
"@atlaskit/editor-plugin-table": "^5.
|
|
60
|
+
"@atlaskit/editor-plugin-table": "^5.4.0",
|
|
61
61
|
"@atlaskit/editor-plugin-type-ahead": "^0.7.0",
|
|
62
62
|
"@atlaskit/editor-plugin-width": "^0.2.0",
|
|
63
63
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
package/report.api.md
CHANGED
|
@@ -32,7 +32,7 @@ export type ExpandPlugin = NextEditorPlugin<
|
|
|
32
32
|
{
|
|
33
33
|
pluginConfiguration: ExpandPluginOptions_2 | undefined;
|
|
34
34
|
dependencies: [
|
|
35
|
-
FeatureFlagsPlugin
|
|
35
|
+
OptionalPlugin<FeatureFlagsPlugin>,
|
|
36
36
|
DecorationsPlugin,
|
|
37
37
|
SelectionPlugin,
|
|
38
38
|
OptionalPlugin<AnalyticsPlugin>,
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-plugin-expand"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
8
|
-
import type { Command } from '@atlaskit/editor-common/types';
|
|
9
|
-
import type { DecorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
10
|
-
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
11
|
-
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
12
|
-
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
13
|
-
import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
|
|
14
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
15
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
16
|
-
import type { SelectionPlugin } from '@atlaskit/editor-plugin-selection';
|
|
17
|
-
|
|
18
|
-
// @public (undocumented)
|
|
19
|
-
export type ExpandPlugin = NextEditorPlugin<'expand', {
|
|
20
|
-
pluginConfiguration: ExpandPluginOptions_2 | undefined;
|
|
21
|
-
dependencies: [
|
|
22
|
-
FeatureFlagsPlugin,
|
|
23
|
-
DecorationsPlugin,
|
|
24
|
-
SelectionPlugin,
|
|
25
|
-
OptionalPlugin<AnalyticsPlugin>
|
|
26
|
-
];
|
|
27
|
-
actions: {
|
|
28
|
-
insertExpand: ReturnType<typeof insertExpand>;
|
|
29
|
-
};
|
|
30
|
-
}>;
|
|
31
|
-
|
|
32
|
-
// @public (undocumented)
|
|
33
|
-
export const expandPlugin: ExpandPlugin;
|
|
34
|
-
|
|
35
|
-
// @public (undocumented)
|
|
36
|
-
export interface ExpandPluginOptions extends LongPressSelectionPluginOptions {
|
|
37
|
-
// (undocumented)
|
|
38
|
-
allowInsertion?: boolean;
|
|
39
|
-
// (undocumented)
|
|
40
|
-
appearance?: EditorAppearance;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// @public (undocumented)
|
|
44
|
-
interface ExpandPluginOptions_2 extends LongPressSelectionPluginOptions {
|
|
45
|
-
// (undocumented)
|
|
46
|
-
allowInsertion?: boolean;
|
|
47
|
-
// (undocumented)
|
|
48
|
-
appearance?: EditorAppearance;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// @public (undocumented)
|
|
52
|
-
export interface ExpandPluginState {
|
|
53
|
-
// (undocumented)
|
|
54
|
-
expandRef?: HTMLDivElement | null;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// @public (undocumented)
|
|
58
|
-
const insertExpand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
|
|
59
|
-
|
|
60
|
-
// (No @packageDocumentation comment for this package)
|
|
61
|
-
|
|
62
|
-
```
|