@atlaskit/editor-plugin-toolbar 2.1.0 → 2.1.1

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,13 @@
1
1
  # @atlaskit/editor-plugin-toolbar
2
2
 
3
+ ## 2.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`345a4e1939d12`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/345a4e1939d12) -
8
+ [ux] [ED-28733] Add responsiveness support for selection toolbar
9
+ - Updated dependencies
10
+
3
11
  ## 2.1.0
4
12
 
5
13
  ### Minor Changes
@@ -74,6 +74,10 @@ var getToolbarComponents = exports.getToolbarComponents = function getToolbarCom
74
74
  type: 'toolbar',
75
75
  key: _toolbar.TOOLBARS.PRIMARY_TOOLBAR,
76
76
  rank: _toolbar.TOOLBAR_RANK[_toolbar.TEXT_SECTION_COLLAPSED.key]
77
+ }, (0, _expValEquals.expValEquals)('platform_editor_aifc_selection_toolbar_responsive', 'isEnabled', true) && {
78
+ type: 'toolbar',
79
+ key: _toolbar.TOOLBARS.INLINE_TEXT_TOOLBAR,
80
+ rank: _toolbar.TOOLBAR_RANK[_toolbar.TEXT_SECTION_COLLAPSED.key]
77
81
  }],
78
82
  component: function component(_ref4) {
79
83
  var children = _ref4.children,
@@ -67,6 +67,10 @@ export const getToolbarComponents = (api, disableSelectionToolbar) => {
67
67
  type: 'toolbar',
68
68
  key: TOOLBARS.PRIMARY_TOOLBAR,
69
69
  rank: TOOLBAR_RANK[TEXT_SECTION_COLLAPSED.key]
70
+ }, expValEquals('platform_editor_aifc_selection_toolbar_responsive', 'isEnabled', true) && {
71
+ type: 'toolbar',
72
+ key: TOOLBARS.INLINE_TEXT_TOOLBAR,
73
+ rank: TOOLBAR_RANK[TEXT_SECTION_COLLAPSED.key]
70
74
  }],
71
75
  component: ({
72
76
  children,
@@ -67,6 +67,10 @@ export var getToolbarComponents = function getToolbarComponents(api, disableSele
67
67
  type: 'toolbar',
68
68
  key: TOOLBARS.PRIMARY_TOOLBAR,
69
69
  rank: TOOLBAR_RANK[TEXT_SECTION_COLLAPSED.key]
70
+ }, expValEquals('platform_editor_aifc_selection_toolbar_responsive', 'isEnabled', true) && {
71
+ type: 'toolbar',
72
+ key: TOOLBARS.INLINE_TEXT_TOOLBAR,
73
+ rank: TOOLBAR_RANK[TEXT_SECTION_COLLAPSED.key]
70
74
  }],
71
75
  component: function component(_ref4) {
72
76
  var children = _ref4.children,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-toolbar",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,13 +37,13 @@
37
37
  "@atlaskit/editor-toolbar": "^0.8.0",
38
38
  "@atlaskit/editor-toolbar-model": "^0.2.0",
39
39
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
40
- "@atlaskit/tmp-editor-statsig": "^12.10.0",
40
+ "@atlaskit/tmp-editor-statsig": "^12.14.0",
41
41
  "@babel/runtime": "^7.0.0",
42
42
  "bind-event-listener": "^3.0.0",
43
43
  "react-intl-next": "npm:react-intl@^5.18.1"
44
44
  },
45
45
  "peerDependencies": {
46
- "@atlaskit/editor-common": "^109.1.0",
46
+ "@atlaskit/editor-common": "^109.2.0",
47
47
  "react": "^18.2.0"
48
48
  },
49
49
  "techstack": {