@atlaskit/editor-common 95.6.1 → 95.6.3

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,22 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 95.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#168706](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168706)
8
+ [`b1eef0648c061`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b1eef0648c061) -
9
+ [ED-25767] Fix responsiveness difference in editor vs renderer
10
+
11
+ ## 95.6.2
12
+
13
+ ### Patch Changes
14
+
15
+ - [#168141](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168141)
16
+ [`7f239fc40666c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7f239fc40666c) -
17
+ CP getIsNamespaceLocked API
18
+ - Updated dependencies
19
+
3
20
  ## 95.6.1
4
21
 
5
22
  ### 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 = "95.6.1";
20
+ var packageVersion = "95.6.3";
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, "columnLayoutResponsiveRendererStyles", {
187
+ enumerable: true,
188
+ get: function get() {
189
+ return _columnLayout.columnLayoutResponsiveRendererStyles;
190
+ }
191
+ });
186
192
  Object.defineProperty(exports, "columnLayoutResponsiveSharedStyle", {
187
193
  enumerable: true,
188
194
  get: function get() {
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.columnLayoutSharedStyle = exports.columnLayoutResponsiveSharedStyle = void 0;
7
+ exports.columnLayoutSharedStyle = exports.columnLayoutResponsiveSharedStyle = exports.columnLayoutResponsiveRendererStyles = 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");
@@ -48,7 +48,12 @@ var columnLayoutResponsiveSharedStyle = exports.columnLayoutResponsiveSharedStyl
48
48
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
49
49
  '.layout-section-container': {
50
50
  containerType: 'inline-size',
51
- containerName: 'layout-area',
51
+ containerName: 'layout-area'
52
+ }
53
+ });
54
+ var columnLayoutResponsiveRendererStyles = exports.columnLayoutResponsiveRendererStyles = (0, _react.css)({
55
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
56
+ '.layout-section-container': {
52
57
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
53
58
  '[data-layout-section]': (0, _defineProperty2.default)({}, "@container layout-area (max-width:".concat(_editorSharedStyles.layoutBreakpointWidth.MEDIUM - 1, "px)"), {
54
59
  flexDirection: 'column'
@@ -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 = "95.6.1";
27
+ var packageVersion = "95.6.3";
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 = "95.6.1";
4
+ const packageVersion = "95.6.3";
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
@@ -5,7 +5,7 @@ export { textColorStyles } from './shared/text-color';
5
5
  export { backgroundColorStyles } from './shared/background-color';
6
6
  export { tableSharedStyle, tableMarginTop, tableMarginBottom, tableMarginSides, tableCellMinWidth, tableNewColumnMinWidth, tableCellBorderWidth, calcTableWidth, TableSharedCssClassName, tableResizeHandleWidth, tableCellPadding, tableMarginTopWithControl } from './shared/table';
7
7
  export { AnnotationSharedClassNames, BlockAnnotationSharedClassNames, AnnotationSharedCSSByState, annotationSharedStyles } from './shared/annotation';
8
- export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle } from './shared/column-layout';
8
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle, columnLayoutResponsiveRendererStyles } from './shared/column-layout';
9
9
  export { mediaSingleSharedStyle, mediaSingleSharedStyleNew, richMediaClassName } from './shared/media-single';
10
10
  export { blockquoteSharedStyles } from './shared/blockquote';
11
11
  export { headingsSharedStyles } from './shared/headings';
@@ -41,7 +41,12 @@ const columnLayoutResponsiveSharedStyle = css({
41
41
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
42
42
  '.layout-section-container': {
43
43
  containerType: 'inline-size',
44
- containerName: 'layout-area',
44
+ containerName: 'layout-area'
45
+ }
46
+ });
47
+ const columnLayoutResponsiveRendererStyles = css({
48
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
49
+ '.layout-section-container': {
45
50
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
46
51
  '[data-layout-section]': {
47
52
  // 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
@@ -53,4 +58,4 @@ const columnLayoutResponsiveSharedStyle = css({
53
58
  });
54
59
 
55
60
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
56
- export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle };
61
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle, columnLayoutResponsiveRendererStyles };
@@ -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 = "95.6.1";
16
+ const packageVersion = "95.6.3";
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 = "95.6.1";
10
+ var packageVersion = "95.6.3";
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
@@ -5,7 +5,7 @@ export { textColorStyles } from './shared/text-color';
5
5
  export { backgroundColorStyles } from './shared/background-color';
6
6
  export { tableSharedStyle, tableMarginTop, tableMarginBottom, tableMarginSides, tableCellMinWidth, tableNewColumnMinWidth, tableCellBorderWidth, calcTableWidth, TableSharedCssClassName, tableResizeHandleWidth, tableCellPadding, tableMarginTopWithControl } from './shared/table';
7
7
  export { AnnotationSharedClassNames, BlockAnnotationSharedClassNames, AnnotationSharedCSSByState, annotationSharedStyles } from './shared/annotation';
8
- export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle } from './shared/column-layout';
8
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle, columnLayoutResponsiveRendererStyles } from './shared/column-layout';
9
9
  export { mediaSingleSharedStyle, mediaSingleSharedStyleNew, richMediaClassName } from './shared/media-single';
10
10
  export { blockquoteSharedStyles } from './shared/blockquote';
11
11
  export { headingsSharedStyles } from './shared/headings';
@@ -40,7 +40,12 @@ var columnLayoutResponsiveSharedStyle = css({
40
40
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
41
41
  '.layout-section-container': {
42
42
  containerType: 'inline-size',
43
- containerName: 'layout-area',
43
+ containerName: 'layout-area'
44
+ }
45
+ });
46
+ var columnLayoutResponsiveRendererStyles = css({
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
48
+ '.layout-section-container': {
44
49
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
45
50
  '[data-layout-section]': _defineProperty({}, "@container layout-area (max-width:".concat(layoutBreakpointWidth.MEDIUM - 1, "px)"), {
46
51
  flexDirection: 'column'
@@ -49,4 +54,4 @@ var columnLayoutResponsiveSharedStyle = css({
49
54
  });
50
55
 
51
56
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
52
- export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle };
57
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle, columnLayoutResponsiveRendererStyles };
@@ -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 = "95.6.1";
24
+ var packageVersion = "95.6.3";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var DropList = /*#__PURE__*/function (_Component) {
@@ -401,6 +401,7 @@ export interface CollabEditProvider<Events extends CollabEvents = CollabEvents>
401
401
  type: K;
402
402
  } & Events[K]): void;
403
403
  getFinalAcknowledgedState(): Promise<ResolvedEditorState>;
404
+ getIsNamespaceLocked(): boolean;
404
405
  }
405
406
  export type CollabEditOptions = {
406
407
  provider?: Providers['collabEditProvider'];
@@ -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, columnLayoutResponsiveSharedStyle } from './shared/column-layout';
5
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle, columnLayoutResponsiveRendererStyles, } 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,3 +1,4 @@
1
1
  declare const columnLayoutSharedStyle: import("@emotion/react").SerializedStyles;
2
2
  declare const columnLayoutResponsiveSharedStyle: import("@emotion/react").SerializedStyles;
3
- export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle };
3
+ declare const columnLayoutResponsiveRendererStyles: import("@emotion/react").SerializedStyles;
4
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle, columnLayoutResponsiveRendererStyles, };
@@ -401,6 +401,7 @@ export interface CollabEditProvider<Events extends CollabEvents = CollabEvents>
401
401
  type: K;
402
402
  } & Events[K]): void;
403
403
  getFinalAcknowledgedState(): Promise<ResolvedEditorState>;
404
+ getIsNamespaceLocked(): boolean;
404
405
  }
405
406
  export type CollabEditOptions = {
406
407
  provider?: Providers['collabEditProvider'];
@@ -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, columnLayoutResponsiveSharedStyle } from './shared/column-layout';
5
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle, columnLayoutResponsiveRendererStyles, } 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,3 +1,4 @@
1
1
  declare const columnLayoutSharedStyle: import("@emotion/react").SerializedStyles;
2
2
  declare const columnLayoutResponsiveSharedStyle: import("@emotion/react").SerializedStyles;
3
- export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle };
3
+ declare const columnLayoutResponsiveRendererStyles: import("@emotion/react").SerializedStyles;
4
+ export { columnLayoutSharedStyle, columnLayoutResponsiveSharedStyle, columnLayoutResponsiveRendererStyles, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "95.6.1",
3
+ "version": "95.6.3",
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/"
@@ -113,7 +113,7 @@
113
113
  "@atlaskit/activity-provider": "^2.5.0",
114
114
  "@atlaskit/adf-schema": "^44.2.0",
115
115
  "@atlaskit/adf-utils": "^19.13.0",
116
- "@atlaskit/analytics-listeners": "^8.12.0",
116
+ "@atlaskit/analytics-listeners": "^8.13.0",
117
117
  "@atlaskit/analytics-namespaced-context": "^6.12.0",
118
118
  "@atlaskit/analytics-next": "^10.1.0",
119
119
  "@atlaskit/atlassian-context": "^0.0.2",
@@ -148,12 +148,12 @@
148
148
  "@atlaskit/primitives": "^13.2.0",
149
149
  "@atlaskit/profilecard": "^20.12.0",
150
150
  "@atlaskit/section-message": "^6.7.0",
151
- "@atlaskit/smart-card": "^30.4.0",
151
+ "@atlaskit/smart-card": "^31.0.0",
152
152
  "@atlaskit/smart-user-picker": "^6.11.0",
153
153
  "@atlaskit/spinner": "^16.3.0",
154
154
  "@atlaskit/task-decision": "^17.11.0",
155
155
  "@atlaskit/textfield": "^6.5.0",
156
- "@atlaskit/tmp-editor-statsig": "^2.20.0",
156
+ "@atlaskit/tmp-editor-statsig": "^2.21.0",
157
157
  "@atlaskit/tokens": "^2.3.0",
158
158
  "@atlaskit/tooltip": "^18.9.0",
159
159
  "@atlaskit/width-detector": "^4.3.0",