@atlaskit/editor-common 95.9.0 → 95.9.1

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,15 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 95.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#170673](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/170673)
8
+ [`09f6aa8666f9b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/09f6aa8666f9b) -
9
+ [ux] [ED-25899] Update layout breakpoint to 630px in renderer and corresponding breakpoints in
10
+ editor
11
+ - Updated dependencies
12
+
3
13
  ## 95.9.0
4
14
 
5
15
  ### Minor 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.9.0";
20
+ var packageVersion = "95.9.1";
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
@@ -51,11 +51,12 @@ var columnLayoutResponsiveSharedStyle = exports.columnLayoutResponsiveSharedStyl
51
51
  containerName: 'layout-area'
52
52
  }
53
53
  });
54
+ var LAYOUT_BREAKPOINT_RENDERER = 629;
54
55
  var columnLayoutResponsiveRendererStyles = exports.columnLayoutResponsiveRendererStyles = (0, _react.css)({
55
56
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
56
57
  '.layout-section-container': {
57
58
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
58
- '[data-layout-section]': (0, _defineProperty2.default)({}, "@container layout-area (max-width:".concat(_editorSharedStyles.layoutBreakpointWidth.MEDIUM - 1, "px)"), {
59
+ '[data-layout-section]': (0, _defineProperty2.default)({}, "@container layout-area (max-width:".concat(LAYOUT_BREAKPOINT_RENDERER, "px)"), {
59
60
  flexDirection: 'column'
60
61
  })
61
62
  }
@@ -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.9.0";
27
+ var packageVersion = "95.9.1";
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.9.0";
4
+ const packageVersion = "95.9.1";
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
@@ -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, layoutBreakpointWidth } from '@atlaskit/editor-shared-styles';
3
+ import { gridMediumMaxWidth } 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]': {
@@ -44,13 +44,14 @@ const columnLayoutResponsiveSharedStyle = css({
44
44
  containerName: 'layout-area'
45
45
  }
46
46
  });
47
+ const LAYOUT_BREAKPOINT_RENDERER = 629;
47
48
  const columnLayoutResponsiveRendererStyles = css({
48
49
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
49
50
  '.layout-section-container': {
50
51
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
51
52
  '[data-layout-section]': {
52
53
  // 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
- [`@container layout-area (max-width:${layoutBreakpointWidth.MEDIUM - 1}px)`]: {
54
+ [`@container layout-area (max-width:${LAYOUT_BREAKPOINT_RENDERER}px)`]: {
54
55
  flexDirection: 'column'
55
56
  }
56
57
  }
@@ -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.9.0";
16
+ const packageVersion = "95.9.1";
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.9.0";
10
+ var packageVersion = "95.9.1";
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
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
3
  import { css } from '@emotion/react';
4
- import { gridMediumMaxWidth, layoutBreakpointWidth } from '@atlaskit/editor-shared-styles';
4
+ import { gridMediumMaxWidth } from '@atlaskit/editor-shared-styles';
5
5
  var columnLayoutSharedStyle = css({
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
7
7
  '[data-layout-section]': _defineProperty({
@@ -43,11 +43,12 @@ var columnLayoutResponsiveSharedStyle = css({
43
43
  containerName: 'layout-area'
44
44
  }
45
45
  });
46
+ var LAYOUT_BREAKPOINT_RENDERER = 629;
46
47
  var columnLayoutResponsiveRendererStyles = css({
47
48
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
48
49
  '.layout-section-container': {
49
50
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
50
- '[data-layout-section]': _defineProperty({}, "@container layout-area (max-width:".concat(layoutBreakpointWidth.MEDIUM - 1, "px)"), {
51
+ '[data-layout-section]': _defineProperty({}, "@container layout-area (max-width:".concat(LAYOUT_BREAKPOINT_RENDERER, "px)"), {
51
52
  flexDirection: 'column'
52
53
  })
53
54
  }
@@ -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.9.0";
24
+ var packageVersion = "95.9.1";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var DropList = /*#__PURE__*/function (_Component) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "95.9.0",
3
+ "version": "95.9.1",
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/"
@@ -132,9 +132,9 @@
132
132
  "@atlaskit/icon-object": "^6.7.0",
133
133
  "@atlaskit/link-datasource": "^3.13.0",
134
134
  "@atlaskit/link-picker": "^1.47.0",
135
- "@atlaskit/media-card": "^78.14.0",
136
- "@atlaskit/media-client": "^28.3.0",
137
- "@atlaskit/media-client-react": "^2.3.0",
135
+ "@atlaskit/media-card": "^78.15.0",
136
+ "@atlaskit/media-client": "^28.4.0",
137
+ "@atlaskit/media-client-react": "^2.4.0",
138
138
  "@atlaskit/media-common": "^11.7.0",
139
139
  "@atlaskit/media-file-preview": "^0.9.0",
140
140
  "@atlaskit/media-picker": "^67.0.0",