@atlaskit/editor-plugin-block-menu 0.0.3 → 0.0.5

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,28 @@
1
1
  # @atlaskit/editor-plugin-block-menu
2
2
 
3
+ ## 0.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3145f278b1f7a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3145f278b1f7a) -
8
+ [ux] [ED-28473] minor UI updates for editor-toolbar
9
+
10
+ - Use ADS ButtonGroup for ToolbarButtonGroup
11
+ - Remove groupLocation prop and use CSS instead
12
+ - Use DropdownItemGroup for ToolbarDropdownItemSection and expand props for section separator and
13
+ title
14
+ - Support ReactNode as content for ToolbarTooltip and add missing shortcuts in tooltips
15
+ - Center Icons for split buttons and make chevron icon 24px wide
16
+ - Align dropdown menu UI with current editor design
17
+
18
+ - Updated dependencies
19
+
20
+ ## 0.0.4
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies
25
+
3
26
  ## 0.0.3
4
27
 
5
28
  ### Patch Changes
@@ -32,6 +32,9 @@
32
32
  {
33
33
  "path": "../../editor-shared-styles/afm-dev-agents/tsconfig.json"
34
34
  },
35
+ {
36
+ "path": "../../editor-toolbar/afm-dev-agents/tsconfig.json"
37
+ },
35
38
  {
36
39
  "path": "../../../design-system/icon/afm-dev-agents/tsconfig.json"
37
40
  },
@@ -32,6 +32,9 @@
32
32
  {
33
33
  "path": "../../editor-shared-styles/afm-jira/tsconfig.json"
34
34
  },
35
+ {
36
+ "path": "../../editor-toolbar/afm-jira/tsconfig.json"
37
+ },
35
38
  {
36
39
  "path": "../../../design-system/icon/afm-jira/tsconfig.json"
37
40
  },
@@ -32,6 +32,9 @@
32
32
  {
33
33
  "path": "../../editor-shared-styles/afm-passionfruit/tsconfig.json"
34
34
  },
35
+ {
36
+ "path": "../../editor-toolbar/afm-passionfruit/tsconfig.json"
37
+ },
35
38
  {
36
39
  "path": "../../../design-system/icon/afm-passionfruit/tsconfig.json"
37
40
  },
@@ -32,6 +32,9 @@
32
32
  {
33
33
  "path": "../../editor-shared-styles/afm-post-office/tsconfig.json"
34
34
  },
35
+ {
36
+ "path": "../../editor-toolbar/afm-post-office/tsconfig.json"
37
+ },
35
38
  {
36
39
  "path": "../../../design-system/icon/afm-post-office/tsconfig.json"
37
40
  },
@@ -32,6 +32,9 @@
32
32
  {
33
33
  "path": "../../editor-shared-styles/afm-rovo-extension/tsconfig.json"
34
34
  },
35
+ {
36
+ "path": "../../editor-toolbar/afm-rovo-extension/tsconfig.json"
37
+ },
35
38
  {
36
39
  "path": "../../../design-system/icon/afm-rovo-extension/tsconfig.json"
37
40
  },
@@ -32,6 +32,9 @@
32
32
  {
33
33
  "path": "../../editor-shared-styles/afm-townsquare/tsconfig.json"
34
34
  },
35
+ {
36
+ "path": "../../editor-toolbar/afm-townsquare/tsconfig.json"
37
+ },
35
38
  {
36
39
  "path": "../../../design-system/icon/afm-townsquare/tsconfig.json"
37
40
  },
