@atlaskit/editor-plugin-tasks-and-decisions 4.0.0 → 4.0.2
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 +21 -0
- package/dist/cjs/nodeviews/taskItem.js +3 -3
- package/dist/cjs/ui/ToolbarDecision/index.js +2 -2
- package/dist/cjs/ui/ToolbarTask/index.js +2 -2
- package/dist/es2019/nodeviews/taskItem.js +2 -2
- package/dist/es2019/ui/ToolbarDecision/index.js +1 -1
- package/dist/es2019/ui/ToolbarTask/index.js +1 -1
- package/dist/esm/nodeviews/taskItem.js +2 -2
- package/dist/esm/ui/ToolbarDecision/index.js +1 -1
- package/dist/esm/ui/ToolbarTask/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-tasks-and-decisions
|
|
2
2
|
|
|
3
|
+
## 4.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#120533](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120533)
|
|
8
|
+
[`f1bec731e278f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f1bec731e278f) -
|
|
9
|
+
Adds a `sideEffects` field to ensure this package does not have Compiled styles tree-shaken in the
|
|
10
|
+
future to avoid an accidental regression.
|
|
11
|
+
|
|
12
|
+
This is related to
|
|
13
|
+
https://community.developer.atlassian.com/t/rfc-73-migrating-our-components-to-compiled-css-in-js/85953
|
|
14
|
+
|
|
15
|
+
## 4.0.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#119045](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/119045)
|
|
20
|
+
[`47b940a098a8c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/47b940a098a8c) -
|
|
21
|
+
[ux] EDF-2511 - Iconography uplift
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 4.0.0
|
|
4
25
|
|
|
5
26
|
### Major Changes
|
|
@@ -27,7 +27,7 @@ var _messages = require("@atlaskit/editor-common/messages");
|
|
|
27
27
|
var _reactNodeView = _interopRequireDefault(require("@atlaskit/editor-common/react-node-view"));
|
|
28
28
|
var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-plugin-state-selector");
|
|
29
29
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
30
|
-
var
|
|
30
|
+
var _checkMarkEditorDone = _interopRequireDefault(require("@atlaskit/icon/core/migration/check-mark--editor-done"));
|
|
31
31
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
32
32
|
var _popup = _interopRequireDefault(require("@atlaskit/popup"));
|
|
33
33
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
@@ -56,9 +56,9 @@ var pressableStyles = {
|
|
|
56
56
|
var RequestedMessage = function RequestedMessage() {
|
|
57
57
|
var _useIntl = (0, _reactIntlNext.useIntl)(),
|
|
58
58
|
formatMessage = _useIntl.formatMessage;
|
|
59
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, formatMessage(_messages.tasksAndDecisionsMessages.requestToEdit), /*#__PURE__*/React.createElement(
|
|
59
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, formatMessage(_messages.tasksAndDecisionsMessages.requestToEdit), /*#__PURE__*/React.createElement(_checkMarkEditorDone.default, {
|
|
60
60
|
label: "requested-to-edit",
|
|
61
|
-
|
|
61
|
+
color: "var(--ds-icon-disabled, #091E424F)"
|
|
62
62
|
}));
|
|
63
63
|
};
|
|
64
64
|
var RequestToEditButton = function RequestToEditButton(_ref) {
|
|
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _reactIntlNext = require("react-intl-next");
|
|
10
10
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
11
11
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
12
|
-
var
|
|
12
|
+
var _decisionEditorDecision = _interopRequireDefault(require("@atlaskit/icon/core/migration/decision--editor-decision"));
|
|
13
13
|
var _insertCommands = require("../../pm-plugins/insert-commands");
|
|
14
14
|
var ToolbarDecision = function ToolbarDecision(_ref) {
|
|
15
15
|
var isDisabled = _ref.isDisabled,
|
|
@@ -37,7 +37,7 @@ var ToolbarDecision = function ToolbarDecision(_ref) {
|
|
|
37
37
|
spacing: isReducedSpacing ? 'none' : 'default',
|
|
38
38
|
title: "".concat(label, " <>"),
|
|
39
39
|
"aria-keyshortcuts": "Shift+, Shift+. space",
|
|
40
|
-
iconBefore: /*#__PURE__*/_react.default.createElement(
|
|
40
|
+
iconBefore: /*#__PURE__*/_react.default.createElement(_decisionEditorDecision.default, {
|
|
41
41
|
label: label
|
|
42
42
|
})
|
|
43
43
|
});
|
|
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _reactIntlNext = require("react-intl-next");
|
|
10
10
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
11
11
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
12
|
-
var
|
|
12
|
+
var _checkboxCheckedEditorTask = _interopRequireDefault(require("@atlaskit/icon/core/migration/checkbox-checked--editor-task"));
|
|
13
13
|
var _insertCommands = require("../../pm-plugins/insert-commands");
|
|
14
14
|
var ToolbarTask = function ToolbarTask(_ref) {
|
|
15
15
|
var isDisabled = _ref.isDisabled,
|
|
@@ -36,7 +36,7 @@ var ToolbarTask = function ToolbarTask(_ref) {
|
|
|
36
36
|
disabled: isDisabled,
|
|
37
37
|
spacing: isReducedSpacing ? 'none' : 'default',
|
|
38
38
|
title: "".concat(label, " []"),
|
|
39
|
-
iconBefore: /*#__PURE__*/_react.default.createElement(
|
|
39
|
+
iconBefore: /*#__PURE__*/_react.default.createElement(_checkboxCheckedEditorTask.default, {
|
|
40
40
|
label: label
|
|
41
41
|
})
|
|
42
42
|
});
|
|
@@ -12,7 +12,7 @@ import { tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
|
|
|
12
12
|
import ReactNodeView from '@atlaskit/editor-common/react-node-view';
|
|
13
13
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
|
14
14
|
import Heading from '@atlaskit/heading';
|
|
15
|
-
import EditorDoneIcon from '@atlaskit/icon/
|
|
15
|
+
import EditorDoneIcon from '@atlaskit/icon/core/migration/check-mark--editor-done';
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
17
|
// Ignored via go/ees005
|
|
18
18
|
// eslint-disable-next-line import/no-named-as-default
|
|
@@ -38,7 +38,7 @@ const RequestedMessage = () => {
|
|
|
38
38
|
} = useIntl();
|
|
39
39
|
return /*#__PURE__*/React.createElement(React.Fragment, null, formatMessage(tasksAndDecisionsMessages.requestToEdit), /*#__PURE__*/React.createElement(EditorDoneIcon, {
|
|
40
40
|
label: "requested-to-edit",
|
|
41
|
-
|
|
41
|
+
color: "var(--ds-icon-disabled, #091E424F)"
|
|
42
42
|
}));
|
|
43
43
|
};
|
|
44
44
|
const RequestToEditButton = ({
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { injectIntl } from 'react-intl-next';
|
|
3
3
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
4
4
|
import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
5
|
-
import DecisionIcon from '@atlaskit/icon/
|
|
5
|
+
import DecisionIcon from '@atlaskit/icon/core/migration/decision--editor-decision';
|
|
6
6
|
import { insertTaskDecisionCommand } from '../../pm-plugins/insert-commands';
|
|
7
7
|
const ToolbarDecision = ({
|
|
8
8
|
isDisabled,
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { injectIntl } from 'react-intl-next';
|
|
3
3
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
4
4
|
import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
5
|
-
import TaskIcon from '@atlaskit/icon/
|
|
5
|
+
import TaskIcon from '@atlaskit/icon/core/migration/checkbox-checked--editor-task';
|
|
6
6
|
import { insertTaskDecisionCommand } from '../../pm-plugins/insert-commands';
|
|
7
7
|
const ToolbarTask = ({
|
|
8
8
|
isDisabled,
|
|
@@ -24,7 +24,7 @@ import { tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
|
|
|
24
24
|
import ReactNodeView from '@atlaskit/editor-common/react-node-view';
|
|
25
25
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
|
26
26
|
import Heading from '@atlaskit/heading';
|
|
27
|
-
import EditorDoneIcon from '@atlaskit/icon/
|
|
27
|
+
import EditorDoneIcon from '@atlaskit/icon/core/migration/check-mark--editor-done';
|
|
28
28
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
29
29
|
// Ignored via go/ees005
|
|
30
30
|
// eslint-disable-next-line import/no-named-as-default
|
|
@@ -49,7 +49,7 @@ var RequestedMessage = function RequestedMessage() {
|
|
|
49
49
|
formatMessage = _useIntl.formatMessage;
|
|
50
50
|
return /*#__PURE__*/React.createElement(React.Fragment, null, formatMessage(tasksAndDecisionsMessages.requestToEdit), /*#__PURE__*/React.createElement(EditorDoneIcon, {
|
|
51
51
|
label: "requested-to-edit",
|
|
52
|
-
|
|
52
|
+
color: "var(--ds-icon-disabled, #091E424F)"
|
|
53
53
|
}));
|
|
54
54
|
};
|
|
55
55
|
var RequestToEditButton = function RequestToEditButton(_ref) {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { injectIntl } from 'react-intl-next';
|
|
3
3
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
4
4
|
import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
5
|
-
import DecisionIcon from '@atlaskit/icon/
|
|
5
|
+
import DecisionIcon from '@atlaskit/icon/core/migration/decision--editor-decision';
|
|
6
6
|
import { insertTaskDecisionCommand } from '../../pm-plugins/insert-commands';
|
|
7
7
|
var ToolbarDecision = function ToolbarDecision(_ref) {
|
|
8
8
|
var isDisabled = _ref.isDisabled,
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { injectIntl } from 'react-intl-next';
|
|
3
3
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
4
4
|
import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
5
|
-
import TaskIcon from '@atlaskit/icon/
|
|
5
|
+
import TaskIcon from '@atlaskit/icon/core/migration/checkbox-checked--editor-task';
|
|
6
6
|
import { insertTaskDecisionCommand } from '../../pm-plugins/insert-commands';
|
|
7
7
|
var ToolbarTask = function ToolbarTask(_ref) {
|
|
8
8
|
var isDisabled = _ref.isDisabled,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-tasks-and-decisions",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "Tasks and decisions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/analytics-namespaced-context": "^7.0.0",
|
|
38
38
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
39
39
|
"@atlaskit/css": "^0.10.0",
|
|
40
|
-
"@atlaskit/editor-common": "^100.
|
|
40
|
+
"@atlaskit/editor-common": "^100.4.0",
|
|
41
41
|
"@atlaskit/editor-plugin-analytics": "^2.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-context-identifier": "^2.0.0",
|
|
43
43
|
"@atlaskit/editor-plugin-editor-viewmode": "3.0.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/primitives": "14.1.2",
|
|
51
51
|
"@atlaskit/prosemirror-input-rules": "^3.3.0",
|
|
52
52
|
"@atlaskit/task-decision": "^19.0.0",
|
|
53
|
-
"@atlaskit/tmp-editor-statsig": "^3.
|
|
53
|
+
"@atlaskit/tmp-editor-statsig": "^3.3.0",
|
|
54
54
|
"@atlaskit/tokens": "4.2.0",
|
|
55
55
|
"@babel/runtime": "^7.0.0",
|
|
56
56
|
"@compiled/react": "^0.18.2"
|