@atlaskit/editor-core 215.17.2 → 215.17.4

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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 215.17.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`840338033507a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/840338033507a) -
8
+ Migrating custom icons behind feature flag.
9
+ - Updated dependencies
10
+
11
+ ## 215.17.3
12
+
13
+ ### Patch Changes
14
+
15
+ - [`ed556ceff1790`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ed556ceff1790) -
16
+ Update selectionExtension config to accept lozenge in menu button
17
+ - [`6c008fc45876a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6c008fc45876a) -
18
+ Fix incorrect font family on expand input.
19
+ - Updated dependencies
20
+
3
21
  ## 215.17.2
4
22
 
5
23
  ### 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 solid ".concat("var(--ds-border-selected, #1868DB)"),
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
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
88
- marginLeft: '-12px',
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 solid ".concat("var(--ds-border-focused, #4688EC)"),
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
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
285
- marginLeft: '-20px',
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': {
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "215.17.1";
8
+ var version = exports.version = "215.17.3";
@@ -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: `1px solid ${"var(--ds-border-selected, #1868DB)"}`,
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
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
81
- marginLeft: '-12px',
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: `2px solid ${"var(--ds-border-focused, #4688EC)"}`,
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
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
278
- marginLeft: '-20px',
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.1";
2
+ export const version = "215.17.3";
@@ -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 solid ".concat("var(--ds-border-selected, #1868DB)"),
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
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
81
- marginLeft: '-12px',
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 solid ".concat("var(--ds-border-focused, #4688EC)"),
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
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
278
- marginLeft: '-20px',
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.1";
2
+ export var version = "215.17.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "215.17.2",
3
+ "version": "215.17.4",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -393,6 +393,9 @@
393
393
  },
394
394
  "rovo_chat_enable_skills_ui_m1": {
395
395
  "type": "boolean"
396
+ },
397
+ "platform-custom-icon-migration": {
398
+ "type": "boolean"
396
399
  }
397
400
  },
398
401
  "stricter": {