@atlaskit/editor-common 94.9.3 → 94.11.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 94.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#159546](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/159546)
8
+ [`e2dc2f10636c6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e2dc2f10636c6) -
9
+ [ux] Layout responsiveness in renderer
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 94.10.0
16
+
17
+ ### Minor Changes
18
+
19
+ - [#159372](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/159372)
20
+ [`a76bccb5634a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a76bccb5634a4) -
21
+ add custom tokens for editor bold ugc headings
22
+
3
23
  ## 94.9.3
4
24
 
5
25
  ### Patch Changes
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
17
17
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
18
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
19
19
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
20
- var packageVersion = "94.9.3";
20
+ var packageVersion = "94.11.0";
21
21
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
22
22
  // Remove URL as it has UGC
23
23
  // TODO: Sanitise the URL instead of just removing it
@@ -183,6 +183,12 @@ Object.defineProperty(exports, "codeMarkSharedStyles", {
183
183
  return _codeMark.codeMarkSharedStyles;
184
184
  }
185
185
  });
186
+ Object.defineProperty(exports, "columnLayoutResponsiveSharedStyle", {
187
+ enumerable: true,
188
+ get: function get() {
189
+ return _columnLayout.columnLayoutResponsiveSharedStyle;
190
+ }
191
+ });
186
192
  Object.defineProperty(exports, "columnLayoutSharedStyle", {
187
193
  enumerable: true,
188
194
  get: function get() {
@@ -4,12 +4,11 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.columnLayoutSharedStyle = void 0;
7
+ exports.columnLayoutSharedStyle = exports.columnLayoutResponsiveSharedStyle = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _react = require("@emotion/react");
10
10
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
11
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
-
11
+ var _dataLayoutSection2; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
13
12
  var columnLayoutSharedStyle = exports.columnLayoutSharedStyle = (0, _react.css)({
14
13
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
15
14
  '[data-layout-section]': (0, _defineProperty2.default)({
@@ -29,5 +28,30 @@ var columnLayoutSharedStyle = exports.columnLayoutSharedStyle = (0, _react.css)(
29
28
  flexDirection: 'column'
30
29
  })
31
30
  });
31
+ var columnLayoutResponsiveSharedStyle = exports.columnLayoutResponsiveSharedStyle = (0, _react.css)({
32
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
33
+ '.layout-section-container': {
34
+ containerType: 'inline-size',
35
+ containerName: 'layout-area',
36
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
37
+ '[data-layout-section]': (_dataLayoutSection2 = {
38
+ display: 'grid',
39
+ gap: "var(--ds-space-200, 16px)",
40
+ gridTemplateColumns: "repeat(auto-fit, minmax(0, 1fr))"
41
+ }, (0, _defineProperty2.default)(_dataLayoutSection2, "@container layout-area (max-width:".concat(_editorSharedStyles.layoutBreakpointWidth.MEDIUM - 1, "px) and (min-width: ").concat(_editorSharedStyles.layoutBreakpointWidth.SMALL, "px)"), {
42
+ gridTemplateColumns: "repeat(1, 1fr)",
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
44
+ '&[data-layout-columns="4"], &[data-layout-columns="5"]': {
45
+ gridTemplateColumns: "repeat(2, 1fr)",
46
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
47
+ '& > :nth-child(5)': {
48
+ gridColumn: 'span 2'
49
+ }
50
+ }
51
+ }), (0, _defineProperty2.default)(_dataLayoutSection2, "@container layout-area (width < ".concat(_editorSharedStyles.layoutBreakpointWidth.SMALL, "px)"), {
52
+ gridTemplateColumns: "repeat(1, 1fr)"
53
+ }), _dataLayoutSection2)
54
+ }
55
+ });
32
56
 
33
57
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
@@ -48,37 +48,54 @@ var headingWithAlignmentStyles = function headingWithAlignmentStyles() {
48
48
  // @see typography spreadsheet: https://docs.google.com/spreadsheets/d/1iYusRGCT4PoPfvxbJ8NrgjtfFgXLm5lpDWXzjua1W2E/edit#gid=93913128
49
49
  // text sizing prototype: http://proto/fabricrender/
50
50
  var headingsSharedStyles = exports.headingsSharedStyles = function headingsSharedStyles(typographyTheme) {
51
- var isADSTokenMigrationEnabled = (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc');
52
- if (isADSTokenMigrationEnabled) {
51
+ if ((0, _platformFeatureFlags.fg)('platform_editor_typography_ugc')) {
53
52
  return (0, _react.css)(_objectSpread({
54
53
  '& h1': {
55
54
  font: (0, _getEditorUgcToken.default)('editor.font.heading.h1', typographyTheme),
56
55
  marginBottom: 0,
57
- marginTop: '1.667em'
56
+ marginTop: '1.667em',
57
+ '& strong': {
58
+ fontWeight: (0, _getEditorUgcToken.default)('editor.font.weight.heading.h1.bold', typographyTheme)
59
+ }
58
60
  },
59
61
  '& h2': {
60
62
  font: (0, _getEditorUgcToken.default)('editor.font.heading.h2', typographyTheme),
61
63
  marginTop: '1.8em',
62
- marginBottom: 0
64
+ marginBottom: 0,
65
+ '& strong': {
66
+ fontWeight: (0, _getEditorUgcToken.default)('editor.font.weight.heading.h1.bold', typographyTheme)
67
+ }
63
68
  },
64
69
  '& h3': {
65
70
  font: (0, _getEditorUgcToken.default)('editor.font.heading.h3', typographyTheme),
66
71
  marginTop: '2em',
67
- marginBottom: 0
72
+ marginBottom: 0,
73
+ '& strong': {
74
+ fontWeight: (0, _getEditorUgcToken.default)('editor.font.weight.heading.h1.bold', typographyTheme)
75
+ }
68
76
  },
69
77
  '& h4': {
70
78
  font: (0, _getEditorUgcToken.default)('editor.font.heading.h4', typographyTheme),
71
- marginTop: '1.357em'
79
+ marginTop: '1.357em',
80
+ '& strong': {
81
+ fontWeight: (0, _getEditorUgcToken.default)('editor.font.weight.heading.h1.bold', typographyTheme)
82
+ }
72
83
  },
73
84
  '& h5': {
74
85
  font: (0, _getEditorUgcToken.default)('editor.font.heading.h5', typographyTheme),
75
86
  marginTop: '1.667em',
76
- textTransform: 'none'
87
+ textTransform: 'none',
88
+ '& strong': {
89
+ fontWeight: (0, _getEditorUgcToken.default)('editor.font.weight.heading.h1.bold', typographyTheme)
90
+ }
77
91
  },
78
92
  '& h6': {
79
93
  font: (0, _getEditorUgcToken.default)('editor.font.heading.h6', typographyTheme),
80
94
  marginTop: '1.455em',
81
- textTransform: 'none'
95
+ textTransform: 'none',
96
+ '& strong': {
97
+ fontWeight: (0, _getEditorUgcToken.default)('editor.font.weight.heading.h1.bold', typographyTheme)
98
+ }
82
99
  }
83
100
  }, headingWithAlignmentStyles()));
84
101
  } else {
@@ -11,23 +11,41 @@ var editorUGCTokens = exports.editorUGCTokens = {
11
11
  'editor.font.heading.h4': 'normal 600 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
12
12
  'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
13
13
  'editor.font.heading.h6': 'normal 700 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
14
- 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif'
14
+ 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
15
+ 'editor.font.weight.heading.h1.bold': '700',
16
+ 'editor.font.weight.heading.h2.bold': '700',
17
+ 'editor.font.weight.heading.h3.bold': '700',
18
+ 'editor.font.weight.heading.h4.bold': '700',
19
+ 'editor.font.weight.heading.h5.bold': '700',
20
+ 'editor.font.weight.heading.h6.bold': '700'
15
21
  };
16
22
  var editorUGCTokensModernized = exports.editorUGCTokensModernized = {
17
- 'editor.font.heading.h1': 'normal 700 1.71429em/1.16667 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
18
- 'editor.font.heading.h2': 'normal 700 1.42857em/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
19
- 'editor.font.heading.h3': 'normal 700 1.14286em/1.25 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
20
- 'editor.font.heading.h4': 'normal 700 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
21
- 'editor.font.heading.h5': 'normal 700 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
22
- 'editor.font.heading.h6': 'normal 700 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
23
- 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif'
23
+ 'editor.font.heading.h1': 'normal 600 1.71429em/1.16667 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
24
+ 'editor.font.heading.h2': 'normal 600 1.42857em/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
25
+ 'editor.font.heading.h3': 'normal 600 1.14286em/1.25 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
26
+ 'editor.font.heading.h4': 'normal 600 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
27
+ 'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
28
+ 'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
29
+ 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
30
+ 'editor.font.weight.heading.h1.bold': '700',
31
+ 'editor.font.weight.heading.h2.bold': '700',
32
+ 'editor.font.weight.heading.h3.bold': '700',
33
+ 'editor.font.weight.heading.h4.bold': '700',
34
+ 'editor.font.weight.heading.h5.bold': '700',
35
+ 'editor.font.weight.heading.h6.bold': '700'
24
36
  };
25
37
  var editorUGCTokensRefreshed = exports.editorUGCTokensRefreshed = {
26
- 'editor.font.heading.h1': 'normal 700 1.71429em/1.16667 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
27
- 'editor.font.heading.h2': 'normal 700 1.42857em/1.2 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
28
- 'editor.font.heading.h3': 'normal 7001.14286em/1.25 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
29
- 'editor.font.heading.h4': 'normal 700 1em/1.14286 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
30
- 'editor.font.heading.h5': 'normal 700 0.857143em/1.33333 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
31
- 'editor.font.heading.h6': 'normal 700 0.785714em/1.45455 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
32
- 'editor.font.body': 'normal 400 1em/1.714 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif'
38
+ 'editor.font.heading.h1': 'normal 600 1.71429em/1.16667 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
39
+ 'editor.font.heading.h2': 'normal 600 1.42857em/1.2 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
40
+ 'editor.font.heading.h3': 'normal 600 1.14286em/1.25 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
41
+ 'editor.font.heading.h4': 'normal 600 1em/1.14286 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
42
+ 'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
43
+ 'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
44
+ 'editor.font.body': 'normal 400 1em/1.714 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
45
+ 'editor.font.weight.heading.h1.bold': '700',
46
+ 'editor.font.weight.heading.h2.bold': '700',
47
+ 'editor.font.weight.heading.h3.bold': '700',
48
+ 'editor.font.weight.heading.h4.bold': '700',
49
+ 'editor.font.weight.heading.h5.bold': '700',
50
+ 'editor.font.weight.heading.h6.bold': '700'
33
51
  };
@@ -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 = "94.9.3";
27
+ var packageVersion = "94.11.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var DropList = /*#__PURE__*/function (_Component) {
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "94.9.3";
4
+ const packageVersion = "94.11.0";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // TODO: Sanitise the URL instead of just removing it
@@ -2,7 +2,7 @@ export { textColorStyles } from './shared/text-color';
2
2
  export { backgroundColorStyles } from './shared/background-color';
3
3
  export { tableSharedStyle, tableMarginTop, tableMarginBottom, tableMarginSides, tableCellMinWidth, tableNewColumnMinWidth, tableCellBorderWidth, calcTableWidth, TableSharedCssClassName, tableResizeHandleWidth, tableCellPadding, tableMarginTopWithControl } from './shared/table';
4
4
  export { AnnotationSharedClassNames, BlockAnnotationSharedClassNames, AnnotationSharedCSSByState, annotationSharedStyles } from './shared/annotation';
5
- export { columnLayoutSharedStyle } from './shared/column-layout';
5
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle } from './shared/column-layout';
6
6
  export { mediaSingleSharedStyle, mediaSingleSharedStyleNew, richMediaClassName } from './shared/media-single';
7
7
  export { blockquoteSharedStyles } from './shared/blockquote';
8
8
  export { headingsSharedStyles } from './shared/headings';
@@ -1,6 +1,6 @@
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 { gridMediumMaxWidth } from '@atlaskit/editor-shared-styles';
3
+ import { gridMediumMaxWidth, layoutBreakpointWidth } from '@atlaskit/editor-shared-styles';
4
4
  const columnLayoutSharedStyle = css({
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
6
6
  '[data-layout-section]': {
@@ -22,6 +22,35 @@ const columnLayoutSharedStyle = css({
22
22
  }
23
23
  }
24
24
  });
25
+ const columnLayoutResponsiveSharedStyle = css({
26
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
27
+ '.layout-section-container': {
28
+ containerType: 'inline-size',
29
+ containerName: 'layout-area',
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
31
+ '[data-layout-section]': {
32
+ display: 'grid',
33
+ gap: "var(--ds-space-200, 16px)",
34
+ gridTemplateColumns: `repeat(auto-fit, minmax(0, 1fr))`,
35
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-container-queries, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
36
+ [`@container layout-area (max-width:${layoutBreakpointWidth.MEDIUM - 1}px) and (min-width: ${layoutBreakpointWidth.SMALL}px)`]: {
37
+ gridTemplateColumns: `repeat(1, 1fr)`,
38
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
39
+ '&[data-layout-columns="4"], &[data-layout-columns="5"]': {
40
+ gridTemplateColumns: `repeat(2, 1fr)`,
41
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
42
+ '& > :nth-child(5)': {
43
+ gridColumn: 'span 2'
44
+ }
45
+ }
46
+ },
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-container-queries, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
48
+ [`@container layout-area (width < ${layoutBreakpointWidth.SMALL}px)`]: {
49
+ gridTemplateColumns: `repeat(1, 1fr)`
50
+ }
51
+ }
52
+ }
53
+ });
25
54
 
26
55
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
27
- export { columnLayoutSharedStyle };
56
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle };
@@ -41,37 +41,54 @@ fg('platform_editor_heading_margin_fix') ? {
41
41
  // @see typography spreadsheet: https://docs.google.com/spreadsheets/d/1iYusRGCT4PoPfvxbJ8NrgjtfFgXLm5lpDWXzjua1W2E/edit#gid=93913128
42
42
  // text sizing prototype: http://proto/fabricrender/
43
43
  export const headingsSharedStyles = typographyTheme => {
44
- const isADSTokenMigrationEnabled = fg('platform_editor_typography_ugc');
45
- if (isADSTokenMigrationEnabled) {
44
+ if (fg('platform_editor_typography_ugc')) {
46
45
  return css({
47
46
  '& h1': {
48
47
  font: editorUGCToken('editor.font.heading.h1', typographyTheme),
49
48
  marginBottom: 0,
50
- marginTop: '1.667em'
49
+ marginTop: '1.667em',
50
+ '& strong': {
51
+ fontWeight: editorUGCToken('editor.font.weight.heading.h1.bold', typographyTheme)
52
+ }
51
53
  },
52
54
  '& h2': {
53
55
  font: editorUGCToken('editor.font.heading.h2', typographyTheme),
54
56
  marginTop: '1.8em',
55
- marginBottom: 0
57
+ marginBottom: 0,
58
+ '& strong': {
59
+ fontWeight: editorUGCToken('editor.font.weight.heading.h1.bold', typographyTheme)
60
+ }
56
61
  },
57
62
  '& h3': {
58
63
  font: editorUGCToken('editor.font.heading.h3', typographyTheme),
59
64
  marginTop: '2em',
60
- marginBottom: 0
65
+ marginBottom: 0,
66
+ '& strong': {
67
+ fontWeight: editorUGCToken('editor.font.weight.heading.h1.bold', typographyTheme)
68
+ }
61
69
  },
62
70
  '& h4': {
63
71
  font: editorUGCToken('editor.font.heading.h4', typographyTheme),
64
- marginTop: '1.357em'
72
+ marginTop: '1.357em',
73
+ '& strong': {
74
+ fontWeight: editorUGCToken('editor.font.weight.heading.h1.bold', typographyTheme)
75
+ }
65
76
  },
66
77
  '& h5': {
67
78
  font: editorUGCToken('editor.font.heading.h5', typographyTheme),
68
79
  marginTop: '1.667em',
69
- textTransform: 'none'
80
+ textTransform: 'none',
81
+ '& strong': {
82
+ fontWeight: editorUGCToken('editor.font.weight.heading.h1.bold', typographyTheme)
83
+ }
70
84
  },
71
85
  '& h6': {
72
86
  font: editorUGCToken('editor.font.heading.h6', typographyTheme),
73
87
  marginTop: '1.455em',
74
- textTransform: 'none'
88
+ textTransform: 'none',
89
+ '& strong': {
90
+ fontWeight: editorUGCToken('editor.font.weight.heading.h1.bold', typographyTheme)
91
+ }
75
92
  },
76
93
  ...headingWithAlignmentStyles()
77
94
  });
@@ -5,23 +5,41 @@ export const editorUGCTokens = {
5
5
  'editor.font.heading.h4': 'normal 600 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
6
6
  'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
7
7
  'editor.font.heading.h6': 'normal 700 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
8
- 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif'
8
+ 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
9
+ 'editor.font.weight.heading.h1.bold': '700',
10
+ 'editor.font.weight.heading.h2.bold': '700',
11
+ 'editor.font.weight.heading.h3.bold': '700',
12
+ 'editor.font.weight.heading.h4.bold': '700',
13
+ 'editor.font.weight.heading.h5.bold': '700',
14
+ 'editor.font.weight.heading.h6.bold': '700'
9
15
  };
10
16
  export const editorUGCTokensModernized = {
11
- 'editor.font.heading.h1': 'normal 700 1.71429em/1.16667 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
12
- 'editor.font.heading.h2': 'normal 700 1.42857em/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
13
- 'editor.font.heading.h3': 'normal 700 1.14286em/1.25 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
14
- 'editor.font.heading.h4': 'normal 700 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
15
- 'editor.font.heading.h5': 'normal 700 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
16
- 'editor.font.heading.h6': 'normal 700 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
17
- 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif'
17
+ 'editor.font.heading.h1': 'normal 600 1.71429em/1.16667 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
18
+ 'editor.font.heading.h2': 'normal 600 1.42857em/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
19
+ 'editor.font.heading.h3': 'normal 600 1.14286em/1.25 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
20
+ 'editor.font.heading.h4': 'normal 600 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
21
+ 'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
22
+ 'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
23
+ 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
24
+ 'editor.font.weight.heading.h1.bold': '700',
25
+ 'editor.font.weight.heading.h2.bold': '700',
26
+ 'editor.font.weight.heading.h3.bold': '700',
27
+ 'editor.font.weight.heading.h4.bold': '700',
28
+ 'editor.font.weight.heading.h5.bold': '700',
29
+ 'editor.font.weight.heading.h6.bold': '700'
18
30
  };
19
31
  export const editorUGCTokensRefreshed = {
20
- 'editor.font.heading.h1': 'normal 700 1.71429em/1.16667 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
21
- 'editor.font.heading.h2': 'normal 700 1.42857em/1.2 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
22
- 'editor.font.heading.h3': 'normal 7001.14286em/1.25 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
23
- 'editor.font.heading.h4': 'normal 700 1em/1.14286 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
24
- 'editor.font.heading.h5': 'normal 700 0.857143em/1.33333 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
25
- 'editor.font.heading.h6': 'normal 700 0.785714em/1.45455 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
26
- 'editor.font.body': 'normal 400 1em/1.714 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif'
32
+ 'editor.font.heading.h1': 'normal 600 1.71429em/1.16667 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
33
+ 'editor.font.heading.h2': 'normal 600 1.42857em/1.2 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
34
+ 'editor.font.heading.h3': 'normal 600 1.14286em/1.25 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
35
+ 'editor.font.heading.h4': 'normal 600 1em/1.14286 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
36
+ 'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
37
+ 'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
38
+ 'editor.font.body': 'normal 400 1em/1.714 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
39
+ 'editor.font.weight.heading.h1.bold': '700',
40
+ 'editor.font.weight.heading.h2.bold': '700',
41
+ 'editor.font.weight.heading.h3.bold': '700',
42
+ 'editor.font.weight.heading.h4.bold': '700',
43
+ 'editor.font.weight.heading.h5.bold': '700',
44
+ 'editor.font.weight.heading.h6.bold': '700'
27
45
  };
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "94.9.3";
16
+ const packageVersion = "94.11.0";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  class DropList extends Component {
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "94.9.3";
10
+ var packageVersion = "94.11.0";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // TODO: Sanitise the URL instead of just removing it
@@ -2,7 +2,7 @@ export { textColorStyles } from './shared/text-color';
2
2
  export { backgroundColorStyles } from './shared/background-color';
3
3
  export { tableSharedStyle, tableMarginTop, tableMarginBottom, tableMarginSides, tableCellMinWidth, tableNewColumnMinWidth, tableCellBorderWidth, calcTableWidth, TableSharedCssClassName, tableResizeHandleWidth, tableCellPadding, tableMarginTopWithControl } from './shared/table';
4
4
  export { AnnotationSharedClassNames, BlockAnnotationSharedClassNames, AnnotationSharedCSSByState, annotationSharedStyles } from './shared/annotation';
5
- export { columnLayoutSharedStyle } from './shared/column-layout';
5
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle } from './shared/column-layout';
6
6
  export { mediaSingleSharedStyle, mediaSingleSharedStyleNew, richMediaClassName } from './shared/media-single';
7
7
  export { blockquoteSharedStyles } from './shared/blockquote';
8
8
  export { headingsSharedStyles } from './shared/headings';
@@ -1,7 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ var _dataLayoutSection2;
2
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { css } from '@emotion/react';
4
- import { gridMediumMaxWidth } from '@atlaskit/editor-shared-styles';
5
+ import { gridMediumMaxWidth, layoutBreakpointWidth } from '@atlaskit/editor-shared-styles';
5
6
  var columnLayoutSharedStyle = css({
6
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
7
8
  '[data-layout-section]': _defineProperty({
@@ -21,6 +22,31 @@ var columnLayoutSharedStyle = css({
21
22
  flexDirection: 'column'
22
23
  })
23
24
  });
25
+ var columnLayoutResponsiveSharedStyle = css({
26
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
27
+ '.layout-section-container': {
28
+ containerType: 'inline-size',
29
+ containerName: 'layout-area',
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
31
+ '[data-layout-section]': (_dataLayoutSection2 = {
32
+ display: 'grid',
33
+ gap: "var(--ds-space-200, 16px)",
34
+ gridTemplateColumns: "repeat(auto-fit, minmax(0, 1fr))"
35
+ }, _defineProperty(_dataLayoutSection2, "@container layout-area (max-width:".concat(layoutBreakpointWidth.MEDIUM - 1, "px) and (min-width: ").concat(layoutBreakpointWidth.SMALL, "px)"), {
36
+ gridTemplateColumns: "repeat(1, 1fr)",
37
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
38
+ '&[data-layout-columns="4"], &[data-layout-columns="5"]': {
39
+ gridTemplateColumns: "repeat(2, 1fr)",
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
41
+ '& > :nth-child(5)': {
42
+ gridColumn: 'span 2'
43
+ }
44
+ }
45
+ }), _defineProperty(_dataLayoutSection2, "@container layout-area (width < ".concat(layoutBreakpointWidth.SMALL, "px)"), {
46
+ gridTemplateColumns: "repeat(1, 1fr)"
47
+ }), _dataLayoutSection2)
48
+ }
49
+ });
24
50
 
25
51
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
26
- export { columnLayoutSharedStyle };
52
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle };
@@ -47,37 +47,54 @@ var headingWithAlignmentStyles = function headingWithAlignmentStyles() {
47
47
  // @see typography spreadsheet: https://docs.google.com/spreadsheets/d/1iYusRGCT4PoPfvxbJ8NrgjtfFgXLm5lpDWXzjua1W2E/edit#gid=93913128
48
48
  // text sizing prototype: http://proto/fabricrender/
49
49
  export var headingsSharedStyles = function headingsSharedStyles(typographyTheme) {
50
- var isADSTokenMigrationEnabled = fg('platform_editor_typography_ugc');
51
- if (isADSTokenMigrationEnabled) {
50
+ if (fg('platform_editor_typography_ugc')) {
52
51
  return css(_objectSpread({
53
52
  '& h1': {
54
53
  font: editorUGCToken('editor.font.heading.h1', typographyTheme),
55
54
  marginBottom: 0,
56
- marginTop: '1.667em'
55
+ marginTop: '1.667em',
56
+ '& strong': {
57
+ fontWeight: editorUGCToken('editor.font.weight.heading.h1.bold', typographyTheme)
58
+ }
57
59
  },
58
60
  '& h2': {
59
61
  font: editorUGCToken('editor.font.heading.h2', typographyTheme),
60
62
  marginTop: '1.8em',
61
- marginBottom: 0
63
+ marginBottom: 0,
64
+ '& strong': {
65
+ fontWeight: editorUGCToken('editor.font.weight.heading.h1.bold', typographyTheme)
66
+ }
62
67
  },
63
68
  '& h3': {
64
69
  font: editorUGCToken('editor.font.heading.h3', typographyTheme),
65
70
  marginTop: '2em',
66
- marginBottom: 0
71
+ marginBottom: 0,
72
+ '& strong': {
73
+ fontWeight: editorUGCToken('editor.font.weight.heading.h1.bold', typographyTheme)
74
+ }
67
75
  },
68
76
  '& h4': {
69
77
  font: editorUGCToken('editor.font.heading.h4', typographyTheme),
70
- marginTop: '1.357em'
78
+ marginTop: '1.357em',
79
+ '& strong': {
80
+ fontWeight: editorUGCToken('editor.font.weight.heading.h1.bold', typographyTheme)
81
+ }
71
82
  },
72
83
  '& h5': {
73
84
  font: editorUGCToken('editor.font.heading.h5', typographyTheme),
74
85
  marginTop: '1.667em',
75
- textTransform: 'none'
86
+ textTransform: 'none',
87
+ '& strong': {
88
+ fontWeight: editorUGCToken('editor.font.weight.heading.h1.bold', typographyTheme)
89
+ }
76
90
  },
77
91
  '& h6': {
78
92
  font: editorUGCToken('editor.font.heading.h6', typographyTheme),
79
93
  marginTop: '1.455em',
80
- textTransform: 'none'
94
+ textTransform: 'none',
95
+ '& strong': {
96
+ fontWeight: editorUGCToken('editor.font.weight.heading.h1.bold', typographyTheme)
97
+ }
81
98
  }
82
99
  }, headingWithAlignmentStyles()));
83
100
  } else {
@@ -5,23 +5,41 @@ export var editorUGCTokens = {
5
5
  'editor.font.heading.h4': 'normal 600 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
6
6
  'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
7
7
  'editor.font.heading.h6': 'normal 700 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
8
- 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif'
8
+ 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
9
+ 'editor.font.weight.heading.h1.bold': '700',
10
+ 'editor.font.weight.heading.h2.bold': '700',
11
+ 'editor.font.weight.heading.h3.bold': '700',
12
+ 'editor.font.weight.heading.h4.bold': '700',
13
+ 'editor.font.weight.heading.h5.bold': '700',
14
+ 'editor.font.weight.heading.h6.bold': '700'
9
15
  };
10
16
  export var editorUGCTokensModernized = {
11
- 'editor.font.heading.h1': 'normal 700 1.71429em/1.16667 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
12
- 'editor.font.heading.h2': 'normal 700 1.42857em/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
13
- 'editor.font.heading.h3': 'normal 700 1.14286em/1.25 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
14
- 'editor.font.heading.h4': 'normal 700 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
15
- 'editor.font.heading.h5': 'normal 700 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
16
- 'editor.font.heading.h6': 'normal 700 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
17
- 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif'
17
+ 'editor.font.heading.h1': 'normal 600 1.71429em/1.16667 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
18
+ 'editor.font.heading.h2': 'normal 600 1.42857em/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
19
+ 'editor.font.heading.h3': 'normal 600 1.14286em/1.25 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
20
+ 'editor.font.heading.h4': 'normal 600 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
21
+ 'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
22
+ 'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
23
+ 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
24
+ 'editor.font.weight.heading.h1.bold': '700',
25
+ 'editor.font.weight.heading.h2.bold': '700',
26
+ 'editor.font.weight.heading.h3.bold': '700',
27
+ 'editor.font.weight.heading.h4.bold': '700',
28
+ 'editor.font.weight.heading.h5.bold': '700',
29
+ 'editor.font.weight.heading.h6.bold': '700'
18
30
  };
19
31
  export var editorUGCTokensRefreshed = {
20
- 'editor.font.heading.h1': 'normal 700 1.71429em/1.16667 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
21
- 'editor.font.heading.h2': 'normal 700 1.42857em/1.2 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
22
- 'editor.font.heading.h3': 'normal 7001.14286em/1.25 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
23
- 'editor.font.heading.h4': 'normal 700 1em/1.14286 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
24
- 'editor.font.heading.h5': 'normal 700 0.857143em/1.33333 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
25
- 'editor.font.heading.h6': 'normal 700 0.785714em/1.45455 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
26
- 'editor.font.body': 'normal 400 1em/1.714 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif'
32
+ 'editor.font.heading.h1': 'normal 600 1.71429em/1.16667 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
33
+ 'editor.font.heading.h2': 'normal 600 1.42857em/1.2 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
34
+ 'editor.font.heading.h3': 'normal 600 1.14286em/1.25 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
35
+ 'editor.font.heading.h4': 'normal 600 1em/1.14286 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
36
+ 'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
37
+ 'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
38
+ 'editor.font.body': 'normal 400 1em/1.714 "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
39
+ 'editor.font.weight.heading.h1.bold': '700',
40
+ 'editor.font.weight.heading.h2.bold': '700',
41
+ 'editor.font.weight.heading.h3.bold': '700',
42
+ 'editor.font.weight.heading.h4.bold': '700',
43
+ 'editor.font.weight.heading.h5.bold': '700',
44
+ 'editor.font.weight.heading.h6.bold': '700'
27
45
  };
@@ -21,7 +21,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
21
21
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "94.9.3";
24
+ var packageVersion = "94.11.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var DropList = /*#__PURE__*/function (_Component) {
@@ -2,7 +2,7 @@ export { textColorStyles } from './shared/text-color';
2
2
  export { backgroundColorStyles } from './shared/background-color';
3
3
  export { tableSharedStyle, tableMarginTop, tableMarginBottom, tableMarginSides, tableCellMinWidth, tableNewColumnMinWidth, tableCellBorderWidth, calcTableWidth, TableSharedCssClassName, tableResizeHandleWidth, tableCellPadding, tableMarginTopWithControl, } from './shared/table';
4
4
  export { AnnotationSharedClassNames, BlockAnnotationSharedClassNames, AnnotationSharedCSSByState, annotationSharedStyles, } from './shared/annotation';
5
- export { columnLayoutSharedStyle } from './shared/column-layout';
5
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle } from './shared/column-layout';
6
6
  export { mediaSingleSharedStyle, mediaSingleSharedStyleNew, richMediaClassName, } from './shared/media-single';
7
7
  export { blockquoteSharedStyles } from './shared/blockquote';
8
8
  export { headingsSharedStyles } from './shared/headings';
@@ -1,2 +1,3 @@
1
1
  declare const columnLayoutSharedStyle: import("@emotion/react").SerializedStyles;
2
- export { columnLayoutSharedStyle };
2
+ declare const columnLayoutResponsiveSharedStyle: import("@emotion/react").SerializedStyles;
3
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle };
@@ -5,6 +5,12 @@ export type EditorUGCTokens = {
5
5
  'editor.font.heading.h4': string;
6
6
  'editor.font.heading.h5': string;
7
7
  'editor.font.heading.h6': string;
8
+ 'editor.font.weight.heading.h1.bold': string;
9
+ 'editor.font.weight.heading.h2.bold': string;
10
+ 'editor.font.weight.heading.h3.bold': string;
11
+ 'editor.font.weight.heading.h4.bold': string;
12
+ 'editor.font.weight.heading.h5.bold': string;
13
+ 'editor.font.weight.heading.h6.bold': string;
8
14
  'editor.font.body': string;
9
15
  };
10
16
  export declare const editorUGCTokens: EditorUGCTokens;
@@ -2,7 +2,7 @@ export { textColorStyles } from './shared/text-color';
2
2
  export { backgroundColorStyles } from './shared/background-color';
3
3
  export { tableSharedStyle, tableMarginTop, tableMarginBottom, tableMarginSides, tableCellMinWidth, tableNewColumnMinWidth, tableCellBorderWidth, calcTableWidth, TableSharedCssClassName, tableResizeHandleWidth, tableCellPadding, tableMarginTopWithControl, } from './shared/table';
4
4
  export { AnnotationSharedClassNames, BlockAnnotationSharedClassNames, AnnotationSharedCSSByState, annotationSharedStyles, } from './shared/annotation';
5
- export { columnLayoutSharedStyle } from './shared/column-layout';
5
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle } from './shared/column-layout';
6
6
  export { mediaSingleSharedStyle, mediaSingleSharedStyleNew, richMediaClassName, } from './shared/media-single';
7
7
  export { blockquoteSharedStyles } from './shared/blockquote';
8
8
  export { headingsSharedStyles } from './shared/headings';
@@ -1,2 +1,3 @@
1
1
  declare const columnLayoutSharedStyle: import("@emotion/react").SerializedStyles;
2
- export { columnLayoutSharedStyle };
2
+ declare const columnLayoutResponsiveSharedStyle: import("@emotion/react").SerializedStyles;
3
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle };
@@ -5,6 +5,12 @@ export type EditorUGCTokens = {
5
5
  'editor.font.heading.h4': string;
6
6
  'editor.font.heading.h5': string;
7
7
  'editor.font.heading.h6': string;
8
+ 'editor.font.weight.heading.h1.bold': string;
9
+ 'editor.font.weight.heading.h2.bold': string;
10
+ 'editor.font.weight.heading.h3.bold': string;
11
+ 'editor.font.weight.heading.h4.bold': string;
12
+ 'editor.font.weight.heading.h5.bold': string;
13
+ 'editor.font.weight.heading.h6.bold': string;
8
14
  'editor.font.body': string;
9
15
  };
10
16
  export declare const editorUGCTokens: EditorUGCTokens;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "94.9.3",
3
+ "version": "94.11.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/"
@@ -123,7 +123,7 @@
123
123
  "@atlaskit/editor-json-transformer": "^8.20.0",
124
124
  "@atlaskit/editor-palette": "1.6.3",
125
125
  "@atlaskit/editor-prosemirror": "6.0.0",
126
- "@atlaskit/editor-shared-styles": "^3.1.0",
126
+ "@atlaskit/editor-shared-styles": "^3.2.0",
127
127
  "@atlaskit/editor-tables": "^2.8.0",
128
128
  "@atlaskit/emoji": "^67.9.0",
129
129
  "@atlaskit/icon": "^22.24.0",
@@ -146,7 +146,7 @@
146
146
  "@atlaskit/primitives": "^13.0.0",
147
147
  "@atlaskit/profilecard": "^20.8.0",
148
148
  "@atlaskit/section-message": "^6.6.0",
149
- "@atlaskit/smart-card": "^30.1.0",
149
+ "@atlaskit/smart-card": "^30.2.0",
150
150
  "@atlaskit/smart-user-picker": "^6.11.0",
151
151
  "@atlaskit/spinner": "^16.3.0",
152
152
  "@atlaskit/task-decision": "^17.11.0",