@atlaskit/editor-plugin-selection-extension 14.0.2 → 14.1.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,18 @@
1
1
  # @atlaskit/editor-plugin-selection-extension
2
2
 
3
+ ## 14.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 14.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`a8eec0c22a676`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a8eec0c22a676) -
14
+ [ux] Clean up enabled block menu layout gate.
15
+
3
16
  ## 14.0.2
4
17
 
5
18
  ### Patch Changes
@@ -24,8 +24,7 @@ var _SelectionExtensionComponentContext = require("../SelectionExtensionComponen
24
24
  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); }
25
25
  var styles = {
26
26
  svgOverflow: "_1wrmewfl _172sewfl",
27
- contentWrapper: "_1e0c1txw _4cvr1h6o _1ul9idpf",
28
- contentWrapperWithJustifyContent: "_1e0c1txw _4cvr1h6o _1bah1yb4 _1ul9idpf",
27
+ contentWrapper: "_1e0c1txw _4cvr1h6o _1bah1yb4 _1ul9idpf",
29
28
  label: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c _1ul9idpf",
30
29
  lozenge: "_18u01b66 _1o9zidpf"
31
30
  };
@@ -121,7 +120,7 @@ var SelectionExtensionDropdownItem = exports.SelectionExtensionDropdownItem = fu
121
120
  "data-extension-item-key": dropdownItem.key
122
121
  }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
123
122
  as: "span",
124
- xcss: !elemAfterText && (0, _platformFeatureFlags.fg)('platform_editor_block_menu_v2_patch_5') ? styles.contentWrapperWithJustifyContent : styles.contentWrapper,
123
+ xcss: styles.contentWrapper,
125
124
  onMouseOver: handleMouseEnter
126
125
  }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
127
126
  as: "span",
@@ -140,7 +139,7 @@ var SelectionExtensionDropdownItem = exports.SelectionExtensionDropdownItem = fu
140
139
  "data-extension-item-key": dropdownItem.key
141
140
  }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
142
141
  as: "span",
143
- xcss: (0, _platformFeatureFlags.fg)('platform_editor_block_menu_v2_patch_5') ? styles.contentWrapperWithJustifyContent : styles.contentWrapper,
142
+ xcss: styles.contentWrapper,
144
143
  onMouseOver: handleMouseEnter
145
144
  }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
146
145
  as: "span",
@@ -14,8 +14,7 @@ import { SelectionExtensionActionTypes } from '../../types';
14
14
  import { useSelectionExtensionComponentContext } from '../SelectionExtensionComponentContext';
15
15
  const styles = {
16
16
  svgOverflow: "_1wrmewfl _172sewfl",
17
- contentWrapper: "_1e0c1txw _4cvr1h6o _1ul9idpf",
18
- contentWrapperWithJustifyContent: "_1e0c1txw _4cvr1h6o _1bah1yb4 _1ul9idpf",
17
+ contentWrapper: "_1e0c1txw _4cvr1h6o _1bah1yb4 _1ul9idpf",
19
18
  label: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c _1ul9idpf",
20
19
  lozenge: "_18u01b66 _1o9zidpf"
21
20
  };
