@atlaskit/editor-core 217.12.4 → 217.12.6
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 +21 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +3 -1
- package/dist/cjs/ui/EditorContentContainer/styles/blockMarksStyles.js +3 -2
- package/dist/cjs/ui/EditorContentContainer/styles/tableStyles.js +16 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +4 -2
- package/dist/es2019/ui/EditorContentContainer/styles/blockMarksStyles.js +3 -2
- package/dist/es2019/ui/EditorContentContainer/styles/tableStyles.js +15 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +4 -2
- package/dist/esm/ui/EditorContentContainer/styles/blockMarksStyles.js +3 -2
- package/dist/esm/ui/EditorContentContainer/styles/tableStyles.js +15 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/EditorContentContainer/styles/tableStyles.d.ts +1 -0
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/tableStyles.d.ts +1 -0
- package/docs/4-annotations.tsx +2 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 217.12.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ddd049a745d38`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ddd049a745d38) -
|
|
8
|
+
Internal change to how legacy colors are applied. No visual changes.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 217.12.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`840d3970b9d8c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/840d3970b9d8c) -
|
|
16
|
+
Fix paragraph spacing in panels for small font-size block marks
|
|
17
|
+
|
|
18
|
+
Fix drag handle positioning around small text
|
|
19
|
+
|
|
20
|
+
Fix drag handles not appearing on small text in panels
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 217.12.4
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -523,7 +523,9 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
523
523
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
524
524
|
_mediaStyles.mediaGroupStyles,
|
|
525
525
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
526
|
-
_mediaStyles.mediaAlignmentStyles,
|
|
526
|
+
_mediaStyles.mediaAlignmentStyles, (0, _expValEquals.expValEquals)('platform_editor_small_font_size', 'isEnabled', true) ?
|
|
527
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
528
|
+
_tableStyles.tableLayoutFixesWithFontSize :
|
|
527
529
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
528
530
|
_tableStyles.tableLayoutFixes,
|
|
529
531
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -15,10 +15,11 @@ var blockMarksStyles = exports.blockMarksStyles = (0, _react.css)({
|
|
|
15
15
|
// - For nested block marks apart from those with indentation mark.
|
|
16
16
|
// - Do not remove the margin top for nodes inside indentation marks.
|
|
17
17
|
// - Do not remove the margin top for nodes inside alignment marks.
|
|
18
|
-
|
|
18
|
+
// - Do not remove the margin top for nodes inside font size marks.
|
|
19
|
+
//- If first element inside a block node has alignment or font size mark, then remove the margin-top.
|
|
19
20
|
//- If first document element has indentation mark remove margin-top.
|
|
20
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
21
|
-
'*:not(.fabric-editor-block-mark) >, *:not(.fabric-editor-block-mark) > div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment), .fabric-editor-alignment:first-of-type:first-child, .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child': {
|
|
22
|
+
'*:not(.fabric-editor-block-mark) >, *:not(.fabric-editor-block-mark) > div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size), .fabric-editor-alignment:first-of-type:first-child, .fabric-editor-font-size:first-of-type:first-child, .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child': {
|
|
22
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
23
24
|
'p, h1, h2, h3, h4, h5, h6, .heading-wrapper': {
|
|
24
25
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.tableLayoutFixes = exports.tableEmptyRowStyles = exports.tableContainerStyles = exports.tableCommentEditorStyles = exports.tableCommentEditorMarginOverride = void 0;
|
|
7
|
+
exports.tableLayoutFixesWithFontSize = exports.tableLayoutFixes = exports.tableEmptyRowStyles = exports.tableContainerStyles = exports.tableCommentEditorStyles = exports.tableCommentEditorMarginOverride = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _scrollbarStyles = require("./scrollbarStyles");
|
|
@@ -25,6 +25,21 @@ var tableLayoutFixes = exports.tableLayoutFixes = (0, _react.css)({
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
29
|
+
var tableLayoutFixesWithFontSize = exports.tableLayoutFixesWithFontSize = (0, _react.css)({
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
31
|
+
'.pm-table-header-content-wrap :not(.fabric-editor-alignment, .fabric-editor-font-size), .pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark, .pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark': {
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
33
|
+
'p:first-of-type': {
|
|
34
|
+
marginTop: 0
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
38
|
+
'.pm-table-cell-content-wrap .mediaGroupView-content-wrap': {
|
|
39
|
+
clear: 'both'
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
|
|
28
43
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
29
44
|
var tableCommentEditorMarginOverride = exports.tableCommentEditorMarginOverride = (0, _react.css)({
|
|
30
45
|
marginLeft: 0,
|
|
@@ -59,7 +59,7 @@ import { shadowStyles } from './styles/shadowStyles';
|
|
|
59
59
|
import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, showDiffDeletedNodeStyles, showDiffDeletedNodeStylesNew, smartCardDiffStyles, smartCardStyles, smartCardStylesWithSearchMatch, smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, smartLinksInLivePagesStyles } from './styles/smartCardStyles';
|
|
60
60
|
import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, statusStylesTeam26 } from './styles/statusStyles';
|
|
61
61
|
import { syncBlockStyles, syncBlockStylesBase, syncBlockFirstNodeStyles, syncBlockOverflowStyles } from './styles/syncBlockStyles';
|
|
62
|
-
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes } from './styles/tableStyles';
|
|
62
|
+
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableLayoutFixesWithFontSize } from './styles/tableStyles';
|
|
63
63
|
import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemCheckboxStyles, taskItemStyles, taskItemStylesWithBlockTaskItem, tasksAndDecisionsStyles } from './styles/tasksAndDecisionsStyles';
|
|
64
64
|
import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
|
|
65
65
|
import { textColorStyles } from './styles/textColorStyles';
|
|
@@ -519,7 +519,9 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
519
519
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
520
520
|
mediaGroupStyles,
|
|
521
521
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
522
|
-
mediaAlignmentStyles,
|
|
522
|
+
mediaAlignmentStyles, expValEquals('platform_editor_small_font_size', 'isEnabled', true) ?
|
|
523
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
524
|
+
tableLayoutFixesWithFontSize :
|
|
523
525
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
524
526
|
tableLayoutFixes,
|
|
525
527
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -8,10 +8,11 @@ export const blockMarksStyles = css({
|
|
|
8
8
|
// - For nested block marks apart from those with indentation mark.
|
|
9
9
|
// - Do not remove the margin top for nodes inside indentation marks.
|
|
10
10
|
// - Do not remove the margin top for nodes inside alignment marks.
|
|
11
|
-
|
|
11
|
+
// - Do not remove the margin top for nodes inside font size marks.
|
|
12
|
+
//- If first element inside a block node has alignment or font size mark, then remove the margin-top.
|
|
12
13
|
//- If first document element has indentation mark remove margin-top.
|
|
13
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
14
|
-
'*:not(.fabric-editor-block-mark) >, *:not(.fabric-editor-block-mark) > div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment), .fabric-editor-alignment:first-of-type:first-child, .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child': {
|
|
15
|
+
'*:not(.fabric-editor-block-mark) >, *:not(.fabric-editor-block-mark) > div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size), .fabric-editor-alignment:first-of-type:first-child, .fabric-editor-font-size:first-of-type:first-child, .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child': {
|
|
15
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
16
17
|
'p, h1, h2, h3, h4, h5, h6, .heading-wrapper': {
|
|
17
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
@@ -17,6 +17,21 @@ export const tableLayoutFixes = css({
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
21
|
+
export const tableLayoutFixesWithFontSize = css({
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
23
|
+
'.pm-table-header-content-wrap :not(.fabric-editor-alignment, .fabric-editor-font-size), .pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark, .pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark': {
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
25
|
+
'p:first-of-type': {
|
|
26
|
+
marginTop: 0
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
30
|
+
'.pm-table-cell-content-wrap .mediaGroupView-content-wrap': {
|
|
31
|
+
clear: 'both'
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
|
|
20
35
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
21
36
|
export const tableCommentEditorMarginOverride = css({
|
|
22
37
|
marginLeft: 0,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "217.12.
|
|
2
|
+
export const version = "217.12.5";
|
|
@@ -60,7 +60,7 @@ import { shadowStyles } from './styles/shadowStyles';
|
|
|
60
60
|
import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, showDiffDeletedNodeStyles, showDiffDeletedNodeStylesNew, smartCardDiffStyles, smartCardStyles, smartCardStylesWithSearchMatch, smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, smartLinksInLivePagesStyles } from './styles/smartCardStyles';
|
|
61
61
|
import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, statusStylesTeam26 } from './styles/statusStyles';
|
|
62
62
|
import { syncBlockStyles, syncBlockStylesBase, syncBlockFirstNodeStyles, syncBlockOverflowStyles } from './styles/syncBlockStyles';
|
|
63
|
-
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes } from './styles/tableStyles';
|
|
63
|
+
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableLayoutFixesWithFontSize } from './styles/tableStyles';
|
|
64
64
|
import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemCheckboxStyles, taskItemStyles, taskItemStylesWithBlockTaskItem, tasksAndDecisionsStyles } from './styles/tasksAndDecisionsStyles';
|
|
65
65
|
import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
|
|
66
66
|
import { textColorStyles } from './styles/textColorStyles';
|
|
@@ -515,7 +515,9 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
515
515
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
516
516
|
mediaGroupStyles,
|
|
517
517
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
518
|
-
mediaAlignmentStyles,
|
|
518
|
+
mediaAlignmentStyles, expValEquals('platform_editor_small_font_size', 'isEnabled', true) ?
|
|
519
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
520
|
+
tableLayoutFixesWithFontSize :
|
|
519
521
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
520
522
|
tableLayoutFixes,
|
|
521
523
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -8,10 +8,11 @@ export var blockMarksStyles = css({
|
|
|
8
8
|
// - For nested block marks apart from those with indentation mark.
|
|
9
9
|
// - Do not remove the margin top for nodes inside indentation marks.
|
|
10
10
|
// - Do not remove the margin top for nodes inside alignment marks.
|
|
11
|
-
|
|
11
|
+
// - Do not remove the margin top for nodes inside font size marks.
|
|
12
|
+
//- If first element inside a block node has alignment or font size mark, then remove the margin-top.
|
|
12
13
|
//- If first document element has indentation mark remove margin-top.
|
|
13
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
14
|
-
'*:not(.fabric-editor-block-mark) >, *:not(.fabric-editor-block-mark) > div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment), .fabric-editor-alignment:first-of-type:first-child, .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child': {
|
|
15
|
+
'*:not(.fabric-editor-block-mark) >, *:not(.fabric-editor-block-mark) > div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size), .fabric-editor-alignment:first-of-type:first-child, .fabric-editor-font-size:first-of-type:first-child, .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child': {
|
|
15
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
16
17
|
'p, h1, h2, h3, h4, h5, h6, .heading-wrapper': {
|
|
17
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
@@ -18,6 +18,21 @@ export var tableLayoutFixes = css({
|
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
22
|
+
export var tableLayoutFixesWithFontSize = css({
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
24
|
+
'.pm-table-header-content-wrap :not(.fabric-editor-alignment, .fabric-editor-font-size), .pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark, .pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark': {
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
26
|
+
'p:first-of-type': {
|
|
27
|
+
marginTop: 0
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
31
|
+
'.pm-table-cell-content-wrap .mediaGroupView-content-wrap': {
|
|
32
|
+
clear: 'both'
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
|
|
21
36
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
22
37
|
export var tableCommentEditorMarginOverride = css({
|
|
23
38
|
marginLeft: 0,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "217.12.
|
|
2
|
+
export var version = "217.12.5";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { SerializedStyles } from '@emotion/react';
|
|
2
2
|
export declare const tableLayoutFixes: SerializedStyles;
|
|
3
|
+
export declare const tableLayoutFixesWithFontSize: SerializedStyles;
|
|
3
4
|
export declare const tableCommentEditorMarginOverride: SerializedStyles;
|
|
4
5
|
export declare const tableCommentEditorStyles: SerializedStyles;
|
|
5
6
|
export declare const tableContainerStyles: SerializedStyles;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { SerializedStyles } from '@emotion/react';
|
|
2
2
|
export declare const tableLayoutFixes: SerializedStyles;
|
|
3
|
+
export declare const tableLayoutFixesWithFontSize: SerializedStyles;
|
|
3
4
|
export declare const tableCommentEditorMarginOverride: SerializedStyles;
|
|
4
5
|
export declare const tableCommentEditorStyles: SerializedStyles;
|
|
5
6
|
export declare const tableContainerStyles: SerializedStyles;
|
package/docs/4-annotations.tsx
CHANGED
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
|
|
4
4
|
import { code, md } from '@atlaskit/docs';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
6
|
-
import { N20 } from '@atlaskit/theme/colors';
|
|
7
6
|
import { token } from '@atlaskit/tokens';
|
|
8
7
|
|
|
9
8
|
import { Editor } from '../src';
|
|
@@ -203,7 +202,7 @@ class SplitExample extends React.Component<{ initialAdf: object }> {
|
|
|
203
202
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
204
203
|
padding: token('space.100'),
|
|
205
204
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
206
|
-
backgroundColor:
|
|
205
|
+
backgroundColor: '#F4F5F7',
|
|
207
206
|
border: `${token('border.width')} solid ${token('color.border.accent.gray')}`,
|
|
208
207
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
209
208
|
flex: 1,
|
|
@@ -252,7 +251,7 @@ ${(
|
|
|
252
251
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
253
252
|
padding: token('space.100'),
|
|
254
253
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
255
|
-
backgroundColor:
|
|
254
|
+
backgroundColor: '#F4F5F7',
|
|
256
255
|
border: `${token('border.width')} solid ${token('color.border.accent.gray')}`,
|
|
257
256
|
}}
|
|
258
257
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "217.12.
|
|
3
|
+
"version": "217.12.6",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@atlaskit/editor-ssr-renderer": "^3.2.0",
|
|
58
58
|
"@atlaskit/editor-toolbar": "^0.20.0",
|
|
59
59
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
60
|
-
"@atlaskit/emoji": "^69.
|
|
60
|
+
"@atlaskit/emoji": "^69.12.0",
|
|
61
61
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
62
62
|
"@atlaskit/icon": "^34.0.0",
|
|
63
63
|
"@atlaskit/link": "^3.4.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
68
68
|
"@atlaskit/react-ufo": "^5.12.0",
|
|
69
69
|
"@atlaskit/task-decision": "^19.3.0",
|
|
70
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
70
|
+
"@atlaskit/tmp-editor-statsig": "^57.0.0",
|
|
71
71
|
"@atlaskit/tokens": "^12.0.0",
|
|
72
72
|
"@atlaskit/tooltip": "^21.1.0",
|
|
73
73
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"uuid": "^3.1.0"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@atlaskit/editor-common": "^112.
|
|
87
|
+
"@atlaskit/editor-common": "^112.19.0",
|
|
88
88
|
"@atlaskit/link-provider": "^4.3.0",
|
|
89
89
|
"@atlaskit/media-core": "^37.0.0",
|
|
90
90
|
"react": "^18.2.0",
|