@atlaskit/editor-common 92.1.2 → 93.0.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 (195) hide show
  1. package/CHANGELOG.md +26 -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/element-browser/components/CategoryList.js +2 -3
  6. package/dist/cjs/element-browser/components/ElementList/ElementList.js +11 -13
  7. package/dist/cjs/element-browser/components/ElementSearch.js +1 -2
  8. package/dist/cjs/element-browser/constants.js +1 -6
  9. package/dist/cjs/extensibility/Extension/Extension/styles.js +3 -4
  10. package/dist/cjs/extensibility/Extension/InlineExtension/styles.js +1 -2
  11. package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +6 -7
  12. package/dist/cjs/extensibility/Extension/styles.js +3 -4
  13. package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +2 -3
  14. package/dist/cjs/icons/shared/SteppedRainbowIconDecoration.js +2 -3
  15. package/dist/cjs/keymaps/index.js +1 -2
  16. package/dist/cjs/link/ConfigureLinkOverlay/StyledButton.js +4 -5
  17. package/dist/cjs/link/ConfigureLinkOverlay/index.js +2 -4
  18. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -2
  19. package/dist/cjs/link/LinkSearch/LinkSearchList.js +1 -2
  20. package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +4 -6
  21. package/dist/cjs/media-inline/constants.js +10 -8
  22. package/dist/cjs/media-inline/styles.js +1 -2
  23. package/dist/cjs/media-inline/views/error-view.js +1 -2
  24. package/dist/cjs/media-inline/views/wrapper.js +3 -4
  25. package/dist/cjs/media-single/CommentBadge.js +1 -2
  26. package/dist/cjs/monitoring/error.js +1 -1
  27. package/dist/cjs/node-width/index.js +5 -10
  28. package/dist/cjs/panel.js +0 -12
  29. package/dist/cjs/styles/shared/annotation.js +11 -14
  30. package/dist/cjs/styles/shared/code-block.js +2 -4
  31. package/dist/cjs/styles/shared/code-mark.js +1 -2
  32. package/dist/cjs/styles/shared/grid.js +2 -3
  33. package/dist/cjs/styles/shared/headings.js +56 -17
  34. package/dist/cjs/styles/shared/panel.js +13 -34
  35. package/dist/cjs/styles/shared/plugins.js +1 -2
  36. package/dist/cjs/styles/shared/resizer.js +1 -2
  37. package/dist/cjs/styles/shared/rule.js +1 -2
  38. package/dist/cjs/styles/shared/shadow.js +2 -3
  39. package/dist/cjs/styles/shared/smartCard.js +2 -3
  40. package/dist/cjs/table/SortingIcon.js +1 -2
  41. package/dist/cjs/ui/BaseTheme/index.js +1 -2
  42. package/dist/cjs/ui/Caption/index.js +2 -3
  43. package/dist/cjs/ui/DropList/index.js +4 -5
  44. package/dist/cjs/ui/Expand/index.js +2 -3
  45. package/dist/cjs/ui/Expand/sharedStyles.js +7 -17
  46. package/dist/cjs/ui/FloatingToolbar/Separator.js +1 -2
  47. package/dist/cjs/ui/FloatingToolbar/styles.js +10 -12
  48. package/dist/cjs/ui/Messages/index.js +8 -6
  49. package/dist/cjs/ui/PanelTextInput/styles.js +4 -5
  50. package/dist/cjs/ui/UnsupportedBlock/index.js +4 -6
  51. package/dist/cjs/ui/UnsupportedInline/index.js +4 -6
  52. package/dist/cjs/ui/WidthProvider/index.js +5 -39
  53. package/dist/cjs/ui-color/ColorPalette/Color/index.js +1 -2
  54. package/dist/cjs/ui-color/ColorPalette/Color/styles.js +3 -4
  55. package/dist/cjs/ui-color/ColorPalette/Palettes/common.js +1 -2
  56. package/dist/cjs/ui-color/ColorPalette/Palettes/panelBackgroundPalette.js +22 -24
  57. package/dist/cjs/ui-color/ColorPalette/index.js +2 -3
  58. package/dist/cjs/ui-color/index.js +0 -13
  59. package/dist/cjs/ui-menu/ColorPickerButton/index.js +3 -4
  60. package/dist/cjs/ui-menu/DropdownMenu/index.js +2 -3
  61. package/dist/es2019/element-browser/components/CategoryList.js +2 -3
  62. package/dist/es2019/element-browser/components/ElementList/ElementList.js +3 -5
  63. package/dist/es2019/element-browser/components/ElementSearch.js +1 -2
  64. package/dist/es2019/element-browser/constants.js +1 -5
  65. package/dist/es2019/extensibility/Extension/Extension/styles.js +3 -4
  66. package/dist/es2019/extensibility/Extension/InlineExtension/styles.js +1 -2
  67. package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +6 -7
  68. package/dist/es2019/extensibility/Extension/styles.js +3 -4
  69. package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +2 -3
  70. package/dist/es2019/icons/shared/SteppedRainbowIconDecoration.js +2 -3
  71. package/dist/es2019/keymaps/index.js +1 -2
  72. package/dist/es2019/link/ConfigureLinkOverlay/StyledButton.js +4 -5
  73. package/dist/es2019/link/ConfigureLinkOverlay/index.js +2 -4
  74. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -2
  75. package/dist/es2019/link/LinkSearch/LinkSearchList.js +1 -2
  76. package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +4 -6
  77. package/dist/es2019/media-inline/constants.js +10 -8
  78. package/dist/es2019/media-inline/styles.js +1 -2
  79. package/dist/es2019/media-inline/views/error-view.js +1 -2
  80. package/dist/es2019/media-inline/views/wrapper.js +3 -4
  81. package/dist/es2019/media-single/CommentBadge.js +1 -2
  82. package/dist/es2019/monitoring/error.js +1 -1
  83. package/dist/es2019/node-width/index.js +5 -9
  84. package/dist/es2019/panel.js +1 -1
  85. package/dist/es2019/styles/shared/annotation.js +11 -14
  86. package/dist/es2019/styles/shared/code-block.js +12 -14
  87. package/dist/es2019/styles/shared/code-mark.js +1 -2
  88. package/dist/es2019/styles/shared/grid.js +2 -3
  89. package/dist/es2019/styles/shared/headings.js +35 -8
  90. package/dist/es2019/styles/shared/panel.js +12 -25
  91. package/dist/es2019/styles/shared/plugins.js +1 -2
  92. package/dist/es2019/styles/shared/resizer.js +6 -7
  93. package/dist/es2019/styles/shared/rule.js +1 -2
  94. package/dist/es2019/styles/shared/shadow.js +2 -3
  95. package/dist/es2019/styles/shared/smartCard.js +5 -7
  96. package/dist/es2019/table/SortingIcon.js +2 -3
  97. package/dist/es2019/ui/BaseTheme/index.js +1 -2
  98. package/dist/es2019/ui/Caption/index.js +2 -3
  99. package/dist/es2019/ui/DropList/index.js +4 -5
  100. package/dist/es2019/ui/Expand/index.js +2 -3
  101. package/dist/es2019/ui/Expand/sharedStyles.js +7 -17
  102. package/dist/es2019/ui/FloatingToolbar/Separator.js +1 -2
  103. package/dist/es2019/ui/FloatingToolbar/styles.js +10 -12
  104. package/dist/es2019/ui/Messages/index.js +8 -6
  105. package/dist/es2019/ui/PanelTextInput/styles.js +4 -5
  106. package/dist/es2019/ui/UnsupportedBlock/index.js +4 -6
  107. package/dist/es2019/ui/UnsupportedInline/index.js +4 -6
  108. package/dist/es2019/ui/WidthProvider/index.js +2 -33
  109. package/dist/es2019/ui-color/ColorPalette/Color/index.js +1 -4
  110. package/dist/es2019/ui-color/ColorPalette/Color/styles.js +3 -4
  111. package/dist/es2019/ui-color/ColorPalette/Palettes/common.js +1 -2
  112. package/dist/es2019/ui-color/ColorPalette/Palettes/panelBackgroundPalette.js +21 -24
  113. package/dist/es2019/ui-color/ColorPalette/index.js +2 -3
  114. package/dist/es2019/ui-color/index.js +0 -1
  115. package/dist/es2019/ui-menu/ColorPickerButton/index.js +3 -4
  116. package/dist/es2019/ui-menu/DropdownMenu/index.js +3 -4
  117. package/dist/esm/element-browser/components/CategoryList.js +2 -3
  118. package/dist/esm/element-browser/components/ElementList/ElementList.js +3 -5
  119. package/dist/esm/element-browser/components/ElementSearch.js +1 -2
  120. package/dist/esm/element-browser/constants.js +1 -5
  121. package/dist/esm/extensibility/Extension/Extension/styles.js +3 -4
  122. package/dist/esm/extensibility/Extension/InlineExtension/styles.js +1 -2
  123. package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +6 -7
  124. package/dist/esm/extensibility/Extension/styles.js +3 -4
  125. package/dist/esm/extensibility/MultiBodiedExtension/styles.js +2 -3
  126. package/dist/esm/icons/shared/SteppedRainbowIconDecoration.js +2 -3
  127. package/dist/esm/keymaps/index.js +1 -2
  128. package/dist/esm/link/ConfigureLinkOverlay/StyledButton.js +4 -5
  129. package/dist/esm/link/ConfigureLinkOverlay/index.js +2 -4
  130. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -2
  131. package/dist/esm/link/LinkSearch/LinkSearchList.js +1 -2
  132. package/dist/esm/link/LinkSearch/LinkSearchListItem.js +4 -6
  133. package/dist/esm/media-inline/constants.js +10 -8
  134. package/dist/esm/media-inline/styles.js +1 -2
  135. package/dist/esm/media-inline/views/error-view.js +1 -2
  136. package/dist/esm/media-inline/views/wrapper.js +3 -4
  137. package/dist/esm/media-single/CommentBadge.js +1 -2
  138. package/dist/esm/monitoring/error.js +1 -1
  139. package/dist/esm/node-width/index.js +5 -9
  140. package/dist/esm/panel.js +1 -1
  141. package/dist/esm/styles/shared/annotation.js +11 -14
  142. package/dist/esm/styles/shared/code-block.js +2 -4
  143. package/dist/esm/styles/shared/code-mark.js +1 -2
  144. package/dist/esm/styles/shared/grid.js +2 -3
  145. package/dist/esm/styles/shared/headings.js +53 -17
  146. package/dist/esm/styles/shared/panel.js +12 -33
  147. package/dist/esm/styles/shared/plugins.js +1 -2
  148. package/dist/esm/styles/shared/resizer.js +1 -2
  149. package/dist/esm/styles/shared/rule.js +1 -2
  150. package/dist/esm/styles/shared/shadow.js +2 -3
  151. package/dist/esm/styles/shared/smartCard.js +2 -4
  152. package/dist/esm/table/SortingIcon.js +1 -2
  153. package/dist/esm/ui/BaseTheme/index.js +1 -2
  154. package/dist/esm/ui/Caption/index.js +2 -3
  155. package/dist/esm/ui/DropList/index.js +4 -5
  156. package/dist/esm/ui/Expand/index.js +2 -3
  157. package/dist/esm/ui/Expand/sharedStyles.js +7 -17
  158. package/dist/esm/ui/FloatingToolbar/Separator.js +1 -2
  159. package/dist/esm/ui/FloatingToolbar/styles.js +10 -12
  160. package/dist/esm/ui/Messages/index.js +8 -6
  161. package/dist/esm/ui/PanelTextInput/styles.js +4 -5
  162. package/dist/esm/ui/UnsupportedBlock/index.js +4 -6
  163. package/dist/esm/ui/UnsupportedInline/index.js +4 -6
  164. package/dist/esm/ui/WidthProvider/index.js +5 -39
  165. package/dist/esm/ui-color/ColorPalette/Color/index.js +1 -2
  166. package/dist/esm/ui-color/ColorPalette/Color/styles.js +3 -4
  167. package/dist/esm/ui-color/ColorPalette/Palettes/common.js +1 -2
  168. package/dist/esm/ui-color/ColorPalette/Palettes/panelBackgroundPalette.js +21 -24
  169. package/dist/esm/ui-color/ColorPalette/index.js +2 -3
  170. package/dist/esm/ui-color/index.js +0 -1
  171. package/dist/esm/ui-menu/ColorPickerButton/index.js +3 -4
  172. package/dist/esm/ui-menu/DropdownMenu/index.js +2 -3
  173. package/dist/types/element-browser/constants.d.ts +3 -3
  174. package/dist/types/media-inline/constants.d.ts +3 -0
  175. package/dist/types/panel.d.ts +1 -1
  176. package/dist/types/styles/shared/panel.d.ts +0 -2
  177. package/dist/types/ui/WidthProvider/index.d.ts +0 -5
  178. package/dist/types/ui-color/index.d.ts +0 -1
  179. package/dist/types-ts4.5/element-browser/constants.d.ts +3 -3
  180. package/dist/types-ts4.5/media-inline/constants.d.ts +3 -0
  181. package/dist/types-ts4.5/panel.d.ts +1 -1
  182. package/dist/types-ts4.5/styles/shared/panel.d.ts +0 -2
  183. package/dist/types-ts4.5/ui/WidthProvider/index.d.ts +0 -5
  184. package/dist/types-ts4.5/ui-color/index.d.ts +0 -1
  185. package/package.json +3 -7
  186. package/dist/cjs/ui/WidthProvider/isSsrButNoBreakoutScriptObserved.js +0 -11
  187. package/dist/cjs/ui-color/ColorPalette/Palettes/statusColorPalette.js +0 -60
  188. package/dist/es2019/ui/WidthProvider/isSsrButNoBreakoutScriptObserved.js +0 -6
  189. package/dist/es2019/ui-color/ColorPalette/Palettes/statusColorPalette.js +0 -54
  190. package/dist/esm/ui/WidthProvider/isSsrButNoBreakoutScriptObserved.js +0 -6
  191. package/dist/esm/ui-color/ColorPalette/Palettes/statusColorPalette.js +0 -54
  192. package/dist/types/ui/WidthProvider/isSsrButNoBreakoutScriptObserved.d.ts +0 -1
  193. package/dist/types/ui-color/ColorPalette/Palettes/statusColorPalette.d.ts +0 -4
  194. package/dist/types-ts4.5/ui/WidthProvider/isSsrButNoBreakoutScriptObserved.d.ts +0 -1
  195. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/statusColorPalette.d.ts +0 -4