@@ -112,7 +111,7 @@ export const SelectionExtensionDropdownItem = ({
112
111
  "data-extension-item-key": dropdownItem.key
113
112
  }, /*#__PURE__*/React.createElement(Box, {
114
113
  as: "span",
115
- xcss: !elemAfterText && fg('platform_editor_block_menu_v2_patch_5') ? styles.contentWrapperWithJustifyContent : styles.contentWrapper,
114
+ xcss: styles.contentWrapper,
116
115
  onMouseOver: handleMouseEnter
117
116
  }, /*#__PURE__*/React.createElement(Box, {
118
117
  as: "span",
@@ -131,7 +130,7 @@ export const SelectionExtensionDropdownItem = ({
131
130
  "data-extension-item-key": dropdownItem.key
132
131
  }, /*#__PURE__*/React.createElement(Box, {
133
132
  as: "span",
134
- xcss: fg('platform_editor_block_menu_v2_patch_5') ? styles.contentWrapperWithJustifyContent : styles.contentWrapper,
133
+ xcss: styles.contentWrapper,
135
134
  onMouseOver: handleMouseEnter
136
135
  }, /*#__PURE__*/React.createElement(Box, {
137
136
  as: "span",
@@ -15,8 +15,7 @@ import { SelectionExtensionActionTypes } from '../../types';
15
15
  import { useSelectionExtensionComponentContext } from '../SelectionExtensionComponentContext';
16
16
  var styles = {
17
17
  svgOverflow: "_1wrmewfl _172sewfl",
18
- contentWrapper: "_1e0c1txw _4cvr1h6o _1ul9idpf",
19
- contentWrapperWithJustifyContent: "_1e0c1txw _4cvr1h6o _1bah1yb4 _1ul9idpf",
18
+ contentWrapper: "_1e0c1txw _4cvr1h6o _1bah1yb4 _1ul9idpf",
20
19
  label: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c _1ul9idpf",
21
20
  lozenge: "_18u01b66 _1o9zidpf"
22
21
  };
@@ -112,7 +111,7 @@ export var SelectionExtensionDropdownItem = function SelectionExtensionDropdownI
112
111
  "data-extension-item-key": dropdownItem.key
113
112
  }, /*#__PURE__*/React.createElement(Box, {
114
113
  as: "span",
115
- xcss: !elemAfterText && fg('platform_editor_block_menu_v2_patch_5') ? styles.contentWrapperWithJustifyContent : styles.contentWrapper,
114
+ xcss: styles.contentWrapper,
116
115
  onMouseOver: handleMouseEnter
117
116
  }, /*#__PURE__*/React.createElement(Box, {
118
117
  as: "span",
@@ -131,7 +130,7 @@ export var SelectionExtensionDropdownItem = function SelectionExtensionDropdownI
131
130
  "data-extension-item-key": dropdownItem.key
132
131
  }, /*#__PURE__*/React.createElement(Box, {
133
132
  as: "span",
134
- xcss: fg('platform_editor_block_menu_v2_patch_5') ? styles.contentWrapperWithJustifyContent : styles.contentWrapper,
133
+ xcss: styles.contentWrapper,
135
134
  onMouseOver: handleMouseEnter
136
135
  }, /*#__PURE__*/React.createElement(Box, {
137
136
  as: "span",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection-extension",
3
- "version": "14.0.2",
3
+ "version": "14.1.1",
4
4
  "description": "editor-plugin-selection-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,7 +36,7 @@
36
36
  "@atlaskit/css": "^0.19.0",
37
37
  "@atlaskit/editor-json-transformer": "^8.33.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^11.0.0",
39
- "@atlaskit/editor-plugin-block-controls": "^12.1.0",
39
+ "@atlaskit/editor-plugin-block-controls": "^12.2.0",
40
40
  "@atlaskit/editor-plugin-block-menu": "^10.1.0",
41
41
  "@atlaskit/editor-plugin-editor-viewmode": "^13.0.0",
42
42
  "@atlaskit/editor-plugin-editor-viewmode-effects": "^11.0.0",
@@ -52,7 +52,7 @@
52
52
  "@atlaskit/lozenge": "^13.8.0",
53
53
  "@atlaskit/platform-feature-flags": "^1.1.0",
54
54
  "@atlaskit/primitives": "^19.0.0",
55
- "@atlaskit/tmp-editor-statsig": "^90.0.0",
55
+ "@atlaskit/tmp-editor-statsig": "^91.0.0",
56
56
  "@atlaskit/tokens": "^13.3.0",
57
57
  "@babel/runtime": "^7.0.0",
58
58
  "lodash": "^4.17.21",
@@ -118,9 +118,6 @@
118
118
  "platform_editor_selection_extension_improvement": {
119
119
  "type": "boolean"
120
120
  },
121
- "platform_editor_block_menu_v2_patch_5": {
122
- "type": "boolean"
123
- },
124
121
  "platform_editor_block_menu_v2_patch_2": {
125
122
  "type": "boolean"
126
123
  },