@atlaskit/editor-plugin-insert-block 7.0.29 → 7.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,16 @@
1
1
  # @atlaskit/editor-plugin-insert-block
2
2
 
3
+ ## 7.1.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
  ## 7.0.29
4
15
 
5
16
  ### Patch Changes
@@ -28,9 +28,6 @@ var _quotationMark = _interopRequireDefault(require("@atlaskit/icon/core/quotati
28
28
  var _showMoreHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/show-more-horizontal"));
29
29
  var _statusInformation = _interopRequireDefault(require("@atlaskit/icon/core/status-information"));
30
30
  var _task = _interopRequireDefault(require("@atlaskit/icon/core/task"));
31
- var _task2 = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/task"));
32
- var _text = _interopRequireDefault(require("@atlaskit/icon/glyph/media-services/text"));
33
- var _status = _interopRequireDefault(require("@atlaskit/icon/glyph/status"));
34
31
  var _shallowEquals = require("./shallow-equals");
35
32
  /**
36
33
  * @jsxRuntime classic
@@ -77,8 +74,7 @@ var action = exports.action = mem(function (init) {
77
74
  return (0, _react2.jsx)(_task.default, {
78
75
  label: "",
79
76
  color: "currentColor",
80
- spacing: "spacious",
81
- LEGACY_fallbackIcon: _task2.default
77
+ spacing: "spacious"
82
78
  });
83
79
  },
84
80
  'aria-keyshortcuts': '[ ] Space'
@@ -263,8 +259,7 @@ var placeholder = exports.placeholder = mem(function (init) {
263
259
  return (0, _react2.jsx)(_fieldText.default, {
264
260
  label: "",
265
261
  spacing: "spacious",
266
- color: "currentColor",
267
- LEGACY_fallbackIcon: _text.default
262
+ color: "currentColor"
268
263
  });
269
264
  }
270
265
  });
@@ -279,8 +274,7 @@ var status = exports.status = mem(function (init) {
279
274
  return (0, _react2.jsx)(_lozenge.default, {
280
275
  label: "",
281
276
  color: "currentColor",
282
- spacing: "spacious",
283
- LEGACY_fallbackIcon: _status.default
277
+ spacing: "spacious"
284
278
  });
285
279
  }
286
280
  });
@@ -27,9 +27,6 @@ import QuotationMarkIcon from '@atlaskit/icon/core/quotation-mark';
27
27
  import ShowMoreHorizontalIcon from '@atlaskit/icon/core/show-more-horizontal';
28
28
  import InformationIcon from '@atlaskit/icon/core/status-information';
29
29
  import TaskIcon from '@atlaskit/icon/core/task';
30
- import CheckboxCheckedIconLegacy from '@atlaskit/icon/glyph/editor/task';
31
- import PlaceholderTextIcon from '@atlaskit/icon/glyph/media-services/text';
32
- import StatusIconLegacy from '@atlaskit/icon/glyph/status';
33
30
  import { shallowEquals } from './shallow-equals';
34
31
  const from = init => ({
35
32
  content: init.content,
@@ -64,8 +61,7 @@ export const action = mem(init => {
64
61
  Icon: () => jsx(TaskIcon, {
65
62
  label: "",
66
63
  color: "currentColor",
67
- spacing: "spacious",
68
- LEGACY_fallbackIcon: CheckboxCheckedIconLegacy
64
+ spacing: "spacious"
69
65
  }),
70
66
  'aria-keyshortcuts': '[ ] Space'
71
67
  });
@@ -213,8 +209,7 @@ export const placeholder = mem(init => from({
213
209
  Icon: () => jsx(FieldTextIcon, {
214
210
  label: "",
215
211
  spacing: "spacious",
216
- color: "currentColor",
217
- LEGACY_fallbackIcon: PlaceholderTextIcon
212
+ color: "currentColor"
218
213
  })
219
214
  }));
220
215
  export const status = mem(init => from({
@@ -225,8 +220,7 @@ export const status = mem(init => from({
225
220
  Icon: () => jsx(LozengeIcon, {
226
221
  label: "",
227
222
  color: "currentColor",
228
- spacing: "spacious",
229
- LEGACY_fallbackIcon: StatusIconLegacy
223
+ spacing: "spacious"
230
224
  })
231
225
  }));
232
226
 
@@ -27,9 +27,6 @@ import QuotationMarkIcon from '@atlaskit/icon/core/quotation-mark';
27
27
  import ShowMoreHorizontalIcon from '@atlaskit/icon/core/show-more-horizontal';
28
28
  import InformationIcon from '@atlaskit/icon/core/status-information';
29
29
  import TaskIcon from '@atlaskit/icon/core/task';
30
- import CheckboxCheckedIconLegacy from '@atlaskit/icon/glyph/editor/task';
31
- import PlaceholderTextIcon from '@atlaskit/icon/glyph/media-services/text';
32
- import StatusIconLegacy from '@atlaskit/icon/glyph/status';
33
30
  import { shallowEquals } from './shallow-equals';
34
31
  var from = function from(init) {
35
32
  return {
@@ -69,8 +66,7 @@ export var action = mem(function (init) {
69
66
  return jsx(TaskIcon, {
70
67
  label: "",
71
68
  color: "currentColor",
72
- spacing: "spacious",
73
- LEGACY_fallbackIcon: CheckboxCheckedIconLegacy
69
+ spacing: "spacious"
74
70
  });
75
71
  },
76
72
  'aria-keyshortcuts': '[ ] Space'
@@ -255,8 +251,7 @@ export var placeholder = mem(function (init) {
255
251
  return jsx(FieldTextIcon, {
256
252
  label: "",
257
253
  spacing: "spacious",
258
- color: "currentColor",
259
- LEGACY_fallbackIcon: PlaceholderTextIcon
254
+ color: "currentColor"
260
255
  });
261
256
  }
262
257
  });
@@ -271,8 +266,7 @@ export var status = mem(function (init) {
271
266
  return jsx(LozengeIcon, {
272
267
  label: "",
273
268
  color: "currentColor",
274
- spacing: "spacious",
275
- LEGACY_fallbackIcon: StatusIconLegacy
269
+ spacing: "spacious"
276
270
  });
277
271
  }
278
272
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-insert-block",
3
- "version": "7.0.29",
3
+ "version": "7.1.0",
4
4
  "description": "Insert block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -30,28 +30,28 @@
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
32
  "@atlaskit/editor-plugin-analytics": "^6.2.0",
33
- "@atlaskit/editor-plugin-block-type": "^10.2.0",
33
+ "@atlaskit/editor-plugin-block-type": "^10.3.0",
34
34
  "@atlaskit/editor-plugin-code-block": "^8.1.0",
35
35
  "@atlaskit/editor-plugin-connectivity": "^6.0.0",
36
36
  "@atlaskit/editor-plugin-date": "^8.1.0",
37
37
  "@atlaskit/editor-plugin-emoji": "^7.7.0",
38
- "@atlaskit/editor-plugin-expand": "^7.4.0",
38
+ "@atlaskit/editor-plugin-expand": "^7.5.0",
39
39
  "@atlaskit/editor-plugin-extension": "^9.2.0",
40
40
  "@atlaskit/editor-plugin-feature-flags": "^5.0.0",
41
41
  "@atlaskit/editor-plugin-hyperlink": "^8.1.0",
42
42
  "@atlaskit/editor-plugin-image-upload": "^6.0.0",
43
43
  "@atlaskit/editor-plugin-layout": "^6.2.0",
44
- "@atlaskit/editor-plugin-media": "^8.5.0",
45
- "@atlaskit/editor-plugin-media-insert": "^14.0.0",
44
+ "@atlaskit/editor-plugin-media": "^8.6.0",
45
+ "@atlaskit/editor-plugin-media-insert": "^14.1.0",
46
46
  "@atlaskit/editor-plugin-mentions": "^8.2.0",
47
47
  "@atlaskit/editor-plugin-metrics": "^7.1.0",
48
- "@atlaskit/editor-plugin-panel": "^8.1.0",
48
+ "@atlaskit/editor-plugin-panel": "^8.2.0",
49
49
  "@atlaskit/editor-plugin-placeholder-text": "^7.1.0",
50
50
  "@atlaskit/editor-plugin-primary-toolbar": "^7.0.0",
51
51
  "@atlaskit/editor-plugin-quick-insert": "^6.1.0",
52
52
  "@atlaskit/editor-plugin-rule": "^6.1.0",
53
53
  "@atlaskit/editor-plugin-status": "^7.1.0",
54
- "@atlaskit/editor-plugin-table": "^15.5.0",
54
+ "@atlaskit/editor-plugin-table": "^15.6.0",
55
55
  "@atlaskit/editor-plugin-tasks-and-decisions": "^9.1.0",
56
56
  "@atlaskit/editor-plugin-toolbar": "^3.4.0",
57
57
  "@atlaskit/editor-plugin-type-ahead": "^6.5.0",
@@ -60,12 +60,12 @@
60
60
  "@atlaskit/editor-toolbar": "^0.18.0",
61
61
  "@atlaskit/editor-toolbar-model": "^0.2.0",
62
62
  "@atlaskit/emoji": "^69.9.0",
63
- "@atlaskit/icon": "^29.1.0",
63
+ "@atlaskit/icon": "^29.2.0",
64
64
  "@atlaskit/icon-lab": "^5.12.0",
65
65
  "@atlaskit/platform-feature-flags": "^1.1.0",
66
66
  "@atlaskit/theme": "^21.0.0",
67
67
  "@atlaskit/tmp-editor-statsig": "^15.12.0",
68
- "@atlaskit/tokens": "^8.5.0",
68
+ "@atlaskit/tokens": "^8.6.0",
69
69
  "@babel/runtime": "^7.0.0",
70
70
  "@emotion/react": "^11.7.1",
71
71
  "bind-event-listener": "^3.0.0",
@@ -74,7 +74,7 @@
74
74
  "react-virtualized": "^9.22.6"
75
75
  },
76
76
  "peerDependencies": {
77
- "@atlaskit/editor-common": "^110.44.0",
77
+ "@atlaskit/editor-common": "^110.45.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"