@atlaskit/editor-plugin-insert-block 2.8.0 → 3.0.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
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-insert-block
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
|
|
8
|
+
[`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
|
|
9
|
+
This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
|
|
10
|
+
status of only supporting React 18 going forward. No explicit breaking change to React support has
|
|
11
|
+
been made in this release, but this is to signify going forward, breaking changes for React 16 or
|
|
12
|
+
React 17 may come via non-major semver releases.
|
|
13
|
+
|
|
14
|
+
Please refer this community post for more details:
|
|
15
|
+
https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
21
|
+
## 2.8.1
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- [#114079](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114079)
|
|
26
|
+
[`d32dc78b19302`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d32dc78b19302) -
|
|
27
|
+
[ux] Re-enables emojis while offline and adds a fallback for emojis in the emoji picker if the
|
|
28
|
+
image cannot be loaded
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
|
|
3
31
|
## 2.8.0
|
|
4
32
|
|
|
5
33
|
### Minor Changes
|
|
@@ -106,7 +106,7 @@ var createInsertBlockItems = function createInsertBlockItems(config) {
|
|
|
106
106
|
items.push((0, _item.emoji)({
|
|
107
107
|
content: formatMessage(_messages.toolbarInsertBlockMessages.emoji),
|
|
108
108
|
tooltipDescription: formatMessage(_messages.toolbarInsertBlockMessages.emojiDescription),
|
|
109
|
-
disabled: emojiDisabled || !isTypeAheadAllowed || isOffline,
|
|
109
|
+
disabled: emojiDisabled || !isTypeAheadAllowed || isOffline && !(0, _platformFeatureFlags.fg)('platform_editor_preload_emoji_picker'),
|
|
110
110
|
'aria-haspopup': 'dialog'
|
|
111
111
|
}));
|
|
112
112
|
}
|
|
@@ -93,7 +93,7 @@ const createInsertBlockItems = config => {
|
|
|
93
93
|
items.push(emoji({
|
|
94
94
|
content: formatMessage(messages.emoji),
|
|
95
95
|
tooltipDescription: formatMessage(messages.emojiDescription),
|
|
96
|
-
disabled: emojiDisabled || !isTypeAheadAllowed || isOffline,
|
|
96
|
+
disabled: emojiDisabled || !isTypeAheadAllowed || isOffline && !fg('platform_editor_preload_emoji_picker'),
|
|
97
97
|
'aria-haspopup': 'dialog'
|
|
98
98
|
}));
|
|
99
99
|
}
|
|
@@ -99,7 +99,7 @@ var createInsertBlockItems = function createInsertBlockItems(config) {
|
|
|
99
99
|
items.push(emoji({
|
|
100
100
|
content: formatMessage(messages.emoji),
|
|
101
101
|
tooltipDescription: formatMessage(messages.emojiDescription),
|
|
102
|
-
disabled: emojiDisabled || !isTypeAheadAllowed || isOffline,
|
|
102
|
+
disabled: emojiDisabled || !isTypeAheadAllowed || isOffline && !fg('platform_editor_preload_emoji_picker'),
|
|
103
103
|
'aria-haspopup': 'dialog'
|
|
104
104
|
}));
|
|
105
105
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-insert-block",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Insert block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,45 +31,45 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/button": "^
|
|
35
|
-
"@atlaskit/editor-common": "^
|
|
36
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
37
|
-
"@atlaskit/editor-plugin-block-type": "^
|
|
38
|
-
"@atlaskit/editor-plugin-code-block": "^
|
|
39
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
40
|
-
"@atlaskit/editor-plugin-date": "^
|
|
41
|
-
"@atlaskit/editor-plugin-emoji": "^
|
|
42
|
-
"@atlaskit/editor-plugin-expand": "^
|
|
43
|
-
"@atlaskit/editor-plugin-extension": "^
|
|
34
|
+
"@atlaskit/button": "^21.0.0",
|
|
35
|
+
"@atlaskit/editor-common": "^100.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-analytics": "^2.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-block-type": "^5.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-code-block": "^4.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-connectivity": "^2.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-date": "^3.0.0",
|
|
41
|
+
"@atlaskit/editor-plugin-emoji": "^3.0.0",
|
|
42
|
+
"@atlaskit/editor-plugin-expand": "^3.0.0",
|
|
43
|
+
"@atlaskit/editor-plugin-extension": "^4.0.0",
|
|
44
44
|
"@atlaskit/editor-plugin-feature-flags": "^1.3.0",
|
|
45
|
-
"@atlaskit/editor-plugin-hyperlink": "^
|
|
46
|
-
"@atlaskit/editor-plugin-image-upload": "^
|
|
47
|
-
"@atlaskit/editor-plugin-layout": "^
|
|
48
|
-
"@atlaskit/editor-plugin-media": "^
|
|
49
|
-
"@atlaskit/editor-plugin-media-insert": "^
|
|
50
|
-
"@atlaskit/editor-plugin-mentions": "^
|
|
45
|
+
"@atlaskit/editor-plugin-hyperlink": "^4.0.0",
|
|
46
|
+
"@atlaskit/editor-plugin-image-upload": "^2.0.0",
|
|
47
|
+
"@atlaskit/editor-plugin-layout": "^2.0.0",
|
|
48
|
+
"@atlaskit/editor-plugin-media": "^2.0.0",
|
|
49
|
+
"@atlaskit/editor-plugin-media-insert": "^6.0.0",
|
|
50
|
+
"@atlaskit/editor-plugin-mentions": "^3.0.0",
|
|
51
51
|
"@atlaskit/editor-plugin-metrics": "^3.2.0",
|
|
52
|
-
"@atlaskit/editor-plugin-panel": "^
|
|
53
|
-
"@atlaskit/editor-plugin-placeholder-text": "^
|
|
54
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^
|
|
55
|
-
"@atlaskit/editor-plugin-quick-insert": "^
|
|
56
|
-
"@atlaskit/editor-plugin-rule": "^
|
|
57
|
-
"@atlaskit/editor-plugin-status": "^
|
|
58
|
-
"@atlaskit/editor-plugin-table": "^
|
|
59
|
-
"@atlaskit/editor-plugin-tasks-and-decisions": "^
|
|
60
|
-
"@atlaskit/editor-plugin-type-ahead": "^
|
|
52
|
+
"@atlaskit/editor-plugin-panel": "^4.0.0",
|
|
53
|
+
"@atlaskit/editor-plugin-placeholder-text": "^2.0.0",
|
|
54
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^3.0.0",
|
|
55
|
+
"@atlaskit/editor-plugin-quick-insert": "^2.0.0",
|
|
56
|
+
"@atlaskit/editor-plugin-rule": "^2.0.0",
|
|
57
|
+
"@atlaskit/editor-plugin-status": "^3.0.0",
|
|
58
|
+
"@atlaskit/editor-plugin-table": "^10.0.0",
|
|
59
|
+
"@atlaskit/editor-plugin-tasks-and-decisions": "^3.0.0",
|
|
60
|
+
"@atlaskit/editor-plugin-type-ahead": "^2.0.0",
|
|
61
61
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
62
62
|
"@atlaskit/editor-shared-styles": "^3.3.0",
|
|
63
|
-
"@atlaskit/emoji": "^
|
|
64
|
-
"@atlaskit/heading": "
|
|
65
|
-
"@atlaskit/icon": "^
|
|
66
|
-
"@atlaskit/icon-lab": "^
|
|
63
|
+
"@atlaskit/emoji": "^68.0.0",
|
|
64
|
+
"@atlaskit/heading": "5.0.0",
|
|
65
|
+
"@atlaskit/icon": "^24.0.0",
|
|
66
|
+
"@atlaskit/icon-lab": "^3.0.0",
|
|
67
67
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
68
|
-
"@atlaskit/primitives": "^
|
|
69
|
-
"@atlaskit/theme": "^
|
|
70
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
71
|
-
"@atlaskit/tokens": "^
|
|
72
|
-
"@atlaskit/tooltip": "
|
|
68
|
+
"@atlaskit/primitives": "^14.0.0",
|
|
69
|
+
"@atlaskit/theme": "^17.0.0",
|
|
70
|
+
"@atlaskit/tmp-editor-statsig": "^3.0.0",
|
|
71
|
+
"@atlaskit/tokens": "^4.0.0",
|
|
72
|
+
"@atlaskit/tooltip": "20.0.0",
|
|
73
73
|
"@babel/runtime": "^7.0.0",
|
|
74
74
|
"@emotion/react": "^11.7.1",
|
|
75
75
|
"bind-event-listener": "^3.0.0",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"react-virtualized": "^9.8.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"react": "^
|
|
82
|
-
"react-dom": "^
|
|
81
|
+
"react": "^18.2.0",
|
|
82
|
+
"react-dom": "^18.2.0",
|
|
83
83
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
@@ -136,6 +136,9 @@
|
|
|
136
136
|
},
|
|
137
137
|
"platform_editor_ease_of_use_metrics": {
|
|
138
138
|
"type": "boolean"
|
|
139
|
+
},
|
|
140
|
+
"platform_editor_preload_emoji_picker": {
|
|
141
|
+
"type": "boolean"
|
|
139
142
|
}
|
|
140
143
|
}
|
|
141
144
|
}
|