@atlaskit/editor-core 217.5.3 → 217.5.5
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/codemods/migrates/rename-smartlinks-prop.ts +1 -0
- package/codemods/utils.ts +1 -0
- package/dist/cjs/composable-editor/editor-internal.js +6 -2
- package/dist/cjs/create-editor/ReactEditorView.js +4 -1
- package/dist/cjs/create-editor/create-editor.js +1 -0
- package/dist/cjs/ui/Addon/Dropdown/styles.js +1 -1
- package/dist/cjs/ui/Appearance/Chromeless.js +4 -2
- package/dist/cjs/ui/Appearance/Comment/Comment.js +5 -3
- package/dist/cjs/ui/Appearance/Comment/Toolbar.js +1 -1
- package/dist/cjs/ui/ChromeCollapsed/styles.js +3 -3
- package/dist/cjs/ui/ContextPanel/index.js +3 -1
- package/dist/cjs/ui/EditorContentContainer/styles/codeBlockStyles.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/styles/expandStyles.js +3 -3
- package/dist/cjs/ui/EditorContentContainer/styles/extensionStyles.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/styles/findReplaceStyles.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/styles/gridStyles.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/styles/resizerStyles.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/styles/shadowStyles.js +2 -2
- package/dist/cjs/ui/EditorContentContainer/styles/smartCardStyles.js +11 -11
- package/dist/cjs/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +3 -3
- package/dist/cjs/ui/Toolbar/Toolbar.js +6 -2
- package/dist/cjs/ui/Toolbar/hooks.js +1 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +6 -2
- package/dist/es2019/create-editor/ReactEditorView.js +4 -1
- package/dist/es2019/create-editor/create-editor.js +1 -0
- package/dist/es2019/ui/Addon/Dropdown/styles.js +1 -1
- package/dist/es2019/ui/Appearance/Chromeless.js +4 -2
- package/dist/es2019/ui/Appearance/Comment/Comment.js +5 -3
- package/dist/es2019/ui/Appearance/Comment/Toolbar.js +1 -1
- package/dist/es2019/ui/ChromeCollapsed/styles.js +4 -4
- package/dist/es2019/ui/ContextPanel/index.js +3 -1
- package/dist/es2019/ui/EditorContentContainer/styles/codeBlockStyles.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/expandStyles.js +3 -3
- package/dist/es2019/ui/EditorContentContainer/styles/extensionStyles.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/findReplaceStyles.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/gridStyles.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/resizerStyles.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/shadowStyles.js +2 -2
- package/dist/es2019/ui/EditorContentContainer/styles/smartCardStyles.js +11 -11
- package/dist/es2019/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +3 -3
- package/dist/es2019/ui/Toolbar/Toolbar.js +6 -2
- package/dist/es2019/ui/Toolbar/hooks.js +1 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +6 -2
- package/dist/esm/create-editor/ReactEditorView.js +4 -1
- package/dist/esm/create-editor/create-editor.js +1 -0
- package/dist/esm/ui/Addon/Dropdown/styles.js +1 -1
- package/dist/esm/ui/Appearance/Chromeless.js +4 -2
- package/dist/esm/ui/Appearance/Comment/Comment.js +5 -3
- package/dist/esm/ui/Appearance/Comment/Toolbar.js +1 -1
- package/dist/esm/ui/ChromeCollapsed/styles.js +4 -4
- package/dist/esm/ui/ContextPanel/index.js +3 -1
- package/dist/esm/ui/EditorContentContainer/styles/codeBlockStyles.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/expandStyles.js +3 -3
- package/dist/esm/ui/EditorContentContainer/styles/extensionStyles.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/findReplaceStyles.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/gridStyles.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/resizerStyles.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/shadowStyles.js +2 -2
- package/dist/esm/ui/EditorContentContainer/styles/smartCardStyles.js +11 -11
- package/dist/esm/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +3 -3
- package/dist/esm/ui/Toolbar/Toolbar.js +6 -2
- package/dist/esm/ui/Toolbar/hooks.js +1 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/docs/4-annotations.tsx +5 -5
- package/package.json +4 -4
|
@@ -19,7 +19,7 @@ export const gridStyles = css({
|
|
|
19
19
|
},
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
21
21
|
'.gridLine': {
|
|
22
|
-
borderLeft:
|
|
22
|
+
borderLeft: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #0B120E24)"}`,
|
|
23
23
|
display: 'inline-block',
|
|
24
24
|
boxSizing: 'border-box',
|
|
25
25
|
height: '100%',
|
|
@@ -149,7 +149,7 @@ export const resizerStyles = css({
|
|
|
149
149
|
right: "var(--ds-space-negative-050, -4px)",
|
|
150
150
|
bottom: "var(--ds-space-negative-050, -4px)",
|
|
151
151
|
left: "var(--ds-space-negative-050, -4px)",
|
|
152
|
-
border:
|
|
152
|
+
border: `${"var(--ds-border-width-selected, 2px)"} solid ${"var(--ds-border-focused, #4688EC)"}`,
|
|
153
153
|
borderRadius: 'inherit',
|
|
154
154
|
zIndex: -1
|
|
155
155
|
}
|
|
@@ -31,14 +31,14 @@ export const shadowStyles = css({
|
|
|
31
31
|
},
|
|
32
32
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
33
33
|
[`& .${shadowClassNames.LEFT_SHADOW}::before`]: {
|
|
34
|
-
background: `linear-gradient(to left, transparent 0, ${"var(--ds-shadow-overflow-spread, #1E1F2129)"} 140% ), linear-gradient( to right, ${"var(--ds-shadow-overflow-perimeter,
|
|
34
|
+
background: `linear-gradient(to left, transparent 0, ${"var(--ds-shadow-overflow-spread, #1E1F2129)"} 140% ), linear-gradient( to right, ${"var(--ds-shadow-overflow-perimeter, #1E1F211f)"} 0px, transparent 1px)`,
|
|
35
35
|
top: 0,
|
|
36
36
|
left: 0,
|
|
37
37
|
display: 'block'
|
|
38
38
|
},
|
|
39
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
40
40
|
[`& .${shadowClassNames.RIGHT_SHADOW}::after`]: {
|
|
41
|
-
background: `linear-gradient(to right, transparent 0, ${"var(--ds-shadow-overflow-spread, #1E1F2129)"} 140% ), linear-gradient( to left, ${"var(--ds-shadow-overflow-perimeter,
|
|
41
|
+
background: `linear-gradient(to right, transparent 0, ${"var(--ds-shadow-overflow-spread, #1E1F2129)"} 140% ), linear-gradient( to left, ${"var(--ds-shadow-overflow-perimeter, #1E1F211f)"} 0px, transparent 1px)`,
|
|
42
42
|
right: 0,
|
|
43
43
|
top: 0,
|
|
44
44
|
display: 'block'
|
|
@@ -160,16 +160,16 @@ export const smartCardStyles = css({
|
|
|
160
160
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
161
161
|
'.card-with-comment': {
|
|
162
162
|
background: "var(--ds-background-accent-yellow-subtler, #F5E989)",
|
|
163
|
-
borderBottom:
|
|
163
|
+
borderBottom: `${"var(--ds-border-width-selected, 2px)"} solid ${"var(--ds-border-accent-yellow, #B38600)"}`,
|
|
164
164
|
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)"
|
|
165
165
|
},
|
|
166
166
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
167
167
|
'.card': {
|
|
168
168
|
paddingLeft: "var(--ds-space-025, 2px)",
|
|
169
169
|
paddingRight: "var(--ds-space-025, 2px)",
|
|
170
|
-
paddingTop: "var(--ds-space-100,
|
|
171
|
-
paddingBottom: "var(--ds-space-100,
|
|
172
|
-
marginBottom: "var(--ds-space-negative-100, -
|
|
170
|
+
paddingTop: "var(--ds-space-100, 8px)",
|
|
171
|
+
paddingBottom: "var(--ds-space-100, 8px)",
|
|
172
|
+
marginBottom: "var(--ds-space-negative-100, -8px)",
|
|
173
173
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
174
174
|
[`.${SmartCardSharedCssClassName.LOADER_WRAPPER} > a:focus`]: [
|
|
175
175
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -312,9 +312,9 @@ export const smartCardStylesWithSearchMatch = css({
|
|
|
312
312
|
'.card': {
|
|
313
313
|
paddingLeft: "var(--ds-space-025, 2px)",
|
|
314
314
|
paddingRight: "var(--ds-space-025, 2px)",
|
|
315
|
-
paddingTop: "var(--ds-space-100,
|
|
316
|
-
paddingBottom: "var(--ds-space-100,
|
|
317
|
-
marginBottom: "var(--ds-space-negative-100, -
|
|
315
|
+
paddingTop: "var(--ds-space-100, 8px)",
|
|
316
|
+
paddingBottom: "var(--ds-space-100, 8px)",
|
|
317
|
+
marginBottom: "var(--ds-space-negative-100, -8px)",
|
|
318
318
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
319
319
|
[`.${SmartCardSharedCssClassName.LOADER_WRAPPER} > a:focus`]: [
|
|
320
320
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -465,9 +465,9 @@ export const smartCardStylesWithSearchMatchAndBlockMenuDangerStyles = css({
|
|
|
465
465
|
'.card': {
|
|
466
466
|
paddingLeft: "var(--ds-space-025, 2px)",
|
|
467
467
|
paddingRight: "var(--ds-space-025, 2px)",
|
|
468
|
-
paddingTop: "var(--ds-space-100,
|
|
469
|
-
paddingBottom: "var(--ds-space-100,
|
|
470
|
-
marginBottom: "var(--ds-space-negative-100, -
|
|
468
|
+
paddingTop: "var(--ds-space-100, 8px)",
|
|
469
|
+
paddingBottom: "var(--ds-space-100, 8px)",
|
|
470
|
+
marginBottom: "var(--ds-space-negative-100, -8px)",
|
|
471
471
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
472
472
|
[`.${SmartCardSharedCssClassName.LOADER_WRAPPER} > a:focus`]: [
|
|
473
473
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -607,7 +607,7 @@ export const smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness = css({
|
|
|
607
607
|
[`@container editor-area (max-width: ${akEditorFullPageNarrowBreakout}px)`]: {
|
|
608
608
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-nested-selectors
|
|
609
609
|
[`.${SmartCardSharedCssClassName.EMBED_CARD_CONTAINER}`]: {
|
|
610
|
-
marginTop: "var(--ds-space-150,
|
|
610
|
+
marginTop: "var(--ds-space-150, 12px)"
|
|
611
611
|
},
|
|
612
612
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
613
613
|
[`.${SmartCardSharedCssClassName.EMBED_CARD_CONTAINER}.ak-editor-selected-node .${SmartCardSharedCssClassName.LOADER_WRAPPER} > div`]:
|
|
@@ -461,7 +461,7 @@ export const taskItemCheckboxStyles = css({
|
|
|
461
461
|
position: 'absolute',
|
|
462
462
|
width: "var(--ds-space-200, 16px)",
|
|
463
463
|
height: "var(--ds-space-200, 16px)",
|
|
464
|
-
border:
|
|
464
|
+
border: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #4688EC)"}`,
|
|
465
465
|
borderRadius: "var(--ds-space-050, 4px)",
|
|
466
466
|
content: "''",
|
|
467
467
|
display: 'block',
|
|
@@ -634,7 +634,7 @@ export const taskItemCheckboxStylesWithBlockTaskItem = css({
|
|
|
634
634
|
position: 'absolute',
|
|
635
635
|
width: "var(--ds-space-200, 16px)",
|
|
636
636
|
height: "var(--ds-space-200, 16px)",
|
|
637
|
-
border:
|
|
637
|
+
border: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #4688EC)"}`,
|
|
638
638
|
borderRadius: "var(--ds-space-050, 4px)",
|
|
639
639
|
content: "''",
|
|
640
640
|
display: 'block',
|
|
@@ -721,7 +721,7 @@ export const taskItemNextCheckboxStyles = css({
|
|
|
721
721
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
722
722
|
'&:focus + svg, &:checked:focus + svg': {
|
|
723
723
|
borderRadius: "var(--ds-radius-small, 0.25rem)",
|
|
724
|
-
outline: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #
|
|
724
|
+
outline: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #4688EC)"}`,
|
|
725
725
|
outlineOffset: "var(--ds-space-negative-025, -2px)"
|
|
726
726
|
},
|
|
727
727
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -76,14 +76,18 @@ export const ToolbarNext = ({
|
|
|
76
76
|
isDisabled: isDisabled,
|
|
77
77
|
popupsMountPoint: popupsMountPoint,
|
|
78
78
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
79
|
-
popupsScrollableElement: popupsScrollableElement
|
|
79
|
+
popupsScrollableElement: popupsScrollableElement
|
|
80
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
81
|
+
,
|
|
80
82
|
fireAnalyticsEvent: payload => {
|
|
81
83
|
var _editorAPI$analytics;
|
|
82
84
|
editorAPI === null || editorAPI === void 0 ? void 0 : (_editorAPI$analytics = editorAPI.analytics) === null || _editorAPI$analytics === void 0 ? void 0 : _editorAPI$analytics.actions.fireAnalyticsEvent(payload);
|
|
83
85
|
}
|
|
84
86
|
}, /*#__PURE__*/React.createElement(ToolbarModelRenderer, {
|
|
85
87
|
toolbar: toolbar,
|
|
86
|
-
components: components
|
|
88
|
+
components: components
|
|
89
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
90
|
+
,
|
|
87
91
|
fallbacks: {
|
|
88
92
|
group: ToolbarButtonGroup,
|
|
89
93
|
section: ToolbarSection,
|
|
@@ -6,6 +6,7 @@ export const useElementWidth = (ref, {
|
|
|
6
6
|
const [elementWidth, setWidth] = React.useState(undefined);
|
|
7
7
|
React.useEffect(() => {
|
|
8
8
|
if (!skip && ref.current && !fg('platform_editor_prevent_toolbar_width_reflow')) {
|
|
9
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
|
|
9
10
|
setWidth(Math.round(ref.current.getBoundingClientRect().width));
|
|
10
11
|
}
|
|
11
12
|
}, [skip, setWidth, ref]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "217.5.
|
|
2
|
+
export const version = "217.5.4";
|
|
@@ -67,7 +67,9 @@ export var EditorInternal = /*#__PURE__*/memo(function (_ref) {
|
|
|
67
67
|
componentProps: props,
|
|
68
68
|
action: ACTION.RE_RENDERED,
|
|
69
69
|
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
70
|
-
handleAnalyticsEvent: handleAnalyticsEvent
|
|
70
|
+
handleAnalyticsEvent: handleAnalyticsEvent
|
|
71
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
72
|
+
,
|
|
71
73
|
propsToIgnore: ['defaultValue'],
|
|
72
74
|
useShallow: useShallow
|
|
73
75
|
}), jsx(ErrorBoundary, {
|
|
@@ -95,7 +97,9 @@ export var EditorInternal = /*#__PURE__*/memo(function (_ref) {
|
|
|
95
97
|
onEditorCreated: onEditorCreated,
|
|
96
98
|
onEditorDestroyed: onEditorDestroyed,
|
|
97
99
|
disabled: props.disabled,
|
|
98
|
-
preset: preset
|
|
100
|
+
preset: preset
|
|
101
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
102
|
+
,
|
|
99
103
|
render: function render(_ref2) {
|
|
100
104
|
var _props$featureFlags, _props$featureFlags2;
|
|
101
105
|
var editor = _ref2.editor,
|
|
@@ -863,7 +863,9 @@ export function ReactEditorView(props) {
|
|
|
863
863
|
id: EDIT_AREA_ID,
|
|
864
864
|
"aria-describedby": assistiveDescribedBy,
|
|
865
865
|
"data-editor-id": editorId.current,
|
|
866
|
-
onSSRMeasure: onSSRMeasure
|
|
866
|
+
onSSRMeasure: onSSRMeasure
|
|
867
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
868
|
+
,
|
|
867
869
|
onEditorStateChanged: function onEditorStateChanged(state) {
|
|
868
870
|
ssrEditorStateRef.current = state;
|
|
869
871
|
// Notify listeners about the initial SSR state
|
|
@@ -895,6 +897,7 @@ export function ReactEditorView(props) {
|
|
|
895
897
|
startTimestampRef: firstRenderStartTimestampRef,
|
|
896
898
|
onSSRMeasure: onSSRMeasure
|
|
897
899
|
}, /*#__PURE__*/React.createElement(ReactEditorViewContext.Provider, {
|
|
900
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-inline-context-value, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
898
901
|
value: {
|
|
899
902
|
editorRef: editorRef,
|
|
900
903
|
editorView: viewRef.current,
|
|
@@ -15,6 +15,7 @@ export function fixExcludes(marks) {
|
|
|
15
15
|
markKeys.forEach(function (markKey) {
|
|
16
16
|
var mark = marks[markKey];
|
|
17
17
|
if (mark.excludes) {
|
|
18
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
|
|
18
19
|
mark.excludes = mark.excludes.split(' ').filter(function (group) {
|
|
19
20
|
return markGroups.has(group);
|
|
20
21
|
}).join(' ');
|
|
@@ -4,7 +4,7 @@ import { css } from '@emotion/react';
|
|
|
4
4
|
export var dropdown = css({
|
|
5
5
|
display: 'flex',
|
|
6
6
|
flexDirection: 'column',
|
|
7
|
-
background: "var(--ds-surface-overlay,
|
|
7
|
+
background: "var(--ds-surface-overlay, #FFFFFF)",
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
9
9
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
10
10
|
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
|
|
@@ -55,7 +55,7 @@ var chromelessEditorStylesNew = css({
|
|
|
55
55
|
margin: 0,
|
|
56
56
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
57
57
|
'& > :last-child': {
|
|
58
|
-
paddingBottom: "var(--ds-space-100,
|
|
58
|
+
paddingBottom: "var(--ds-space-100, 8px)"
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -111,7 +111,9 @@ var Editor = /*#__PURE__*/function (_React$Component) {
|
|
|
111
111
|
animate: maxContentSizeReached
|
|
112
112
|
}, jsx(ChromelessEditorContainer, {
|
|
113
113
|
maxHeight: maxHeight,
|
|
114
|
-
minHeight: minHeight
|
|
114
|
+
minHeight: minHeight
|
|
115
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
116
|
+
,
|
|
115
117
|
containerRef: function containerRef(ref) {
|
|
116
118
|
return _this.containerElement = ref;
|
|
117
119
|
}
|
|
@@ -41,7 +41,7 @@ var commentEditorStylesOld = css({
|
|
|
41
41
|
},
|
|
42
42
|
minWidth: '272px',
|
|
43
43
|
height: 'auto',
|
|
44
|
-
backgroundColor: "var(--ds-background-input,
|
|
44
|
+
backgroundColor: "var(--ds-background-input, #FFFFFF)",
|
|
45
45
|
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border-input, #8C8F97)"),
|
|
46
46
|
boxSizing: 'border-box',
|
|
47
47
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -58,7 +58,7 @@ var commentEditorStyles = css({
|
|
|
58
58
|
},
|
|
59
59
|
minWidth: '272px',
|
|
60
60
|
height: 'auto',
|
|
61
|
-
backgroundColor: "var(--ds-background-input,
|
|
61
|
+
backgroundColor: "var(--ds-background-input, #FFFFFF)",
|
|
62
62
|
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border-input, #8C8F97)"),
|
|
63
63
|
boxSizing: 'border-box',
|
|
64
64
|
borderRadius: "var(--ds-radius-medium, 6px)",
|
|
@@ -253,7 +253,9 @@ export var CommentEditorWithIntl = function CommentEditorWithIntl(props) {
|
|
|
253
253
|
}, jsx(WidthConsumer, null, function (_ref) {
|
|
254
254
|
var width = _ref.width;
|
|
255
255
|
return jsx(EditorContentContainer, {
|
|
256
|
-
ref: containerElement
|
|
256
|
+
ref: containerElement
|
|
257
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
258
|
+
,
|
|
257
259
|
css: [maxHeight ?
|
|
258
260
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
259
261
|
css({
|
|
@@ -22,7 +22,7 @@ var mainToolbarWrapperStyleNew = css({
|
|
|
22
22
|
padding: "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-100, 8px)", " 0"),
|
|
23
23
|
display: 'flex',
|
|
24
24
|
height: 'auto',
|
|
25
|
-
backgroundColor: "var(--ds-surface,
|
|
25
|
+
backgroundColor: "var(--ds-surface, #FFFFFF)",
|
|
26
26
|
boxShadow: 'none',
|
|
27
27
|
paddingLeft: "var(--ds-space-250, 20px)",
|
|
28
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
|
-
import {
|
|
3
|
+
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
5
|
export var inputStyle = css({
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
7
7
|
'input&': {
|
|
8
|
-
backgroundColor: "var(--ds-background-input,
|
|
8
|
+
backgroundColor: "var(--ds-background-input, #FFFFFF)",
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
10
|
-
border: "1px solid ".concat("var(--ds-border-input,
|
|
10
|
+
border: "1px solid ".concat("var(--ds-border-input, #8C8F97)"),
|
|
11
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
12
12
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
13
13
|
boxSizing: 'border-box',
|
|
@@ -25,7 +25,7 @@ export var inputStyle = css({
|
|
|
25
25
|
letterSpacing: '-0.005em',
|
|
26
26
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
27
27
|
'&:hover': {
|
|
28
|
-
backgroundColor: "var(--ds-background-input-hovered,
|
|
28
|
+
backgroundColor: "var(--ds-background-input-hovered, #F8F8F8)",
|
|
29
29
|
borderColor: "var(--ds-border-input, #8C8F97)",
|
|
30
30
|
cursor: 'text'
|
|
31
31
|
}
|
|
@@ -88,7 +88,9 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
88
88
|
timeout: _this.state.mounted ? animSpeedMs : 0,
|
|
89
89
|
in: !!pluginContent,
|
|
90
90
|
mountOnEnter: true,
|
|
91
|
-
unmountOnExit: true
|
|
91
|
+
unmountOnExit: true
|
|
92
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
93
|
+
,
|
|
92
94
|
onExited: function onExited() {
|
|
93
95
|
return _this.unsetPluginContent();
|
|
94
96
|
}
|
|
@@ -133,7 +133,7 @@ export var codeBlockStyles = css({
|
|
|
133
133
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
134
134
|
lineHeight: '1.5rem',
|
|
135
135
|
textAlign: 'right',
|
|
136
|
-
color: "var(--ds-text-subtlest, #
|
|
136
|
+
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
137
137
|
boxSizing: 'content-box'
|
|
138
138
|
})), "li", {
|
|
139
139
|
// if same list item has multiple code blocks we need top margin for all but first
|
|
@@ -15,8 +15,8 @@ export var expandStyles = css({
|
|
|
15
15
|
borderColor: 'transparent',
|
|
16
16
|
borderRadius: "var(--ds-radius-small, 4px)",
|
|
17
17
|
minHeight: '25px',
|
|
18
|
-
background: "var(--ds-background-neutral-subtle,
|
|
19
|
-
margin: "var(--ds-space-050,
|
|
18
|
+
background: "var(--ds-background-neutral-subtle, #00000000)",
|
|
19
|
+
margin: "var(--ds-space-050, 4px)".concat(" 0 0"),
|
|
20
20
|
transition: 'background 0.3s cubic-bezier(0.15, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.15, 1, 0.3, 1)',
|
|
21
21
|
padding: "var(--ds-space-100, 8px)",
|
|
22
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
@@ -290,7 +290,7 @@ export var expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes = css(
|
|
|
290
290
|
},
|
|
291
291
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
292
292
|
'> div.ak-editor-expand[data-node-type="nestedExpand"]': {
|
|
293
|
-
marginTop: "var(--ds-space-050,
|
|
293
|
+
marginTop: "var(--ds-space-050, 4px)"
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
@@ -397,7 +397,7 @@ export var getExtensionStyles = function getExtensionStyles(contentMode) {
|
|
|
397
397
|
'.bodiedExtension-content-inner-wrapper': {
|
|
398
398
|
margin: "0 ".concat("var(--ds-space-negative-250, -20px)"),
|
|
399
399
|
padding: "var(--ds-space-200, 16px)".concat(" ", "var(--ds-space-250, 20px)"),
|
|
400
|
-
border: "1px
|
|
400
|
+
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
|
|
401
401
|
borderRadius: "var(--ds-radius-small, 3px)"
|
|
402
402
|
},
|
|
403
403
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -9,7 +9,7 @@ export var findReplaceStyles = css({
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
|
|
10
10
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
11
11
|
backgroundColor: "var(--ds-background-accent-teal-subtlest, #E7F9FF)",
|
|
12
|
-
boxShadow: "var(--ds-shadow-raised,
|
|
12
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #1E1F2140, 0px 0px 1px #1E1F214f)".concat(", inset 0 0 0 1px ", "var(--ds-border-input, #8C8F97)")
|
|
13
13
|
},
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
15
15
|
'.selected-search-match': {
|
|
@@ -19,7 +19,7 @@ export var gridStyles = css({
|
|
|
19
19
|
},
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
21
21
|
'.gridLine': {
|
|
22
|
-
borderLeft: "1px
|
|
22
|
+
borderLeft: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
|
|
23
23
|
display: 'inline-block',
|
|
24
24
|
boxSizing: 'border-box',
|
|
25
25
|
height: '100%',
|
|
@@ -113,7 +113,7 @@ export var resizerStyles = css(_defineProperty(_defineProperty(_defineProperty(_
|
|
|
113
113
|
right: "var(--ds-space-negative-050, -4px)",
|
|
114
114
|
bottom: "var(--ds-space-negative-050, -4px)",
|
|
115
115
|
left: "var(--ds-space-negative-050, -4px)",
|
|
116
|
-
border: "2px
|
|
116
|
+
border: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
117
117
|
borderRadius: 'inherit',
|
|
118
118
|
zIndex: -1
|
|
119
119
|
}
|
|
@@ -26,12 +26,12 @@ export var shadowStyles = css({
|
|
|
26
26
|
}), "& .".concat(shadowClassNames.RIGHT_SHADOW, ", .").concat(shadowClassNames.LEFT_SHADOW), {
|
|
27
27
|
position: 'relative'
|
|
28
28
|
}), "& .".concat(shadowClassNames.LEFT_SHADOW, "::before"), {
|
|
29
|
-
background: "linear-gradient(to left, transparent 0, ".concat("var(--ds-shadow-overflow-spread, #1E1F2129)", " 140% ), linear-gradient( to right, ", "var(--ds-shadow-overflow-perimeter,
|
|
29
|
+
background: "linear-gradient(to left, transparent 0, ".concat("var(--ds-shadow-overflow-spread, #1E1F2129)", " 140% ), linear-gradient( to right, ", "var(--ds-shadow-overflow-perimeter, #1E1F211f)", " 0px, transparent 1px)"),
|
|
30
30
|
top: 0,
|
|
31
31
|
left: 0,
|
|
32
32
|
display: 'block'
|
|
33
33
|
}), "& .".concat(shadowClassNames.RIGHT_SHADOW, "::after"), {
|
|
34
|
-
background: "linear-gradient(to right, transparent 0, ".concat("var(--ds-shadow-overflow-spread, #1E1F2129)", " 140% ), linear-gradient( to left, ", "var(--ds-shadow-overflow-perimeter,
|
|
34
|
+
background: "linear-gradient(to right, transparent 0, ".concat("var(--ds-shadow-overflow-spread, #1E1F2129)", " 140% ), linear-gradient( to left, ", "var(--ds-shadow-overflow-perimeter, #1E1F211f)", " 0px, transparent 1px)"),
|
|
35
35
|
right: 0,
|
|
36
36
|
top: 0,
|
|
37
37
|
display: 'block'
|
|
@@ -110,16 +110,16 @@ export var smartCardStyles = css(_defineProperty(_defineProperty(_defineProperty
|
|
|
110
110
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
111
111
|
'.card-with-comment': {
|
|
112
112
|
background: "var(--ds-background-accent-yellow-subtler, #F5E989)",
|
|
113
|
-
borderBottom: "2px
|
|
113
|
+
borderBottom: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-accent-yellow, #B38600)"),
|
|
114
114
|
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)"
|
|
115
115
|
},
|
|
116
116
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
117
117
|
'.card': _defineProperty({
|
|
118
118
|
paddingLeft: "var(--ds-space-025, 2px)",
|
|
119
119
|
paddingRight: "var(--ds-space-025, 2px)",
|
|
120
|
-
paddingTop: "var(--ds-space-100,
|
|
121
|
-
paddingBottom: "var(--ds-space-100,
|
|
122
|
-
marginBottom: "var(--ds-space-negative-100, -
|
|
120
|
+
paddingTop: "var(--ds-space-100, 8px)",
|
|
121
|
+
paddingBottom: "var(--ds-space-100, 8px)",
|
|
122
|
+
marginBottom: "var(--ds-space-negative-100, -8px)"
|
|
123
123
|
}, ".".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a:focus"), [
|
|
124
124
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
125
125
|
boxShadowSelectionStyles,
|
|
@@ -214,9 +214,9 @@ export var smartCardStylesWithSearchMatch = css(_defineProperty(_defineProperty(
|
|
|
214
214
|
'.card': _defineProperty({
|
|
215
215
|
paddingLeft: "var(--ds-space-025, 2px)",
|
|
216
216
|
paddingRight: "var(--ds-space-025, 2px)",
|
|
217
|
-
paddingTop: "var(--ds-space-100,
|
|
218
|
-
paddingBottom: "var(--ds-space-100,
|
|
219
|
-
marginBottom: "var(--ds-space-negative-100, -
|
|
217
|
+
paddingTop: "var(--ds-space-100, 8px)",
|
|
218
|
+
paddingBottom: "var(--ds-space-100, 8px)",
|
|
219
|
+
marginBottom: "var(--ds-space-negative-100, -8px)"
|
|
220
220
|
}, ".".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a:focus"), [
|
|
221
221
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
222
222
|
boxShadowSelectionStyles,
|
|
@@ -315,9 +315,9 @@ export var smartCardStylesWithSearchMatchAndBlockMenuDangerStyles = css(_defineP
|
|
|
315
315
|
'.card': _defineProperty({
|
|
316
316
|
paddingLeft: "var(--ds-space-025, 2px)",
|
|
317
317
|
paddingRight: "var(--ds-space-025, 2px)",
|
|
318
|
-
paddingTop: "var(--ds-space-100,
|
|
319
|
-
paddingBottom: "var(--ds-space-100,
|
|
320
|
-
marginBottom: "var(--ds-space-negative-100, -
|
|
318
|
+
paddingTop: "var(--ds-space-100, 8px)",
|
|
319
|
+
paddingBottom: "var(--ds-space-100, 8px)",
|
|
320
|
+
marginBottom: "var(--ds-space-negative-100, -8px)"
|
|
321
321
|
}, ".".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a:focus"), [
|
|
322
322
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
323
323
|
boxShadowSelectionStyles,
|
|
@@ -403,7 +403,7 @@ boxShadowSelectionStyles]), '&.danger', {
|
|
|
403
403
|
|
|
404
404
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
405
405
|
export var smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness = css(_defineProperty({}, "@container editor-area (max-width: ".concat(akEditorFullPageNarrowBreakout, "px)"), _defineProperty(_defineProperty({}, ".".concat(SmartCardSharedCssClassName.EMBED_CARD_CONTAINER), {
|
|
406
|
-
marginTop: "var(--ds-space-150,
|
|
406
|
+
marginTop: "var(--ds-space-150, 12px)"
|
|
407
407
|
}), ".".concat(SmartCardSharedCssClassName.EMBED_CARD_CONTAINER, ".ak-editor-selected-node .").concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div"),
|
|
408
408
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
409
409
|
[
|
|
@@ -415,7 +415,7 @@ export var taskItemCheckboxStyles = css(_defineProperty({
|
|
|
415
415
|
position: 'absolute',
|
|
416
416
|
width: "var(--ds-space-200, 16px)",
|
|
417
417
|
height: "var(--ds-space-200, 16px)",
|
|
418
|
-
border: "2px
|
|
418
|
+
border: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
419
419
|
borderRadius: "var(--ds-space-050, 4px)",
|
|
420
420
|
content: "''",
|
|
421
421
|
display: 'block',
|
|
@@ -586,7 +586,7 @@ export var taskItemCheckboxStylesWithBlockTaskItem = css(_defineProperty({
|
|
|
586
586
|
position: 'absolute',
|
|
587
587
|
width: "var(--ds-space-200, 16px)",
|
|
588
588
|
height: "var(--ds-space-200, 16px)",
|
|
589
|
-
border: "2px
|
|
589
|
+
border: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
590
590
|
borderRadius: "var(--ds-space-050, 4px)",
|
|
591
591
|
content: "''",
|
|
592
592
|
display: 'block',
|
|
@@ -671,7 +671,7 @@ export var taskItemNextCheckboxStyles = css(_defineProperty({
|
|
|
671
671
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
672
672
|
'&:focus + svg, &:checked:focus + svg': {
|
|
673
673
|
borderRadius: "var(--ds-radius-small, 0.25rem)",
|
|
674
|
-
outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #
|
|
674
|
+
outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
675
675
|
outlineOffset: "var(--ds-space-negative-025, -2px)"
|
|
676
676
|
},
|
|
677
677
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -74,14 +74,18 @@ export var ToolbarNext = function ToolbarNext(_ref) {
|
|
|
74
74
|
isDisabled: isDisabled,
|
|
75
75
|
popupsMountPoint: popupsMountPoint,
|
|
76
76
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
77
|
-
popupsScrollableElement: popupsScrollableElement
|
|
77
|
+
popupsScrollableElement: popupsScrollableElement
|
|
78
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
79
|
+
,
|
|
78
80
|
fireAnalyticsEvent: function fireAnalyticsEvent(payload) {
|
|
79
81
|
var _editorAPI$analytics;
|
|
80
82
|
editorAPI === null || editorAPI === void 0 || (_editorAPI$analytics = editorAPI.analytics) === null || _editorAPI$analytics === void 0 || _editorAPI$analytics.actions.fireAnalyticsEvent(payload);
|
|
81
83
|
}
|
|
82
84
|
}, /*#__PURE__*/React.createElement(ToolbarModelRenderer, {
|
|
83
85
|
toolbar: toolbar,
|
|
84
|
-
components: components
|
|
86
|
+
components: components
|
|
87
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
88
|
+
,
|
|
85
89
|
fallbacks: {
|
|
86
90
|
group: ToolbarButtonGroup,
|
|
87
91
|
section: ToolbarSection,
|
|
@@ -9,6 +9,7 @@ export var useElementWidth = function useElementWidth(ref, _ref) {
|
|
|
9
9
|
setWidth = _React$useState2[1];
|
|
10
10
|
React.useEffect(function () {
|
|
11
11
|
if (!skip && ref.current && !fg('platform_editor_prevent_toolbar_width_reflow')) {
|
|
12
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
|
|
12
13
|
setWidth(Math.round(ref.current.getBoundingClientRect().width));
|
|
13
14
|
}
|
|
14
15
|
}, [skip, setWidth, ref]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "217.5.
|
|
2
|
+
export var version = "217.5.4";
|
package/docs/4-annotations.tsx
CHANGED
|
@@ -199,9 +199,9 @@ class SplitExample extends React.Component<{ initialAdf: object }> {
|
|
|
199
199
|
<div
|
|
200
200
|
style={{
|
|
201
201
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
202
|
-
margin: token('space.100'
|
|
202
|
+
margin: token('space.100'),
|
|
203
203
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
204
|
-
padding: token('space.100'
|
|
204
|
+
padding: token('space.100'),
|
|
205
205
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
206
206
|
backgroundColor: N20,
|
|
207
207
|
border: `${token('border.width')} solid ${token('color.border.accent.gray')}`,
|
|
@@ -218,7 +218,7 @@ class SplitExample extends React.Component<{ initialAdf: object }> {
|
|
|
218
218
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
219
219
|
overflow: 'auto',
|
|
220
220
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
221
|
-
margin: token('space.100'
|
|
221
|
+
margin: token('space.100'),
|
|
222
222
|
}}
|
|
223
223
|
>
|
|
224
224
|
<p>Paragraph node's content:</p>
|
|
@@ -248,9 +248,9 @@ ${(
|
|
|
248
248
|
<div
|
|
249
249
|
style={{
|
|
250
250
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
251
|
-
margin: token('space.100'
|
|
251
|
+
margin: token('space.100'),
|
|
252
252
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
253
|
-
padding: token('space.100'
|
|
253
|
+
padding: token('space.100'),
|
|
254
254
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
255
255
|
backgroundColor: N20,
|
|
256
256
|
border: `${token('border.width')} solid ${token('color.border.accent.gray')}`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "217.5.
|
|
3
|
+
"version": "217.5.5",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
"@atlaskit/emoji": "^69.10.0",
|
|
61
61
|
"@atlaskit/icon": "^33.0.0",
|
|
62
62
|
"@atlaskit/link": "^3.3.0",
|
|
63
|
-
"@atlaskit/media-card": "^79.
|
|
63
|
+
"@atlaskit/media-card": "^79.16.0",
|
|
64
64
|
"@atlaskit/mention": "^24.6.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
67
|
"@atlaskit/react-ufo": "^5.4.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.3.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^44.0.0",
|
|
70
70
|
"@atlaskit/tokens": "^11.1.0",
|
|
71
71
|
"@atlaskit/tooltip": "^21.0.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
108
108
|
"@atlaskit/media-test-helpers": "^40.0.0",
|
|
109
109
|
"@atlaskit/modal-dialog": "^14.11.0",
|
|
110
|
-
"@atlaskit/renderer": "^128.
|
|
110
|
+
"@atlaskit/renderer": "^128.3.0",
|
|
111
111
|
"@atlaskit/section-message": "^8.12.0",
|
|
112
112
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
113
113
|
"@atlaskit/toggle": "^15.2.0",
|