@atlaskit/editor-plugin-panel 8.1.0 → 8.1.2
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/ui/toolbar.js +1 -0
- package/dist/es2019/ui/toolbar.js +1 -0
- package/dist/esm/ui/toolbar.js +1 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/dist/cjs/ui/toolbar.js
CHANGED
|
@@ -203,6 +203,7 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
203
203
|
var defaultPalette = _uiColor.panelBackgroundPalette.find(function (item) {
|
|
204
204
|
return item.value === panelColor;
|
|
205
205
|
}) || {
|
|
206
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-object
|
|
206
207
|
label: 'Custom',
|
|
207
208
|
value: panelColor,
|
|
208
209
|
border: _uiColor.DEFAULT_BORDER_COLOR
|
|
@@ -191,6 +191,7 @@ export const getToolbarItems = (formatMessage, panelNodeType, isCustomPanelEnabl
|
|
|
191
191
|
};
|
|
192
192
|
const panelColor = activePanelType === PanelType.CUSTOM ? activePanelColor || getPanelTypeBackgroundNoTokens(PanelType.INFO) : getPanelTypeBackgroundNoTokens(activePanelType);
|
|
193
193
|
const defaultPalette = panelBackgroundPalette.find(item => item.value === panelColor) || {
|
|
194
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-object
|
|
194
195
|
label: 'Custom',
|
|
195
196
|
value: panelColor,
|
|
196
197
|
border: DEFAULT_BORDER_COLOR
|
package/dist/esm/ui/toolbar.js
CHANGED
|
@@ -194,6 +194,7 @@ export var getToolbarItems = function getToolbarItems(formatMessage, panelNodeTy
|
|
|
194
194
|
var defaultPalette = panelBackgroundPalette.find(function (item) {
|
|
195
195
|
return item.value === panelColor;
|
|
196
196
|
}) || {
|
|
197
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-object
|
|
197
198
|
label: 'Custom',
|
|
198
199
|
value: panelColor,
|
|
199
200
|
border: DEFAULT_BORDER_COLOR
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.2",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,25 +30,25 @@
|
|
|
30
30
|
"@atlaskit/adf-schema": "^51.3.0",
|
|
31
31
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
32
32
|
"@atlaskit/editor-plugin-analytics": "^6.2.0",
|
|
33
|
-
"@atlaskit/editor-plugin-block-menu": "^
|
|
33
|
+
"@atlaskit/editor-plugin-block-menu": "^5.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-decorations": "^6.1.0",
|
|
35
35
|
"@atlaskit/editor-plugin-emoji": "^7.4.0",
|
|
36
36
|
"@atlaskit/editor-plugin-selection": "^6.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-toolbar": "^3.3.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
40
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
39
|
+
"@atlaskit/editor-shared-styles": "^3.8.0",
|
|
40
|
+
"@atlaskit/editor-toolbar": "^0.16.0",
|
|
41
41
|
"@atlaskit/emoji": "^69.6.0",
|
|
42
42
|
"@atlaskit/icon": "^28.5.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/theme": "^21.0.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^13.18.0",
|
|
46
46
|
"@atlaskit/tokens": "^7.0.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"uuid": "^3.1.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@atlaskit/editor-common": "^110.
|
|
51
|
+
"@atlaskit/editor-common": "^110.16.0",
|
|
52
52
|
"react": "^18.2.0",
|
|
53
53
|
"react-dom": "^18.2.0",
|
|
54
54
|
"react-intl-next": "npm:react-intl@^5.18.1"
|