@atlaskit/editor-plugin-selection-extension 11.0.1 → 11.0.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,19 @@
1
1
  # @atlaskit/editor-plugin-selection-extension
2
2
 
3
+ ## 11.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`a163b0b600d64`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a163b0b600d64) -
14
+ [ux] Justify space between for dropdown item to always space lozange on right
15
+ - Updated dependencies
16
+
3
17
  ## 11.0.1
4
18
 
5
19
  ### Patch Changes
@@ -1,6 +1,7 @@
1
1
  ._172sewfl svg{overflow-y:visible}
2
2
  ._18m915vq{overflow-y:hidden}
3
3
  ._18u01b66{margin-left:var(--ds-space-050,4px)}
4
+ ._1bah1yb4{justify-content:space-between}
4
5
  ._1bto1l2s{text-overflow:ellipsis}
5
6
  ._1e0c1txw{display:flex}
6
7
  ._1o9zidpf{flex-shrink:0}
@@ -25,6 +25,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
25
25
  var styles = {
26
26
  svgOverflow: "_1wrmewfl _172sewfl",
27
27
  contentWrapper: "_1e0c1txw _4cvr1h6o _1ul9idpf",
28
+ contentWrapperWithJustifyContent: "_1e0c1txw _4cvr1h6o _1bah1yb4 _1ul9idpf",
28
29
  label: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c _1ul9idpf",
29
30
  lozenge: "_18u01b66 _1o9zidpf"
30
31
  };
@@ -128,7 +129,7 @@ var SelectionExtensionDropdownItem = exports.SelectionExtensionDropdownItem = fu
128
129
  testId: _blockMenu.EXTENSION_MENU_ITEM_TEST_ID
129
130
  }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
130
131
  as: "span",
131
- xcss: styles.contentWrapper,
132
+ xcss: (0, _platformFeatureFlags.fg)('platform_editor_block_menu_v2_patch_5') ? styles.contentWrapperWithJustifyContent : styles.contentWrapper,
132
133
  onMouseOver: handleMouseEnter
133
134
  }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
134
135
  as: "span",
@@ -1,6 +1,7 @@
1
1
  ._172sewfl svg{overflow-y:visible}
2
2
  ._18m915vq{overflow-y:hidden}
3
3
  ._18u01b66{margin-left:var(--ds-space-050,4px)}
4
+ ._1bah1yb4{justify-content:space-between}
4
5
  ._1bto1l2s{text-overflow:ellipsis}
5
6
  ._1e0c1txw{display:flex}
6
7
  ._1o9zidpf{flex-shrink:0}
@@ -15,6 +15,7 @@ import { useSelectionExtensionComponentContext } from '../SelectionExtensionComp
15
15
  const styles = {
16
16
  svgOverflow: "_1wrmewfl _172sewfl",
17
17
  contentWrapper: "_1e0c1txw _4cvr1h6o _1ul9idpf",
18
+ contentWrapperWithJustifyContent: "_1e0c1txw _4cvr1h6o _1bah1yb4 _1ul9idpf",
18
19
  label: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c _1ul9idpf",
19
20
  lozenge: "_18u01b66 _1o9zidpf"
20
21
  };
@@ -119,7 +120,7 @@ export const SelectionExtensionDropdownItem = ({
119
120
  testId: EXTENSION_MENU_ITEM_TEST_ID
120
121
  }, /*#__PURE__*/React.createElement(Box, {
121
122
  as: "span",
122
- xcss: styles.contentWrapper,
123
+ xcss: fg('platform_editor_block_menu_v2_patch_5') ? styles.contentWrapperWithJustifyContent : styles.contentWrapper,
123
124
  onMouseOver: handleMouseEnter
124
125
  }, /*#__PURE__*/React.createElement(Box, {
125
126
  as: "span",
@@ -1,6 +1,7 @@
1
1
  ._172sewfl svg{overflow-y:visible}
2
2
  ._18m915vq{overflow-y:hidden}
3
3
  ._18u01b66{margin-left:var(--ds-space-050,4px)}
4
+ ._1bah1yb4{justify-content:space-between}
4
5
  ._1bto1l2s{text-overflow:ellipsis}
5
6
  ._1e0c1txw{display:flex}
6
7
  ._1o9zidpf{flex-shrink:0}
@@ -16,6 +16,7 @@ import { useSelectionExtensionComponentContext } from '../SelectionExtensionComp
16
16
  var styles = {
17
17
  svgOverflow: "_1wrmewfl _172sewfl",
18
18
  contentWrapper: "_1e0c1txw _4cvr1h6o _1ul9idpf",
19
+ contentWrapperWithJustifyContent: "_1e0c1txw _4cvr1h6o _1bah1yb4 _1ul9idpf",
19
20
  label: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c _1ul9idpf",
20
21
  lozenge: "_18u01b66 _1o9zidpf"
21
22
  };
@@ -119,7 +120,7 @@ export var SelectionExtensionDropdownItem = function SelectionExtensionDropdownI
119
120
  testId: EXTENSION_MENU_ITEM_TEST_ID
120
121
  }, /*#__PURE__*/React.createElement(Box, {
121
122
  as: "span",
122
- xcss: styles.contentWrapper,
123
+ xcss: fg('platform_editor_block_menu_v2_patch_5') ? styles.contentWrapperWithJustifyContent : styles.contentWrapper,
123
124
  onMouseOver: handleMouseEnter
124
125
  }, /*#__PURE__*/React.createElement(Box, {
125
126
  as: "span",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection-extension",
3
- "version": "11.0.1",
3
+ "version": "11.0.3",
4
4
  "description": "editor-plugin-selection-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -52,7 +52,7 @@
52
52
  "@atlaskit/lozenge": "^13.5.0",
53
53
  "@atlaskit/platform-feature-flags": "^1.1.0",
54
54
  "@atlaskit/primitives": "^18.0.0",
55
- "@atlaskit/tmp-editor-statsig": "^36.0.0",
55
+ "@atlaskit/tmp-editor-statsig": "^37.0.0",
56
56
  "@atlaskit/tokens": "^11.1.0",
57
57
  "@babel/runtime": "^7.0.0",
58
58
  "lodash": "^4.17.21",
@@ -60,7 +60,7 @@
60
60
  "uuid": "^3.1.0"
61
61
  },
62
62
  "peerDependencies": {
63
- "@atlaskit/editor-common": "^112.0.0",
63
+ "@atlaskit/editor-common": "^112.2.0",
64
64
  "react": "^18.2.0"
65
65
  },
66
66
  "devDependencies": {
@@ -122,6 +122,9 @@
122
122
  "platform_editor_block_menu_v2_patch_3": {
123
123
  "type": "boolean"
124
124
  },
125
+ "platform_editor_block_menu_v2_patch_5": {
126
+ "type": "boolean"
127
+ },
125
128
  "confluence_fronend_labels_categorization_migration": {
126
129
  "type": "boolean"
127
130
  }