@atlaskit/editor-core 231.0.5 → 232.0.1
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 +12 -0
- package/dist/cjs/composable-editor/core-editor.js +1 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.js +3 -3
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +3 -3
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/core-editor.js +1 -0
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.js +3 -3
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +3 -3
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/core-editor.js +1 -0
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.js +3 -3
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +3 -3
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +42 -42
package/CHANGELOG.md
CHANGED
|
@@ -111,6 +111,7 @@ var useMemoEditorFeatureFlags = function useMemoEditorFeatureFlags(featureFlags)
|
|
|
111
111
|
* @param props
|
|
112
112
|
* @example
|
|
113
113
|
*/
|
|
114
|
+
// oxlint-disable-next-line eslint/no-redeclare
|
|
114
115
|
function CoreEditor(props) {
|
|
115
116
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
116
117
|
var editorSessionId = (0, _react.useRef)((0, _uuid.v4)());
|
|
@@ -38,9 +38,9 @@ var getTotalPadding = function getTotalPadding() {
|
|
|
38
38
|
return (0, _editorSharedStyles.akEditorGutterPaddingDynamic)() * 2;
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
-
// Isolates the scroll container's layout and size from the rest of the page
|
|
42
|
-
//
|
|
43
|
-
//
|
|
41
|
+
// Isolates the scroll container's layout and size from the rest of the page.
|
|
42
|
+
// Because of contain: size wrapper must take its height from the parent
|
|
43
|
+
// rather than from the contained content.
|
|
44
44
|
var containLayoutStyles = {
|
|
45
45
|
wrapper: "_njlp3xnj _4t3i1osq"
|
|
46
46
|
};
|
|
@@ -47,9 +47,9 @@ var getTotalPadding = function getTotalPadding() {
|
|
|
47
47
|
return (0, _editorSharedStyles.akEditorGutterPaddingDynamic)() * 2;
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
// Isolates the scroll container's layout and size from the rest of the page
|
|
51
|
-
//
|
|
52
|
-
//
|
|
50
|
+
// Isolates the scroll container's layout and size from the rest of the page.
|
|
51
|
+
// Because of contain: size wrapper must take its height from the parent
|
|
52
|
+
// rather than from the contained content.
|
|
53
53
|
var containStrictWrapperStyles = (0, _react2.css)({
|
|
54
54
|
contain: 'layout size',
|
|
55
55
|
height: '100%'
|
|
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.name = void 0;
|
|
7
7
|
var name = exports.name = "@atlaskit/editor-core";
|
|
8
8
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
9
|
-
var version = exports.version = "
|
|
9
|
+
var version = exports.version = "232.0.0";
|
|
@@ -105,6 +105,7 @@ const useMemoEditorFeatureFlags = featureFlags => {
|
|
|
105
105
|
* @param props
|
|
106
106
|
* @example
|
|
107
107
|
*/
|
|
108
|
+
// oxlint-disable-next-line eslint/no-redeclare
|
|
108
109
|
export function CoreEditor(props) {
|
|
109
110
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
110
111
|
const editorSessionId = useRef(uuid());
|
|
@@ -29,9 +29,9 @@ const SWOOP_ANIMATION = `0.5s ${akEditorSwoopCubicBezier}`;
|
|
|
29
29
|
const AK_NESTED_DND_GUTTER_OFFSET = 8;
|
|
30
30
|
const getTotalPadding = () => akEditorGutterPaddingDynamic() * 2;
|
|
31
31
|
|
|
32
|
-
// Isolates the scroll container's layout and size from the rest of the page
|
|
33
|
-
//
|
|
34
|
-
//
|
|
32
|
+
// Isolates the scroll container's layout and size from the rest of the page.
|
|
33
|
+
// Because of contain: size wrapper must take its height from the parent
|
|
34
|
+
// rather than from the contained content.
|
|
35
35
|
const containLayoutStyles = {
|
|
36
36
|
wrapper: "_njlp3xnj _4t3i1osq"
|
|
37
37
|
};
|
|
@@ -34,9 +34,9 @@ const SWOOP_ANIMATION = `0.5s ${akEditorSwoopCubicBezier}`;
|
|
|
34
34
|
const AK_NESTED_DND_GUTTER_OFFSET = 8;
|
|
35
35
|
const getTotalPadding = () => akEditorGutterPaddingDynamic() * 2;
|
|
36
36
|
|
|
37
|
-
// Isolates the scroll container's layout and size from the rest of the page
|
|
38
|
-
//
|
|
39
|
-
//
|
|
37
|
+
// Isolates the scroll container's layout and size from the rest of the page.
|
|
38
|
+
// Because of contain: size wrapper must take its height from the parent
|
|
39
|
+
// rather than from the contained content.
|
|
40
40
|
const containStrictWrapperStyles = css({
|
|
41
41
|
contain: 'layout size',
|
|
42
42
|
height: '100%'
|
|
@@ -103,6 +103,7 @@ var useMemoEditorFeatureFlags = function useMemoEditorFeatureFlags(featureFlags)
|
|
|
103
103
|
* @param props
|
|
104
104
|
* @example
|
|
105
105
|
*/
|
|
106
|
+
// oxlint-disable-next-line eslint/no-redeclare
|
|
106
107
|
export function CoreEditor(props) {
|
|
107
108
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
108
109
|
var editorSessionId = useRef(uuid());
|
|
@@ -31,9 +31,9 @@ var getTotalPadding = function getTotalPadding() {
|
|
|
31
31
|
return akEditorGutterPaddingDynamic() * 2;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
// Isolates the scroll container's layout and size from the rest of the page
|
|
35
|
-
//
|
|
36
|
-
//
|
|
34
|
+
// Isolates the scroll container's layout and size from the rest of the page.
|
|
35
|
+
// Because of contain: size wrapper must take its height from the parent
|
|
36
|
+
// rather than from the contained content.
|
|
37
37
|
var containLayoutStyles = {
|
|
38
38
|
wrapper: "_njlp3xnj _4t3i1osq"
|
|
39
39
|
};
|
|
@@ -37,9 +37,9 @@ var getTotalPadding = function getTotalPadding() {
|
|
|
37
37
|
return akEditorGutterPaddingDynamic() * 2;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
// Isolates the scroll container's layout and size from the rest of the page
|
|
41
|
-
//
|
|
42
|
-
//
|
|
40
|
+
// Isolates the scroll container's layout and size from the rest of the page.
|
|
41
|
+
// Because of contain: size wrapper must take its height from the parent
|
|
42
|
+
// rather than from the contained content.
|
|
43
43
|
var containStrictWrapperStyles = css({
|
|
44
44
|
contain: 'layout size',
|
|
45
45
|
height: '100%'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "232.0.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"@atlaskit/button": "^25.4.0",
|
|
51
51
|
"@atlaskit/css": "^1.1.0",
|
|
52
52
|
"@atlaskit/editor-json-transformer": "^10.0.0",
|
|
53
|
-
"@atlaskit/editor-plugin-block-menu": "^
|
|
54
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
55
|
-
"@atlaskit/editor-plugin-quick-insert": "^
|
|
56
|
-
"@atlaskit/editor-plugin-selection-extension": "^
|
|
57
|
-
"@atlaskit/editor-plugin-user-preferences": "^
|
|
53
|
+
"@atlaskit/editor-plugin-block-menu": "^21.0.0",
|
|
54
|
+
"@atlaskit/editor-plugin-connectivity": "^22.0.0",
|
|
55
|
+
"@atlaskit/editor-plugin-quick-insert": "^22.0.0",
|
|
56
|
+
"@atlaskit/editor-plugin-selection-extension": "^25.0.0",
|
|
57
|
+
"@atlaskit/editor-plugin-user-preferences": "^20.0.0",
|
|
58
58
|
"@atlaskit/editor-plugins": "^16.1.0",
|
|
59
59
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
60
60
|
"@atlaskit/editor-shared-styles": "^4.3.0",
|
|
61
|
-
"@atlaskit/editor-ssr-renderer": "^
|
|
61
|
+
"@atlaskit/editor-ssr-renderer": "^17.0.0",
|
|
62
62
|
"@atlaskit/editor-toolbar": "^2.8.0",
|
|
63
63
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
64
64
|
"@atlaskit/emoji": "^72.4.0",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
78
78
|
"@atlaskit/react-ufo": "^8.0.0",
|
|
79
79
|
"@atlaskit/task-decision": "^21.11.0",
|
|
80
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
81
|
-
"@atlaskit/tokens": "^20.
|
|
80
|
+
"@atlaskit/tmp-editor-statsig": "^210.0.0",
|
|
81
|
+
"@atlaskit/tokens": "^20.1.0",
|
|
82
82
|
"@atlaskit/tooltip": "^24.3.0",
|
|
83
83
|
"@atlaskit/width-detector": "^7.2.0",
|
|
84
84
|
"@babel/runtime": "^7.0.0",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"uuid": "^11.1.1"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
|
-
"@atlaskit/editor-common": "^
|
|
99
|
+
"@atlaskit/editor-common": "^126.1.0",
|
|
100
100
|
"@atlaskit/link-provider": "^6.0.0",
|
|
101
101
|
"@atlaskit/media-core": "^39.0.0",
|
|
102
102
|
"react": "^18.2.0 || ^19.2.0",
|
|
@@ -112,37 +112,37 @@
|
|
|
112
112
|
"@atlaskit/analytics-gas-types": "^6.2.0",
|
|
113
113
|
"@atlaskit/analytics-listeners": "^11.4.0",
|
|
114
114
|
"@atlaskit/code": "^20.0.0",
|
|
115
|
-
"@atlaskit/collab-provider": "^
|
|
115
|
+
"@atlaskit/collab-provider": "^31.0.0",
|
|
116
116
|
"@atlaskit/docs": "^12.3.0",
|
|
117
117
|
"@atlaskit/drawer": "^14.3.0",
|
|
118
|
-
"@atlaskit/editor-plugin-alignment": "^
|
|
119
|
-
"@atlaskit/editor-plugin-annotation": "^
|
|
120
|
-
"@atlaskit/editor-plugin-base": "^
|
|
121
|
-
"@atlaskit/editor-plugin-card": "^
|
|
122
|
-
"@atlaskit/editor-plugin-code-block-advanced": "^
|
|
123
|
-
"@atlaskit/editor-plugin-collab-edit": "^
|
|
124
|
-
"@atlaskit/editor-plugin-content-insertion": "^
|
|
125
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
126
|
-
"@atlaskit/editor-plugin-extension": "^
|
|
127
|
-
"@atlaskit/editor-plugin-grid": "^
|
|
128
|
-
"@atlaskit/editor-plugin-guideline": "^
|
|
129
|
-
"@atlaskit/editor-plugin-highlight": "^
|
|
130
|
-
"@atlaskit/editor-plugin-insert-block": "^
|
|
131
|
-
"@atlaskit/editor-plugin-layout": "^
|
|
132
|
-
"@atlaskit/editor-plugin-limited-mode": "^
|
|
133
|
-
"@atlaskit/editor-plugin-list": "^
|
|
134
|
-
"@atlaskit/editor-plugin-media": "^
|
|
135
|
-
"@atlaskit/editor-plugin-paste": "^
|
|
136
|
-
"@atlaskit/editor-plugin-selection-marker": "^
|
|
137
|
-
"@atlaskit/editor-plugin-show-diff": "^
|
|
138
|
-
"@atlaskit/editor-plugin-synced-block": "^
|
|
139
|
-
"@atlaskit/editor-plugin-table": "^
|
|
140
|
-
"@atlaskit/editor-plugin-tasks-and-decisions": "^
|
|
141
|
-
"@atlaskit/editor-plugin-text-color": "^
|
|
142
|
-
"@atlaskit/editor-plugin-toolbar-lists-indentation": "^
|
|
143
|
-
"@atlaskit/editor-plugin-track-changes": "^
|
|
144
|
-
"@atlaskit/editor-synced-block-provider": "^
|
|
145
|
-
"@atlaskit/editor-synced-block-renderer": "^
|
|
118
|
+
"@atlaskit/editor-plugin-alignment": "^23.0.0",
|
|
119
|
+
"@atlaskit/editor-plugin-annotation": "^22.0.0",
|
|
120
|
+
"@atlaskit/editor-plugin-base": "^23.0.0",
|
|
121
|
+
"@atlaskit/editor-plugin-card": "^28.0.0",
|
|
122
|
+
"@atlaskit/editor-plugin-code-block-advanced": "^22.0.0",
|
|
123
|
+
"@atlaskit/editor-plugin-collab-edit": "^23.0.0",
|
|
124
|
+
"@atlaskit/editor-plugin-content-insertion": "^22.0.0",
|
|
125
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^24.0.0",
|
|
126
|
+
"@atlaskit/editor-plugin-extension": "^25.0.0",
|
|
127
|
+
"@atlaskit/editor-plugin-grid": "^22.0.0",
|
|
128
|
+
"@atlaskit/editor-plugin-guideline": "^22.0.0",
|
|
129
|
+
"@atlaskit/editor-plugin-highlight": "^22.0.0",
|
|
130
|
+
"@atlaskit/editor-plugin-insert-block": "^23.0.0",
|
|
131
|
+
"@atlaskit/editor-plugin-layout": "^23.0.0",
|
|
132
|
+
"@atlaskit/editor-plugin-limited-mode": "^19.0.0",
|
|
133
|
+
"@atlaskit/editor-plugin-list": "^24.0.0",
|
|
134
|
+
"@atlaskit/editor-plugin-media": "^24.0.0",
|
|
135
|
+
"@atlaskit/editor-plugin-paste": "^23.0.0",
|
|
136
|
+
"@atlaskit/editor-plugin-selection-marker": "^22.0.0",
|
|
137
|
+
"@atlaskit/editor-plugin-show-diff": "^20.0.0",
|
|
138
|
+
"@atlaskit/editor-plugin-synced-block": "^20.0.0",
|
|
139
|
+
"@atlaskit/editor-plugin-table": "^34.0.0",
|
|
140
|
+
"@atlaskit/editor-plugin-tasks-and-decisions": "^25.0.0",
|
|
141
|
+
"@atlaskit/editor-plugin-text-color": "^22.0.0",
|
|
142
|
+
"@atlaskit/editor-plugin-toolbar-lists-indentation": "^23.0.0",
|
|
143
|
+
"@atlaskit/editor-plugin-track-changes": "^21.0.0",
|
|
144
|
+
"@atlaskit/editor-synced-block-provider": "^18.0.0",
|
|
145
|
+
"@atlaskit/editor-synced-block-renderer": "^20.0.0",
|
|
146
146
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
147
147
|
"@atlaskit/form": "^18.0.0",
|
|
148
148
|
"@atlaskit/link-provider": "^6.0.0",
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"@atlaskit/portal": "^7.0.0",
|
|
160
160
|
"@atlaskit/profilecard": "^27.0.0",
|
|
161
161
|
"@atlaskit/radio": "^10.2.0",
|
|
162
|
-
"@atlaskit/renderer": "^
|
|
162
|
+
"@atlaskit/renderer": "^145.0.0",
|
|
163
163
|
"@atlaskit/section-message": "^10.2.0",
|
|
164
164
|
"@atlaskit/spinner": "^20.4.0",
|
|
165
165
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
@@ -170,11 +170,11 @@
|
|
|
170
170
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
171
171
|
"@atlassian/a11y-playwright-testing": "^0.12.0",
|
|
172
172
|
"@atlassian/adf-schema-json": "^1.35.0",
|
|
173
|
-
"@atlassian/editor-rovo-bridge": "^
|
|
173
|
+
"@atlassian/editor-rovo-bridge": "^21.0.0",
|
|
174
174
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
175
175
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
176
176
|
"@atlassian/search-client": "^3.4.0",
|
|
177
|
-
"@atlassian/search-provider": "^
|
|
177
|
+
"@atlassian/search-provider": "^23.0.0",
|
|
178
178
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
179
179
|
"@atlassian/testing-library": "^0.11.0",
|
|
180
180
|
"@atlassian/user-profile-card": "^1.41.0",
|