@atlaskit/editor-plugin-selection-toolbar 3.6.10 → 3.6.11

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,15 @@
1
1
  # @atlaskit/editor-plugin-selection-toolbar
2
2
 
3
+ ## 3.6.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [#163573](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/163573)
8
+ [`21e93839ec382`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/21e93839ec382) -
9
+ Convert platform_editor_controls_toolbar_pinning fg to
10
+ platform_editor_controls_toolbar_pinning_exp experiment
11
+ - Updated dependencies
12
+
3
13
  ## 3.6.10
4
14
 
5
15
  ### Patch Changes
@@ -40,7 +40,7 @@ var selectionToolbarPlugin = exports.selectionToolbarPlugin = function selection
40
40
  if ((0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
41
41
  exposure: true
42
42
  })) {
43
- if ((0, _platformFeatureFlags.fg)('platform_editor_controls_toolbar_pinning')) {
43
+ if ((0, _experiments.editorExperiment)('platform_editor_controls_toolbar_pinning_exp', true)) {
44
44
  var _api$primaryToolbar;
45
45
  primaryToolbarComponent = function primaryToolbarComponent(_ref2) {
46
46
  var disabled = _ref2.disabled;
@@ -317,7 +317,7 @@ var selectionToolbarPlugin = exports.selectionToolbarPlugin = function selection
317
317
  }
318
318
  }
319
319
  if (items.length > 0 && contextualFormattingEnabled && isEditorControlsEnabled) {
320
- if ((0, _platformFeatureFlags.fg)('platform_editor_controls_toolbar_pinning')) {
320
+ if ((0, _experiments.editorExperiment)('platform_editor_controls_toolbar_pinning_exp', true)) {
321
321
  items.push.apply(items, (0, _toConsumableArray2.default)((0, _pinToolbarConfig.getPinOptionToolbarConfig)({
322
322
  api: api,
323
323
  toolbarDocking: toolbarDocking,
@@ -32,7 +32,7 @@ export const selectionToolbarPlugin = ({
32
32
  if (editorExperiment('platform_editor_controls', 'variant1', {
33
33
  exposure: true
34
34
  })) {
35
- if (fg('platform_editor_controls_toolbar_pinning')) {
35
+ if (editorExperiment('platform_editor_controls_toolbar_pinning_exp', true)) {
36
36
  var _api$primaryToolbar;
37
37
  primaryToolbarComponent = ({
38
38
  disabled
@@ -310,7 +310,7 @@ export const selectionToolbarPlugin = ({
310
310
  }
311
311
  }
312
312
  if (items.length > 0 && contextualFormattingEnabled && isEditorControlsEnabled) {
313
- if (fg('platform_editor_controls_toolbar_pinning')) {
313
+ if (editorExperiment('platform_editor_controls_toolbar_pinning_exp', true)) {
314
314
  items.push(...getPinOptionToolbarConfig({
315
315
  api,
316
316
  toolbarDocking,
@@ -33,7 +33,7 @@ export var selectionToolbarPlugin = function selectionToolbarPlugin(_ref) {
33
33
  if (editorExperiment('platform_editor_controls', 'variant1', {
34
34
  exposure: true
35
35
  })) {
36
- if (fg('platform_editor_controls_toolbar_pinning')) {
36
+ if (editorExperiment('platform_editor_controls_toolbar_pinning_exp', true)) {
37
37
  var _api$primaryToolbar;
38
38
  primaryToolbarComponent = function primaryToolbarComponent(_ref2) {
39
39
  var disabled = _ref2.disabled;
@@ -310,7 +310,7 @@ export var selectionToolbarPlugin = function selectionToolbarPlugin(_ref) {
310
310
  }
311
311
  }
312
312
  if (items.length > 0 && contextualFormattingEnabled && isEditorControlsEnabled) {
313
- if (fg('platform_editor_controls_toolbar_pinning')) {
313
+ if (editorExperiment('platform_editor_controls_toolbar_pinning_exp', true)) {
314
314
  items.push.apply(items, _toConsumableArray(getPinOptionToolbarConfig({
315
315
  api: api,
316
316
  toolbarDocking: toolbarDocking,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection-toolbar",
3
- "version": "3.6.10",
3
+ "version": "3.6.11",
4
4
  "description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/icon-lab": "^4.17.0",
46
46
  "@atlaskit/menu": "^8.0.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
- "@atlaskit/tmp-editor-statsig": "^5.5.0",
48
+ "@atlaskit/tmp-editor-statsig": "^5.7.0",
49
49
  "@atlaskit/tokens": "^4.9.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "bind-event-listener": "^3.0.0"
@@ -113,9 +113,6 @@
113
113
  },
114
114
  "platform_editor_controls_patch_8": {
115
115
  "type": "boolean"
116
- },
117
- "platform_editor_controls_toolbar_pinning": {
118
- "type": "boolean"
119
116
  }
120
117
  }
121
118
  }