@atlaskit/task-decision 17.12.2 → 19.0.0

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.
Files changed (56) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/afm-cc/tsconfig.json +3 -0
  3. package/afm-jira/tsconfig.json +3 -0
  4. package/afm-post-office/tsconfig.json +3 -0
  5. package/constants/package.json +3 -1
  6. package/dist/cjs/components/ResourcedTaskItem.js +2 -2
  7. package/dist/cjs/components/compiled/DecisionItem.compiled.css +14 -0
  8. package/dist/cjs/components/compiled/DecisionItem.js +45 -0
  9. package/dist/cjs/components/compiled/DecisionList.compiled.css +2 -0
  10. package/dist/cjs/components/compiled/DecisionList.js +62 -0
  11. package/dist/cjs/components/compiled/Item.compiled.css +30 -0
  12. package/dist/cjs/components/compiled/Item.js +101 -0
  13. package/dist/cjs/components/compiled/TaskItem.compiled.css +73 -0
  14. package/dist/cjs/components/compiled/TaskItem.js +134 -0
  15. package/dist/cjs/components/compiled/TaskList.compiled.css +3 -0
  16. package/dist/cjs/components/compiled/TaskList.js +68 -0
  17. package/dist/cjs/index.js +12 -25
  18. package/dist/es2019/components/ResourcedTaskItem.js +1 -1
  19. package/dist/es2019/components/compiled/DecisionItem.compiled.css +14 -0
  20. package/dist/es2019/components/compiled/DecisionItem.js +36 -0
  21. package/dist/es2019/components/compiled/DecisionList.compiled.css +2 -0
  22. package/dist/es2019/components/compiled/DecisionList.js +40 -0
  23. package/dist/es2019/components/compiled/Item.compiled.css +30 -0
  24. package/dist/es2019/components/compiled/Item.js +70 -0
  25. package/dist/es2019/components/compiled/TaskItem.compiled.css +73 -0
  26. package/dist/es2019/components/compiled/TaskItem.js +108 -0
  27. package/dist/es2019/components/compiled/TaskList.compiled.css +3 -0
  28. package/dist/es2019/components/compiled/TaskList.js +46 -0
  29. package/dist/es2019/index.js +13 -4
  30. package/dist/esm/components/ResourcedTaskItem.js +1 -1
  31. package/dist/esm/components/compiled/DecisionItem.compiled.css +14 -0
  32. package/dist/esm/components/compiled/DecisionItem.js +35 -0
  33. package/dist/esm/components/compiled/DecisionList.compiled.css +2 -0
  34. package/dist/esm/components/compiled/DecisionList.js +53 -0
  35. package/dist/esm/components/compiled/Item.compiled.css +30 -0
  36. package/dist/esm/components/compiled/Item.js +92 -0
  37. package/dist/esm/components/compiled/TaskItem.compiled.css +73 -0
  38. package/dist/esm/components/compiled/TaskItem.js +126 -0
  39. package/dist/esm/components/compiled/TaskList.compiled.css +3 -0
  40. package/dist/esm/components/compiled/TaskList.js +60 -0
  41. package/dist/esm/index.js +13 -4
  42. package/dist/types/components/compiled/DecisionItem.d.ts +14 -0
  43. package/dist/types/components/compiled/DecisionList.d.ts +11 -0
  44. package/dist/types/components/compiled/Item.d.ts +25 -0
  45. package/dist/types/components/compiled/TaskItem.d.ts +27 -0
  46. package/dist/types/components/compiled/TaskList.d.ts +8 -0
  47. package/dist/types/index.d.ts +5 -4
  48. package/dist/types-ts4.5/components/compiled/DecisionItem.d.ts +14 -0
  49. package/dist/types-ts4.5/components/compiled/DecisionList.d.ts +11 -0
  50. package/dist/types-ts4.5/components/compiled/Item.d.ts +25 -0
  51. package/dist/types-ts4.5/components/compiled/TaskItem.d.ts +27 -0
  52. package/dist/types-ts4.5/components/compiled/TaskList.d.ts +8 -0
  53. package/dist/types-ts4.5/index.d.ts +5 -4
  54. package/package.json +24 -11
  55. package/type-helpers/package.json +3 -1
  56. package/types/package.json +3 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @atlaskit/task-decision
