@atlaskit/editor-core 219.1.9 → 219.1.11
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 +14 -0
- package/dist/cjs/ui/Addon/ClickAreaBlock/index.js +1 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Addon/ClickAreaBlock/index.js +1 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Addon/ClickAreaBlock/index.js +1 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/editor-core.docs.tsx +46 -0
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 219.1.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 219.1.10
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`d94df511393a9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d94df511393a9) -
|
|
14
|
+
Removing FG platform_editor_a11y_eslint_fix
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 219.1.9
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = exports.ClickAreaBlock = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
11
10
|
var _clickAreaHelper = require("../click-area-helper");
|
|
12
11
|
/**
|
|
13
12
|
* @jsxRuntime classic
|
|
@@ -40,7 +39,7 @@ var ClickAreaBlock = exports.ClickAreaBlock = function ClickAreaBlock(_ref) {
|
|
|
40
39
|
// This div is a presentational container that captures mouse events
|
|
41
40
|
// for programmatic editor focus management, not user interaction.
|
|
42
41
|
,
|
|
43
|
-
role:
|
|
42
|
+
role: "presentation"
|
|
44
43
|
}, children);
|
|
45
44
|
};
|
|
46
45
|
var _default = exports.default = ClickAreaBlock;
|
|
@@ -6,7 +6,6 @@ import React from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
10
9
|
import { clickAreaClickHandler } from '../click-area-helper';
|
|
11
10
|
const clickWrapper = css({
|
|
12
11
|
flexGrow: 1,
|
|
@@ -33,7 +32,7 @@ export const ClickAreaBlock = ({
|
|
|
33
32
|
// This div is a presentational container that captures mouse events
|
|
34
33
|
// for programmatic editor focus management, not user interaction.
|
|
35
34
|
,
|
|
36
|
-
role:
|
|
35
|
+
role: "presentation"
|
|
37
36
|
}, children);
|
|
38
37
|
};
|
|
39
38
|
export default ClickAreaBlock;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "0.0.0-development";
|
|
@@ -6,7 +6,6 @@ import React from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
10
9
|
import { clickAreaClickHandler } from '../click-area-helper';
|
|
11
10
|
var clickWrapper = css({
|
|
12
11
|
flexGrow: 1,
|
|
@@ -32,7 +31,7 @@ export var ClickAreaBlock = function ClickAreaBlock(_ref) {
|
|
|
32
31
|
// This div is a presentational container that captures mouse events
|
|
33
32
|
// for programmatic editor focus management, not user interaction.
|
|
34
33
|
,
|
|
35
|
-
role:
|
|
34
|
+
role: "presentation"
|
|
36
35
|
}, children);
|
|
37
36
|
};
|
|
38
37
|
export default ClickAreaBlock;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "0.0.0-development";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Testing structured MCP docs for review — ignore this file.
|
|
3
|
+
* Contact #dst-structured-content in Slack with questions.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import path from 'path';
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
import type { ComponentStructuredContentSource } from '@atlassian/structured-docs-types';
|
|
10
|
+
|
|
11
|
+
import packageJson from './package.json';
|
|
12
|
+
|
|
13
|
+
const packagePath = path.resolve(__dirname);
|
|
14
|
+
|
|
15
|
+
const documentation: ComponentStructuredContentSource[] = [
|
|
16
|
+
{
|
|
17
|
+
name: 'Editor Core',
|
|
18
|
+
description: 'A package contains Atlassian editor core functionality',
|
|
19
|
+
status: 'general-availability',
|
|
20
|
+
import: {
|
|
21
|
+
name: 'Editor Core',
|
|
22
|
+
package: '@atlaskit/editor-core',
|
|
23
|
+
type: 'default',
|
|
24
|
+
packagePath,
|
|
25
|
+
packageJson,
|
|
26
|
+
},
|
|
27
|
+
usageGuidelines: [
|
|
28
|
+
'Use the comment appearance when the editor is not the primary focus (e.g. comments on a page); use full-page or full-width when the editor is the main focus; use chromeless when you need complete control over the editor UI; use mobile for mobile web.',
|
|
29
|
+
'Configure features via presets (default, universal, or custom). Always include basePlugin; use usePreset or similar memoization so the preset is stable across re-renders.',
|
|
30
|
+
'Use ComposableEditor with a preset; provide providers (e.g. mentionProvider) when the editor needs context from your app.',
|
|
31
|
+
],
|
|
32
|
+
contentGuidelines: [],
|
|
33
|
+
accessibilityGuidelines: [],
|
|
34
|
+
keywords: ['editor', 'editor-core', 'atlaskit'],
|
|
35
|
+
categories: ['editor'],
|
|
36
|
+
examples: [
|
|
37
|
+
{ name: 'Basic composable editor', description: 'Minimal ComposableEditor with preset.', source: path.resolve(packagePath, './examples/1-basic-composable-editor.tsx') },
|
|
38
|
+
{ name: 'Comment editor', description: 'Comment appearance composable editor.', source: path.resolve(packagePath, './examples/1-comment-editor-component-composable.tsx') },
|
|
39
|
+
{ name: 'Full page editor', description: 'Full-page appearance composable editor.', source: path.resolve(packagePath, './examples/1-full-page-editor-composable.tsx') },
|
|
40
|
+
{ name: 'Chromeless editor', description: 'Chromeless appearance with custom UI.', source: path.resolve(packagePath, './examples/1-chromeless-editor-component-composable.tsx') },
|
|
41
|
+
{ name: 'Collapsed editor', description: 'Async collapsed editor (labs).', source: path.resolve(packagePath, './examples/1-labs-async-collapsed-editor.tsx') },
|
|
42
|
+
],
|
|
43
|
+
},
|
|
44
|
+
];
|
|
45
|
+
|
|
46
|
+
export default documentation;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "219.1.
|
|
3
|
+
"version": "219.1.11",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
"@atlaskit/mention": "^25.0.0",
|
|
73
73
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
74
74
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
75
|
-
"@atlaskit/react-ufo": "^5.
|
|
75
|
+
"@atlaskit/react-ufo": "^5.17.0",
|
|
76
76
|
"@atlaskit/task-decision": "^20.0.0",
|
|
77
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
77
|
+
"@atlaskit/tmp-editor-statsig": "^73.0.0",
|
|
78
78
|
"@atlaskit/tokens": "^13.0.0",
|
|
79
79
|
"@atlaskit/tooltip": "^21.2.0",
|
|
80
80
|
"@atlaskit/width-detector": "^5.1.0",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"uuid": "^3.1.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
|
-
"@atlaskit/editor-common": "^114.
|
|
94
|
+
"@atlaskit/editor-common": "^114.13.0",
|
|
95
95
|
"@atlaskit/link-provider": "^4.3.0",
|
|
96
96
|
"@atlaskit/media-core": "^37.0.0",
|
|
97
97
|
"react": "^18.2.0",
|
|
@@ -104,11 +104,11 @@
|
|
|
104
104
|
"@af/visual-regression": "workspace:^",
|
|
105
105
|
"@atlaskit/adf-utils": "^19.27.0",
|
|
106
106
|
"@atlaskit/analytics-listeners": "^10.0.0",
|
|
107
|
-
"@atlaskit/collab-provider": "^18.
|
|
107
|
+
"@atlaskit/collab-provider": "^18.1.0",
|
|
108
108
|
"@atlaskit/editor-plugin-annotation": "^10.1.0",
|
|
109
109
|
"@atlaskit/editor-plugin-card": "^16.4.0",
|
|
110
110
|
"@atlaskit/editor-plugin-list": "^12.0.0",
|
|
111
|
-
"@atlaskit/editor-plugin-paste": "^11.
|
|
111
|
+
"@atlaskit/editor-plugin-paste": "^11.1.0",
|
|
112
112
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
113
113
|
"@atlaskit/link-provider": "^4.3.0",
|
|
114
114
|
"@atlaskit/linking-common": "^9.11.0",
|
|
@@ -130,6 +130,7 @@
|
|
|
130
130
|
"@atlassian/react-compiler-gating": "workspace:^",
|
|
131
131
|
"@atlassian/search-client": "^1.5.0",
|
|
132
132
|
"@atlassian/search-provider": "^11.0.0",
|
|
133
|
+
"@atlassian/structured-docs-types": "workspace:^",
|
|
133
134
|
"@emotion/jest": "^11.8.0",
|
|
134
135
|
"@testing-library/react": "^16.3.0",
|
|
135
136
|
"@types/diff": "^5.0.2",
|