@atlaskit/editor-common 111.2.1 → 111.3.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,17 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 111.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`77df724ec737e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/77df724ec737e) -
8
+ [https://product-fabric.atlassian.net/browse/ED-28631](ED-28631) - cleanup the
9
+ platform_editor_smart_card_otp Statsig experiment
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 111.2.1
4
16
 
5
17
  ### Patch Changes
@@ -15,7 +15,6 @@ var _react = _interopRequireDefault(require("react"));
15
15
  var _classnames = _interopRequireDefault(require("classnames"));
16
16
  var _reResizable = require("re-resizable");
17
17
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
18
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
19
18
  var _analytics = require("../../analytics");
20
19
  var _styles = require("../../styles");
21
20
  var _utils = require("../../utils");
@@ -190,8 +189,7 @@ var Resizer = exports.default = /*#__PURE__*/function (_React$Component) {
190
189
  pointerEvents: 'none'
191
190
  };
192
191
  }
193
- var nonZeroWidth = (0, _expValEquals.expValEquals)('platform_editor_smart_card_otp', 'isEnabled', true) ? width || '100%' // In SSR width could be 0 initially
194
- : width;
192
+ var nonZeroWidth = width || '100%'; // In SSR width could be 0 initially
195
193
 
196
194
  // Ideally, Resizable would let you pass in the component rather than
197
195
  // the div. For now, we just apply the same styles using CSS
@@ -3,7 +3,6 @@ import React from 'react';
3
3
  import classnames from 'classnames';
4
4
  import { Resizable } from 're-resizable';
5
5
  import { akRichMediaResizeZIndex } from '@atlaskit/editor-shared-styles';
6
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
7
6
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../analytics';
8
7
  import { richMediaClassName } from '../../styles';
9
8
  import { gridTypeForLayout } from '../../utils';
@@ -181,8 +180,7 @@ export default class Resizer extends React.Component {
181
180
  pointerEvents: 'none'
182
181
  };
183
182
  }
184
- const nonZeroWidth = expValEquals('platform_editor_smart_card_otp', 'isEnabled', true) ? width || '100%' // In SSR width could be 0 initially
185
- : width;
183
+ const nonZeroWidth = width || '100%'; // In SSR width could be 0 initially
186
184
 
187
185
  // Ideally, Resizable would let you pass in the component rather than
188
186
  // the div. For now, we just apply the same styles using CSS
@@ -12,7 +12,6 @@ import React from 'react';
12
12
  import classnames from 'classnames';
13
13
  import { Resizable } from 're-resizable';
14
14
  import { akRichMediaResizeZIndex } from '@atlaskit/editor-shared-styles';
15
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
16
15
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../analytics';
17
16
  import { richMediaClassName } from '../../styles';
18
17
  import { gridTypeForLayout } from '../../utils';
@@ -183,8 +182,7 @@ var Resizer = /*#__PURE__*/function (_React$Component) {
183
182
  pointerEvents: 'none'
184
183
  };
185
184
  }
186
- var nonZeroWidth = expValEquals('platform_editor_smart_card_otp', 'isEnabled', true) ? width || '100%' // In SSR width could be 0 initially
187
- : width;
185
+ var nonZeroWidth = width || '100%'; // In SSR width could be 0 initially
188
186
 
189
187
  // Ideally, Resizable would let you pass in the component rather than
190
188
  // the div. For now, we just apply the same styles using CSS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "111.2.1",
3
+ "version": "111.3.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/"
@@ -74,15 +74,15 @@
74
74
  "@atlaskit/prosemirror-history": "^0.2.0",
75
75
  "@atlaskit/react-ufo": "^4.16.0",
76
76
  "@atlaskit/section-message": "^8.11.0",
77
- "@atlaskit/smart-card": "^43.18.0",
77
+ "@atlaskit/smart-card": "^43.19.0",
78
78
  "@atlaskit/smart-user-picker": "^8.6.0",
79
79
  "@atlaskit/spinner": "^19.0.0",
80
80
  "@atlaskit/status": "^3.0.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": "^16.4.0",
85
- "@atlaskit/tokens": "^9.0.0",
84
+ "@atlaskit/tmp-editor-statsig": "^16.6.0",
85
+ "@atlaskit/tokens": "^9.1.0",
86
86
  "@atlaskit/tooltip": "^20.11.0",
87
87
  "@atlaskit/width-detector": "^5.0.0",
88
88
  "@babel/runtime": "^7.0.0",