@atlaskit/editor-common 111.11.0 → 111.11.2

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,19 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 111.11.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4de30defb09c5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4de30defb09c5) -
8
+ Fix overflow of table inside multi-column layouts.
9
+ - Updated dependencies
10
+
11
+ ## 111.11.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 111.11.0
4
18
 
5
19
  ### Minor Changes
@@ -28,6 +28,14 @@ var styles = (0, _react2.css)({
28
28
  position: 'relative'
29
29
  }
30
30
  });
31
+
32
+ // on exp cleanup, merge this style to the one above
33
+ var inlineExtensionFixStyles = (0, _react2.css)({
34
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
35
+ '&.inline-extension': {
36
+ maxWidth: '100%'
37
+ }
38
+ });
31
39
  var hoverStyles = (0, _react2.css)({
32
40
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
33
41
  ':has(.extension-label:hover) .extension-container, :has(.extension-edit-toggle-container:hover) .extension-container': {
@@ -80,6 +88,6 @@ var ExtensionNodeWrapper = exports.ExtensionNodeWrapper = function ExtensionNode
80
88
  return (0, _react2.jsx)("span", {
81
89
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
82
90
  className: wrapperClassNames,
83
- css: [styles, (0, _expValEquals.expValEquals)('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles]
91
+ css: [styles, (0, _expValEquals.expValEquals)('platform_editor_table_excerpts_fix', 'isEnabled', true) && inlineExtensionFixStyles, (0, _expValEquals.expValEquals)('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles]
84
92
  }, children, nodeType === 'inlineExtension' && _whitespace.ZERO_WIDTH_SPACE);
85
93
  };
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
19
19
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
20
20
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
21
21
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
22
- var packageVersion = "111.10.0";
22
+ var packageVersion = "111.11.1";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -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 = "111.10.0";
27
+ var packageVersion = "111.11.1";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -20,6 +20,14 @@ const styles = css({
20
20
  position: 'relative'
21
21
  }
22
22
  });
23
+
24
+ // on exp cleanup, merge this style to the one above
25
+ const inlineExtensionFixStyles = css({
26
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
27
+ '&.inline-extension': {
28
+ maxWidth: '100%'
29
+ }
30
+ });
23
31
  const hoverStyles = css({
24
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
25
33
  ':has(.extension-label:hover) .extension-container, :has(.extension-edit-toggle-container:hover) .extension-container': {
@@ -74,6 +82,6 @@ export const ExtensionNodeWrapper = ({
74
82
  return jsx("span", {
75
83
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
76
84
  className: wrapperClassNames,
77
- css: [styles, expValEquals('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles]
85
+ css: [styles, expValEquals('platform_editor_table_excerpts_fix', 'isEnabled', true) && inlineExtensionFixStyles, expValEquals('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles]
78
86
  }, children, nodeType === 'inlineExtension' && ZERO_WIDTH_SPACE);
79
87
  };
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
4
4
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
5
5
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
6
6
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
7
- const packageVersion = "111.10.0";
7
+ const packageVersion = "111.11.1";
8
8
  const sanitiseSentryEvents = (data, _hint) => {
9
9
  // Remove URL as it has UGC
10
10
  // Ignored via go/ees007
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "111.10.0";
17
+ const packageVersion = "111.11.1";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -20,6 +20,14 @@ var styles = css({
20
20
  position: 'relative'
21
21
  }
22
22
  });
23
+
24
+ // on exp cleanup, merge this style to the one above
25
+ var inlineExtensionFixStyles = css({
26
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
27
+ '&.inline-extension': {
28
+ maxWidth: '100%'
29
+ }
30
+ });
23
31
  var hoverStyles = css({
24
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
25
33
  ':has(.extension-label:hover) .extension-container, :has(.extension-edit-toggle-container:hover) .extension-container': {
@@ -72,6 +80,6 @@ export var ExtensionNodeWrapper = function ExtensionNodeWrapper(_ref) {
72
80
  return jsx("span", {
73
81
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
74
82
  className: wrapperClassNames,
75
- css: [styles, expValEquals('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles]
83
+ css: [styles, expValEquals('platform_editor_table_excerpts_fix', 'isEnabled', true) && inlineExtensionFixStyles, expValEquals('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles]
76
84
  }, children, nodeType === 'inlineExtension' && ZERO_WIDTH_SPACE);
77
85
  };
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
10
10
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
11
11
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
12
12
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
13
- var packageVersion = "111.10.0";
13
+ var packageVersion = "111.11.1";
14
14
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
15
15
  // Remove URL as it has UGC
16
16
  // Ignored via go/ees007
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "111.10.0";
24
+ var packageVersion = "111.11.1";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "111.11.0",
3
+ "version": "111.11.2",
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/"
@@ -53,7 +53,7 @@
53
53
  "@atlaskit/icon": "^30.0.0",
54
54
  "@atlaskit/icon-object": "^7.4.0",
55
55
  "@atlaskit/link": "^3.3.0",
56
- "@atlaskit/link-datasource": "^4.32.0",
56
+ "@atlaskit/link-datasource": "^4.33.0",
57
57
  "@atlaskit/link-picker": "^4.2.0",
58
58
  "@atlaskit/media-card": "^79.15.0",
59
59
  "@atlaskit/media-client": "^35.7.0",
@@ -69,20 +69,20 @@
69
69
  "@atlaskit/platform-feature-flags": "^1.1.0",
70
70
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
71
71
  "@atlaskit/popper": "^7.1.0",
72
- "@atlaskit/primitives": "^17.1.0",
72
+ "@atlaskit/primitives": "^18.0.0",
73
73
  "@atlaskit/profilecard": "^24.34.0",
74
74
  "@atlaskit/prosemirror-history": "^0.2.0",
75
75
  "@atlaskit/react-ufo": "^5.0.0",
76
76
  "@atlaskit/section-message": "^8.12.0",
77
- "@atlaskit/smart-card": "^43.22.0",
77
+ "@atlaskit/smart-card": "^43.23.0",
78
78
  "@atlaskit/smart-user-picker": "^8.9.0",
79
79
  "@atlaskit/spinner": "^19.0.0",
80
80
  "@atlaskit/status": "^3.1.0",
81
81
  "@atlaskit/task-decision": "^19.2.0",
82
82
  "@atlaskit/textfield": "^8.2.0",
83
83
  "@atlaskit/theme": "^21.0.0",
84
- "@atlaskit/tmp-editor-statsig": "^17.5.0",
85
- "@atlaskit/tokens": "^10.1.0",
84
+ "@atlaskit/tmp-editor-statsig": "^17.11.0",
85
+ "@atlaskit/tokens": "^11.0.0",
86
86
  "@atlaskit/tooltip": "^20.14.0",
87
87
  "@atlaskit/width-detector": "^5.0.0",
88
88
  "@babel/runtime": "^7.0.0",