@atlaskit/editor-plugin-selection-toolbar 19.0.6 → 19.0.8

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.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`b78306efe5c75`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b78306efe5c75) -
8
+ Clean up feature gate `platform_editor_markdown_patch_m3`
9
+ - Updated dependencies
10
+
11
+ ## 19.0.7
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 19.0.6
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() {
@@ -1,4 +1,4 @@
1
- /* PrimaryToolbarComponent.tsx generated by @compiled/babel-plugin v3.0.1 */
1
+ /* PrimaryToolbarComponent.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* overflow-toolbar-config.tsx generated by @compiled/babel-plugin v3.0.1 */
1
+ /* overflow-toolbar-config.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -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 = () => {
@@ -1,4 +1,4 @@
1
- /* PrimaryToolbarComponent.tsx generated by @compiled/babel-plugin v3.0.1 */
1
+ /* PrimaryToolbarComponent.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./PrimaryToolbarComponent.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* overflow-toolbar-config.tsx generated by @compiled/babel-plugin v3.0.1 */
1
+ /* overflow-toolbar-config.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import * as React from 'react';
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import { selectionToolbarMessages } from '@atlaskit/editor-common/messages';
@@ -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() {
@@ -1,4 +1,4 @@
1
- /* PrimaryToolbarComponent.tsx generated by @compiled/babel-plugin v3.0.1 */
1
+ /* PrimaryToolbarComponent.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./PrimaryToolbarComponent.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* overflow-toolbar-config.tsx generated by @compiled/babel-plugin v3.0.1 */
1
+ /* overflow-toolbar-config.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import * as React from 'react';
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import { selectionToolbarMessages } from '@atlaskit/editor-common/messages';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection-toolbar",
3
- "version": "19.0.6",
3
+ "version": "19.0.8",
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": "^194.0.0",
41
- "@atlaskit/tokens": "^16.12.0",
40
+ "@atlaskit/tmp-editor-statsig": "^196.0.0",
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.7.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
  }