@atlaskit/react-ufo 4.12.2 → 4.12.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,12 @@
1
1
  # @atlaskit/ufo-interaction-ignore
2
2
 
3
+ ## 4.12.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5f70b8e74f5f3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5f70b8e74f5f3) -
8
+ tidy up feature flag platform_editor_tables_scaling_css
9
+
3
10
  ## 4.12.2
4
11
 
5
12
  ### Patch Changes
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
8
- var _expVal = require("../../../expVal");
9
8
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
10
9
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
11
10
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -50,9 +49,6 @@ function isDnDStyleMutation(_ref) {
50
49
  if (!(0, _platformFeatureFlags.fg)('platform_editor_exclude_dnd_anchor_name_from_ttvc')) {
51
50
  return false;
52
51
  }
53
- if (!(0, _expVal.expVal)('platform_editor_tables_scaling_css', 'excludeDnD', false)) {
54
- return false;
55
- }
56
52
  if (!(target instanceof Element)) {
57
53
  return false;
58
54
  }
@@ -1,5 +1,4 @@
1
1
  import { fg } from '@atlaskit/platform-feature-flags';
2
- import { expVal } from '../../../expVal';
3
2
  const isDnDStyleChange = style => {
4
3
  return style.startsWith('anchor-name: --node-anchor');
5
4
  };
@@ -33,9 +32,6 @@ function isDnDStyleMutation({
33
32
  if (!fg('platform_editor_exclude_dnd_anchor_name_from_ttvc')) {
34
33
  return false;
35
34
  }
36
- if (!expVal('platform_editor_tables_scaling_css', 'excludeDnD', false)) {
37
- return false;
38
- }
39
35
  if (!(target instanceof Element)) {
40
36
  return false;
41
37
  }
@@ -2,7 +2,6 @@ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol
2
2
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
3
3
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
4
4
  import { fg } from '@atlaskit/platform-feature-flags';
5
- import { expVal } from '../../../expVal';
6
5
  var isDnDStyleChange = function isDnDStyleChange(style) {
7
6
  return style.startsWith('anchor-name: --node-anchor');
8
7
  };
@@ -44,9 +43,6 @@ function isDnDStyleMutation(_ref) {
44
43
  if (!fg('platform_editor_exclude_dnd_anchor_name_from_ttvc')) {
45
44
  return false;
46
45
  }
47
- if (!expVal('platform_editor_tables_scaling_css', 'excludeDnD', false)) {
48
- return false;
49
- }
50
46
  if (!(target instanceof Element)) {
51
47
  return false;
52
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-ufo",
3
- "version": "4.12.2",
3
+ "version": "4.12.3",
4
4
  "description": "Parts of React UFO that are publicly available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",