@atlaskit/task-decision 17.5.8 → 17.5.9

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 (37) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/analytics/index.js +0 -2
  3. package/dist/cjs/api/TaskDecisionResource.js +11 -71
  4. package/dist/cjs/api/TaskDecisionUtils.js +6 -19
  5. package/dist/cjs/components/DecisionItem.js +6 -15
  6. package/dist/cjs/components/DecisionList.js +4 -24
  7. package/dist/cjs/components/Item.js +11 -38
  8. package/dist/cjs/components/ResourcedTaskItem.js +20 -52
  9. package/dist/cjs/components/TaskItem.js +14 -36
  10. package/dist/cjs/components/TaskList.js +6 -28
  11. package/dist/cjs/components/listStyle.js +0 -2
  12. package/dist/cjs/index.js +0 -8
  13. package/dist/cjs/type-helpers.js +2 -12
  14. package/dist/cjs/types.js +0 -4
  15. package/dist/cjs/version.json +1 -1
  16. package/dist/es2019/api/TaskDecisionResource.js +15 -75
  17. package/dist/es2019/api/TaskDecisionUtils.js +0 -1
  18. package/dist/es2019/components/DecisionItem.js +1 -3
  19. package/dist/es2019/components/DecisionList.js +4 -5
  20. package/dist/es2019/components/Item.js +1 -12
  21. package/dist/es2019/components/ResourcedTaskItem.js +7 -22
  22. package/dist/es2019/components/TaskItem.js +3 -8
  23. package/dist/es2019/components/TaskList.js +3 -5
  24. package/dist/es2019/types.js +1 -1
  25. package/dist/es2019/version.json +1 -1
  26. package/dist/esm/api/TaskDecisionResource.js +11 -74
  27. package/dist/esm/api/TaskDecisionUtils.js +6 -12
  28. package/dist/esm/components/DecisionItem.js +6 -8
  29. package/dist/esm/components/DecisionList.js +5 -15
  30. package/dist/esm/components/Item.js +12 -28
  31. package/dist/esm/components/ResourcedTaskItem.js +20 -46
  32. package/dist/esm/components/TaskItem.js +14 -21
  33. package/dist/esm/components/TaskList.js +6 -17
  34. package/dist/esm/type-helpers.js +2 -2
  35. package/dist/esm/types.js +1 -1
  36. package/dist/esm/version.json +1 -1
  37. package/package.json +2 -2
@@ -5,63 +5,49 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
-
9
8
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
10
-
11
9
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
12
-
13
10
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
14
-
15
11
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
16
-
17
12
  import React from 'react';
18
13
  import { PureComponent } from 'react';
19
14
  import TaskItem from './TaskItem';
