@atlaskit/editor-common 114.13.3 → 114.14.0
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/dist/cjs/messages/media-insert.js +5 -0
- package/dist/es2019/messages/media-insert.js +5 -0
- package/dist/esm/messages/media-insert.js +5 -0
- package/dist/types/messages/media-insert.d.ts +31 -26
- package/dist/types-ts4.5/messages/media-insert.d.ts +31 -26
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 114.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`1b208e1f7d8f7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1b208e1f7d8f7) -
|
|
8
|
+
[ux] Adds the entry point for ai image generation to the media insert picker plugin as a new tab.
|
|
9
|
+
This feature is fully behind an experiment gate.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 114.13.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -66,6 +66,11 @@ var mediaInsertMessages = exports.mediaInsertMessages = (0, _reactIntl.defineMes
|
|
|
66
66
|
defaultMessage: 'File',
|
|
67
67
|
description: 'Title of the navigation tab that allows users to upload local media files'
|
|
68
68
|
},
|
|
69
|
+
generateTabTitle: {
|
|
70
|
+
id: 'fabric.editor.media.insert.generateTabTitle',
|
|
71
|
+
defaultMessage: 'Generate with AI',
|
|
72
|
+
description: 'Title of the navigation tab that allows users to generate an image through AI'
|
|
73
|
+
},
|
|
69
74
|
mediaPickerPopupAriaLabel: {
|
|
70
75
|
id: 'fabric.editor.media.insert.mediaPickerPopupAriaLabel',
|
|
71
76
|
defaultMessage: 'Media picker',
|
|
@@ -60,6 +60,11 @@ export const mediaInsertMessages = defineMessages({
|
|
|
60
60
|
defaultMessage: 'File',
|
|
61
61
|
description: 'Title of the navigation tab that allows users to upload local media files'
|
|
62
62
|
},
|
|
63
|
+
generateTabTitle: {
|
|
64
|
+
id: 'fabric.editor.media.insert.generateTabTitle',
|
|
65
|
+
defaultMessage: 'Generate with AI',
|
|
66
|
+
description: 'Title of the navigation tab that allows users to generate an image through AI'
|
|
67
|
+
},
|
|
63
68
|
mediaPickerPopupAriaLabel: {
|
|
64
69
|
id: 'fabric.editor.media.insert.mediaPickerPopupAriaLabel',
|
|
65
70
|
defaultMessage: 'Media picker',
|
|
@@ -60,6 +60,11 @@ export var mediaInsertMessages = defineMessages({
|
|
|
60
60
|
defaultMessage: 'File',
|
|
61
61
|
description: 'Title of the navigation tab that allows users to upload local media files'
|
|
62
62
|
},
|
|
63
|
+
generateTabTitle: {
|
|
64
|
+
id: 'fabric.editor.media.insert.generateTabTitle',
|
|
65
|
+
defaultMessage: 'Generate with AI',
|
|
66
|
+
description: 'Title of the navigation tab that allows users to generate an image through AI'
|
|
67
|
+
},
|
|
63
68
|
mediaPickerPopupAriaLabel: {
|
|
64
69
|
id: 'fabric.editor.media.insert.mediaPickerPopupAriaLabel',
|
|
65
70
|
defaultMessage: 'Media picker',
|
|
@@ -1,72 +1,77 @@
|
|
|
1
1
|
export declare const mediaInsertMessages: {
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
2
|
+
cancel: {
|
|
4
3
|
defaultMessage: string;
|
|
5
4
|
description: string;
|
|
6
|
-
};
|
|
7
|
-
insert: {
|
|
8
5
|
id: string;
|
|
9
|
-
defaultMessage: string;
|
|
10
|
-
description: string;
|
|
11
6
|
};
|
|
12
|
-
|
|
13
|
-
id: string;
|
|
7
|
+
fileTabTitle: {
|
|
14
8
|
defaultMessage: string;
|
|
15
9
|
description: string;
|
|
16
|
-
};
|
|
17
|
-
cancel: {
|
|
18
10
|
id: string;
|
|
19
|
-
defaultMessage: string;
|
|
20
|
-
description: string;
|
|
21
11
|
};
|
|
22
12
|
fromUrlErrorMessage: {
|
|
23
|
-
id: string;
|
|
24
13
|
defaultMessage: string;
|
|
25
14
|
description: string;
|
|
15
|
+
id: string;
|
|
26
16
|
};
|
|
27
17
|
fromUrlWarning: {
|
|
28
|
-
id: string;
|
|
29
18
|
defaultMessage: string;
|
|
30
19
|
description: string;
|
|
31
|
-
};
|
|
32
|
-
localFileNetworkErrorMessage: {
|
|
33
20
|
id: string;
|
|
21
|
+
};
|
|
22
|
+
generateTabTitle: {
|
|
34
23
|
defaultMessage: string;
|
|
35
24
|
description: string;
|
|
36
|
-
};
|
|
37
|
-
localFileErrorMessage: {
|
|
38
25
|
id: string;
|
|
26
|
+
};
|
|
27
|
+
insert: {
|
|
39
28
|
defaultMessage: string;
|
|
40
29
|
description: string;
|
|
41
|
-
};
|
|
42
|
-
mediaAlt: {
|
|
43
30
|
id: string;
|
|
31
|
+
};
|
|
32
|
+
invalidUrlErrorMessage: {
|
|
44
33
|
defaultMessage: string;
|
|
45
34
|
description: string;
|
|
46
|
-
};
|
|
47
|
-
upload: {
|
|
48
35
|
id: string;
|
|
36
|
+
};
|
|
37
|
+
linkTabTitle: {
|
|
49
38
|
defaultMessage: string;
|
|
50
39
|
description: string;
|
|
40
|
+
id: string;
|
|
51
41
|
};
|
|
52
|
-
|
|
42
|
+
loadPreview: {
|
|
43
|
+
defaultMessage: string;
|
|
44
|
+
description: string;
|
|
53
45
|
id: string;
|
|
46
|
+
};
|
|
47
|
+
localFileErrorMessage: {
|
|
54
48
|
defaultMessage: string;
|
|
55
49
|
description: string;
|
|
50
|
+
id: string;
|
|
56
51
|
};
|
|
57
|
-
|
|
52
|
+
localFileNetworkErrorMessage: {
|
|
53
|
+
defaultMessage: string;
|
|
54
|
+
description: string;
|
|
58
55
|
id: string;
|
|
56
|
+
};
|
|
57
|
+
mediaAlt: {
|
|
59
58
|
defaultMessage: string;
|
|
60
59
|
description: string;
|
|
60
|
+
id: string;
|
|
61
61
|
};
|
|
62
62
|
mediaPickerPopupAriaLabel: {
|
|
63
|
-
id: string;
|
|
64
63
|
defaultMessage: string;
|
|
65
64
|
description: string;
|
|
65
|
+
id: string;
|
|
66
66
|
};
|
|
67
|
-
|
|
67
|
+
pasteLinkToUpload: {
|
|
68
|
+
defaultMessage: string;
|
|
69
|
+
description: string;
|
|
68
70
|
id: string;
|
|
71
|
+
};
|
|
72
|
+
upload: {
|
|
69
73
|
defaultMessage: string;
|
|
70
74
|
description: string;
|
|
75
|
+
id: string;
|
|
71
76
|
};
|
|
72
77
|
};
|
|
@@ -1,72 +1,77 @@
|
|
|
1
1
|
export declare const mediaInsertMessages: {
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
2
|
+
cancel: {
|
|
4
3
|
defaultMessage: string;
|
|
5
4
|
description: string;
|
|
6
|
-
};
|
|
7
|
-
insert: {
|
|
8
5
|
id: string;
|
|
9
|
-
defaultMessage: string;
|
|
10
|
-
description: string;
|
|
11
6
|
};
|
|
12
|
-
|
|
13
|
-
id: string;
|
|
7
|
+
fileTabTitle: {
|
|
14
8
|
defaultMessage: string;
|
|
15
9
|
description: string;
|
|
16
|
-
};
|
|
17
|
-
cancel: {
|
|
18
10
|
id: string;
|
|
19
|
-
defaultMessage: string;
|
|
20
|
-
description: string;
|
|
21
11
|
};
|
|
22
12
|
fromUrlErrorMessage: {
|
|
23
|
-
id: string;
|
|
24
13
|
defaultMessage: string;
|
|
25
14
|
description: string;
|
|
15
|
+
id: string;
|
|
26
16
|
};
|
|
27
17
|
fromUrlWarning: {
|
|
28
|
-
id: string;
|
|
29
18
|
defaultMessage: string;
|
|
30
19
|
description: string;
|
|
31
|
-
};
|
|
32
|
-
localFileNetworkErrorMessage: {
|
|
33
20
|
id: string;
|
|
21
|
+
};
|
|
22
|
+
generateTabTitle: {
|
|
34
23
|
defaultMessage: string;
|
|
35
24
|
description: string;
|
|
36
|
-
};
|
|
37
|
-
localFileErrorMessage: {
|
|
38
25
|
id: string;
|
|
26
|
+
};
|
|
27
|
+
insert: {
|
|
39
28
|
defaultMessage: string;
|
|
40
29
|
description: string;
|
|
41
|
-
};
|
|
42
|
-
mediaAlt: {
|
|
43
30
|
id: string;
|
|
31
|
+
};
|
|
32
|
+
invalidUrlErrorMessage: {
|
|
44
33
|
defaultMessage: string;
|
|
45
34
|
description: string;
|
|
46
|
-
};
|
|
47
|
-
upload: {
|
|
48
35
|
id: string;
|
|
36
|
+
};
|
|
37
|
+
linkTabTitle: {
|
|
49
38
|
defaultMessage: string;
|
|
50
39
|
description: string;
|
|
40
|
+
id: string;
|
|
51
41
|
};
|
|
52
|
-
|
|
42
|
+
loadPreview: {
|
|
43
|
+
defaultMessage: string;
|
|
44
|
+
description: string;
|
|
53
45
|
id: string;
|
|
46
|
+
};
|
|
47
|
+
localFileErrorMessage: {
|
|
54
48
|
defaultMessage: string;
|
|
55
49
|
description: string;
|
|
50
|
+
id: string;
|
|
56
51
|
};
|
|
57
|
-
|
|
52
|
+
localFileNetworkErrorMessage: {
|
|
53
|
+
defaultMessage: string;
|
|
54
|
+
description: string;
|
|
58
55
|
id: string;
|
|
56
|
+
};
|
|
57
|
+
mediaAlt: {
|
|
59
58
|
defaultMessage: string;
|
|
60
59
|
description: string;
|
|
60
|
+
id: string;
|
|
61
61
|
};
|
|
62
62
|
mediaPickerPopupAriaLabel: {
|
|
63
|
-
id: string;
|
|
64
63
|
defaultMessage: string;
|
|
65
64
|
description: string;
|
|
65
|
+
id: string;
|
|
66
66
|
};
|
|
67
|
-
|
|
67
|
+
pasteLinkToUpload: {
|
|
68
|
+
defaultMessage: string;
|
|
69
|
+
description: string;
|
|
68
70
|
id: string;
|
|
71
|
+
};
|
|
72
|
+
upload: {
|
|
69
73
|
defaultMessage: string;
|
|
70
74
|
description: string;
|
|
75
|
+
id: string;
|
|
71
76
|
};
|
|
72
77
|
};
|
package/package.json
CHANGED