@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 +12 -0
- package/afm-jira/tsconfig.json +6 -0
- package/afm-post-office/tsconfig.json +6 -0
- package/afm-rovo-extension/tsconfig.json +36 -0
- package/afm-townsquare/tsconfig.json +36 -0
- package/dist/cjs/ui/toolbar-components.js +3 -2
- package/dist/es2019/ui/toolbar-components.js +3 -2
- package/dist/esm/ui/toolbar-components.js +3 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/afm-jira/tsconfig.json
CHANGED
|
@@ -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
|
-
|
|
51
|
-
|
|
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
|
-
|
|
46
|
-
|
|
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
|
-
|
|
44
|
-
|
|
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.
|
|
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.
|
|
38
|
-
"@atlaskit/editor-toolbar-model": "^0.0.
|
|
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.
|
|
42
|
+
"@atlaskit/editor-common": "^107.16.0",
|
|
43
43
|
"react": "^18.2.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|