@atlaskit/editor-toolbar 0.17.0 → 0.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/editor-toolbar
2
2
 
3
+ ## 0.17.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`7e3353721fa66`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7e3353721fa66) -
8
+ [ux] EDITOR-1822 update sync blocks ui to new design
9
+
10
+ ## 0.17.1
11
+
12
+ ### Patch Changes
13
+
14
+ - [`54ccde94eb18c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/54ccde94eb18c) -
15
+ ED-29459 Clean up platform_editor_toolbar_aifc_toolbar_analytic
16
+ - Updated dependencies
17
+
3
18
  ## 0.17.0
4
19
 
5
20
  ### Minor Changes
@@ -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;
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  Object.defineProperty(exports, "SyncBlocksIcon", {
8
8
  enumerable: true,
9
9
  get: function get() {
10
- return _sync.default;
10
+ return _blockSynced.default;
11
11
  }
12
12
  });
13
- var _sync = _interopRequireDefault(require("@atlaskit/icon-lab/core/sync"));
13
+ var _blockSynced = _interopRequireDefault(require("@atlaskit/icon-lab/core/block-synced"));
@@ -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
@@ -1,2 +1,2 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
- export { default as SyncBlocksIcon } from '@atlaskit/icon-lab/core/sync';
2
+ export { default as SyncBlocksIcon } from '@atlaskit/icon-lab/core/block-synced';
@@ -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;
@@ -1,2 +1,2 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
- export { default as SyncBlocksIcon } from '@atlaskit/icon-lab/core/sync';
2
+ export { default as SyncBlocksIcon } from '@atlaskit/icon-lab/core/block-synced';
@@ -1 +1 @@
1
- export { default as SyncBlocksIcon } from '@atlaskit/icon-lab/core/sync';
1
+ export { default as SyncBlocksIcon } from '@atlaskit/icon-lab/core/block-synced';
@@ -1 +1 @@
1
- export { default as SyncBlocksIcon } from '@atlaskit/icon-lab/core/sync';
1
+ export { default as SyncBlocksIcon } from '@atlaskit/icon-lab/core/block-synced';
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org/"
5
5
  },
6
- "version": "0.17.0",
6
+ "version": "0.17.2",
7
7
  "description": "Common UI for Toolbars across the platform",
8
8
  "atlassian": {
9
9
  "team": "Editor: Jenga",
@@ -33,8 +33,8 @@
33
33
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
34
34
  "@atlaskit/popup": "^4.6.0",
35
35
  "@atlaskit/primitives": "^16.1.0",
36
- "@atlaskit/tmp-editor-statsig": "^13.22.0",
37
- "@atlaskit/tokens": "^7.0.0",
36
+ "@atlaskit/tmp-editor-statsig": "^13.26.0",
37
+ "@atlaskit/tokens": "^7.1.0",
38
38
  "@atlaskit/tooltip": "^20.7.0",
39
39
  "@babel/runtime": "^7.0.0",
40
40
  "@compiled/react": "^0.18.6",