@atlaskit/editor-common 92.1.2 → 93.1.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 (207) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/afm-cc/tsconfig.json +0 -3
  3. package/afm-jira/tsconfig.json +0 -3
  4. package/afm-post-office/tsconfig.json +0 -3
  5. package/dist/cjs/analytics/types/enums.js +2 -0
  6. package/dist/cjs/element-browser/components/CategoryList.js +2 -3
  7. package/dist/cjs/element-browser/components/ElementList/ElementList.js +11 -13
  8. package/dist/cjs/element-browser/components/ElementSearch.js +1 -2
  9. package/dist/cjs/element-browser/constants.js +1 -6
  10. package/dist/cjs/extensibility/Extension/Extension/styles.js +3 -4
  11. package/dist/cjs/extensibility/Extension/InlineExtension/styles.js +1 -2
  12. package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +6 -7
  13. package/dist/cjs/extensibility/Extension/styles.js +3 -4
  14. package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +2 -3
  15. package/dist/cjs/icons/shared/SteppedRainbowIconDecoration.js +2 -3
  16. package/dist/cjs/keymaps/index.js +6 -5
  17. package/dist/cjs/link/ConfigureLinkOverlay/StyledButton.js +4 -5
  18. package/dist/cjs/link/ConfigureLinkOverlay/index.js +2 -4
  19. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -2
  20. package/dist/cjs/link/LinkSearch/LinkSearchList.js +1 -2
  21. package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +4 -6
  22. package/dist/cjs/media-inline/constants.js +10 -8
  23. package/dist/cjs/media-inline/styles.js +1 -2
  24. package/dist/cjs/media-inline/views/error-view.js +1 -2
  25. package/dist/cjs/media-inline/views/wrapper.js +3 -4
  26. package/dist/cjs/media-single/CommentBadge.js +1 -2
  27. package/dist/cjs/messages/block-controls.js +10 -0
  28. package/dist/cjs/monitoring/error.js +1 -1
  29. package/dist/cjs/node-width/index.js +5 -10
  30. package/dist/cjs/panel.js +0 -12
  31. package/dist/cjs/styles/shared/annotation.js +11 -14
  32. package/dist/cjs/styles/shared/code-block.js +2 -4
  33. package/dist/cjs/styles/shared/code-mark.js +1 -2
  34. package/dist/cjs/styles/shared/grid.js +2 -3
  35. package/dist/cjs/styles/shared/headings.js +56 -17
  36. package/dist/cjs/styles/shared/panel.js +13 -34
  37. package/dist/cjs/styles/shared/plugins.js +1 -2
  38. package/dist/cjs/styles/shared/resizer.js +1 -2
  39. package/dist/cjs/styles/shared/rule.js +1 -2
  40. package/dist/cjs/styles/shared/shadow.js +2 -3
  41. package/dist/cjs/styles/shared/smartCard.js +2 -3
  42. package/dist/cjs/table/SortingIcon.js +1 -2
  43. package/dist/cjs/ui/BaseTheme/index.js +1 -2
  44. package/dist/cjs/ui/Caption/index.js +2 -3
  45. package/dist/cjs/ui/DropList/index.js +4 -5
  46. package/dist/cjs/ui/Expand/index.js +2 -3
  47. package/dist/cjs/ui/Expand/sharedStyles.js +7 -17
  48. package/dist/cjs/ui/FloatingToolbar/Separator.js +1 -2
  49. package/dist/cjs/ui/FloatingToolbar/styles.js +10 -12
  50. package/dist/cjs/ui/Messages/index.js +8 -6
  51. package/dist/cjs/ui/PanelTextInput/styles.js +4 -5
  52. package/dist/cjs/ui/UnsupportedBlock/index.js +4 -6
  53. package/dist/cjs/ui/UnsupportedInline/index.js +4 -6
  54. package/dist/cjs/ui/WidthProvider/index.js +5 -39
  55. package/dist/cjs/ui-color/ColorPalette/Color/index.js +1 -2
  56. package/dist/cjs/ui-color/ColorPalette/Color/styles.js +3 -4
  57. package/dist/cjs/ui-color/ColorPalette/Palettes/common.js +1 -2
  58. package/dist/cjs/ui-color/ColorPalette/Palettes/panelBackgroundPalette.js +22 -24
  59. package/dist/cjs/ui-color/ColorPalette/index.js +2 -3
  60. package/dist/cjs/ui-color/index.js +0 -13
  61. package/dist/cjs/ui-menu/ColorPickerButton/index.js +3 -4
  62. package/dist/cjs/ui-menu/DropdownMenu/index.js +2 -3
  63. package/dist/es2019/analytics/types/enums.js +2 -0
  64. package/dist/es2019/element-browser/components/CategoryList.js +2 -3
  65. package/dist/es2019/element-browser/components/ElementList/ElementList.js +3 -5
  66. package/dist/es2019/element-browser/components/ElementSearch.js +1 -2
  67. package/dist/es2019/element-browser/constants.js +1 -5
  68. package/dist/es2019/extensibility/Extension/Extension/styles.js +3 -4
  69. package/dist/es2019/extensibility/Extension/InlineExtension/styles.js +1 -2
  70. package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +6 -7
  71. package/dist/es2019/extensibility/Extension/styles.js +3 -4
  72. package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +2 -3
  73. package/dist/es2019/icons/shared/SteppedRainbowIconDecoration.js +2 -3
  74. package/dist/es2019/keymaps/index.js +3 -2
  75. package/dist/es2019/link/ConfigureLinkOverlay/StyledButton.js +4 -5
  76. package/dist/es2019/link/ConfigureLinkOverlay/index.js +2 -4
  77. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -2
  78. package/dist/es2019/link/LinkSearch/LinkSearchList.js +1 -2
  79. package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +4 -6
  80. package/dist/es2019/media-inline/constants.js +10 -8
  81. package/dist/es2019/media-inline/styles.js +1 -2
  82. package/dist/es2019/media-inline/views/error-view.js +1 -2
  83. package/dist/es2019/media-inline/views/wrapper.js +3 -4
  84. package/dist/es2019/media-single/CommentBadge.js +1 -2
  85. package/dist/es2019/messages/block-controls.js +10 -0
  86. package/dist/es2019/monitoring/error.js +1 -1
  87. package/dist/es2019/node-width/index.js +5 -9
  88. package/dist/es2019/panel.js +1 -1
  89. package/dist/es2019/styles/shared/annotation.js +11 -14
  90. package/dist/es2019/styles/shared/code-block.js +12 -14
  91. package/dist/es2019/styles/shared/code-mark.js +1 -2
  92. package/dist/es2019/styles/shared/grid.js +2 -3
  93. package/dist/es2019/styles/shared/headings.js +35 -8
  94. package/dist/es2019/styles/shared/panel.js +12 -25
  95. package/dist/es2019/styles/shared/plugins.js +1 -2
  96. package/dist/es2019/styles/shared/resizer.js +6 -7
  97. package/dist/es2019/styles/shared/rule.js +1 -2
  98. package/dist/es2019/styles/shared/shadow.js +2 -3
  99. package/dist/es2019/styles/shared/smartCard.js +5 -7
  100. package/dist/es2019/table/SortingIcon.js +2 -3
  101. package/dist/es2019/ui/BaseTheme/index.js +1 -2
  102. package/dist/es2019/ui/Caption/index.js +2 -3
  103. package/dist/es2019/ui/DropList/index.js +4 -5
  104. package/dist/es2019/ui/Expand/index.js +2 -3
  105. package/dist/es2019/ui/Expand/sharedStyles.js +7 -17
  106. package/dist/es2019/ui/FloatingToolbar/Separator.js +1 -2
  107. package/dist/es2019/ui/FloatingToolbar/styles.js +10 -12
  108. package/dist/es2019/ui/Messages/index.js +8 -6
  109. package/dist/es2019/ui/PanelTextInput/styles.js +4 -5
  110. package/dist/es2019/ui/UnsupportedBlock/index.js +4 -6
  111. package/dist/es2019/ui/UnsupportedInline/index.js +4 -6
  112. package/dist/es2019/ui/WidthProvider/index.js +2 -33
  113. package/dist/es2019/ui-color/ColorPalette/Color/index.js +1 -4
  114. package/dist/es2019/ui-color/ColorPalette/Color/styles.js +3 -4
  115. package/dist/es2019/ui-color/ColorPalette/Palettes/common.js +1 -2
  116. package/dist/es2019/ui-color/ColorPalette/Palettes/panelBackgroundPalette.js +21 -24
  117. package/dist/es2019/ui-color/ColorPalette/index.js +2 -3
  118. package/dist/es2019/ui-color/index.js +0 -1
  119. package/dist/es2019/ui-menu/ColorPickerButton/index.js +3 -4
  120. package/dist/es2019/ui-menu/DropdownMenu/index.js +3 -4
  121. package/dist/esm/analytics/types/enums.js +2 -0
  122. package/dist/esm/element-browser/components/CategoryList.js +2 -3
  123. package/dist/esm/element-browser/components/ElementList/ElementList.js +3 -5
  124. package/dist/esm/element-browser/components/ElementSearch.js +1 -2
  125. package/dist/esm/element-browser/constants.js +1 -5
  126. package/dist/esm/extensibility/Extension/Extension/styles.js +3 -4
  127. package/dist/esm/extensibility/Extension/InlineExtension/styles.js +1 -2
  128. package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +6 -7
  129. package/dist/esm/extensibility/Extension/styles.js +3 -4
  130. package/dist/esm/extensibility/MultiBodiedExtension/styles.js +2 -3
  131. package/dist/esm/icons/shared/SteppedRainbowIconDecoration.js +2 -3
  132. package/dist/esm/keymaps/index.js +3 -2
  133. package/dist/esm/link/ConfigureLinkOverlay/StyledButton.js +4 -5
  134. package/dist/esm/link/ConfigureLinkOverlay/index.js +2 -4
  135. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -2
  136. package/dist/esm/link/LinkSearch/LinkSearchList.js +1 -2
  137. package/dist/esm/link/LinkSearch/LinkSearchListItem.js +4 -6
  138. package/dist/esm/media-inline/constants.js +10 -8
  139. package/dist/esm/media-inline/styles.js +1 -2
  140. package/dist/esm/media-inline/views/error-view.js +1 -2
  141. package/dist/esm/media-inline/views/wrapper.js +3 -4
  142. package/dist/esm/media-single/CommentBadge.js +1 -2
  143. package/dist/esm/messages/block-controls.js +10 -0
  144. package/dist/esm/monitoring/error.js +1 -1
  145. package/dist/esm/node-width/index.js +5 -9
  146. package/dist/esm/panel.js +1 -1
  147. package/dist/esm/styles/shared/annotation.js +11 -14
  148. package/dist/esm/styles/shared/code-block.js +2 -4
  149. package/dist/esm/styles/shared/code-mark.js +1 -2
  150. package/dist/esm/styles/shared/grid.js +2 -3
  151. package/dist/esm/styles/shared/headings.js +53 -17
  152. package/dist/esm/styles/shared/panel.js +12 -33
  153. package/dist/esm/styles/shared/plugins.js +1 -2
  154. package/dist/esm/styles/shared/resizer.js +1 -2
  155. package/dist/esm/styles/shared/rule.js +1 -2
  156. package/dist/esm/styles/shared/shadow.js +2 -3
  157. package/dist/esm/styles/shared/smartCard.js +2 -4
  158. package/dist/esm/table/SortingIcon.js +1 -2
  159. package/dist/esm/ui/BaseTheme/index.js +1 -2
  160. package/dist/esm/ui/Caption/index.js +2 -3
  161. package/dist/esm/ui/DropList/index.js +4 -5
  162. package/dist/esm/ui/Expand/index.js +2 -3
  163. package/dist/esm/ui/Expand/sharedStyles.js +7 -17
  164. package/dist/esm/ui/FloatingToolbar/Separator.js +1 -2
  165. package/dist/esm/ui/FloatingToolbar/styles.js +10 -12
  166. package/dist/esm/ui/Messages/index.js +8 -6
  167. package/dist/esm/ui/PanelTextInput/styles.js +4 -5
  168. package/dist/esm/ui/UnsupportedBlock/index.js +4 -6
  169. package/dist/esm/ui/UnsupportedInline/index.js +4 -6
  170. package/dist/esm/ui/WidthProvider/index.js +5 -39
  171. package/dist/esm/ui-color/ColorPalette/Color/index.js +1 -2
  172. package/dist/esm/ui-color/ColorPalette/Color/styles.js +3 -4
  173. package/dist/esm/ui-color/ColorPalette/Palettes/common.js +1 -2
  174. package/dist/esm/ui-color/ColorPalette/Palettes/panelBackgroundPalette.js +21 -24
  175. package/dist/esm/ui-color/ColorPalette/index.js +2 -3
  176. package/dist/esm/ui-color/index.js +0 -1
  177. package/dist/esm/ui-menu/ColorPickerButton/index.js +3 -4
  178. package/dist/esm/ui-menu/DropdownMenu/index.js +2 -3
  179. package/dist/types/analytics/types/enums.d.ts +2 -0
  180. package/dist/types/element-browser/constants.d.ts +3 -3
  181. package/dist/types/keymaps/index.d.ts +2 -0
  182. package/dist/types/media-inline/constants.d.ts +3 -0
  183. package/dist/types/messages/block-controls.d.ts +10 -0
  184. package/dist/types/panel.d.ts +1 -1
  185. package/dist/types/styles/shared/panel.d.ts +0 -2
  186. package/dist/types/ui/WidthProvider/index.d.ts +0 -5
  187. package/dist/types/ui-color/index.d.ts +0 -1
  188. package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -0
  189. package/dist/types-ts4.5/element-browser/constants.d.ts +3 -3
  190. package/dist/types-ts4.5/keymaps/index.d.ts +2 -0
  191. package/dist/types-ts4.5/media-inline/constants.d.ts +3 -0
  192. package/dist/types-ts4.5/messages/block-controls.d.ts +10 -0
  193. package/dist/types-ts4.5/panel.d.ts +1 -1
  194. package/dist/types-ts4.5/styles/shared/panel.d.ts +0 -2
  195. package/dist/types-ts4.5/ui/WidthProvider/index.d.ts +0 -5
  196. package/dist/types-ts4.5/ui-color/index.d.ts +0 -1
  197. package/package.json +3 -7
  198. package/dist/cjs/ui/WidthProvider/isSsrButNoBreakoutScriptObserved.js +0 -11
  199. package/dist/cjs/ui-color/ColorPalette/Palettes/statusColorPalette.js +0 -60
  200. package/dist/es2019/ui/WidthProvider/isSsrButNoBreakoutScriptObserved.js +0 -6
  201. package/dist/es2019/ui-color/ColorPalette/Palettes/statusColorPalette.js +0 -54
  202. package/dist/esm/ui/WidthProvider/isSsrButNoBreakoutScriptObserved.js +0 -6
  203. package/dist/esm/ui-color/ColorPalette/Palettes/statusColorPalette.js +0 -54
  204. package/dist/types/ui/WidthProvider/isSsrButNoBreakoutScriptObserved.d.ts +0 -1
  205. package/dist/types/ui-color/ColorPalette/Palettes/statusColorPalette.d.ts +0 -4
  206. package/dist/types-ts4.5/ui/WidthProvider/isSsrButNoBreakoutScriptObserved.d.ts +0 -1
  207. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/statusColorPalette.d.ts +0 -4
