@atlaskit/editor-core 203.2.7 → 203.2.9
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 +17 -0
- package/dist/cjs/create-editor/ReactEditorViewNext.js +18 -8
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorViewNext.js +18 -8
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorViewNext.js +18 -8
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +132 -11
- package/dist/types/presets/default.d.ts +72 -6
- package/dist/types/presets/universal.d.ts +132 -11
- package/dist/types/presets/useUniversalPreset.d.ts +132 -11
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +143 -0
- package/dist/types-ts4.5/presets/default.d.ts +78 -0
- package/dist/types-ts4.5/presets/universal.d.ts +143 -0
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +143 -0
- package/package.json +9 -5
|
@@ -1137,6 +1137,19 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1137
1137
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1138
1138
|
};
|
|
1139
1139
|
}, undefined>>,
|
|
1140
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1141
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1142
|
+
dependencies: [
|
|
1143
|
+
];
|
|
1144
|
+
pluginConfiguration?: {
|
|
1145
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1146
|
+
} | undefined;
|
|
1147
|
+
commands: {
|
|
1148
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1149
|
+
};
|
|
1150
|
+
}, {
|
|
1151
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1152
|
+
} | undefined>>,
|
|
1140
1153
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1141
1154
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1142
1155
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -1348,6 +1361,19 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1348
1361
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1349
1362
|
};
|
|
1350
1363
|
}, undefined>>,
|
|
1364
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1365
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1366
|
+
dependencies: [
|
|
1367
|
+
];
|
|
1368
|
+
pluginConfiguration?: {
|
|
1369
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1370
|
+
} | undefined;
|
|
1371
|
+
commands: {
|
|
1372
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1373
|
+
};
|
|
1374
|
+
}, {
|
|
1375
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1376
|
+
} | undefined>>,
|
|
1351
1377
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1352
1378
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1353
1379
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -2622,6 +2648,19 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2622
2648
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2623
2649
|
};
|
|
2624
2650
|
}, undefined>>,
|
|
2651
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2652
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2653
|
+
dependencies: [
|
|
2654
|
+
];
|
|
2655
|
+
pluginConfiguration?: {
|
|
2656
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2657
|
+
} | undefined;
|
|
2658
|
+
commands: {
|
|
2659
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2660
|
+
};
|
|
2661
|
+
}, {
|
|
2662
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2663
|
+
} | undefined>>,
|
|
2625
2664
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2626
2665
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2627
2666
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -2777,6 +2816,19 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2777
2816
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2778
2817
|
};
|
|
2779
2818
|
}, undefined>>,
|
|
2819
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2820
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2821
|
+
dependencies: [
|
|
2822
|
+
];
|
|
2823
|
+
pluginConfiguration?: {
|
|
2824
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2825
|
+
} | undefined;
|
|
2826
|
+
commands: {
|
|
2827
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2828
|
+
};
|
|
2829
|
+
}, {
|
|
2830
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2831
|
+
} | undefined>>,
|
|
2780
2832
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2781
2833
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2782
2834
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -3614,6 +3666,19 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
3614
3666
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3615
3667
|
};
|
|
3616
3668
|
}, undefined>>,
|
|
3669
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3670
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
3671
|
+
dependencies: [
|
|
3672
|
+
];
|
|
3673
|
+
pluginConfiguration?: {
|
|
3674
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3675
|
+
} | undefined;
|
|
3676
|
+
commands: {
|
|
3677
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3678
|
+
};
|
|
3679
|
+
}, {
|
|
3680
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3681
|
+
} | undefined>>,
|
|
3617
3682
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3618
3683
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3619
3684
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -4784,6 +4849,19 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4784
4849
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4785
4850
|
};
|
|
4786
4851
|
}, undefined>>,
|
|
4852
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4853
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
4854
|
+
dependencies: [
|
|
4855
|
+
];
|
|
4856
|
+
pluginConfiguration?: {
|
|
4857
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4858
|
+
} | undefined;
|
|
4859
|
+
commands: {
|
|
4860
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4861
|
+
};
|
|
4862
|
+
}, {
|
|
4863
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4864
|
+
} | undefined>>,
|
|
4787
4865
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4788
4866
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4789
4867
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -5386,6 +5464,19 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5386
5464
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5387
5465
|
};
|
|
5388
5466
|
}, undefined>>,
|
|
5467
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5468
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
5469
|
+
dependencies: [
|
|
5470
|
+
];
|
|
5471
|
+
pluginConfiguration?: {
|
|
5472
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5473
|
+
} | undefined;
|
|
5474
|
+
commands: {
|
|
5475
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5476
|
+
};
|
|
5477
|
+
}, {
|
|
5478
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5479
|
+
} | undefined>>,
|
|
5389
5480
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5390
5481
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5391
5482
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -5536,6 +5627,19 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5536
5627
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5537
5628
|
};
|
|
5538
5629
|
}, undefined>>,
|
|
5630
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5631
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
5632
|
+
dependencies: [
|
|
5633
|
+
];
|
|
5634
|
+
pluginConfiguration?: {
|
|
5635
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5636
|
+
} | undefined;
|
|
5637
|
+
commands: {
|
|
5638
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5639
|
+
};
|
|
5640
|
+
}, {
|
|
5641
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5642
|
+
} | undefined>>,
|
|
5539
5643
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5540
5644
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5541
5645
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -6965,6 +7069,19 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
6965
7069
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6966
7070
|
};
|
|
6967
7071
|
}, undefined>>,
|
|
7072
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
7073
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
7074
|
+
dependencies: [
|
|
7075
|
+
];
|
|
7076
|
+
pluginConfiguration?: {
|
|
7077
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7078
|
+
} | undefined;
|
|
7079
|
+
commands: {
|
|
7080
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7081
|
+
};
|
|
7082
|
+
}, {
|
|
7083
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7084
|
+
} | undefined>>,
|
|
6968
7085
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6969
7086
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
6970
7087
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -8956,6 +9073,19 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
8956
9073
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
8957
9074
|
};
|
|
8958
9075
|
}, undefined>>,
|
|
9076
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
9077
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
9078
|
+
dependencies: [
|
|
9079
|
+
];
|
|
9080
|
+
pluginConfiguration?: {
|
|
9081
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9082
|
+
} | undefined;
|
|
9083
|
+
commands: {
|
|
9084
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
9085
|
+
};
|
|
9086
|
+
}, {
|
|
9087
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9088
|
+
} | undefined>>,
|
|
8959
9089
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
8960
9090
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
8961
9091
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -9167,6 +9297,19 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
9167
9297
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
9168
9298
|
};
|
|
9169
9299
|
}, undefined>>,
|
|
9300
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
9301
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
9302
|
+
dependencies: [
|
|
9303
|
+
];
|
|
9304
|
+
pluginConfiguration?: {
|
|
9305
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9306
|
+
} | undefined;
|
|
9307
|
+
commands: {
|
|
9308
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
9309
|
+
};
|
|
9310
|
+
}, {
|
|
9311
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9312
|
+
} | undefined>>,
|
|
9170
9313
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
9171
9314
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
9172
9315
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "203.2.
|
|
3
|
+
"version": "203.2.9",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/analytics-next": "^10.2.0",
|
|
44
44
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
45
45
|
"@atlaskit/button": "^20.3.0",
|
|
46
|
-
"@atlaskit/editor-common": "^96.
|
|
46
|
+
"@atlaskit/editor-common": "^96.4.0",
|
|
47
47
|
"@atlaskit/editor-json-transformer": "^8.21.0",
|
|
48
48
|
"@atlaskit/editor-plugin-quick-insert": "1.8.0",
|
|
49
49
|
"@atlaskit/editor-plugins": "^5.8.0",
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"@af/visual-regression": "*",
|
|
84
84
|
"@atlaskit/adf-utils": "^19.14.0",
|
|
85
85
|
"@atlaskit/analytics-listeners": "^8.13.0",
|
|
86
|
-
"@atlaskit/collab-provider": "10.2.
|
|
87
|
-
"@atlaskit/editor-plugin-annotation": "1.26.
|
|
86
|
+
"@atlaskit/collab-provider": "10.2.2",
|
|
87
|
+
"@atlaskit/editor-plugin-annotation": "1.26.3",
|
|
88
88
|
"@atlaskit/editor-plugin-card": "^4.5.0",
|
|
89
89
|
"@atlaskit/editor-plugin-list": "^3.9.0",
|
|
90
90
|
"@atlaskit/editor-plugin-paste": "^2.0.0",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"@atlaskit/visual-regression": "*",
|
|
104
104
|
"@atlassian/adf-schema-json": "^1.22.0",
|
|
105
105
|
"@atlassian/feature-flags-test-utils": "*",
|
|
106
|
-
"@atlassian/search-provider": "3.0.
|
|
106
|
+
"@atlassian/search-provider": "3.0.7",
|
|
107
107
|
"@emotion/jest": "^11.8.0",
|
|
108
108
|
"@storybook/addon-knobs": "^6.4.0",
|
|
109
109
|
"@testing-library/react": "^12.1.5",
|
|
@@ -372,6 +372,10 @@
|
|
|
372
372
|
"platform_editor_nested_tables_renderer_styles": {
|
|
373
373
|
"type": "boolean",
|
|
374
374
|
"referenceOnly": true
|
|
375
|
+
},
|
|
376
|
+
"platform_editor_table_overflow_in_full_width_fix": {
|
|
377
|
+
"type": "boolean",
|
|
378
|
+
"referenceOnly": true
|
|
375
379
|
}
|
|
376
380
|
},
|
|
377
381
|
"stricter": {
|