@@ -1,5 +1,3 @@
1
- import { hexToRgba } from '@atlaskit/adf-schema';
2
- import { B75, DN400, N30A, N400, R400 } from '@atlaskit/theme/colors';
3
1
  export var iconOnlySpacing = {
4
2
  '&&': {
5
3
  padding: '0px',
@@ -35,28 +33,28 @@ var background = {
35
33
  dark: 'inherit'
36
34
  },
37
35
  hover: {
38
- light: "var(--ds-background-neutral-subtle-hovered, ".concat(N30A, ")"),
39
- dark: "var(--ds-background-neutral-subtle-hovered, ".concat(N30A, ")")
36
+ light: "var(--ds-background-neutral-subtle-hovered, #091E420F)",
37
+ dark: "var(--ds-background-neutral-subtle-hovered, #091E420F)"
40
38
  },
41
39
  active: {
42
- light: "var(--ds-background-neutral-pressed, ".concat("".concat(hexToRgba(B75, 0.6)), ")"),
43
- dark: "var(--ds-background-neutral-pressed, ".concat("".concat(hexToRgba(B75, 0.6)), ")")
40
+ light: "var(--ds-background-neutral-pressed, #091E424F)",
41
+ dark: "var(--ds-background-neutral-pressed, #091E424F)"
44
42
  }
45
43
  }
46
44
  };
