@atlaskit/editor-common 116.46.0 → 116.47.0

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.
Files changed (25) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/monitoring/error.js +1 -1
  3. package/dist/cjs/styles/shared/sync-block.js +7 -1
  4. package/dist/cjs/ui/DropList/index.js +1 -1
  5. package/dist/cjs/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.js +5 -0
  6. package/dist/cjs/ui-color/ColorPalette/Palettes/panelBackgroundPaletteNew.js +106 -0
  7. package/dist/cjs/ui-color/index.js +7 -0
  8. package/dist/es2019/monitoring/error.js +1 -1
  9. package/dist/es2019/styles/shared/sync-block.js +7 -1
  10. package/dist/es2019/ui/DropList/index.js +1 -1
  11. package/dist/es2019/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.js +5 -0
  12. package/dist/es2019/ui-color/ColorPalette/Palettes/panelBackgroundPaletteNew.js +95 -0
  13. package/dist/es2019/ui-color/index.js +1 -0
  14. package/dist/esm/monitoring/error.js +1 -1
  15. package/dist/esm/styles/shared/sync-block.js +7 -1
  16. package/dist/esm/ui/DropList/index.js +1 -1
  17. package/dist/esm/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.js +5 -0
  18. package/dist/esm/ui-color/ColorPalette/Palettes/panelBackgroundPaletteNew.js +99 -0
  19. package/dist/esm/ui-color/index.js +1 -0
  20. package/dist/types/styles/shared/sync-block.d.ts +6 -5
  21. package/dist/types/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.d.ts +5 -0
  22. package/dist/types/ui-color/ColorPalette/Palettes/panelBackgroundPaletteNew.d.ts +2 -0
  23. package/dist/types/ui-color/index.d.ts +1 -0
  24. package/package.json +5 -2
  25. package/ui-color/ColorPalette/panelBackgroundPaletteNew/package.json +10 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 116.47.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`7a9ec6f1fa018`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7a9ec6f1fa018) -