20
15
  import { FabricElementsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
21
-
22
16
  var ResourcedTaskItem = /*#__PURE__*/function (_PureComponent) {
23
17
  _inherits(ResourcedTaskItem, _PureComponent);
24
-
25
18
  var _super = _createSuper(ResourcedTaskItem);
26
-
27
19
  function ResourcedTaskItem(props) {
28
20
  var _this;
29
-
30
21
  _classCallCheck(this, ResourcedTaskItem);
31
-
32
22
  _this = _super.call(this, props);
33
-
34
23
  _defineProperty(_assertThisInitialized(_this), "mounted", false);
35
-
36
24
  _defineProperty(_assertThisInitialized(_this), "onUpdate", function (state) {
37
25
  _this.setState({
38
26
  isDone: state === 'DONE'
39
27
  });
40
28
  });
41
-
42
29
  _defineProperty(_assertThisInitialized(_this), "handleOnChange", function (taskId, isDone) {
43
30
  var _this$props = _this.props,
44
- taskDecisionProvider = _this$props.taskDecisionProvider,
45
- objectAri = _this$props.objectAri,
46
- onChange = _this$props.onChange; // Optimistically update the task
47
-
31
+ taskDecisionProvider = _this$props.taskDecisionProvider,
32
+ objectAri = _this$props.objectAri,
33
+ onChange = _this$props.onChange;
34
+ // Optimistically update the task
48
35
  _this.setState({
49
36
  isDone: isDone
50
37
  });
51
-
52
38
  if (taskDecisionProvider && objectAri) {
53
39
  // Call provider to update task
54
40
  taskDecisionProvider.then(function (provider) {
55
41
  if (!_this.mounted) {
56
42
  return;
57
43
  }
58
-
59
44
  provider.toggleTask({
60
45
  localId: taskId,
61
46
  objectAri: objectAri
62
- }, isDone ? 'DONE' : 'TODO'); // onChange could trigger a rerender, in order to get the correct state
63
- // we should only call onChange once the internal state have been modified
47
+ }, isDone ? 'DONE' : 'TODO');
64
48
 
49
+ // onChange could trigger a rerender, in order to get the correct state
50
+ // we should only call onChange once the internal state have been modified
65
51
  if (onChange) {
66
52
  onChange(taskId, isDone);
67
53
  }
@@ -73,13 +59,11 @@ var ResourcedTaskItem = /*#__PURE__*/function (_PureComponent) {
73
59
  }
74
60
  }
75
61
  });
76
-
77
62
  _this.state = {
78
63
  isDone: props.isDone
79
64
  };
80
65
  return _this;
81
66
  }
82
-
83
67
  _createClass(ResourcedTaskItem, [{
84
68
  key: "componentDidMount",
85
69
  value: function componentDidMount() {
@@ -95,7 +79,6 @@ var ResourcedTaskItem = /*#__PURE__*/function (_PureComponent) {
95
79
  // source of truth from the revised data.
96
80
  this.onUpdate(nextProps.isDone ? 'DONE' : 'TODO');
97
81
  }
98
-
99
82
  if (nextProps.taskDecisionProvider !== this.props.taskDecisionProvider || nextProps.objectAri !== this.props.objectAri) {
100
83
  this.unsubscribe();
101
84
  this.subscribe(nextProps.taskDecisionProvider, nextProps.objectAri, nextProps.isDone);
@@ -111,25 +94,21 @@ var ResourcedTaskItem = /*#__PURE__*/function (_PureComponent) {
111
94
  key: "subscribe",
112
95
  value: function subscribe(taskDecisionProvider, objectAri, isDone) {
113
96
  var _this2 = this;
114
-
115
97
  if (taskDecisionProvider && objectAri) {
116
98
  taskDecisionProvider.then(function (provider) {
117
99
  if (!_this2.mounted) {
118
100
  return;
119
101
  }
120
-
121
102
  var taskId = _this2.props.taskId;
122
103
  var objectKey = {
123
104
  localId: taskId,
124
105
  objectAri: objectAri
125
106
  };
126
-
127
107
  var item = _objectSpread(_objectSpread({}, objectKey), {}, {
128
108
  state: isDone ? 'DONE' : 'TODO',
129
109
  lastUpdateDate: new Date(),
130
110
  type: 'TASK'
131
111
  });
132
-
133
112
  provider.subscribe({
134
113
  localId: taskId,
135
114
  objectAri: objectAri
@@ -141,12 +120,10 @@ var ResourcedTaskItem = /*#__PURE__*/function (_PureComponent) {
141
120
  key: "unsubscribe",
142
121
  value: function unsubscribe() {
143
122
  var _this3 = this;
144
-
145
123
  var _this$props2 = this.props,
146
- taskDecisionProvider = _this$props2.taskDecisionProvider,
147
- taskId = _this$props2.taskId,
148
- objectAri = _this$props2.objectAri;
149
-
124
+ taskDecisionProvider = _this$props2.taskDecisionProvider,
125
+ taskId = _this$props2.taskId,
126
+ objectAri = _this$props2.objectAri;
150
127
  if (taskDecisionProvider && objectAri) {
151
128
  taskDecisionProvider.then(function (provider) {
152
129
  provider.unsubscribe({
@@ -161,16 +138,16 @@ var ResourcedTaskItem = /*#__PURE__*/function (_PureComponent) {
161
138
  value: function render() {
162
139
  var isDone = this.state.isDone;
163
140
  var _this$props3 = this.props,
164
- appearance = _this$props3.appearance,
165
- children = _this$props3.children,
166
- contentRef = _this$props3.contentRef,
167
- objectAri = _this$props3.objectAri,
168
- showPlaceholder = _this$props3.showPlaceholder,
169
- placeholder = _this$props3.placeholder,
170
- taskId = _this$props3.taskId,
171
- disabled = _this$props3.disabled,
172
- dataAttributes = _this$props3.dataAttributes,
173
- isRenderer = _this$props3.isRenderer;
141
+ appearance = _this$props3.appearance,
142
+ children = _this$props3.children,
143
+ contentRef = _this$props3.contentRef,
144
+ objectAri = _this$props3.objectAri,
145
+ showPlaceholder = _this$props3.showPlaceholder,
146
+ placeholder = _this$props3.placeholder,
147
+ taskId = _this$props3.taskId,
148
+ disabled = _this$props3.disabled,
149
+ dataAttributes = _this$props3.dataAttributes,
150
+ isRenderer = _this$props3.isRenderer;
174
151
  return /*#__PURE__*/React.createElement(FabricElementsAnalyticsContext, {
175
152
  data: {
176
153
  objectAri: objectAri
@@ -189,12 +166,9 @@ var ResourcedTaskItem = /*#__PURE__*/function (_PureComponent) {
189
166
  }, children));
190
167
  }
191
168
  }]);
192
-
193
169
  return ResourcedTaskItem;
194
170
  }(PureComponent);
195
-
196
171
  _defineProperty(ResourcedTaskItem, "defaultProps", {
197
172
  appearance: 'inline'
198
173
  });
199
-
200
174
  export { ResourcedTaskItem as default };
@@ -1,7 +1,5 @@
1
1
  import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
-
3
2
  var _templateObject, _templateObject2;
4
-
5
3
  /** @jsx jsx */
6
4
  import React, { useMemo } from 'react';
7
5
  import { css, jsx } from '@emotion/react';
@@ -12,11 +10,9 @@ import { gridSize } from '@atlaskit/theme/constants';
12
10
  import { themed, useGlobalTheme } from '@atlaskit/theme/components';
13
11
  import { B300, B75, DN100, DN200, N0, N30, N90 } from '@atlaskit/theme/colors';
14
12
  var taskCount = 0;
15
-
16
13
  var getCheckBoxId = function getCheckBoxId(localId) {
17
14
  return "".concat(localId, "-").concat(taskCount++);
18
15
  };
19
-
20
16
  var checkboxStyles = function checkboxStyles(isRenderer) {
21
17
  return function (theme) {
22
18
  return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n flex: 0 0 16px;\n width: 16px;\n height: 16px;\n position: relative;\n align-self: start;\n margin: 4px ", "px 0 0;\n\n & > input[type='checkbox'] {\n width: 16px;\n height: 16px;\n z-index: 1;\n cursor: pointer;\n position: absolute;\n outline: none;\n margin: 0;\n opacity: 0;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n\n + div {\n box-sizing: border-box;\n display: inline;\n width: 100%;\n cursor: pointer;\n\n &::after {\n background: ", ";\n background-size: 16px;\n border-radius: 3px;\n border-style: solid;\n border-width: 1px;\n border-color: ", ";\n box-sizing: border-box;\n content: '';\n height: 16px;\n left: 50%;\n position: absolute;\n transition: border-color 0.2s ease-in-out;\n top: 8px;\n width: 16px;\n transform: translate(-50%, -50%);\n }\n }\n ", "\n\n &:not([disabled]):hover + div::after {\n background: ", ";\n transition: border 0.2s ease-in-out;\n }\n &[disabled] + div {\n opacity: 0.5;\n cursor: default;\n }\n &:checked {\n + div::after {\n background: url(data:image/svg+xml;charset=utf-8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEyIDEyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICA8cmVjdCB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHJ4PSIyIiBmaWxsPSIjMDA1MkNDIj48L3JlY3Q+DQogIDxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik05LjM3NCA0LjkxNEw1LjQ1NiA4LjgzMmEuNzY5Ljc2OSAwIDAgMS0xLjA4OCAwTDIuNjI2IDcuMDkxYS43NjkuNzY5IDAgMSAxIDEuMDg4LTEuMDg5TDQuOTEyIDcuMmwzLjM3NC0zLjM3NGEuNzY5Ljc2OSAwIDEgMSAxLjA4OCAxLjA4OCI+PC9wYXRoPg0KPC9zdmc+)\n no-repeat 0 0;\n background-size: 16px;\n border: 0;\n border-color: transparent;\n }\n &:not([disabled]):hover + div::after {\n background: url(data:image/svg+xml;charset=utf-8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEyIDEyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICA8cmVjdCB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHJ4PSIyIiBmaWxsPSIjMDc0N0E2Ij48L3JlY3Q+DQogIDxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik05LjM3NCA0LjkxNEw1LjQ1NiA4LjgzMmEuNzY5Ljc2OSAwIDAgMS0xLjA4OCAwTDIuNjI2IDcuMDkxYS43NjkuNzY5IDAgMSAxIDEuMDg4LTEuMDg5TDQuOTEyIDcuMmwzLjM3NC0zLjM3NGEuNzY5Ljc2OSAwIDEgMSAxLjA4OCAxLjA4OCI+PC9wYXRoPg0KPC9zdmc+)\n no-repeat 0 0;\n background-size: 16px;\n }\n }\n }\n "])), gridSize(), themed({
@@ -42,20 +38,19 @@ var checkboxStyles = function checkboxStyles(isRenderer) {
42
38
  }));
43
39
  };
44
40
  };
45
-
46
41
  var TaskItem = function TaskItem(props) {
47
42
  var appearance = props.appearance,
48
- isDone = props.isDone,
49
- isRenderer = props.isRenderer,
50
- contentRef = props.contentRef,
51
- children = props.children,
52
- placeholder = props.placeholder,
53
- showPlaceholder = props.showPlaceholder,
54
- disabled = props.disabled,
55
- dataAttributes = props.dataAttributes,
56
- taskId = props.taskId,
57
- onChange = props.onChange,
58
- createAnalyticsEvent = props.createAnalyticsEvent;
43
+ isDone = props.isDone,
44
+ isRenderer = props.isRenderer,
45
+ contentRef = props.contentRef,
46
+ children = props.children,
47
+ placeholder = props.placeholder,
48
+ showPlaceholder = props.showPlaceholder,
49
+ disabled = props.disabled,
50
+ dataAttributes = props.dataAttributes,
51
+ taskId = props.taskId,
52
+ onChange = props.onChange,
53
+ createAnalyticsEvent = props.createAnalyticsEvent;
59
54
  var theme = useGlobalTheme();
60
55
  var checkBoxId = useMemo(function () {
61
56
  return getCheckBoxId(taskId);
@@ -63,13 +58,10 @@ var TaskItem = function TaskItem(props) {
63
58
  var handleOnChange = useMemo(function () {
64
59
  return function (_evt) {
65
60
  var newIsDone = !isDone;
66
-
67
61
  if (onChange) {
68
62
  onChange(taskId, newIsDone);
69
63
  }
70
-
71
64
  var action = newIsDone ? 'checked' : 'unchecked';
72
-
73
65
  if (createAnalyticsEvent) {
74
66
  createAndFireEventInElementsChannel({
75
67
  action: action,
@@ -114,8 +106,9 @@ var TaskItem = function TaskItem(props) {
114
106
  checkBoxId: checkBoxId,
115
107
  theme: theme
116
108
  }, children);
117
- }; // This is to ensure that the "type" is exported, as it gets lost and not exported along with TaskItem after
118
- // going through the high order component.
109
+ };
119
110
 
111
+ // This is to ensure that the "type" is exported, as it gets lost and not exported along with TaskItem after
112
+ // going through the high order component.
120
113
 
121
114
  export default withAnalyticsEvents()(TaskItem);
@@ -3,53 +3,44 @@ import _createClass from "@babel/runtime/helpers/createClass";
3
3
  import _inherits from "@babel/runtime/helpers/inherits";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
5
5
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
-
7
6
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
-
9
7
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
10
-
11
8
  /** @jsx jsx */
12
9
  import React from 'react';
13
10
  import { PureComponent } from 'react';
14
11
  import { jsx } from '@emotion/react';
15
12
  import { FabricElementsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
16
13
  import taskListStyles from './listStyle';
17
-
18
14
  var TaskList = /*#__PURE__*/function (_PureComponent) {
19
15
  _inherits(TaskList, _PureComponent);
20
-
21
16
  var _super = _createSuper(TaskList);
22
-
23
17
  function TaskList() {
24
18
  _classCallCheck(this, TaskList);
25
-
26
19
  return _super.apply(this, arguments);
27
20
  }
28
-
29
21
  _createClass(TaskList, [{
30
22
  key: "render",
31
23
  value: function render() {
32
24
  var _this$props = this.props,
33
- listId = _this$props.listId,
34
- children = _this$props.children;
25
+ listId = _this$props.listId,
26
+ children = _this$props.children;
35
27
  var listSize = React.Children.count(children);
36
-
37
28
  if (!children) {
38
29
  return null;
39
- } // Data attributes are required for copy and paste from rendered content
30
+ }
31
+
32
+ // Data attributes are required for copy and paste from rendered content
40
33
  // to the editor to preserve the task.
41
34
  // This allows the editor to differentiate between numbered and ordered lists,
42
35
  // and action items, which all share the common `<li>` element.
43
36
  // The value of `data-task-local-id` should be discarded upon paste, with a
44
37
  // a new uuid generated by the editor for the cloned content.
45
-
46
-
47
38
  return jsx("div", {
48
39
  css: taskListStyles,
49
40
  "data-task-list-local-id": ""
50
41
  }, React.Children.map(children, function (child, idx) {
51
42
  var _ref = child.props,
52
- localId = _ref.localId;
43
+ localId = _ref.localId;
53
44
  return jsx(FabricElementsAnalyticsContext, {
54
45
  data: {
55
46
  listLocalId: listId,
@@ -63,8 +54,6 @@ var TaskList = /*#__PURE__*/function (_PureComponent) {
63
54
  }));
64
55
  }
65
56
  }]);
66
-
67
57
  return TaskList;
68
58
  }(PureComponent);
69
-
70
59
  export { TaskList as default };
@@ -6,7 +6,7 @@ export var isTask = function isTask(item) {
6
6
  };
7
7
  export var toObjectKey = function toObjectKey(item) {
8
8
  var localId = item.localId,
9
- objectAri = item.objectAri;
9
+ objectAri = item.objectAri;
10
10
  return {
11
11
  localId: localId,
12
12
  objectAri: objectAri
@@ -14,7 +14,7 @@ export var toObjectKey = function toObjectKey(item) {
14
14
  };
15
15
  export var objectKeyToString = function objectKeyToString(objectKey) {
16
16
  var objectAri = objectKey.objectAri,
17
- localId = objectKey.localId;
17
+ localId = objectKey.localId;
18
18
  return "".concat(objectAri, ":").concat(localId);
19
19
  };
20
20
  export var toggleTaskState = function toggleTaskState(state) {
package/dist/esm/types.js CHANGED
@@ -10,8 +10,8 @@
10
10
  /**
11
11
  * Same as PubSub client types (don't want a direct dep though)
12
12
  */
13
- export var PubSubSpecialEventType;
14
13
 
14
+ export var PubSubSpecialEventType;
15
15
  (function (PubSubSpecialEventType) {
16
16
  PubSubSpecialEventType["ERROR"] = "ERROR";
17
17
  PubSubSpecialEventType["CONNECTED"] = "CONNECTED";
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/task-decision",
3
- "version": "17.5.8",
3
+ "version": "17.5.9",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/task-decision",
3
- "version": "17.5.8",
3
+ "version": "17.5.9",
4
4
  "description": "Tasks and decisions react components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,7 +30,7 @@
30
30
  "@atlaskit/analytics-next": "^8.2.0",
31
31
  "@atlaskit/icon": "^21.11.0",
32
32
  "@atlaskit/theme": "^12.2.0",
33
- "@atlaskit/tokens": "^0.13.0",
33
+ "@atlaskit/tokens": "^1.0.0",
34
34
  "@atlaskit/util-service-support": "^6.1.0",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "@emotion/react": "^11.7.1",