@atlaskit/editor-core 215.17.1 → 215.17.3
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 +19 -0
- package/dist/cjs/ui/EditorContentContainer/styles/expandStyles.js +8 -11
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/expandStyles.js +8 -11
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/expandStyles.js +8 -11
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.17.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ed556ceff1790`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ed556ceff1790) -
|
|
8
|
+
Update selectionExtension config to accept lozenge in menu button
|
|
9
|
+
- [`6c008fc45876a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6c008fc45876a) -
|
|
10
|
+
Fix incorrect font family on expand input.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 215.17.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [`582b3b46480e1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/582b3b46480e1) -
|
|
18
|
+
NO-ISSUE Flipped false evaluations of editor_tinymce_full_width_mode from false to !true to
|
|
19
|
+
prevent them from evaluating as a null value
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 215.17.1
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -62,7 +62,7 @@ var expandStyles = exports.expandStyles = (0, _react.css)({
|
|
|
62
62
|
backgroundColor: "var(--ds-blanket-selected, #388BFF14)"
|
|
63
63
|
},
|
|
64
64
|
// SelectionStyle.Border (common case)
|
|
65
|
-
border: "1px
|
|
65
|
+
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border-selected, #1868DB)"),
|
|
66
66
|
// If fg('platform_editor_nested_dnd_styles_changes') is true,
|
|
67
67
|
// then we'll also need the rest of the selection styles for blanket
|
|
68
68
|
|
|
@@ -84,10 +84,8 @@ var expandStyles = exports.expandStyles = (0, _react.css)({
|
|
|
84
84
|
},
|
|
85
85
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
86
86
|
'.ProseMirror > .ak-editor-expand__type-expand, .fabric-editor-breakout-mark-dom > .ak-editor-expand__type-expand': {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
90
|
-
marginRight: '-12px'
|
|
87
|
+
marginLeft: "var(--ds-space-negative-150, -12px)",
|
|
88
|
+
marginRight: "var(--ds-space-negative-150, -12px)"
|
|
91
89
|
},
|
|
92
90
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
93
91
|
'.ak-editor-expand__content': {
|
|
@@ -180,7 +178,7 @@ var expandStyles = exports.expandStyles = (0, _react.css)({
|
|
|
180
178
|
cursor: 'not-allowed'
|
|
181
179
|
},
|
|
182
180
|
'&:focus-visible': {
|
|
183
|
-
outline: "2px
|
|
181
|
+
outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
184
182
|
outlineOffset: "var(--ds-space-025, 2px)"
|
|
185
183
|
},
|
|
186
184
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
@@ -273,7 +271,8 @@ var expandStylesMixin_fg_platform_visual_refresh_icons = exports.expandStylesMix
|
|
|
273
271
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
274
272
|
'.ak-editor-expand__title-input': {
|
|
275
273
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
276
|
-
lineHeight: 1
|
|
274
|
+
lineHeight: 1,
|
|
275
|
+
fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
277
276
|
}
|
|
278
277
|
});
|
|
279
278
|
|
|
@@ -281,10 +280,8 @@ var expandStylesMixin_fg_platform_visual_refresh_icons = exports.expandStylesMix
|
|
|
281
280
|
var expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes = exports.expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes = (0, _react.css)({
|
|
282
281
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
283
282
|
'.ak-editor-content-area.appearance-full-page .ProseMirror > .ak-editor-expand__type-expand, .fabric-editor-breakout-mark-dom > .ak-editor-expand__type-expand': {
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
287
|
-
marginRight: '-20px'
|
|
283
|
+
marginLeft: "var(--ds-space-negative-250, -20px)",
|
|
284
|
+
marginRight: "var(--ds-space-negative-250, -20px)"
|
|
288
285
|
},
|
|
289
286
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
290
287
|
'.ak-editor-expand__expanded': {
|
|
@@ -55,7 +55,7 @@ export const expandStyles = css({
|
|
|
55
55
|
backgroundColor: "var(--ds-blanket-selected, #388BFF14)"
|
|
56
56
|
},
|
|
57
57
|
// SelectionStyle.Border (common case)
|
|
58
|
-
border:
|
|
58
|
+
border: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border-selected, #1868DB)"}`,
|
|
59
59
|
// If fg('platform_editor_nested_dnd_styles_changes') is true,
|
|
60
60
|
// then we'll also need the rest of the selection styles for blanket
|
|
61
61
|
|
|
@@ -77,10 +77,8 @@ export const expandStyles = css({
|
|
|
77
77
|
},
|
|
78
78
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
79
79
|
'.ProseMirror > .ak-editor-expand__type-expand, .fabric-editor-breakout-mark-dom > .ak-editor-expand__type-expand': {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
83
|
-
marginRight: '-12px'
|
|
80
|
+
marginLeft: "var(--ds-space-negative-150, -12px)",
|
|
81
|
+
marginRight: "var(--ds-space-negative-150, -12px)"
|
|
84
82
|
},
|
|
85
83
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
86
84
|
'.ak-editor-expand__content': {
|
|
@@ -173,7 +171,7 @@ export const expandStyles = css({
|
|
|
173
171
|
cursor: 'not-allowed'
|
|
174
172
|
},
|
|
175
173
|
'&:focus-visible': {
|
|
176
|
-
outline:
|
|
174
|
+
outline: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #4688EC)"}`,
|
|
177
175
|
outlineOffset: "var(--ds-space-025, 2px)"
|
|
178
176
|
},
|
|
179
177
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
@@ -266,7 +264,8 @@ export const expandStylesMixin_fg_platform_visual_refresh_icons = css({
|
|
|
266
264
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
267
265
|
'.ak-editor-expand__title-input': {
|
|
268
266
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
269
|
-
lineHeight: 1
|
|
267
|
+
lineHeight: 1,
|
|
268
|
+
fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
270
269
|
}
|
|
271
270
|
});
|
|
272
271
|
|
|
@@ -274,10 +273,8 @@ export const expandStylesMixin_fg_platform_visual_refresh_icons = css({
|
|
|
274
273
|
export const expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes = css({
|
|
275
274
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
276
275
|
'.ak-editor-content-area.appearance-full-page .ProseMirror > .ak-editor-expand__type-expand, .fabric-editor-breakout-mark-dom > .ak-editor-expand__type-expand': {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
280
|
-
marginRight: '-20px'
|
|
276
|
+
marginLeft: "var(--ds-space-negative-250, -20px)",
|
|
277
|
+
marginRight: "var(--ds-space-negative-250, -20px)"
|
|
281
278
|
},
|
|
282
279
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
283
280
|
'.ak-editor-expand__expanded': {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "215.17.
|
|
2
|
+
export const version = "215.17.2";
|
|
@@ -55,7 +55,7 @@ export var expandStyles = css({
|
|
|
55
55
|
backgroundColor: "var(--ds-blanket-selected, #388BFF14)"
|
|
56
56
|
},
|
|
57
57
|
// SelectionStyle.Border (common case)
|
|
58
|
-
border: "1px
|
|
58
|
+
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border-selected, #1868DB)"),
|
|
59
59
|
// If fg('platform_editor_nested_dnd_styles_changes') is true,
|
|
60
60
|
// then we'll also need the rest of the selection styles for blanket
|
|
61
61
|
|
|
@@ -77,10 +77,8 @@ export var expandStyles = css({
|
|
|
77
77
|
},
|
|
78
78
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
79
79
|
'.ProseMirror > .ak-editor-expand__type-expand, .fabric-editor-breakout-mark-dom > .ak-editor-expand__type-expand': {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
83
|
-
marginRight: '-12px'
|
|
80
|
+
marginLeft: "var(--ds-space-negative-150, -12px)",
|
|
81
|
+
marginRight: "var(--ds-space-negative-150, -12px)"
|
|
84
82
|
},
|
|
85
83
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
86
84
|
'.ak-editor-expand__content': {
|
|
@@ -173,7 +171,7 @@ export var expandStyles = css({
|
|
|
173
171
|
cursor: 'not-allowed'
|
|
174
172
|
},
|
|
175
173
|
'&:focus-visible': {
|
|
176
|
-
outline: "2px
|
|
174
|
+
outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
177
175
|
outlineOffset: "var(--ds-space-025, 2px)"
|
|
178
176
|
},
|
|
179
177
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
@@ -266,7 +264,8 @@ export var expandStylesMixin_fg_platform_visual_refresh_icons = css({
|
|
|
266
264
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
267
265
|
'.ak-editor-expand__title-input': {
|
|
268
266
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
269
|
-
lineHeight: 1
|
|
267
|
+
lineHeight: 1,
|
|
268
|
+
fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
270
269
|
}
|
|
271
270
|
});
|
|
272
271
|
|
|
@@ -274,10 +273,8 @@ export var expandStylesMixin_fg_platform_visual_refresh_icons = css({
|
|
|
274
273
|
export var expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes = css({
|
|
275
274
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
276
275
|
'.ak-editor-content-area.appearance-full-page .ProseMirror > .ak-editor-expand__type-expand, .fabric-editor-breakout-mark-dom > .ak-editor-expand__type-expand': {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
280
|
-
marginRight: '-20px'
|
|
276
|
+
marginLeft: "var(--ds-space-negative-250, -20px)",
|
|
277
|
+
marginRight: "var(--ds-space-negative-250, -20px)"
|
|
281
278
|
},
|
|
282
279
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
283
280
|
'.ak-editor-expand__expanded': {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "215.17.
|
|
2
|
+
export var version = "215.17.2";
|