8
+ [EDITOR-7592] Add a new panel background color palette with expanded colors behind the lovability
9
+ experiment and patch gate.
10
+
11
+ ### Patch Changes
12
+
13
+ - [`472c37e82078b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/472c37e82078b) -
14
+ [ux] Fixed the source synced block placeholder disappearing after placing the cursor inside an
15
+ empty block and then clicking away from the editor.
16
+ - Updated dependencies
17
+
3
18
  ## 116.46.0
4
19
 
5
20
  ### Minor Changes
@@ -28,7 +28,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
28
28
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
29
29
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
30
30
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
31
- var packageVersion = "116.45.0";
31
+ var packageVersion = "116.46.0";
32
32
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
33
33
  // Remove URL as it has UGC
34
34
  // Ignored via go/ees007
@@ -20,7 +20,13 @@ var BodiedSyncBlockSharedCssClassName = exports.BodiedSyncBlockSharedCssClassNam
20
20
  prefix: bodiedPrefix,
21
21
  renderer: "".concat(bodiedPrefix, "__renderer"),
22
22
  content: "".concat(bodiedPrefix, "__content"),
23
- selectionInside: "".concat(bodiedPrefix, "__selection_inside")
23
+ selectionInside: "".concat(bodiedPrefix, "__selection_inside"),
24
+ // Applied by the node view when the block holds nothing but a single empty paragraph.
25
+ // Emptiness is derived from the ProseMirror document rather than the rendered DOM, because
26
+ // decorations (for example the selection marker's cursor widget) and ProseMirror's own
27
+ // separator/trailing-break hack nodes are injected as children of that paragraph and make
28
+ // DOM-shape heuristics unreliable. See EDITOR-8327.
29
+ empty: "".concat(bodiedPrefix, "__empty")
24
30
  };
25
31
 
26
32
  // Constant labelClassName value here has been inlined in css from EditorContentContainer, if you need to make
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "116.45.0";
27
+ var packageVersion = "116.46.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -66,6 +66,11 @@ var lightBackgroundPaletteTooltipMessages = exports.lightBackgroundPaletteToolti
66
66
  defaultMessage: 'Bold yellow',
67
67
  description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold yellow color option.'
68
68
  },
69
+ '#EFDD4E': {
70
+ id: 'fabric.theme.bold-yellow-new',
71
+ defaultMessage: 'Bold yellow',
72
+ description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold yellow color option.'
73
+ },
69
74
  '#FFEBE6': {
70
75
  id: 'fabric.theme.subtle-red',
71
76
  defaultMessage: 'Subtle red',
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.panelBackgroundPaletteNew = void 0;
8
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
10
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
11
+ // new palette for platform_editor_lovability_text_bg_color experiment
12
+ var panelBackgroundPaletteNew = exports.panelBackgroundPaletteNew = [{
13
+ label: 'White',
14
+ value: '#FFFFFF'
15
+ }, {
16
+ label: 'Subtle blue',
17
+ value: '#DEEBFF'
18
+ }, {
19
+ label: 'Subtle teal',
20
+ value: '#E6FCFF'
21
+ }, {
22
+ label: 'Subtle green',
23
+ value: '#E3FCEF'
24
+ }, {
25
+ label: 'Subtle lime',
26
+ value: '#EFFFD6'
27
+ }, {
28
+ label: 'Subtle yellow',
29
+ value: '#FFFAE6'
30
+ }, {
31
+ label: 'Subtle orange',
32
+ value: '#FFF5DB'
33
+ }, {
34
+ label: 'Subtle red',
35
+ value: '#FFEBE6'
36
+ }, {
37
+ label: 'Subtle magenta',
38
+ value: '#FFECF8'
39
+ }, {
40
+ label: 'Subtle purple',
41
+ value: '#EAE6FF'
42
+ }, {
43
+ label: 'Gray',
44
+ value: '#F4F5F7'
45
+ }, {
46
+ label: 'Blue',
47
+ value: '#B3D4FF'
48
+ }, {
49
+ label: 'Teal',
50
+ value: '#B3F5FF'
51
+ }, {
52
+ label: 'Green',
53
+ value: '#ABF5D1'
54
+ }, {
55
+ label: 'Lime',
56
+ value: '#D3F1A7'
57
+ }, {
58
+ label: 'Yellow',
59
+ value: '#FFF0B3'
60
+ }, {
61
+ label: 'Orange',
62
+ value: '#FCE4A6'
63
+ }, {
64
+ label: 'Red',
65
+ value: '#FFBDAD'
66
+ }, {
67
+ label: 'Magenta',
68
+ value: '#FDD0EC'
69
+ }, {
70
+ label: 'Purple',
71
+ value: '#C0B6F2'
72
+ }, {
73
+ label: 'Bold gray',
74
+ value: '#B7B9BE'
75
+ }, {
76
+ label: 'Bold blue',
77
+ value: '#ADCBFB'
78
+ }, {
79
+ label: 'Bold teal',
80
+ value: '#B1E4F7'
81
+ }, {
82
+ label: 'Bold green',
83
+ value: '#97EDC9'
84
+ }, {
85
+ label: 'Bold lime',
86
+ value: '#BDE97C'
87
+ }, {
88
+ label: 'Bold yellow',
89
+ value: '#EFDD4E'
90
+ }, {
91
+ label: 'Bold orange',
92
+ value: '#FBD779'
93
+ }, {
94
+ label: 'Bold red',
95
+ value: '#FFB8B2'
96
+ }, {
97
+ label: 'Bold magenta',
98
+ value: '#FCB6E1'
99
+ }, {
100
+ label: 'Bold purple',
101
+ value: '#E3BDFA'
102
+ }].map(function (color) {
103
+ return _objectSpread(_objectSpread({}, color), {}, {
104
+ border: "var(--ds-border, #0B120E24)"
105
+ });
106
+ });
@@ -142,6 +142,12 @@ Object.defineProperty(exports, "panelBackgroundPalette", {
142
142
  return _panelBackgroundPalette.panelBackgroundPalette;
143
143
  }
144
144
  });
145
+ Object.defineProperty(exports, "panelBackgroundPaletteNew", {
146
+ enumerable: true,
147
+ get: function get() {
148
+ return _panelBackgroundPaletteNew.panelBackgroundPaletteNew;
149
+ }
150
+ });
145
151
  Object.defineProperty(exports, "textColorPalette", {
146
152
  enumerable: true,
147
153
  get: function get() {
@@ -178,6 +184,7 @@ var _cellBackgroundColorPalette = _interopRequireDefault(require("./ColorPalette
178
184
  var _cellBackgroundColorPaletteNew = _interopRequireDefault(require("./ColorPalette/Palettes/cellBackgroundColorPaletteNew"));
179
185
  var _paletteMessages = _interopRequireDefault(require("./ColorPalette/Palettes/paletteMessages"));
180
186
  var _panelBackgroundPalette = require("./ColorPalette/Palettes/panelBackgroundPalette");
187
+ var _panelBackgroundPaletteNew = require("./ColorPalette/Palettes/panelBackgroundPaletteNew");
181
188
  var _textColorPalette = require("./ColorPalette/Palettes/textColorPalette");
182
189
  var _textColorPaletteNew = require("./ColorPalette/Palettes/textColorPaletteNew");
183
190
  var _highlightColorPalette = require("./ColorPalette/Palettes/highlightColorPalette");
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
14
14
  const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
15
15
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
16
16
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
17
- const packageVersion = "116.45.0";
17
+ const packageVersion = "116.46.0";
18
18
  const sanitiseSentryEvents = (data, _hint) => {
19
19
  // Remove URL as it has UGC
20
20
  // Ignored via go/ees007
@@ -14,7 +14,13 @@ export const BodiedSyncBlockSharedCssClassName = {
14
14
  prefix: bodiedPrefix,
15
15
  renderer: `${bodiedPrefix}__renderer`,
16
16
  content: `${bodiedPrefix}__content`,
17
- selectionInside: `${bodiedPrefix}__selection_inside`
17
+ selectionInside: `${bodiedPrefix}__selection_inside`,
18
+ // Applied by the node view when the block holds nothing but a single empty paragraph.
19
+ // Emptiness is derived from the ProseMirror document rather than the rendered DOM, because
20
+ // decorations (for example the selection marker's cursor widget) and ProseMirror's own
21
+ // separator/trailing-break hack nodes are injected as children of that paragraph and make
22
+ // DOM-shape heuristics unreliable. See EDITOR-8327.
23
+ empty: `${bodiedPrefix}__empty`
18
24
  };
19
25
 
20
26
  // Constant labelClassName value here has been inlined in css from EditorContentContainer, if you need to make
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "116.45.0";
17
+ const packageVersion = "116.46.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -60,6 +60,11 @@ export const lightBackgroundPaletteTooltipMessages = defineMessages({
60
60
  defaultMessage: 'Bold yellow',
61
61
  description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold yellow color option.'
62
62
  },
63
+ '#EFDD4E': {
64
+ id: 'fabric.theme.bold-yellow-new',
65
+ defaultMessage: 'Bold yellow',
66
+ description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold yellow color option.'
67
+ },
63
68
  '#FFEBE6': {
64
69
  id: 'fabric.theme.subtle-red',
65
70
  defaultMessage: 'Subtle red',
@@ -0,0 +1,95 @@
1
+ // new palette for platform_editor_lovability_text_bg_color experiment
2
+ export const panelBackgroundPaletteNew = [{
3
+ label: 'White',
4
+ value: '#FFFFFF'
5
+ }, {
6
+ label: 'Subtle blue',
7
+ value: '#DEEBFF'
8
+ }, {
9
+ label: 'Subtle teal',
10
+ value: '#E6FCFF'
11
+ }, {
12
+ label: 'Subtle green',
13
+ value: '#E3FCEF'
14
+ }, {
15
+ label: 'Subtle lime',
16
+ value: '#EFFFD6'
17
+ }, {
18
+ label: 'Subtle yellow',
19
+ value: '#FFFAE6'
20
+ }, {
21
+ label: 'Subtle orange',
22
+ value: '#FFF5DB'
23
+ }, {
24
+ label: 'Subtle red',
25
+ value: '#FFEBE6'
26
+ }, {
27
+ label: 'Subtle magenta',
28
+ value: '#FFECF8'
29
+ }, {
30
+ label: 'Subtle purple',
31
+ value: '#EAE6FF'
32
+ }, {
33
+ label: 'Gray',
34
+ value: '#F4F5F7'
35
+ }, {
36
+ label: 'Blue',
37
+ value: '#B3D4FF'
38
+ }, {
39
+ label: 'Teal',
40
+ value: '#B3F5FF'
41
+ }, {
42
+ label: 'Green',
43
+ value: '#ABF5D1'
44
+ }, {
45
+ label: 'Lime',
46
+ value: '#D3F1A7'
47
+ }, {
48
+ label: 'Yellow',
49
+ value: '#FFF0B3'
50
+ }, {
51
+ label: 'Orange',
52
+ value: '#FCE4A6'
53
+ }, {
54
+ label: 'Red',
55
+ value: '#FFBDAD'
56
+ }, {
57
+ label: 'Magenta',
58
+ value: '#FDD0EC'
59
+ }, {
60
+ label: 'Purple',
61
+ value: '#C0B6F2'
62
+ }, {
63
+ label: 'Bold gray',
64
+ value: '#B7B9BE'
65
+ }, {
66
+ label: 'Bold blue',
67
+ value: '#ADCBFB'
68
+ }, {
69
+ label: 'Bold teal',
70
+ value: '#B1E4F7'
71
+ }, {
72
+ label: 'Bold green',
73
+ value: '#97EDC9'
74
+ }, {
75
+ label: 'Bold lime',
76
+ value: '#BDE97C'
77
+ }, {
78
+ label: 'Bold yellow',
79
+ value: '#EFDD4E'
80
+ }, {
81
+ label: 'Bold orange',
82
+ value: '#FBD779'
83
+ }, {
84
+ label: 'Bold red',
85
+ value: '#FFB8B2'
86
+ }, {
87
+ label: 'Bold magenta',
88
+ value: '#FCB6E1'
89
+ }, {
90
+ label: 'Bold purple',
91
+ value: '#E3BDFA'
92
+ }].map(color => ({
93
+ ...color,
94
+ border: "var(--ds-border, #0B120E24)"
95
+ }));
@@ -13,6 +13,7 @@ export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/c
13
13
  export { default as cellBackgroundColorPaletteNew } from './ColorPalette/Palettes/cellBackgroundColorPaletteNew';
14
14
  export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
15
15
  export { panelBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
16
+ export { panelBackgroundPaletteNew } from './ColorPalette/Palettes/panelBackgroundPaletteNew';
16
17
  export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
17
18
  export { textColorPaletteNew } from './ColorPalette/Palettes/textColorPaletteNew';
18
19
  export { highlightColorPalette, REMOVE_HIGHLIGHT_COLOR } from './ColorPalette/Palettes/highlightColorPalette';
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
20
20
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
21
21
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
22
22
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
23
- var packageVersion = "116.45.0";
23
+ var packageVersion = "116.46.0";
24
24
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
25
25
  // Remove URL as it has UGC
26
26
  // Ignored via go/ees007
@@ -14,7 +14,13 @@ export var BodiedSyncBlockSharedCssClassName = {
14
14
  prefix: bodiedPrefix,
15
15
  renderer: "".concat(bodiedPrefix, "__renderer"),
16
16
  content: "".concat(bodiedPrefix, "__content"),
17
- selectionInside: "".concat(bodiedPrefix, "__selection_inside")
17
+ selectionInside: "".concat(bodiedPrefix, "__selection_inside"),
18
+ // Applied by the node view when the block holds nothing but a single empty paragraph.
19
+ // Emptiness is derived from the ProseMirror document rather than the rendered DOM, because
20
+ // decorations (for example the selection marker's cursor widget) and ProseMirror's own
21
+ // separator/trailing-break hack nodes are injected as children of that paragraph and make
22
+ // DOM-shape heuristics unreliable. See EDITOR-8327.
23
+ empty: "".concat(bodiedPrefix, "__empty")
18
24
  };
19
25
 
20
26
  // Constant labelClassName value here has been inlined in css from EditorContentContainer, if you need to make
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "116.45.0";
24
+ var packageVersion = "116.46.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -60,6 +60,11 @@ export var lightBackgroundPaletteTooltipMessages = defineMessages({
60
60
  defaultMessage: 'Bold yellow',
61
61
  description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold yellow color option.'
62
62
  },
63
+ '#EFDD4E': {
64
+ id: 'fabric.theme.bold-yellow-new',
65
+ defaultMessage: 'Bold yellow',
66
+ description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold yellow color option.'
67
+ },
63
68
  '#FFEBE6': {
64
69
  id: 'fabric.theme.subtle-red',
65
70
  defaultMessage: 'Subtle red',
@@ -0,0 +1,99 @@
1
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ // new palette for platform_editor_lovability_text_bg_color experiment
5
+ export var panelBackgroundPaletteNew = [{
6
+ label: 'White',
7
+ value: '#FFFFFF'
8
+ }, {
9
+ label: 'Subtle blue',
10
+ value: '#DEEBFF'
11
+ }, {
12
+ label: 'Subtle teal',
13
+ value: '#E6FCFF'
14
+ }, {
15
+ label: 'Subtle green',
16
+ value: '#E3FCEF'
17
+ }, {
18
+ label: 'Subtle lime',
19
+ value: '#EFFFD6'
20
+ }, {
21
+ label: 'Subtle yellow',
22
+ value: '#FFFAE6'
23
+ }, {
24
+ label: 'Subtle orange',
25
+ value: '#FFF5DB'
26
+ }, {
27
+ label: 'Subtle red',
28
+ value: '#FFEBE6'
29
+ }, {
30
+ label: 'Subtle magenta',
31
+ value: '#FFECF8'
32
+ }, {
33
+ label: 'Subtle purple',
34
+ value: '#EAE6FF'
35
+ }, {
36
+ label: 'Gray',
37
+ value: '#F4F5F7'
38
+ }, {
39
+ label: 'Blue',
40
+ value: '#B3D4FF'
41
+ }, {
42
+ label: 'Teal',
43
+ value: '#B3F5FF'
44
+ }, {
45
+ label: 'Green',
46
+ value: '#ABF5D1'
47
+ }, {
48
+ label: 'Lime',
49
+ value: '#D3F1A7'
50
+ }, {
51
+ label: 'Yellow',
52
+ value: '#FFF0B3'
53
+ }, {
54
+ label: 'Orange',
55
+ value: '#FCE4A6'
56
+ }, {
57
+ label: 'Red',
58
+ value: '#FFBDAD'
59
+ }, {
60
+ label: 'Magenta',
61
+ value: '#FDD0EC'
62
+ }, {
63
+ label: 'Purple',
64
+ value: '#C0B6F2'
65
+ }, {
66
+ label: 'Bold gray',
67
+ value: '#B7B9BE'
68
+ }, {
69
+ label: 'Bold blue',
70
+ value: '#ADCBFB'
71
+ }, {
72
+ label: 'Bold teal',
73
+ value: '#B1E4F7'
74
+ }, {
75
+ label: 'Bold green',
76
+ value: '#97EDC9'
77
+ }, {
78
+ label: 'Bold lime',
79
+ value: '#BDE97C'
80
+ }, {
81
+ label: 'Bold yellow',
82
+ value: '#EFDD4E'
83
+ }, {
84
+ label: 'Bold orange',
85
+ value: '#FBD779'
86
+ }, {
87
+ label: 'Bold red',
88
+ value: '#FFB8B2'
89
+ }, {
90
+ label: 'Bold magenta',
91
+ value: '#FCB6E1'
92
+ }, {
93
+ label: 'Bold purple',
94
+ value: '#E3BDFA'
95
+ }].map(function (color) {
96
+ return _objectSpread(_objectSpread({}, color), {}, {
97
+ border: "var(--ds-border, #0B120E24)"
98
+ });
99
+ });
@@ -13,6 +13,7 @@ export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/c
13
13
  export { default as cellBackgroundColorPaletteNew } from './ColorPalette/Palettes/cellBackgroundColorPaletteNew';
14
14
  export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
15
15
  export { panelBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
16
+ export { panelBackgroundPaletteNew } from './ColorPalette/Palettes/panelBackgroundPaletteNew';
16
17
  export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
17
18
  export { textColorPaletteNew } from './ColorPalette/Palettes/textColorPaletteNew';
18
19
  export { highlightColorPalette, REMOVE_HIGHLIGHT_COLOR } from './ColorPalette/Palettes/highlightColorPalette';
@@ -1,14 +1,15 @@
1
1
  export declare const SyncBlockSharedCssClassName: {
2
- prefix: string;
3
- renderer: string;
4
2
  error: string;
5
3
  loading: string;
4
+ prefix: string;
5
+ renderer: string;
6
6
  };
7
7
  export declare const SyncBlockRendererDataAttributeName = "data-sync-block-renderer";
8
8
  export declare const BodiedSyncBlockSharedCssClassName: {
9
+ content: string;
10
+ empty: string;
9
11
  prefix: string;
10
12
  renderer: string;
11
- content: string;
12
13
  selectionInside: string;
13
14
  };
14
15
  export declare const SyncBlockLabelSharedCssClassName: {
@@ -19,8 +20,8 @@ export declare const viewModeClassName = "view-mode";
19
20
  export declare const creationLoadingClassName = "creation-loading";
20
21
  export declare const draggingClassName = "user-is-dragging";
21
22
  export declare const SyncBlockStateCssClassName: {
22
- disabledClassName: string;
23
- viewModeClassName: string;
24
23
  creationLoadingClassName: string;
24
+ disabledClassName: string;
25
25
  draggingClassName: string;
26
+ viewModeClassName: string;
26
27
  };
@@ -119,6 +119,11 @@ export declare const lightBackgroundPaletteTooltipMessages: {
119
119
  description: string;
120
120
  id: string;
121
121
  };
122
+ '#EFDD4E': {
123
+ defaultMessage: string;
124
+ description: string;
125
+ id: string;
126
+ };
122
127
  '#FFEBE6': {
123
128
  defaultMessage: string;
124
129
  description: string;
@@ -0,0 +1,2 @@
1
+ import type { PaletteColor } from './type';
2
+ export declare const panelBackgroundPaletteNew: PaletteColor[];
@@ -10,6 +10,7 @@ export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/c
10
10
  export { default as cellBackgroundColorPaletteNew } from './ColorPalette/Palettes/cellBackgroundColorPaletteNew';
11
11
  export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
12
12
  export { panelBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
13
+ export { panelBackgroundPaletteNew } from './ColorPalette/Palettes/panelBackgroundPaletteNew';
13
14
  export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
14
15
  export { textColorPaletteNew } from './ColorPalette/Palettes/textColorPaletteNew';
15
16
  export { highlightColorPalette, REMOVE_HIGHLIGHT_COLOR, } from './ColorPalette/Palettes/highlightColorPalette';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "116.46.0",
3
+ "version": "116.47.0",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -80,7 +80,7 @@
80
80
  "@atlaskit/task-decision": "^21.8.0",
81
81
  "@atlaskit/teams-app-config": "^2.1.0",
82
82
  "@atlaskit/textfield": "^9.1.0",
83
- "@atlaskit/tmp-editor-statsig": "^135.8.0",
83
+ "@atlaskit/tmp-editor-statsig": "^135.10.0",
84
84
  "@atlaskit/tokens": "^16.3.0",
85
85
  "@atlaskit/tooltip": "^24.0.0",
86
86
  "@atlaskit/width-detector": "^6.2.0",
@@ -165,6 +165,9 @@
165
165
  "rovo_chat_agent_selection": {
166
166
  "type": "boolean"
167
167
  },
168
+ "platform_editor_lovability_text_bg_color_patch_2": {
169
+ "type": "boolean"
170
+ },
168
171
  "platform_editor_updated_dropdown_colors": {
169
172
  "type": "boolean"
170
173
  },
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/ui-color/ColorPalette/panelBackgroundPaletteNew",
3
+ "main": "../../../dist/cjs/ui-color/ColorPalette/Palettes/panelBackgroundPaletteNew.js",
4
+ "module": "../../../dist/esm/ui-color/ColorPalette/Palettes/panelBackgroundPaletteNew.js",
5
+ "module:es2019": "../../../dist/es2019/ui-color/ColorPalette/Palettes/panelBackgroundPaletteNew.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../../dist/types/ui-color/ColorPalette/Palettes/panelBackgroundPaletteNew.d.ts"
10
+ }