@atlaskit/editor-plugin-breakout 6.3.1 → 6.4.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,16 @@
1
1
  # @atlaskit/editor-plugin-breakout
2
2
 
3
+ ## 6.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`762b79e21f96a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/762b79e21f96a) -
8
+ Migrated and cleaned up legacy iconography usage.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 6.3.1
4
15
 
5
16
  ### Patch Changes
@@ -19,8 +19,6 @@ var _utils2 = require("@atlaskit/editor-prosemirror/utils");
19
19
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
20
20
  var _growHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/grow-horizontal"));
21
21
  var _shrinkHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/shrink-horizontal"));
22
- var _collapse = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/collapse"));
23
- var _expand = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/expand"));
24
22
  var _colors = require("@atlaskit/theme/colors");
25
23
  var _constants = require("@atlaskit/theme/constants");
26
24
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
@@ -174,11 +172,9 @@ var LayoutButton = function LayoutButton(_ref) {
174
172
  },
175
173
  iconBefore: breakoutMode === 'full-width' ? (0, _react2.jsx)(_shrinkHorizontal.default, {
176
174
  label: title,
177
- LEGACY_fallbackIcon: _collapse.default,
178
175
  spacing: "spacious"
179
176
  }) : (0, _react2.jsx)(_growHorizontal.default, {
180
177
  label: title,
181
- LEGACY_fallbackIcon: _expand.default,
182
178
  spacing: "spacious"
183
179
  })
184
180
  })));
@@ -17,8 +17,6 @@ import { findDomRefAtPos, findParentDomRefOfType } from '@atlaskit/editor-prosem
17
17
  import { akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
18
18
  import GrowHorizontalIcon from '@atlaskit/icon/core/grow-horizontal';
19
19
  import ShrinkHorizontalIcon from '@atlaskit/icon/core/shrink-horizontal';
20
- import CollapseIcon from '@atlaskit/icon/glyph/editor/collapse';
21
- import ExpandIcon from '@atlaskit/icon/glyph/editor/expand';
22
20
  import { B300, N20A, N300 } from '@atlaskit/theme/colors';
23
21
  import { layers } from '@atlaskit/theme/constants';
24
22
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -170,11 +168,9 @@ const LayoutButton = ({
170
168
  onClick: () => handleClick(nextBreakoutMode),
171
169
  iconBefore: breakoutMode === 'full-width' ? jsx(ShrinkHorizontalIcon, {
172
170
  label: title,
173
- LEGACY_fallbackIcon: CollapseIcon,
174
171
  spacing: "spacious"
175
172
  }) : jsx(GrowHorizontalIcon, {
176
173
  label: title,
177
- LEGACY_fallbackIcon: ExpandIcon,
178
174
  spacing: "spacious"
179
175
  })
180
176
  })));
@@ -18,8 +18,6 @@ import { findDomRefAtPos, findParentDomRefOfType } from '@atlaskit/editor-prosem
18
18
  import { akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
19
19
  import GrowHorizontalIcon from '@atlaskit/icon/core/grow-horizontal';
20
20
  import ShrinkHorizontalIcon from '@atlaskit/icon/core/shrink-horizontal';
21
- import CollapseIcon from '@atlaskit/icon/glyph/editor/collapse';
22
- import ExpandIcon from '@atlaskit/icon/glyph/editor/expand';
23
21
  import { B300, N20A, N300 } from '@atlaskit/theme/colors';
24
22
  import { layers } from '@atlaskit/theme/constants';
25
23
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -166,11 +164,9 @@ var LayoutButton = function LayoutButton(_ref) {
166
164
  },
167
165
  iconBefore: breakoutMode === 'full-width' ? jsx(ShrinkHorizontalIcon, {
168
166
  label: title,
169
- LEGACY_fallbackIcon: CollapseIcon,
170
167
  spacing: "spacious"
171
168
  }) : jsx(GrowHorizontalIcon, {
172
169
  label: title,
173
- LEGACY_fallbackIcon: ExpandIcon,
174
170
  spacing: "spacious"
175
171
  })
176
172
  })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-breakout",
3
- "version": "6.3.1",
3
+ "version": "6.4.0",
4
4
  "description": "Breakout plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,22 +29,22 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/adf-schema": "^51.5.1",
33
- "@atlaskit/editor-plugin-block-controls": "^7.13.0",
32
+ "@atlaskit/adf-schema": "^51.5.0",
33
+ "@atlaskit/editor-plugin-block-controls": "^7.15.0",
34
34
  "@atlaskit/editor-plugin-editor-disabled": "^6.1.0",
35
35
  "@atlaskit/editor-plugin-editor-viewmode": "^8.0.0",
36
36
  "@atlaskit/editor-plugin-guideline": "^6.0.0",
37
37
  "@atlaskit/editor-plugin-interaction": "^10.0.0",
38
38
  "@atlaskit/editor-plugin-user-intent": "^4.0.0",
39
39
  "@atlaskit/editor-plugin-width": "^7.0.0",
40
- "@atlaskit/editor-prosemirror": "7.0.0",
40
+ "@atlaskit/editor-prosemirror": "^7.2.0",
41
41
  "@atlaskit/editor-shared-styles": "^3.10.0",
42
- "@atlaskit/icon": "^29.0.0",
42
+ "@atlaskit/icon": "^29.2.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
44
  "@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
45
45
  "@atlaskit/theme": "^21.0.0",
46
- "@atlaskit/tmp-editor-statsig": "^15.9.0",
47
- "@atlaskit/tokens": "^8.4.0",
46
+ "@atlaskit/tmp-editor-statsig": "^15.12.0",
47
+ "@atlaskit/tokens": "^8.6.0",
48
48
  "@atlaskit/tooltip": "^20.11.0",
49
49
  "@babel/runtime": "^7.0.0",
50
50
  "@emotion/react": "^11.7.1",
@@ -53,7 +53,7 @@
53
53
  "uuid": "^3.1.0"
54
54
  },
55
55
  "peerDependencies": {
56
- "@atlaskit/editor-common": "^110.41.0",
56
+ "@atlaskit/editor-common": "^110.45.0",
57
57
  "react": "^18.2.0",
58
58
  "react-dom": "^18.2.0",
59
59
  "react-intl-next": "npm:react-intl@^5.18.1"