@atlaskit/editor-plugin-status 17.0.2 → 17.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,23 @@
1
1
  # @atlaskit/editor-plugin-status
2
2
 
3
+ ## 17.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 17.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`d82ea790b5c1c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d82ea790b5c1c) -
14
+ Update registered slash-command menu icons, including the Jira datasource WorkItems icon, when the
15
+ `platform_editor_slash_command` experiment is enabled.
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 17.0.2
4
22
 
5
23
  ### Patch Changes
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
4
  var _typeof = require("@babel/runtime/helpers/typeof");
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
@@ -9,8 +10,8 @@ var _react = _interopRequireWildcard(require("react"));
9
10
  var _reactIntl = require("react-intl");
10
11
  var _analytics = require("@atlaskit/editor-common/analytics");
11
12
  var _messages = require("@atlaskit/editor-common/messages");
12
- var _quickInsert = require("@atlaskit/editor-common/quick-insert");
13
13
  var _menuItem = require("@atlaskit/editor-common/quick-insert/menu-item");
14
+ var _lozenge = _interopRequireDefault(require("@atlaskit/icon-lab/core/lozenge"));
14
15
  var _actions = require("../../pm-plugins/actions");
15
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
16
17
  var StatusQuickInsertMenuItem = exports.StatusQuickInsertMenuItem = function StatusQuickInsertMenuItem(_ref) {
@@ -26,7 +27,9 @@ var StatusQuickInsertMenuItem = exports.StatusQuickInsertMenuItem = function Sta
26
27
  })) !== null && _insertStatus !== void 0 ? _insertStatus : tr;
27
28
  }, [api]);
28
29
  return /*#__PURE__*/_react.default.createElement(_menuItem.QuickInsertMenuItem, {
29
- iconBefore: /*#__PURE__*/_react.default.createElement(_quickInsert.IconStatus, null),
30
+ iconBefore: /*#__PURE__*/_react.default.createElement(_lozenge.default, {
31
+ label: ""
32
+ }),
30
33
  onSelect: onSelect,
31
34
  title: formatMessage(_messages.toolbarInsertBlockMessages.status)
32
35
  });
@@ -2,8 +2,8 @@ import React, { useCallback } from 'react';
2
2
  import { useIntl } from 'react-intl';
3
3
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
5
- import { IconStatus } from '@atlaskit/editor-common/quick-insert';
6
5
  import { QuickInsertMenuItem } from '@atlaskit/editor-common/quick-insert/menu-item';
6
+ import LozengeIcon from '@atlaskit/icon-lab/core/lozenge';
7
7
  import { insertStatus } from '../../pm-plugins/actions';
8
8
  export const StatusQuickInsertMenuItem = ({
9
9
  api
@@ -21,7 +21,9 @@ export const StatusQuickInsertMenuItem = ({
21
21
  })) !== null && _insertStatus !== void 0 ? _insertStatus : tr;
22
22
  }, [api]);
23
23
  return /*#__PURE__*/React.createElement(QuickInsertMenuItem, {
24
- iconBefore: /*#__PURE__*/React.createElement(IconStatus, null),
24
+ iconBefore: /*#__PURE__*/React.createElement(LozengeIcon, {
25
+ label: ""
26
+ }),
25
27
  onSelect: onSelect,
26
28
  title: formatMessage(messages.status)
27
29
  });
@@ -2,8 +2,8 @@ import React, { useCallback } from 'react';
2
2
  import { useIntl } from 'react-intl';
3
3
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
5
- import { IconStatus } from '@atlaskit/editor-common/quick-insert';
6
5
  import { QuickInsertMenuItem } from '@atlaskit/editor-common/quick-insert/menu-item';
6
+ import LozengeIcon from '@atlaskit/icon-lab/core/lozenge';
7
7
  import { insertStatus } from '../../pm-plugins/actions';
8
8
  export var StatusQuickInsertMenuItem = function StatusQuickInsertMenuItem(_ref) {
9
9
  var api = _ref.api;
@@ -18,7 +18,9 @@ export var StatusQuickInsertMenuItem = function StatusQuickInsertMenuItem(_ref)
18
18
  })) !== null && _insertStatus !== void 0 ? _insertStatus : tr;
19
19
  }, [api]);
20
20
  return /*#__PURE__*/React.createElement(QuickInsertMenuItem, {
21
- iconBefore: /*#__PURE__*/React.createElement(IconStatus, null),
21
+ iconBefore: /*#__PURE__*/React.createElement(LozengeIcon, {
22
+ label: ""
23
+ }),
22
24
  onSelect: onSelect,
23
25
  title: formatMessage(messages.status)
24
26
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-status",
3
- "version": "17.0.2",
3
+ "version": "17.1.1",
4
4
  "description": "Status plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -21,8 +21,8 @@
21
21
  ],
22
22
  "atlaskit:src": "src/index.ts",
23
23
  "dependencies": {
24
- "@atlaskit/adf-schema": "^57.1.0",
25
- "@atlaskit/analytics-next": "^12.3.0",
24
+ "@atlaskit/adf-schema": "^57.2.0",
25
+ "@atlaskit/analytics-next": "^12.4.0",
26
26
  "@atlaskit/browser-apis": "^1.2.0",
27
27
  "@atlaskit/editor-plugin-analytics": "^16.0.0",
28
28
  "@atlaskit/editor-plugin-ui-control-registry": "^10.0.0",
@@ -30,17 +30,18 @@
30
30
  "@atlaskit/editor-shared-styles": "^4.0.0",
31
31
  "@atlaskit/editor-ui-control-model": "^2.8.0",
32
32
  "@atlaskit/icon": "^37.5.0",
33
+ "@atlaskit/icon-lab": "^7.7.0",
33
34
  "@atlaskit/platform-feature-experiments": "^0.3.0",
34
35
  "@atlaskit/platform-feature-flags": "^2.1.0",
35
36
  "@atlaskit/status": "^5.8.0",
36
- "@atlaskit/tmp-editor-statsig": "^162.0.0",
37
+ "@atlaskit/tmp-editor-statsig": "^163.0.0",
37
38
  "@atlaskit/tokens": "^16.8.0",
38
39
  "@atlaskit/visually-hidden": "^4.3.0",
39
40
  "@babel/runtime": "^7.0.0",
40
41
  "@emotion/react": "^11.7.1"
41
42
  },
42
43
  "peerDependencies": {
43
- "@atlaskit/editor-common": "^120.2.0",
44
+ "@atlaskit/editor-common": "^120.3.0",
44
45
  "react": "^18.2.0 || ^19.2.0",
45
46
  "react-dom": "^18.2.0 || ^19.2.0",
46
47
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"