@atlaskit/editor-plugin-tasks-and-decisions 29.0.1 → 29.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
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-tasks-and-decisions
|
|
2
2
|
|
|
3
|
+
## 29.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`34d6cd041f793`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/34d6cd041f793) -
|
|
8
|
+
Cleanup `feature_gate` `platform-dst-motion-uplift-custom-button`. The design system motion uplift
|
|
9
|
+
for custom buttons and `Pressable` primitives is now permanently enabled: the gated motion styles
|
|
10
|
+
are applied unconditionally and the pre-uplift transition styles have been removed.
|
|
11
|
+
|
|
3
12
|
## 29.0.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -21,7 +21,6 @@ var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-
|
|
|
21
21
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
22
22
|
var _heading = _interopRequireDefault(require("@atlaskit/heading/heading"));
|
|
23
23
|
var _checkMark = _interopRequireDefault(require("@atlaskit/icon/core/check-mark"));
|
|
24
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
25
24
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
26
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); }
|
|
27
26
|
// import Popup from '@atlaskit/popup';
|
|
@@ -34,7 +33,6 @@ var wrapperBoxStyles = null;
|
|
|
34
33
|
var dotStyles = null;
|
|
35
34
|
var dotStylesUnbounded = null;
|
|
36
35
|
var pressableStyles = {
|
|
37
|
-
pressable: "_ca0qze3t _n3tdze3t _19bvze3t _u5f3ze3t _1wybdlk8 _syaz1oa5 _bfhksm61 _9oik1r31 _1bnx8stv _jf4cnqa1 _1ggl5xtf _9h8h12zz",
|
|
38
36
|
pressableMotion: "_v564k6bl _ca0qze3t _n3tdze3t _19bvze3t _u5f3ze3t _1wybdlk8 _syaz1oa5 _bfhksm61 _9oik1r31 _1bnx8stv _jf4cnqa1 _1ggl5xtf _9h8h12zz"
|
|
39
37
|
};
|
|
40
38
|
var anaylyticsEventPayload = function anaylyticsEventPayload(action) {
|
|
@@ -62,7 +60,7 @@ var RequestToEditButton = function RequestToEditButton(_ref) {
|
|
|
62
60
|
formatMessage = _useIntl2.formatMessage;
|
|
63
61
|
return /*#__PURE__*/React.createElement(_compiled.Box, null, /*#__PURE__*/React.createElement(_compiled.Pressable, {
|
|
64
62
|
onClick: onClick,
|
|
65
|
-
xcss:
|
|
63
|
+
xcss: pressableStyles.pressableMotion,
|
|
66
64
|
testId: "request-to-edit-popup-request-btn"
|
|
67
65
|
}, formatMessage(_messages.tasksAndDecisionsMessages.requestToEdit)));
|
|
68
66
|
};
|
|
@@ -180,7 +178,7 @@ var RequestToEditPopup = exports.RequestToEditPopup = function RequestToEditPopu
|
|
|
180
178
|
var _api$analytics2;
|
|
181
179
|
return onHandleDismiss(api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions);
|
|
182
180
|
},
|
|
183
|
-
xcss:
|
|
181
|
+
xcss: pressableStyles.pressableMotion,
|
|
184
182
|
testId: "request-to-edit-popup-cancel-btn"
|
|
185
183
|
}, formatMessage(_messages.tasksAndDecisionsMessages.dismiss)))))));
|
|
186
184
|
}));
|
|
@@ -15,7 +15,6 @@ import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared
|
|
|
15
15
|
import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
|
|
16
16
|
import Heading from '@atlaskit/heading/heading';
|
|
17
17
|
import EditorDoneIcon from '@atlaskit/icon/core/check-mark';
|
|
18
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
19
18
|
import { Box, Pressable, Stack } from '@atlaskit/primitives/compiled';
|
|
20
19
|
const PopupWithListeners = withOuterListeners(Popup);
|
|
21
20
|
const TRYING_REQUEST_TIMEOUT = 3000;
|
|
@@ -25,7 +24,6 @@ const wrapperBoxStyles = null;
|
|
|
25
24
|
const dotStyles = null;
|
|
26
25
|
const dotStylesUnbounded = null;
|
|
27
26
|
const pressableStyles = {
|
|
28
|
-
pressable: "_ca0qze3t _n3tdze3t _19bvze3t _u5f3ze3t _1wybdlk8 _syaz1oa5 _bfhksm61 _9oik1r31 _1bnx8stv _jf4cnqa1 _1ggl5xtf _9h8h12zz",
|
|
29
27
|
pressableMotion: "_v564k6bl _ca0qze3t _n3tdze3t _19bvze3t _u5f3ze3t _1wybdlk8 _syaz1oa5 _bfhksm61 _9oik1r31 _1bnx8stv _jf4cnqa1 _1ggl5xtf _9h8h12zz"
|
|
30
28
|
};
|
|
31
29
|
const anaylyticsEventPayload = action => {
|
|
@@ -56,7 +54,7 @@ const RequestToEditButton = ({
|
|
|
56
54
|
} = useIntl();
|
|
57
55
|
return /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Pressable, {
|
|
58
56
|
onClick: onClick,
|
|
59
|
-
xcss:
|
|
57
|
+
xcss: pressableStyles.pressableMotion,
|
|
60
58
|
testId: "request-to-edit-popup-request-btn"
|
|
61
59
|
}, formatMessage(tasksAndDecisionsMessages.requestToEdit)));
|
|
62
60
|
};
|
|
@@ -166,7 +164,7 @@ export const RequestToEditPopup = ({
|
|
|
166
164
|
var _api$analytics2;
|
|
167
165
|
return onHandleDismiss(api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions);
|
|
168
166
|
},
|
|
169
|
-
xcss:
|
|
167
|
+
xcss: pressableStyles.pressableMotion,
|
|
170
168
|
testId: "request-to-edit-popup-cancel-btn"
|
|
171
169
|
}, formatMessage(tasksAndDecisionsMessages.dismiss)))))))));
|
|
172
170
|
};
|
|
@@ -16,7 +16,6 @@ import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared
|
|
|
16
16
|
import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
|
|
17
17
|
import Heading from '@atlaskit/heading/heading';
|
|
18
18
|
import EditorDoneIcon from '@atlaskit/icon/core/check-mark';
|
|
19
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
20
19
|
import { Box, Pressable, Stack } from '@atlaskit/primitives/compiled';
|
|
21
20
|
var PopupWithListeners = withOuterListeners(Popup);
|
|
22
21
|
var TRYING_REQUEST_TIMEOUT = 3000;
|
|
@@ -26,7 +25,6 @@ var wrapperBoxStyles = null;
|
|
|
26
25
|
var dotStyles = null;
|
|
27
26
|
var dotStylesUnbounded = null;
|
|
28
27
|
var pressableStyles = {
|
|
29
|
-
pressable: "_ca0qze3t _n3tdze3t _19bvze3t _u5f3ze3t _1wybdlk8 _syaz1oa5 _bfhksm61 _9oik1r31 _1bnx8stv _jf4cnqa1 _1ggl5xtf _9h8h12zz",
|
|
30
28
|
pressableMotion: "_v564k6bl _ca0qze3t _n3tdze3t _19bvze3t _u5f3ze3t _1wybdlk8 _syaz1oa5 _bfhksm61 _9oik1r31 _1bnx8stv _jf4cnqa1 _1ggl5xtf _9h8h12zz"
|
|
31
29
|
};
|
|
32
30
|
var anaylyticsEventPayload = function anaylyticsEventPayload(action) {
|
|
@@ -54,7 +52,7 @@ var RequestToEditButton = function RequestToEditButton(_ref) {
|
|
|
54
52
|
formatMessage = _useIntl2.formatMessage;
|
|
55
53
|
return /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Pressable, {
|
|
56
54
|
onClick: onClick,
|
|
57
|
-
xcss:
|
|
55
|
+
xcss: pressableStyles.pressableMotion,
|
|
58
56
|
testId: "request-to-edit-popup-request-btn"
|
|
59
57
|
}, formatMessage(tasksAndDecisionsMessages.requestToEdit)));
|
|
60
58
|
};
|
|
@@ -172,7 +170,7 @@ export var RequestToEditPopup = function RequestToEditPopup(_ref2) {
|
|
|
172
170
|
var _api$analytics2;
|
|
173
171
|
return onHandleDismiss(api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions);
|
|
174
172
|
},
|
|
175
|
-
xcss:
|
|
173
|
+
xcss: pressableStyles.pressableMotion,
|
|
176
174
|
testId: "request-to-edit-popup-cancel-btn"
|
|
177
175
|
}, formatMessage(tasksAndDecisionsMessages.dismiss)))))));
|
|
178
176
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-tasks-and-decisions",
|
|
3
|
-
"version": "29.0.
|
|
3
|
+
"version": "29.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/editor-plugin-toolbar": "^23.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-type-ahead": "^27.0.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
40
|
-
"@atlaskit/editor-shared-styles": "^4.
|
|
40
|
+
"@atlaskit/editor-shared-styles": "^4.4.0",
|
|
41
41
|
"@atlaskit/editor-toolbar": "^2.8.0",
|
|
42
42
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
43
43
|
"@atlaskit/heading": "^8.0.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"bind-event-listener": "^3.0.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@atlaskit/editor-common": "^130.
|
|
57
|
+
"@atlaskit/editor-common": "^130.2.0",
|
|
58
58
|
"react": "^18.2.0 || ^19.2.0",
|
|
59
59
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
60
60
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
@@ -67,11 +67,5 @@
|
|
|
67
67
|
"react-dom": "^19.2.0",
|
|
68
68
|
"react-intl": "^7.0.0",
|
|
69
69
|
"wait-for-expect": "^1.2.0"
|
|
70
|
-
},
|
|
71
|
-
"platform-feature-flags": {
|
|
72
|
-
"platform-dst-motion-uplift-custom-button": {
|
|
73
|
-
"type": "boolean",
|
|
74
|
-
"referenceOnly": true
|
|
75
|
-
}
|
|
76
70
|
}
|
|
77
71
|
}
|