@atlaskit/editor-plugin-toolbar 0.0.1 → 0.0.3

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,17 @@
1
1
  # @atlaskit/editor-plugin-toolbar
2
2
 
3
+ ## 0.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 0.0.1
4
16
 
5
17
  ### Patch Changes
@@ -17,6 +17,12 @@
17
17
  "../src/**/examples.*"
18
18
  ],
19
19
  "references": [
20
+ {
21
+ "path": "../../editor-plugin-selection/afm-jira/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../editor-plugin-user-intent/afm-jira/tsconfig.json"
25
+ },
20
26
  {
21
27
  "path": "../../editor-toolbar/afm-jira/tsconfig.json"
22
28
  },
@@ -17,6 +17,12 @@
17
17
  "../src/**/examples.*"
18
18
  ],
19
19
  "references": [
20
+ {
21
+ "path": "../../editor-plugin-selection/afm-post-office/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../editor-plugin-user-intent/afm-post-office/tsconfig.json"
25
+ },
20
26
  {
21
27
  "path": "../../editor-toolbar/afm-post-office/tsconfig.json"
22
28
  },
@@ -0,0 +1,36 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.rovo-extension.json",
3
+ "compilerOptions": {
4
+ "target": "es5",
5
+ "outDir": "../../../../../rovo-extension/tsDist/@atlaskit__editor-plugin-toolbar/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": "../../editor-plugin-selection/afm-rovo-extension/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../editor-plugin-user-intent/afm-rovo-extension/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../editor-toolbar/afm-rovo-extension/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../editor-toolbar-model/afm-rovo-extension/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../editor-common/afm-rovo-extension/tsconfig.json"
34
+ }
35
+ ]
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.townsquare.json",
3
+ "compilerOptions": {
4
+ "target": "es5",
5
+ "outDir": "../../../../../townsquare/tsDist/@atlaskit__editor-plugin-toolbar/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": "../../editor-plugin-selection/afm-townsquare/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../editor-plugin-user-intent/afm-townsquare/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../editor-toolbar/afm-townsquare/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../editor-toolbar-model/afm-townsquare/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../editor-common/afm-townsquare/tsconfig.json"
34
+ }
35
+ ]
36
+ }
@@ -47,8 +47,9 @@ var getToolbarComponents = exports.getToolbarComponents = function getToolbarCom
47
47
  component: function component(_ref2) {
48
48
  var groupLocation = _ref2.groupLocation;
49
49
  return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarButton, {
50
- label: "AI",
51
- icon: _editorToolbar.AIChatIcon,
50
+ iconBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.AIChatIcon, {
51
+ label: "AI"
52
+ }),
52
53
  groupLocation: groupLocation
53
54
  }, "AI");
54
55
  }
@@ -42,8 +42,9 @@ export const getToolbarComponents = () => {
42
42
  groupLocation
43
43
  }) => {
44
44
  return /*#__PURE__*/React.createElement(ToolbarButton, {
45
- label: "AI",
46
- icon: AIChatIcon,
45
+ iconBefore: /*#__PURE__*/React.createElement(AIChatIcon, {
46
+ label: "AI"
47
+ }),
47
48
  groupLocation: groupLocation
48
49
  }, "AI");
49
50
  }
@@ -40,8 +40,9 @@ export var getToolbarComponents = function getToolbarComponents() {
40
40
  component: function component(_ref2) {
41
41
  var groupLocation = _ref2.groupLocation;
42
42
  return /*#__PURE__*/React.createElement(ToolbarButton, {
43
- label: "AI",
44
- icon: AIChatIcon,
43
+ iconBefore: /*#__PURE__*/React.createElement(AIChatIcon, {
44
+ label: "AI"
45
+ }),
45
46
  groupLocation: groupLocation
46
47
  }, "AI");
47
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-toolbar",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "Toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,12 +34,12 @@
34
34
  "@atlaskit/editor-plugin-selection": "^3.0.0",
35
35
  "@atlaskit/editor-plugin-user-intent": "^1.1.0",
36
36
  "@atlaskit/editor-prosemirror": "7.0.0",
37
- "@atlaskit/editor-toolbar": "^0.0.5",
38
- "@atlaskit/editor-toolbar-model": "^0.0.1",
37
+ "@atlaskit/editor-toolbar": "^0.0.7",
38
+ "@atlaskit/editor-toolbar-model": "^0.0.2",
39
39
  "@babel/runtime": "^7.0.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "@atlaskit/editor-common": "^107.14.0",
42
+ "@atlaskit/editor-common": "^107.16.0",
43
43
  "react": "^18.2.0"
44
44
  },
45
45
  "devDependencies": {