@atlaskit/editor-core 205.4.1 → 205.5.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 +16 -0
- package/dist/cjs/composable-editor/core-editor.js +2 -1
- package/dist/cjs/composable-editor/editor-inp-metrics.js +71 -0
- package/dist/cjs/ui/ContentStyles/index.js +0 -3
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/core-editor.js +2 -1
- package/dist/es2019/composable-editor/editor-inp-metrics.js +61 -0
- package/dist/es2019/ui/ContentStyles/index.js +0 -3
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/core-editor.js +2 -1
- package/dist/esm/composable-editor/editor-inp-metrics.js +64 -0
- package/dist/esm/ui/ContentStyles/index.js +0 -3
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/editor-inp-metrics.d.ts +1 -0
- package/dist/types/create-editor/create-universal-preset.d.ts +129 -4
- package/dist/types/presets/universal.d.ts +129 -4
- package/dist/types/presets/useUniversalPreset.d.ts +129 -4
- package/dist/types/ui/ContentStyles/index.d.ts +1 -1
- package/dist/types-ts4.5/composable-editor/editor-inp-metrics.d.ts +1 -0
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +154 -4
- package/dist/types-ts4.5/presets/universal.d.ts +154 -4
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +154 -4
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +1 -1
- package/package.json +19 -11
|
@@ -659,7 +659,37 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
659
659
|
sharedState: {
|
|
660
660
|
contents: import("react").ReactNode[] | undefined;
|
|
661
661
|
} | undefined;
|
|
662
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
662
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
663
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
664
|
+
dependencies: [
|
|
665
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
666
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
667
|
+
sharedState: {
|
|
668
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
669
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
670
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
671
|
+
};
|
|
672
|
+
dependencies: [
|
|
673
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
674
|
+
pluginConfiguration: FeatureFlags;
|
|
675
|
+
sharedState: FeatureFlags;
|
|
676
|
+
}, FeatureFlags>>
|
|
677
|
+
];
|
|
678
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
679
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
680
|
+
];
|
|
681
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
682
|
+
commands: {
|
|
683
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
684
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
685
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
686
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
687
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
688
|
+
shouldStartTimer?: boolean | undefined;
|
|
689
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
690
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
691
|
+
};
|
|
692
|
+
}, undefined>>
|
|
663
693
|
];
|
|
664
694
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
665
695
|
actions: {
|
|
@@ -725,7 +755,37 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
725
755
|
sharedState: {
|
|
726
756
|
contents: import("react").ReactNode[] | undefined;
|
|
727
757
|
} | undefined;
|
|
728
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
758
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
759
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
760
|
+
dependencies: [
|
|
761
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
762
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
763
|
+
sharedState: {
|
|
764
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
765
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
766
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
767
|
+
};
|
|
768
|
+
dependencies: [
|
|
769
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
770
|
+
pluginConfiguration: FeatureFlags;
|
|
771
|
+
sharedState: FeatureFlags;
|
|
772
|
+
}, FeatureFlags>>
|
|
773
|
+
];
|
|
774
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
775
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
776
|
+
];
|
|
777
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
778
|
+
commands: {
|
|
779
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
780
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
781
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
782
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
783
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
784
|
+
shouldStartTimer?: boolean | undefined;
|
|
785
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
786
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
787
|
+
};
|
|
788
|
+
}, undefined>>
|
|
729
789
|
];
|
|
730
790
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
731
791
|
actions: {
|
|
@@ -752,6 +812,36 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
752
812
|
commands: {
|
|
753
813
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
754
814
|
};
|
|
815
|
+
}, undefined>>,
|
|
816
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
817
|
+
dependencies: [
|
|
818
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
819
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
820
|
+
sharedState: {
|
|
821
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
822
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
823
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
824
|
+
};
|
|
825
|
+
dependencies: [
|
|
826
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
827
|
+
pluginConfiguration: FeatureFlags;
|
|
828
|
+
sharedState: FeatureFlags;
|
|
829
|
+
}, FeatureFlags>>
|
|
830
|
+
];
|
|
831
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
832
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
833
|
+
];
|
|
834
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
835
|
+
commands: {
|
|
836
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
837
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
838
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
839
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
840
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
841
|
+
shouldStartTimer?: boolean | undefined;
|
|
842
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
843
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
844
|
+
};
|
|
755
845
|
}, undefined>>
|
|
756
846
|
];
|
|
757
847
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
@@ -1129,7 +1219,37 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1129
1219
|
sharedState: {
|
|
1130
1220
|
contents: import("react").ReactNode[] | undefined;
|
|
1131
1221
|
} | undefined;
|
|
1132
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
1222
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
1223
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
1224
|
+
dependencies: [
|
|
1225
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1226
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1227
|
+
sharedState: {
|
|
1228
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1229
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1230
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1231
|
+
};
|
|
1232
|
+
dependencies: [
|
|
1233
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1234
|
+
pluginConfiguration: FeatureFlags;
|
|
1235
|
+
sharedState: FeatureFlags;
|
|
1236
|
+
}, FeatureFlags>>
|
|
1237
|
+
];
|
|
1238
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1239
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1240
|
+
];
|
|
1241
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
1242
|
+
commands: {
|
|
1243
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1244
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1245
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1246
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
1247
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
1248
|
+
shouldStartTimer?: boolean | undefined;
|
|
1249
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
1250
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1251
|
+
};
|
|
1252
|
+
}, undefined>>
|
|
1133
1253
|
];
|
|
1134
1254
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1135
1255
|
actions: {
|
|
@@ -1228,7 +1348,37 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1228
1348
|
sharedState: {
|
|
1229
1349
|
contents: import("react").ReactNode[] | undefined;
|
|
1230
1350
|
} | undefined;
|
|
1231
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
1351
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
1352
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
1353
|
+
dependencies: [
|
|
1354
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1355
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1356
|
+
sharedState: {
|
|
1357
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1358
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1359
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1360
|
+
};
|
|
1361
|
+
dependencies: [
|
|
1362
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1363
|
+
pluginConfiguration: FeatureFlags;
|
|
1364
|
+
sharedState: FeatureFlags;
|
|
1365
|
+
}, FeatureFlags>>
|
|
1366
|
+
];
|
|
1367
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1368
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1369
|
+
];
|
|
1370
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
1371
|
+
commands: {
|
|
1372
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1373
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1374
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1375
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
1376
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
1377
|
+
shouldStartTimer?: boolean | undefined;
|
|
1378
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
1379
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1380
|
+
};
|
|
1381
|
+
}, undefined>>
|
|
1232
1382
|
];
|
|
1233
1383
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1234
1384
|
actions: {
|
|
@@ -607,7 +607,37 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
607
607
|
sharedState: {
|
|
608
608
|
contents: import("react").ReactNode[] | undefined;
|
|
609
609
|
} | undefined;
|
|
610
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
610
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
611
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
612
|
+
dependencies: [
|
|
613
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
614
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
615
|
+
sharedState: {
|
|
616
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
617
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
618
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
619
|
+
};
|
|
620
|
+
dependencies: [
|
|
621
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
622
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
623
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
624
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
625
|
+
];
|
|
626
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
627
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
628
|
+
];
|
|
629
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
630
|
+
commands: {
|
|
631
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
632
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
633
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
634
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
635
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
636
|
+
shouldStartTimer?: boolean | undefined;
|
|
637
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
638
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
639
|
+
};
|
|
640
|
+
}, undefined>>
|
|
611
641
|
];
|
|
612
642
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
613
643
|
actions: {
|
|
@@ -673,7 +703,37 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
673
703
|
sharedState: {
|
|
674
704
|
contents: import("react").ReactNode[] | undefined;
|
|
675
705
|
} | undefined;
|
|
676
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
706
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
707
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
708
|
+
dependencies: [
|
|
709
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
710
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
711
|
+
sharedState: {
|
|
712
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
713
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
714
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
715
|
+
};
|
|
716
|
+
dependencies: [
|
|
717
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
718
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
719
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
720
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
721
|
+
];
|
|
722
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
723
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
724
|
+
];
|
|
725
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
726
|
+
commands: {
|
|
727
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
728
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
729
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
730
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
731
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
732
|
+
shouldStartTimer?: boolean | undefined;
|
|
733
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
734
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
735
|
+
};
|
|
736
|
+
}, undefined>>
|
|
677
737
|
];
|
|
678
738
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
679
739
|
actions: {
|
|
@@ -700,6 +760,36 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
700
760
|
commands: {
|
|
701
761
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
702
762
|
};
|
|
763
|
+
}, undefined>>,
|
|
764
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
765
|
+
dependencies: [
|
|
766
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
767
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
768
|
+
sharedState: {
|
|
769
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
770
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
771
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
772
|
+
};
|
|
773
|
+
dependencies: [
|
|
774
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
775
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
776
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
777
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
778
|
+
];
|
|
779
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
780
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
781
|
+
];
|
|
782
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
783
|
+
commands: {
|
|
784
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
785
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
786
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
787
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
788
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
789
|
+
shouldStartTimer?: boolean | undefined;
|
|
790
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
791
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
792
|
+
};
|
|
703
793
|
}, undefined>>
|
|
704
794
|
];
|
|
705
795
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
@@ -1077,7 +1167,37 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1077
1167
|
sharedState: {
|
|
1078
1168
|
contents: import("react").ReactNode[] | undefined;
|
|
1079
1169
|
} | undefined;
|
|
1080
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
1170
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
1171
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
1172
|
+
dependencies: [
|
|
1173
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1174
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1175
|
+
sharedState: {
|
|
1176
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
1177
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1178
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1179
|
+
};
|
|
1180
|
+
dependencies: [
|
|
1181
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1182
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1183
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1184
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1185
|
+
];
|
|
1186
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1187
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1188
|
+
];
|
|
1189
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
1190
|
+
commands: {
|
|
1191
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1192
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1193
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1194
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
1195
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
1196
|
+
shouldStartTimer?: boolean | undefined;
|
|
1197
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
1198
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1199
|
+
};
|
|
1200
|
+
}, undefined>>
|
|
1081
1201
|
];
|
|
1082
1202
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1083
1203
|
actions: {
|
|
@@ -1176,7 +1296,37 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1176
1296
|
sharedState: {
|
|
1177
1297
|
contents: import("react").ReactNode[] | undefined;
|
|
1178
1298
|
} | undefined;
|
|
1179
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
1299
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
1300
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
1301
|
+
dependencies: [
|
|
1302
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1303
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1304
|
+
sharedState: {
|
|
1305
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
1306
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1307
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1308
|
+
};
|
|
1309
|
+
dependencies: [
|
|
1310
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1311
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1312
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1313
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1314
|
+
];
|
|
1315
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1316
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1317
|
+
];
|
|
1318
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
1319
|
+
commands: {
|
|
1320
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1321
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1322
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1323
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
1324
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
1325
|
+
shouldStartTimer?: boolean | undefined;
|
|
1326
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
1327
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1328
|
+
};
|
|
1329
|
+
}, undefined>>
|
|
1180
1330
|
];
|
|
1181
1331
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1182
1332
|
actions: {
|
|
@@ -19,7 +19,7 @@ export declare const placeholderStyles: SerializedStyles;
|
|
|
19
19
|
/**
|
|
20
20
|
* fix layout issue of first block node
|
|
21
21
|
*/
|
|
22
|
-
export declare const fixBlockControlStylesSSR: () => SerializedStyles
|
|
22
|
+
export declare const fixBlockControlStylesSSR: () => SerializedStyles;
|
|
23
23
|
type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
|
|
24
24
|
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
25
|
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "205.
|
|
3
|
+
"version": "205.5.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,22 +46,22 @@
|
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^23.0.0",
|
|
48
48
|
"@atlaskit/css": "^0.10.0",
|
|
49
|
-
"@atlaskit/editor-common": "^103.
|
|
49
|
+
"@atlaskit/editor-common": "^103.9.0",
|
|
50
50
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
51
|
-
"@atlaskit/editor-performance-metrics": "^2.
|
|
52
|
-
"@atlaskit/editor-plugin-quick-insert": "^2.
|
|
51
|
+
"@atlaskit/editor-performance-metrics": "^2.1.0",
|
|
52
|
+
"@atlaskit/editor-plugin-quick-insert": "^2.4.0",
|
|
53
53
|
"@atlaskit/editor-plugins": "^8.1.0",
|
|
54
54
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
55
55
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
56
56
|
"@atlaskit/emoji": "^69.0.0",
|
|
57
57
|
"@atlaskit/icon": "^25.6.0",
|
|
58
|
-
"@atlaskit/media-card": "^79.
|
|
58
|
+
"@atlaskit/media-card": "^79.2.0",
|
|
59
59
|
"@atlaskit/mention": "^24.1.0",
|
|
60
60
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
61
61
|
"@atlaskit/platform-feature-flags-react": "^0.1.0",
|
|
62
|
-
"@atlaskit/react-ufo": "^3.
|
|
62
|
+
"@atlaskit/react-ufo": "^3.6.0",
|
|
63
63
|
"@atlaskit/task-decision": "^19.1.0",
|
|
64
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
64
|
+
"@atlaskit/tmp-editor-statsig": "^4.11.0",
|
|
65
65
|
"@atlaskit/tokens": "^4.8.0",
|
|
66
66
|
"@atlaskit/tooltip": "^20.0.0",
|
|
67
67
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@atlaskit/adf-utils": "^19.19.0",
|
|
91
91
|
"@atlaskit/analytics-listeners": "^9.0.0",
|
|
92
92
|
"@atlaskit/collab-provider": "^10.14.0",
|
|
93
|
-
"@atlaskit/editor-plugin-annotation": "^2.
|
|
93
|
+
"@atlaskit/editor-plugin-annotation": "^2.6.0",
|
|
94
94
|
"@atlaskit/editor-plugin-card": "^5.4.0",
|
|
95
95
|
"@atlaskit/editor-plugin-list": "^4.2.0",
|
|
96
96
|
"@atlaskit/editor-plugin-paste": "^3.2.0",
|
|
@@ -163,6 +163,9 @@
|
|
|
163
163
|
"platform_editor_fe--ufo-bridge": {
|
|
164
164
|
"type": "boolean"
|
|
165
165
|
},
|
|
166
|
+
"platform_editor_fe--inp-metrics": {
|
|
167
|
+
"type": "boolean"
|
|
168
|
+
},
|
|
166
169
|
"platform_editor_sync_editor_view_mode_state": {
|
|
167
170
|
"type": "boolean"
|
|
168
171
|
},
|
|
@@ -247,9 +250,6 @@
|
|
|
247
250
|
"platform_editor_toolbar_responsive_fixes": {
|
|
248
251
|
"type": "boolean"
|
|
249
252
|
},
|
|
250
|
-
"platform_editor_ssr_fix_block_controls": {
|
|
251
|
-
"type": "boolean"
|
|
252
|
-
},
|
|
253
253
|
"platform_editor_react18_mention_with_provider_fix": {
|
|
254
254
|
"type": "boolean"
|
|
255
255
|
},
|
|
@@ -575,6 +575,10 @@
|
|
|
575
575
|
"platform_editor_quick_insert_placeholder": {
|
|
576
576
|
"type": "boolean"
|
|
577
577
|
},
|
|
578
|
+
"platform_editor_controls_sticky_mask": {
|
|
579
|
+
"type": "boolean",
|
|
580
|
+
"referenceOnly": true
|
|
581
|
+
},
|
|
578
582
|
"platform_editor_numbered_column_misalignment": {
|
|
579
583
|
"type": "boolean",
|
|
580
584
|
"referenceOnly": true
|
|
@@ -603,6 +607,10 @@
|
|
|
603
607
|
"type": "boolean",
|
|
604
608
|
"referenceOnly": true
|
|
605
609
|
},
|
|
610
|
+
"platform_editor_comments_api_manager": {
|
|
611
|
+
"type": "boolean",
|
|
612
|
+
"referenceOnly": true
|
|
613
|
+
},
|
|
606
614
|
"platform_editor_elements_dnd_multi_select_patch_3": {
|
|
607
615
|
"type": "boolean",
|
|
608
616
|
"referenceOnly": true
|