@atlaskit/editor-common 110.41.10 → 110.42.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,16 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 110.42.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`5f95a3d8edc0c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5f95a3d8edc0c) -
8
+ EDITOR-3356 fix macro renderer syle inside layout
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 110.41.10
4
15
 
5
16
  ### Patch Changes
@@ -36,6 +36,9 @@ var hoverStyles = (0, _react2.css)({
36
36
  boxShadow: "0 0 0 1px ".concat("var(--ds-border-input, #8C8F97)")
37
37
  }
38
38
  });
39
+ var containerStyle = (0, _react2.css)({
40
+ containerType: 'inline-size'
41
+ });
39
42
  function ExtensionWithPluginState(props) {
40
43
  var _node$attrs;
41
44
  var node = props.node,
@@ -188,10 +191,10 @@ function ExtensionWithPluginState(props) {
188
191
  "data-testid": "extension-overflow-wrapper"
189
192
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
190
193
  ,
191
- className: overflowClassNames
194
+ className: overflowClassNames,
195
+ css: [
192
196
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
193
- ,
194
- css: _styles2.overflowWrapperStyles
197
+ _styles2.overflowWrapperStyles, (0, _platformFeatureFlags.fg)('platform_fix_macro_renders_in_layouts') && containerStyle]
195
198
  }, (0, _react2.jsx)("div", {
196
199
  className: 'extension-overlay',
197
200
  css: _styles.overlay
@@ -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 = "110.41.9";
22
+ var packageVersion = "110.41.10";
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 = "110.41.9";
27
+ var packageVersion = "110.41.10";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -24,6 +24,9 @@ const hoverStyles = css({
24
24
  boxShadow: `0 0 0 1px ${"var(--ds-border-input, #8C8F97)"}`
25
25
  }
26
26
  });
27
+ const containerStyle = css({
28
+ containerType: 'inline-size'
29
+ });
27
30
  function ExtensionWithPluginState(props) {
28
31
  var _node$attrs, _node$attrs$parameter, _node$attrs$parameter2, _node$attrs$parameter3;
29
32
  const {
@@ -180,10 +183,10 @@ function ExtensionWithPluginState(props) {
180
183
  "data-testid": "extension-overflow-wrapper"
181
184
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
182
185
  ,
183
- className: overflowClassNames
186
+ className: overflowClassNames,
187
+ css: [
184
188
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
185
- ,
186
- css: overflowWrapperStyles
189
+ overflowWrapperStyles, fg('platform_fix_macro_renders_in_layouts') && containerStyle]
187
190
  }, jsx("div", {
188
191
  className: 'extension-overlay',
189
192
  css: overlay
@@ -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 = "110.41.9";
7
+ const packageVersion = "110.41.10";
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 = "110.41.9";
17
+ const packageVersion = "110.41.10";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -29,6 +29,9 @@ var hoverStyles = css({
29
29
  boxShadow: "0 0 0 1px ".concat("var(--ds-border-input, #8C8F97)")
30
30
  }
31
31
  });
32
+ var containerStyle = css({
33
+ containerType: 'inline-size'
34
+ });
32
35
  function ExtensionWithPluginState(props) {
33
36
  var _node$attrs;
34
37
  var node = props.node,
@@ -181,10 +184,10 @@ function ExtensionWithPluginState(props) {
181
184
  "data-testid": "extension-overflow-wrapper"
182
185
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
183
186
  ,
184
- className: overflowClassNames
187
+ className: overflowClassNames,
188
+ css: [
185
189
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
186
- ,
187
- css: overflowWrapperStyles
190
+ overflowWrapperStyles, fg('platform_fix_macro_renders_in_layouts') && containerStyle]
188
191
  }, jsx("div", {
189
192
  className: 'extension-overlay',
190
193
  css: overlay
@@ -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 = "110.41.9";
13
+ var packageVersion = "110.41.10";
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 = "110.41.9";
24
+ var packageVersion = "110.41.10";
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": "110.41.10",
3
+ "version": "110.42.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/"
@@ -50,8 +50,8 @@
50
50
  "@atlaskit/editor-toolbar": "^0.18.0",
51
51
  "@atlaskit/editor-toolbar-model": "^0.2.0",
52
52
  "@atlaskit/emoji": "^69.9.0",
53
- "@atlaskit/icon": "^29.0.0",
54
- "@atlaskit/icon-object": "^7.3.0",
53
+ "@atlaskit/icon": "^29.1.0",
54
+ "@atlaskit/icon-object": "^7.4.0",
55
55
  "@atlaskit/link": "^3.2.0",
56
56
  "@atlaskit/link-datasource": "^4.30.0",
57
57
  "@atlaskit/link-picker": "^4.1.0",
@@ -81,7 +81,7 @@
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": "^15.9.0",
84
+ "@atlaskit/tmp-editor-statsig": "^15.10.0",
85
85
  "@atlaskit/tokens": "^8.4.0",
86
86
  "@atlaskit/tooltip": "^20.11.0",
87
87
  "@atlaskit/width-detector": "^5.0.0",
@@ -275,6 +275,9 @@
275
275
  },
276
276
  "platform_editor_table_numbered_table_border": {
277
277
  "type": "boolean"
278
+ },
279
+ "platform_fix_macro_renders_in_layouts": {
280
+ "type": "boolean"
278
281
  }
279
282
  }
280
283
  }