@atlaskit/editor-plugin-insert-block 7.2.0 → 8.1.0

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,22 @@
1
1
  # @atlaskit/editor-plugin-insert-block
2
2
 
3
+ ## 8.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`00e69e0b7c839`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/00e69e0b7c839) -
8
+ Clean up and removal of the `platform-visual-refresh-icons` feature flag.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 8.0.0
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 7.2.0
4
21
 
5
22
  ### Minor Changes
@@ -729,12 +729,8 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
729
729
  }
730
730
  return (0, _react2.jsx)("span", {
731
731
  css:
732
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration
733
- (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ?
734
732
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
735
- _styles.buttonGroupStyle :
736
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
737
- _styles.buttonGroupStyleBeforeVisualRefresh
733
+ _styles.buttonGroupStyle
738
734
  }, toolbarButtons.map(function (btn) {
739
735
  return (0, _react2.jsx)(_uiMenu.ToolbarButton, {
740
736
  item: btn,
@@ -12,7 +12,7 @@ import { css, jsx } from '@emotion/react';
12
12
  import { injectIntl } from 'react-intl-next';
13
13
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
14
14
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
15
- import { buttonGroupStyle, buttonGroupStyleBeforeVisualRefresh, separatorStyles, wrapperStyle } from '@atlaskit/editor-common/styles';
15
+ import { buttonGroupStyle, separatorStyles, wrapperStyle } from '@atlaskit/editor-common/styles';
16
16
  import { Popup, TableSelectorPopup } from '@atlaskit/editor-common/ui';
17
17
  import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
18
18
  import { OutsideClickTargetRefContext, withReactEditorViewOuterListeners as withOuterListeners } from '@atlaskit/editor-common/ui-react';
@@ -771,12 +771,8 @@ export class ToolbarInsertBlock extends React.PureComponent {
771
771
  }
772
772
  return jsx("span", {
773
773
  css:
774
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration
775
- fg('platform-visual-refresh-icons') ?
776
774
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
777
- buttonGroupStyle :
778
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
779
- buttonGroupStyleBeforeVisualRefresh
775
+ buttonGroupStyle
780
776
  }, toolbarButtons.map(btn => {
781
777
  return jsx(ToolbarButton, {
782
778
  item: btn,
@@ -27,7 +27,7 @@ import { css, jsx } from '@emotion/react';
27
27
  import { injectIntl } from 'react-intl-next';
28
28
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
29
29
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
30
- import { buttonGroupStyle, buttonGroupStyleBeforeVisualRefresh, separatorStyles, wrapperStyle } from '@atlaskit/editor-common/styles';
30
+ import { buttonGroupStyle, separatorStyles, wrapperStyle } from '@atlaskit/editor-common/styles';
31
31
  import { Popup, TableSelectorPopup } from '@atlaskit/editor-common/ui';
32
32
  import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
33
33
  import { OutsideClickTargetRefContext, withReactEditorViewOuterListeners as withOuterListeners } from '@atlaskit/editor-common/ui-react';
@@ -723,12 +723,8 @@ export var ToolbarInsertBlock = /*#__PURE__*/function (_React$PureComponent) {
723
723
  }
724
724
  return jsx("span", {
725
725
  css:
726
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration
727
- fg('platform-visual-refresh-icons') ?
728
726
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
729
- buttonGroupStyle :
730
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
731
- buttonGroupStyleBeforeVisualRefresh
727
+ buttonGroupStyle
732
728
  }, toolbarButtons.map(function (btn) {
733
729
  return jsx(ToolbarButton, {
734
730
  item: btn,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-insert-block",
3
- "version": "7.2.0",
3
+ "version": "8.1.0",
4
4
  "description": "Insert block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,32 +29,32 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/editor-plugin-analytics": "^6.2.0",
33
- "@atlaskit/editor-plugin-block-type": "^10.3.0",
34
- "@atlaskit/editor-plugin-code-block": "^8.1.0",
35
- "@atlaskit/editor-plugin-connectivity": "^6.1.0",
36
- "@atlaskit/editor-plugin-date": "^8.1.0",
37
- "@atlaskit/editor-plugin-emoji": "^7.8.0",
38
- "@atlaskit/editor-plugin-expand": "^7.5.0",
39
- "@atlaskit/editor-plugin-extension": "^9.3.0",
40
- "@atlaskit/editor-plugin-feature-flags": "^5.0.0",
41
- "@atlaskit/editor-plugin-hyperlink": "^8.2.0",
42
- "@atlaskit/editor-plugin-image-upload": "^6.0.0",
43
- "@atlaskit/editor-plugin-layout": "^6.2.0",
44
- "@atlaskit/editor-plugin-media": "^8.8.0",
45
- "@atlaskit/editor-plugin-media-insert": "^15.0.0",
46
- "@atlaskit/editor-plugin-mentions": "^8.2.0",
47
- "@atlaskit/editor-plugin-metrics": "^7.1.0",
48
- "@atlaskit/editor-plugin-panel": "^8.2.0",
49
- "@atlaskit/editor-plugin-placeholder-text": "^7.1.0",
50
- "@atlaskit/editor-plugin-primary-toolbar": "^7.0.0",
51
- "@atlaskit/editor-plugin-quick-insert": "^6.2.0",
52
- "@atlaskit/editor-plugin-rule": "^6.1.0",
53
- "@atlaskit/editor-plugin-status": "^7.1.0",
54
- "@atlaskit/editor-plugin-table": "^15.6.0",
55
- "@atlaskit/editor-plugin-tasks-and-decisions": "^9.1.0",
56
- "@atlaskit/editor-plugin-toolbar": "^3.5.0",
57
- "@atlaskit/editor-plugin-type-ahead": "^6.6.0",
32
+ "@atlaskit/editor-plugin-analytics": "^7.0.0",
33
+ "@atlaskit/editor-plugin-block-type": "^11.0.0",
34
+ "@atlaskit/editor-plugin-code-block": "^9.0.0",
35
+ "@atlaskit/editor-plugin-connectivity": "^7.0.0",
36
+ "@atlaskit/editor-plugin-date": "^9.0.0",
37
+ "@atlaskit/editor-plugin-emoji": "^8.0.0",
38
+ "@atlaskit/editor-plugin-expand": "^8.0.0",
39
+ "@atlaskit/editor-plugin-extension": "^10.0.0",
40
+ "@atlaskit/editor-plugin-feature-flags": "^6.0.0",
41
+ "@atlaskit/editor-plugin-hyperlink": "^9.0.0",
42
+ "@atlaskit/editor-plugin-image-upload": "^7.0.0",
43
+ "@atlaskit/editor-plugin-layout": "^7.0.0",
44
+ "@atlaskit/editor-plugin-media": "^9.1.0",
45
+ "@atlaskit/editor-plugin-media-insert": "^16.0.0",
46
+ "@atlaskit/editor-plugin-mentions": "^9.0.0",
47
+ "@atlaskit/editor-plugin-metrics": "^8.0.0",
48
+ "@atlaskit/editor-plugin-panel": "^9.0.0",
49
+ "@atlaskit/editor-plugin-placeholder-text": "^8.0.0",
50
+ "@atlaskit/editor-plugin-primary-toolbar": "^8.0.0",
51
+ "@atlaskit/editor-plugin-quick-insert": "^7.0.0",
52
+ "@atlaskit/editor-plugin-rule": "^7.0.0",
53
+ "@atlaskit/editor-plugin-status": "^8.0.0",
54
+ "@atlaskit/editor-plugin-table": "^16.1.0",
55
+ "@atlaskit/editor-plugin-tasks-and-decisions": "^10.0.0",
56
+ "@atlaskit/editor-plugin-toolbar": "^4.0.0",
57
+ "@atlaskit/editor-plugin-type-ahead": "^7.0.0",
58
58
  "@atlaskit/editor-prosemirror": "^7.2.0",
59
59
  "@atlaskit/editor-shared-styles": "^3.10.0",
60
60
  "@atlaskit/editor-toolbar": "^0.18.0",
@@ -64,7 +64,7 @@
64
64
  "@atlaskit/icon-lab": "^5.13.0",
65
65
  "@atlaskit/platform-feature-flags": "^1.1.0",
66
66
  "@atlaskit/theme": "^21.0.0",
67
- "@atlaskit/tmp-editor-statsig": "^16.0.0",
67
+ "@atlaskit/tmp-editor-statsig": "^16.3.0",
68
68
  "@atlaskit/tokens": "^9.0.0",
69
69
  "@babel/runtime": "^7.0.0",
70
70
  "@emotion/react": "^11.7.1",
@@ -74,7 +74,7 @@
74
74
  "react-virtualized": "^9.22.6"
75
75
  },
76
76
  "peerDependencies": {
77
- "@atlaskit/editor-common": "^110.46.0",
77
+ "@atlaskit/editor-common": "^111.1.0",
78
78
  "react": "^18.2.0",
79
79
  "react-dom": "^18.2.0",
80
80
  "react-intl-next": "npm:react-intl@^5.18.1"