@@ -1,76 +1,73 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
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
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
- // AFP-2532 TODO: Fix automatic suppressions below
5
- // eslint-disable-next-line @atlassian/tangerine/import/entry-points
6
- import { colors } from '@atlaskit/theme';
7
4
  import { darkPanelColors } from '../../../panel';
8
5
  import { DEFAULT_BORDER_COLOR } from './common';
9
6
  /** this is not new usage - old code extracted from editor-core */
10
7
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
11
8
  export var panelBackgroundPalette = [{
12
9
  label: 'White',
13
- value: colors.N0
10
+ value: '#FFFFFF'
14
11
  }, {
15
12
  label: 'Light blue',
16
- value: colors.B50
13
+ value: '#DEEBFF'
17
14
  }, {
18
15
  label: 'Light teal',
19
- value: colors.T50
16
+ value: '#E6FCFF'
20
17
  }, {
21
18
  label: 'Light green',
22
- value: colors.G50
19
+ value: '#E3FCEF'
23
20
  }, {
24
21
  label: 'Light yellow',
25
- value: colors.Y50
22
+ value: '#FFFAE6'
26
23
  }, {
27
24
  label: 'Light red',
28
- value: colors.R50
25
+ value: '#FFEBE6'
29
26
  }, {
30
27
  label: 'Light purple',
31
- value: colors.P50
28
+ value: '#EAE6FF'
32
29
  }, {
33
30
  label: 'Light gray',
34
- value: colors.N20
31
+ value: '#F4F5F7'
35
32
  }, {
36
33
  label: 'Blue',
37
- value: colors.B75
34
+ value: '#B3D4FF'
38
35
  }, {
39
36
  label: 'Teal',
40
- value: colors.T75
37
+ value: '#B3F5FF'
41
38
  }, {
42
39
  label: 'Green',
43
- value: colors.G75
40
+ value: '#ABF5D1'
44
41
  }, {
45
42
  label: 'Yellow',
46
- value: colors.Y75
43
+ value: '#FFF0B3'
47
44
  }, {
48
45
  label: 'Red',
49
- value: colors.R75
46
+ value: '#FFBDAD'
50
47
  }, {
51
48
  label: 'Purple',
52
- value: colors.P75
49
+ value: '#C0B6F2'
53
50
  }, {
54
51
  label: 'Gray',
55
- value: colors.N60
52
+ value: '#B3BAC5'
56
53
  }, {
57
54
  label: 'Dark blue',
58
- value: colors.B100
55
+ value: '#4C9AFF'
59
56
  }, {
60
57
  label: 'Dark teal',
61
- value: colors.T100
58
+ value: '#79E2F2'
62
59
  }, {
63
60
  label: 'Dark green',
64
- value: colors.G200
61
+ value: '#57D9A3'
65
62
  }, {
66
63
  label: 'Dark yellow',
67
- value: colors.Y200
64
+ value: '#FFC400'
68
65
  }, {
69
66
  label: 'Dark red',
70
- value: colors.R100
67
+ value: '#FF8F73'
71
68
  }, {
72
69
  label: 'Dark purple',
73
- value: colors.P100
70
+ value: '#998DD9'
74
71
  }].map(function (color) {
75
72
  return _objectSpread(_objectSpread({}, color), {}, {
76
73
  border: "var(--ds-border, ".concat(DEFAULT_BORDER_COLOR, ")")
@@ -8,7 +8,6 @@ import React from 'react';
8
8
  import { jsx } from '@emotion/react';
9
9
  import chromatism from 'chromatism';
10
10
  import { injectIntl } from 'react-intl-next';
11
- import { N0, N500 } from '@atlaskit/theme/colors';
12
11
  import { useThemeObserver } from '@atlaskit/tokens';
13
12
  import Color from './Color';
14
13
  import getColorMessage from './Palettes/getColorMessage';
@@ -27,7 +26,7 @@ function getCheckMarkColor(color, useIconToken) {
27
26
  var colorValue = !!tokenVal ? tokenVal : color;
28
27
 
29
28
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
30
- var contrastColor = [N0, N500].sort(function (a, b) {
29
+ var contrastColor = ['#FFFFFF', '#42526E'].sort(function (a, b) {
31
30
  return chromatism.difference(b, colorValue) - chromatism.difference(a, colorValue);
32
31
  })[0];
33
32
  if (!useIconToken) {
@@ -38,7 +37,7 @@ function getCheckMarkColor(color, useIconToken) {
38
37
  // they are only intended for use with text colors (and there are different tokens
39
38
  // planned to be used when this extended to be used with other palettes).
40
39
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
41
- return contrastColor === N0 ? "var(--ds-icon-inverse, ".concat(N0, ")") : "var(--ds-icon, ".concat(N500, ")");
40
+ return contrastColor === '#FFFFFF' ? "var(--ds-icon-inverse, #FFFFFF)" : "var(--ds-icon, #44546F)";
42
41
  }
43
42
  var ColorPalette = function ColorPalette(props) {
44
43
  var _props$cols = props.cols,
@@ -4,7 +4,6 @@ export { DEFAULT_COLOR_PICKER_COLUMNS, getColorsPerRowFromPalette, getSelectedRo
4
4
  export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/cellBackgroundColorPalette';
5
5
  export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
6
6
  export { panelBackgroundPalette, panelDarkModeBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
7
- export { lightModeStatusColorPalette, darkModeStatusColorPalette } from './ColorPalette/Palettes/statusColorPalette';
8
7
  export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
9
8
  export { highlightColorPalette, REMOVE_HIGHLIGHT_COLOR } from './ColorPalette/Palettes/highlightColorPalette';
10
9
  export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, chartsColorPaletteTooltipMessages, textPaletteTooltipMessages } from './ColorPalette/Palettes';
@@ -11,7 +11,6 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
11
11
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
12
12
  import Button from '@atlaskit/button/standard-button';
13
13
  import ExpandIcon from '@atlaskit/icon/glyph/chevron-down';
14
- import { N0, N30A, N60A } from '@atlaskit/theme/colors';
15
14
  import Tooltip from '@atlaskit/tooltip';
16
15
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, editorAnalyticsChannel, EVENT_TYPE } from '../../analytics';
17
16
  import { ColorPalette, DEFAULT_BORDER_COLOR, getSelectedRowAndColumnFromPalette } from '../../ui-color';
@@ -35,8 +34,8 @@ var colorPickerExpandContainer = css({
35
34
  var colorPickerWrapper = function colorPickerWrapper() {
36
35
  return css({
37
36
  borderRadius: "var(--ds-border-radius, 3px)",
38
- backgroundColor: "var(--ds-surface-overlay, ".concat(N0, ")"),
39
- boxShadow: "var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(N60A, ", 0 0 1px ").concat(N60A), ")"),
37
+ backgroundColor: "var(--ds-surface-overlay, #FFFFFF)",
38
+ boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)",
40
39
  padding: "var(--ds-space-100, 8px)".concat(" 0px")
41
40
  });
42
41
  };
@@ -197,7 +196,7 @@ var ColorPickerButton = function ColorPickerButton(props) {
197
196
  margin: "0px ".concat("var(--ds-space-025, 2px)")
198
197
  },
199
198
  '&:hover': {
200
- background: "var(--ds-background-neutral-subtle-hovered, ".concat(N30A, ")")
199
+ background: "var(--ds-background-neutral-subtle-hovered, #091E420F)"
201
200
  }
202
201
  });
203
202
  };
@@ -26,7 +26,6 @@ import { css, jsx } from '@emotion/react';
26
26
  import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
27
27
  import { CustomItem, MenuGroup, Section } from '@atlaskit/menu';
28
28
  import { fg } from '@atlaskit/platform-feature-flags';
29
- import { B100, N70, N900 } from '@atlaskit/theme/colors';
30
29
  import Tooltip from '@atlaskit/tooltip';
31
30
  import { DropdownMenuSharedCssClassName } from '../../styles';
32
31
  import { KeyDownHandlerContext } from '../../ui-menu/ToolbarArrowKeyNavigationProvider';
@@ -43,7 +42,7 @@ var wrapper = css({
43
42
  }
44
43
  });
45
44
  var focusedMenuItemStyle = css({
46
- boxShadow: "inset 0px 0px 0px 2px ".concat("var(--ds-border-focused, ".concat(B100, ")")),
45
+ boxShadow: "inset 0px 0px 0px 2px ".concat("var(--ds-border-focused, #388BFF)"),
47
46
  outline: 'none'
48
47
  });
49
48
  var buttonStyles = function buttonStyles(isActive, submenuActive) {
@@ -55,7 +54,7 @@ var buttonStyles = function buttonStyles(isActive, submenuActive) {
55
54
  return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t\t> span,\n\t\t\t> span:hover,\n\t\t\t> span:active {\n\t\t\t\tbackground: ", ";\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\t\t\t:focus > span[aria-disabled='false'] {\n\t\t\t\t", ";\n\t\t\t}\n\t\t\t:focus-visible,\n\t\t\t:focus-visible > span[aria-disabled='false'] {\n\t\t\t\toutline: none;\n\t\t\t}\n\t\t"])), "var(--ds-background-selected, #6c798f)", "var(--ds-text, #fff)", focusedMenuItemStyle);
56
55
  } else {
57
56
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
58
- return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\t\t\t> span:hover[aria-disabled='false'] {\n\t\t\t\tcolor: ", ";\n\t\t\t\tbackground-color: ", ";\n\t\t\t}\n\t\t\t", "\n\t\t\t> span[aria-disabled='true'] {\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\t\t\t:focus > span[aria-disabled='false'] {\n\t\t\t\t", ";\n\t\t\t}\n\t\t\t:focus-visible,\n\t\t\t:focus-visible > span[aria-disabled='false'] {\n\t\t\t\toutline: none;\n\t\t\t}\n\t\t"])), "var(--ds-text, ".concat(N900, ")"), "var(--ds-background-neutral-subtle-hovered, rgb(244, 245, 247))", !submenuActive && "\n\t\t\t\t\t> span:active[aria-disabled='false'] {\n\t\t\t\t\t\tbackground-color: ".concat("var(--ds-background-neutral-subtle-pressed, rgb(179, 212, 255))", ";\n\t\t\t\t\t}"), "var(--ds-text-disabled, ".concat(N70, ")"), focusedMenuItemStyle); // The default focus-visible style is removed to ensure consistency across browsers
57
+ return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\t\t\t> span:hover[aria-disabled='false'] {\n\t\t\t\tcolor: ", ";\n\t\t\t\tbackground-color: ", ";\n\t\t\t}\n\t\t\t", "\n\t\t\t> span[aria-disabled='true'] {\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\t\t\t:focus > span[aria-disabled='false'] {\n\t\t\t\t", ";\n\t\t\t}\n\t\t\t:focus-visible,\n\t\t\t:focus-visible > span[aria-disabled='false'] {\n\t\t\t\toutline: none;\n\t\t\t}\n\t\t"])), "var(--ds-text, #172B4D)", "var(--ds-background-neutral-subtle-hovered, rgb(244, 245, 247))", !submenuActive && "\n\t\t\t\t\t> span:active[aria-disabled='false'] {\n\t\t\t\t\t\tbackground-color: ".concat("var(--ds-background-neutral-subtle-pressed, rgb(179, 212, 255))", ";\n\t\t\t\t\t}"), "var(--ds-text-disabled, #091E424F)", focusedMenuItemStyle); // The default focus-visible style is removed to ensure consistency across browsers
59
58
  }
60
59
  };
61
60
  var DropListWithOutsideListeners = withReactEditorViewOuterListeners(DropList);
@@ -222,6 +222,7 @@ export declare enum ACTION_SUBJECT {
222
222
  LIST = "list",
223
223
  MEDIA = "media",
224
224
  MEDIA_SINGLE = "mediaSingle",
225
+ MENTION = "mention",
225
226
  NESTED_EXPAND = "nestedExpand",
226
227
  PANEL = "panel",
227
228
  PICKER = "picker",
@@ -326,6 +327,7 @@ export declare enum ACTION_SUBJECT_ID {
326
327
  MEDIA_LINK = "mediaLink",
327
328
  MEDIA_SINGLE = "mediaSingle",
328
329
  MENTION = "mention",
330
+ MENTION_PROVIDER = "mentionProvider",
329
331
  NESTED_EXPAND = "nestedExpand",
330
332
  NODE = "node",
331
333
  OPEN_LINK = "openLink",
@@ -1,4 +1,4 @@
1
- export declare const GRID_SIZE: number;
1
+ export declare const GRID_SIZE = 8;
2
2
  export declare const DEVICE_BREAKPOINT_NUMBERS: {
3
3
  small: number;
4
4
  medium: number;
@@ -9,8 +9,8 @@ export declare const FLEX_ITEMS_CONTAINER_BREAKPOINT_NUMBERS: {
9
9
  medium: number;
10
10
  large: number;
11
11
  };
12
- export declare const SIDEBAR_WIDTH: string;
13
- export declare const SIDEBAR_HEADING_WRAPPER_HEIGHT: string;
12
+ export declare const SIDEBAR_WIDTH = "200px";
13
+ export declare const SIDEBAR_HEADING_WRAPPER_HEIGHT = "48px";
14
14
  export declare const SIDEBAR_HEADING_PADDING_LEFT = "12px";
15
15
  export declare const INLINE_SIDEBAR_HEIGHT = "54px";
16
16
  export declare const SEARCH_ITEM_HEIGHT_WIDTH = "20px";
@@ -96,6 +96,8 @@ export declare const toggleHighlightPalette: Keymap;
96
96
  export declare const focusToContextMenuTrigger: Keymap;
97
97
  export declare const dragToMoveUp: Keymap;
98
98
  export declare const dragToMoveDown: Keymap;
99
+ export declare const dragToMoveLeft: Keymap;
100
+ export declare const dragToMoveRight: Keymap;
99
101
  export declare const showElementDragHandle: Keymap;
100
102
  export declare const continueInRovoChat: Keymap;
101
103
  export declare function formatShortcut(keymap: Keymap): string | undefined;
@@ -10,6 +10,9 @@ export declare const DEFAULT_INLINE_IMAGE_BORDER_SIZE = 0;
10
10
  *
11
11
  * There is conversation about refactoring media inline nodes to conform to
12
12
  * aligning correctly with the surrounding text.
13
+ *
14
+ * These constants originally came from `headingSizes` from the `theme` package
15
+ * and have been copied here to remove this package.
13
16
  */
14
17
  export declare const referenceHeights: {
15
18
  p: number;
@@ -29,4 +29,14 @@ export declare const messages: {
29
29
  defaultMessage: string;
30
30
  description: string;
31
31
  };
32
+ moveLeft: {
33
+ id: string;
34
+ defaultMessage: string;
35
+ description: string;
36
+ };
37
+ moveRight: {
38
+ id: string;
39
+ defaultMessage: string;
40
+ description: string;
41
+ };
32
42
  };
@@ -1 +1 @@
1
- export { getPanelTypeBackground, getPanelTypeBackgroundNoTokens, darkPanelColors, getPanelDarkColor, panelSharedStyles, panelSharedStylesWithoutPrefix, PanelSharedCssClassName, PanelSharedSelectors, getPanelBackgroundDarkModeColors, } from './styles/shared/panel';
1
+ export { getPanelTypeBackground, getPanelTypeBackgroundNoTokens, darkPanelColors, panelSharedStyles, panelSharedStylesWithoutPrefix, PanelSharedCssClassName, PanelSharedSelectors, } from './styles/shared/panel';
@@ -47,8 +47,6 @@ export declare const darkPanelColors: {
47
47
  LightGray: string;
48
48
  TextColor: string;
49
49
  };
50
- export declare const getPanelDarkColor: (panelColor: string) => string;
51
- export declare const getPanelBackgroundDarkModeColors: string;
52
50
  export declare function getPanelDarkModeCSS(colorName: string, colorValue: string): string;
53
51
  export declare const PanelSharedCssClassName: {
54
52
  prefix: string;
@@ -4,11 +4,6 @@
4
4
  */
5
5
  import React from 'react';
6
6
  import { jsx } from '@emotion/react';
7
- declare global {
8
- interface Window {
9
- __SSR_BREAKOUT_OBSERVED?: boolean;
10
- }
11
- }
12
7
  export type Breakpoints = 'S' | 'M' | 'L';
13
8
  export type WidthConsumerContext = {
14
9
  width: number;
@@ -4,7 +4,6 @@ export { DEFAULT_COLOR_PICKER_COLUMNS, getColorsPerRowFromPalette, getSelectedRo
4
4
  export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/cellBackgroundColorPalette';
5
5
  export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
6
6
  export { panelBackgroundPalette, panelDarkModeBackgroundPalette, } from './ColorPalette/Palettes/panelBackgroundPalette';
7
- export { lightModeStatusColorPalette, darkModeStatusColorPalette, } from './ColorPalette/Palettes/statusColorPalette';
8
7
  export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
9
8
  export { highlightColorPalette, REMOVE_HIGHLIGHT_COLOR, } from './ColorPalette/Palettes/highlightColorPalette';
10
9
  export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, chartsColorPaletteTooltipMessages, textPaletteTooltipMessages, } from './ColorPalette/Palettes';
@@ -222,6 +222,7 @@ export declare enum ACTION_SUBJECT {
222
222
  LIST = "list",
223
223
  MEDIA = "media",
224
224
  MEDIA_SINGLE = "mediaSingle",
225
+ MENTION = "mention",
225
226
  NESTED_EXPAND = "nestedExpand",
226
227
  PANEL = "panel",
227
228
  PICKER = "picker",
@@ -326,6 +327,7 @@ export declare enum ACTION_SUBJECT_ID {
326
327
  MEDIA_LINK = "mediaLink",
327
328
  MEDIA_SINGLE = "mediaSingle",
328
329
  MENTION = "mention",
330
+ MENTION_PROVIDER = "mentionProvider",
329
331
  NESTED_EXPAND = "nestedExpand",
330
332
  NODE = "node",
331
333
  OPEN_LINK = "openLink",
@@ -1,4 +1,4 @@
1
- export declare const GRID_SIZE: number;
1
+ export declare const GRID_SIZE = 8;
2
2
  export declare const DEVICE_BREAKPOINT_NUMBERS: {
3
3
  small: number;
4
4
  medium: number;
@@ -9,8 +9,8 @@ export declare const FLEX_ITEMS_CONTAINER_BREAKPOINT_NUMBERS: {
9
9
  medium: number;
10
10
  large: number;
11
11
  };
12
- export declare const SIDEBAR_WIDTH: string;
13
- export declare const SIDEBAR_HEADING_WRAPPER_HEIGHT: string;
12
+ export declare const SIDEBAR_WIDTH = "200px";
13
+ export declare const SIDEBAR_HEADING_WRAPPER_HEIGHT = "48px";
14
14
  export declare const SIDEBAR_HEADING_PADDING_LEFT = "12px";
15
15
  export declare const INLINE_SIDEBAR_HEIGHT = "54px";
16
16
  export declare const SEARCH_ITEM_HEIGHT_WIDTH = "20px";
@@ -96,6 +96,8 @@ export declare const toggleHighlightPalette: Keymap;
96
96
  export declare const focusToContextMenuTrigger: Keymap;
97
97
  export declare const dragToMoveUp: Keymap;
98
98
  export declare const dragToMoveDown: Keymap;
99
+ export declare const dragToMoveLeft: Keymap;
100
+ export declare const dragToMoveRight: Keymap;
99
101
  export declare const showElementDragHandle: Keymap;
100
102
  export declare const continueInRovoChat: Keymap;
101
103
  export declare function formatShortcut(keymap: Keymap): string | undefined;
@@ -10,6 +10,9 @@ export declare const DEFAULT_INLINE_IMAGE_BORDER_SIZE = 0;
10
10
  *
11
11
  * There is conversation about refactoring media inline nodes to conform to
12
12
  * aligning correctly with the surrounding text.
13
+ *
14
+ * These constants originally came from `headingSizes` from the `theme` package
15
+ * and have been copied here to remove this package.
13
16
  */
14
17
  export declare const referenceHeights: {
15
18
  p: number;
@@ -29,4 +29,14 @@ export declare const messages: {
29
29
  defaultMessage: string;
30
30
  description: string;
31
31
  };
32
+ moveLeft: {
33
+ id: string;
34
+ defaultMessage: string;
35
+ description: string;
36
+ };
37
+ moveRight: {
38
+ id: string;
39
+ defaultMessage: string;
40
+ description: string;
41
+ };
32
42
  };
@@ -1 +1 @@
1
- export { getPanelTypeBackground, getPanelTypeBackgroundNoTokens, darkPanelColors, getPanelDarkColor, panelSharedStyles, panelSharedStylesWithoutPrefix, PanelSharedCssClassName, PanelSharedSelectors, getPanelBackgroundDarkModeColors, } from './styles/shared/panel';
1
+ export { getPanelTypeBackground, getPanelTypeBackgroundNoTokens, darkPanelColors, panelSharedStyles, panelSharedStylesWithoutPrefix, PanelSharedCssClassName, PanelSharedSelectors, } from './styles/shared/panel';
@@ -47,8 +47,6 @@ export declare const darkPanelColors: {
47
47
  LightGray: string;
48
48
  TextColor: string;
49
49
  };
50
- export declare const getPanelDarkColor: (panelColor: string) => string;
51
- export declare const getPanelBackgroundDarkModeColors: string;
52
50
  export declare function getPanelDarkModeCSS(colorName: string, colorValue: string): string;
53
51
  export declare const PanelSharedCssClassName: {
54
52
  prefix: string;
@@ -4,11 +4,6 @@
4
4
  */
5
5
  import React from 'react';
6
6
  import { jsx } from '@emotion/react';
7
- declare global {
8
- interface Window {
9
- __SSR_BREAKOUT_OBSERVED?: boolean;
10
- }
11
- }
12
7
  export type Breakpoints = 'S' | 'M' | 'L';
13
8
  export type WidthConsumerContext = {
14
9
  width: number;
@@ -4,7 +4,6 @@ export { DEFAULT_COLOR_PICKER_COLUMNS, getColorsPerRowFromPalette, getSelectedRo
4
4
  export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/cellBackgroundColorPalette';
5
5
  export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
6
6
  export { panelBackgroundPalette, panelDarkModeBackgroundPalette, } from './ColorPalette/Palettes/panelBackgroundPalette';
7
- export { lightModeStatusColorPalette, darkModeStatusColorPalette, } from './ColorPalette/Palettes/statusColorPalette';
8
7
  export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
9
8
  export { highlightColorPalette, REMOVE_HIGHLIGHT_COLOR, } from './ColorPalette/Palettes/highlightColorPalette';
10
9
  export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, chartsColorPaletteTooltipMessages, textPaletteTooltipMessages, } from './ColorPalette/Palettes';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "92.1.2",
3
+ "version": "93.1.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/"
@@ -127,7 +127,7 @@
127
127
  "@atlaskit/emoji": "^67.8.0",
128
128
  "@atlaskit/icon": "^22.20.0",
129
129
  "@atlaskit/icon-object": "^6.5.0",
130
- "@atlaskit/link-datasource": "^3.2.0",
130
+ "@atlaskit/link-datasource": "^3.4.0",
131
131
  "@atlaskit/link-picker": "^1.47.0",
132
132
  "@atlaskit/media-card": "^78.5.0",
133
133
  "@atlaskit/media-client": "^28.0.0",
@@ -148,10 +148,9 @@
148
148
  "@atlaskit/spinner": "^16.3.0",
149
149
  "@atlaskit/task-decision": "^17.11.0",
150
150
  "@atlaskit/textfield": "^6.5.0",
151
- "@atlaskit/theme": "^13.0.0",
152
151
  "@atlaskit/tmp-editor-statsig": "*",
153
152
  "@atlaskit/tokens": "^2.0.0",
154
- "@atlaskit/tooltip": "^18.7.0",
153
+ "@atlaskit/tooltip": "^18.8.0",
155
154
  "@atlaskit/ufo": "^0.3.0",
156
155
  "@atlaskit/width-detector": "^4.3.0",
157
156
  "@babel/runtime": "^7.0.0",
@@ -267,9 +266,6 @@
267
266
  "cc_page_experiences_live_search_wysiwyg": {
268
267
  "type": "boolean"
269
268
  },
270
- "platform-fix-table-ssr-resizing": {
271
- "type": "boolean"
272
- },
273
269
  "use-effect-in-use-previous-props": {
274
270
  "type": "boolean"
275
271
  },
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.isSsrButNoBreakoutScriptObserved = isSsrButNoBreakoutScriptObserved;
7
- var _isSsr = require("../../core-utils/is-ssr");
8
- // export for testing
9
- function isSsrButNoBreakoutScriptObserved() {
10
- return (0, _isSsr.isSSR)() && !window.__SSR_BREAKOUT_OBSERVED;
11
- }
@@ -1,60 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.lightModeStatusColorPalette = exports.darkModeStatusColorPalette = void 0;
7
- var _colors = require("@atlaskit/theme/colors");
8
- /** this is not new usage - old code extracted from editor-core */
9
- /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
10
- var lightModeStatusColorPalette = exports.lightModeStatusColorPalette = [{
11
- label: 'neutral',
12
- value: _colors.N40,
13
- border: _colors.N400
14
- }, {
15
- label: 'purple',
16
- value: _colors.P50,
17
- border: _colors.P400
18
- }, {
19
- label: 'blue',
20
- value: _colors.B50,
21
- border: _colors.B400
22
- }, {
23
- label: 'red',
24
- value: _colors.R50,
25
- border: _colors.R400
26
- }, {
27
- label: 'yellow',
28
- value: _colors.Y75,
29
- border: _colors.Y400
30
- }, {
31
- label: 'green',
32
- value: _colors.G50,
33
- border: _colors.G400
34
- }];
35
- var darkModeStatusColorPalette = exports.darkModeStatusColorPalette = [{
36
- label: 'neutral',
37
- value: '#7F9BB4',
38
- border: _colors.N400
39
- }, {
40
- label: 'purple',
41
- value: '#282249',
42
- border: _colors.P400
43
- }, {
44
- label: 'blue',
45
- value: '#0C294F',
46
- border: _colors.B400
47
- }, {
48
- label: 'red',
49
- value: '#441C13',
50
- border: _colors.R400
51
- }, {
52
- label: 'yellow',
53
- value: '#413001',
54
- border: _colors.Y400
55
- }, {
56
- label: 'green',
57
- value: '#052E21',
58
- border: _colors.G400
59
- }];
60
- /* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
@@ -1,6 +0,0 @@
1
- import { isSSR } from '../../core-utils/is-ssr';
2
-
3
- // export for testing
4
- export function isSsrButNoBreakoutScriptObserved() {
5
- return isSSR() && !window.__SSR_BREAKOUT_OBSERVED;
6
- }
@@ -1,54 +0,0 @@
1
- import { B400, B50, G400, G50, N40, N400, P400, P50, R400, R50, Y400, Y75 } from '@atlaskit/theme/colors';
2
- /** this is not new usage - old code extracted from editor-core */
3
- /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
4
- export const lightModeStatusColorPalette = [{
5
- label: 'neutral',
6
- value: N40,
7
- border: N400
8
- }, {
9
- label: 'purple',
10
- value: P50,
11
- border: P400
12
- }, {
13
- label: 'blue',
14
- value: B50,
15
- border: B400
16
- }, {
17
- label: 'red',
18
- value: R50,
19
- border: R400
20
- }, {
21
- label: 'yellow',
22
- value: Y75,
23
- border: Y400
24
- }, {
25
- label: 'green',
26
- value: G50,
27
- border: G400
28
- }];
29
- export const darkModeStatusColorPalette = [{
30
- label: 'neutral',
31
- value: '#7F9BB4',
32
- border: N400
33
- }, {
34
- label: 'purple',
35
- value: '#282249',
36
- border: P400
37
- }, {
38
- label: 'blue',
39
- value: '#0C294F',
40
- border: B400
41
- }, {
42
- label: 'red',
43
- value: '#441C13',
44
- border: R400
45
- }, {
46
- label: 'yellow',
47
- value: '#413001',
48
- border: Y400
49
- }, {
50
- label: 'green',
51
- value: '#052E21',
52
- border: G400
53
- }];
54
- /* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
@@ -1,6 +0,0 @@
1
- import { isSSR } from '../../core-utils/is-ssr';
2
-
3
- // export for testing
4
- export function isSsrButNoBreakoutScriptObserved() {
5
- return isSSR() && !window.__SSR_BREAKOUT_OBSERVED;
6
- }
@@ -1,54 +0,0 @@
1
- import { B400, B50, G400, G50, N40, N400, P400, P50, R400, R50, Y400, Y75 } from '@atlaskit/theme/colors';
2
- /** this is not new usage - old code extracted from editor-core */
3
- /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
4
- export var lightModeStatusColorPalette = [{
5
- label: 'neutral',
6
- value: N40,
7
- border: N400
8
- }, {
9
- label: 'purple',
10
- value: P50,
11
- border: P400
12
- }, {
13
- label: 'blue',
14
- value: B50,
15
- border: B400
16
- }, {
17
- label: 'red',
18
- value: R50,
19
- border: R400
20
- }, {
21
- label: 'yellow',
22
- value: Y75,
23
- border: Y400
24
- }, {
25
- label: 'green',
26
- value: G50,
27
- border: G400
28
- }];
29
- export var darkModeStatusColorPalette = [{
30
- label: 'neutral',
31
- value: '#7F9BB4',
32
- border: N400
33
- }, {
34
- label: 'purple',
35
- value: '#282249',
36
- border: P400
37
- }, {
38
- label: 'blue',
39
- value: '#0C294F',
40
- border: B400
41
- }, {
42
- label: 'red',
43
- value: '#441C13',
44
- border: R400
45
- }, {
46
- label: 'yellow',
47
- value: '#413001',
48
- border: Y400
49
- }, {
50
- label: 'green',
51
- value: '#052E21',
52
- border: G400
53
- }];
54
- /* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
@@ -1 +0,0 @@
1
- export declare function isSsrButNoBreakoutScriptObserved(): boolean;