@atlaskit/editor-core 209.6.5 → 209.7.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/ui/ContentStyles/index.js +1 -1
- package/dist/cjs/ui/ContentStyles/tasks-and-decisions.js +205 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +4 -0
- package/dist/cjs/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +205 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/ContentStyles/index.js +2 -2
- package/dist/es2019/ui/ContentStyles/tasks-and-decisions.js +206 -0
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +5 -1
- package/dist/es2019/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +206 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/ContentStyles/index.js +2 -2
- package/dist/esm/ui/ContentStyles/tasks-and-decisions.js +204 -0
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +5 -1
- package/dist/esm/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +204 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +29 -1
- package/dist/types/presets/universal.d.ts +29 -1
- package/dist/types/presets/useUniversalPreset.d.ts +29 -1
- package/dist/types/ui/ContentStyles/tasks-and-decisions.d.ts +1 -0
- package/dist/types/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.d.ts +1 -0
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +35 -1
- package/dist/types-ts4.5/presets/universal.d.ts +35 -1
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +35 -1
- package/dist/types-ts4.5/ui/ContentStyles/tasks-and-decisions.d.ts +1 -0
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.d.ts +1 -0
- package/package.json +6 -6
|
@@ -1552,7 +1552,41 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1552
1552
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1553
1553
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1554
1554
|
];
|
|
1555
|
-
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions
|
|
1555
|
+
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions>>,
|
|
1556
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
1557
|
+
dependencies: [
|
|
1558
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
1559
|
+
sharedState: {
|
|
1560
|
+
currentUserIntent: import("@atlaskit/editor-plugins/user-intent").UserIntent;
|
|
1561
|
+
} | undefined;
|
|
1562
|
+
commands: {
|
|
1563
|
+
setCurrentUserIntent: (newCurrentUserIntent: import("@atlaskit/editor-plugins/user-intent").UserIntent) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1564
|
+
};
|
|
1565
|
+
}, undefined>>,
|
|
1566
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1567
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
1568
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
1569
|
+
dependencies: [
|
|
1570
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"interaction", {
|
|
1571
|
+
sharedState: import("@atlaskit/editor-plugins/interaction").SharedInteractionState;
|
|
1572
|
+
commands: {
|
|
1573
|
+
handleInteraction: import("@atlaskit/editor-common/types").EditorCommand;
|
|
1574
|
+
};
|
|
1575
|
+
}, undefined>>
|
|
1576
|
+
];
|
|
1577
|
+
commands: {
|
|
1578
|
+
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1579
|
+
clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1580
|
+
setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1581
|
+
};
|
|
1582
|
+
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1583
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>
|
|
1584
|
+
];
|
|
1585
|
+
actions: {
|
|
1586
|
+
registerComponents: (toolbarComponents: import("packages/editor/editor-toolbar-model/dist/types").RegisterComponent[]) => void;
|
|
1587
|
+
getComponents: () => import("packages/editor/editor-toolbar-model/dist/types").RegisterComponent[];
|
|
1588
|
+
};
|
|
1589
|
+
}, undefined>>
|
|
1556
1590
|
];
|
|
1557
1591
|
sharedState: import("@atlaskit/editor-plugins/block-type").BlockTypeState | undefined;
|
|
1558
1592
|
actions: {
|
|
@@ -1501,7 +1501,41 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1501
1501
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1502
1502
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1503
1503
|
];
|
|
1504
|
-
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions
|
|
1504
|
+
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions>>,
|
|
1505
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
1506
|
+
dependencies: [
|
|
1507
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
1508
|
+
sharedState: {
|
|
1509
|
+
currentUserIntent: import("@atlaskit/editor-plugins/user-intent").UserIntent;
|
|
1510
|
+
} | undefined;
|
|
1511
|
+
commands: {
|
|
1512
|
+
setCurrentUserIntent: (newCurrentUserIntent: import("@atlaskit/editor-plugins/user-intent").UserIntent) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1513
|
+
};
|
|
1514
|
+
}, undefined>>,
|
|
1515
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1516
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
1517
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
1518
|
+
dependencies: [
|
|
1519
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"interaction", {
|
|
1520
|
+
sharedState: import("@atlaskit/editor-plugins/interaction").SharedInteractionState;
|
|
1521
|
+
commands: {
|
|
1522
|
+
handleInteraction: import("@atlaskit/editor-common/types").EditorCommand;
|
|
1523
|
+
};
|
|
1524
|
+
}, undefined>>
|
|
1525
|
+
];
|
|
1526
|
+
commands: {
|
|
1527
|
+
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1528
|
+
clearManualSelection: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1529
|
+
setManualSelection: (anchor: number, head: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1530
|
+
};
|
|
1531
|
+
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1532
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>
|
|
1533
|
+
];
|
|
1534
|
+
actions: {
|
|
1535
|
+
registerComponents: (toolbarComponents: import("packages/editor/editor-toolbar-model/dist/types").RegisterComponent[]) => void;
|
|
1536
|
+
getComponents: () => import("packages/editor/editor-toolbar-model/dist/types").RegisterComponent[];
|
|
1537
|
+
};
|
|
1538
|
+
}, undefined>>
|
|
1505
1539
|
];
|
|
1506
1540
|
sharedState: import("@atlaskit/editor-plugins/block-type").BlockTypeState | undefined;
|
|
1507
1541
|
actions: {
|
|
@@ -2,3 +2,4 @@ export declare const taskDecisionStyles: import("@emotion/react").SerializedStyl
|
|
|
2
2
|
export declare const taskDecisionIconWithVisualRefresh: import("@emotion/react").SerializedStyles;
|
|
3
3
|
export declare const taskDecisionIconWithoutVisualRefresh: import("@emotion/react").SerializedStyles;
|
|
4
4
|
export declare const taskItemStyles: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const taskItemStylesWithBlockTaskItem: import("@emotion/react").SerializedStyles;
|
|
@@ -9,3 +9,4 @@ export declare const decisionStyles: import("@emotion/react").SerializedStyles;
|
|
|
9
9
|
export declare const decisionIconWithVisualRefresh: import("@emotion/react").SerializedStyles;
|
|
10
10
|
export declare const decisionIconWithoutVisualRefresh: import("@emotion/react").SerializedStyles;
|
|
11
11
|
export declare const taskItemStyles: import("@emotion/react").SerializedStyles;
|
|
12
|
+
export declare const taskItemStylesWithBlockTaskItem: import("@emotion/react").SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "209.
|
|
3
|
+
"version": "209.7.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/editor-plugin-user-preferences": "^1.2.0",
|
|
52
52
|
"@atlaskit/editor-plugins": "^10.1.0",
|
|
53
53
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
54
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
54
|
+
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
55
55
|
"@atlaskit/emoji": "^69.3.0",
|
|
56
56
|
"@atlaskit/icon": "^27.10.0",
|
|
57
57
|
"@atlaskit/link": "^3.2.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@atlaskit/platform-feature-flags-react": "^0.2.0",
|
|
62
62
|
"@atlaskit/react-ufo": "^4.2.0",
|
|
63
63
|
"@atlaskit/task-decision": "^19.2.0",
|
|
64
|
-
"@atlaskit/tmp-editor-statsig": "^9.
|
|
64
|
+
"@atlaskit/tmp-editor-statsig": "^9.26.0",
|
|
65
65
|
"@atlaskit/tokens": "^6.0.0",
|
|
66
66
|
"@atlaskit/tooltip": "^20.4.0",
|
|
67
67
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"uuid": "^3.1.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"@atlaskit/editor-common": "^107.
|
|
81
|
+
"@atlaskit/editor-common": "^107.20.0",
|
|
82
82
|
"@atlaskit/link-provider": "^3.4.0",
|
|
83
83
|
"@atlaskit/media-core": "^37.0.0",
|
|
84
84
|
"react": "^18.2.0",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@af/editor-libra": "workspace:^",
|
|
90
90
|
"@af/visual-regression": "workspace:^",
|
|
91
|
-
"@atlaskit/adf-utils": "^19.
|
|
91
|
+
"@atlaskit/adf-utils": "^19.21.0",
|
|
92
92
|
"@atlaskit/analytics-listeners": "^9.0.0",
|
|
93
93
|
"@atlaskit/collab-provider": "^11.2.0",
|
|
94
94
|
"@atlaskit/editor-plugin-annotation": "^3.2.0",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"@atlaskit/media-test-helpers": "^37.0.0",
|
|
103
103
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
104
104
|
"@atlaskit/primitives": "^14.11.0",
|
|
105
|
-
"@atlaskit/renderer": "^120.
|
|
105
|
+
"@atlaskit/renderer": "^120.4.0",
|
|
106
106
|
"@atlaskit/section-message": "^8.5.0",
|
|
107
107
|
"@atlaskit/smart-card": "^40.7.0",
|
|
108
108
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|