@atlaskit/task-decision 19.1.2 → 19.1.3
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 +8 -0
- package/afm-cc/tsconfig.json +0 -9
- package/afm-jira/tsconfig.json +0 -9
- package/afm-post-office/tsconfig.json +0 -9
- package/dist/cjs/components/DecisionItem.js +13 -27
- package/dist/cjs/components/DecisionList.js +22 -22
- package/dist/cjs/components/Item.js +39 -39
- package/dist/cjs/components/ResourcedTaskItem.js +0 -23
- package/dist/cjs/components/TaskItem.js +21 -22
- package/dist/cjs/components/TaskList.js +24 -26
- package/dist/cjs/index.js +25 -12
- package/dist/es2019/components/DecisionItem.js +10 -26
- package/dist/es2019/components/DecisionList.js +23 -27
- package/dist/es2019/components/Item.js +30 -40
- package/dist/es2019/components/ResourcedTaskItem.js +2 -25
- package/dist/es2019/components/TaskItem.js +18 -18
- package/dist/es2019/components/TaskList.js +24 -28
- package/dist/es2019/index.js +4 -13
- package/dist/esm/components/DecisionItem.js +10 -26
- package/dist/esm/components/DecisionList.js +22 -26
- package/dist/esm/components/Item.js +34 -40
- package/dist/esm/components/ResourcedTaskItem.js +2 -25
- package/dist/esm/components/TaskItem.js +21 -18
- package/dist/esm/components/TaskList.js +23 -27
- package/dist/esm/index.js +4 -13
- package/dist/types/components/DecisionItem.d.ts +2 -6
- package/dist/types/components/DecisionList.d.ts +1 -2
- package/dist/types/components/Item.d.ts +2 -3
- package/dist/types/components/TaskList.d.ts +1 -2
- package/dist/types/index.d.ts +4 -5
- package/dist/types-ts4.5/components/DecisionItem.d.ts +2 -6
- package/dist/types-ts4.5/components/DecisionList.d.ts +1 -2
- package/dist/types-ts4.5/components/Item.d.ts +2 -3
- package/dist/types-ts4.5/components/TaskList.d.ts +1 -2
- package/dist/types-ts4.5/index.d.ts +4 -5
- package/package.json +2 -13
- package/dist/cjs/components/compiled/DecisionItem.js +0 -45
- package/dist/cjs/components/compiled/DecisionList.js +0 -62
- package/dist/cjs/components/compiled/Item.js +0 -101
- package/dist/cjs/components/compiled/TaskItem.js +0 -134
- package/dist/cjs/components/compiled/TaskList.js +0 -68
- package/dist/cjs/components/styles.js +0 -234
- package/dist/cjs/components/theme.js +0 -67
- package/dist/es2019/components/compiled/DecisionItem.js +0 -36
- package/dist/es2019/components/compiled/DecisionList.js +0 -40
- package/dist/es2019/components/compiled/Item.js +0 -70
- package/dist/es2019/components/compiled/TaskItem.js +0 -117
- package/dist/es2019/components/compiled/TaskList.js +0 -46
- package/dist/es2019/components/styles.js +0 -221
- package/dist/es2019/components/theme.js +0 -61
- package/dist/esm/components/compiled/DecisionItem.js +0 -35
- package/dist/esm/components/compiled/DecisionList.js +0 -53
- package/dist/esm/components/compiled/Item.js +0 -92
- package/dist/esm/components/compiled/TaskItem.js +0 -126
- package/dist/esm/components/compiled/TaskList.js +0 -60
- package/dist/esm/components/styles.js +0 -227
- package/dist/esm/components/theme.js +0 -61
- package/dist/types/components/compiled/DecisionItem.d.ts +0 -14
- package/dist/types/components/compiled/DecisionList.d.ts +0 -11
- package/dist/types/components/compiled/Item.d.ts +0 -25
- package/dist/types/components/compiled/TaskItem.d.ts +0 -27
- package/dist/types/components/compiled/TaskList.d.ts +0 -8
- package/dist/types/components/styles.d.ts +0 -12
- package/dist/types/components/theme.d.ts +0 -61
- package/dist/types-ts4.5/components/compiled/DecisionItem.d.ts +0 -14
- package/dist/types-ts4.5/components/compiled/DecisionList.d.ts +0 -11
- package/dist/types-ts4.5/components/compiled/Item.d.ts +0 -25
- package/dist/types-ts4.5/components/compiled/TaskItem.d.ts +0 -27
- package/dist/types-ts4.5/components/compiled/TaskList.d.ts +0 -8
- package/dist/types-ts4.5/components/styles.d.ts +0 -12
- package/dist/types-ts4.5/components/theme.d.ts +0 -61
- /package/dist/cjs/components/{compiled/DecisionItem.compiled.css → DecisionItem.compiled.css} +0 -0
- /package/dist/cjs/components/{compiled/DecisionList.compiled.css → DecisionList.compiled.css} +0 -0
- /package/dist/cjs/components/{compiled/Item.compiled.css → Item.compiled.css} +0 -0
- /package/dist/cjs/components/{compiled/TaskItem.compiled.css → TaskItem.compiled.css} +0 -0
- /package/dist/cjs/components/{compiled/TaskList.compiled.css → TaskList.compiled.css} +0 -0
- /package/dist/es2019/components/{compiled/DecisionItem.compiled.css → DecisionItem.compiled.css} +0 -0
- /package/dist/es2019/components/{compiled/DecisionList.compiled.css → DecisionList.compiled.css} +0 -0
- /package/dist/es2019/components/{compiled/Item.compiled.css → Item.compiled.css} +0 -0
- /package/dist/es2019/components/{compiled/TaskItem.compiled.css → TaskItem.compiled.css} +0 -0
- /package/dist/es2019/components/{compiled/TaskList.compiled.css → TaskList.compiled.css} +0 -0
- /package/dist/esm/components/{compiled/DecisionItem.compiled.css → DecisionItem.compiled.css} +0 -0
- /package/dist/esm/components/{compiled/DecisionList.compiled.css → DecisionList.compiled.css} +0 -0
- /package/dist/esm/components/{compiled/Item.compiled.css → Item.compiled.css} +0 -0
- /package/dist/esm/components/{compiled/TaskItem.compiled.css → TaskItem.compiled.css} +0 -0
- /package/dist/esm/components/{compiled/TaskList.compiled.css → TaskList.compiled.css} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/task-decision
|
|
2
2
|
|
|
3
|
+
## 19.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#133301](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/133301)
|
|
8
|
+
[`626015a52ee65`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/626015a52ee65) -
|
|
9
|
+
tidy up fg of compiled css migration
|
|
10
|
+
|
|
3
11
|
## 19.1.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -26,15 +26,6 @@
|
|
|
26
26
|
{
|
|
27
27
|
"path": "../../../design-system/icon/afm-cc/tsconfig.json"
|
|
28
28
|
},
|
|
29
|
-
{
|
|
30
|
-
"path": "../../../platform/feature-flags/afm-cc/tsconfig.json"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"path": "../../../platform/feature-flags-react/afm-cc/tsconfig.json"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"path": "../../../design-system/theme/afm-cc/tsconfig.json"
|
|
37
|
-
},
|
|
38
29
|
{
|
|
39
30
|
"path": "../../../design-system/tokens/afm-cc/tsconfig.json"
|
|
40
31
|
},
|
package/afm-jira/tsconfig.json
CHANGED
|
@@ -26,15 +26,6 @@
|
|
|
26
26
|
{
|
|
27
27
|
"path": "../../../design-system/icon/afm-jira/tsconfig.json"
|
|
28
28
|
},
|
|
29
|
-
{
|
|
30
|
-
"path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"path": "../../../platform/feature-flags-react/afm-jira/tsconfig.json"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"path": "../../../design-system/theme/afm-jira/tsconfig.json"
|
|
37
|
-
},
|
|
38
29
|
{
|
|
39
30
|
"path": "../../../design-system/tokens/afm-jira/tsconfig.json"
|
|
40
31
|
},
|
|
@@ -26,15 +26,6 @@
|
|
|
26
26
|
{
|
|
27
27
|
"path": "../../../design-system/icon/afm-post-office/tsconfig.json"
|
|
28
28
|
},
|
|
29
|
-
{
|
|
30
|
-
"path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"path": "../../../platform/feature-flags-react/afm-post-office/tsconfig.json"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"path": "../../../design-system/theme/afm-post-office/tsconfig.json"
|
|
37
|
-
},
|
|
38
29
|
{
|
|
39
30
|
"path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
|
|
40
31
|
},
|
|
@@ -1,33 +1,21 @@
|
|
|
1
|
+
/* DecisionItem.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
"use strict";
|
|
2
3
|
|
|
3
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
4
6
|
Object.defineProperty(exports, "__esModule", {
|
|
5
7
|
value: true
|
|
6
8
|
});
|
|
7
9
|
exports.default = void 0;
|
|
8
|
-
|
|
10
|
+
require("./DecisionItem.compiled.css");
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
9
13
|
var _decisionEditorDecision = _interopRequireDefault(require("@atlaskit/icon/core/migration/decision--editor-decision"));
|
|
10
14
|
var _Item = _interopRequireDefault(require("./Item"));
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
|
-
|
|
18
|
-
var iconStyles = function iconStyles(showPlaceholder) {
|
|
19
|
-
return (0, _react.css)({
|
|
20
|
-
flex: '0 0 16px',
|
|
21
|
-
height: '16px',
|
|
22
|
-
width: '16px',
|
|
23
|
-
margin: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-150, 12px)", " 0 0"),
|
|
24
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
25
|
-
color: showPlaceholder ? "var(--ds-icon-subtle, #626F86)" : "var(--ds-icon-success, #22A06B)",
|
|
26
|
-
display: 'flex',
|
|
27
|
-
alignItems: 'center',
|
|
28
|
-
justifyContent: 'center'
|
|
29
|
-
});
|
|
30
|
-
};
|
|
15
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
|
+
var iconStyles = null;
|
|
18
|
+
var iconStylesWithPlaceholder = null;
|
|
31
19
|
var DecisionItem = function DecisionItem(_ref) {
|
|
32
20
|
var appearance = _ref.appearance,
|
|
33
21
|
children = _ref.children,
|
|
@@ -35,18 +23,16 @@ var DecisionItem = function DecisionItem(_ref) {
|
|
|
35
23
|
placeholder = _ref.placeholder,
|
|
36
24
|
showPlaceholder = _ref.showPlaceholder,
|
|
37
25
|
dataAttributes = _ref.dataAttributes;
|
|
38
|
-
var icon =
|
|
39
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
40
|
-
(0, _react.jsx)("span", {
|
|
26
|
+
var icon = /*#__PURE__*/React.createElement("span", {
|
|
41
27
|
contentEditable: false,
|
|
42
|
-
|
|
43
|
-
},
|
|
28
|
+
className: (0, _runtime.ax)(["_16jlidpf _1o9zidpf _i0dlexct _4t3i7vkz _1bsb7vkz _19pk1b66 _2hwxutpp _otyridpf _18u0idpf _syaz1yjp _1e0c1txw _4cvr1h6o _1bah1h6o", showPlaceholder && "_syaz1oju"])
|
|
29
|
+
}, /*#__PURE__*/React.createElement(_decisionEditorDecision.default, {
|
|
44
30
|
label: "Decision",
|
|
45
31
|
spacing: "spacious",
|
|
46
32
|
color: "currentColor",
|
|
47
33
|
LEGACY_size: "large"
|
|
48
34
|
}));
|
|
49
|
-
return
|
|
35
|
+
return /*#__PURE__*/React.createElement(_Item.default, {
|
|
50
36
|
appearance: appearance,
|
|
51
37
|
contentRef: contentRef,
|
|
52
38
|
icon: icon,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* DecisionList.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
"use strict";
|
|
2
3
|
|
|
3
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -6,21 +7,23 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
7
|
value: true
|
|
7
8
|
});
|
|
8
9
|
exports.default = void 0;
|
|
10
|
+
require("./DecisionList.compiled.css");
|
|
11
|
+
var _runtime = require("@compiled/react/runtime");
|
|
9
12
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
10
13
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
11
14
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
12
15
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
13
16
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
14
17
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
|
-
var _react2 = require("@emotion/react");
|
|
16
|
-
var _styles = require("./styles");
|
|
17
18
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
19
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
20
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
20
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
22
|
+
/*
|
|
23
|
+
Increasing specificity with double ampersand to ensure these rules take
|
|
24
|
+
priority over the global styles applied to 'ol' elements.
|
|
25
|
+
*/
|
|
26
|
+
var listStyles = null;
|
|
24
27
|
var DecisionList = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
25
28
|
function DecisionList() {
|
|
26
29
|
(0, _classCallCheck2.default)(this, DecisionList);
|
|
@@ -41,22 +44,19 @@ var DecisionList = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
41
44
|
// and action items, which all share the common `<li>` element.
|
|
42
45
|
// The value of `data-decision-local-id` should be discarded upon paste, with a
|
|
43
46
|
// a new uuid generated by the editor for the cloned content.
|
|
44
|
-
return (
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}, child);
|
|
58
|
-
}))
|
|
59
|
-
);
|
|
47
|
+
return /*#__PURE__*/_react.default.createElement("ol", {
|
|
48
|
+
"data-decision-list-local-id": "",
|
|
49
|
+
"data-node-type": "decisionList",
|
|
50
|
+
className: (0, _runtime.ax)(["_1braglyw _1yxxidpf"])
|
|
51
|
+
}, _react.default.Children.map(children, function (child, idx) {
|
|
52
|
+
var _ref = child.props,
|
|
53
|
+
localId = _ref.localId;
|
|
54
|
+
return /*#__PURE__*/_react.default.createElement("li", {
|
|
55
|
+
key: idx,
|
|
56
|
+
"data-decision-local-id": localId || '',
|
|
57
|
+
"data-decision-state": "DECIDED"
|
|
58
|
+
}, child);
|
|
59
|
+
}));
|
|
60
60
|
}
|
|
61
61
|
}]);
|
|
62
62
|
}(_react.PureComponent);
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
/* Item.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
"use strict";
|
|
2
3
|
|
|
3
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
4
6
|
Object.defineProperty(exports, "__esModule", {
|
|
5
7
|
value: true
|
|
6
8
|
});
|
|
7
9
|
exports.default = void 0;
|
|
10
|
+
require("./Item.compiled.css");
|
|
11
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
+
var React = _react;
|
|
13
|
+
var _runtime = require("@compiled/react/runtime");
|
|
8
14
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
15
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
10
16
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
@@ -12,16 +18,15 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
|
12
18
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
13
19
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
14
20
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
15
|
-
|
|
16
|
-
var
|
|
17
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
18
|
-
var _styles = require("./styles");
|
|
21
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
22
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
23
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
20
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25
|
+
var placeholderStyles = null;
|
|
26
|
+
var placeholderTaskStyles = null;
|
|
27
|
+
var decisionStyles = null;
|
|
28
|
+
var contentStyles = null;
|
|
29
|
+
var taskStyles = null;
|
|
25
30
|
var Item = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
26
31
|
function Item() {
|
|
27
32
|
(0, _classCallCheck2.default)(this, Item);
|
|
@@ -39,17 +44,15 @@ var Item = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
39
44
|
if (!showPlaceholder || !placeholder || children) {
|
|
40
45
|
return null;
|
|
41
46
|
}
|
|
42
|
-
|
|
43
|
-
// TODO: Migrate away from gridSize
|
|
44
|
-
// Recommendation: Replace gridSize with 8
|
|
45
|
-
var offset = (0, _constants.gridSize)() * (itemType === 'TASK' ? 3 : 3.5);
|
|
46
|
-
return (0, _react2.jsx)("span", {
|
|
47
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
47
48
|
"data-testid": "task-decision-item-placeholder",
|
|
48
|
-
"data-component": "placeholder"
|
|
49
|
-
|
|
50
|
-
,
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
"data-component": "placeholder",
|
|
50
|
+
contentEditable: false,
|
|
51
|
+
className: (0, _runtime.ax)(["_18s81hzh _1reo15vq _18m915vq _kqswstnw _syaz131l _lcxvglyw _1bto1l2s _o5721q9c _p12f1dza", itemType === 'TASK' && "_18s815t0"]),
|
|
52
|
+
style: {
|
|
53
|
+
"--_tptct2": (0, _runtime.ix)("0 0 0 calc(".concat("var(--ds-space-100, 8px)", " * 3.5)")),
|
|
54
|
+
"--_1yfnyhr": (0, _runtime.ix)("0 0 0 calc(".concat("var(--ds-space-100, 8px)", " * 3)"))
|
|
55
|
+
}
|
|
53
56
|
}, placeholder);
|
|
54
57
|
}
|
|
55
58
|
}, {
|
|
@@ -63,29 +66,26 @@ var Item = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
63
66
|
checkBoxId = _this$props2.checkBoxId,
|
|
64
67
|
dataAttributes = _this$props2.dataAttributes;
|
|
65
68
|
if (itemType === 'TASK') {
|
|
66
|
-
return (
|
|
67
|
-
|
|
68
|
-
(0,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}, dataAttributes), children))
|
|
76
|
-
);
|
|
69
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
70
|
+
id: "".concat(checkBoxId, "-wrapper"),
|
|
71
|
+
className: (0, _runtime.ax)(["_1e0c1txw _2lx2vrvc _kqswh2mm"])
|
|
72
|
+
}, icon, this.renderPlaceholder(), /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
73
|
+
"data-component": "content",
|
|
74
|
+
ref: contentRef
|
|
75
|
+
}, dataAttributes, {
|
|
76
|
+
className: (0, _runtime.ax)(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _16jlkb7n _1o9zkb7n _i0dl1wug _slp31hna _1ul9idpf"])
|
|
77
|
+
}), children));
|
|
77
78
|
} else if (itemType === 'DECISION') {
|
|
78
|
-
return
|
|
79
|
-
"data-testid": "elements-decision-item"
|
|
80
|
-
|
|
81
|
-
,
|
|
82
|
-
|
|
83
|
-
"data-decision-wrapper": "true"
|
|
84
|
-
}, icon, this.renderPlaceholder(), (0, _react2.jsx)("div", (0, _extends2.default)({
|
|
79
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
80
|
+
"data-testid": "elements-decision-item",
|
|
81
|
+
"data-decision-wrapper": "true",
|
|
82
|
+
className: (0, _runtime.ax)(["_2rkosqtm _1e0c1txw _2lx2vrvc _19pku2gc _2hwxidpf _otyridpf _18u0idpf _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvutpp _bfhkm7j4 _kqswh2mm _14hd1wug"])
|
|
83
|
+
}, icon, this.renderPlaceholder(), /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
85
84
|
"data-component": "content",
|
|
86
|
-
css: _styles.contentStyles,
|
|
87
85
|
ref: contentRef
|
|
88
|
-
}, dataAttributes
|
|
86
|
+
}, dataAttributes, {
|
|
87
|
+
className: (0, _runtime.ax)(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _16jlkb7n _1o9zkb7n _i0dl1wug _slp31hna _1ul9idpf"])
|
|
88
|
+
}), children));
|
|
89
89
|
}
|
|
90
90
|
return null;
|
|
91
91
|
}
|
|
@@ -14,9 +14,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
14
14
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
15
15
|
var _react = _interopRequireWildcard(require("react"));
|
|
16
16
|
var _TaskItem = _interopRequireDefault(require("./TaskItem"));
|
|
17
|
-
var _TaskItem2 = _interopRequireDefault(require("./compiled/TaskItem"));
|
|
18
17
|
var _analyticsNamespacedContext = require("@atlaskit/analytics-namespaced-context");
|
|
19
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
20
18
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
21
19
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
22
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -170,27 +168,6 @@ var ResourcedTaskItem = exports.default = /*#__PURE__*/function (_PureComponent)
|
|
|
170
168
|
isRenderer = _this$props3.isRenderer,
|
|
171
169
|
isFocused = _this$props3.isFocused,
|
|
172
170
|
inputRef = _this$props3.inputRef;
|
|
173
|
-
if ((0, _platformFeatureFlags.fg)('platform_editor_css_migrate_stage_1')) {
|
|
174
|
-
return /*#__PURE__*/_react.default.createElement(_analyticsNamespacedContext.FabricElementsAnalyticsContext, {
|
|
175
|
-
data: {
|
|
176
|
-
objectAri: objectAri
|
|
177
|
-
}
|
|
178
|
-
}, /*#__PURE__*/_react.default.createElement(_TaskItem2.default, {
|
|
179
|
-
isDone: isDone,
|
|
180
|
-
isRenderer: isRenderer,
|
|
181
|
-
isFocused: isFocused,
|
|
182
|
-
taskId: taskId,
|
|
183
|
-
onChange: this.handleOnChange,
|
|
184
|
-
onClick: this.handleOnClick,
|
|
185
|
-
appearance: appearance,
|
|
186
|
-
contentRef: contentRef,
|
|
187
|
-
showPlaceholder: showPlaceholder,
|
|
188
|
-
placeholder: placeholder,
|
|
189
|
-
disabled: disabled,
|
|
190
|
-
dataAttributes: dataAttributes,
|
|
191
|
-
inputRef: inputRef
|
|
192
|
-
}, children));
|
|
193
|
-
}
|
|
194
171
|
return /*#__PURE__*/_react.default.createElement(_analyticsNamespacedContext.FabricElementsAnalyticsContext, {
|
|
195
172
|
data: {
|
|
196
173
|
objectAri: objectAri
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* TaskItem.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
"use strict";
|
|
2
3
|
|
|
3
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -6,34 +7,32 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
7
|
value: true
|
|
7
8
|
});
|
|
8
9
|
exports.default = void 0;
|
|
10
|
+
require("./TaskItem.compiled.css");
|
|
11
|
+
var _runtime = require("@compiled/react/runtime");
|
|
9
12
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
13
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
var _react2 = require("@emotion/react");
|
|
12
14
|
var _baseNew = require("@atlaskit/icon/base-new");
|
|
13
15
|
var _checkboxChecked = _interopRequireDefault(require("@atlaskit/icon/core/checkbox-checked"));
|
|
14
16
|
var _Item = _interopRequireDefault(require("./Item"));
|
|
15
17
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
16
18
|
var _analytics = require("../analytics");
|
|
17
|
-
var _styles = require("./styles");
|
|
18
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
19
20
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
20
|
-
/**
|
|
21
|
-
* @jsxRuntime classic
|
|
22
|
-
* @jsx jsx
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
|
-
|
|
27
21
|
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
28
|
-
|
|
29
22
|
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
30
|
-
|
|
31
23
|
var CheckboxUncheckedIcon = function CheckboxUncheckedIcon(props) {
|
|
32
|
-
return
|
|
24
|
+
return /*#__PURE__*/_react.default.createElement(_baseNew.Icon, (0, _extends2.default)({
|
|
33
25
|
dangerouslySetGlyph: "<rect width=\"12.5\" height=\"12.5\" x=\"1.75\" y=\"1.75\" stroke=\"currentcolor\" stroke-width=\"1.5\" rx=\"1.25\"/>",
|
|
34
26
|
type: 'core'
|
|
35
27
|
}, props));
|
|
36
28
|
};
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* References packages/design-system/checkbox/src/checkbox.tsx
|
|
32
|
+
* To be used until mobile editor does not require legacy themed() API anymore,
|
|
33
|
+
* which will allow migration to use @atlaskit/checkbox instead
|
|
34
|
+
*/
|
|
35
|
+
var checkboxStyles = null;
|
|
37
36
|
var taskCount = 0;
|
|
38
37
|
var getCheckBoxId = function getCheckBoxId(localId) {
|
|
39
38
|
return "".concat(localId, "-").concat(taskCount++);
|
|
@@ -42,7 +41,6 @@ var TaskItem = function TaskItem(props) {
|
|
|
42
41
|
var appearance = props.appearance,
|
|
43
42
|
isDone = props.isDone,
|
|
44
43
|
isFocused = props.isFocused,
|
|
45
|
-
isRenderer = props.isRenderer,
|
|
46
44
|
contentRef = props.contentRef,
|
|
47
45
|
children = props.children,
|
|
48
46
|
placeholder = props.placeholder,
|
|
@@ -85,12 +83,13 @@ var TaskItem = function TaskItem(props) {
|
|
|
85
83
|
}, [handleOnChange]);
|
|
86
84
|
var defaultInputRef = (0, _react.useRef)(null);
|
|
87
85
|
var inputRef = inputRefFromProps !== null && inputRefFromProps !== void 0 ? inputRefFromProps : defaultInputRef;
|
|
88
|
-
var icon =
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
86
|
+
var icon = /*#__PURE__*/_react.default.createElement("span", {
|
|
87
|
+
contentEditable: false,
|
|
88
|
+
className: (0, _runtime.ax)(["_16jlidpf _1o9zidpf _i0dl1tcg _1bsb1tcg _4t3i1tcg _kqswh2mm _1wpzv2br _1snx1r31 _1746glyw _dx3f1o36 _1h5xidpf _sqizidpf _fs2cidpf _1smcidpf _oezm15vq _1l0615vq _1abj1mn3 _18a711so _16np1elr _a27kkb7n _q3p7usvi _qhqx1nu9 _10cr1ssb _zfav1ssb _m7eu1ooe _l9o0n7od _1efjn7od _1u2istnw _32ro1j9a _1wn015vq _den512j9 _zh8l1b66 _g5w3stnw _whhepxbi _1stbpxbi _18tob3bt _1awt1ule _haf81ssb _ra781ssb _cr751ooe _1q8r7vkz _9l2s7vkz _1mh7kb7n _s3uktlke _1davidpf _8bo8stnw _psnc1ssb _4k421ssb _1rvv1ooe _13vl73ad _1t711tcg _1nuz1tcg _cs4qstnw _9j2j1ssb _1mwj1ssb _19l51ooe _12yy1d5g _1miy1elr _1umo18hz _tpz25w2r _k6dg18hz _1qduewfl _q8ft1fvw _1y9t5w2r _ut031fvw _gi9hr01l _1qp6muej _wxkgr01l _wo245w2r _c8dpmuej _d2dcsyzs _1eulsyzs _1bc7syzs _16fmsyzs _bhkusyzs _czfesyzs _1gxgsyzs _19w0syzs _1x1y1lg7"]),
|
|
89
|
+
style: {
|
|
90
|
+
"--_toyvsf": (0, _runtime.ix)("2px solid ".concat("var(--ds-border-focused, #388BFF)"))
|
|
91
|
+
}
|
|
92
|
+
}, /*#__PURE__*/_react.default.createElement("input", {
|
|
94
93
|
id: checkBoxId,
|
|
95
94
|
"aria-labelledby": "".concat(checkBoxId, "-wrapper"),
|
|
96
95
|
name: checkBoxId,
|
|
@@ -102,9 +101,9 @@ var TaskItem = function TaskItem(props) {
|
|
|
102
101
|
suppressHydrationWarning: true,
|
|
103
102
|
onKeyPress: handleOnKeyPress,
|
|
104
103
|
ref: inputRef
|
|
105
|
-
}), isDone ?
|
|
104
|
+
}), isDone ? /*#__PURE__*/_react.default.createElement(_checkboxChecked.default, {
|
|
106
105
|
label: ""
|
|
107
|
-
}) :
|
|
106
|
+
}) : /*#__PURE__*/_react.default.createElement(CheckboxUncheckedIcon, {
|
|
108
107
|
label: ""
|
|
109
108
|
}));
|
|
110
109
|
_react.default.useEffect(function () {
|
|
@@ -118,7 +117,7 @@ var TaskItem = function TaskItem(props) {
|
|
|
118
117
|
}, 100);
|
|
119
118
|
}
|
|
120
119
|
}, [isFocused, inputRef]);
|
|
121
|
-
return
|
|
120
|
+
return /*#__PURE__*/_react.default.createElement(_Item.default, {
|
|
122
121
|
appearance: appearance,
|
|
123
122
|
contentRef: contentRef,
|
|
124
123
|
icon: icon,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* TaskList.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
"use strict";
|
|
2
3
|
|
|
3
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -6,22 +7,21 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
7
|
value: true
|
|
7
8
|
});
|
|
8
9
|
exports.default = void 0;
|
|
10
|
+
require("./TaskList.compiled.css");
|
|
11
|
+
var _runtime = require("@compiled/react/runtime");
|
|
9
12
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
10
13
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
11
14
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
12
15
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
13
16
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
14
17
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
|
-
var _react2 = require("@emotion/react");
|
|
16
18
|
var _analyticsNamespacedContext = require("@atlaskit/analytics-namespaced-context");
|
|
17
|
-
var _styles = require("./styles");
|
|
18
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
19
20
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
20
21
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
21
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
22
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
23
|
+
var listStyles = null;
|
|
24
|
+
var taskListStyles = null;
|
|
25
25
|
var TaskList = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
26
26
|
function TaskList() {
|
|
27
27
|
(0, _classCallCheck2.default)(this, TaskList);
|
|
@@ -45,26 +45,24 @@ var TaskList = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
45
45
|
// and action items, which all share the common `<li>` element.
|
|
46
46
|
// The value of `data-task-local-id` should be discarded upon paste, with a
|
|
47
47
|
// a new uuid generated by the editor for the cloned content.
|
|
48
|
-
return (
|
|
49
|
-
|
|
50
|
-
(0,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}))
|
|
67
|
-
);
|
|
48
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
49
|
+
"data-task-list-local-id": "",
|
|
50
|
+
className: (0, _runtime.ax)(["_2mzuglyw _19bvidpf"])
|
|
51
|
+
}, _react.default.Children.map(children, function (child, idx) {
|
|
52
|
+
var _ref = child.props,
|
|
53
|
+
localId = _ref.localId;
|
|
54
|
+
return /*#__PURE__*/_react.default.createElement(_analyticsNamespacedContext.FabricElementsAnalyticsContext, {
|
|
55
|
+
data: {
|
|
56
|
+
listLocalId: listId,
|
|
57
|
+
listSize: listSize,
|
|
58
|
+
position: idx
|
|
59
|
+
}
|
|
60
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
61
|
+
key: idx,
|
|
62
|
+
"data-task-local-id": localId || '',
|
|
63
|
+
className: (0, _runtime.ax)(["_19pk1b66"])
|
|
64
|
+
}, child));
|
|
65
|
+
}));
|
|
68
66
|
}
|
|
69
67
|
}]);
|
|
70
68
|
}(_react.PureComponent);
|
package/dist/cjs/index.js
CHANGED
|
@@ -4,7 +4,18 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports
|
|
7
|
+
Object.defineProperty(exports, "DecisionItem", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _DecisionItem.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "DecisionList", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function get() {
|
|
16
|
+
return _DecisionList.default;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
8
19
|
Object.defineProperty(exports, "PubSubSpecialEventType", {
|
|
9
20
|
enumerable: true,
|
|
10
21
|
get: function get() {
|
|
@@ -23,20 +34,22 @@ Object.defineProperty(exports, "TaskDecisionResource", {
|
|
|
23
34
|
return _TaskDecisionResource.default;
|
|
24
35
|
}
|
|
25
36
|
});
|
|
26
|
-
exports
|
|
37
|
+
Object.defineProperty(exports, "TaskItem", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function get() {
|
|
40
|
+
return _TaskItem.default;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "TaskList", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function get() {
|
|
46
|
+
return _TaskList.default;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
27
49
|
var _DecisionItem = _interopRequireDefault(require("./components/DecisionItem"));
|
|
28
|
-
var _DecisionItem2 = _interopRequireDefault(require("./components/compiled/DecisionItem"));
|
|
29
50
|
var _DecisionList = _interopRequireDefault(require("./components/DecisionList"));
|
|
30
|
-
var _DecisionList2 = _interopRequireDefault(require("./components/compiled/DecisionList"));
|
|
31
51
|
var _ResourcedTaskItem = _interopRequireDefault(require("./components/ResourcedTaskItem"));
|
|
32
52
|
var _TaskDecisionResource = _interopRequireDefault(require("./api/TaskDecisionResource"));
|
|
33
53
|
var _TaskItem = _interopRequireDefault(require("./components/TaskItem"));
|
|
34
|
-
var _TaskItem2 = _interopRequireDefault(require("./components/compiled/TaskItem"));
|
|
35
54
|
var _TaskList = _interopRequireDefault(require("./components/TaskList"));
|
|
36
|
-
var
|
|
37
|
-
var _platformFeatureFlagsReact = require("@atlaskit/platform-feature-flags-react");
|
|
38
|
-
var _types = require("./types");
|
|
39
|
-
var DecisionItem = exports.DecisionItem = (0, _platformFeatureFlagsReact.componentWithFG)('platform_editor_css_migrate_stage_1', _DecisionItem2.default, _DecisionItem.default);
|
|
40
|
-
var DecisionList = exports.DecisionList = (0, _platformFeatureFlagsReact.componentWithFG)('platform_editor_css_migrate_stage_1', _DecisionList2.default, _DecisionList.default);
|
|
41
|
-
var TaskItem = exports.TaskItem = (0, _platformFeatureFlagsReact.componentWithFG)('platform_editor_css_migrate_stage_1', _TaskItem2.default, _TaskItem.default);
|
|
42
|
-
var TaskList = exports.TaskList = (0, _platformFeatureFlagsReact.componentWithFG)('platform_editor_css_migrate_stage_1', _TaskList2.default, _TaskList.default);
|
|
55
|
+
var _types = require("./types");
|