@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 217.5.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d497cbb2d150f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d497cbb2d150f) -
|
|
8
|
+
Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 217.5.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 217.5.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -33,6 +33,7 @@ export const createJSXRenameVariableToNestedKeyTransform = (
|
|
|
33
33
|
const newObject = j.objectExpression([
|
|
34
34
|
j.property('init', j.identifier(toObjectKey), j.objectExpression(existingProperties)),
|
|
35
35
|
]);
|
|
36
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
|
|
36
37
|
fromAttribute.replace(
|
|
37
38
|
j.jsxAttribute(j.jsxIdentifier(toObjectName), j.jsxExpressionContainer(newObject)),
|
|
38
39
|
);
|
package/codemods/utils.ts
CHANGED
|
@@ -98,6 +98,7 @@ export const findImportFromPackage = (
|
|
|
98
98
|
export const createRenameVariableTransform = (from: string, toName: string) => {
|
|
99
99
|
return (j: core.JSCodeshift, source: Collection<unknown>): void => {
|
|
100
100
|
source.find(j.Identifier, { name: from }).forEach((x) => {
|
|
101
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
|
|
101
102
|
x.replace(j.identifier(toName));
|
|
102
103
|
});
|
|
103
104
|
};
|
|
@@ -71,7 +71,9 @@ var EditorInternal = exports.EditorInternal = /*#__PURE__*/(0, _react.memo)(func
|
|
|
71
71
|
componentProps: props,
|
|
72
72
|
action: _analytics.ACTION.RE_RENDERED,
|
|
73
73
|
actionSubject: _analytics.ACTION_SUBJECT.EDITOR,
|
|
74
|
-
handleAnalyticsEvent: handleAnalyticsEvent
|
|
74
|
+
handleAnalyticsEvent: handleAnalyticsEvent
|
|
75
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
76
|
+
,
|
|
75
77
|
propsToIgnore: ['defaultValue'],
|
|
76
78
|
useShallow: useShallow
|
|
77
79
|
}), (0, _react2.jsx)(_ErrorBoundary.default, {
|
|
@@ -99,7 +101,9 @@ var EditorInternal = exports.EditorInternal = /*#__PURE__*/(0, _react.memo)(func
|
|
|
99
101
|
onEditorCreated: onEditorCreated,
|
|
100
102
|
onEditorDestroyed: onEditorDestroyed,
|
|
101
103
|
disabled: props.disabled,
|
|
102
|
-
preset: preset
|
|
104
|
+
preset: preset
|
|
105
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
106
|
+
,
|
|
103
107
|
render: function render(_ref2) {
|
|
104
108
|
var _props$featureFlags, _props$featureFlags2;
|
|
105
109
|
var editor = _ref2.editor,
|
|
@@ -872,7 +872,9 @@ function ReactEditorView(props) {
|
|
|
872
872
|
id: EDIT_AREA_ID,
|
|
873
873
|
"aria-describedby": assistiveDescribedBy,
|
|
874
874
|
"data-editor-id": editorId.current,
|
|
875
|
-
onSSRMeasure: onSSRMeasure
|
|
875
|
+
onSSRMeasure: onSSRMeasure
|
|
876
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
877
|
+
,
|
|
876
878
|
onEditorStateChanged: function onEditorStateChanged(state) {
|
|
877
879
|
ssrEditorStateRef.current = state;
|
|
878
880
|
// Notify listeners about the initial SSR state
|
|
@@ -904,6 +906,7 @@ function ReactEditorView(props) {
|
|
|
904
906
|
startTimestampRef: firstRenderStartTimestampRef,
|
|
905
907
|
onSSRMeasure: onSSRMeasure
|
|
906
908
|
}, /*#__PURE__*/_react.default.createElement(_uiReact.ReactEditorViewContext.Provider, {
|
|
909
|
+
// 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)
|
|
907
910
|
value: {
|
|
908
911
|
editorRef: editorRef,
|
|
909
912
|
editorView: viewRef.current,
|
|
@@ -26,6 +26,7 @@ function fixExcludes(marks) {
|
|
|
26
26
|
markKeys.forEach(function (markKey) {
|
|
27
27
|
var mark = marks[markKey];
|
|
28
28
|
if (mark.excludes) {
|
|
29
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
|
|
29
30
|
mark.excludes = mark.excludes.split(' ').filter(function (group) {
|
|
30
31
|
return markGroups.has(group);
|
|
31
32
|
}).join(' ');
|
|
@@ -11,7 +11,7 @@ var _react = require("@emotion/react");
|
|
|
11
11
|
var dropdown = exports.dropdown = (0, _react.css)({
|
|
12
12
|
display: 'flex',
|
|
13
13
|
flexDirection: 'column',
|
|
14
|
-
background: "var(--ds-surface-overlay,
|
|
14
|
+
background: "var(--ds-surface-overlay, #FFFFFF)",
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
16
16
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
17
17
|
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
|
|
@@ -62,7 +62,7 @@ var chromelessEditorStylesNew = (0, _react2.css)({
|
|
|
62
62
|
margin: 0,
|
|
63
63
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
64
64
|
'& > :last-child': {
|
|
65
|
-
paddingBottom: "var(--ds-space-100,
|
|
65
|
+
paddingBottom: "var(--ds-space-100, 8px)"
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -118,7 +118,9 @@ var Editor = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
118
118
|
animate: maxContentSizeReached
|
|
119
119
|
}, (0, _react2.jsx)(ChromelessEditorContainer, {
|
|
120
120
|
maxHeight: maxHeight,
|
|
121
|
-
minHeight: minHeight
|
|
121
|
+
minHeight: minHeight
|
|
122
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
123
|
+
,
|
|
122
124
|
containerRef: function containerRef(ref) {
|
|
123
125
|
return _this.containerElement = ref;
|
|
124
126
|
}
|
|
@@ -52,7 +52,7 @@ var commentEditorStylesOld = (0, _react2.css)({
|
|
|
52
52
|
},
|
|
53
53
|
minWidth: '272px',
|
|
54
54
|
height: 'auto',
|
|
55
|
-
backgroundColor: "var(--ds-background-input,
|
|
55
|
+
backgroundColor: "var(--ds-background-input, #FFFFFF)",
|
|
56
56
|
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border-input, #8C8F97)"),
|
|
57
57
|
boxSizing: 'border-box',
|
|
58
58
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -69,7 +69,7 @@ var commentEditorStyles = (0, _react2.css)({
|
|
|
69
69
|
},
|
|
70
70
|
minWidth: '272px',
|
|
71
71
|
height: 'auto',
|
|
72
|
-
backgroundColor: "var(--ds-background-input,
|
|
72
|
+
backgroundColor: "var(--ds-background-input, #FFFFFF)",
|
|
73
73
|
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border-input, #8C8F97)"),
|
|
74
74
|
boxSizing: 'border-box',
|
|
75
75
|
borderRadius: "var(--ds-radius-medium, 6px)",
|
|
@@ -264,7 +264,9 @@ var CommentEditorWithIntl = exports.CommentEditorWithIntl = function CommentEdit
|
|
|
264
264
|
}, (0, _react2.jsx)(_ui.WidthConsumer, null, function (_ref) {
|
|
265
265
|
var width = _ref.width;
|
|
266
266
|
return (0, _react2.jsx)(_EditorContentContainer.default, {
|
|
267
|
-
ref: containerElement
|
|
267
|
+
ref: containerElement
|
|
268
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
269
|
+
,
|
|
268
270
|
css: [maxHeight ?
|
|
269
271
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
270
272
|
(0, _react2.css)({
|
|
@@ -31,7 +31,7 @@ var mainToolbarWrapperStyleNew = (0, _react2.css)({
|
|
|
31
31
|
padding: "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-100, 8px)", " 0"),
|
|
32
32
|
display: 'flex',
|
|
33
33
|
height: 'auto',
|
|
34
|
-
backgroundColor: "var(--ds-surface,
|
|
34
|
+
backgroundColor: "var(--ds-surface, #FFFFFF)",
|
|
35
35
|
boxShadow: 'none',
|
|
36
36
|
paddingLeft: "var(--ds-space-250, 20px)",
|
|
37
37
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -12,9 +12,9 @@ var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
|
12
12
|
var inputStyle = exports.inputStyle = (0, _react.css)({
|
|
13
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
14
14
|
'input&': {
|
|
15
|
-
backgroundColor: "var(--ds-background-input,
|
|
15
|
+
backgroundColor: "var(--ds-background-input, #FFFFFF)",
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
17
|
-
border: "1px solid ".concat("var(--ds-border-input,
|
|
17
|
+
border: "1px solid ".concat("var(--ds-border-input, #8C8F97)"),
|
|
18
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
19
19
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
20
20
|
boxSizing: 'border-box',
|
|
@@ -32,7 +32,7 @@ var inputStyle = exports.inputStyle = (0, _react.css)({
|
|
|
32
32
|
letterSpacing: '-0.005em',
|
|
33
33
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
34
34
|
'&:hover': {
|
|
35
|
-
backgroundColor: "var(--ds-background-input-hovered,
|
|
35
|
+
backgroundColor: "var(--ds-background-input-hovered, #F8F8F8)",
|
|
36
36
|
borderColor: "var(--ds-border-input, #8C8F97)",
|
|
37
37
|
cursor: 'text'
|
|
38
38
|
}
|
|
@@ -93,7 +93,9 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
93
93
|
timeout: _this.state.mounted ? animSpeedMs : 0,
|
|
94
94
|
in: !!pluginContent,
|
|
95
95
|
mountOnEnter: true,
|
|
96
|
-
unmountOnExit: true
|
|
96
|
+
unmountOnExit: true
|
|
97
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
98
|
+
,
|
|
97
99
|
onExited: function onExited() {
|
|
98
100
|
return _this.unsetPluginContent();
|
|
99
101
|
}
|
|
@@ -141,7 +141,7 @@ var codeBlockStyles = exports.codeBlockStyles = (0, _react.css)({
|
|
|
141
141
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
142
142
|
lineHeight: '1.5rem',
|
|
143
143
|
textAlign: 'right',
|
|
144
|
-
color: "var(--ds-text-subtlest, #
|
|
144
|
+
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
145
145
|
boxSizing: 'content-box'
|
|
146
146
|
})), "li", {
|
|
147
147
|
// if same list item has multiple code blocks we need top margin for all but first
|
|
@@ -22,8 +22,8 @@ var expandStyles = exports.expandStyles = (0, _react.css)({
|
|
|
22
22
|
borderColor: 'transparent',
|
|
23
23
|
borderRadius: "var(--ds-radius-small, 4px)",
|
|
24
24
|
minHeight: '25px',
|
|
25
|
-
background: "var(--ds-background-neutral-subtle,
|
|
26
|
-
margin: "var(--ds-space-050,
|
|
25
|
+
background: "var(--ds-background-neutral-subtle, #00000000)",
|
|
26
|
+
margin: "var(--ds-space-050, 4px)".concat(" 0 0"),
|
|
27
27
|
transition: 'background 0.3s cubic-bezier(0.15, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.15, 1, 0.3, 1)',
|
|
28
28
|
padding: "var(--ds-space-100, 8px)",
|
|
29
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
@@ -297,7 +297,7 @@ var expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes = exports.exp
|
|
|
297
297
|
},
|
|
298
298
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
299
299
|
'> div.ak-editor-expand[data-node-type="nestedExpand"]': {
|
|
300
|
-
marginTop: "var(--ds-space-050,
|
|
300
|
+
marginTop: "var(--ds-space-050, 4px)"
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
}
|
|
@@ -404,7 +404,7 @@ var getExtensionStyles = exports.getExtensionStyles = function getExtensionStyle
|
|
|
404
404
|
'.bodiedExtension-content-inner-wrapper': {
|
|
405
405
|
margin: "0 ".concat("var(--ds-space-negative-250, -20px)"),
|
|
406
406
|
padding: "var(--ds-space-200, 16px)".concat(" ", "var(--ds-space-250, 20px)"),
|
|
407
|
-
border: "1px
|
|
407
|
+
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
|
|
408
408
|
borderRadius: "var(--ds-radius-small, 3px)"
|
|
409
409
|
},
|
|
410
410
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -17,7 +17,7 @@ var findReplaceStyles = exports.findReplaceStyles = (0, _react.css)({
|
|
|
17
17
|
// eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
|
|
18
18
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
19
19
|
backgroundColor: "var(--ds-background-accent-teal-subtlest, #E7F9FF)",
|
|
20
|
-
boxShadow: "var(--ds-shadow-raised,
|
|
20
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #1E1F2140, 0px 0px 1px #1E1F214f)".concat(", inset 0 0 0 1px ", "var(--ds-border-input, #8C8F97)")
|
|
21
21
|
},
|
|
22
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
23
23
|
'.selected-search-match': {
|
|
@@ -26,7 +26,7 @@ var gridStyles = exports.gridStyles = (0, _react.css)({
|
|
|
26
26
|
},
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
28
28
|
'.gridLine': {
|
|
29
|
-
borderLeft: "1px
|
|
29
|
+
borderLeft: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
|
|
30
30
|
display: 'inline-block',
|
|
31
31
|
boxSizing: 'border-box',
|
|
32
32
|
height: '100%',
|
|
@@ -121,7 +121,7 @@ var resizerStyles = exports.resizerStyles = (0, _react.css)((0, _defineProperty2
|
|
|
121
121
|
right: "var(--ds-space-negative-050, -4px)",
|
|
122
122
|
bottom: "var(--ds-space-negative-050, -4px)",
|
|
123
123
|
left: "var(--ds-space-negative-050, -4px)",
|
|
124
|
-
border: "2px
|
|
124
|
+
border: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
125
125
|
borderRadius: 'inherit',
|
|
126
126
|
zIndex: -1
|
|
127
127
|
}
|
|
@@ -34,12 +34,12 @@ var shadowStyles = exports.shadowStyles = (0, _react.css)({
|
|
|
34
34
|
}), "& .".concat(shadowClassNames.RIGHT_SHADOW, ", .").concat(shadowClassNames.LEFT_SHADOW), {
|
|
35
35
|
position: 'relative'
|
|
36
36
|
}), "& .".concat(shadowClassNames.LEFT_SHADOW, "::before"), {
|
|
37
|
-
background: "linear-gradient(to left, transparent 0, ".concat("var(--ds-shadow-overflow-spread, #1E1F2129)", " 140% ), linear-gradient( to right, ", "var(--ds-shadow-overflow-perimeter,
|
|
37
|
+
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)"),
|
|
38
38
|
top: 0,
|
|
39
39
|
left: 0,
|
|
40
40
|
display: 'block'
|
|
41
41
|
}), "& .".concat(shadowClassNames.RIGHT_SHADOW, "::after"), {
|
|
42
|
-
background: "linear-gradient(to right, transparent 0, ".concat("var(--ds-shadow-overflow-spread, #1E1F2129)", " 140% ), linear-gradient( to left, ", "var(--ds-shadow-overflow-perimeter,
|
|
42
|
+
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)"),
|
|
43
43
|
right: 0,
|
|
44
44
|
top: 0,
|
|
45
45
|
display: 'block'
|
|
@@ -118,16 +118,16 @@ var smartCardStyles = exports.smartCardStyles = (0, _react.css)((0, _definePrope
|
|
|
118
118
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
119
119
|
'.card-with-comment': {
|
|
120
120
|
background: "var(--ds-background-accent-yellow-subtler, #F5E989)",
|
|
121
|
-
borderBottom: "2px
|
|
121
|
+
borderBottom: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-accent-yellow, #B38600)"),
|
|
122
122
|
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)"
|
|
123
123
|
},
|
|
124
124
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
125
125
|
'.card': (0, _defineProperty2.default)({
|
|
126
126
|
paddingLeft: "var(--ds-space-025, 2px)",
|
|
127
127
|
paddingRight: "var(--ds-space-025, 2px)",
|
|
128
|
-
paddingTop: "var(--ds-space-100,
|
|
129
|
-
paddingBottom: "var(--ds-space-100,
|
|
130
|
-
marginBottom: "var(--ds-space-negative-100, -
|
|
128
|
+
paddingTop: "var(--ds-space-100, 8px)",
|
|
129
|
+
paddingBottom: "var(--ds-space-100, 8px)",
|
|
130
|
+
marginBottom: "var(--ds-space-negative-100, -8px)"
|
|
131
131
|
}, ".".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a:focus"), [
|
|
132
132
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
133
133
|
_selectionStyles.boxShadowSelectionStyles,
|
|
@@ -222,9 +222,9 @@ var smartCardStylesWithSearchMatch = exports.smartCardStylesWithSearchMatch = (0
|
|
|
222
222
|
'.card': (0, _defineProperty2.default)({
|
|
223
223
|
paddingLeft: "var(--ds-space-025, 2px)",
|
|
224
224
|
paddingRight: "var(--ds-space-025, 2px)",
|
|
225
|
-
paddingTop: "var(--ds-space-100,
|
|
226
|
-
paddingBottom: "var(--ds-space-100,
|
|
227
|
-
marginBottom: "var(--ds-space-negative-100, -
|
|
225
|
+
paddingTop: "var(--ds-space-100, 8px)",
|
|
226
|
+
paddingBottom: "var(--ds-space-100, 8px)",
|
|
227
|
+
marginBottom: "var(--ds-space-negative-100, -8px)"
|
|
228
228
|
}, ".".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a:focus"), [
|
|
229
229
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
230
230
|
_selectionStyles.boxShadowSelectionStyles,
|
|
@@ -323,9 +323,9 @@ var smartCardStylesWithSearchMatchAndBlockMenuDangerStyles = exports.smartCardSt
|
|
|
323
323
|
'.card': (0, _defineProperty2.default)({
|
|
324
324
|
paddingLeft: "var(--ds-space-025, 2px)",
|
|
325
325
|
paddingRight: "var(--ds-space-025, 2px)",
|
|
326
|
-
paddingTop: "var(--ds-space-100,
|
|
327
|
-
paddingBottom: "var(--ds-space-100,
|
|
328
|
-
marginBottom: "var(--ds-space-negative-100, -
|
|
326
|
+
paddingTop: "var(--ds-space-100, 8px)",
|
|
327
|
+
paddingBottom: "var(--ds-space-100, 8px)",
|
|
328
|
+
marginBottom: "var(--ds-space-negative-100, -8px)"
|
|
329
329
|
}, ".".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a:focus"), [
|
|
330
330
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
331
331
|
_selectionStyles.boxShadowSelectionStyles,
|
|
@@ -411,7 +411,7 @@ _selectionStyles.boxShadowSelectionStyles]), '&.danger', {
|
|
|
411
411
|
|
|
412
412
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
413
413
|
var smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness = exports.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness = (0, _react.css)((0, _defineProperty2.default)({}, "@container editor-area (max-width: ".concat(_editorSharedStyles.akEditorFullPageNarrowBreakout, "px)"), (0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(SmartCardSharedCssClassName.EMBED_CARD_CONTAINER), {
|
|
414
|
-
marginTop: "var(--ds-space-150,
|
|
414
|
+
marginTop: "var(--ds-space-150, 12px)"
|
|
415
415
|
}), ".".concat(SmartCardSharedCssClassName.EMBED_CARD_CONTAINER, ".ak-editor-selected-node .").concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div"),
|
|
416
416
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
417
417
|
[
|
|
@@ -421,7 +421,7 @@ var taskItemCheckboxStyles = exports.taskItemCheckboxStyles = (0, _react.css)((0
|
|
|
421
421
|
position: 'absolute',
|
|
422
422
|
width: "var(--ds-space-200, 16px)",
|
|
423
423
|
height: "var(--ds-space-200, 16px)",
|
|
424
|
-
border: "2px
|
|
424
|
+
border: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
425
425
|
borderRadius: "var(--ds-space-050, 4px)",
|
|
426
426
|
content: "''",
|
|
427
427
|
display: 'block',
|
|
@@ -592,7 +592,7 @@ var taskItemCheckboxStylesWithBlockTaskItem = exports.taskItemCheckboxStylesWith
|
|
|
592
592
|
position: 'absolute',
|
|
593
593
|
width: "var(--ds-space-200, 16px)",
|
|
594
594
|
height: "var(--ds-space-200, 16px)",
|
|
595
|
-
border: "2px
|
|
595
|
+
border: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
596
596
|
borderRadius: "var(--ds-space-050, 4px)",
|
|
597
597
|
content: "''",
|
|
598
598
|
display: 'block',
|
|
@@ -677,7 +677,7 @@ var taskItemNextCheckboxStyles = exports.taskItemNextCheckboxStyles = (0, _react
|
|
|
677
677
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
678
678
|
'&:focus + svg, &:checked:focus + svg': {
|
|
679
679
|
borderRadius: "var(--ds-radius-small, 0.25rem)",
|
|
680
|
-
outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #
|
|
680
|
+
outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
681
681
|
outlineOffset: "var(--ds-space-negative-025, -2px)"
|
|
682
682
|
},
|
|
683
683
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -80,14 +80,18 @@ var ToolbarNext = exports.ToolbarNext = function ToolbarNext(_ref) {
|
|
|
80
80
|
isDisabled: isDisabled,
|
|
81
81
|
popupsMountPoint: popupsMountPoint,
|
|
82
82
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
83
|
-
popupsScrollableElement: popupsScrollableElement
|
|
83
|
+
popupsScrollableElement: popupsScrollableElement
|
|
84
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
85
|
+
,
|
|
84
86
|
fireAnalyticsEvent: function fireAnalyticsEvent(payload) {
|
|
85
87
|
var _editorAPI$analytics;
|
|
86
88
|
editorAPI === null || editorAPI === void 0 || (_editorAPI$analytics = editorAPI.analytics) === null || _editorAPI$analytics === void 0 || _editorAPI$analytics.actions.fireAnalyticsEvent(payload);
|
|
87
89
|
}
|
|
88
90
|
}, /*#__PURE__*/_react.default.createElement(_editorToolbarModel.ToolbarModelRenderer, {
|
|
89
91
|
toolbar: toolbar,
|
|
90
|
-
components: components
|
|
92
|
+
components: components
|
|
93
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
94
|
+
,
|
|
91
95
|
fallbacks: {
|
|
92
96
|
group: _editorToolbar.ToolbarButtonGroup,
|
|
93
97
|
section: _editorToolbar.ToolbarSection,
|
|
@@ -16,6 +16,7 @@ var useElementWidth = exports.useElementWidth = function useElementWidth(ref, _r
|
|
|
16
16
|
setWidth = _React$useState2[1];
|
|
17
17
|
_react.default.useEffect(function () {
|
|
18
18
|
if (!skip && ref.current && !(0, _platformFeatureFlags.fg)('platform_editor_prevent_toolbar_width_reflow')) {
|
|
19
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
|
|
19
20
|
setWidth(Math.round(ref.current.getBoundingClientRect().width));
|
|
20
21
|
}
|
|
21
22
|
}, [skip, setWidth, ref]);
|
|
@@ -59,7 +59,9 @@ export const EditorInternal = /*#__PURE__*/memo(({
|
|
|
59
59
|
componentProps: props,
|
|
60
60
|
action: ACTION.RE_RENDERED,
|
|
61
61
|
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
62
|
-
handleAnalyticsEvent: handleAnalyticsEvent
|
|
62
|
+
handleAnalyticsEvent: handleAnalyticsEvent
|
|
63
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
64
|
+
,
|
|
63
65
|
propsToIgnore: ['defaultValue'],
|
|
64
66
|
useShallow: useShallow
|
|
65
67
|
}), jsx(ErrorBoundary, {
|
|
@@ -87,7 +89,9 @@ export const EditorInternal = /*#__PURE__*/memo(({
|
|
|
87
89
|
onEditorCreated: onEditorCreated,
|
|
88
90
|
onEditorDestroyed: onEditorDestroyed,
|
|
89
91
|
disabled: props.disabled,
|
|
90
|
-
preset: preset
|
|
92
|
+
preset: preset
|
|
93
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
94
|
+
,
|
|
91
95
|
render: ({
|
|
92
96
|
editor,
|
|
93
97
|
view,
|
|
@@ -820,7 +820,9 @@ export function ReactEditorView(props) {
|
|
|
820
820
|
id: EDIT_AREA_ID,
|
|
821
821
|
"aria-describedby": assistiveDescribedBy,
|
|
822
822
|
"data-editor-id": editorId.current,
|
|
823
|
-
onSSRMeasure: onSSRMeasure
|
|
823
|
+
onSSRMeasure: onSSRMeasure
|
|
824
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
825
|
+
,
|
|
824
826
|
onEditorStateChanged: state => {
|
|
825
827
|
ssrEditorStateRef.current = state;
|
|
826
828
|
// Notify listeners about the initial SSR state
|
|
@@ -852,6 +854,7 @@ export function ReactEditorView(props) {
|
|
|
852
854
|
startTimestampRef: firstRenderStartTimestampRef,
|
|
853
855
|
onSSRMeasure: onSSRMeasure
|
|
854
856
|
}, /*#__PURE__*/React.createElement(ReactEditorViewContext.Provider, {
|
|
857
|
+
// 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)
|
|
855
858
|
value: {
|
|
856
859
|
editorRef: editorRef,
|
|
857
860
|
editorView: viewRef.current,
|
|
@@ -12,6 +12,7 @@ export function fixExcludes(marks) {
|
|
|
12
12
|
markKeys.forEach(markKey => {
|
|
13
13
|
const mark = marks[markKey];
|
|
14
14
|
if (mark.excludes) {
|
|
15
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
|
|
15
16
|
mark.excludes = mark.excludes.split(' ').filter(group => markGroups.has(group)).join(' ');
|
|
16
17
|
}
|
|
17
18
|
});
|
|
@@ -4,7 +4,7 @@ import { css } from '@emotion/react';
|
|
|
4
4
|
export const 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)",
|
|
@@ -48,7 +48,7 @@ const chromelessEditorStylesNew = css({
|
|
|
48
48
|
margin: 0,
|
|
49
49
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
50
50
|
'& > :last-child': {
|
|
51
|
-
paddingBottom: "var(--ds-space-100,
|
|
51
|
+
paddingBottom: "var(--ds-space-100, 8px)"
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -100,7 +100,9 @@ export default class Editor extends React.Component {
|
|
|
100
100
|
animate: maxContentSizeReached
|
|
101
101
|
}, jsx(ChromelessEditorContainer, {
|
|
102
102
|
maxHeight: maxHeight,
|
|
103
|
-
minHeight: minHeight
|
|
103
|
+
minHeight: minHeight
|
|
104
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
105
|
+
,
|
|
104
106
|
containerRef: ref => this.containerElement = ref
|
|
105
107
|
}, jsx(EditorContentContainer
|
|
106
108
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
@@ -39,7 +39,7 @@ const commentEditorStylesOld = css({
|
|
|
39
39
|
},
|
|
40
40
|
minWidth: '272px',
|
|
41
41
|
height: 'auto',
|
|
42
|
-
backgroundColor: "var(--ds-background-input,
|
|
42
|
+
backgroundColor: "var(--ds-background-input, #FFFFFF)",
|
|
43
43
|
border: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border-input, #8C8F97)"}`,
|
|
44
44
|
boxSizing: 'border-box',
|
|
45
45
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -56,7 +56,7 @@ const commentEditorStyles = css({
|
|
|
56
56
|
},
|
|
57
57
|
minWidth: '272px',
|
|
58
58
|
height: 'auto',
|
|
59
|
-
backgroundColor: "var(--ds-background-input,
|
|
59
|
+
backgroundColor: "var(--ds-background-input, #FFFFFF)",
|
|
60
60
|
border: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border-input, #8C8F97)"}`,
|
|
61
61
|
boxSizing: 'border-box',
|
|
62
62
|
borderRadius: "var(--ds-radius-medium, 6px)",
|
|
@@ -253,7 +253,9 @@ export const CommentEditorWithIntl = props => {
|
|
|
253
253
|
width
|
|
254
254
|
}) => {
|
|
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({
|
|
@@ -19,7 +19,7 @@ const mainToolbarWrapperStyleNew = css({
|
|
|
19
19
|
padding: `${"var(--ds-space-100, 8px)"} ${"var(--ds-space-100, 8px)"} 0`,
|
|
20
20
|
display: 'flex',
|
|
21
21
|
height: 'auto',
|
|
22
|
-
backgroundColor: "var(--ds-surface,
|
|
22
|
+
backgroundColor: "var(--ds-surface, #FFFFFF)",
|
|
23
23
|
boxShadow: 'none',
|
|
24
24
|
paddingLeft: "var(--ds-space-250, 20px)",
|
|
25
25
|
// 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 const 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 ${
|
|
10
|
+
border: `1px solid ${"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 const 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
|
}
|
|
@@ -80,7 +80,9 @@ class SwappableContentAreaInner extends React.PureComponent {
|
|
|
80
80
|
timeout: this.state.mounted ? animSpeedMs : 0,
|
|
81
81
|
in: !!pluginContent,
|
|
82
82
|
mountOnEnter: true,
|
|
83
|
-
unmountOnExit: true
|
|
83
|
+
unmountOnExit: true
|
|
84
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
85
|
+
,
|
|
84
86
|
onExited: () => this.unsetPluginContent()
|
|
85
87
|
}, currentPluginContent);
|
|
86
88
|
});
|
|
@@ -170,7 +170,7 @@ export const codeBlockStyles = css({
|
|
|
170
170
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
171
171
|
lineHeight: '1.5rem',
|
|
172
172
|
textAlign: 'right',
|
|
173
|
-
color: "var(--ds-text-subtlest, #
|
|
173
|
+
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
174
174
|
boxSizing: 'content-box'
|
|
175
175
|
}
|
|
176
176
|
},
|
|
@@ -15,8 +15,8 @@ export const 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)"} 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 const expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes = cs
|
|
|
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
|
}
|
|
@@ -396,7 +396,7 @@ export const getExtensionStyles = contentMode => {
|
|
|
396
396
|
'.bodiedExtension-content-inner-wrapper': {
|
|
397
397
|
margin: `0 ${"var(--ds-space-negative-250, -20px)"}`,
|
|
398
398
|
padding: `${"var(--ds-space-200, 16px)"} ${"var(--ds-space-250, 20px)"}`,
|
|
399
|
-
border:
|
|
399
|
+
border: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #0B120E24)"}`,
|
|
400
400
|
borderRadius: "var(--ds-radius-small, 3px)"
|
|
401
401
|
},
|
|
402
402
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -8,7 +8,7 @@ export const findReplaceStyles = css({
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
|
|
9
9
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
10
10
|
backgroundColor: "var(--ds-background-accent-teal-subtlest, #E7F9FF)",
|
|
11
|
-
boxShadow: `${"var(--ds-shadow-raised,
|
|
11
|
+
boxShadow: `${"var(--ds-shadow-raised, 0px 1px 1px #1E1F2140, 0px 0px 1px #1E1F214f)"}, inset 0 0 0 1px ${"var(--ds-border-input, #8C8F97)"}`
|
|
12
12
|
},
|
|
13
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
14
14
|
'.selected-search-match': {
|