@atlaskit/editor-toolbar 0.16.4 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @atlaskit/editor-toolbar
2
2
 
3
+ ## 0.17.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`54ccde94eb18c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/54ccde94eb18c) -
8
+ ED-29459 Clean up platform_editor_toolbar_aifc_toolbar_analytic
9
+ - Updated dependencies
10
+
11
+ ## 0.17.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [`6d29cae66dd9a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6d29cae66dd9a) -
16
+ [ED-29608] export work item icons from editor-toolbar package
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 0.16.4
4
23
 
5
24
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -466,6 +466,18 @@ Object.defineProperty(exports, "UndoIcon", {
466
466
  return _UndoIcon.UndoIcon;
467
467
  }
468
468
  });
469
+ Object.defineProperty(exports, "WorkItemIcon", {
470
+ enumerable: true,
471
+ get: function get() {
472
+ return _WorkItemIcon.WorkItemIcon;
473
+ }
474
+ });
475
+ Object.defineProperty(exports, "WorkItemsIcon", {
476
+ enumerable: true,
477
+ get: function get() {
478
+ return _WorkItemsIcon.WorkItemsIcon;
479
+ }
480
+ });
469
481
  Object.defineProperty(exports, "getContrastingBackgroundColor", {
470
482
  enumerable: true,
471
483
  get: function get() {
@@ -557,6 +569,8 @@ var _HistoryIcon = require("./ui/icons/HistoryIcon");
557
569
  var _LoomIcon = require("./ui/icons/LoomIcon");
558
570
  var _PlusIcon = require("./ui/icons/PlusIcon");
559
571
  var _SyncBlocksIcon = require("./ui/icons/SyncBlocksIcon");
572
+ var _WorkItemIcon = require("./ui/icons/WorkItemIcon");
573
+ var _WorkItemsIcon = require("./ui/icons/WorkItemsIcon");
560
574
  var _ColorPalette = _interopRequireDefault(require("./ui/ColorPalette"));
561
575
  var _utils = require("./ui/ColorPalette/utils");
562
576
  var _uiContext = require("./hooks/ui-context");
@@ -44,10 +44,10 @@ var Toolbar = exports.Toolbar = function Toolbar(_ref) {
44
44
  "aria-label": label,
45
45
  testId: testId,
46
46
  "data-toolbar-type": (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_6', 'isEnabled', true) ? 'inline' : undefined
47
- }, (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_toolbar_analytic', 'isEnabled', true) ? /*#__PURE__*/_react.default.createElement(_ViewEventEmitter.ViewEventEmitter, {
47
+ }, /*#__PURE__*/_react.default.createElement(_ViewEventEmitter.ViewEventEmitter, {
48
48
  actionSubject: _ViewEventEmitter.ACTION_SUBJECT.TOOLBAR,
49
49
  actionSubjectId: actionSubjectId
50
- }) : null, children);
50
+ }), children);
51
51
  var wrappedToolbar = toolbar;
52
52
  var _useToolbarUI = (0, _uiContext.useToolbarUI)(),
53
53
  keyboardNavigation = _useToolbarUI.keyboardNavigation;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "WorkItemIcon", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _workItem.default;
11
+ }
12
+ });
13
+ var _workItem = _interopRequireDefault(require("@atlaskit/icon/core/work-item"));
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "WorkItemsIcon", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _workItems.default;
11
+ }
12
+ });
13
+ var _workItems = _interopRequireDefault(require("@atlaskit/icon/core/work-items"));
@@ -72,6 +72,8 @@ export { HistoryIcon } from './ui/icons/HistoryIcon';
72
72
  export { LoomIcon } from './ui/icons/LoomIcon';
73
73
  export { PlusIcon } from './ui/icons/PlusIcon';
74
74
  export { SyncBlocksIcon } from './ui/icons/SyncBlocksIcon';
75
+ export { WorkItemIcon } from './ui/icons/WorkItemIcon';
76
+ export { WorkItemsIcon } from './ui/icons/WorkItemsIcon';
75
77
  export { default as ColorPalette } from './ui/ColorPalette';
76
78
  export { getContrastingBackgroundColor } from './ui/ColorPalette/utils';
77
79
  export { useToolbarUI, ToolbarUIProvider } from './hooks/ui-context';
@@ -38,10 +38,10 @@ export const Toolbar = ({
38
38
  "aria-label": label,
39
39
  testId: testId,
40
40
  "data-toolbar-type": expValEquals('platform_editor_toolbar_aifc_patch_6', 'isEnabled', true) ? 'inline' : undefined
41
- }, expValEquals('platform_editor_toolbar_aifc_toolbar_analytic', 'isEnabled', true) ? /*#__PURE__*/React.createElement(ViewEventEmitter, {
41
+ }, /*#__PURE__*/React.createElement(ViewEventEmitter, {
42
42
  actionSubject: ACTION_SUBJECT.TOOLBAR,
43
43
  actionSubjectId: actionSubjectId
44
- }) : null, children);
44
+ }), children);
45
45
  let wrappedToolbar = toolbar;