@@ -0,0 +1,51 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.volt.json",
3
+ "compilerOptions": {
4
+ "target": "es5",
5
+ "outDir": "../../../../../volt/tsDist/@atlaskit__editor-plugin-block-menu/app",
6
+ "rootDir": "../",
7
+ "composite": true
8
+ },
9
+ "include": [
10
+ "../src/**/*.ts",
11
+ "../src/**/*.tsx"
12
+ ],
13
+ "exclude": [
14
+ "../src/**/__tests__/*",
15
+ "../src/**/*.test.*",
16
+ "../src/**/test.*",
17
+ "../src/**/examples.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../../design-system/css/afm-volt/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../../design-system/dropdown-menu/afm-volt/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../editor-plugin-block-controls/afm-volt/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../editor-plugin-user-intent/afm-volt/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../editor-shared-styles/afm-volt/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../design-system/icon/afm-volt/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../design-system/icon-lab/afm-volt/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../design-system/primitives/afm-volt/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../../design-system/tokens/afm-volt/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../editor-common/afm-volt/tsconfig.json"
49
+ }
50
+ ]
51
+ }
@@ -30,7 +30,9 @@ var getBlockMenuComponents = exports.getBlockMenuComponents = function getBlockM
30
30
  rank: 200,
31
31
  component: function component(_ref2) {
32
32
  var children = _ref2.children;
33
- return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItemSection, null, children);
33
+ return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItemSection, {
34
+ hasSeparator: true
35
+ }, children);
34
36
  }
35
37
  }, {
36
38
  type: 'block-menu-section',
@@ -38,7 +40,9 @@ var getBlockMenuComponents = exports.getBlockMenuComponents = function getBlockM
38
40
  rank: 300,
39
41
  component: function component(_ref3) {
40
42
  var children = _ref3.children;
41
- return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItemSection, null, children);
43
+ return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItemSection, {
44
+ hasSeparator: true
45
+ }, children);
42
46
  }
43
47
  }, {
44
48
  type: 'block-menu-nested',
@@ -25,7 +25,9 @@ export const getBlockMenuComponents = () => {
25
25
  component: ({
26
26
  children
27
27
  }) => {
28
- return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection, null, children);
28
+ return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection, {
29
+ hasSeparator: true
30
+ }, children);
29
31
  }
30
32
  }, {
31
33
  type: 'block-menu-section',
@@ -34,7 +36,9 @@ export const getBlockMenuComponents = () => {
34
36
  component: ({
35
37
  children
36
38
  }) => {
37
- return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection, null, children);
39
+ return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection, {
40
+ hasSeparator: true
41
+ }, children);
38
42
  }
39
43
  }, {
40
44
  type: 'block-menu-nested',
@@ -23,7 +23,9 @@ export var getBlockMenuComponents = function getBlockMenuComponents() {
23
23
  rank: 200,
24
24
  component: function component(_ref2) {
25
25
  var children = _ref2.children;
26
- return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection, null, children);
26
+ return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection, {
27
+ hasSeparator: true
28
+ }, children);
27
29
  }
28
30
  }, {
29
31
  type: 'block-menu-section',
@@ -31,7 +33,9 @@ export var getBlockMenuComponents = function getBlockMenuComponents() {
31
33
  rank: 300,
32
34
  component: function component(_ref3) {
33
35
  var children = _ref3.children;
34
- return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection, null, children);
36
+ return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection, {
37
+ hasSeparator: true
38
+ }, children);
35
39
  }
36
40
  }, {
37
41
  type: 'block-menu-nested',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-menu",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "BlockMenu plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,15 +37,15 @@
37
37
  "@atlaskit/editor-plugin-user-intent": "^1.1.0",
38
38
  "@atlaskit/editor-prosemirror": "7.0.0",
39
39
  "@atlaskit/editor-shared-styles": "^3.6.0",
40
- "@atlaskit/editor-toolbar": "^0.2.0",
41
- "@atlaskit/icon": "^27.11.0",
42
- "@atlaskit/icon-lab": "^5.4.0",
40
+ "@atlaskit/editor-toolbar": "^0.3.0",
41
+ "@atlaskit/icon": "^27.12.0",
42
+ "@atlaskit/icon-lab": "^5.6.0",
43
43
  "@atlaskit/primitives": "^14.11.0",
44
44
  "@atlaskit/tokens": "^6.0.0",
45
45
  "@babel/runtime": "^7.0.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@atlaskit/editor-common": "^107.20.0",
48
+ "@atlaskit/editor-common": "^107.24.0",
49
49
  "react": "^18.2.0",
50
50
  "react-intl-next": "npm:react-intl@^5.18.1"
51
51
  },