47
45
  var color = {
48
46
  danger: {
49
47
  default: {
50
- light: "var(--ds-icon, ".concat(N400, ")"),
51
- dark: "var(--ds-icon, ".concat(DN400, ")")
48
+ light: "var(--ds-icon, #44546F)",
49
+ dark: "var(--ds-icon, #44546F)"
52
50
  },
53
51
  hover: {
54
- light: "var(--ds-icon-danger, ".concat(R400, ")"),
55
- dark: "var(--ds-icon-danger, ".concat(R400, ")")
52
+ light: "var(--ds-icon-danger, #C9372C)",
53
+ dark: "var(--ds-icon-danger, #C9372C)"
56
54
  },
57
55
  active: {
58
- light: "var(--ds-icon-danger, ".concat(R400, ")"),
59
- dark: "var(--ds-icon-danger, ".concat(R400, ")")
56
+ light: "var(--ds-icon-danger, #C9372C)",
57
+ dark: "var(--ds-icon-danger, #C9372C)"
60
58
  }
61
59
  }
62
60
  };
@@ -7,22 +7,24 @@
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import SuccessIcon from '@atlaskit/icon/glyph/editor/success';
9
9
  import ErrorIcon from '@atlaskit/icon/glyph/error';
10
- import { G400, N200, R400 } from '@atlaskit/theme/colors';
11
- import { h200 } from '@atlaskit/theme/typography';
12
10
  var errorColor = css({
13
- color: "var(--ds-text-danger, ".concat(R400, ")")
11
+ color: "var(--ds-text-danger, #AE2E24)"
14
12
  });
