@atlaskit/editor-plugin-selection-toolbar 19.0.7 → 19.0.9

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-toolbar
2
2
 
3
+ ## 19.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 19.0.8
10
+
11
+ ### Patch Changes
12
+
13
+ - [`b78306efe5c75`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b78306efe5c75) -
14
+ Clean up feature gate `platform_editor_markdown_patch_m3`
15
+ - Updated dependencies
16
+
3
17
  ## 19.0.7
4
18
 
5
19
  ### Patch Changes
@@ -11,7 +11,6 @@ var _hooks = require("@atlaskit/editor-common/hooks");
11
11
  var _messages = require("@atlaskit/editor-common/messages");
12
12
  var _toolbar = require("@atlaskit/editor-common/toolbar");
13
13
  var _editorToolbar = require("@atlaskit/editor-toolbar");
14
- var _fg = require("@atlaskit/platform-feature-flags/fg");
15
14
  var shouldShowPinMenuItem = function shouldShowPinMenuItem(editMode) {
16
15
  return editMode !== 'view';
17
16
  };
@@ -43,7 +42,7 @@ var PinMenuItem = exports.PinMenuItem = function PinMenuItem(_ref) {
43
42
  editorToolbarDockingPreference = _usePluginState.editorToolbarDockingPreference,
44
43
  isDisabled = _usePluginState.isOffline;
45
44
  var isToolbarDocked = editorToolbarDockingPreference === 'top';
46
- if (disablePin || !shouldShowPinMenuItem(editorViewMode) || runtimeOverride === 'always-pinned' && (0, _fg.fg)('platform_editor_markdown_patch_m3')) {
45
+ if (disablePin || !shouldShowPinMenuItem(editorViewMode) || runtimeOverride === 'always-pinned') {
47
46
  return null;
48
47
  }
49
48
  var onClick = function onClick() {
@@ -4,7 +4,6 @@ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks'
4
4
  import { selectionToolbarMessages } from '@atlaskit/editor-common/messages';
5
5
  import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
6
6
  import { PinIcon, PinnedIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
7
- import { fg } from '@atlaskit/platform-feature-flags/fg';
8
7
  const shouldShowPinMenuItem = editMode => {
9
8
  return editMode !== 'view';
10
9
  };
@@ -39,7 +38,7 @@ export const PinMenuItem = ({
39
38
  isOffline: isDisabled
40
39
  } = usePluginState(api);
41
40
  const isToolbarDocked = editorToolbarDockingPreference === 'top';
42
- if (disablePin || !shouldShowPinMenuItem(editorViewMode) || runtimeOverride === 'always-pinned' && fg('platform_editor_markdown_patch_m3')) {
41
+ if (disablePin || !shouldShowPinMenuItem(editorViewMode) || runtimeOverride === 'always-pinned') {
43
42
  return null;
44
43
  }
45
44
  const onClick = () => {
@@ -4,7 +4,6 @@ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks'
4
4
  import { selectionToolbarMessages } from '@atlaskit/editor-common/messages';
5
5
  import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
6
6
  import { PinIcon, PinnedIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
7
- import { fg } from '@atlaskit/platform-feature-flags/fg';
8
7
  var shouldShowPinMenuItem = function shouldShowPinMenuItem(editMode) {
9
8
  return editMode !== 'view';
10
9
  };
@@ -36,7 +35,7 @@ export var PinMenuItem = function PinMenuItem(_ref) {
36
35
  editorToolbarDockingPreference = _usePluginState.editorToolbarDockingPreference,
37
36
  isDisabled = _usePluginState.isOffline;
38
37
  var isToolbarDocked = editorToolbarDockingPreference === 'top';
39
- if (disablePin || !shouldShowPinMenuItem(editorViewMode) || runtimeOverride === 'always-pinned' && fg('platform_editor_markdown_patch_m3')) {
38
+ if (disablePin || !shouldShowPinMenuItem(editorViewMode) || runtimeOverride === 'always-pinned') {
40
39
  return null;
41
40
  }
42
41
  var onClick = function onClick() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection-toolbar",
3
- "version": "19.0.7",
3
+ "version": "19.0.9",
4
4
  "description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,13 +37,13 @@
37
37
  "@atlaskit/icon-lab": "^7.9.0",
38
38
  "@atlaskit/menu": "^10.2.0",
39
39
  "@atlaskit/platform-feature-flags": "^2.2.0",
40
- "@atlaskit/tmp-editor-statsig": "^195.0.0",
40
+ "@atlaskit/tmp-editor-statsig": "^197.0.0",
41
41
  "@atlaskit/tokens": "^17.0.0",
42
42
  "@babel/runtime": "^7.0.0",
43
43
  "bind-event-listener": "^3.0.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "@atlaskit/editor-common": "^122.6.0",
46
+ "@atlaskit/editor-common": "^122.8.0",
47
47
  "react": "^18.2.0 || ^19.2.0",
48
48
  "react-dom": "^18.2.0 || ^19.2.0",
49
49
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -60,9 +60,6 @@
60
60
  "platform-feature-flags": {
61
61
  "platform_editor_use_preferences_plugin": {
62
62
  "type": "boolean"
63
- },
64
- "platform_editor_markdown_patch_m3": {
65
- "type": "boolean"
66
63
  }
67
64
  }
68
65
  }