@atlaskit/editor-plugin-tasks-and-decisions 9.1.21 → 9.1.23
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 +14 -0
- package/dist/cjs/ui/Task/RequestToEditPopup.js +2 -2
- package/dist/cjs/ui/ToolbarDecision/index.js +2 -2
- package/dist/cjs/ui/ToolbarTask/index.js +2 -2
- package/dist/es2019/ui/Task/RequestToEditPopup.js +1 -1
- package/dist/es2019/ui/ToolbarDecision/index.js +1 -1
- package/dist/es2019/ui/ToolbarTask/index.js +1 -1
- package/dist/esm/ui/Task/RequestToEditPopup.js +1 -1
- package/dist/esm/ui/ToolbarDecision/index.js +1 -1
- package/dist/esm/ui/ToolbarTask/index.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-tasks-and-decisions
|
|
2
2
|
|
|
3
|
+
## 9.1.23
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 9.1.22
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`90abe9b926a6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90abe9b926a6f) -
|
|
14
|
+
Icon entrypoint migration
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 9.1.21
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -20,7 +20,7 @@ var _uiReact = require("@atlaskit/editor-common/ui-react");
|
|
|
20
20
|
var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-plugin-state-selector");
|
|
21
21
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
22
22
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
23
|
-
var
|
|
23
|
+
var _checkMark = _interopRequireDefault(require("@atlaskit/icon/core/check-mark"));
|
|
24
24
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
25
25
|
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); }
|
|
26
26
|
// import Popup from '@atlaskit/popup';
|
|
@@ -48,7 +48,7 @@ var anaylyticsEventPayload = function anaylyticsEventPayload(action) {
|
|
|
48
48
|
var RequestedMessage = function RequestedMessage() {
|
|
49
49
|
var _useIntl = (0, _reactIntlNext.useIntl)(),
|
|
50
50
|
formatMessage = _useIntl.formatMessage;
|
|
51
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, formatMessage(_messages.tasksAndDecisionsMessages.requestToEdit), /*#__PURE__*/React.createElement(
|
|
51
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, formatMessage(_messages.tasksAndDecisionsMessages.requestToEdit), /*#__PURE__*/React.createElement(_checkMark.default, {
|
|
52
52
|
label: "requested-to-edit",
|
|
53
53
|
color: "var(--ds-icon-disabled, #080F214A)"
|
|
54
54
|
}));
|
|
@@ -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 _decision = _interopRequireDefault(require("@atlaskit/icon/core/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(_decision.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 _checkboxChecked = _interopRequireDefault(require("@atlaskit/icon/core/checkbox-checked"));
|
|
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(_checkboxChecked.default, {
|
|
40
40
|
label: label
|
|
41
41
|
})
|
|
42
42
|
});
|
|
@@ -12,7 +12,7 @@ import { OutsideClickTargetRefContext, withReactEditorViewOuterListeners as with
|
|
|
12
12
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
|
13
13
|
import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
|
|
14
14
|
import Heading from '@atlaskit/heading';
|
|
15
|
-
import EditorDoneIcon from '@atlaskit/icon/core/
|
|
15
|
+
import EditorDoneIcon from '@atlaskit/icon/core/check-mark';
|
|
16
16
|
import { Box, Pressable, Stack } from '@atlaskit/primitives/compiled';
|
|
17
17
|
const PopupWithListeners = withOuterListeners(Popup);
|
|
18
18
|
const TRYING_REQUEST_TIMEOUT = 3000;
|
|
@@ -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/core/
|
|
5
|
+
import DecisionIcon from '@atlaskit/icon/core/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/core/
|
|
5
|
+
import TaskIcon from '@atlaskit/icon/core/checkbox-checked';
|
|
6
6
|
import { insertTaskDecisionCommand } from '../../pm-plugins/insert-commands';
|
|
7
7
|
const ToolbarTask = ({
|
|
8
8
|
isDisabled,
|
|
@@ -13,7 +13,7 @@ import { OutsideClickTargetRefContext, withReactEditorViewOuterListeners as with
|
|
|
13
13
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
|
14
14
|
import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
|
|
15
15
|
import Heading from '@atlaskit/heading';
|
|
16
|
-
import EditorDoneIcon from '@atlaskit/icon/core/
|
|
16
|
+
import EditorDoneIcon from '@atlaskit/icon/core/check-mark';
|
|
17
17
|
import { Box, Pressable, Stack } from '@atlaskit/primitives/compiled';
|
|
18
18
|
var PopupWithListeners = withOuterListeners(Popup);
|
|
19
19
|
var TRYING_REQUEST_TIMEOUT = 3000;
|
|
@@ -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/core/
|
|
5
|
+
import DecisionIcon from '@atlaskit/icon/core/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/core/
|
|
5
|
+
import TaskIcon from '@atlaskit/icon/core/checkbox-checked';
|
|
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": "9.1.
|
|
3
|
+
"version": "9.1.23",
|
|
4
4
|
"description": "Tasks and decisions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/adf-schema": "^51.5.0",
|
|
33
33
|
"@atlaskit/analytics-namespaced-context": "^7.2.0",
|
|
34
|
-
"@atlaskit/css": "^0.
|
|
34
|
+
"@atlaskit/css": "^0.18.0",
|
|
35
35
|
"@atlaskit/editor-plugin-analytics": "^6.2.0",
|
|
36
36
|
"@atlaskit/editor-plugin-block-menu": "^5.2.0",
|
|
37
37
|
"@atlaskit/editor-plugin-context-identifier": "^6.0.0",
|
|
@@ -44,19 +44,19 @@
|
|
|
44
44
|
"@atlaskit/editor-toolbar": "^0.18.0",
|
|
45
45
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
46
46
|
"@atlaskit/heading": "^5.2.0",
|
|
47
|
-
"@atlaskit/icon": "^29.
|
|
47
|
+
"@atlaskit/icon": "^29.2.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
49
|
"@atlaskit/primitives": "^16.4.0",
|
|
50
50
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
51
51
|
"@atlaskit/task-decision": "^19.2.0",
|
|
52
|
-
"@atlaskit/tmp-editor-statsig": "^15.
|
|
53
|
-
"@atlaskit/tokens": "^8.
|
|
52
|
+
"@atlaskit/tmp-editor-statsig": "^15.12.0",
|
|
53
|
+
"@atlaskit/tokens": "^8.6.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@compiled/react": "^0.18.6",
|
|
56
56
|
"bind-event-listener": "^3.0.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^110.
|
|
59
|
+
"@atlaskit/editor-common": "^110.45.0",
|
|
60
60
|
"react": "^18.2.0",
|
|
61
61
|
"react-dom": "^18.2.0",
|
|
62
62
|
"react-intl-next": "npm:react-intl@^5.18.1"
|