15
13
  var validColor = css({
16
- color: "var(--ds-text-success, ".concat(G400, ")")
14
+ color: "var(--ds-text-success, #216E4E)"
17
15
  });
18
16
 
19
17
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
20
18
  var messageStyle = function messageStyle() {
21
19
  return (
22
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
23
- css(h200(), {
21
+ css({
22
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
23
+ fontSize: "".concat(12 / 14, "em"),
24
+ fontStyle: 'inherit',
25
+ lineHeight: 16 / 12,
24
26
  fontWeight: 'normal',
25
- color: "var(--ds-text-subtlest, ".concat(N200, ")"),
27
+ color: "var(--ds-text-subtlest, #626F86)",
26
28
  marginTop: "var(--ds-space-050, 4px)",
27
29
  display: 'flex',
28
30
  justifyContent: 'baseline'
@@ -1,17 +1,16 @@
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
3
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
4
- import { B100, N100, N30, N400 } from '@atlaskit/theme/colors';
5
4
  // Normal .className gets overridden by input[type=text] hence this hack to produce input.className
6
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
7
6
  export var panelTextInput = css({
8
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
9
8
  'input&': {
10
9
  background: 'transparent',
11
- border: "2px solid ".concat("var(--ds-border, ".concat(N30, ")")),
10
+ border: "2px solid ".concat("var(--ds-border, #091E4224)"),
12
11
  borderRadius: 0,
13
12
  boxSizing: 'content-box',
14
- color: "var(--ds-text-subtle, ".concat(N400, ")"),
13
+ color: "var(--ds-text-subtle, #44546F)",
15
14
  flexGrow: 1,
16
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
17
16
  fontSize: relativeFontSizeToBase16(13),
@@ -25,10 +24,10 @@ export var panelTextInput = css({
25
24
  },
26
25
  '&:focus': {
27
26
  outline: 'none',
28
- borderColor: "var(--ds-border-focused, ".concat(B100, ")")
27
+ borderColor: "var(--ds-border-focused, #388BFF)"
29
28
  },
30
29
  '&::placeholder': {
31
- color: "var(--ds-text-subtlest, ".concat(N100, ")")
30
+ color: "var(--ds-text-subtlest, #626F86)"
32
31
  }
33
32
  }
34
33
  });
@@ -9,23 +9,21 @@ import { css, jsx } from '@emotion/react';
9
9
  import { injectIntl } from 'react-intl-next';
10
10
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
11
11
  import QuestionsIcon from '@atlaskit/icon/glyph/question-circle';
12
- import { N30, N50 } from '@atlaskit/theme/colors';
13
- import { borderRadius, fontSize } from '@atlaskit/theme/constants';
14
12
  import Tooltip from '@atlaskit/tooltip';
15
13
  import { ACTION_SUBJECT_ID } from '../../analytics';
16
14
  import { unsupportedContentMessages } from '../../messages/unsupportedContent';
17
15
  import { trackUnsupportedContentTooltipDisplayedFor } from '../../utils/track-unsupported-content';
18
16
  import { getUnsupportedContent } from '../unsupported-content-helper';
19
17
  var blockNodeStyle = css({
20
- background: "var(--ds-background-disabled, ".concat(N30, ")"),
21
- border: "1px dashed ".concat("var(--ds-border-disabled, ".concat(N50, ")")),
18
+ background: "var(--ds-background-disabled, #091E4208)",
19
+ border: "1px dashed ".concat("var(--ds-border-disabled, #091E420F)"),
22
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
23
- borderRadius: "".concat(borderRadius(), "px"),
21
+ borderRadius: "var(--ds-border-radius, 3px)",
24
22
  boxSizing: 'border-box',
25
23
  cursor: 'default',
26
24
  display: 'flex',
27
25
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
28
- fontSize: relativeFontSizeToBase16(fontSize()),
26
+ fontSize: relativeFontSizeToBase16(14),
29
27
  margin: "var(--ds-space-100, 8px)".concat(" 0"),
30
28
  minHeight: '24px',
31
29
  padding: "var(--ds-space-150, 12px)",
@@ -9,8 +9,6 @@ import { css, jsx } from '@emotion/react';
9
9
  import { injectIntl } from 'react-intl-next';
10
10
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
11
11
  import QuestionsIcon from '@atlaskit/icon/glyph/question-circle';
12
- import { N30, N50 } from '@atlaskit/theme/colors';
13
- import { borderRadius, fontSize } from '@atlaskit/theme/constants';
14
12
  import Tooltip from '@atlaskit/tooltip';
15
13
  import { ACTION_SUBJECT_ID } from '../../analytics';
16
14
  import { unsupportedContentMessages } from '../../messages/unsupportedContent';
@@ -18,15 +16,15 @@ import { trackUnsupportedContentTooltipDisplayedFor } from '../../utils/track-un
18
16
  import { getUnsupportedContent } from '../unsupported-content-helper';
19
17
  var inlineNodeStyle = css({
20
18
  alignItems: 'center',
21
- background: "var(--ds-background-disabled, ".concat(N30, ")"),
22
- border: "1px dashed ".concat("var(--ds-border-disabled, ".concat(N50, ")")),
19
+ background: "var(--ds-background-disabled, #091E4208)",
20
+ border: "1px dashed ".concat("var(--ds-border-disabled, #091E420F)"),
23
21
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
24
- borderRadius: "".concat(borderRadius(), "px"),
22
+ borderRadius: "var(--ds-border-radius, 3px)",
25
23
  boxSizing: 'border-box',
26
24
  cursor: 'default',
27
25
  display: 'inline-flex',
28
26
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
29
- fontSize: relativeFontSizeToBase16(fontSize()),
27
+ fontSize: relativeFontSizeToBase16(14),
30
28
  margin: "0 ".concat("var(--ds-space-025, 2px)"),
31
29
  minHeight: '24px',
32
30
  padding: "0 ".concat("var(--ds-space-100, 8px)"),
@@ -9,10 +9,8 @@ import React, { Fragment, useContext, useMemo, useRef, useState } from 'react';
9
9
  import { css, jsx } from '@emotion/react';
10
10
  import memoizeOne from 'memoize-one';
11
11
  import rafSchedule from 'raf-schd';
12
- import { fg } from '@atlaskit/platform-feature-flags';
13
12
  import { WidthObserver } from '@atlaskit/width-detector';
14
13
  import { isSSR } from '../../core-utils/is-ssr';
15
- import { isSsrButNoBreakoutScriptObserved } from './isSsrButNoBreakoutScriptObserved';
16
14
  var styles = css({
17
15
  position: 'relative',
18
16
  width: '100%'
@@ -59,17 +57,11 @@ export var WidthProvider = function WidthProvider(_ref) {
59
57
  var className = _ref.className,
60
58
  shouldCheckExistingValue = _ref.shouldCheckExistingValue,
61
59
  children = _ref.children;
62
- var shouldFixTableResizing = Boolean(fg('platform-fix-table-ssr-resizing'));
63
- var containerRef = useRef(null);
64
60
  var existingContextValue = useContext(WidthContext);
65
- var _useState = useState(false),
61
+ var _useState = useState(getBodyWidth),
66
62
  _useState2 = _slicedToArray(_useState, 2),
67
- isInitialWidthUpdated = _useState2[0],
68
- setIsInitialWidthUpdated = _useState2[1];
69
- var _useState3 = useState(getBodyWidth),
70
- _useState4 = _slicedToArray(_useState3, 2),
71
- width = _useState4[0],
72
- setWidth = _useState4[1];
63
+ width = _useState2[0],
64
+ setWidth = _useState2[1];
73
65
  var widthRef = useRef(width);
74
66
  var isMountedRef = useRef(true);
75
67
  var providerValue = useMemo(function () {
@@ -93,41 +85,15 @@ export var WidthProvider = function WidthProvider(_ref) {
93
85
  var skipWidthDetection = shouldCheckExistingValue && existingContextValue.width > 0;
94
86
  React.useLayoutEffect(function () {
95
87
  isMountedRef.current = true;
96
- if (shouldFixTableResizing && !isInitialWidthUpdated) {
97
- // useLayoutEffect is not run in SSR mode
98
- // The visibility change for SSR is done in packages/editor/renderer/src/ui/Renderer/breakout-ssr.tsx
99
- setIsInitialWidthUpdated(true);
100
- if (containerRef.current) {
101
- setWidth(containerRef.current.offsetWidth);
102
- }
103
- }
104
88
  return function () {
105
89
  isMountedRef.current = false;
106
90
  };
107
- }, [isInitialWidthUpdated, shouldFixTableResizing, width]);
91
+ }, []);
108
92
  return jsx("div", {
109
93
  css: styles
110
94
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
111
95
  ,
112
- className: className,
113
- ref: containerRef
114
- // Using style not css prop because we need to also reset these style in SSR
115
- // It is done in packages/editor/renderer/src/ui/Renderer/breakout-ssr.tsx
116
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Intended
117
- ,
118
- style:
119
- // The hidden visibility is relying on the observer in breakout-ssr.tsx to clear.
120
- // Do not hide if the observer is not observed. This happens in editor SSR.
121
- shouldFixTableResizing && !isSsrButNoBreakoutScriptObserved() && !isInitialWidthUpdated ? {
122
- // Width is initialized with body width but in Confluence this is too wide as side nav takes some space.
123
- // Putting the div into hidden until we can get the correct width.
124
- // Only setting the visibility so children still takes space which will make scrollbar to correct appear.
125
- // Scrollbar has width too it needs to be taken into account otherwise table is going to shrink after appeared.
126
- visibility: 'hidden',
127
- // Because the body width is too wide, the horizontal scrollbar gonna shown
128
- // Temporary hide it until we get the correct width
129
- overflowX: 'hidden'
130
- } : {}
96
+ className: className
131
97
  }, !skipWidthDetection && jsx(Fragment, null, jsx(WidthObserver, {
132
98
  setWidth: updateWidth,
133
99
  offscreen: true
@@ -7,7 +7,6 @@ import React from 'react';
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { jsx } from '@emotion/react';
9
9
  import EditorDoneIcon from '@atlaskit/icon/glyph/editor/done';
10
- import { N0 } from '@atlaskit/theme/colors';
11
10
  import Tooltip from '@atlaskit/tooltip';
12
11
  import { buttonStyle, buttonWrapperStyle } from './styles';
13
12
  var Color = function Color(props) {
@@ -18,7 +17,7 @@ var Color = function Color(props) {
18
17
  isSelected = props.isSelected,
19
18
  borderColor = props.borderColor,
20
19
  _props$checkMarkColor = props.checkMarkColor,
21
- checkMarkColor = _props$checkMarkColor === void 0 ? N0 : _props$checkMarkColor,
20
+ checkMarkColor = _props$checkMarkColor === void 0 ? '#FFFFFF' : _props$checkMarkColor,
22
21
  hexToPaletteColor = props.hexToPaletteColor,
23
22
  decorator = props.decorator;
24
23
  var colorStyle = hexToPaletteColor ? hexToPaletteColor(value) : value;
@@ -1,16 +1,15 @@
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 { N0, N50, N900 } from '@atlaskit/theme/colors';
4
3
  /** this is not new usage - old code extracted from editor-core */
5
4
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
6
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
7
6
  export var buttonStyle = css({
8
7
  height: '26px',
9
8
  width: '26px',
10
- background: "var(--ds-background-neutral, ".concat(N900, ")"),
9
+ background: "var(--ds-background-neutral, #091E420F)",
11
10
  padding: 0,
12
11
  borderRadius: '4px',
13
- border: "1px solid ".concat("var(--ds-border-inverse, ".concat(N0, ")")),
12
+ border: "1px solid ".concat("var(--ds-border-inverse, #FFFFFF)"),
14
13
  cursor: 'pointer',
15
14
  display: 'block'
16
15
  });
@@ -28,7 +27,7 @@ export var buttonWrapperStyle = css({
28
27
  borderRadius: '6px',
29
28
  '&:focus-within, &:focus, &:hover': {
30
29
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
31
- borderColor: "".concat("var(--ds-border, ".concat(N50, ")"), " !important")
30
+ borderColor: "var(--ds-border, #091E4224)".concat(" !important")
32
31
  }
33
32
  });
34
33
  /* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
@@ -1,5 +1,4 @@
1
1
  import chromatism from 'chromatism';
2
- import { N800 } from '@atlaskit/theme/colors';
3
2
 
4
3
  /**
5
4
  * For a given color set the alpha channel to alpha
@@ -18,5 +17,5 @@ function setAlpha(color, alpha) {
18
17
 
19
18
  /** this is not new usage - old code extracted from editor-core */
20
19
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
21
- export var DEFAULT_BORDER_COLOR = setAlpha(N800, 0.12);
20
+ export var DEFAULT_BORDER_COLOR = setAlpha('#172B4D', 0.12);
22
21
  /* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
@@ -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);
@@ -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";
@@ -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;
@@ -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';
@@ -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";
@@ -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;
@@ -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';