2
2
 
3
+ ## 19.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
8
+ [`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
9
+ This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
10
+ status of only supporting React 18 going forward. No explicit breaking change to React support has
11
+ been made in this release, but this is to signify going forward, breaking changes for React 16 or
12
+ React 17 may come via non-major semver releases.
13
+
14
+ Please refer this community post for more details:
15
+ https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
21
+ ## 18.0.0
22
+
23
+ ### Major Changes
24
+
25
+ - [#115200](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/115200)
26
+ [`f9fada9b2d802`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f9fada9b2d802) -
27
+ migrate emotion styles to compiled css
28
+
3
29
  ## 17.12.2
4
30
 
5
31
  ### Patch Changes
@@ -26,6 +26,9 @@
26
26
  {
27
27
  "path": "../../../design-system/icon/afm-cc/tsconfig.json"
28
28
  },
29
+ {
30
+ "path": "../../../platform/feature-flags-react/afm-cc/tsconfig.json"
31
+ },
29
32
  {
30
33
  "path": "../../../design-system/theme/afm-cc/tsconfig.json"
31
34
  },
@@ -26,6 +26,9 @@
26
26
  {
27
27
  "path": "../../../design-system/icon/afm-jira/tsconfig.json"
28
28
  },
29
+ {
30
+ "path": "../../../platform/feature-flags-react/afm-jira/tsconfig.json"
31
+ },
29
32
  {
30
33
  "path": "../../../design-system/theme/afm-jira/tsconfig.json"
31
34
  },
@@ -26,6 +26,9 @@
26
26
  {
27
27
  "path": "../../../design-system/icon/afm-post-office/tsconfig.json"
28
28
  },
29
+ {
30
+ "path": "../../../platform/feature-flags-react/afm-post-office/tsconfig.json"
31
+ },
29
32
  {
30
33
  "path": "../../../design-system/theme/afm-post-office/tsconfig.json"
31
34
  },
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/constants.js",
4
4
  "module": "../dist/esm/constants.js",
5
5
  "module:es2019": "../dist/es2019/constants.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/constants.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -13,7 +13,7 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
13
13
  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
- var _TaskItem = _interopRequireDefault(require("./TaskItem"));
16
+ var _ = require("../");
17
17
  var _analyticsNamespacedContext = require("@atlaskit/analytics-namespaced-context");
18
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); }
19
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; }
@@ -172,7 +172,7 @@ var ResourcedTaskItem = exports.default = /*#__PURE__*/function (_PureComponent)
172
172
  data: {
173
173
  objectAri: objectAri
174
174
  }
175
- }, /*#__PURE__*/_react.default.createElement(_TaskItem.default, {
175
+ }, /*#__PURE__*/_react.default.createElement(_.TaskItem, {
176
176
  isDone: isDone,
177
177
  isRenderer: isRenderer,
178
178
  isFocused: isFocused,
@@ -0,0 +1,14 @@
1
+ ._16jlidpf{flex-grow:0}
2
+ ._18u0idpf{margin-left:0}
3
+ ._19pk1b66{margin-top:var(--ds-space-050,4px)}
4
+ ._1bah1h6o{justify-content:center}
5
+ ._1bsb7vkz{width:1pc}
6
+ ._1e0c1txw{display:flex}
7
+ ._1o9zidpf{flex-shrink:0}
8
+ ._2hwxutpp{margin-right:var(--ds-space-150,9pt)}
9
+ ._4cvr1h6o{align-items:center}
10
+ ._4t3i7vkz{height:1pc}
11
+ ._i0dlexct{flex-basis:16px}
12
+ ._otyridpf{margin-bottom:0}
13
+ ._syaz1oju{color:var(--ds-icon-subtle,#626f86)}
14
+ ._syaz1yjp{color:var(--ds-icon-success,#22a06b)}
@@ -0,0 +1,45 @@
1
+ /* DecisionItem.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ "use strict";
3
+
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+ Object.defineProperty(exports, "__esModule", {
7
+ value: true
8
+ });
9
+ exports.default = void 0;
10
+ require("./DecisionItem.compiled.css");
11
+ var React = _interopRequireWildcard(require("react"));
12
+ var _runtime = require("@compiled/react/runtime");
13
+ var _decisionEditorDecision = _interopRequireDefault(require("@atlaskit/icon/core/migration/decision--editor-decision"));
14
+ var _Item = _interopRequireDefault(require("./Item"));
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;
19
+ var DecisionItem = function DecisionItem(_ref) {
20
+ var appearance = _ref.appearance,
21
+ children = _ref.children,
22
+ contentRef = _ref.contentRef,
23
+ placeholder = _ref.placeholder,
24
+ showPlaceholder = _ref.showPlaceholder,
25
+ dataAttributes = _ref.dataAttributes;
26
+ var icon = /*#__PURE__*/React.createElement("span", {
27
+ contentEditable: false,
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, {
30
+ label: "Decision",
31
+ spacing: "spacious",
32
+ color: "currentColor",
33
+ LEGACY_size: "large"
34
+ }));
35
+ return /*#__PURE__*/React.createElement(_Item.default, {
36
+ appearance: appearance,
37
+ contentRef: contentRef,
38
+ icon: icon,
39
+ placeholder: placeholder,
40
+ showPlaceholder: showPlaceholder,
41
+ itemType: "DECISION",
42
+ dataAttributes: dataAttributes
43
+ }, children);
44
+ };
45
+ var _default = exports.default = DecisionItem;
@@ -0,0 +1,2 @@
1
+ ._1braglyw._1braglyw{list-style-type:none}
2
+ ._1yxxidpf._1yxxidpf{padding-left:0}
@@ -0,0 +1,62 @@
1
+ /* DecisionList.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ "use strict";
3
+
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+ Object.defineProperty(exports, "__esModule", {
7
+ value: true
8
+ });
9
+ exports.default = void 0;
10
+ require("./DecisionList.compiled.css");
11
+ var _runtime = require("@compiled/react/runtime");
12
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
13
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
14
+ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
15
+ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
16
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
17
+ var _react = _interopRequireWildcard(require("react"));
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); }
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; }
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)); }
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;
27
+ var DecisionList = exports.default = /*#__PURE__*/function (_PureComponent) {
28
+ function DecisionList() {
29
+ (0, _classCallCheck2.default)(this, DecisionList);
30
+ return _callSuper(this, DecisionList, arguments);
31
+ }
32
+ (0, _inherits2.default)(DecisionList, _PureComponent);
33
+ return (0, _createClass2.default)(DecisionList, [{
34
+ key: "render",
35
+ value: function render() {
36
+ var children = this.props.children;
37
+ if (!children) {
38
+ return null;
39
+ }
40
+
41
+ // Data attributes are required for copy and paste from rendered content
42
+ // to the editor to preserve the decision.
43
+ // This allows the editor to differentiate between numbered and ordered lists,
44
+ // and action items, which all share the common `<li>` element.
45
+ // The value of `data-decision-local-id` should be discarded upon paste, with a
46
+ // a new uuid generated by the editor for the cloned content.
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
+ }
61
+ }]);
62
+ }(_react.PureComponent);
@@ -0,0 +1,30 @@
1
+
2
+ ._18s815t0{margin:var(--_1yfnyhr)}
3
+ ._18s81hzh{margin:var(--_tptct2)}
4
+ ._2rkosqtm{border-radius:var(--ds-border-radius-100,3px)}._14hd1wug .decision-item{cursor:auto}
5
+ ._16jlkb7n{flex-grow:1}
6
+ ._18m915vq{overflow-y:hidden}
7
+ ._18u0idpf{margin-left:0}
8
+ ._19bvutpp{padding-left:var(--ds-space-150,9pt)}
9
+ ._19pkidpf{margin-top:0}
10
+ ._19pku2gc{margin-top:var(--ds-space-100,8px)}
11
+ ._1bto1l2s{text-overflow:ellipsis}
12
+ ._1e0c1txw{display:flex}
13
+ ._1o9zkb7n{flex-shrink:1}
14
+ ._1reo15vq{overflow-x:hidden}
15
+ ._1ul9idpf{min-width:0}
16
+ ._2hwxidpf{margin-right:0}
17
+ ._2lx2vrvc{flex-direction:row}
18
+ ._bfhkm7j4{background-color:var(--ds-background-neutral,#091e420f)}
19
+ ._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
20
+ ._i0dl1wug{flex-basis:auto}
21
+ ._kqswh2mm{position:relative}
22
+ ._kqswstnw{position:absolute}
23
+ ._lcxvglyw{pointer-events:none}
24
+ ._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
25
+ ._o5721q9c{white-space:nowrap}
26
+ ._otyridpf{margin-bottom:0}
27
+ ._p12f1dza{max-width:calc(100% - 50px)}
28
+ ._slp31hna{word-wrap:break-word}
29
+ ._syaz131l{color:var(--ds-text-subtlest,#626f86)}
30
+ ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
@@ -0,0 +1,101 @@
1
+ /* Item.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ "use strict";
3
+
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+ Object.defineProperty(exports, "__esModule", {
7
+ value: true
8
+ });
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");
14
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
15
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
16
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
17
+ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
18
+ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
19
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
20
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
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; }
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)); }
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;
30
+ var Item = exports.default = /*#__PURE__*/function (_PureComponent) {
31
+ function Item() {
32
+ (0, _classCallCheck2.default)(this, Item);
33
+ return _callSuper(this, Item, arguments);
34
+ }
35
+ (0, _inherits2.default)(Item, _PureComponent);
36
+ return (0, _createClass2.default)(Item, [{
37
+ key: "renderPlaceholder",
38
+ value: function renderPlaceholder() {
39
+ var _this$props = this.props,
40
+ children = _this$props.children,
41
+ placeholder = _this$props.placeholder,
42
+ showPlaceholder = _this$props.showPlaceholder,
43
+ itemType = _this$props.itemType;
44
+ if (!showPlaceholder || !placeholder || children) {
45
+ return null;
46
+ }
47
+ return /*#__PURE__*/React.createElement("span", {
48
+ "data-testid": "task-decision-item-placeholder",
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
+ }
56
+ }, placeholder);
57
+ }
58
+ }, {
59
+ key: "renderMessageAppearance",
60
+ value: function renderMessageAppearance() {
61
+ var _this$props2 = this.props,
62
+ contentRef = _this$props2.contentRef,
63
+ children = _this$props2.children,
64
+ icon = _this$props2.icon,
65
+ itemType = _this$props2.itemType,
66
+ checkBoxId = _this$props2.checkBoxId,
67
+ dataAttributes = _this$props2.dataAttributes;
68
+ if (itemType === 'TASK') {
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));
78
+ } else if (itemType === 'DECISION') {
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)({
84
+ "data-component": "content",
85
+ ref: contentRef
86
+ }, dataAttributes, {
87
+ className: (0, _runtime.ax)(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _16jlkb7n _1o9zkb7n _i0dl1wug _slp31hna _1ul9idpf"])
88
+ }), children));
89
+ }
90
+ return null;
91
+ }
92
+ }, {
93
+ key: "render",
94
+ value: function render() {
95
+ return this.renderMessageAppearance();
96
+ }
97
+ }]);
98
+ }(_react.PureComponent);
99
+ (0, _defineProperty2.default)(Item, "defaultProps", {
100
+ appearance: 'inline'
101
+ });
@@ -0,0 +1,73 @@
1
+
2
+ ._18a711so>input[type=checkbox]+span>svg rect:first-of-type{transition:stroke .2s ease-in-out}
3
+ ._1abj1mn3>input[type=checkbox]+span>svg{transition:color .2s ease-in-out,fill .2s ease-in-out}
4
+ ._den51ifg>input[type=checkbox]:focus+span:after{border:var(--_18khk6)}
5
+ ._zh8l1b66>input[type=checkbox]:focus+span:after{border-radius:var(--ds-space-050,4px)}._10cr1ssb>input[type=checkbox]+span>svg{top:50%}
6
+ ._12yy12ci>input[type=checkbox]:hover+span>svg{color:var(--_1z08gfx)}
7
+ ._13vl73ad>input[type=checkbox][disabled]{cursor:default}
8
+ ._16jlidpf{flex-grow:0}
9
+ ._16npddza>input[type=checkbox]+span>svg rect:first-of-type{stroke:var(--_vnm8xo)}
10
+ ._1746glyw>input[type=checkbox]{outline-style:none}
11
+ ._18tob3bt>input[type=checkbox]:focus+span:after{content:""}
12
+ ._19l51ooe>input[type=checkbox]+span{transform:translate(-50%,-50%)}
13
+ ._1awt1ule>input[type=checkbox]:focus+span:after{display:block}
14
+ ._1bsb1tcg{width:24px}
15
+ ._1davidpf>input[type=checkbox]{opacity:0}
16
+ ._1efjn7od>input[type=checkbox]+span>svg{max-height:unset}
17
+ ._1h5xidpf>input[type=checkbox]{margin-top:0}
18
+ ._1l0615vq>input[type=checkbox]+span>svg{overflow-y:hidden}
19
+ ._1mh7kb7n>input[type=checkbox]{z-index:1}
20
+ ._1miyddza>input[type=checkbox]:hover+span>svg rect:first-of-type{stroke:var(--_vnm8xo)}
21
+ ._1mwj1ssb>input[type=checkbox]+span{left:50%}
22
+ ._1nuz1tcg>input[type=checkbox]+span{height:24px}
23
+ ._1o9zidpf{flex-shrink:0}
24
+ ._1q8r7vkz>input[type=checkbox]{width:1pc}
25
+ ._1qduewfl>input[type=checkbox]:checked+span>svg path:first-of-type{visibility:visible}
26
+ ._1qp6e69j>input[type=checkbox]:active+span>svg rect:first-of-type{stroke:var(--_rczcge)}
27
+ ._1rvv1ooe>input[type=checkbox]{transform:translate(-50%,-50%)}
28
+ ._1smcidpf>input[type=checkbox]{margin-left:0}
29
+ ._1snx1r31>input[type=checkbox]{outline-color:currentColor}
30
+ ._1stbpxbi>input[type=checkbox]:focus+span:after{height:var(--ds-space-200,1pc)}
31
+ ._1t711tcg>input[type=checkbox]+span{width:24px}
32
+ ._1u2istnw>input[type=checkbox]+span>svg{position:absolute}
33
+ ._1umo1ehr>input[type=checkbox]:checked:hover+span>svg{color:var(--_14y1fod)}
34
+ ._1wn015vq>input[type=checkbox]+span>svg path:first-of-type{visibility:hidden}
35
+ ._1wpzv2br{align-self:start}
36
+ ._1x1ysnw8>input[type=checkbox]:disabled:checked+span>svg{fill:var(--_1xmcmw9)}
37
+ ._1y9teh7q>input[type=checkbox]:checked+span>svg{fill:var(--_jf353p)}
38
+ ._32ro1kd8>input[type=checkbox]+span>svg{color:var(--_4mkb4g)}
39
+ ._4k421ssb>input[type=checkbox]{left:50%}
40
+ ._4t3i1tcg{height:24px}
41
+ ._8bo8stnw>input[type=checkbox]{position:absolute}
42
+ ._9j2j1ssb>input[type=checkbox]+span{top:50%}
43
+ ._9l2s7vkz>input[type=checkbox]{height:1pc}
44
+ ._a27kkb7n>input[type=checkbox]+span>svg rect:first-of-type{stroke-width:1}
45
+ ._bhku1ouc>input[type=checkbox]:disabled+span>svg rect:first-of-type, ._czfe1ouc>input[type=checkbox]:disabled:active+span>svg rect:first-of-type, ._1gxg1ouc>input[type=checkbox]:disabled:focus+span>svg rect:first-of-type, ._19w01ouc>input[type=checkbox]:disabled:hover+span>svg rect:first-of-type{stroke:var(--_r5pknd)}
46
+ ._c8dpe69j>input[type=checkbox]:checked:active+span>svg rect:first-of-type{stroke:var(--_rczcge)}
47
+ ._cr751ooe>input[type=checkbox]:focus+span:after{transform:translate(-50%,-50%)}
48
+ ._cs4qstnw>input[type=checkbox]+span{position:absolute}
49
+ ._d2dc1ouc>input[type=checkbox]:disabled+span>svg, ._1eul1ouc>input[type=checkbox]:disabled:active+span>svg, ._1bc71ouc>input[type=checkbox]:disabled:focus+span>svg, ._16fm1ouc>input[type=checkbox]:disabled:hover+span>svg{color:var(--_r5pknd)}
50
+ ._dx3f1o36>input[type=checkbox]{outline-width:medium}
51
+ ._fs2cidpf>input[type=checkbox]{margin-bottom:0}
52
+ ._g5w3stnw>input[type=checkbox]:focus+span:after{position:absolute}
53
+ ._gi9h1kc0>input[type=checkbox]:active+span>svg{color:var(--_1cd0fcx)}
54
+ ._haf81ssb>input[type=checkbox]:focus+span:after{top:50%}
55
+ ._i0dl1tcg{flex-basis:24px}
56
+ ._k6dg1ehr>input[type=checkbox]:checked:hover+span>svg rect:first-of-type{stroke:var(--_14y1fod)}
57
+ ._kqswh2mm{position:relative}
58
+ ._l9o0n7od>input[type=checkbox]+span>svg{max-width:unset}
59
+ ._m7eu1ooe>input[type=checkbox]+span>svg{transform:translate(-50%,-50%)}
60
+ ._oezm15vq>input[type=checkbox]+span>svg{overflow-x:hidden}
61
+ ._psnc1ssb>input[type=checkbox]{top:50%}
62
+ ._q3p7usvi>input[type=checkbox]+span>svg{box-sizing:border-box}
63
+ ._q8ft1j4g>input[type=checkbox]:checked+span>svg{color:var(--_1gcp7nr)}
64
+ ._qhqx1nu9>input[type=checkbox]+span>svg{display:inline}
65
+ ._ra781ssb>input[type=checkbox]:focus+span:after{left:50%}
66
+ ._s3uktlke>input[type=checkbox]{cursor:pointer}
67
+ ._sqizidpf>input[type=checkbox]{margin-right:0}
68
+ ._tpz2eh7q>input[type=checkbox]:checked:hover+span>svg{fill:var(--_jf353p)}
69
+ ._ut031j4g>input[type=checkbox]:checked+span>svg rect:first-of-type{stroke:var(--_1gcp7nr)}
70
+ ._whhepxbi>input[type=checkbox]:focus+span:after{width:var(--ds-space-200,1pc)}
71
+ ._wo24xz7c>input[type=checkbox]:checked:active+span>svg{fill:var(--_uq1ko9)}
72
+ ._wxkg1kc0>input[type=checkbox]:checked:active+span>svg{color:var(--_1cd0fcx)}
73
+ ._zfav1ssb>input[type=checkbox]+span>svg{left:50%}
@@ -0,0 +1,134 @@
1
+ /* TaskItem.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ "use strict";
3
+
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+ Object.defineProperty(exports, "__esModule", {
7
+ value: true
8
+ });
9
+ exports.default = void 0;
10
+ require("./TaskItem.compiled.css");
11
+ var _runtime = require("@compiled/react/runtime");
12
+ var _react = _interopRequireWildcard(require("react"));
13
+ var _checkbox = _interopRequireDefault(require("@atlaskit/icon/glyph/checkbox"));
14
+ var _Item = _interopRequireDefault(require("./Item"));
15
+ var _analyticsNext = require("@atlaskit/analytics-next");
16
+ var _analytics = require("../../analytics");
17
+ var _colors = require("@atlaskit/theme/colors");
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); }
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; }
20
+ /**
21
+ * References packages/design-system/checkbox/src/checkbox.tsx
22
+ * To be used until mobile editor does not require legacy themed() API anymore,
23
+ * which will allow migration to use @atlaskit/checkbox instead
24
+ */
25
+ var checkboxStyles = null;
26
+ var taskCount = 0;
27
+ var getCheckBoxId = function getCheckBoxId(localId) {
28
+ return "".concat(localId, "-").concat(taskCount++);
29
+ };
30
+ var TaskItem = function TaskItem(props) {
31
+ var appearance = props.appearance,
32
+ isDone = props.isDone,
33
+ isFocused = props.isFocused,
34
+ contentRef = props.contentRef,
35
+ children = props.children,
36
+ placeholder = props.placeholder,
37
+ showPlaceholder = props.showPlaceholder,
38
+ disabled = props.disabled,
39
+ dataAttributes = props.dataAttributes,
40
+ taskId = props.taskId,
41
+ onChange = props.onChange,
42
+ onClick = props.onClick,
43
+ createAnalyticsEvent = props.createAnalyticsEvent,
44
+ inputRefFromProps = props.inputRef;
45
+ var checkBoxId = (0, _react.useMemo)(function () {
46
+ return getCheckBoxId(taskId);
47
+ }, [taskId]);
48
+ var handleOnChange = (0, _react.useMemo)(function () {
49
+ return function (_evt) {
50
+ var newIsDone = !isDone;
51
+ if (onChange) {
52
+ onChange(taskId, newIsDone);
53
+ }
54
+ var action = newIsDone ? 'checked' : 'unchecked';
55
+ if (createAnalyticsEvent) {
56
+ (0, _analytics.createAndFireEventInElementsChannel)({
57
+ action: action,
58
+ actionSubject: 'action',
59
+ eventType: 'ui',
60
+ attributes: {
61
+ localId: taskId
62
+ }
63
+ })(createAnalyticsEvent);
64
+ }
65
+ };
66
+ }, [onChange, taskId, isDone, createAnalyticsEvent]);
67
+ var handleOnKeyPress = (0, _react.useMemo)(function () {
68
+ return function (event) {
69
+ if (event.key === 'Enter') {
70
+ handleOnChange(event);
71
+ }
72
+ };
73
+ }, [handleOnChange]);
74
+ var defaultInputRef = (0, _react.useRef)(null);
75
+ var inputRef = inputRefFromProps !== null && inputRefFromProps !== void 0 ? inputRefFromProps : defaultInputRef;
76
+ var icon = /*#__PURE__*/_react.default.createElement("span", {
77
+ contentEditable: false,
78
+ className: (0, _runtime.ax)(["_16jlidpf _1o9zidpf _i0dl1tcg _1bsb1tcg _4t3i1tcg _kqswh2mm _1wpzv2br _1snx1r31 _1746glyw _dx3f1o36 _1h5xidpf _sqizidpf _fs2cidpf _1smcidpf _oezm15vq _1l0615vq _1abj1mn3 _18a711so _16npddza _a27kkb7n _q3p7usvi _qhqx1nu9 _10cr1ssb _zfav1ssb _m7eu1ooe _l9o0n7od _1efjn7od _1u2istnw _32ro1kd8 _1wn015vq _den51ifg _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 _12yy12ci _1miyddza _1umo1ehr _tpz2eh7q _k6dg1ehr _1qduewfl _q8ft1j4g _1y9teh7q _ut031j4g _gi9h1kc0 _1qp6e69j _wxkg1kc0 _wo24xz7c _c8dpe69j _d2dc1ouc _1eul1ouc _1bc71ouc _16fm1ouc _bhku1ouc _czfe1ouc _1gxg1ouc _19w01ouc _1x1ysnw8"]),
79
+ style: {
80
+ "--_4mkb4g": (0, _runtime.ix)("var(--ds-background-input, ".concat(_colors.N10, ")")),
81
+ "--_vnm8xo": (0, _runtime.ix)("var(--ds-border-input, ".concat(_colors.N100, ")")),
82
+ "--_1z08gfx": (0, _runtime.ix)("var(--ds-background-input-hovered, ".concat(_colors.N30, ")")),
83
+ "--_14y1fod": (0, _runtime.ix)("var(--ds-background-selected-bold-hovered, ".concat(_colors.B300, ")")),
84
+ "--_jf353p": (0, _runtime.ix)("var(--ds-icon-inverse, ".concat(_colors.N10, ")")),
85
+ "--_1gcp7nr": (0, _runtime.ix)("var(--ds-background-selected-bold, ".concat(_colors.B400, ")")),
86
+ "--_1cd0fcx": (0, _runtime.ix)("var(--ds-background-input-pressed, ".concat(_colors.B50, ")")),
87
+ "--_rczcge": (0, _runtime.ix)("var(--ds-border, ".concat(_colors.B50, ")")),
88
+ "--_uq1ko9": (0, _runtime.ix)("var(--ds-icon-inverse, ".concat(_colors.B400, ")")),
89
+ "--_r5pknd": (0, _runtime.ix)("var(--ds-background-disabled, ".concat(_colors.N20, ")")),
90
+ "--_1xmcmw9": (0, _runtime.ix)("var(--ds-icon-disabled, ".concat(_colors.N70, ")")),
91
+ "--_18khk6": (0, _runtime.ix)("2px solid ".concat("var(--ds-border-focused, ".concat(_colors.B100, ")")))
92
+ }
93
+ }, /*#__PURE__*/_react.default.createElement("input", {
94
+ id: checkBoxId,
95
+ "aria-labelledby": "".concat(checkBoxId, "-wrapper"),
96
+ name: checkBoxId,
97
+ type: "checkbox",
98
+ onChange: handleOnChange,
99
+ onClick: onClick,
100
+ checked: !!isDone,
101
+ disabled: !!disabled,
102
+ suppressHydrationWarning: true,
103
+ onKeyPress: handleOnKeyPress,
104
+ ref: inputRef
105
+ }), /*#__PURE__*/_react.default.createElement(_checkbox.default, {
106
+ label: "",
107
+ isFacadeDisabled: true
108
+ }));
109
+ _react.default.useEffect(function () {
110
+ if (isFocused && inputRef.current) {
111
+ var _inputRef$current, _inputRef$current2;
112
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
113
+ (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 || _inputRef$current2.blur();
114
+ setTimeout(function () {
115
+ var _inputRef$current3;
116
+ (_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 || _inputRef$current3.focus();
117
+ }, 100);
118
+ }
119
+ }, [isFocused, inputRef]);
120
+ return /*#__PURE__*/_react.default.createElement(_Item.default, {
121
+ appearance: appearance,
122
+ contentRef: contentRef,
123
+ icon: icon,
124
+ placeholder: placeholder,
125
+ showPlaceholder: showPlaceholder,
126
+ itemType: "TASK",
127
+ dataAttributes: dataAttributes,
128
+ checkBoxId: checkBoxId
129
+ }, children);
130
+ };
131
+
132
+ // This is to ensure that the "type" is exported, as it gets lost and not exported along with TaskItem after
133
+ // going through the high order component.
134
+ var _default = exports.default = (0, _analyticsNext.withAnalyticsEvents)()(TaskItem);
@@ -0,0 +1,3 @@
1
+ ._19bvidpf{padding-left:0}
2
+ ._19pk1b66{margin-top:var(--ds-space-050,4px)}
3
+ ._2mzuglyw{list-style-type:none}
@@ -0,0 +1,68 @@
1
+ /* TaskList.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ "use strict";
3
+
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+ Object.defineProperty(exports, "__esModule", {
7
+ value: true
8
+ });
9
+ exports.default = void 0;
10
+ require("./TaskList.compiled.css");
11
+ var _runtime = require("@compiled/react/runtime");
12
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
13
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
14
+ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
15
+ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
16
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
17
+ var _react = _interopRequireWildcard(require("react"));
18
+ var _analyticsNamespacedContext = require("@atlaskit/analytics-namespaced-context");
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); }
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; }
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)); }
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
+ var TaskList = exports.default = /*#__PURE__*/function (_PureComponent) {
26
+ function TaskList() {
27
+ (0, _classCallCheck2.default)(this, TaskList);
28
+ return _callSuper(this, TaskList, arguments);
29
+ }
30
+ (0, _inherits2.default)(TaskList, _PureComponent);
31
+ return (0, _createClass2.default)(TaskList, [{
32
+ key: "render",
33
+ value: function render() {
34
+ var _this$props = this.props,
35
+ listId = _this$props.listId,
36
+ children = _this$props.children;
37
+ var listSize = _react.default.Children.count(children);
38
+ if (!children) {
39
+ return null;
40
+ }
41
+
42
+ // Data attributes are required for copy and paste from rendered content
43
+ // to the editor to preserve the task.
44
+ // This allows the editor to differentiate between numbered and ordered lists,
45
+ // and action items, which all share the common `<li>` element.
46
+ // The value of `data-task-local-id` should be discarded upon paste, with a
47
+ // a new uuid generated by the editor for the cloned content.
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
+ }));
66
+ }
67
+ }]);
68
+ }(_react.PureComponent);