46
46
  const {
47
47
  keyboardNavigation
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { default as WorkItemIcon } from '@atlaskit/icon/core/work-item';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { default as WorkItemsIcon } from '@atlaskit/icon/core/work-items';
package/dist/esm/index.js CHANGED
@@ -72,6 +72,8 @@ export { HistoryIcon } from './ui/icons/HistoryIcon';
72
72
  export { LoomIcon } from './ui/icons/LoomIcon';
73
73
  export { PlusIcon } from './ui/icons/PlusIcon';
74
74
  export { SyncBlocksIcon } from './ui/icons/SyncBlocksIcon';
75
+ export { WorkItemIcon } from './ui/icons/WorkItemIcon';
76
+ export { WorkItemsIcon } from './ui/icons/WorkItemsIcon';
75
77
  export { default as ColorPalette } from './ui/ColorPalette';
76
78
  export { getContrastingBackgroundColor } from './ui/ColorPalette/utils';
77
79
  export { useToolbarUI, ToolbarUIProvider } from './hooks/ui-context';
@@ -37,10 +37,10 @@ export var Toolbar = function Toolbar(_ref) {
37
37
  "aria-label": label,
38
38
  testId: testId,
39
39
  "data-toolbar-type": expValEquals('platform_editor_toolbar_aifc_patch_6', 'isEnabled', true) ? 'inline' : undefined
40
- }, expValEquals('platform_editor_toolbar_aifc_toolbar_analytic', 'isEnabled', true) ? /*#__PURE__*/React.createElement(ViewEventEmitter, {
40
+ }, /*#__PURE__*/React.createElement(ViewEventEmitter, {
41
41
  actionSubject: ACTION_SUBJECT.TOOLBAR,
42
42
  actionSubjectId: actionSubjectId
43
- }) : null, children);
43
+ }), children);
44
44
  var wrappedToolbar = toolbar;
45
45
  var _useToolbarUI = useToolbarUI(),
46
46
  keyboardNavigation = _useToolbarUI.keyboardNavigation;
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { default as WorkItemIcon } from '@atlaskit/icon/core/work-item';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { default as WorkItemsIcon } from '@atlaskit/icon/core/work-items';
@@ -71,6 +71,8 @@ export { HistoryIcon } from './ui/icons/HistoryIcon';
71
71
  export { LoomIcon } from './ui/icons/LoomIcon';
72
72
  export { PlusIcon } from './ui/icons/PlusIcon';
73
73
  export { SyncBlocksIcon } from './ui/icons/SyncBlocksIcon';
74
+ export { WorkItemIcon } from './ui/icons/WorkItemIcon';
75
+ export { WorkItemsIcon } from './ui/icons/WorkItemsIcon';
74
76
  export { default as ColorPalette } from './ui/ColorPalette';
75
77
  export { getContrastingBackgroundColor } from './ui/ColorPalette/utils';
76
78
  export type { IconComponent, ToolbarKeyboardNavigationProviderConfig } from './types';
@@ -0,0 +1 @@
1
+ export { default as WorkItemIcon } from '@atlaskit/icon/core/work-item';
@@ -0,0 +1 @@
1
+ export { default as WorkItemsIcon } from '@atlaskit/icon/core/work-items';
@@ -71,6 +71,8 @@ export { HistoryIcon } from './ui/icons/HistoryIcon';
71
71
  export { LoomIcon } from './ui/icons/LoomIcon';
72
72
  export { PlusIcon } from './ui/icons/PlusIcon';
73
73
  export { SyncBlocksIcon } from './ui/icons/SyncBlocksIcon';
74
+ export { WorkItemIcon } from './ui/icons/WorkItemIcon';
75
+ export { WorkItemsIcon } from './ui/icons/WorkItemsIcon';
74
76
  export { default as ColorPalette } from './ui/ColorPalette';
75
77
  export { getContrastingBackgroundColor } from './ui/ColorPalette/utils';
76
78
  export type { IconComponent, ToolbarKeyboardNavigationProviderConfig } from './types';
@@ -0,0 +1 @@
1
+ export { default as WorkItemIcon } from '@atlaskit/icon/core/work-item';
@@ -0,0 +1 @@
1
+ export { default as WorkItemsIcon } from '@atlaskit/icon/core/work-items';
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org/"
5
5
  },
6
- "version": "0.16.4",
6
+ "version": "0.17.1",
7
7
  "description": "Common UI for Toolbars across the platform",
8
8
  "atlassian": {
9
9
  "team": "Editor: Jenga",
@@ -27,15 +27,15 @@
27
27
  "@atlaskit/css": "^0.15.0",
28
28
  "@atlaskit/dropdown-menu": "^16.3.0",
29
29
  "@atlaskit/icon": "^28.5.0",
30
- "@atlaskit/icon-lab": "^5.10.0",
30
+ "@atlaskit/icon-lab": "^5.11.0",
31
31
  "@atlaskit/logo": "^19.9.0",
32
32
  "@atlaskit/platform-feature-flags": "^1.1.0",
33
33
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
34
- "@atlaskit/popup": "^4.4.0",
35
- "@atlaskit/primitives": "^16.0.0",
36
- "@atlaskit/tmp-editor-statsig": "^13.19.0",
34
+ "@atlaskit/popup": "^4.6.0",
35
+ "@atlaskit/primitives": "^16.1.0",
36
+ "@atlaskit/tmp-editor-statsig": "^13.24.0",
37
37
  "@atlaskit/tokens": "^7.0.0",
38
- "@atlaskit/tooltip": "^20.6.0",
38
+ "@atlaskit/tooltip": "^20.7.0",
39
39
  "@babel/runtime": "^7.0.0",
40
40
  "@compiled/react": "^0.18.6",
41
41
  "chromatism": "^2.6.0"