@atlaskit/editor-plugin-alignment 7.0.7 → 7.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,21 @@
1
1
  # @atlaskit/editor-plugin-alignment
2
2
 
3
+ ## 7.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ef001bf65d48f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ef001bf65d48f) -
8
+ Remove usage of `platform_editor_toolbar_aifc` inside editor packages - instead rely on checking
9
+ for new toolbar plugin option, make `enableNewToolbarExperience` mandatory for consumers to opt in
10
+ to new toolbar experience
11
+ - Updated dependencies
12
+
13
+ ## 7.0.8
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 7.0.7
4
20
 
5
21
  ### Patch Changes
@@ -19,9 +19,7 @@ var defaultConfig = {
19
19
  };
20
20
  var alignmentPlugin = exports.alignmentPlugin = function alignmentPlugin(_ref) {
21
21
  var api = _ref.api;
22
- var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true, {
23
- exposure: true
24
- });
22
+ var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
25
23
  var primaryToolbarComponent = function primaryToolbarComponent(_ref2) {
26
24
  var editorView = _ref2.editorView,
27
25
  popupsMountPoint = _ref2.popupsMountPoint,
@@ -13,9 +13,7 @@ const defaultConfig = {
13
13
  export const alignmentPlugin = ({
14
14
  api
15
15
  }) => {
16
- const isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true, {
17
- exposure: true
18
- });
16
+ const isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
19
17
  const primaryToolbarComponent = ({
20
18
  editorView,
21
19
  popupsMountPoint,
@@ -12,9 +12,7 @@ var defaultConfig = {
12
12
  };
13
13
  export var alignmentPlugin = function alignmentPlugin(_ref) {
14
14
  var api = _ref.api;
15
- var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true, {
16
- exposure: true
17
- });
15
+ var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
18
16
  var primaryToolbarComponent = function primaryToolbarComponent(_ref2) {
19
17
  var editorView = _ref2.editorView,
20
18
  popupsMountPoint = _ref2.popupsMountPoint,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-alignment",
3
- "version": "7.0.7",
3
+ "version": "7.0.9",
4
4
  "description": "Alignment plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,19 +35,19 @@
35
35
  "@atlaskit/editor-plugin-analytics": "^6.1.0",
36
36
  "@atlaskit/editor-plugin-primary-toolbar": "^7.0.0",
37
37
  "@atlaskit/editor-plugin-selection-toolbar": "^7.0.0",
38
- "@atlaskit/editor-plugin-toolbar": "^3.1.0",
38
+ "@atlaskit/editor-plugin-toolbar": "^3.2.0",
39
39
  "@atlaskit/editor-prosemirror": "7.0.0",
40
40
  "@atlaskit/editor-tables": "^2.9.0",
41
- "@atlaskit/editor-toolbar": "^0.14.0",
42
- "@atlaskit/icon": "^28.4.0",
41
+ "@atlaskit/editor-toolbar": "^0.15.0",
42
+ "@atlaskit/icon": "^28.5.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
- "@atlaskit/tmp-editor-statsig": "^13.4.0",
44
+ "@atlaskit/tmp-editor-statsig": "^13.10.0",
45
45
  "@atlaskit/tokens": "^6.4.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@compiled/react": "^0.18.3"
48
48
  },
49
49
  "peerDependencies": {
50
- "@atlaskit/editor-common": "^110.7.0",
50
+ "@atlaskit/editor-common": "^110.10.0",
51
51
  "react": "^18.2.0",
52
52
  "react-dom": "^18.2.0",
53
53
  "react-intl-next": "npm:react-intl@^5.18.1"
@@ -55,7 +55,7 @@
55
55
  "devDependencies": {
56
56
  "@af/integration-testing": "workspace:^",
57
57
  "@af/visual-regression": "workspace:^",
58
- "@atlaskit/editor-plugin-list": "^8.0.0",
58
+ "@atlaskit/editor-plugin-list": "^8.1.0",
59
59
  "@atlaskit/ssr": "workspace:^",
60
60
  "@testing-library/react": "^13.4.0",
61
61
  "@testing-library/user-event": "^14.4.3",